/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.start{inset-inline-start:var(--spacing)}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.border{border-style:var(--tw-border-style);border-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--brand:#eb590f;--brand-hover:#d94f09;--brand-soft:#fff3ec;--brand-yellow:#fabe00;--brand-dark:#3e3a39;--ink:#252424;--muted:#777371;--line:#e5e3e1;--line-light:#efedeb;--background:#f5f6f7;--success:#18845f;--danger:#c43d32;--warning:#a96312;--sidebar-width:208px;--header-height:52px;--control-height:36px;--row-height:42px;--header-row-height:36px;--radius:6px;--radius-overlay:8px;--space-page:22px}.account-entry{min-width:0;color:inherit;text-align:left;background:0 0;border:0;padding:0}.account-entry strong,.account-entry span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.account-entry span{color:var(--muted);margin-top:2px;font-size:11px}.mobile-account-trigger{display:none}.account-drawer .drawer-body{gap:22px;display:grid}.account-summary{border:1px solid var(--line);border-radius:8px;gap:0;margin:0;display:grid}.account-summary>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:18px;padding:12px 14px;display:flex}.account-summary>div:last-child{border-bottom:0}.account-summary dt{color:var(--muted)}.account-summary dd{text-align:right;margin:0;font-weight:600}.account-password{gap:12px;display:grid}.account-password h4{margin:0 0 3px}.account-password label{gap:6px;font-size:12px;display:grid}.account-password small{color:var(--muted)}.account-logout{color:var(--danger);border-color:#efcbc6}.temporary-password{width:min(430px,100vw - 32px)}.temporary-password code{color:#842f14;letter-spacing:.05em;word-break:break-all;background:#fff9f5;border:1px dashed #d8a78d;border-radius:8px;margin:16px 0;padding:16px;font-size:20px;font-weight:700;display:block}.team-readonly .row-actions,.team-readonly .record-actions,.team-readonly .detail-metrics button,.team-readonly .detail-section .primary,.team-readonly .timeline-actions{display:none!important}.team-readonly .inline-value{pointer-events:none;cursor:default;text-decoration:none}.monthly-report-screen{gap:16px;display:grid}.report-toolbar{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.report-toolbar h2{margin:0;font-size:22px}.report-toolbar p{color:var(--muted);margin:5px 0 0}.report-actions{gap:8px;display:flex}.report-filters{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:end;gap:10px;padding:12px;display:flex}.report-filters label{min-width:170px;color:var(--muted);gap:5px;font-size:11px;display:grid}.report-filters input,.report-filters select{height:36px;color:var(--ink)}.scope-lock{color:#9b4c25;background:#f7eee8;border-radius:999px;align-self:center;margin-left:auto;padding:6px 9px;font-size:11px}.report-loading{min-height:360px;color:var(--muted);border:1px dashed var(--line);border-radius:10px;place-items:center;display:grid}.report-sheet{box-sizing:border-box;color:#292725;background:#fff;border:1px solid #e5e0dc;width:min(840px,100%);min-height:1060px;margin:0 auto;padding:54px 58px 36px;font-family:Arial,Microsoft YaHei,sans-serif;box-shadow:0 12px 35px #32231914}.report-head{border-bottom:2px solid #2f2c29;justify-content:space-between;gap:30px;padding-bottom:24px;display:flex}.report-head span{color:#bf4f20;letter-spacing:.15em;font-size:10px;font-weight:700}.report-head h1{letter-spacing:-.03em;margin:8px 0 6px;font-size:27px}.report-head p{color:#77716c;margin:0}.report-state{color:#37784c;white-space:nowrap;border:1px solid #a6bfae;border-radius:999px;align-self:flex-start;padding:6px 10px;font-size:11px;font-weight:700}.report-state.estimated{color:#9b5b1c;border-color:#ddb78d}.report-metrics{background:#e8e4e0;border:1px solid #e8e4e0;grid-template-columns:repeat(4,1fr);gap:1px;margin:30px 0;display:grid}.report-metrics>div{background:#faf9f8;padding:18px 15px}.report-metrics>div.primary{background:#fff2e9;color:#292725!important}.report-metrics>div.wide{grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.report-metrics span{color:#77716c;font-size:10px;display:block}.report-metrics strong{font-variant-numeric:tabular-nums;margin-top:10px;font-size:18px;display:block}.report-detail{margin-top:26px}.report-detail h2,.report-bottom h2{margin:0 0 12px;font-size:14px}.report-detail table{border-collapse:collapse;width:100%;font-size:11px}.report-detail th{color:#77716c;text-align:right;background:#f5f3f1;padding:9px 8px}.report-detail th:first-child{text-align:left}.report-detail td{text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid #ece8e5;padding:11px 8px}.report-detail td:first-child{text-align:left;font-weight:600}.report-detail td small{color:#a6652c;font-weight:400}.report-detail dl{border:1px solid #e8e4e0;grid-template-columns:1fr 1fr;margin:0;display:grid}.report-detail dl div{justify-content:space-between;padding:16px;display:flex}.report-detail dl div+div{border-left:1px solid #e8e4e0}.report-detail dd{margin:0;font-weight:700}.report-bottom{grid-template-columns:1.5fr 1fr;gap:16px;margin-top:28px;display:grid}.report-bottom>div{border:1px solid #e8e4e0;padding:17px}.report-bottom p{justify-content:space-between;margin:8px 0 0;display:flex}.report-bottom p span{color:#77716c;font-size:10px}.report-sheet footer{color:#99918b;text-align:center;border-top:1px solid #e8e4e0;margin-top:46px;padding-top:14px;font-size:9px}@media (max-width:720px){.mobile-account-trigger{color:#aa4a1e;background:#fff8f3;border:1px solid #eed8ca;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;font-size:11px;font-weight:700;display:grid;position:absolute;top:9px;right:10px}.report-toolbar{flex-direction:column;align-items:flex-start}.report-actions{width:100%}.report-actions button{flex:1}.report-filters{flex-direction:column;align-items:stretch}.report-filters label{min-width:0}.scope-lock{align-self:flex-start;margin-left:0}.report-sheet{min-height:0;box-shadow:none;padding:28px 20px 24px}.report-head h1{font-size:21px}.report-metrics{grid-template-columns:repeat(2,1fr)}.report-detail{overflow-x:auto}.report-detail table{min-width:620px}.report-bottom{grid-template-columns:1fr}}.attachment-trigger{border:1px solid var(--line);min-width:28px;min-height:28px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:4px 7px;font-size:11px;line-height:1;display:inline-flex}.attachment-trigger:hover,.attachment-trigger.has-files{color:var(--brand);background:#fff9f5;border-color:#efb795}.attachment-body{padding:14px}.attachment-upload{background:#fffaf7;border:1px dashed #dfb398;border-radius:7px;grid-template-columns:auto 1fr minmax(180px,240px);align-items:center;gap:9px;margin-bottom:12px;padding:10px;display:grid}.attachment-upload:focus-within{outline-offset:1px;outline:2px solid #eb590f29}.attachment-upload>input[type=file]{display:none}.attachment-upload>span{color:var(--muted);font-size:11px}.attachment-upload>input[type=text],.attachment-upload>input:not([type]){min-width:0;height:32px}.attachment-layout{min-height:180px;display:grid}.attachment-layout.with-preview{grid-template-columns:minmax(260px,42%) 1fr;gap:12px}.attachment-list{align-content:start;gap:7px;display:grid}.attachment-list article{border:1px solid var(--line-light);background:#fff;border-radius:7px;padding:8px}.attachment-list article.selected{background:#fffaf7;border-color:#efb795}.attachment-file{text-align:left;background:0 0;border:0;grid-template-columns:42px minmax(0,1fr);gap:9px;width:100%;padding:0;display:grid}.attachment-file>span:last-child{min-width:0}.attachment-file strong,.attachment-file small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.attachment-file strong{font-size:12px}.attachment-file small{color:var(--muted);margin-top:3px;font-size:10px}.attachment-thumb{width:42px;height:42px;color:var(--brand);background:#f4f1ef;border-radius:5px;place-items:center;font-size:10px;font-weight:800;display:grid;overflow:hidden}.attachment-thumb img{object-fit:cover;width:100%;height:100%}.attachment-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.attachment-actions button,.attachment-actions a{color:#665f5b;background:0 0;border:0;padding:0;font-size:10px;text-decoration:none}.attachment-actions .danger{color:var(--danger)}.attachment-preview{border:1px solid var(--line);background:#f5f3f1;border-radius:7px;min-width:0;overflow:hidden}.attachment-preview header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:8px;height:38px;padding:0 10px;display:flex}.attachment-preview header strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.attachment-preview header button{background:0 0;border:0;font-size:18px}.attachment-preview>img,.attachment-preview>iframe{object-fit:contain;border:0;width:100%;height:min(54vh,520px);display:block}.attachment-preview>img{padding:10px}.detail-toolbar>div{align-items:center;gap:8px;display:flex}.settlement-strip .attachment-trigger,.cost-payment-detail .attachment-trigger{margin-left:7px}@media (max-width:720px){.attachment-drawer{width:100vw;max-width:100vw}.attachment-body{padding:10px}.attachment-upload{grid-template-columns:auto 1fr;padding:8px}.attachment-upload>input:last-child{grid-column:1/-1}.attachment-upload>span{font-size:10px}.attachment-layout.with-preview{grid-template-columns:1fr}.attachment-preview{order:-1}.attachment-preview>img,.attachment-preview>iframe{height:34vh}.attachment-list{max-height:42vh;overflow-y:auto}.mobile-fact-list footer>div,.mobile-cost-list footer{flex-wrap:wrap}}.module-hidden{display:none!important}.permission-drawer .drawer-head small{color:var(--muted);margin-top:4px;display:block}.permission-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.permission-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.permission-title>button{white-space:nowrap}.scope-options{gap:20px;display:flex}.scope-options label,.team-multiselect label{flex-direction:row;align-items:center;gap:8px;display:flex}.team-multiselect{background:var(--surface-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding:12px;display:grid}.permission-matrix{border:1px solid var(--line);border-radius:8px;overflow:hidden}.matrix-head,.matrix-row{grid-template-columns:minmax(150px,1fr) repeat(3,88px);align-items:center;min-height:42px;display:grid}.matrix-head{background:var(--surface-soft);color:var(--muted);font-size:12px}.matrix-row{border-top:1px solid var(--line)}.matrix-head>*,.matrix-row>*{text-align:center;padding:0 12px}.matrix-head>:first-child,.matrix-row>:first-child{text-align:left}.matrix-row label{cursor:pointer;place-items:center;height:42px;display:grid}.permission-switch{justify-content:space-between;align-items:center;gap:16px;padding:12px 0;flex-direction:row!important;display:flex!important}.permission-switch+.permission-switch{border-top:1px solid var(--line)}.permission-switch span{gap:3px;display:grid}.permission-switch small{color:var(--muted)}@media (max-width:720px){.permission-drawer{width:100vw}.matrix-head,.matrix-row{grid-template-columns:minmax(110px,1fr) repeat(3,64px)}.matrix-head>*,.matrix-row>*{padding:0 6px}.team-multiselect{grid-template-columns:1fr}}:root{--sidebar-width:168px;--sidebar-collapsed-width:56px}.sidebar-toggle{z-index:2;border:1px solid var(--line);width:20px;height:20px;color:var(--muted);cursor:pointer;background:#fff;border-radius:50%;place-items:center;padding:0;line-height:1;display:grid;position:absolute;top:16px;right:-10px;box-shadow:0 1px 4px #25242414}.sidebar-toggle:hover{color:var(--brand);border-color:#efc7b2}.topbar>h1{flex:none}.topbar .secondary-nav{border-bottom:0;align-self:stretch;min-width:0;margin:0;padding:0}.topbar .secondary-nav>div{align-items:stretch;height:100%}.topbar .secondary-nav button{align-items:center;padding:1px 0 0;display:flex}.orders-intro p,.operating-intro p,.settlement-intro p{display:none}.orders-intro,.operating-intro,.settlement-intro,.settings-intro{margin-bottom:6px}.sidebar-collapsed .brand{justify-content:center;padding:0}.sidebar-collapsed .logo-full{display:none}.sidebar-collapsed .logo-mark{width:28px;height:28px;display:block}.sidebar-collapsed .sidebar nav{padding-left:7px;padding-right:7px}.sidebar-collapsed .nav-item{justify-content:center;padding:0}.sidebar-collapsed .nav-label,.sidebar-collapsed .sidebar-foot>div:not(.avatar),.sidebar-collapsed .sidebar-foot>button{display:none}.sidebar-collapsed .sidebar-foot{justify-content:center;padding-left:0;padding-right:0}.focus-toggle{border:1px solid var(--line);height:30px;color:var(--muted);cursor:pointer;background:#fff;border-radius:4px;padding:0 9px}.focus-toggle[aria-pressed=true]{background:var(--brand-soft);color:var(--brand);border-color:#efc7b2}.monthly-toolbar .period-row{min-height:36px;margin:0}.app-shell.focus-mode .sidebar{display:none}.app-shell.focus-mode .workspace{width:100%;margin-left:0}.app-shell.focus-mode .topbar{height:40px;min-height:40px;padding:0 12px}.app-shell.focus-mode .topbar h1{font-size:15px}.app-shell.focus-mode .topbar .secondary-nav,.app-shell.focus-mode .operating-intro,.app-shell.focus-mode .monthly-hint{display:none}.app-shell.focus-mode .content{padding:8px 10px 10px}.app-shell.focus-mode .monthly-entry{margin-top:0}.app-shell.focus-mode .batch-grid-wrap{max-height:calc(100vh - 104px)}@media (max-width:980px) and (min-width:721px){.sidebar{width:var(--sidebar-width)}.workspace{width:calc(100% - var(--sidebar-width));margin-left:var(--sidebar-width)}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-width)}.sidebar-collapsed .workspace{width:calc(100% - var(--sidebar-collapsed-width));margin-left:var(--sidebar-collapsed-width)}}@media (max-width:720px){.sidebar-toggle{display:none}.sidebar-collapsed .sidebar{width:100%}.sidebar-collapsed .workspace{width:100%;margin-left:0}.sidebar-collapsed .nav-label{display:inline}.sidebar-collapsed .nav-item{justify-content:center}.topbar{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;height:auto;min-height:54px;padding:7px 10px 0}.topbar:has(.secondary-nav){min-height:82px}.topbar .secondary-nav{width:100%;min-height:34px}.topbar .secondary-nav>div{gap:18px;width:100%;overflow-x:auto}.monthly-toolbar{align-items:center}.focus-toggle{order:3}.app-shell.focus-mode .topbar{min-height:40px;padding-top:0}}.orders-table th:nth-child(2),.orders-table td:nth-child(2){color:#575250;white-space:nowrap;width:86px}.orders-table th:nth-child(5){width:72px}:root{--sidebar-width:164px;--sidebar-collapsed-width:54px;--header-height:52px;--control-height:34px;--row-height:40px;--header-row-height:34px;--space-page:18px}.desktop-orders-table,.desktop-operating-table,.desktop-profit-table,.desktop-settlement-table{overflow-x:hidden}.permission-drawer .drawer-footer{z-index:2;border-top:1px solid var(--line);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:58px;padding:11px 15px;display:flex;position:sticky;bottom:0}@media (max-width:720px){:root{--space-page:10px}.workspace,.sidebar-collapsed .workspace{width:100%;margin-left:0;padding-bottom:58px}.topbar{min-height:52px;padding:6px 10px 0}.topbar:has(.secondary-nav){min-height:74px}.content{padding:6px 10px 16px;overflow-x:clip}.orders-intro{min-height:28px;margin-bottom:2px}.orders-intro p,.orders-screen .period-presets,.orders-screen .period-context,.orders-screen .order-date-basis,.orders-screen .order-mini-summary{display:none}.orders-screen .period-row{min-height:32px;margin-bottom:3px;padding:0 3px}.orders-screen .period-picker,.orders-screen .period-trigger{width:100%}.orders-screen .period-trigger{justify-content:space-between}.order-filter-bar{gap:4px;min-height:40px;padding:3px 4px}.order-filter-bar select{display:none}.status-tabs{width:calc(100% - 76px);overflow-x:auto}.order-filter-bar .search-box{width:72px;min-width:72px}.order-detail:not(.order-tab-overview) .detail-identity{padding:10px 13px 8px}.order-detail:not(.order-tab-overview) .detail-identity p{margin:3px 0}.order-detail:not(.order-tab-overview) .detail-identity small,.order-detail:not(.order-tab-overview) .detail-metrics{display:none}.order-detail-tabs{top:74px}.drawer.permission-drawer,.drawer.attachment-drawer{width:100vw;max-width:100vw}.permission-drawer .matrix-head{display:none}.permission-drawer .matrix-row{grid-template-columns:minmax(92px,1fr) repeat(3,54px);min-height:38px}.permission-drawer .matrix-row label{height:38px}}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.receivable-balances strong small,.receivable-balances>small,.metric-currencies>small{color:var(--muted);font-size:10px;font-weight:500}.form-more .form-grid{margin-top:12px}.permission-drawer .drawer-body{padding:14px 18px}.permission-drawer .form-grid{gap:10px}.permission-section{margin-top:12px}.permission-title h4{margin:0;font-size:13px}.permission-title p{color:var(--muted);margin:2px 0 0;font-size:10px}.owner-access-summary{background:#fffaf6;border:1px solid #efd9ca;border-radius:8px;grid-template-columns:44px 1fr;gap:10px 12px;margin-top:14px;padding:18px;display:grid}.owner-badge{width:44px;height:44px;color:var(--brand);background:#fff;border:1px solid #efd1bd;border-radius:50%;place-items:center;font-weight:700;display:grid}.owner-access-summary h4,.owner-access-summary p{margin:0}.owner-access-summary>div:nth-child(2) p{color:var(--muted);margin-top:3px}.owner-access-summary dl{border:1px solid var(--line);background:#fff;border-radius:6px;grid-column:1/-1;grid-template-columns:1fr 1fr;margin:5px 0 0;display:grid}.owner-access-summary dl div{padding:10px 12px}.owner-access-summary dl div+div{border-left:1px solid var(--line)}.owner-access-summary dt{color:var(--muted);font-size:10px}.owner-access-summary dd{margin:4px 0 0;font-weight:700}.owner-access-summary>p{color:#9a4b1e;grid-column:1/-1;font-size:11px}.permission-levels{background:#f3f4f5;border-radius:5px;grid-template-columns:repeat(3,1fr);padding:2px;display:grid}.permission-levels input{opacity:0;pointer-events:none;position:absolute}.permission-advanced .permission-switch{min-height:42px;padding:6px 4px}.permission-advanced .permission-switch input{width:34px;height:19px}.settlement-primary-actions,.settlement-entry-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.settlement-history .table-action{color:var(--brand);background:#fffaf6;border:1px solid #efcfbd;border-radius:4px;margin-right:5px;padding:5px 7px}.settlement-entry-actions{grid-column:1/-1;justify-content:flex-end}.settlement-entry-actions>button{border:1px solid var(--line);background:#fff;border-radius:4px;padding:5px 8px}.trace-source-preview{border-top:1px solid var(--line)}@media (max-width:720px){.topbar:not(:has(.secondary-nav)){height:44px;min-height:44px;padding:0 10px}.orders-intro-compact p{display:none}.orders-intro-compact{justify-content:flex-end;min-height:32px}.operating-intro,.settlement-intro{align-items:flex-start;gap:8px}.operating-intro p,.settlement-intro p{font-size:10px}.operating-actions,.settlement-primary-actions{flex:none}.receivable-balances strong{font-size:13px}.drawer.permission-drawer,.drawer.finance-drawer,.drawer.trace-drawer,.drawer.settlement-team-drawer{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.permission-drawer .drawer-body{padding:10px 12px 92px}.permission-drawer .matrix-row{grid-template-columns:1fr auto;min-height:42px;padding:4px 9px}.permission-levels{display:none}.permission-drawer .matrix-row .permission-mobile-level{align-items:center;gap:4px;height:auto!important;padding:0!important;display:flex!important}.permission-mobile-level select{min-width:92px;color:var(--brand);text-align:right;background:0 0;border:0;padding:5px 22px 5px 7px;font-size:11px}.permission-mobile-level span{color:var(--muted)}.owner-access-summary{padding:14px}.settlement-primary-actions .plain-action,.settlement-primary-actions .primary{padding:8px 9px;font-size:11px}}:root{--brand:#eb590f;--brand-hover:#d94f09;--brand-soft:#fff3ec;--brand-yellow:#fabe00;--brand-dark:#3e3a39;--ink:#252424;--muted:#777371;--weak:#9b9794;--line:#e5e3e1;--line-light:#efedeb;--background:#f5f6f7;--surface-soft:#fafafa;--success:#18845f;--danger:#c43d32;--sidebar-width:164px;--sidebar-collapsed-width:54px;--header-height:52px;--control-height:34px;--row-height:40px;--header-row-height:34px;--space-page:18px;--radius:6px;--radius-overlay:8px}body{background:var(--background);font-size:12px}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-width)}.sidebar-collapsed .workspace{width:calc(100% - var(--sidebar-collapsed-width));margin-left:var(--sidebar-collapsed-width)}.logo-mark{width:30px;height:30px}.nav-item{border-radius:5px;gap:9px;height:38px;padding:0 9px}.nav-item.active{background:#fff1e8}.nav-item.active:before{width:2px;top:9px;bottom:9px}.nav-icon,.nav-item.active .nav-icon{background:0 0;border:0;flex:0 0 18px;width:18px;height:18px}.nav-icon svg{width:18px;height:18px;display:block}.sidebar-foot{min-height:58px;padding:9px 10px}.sidebar-foot>button:last-child{display:none}.topbar{height:var(--header-height);padding:0 var(--space-page);gap:24px}.topbar h1{font-size:18px}.secondary-nav button{height:36px;padding:0 1px}.panel,.summary-grid,.order-mini-summary,.allocation-summary,.flow-summary{border-color:var(--line);box-shadow:none;border-radius:6px}.panel-title h2{font-size:14px}.panel-title p{margin-top:2px;font-size:10px}.primary,.ghost,.plain-action{border-radius:5px;height:34px}th{color:#777371;background:#fafafa;height:34px;padding:0 9px;font-size:10px;font-weight:600}td{height:40px;padding:0 9px;font-size:11px}tbody tr:hover{background:#fffaf7}.desktop-team-table table{table-layout:fixed;width:100%}.orders-intro,.operating-intro,.settlement-intro,.settings-intro,.report-toolbar{min-height:38px;margin-bottom:8px}.orders-intro h2,.operating-intro h2,.settlement-intro h2,.settings-intro h2,.report-toolbar h2{font-size:17px}.period-row{min-height:38px;margin-bottom:6px;padding:3px 7px}.basis-switch{margin:-2px 0 7px}.order-mini-summary{margin-bottom:8px}.order-filter-bar{gap:7px;min-height:44px;padding:5px 7px}.status-tabs button{height:32px}.desktop-orders-table{overflow-x:hidden}.orders-table{table-layout:fixed;width:100%;min-width:0}.orders-table th,.orders-table td{text-overflow:ellipsis;white-space:nowrap;padding-left:7px;padding-right:7px;overflow:hidden;text-align:left!important}.order-row td:nth-child(2) strong,.order-row td:nth-child(2) small,.order-row td:nth-child(3) strong,.order-row td:nth-child(3) small{display:block}.order-row td:nth-child(2) small,.order-row td:nth-child(3) small{color:var(--weak);margin-top:2px;font-size:9px}.orders-table .row-action{color:var(--muted);letter-spacing:1px}.order-detail{max-width:1280px;margin:0 auto}.detail-toolbar{margin-bottom:8px}.detail-summary{border:1px solid var(--line);background:#fff;border-radius:6px;margin:0}.detail-identity{padding:15px 17px 12px}.detail-metrics{border-top:1px solid var(--line-light);grid-template-columns:repeat(5,minmax(0,1fr))}.detail-metrics>*{border-top:0;border-right:1px solid var(--line-light);min-height:84px;padding:11px 13px}.detail-metrics>:last-child{border-right:0}.detail-metrics strong{margin:8px 0 5px;font-size:17px}.order-detail-tabs{z-index:6;border:1px solid var(--line);background:#fffffffa;border-radius:6px;gap:22px;min-height:43px;margin:9px 0;padding:0 13px;display:flex;position:sticky;top:52px;overflow-x:auto}.order-detail-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:0 1px;font-size:12px}.order-detail-tabs button.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:650}.order-overview-actions{gap:8px;display:grid}.order-overview-complete{min-height:150px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:7px;display:grid}.order-overview-complete strong{color:var(--ink);font-size:15px}.order-tab-simple{justify-content:space-between;align-items:flex-start;gap:24px;min-height:170px;padding:24px;display:flex}.order-tab-simple h2{margin:5px 0 7px;font-size:18px}.order-tab-simple p{max-width:680px;color:var(--muted);white-space:pre-wrap;margin:0;line-height:1.7}.tab-eyebrow{color:var(--brand);letter-spacing:.08em;font-size:10px;font-weight:700}.order-funds,.detail-panel{margin-top:0}.desktop-fact-table table{table-layout:fixed;width:100%}.desktop-operating-table{overflow-x:hidden}.operating-table{table-layout:fixed;width:100%;min-width:0}.operating-table th,.operating-table td{padding-left:7px;padding-right:7px}.operating-table th:nth-child(5),.operating-table td:nth-child(5),.operating-table th:nth-child(9),.operating-table td:nth-child(9){display:none}.operating-table th:first-child{width:92px}.operating-table th:nth-child(2){width:82px}.operating-table th:nth-child(3){width:58px}.operating-table th:nth-child(4){width:92px}.operating-table th:nth-child(7){width:110px}.operating-table th:nth-child(8){width:130px}.operating-table th:nth-child(10){width:150px}.desktop-profit-table{overflow-x:hidden}.team-profit-table{table-layout:fixed;width:100%;min-width:0}.team-profit-table th:last-child,.team-profit-table td:last-child{width:90px}.settings-layout{grid-template-columns:190px minmax(0,1fr);gap:10px}.settings-sidebar{border-radius:6px}.settings-sidebar button{min-height:34px}.settings-table-tools{justify-content:flex-end;align-items:center;gap:7px;display:flex}.settings-table-tools .search-box{width:min(240px,30vw)}.settings-account-link{border:1px solid var(--line);background:#fff;border-radius:5px;height:34px;padding:0 11px}.drawer{width:min(460px,100vw)}.detail-panel.drawer,.dashboard-drill{width:min(520px,100vw)}.permission-drawer{width:min(540px,100vw)}.attachment-drawer{width:min(720px,94vw)}.drawer-actions,.drawer-footer{z-index:2;border-top:1px solid var(--line);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:58px;padding:11px 15px;display:flex;position:sticky;bottom:0}.permission-section{margin-top:12px;padding-top:12px}.permission-title{margin-bottom:8px}.permission-title h4{font-size:13px}.permission-title p{font-size:10px}.scope-options{background:#f0efee;border-radius:5px;grid-template-columns:repeat(2,1fr);gap:4px;padding:3px;display:grid}.scope-options label{border-radius:4px;justify-content:center;min-height:31px;font-size:11px}.scope-options label:has(input:checked){color:var(--brand);background:#fff;box-shadow:0 1px 3px #25242414}.scope-options input{opacity:0;pointer-events:none;position:absolute}.team-multiselect{gap:5px;margin-top:7px;padding:8px}.permission-matrix{border-radius:5px}.matrix-head,.matrix-row{grid-template-columns:minmax(130px,1fr) repeat(3,66px);min-height:34px}.matrix-row label{height:34px}.matrix-head>*,.matrix-row>*{padding:0 7px}.matrix-row strong{font-size:11px}.matrix-row input{width:14px;height:14px;accent-color:var(--brand)}.permission-switch{min-height:42px;padding:7px 0}.permission-switch small{font-size:9px}.permission-switch input{width:34px;height:18px;accent-color:var(--brand)}.report-sheet{border-radius:2px;width:min(810px,100%);padding:44px 50px 32px;box-shadow:0 8px 28px #32231912}.report-head{padding-bottom:20px}.report-metrics{margin:24px 0}@media (max-width:980px) and (min-width:721px){:root{--sidebar-width:154px;--space-page:14px}.dashboard-summary .metric{padding:10px}.orders-table th:nth-child(3),.orders-table td:nth-child(3){width:100px}}@media (max-width:720px){:root{--space-page:10px}body{font-size:12px}.sidebar{width:100%;height:58px}.workspace,.sidebar-collapsed .workspace{width:100%;margin-left:0;padding-bottom:58px}.topbar{min-height:52px;padding:7px 10px 0}.topbar:has(.secondary-nav){min-height:74px}.topbar h1{font-size:18px}.content{padding:6px 10px 16px;overflow-x:clip}.nav-icon svg{width:19px;height:19px}.mobile-more-sheet .nav-icon{width:22px;height:22px}.orders-intro{min-height:28px;margin-bottom:2px}.orders-intro h2{margin:0;font-size:17px}.orders-intro p{display:none}.orders-actions{gap:4px}.orders-actions .primary{padding:0 9px}.orders-screen .period-row{min-height:32px;margin-bottom:3px;padding:0 3px}.orders-screen .period-presets,.orders-screen .period-context,.orders-screen .order-date-basis,.orders-screen .order-mini-summary{display:none}.orders-screen .period-picker{width:100%}.orders-screen .period-trigger{justify-content:space-between;width:100%}.order-filter-bar{gap:4px;min-height:40px;margin:0 -1px;padding:3px 4px}.status-tabs{order:0;width:calc(100% - 76px);overflow-x:auto}.status-tabs button{min-width:48px;height:30px;padding:0 7px}.order-filter-bar .search-box{order:0;width:72px;min-width:72px}.order-filter-bar select{display:none}.mobile-order-list>button{padding:10px 11px}.mobile-order-list header strong{font-size:13px}.detail-toolbar{margin:0 0 7px}.detail-toolbar .attachment-trigger{display:none}.detail-summary{border-radius:6px}.detail-identity{padding:12px 13px 10px}.detail-identity h2{font-size:20px}.order-detail:not(.order-tab-overview) .detail-identity{padding:10px 13px 8px}.order-detail:not(.order-tab-overview) .detail-identity p{margin:3px 0}.order-detail:not(.order-tab-overview) .detail-identity small,.order-detail:not(.order-tab-overview) .detail-metrics{display:none}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metrics>*{min-height:75px;padding:9px 11px}.detail-metrics>:last-child{grid-column:1/-1}.order-detail-tabs{border-radius:5px;gap:19px;min-height:41px;margin:7px 0;padding:0 11px;top:78px}.order-tab-simple{flex-direction:column;min-height:150px;padding:18px 14px}.order-tab-simple .attachment-trigger{min-height:34px;padding:7px 10px}.funds-summary{grid-template-columns:repeat(2,1fr)}.settings-layout{display:block}.settings-table-head{align-items:flex-start}.settings-table-tools{width:auto}.settings-table-tools .search-box{display:none}.settings-intro .settings-account-link{margin-left:auto}.drawer,.finance-drawer,.detail-panel.drawer,.dashboard-drill,.permission-drawer,.attachment-drawer{border-radius:0;width:100vw;max-width:100vw}.drawer-head{min-height:55px}.permission-drawer .drawer-body{padding:10px 12px 14px}.matrix-head{display:none}.permission-matrix{border:0;gap:6px;display:grid}.matrix-row{border:1px solid var(--line);border-radius:5px;grid-template-columns:minmax(92px,1fr) repeat(3,54px);min-height:38px}.matrix-row label{height:38px}.team-multiselect{grid-template-columns:1fr 1fr}.attachment-layout.with-preview{grid-template-columns:1fr}.attachment-preview{order:-1}.report-sheet{padding:26px 18px 22px}}.order-funds{overflow:visible}.funds-title>span{color:var(--muted);font-size:11px}.funds-summary{border-top:1px solid var(--line-light);border-bottom:1px solid var(--line-light);background:#fffdfa;grid-template-columns:repeat(8,minmax(0,1fr));display:grid}.funds-summary>div{border-right:1px solid var(--line-light);min-width:0;padding:11px 10px}.funds-summary>div:last-child{border-right:0}.funds-summary span,.funds-summary strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.funds-summary span{color:var(--muted);margin-bottom:5px;font-size:9px}.funds-summary strong{font-size:12px}.funds-timeline{padding:4px 14px 8px}.funds-timeline-entry{border-bottom:1px solid var(--line-light);cursor:pointer;outline:none;grid-template-columns:92px 18px minmax(0,1fr) 130px 58px 40px;align-items:center;gap:8px;min-height:58px;display:grid;position:relative}.funds-timeline-entry:last-child{border-bottom:0}.funds-timeline-entry:hover{background:#fff9f5}.funds-timeline-entry:has(.funds-entry-open:focus-visible){background:#fff9f5}.funds-entry-open{color:inherit;display:contents}.funds-timeline-entry time{color:#6c6764;font-variant-numeric:tabular-nums;font-size:11px}.funds-date-short{display:none}.funds-node{background:var(--brand);border:2px solid #fff;border-radius:50%;justify-self:center;width:8px;height:8px;position:relative;box-shadow:0 0 0 1px #efb795}.funds-node:before,.funds-node:after{content:"";background:#eaded7;width:1px;height:24px;position:absolute;left:2px}.funds-node:before{bottom:7px}.funds-node:after{top:7px}.funds-timeline-entry:first-child .funds-node:before,.funds-timeline-entry:last-child .funds-node:after{display:none}.funds-timeline-entry.settlement .funds-node{background:var(--brand-yellow)}.funds-timeline-entry.cost_payment .funds-node{background:#696563}.funds-entry-copy{gap:3px;min-width:0;display:grid}.funds-entry-copy strong{font-size:12px}.funds-entry-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.funds-entry-open>strong{font-variant-numeric:tabular-nums;justify-self:end;font-size:13px}.funds-entry-status{color:var(--success);text-align:center;font-size:10px}.funds-entry-attachment{justify-content:flex-end;min-width:32px;display:flex}.funds-entry-attachment .attachment-trigger{border-color:#0000;min-width:30px;height:26px;padding:0 6px}.funds-detail{padding:2px 0}.funds-detail dl{margin:0}.funds-detail dl>div{border-bottom:1px solid var(--line-light);grid-template-columns:120px minmax(0,1fr);gap:14px;padding:13px 0;display:grid}.funds-detail dt{color:var(--muted);font-size:11px}.funds-detail dd{margin:0;font-size:12px;font-weight:600}@media (max-width:720px){.funds-title>span{font-size:9px}.funds-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.funds-summary>div{border-bottom:1px solid var(--line-light);min-height:48px;padding:8px 10px}.funds-summary>div:nth-child(2n){border-right:0}.funds-summary>div:nth-last-child(-n+2){border-bottom:0}.funds-timeline{padding:3px 10px 6px}.funds-timeline-entry{grid-template-rows:27px 25px;grid-template-columns:40px 12px minmax(0,1fr) auto;gap:0 7px;min-height:62px}.funds-timeline-entry time{grid-row:1/3;font-size:10px}.funds-date-full{display:none}.funds-date-short{display:inline}.funds-node{grid-row:1/3}.funds-node:before,.funds-node:after{height:27px}.funds-entry-copy{align-self:end}.funds-entry-copy strong{font-size:12px}.funds-entry-copy small{max-width:170px;font-size:9px}.funds-entry-open>strong{white-space:nowrap;align-self:end;font-size:12px}.funds-entry-status{display:none}.funds-entry-attachment{grid-area:2/4;align-self:start}.funds-entry-attachment .attachment-trigger{height:23px}.funds-detail dl>div{grid-template-columns:94px minmax(0,1fr)}}.drawer.attachment-drawer{width:min(760px,92vw);max-width:min(760px,92vw)}@media (max-width:720px){.drawer.attachment-drawer{width:100vw;max-width:100vw}}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--background);color:var(--ink);margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-size:13px}button,input,select{font:inherit}button{color:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:10;border-right:1px solid var(--line);background:#fff;flex-direction:column;width:204px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid var(--line-light);align-items:center;height:62px;padding:0 20px;display:flex}.logo-full{width:142px;height:auto;display:block}.logo-mark{object-fit:contain;width:34px;height:34px;display:none}.sidebar nav{gap:2px;padding:12px 9px;display:grid}.nav-item{color:#5e5a58;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;display:flex}.nav-item:hover{color:var(--ink);background:#f8f6f4}.nav-item.active{background:var(--brand-soft);color:var(--brand);font-weight:600}.nav-icon{text-align:center;flex:0 0 18px;width:18px;font-size:16px;line-height:1}.nav-label{min-width:0}.nav-item small{color:#aaa5a1;margin-left:auto;font-size:9px;font-weight:400}.sidebar-foot{border-top:1px solid var(--line-light);align-items:center;gap:9px;min-height:59px;margin-top:auto;padding:11px 13px;display:flex}.avatar{background:var(--brand-soft);width:30px;height:30px;color:var(--brand);border-radius:50%;flex:0 0 30px;place-items:center;font-size:10px;font-weight:700;display:grid}.sidebar-foot strong,.sidebar-foot span{display:block}.sidebar-foot strong{color:#3c3937;text-overflow:ellipsis;white-space:nowrap;max-width:112px;font-size:11px;overflow:hidden}.sidebar-foot span{color:#999491;margin-top:2px;font-size:9px}.sidebar-foot button{color:#8d8885;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:5px}.workspace{width:calc(100% - 204px);min-width:0;margin-left:204px}.topbar{z-index:8;border-bottom:1px solid var(--line);background:#fffffff7;justify-content:space-between;align-items:center;height:62px;padding:0 20px;display:flex;position:sticky;top:0}.eyebrow{color:#8a8582;margin:0 0 2px;font-size:10px}.topbar h1{color:var(--ink);margin:0;font-size:19px;font-weight:650;line-height:1.2}.top-actions{align-items:center;gap:8px;display:flex}.phase-chip{color:#77716e;background:#f2f0ee;border-radius:4px;align-items:center;height:24px;padding:0 7px;font-size:9px;font-weight:600;display:inline-flex}.primary{border:1px solid var(--brand);background:var(--brand);color:#fff;cursor:pointer;border-radius:5px;height:34px;padding:0 13px;font-weight:600}.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover)}.primary:disabled{opacity:.5;cursor:not-allowed}.ghost{color:#575250;cursor:pointer;background:#fff;border:1px solid #d9d6d3;border-radius:5px;height:30px;padding:0 10px}.ghost:hover{background:#faf9f8;border-color:#c6c1bd}.content{width:100%;max-width:1540px;margin:0 auto;padding:16px 20px 22px}.summary-grid{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.metric{border-right:1px solid var(--line-light);background:#fff;min-height:86px;padding:12px 15px}.metric:last-child{border-right:0}.metric-head{color:#5f5b59;font-size:12px}.metric>strong{color:#373331;margin:8px 0 6px;font-size:20px;font-weight:650;line-height:1;display:block}.metric-foot{color:#9a9592;font-size:10px}.metric-currencies{gap:3px;margin-top:8px;display:grid}.metric-currencies strong{color:#373331;justify-content:space-between;align-items:baseline;font-size:13px;font-weight:650;display:flex}.metric-currencies small{color:#999491;font-size:9px;font-weight:400}.panel{border:1px solid var(--line);background:#fff;border-radius:6px;margin-top:10px}.panel-title{border-bottom:1px solid var(--line-light);justify-content:space-between;align-items:center;min-height:50px;padding:10px 14px;display:flex}.panel-title h2{margin:0 0 3px;font-size:14px;font-weight:650}.panel-title p{color:#918c89;margin:0;font-size:10px}.data-badge{color:#77716e;background:#f3f1ef;border-radius:4px;align-items:center;height:21px;padding:0 7px;font-size:9px;display:inline-flex}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th{border-bottom:1px solid var(--line);color:#837e7b;text-align:right;background:#faf9f8;height:34px;padding:0 13px;font-size:10px;font-weight:500}td{border-bottom:1px solid var(--line-light);color:#4a4644;text-align:right;height:41px;padding:0 13px;font-size:12px}th:first-child,td:first-child{text-align:left}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fffdfa}.team-dot{border-radius:50%;width:7px;height:7px;margin-right:8px;display:inline-block}.dot-1{background:var(--brand)}.dot-2{background:var(--brand-yellow)}.dot-3{background:#8a7f78}.muted-status{color:#837e7b;background:#f2f0ee;border-radius:4px;align-items:center;height:20px;padding:0 6px;font-size:9px;display:inline-flex}.system-note{background:#f6fbf8;border:1px solid #d9ebe2;border-radius:5px;align-items:center;gap:9px;margin-top:10px;padding:10px 13px;display:flex}.system-note>span{background:var(--success);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid}.system-note strong{font-size:11px}.system-note p{color:#6d7d74;margin:2px 0 0;font-size:10px}.phase-placeholder{border:1px solid var(--line);text-align:center;background:#fff;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-height:310px;padding:28px;display:flex}.phase-placeholder>span{color:#837e7b;background:#f2f0ee;border-radius:4px;padding:3px 7px;font-size:9px}.phase-placeholder h2{margin:12px 0 5px;font-size:18px}.phase-placeholder p{color:#85807d;margin:0 0 15px;font-size:11px}.settings-intro{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.settings-intro h2{margin:0 0 4px;font-size:18px;font-weight:650}.settings-intro p:last-child{color:#837e7b;margin:0;font-size:11px}.permission-note{color:#795d14;background:#fff8e6;border:1px solid #f1dfad;border-radius:5px;margin-bottom:10px;padding:8px 10px;font-size:10px}.settings-tabs{border-bottom:1px solid var(--line);gap:0;display:flex;overflow-x:auto}.settings-tabs button{color:#777270;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;height:35px;padding:0 11px;font-size:11px}.settings-tabs button span{color:#aaa5a2;margin-left:5px;font-size:9px}.settings-tabs button.selected{border-bottom-color:var(--brand);color:var(--brand);font-weight:650}.settings-table{margin-top:8px;overflow:hidden}.settings-table table{min-width:760px}.settings-table th,.settings-table td{text-align:left}.settings-table th:last-child,.settings-table td:last-child{text-align:right}.settings-table td:first-child strong{color:#373331;font-weight:600}.enabled-dot{background:var(--success);border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.empty-cell{color:#9b9693;height:44px;text-align:center!important}.settings-table-head{gap:12px}.search-box{width:min(238px,40vw);display:block;position:relative}.search-box>span{color:#999491;font-size:15px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.search-box input{width:100%;height:32px;color:var(--ink);background:#fff;border:1px solid #dcd8d5;border-radius:5px;outline:none;padding:0 10px 0 30px}.search-box input:focus{border-color:var(--brand);box-shadow:0 0 0 2px #eb590f1a}.editable-row{cursor:pointer}.editable-row:focus{outline-offset:-2px;outline:2px solid #eb590f47}.row-inactive td{color:#999491;background:#fbfaf9}.row-action{width:44px;padding-right:9px!important}.row-action button{color:#7d7774;cursor:pointer;background:0 0;border:0;border-radius:4px;width:26px;height:26px;padding:0;font-weight:700}.row-action button:hover{background:var(--brand-soft);color:var(--brand)}.status-label{align-items:center;gap:5px;font-size:10px;display:inline-flex}.status-label>span{border-radius:50%;width:6px;height:6px}.status-label.active{color:#477565}.status-label.active>span{background:var(--success)}.status-label.inactive{color:#9b9693}.status-label.inactive>span{background:#b9b4b1}.foundation-strip{background:#fffdf7;border:1px solid #eee6cf;border-radius:5px;align-items:center;gap:9px;margin-top:9px;padding:9px 12px;display:flex}.foundation-strip>span{background:var(--brand-yellow);width:20px;height:20px;color:var(--brand-dark);border-radius:50%;place-items:center;font-size:10px;font-weight:700;display:grid}.foundation-strip strong{font-size:11px}.foundation-strip p{color:#7f7770;margin:2px 0 0;font-size:10px}.foundation-strip code{color:#6f675f;background:#fff;border:1px solid #e7dfc8;border-radius:4px;margin-left:auto;padding:3px 6px;font-family:inherit;font-size:9px}.modal-backdrop{z-index:20;background:#25242461;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:7px;gap:12px;width:min(400px,100%);padding:17px;display:grid;box-shadow:0 16px 40px #25242429}.modal-head{border-bottom:1px solid var(--line-light);justify-content:space-between;align-items:flex-start;padding-bottom:10px;display:flex}.modal-head h3{margin:1px 0 0;font-size:15px}.modal-head>button{color:#777270;cursor:pointer;background:#f3f1ef;border:0;border-radius:50%;width:26px;height:26px;padding:0;font-size:17px}.modal label,.login-card label{color:#514d4b;gap:7px;font-size:12px;font-weight:500;display:grid}.modal input,.modal select,.login-card input{width:100%;height:40px;color:var(--ink);background:#fff;border:1px solid #d7d3d0;border-radius:5px;outline:none;padding:0 11px}.modal input:focus,.modal select:focus,.login-card input:focus{border-color:var(--brand);box-shadow:0 0 0 2px #eb590f1c}.modal input[type=color]{padding:4px}.checkbox-field{align-items:center;gap:7px!important;display:flex!important}.checkbox-field input{width:14px;height:14px;accent-color:var(--brand)}.modal-actions{justify-content:flex-end;gap:7px;margin-top:2px;display:flex}.modal-actions button{height:32px}.form-error{color:var(--danger);background:#fff2f0;border:1px solid #efcfca;border-radius:4px;margin:0;padding:7px 9px;font-size:10px}.drawer-backdrop{z-index:30;background:#25242440;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{border-left:1px solid var(--line);background:#fff;width:min(430px,100%);height:100%;box-shadow:-12px 0 36px #2524241c}.drawer form{grid-template-rows:auto 1fr auto;height:100%;display:grid}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:66px;padding:13px 18px;display:flex}.drawer-head span{color:#928d89;font-size:10px}.drawer-head h3{margin:3px 0 0;font-size:16px;font-weight:650}.drawer-head>button{color:#777270;cursor:pointer;background:#f3f1ef;border:0;border-radius:50%;width:28px;height:28px;padding:0;font-size:18px}.drawer-body{align-content:start;gap:13px;min-height:0;padding:17px 18px 22px;display:grid;overflow-y:auto}.drawer-body label{color:#514d4b;gap:6px;font-size:12px;font-weight:500;display:grid}.drawer-body input,.drawer-body select{width:100%;height:38px;color:var(--ink);background:#fff;border:1px solid #d7d3d0;border-radius:5px;outline:none;padding:0 10px}.drawer-body input:focus,.drawer-body select:focus{border-color:var(--brand);box-shadow:0 0 0 2px #eb590f1a}.drawer-body input[type=color]{padding:4px}.drawer-body label small{color:#9a7770;font-size:10px;font-weight:400}.drawer-actions{border-top:1px solid var(--line);background:#fff;align-items:center;gap:8px;min-height:60px;padding:12px 18px;display:flex}.drawer-actions>span{flex:1}.status-button{cursor:pointer;background:#fff;border:1px solid;border-radius:5px;height:32px;padding:0 10px}.status-button.stop{color:#9d463d;border-color:#dec7c2}.status-button.start{color:#277255;border-color:#bcd9cd}.orders-intro{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.orders-intro h2{margin:0 0 4px;font-size:18px;font-weight:650}.orders-intro p{color:#837e7b;margin:0;font-size:11px}.orders-panel{margin-top:0}.orders-actions,.row-actions{align-items:center;gap:6px;display:flex}.orders-table{min-width:1380px}.orders-table th:first-child,.orders-table td:first-child{min-width:170px}.orders-list-head{gap:12px}.orders-list-head .search-box{margin-left:auto}.order-row{cursor:pointer}.order-row td:first-child strong,.order-row td:first-child small,.order-row td:nth-child(3) strong,.order-row td:nth-child(3) small{display:block}.order-row td:first-child small,.order-row td:nth-child(3) small{color:#9a9592;margin-top:3px;font-size:9px}.order-row .profit{color:#187257;font-weight:650}.order-status,.fact-status,.cost-status{border-radius:10px;align-items:center;height:21px;padding:0 7px;font-size:9px;display:inline-flex}.order-status.ongoing,.cost-status.due{color:#a94d18;background:#fff3e8}.order-status.completed,.fact-status.active,.cost-status.settled{color:#277255;background:#edf8f3}.order-status.cancelled,.fact-status.voided{color:#8d8885;background:#f2f0ee}.orders-empty{height:132px;text-align:center!important}.orders-empty strong,.orders-empty span{display:block}.orders-empty strong{color:#514d4b;font-size:13px}.orders-empty span{color:#999491;margin-top:6px;font-size:10px}.order-mini-summary{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px;display:grid;overflow:hidden}.order-mini-summary article{border-right:1px solid var(--line-light);min-height:74px;padding:11px 14px}.order-mini-summary article:last-child{border-right:0}.order-mini-summary span,.order-mini-summary small{color:#8d8885;font-size:9px;display:block}.order-mini-summary strong{margin:7px 0 5px;font-size:16px;font-weight:650;display:block}.page-error{color:var(--danger);background:#fff2f0;border:1px solid #efcfca;border-radius:5px;margin:0 0 9px;padding:8px 10px;font-size:10px}.operating-intro{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px;display:flex}.operating-actions{align-items:center;gap:7px;display:flex}.operating-intro h2{margin:0 0 5px;font-size:18px}.operating-intro p{color:#7d7774;margin:0;font-size:10px}.operating-summary{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:10px;display:grid;overflow:hidden}.operating-summary article,.operating-summary>button{border:0;border-right:1px solid var(--line-light);min-height:74px;color:inherit;text-align:left;font:inherit;background:#fff;padding:11px 14px}.operating-summary>:last-child{border-right:0}.operating-summary span,.operating-summary small{color:#8d8885;font-size:9px;display:block}.operating-summary strong{margin:7px 0 5px;font-size:16px;font-weight:650;display:block}.operating-table th:nth-child(7),.operating-table td:nth-child(7){text-align:right}.profit-toolbar{border:1px solid var(--line);background:#fff;border-radius:6px;align-items:center;gap:8px;min-height:42px;margin-bottom:10px;padding:6px 8px;display:flex}.profit-toolbar label{color:#7d7774;align-items:center;gap:5px;font-size:9px;display:flex}.profit-toolbar input{border:1px solid var(--line);width:128px;height:29px;font:inherit;background:#fff;border-radius:4px;padding:0 7px}.profit-presets{gap:3px;margin-right:auto;display:flex}.profit-presets button,.profit-tabs button{color:#6c6764;cursor:pointer;background:#f4f2f0;border:0;border-radius:4px}.profit-presets button{height:28px;padding:0 10px;font-size:9px}.operating-summary article.net,.company-formula article.net,.company-formula button.net{background:#fffaf6}.operating-summary>.pending{cursor:pointer;background:#fff8e6}.operating-summary>.pending strong{color:#9c6713}.profit-tabs{background:#eae7e4;border-radius:5px;gap:3px;margin-bottom:8px;padding:3px;display:inline-flex}.profit-tabs button{min-width:84px;height:29px;padding:0 12px;font-size:10px}.profit-tabs button.active{color:var(--brand);background:#fff;font-weight:650;box-shadow:0 1px 3px #332b261a}.operating-table{min-width:1260px}.operating-table th:last-child,.operating-table td:last-child,.operating-table td:nth-child(8){min-width:170px}.operating-table .profit{color:#187257;font-weight:650}.entry-kind,.allocation-state,.estimate-badge,.settled-badge{white-space:nowrap;border-radius:10px;align-items:center;min-height:20px;padding:0 7px;font-size:9px;display:inline-flex}.entry-kind.income,.allocation-state.allocated,.settled-badge{color:#277255;background:#edf8f3}.entry-kind.expense{color:#a9473e;background:#fff0ed}.allocation-state.direct,.allocation-state.company{color:#6f6966;background:#f2f0ee}.allocation-state.pending,.allocation-state.reallocation_required,.estimate-badge{color:#9a5f14;background:#fff3e2}.allocation-state.voided{color:#8d8885;background:#f2f1ef}.allocation-lines{color:#85807d;text-overflow:ellipsis;white-space:nowrap;max-width:240px;margin-top:4px;font-size:8px;line-height:1.4;display:block;overflow:hidden}.team-profit-table{min-width:860px}.team-profit-table th:not(:first-child),.team-profit-table td:not(:first-child){text-align:right}.profit-link{color:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:650;-webkit-text-decoration:underline #d9d5d2;text-decoration:underline #d9d5d2}.company-formula{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:stretch;margin-bottom:10px;display:grid;overflow:hidden}.company-formula article,.company-formula button{text-align:left;cursor:pointer;background:#fff;border:0;min-height:92px;padding:18px}.company-formula article span,.company-formula button span{color:#898481;font-size:9px;display:block}.company-formula article strong,.company-formula button strong{margin-top:10px;font-size:19px;display:block}.company-formula>b{color:#aaa5a2;align-self:center;font-size:16px;font-weight:400}.reconciliation dl{margin:0;padding:4px 14px 12px}.reconciliation dl div{border-bottom:1px solid var(--line-light);justify-content:space-between;padding:10px 0;display:flex}.reconciliation dt{color:#6f6966;font-size:10px}.reconciliation dd{margin:0;font-size:11px;font-weight:650}.reconciliation dl .total{color:var(--brand);border-bottom:0}.reconciliation-note{color:#795d14;background:#fff8e6;margin:0 14px 14px;padding:9px 10px;font-size:9px}.dashboard-pending{background:#fff9e9;border:1px solid #f0dbad;border-radius:5px;align-items:center;gap:12px;min-height:38px;margin:-1px 0 10px;padding:7px 12px;display:flex}.dashboard-pending span{color:#85651f;font-size:9px}.dashboard-pending strong{color:#8b5c11;font-size:13px}.dashboard-pending small{color:#8e7b55;font-size:9px}.allocation-team-list{gap:6px;max-height:310px;display:grid;overflow-y:auto}.allocation-team-list>label{border:1px solid var(--line-light);background:#fff;border-radius:5px;grid-template-columns:18px minmax(100px,1fr) 108px 92px;align-items:center;gap:7px;min-height:43px;padding:6px 8px;display:grid}.allocation-team-list>label.selected{background:#fffaf6;border-color:#efbd9f}.allocation-team-list input[type=checkbox],.allocation-team-list input[type=radio]{width:14px;height:14px;accent-color:var(--brand)}.allocation-team-list label>input[type=number]{height:31px}.allocation-team-list strong{text-align:right;font-size:10px}.trace-drawer{width:min(560px,100%)}.trace-body{gap:10px}.trace-group{border:1px solid var(--line-light);background:#fff;border-radius:5px;overflow:hidden}.trace-group header,.trace-group>div{justify-content:space-between;gap:16px;padding:8px 10px;display:flex}.trace-group header{background:#f7f5f3}.trace-group header span,.trace-group header strong{font-size:10px}.trace-group>div{border-top:1px solid var(--line-light)}.trace-group>div>span{font-size:10px}.trace-group small{color:#938e8b;margin-top:3px;font-size:8px;display:block}.trace-group>div>strong{white-space:nowrap;font-size:10px}.trace-total{background:#fff5ed;border-radius:5px;padding:13px}.trace-total span,.trace-total small{color:#8b674f;font-size:9px;display:block}.monthly-entry{margin-top:10px}.monthly-empty{min-height:220px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:8px;display:grid}.monthly-toolbar{border:1px solid var(--line);background:#fff;border-radius:6px;align-items:flex-end;gap:7px;padding:9px 10px;display:flex}.monthly-toolbar label{color:#8a8582;gap:3px;font-size:9px;display:grid}.monthly-toolbar select,.monthly-toolbar input{background:#fff;border:1px solid #d9d6d3;border-radius:4px;height:30px;padding:0 8px}.monthly-toolbar label:first-child select{min-width:190px}.monthly-toolbar .primary{margin-left:auto}.monthly-hint{color:#817b78;gap:14px;padding:7px 2px 0;font-size:9px;display:flex}.monthly-hint span:before{content:"•";color:var(--brand);margin-right:5px}.batch-message{color:#39705b;background:#f2faf6;border:1px solid #d7ebe1;border-radius:4px;margin:7px 0 0;padding:7px 9px;font-size:10px}.batch-grid-wrap{max-height:calc(100vh - 270px);overflow:auto}.batch-grid{min-width:820px}.batch-grid th{z-index:2;text-align:left;height:36px;position:sticky;top:0}.batch-grid th small{color:#aaa4a0;margin-top:2px;font-size:8px;font-weight:400;display:block}.batch-grid td{text-align:right;height:31px;padding:0 6px}.batch-grid td:first-child,.batch-grid td:nth-child(2){text-align:left}.batch-grid td:first-child{z-index:1;background:#fff;min-width:126px;position:sticky;left:0}.batch-grid input{text-align:right;background:0 0;border:1px solid #0000;border-radius:3px;outline:0;width:92px;height:25px;padding:0 6px}.batch-grid input::placeholder{color:#c4bfbc}.batch-grid input:hover{background:#fff;border-color:#dedad7}.batch-grid input:focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 2px #eb590f1a}.batch-grid .dirty-cell{background:#fff8f2}.cell-warning{color:var(--danger);font-size:9px}.employee-source{color:#8c8784;font-size:8px;display:block}.template-message{color:#806018;background:#fff8e8;border-radius:4px;margin:0;padding:7px 9px;font-size:9px}.copy-quantity{justify-self:start}.template-backdrop{z-index:31}.template-drawer{width:min(850px,100% - 28px)}.template-tabs{border-bottom:1px solid var(--line);display:flex}.template-tabs button{color:#736e6b;cursor:pointer;background:#fff;border:0;border-bottom:2px solid #0000;height:36px;padding:0 14px}.template-tabs button.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:650}.template-layout{grid-template-columns:220px 1fr;min-height:500px;display:grid}.template-list{border-right:1px solid var(--line);background:#faf9f8;padding:9px;overflow-y:auto}.template-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;align-content:center;gap:3px;width:100%;min-height:42px;padding:7px 9px;display:grid}.template-list button:hover,.template-list button.selected{color:var(--brand);background:#fff}.template-list small{color:#9b9693;font-size:8px}.template-form{align-content:start;gap:10px;padding:15px;display:grid;overflow-y:auto}.template-form>label{gap:5px;font-size:10px;display:grid}.template-form input,.template-form select,.template-form textarea{background:#fff;border:1px solid #d9d6d3;border-radius:4px;width:100%;min-height:34px;padding:6px 8px}.template-form fieldset{border:1px solid var(--line);border-radius:5px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:10px;display:grid}.template-form legend{color:#7c7673;padding:0 5px;font-size:9px}.template-form fieldset label{grid-template-columns:18px 1fr 84px;align-items:center;gap:5px;min-height:30px;font-size:10px;display:grid}.template-form fieldset input[type=checkbox],.template-form fieldset input[type=radio]{width:14px;min-height:14px}.template-form .primary{justify-self:end}.settlement-intro{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.settlement-intro h2{margin:0 0 4px;font-size:18px}.settlement-intro p{color:#837e7b;margin:0;font-size:11px}.settlement-estimate{color:#865f15;background:#fff5e5;border:1px solid #efddb7;border-radius:5px;margin-bottom:9px;padding:8px 10px;font-size:10px}.settlement-table table{min-width:980px}.settlement-disclaimer{color:#81786e;background:#fffdf8;border-top:1px solid #eee6d6;margin:0;padding:8px 13px;font-size:9px}.settlement-history table{min-width:900px}.danger-link{color:var(--danger);cursor:pointer;background:0 0;border:0;font-size:9px}.trace-total strong{color:var(--brand);margin:6px 0;font-size:18px;display:block}.detail-toolbar{justify-content:space-between;align-items:center;min-height:34px;margin-bottom:10px;display:flex}.back-button{color:#6c6764;cursor:pointer;background:0 0;border:0;padding:0}.back-button:hover{color:var(--brand)}.detail-summary{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:minmax(240px,1fr) minmax(620px,2.3fr);display:grid;overflow:hidden}.detail-identity{border-right:1px solid var(--line-light);padding:16px}.detail-identity>span{color:var(--brand);font-size:10px;font-weight:650}.detail-identity h2{margin:6px 0;font-size:20px}.detail-identity p{color:#625d5a;margin:0 0 10px;font-size:11px}.detail-identity small{color:#96918e;font-size:9px}.detail-metrics{grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.detail-metrics article{border-right:1px solid var(--line-light);min-width:0;padding:16px 12px}.detail-metrics article:last-child{border-right:0}.detail-metrics span,.detail-metrics small{color:#8c8784;font-size:9px;display:block}.detail-metrics strong{white-space:nowrap;margin-top:8px;font-size:15px;font-weight:650;display:block}.detail-metrics small{margin-top:5px}.profit-card{background:#fffaf6}.detail-panel{margin-top:10px}.detail-panel table{min-width:860px}.detail-panel th,.detail-panel td{text-align:left}.detail-panel th:nth-last-child(-n+4),.detail-panel td:nth-last-child(-n+4){text-align:right}.detail-panel .panel-title .primary{height:30px}.text-action,.row-actions button,.settlement-strip button,.cost-payment-detail button{color:#625d5a;cursor:pointer;background:#f5f3f1;border:0;border-radius:4px;padding:3px 6px;font-size:9px}.text-action:disabled,.row-actions button:disabled,.settlement-strip button:disabled,.cost-payment-detail button:disabled{opacity:.35;cursor:not-allowed}.danger{color:#ad453c!important}.settlement-strip{border-top:1px solid var(--line-light);align-items:center;gap:8px;min-height:40px;padding:7px 13px;display:flex;overflow-x:auto}.settlement-strip>strong{flex:none;font-size:10px}.settlement-strip>span{color:#477565;background:#f6fbf8;border-radius:4px;flex:none;align-items:center;gap:7px;padding:5px 7px;font-size:9px;display:flex}.settlement-strip>span.voided{color:#999491;background:#f3f1ef;text-decoration:line-through}.cost-expand{width:20px;color:#777270!important;background:0 0!important;padding:0!important}.tag-dot{border-radius:50%;width:7px;height:7px;margin:0 7px 0 2px;display:inline-block}.cost-status.not_due{color:#7d7774;background:#f3f1ef}.voided-row td{color:#aaa5a2;background:#fbfaf9;text-decoration:line-through}.cost-payment-detail td{background:#fbfaf9;height:auto;text-align:left!important;padding:0!important}.cost-payment-detail td>div{flex-wrap:wrap;align-items:center;gap:7px;min-height:42px;padding:7px 14px 7px 36px;display:flex}.cost-payment-detail strong{font-size:10px}.cost-payment-detail span{border:1px solid var(--line-light);background:#fff;border-radius:4px;align-items:center;gap:6px;padding:5px 7px;font-size:9px;display:inline-flex}.cost-payment-detail em{color:#9a9592;font-size:9px;font-style:normal}.finance-drawer{width:min(470px,100%)}.drawer-body textarea{resize:vertical;width:100%;min-height:72px;color:var(--ink);font:inherit;background:#fff;border:1px solid #d7d3d0;border-radius:5px;outline:none;padding:9px 10px}.drawer-body textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px #eb590f1a}.form-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.custom-field-group{border-top:1px solid var(--line-light);gap:13px;margin-top:2px;padding-top:14px;display:grid}.custom-field-group h4{margin:0;font-size:11px}.void-note{color:#795d14;background:#fff8e6;border:1px solid #f1dfad;border-radius:5px;margin:0;padding:9px 10px;font-size:10px}.merge-head{justify-content:space-between;align-items:center;display:flex}.merge-head strong{font-size:11px}.merge-list{gap:6px;max-height:300px;display:grid;overflow-y:auto}.merge-list>label{border:1px solid var(--line-light);background:#fff;border-radius:5px;grid-template-columns:18px 1fr 110px;align-items:center;gap:7px;padding:8px;display:grid}.merge-list>label.selected{background:#fffaf6;border-color:#efbd9f}.merge-list input[type=checkbox]{width:14px;height:14px;accent-color:var(--brand)}.merge-list span strong,.merge-list span small{display:block}.merge-list span strong{font-size:10px}.merge-list span small{color:#918c89;margin-top:3px;font-size:9px}.merge-list>label>input[type=number]{height:32px}.allocation-total{background:#fff5f3;border:1px solid #efcfca;border-radius:5px;grid-template-columns:1fr auto;padding:10px;display:grid}.allocation-total span,.allocation-total small{color:#9a5a53;font-size:9px}.allocation-total.matched{background:#f3faf7;border-color:#cce2d8}.allocation-total.matched span,.allocation-total.matched small{color:#477565}.login-page{background:#fff;grid-template-columns:minmax(440px,44%) minmax(0,1fr);min-height:100vh;display:grid;overflow:hidden}.login-brand-panel{background:#fff8f2;border-right:1px solid #eee7e1;place-items:center;min-height:100vh;padding:64px;display:grid;position:relative;overflow:hidden}.login-brand-panel:before{content:"";display:none}.login-brand-panel:after{content:"";opacity:.035;background:url(/sunlead-mark.png) 50%/contain no-repeat;width:520px;height:520px;position:absolute;bottom:-112px;right:-126px;transform:rotate(-7deg)}.login-brand-inner{z-index:1;width:min(420px,100%);position:relative}.login-brand-logo{width:224px;height:auto;display:block}.login-brand-rule{background:var(--brand);width:42px;height:3px;margin:34px 0 23px}.login-brand-inner h1{color:var(--ink);letter-spacing:-.02em;margin:0;font-size:24px;font-weight:650;line-height:1.3}.login-brand-inner p{color:#756f6b;margin:8px 0 0;font-size:13px}.login-form-panel{background:#fff;place-items:center;min-height:100vh;padding:48px;display:grid}.login-card{gap:16px;width:min(404px,100%);padding:0;display:grid}.login-mobile-brand{text-align:center;display:none}.login-form-rule{background:var(--line-light);width:100%;height:1px;margin-bottom:5px}.login-logo{width:176px;height:auto;margin:0 auto;display:block}.login-mobile-brand h1{letter-spacing:-.02em;margin:20px 0 0;font-size:21px;font-weight:650;line-height:1.35}.login-mobile-brand p{color:#7f7a77;margin:5px 0 0;font-size:12px}.login-button{border-radius:5px;width:100%;height:40px;margin-top:2px}.loading-screen{background:var(--background);place-content:center;justify-items:center;gap:8px;min-height:100vh;display:grid}.loading-screen img{object-fit:contain;width:42px;height:42px}.loading-screen strong{font-size:14px}.loading-screen span{color:#8c8784;font-size:10px}.loading-screen button{border:1px solid var(--line);background:#fff;border-radius:4px;height:30px;font-size:10px}@media (max-width:980px){.sidebar{width:66px}.brand{justify-content:center;padding:0}.logo-full{display:none}.logo-mark{display:block}.sidebar nav{padding:10px 7px}.nav-item{justify-content:center;padding:0}.nav-label,.nav-item small,.sidebar-foot>div:not(.avatar),.sidebar-foot button{display:none}.sidebar-foot{justify-content:center;padding:10px}.workspace{width:calc(100% - 66px);margin-left:66px}.detail-summary{grid-template-columns:1fr}.detail-identity{border-right:0;border-bottom:1px solid var(--line-light)}}@media (max-width:720px){.login-page{background:#fff;grid-template-columns:1fr;min-height:100svh;overflow:auto}.login-brand-panel{display:none}.login-form-panel{background:0 0;place-items:start center;min-height:100svh;padding:clamp(76px,14vh,116px) 22px 32px}.login-card{gap:15px;width:100%;max-width:410px}.login-mobile-brand{margin-bottom:14px;display:block}.login-form-rule{margin-bottom:3px}.sidebar{border-top:1px solid var(--line);border-right:0;width:100%;height:58px;inset:auto 0 0}.brand,.sidebar-foot{display:none}.sidebar nav{grid-template-columns:repeat(5,1fr);gap:0;width:100%;max-width:480px;height:100%;margin:0 auto;padding:3px 4px;display:grid}.nav-item{border-radius:4px;flex-direction:column;justify-content:center;gap:3px;height:50px}.nav-icon{width:auto;font-size:16px}.nav-label{font-size:9px;font-weight:500;display:block}.workspace{width:100%;margin-left:0;padding-bottom:58px}.topbar{height:56px;padding:0 12px}.topbar h1{font-size:17px}.content{padding:10px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:80px;padding:11px 12px}.metric:nth-child(2),.metric:nth-child(2n){border-right:0}.metric:nth-child(n+3){border-top:1px solid var(--line-light)}.metric>strong{margin:8px 0 6px;font-size:19px}.team-panel table{min-width:620px}.settings-intro{align-items:flex-start}.settings-intro p:last-child{max-width:430px}.foundation-strip code{display:none}.drawer{width:min(430px,100% - 28px)}.finance-drawer{width:calc(100% - 28px)}.orders-intro{align-items:flex-start}.orders-actions{flex-wrap:wrap;justify-content:flex-end}.order-mini-summary{grid-template-columns:1fr}.order-mini-summary article{border-right:0;border-bottom:1px solid var(--line-light);min-height:66px}.order-mini-summary article:last-child{border-bottom:0}.operating-summary{grid-template-columns:1fr}.operating-summary article,.operating-summary>button{border-right:0;border-bottom:1px solid var(--line-light);min-height:66px}.operating-summary>:last-child{border-bottom:0}.profit-toolbar{flex-wrap:wrap;align-items:flex-end}.profit-presets{width:100%}.profit-toolbar label{gap:3px;display:grid}.profit-toolbar input{width:125px}.company-formula{grid-template-columns:repeat(2,minmax(0,1fr))}.company-formula>b{display:none}.company-formula article{border-bottom:1px solid var(--line-light);min-height:76px;padding:13px}.company-formula article:nth-of-type(odd){border-right:1px solid var(--line-light)}.allocation-team-list>label{grid-template-columns:18px 1fr 92px}.allocation-team-list strong{text-align:left;grid-column:2/-1}.monthly-toolbar{flex-wrap:wrap;align-items:stretch}.monthly-toolbar label:first-child,.monthly-toolbar label:first-child select{width:100%}.monthly-toolbar .primary{width:100%;margin-left:0}.batch-grid-wrap{border-left:0;border-right:0;border-radius:0;max-height:520px;margin-left:-10px;margin-right:-10px}.template-layout{grid-template-columns:1fr}.template-list{border-right:0;border-bottom:1px solid var(--line);max-height:160px}.settlement-intro{align-items:flex-start}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metrics article{border-bottom:1px solid var(--line-light)}.detail-metrics .profit-card{border-bottom:0;grid-column:1/-1}}.secondary-nav{border-bottom:1px solid var(--line);align-items:center;gap:18px;margin:-2px 0 14px;padding:0 2px 10px;display:flex}.secondary-nav>span{color:var(--muted);font-size:11px;font-weight:600}.secondary-nav>div{gap:18px;display:flex;overflow-x:auto}.secondary-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:0 0 7px}.secondary-nav button:hover{color:var(--ink)}.secondary-nav button.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:650}.period-row{align-items:center;gap:15px;min-height:44px;margin:0 0 10px;display:flex;position:relative}.period-context{color:var(--muted);align-items:center;gap:4px;font-size:10px;display:inline-flex}.period-picker{position:relative}.period-trigger{color:var(--ink);cursor:pointer;background:0 0;border:0;border-bottom:1px solid #0000;align-items:center;gap:7px;padding:4px 0;font-size:16px;font-weight:650;display:inline-flex}.period-trigger:hover{border-bottom-color:var(--brand);color:var(--brand)}.period-trigger span{color:var(--brand);font-size:11px}.period-presets{gap:12px;display:flex}.period-presets button,.basis-switch button,.plain-action{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:4px 0}.period-presets button:hover,.basis-switch button:hover,.plain-action:hover{color:var(--brand)}.period-popover{z-index:18;border:1px solid var(--line);border-radius:var(--radius-overlay);background:#fff;width:min(360px,100vw - 28px);padding:12px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 14px 34px #25242424}.period-mode{background:var(--background);border-radius:5px;gap:3px;margin-bottom:12px;padding:3px;display:flex}.period-mode button{height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1}.period-mode button.active{color:var(--brand);background:#fff;box-shadow:0 1px 3px #25242414}.period-inputs{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.period-inputs input{border:1px solid var(--line);border-radius:4px;min-width:0;height:36px;padding:0 8px}.period-done{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:4px;width:100%;height:32px;margin-top:10px}.basis-switch{align-items:center;gap:8px;margin:-9px 0 11px;display:flex}.basis-switch button{color:var(--brand);font-weight:600}.basis-switch span{color:var(--weak,#999);font-size:10px}.help-tip{vertical-align:middle;display:inline-flex;position:relative}.help-tip>abbr:first-child{color:#9b9693;cursor:help;font-size:10px;font-weight:400;text-decoration:none}.help-tip>[role=tooltip]{z-index:50;border:1px solid var(--line);color:#5f5a57;white-space:normal;background:#fff;border-radius:5px;width:230px;padding:8px 9px;font-size:10px;font-weight:400;line-height:1.5;display:none;position:absolute;top:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 22px #2524241f}.help-tip:hover>[role=tooltip],.help-tip:focus-within>[role=tooltip]{display:block}.more-menu{position:relative}.more-menu summary{min-width:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:3px 5px;font-weight:700;list-style:none}.more-menu summary::-webkit-details-marker{display:none}.more-menu>div{z-index:15;border:1px solid var(--line);background:#fff;border-radius:5px;min-width:170px;padding:5px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 10px 25px #2524241f}.more-menu>div button{text-align:left;cursor:pointer;background:0 0;border:0;width:100%;height:32px;padding:0 9px}.more-menu>div button:hover{background:var(--brand-soft);color:var(--brand)}.metric-action,.clickable-metric{text-align:left;cursor:pointer;border-top:0;border-bottom:0;border-left:0;width:100%}.metric-action:hover,.clickable-metric:hover{box-shadow:inset 0 -2px var(--brand);background:#fffcfa}.data-link,.inline-value,.profit-link{color:inherit;cursor:pointer;background:0 0;border:0;border-bottom:1px dashed #0000;padding:2px 0}.data-link:hover,.inline-value:hover,.profit-link:hover{color:var(--brand);border-bottom-color:currentColor}.primary-data-link{color:var(--brand);font-weight:650}.detail-metrics button{border:0;border-right:1px solid var(--line-light);text-align:left;cursor:pointer;background:#fff;min-width:0;padding:16px 12px}.detail-metrics button:hover:not(:disabled){box-shadow:inset 0 -2px var(--brand);background:#fffcfa}.detail-metrics button:disabled{cursor:default}.next-step{border-left:3px solid var(--brand-yellow);background:#fffaf0;justify-content:space-between;align-items:center;gap:12px;margin:10px 0;padding:10px 12px;display:flex}.next-step div{gap:3px;display:grid}.next-step span{color:var(--muted);font-size:10px}.next-step button{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:4px;height:30px;padding:0 11px}.form-more{border-top:1px solid var(--line-light);padding-top:3px}.form-more summary{color:var(--muted);cursor:pointer;padding:8px 0}.form-more[open]{gap:12px;display:grid}.allocation-more-methods{border:1px solid var(--line-light);border-radius:5px;grid-template-columns:repeat(2,1fr);gap:5px;margin-top:-8px;padding:8px;display:grid}.allocation-more-methods button{height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0}.allocation-more-methods button.active{background:var(--brand-soft);color:var(--brand)}.allocation-methods.simplified{grid-template-columns:repeat(3,1fr)}.detail-panel-head>div{position:relative}.detail-back{color:var(--brand);cursor:pointer;background:0 0;border:0;margin-bottom:5px;padding:0;display:block}.trace-formula button{border:0;border-bottom:1px solid var(--line-light);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:0;display:flex}.trace-formula button:hover{color:var(--brand)}.raw-fact{border-bottom:1px solid var(--line-light);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:8px 0;display:flex}.raw-fact>span{gap:4px;display:grid}.raw-fact small{color:var(--muted);font-size:9px}@media (max-width:720px){.secondary-nav{margin:0 -10px 10px;padding:0 10px 8px;display:block}.secondary-nav>span{display:none}.secondary-nav>div{gap:16px}.period-row{flex-wrap:wrap;gap:8px 12px}.period-context{width:100%}.period-presets{gap:9px;margin-left:auto}.period-presets button:nth-child(3){display:none}.detail-metrics button{border-bottom:1px solid var(--line-light)}.more-menu>div{position:fixed;inset:auto 10px 70px}}@media (max-width:480px){.login-form-panel{padding-left:22px;padding-right:22px}.login-card{max-width:none}.login-logo{width:166px}.login-mobile-brand h1{font-size:20px}.settings-intro{gap:10px;display:grid}.settings-intro .primary{justify-self:start}.settings-tabs{margin:0 -10px;padding-left:10px}.settings-table{border-left:0;border-right:0;border-radius:0;margin-left:-10px;margin-right:-10px}.foundation-strip{align-items:flex-start}.phase-placeholder{min-height:260px}.orders-intro,.operating-intro{display:grid}.operating-actions{flex-wrap:wrap}.monthly-hint{gap:4px;display:grid}.template-form fieldset{grid-template-columns:1fr}.settlement-intro{display:grid}.orders-actions{justify-content:flex-start}.orders-list-head{align-items:flex-start}.orders-list-head .search-box{width:190px}.form-grid{grid-template-columns:1fr}.merge-list>label{grid-template-columns:18px 1fr}.merge-list>label>input[type=number]{grid-column:2}}html{background:var(--background)}body{color:var(--ink);font-size:13px;line-height:1.45}button,input,select,textarea{font-variant-numeric:tabular-nums}:is(button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible){outline-offset:1px;outline:2px solid #eb590f3d}.sidebar{width:var(--sidebar-width)}.brand{height:var(--header-height);padding:0 20px}.sidebar nav{gap:1px;padding:10px 8px}.nav-item{border-radius:4px;height:38px;padding:0 11px;position:relative}.nav-item.active:before{content:"";background:var(--brand);border-radius:2px;width:3px;position:absolute;top:7px;bottom:7px;left:0}.nav-icon{color:#777270;border:1px solid #dfdddb;border-radius:4px;place-items:center;width:20px;height:20px;font-size:10px;font-weight:700;display:grid}.nav-item.active .nav-icon{color:var(--brand);background:#fff;border-color:#efc7b2}.mobile-more-button,.mobile-label{display:none}.workspace{width:calc(100% - var(--sidebar-width));margin-left:var(--sidebar-width)}.topbar{height:var(--header-height);padding:0 var(--space-page);background:#fff}.topbar .eyebrow{display:none}.topbar h1{font-size:19px;font-weight:600}.content{max-width:none;padding:14px var(--space-page) 24px}.primary,.ghost{height:var(--control-height);border-radius:5px}.ghost{padding:0 12px}.panel{border-radius:var(--radius);box-shadow:none}.panel-title{min-height:48px;padding:8px 12px}.panel-title h2{font-size:14px;font-weight:600}.panel-title p{font-size:11px}th{height:var(--header-row-height);color:#777270;padding:0 12px;font-size:11px}td{height:var(--row-height);color:#44413f;padding:0 12px;font-size:12px}.money-table th:not(:first-child),.money-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.positive{color:var(--success)!important}.negative{color:var(--danger)!important}.dashboard-summary{grid-template-columns:1.18fr 1fr 1.2fr 1fr .9fr}.dashboard-summary .metric{min-height:94px;padding:13px 14px}.dashboard-summary .metric-head{justify-content:space-between;align-items:center;font-size:12px;display:flex}.dashboard-summary .metric-head small{color:#9a9592;font-size:10px;font-weight:400}.dashboard-summary .metric>strong{margin:9px 0 7px;font-size:22px}.dashboard-summary .metric-net>strong{font-size:26px}.dashboard-summary .metric-net{border-top:2px solid var(--brand)}.dashboard-summary .metric-pending{background:#fffaf0}.dashboard-summary .metric-pending>strong{color:var(--warning)}.team-panel{margin-top:12px}.mobile-team-list{display:none}.operating-intro,.orders-intro,.settlement-intro,.settings-intro{align-items:center;margin-bottom:10px}.operating-intro h2,.orders-intro h2,.settlement-intro h2,.settings-intro h2{margin:0 0 2px;font-size:18px;font-weight:600}.operating-intro p,.orders-intro p,.settlement-intro p,.settings-intro p:last-child{font-size:11px}.profit-toolbar{min-height:40px;margin-bottom:8px;padding:5px 7px}.profit-toolbar input{height:30px}.flow-summary,.allocation-summary{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:8px;display:grid;overflow:hidden}.flow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-summary article,.allocation-summary>div{border-right:1px solid var(--line-light);min-height:58px;padding:9px 12px}.flow-summary article:last-child,.allocation-summary>div:last-child{border-right:0}.flow-summary span,.allocation-summary span{color:var(--muted);font-size:10px;display:block}.flow-summary strong,.allocation-summary strong{margin-top:5px;font-size:17px;font-weight:650;display:block}.flow-summary small{color:var(--muted);margin-left:6px;font-size:10px}.allocation-summary{border-top:2px solid var(--brand-yellow);grid-template-columns:1.1fr .8fr 1fr}.allocation-summary>div:first-child strong{color:var(--warning);font-size:22px}.profit-summary-strip{grid-template-columns:1.2fr repeat(4,minmax(0,1fr))}.profit-summary-strip article:first-child,.profit-summary-strip button:first-child{border-top:2px solid var(--brand)}.profit-tabs{background:#eceae8;margin-bottom:8px;padding:2px}.profit-tabs button{min-width:90px;height:30px}.profit-tabs button.active{box-shadow:none;border:1px solid #d6d2cf}.operation-tabs{border-bottom:1px solid var(--line);background:0 0;border-radius:0;width:100%;padding:0;display:flex}.operation-tabs button{background:0 0;border-bottom:2px solid #0000;border-radius:0;min-width:92px}.operation-tabs button.active{border:0;border-bottom:2px solid var(--brand)}.primary-row-action{background:var(--brand)!important;color:#fff!important}.allocation-state.direct{color:#6f6966;background:#f2f0ee}.drawer{border-radius:var(--radius-overlay) 0 0 var(--radius-overlay)}.drawer-head{min-height:60px;padding:12px 16px}.drawer-head h3{font-size:16px;font-weight:600}.drawer-body{gap:14px;padding:15px 16px 20px}.drawer-body input,.drawer-body select{height:38px}.drawer-actions{min-height:62px;padding:12px 16px}.modal{border-radius:var(--radius-overlay)}.login-brand-panel{background:#fff8f2}.login-brand-panel:before{display:none}.login-brand-rule{background:var(--brand);position:relative}.login-brand-rule:after{content:"";background:var(--brand-yellow);width:13px;height:3px;position:absolute;top:0;right:0}.login-form-rule{background:var(--line-light);position:relative}.login-form-rule:before{content:"";background:var(--brand);width:34px;height:1px;position:absolute;top:0;left:0}.login-form-rule:after{content:"";background:var(--brand-yellow);width:16px;height:1px;position:absolute;top:0;left:34px}.mobile-more-sheet{display:none}@media (max-width:980px) and (min-width:721px){.sidebar{width:66px}.workspace{width:calc(100% - 66px);margin-left:66px}}@media (max-width:720px){:root{--space-page:10px}.sidebar{height:58px}.workspace{width:100%;margin-left:0;padding-bottom:58px}.sidebar nav{grid-template-columns:repeat(5,1fr);padding:3px 4px}.sidebar nav .nav-item:not(.mobile-primary):not(.mobile-more-button){display:none}.mobile-more-button{display:flex}.desktop-label{display:none}.mobile-label{display:inline}.nav-item.active:before{width:auto;height:2px;inset:auto 20% 0}.nav-icon{border:0;width:18px;height:18px;font-size:10px}.nav-item.active .nav-icon{background:0 0;border:0}.topbar{height:54px;padding:0 12px}.topbar h1{font-size:18px}.content{padding:10px}.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary .metric{border-right:1px solid var(--line-light);border-top:0;min-height:82px;padding:10px 11px}.dashboard-summary .metric-net{border-top:2px solid var(--brand);grid-column:1/-1;min-height:94px}.dashboard-summary .metric-net>strong{font-size:27px}.dashboard-summary .metric:nth-child(3),.dashboard-summary .metric:nth-child(5){border-right:0}.dashboard-summary .metric:nth-child(n+2){border-top:1px solid var(--line-light)}.desktop-team-table{display:none}.mobile-team-list{display:block}.mobile-team-list article{border-bottom:1px solid var(--line-light)}.mobile-team-list article:last-child{border-bottom:0}.mobile-team-list header{justify-content:space-between;align-items:center;min-height:38px;padding:6px 11px;display:flex}.mobile-team-list dl{grid-template-columns:repeat(3,1fr);margin:0;padding:0 11px 10px;display:grid}.mobile-team-list dl div{min-width:0}.mobile-team-list dt{color:var(--muted);font-size:9px}.mobile-team-list dd{white-space:nowrap;margin:3px 0 0;font-size:12px;font-weight:600}.operating-intro,.orders-intro,.settlement-intro,.settings-intro{align-items:flex-start}.flow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-summary article{min-height:62px;padding:8px}.flow-summary strong{font-size:14px}.allocation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.allocation-summary>div{min-height:62px;padding:8px}.allocation-summary strong,.allocation-summary>div:first-child strong{font-size:14px}.profit-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-summary-strip article,.profit-summary-strip>button{border-right:1px solid var(--line-light);border-bottom:1px solid var(--line-light);min-height:70px}.profit-summary-strip article:first-child,.profit-summary-strip button:first-child{grid-column:1/-1}.profit-summary-strip article:first-child strong,.profit-summary-strip button:first-child strong{font-size:22px}.drawer-backdrop{align-items:flex-end}.drawer,.finance-drawer{border:0;border-radius:10px 10px 0 0;width:100%;height:min(92svh,760px);box-shadow:0 -8px 28px #2524241f}.template-drawer,.trace-drawer{border-radius:0;width:100%;height:100svh}.drawer-head{min-height:56px}.mobile-more-sheet{z-index:40;border:1px solid var(--line);border-radius:var(--radius-overlay);background:#fff;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;display:grid;position:fixed;bottom:66px;left:8px;right:8px;box-shadow:0 8px 28px #25242426}.mobile-more-head{border-bottom:1px solid var(--line-light);grid-column:1/-1;justify-content:space-between;align-items:center;padding-bottom:7px;display:flex}.mobile-more-head button{background:0 0;border:0;width:28px;height:28px;font-size:18px}.mobile-more-sheet>button{border:1px solid var(--line);background:#fff;border-radius:5px;place-items:center;gap:3px;min-height:64px;display:grid}.mobile-more-sheet>button>span{color:var(--brand);font-size:11px}.mobile-more-sheet>button>strong{font-size:11px}.mobile-more-sheet>button.active{background:var(--brand-soft);color:var(--brand);border-color:#efc7b2}}.order-mini-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px}.order-mini-summary article{min-height:68px;padding:9px 12px}.order-mini-summary strong{margin:5px 0 3px;font-size:16px}.order-filter-bar{border-bottom:1px solid var(--line);align-items:center;gap:8px;min-height:46px;padding:6px 8px;display:flex}.status-tabs{align-self:stretch;align-items:center;display:flex}.status-tabs button{min-width:58px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 9px}.status-tabs button.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:600}.order-filter-bar .search-box{width:min(230px,25vw);margin-left:auto}.order-filter-bar select{color:#575250;background:#fff;border:1px solid #dcd8d5;border-radius:4px;height:32px;padding:0 26px 0 9px}.orders-table{table-layout:fixed;min-width:1060px}.orders-table th,.orders-table td{text-overflow:ellipsis;height:42px;padding:0 8px;font-size:11px;overflow:hidden}.orders-table th:first-child,.orders-table td:first-child{width:150px;min-width:0}.orders-table th:nth-child(2){width:98px}.orders-table th:nth-child(3){width:108px}.orders-table th:nth-child(4){width:72px}.orders-table th:last-child{width:86px}.order-status,.fact-status,.cost-status{border-radius:0;gap:5px;height:20px;padding:0;background:0 0!important}.order-status:before,.fact-status:before,.cost-status:before{content:"";background:#aaa5a2;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.order-status.ongoing:before,.cost-status.due:before{background:var(--brand-yellow)}.order-status.completed:before,.fact-status.active:before,.cost-status.settled:before{background:var(--success)}.order-status.cancelled:before,.fact-status.voided:before{background:#aaa5a2}.mobile-order-list,.mobile-fact-list,.mobile-cost-list{display:none}@media (max-width:720px){.orders-intro{display:flex}.orders-intro>div:first-child p{display:none}.orders-actions{flex-wrap:nowrap}.orders-actions .ghost,.orders-actions .primary{padding:0 9px}.order-mini-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.order-mini-summary article{border-right:1px solid var(--line-light);border-bottom:0;min-width:0;min-height:72px;padding:8px}.order-mini-summary article:last-child{border-right:0}.order-mini-summary strong{white-space:nowrap;font-size:13px}.order-mini-summary small{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.order-filter-bar{flex-wrap:wrap}.status-tabs{border-bottom:1px solid var(--line-light);width:100%;overflow-x:auto}.status-tabs button{flex:1}.order-filter-bar .search-box{order:2;width:100%;max-width:none;margin:0}.order-filter-bar select{order:3;width:calc(50% - 4px)}.desktop-orders-table{display:none}.mobile-order-list{display:block}.mobile-order-list>button{border:0;border-bottom:1px solid var(--line-light);width:100%;min-height:112px;color:var(--ink);text-align:left;background:#fff;gap:5px;padding:10px 11px;display:grid;position:relative}.mobile-order-list>button:last-child{border-bottom:0}.mobile-order-list header,.mobile-order-finance,.mobile-order-balances,.mobile-order-list footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobile-order-list footer{padding-bottom:14px}.mobile-order-list header>strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.mobile-order-finance>strong{font-size:12px}.mobile-order-balances,.mobile-order-list footer{color:var(--muted);font-size:10px}.mobile-order-list>button>small{color:#a09b98;font-size:9px;position:absolute;bottom:9px;right:11px}.compact-empty{min-height:72px;color:var(--muted);place-items:center;font-size:11px;display:grid}.desktop-fact-table{display:none}.mobile-fact-list,.mobile-cost-list{display:block}.mobile-fact-list article,.mobile-cost-list article{border-bottom:1px solid var(--line-light);padding:10px 11px}.mobile-fact-list article:last-child,.mobile-cost-list article:last-child{border-bottom:0}.mobile-fact-list header,.mobile-cost-list header,.mobile-fact-list footer,.mobile-cost-list footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-fact-list dl,.mobile-cost-list dl{grid-template-columns:repeat(2,1fr);gap:10px;margin:9px 0;display:grid}.mobile-cost-list dl{grid-template-columns:repeat(3,1fr)}.mobile-fact-list dt,.mobile-cost-list dt{color:var(--muted);font-size:9px}.mobile-fact-list dd,.mobile-cost-list dd{margin:3px 0 0;font-size:12px;font-weight:600}.mobile-fact-list footer>span,.mobile-cost-list>article>p{color:var(--muted);margin:0;font-size:10px}.mobile-fact-list footer div,.mobile-cost-list footer{gap:5px;display:flex}.mobile-fact-list button,.mobile-cost-list button{border:1px solid var(--line);background:#fff;border-radius:4px;height:28px;padding:0 8px;font-size:10px}.detail-panel .panel-title{min-height:52px}.detail-panel .panel-title p{display:none}}.allocation-source{border:1px solid var(--line);border-radius:var(--radius);background:var(--page-bg);grid-template-columns:46px 1fr auto;align-items:center;gap:8px;min-height:44px;padding:7px 9px;display:grid}.allocation-source span,.allocation-source small{color:var(--muted);font-size:10px}.allocation-source strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.allocation-methods{border:1px solid var(--line);border-radius:var(--radius);background:var(--line);grid-template-columns:repeat(3,1fr);gap:1px;padding:1px;display:grid;overflow:hidden}.allocation-methods button{min-height:34px;color:var(--muted);cursor:pointer;background:#fff;border:0;font-size:11px}.allocation-methods button.active{background:var(--brand-soft);color:var(--brand);box-shadow:inset 0 -2px var(--brand);font-weight:650}.allocation-grid{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.allocation-grid-head{background:var(--page-bg);min-height:32px;color:var(--muted);grid-template-columns:18px minmax(100px,1fr) 108px 92px;align-items:center;gap:7px;padding:0 8px;font-size:9px;display:grid}.allocation-team-list{gap:0;max-height:270px}.allocation-team-list>label{border:0;border-top:1px solid var(--line-light);border-radius:0;min-height:40px}.allocation-team-list>label:first-child{border-top:0}.allocation-auto{color:#aaa5a2;text-align:right;font-size:10px}.allocation-total{border:1px solid #eadbcf;border-left:3px solid var(--brand);border-radius:var(--radius);background:#fffaf6;grid-template-columns:1fr auto;align-items:center;min-height:56px;padding:8px 10px;display:grid}.allocation-total strong{font-size:18px}.allocation-total small{grid-column:1/-1;margin-top:3px}.settings-layout{grid-template-columns:168px minmax(0,1fr);align-items:start;gap:10px;display:grid}.settings-sidebar{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.settings-sidebar section{border-bottom:1px solid var(--line-light);padding:8px 7px 7px}.settings-sidebar section:last-child{border-bottom:0}.settings-sidebar h3{color:var(--weak);margin:0 7px 4px;font-size:10px;font-weight:500}.settings-sidebar button{width:100%;min-height:32px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-left:2px solid #0000;justify-content:space-between;align-items:center;padding:0 8px;font-size:11px;display:flex}.settings-sidebar button small{color:#aaa5a2;font-size:9px}.settings-sidebar button.selected{border-left-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}.settings-table{min-width:0;margin-top:0}.team-seed-dot{background:var(--brand);border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.team-profit-table td,.settlement-table td{font-variant-numeric:tabular-nums}.clickable-row{cursor:pointer}.clickable-row:hover{background:#fffaf6}.mobile-settlement-list,.mobile-entry-list,.mobile-profit-list{display:none}.settlement-drawer-summary{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.settlement-drawer-summary>div{border-bottom:1px solid var(--line-light);justify-content:space-between;align-items:center;min-height:46px;padding:0 10px;display:flex}.settlement-drawer-summary>div:last-child{border-bottom:0}.settlement-drawer-summary span{color:var(--muted);font-size:10px}.settlement-drawer-summary strong{font-variant-numeric:tabular-nums;font-size:14px}.settlement-separation{border-left:3px solid var(--brand-yellow);color:#756242;background:#fffaf0;margin:0;padding:8px 9px;font-size:10px}.settlement-drawer-list h4{margin:0 0 6px;font-size:12px}.settlement-drawer-list article{border-bottom:1px solid var(--line-light);justify-content:space-between;align-items:center;gap:10px;min-height:48px;display:flex}.settlement-drawer-list article div{gap:3px;display:grid}.settlement-drawer-list article small{color:var(--muted);font-size:9px}.settlement-drawer-list article>span{font-variant-numeric:tabular-nums;font-weight:600}.settlement-drawer-list article>span.voided{color:var(--weak);text-decoration:line-through}.batch-grid th:first-child,.batch-grid td:first-child{z-index:3;position:sticky;left:0}.batch-grid th:nth-child(2),.batch-grid td:nth-child(2){z-index:2;background:#fff;min-width:108px;position:sticky;left:126px}.batch-grid thead th:first-child,.batch-grid thead th:nth-child(2){z-index:4;background:var(--page-bg)}@media (max-width:720px){.desktop-operating-table,.desktop-profit-table,.desktop-settlement-table{display:none}.mobile-entry-list,.mobile-profit-list,.mobile-settlement-list{display:block}.mobile-entry-list article{border-bottom:1px solid var(--line-light);padding:10px 11px}.mobile-entry-list article:last-child{border-bottom:0}.mobile-entry-list header,.mobile-entry-list footer,.mobile-profit-list header,.mobile-settlement-list header{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-entry-list header b{font-variant-numeric:tabular-nums;font-size:13px}.mobile-entry-list p{color:var(--muted);margin:5px 0;font-size:10px}.mobile-entry-list footer{color:var(--weak);font-size:9px}.mobile-entry-list footer button{border:1px solid var(--line);height:27px;color:var(--brand);background:#fff;border-radius:4px;padding:0 8px}.mobile-profit-list>button,.mobile-settlement-list>button{border:0;border-bottom:1px solid var(--line-light);width:100%;color:var(--ink);text-align:left;background:#fff;gap:9px;padding:10px 11px;display:grid}.mobile-profit-list dl,.mobile-settlement-list dl{grid-template-columns:repeat(2,1fr);gap:10px;margin:0;display:grid}.mobile-profit-list dt,.mobile-settlement-list dt{color:var(--muted);font-size:9px}.mobile-profit-list dd,.mobile-settlement-list dd{font-variant-numeric:tabular-nums;margin:3px 0 0;font-size:13px;font-weight:600}.settings-layout{display:block}.settings-sidebar{border-left:0;border-right:0;border-radius:0;gap:4px;margin:0 -10px 8px;padding:6px 10px;display:flex;overflow-x:auto}.settings-sidebar section{display:contents}.settings-sidebar h3{display:none}.settings-sidebar button{border:1px solid var(--line);border-radius:4px;flex:none;width:auto;min-height:30px}.settings-sidebar button.selected{border-color:#efc7b2}.settings-sidebar button small{margin-left:7px}.allocation-grid-head,.allocation-team-list>label{grid-template-columns:18px 1fr 76px 84px}.allocation-team-list strong{text-align:right;grid-column:auto}}.brand{padding:0 14px;position:relative}.logo-full{width:112px}.nav-item{gap:9px;height:38px;padding:0 10px}.nav-item.active:before{width:2px}.nav-icon,.nav-item.active .nav-icon{color:currentColor;background:0 0;border:0;border-radius:0;flex:0 0 18px;width:18px;height:18px;font-size:16px;font-weight:400}.topbar{justify-content:flex-start;gap:28px}@media (max-width:720px){.topbar{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;height:auto;min-height:54px;padding:7px 10px 0}.topbar:has(.secondary-nav){min-height:82px}.topbar .secondary-nav{width:100%;min-height:34px}.topbar .secondary-nav>div{gap:18px;width:100%;overflow-x:auto}.nav-icon,.nav-item.active .nav-icon{background:0 0;border:0;font-size:15px}.app-shell.focus-mode .topbar{height:40px;min-height:40px;padding-top:0}}.orders-table th:first-child,.orders-table td:first-child{width:82px}.orders-table th:nth-child(2),.orders-table td:nth-child(2){width:160px}.orders-table th:nth-child(3),.orders-table td:nth-child(3){width:118px}.orders-table th:nth-child(4),.orders-table td:nth-child(4),.orders-table th:nth-child(5),.orders-table td:nth-child(5){width:105px}.orders-table th:nth-child(6),.orders-table td:nth-child(6),.orders-table th:nth-child(7),.orders-table td:nth-child(7){width:92px}.orders-table th:nth-child(8),.orders-table td:nth-child(8){width:70px}.orders-table th:nth-child(9),.orders-table td:nth-child(9){width:38px;text-align:center!important}.orders-table th:nth-child(n+10),.orders-table td:nth-child(n+10){display:none}.drawer.attachment-drawer{width:min(720px,94vw)}.permission-drawer .matrix-head,.permission-drawer .matrix-row{grid-template-columns:minmax(130px,1fr) repeat(3,66px);min-height:34px}.permission-drawer .matrix-row label{height:34px}.permission-drawer .matrix-row input{width:14px;height:14px;accent-color:var(--brand);padding:0}.permission-drawer .team-multiselect input{width:14px;height:14px;accent-color:var(--brand);flex:0 0 14px;padding:0}@media (max-width:720px){.topbar:has(.secondary-nav){min-height:74px}.content{padding-top:6px;overflow-x:clip}.orders-intro{min-height:28px;margin-bottom:2px}.orders-screen .period-row{min-height:32px;margin-bottom:3px;padding:0 3px}.order-filter-bar{min-height:40px;padding:3px 4px}.order-detail:not(.order-tab-overview) .detail-identity{padding:10px 13px 8px}.order-detail:not(.order-tab-overview) .detail-identity p{margin:3px 0}.order-detail:not(.order-tab-overview) .detail-identity small,.order-detail:not(.order-tab-overview) .detail-metrics{display:none}.order-detail-tabs{top:74px}.drawer.permission-drawer,.drawer.attachment-drawer{width:100vw;max-width:100vw}.permission-drawer .matrix-head{display:none}.permission-drawer .matrix-row{grid-template-columns:minmax(92px,1fr) repeat(3,54px);min-height:38px}.permission-drawer .matrix-row label{height:38px}}.settlement-intro p{display:block!important}.trace-source-preview{border-top:1px solid var(--line);display:grid}.drill-list>button,.drill-list>article{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:18px;width:100%;padding:12px 0;display:flex}.drill-list>button>span,.drill-list>article>span,.drill-list>button>b{gap:3px;display:grid}.drill-list>button>b{text-align:right;flex:none}.drill-list small{color:var(--muted);font-size:10px;font-weight:400}.trace-total-primary{background:#fffaf6;border:1px solid #f0d8c8;margin:0 0 12px;padding:16px}.trace-total-primary strong{font-size:25px}.drawer-section-title{margin:18px 0 8px;font-size:13px}.orders-intro-compact,.operating-intro,.settlement-intro{align-items:center;min-height:36px;margin:0 0 8px}.orders-intro-compact p,.operating-intro p,.settlement-intro p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.receivable-balances{gap:2px;margin-top:8px;display:grid}.receivable-balances strong{justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;display:flex}.entry-amount-field input{font-variant-numeric:tabular-nums;min-height:52px;font-size:22px;font-weight:700}.drawer.permission-drawer{width:min(540px,100vw)}.permission-drawer .permission-matrix{border:0;gap:5px;display:grid;overflow:visible}.permission-drawer .matrix-row{border:1px solid var(--line);border-radius:6px;grid-template-columns:minmax(120px,1fr) 210px;align-items:center;min-height:34px;padding:3px 4px 3px 10px;display:grid}.permission-drawer .matrix-row>strong{text-align:left;padding:0;font-size:11px}.permission-drawer .permission-levels{background:#f3f4f5;border-radius:5px;grid-template-columns:repeat(3,1fr);padding:2px;display:grid}.permission-drawer .permission-levels label{height:27px;padding:0;display:block}.permission-drawer .permission-levels input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.permission-levels span{height:27px;color:var(--muted);border-radius:4px;place-items:center;font-size:10px;display:grid}.permission-levels label:has(input:checked) span{color:var(--brand);background:#fff;font-weight:700;box-shadow:0 1px 4px #29201b1f}.permission-drawer .matrix-row .permission-mobile-level{display:none!important}@media (max-width:720px){.topbar:not(:has(.secondary-nav)){height:44px;min-height:44px;padding:0 10px}.orders-intro-compact p{display:none}.orders-intro-compact{justify-content:flex-end;min-height:32px}.operating-intro,.settlement-intro{align-items:flex-start;gap:8px}.drawer.permission-drawer,.drawer.finance-drawer,.drawer.trace-drawer,.drawer.settlement-team-drawer{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.permission-drawer .matrix-row{grid-template-columns:1fr auto;min-height:42px;padding:4px 9px}.permission-drawer .permission-levels{display:none}.permission-drawer .matrix-row .permission-mobile-level{align-items:center;gap:4px;height:auto!important;padding:0!important;display:flex!important}.permission-mobile-level select{min-width:92px;color:var(--brand);text-align:right;background:0 0;border:0;padding:5px 22px 5px 7px;font-size:11px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
