html{--mat-sys-background: #faf9fd;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #f2f0f4;--mat-sys-inverse-primary: #abc7ff;--mat-sys-inverse-surface: #2f3033;--mat-sys-on-background: #1a1b1f;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #00458f;--mat-sys-on-primary-fixed: #001b3f;--mat-sys-on-primary-fixed-variant: #00458f;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #3e4759;--mat-sys-on-secondary-fixed: #131c2b;--mat-sys-on-secondary-fixed-variant: #3e4759;--mat-sys-on-surface: #1a1b1f;--mat-sys-on-surface-variant: #44474e;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #0000ef;--mat-sys-on-tertiary-fixed: #00006e;--mat-sys-on-tertiary-fixed-variant: #0000ef;--mat-sys-outline: #74777f;--mat-sys-outline-variant: #c4c6d0;--mat-sys-primary: #005cbb;--mat-sys-primary-container: #d7e3ff;--mat-sys-primary-fixed: #d7e3ff;--mat-sys-primary-fixed-dim: #abc7ff;--mat-sys-scrim: #000000;--mat-sys-secondary: #565e71;--mat-sys-secondary-container: #dae2f9;--mat-sys-secondary-fixed: #dae2f9;--mat-sys-secondary-fixed-dim: #bec6dc;--mat-sys-shadow: #000000;--mat-sys-surface: #faf9fd;--mat-sys-surface-bright: #faf9fd;--mat-sys-surface-container: #efedf0;--mat-sys-surface-container-high: #e9e7eb;--mat-sys-surface-container-highest: #e3e2e6;--mat-sys-surface-container-low: #f4f3f6;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #dbd9dd;--mat-sys-surface-tint: #005cbb;--mat-sys-surface-variant: #e0e2ec;--mat-sys-tertiary: #343dff;--mat-sys-tertiary-container: #e0e0ff;--mat-sys-tertiary-fixed: #e0e0ff;--mat-sys-tertiary-fixed-dim: #bec2ff;--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Inter,Arial,Helvetica,sans-serif;color:#1c2426;background:#f3f5f1}button,input,select,textarea{font:inherit}a{color:inherit}.mat-mdc-dialog-container{--mdc-dialog-container-shape: 10px}.mat-mdc-form-field{width:100%}:root{--font-family-ui: Inter, Arial, Helvetica, sans-serif;--surface: #fffffb;--surface-muted: #f8faf6;--line: #dce3dc;--line-strong: #c8d3cb;--ink: #17211f;--muted: #60706a;--brand: #246f62;--brand-strong: #155348;--gold: #d4b46e;--danger: #b42318;--warning: #a15c07;--info: #245b8f;--font-size-xs: .75rem;--font-size-sm: .82rem;--font-size-md: .9rem;--font-size-lg: 1.08rem;--font-size-xl: 1.8rem;--space-xs: 6px;--space-sm: 10px;--space-md: 14px;--space-lg: 18px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;--shadow-sm: 0 6px 18px rgba(20, 33, 30, .035);--shadow-md: 0 10px 28px rgba(20, 33, 30, .06)}.workspace-page{display:grid;gap:18px}.page-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.page-header h1{margin:0;color:var(--ink);font-size:clamp(1.7rem,2.4vw,2.35rem);line-height:1.1}.page-header__description{max-width:760px;margin:8px 0 0;color:var(--muted);font-weight:600}.page-header__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.eyebrow{margin:0 0 6px;color:var(--muted);font-size:.76rem;font-weight:850;letter-spacing:0;text-transform:uppercase}.btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:0 14px;color:var(--ink);background:#fff;font-weight:800;text-decoration:none;cursor:pointer}.btn--primary{background:var(--brand);color:#fff}.btn--ghost{border-color:var(--line-strong);background:transparent}.btn--danger{background:var(--danger);color:#fff}.btn:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.stat-card,.panel,.data-card{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 24px #14211e0a}.stat-card{min-height:112px;display:grid;align-content:space-between;gap:12px;padding:16px}.stat-card span{color:var(--muted);font-weight:800}.stat-card strong{color:var(--ink);font-size:2rem;line-height:1}.stat-card small{color:var(--muted);font-weight:650}.panel{padding:16px}.section-title{margin:0;color:var(--ink);font-size:1.2rem}.filter-bar{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.field{display:grid;gap:6px;color:#4b5a55;font-size:.86rem;font-weight:800}.field input,.field select,.field textarea{width:100%;min-height:38px;border:1px solid var(--line-strong);border-radius:7px;padding:0 10px;background:#fff;color:var(--ink)}.field textarea{min-height:96px;padding-top:10px;resize:vertical}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.data-table{width:100%;border-collapse:collapse;min-width:960px}.data-table th,.data-table td{padding:12px;border-bottom:1px solid #edf0eb;text-align:left;vertical-align:top}.data-table th{color:var(--muted);background:#fafbf8;font-size:.78rem;font-weight:850;text-transform:uppercase}.sort-header{width:100%;min-height:24px;display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;text-transform:inherit;cursor:pointer}.sort-header:hover{color:var(--brand-strong)}.sort-header__indicator{color:var(--brand-strong);font-size:.78rem;line-height:1}.sort-header__indicator--idle{opacity:.36}.data-table tr:hover td{background:#f9fbf7}.cell-title{display:grid;gap:4px}.cell-title strong{color:var(--ink)}.cell-title span,.muted{color:var(--muted);font-size:.9rem;font-weight:600}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.action-menu{position:relative}.action-menu summary{min-height:30px;display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:0 9px;background:#fff;color:var(--brand-strong);font-size:.78rem;font-weight:850;cursor:pointer;list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-menu summary:after{content:"\25be";margin-left:7px;font-size:.7rem}.action-menu[open] summary{border-color:var(--brand);background:#e8f1ee}.action-menu div{position:absolute;top:calc(100% + 6px);right:0;z-index:20;min-width:170px;display:grid;gap:4px;border:1px solid var(--line);border-radius:var(--radius-md);padding:6px;background:var(--surface);box-shadow:var(--shadow-md)}.action-menu:not([open])>div{display:none}.action-menu button{min-height:30px;border:0;border-radius:var(--radius-sm);padding:0 9px;background:transparent;color:var(--ink);font-size:.8rem;font-weight:800;text-align:left;cursor:pointer}.action-menu button:hover{background:var(--surface-muted)}.action-menu button.danger{color:var(--danger)}.action-menu a{min-height:36px;display:flex;align-items:center;border-radius:var(--radius-sm);padding:0 9px;color:var(--ink);font-size:.8rem;font-weight:800;text-decoration:none}.action-menu a:hover{background:var(--surface-muted)}.action-menu a.danger{color:var(--danger)}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.detail-grid>div{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted)}.detail-grid span{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase}.detail-grid strong{color:var(--ink);overflow-wrap:anywhere}.progress-track{height:8px;overflow:hidden;border-radius:999px;background:#edf1ed}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--brand)}.timeline{display:grid;gap:10px;margin:0;padding:0;list-style:none}.timeline li{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted)}.icon-action{min-width:34px;min-height:34px;display:inline-grid;place-items:center;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:var(--brand-strong);font-weight:900;text-decoration:none;cursor:pointer}.status-badge,.deadline-badge{display:inline-flex;min-height:26px;align-items:center;border-radius:999px;padding:0 10px;font-size:.78rem;font-weight:850;white-space:nowrap}.status-badge{background:#e8f1ee;color:var(--brand-strong)}.status-badge[data-status=delivered],.status-badge[data-status=received],.status-badge[data-status=completed],.status-badge[data-status=accepted],.status-badge[data-status=active],.status-badge[data-status=converted],.status-badge[data-status=converted_to_process]{background:#e8f5eb;color:#1d6b32}.status-badge[data-status=waiting_for_review],.status-badge[data-status=ready_for_approval],.status-badge[data-status=partially_received],.status-badge[data-status=sent]{background:#fff4df;color:var(--warning)}.status-badge[data-status=canceled],.status-badge[data-status=declined],.status-badge[data-status=rejected],.status-badge[data-status=fixed_unpaid],.status-badge[data-status=expired],.status-badge[data-status=no_response],.status-badge[data-status=lost],.status-badge[data-status=blocked]{background:#fee8e6;color:var(--danger)}.status-badge[data-status=draft],.status-badge[data-status=planned],.status-badge[data-status=not_defined],.status-badge[data-status=inactive]{background:#edf1ed;color:var(--muted)}.status-badge[data-status=open],.status-badge[data-status=in_progress]{background:#e6f0fa;color:var(--info)}.deadline-badge[data-state=late]{background:#fee8e6;color:var(--danger)}.deadline-badge[data-state=soon]{background:#fff4df;color:var(--warning)}.deadline-badge[data-state=ok]{background:#e8f5eb;color:#1d6b32}.deadline-badge[data-state=muted]{background:#edf1ed;color:var(--muted)}.empty-state{display:grid;gap:8px;padding:26px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface-muted);color:var(--muted)}.empty-state strong{color:var(--ink)}.empty-state p{margin:0}.loading-skeleton{display:grid;gap:10px}.loading-skeleton span{height:46px;border-radius:7px;background:linear-gradient(90deg,#e8ece6,#f8faf6 48%,#e8ece6);background-size:200% 100%;animation:pulse-loading 1.1s linear infinite}.modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;background:#0b14126b}.modal-panel{width:min(860px,96vw);max-height:min(820px,92vh);overflow:auto;border-radius:10px;background:var(--surface);box-shadow:0 24px 70px #0000003d}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.modal-footer{border-top:1px solid var(--line);border-bottom:0}.modal-body{display:grid;gap:14px;padding:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field--wide{grid-column:1 / -1}.link-button{border:0;padding:0;background:transparent;color:var(--brand-strong);font:inherit;font-weight:850;text-align:left;cursor:pointer}.link-button:hover{text-decoration:underline}.modal-panel--wide{width:min(1120px,96vw)}.guide-grid,.field-token-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.guide-step{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-muted)}.guide-step span{width:28px;height:28px;display:inline-grid;grid-row:span 2;place-items:center;border-radius:999px;background:var(--brand);color:#fff;font-weight:900}.guide-step strong{color:var(--ink)}.guide-step small{color:var(--muted);font-weight:650}.field-group{display:grid;gap:10px}.field-group h3{margin:0;color:var(--ink);font-size:1rem}.field-token{display:grid;gap:5px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-muted)}.field-token strong{color:var(--brand-strong);overflow-wrap:anywhere}.field-token span,.field-token small{color:var(--muted);font-weight:650}.step-strip{display:flex;flex-wrap:wrap;gap:8px}.step-strip span{min-height:30px;display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:999px;padding:0 10px;color:var(--muted);background:var(--surface-muted);font-size:.78rem;font-weight:850}.step-strip span.active{border-color:var(--brand);color:var(--brand-strong);background:#e8f1ee}.success-box{display:grid;gap:10px;padding:16px;border:1px solid #b7dcc5;border-radius:var(--radius-md);background:#edf9f1}.success-box h3,.success-box p{margin:0}.option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.option-card{min-height:112px;display:grid;align-content:start;gap:7px;border:1px solid var(--line);border-radius:var(--radius-md);padding:12px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}.option-card:hover{border-color:var(--brand);background:#f8fbf8}.option-card.disabled{border-color:var(--line);background:var(--surface-muted);cursor:pointer}.option-card strong{color:var(--ink)}.option-card span{color:var(--muted);font-size:.86rem;font-weight:650}.option-card small{width:fit-content;border-radius:999px;padding:4px 8px;background:#fff4df;color:var(--warning);font-weight:850}.tabs{display:flex;flex-wrap:wrap;gap:8px}.tab-button{border:1px solid var(--line-strong);border-radius:999px;padding:8px 12px;background:#fff;color:var(--muted);font-weight:800;cursor:pointer}.tab-button.active{border-color:var(--brand);background:#e8f1ee;color:var(--brand-strong)}.density-comfortable{gap:18px}.density-comfortable .page-header h1{font-size:clamp(1.75rem,2.2vw,2rem)}.density-comfortable .page-header__description{font-size:.9rem}.density-comfortable .stat-card{min-height:110px;padding:16px}.density-comfortable .stat-card strong{font-size:1.85rem}.density-comfortable .filter-bar{gap:10px;padding:14px}.density-comfortable .field input,.density-comfortable .field select,.density-comfortable .field textarea{min-height:38px}.density-comfortable .data-table th,.density-comfortable .data-table td{padding:12px;font-size:.88rem}.density-operational,.density-operational .page-header{gap:14px}.density-operational .page-header h1{font-size:clamp(1.55rem,2vw,2rem)}.density-operational .page-header__description{margin-top:6px;font-size:.86rem}.density-operational .stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.density-operational .stat-card{min-height:88px;gap:8px;padding:12px;box-shadow:var(--shadow-sm)}.density-operational .stat-card span{font-size:var(--font-size-xs)}.density-operational .stat-card strong{font-size:1.45rem}.density-operational .stat-card small{font-size:var(--font-size-xs)}.density-operational .filter-bar{gap:8px;padding:11px}.density-operational .field{gap:5px;font-size:.78rem}.density-operational .field input,.density-operational .field select,.density-operational .field textarea{min-height:38px;border-radius:var(--radius-sm);padding:0 9px;font-size:var(--font-size-sm)}.density-operational .panel{padding:13px}.density-operational .data-table{min-width:1040px;font-size:var(--font-size-sm)}.density-operational .data-table th,.density-operational .data-table td{padding:9px 10px}.density-operational .data-table th{font-size:.72rem}.density-operational .cell-title{gap:3px}.density-operational .cell-title span,.density-operational .muted{font-size:.78rem}.density-operational .btn{min-height:38px;padding:0 11px;border-radius:var(--radius-sm);font-size:var(--font-size-sm)}.density-operational .row-actions{gap:6px}.density-operational .row-actions .btn{min-height:36px;padding:0 9px;font-size:.78rem}.density-operational .icon-action{min-width:36px;min-height:36px;border-radius:var(--radius-sm)}.density-operational .status-badge,.density-operational .deadline-badge{min-height:23px;padding:0 8px;font-size:.72rem}.density-tight .stat-card{min-height:78px;padding:10px}.density-tight .stat-card strong{font-size:1.28rem}.density-tight .filter-bar{padding:10px}.density-tight .data-table th,.density-tight .data-table td{padding:8px 9px}.density-tight .row-actions .btn{min-height:36px;padding:0 8px}.density-financial .stat-card{min-height:94px}.density-financial .stat-card strong,.density-financial .data-table td strong{font-variant-numeric:tabular-nums}.density-financial .data-table td:nth-child(n+4):nth-child(-n+7),.density-financial .data-table th:nth-child(n+4):nth-child(-n+7){text-align:right}.density-financial .filter-bar{padding:11px}.density-compact{gap:12px}.density-compact .page-header h1{font-size:clamp(1.45rem,1.8vw,1.85rem)}.density-compact .stat-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.density-compact .stat-card{min-height:74px;gap:6px;padding:10px}.density-compact .stat-card span{font-size:.72rem}.density-compact .stat-card strong{font-size:1.2rem}.density-compact .panel,.density-compact .filter-bar{padding:10px}.density-compact .data-table{font-size:.8rem}.density-compact .data-table th,.density-compact .data-table td{padding:7px 8px}.density-compact .btn{min-height:36px;padding:0 10px;font-size:.78rem}@keyframes pulse-loading{0%{background-position:0 0}to{background-position:-200% 0}}@media(max-width:860px){.page-header{display:grid}.page-header__actions{justify-content:flex-start}.filter-bar,.form-grid{grid-template-columns:1fr}}input[type=checkbox],input[type=radio]{width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;margin:0;padding:0!important;border-radius:4px;accent-color:var(--brand);cursor:pointer;flex:0 0 18px}input[type=radio]{border-radius:50%}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed;opacity:.55}.field.checkbox-field,.field.check-field,.checkbox-field,.check-field{min-height:38px;display:flex!important;align-items:center;justify-content:flex-start;gap:10px;align-self:end;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--ink);font-size:var(--font-size-sm);font-weight:750}.field.checkbox-field>span,.field.check-field>span,.checkbox-field>span,.check-field>span{order:2;margin:0;line-height:1.25}.field.checkbox-field>input,.field.check-field>input,.checkbox-field>input,.check-field>input{order:1}.field input[type=checkbox],.field input[type=radio],.field input[type=color]{width:auto;min-height:auto;padding:0}@media(max-width:760px){.table-wrap:has(.data-table.responsive-table){overflow:visible;border:0;background:transparent}.data-table.responsive-table{min-width:0!important;width:100%;display:block;border-collapse:separate}.data-table.responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.data-table.responsive-table tbody,.data-table.responsive-table tr,.data-table.responsive-table td{display:block;width:100%}.data-table.responsive-table tbody{display:grid;gap:12px}.data-table.responsive-table tr{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}.data-table.responsive-table tr:hover td{background:transparent}.data-table.responsive-table td{min-height:42px;display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:10px;align-items:start;border-bottom:1px solid #edf0eb;padding:10px 12px!important;text-align:left!important;overflow-wrap:anywhere}.data-table.responsive-table td:last-child{border-bottom:0}.data-table.responsive-table td:before{content:attr(data-label);color:var(--muted);font-size:.7rem;font-weight:850;line-height:1.25;text-transform:uppercase}.data-table.responsive-table td[data-label=""],.data-table.responsive-table td[data-responsive-full=true]{grid-template-columns:1fr}.data-table.responsive-table td[data-label=""]:before,.data-table.responsive-table td[data-responsive-full=true]:before{display:none}.data-table.responsive-table td .row-actions{justify-content:flex-start}.data-table.responsive-table td .btn,.data-table.responsive-table td .icon-action{min-height:36px}.data-table.responsive-table td[colspan]{display:block}.modal-backdrop{place-items:end center;padding:0}.modal-panel,.modal-panel--wide{width:100vw!important;max-height:92dvh;border-radius:14px 14px 0 0}.modal-header,.modal-footer,.modal-body{padding-left:14px;padding-right:14px}.modal-footer{position:sticky;bottom:0;z-index:2;background:var(--surface)}}:root{--font-family-ui: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--surface: #ffffff;--surface-elevated: #ffffff;--surface-muted: #f6f8f6;--surface-subtle: #eef3f0;--line: #dce4df;--line-strong: #bdcbc4;--ink: #17231f;--ink-soft: #34443e;--muted: #63716c;--brand: #246f62;--brand-strong: #174f45;--brand-soft: #e7f2ee;--gold: #c9a85e;--danger: #a92a20;--warning: #9a5c0a;--info: #245b8f;--success: #21604f;--font-size-xs: .72rem;--font-size-sm: .8rem;--font-size-md: .88rem;--font-size-lg: 1.04rem;--font-size-xl: 1.65rem;--space-2xs: 4px;--space-xs: 6px;--space-sm: 10px;--space-md: 14px;--space-lg: 18px;--space-xl: 24px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--shadow-sm: 0 5px 16px rgba(20, 40, 34, .045);--shadow-md: 0 14px 34px rgba(20, 40, 34, .075);--shadow-lg: 0 24px 64px rgba(20, 40, 34, .14)}html{font-family:var(--font-family-ui);font-size:16px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body,button,input,select,textarea{font-family:var(--font-family-ui)}body{color:var(--ink);background:#f4f6f3;font-size:var(--font-size-md);line-height:1.45}h1,h2,h3,h4,h5,h6{margin-top:0;color:var(--ink);font-family:var(--font-family-ui);font-weight:800;letter-spacing:-.015em}.workspace-page{gap:var(--space-lg)}.page-header{gap:var(--space-xl);align-items:center;padding-bottom:var(--space-sm);border-bottom:1px solid var(--line)}.page-header h1{font-size:clamp(1.45rem,2vw,1.95rem);line-height:1.15}.page-header__description{margin-top:var(--space-xs);color:var(--muted);font-size:var(--font-size-md);font-weight:550;line-height:1.5}.eyebrow{margin-bottom:var(--space-xs);color:var(--brand-strong);font-size:.68rem;font-weight:850;letter-spacing:.055em}.btn{min-height:38px;border-radius:var(--radius-md);padding-inline:14px;font-size:var(--font-size-sm);font-weight:800;box-shadow:none;transition:border-color .14s ease,background .14s ease,color .14s ease,transform .12s ease}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn--primary{border-color:var(--brand);background:var(--brand)}.btn--primary:hover:not(:disabled){border-color:var(--brand-strong);background:var(--brand-strong)}.btn--ghost{border-color:var(--line-strong);background:#fff;color:var(--brand-strong)}.btn--ghost:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}.panel,.data-card,.stat-card,.filter-bar,.table-wrap{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface-elevated);box-shadow:var(--shadow-sm)}.panel,.data-card{padding:var(--space-lg)}.stat-grid{gap:var(--space-sm)}.stat-card{min-height:104px;padding:var(--space-md)}.stat-card span{color:var(--muted);font-size:var(--font-size-xs);letter-spacing:.025em;text-transform:uppercase}.stat-card strong{font-size:1.7rem;letter-spacing:-.025em}.filter-bar{gap:var(--space-sm);padding:var(--space-md)}.field{gap:var(--space-xs);color:var(--ink-soft);font-size:var(--font-size-sm);font-weight:750}.field>span:first-child{line-height:1.25}.field input,.field select,.field textarea{min-height:38px;border-color:var(--line-strong);border-radius:var(--radius-md);background:#fff;color:var(--ink);font-size:var(--font-size-md);transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.field input:hover,.field select:hover,.field textarea:hover{border-color:#96aaa1}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:0;box-shadow:0 0 0 3px #246f6224}.field input:disabled,.field select:disabled,.field textarea:disabled{background:#f0f3f1;color:#77837e;cursor:not-allowed}.table-wrap{overflow:auto;scrollbar-gutter:stable;scrollbar-color:#aebdb6 transparent}.data-table{font-size:var(--font-size-sm);color:var(--ink-soft);font-variant-numeric:tabular-nums}.data-table th,.data-table td{padding:10px 12px;line-height:1.4}.data-table th{position:sticky;top:0;z-index:1;border-bottom-color:var(--line-strong);background:#f4f7f5;color:#53645d;font-size:.69rem;letter-spacing:.035em;white-space:nowrap}.data-table th:first-child,.data-table td:first-child{padding-left:14px}.data-table th:last-child,.data-table td:last-child{padding-right:14px}.data-table tbody tr:nth-child(2n) td{background:#fbfcfb}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:#eef6f2}.data-table--anchored th:first-child,.data-table--anchored td:first-child,.data-table--anchored th:last-child,.data-table--anchored td:last-child{position:sticky;z-index:2;background:var(--surface-elevated)}.data-table--anchored th:first-child,.data-table--anchored td:first-child{left:0;box-shadow:1px 0 0 var(--line)}.data-table--anchored th:last-child,.data-table--anchored td:last-child{right:0;box-shadow:-1px 0 0 var(--line)}.data-table--anchored th:first-child,.data-table--anchored th:last-child{z-index:3;background:#f4f7f5}.data-table--anchored tbody tr:nth-child(2n) td:first-child,.data-table--anchored tbody tr:nth-child(2n) td:last-child{background:#fbfcfb}.data-table--anchored tbody tr:hover td:first-child,.data-table--anchored tbody tr:hover td:last-child{background:#eef6f2}.data-table tbody strong{color:var(--ink)}.data-table td>a:not(.btn):not(.icon-action){color:var(--brand-strong);font-weight:750;text-decoration-color:#174f4547;text-underline-offset:3px}.data-table td>a:not(.btn):not(.icon-action):hover{text-decoration-color:currentColor}.table-wrap:focus-within{border-color:#9bb3aa;box-shadow:0 0 0 3px #246f6214}.cell-title{gap:3px}.cell-title strong{font-weight:800}.cell-title span,.muted{color:var(--muted);font-size:var(--font-size-sm);font-weight:550}.icon-action{min-width:34px;min-height:34px;border-color:var(--line-strong);border-radius:var(--radius-md);background:#fff;transition:border-color .14s ease,background .14s ease,color .14s ease}.icon-action:hover,.icon-action:focus-visible{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.modal-backdrop{background:#0d1e198a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-panel,.modal-panel--wide{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg)}.modal-header{min-height:68px;align-items:center;border-bottom-color:var(--line);background:#fbfcfb}.modal-body{background:var(--surface)}.modal-footer{border-top-color:var(--line);background:#f7f9f7}.section-title{font-size:1.08rem;line-height:1.25}.status-badge,.deadline-badge{min-height:24px;font-size:.7rem;font-weight:800}@media(max-width:760px){.page-header{align-items:flex-start;padding-bottom:var(--space-md)}.page-header h1{font-size:1.42rem}.panel,.data-card{padding:var(--space-md)}}@media(prefers-reduced-motion:reduce){.btn,.field input,.field select,.field textarea,.icon-action{transition:none}}.labor-page .scenario-sidebar .compact-form,.labor-page .scenario-sidebar .form-grid,.labor-page .scenario-sidebar label,.labor-page .scenario-sidebar input,.labor-page .scenario-sidebar select{min-width:0;max-width:100%}.labor-page .scenario-sidebar .form-grid--two{grid-template-columns:minmax(0,1fr)}.labor-page .scenario-sidebar input[type=date]{width:100%;padding-inline:8px;font-variant-numeric:tabular-nums}.mat-mdc-dialog-container,.mat-mdc-dialog-surface,.mat-mdc-form-field,.mat-mdc-button,.mat-mdc-option,.mat-mdc-select,.client-dialog{font-family:inherit!important}.mat-mdc-dialog-title{color:var(--ink)!important;font-family:inherit!important;font-weight:900!important}.mat-mdc-dialog-container{--mdc-dialog-container-color: var(--surface);--mdc-dialog-subhead-color: var(--ink);--mat-dialog-container-max-width: 760px;--mat-dialog-container-small-max-width: calc(100vw - 24px) }.mat-mdc-dialog-surface{border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow-lg)!important}.mat-mdc-form-field{--mdc-outlined-text-field-focus-outline-color: var(--brand);--mdc-outlined-text-field-hover-outline-color: #96aaa1;--mdc-outlined-text-field-label-text-color: var(--muted);--mdc-outlined-text-field-focus-label-text-color: var(--brand-strong);--mdc-outlined-text-field-input-text-color: var(--ink);--mat-form-field-container-height: 48px;--mat-form-field-container-vertical-padding: 12px}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: var(--brand);--mdc-filled-button-label-text-color: #fff}.mat-mdc-dialog-actions{min-height:64px!important;gap:10px;border-top:1px solid var(--line);padding:12px 24px!important;background:var(--surface-muted)!important}.mat-mdc-dialog-container:has(.client-dialog) .mat-mdc-dialog-surface{background:var(--surface)!important}.mat-mdc-dialog-container:has(.client-dialog) .mat-mdc-dialog-title{min-height:68px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:18px 24px!important;background:var(--surface-muted)}.mat-mdc-dialog-container:has(.client-dialog) .mat-mdc-dialog-content{padding:20px 24px!important;background:var(--surface)}.mat-mdc-dialog-container:has(.client-dialog) .global-search-select,.mat-mdc-dialog-container:has(.client-dialog) .global-search-select *,.mat-mdc-dialog-container:has(.client-dialog) label,.mat-mdc-dialog-container:has(.client-dialog) input,.mat-mdc-dialog-container:has(.client-dialog) select,.mat-mdc-dialog-container:has(.client-dialog) textarea,.mat-mdc-dialog-container:has(.client-dialog) button{font-family:var(--font-family-ui)!important}.mat-mdc-table{--mat-table-background-color: var(--surface, #fff);--mat-table-header-headline-font: var(--font-family-ui);--mat-table-row-item-label-text-font: var(--font-family-ui);width:100%;background:var(--surface, #fff)!important;color:var(--ink-soft, #34443e)!important;font-family:inherit!important;font-size:var(--font-size-sm, .8rem)!important;font-variant-numeric:tabular-nums}.mat-mdc-header-row{background:#f4f7f5!important}.mat-mdc-header-cell{border-bottom-color:var(--line-strong, #bdcbc4)!important;color:#53645d!important;font-family:inherit!important;font-size:.69rem!important;font-weight:850!important;letter-spacing:.035em;text-transform:uppercase}.mat-mdc-cell{border-bottom-color:#edf0eb!important;color:var(--ink-soft, #34443e)!important;font-family:inherit!important;line-height:1.4}.mat-mdc-row:nth-child(2n) .mat-mdc-cell{background:#fbfcfb}.mat-mdc-row:hover .mat-mdc-cell{background:#eef6f2!important}.modal-backdrop{box-sizing:border-box;max-height:100dvh;overflow:hidden;overscroll-behavior:contain;padding:12px}.modal-panel,.process-create-modal,.mat-mdc-dialog-surface{box-sizing:border-box;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 24px)!important;overflow:hidden!important}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-outlined-button,.mat-mdc-paginator,.mat-sort-header-container{--mdc-text-button-label-text-font: var(--font-family-ui);--mdc-filled-button-label-text-font: var(--font-family-ui);--mdc-outlined-button-label-text-font: var(--font-family-ui);--mat-paginator-container-text-font: var(--font-family-ui);font-family:var(--font-family-ui)!important}.modal-panel:not(.modal-panel--wide):not(.process-create-modal){width:min(620px,calc(100vw - 24px))}.modal-panel--wide,.process-create-modal{width:min(1040px,calc(100vw - 24px))}.modal-header h2,.modal-header .section-title,.mat-mdc-dialog-title{margin:0!important;font-size:1.22rem!important;line-height:1.25!important}.modal-footer,.modal-actions,.mat-mdc-dialog-actions{justify-content:flex-end!important}.modal-body small,.field small{color:var(--muted);font-size:var(--font-size-xs);font-weight:550;line-height:1.45}.modal-panel>.modal-header,.process-create-modal>.modal-header{position:relative;z-index:2;min-width:0;background:var(--surface, #fff)}.modal-panel>.modal-body,.process-create-modal>.modal-body,.mat-mdc-dialog-content{min-height:0!important;max-height:none!important;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.modal-panel>.modal-footer,.modal-panel>.modal-actions,.process-create-modal>.modal-footer,.process-create-modal>.modal-actions,.mat-mdc-dialog-actions{position:relative;z-index:2;min-width:0;background:var(--surface, #fff)}html:has(.modal-backdrop),body:has(.modal-backdrop){overflow:hidden!important;overscroll-behavior:none}input[data-currency-applied=pt-BR]{font-variant-numeric:tabular-nums;text-align:right}@media(max-width:680px){.modal-backdrop{padding:6px}.modal-panel,.process-create-modal,.mat-mdc-dialog-surface{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}.modal-panel>.modal-body,.process-create-modal>.modal-body{padding-bottom:max(16px,env(safe-area-inset-bottom))}.btn,.icon-action,.action-menu summary,.tab-button,.density-operational .btn,.density-operational .row-actions .btn,.density-operational .icon-action,.density-tight .row-actions .btn,.density-compact .btn{min-height:44px}.icon-action,.density-operational .icon-action{min-width:44px}}@media(min-width:1021px){.labor-page .scenario-sidebar{min-width:0}}.reports-page .stat-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.reports-page .tabs{padding-bottom:10px;border-bottom:1px solid var(--line)}.reports-page .table-wrap{box-shadow:var(--shadow-sm)}
