.staff-work-state{color:#2453a6;align-self:flex-start;width:fit-content;font-size:.8rem;font-weight:600;line-height:1.5;display:inline-flex}.staff-work-state.is-waiting{color:#80531a}.staff-work-deadline{color:var(--gray-600);font-size:.85rem}.staff-work-deadline.is-overdue{color:#a63320}.home-worker-queues{border-block:1px solid var(--gray-200);align-items:start;padding-block:16px}.home-worker-queues>div{min-width:0}.home-worker-queues .home-mini-main>span{white-space:normal;overflow-wrap:anywhere;color:var(--gray-600)}.home-worker-queues h2,.home-worker-summary h2{margin:0;font-size:1.125rem}.home-worker-results{grid-template-columns:repeat(auto-fit,minmax(170px,280px))}.home-worker-results .home-kpi-card{box-shadow:none;border-radius:8px}.home-worker-results .home-kpi-card>span,.home-worker-results .home-kpi-card>small,.workload-detail-table .table-empty{color:var(--gray-600)}.workload-results-grid{grid-template-columns:repeat(auto-fit,minmax(170px,260px))}.workload-quality-details{border-top:1px solid var(--gray-200);padding-top:16px}.workload-quality-details summary{cursor:pointer;min-height:40px;font-weight:600}.workload-quality-metrics{flex-wrap:wrap;gap:24px;display:flex}.workload-quality-metrics dt{color:var(--gray-600)}.workload-quality-metrics dd{margin:8px 0 0;font-weight:600}.staff-alerts-page{max-width:1280px;margin-inline:auto}.staff-alerts-page .alerts-header{flex-wrap:wrap;align-items:center;gap:12px}.staff-alert-back{align-items:center;gap:6px;min-height:40px;display:inline-flex}.staff-alert-toolbar{border-block:1px solid var(--gray-200);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-block:16px;display:flex}.staff-alert-segments{flex-wrap:wrap;gap:4px;display:flex}.staff-alert-segments button{min-height:40px;color:var(--gray-700);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:6px;padding:8px 12px}.staff-alert-segments button[aria-pressed=true]{color:#204daa;background:#edf3ff;border-color:#c6d8fc}.staff-alert-selects{flex-wrap:wrap;gap:12px;display:flex}.staff-alert-selects label{align-items:center;gap:8px;font-size:.9rem;display:flex}.staff-alert-selects select{border:1px solid var(--gray-300);max-width:240px;min-height:40px;font:inherit;background:#fff;border-radius:6px;padding:6px 10px}.staff-alert-rules{color:var(--gray-600);margin-block:16px}.staff-alert-rules summary{cursor:pointer;min-height:40px}.staff-alert-list{margin:0;padding:0;list-style:none}.staff-alert-list li{border-bottom:1px solid var(--gray-200)}.staff-alert-list li>a,.staff-alert-list li>div{color:inherit;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:16px 8px;text-decoration:none;display:grid}.staff-alert-list li>a:hover{background:#f0f5fc}.staff-alert-main{overflow-wrap:anywhere;flex-direction:column;gap:5px;min-width:0;display:flex}.staff-alert-main>span:not(.staff-work-state),.staff-alert-main small{color:var(--gray-600)}.staff-alert-side{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.staff-alert-side small{color:var(--gray-600)}.staff-alert-list a:focus-visible,.staff-alert-segments button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (max-width:768px){.workload-detail-table .data-table,.workload-detail-table tbody{width:100%;min-width:0;display:block}.workload-detail-table thead{display:none}.workload-detail-table tr{border-bottom:1px solid var(--gray-200);grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;display:grid}.workload-detail-table td{text-align:left;overflow-wrap:anywhere;border:0;padding:8px;display:block}.workload-detail-table td:first-child{grid-column:1/-1}.workload-detail-table td.num{text-align:left}.workload-detail-table td[data-label]:before{content:attr(data-label);color:var(--gray-600);margin-bottom:4px;font-size:.8rem;display:block}.workload-detail-table td a{align-items:center;min-height:40px;display:flex}}@media (max-width:680px){.home-worker-results,.workload-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-alert-row:nth-child(n+4){display:grid}.home-worker-queues .home-mini-list a{flex-direction:column;align-items:flex-start;gap:6px}.home-worker-queues .home-mini-side{text-align:left;align-items:flex-start}.staff-alert-selects{width:100%}.staff-alert-selects label{flex:1;min-width:0}.staff-alert-selects select{width:100%;min-width:0}.staff-alert-list li>a,.staff-alert-list li>div{grid-template-columns:minmax(0,1fr);gap:10px}.staff-alert-side{flex-flow:wrap;align-items:center}.staff-alert-side svg{margin-left:auto}.staff-alert-segments button{padding-inline:8px}}
@media screen{body:has(.staff-dashboard-shell,.staff-auth-page){--bg:#f7f8fa;--surface:#fff;--surface-muted:#f1f2f4;--surface-soft:#f8f9fb;--border:#e5e7eb;--border-strong:#c7cbd2;--input-bg:#fff;--text:#25282d;--muted:#656b75;--primary:#315ac9;--primary-strong:#244aa9;--primary-soft:#edf2fd;--brand:#315ac9;--brand-dark:#244aa9;--brand-light:#f0f4fc;--brand-soft:#e5edfc;--gray-400:#727986;--gray-500:#656b75;--gray-600:#555c67;--gray-700:#414752;--gray-800:#30353d;--gray-900:#25282d;--sidebar-fg:#555c67;--sidebar-muted:#656b75;--sidebar-active-bg:#f1f2f4;--sidebar-active-fg:#25282d;--shadow:0 1px 2px #25282d08;--shadow-md:0 6px 20px #25282d14;--shadow-lg:0 20px 60px #25282d2e;--radius:8px;--radius-sm:6px;--radius-lg:8px;font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif;font-size:15px;font-weight:400;line-height:1.65}body:has(.staff-dashboard-shell,.staff-auth-page) *{letter-spacing:0}body:has(.staff-dashboard-shell,.staff-auth-page) :is(button,input,select,textarea){font-family:inherit}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.app-main,.modal-backdrop) :is(div,p,span,a,li,small,label,dt,dd,summary){font-weight:inherit}body:has(.staff-dashboard-shell,.staff-auth-page) :is(h1,h2,h3,h4,strong,b){font-weight:600}body:has(.staff-dashboard-shell,.staff-auth-page) :is(button,a,summary):focus-visible{outline-offset:3px;outline:3px solid #6590ef}body:has(.staff-dashboard-shell,.staff-auth-page) .app-main :is(h1,.work-page-title,.settings-page-title){color:var(--text);font-size:26px;font-weight:600;line-height:1.4}body:has(.staff-dashboard-shell,.staff-auth-page) .app-main :is(h2,h3,strong,b){font-weight:600}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.app-header,.work-page-header,.settings-page-head,.finance-head,.analytics-header,.workload-header){align-items:flex-start;gap:16px}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.subtitle,.work-page-subtitle,.settings-page-subtitle){color:var(--muted);margin-top:6px;font-size:14px;font-weight:400;line-height:1.7}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.card-title,.panel-header h2,.form-section-title){font-size:16px;font-weight:600}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.work-filter-title,.list-summary,.table-page-info,.pagination-info,.item-subtext,.next-step-note,.editing-date-line,.planning-date-line,.finance-subtext){font-weight:400}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.home-kpi-card>span,.home-kpi-card>small,.home-mini-main>span,.ai-usage-summary-grid span,.workload-kpi-label,.stat-label,.kpi-label){color:var(--muted);font-weight:400}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.home-kpi-card>strong,.stat-value,.kpi-value,.summary-value,.finance-kpi-value,.analytics-kpi-value){font-variant-numeric:tabular-nums;font-weight:500}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn,.button){min-height:40px;box-shadow:none;border-radius:6px;justify-content:center;gap:8px;font-size:14px;font-weight:500;line-height:1.5}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-primary,.button.primary){background:var(--text);border-color:var(--text);color:#fff}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-primary,.button.primary):hover:not(:disabled){background:#3b3e43;border-color:#3b3e43}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-success,.button.success){color:#fff;background:#18734d}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-success,.button.success):hover:not(:disabled){background:#125c3d}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-danger,.button.danger){color:#fff;background:#b4232c}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-warning,.button.warning){color:#80530f;background:#fef3c7;border-color:#e6c782}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-warning,.button.warning):hover:not(:disabled){color:#80530f;background:#f9e6a6;border-color:#e6c782}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-ghost,.btn-outline,.btn-secondary,.button.secondary){border-color:var(--border-strong);color:var(--text);background:#fff}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn-ghost,.btn-outline,.btn-secondary,.button.secondary):hover:not(:disabled){background:var(--surface-muted);border-color:#9299a4}body:has(.staff-dashboard-shell,.staff-auth-page) .staff-auth-page .btn{min-height:48px;font-size:16px}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn,.button):disabled{cursor:not-allowed;opacity:.5;box-shadow:none;transform:none}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.btn,.button)>svg{flex-shrink:0}body:has(.staff-dashboard-shell,.staff-auth-page) .icon-button{border:1px solid var(--border);width:40px;height:40px;color:var(--muted);background:#fff;border-radius:6px;flex:0 0 40px;justify-content:center;align-items:center;padding:0;display:inline-flex}body:has(.staff-dashboard-shell,.staff-auth-page) .icon-button:hover{background:var(--surface-muted);color:var(--text)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.form-field,.form-group){min-width:0}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.form-field>span,.form-group>label,label.field-label,.form-label,.ai-prompt-field>span){color:var(--text);font-size:14px;font-weight:500}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]):not([type=button]):not([type=submit]),select,textarea){border:1px solid var(--border-strong);min-width:0;max-width:100%;color:var(--text);background:#fff;border-radius:6px;font-weight:400;line-height:1.5}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select){min-height:40px}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input,textarea)::placeholder{color:var(--muted);opacity:1}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input,select,textarea):focus{outline-offset:1px;box-shadow:none;border-color:#6590ef;outline:2px solid #dce7fc}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input,textarea)[readonly],body:has(.staff-dashboard-shell,.staff-auth-page) :is(input,select,textarea):disabled{background:var(--surface-muted);color:var(--muted)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(input[type=checkbox],input[type=radio]){accent-color:var(--primary)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.field-hint,.form-hint,.form-field small){font-weight:400;line-height:1.6}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.card,.panel-card,.card-table,.toolbar-card,.work-filter-panel,.home-kpi-card,.stat-card,.kpi-card,.contract-option-card,.management-center-link){box-shadow:none;border-radius:8px}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.work-filter-panel,.toolbar-card){background:var(--surface);border-color:var(--border)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.alert,.form-alert,.empty-state){border-radius:6px;font-weight:400}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.app-main,.modal-backdrop) :is(.status-badge,.st-badge,.badge){letter-spacing:0;font-weight:500}body:has(.staff-dashboard-shell,.staff-auth-page) .status-badge{width:fit-content;max-width:100%}body:has(.staff-dashboard-shell,.staff-auth-page) .status-badge.success{color:#176445;background:#e7f5ed}body:has(.staff-dashboard-shell,.staff-auth-page) .status-badge.warning{color:#80530f;background:#fff4db}body:has(.staff-dashboard-shell,.staff-auth-page) .status-badge.danger{color:#b4232c;background:#fdeced}body:has(.staff-dashboard-shell,.staff-auth-page) .status-badge.neutral{background:var(--surface-muted);color:var(--muted)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.next-step-title,.next-step-label,.editing-progress-summary strong){font-weight:600}body:has(.staff-dashboard-shell,.staff-auth-page) .next-step,body:has(.staff-dashboard-shell,.staff-auth-page) :is(.tabs,.tab-bar,.script-ai-tabs){border-radius:6px}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.tab,.tab-btn,.script-ai-tab,.settings-section-tab,.finance-tab){font-weight:500}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.script-ai-tabs,.script-ai-workflow-nav){background:var(--surface-muted)}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.script-ai-tab.active,.script-ai-tab[aria-selected=true]){color:var(--text);box-shadow:var(--shadow);background:#fff}body:has(.staff-dashboard-shell,.staff-auth-page) :is(.script-ai-panel,.script-ai-episode-card,.planning-section){border-radius:8px}body:has(.staff-dashboard-shell,.staff-auth-page) table{font-size:14px}body:has(.staff-dashboard-shell,.staff-auth-page) table th{background:var(--surface-soft);color:var(--muted);letter-spacing:0;font-size:13px;font-weight:500}body:has(.staff-dashboard-shell,.staff-auth-page) table td{border-color:var(--border);font-weight:400;line-height:1.6}body:has(.staff-dashboard-shell,.staff-auth-page) table :is(strong,.item-title,.project-name,.client-name){font-weight:600}body:has(.staff-dashboard-shell,.staff-auth-page) table :is(.num,.amount,.money){font-variant-numeric:tabular-nums}body:has(.staff-dashboard-shell,.staff-auth-page) table tbody tr:hover{background:var(--surface-soft)}body:has(.staff-dashboard-shell,.staff-auth-page) table :is(.btn,.button){min-height:36px;padding:7px 12px}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .row-more-menu{z-index:120;overscroll-behavior:contain;min-width:0;max-width:calc(100vw - 32px);position:fixed;right:auto;overflow-y:auto}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .row-more-menu>:is(button,a){white-space:normal;align-items:center;width:100%;min-height:40px;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;display:flex}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .row-more-menu>:is(button,a):is(:hover,:focus-visible){background:var(--surface-muted)}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-workqueue{min-width:1040px}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-status-stack{gap:8px;min-width:220px}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .amount-stack{white-space:nowrap}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-status-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-inline-status{display:contents}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-status-badges>.status-badge,body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .contract-inline-status>span{border:0;border-radius:6px;flex:none;align-items:center;min-height:26px;margin:0;padding:4px 8px;font-size:12px;font-weight:500;line-height:18px;display:inline-flex}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .pay-status-unpaid{background:var(--surface-muted);color:var(--muted)}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .pay-status-partial{color:#80530f;background:#fff4db}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .pay-status-paid{color:#176445;background:#e7f5ed}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page :is(.pay-status-overdue,.pay-overdue-mini){color:#b4232c;background:#fdeced}body:has(.staff-dashboard-shell,.staff-auth-page) .contracts-page .next-step-text{overflow-wrap:anywhere;font-size:13px;font-weight:400;line-height:1.6}body:has(.staff-dashboard-shell,.staff-auth-page) .legacy-cost-fields{border:0;border-top:1px solid var(--border);min-width:0;margin:16px 0;padding:16px 0}body:has(.staff-dashboard-shell,.staff-auth-page) .legacy-invoice-confirm{align-items:flex-start;gap:8px;line-height:1.6;display:flex}body:has(.staff-dashboard-shell,.staff-auth-page) .legacy-invoice-confirm input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:4px 0 0}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-backdrop{background:#191d2470}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-card{border:1px solid var(--border);box-shadow:var(--shadow-lg);border-radius:8px}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-header{border-color:var(--border);background:#fff;gap:16px}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-header h2{font-size:20px;font-weight:600;line-height:1.45}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-header .icon-button{flex-basis:40px;width:40px;height:40px}body:has(.staff-dashboard-shell,.staff-auth-page) .modal-footer{background:var(--surface-soft);border-color:var(--border);gap:12px}body:has(.staff-dashboard-shell,.staff-auth-page) .app-toast{box-shadow:var(--shadow-md)}body:has(.staff-dashboard-shell,.staff-auth-page) .script-job-summary{background:var(--surface-soft)}body:has(.staff-dashboard-shell,.staff-auth-page) .settings-system-section :is(.panel-header,.row-actions){flex-wrap:wrap;min-width:0}.staff-dashboard-shell{grid-template-columns:208px minmax(0,1fr)}.staff-dashboard-shell .app-main{padding:28px}.staff-dashboard-shell .brand-block{gap:8px;padding:22px 16px}.staff-dashboard-shell .brand{font-size:21px;font-weight:600}.staff-dashboard-shell .sidebar-caption{font-size:12px;font-weight:400}.staff-dashboard-shell .sidebar-nav{padding:12px 10px}.staff-dashboard-shell .sidebar-group+.sidebar-group{margin-top:10px}.staff-dashboard-shell .sidebar-group-label{padding:10px;font-size:13px;font-weight:500}.staff-dashboard-shell .sidebar-link{border-radius:6px;align-items:center;min-height:40px;padding-block:8px;font-size:14px;font-weight:400}.staff-dashboard-shell .sidebar-link.active{color:var(--text);font-weight:500;box-shadow:inset 3px 0 #efa918}.staff-dashboard-shell .sidebar-footer-shell{padding:12px}.staff-dashboard-shell :is(.sidebar-notify-trigger,.sidebar-user-trigger){background:#fff;border-radius:6px;min-height:40px;font-size:14px;font-weight:500}.staff-dashboard-shell :is(.sidebar-notify-trigger,.sidebar-user-trigger):hover{background:var(--surface-muted)}.staff-dashboard-shell :is(.sidebar-notify-title,.sidebar-notify-tabs button,.sidebar-notify-all-link){font-weight:500}.staff-dashboard-shell .sidebar-user-dropdown :is(button,a){font-size:14px;font-weight:400}.staff-dashboard-shell .mobile-brand{font-weight:600}.staff-dashboard-shell .mobile-system-label{font-weight:500}@media (max-width:1280px){.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact>:first-child,.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact .work-filter-actions{grid-column:1/-1}}@media (max-width:768px){.staff-dashboard-shell{grid-template-columns:minmax(0,1fr)}.staff-dashboard-shell .app-main{padding:24px 20px}}@media (max-width:760px){.staff-dashboard-shell .app-main{padding:20px 16px}body:has(.staff-dashboard-shell) .app-main :is(h1,.work-page-title,.settings-page-title){font-size:24px}body:has(.staff-dashboard-shell) :is(.app-header,.work-page-header,.settings-page-head,.finance-head){flex-wrap:wrap;gap:12px}body:has(.staff-dashboard-shell) :is(.work-page-header,.settings-page-head,.finance-head){flex-direction:column;display:flex}body:has(.staff-dashboard-shell) :is(.app-header,.work-page-header,.settings-page-head,.finance-head)>:is(.btn,.button,.header-action){margin:0}body:has(.staff-dashboard-shell) :is(.btn,.button,table .btn,table .button){min-height:44px}body:has(.staff-dashboard-shell) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){font-size:16px}body:has(.staff-dashboard-shell) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select){min-height:44px}body:has(.staff-dashboard-shell) :is(.editing-table tr,.planning-table tr,.production-table tr){border-radius:8px}body:has(.staff-dashboard-shell) .modal-card{border-radius:8px 8px 0 0}body:has(.staff-dashboard-shell) .modal-header{gap:12px}body:has(.staff-dashboard-shell) .modal-header h2{font-size:18px}body:has(.staff-dashboard-shell) .modal-footer{flex-wrap:wrap}}@media (max-width:560px){.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{grid-template-columns:minmax(0,1fr)}}.staff-dashboard-shell .finance-invoices-page{gap:20px}.staff-dashboard-shell .finance-invoices-page>:is(.finance-head,.work-filter-panel,.work-card-table){min-width:0;margin:0}.staff-dashboard-shell .finance-invoices-page .finance-filters.is-compact{grid-template-columns:minmax(200px,2fr) minmax(170px,1fr) repeat(2,minmax(150px,1fr));align-items:end;gap:12px}.staff-dashboard-shell .finance-invoices-page .finance-filters .form-field{gap:6px;min-width:0;margin:0}.staff-dashboard-shell .finance-invoices-page .finance-filter-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.staff-dashboard-shell .finance-invoices-page .invoice-table-scroll{min-width:0;max-width:100%;overflow-x:auto}.staff-dashboard-shell .finance-invoices-page .invoice-report-table{table-layout:auto;min-width:960px;font-size:14px}.staff-dashboard-shell .finance-invoices-page .invoice-report-table :is(th,td){vertical-align:top;padding:16px}.staff-dashboard-shell .finance-invoices-page .invoice-report-table th{white-space:nowrap}.staff-dashboard-shell .finance-invoices-page .invoice-contract-cell{overflow-wrap:anywhere;min-width:180px}.staff-dashboard-shell .finance-invoices-page .invoice-report-table .invoice-money-cell{text-align:right;font-variant-numeric:tabular-nums;min-width:125px}.staff-dashboard-shell .finance-invoices-page .invoice-money-value{white-space:nowrap;line-height:1.65}.staff-dashboard-shell .finance-invoices-page .invoice-zero-amount{color:var(--muted)}.staff-dashboard-shell .finance-invoices-page .invoice-allowance-note{color:var(--muted);white-space:nowrap;margin-top:6px;font-size:12px;display:block}.staff-dashboard-shell .finance-invoices-page .invoice-status-cell{min-width:145px}.staff-dashboard-shell .finance-invoices-page .invoice-report-table td .status-badge{margin:0;display:inline-flex}.staff-dashboard-shell .finance-invoices-page .finance-action-cell{white-space:nowrap;width:1%}.staff-dashboard-shell .finance-invoices-page .finance-empty{padding:32px 16px}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .modal-body{gap:20px;min-width:0;display:grid}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-summary-grid{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;padding-bottom:16px}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-summary-card{background:0 0;border-radius:0;min-width:0;padding:0}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-summary-card strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:16px}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .form-section{min-width:0}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:16px 0}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>div{grid-area:1/1/3;min-width:0}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>strong{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;grid-area:1/2}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>span:first-of-type{text-align:right;grid-area:2/2}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>span:nth-of-type(2){grid-column:1/-1}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>.btn{grid-column:2;justify-self:end}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-record-row>.danger-text{grid-column:1/-1}@media (max-width:1280px){.staff-dashboard-shell .finance-invoices-page .finance-filters.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.staff-dashboard-shell .finance-invoices-page .invoice-report-table{min-width:0;display:block}.staff-dashboard-shell .finance-invoices-page .invoice-report-table thead{display:none}.staff-dashboard-shell .finance-invoices-page .invoice-report-table tbody{display:block}.staff-dashboard-shell .finance-invoices-page .invoice-report-table tr{border:0;border-bottom:1px solid var(--border);border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;padding:16px;display:grid}.staff-dashboard-shell .finance-invoices-page .invoice-report-table tr:last-child{border-bottom:0}.staff-dashboard-shell .finance-invoices-page .invoice-report-table td{text-align:left;border:0;min-width:0;padding:0;display:block}.staff-dashboard-shell .finance-invoices-page .invoice-report-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:400;display:block}.staff-dashboard-shell .finance-invoices-page .invoice-report-table :is(.invoice-contract-cell,.invoice-money-cell,.invoice-status-cell,.finance-action-cell,.finance-empty){grid-column:1/-1}.staff-dashboard-shell .finance-invoices-page .invoice-report-table .invoice-money-cell{text-align:right;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 12px;display:grid}.staff-dashboard-shell .finance-invoices-page .invoice-money-cell:before{text-align:left;margin:0}.staff-dashboard-shell .finance-invoices-page .invoice-allowance-note{grid-column:2;margin:0}.staff-dashboard-shell .finance-invoices-page .finance-action-cell{width:auto}.staff-dashboard-shell .finance-invoices-page .finance-action-cell .btn{width:100%}.staff-dashboard-shell .finance-invoices-page .invoice-report-table :is(.finance-action-cell,.finance-empty):before{display:none}}@media (max-width:560px){.staff-dashboard-shell .finance-invoices-page{gap:16px}.staff-dashboard-shell .finance-invoices-page .finance-filters.is-compact{grid-template-columns:minmax(0,1fr)}.staff-dashboard-shell .finance-invoices-page .finance-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-summary-grid{grid-template-columns:minmax(0,1fr)}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .invoice-summary-card{justify-content:space-between;align-items:baseline;gap:12px;display:flex}body:has(.staff-dashboard-shell) .modal-card[aria-labelledby=create-invoice-title] .form-grid.two-columns{grid-template-columns:minmax(0,1fr)}}.staff-dashboard-shell .finance-receivables-page-next{gap:20px;min-width:0;display:grid}.staff-dashboard-shell .finance-receivables-page-next>:is(.work-page-header,.finance-kpi-grid,.filter-bar.compact,.work-card-table){min-width:0;margin:0}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-card{border-radius:8px;min-width:0;padding:16px}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-value{overflow-wrap:anywhere;font-size:22px;line-height:1.4}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{gap:12px}.staff-dashboard-shell .finance-receivables-page-next .ar-table-scroll{overscroll-behavior-x:contain;min-width:0;max-width:100%}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table{table-layout:auto;min-width:1080px;font-size:14px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table :is(th,td){vertical-align:top;padding:16px 14px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table th{white-space:nowrap}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table th:first-child{width:22%}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-progress-cell{min-width:130px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-money-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:12%;min-width:114px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-settled-amount{color:var(--muted)}.staff-dashboard-shell .finance-receivables-page-next .ar-cell-stack{gap:6px;min-width:0;display:grid}.staff-dashboard-shell .finance-receivables-page-next .ar-contract-cell .link-button{text-align:left;overflow-wrap:anywhere;width:fit-content;max-width:100%}.staff-dashboard-shell .finance-receivables-page-next .ar-contract-cell span{overflow-wrap:anywhere}.staff-dashboard-shell .finance-receivables-page-next .ar-cell-stack small{color:var(--muted);font-size:12px;line-height:1.6;display:block}.staff-dashboard-shell .finance-receivables-page-next .ar-due-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.staff-dashboard-shell .finance-receivables-page-next .ar-due-cell .danger-text small{color:inherit}.staff-dashboard-shell .finance-receivables-page-next .ar-row-actions{justify-items:stretch;gap:8px;display:grid}.staff-dashboard-shell .finance-receivables-page-next .ar-row-actions .btn{white-space:nowrap}.staff-dashboard-shell .finance-receivables-page-next .ar-progress{min-width:100px}.staff-dashboard-shell .finance-receivables-page-next .ar-empty{text-align:center;color:var(--muted);padding:32px 16px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-error{margin:16px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-queue{background:#fffaf0;border-bottom:1px solid #e9d59f;margin:0;padding:16px 20px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-queue>header{color:#80530f;align-items:baseline;gap:10px;display:flex}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-queue h2{margin:0;font-size:16px;line-height:1.5}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-queue>header>span{font-size:13px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list{margin:12px 0 0;padding:0;list-style:none}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list>li{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px 24px;padding:12px 0;display:grid}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list>li+li{border-top:1px solid #e9d59f}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list>li:last-child{padding-bottom:0}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-info{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-info>span{font-size:14px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-info>small{color:var(--muted);font-size:12px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-actions{flex-wrap:wrap;gap:10px;display:flex}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history{border-bottom:1px solid var(--border);padding:0 20px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .advanced-filters{border:0;margin:0;padding:0}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history summary{padding:16px 0}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .work-summary-bar{padding:0 0 16px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .history-table{min-width:720px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .history-table td{overflow-wrap:anywhere}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .history-table td:nth-child(3){white-space:nowrap}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history .pagination-bar{padding-inline:0}@media (max-width:1280px){.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table{min-width:0;display:block}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table tbody{display:block}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table tr{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;display:grid}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table tr:last-child{border-bottom:0}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table td{border:0;min-width:0;padding:0;display:block}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:12px;display:block}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table :is(.ar-contract-cell,.ar-money-cell,.ar-action-cell,.ar-empty){grid-column:1/-1}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-money-cell{justify-content:space-between;align-items:baseline;gap:16px;width:auto;min-width:0;display:flex}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-money-cell:before{flex:none;margin:0}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-progress-cell{grid-column:1/-1;min-width:0}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-progress-cell .ar-cell-stack{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table :is(.ar-action-cell,.ar-empty):before{display:none}.staff-dashboard-shell .finance-receivables-page-next .ar-row-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list>li{grid-template-columns:minmax(0,1fr) auto;gap:12px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-info{grid-column:1/-1}}@media (max-width:760px){.staff-dashboard-shell .finance-receivables-page-next{gap:16px}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-card{padding:12px}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-card:last-child{grid-column:1/-1}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-value{font-size:20px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table tr,.staff-dashboard-shell .finance-receivables-page-next .ar-pending-queue{padding:16px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-history{padding:0 16px}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-list>li{grid-template-columns:minmax(0,1fr)}.staff-dashboard-shell .finance-receivables-page-next .ar-pending-actions{grid-template-columns:1fr auto;display:grid}}@media (max-width:400px){.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-grid{grid-template-columns:minmax(0,1fr)}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;display:grid}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-label,.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-card small{margin:0}.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-value{white-space:nowrap;grid-area:1/2/3}}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{grid-template-columns:minmax(200px,1.5fr) repeat(4,minmax(130px,1fr));gap:12px}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact .form-field{gap:6px;min-width:0;margin:0}.staff-dashboard-shell .finance-receivables-page-next .work-filter-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.staff-dashboard-shell .finance-receivables-page-next .ar-contract-cell{min-width:200px}.staff-dashboard-shell .finance-receivables-page-next .ar-milestone-cell{overflow-wrap:anywhere;min-width:100px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-action-cell{min-width:120px}.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .status-badge{width:fit-content}@media (max-width:1280px){.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact>:first-child{grid-column:1/-1}}@media (max-width:900px){.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table td,.staff-dashboard-shell .finance-receivables-page-next .ar-receivables-table .ar-action-cell{min-width:0}}@media (max-width:760px){.staff-dashboard-shell .finance-receivables-page-next .work-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (max-width:360px){.staff-dashboard-shell .finance-receivables-page-next .finance-kpi-label{font-size:12px}.staff-dashboard-shell .finance-receivables-page-next .filter-bar.compact{grid-template-columns:minmax(0,1fr)}}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .modal-body{grid-template-columns:minmax(0,1fr)}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-summary-strip{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:16px}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-summary-strip>div{background:0 0;border-radius:0;min-width:0;padding:0}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-summary-strip span{font-size:13px}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-summary-strip strong{overflow-wrap:anywhere;font-size:16px}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] :is(.form-section,.ar-payment-record-list,.ar-payment-record-row){min-width:0}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-record-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-record-row>*{overflow-wrap:anywhere;min-width:0;max-width:100%}@media (max-width:560px){.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .form-grid.two-columns,.staff-dashboard-shell .modal-card[aria-labelledby=record-payment-title] .ar-payment-record-row{grid-template-columns:minmax(0,1fr)}}.staff-dashboard-shell .contract-detail-modal{width:min(100%,1000px);max-width:1000px}.staff-dashboard-shell .contract-detail-modal .modal-header{padding:16px 24px}.staff-dashboard-shell .contract-detail-modal .modal-header p{margin:4px 0 0;font-weight:400}.staff-dashboard-shell .contract-detail-modal .contract-detail-body{overscroll-behavior:contain;padding:0 24px 24px;display:block}.staff-dashboard-shell .contract-detail-modal .contract-detail-body>.form-section{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;min-width:0;margin:0;padding:24px 0}.staff-dashboard-shell .contract-detail-modal .form-section>h3{margin:0;font-size:16px;font-weight:600}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary{border-bottom:1px solid var(--border);gap:16px;padding:20px 0}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary>div{background:0 0;border-radius:0;align-content:start;gap:8px;min-width:0;padding:0}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary>div>span:first-child{font-weight:400}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:16px;font-weight:600}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary .status-badge{width:fit-content}.staff-dashboard-shell .contract-detail-modal .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}.staff-dashboard-shell .contract-detail-modal .detail-grid>div{background:0 0;border-radius:0;align-content:start;gap:5px;min-width:0;padding:0}.staff-dashboard-shell .contract-detail-modal .detail-grid span{font-size:13px;font-weight:400}.staff-dashboard-shell .contract-detail-modal .detail-grid strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}.staff-dashboard-shell .contract-detail-modal .contract-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard-shell .contract-detail-modal .contract-notes-grid strong{white-space:pre-wrap}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list){gap:0}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article{border:0;border-bottom:1px solid var(--border);border-radius:0;grid-template-columns:minmax(0,1fr) minmax(180px,auto);gap:24px;padding:14px 0}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article:first-child{padding-top:0}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article:last-child{border-bottom:0;padding-bottom:0}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article>div{overflow-wrap:anywhere;gap:6px;min-width:0;display:grid}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article>div:last-child{text-align:right}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list) span{font-weight:400}.staff-dashboard-shell .contract-detail-modal .contract-record-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.staff-dashboard-shell .contract-detail-modal .contract-record-heading h3{margin:0;font-size:16px;font-weight:600}.staff-dashboard-shell .contract-detail-modal .contract-record-heading>span{color:var(--muted);font-size:13px}.staff-dashboard-shell .contract-detail-modal .contract-history-list,.staff-dashboard-shell .contract-detail-modal .contract-status-history{margin-top:0}.staff-dashboard-shell .contract-detail-modal .contract-history-item>summary{grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;display:grid}.staff-dashboard-shell .contract-detail-modal .contract-history-item>summary>span{overflow-wrap:anywhere;min-width:0}.staff-dashboard-shell .contract-detail-modal .contract-revision-author{font-size:13px}.staff-dashboard-shell .contract-detail-modal .contract-history-content{gap:18px;padding:0 16px 16px}.staff-dashboard-shell .contract-detail-modal .contract-history-content .detail-grid{padding-top:4px}.staff-dashboard-shell .contract-detail-modal .contract-history-content .detail-list article{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:10px 0}.staff-dashboard-shell .contract-detail-modal .contract-history-content .detail-list article>div{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.staff-dashboard-shell .contract-detail-modal .contract-status-history-row{grid-template-columns:100px minmax(130px,.65fr) minmax(0,1fr);padding:14px 0}.staff-dashboard-shell .contract-detail-modal .contract-status-history-row>*{overflow-wrap:anywhere;min-width:0;font-size:14px}.staff-dashboard-shell .contract-detail-modal .contract-detail-footer{justify-content:space-between;gap:12px 24px;padding:14px 24px;display:flex}.staff-dashboard-shell .contract-detail-modal .contract-detail-tools,.staff-dashboard-shell .contract-detail-modal .contract-detail-actions{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.staff-dashboard-shell .contract-detail-modal .contract-detail-actions{margin-left:auto}@media (max-width:640px){.staff-dashboard-shell .contract-detail-modal .modal-header{padding:14px 16px}.staff-dashboard-shell .contract-detail-modal .contract-detail-body{padding:0 16px 20px}.staff-dashboard-shell .contract-detail-modal .contract-detail-body>.form-section{padding-block:20px}.staff-dashboard-shell .contract-detail-modal .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.staff-dashboard-shell .contract-detail-modal .contract-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article{grid-template-columns:minmax(0,1fr);gap:10px}.staff-dashboard-shell .contract-detail-modal :is(.contract-service-list,.contract-payment-list)>article>div:last-child{text-align:left}.staff-dashboard-shell .contract-detail-modal .contract-history-item>summary{grid-template-columns:minmax(0,1fr) 18px;gap:6px 12px}.staff-dashboard-shell .contract-detail-modal .contract-revision-author{grid-column:1}.staff-dashboard-shell .contract-detail-modal .contract-revision-chevron{grid-area:1/2/3}.staff-dashboard-shell .contract-detail-modal .contract-status-history-row{grid-template-columns:minmax(0,1fr);gap:6px}.staff-dashboard-shell .contract-detail-modal .contract-status-description{margin-top:2px}.staff-dashboard-shell .contract-detail-modal .contract-detail-footer{gap:10px;padding:12px 16px}.staff-dashboard-shell .contract-detail-modal .contract-detail-tools{flex:100%}.staff-dashboard-shell .contract-detail-modal .contract-detail-tools .icon-button{flex-basis:44px;width:44px;min-height:44px}.staff-dashboard-shell .contract-detail-modal .contract-detail-tools>.btn{flex:1}}@media (max-width:400px){.staff-dashboard-shell .contract-detail-modal .detail-grid{grid-template-columns:minmax(0,1fr)}}}
@media screen{body:has(.staff-dashboard-shell,.client-dashboard-shell) select{text-align:left;text-align-last:left;text-overflow:ellipsis;min-width:0;max-width:100%;min-height:40px;padding:8px 12px;font-size:15px;font-weight:400;line-height:1.5}body:has(.staff-dashboard-shell,.client-dashboard-shell) select:not([multiple]){appearance:auto;height:40px;padding-right:32px}body:has(.staff-dashboard-shell,.client-dashboard-shell) select[multiple]{height:auto;min-height:132px}body:has(.staff-dashboard-shell,.client-dashboard-shell) :is(.server-autocomplete,.server-autocomplete input){width:100%;min-width:0;max-width:100%}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown{min-width:0;position:relative}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-trigger{background:var(--surface);width:100%;min-width:0;min-height:40px;color:var(--text);border:1px solid var(--border-strong);font:inherit;text-align:left;cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:15px;list-style:none;display:flex}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-trigger::-webkit-details-marker{display:none}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-trigger:hover{background:var(--surface-soft)}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-trigger.active{border-color:var(--primary)}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-trigger:disabled{background:var(--surface-muted);color:var(--muted);cursor:not-allowed}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-label{min-width:0;font:inherit;color:inherit;overflow-wrap:anywhere;flex:1}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown-chevron{color:var(--muted);flex:0 0 18px}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown[open]>summary .checkbox-dropdown-chevron{transform:rotate(180deg)}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown .filter-menu-panel{overscroll-behavior:contain;gap:2px;width:max-content;min-width:min(240px,100%);max-width:min(340px,100vw - 40px);max-height:min(320px,50dvh);padding:6px;left:auto;right:0;overflow-y:auto}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown .checkbox-line{white-space:normal;cursor:pointer;border-radius:4px;align-items:flex-start;gap:10px;min-height:44px;margin:0;padding:10px 8px;font-size:15px;line-height:24px;display:flex}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown .checkbox-line:hover{background:var(--surface-muted)}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown .checkbox-line:has(input:checked){background:var(--primary-soft)}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown .checkbox-line>span{min-width:0;font:inherit;color:var(--text);overflow-wrap:anywhere}body:has(.staff-dashboard-shell,.client-dashboard-shell) .checkbox-dropdown input[type=checkbox]{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:3px 0 0}body:has(.staff-dashboard-shell,.client-dashboard-shell) .modal-body .checkbox-dropdown .filter-menu-panel{width:100%;max-width:100%;box-shadow:none;margin-top:6px;position:static}@media (max-width:1100px){body:has(.staff-dashboard-shell) .work-filter-panel .checkbox-dropdown .filter-menu-panel{width:100%;max-width:100%}}@media (max-width:768px){body:has(.staff-dashboard-shell,.client-dashboard-shell) select{min-height:44px!important;font-size:16px!important}body:has(.staff-dashboard-shell,.client-dashboard-shell) select:not([multiple]){height:44px!important}body:has(.staff-dashboard-shell,.client-dashboard-shell) :is(.checkbox-dropdown-trigger,.checkbox-dropdown .checkbox-line){min-height:44px;font-size:16px}body:has(.staff-dashboard-shell,.client-dashboard-shell) select[multiple]{min-height:132px!important}}}
@media screen{.mobile-action-icon,.mobile-account-avatar,.mobile-account-identity{display:none}}@media screen and (max-width:768px){.dashboard-shell .mobile-header{height:60px;min-height:60px;padding:8px max(12px, env(safe-area-inset-right,0px)) 8px max(12px, env(safe-area-inset-left,0px));-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;gap:8px}.dashboard-shell .mobile-header .hamburger{width:44px;height:44px;color:var(--text);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.dashboard-shell .mobile-brand{letter-spacing:0;gap:6px;min-width:0}.dashboard-shell .mobile-brand-img{flex:0 0 24px;width:24px;height:28px;display:block}.dashboard-shell .mobile-system-label{color:var(--text);font-size:18px;font-weight:500}.dashboard-shell .app-sidebar>.sidebar-footer-shell{display:none}.staff-dashboard-shell .app-sidebar{padding-bottom:env(safe-area-inset-bottom,0px)}.dashboard-shell .mobile-account-actions{flex:none;align-items:center;gap:8px;display:flex}.dashboard-shell .mobile-account-actions :is(.sidebar-notifications,.sidebar-user-menu){margin:0;position:static}.dashboard-shell .mobile-account-actions :is(.sidebar-notify-trigger,.sidebar-user-trigger){width:44px;height:44px;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:6px;flex:0 0 44px;place-items:center;margin:0;padding:0;display:grid;position:relative}.mobile-account-actions .account-trigger-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dashboard-shell .mobile-action-icon{display:block}.dashboard-shell .mobile-account-actions .client-notification-label svg{width:22px;height:22px}.dashboard-shell .mobile-account-actions :is(.mobile-account-avatar,.client-account-avatar){color:#434951;background:#eef0f3;border-radius:50%;place-items:center;width:34px;height:34px;font-size:16px;font-weight:500;display:grid}.dashboard-shell .mobile-account-actions :is(.sidebar-notify-count,.notification-count){color:#fff;background:#c52b32;border:2px solid #fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:11px;font-weight:600;line-height:16px;display:grid;position:absolute;top:0;right:-2px}.dashboard-shell .mobile-account-actions :is(.sidebar-notify-panel,.sidebar-user-dropdown){top:calc(100% + 8px);bottom:auto;left:auto;right:max(12px, env(safe-area-inset-right,0px));width:min(380px,100% - 24px);max-height:calc(100dvh - 80px - env(safe-area-inset-bottom,0px));overscroll-behavior-y:contain;border-radius:8px;position:absolute;overflow-y:auto}.dashboard-shell .mobile-account-actions .sidebar-user-dropdown{width:min(280px,100% - 24px)}.mobile-account-actions .sidebar-notify-list{max-height:none;overflow:visible}.mobile-account-actions .sidebar-notify-item.is-read{opacity:1}.mobile-account-actions .sidebar-notify-head{gap:8px;padding:8px 12px;font-size:16px}.mobile-account-actions :is(.sidebar-notify-head button,.sidebar-notify-tabs button,.sidebar-user-dropdown button,.sidebar-user-dropdown a){min-height:44px;font-size:15px}.mobile-account-actions .sidebar-notify-title{font-size:15px;line-height:1.5}.mobile-account-actions .sidebar-notify-body{font-size:14px;line-height:1.5}.mobile-account-actions .sidebar-notify-time{color:var(--muted);font-size:12px}.mobile-account-actions .sidebar-notify-all-link{min-height:44px;font-size:15px}.dashboard-shell .mobile-account-identity{overflow-wrap:anywhere;gap:4px;padding:8px;font-size:15px;display:grid}.mobile-account-identity small{color:var(--muted);font-size:13px}}
.video-upload-center{z-index:1400;color:#272b31;letter-spacing:0;text-align:left;background:#fff;border:1px solid #d6dbe2;border-radius:8px;width:min(380px,100vw - 32px);font:14px/1.5 Noto Sans TC,sans-serif;position:fixed;bottom:20px;right:20px;box-shadow:0 6px 28px #17202b24}.video-upload-center *{box-sizing:border-box;letter-spacing:0}.video-upload-center>header{align-items:center;gap:12px;padding:10px 12px 10px 16px;display:flex}.video-upload-center>header>div{flex:1;min-width:0}.video-upload-center strong{font-size:14px;font-weight:600}.video-upload-center>header span{color:#586575;font-size:12px;display:block}.video-upload-center button{min-width:36px;min-height:36px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:6px;padding:6px;display:inline-flex}.video-upload-center button:hover{background:#edf0f4}.video-upload-center :is(button,a):focus-visible{outline-offset:2px;outline:3px solid #6590ef}.video-upload-center ul{overscroll-behavior:contain;max-height:min(55dvh,440px);margin:0;padding:0;list-style:none;overflow-y:auto}.video-upload-center li{border-top:1px solid #e0e5eb;padding:14px 16px}.video-upload-task-heading{align-items:start;gap:10px;display:flex}.video-upload-task-heading>svg{flex-shrink:0;margin-top:3px}.video-upload-task-heading>div{flex:1;min-width:0}.video-upload-task-heading :is(strong,span,small){overflow-wrap:anywhere;display:block}.video-upload-task-heading small{color:#586575;margin-top:2px;font-size:12px}.video-upload-center .is-success{color:#16754b}.video-upload-center .is-error{color:#ad2631}.video-upload-center .is-spinning{color:#526476;animation:1.4s linear infinite video-upload-spin}@keyframes video-upload-spin{to{transform:rotate(360deg)}}.video-upload-assets{margin-top:12px}.video-upload-asset{grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:4px 8px;padding:6px 0;display:grid}.video-upload-asset>svg{color:#657181;margin-top:2px}.video-upload-asset-name span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.video-upload-asset-name small{color:#586575;font-size:12px;display:block}.video-upload-asset-state{white-space:nowrap;font-variant-numeric:tabular-nums;color:#586575;font-size:12px}.video-upload-asset.is-uploaded .video-upload-asset-state{color:#16754b}.video-upload-asset.is-error .video-upload-asset-state{color:#ad2631}.video-upload-center progress{accent-color:#3469ce;border:0;width:100%;height:7px;margin:5px 0;display:block}.video-upload-asset progress{grid-column:2/-1}.video-upload-center p{overflow-wrap:anywhere;margin:10px 0 4px;font-size:13px}.video-upload-task-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:6px;display:flex}.video-upload-task-actions a{color:#2458b3;margin-left:auto;padding:8px 0;text-decoration:none}.video-upload-center .video-upload-retry{border:1px solid #d6dbe2;padding:6px 10px}.video-upload-center footer{text-align:right;border-top:1px solid #e0e5eb;padding:6px 12px}@media (max-width:767px){.video-upload-center{right:8px;bottom:max(8px, env(safe-area-inset-bottom));width:calc(100vw - 16px)}.video-upload-center button{min-width:44px;min-height:44px}.video-upload-center ul{max-height:min(48dvh,380px)}.video-upload-center>header{padding:6px 8px 6px 12px}.video-upload-center li{padding:12px}}@media (prefers-reduced-motion:reduce){.video-upload-center .is-spinning{animation:none}}@media print{.video-upload-center{display:none}}
.editing-calendar-page{min-width:0;color:var(--text)}.editing-calendar-header,.editing-calendar-toolbar,.editing-calendar-month-controls,.editing-calendar-options{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.editing-calendar-header,.editing-calendar-toolbar{justify-content:space-between}.editing-calendar-header{margin-bottom:24px}.editing-calendar-page .btn{justify-content:center;align-items:center;gap:8px;min-height:42px;display:inline-flex}.editing-calendar-page .editing-calendar-icon{flex:0 0 42px;width:42px;height:42px;padding:0}.editing-calendar-month{align-items:center;gap:8px;font-size:14px;display:flex}.editing-calendar-month input{width:172px;max-width:100%;min-height:42px;padding:8px}.editing-calendar-options label{align-items:center;gap:8px;min-height:42px;font-size:14px;display:flex}.editing-calendar-options input{width:16px;height:16px}.editing-calendar-summary{color:#626771;align-items:center;min-height:42px;font-size:14px;display:flex}.editing-calendar-grid{background:#fff;border:1px solid #d9dde3;border-radius:8px;grid-template-columns:repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.editing-calendar-weekday{text-align:center;color:#626771;background:#f3f4f6;border-bottom:1px solid #d9dde3;padding:12px 4px;font-size:14px}.editing-calendar-day{border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;min-width:0;min-height:150px;padding:6px}.editing-calendar-day:nth-child(7n){border-right:0}.editing-calendar-day:nth-last-child(-n+7){border-bottom:0}.editing-calendar-day.is-outside{background:#f7f8fa}.editing-calendar-day.is-selected{box-shadow:inset 0 0 0 2px #484d56}.editing-calendar-date{color:#30343b;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:4px;width:100%;min-height:38px;padding:4px;display:flex}.editing-calendar-date>span{border-radius:4px;place-items:center;min-width:28px;height:28px;display:grid}.editing-calendar-date[aria-current=date]>span{color:#fff;background:#25282e;font-weight:600}.editing-calendar-date small{color:#626771;font-size:12px}.editing-calendar-date:disabled{cursor:default;color:#999da5}.editing-calendar-events,.editing-calendar-agenda{margin:0;padding:0;list-style:none}.editing-calendar-events li+li{margin-top:6px}.editing-calendar-event{color:#30343b;overflow-wrap:anywhere;background:#f3f4f6;border-left:3px solid #626771;border-radius:4px;flex-direction:column;gap:3px;padding:8px;text-decoration:none;display:flex}.editing-calendar-event strong{font-size:14px;font-weight:600}.editing-calendar-event>span,.editing-calendar-event small{color:#626771;font-size:12px}.editing-calendar-event.is-waiting{background:#fcf8ef;border-left-color:#a87828}.editing-calendar-event.is-done{background:#eff7f2;border-left-color:#477961}.editing-calendar-event:hover,.editing-calendar-job:hover{background:#e9edf1}.editing-calendar-more{color:#4e596a;cursor:pointer;background:0 0;border:0;min-height:36px;padding:6px;font-size:13px}.editing-calendar-day-detail,.editing-calendar-unscheduled{margin-top:28px}.editing-calendar-page h2{border-bottom:1px solid #d9dde3;align-items:baseline;gap:12px;margin:0;padding-bottom:12px;font-size:18px;display:flex}.editing-calendar-page h2>span{color:#626771;font-size:14px;font-weight:400}.editing-calendar-job{color:#30343b;border-bottom:1px solid #e5e7eb;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:16px;padding:16px 8px;text-decoration:none;display:grid}.editing-calendar-job-copy,.editing-calendar-job-state{overflow-wrap:anywhere;flex-direction:column;gap:6px;min-width:0;display:flex}.editing-calendar-job-copy>span,.editing-calendar-job-state>span{font-size:14px}.editing-calendar-job-copy>span{color:#626771}.editing-calendar-status.is-waiting{color:#83601f}.editing-calendar-status.is-done{color:#397052}.editing-calendar-job-state .editing-calendar-overdue{color:#a53535}.editing-calendar-empty{color:#626771;margin:0;padding:20px 8px;font-size:14px}.editing-calendar-page button:focus-visible,.editing-calendar-page a:focus-visible{outline-offset:2px;outline:2px solid #4265a3}@media (max-width:767px){.editing-calendar-header{align-items:flex-start;margin-bottom:20px}.editing-calendar-header .btn{font-size:14px}.editing-calendar-month-controls{flex-wrap:nowrap;gap:6px;width:100%}.editing-calendar-month{flex:1;gap:0;min-width:0;font-size:0}.editing-calendar-month input{width:100%;min-width:0;font-size:16px}.editing-calendar-options .btn:not(.editing-calendar-icon){padding:8px;font-size:14px}.editing-calendar-options{justify-content:space-between;width:100%}.editing-calendar-weekday{padding:10px 0}.editing-calendar-day{min-height:68px;padding:0}.editing-calendar-date{flex-direction:column;justify-content:flex-start;gap:3px;min-height:68px;padding:6px 0;font-size:16px}.editing-calendar-date small{min-height:16px;font-size:12px}.editing-calendar-events,.editing-calendar-more{display:none}.editing-calendar-job{grid-template-columns:minmax(0,1fr) 18px;gap:8px}.editing-calendar-job-state{grid-column:1}.editing-calendar-job>svg{grid-area:1/2/3}}
.system-costs-page{min-width:0;max-width:1440px;margin:0 auto}.cost-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.cost-actions .btn,.cost-editor .btn,.cost-text-button{justify-content:center;align-items:center;gap:6px;min-height:40px;display:inline-flex}.cost-actions .btn{flex:none}.cost-month{align-items:center;gap:8px;display:flex}.cost-month input,.cost-actions select{width:auto;max-width:100%;min-height:40px}.cost-month input{width:150px}.cost-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;display:grid}.cost-summary>div{background:#fff;border:1px solid #dce0e5;border-radius:8px;flex-direction:column;gap:12px;padding:18px;display:flex}.cost-summary strong{overflow-wrap:anywhere;font-size:24px;font-weight:600;line-height:1.35}.cost-summary span,.cost-summary small,.cost-footnote{color:#62676f}.cost-summary small{font-size:13px;line-height:1.6}.cost-text-button{color:#245eb5;cursor:pointer;background:0 0;border:0;padding:4px 0}.cost-warning{color:#694916;background:#fff7e6;border-left:3px solid #c58a24;margin:16px 0;padding:16px 20px}.cost-warning summary{cursor:pointer;font-weight:600}.cost-warning ul{margin:10px 0 0;padding-left:22px;line-height:1.8}.cost-section{border-top:1px solid #dce0e5;margin-top:30px;padding-top:22px}.cost-section>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.cost-section h2{margin:0;font-size:18px;font-weight:600}.cost-table-scroll{width:100%;overflow-x:auto}.cost-table-scroll table{border-collapse:collapse;text-align:left;background:#fff;width:100%;min-width:650px}.cost-table-scroll th{color:#555b64;white-space:nowrap;background:#f1f2f4;font-size:13px;font-weight:500}.cost-table-scroll td,.cost-table-scroll th{vertical-align:top;border-bottom:1px solid #e3e5e8;padding:14px}.cost-table-scroll td{font-size:14px}.cost-table-scroll strong{font-weight:500}.cost-table-scroll small,.cost-source small{color:#62676f;margin-top:5px;font-size:13px;display:block}.cost-number{font-variant-numeric:tabular-nums;white-space:nowrap}.cost-line-detail{overflow-wrap:anywhere;min-width:180px;max-width:360px;font-size:13px}.cost-footnote{margin:14px 0;font-size:13px;line-height:1.8}.cost-source{border-bottom:1px solid #e3e5e8;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;padding:16px 0;display:grid}.cost-source-error{color:#a63838!important}.cost-history{grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.cost-history button{text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #dce0e5;flex-direction:column;gap:8px;padding:14px 8px;display:flex}.cost-history button[aria-current]{background:#eaf1fc}.cost-history button strong{font-size:14px;font-weight:500}.cost-history button small{color:#62676f}.cost-editor{width:min(760px,100vw - 32px);max-width:760px}.cost-form-grid{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;margin:0;padding:0;display:grid}.cost-form-grid>label{flex-direction:column;gap:8px;min-width:0;font-size:14px;display:flex}.cost-form-grid input:not([type=checkbox]),.cost-form-grid select,.cost-form-grid textarea{box-sizing:border-box;width:100%;min-width:0}.cost-form-grid .cost-check{flex-direction:row;align-items:center}.cost-check input,.cost-client-picks input{flex:0 0 18px;width:18px;height:18px}.cost-form-wide{grid-column:1/-1}.cost-client-picks{max-height:220px;overflow-y:auto}.cost-client-picks label{align-items:center;gap:10px;min-height:44px;padding:10px 0;display:flex}.cost-form-grid h3{margin:0 0 10px;font-size:16px}@media (max-width:900px){.cost-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-history{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:540px){.cost-month input,.cost-actions select,.cost-editor input,.cost-editor select,.cost-editor textarea{font-size:16px}.cost-summary{gap:10px}.cost-summary>div{padding:14px}.cost-summary strong{font-size:20px}.cost-form-grid{grid-template-columns:minmax(0,1fr)}.cost-editor{width:calc(100vw - 24px)}.cost-source{grid-template-columns:minmax(0,1fr) auto;gap:12px}.cost-source>div:first-child{grid-column:1/-1}.cost-source>.cost-actions{justify-content:flex-end}.cost-history{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-actions .btn,.cost-text-button,.cost-editor .btn{min-height:44px}}
