@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-cyrillic-ext-wght-normal.1dtltwig2y3wh.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-cyrillic-wght-normal.1hmx3sz6swr8m.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-greek-wght-normal.37b2k1x9f-55d.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-vietnamese-wght-normal.3xvzy9_grgcx4.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-latin-ext-wght-normal.0-hru0xfwhnbp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-latin-wght-normal.1p_a2k8qd5zhp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#f4f6f8;--surface:#fff;--surface-alt:#f8fafc;--text:#202936;--muted:#758092;--border:#e6eaf0;--blue:#2254d8;--blue-soft:#edf2ff;--teal:#147d64;--teal-soft:#eaf6f0;--amber:#a76500;--amber-soft:#fff5df;--red:#c43d46;--red-soft:#fdf0f0;--sidebar:244px;--shadow:0 12px 40px #1d30451a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#10171f;--surface:#18222e;--surface-alt:#1d2937;--text:#e8edf4;--muted:#9eacbd;--border:#2a394a;--blue:#83a6ff;--blue-soft:#243656;--teal:#6ac5a7;--teal-soft:#1d3a34;--amber:#e9bb65;--amber-soft:#3d3220;--red:#ff9298;--red-soft:#3d262e;--shadow:0 12px 40px #0004;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Manrope Variable,Manrope,Arial,sans-serif;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue)}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-1.1px;font-size:29px;font-weight:750;line-height:1.3}h2{letter-spacing:-.4px;font-size:17px;font-weight:750}h3{font-size:15px;font-weight:750}h4{font-size:13px;font-weight:750}small{color:var(--muted);font-size:11px}input,select,textarea{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:7px;width:100%;min-width:0;padding:10px 11px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:var(--muted)}input:hover,select:hover,textarea:hover{border-color:#abb8c9}input[type=checkbox]{width:15px;height:15px;accent-color:var(--blue);flex-shrink:0;margin:0}textarea{resize:vertical;line-height:1.6}select[multiple]{min-height:95px}strong{font-weight:700}svg{flex-shrink:0}summary{cursor:pointer}::selection{color:#142342;background:#bdd0ff}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 15px;font-size:12px;font-weight:650;transition:background .15s,box-shadow .15s;display:inline-flex}.button.primary{background:var(--blue);color:#fff;box-shadow:0 2px 3px #17356514}[data-theme=dark] .button.primary{color:#10203f}.button.primary:hover{filter:brightness(.95)}.button.secondary{background:var(--surface);border-color:var(--border)}.button.secondary:hover,.icon-button:hover{background:var(--surface-alt)}.button.small{min-height:31px;padding:6px 10px;font-size:11px}.button.full{width:100%}.button.danger-outline{border-color:var(--red);color:var(--red)}.icon-button{vertical-align:middle;width:35px;height:35px;color:var(--muted);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-button.small{width:28px;height:28px}.icon-button.bordered{border:1px solid var(--border);color:var(--text)}.link,.text-link{color:var(--blue);align-items:center;gap:5px;font-size:12px;font-weight:650;display:inline-flex}.link:hover,.text-link:hover{text-decoration:underline}.muted{color:var(--muted);line-height:1.7}.strong{font-weight:750}.text-danger{color:var(--red)!important}.text-blue{color:var(--blue)}.text-teal{color:var(--teal)}.text-amber{color:var(--amber)}.text-violet{color:#8a68c5}.full{width:100%}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;overflow:hidden;width:1px!important;height:1px!important;position:absolute!important}.mobile-only,.bottom-nav{display:none}.count{background:var(--surface-alt);min-width:22px;color:var(--muted);border-radius:5px;padding:3px 7px;font-size:11px;font-weight:650}.badge{white-space:nowrap;background:var(--surface-alt);color:var(--muted);border-radius:5px;align-items:center;gap:6px;padding:5px 8px;font-size:10px;font-weight:650;line-height:1.4;display:inline-flex}.badge i{background:currentColor;border-radius:50%;width:5px;height:5px}.status-active,.status-in_progress,.status-pending,.status-planned,.status-recognizing{background:var(--blue-soft);color:var(--blue)}.status-approved,.status-paid,.status-received,.status-done,.status-original,.status-verified,.status-fulfilled{background:var(--teal-soft);color:var(--teal)}.status-review,.status-partial,.status-control,.status-returned,.status-missing,.status-deferred{background:var(--amber-soft);color:var(--amber)}.status-error,.status-rejected,.status-over,.status-not_arrived,.status-blocked{background:var(--red-soft);color:var(--red)}.avatar{color:#69559e;background:#e9e6fa;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;font-size:11px;font-weight:750;display:inline-flex}.avatar-small{width:30px;height:30px;font-size:10px}.avatar-tiny{width:24px;height:24px;font-size:9px}.avatar-stack{display:flex}.avatar-stack .avatar{border:2px solid var(--surface);margin-left:-6px}.person-cell{align-items:center;gap:9px;display:flex}.person-cell small{margin-top:3px;display:block}.app-shell{min-height:100vh}.sidebar{width:var(--sidebar);z-index:30;background:var(--surface);border-right:1px solid var(--border);flex-direction:column;height:100dvh;padding:28px 15px 12px;display:flex;position:fixed;top:0;left:0}.brand{letter-spacing:-1.2px;align-items:center;gap:9px;padding:0 10px;font-size:27px;font-weight:800;display:flex}.brand-dot{color:var(--blue)}.workspace-switch{border:1px solid var(--border);border-radius:8px;align-items:center;gap:9px;margin:26px 0 18px;padding:13px 10px;display:flex}.company-mark{background:var(--surface-alt);border:1px solid var(--border);border-radius:6px;justify-content:center;align-items:center;width:31px;height:31px;font-size:10px;font-weight:750;display:flex}.workspace-switch div{flex:1;min-width:0}.workspace-switch strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.workspace-switch small{margin-top:3px;font-size:9px;display:block}.workspace-switch>svg{color:var(--muted)}.sidebar nav{scrollbar-width:thin;flex:1;overflow-y:auto}.nav-group{margin-bottom:17px}.nav-group>p{text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);margin:10px 12px 7px;font-size:9px;font-weight:750}.nav-item{color:#657184;border-radius:7px;align-items:center;gap:11px;margin:2px 0;padding:9px 12px;font-size:11.5px;font-weight:650;transition:background .15s;display:flex}.nav-item>span{flex:1}.nav-item:hover{background:var(--surface-alt);color:var(--text)}.nav-item.active{background:var(--blue-soft);color:var(--blue)}.nav-item>b{background:var(--blue);color:#fff;border-radius:4px;padding:2px 5px;font-size:9px}.nav-item>b.neutral-count{background:var(--border);color:var(--muted)}[data-theme=dark] .nav-item{color:var(--muted)}[data-theme=dark] .nav-item.active{color:var(--blue)}.sidebar-foot{align-items:center;gap:8px;margin:12px 10px 16px;display:flex}.sidebar-foot strong{font-size:10px;display:block}.sidebar-foot small{margin-top:3px;font-size:9px;display:block}.online-dot{background:var(--teal);border-radius:50%;width:6px;height:6px}.profile-mini{text-align:left;border-top:1px solid var(--border);align-items:center;gap:9px;width:100%;padding:15px 7px 3px;display:flex}.profile-mini>span:not(.avatar){flex:1;min-width:0}.profile-mini strong{font-size:11px;display:block}.profile-mini small{margin-top:3px;font-size:9px;display:block}.main-shell{margin-left:var(--sidebar);min-height:100vh}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;align-items:center;gap:28px;height:73px;padding:0 32px;display:flex;position:sticky;top:0}.breadcrumb{white-space:nowrap;align-items:center;gap:9px;font-size:10px;display:flex}.breadcrumb>span,.breadcrumb>svg{color:var(--muted)}.breadcrumb strong{font-weight:650}.global-search{width:100%;max-width:365px;color:var(--muted);background:var(--surface-alt);border:1px solid var(--border);border-radius:7px;align-items:center;gap:8px;margin-left:auto;padding:9px 11px;font-size:10px;display:flex}.global-search kbd{border:1px solid var(--border);background:var(--surface);border-radius:4px;margin-left:auto;padding:1px 4px;font:9px inherit}.topbar-actions{align-items:center;gap:5px;display:flex}.bell{position:relative}.bell i{background:var(--blue);border:1px solid var(--surface);border-radius:50%;width:5px;height:5px;position:absolute;top:7px;right:7px}.avatar-button{border-left:1px solid var(--border);margin-left:5px;padding-left:9px}.page{max-width:1750px;margin:0 auto;padding:30px 32px 22px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px;display:flex}.page-kicker{color:var(--muted);margin-bottom:6px;font-size:10px;font-weight:650;display:block}.page-heading h1{align-items:center;gap:9px;display:flex}.heading-dot{background:var(--blue);border-radius:50%;width:6px;height:6px;margin-top:10px}.page-heading p{color:var(--muted);margin-top:9px;font-size:11px}.heading-count{color:var(--muted);margin-left:4px;font-size:15px;font-weight:500}.heading-actions,.button-group{align-items:center;gap:8px;display:flex}.app-footer{color:var(--muted);justify-content:space-between;gap:12px;padding:16px 32px 22px;font-size:9px;display:flex}.panel{border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:10px;padding:20px 21px 16px;display:flex}.panel-heading p{color:var(--muted);margin-top:6px;font-size:10px}.title-with-icon{align-items:center;gap:9px;display:flex}.section-icon{border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.blue{background:var(--blue-soft);color:var(--blue)}.teal{background:var(--teal-soft);color:var(--teal)}.amber{background:var(--amber-soft);color:var(--amber)}.metric-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px;display:grid}.metric{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:9px;padding:18px 19px}.metric:hover{border-color:#bdc9e0;box-shadow:0 3px 8px #20354d06}.metric-label{color:var(--muted);justify-content:space-between;gap:9px;font-size:10px;font-weight:650;display:flex}.metric>strong{letter-spacing:-1px;margin:10px 0 12px;font-size:26px;font-weight:750;display:block}.metric-bottom{color:var(--muted);justify-content:space-between;font-size:9px;display:flex}.dashboard-layout{grid-template-columns:minmax(0,1fr) 295px;gap:22px;display:grid}.dashboard-primary,.dashboard-secondary{flex-direction:column;gap:22px;min-width:0;display:flex}.tabs{border-bottom:1px solid var(--border);scrollbar-width:none;align-items:stretch;gap:23px;padding:0 22px;display:flex;overflow-x:auto}.tabs>button{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:13px 0 12px;font-size:11px;font-weight:650;display:flex}.tabs>button.active{border-bottom-color:var(--blue);color:var(--blue)}.tabs>button>span{background:var(--surface-alt);border-radius:4px;padding:1px 5px;font-size:9px}.tabs>button.active>span{background:var(--blue-soft);color:var(--blue)}.decision-row{border-bottom:1px solid var(--border);align-items:center;gap:11px;padding:16px 20px;display:flex}.decision-row:last-child{border-bottom:0}.document-symbol{background:var(--surface-alt);border:1px solid var(--border);width:36px;height:41px;color:var(--muted);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.decision-description{text-align:left;flex:1;min-width:0}.decision-description strong{text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px;font-size:11px;display:block;overflow:hidden}.decision-description>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.decision-description i{background:#b7bfca;border-radius:50%;width:3px;height:3px;margin:0 5px 2px;display:inline-block}.decision-amount{text-align:right;white-space:nowrap}.decision-amount>strong{letter-spacing:-.2px;font-size:11px;display:block}.decision-amount small{margin-top:5px;font-size:9px;display:block}.approve-small{border:1px solid var(--border);border-radius:5px;align-items:center;gap:5px;margin-left:4px;padding:7px 9px;font-size:10px;font-weight:650;display:flex}.approve-small:hover{background:var(--teal-soft);color:var(--teal);border-color:var(--teal)}.dashboard-projects{padding:0 20px 7px}.project-summary{text-align:left;border-bottom:1px solid var(--border);gap:12px;width:100%;padding:16px 0;display:flex}.project-summary:last-child{border-bottom:0}.project-mark{color:#4b6c9b;background:#ecf0f9;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:41px;display:flex}.project-mark.color-1{color:#6a8c66;background:#edf4ed}.project-mark.color-2{color:#a1865d;background:#f6efe5}.project-summary-body{flex:1;min-width:0}.project-summary-top{justify-content:space-between;gap:10px;margin-bottom:4px;font-size:11px;display:flex}.project-summary-top svg{color:var(--muted)}.project-summary-body>span{color:var(--muted);font-size:9px}.budget-track{background:var(--surface-alt);border-radius:4px;height:5px;margin:12px 0 7px;overflow:hidden}.budget-track i{background:var(--blue);border-radius:4px;height:100%;display:block}.budget-labels{color:var(--muted);justify-content:space-between;font-size:9px;display:flex}.budget-labels strong{color:var(--text);font-weight:650}.chart-area{height:215px;margin:0 18px 16px 4px}.chart-legend{color:var(--muted);gap:13px;font-size:9px;display:flex}.chart-legend span{align-items:center;gap:5px;display:flex}.chart-legend i{border-radius:2px;width:6px;height:6px}.chart-legend .blue{background:var(--blue)}.chart-legend .teal{background:var(--teal)}.agenda-list{padding:0 19px}.agenda-row{text-align:left;border-top:1px solid var(--border);align-items:center;gap:10px;width:100%;padding:15px 0;display:flex}.agenda-icon{border-radius:7px;justify-content:center;align-items:center;width:32px;height:34px;display:flex}.agenda-row>div:nth-child(2){flex:1;min-width:0}.agenda-row strong{font-size:11px;display:block}.agenda-row p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:5px 0;font-size:9px;overflow:hidden}.agenda-row small{font-size:9px}.agenda-row>svg{color:var(--muted)}.home-tasks{padding:0 20px}.home-tasks>button{text-align:left;border-top:1px solid var(--border);gap:10px;width:100%;padding:13px 0;display:flex}.home-tasks strong{font-size:11px;line-height:1.6;display:block}.home-tasks small{margin-top:5px;font-size:9px;display:block}.task-check{color:#0000;border:1px solid #cbd3dd;border-radius:4px;flex-shrink:0;width:15px;height:15px;margin-top:4px}.task-check.late{border-color:#e3b5b8}.panel-bottom-link{width:100%;color:var(--blue);border-top:1px solid var(--border);justify-content:space-between;margin-top:10px;padding:13px 20px;font-size:10px;display:flex}.workspace-note{background:#eaf0f8;border-radius:10px;padding:23px 21px}.workspace-note h3{margin:13px 0 8px;font-size:13px}.workspace-note p{color:#718297;margin-bottom:14px;font-size:10px;line-height:1.9}.workspace-note-icon{color:#7296ba;display:inline-flex;position:relative}.workspace-note-icon>span{width:19px;height:19px;color:var(--teal);background:#fff;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:-2px;right:-6px}[data-theme=dark] .workspace-note{background:#1a2d44}.registry-toolbar{flex-wrap:wrap;align-items:center;gap:9px;margin:20px 0 15px;display:flex}.search-input{border:1px solid var(--border);background:var(--surface);min-width:180px;max-width:290px;color:var(--muted);border-radius:7px;align-items:center;gap:8px;padding:0 10px;display:flex}.search-input input{background:0 0;border:0;outline:0;padding:10px 0;font-size:11px}.filter-select{width:auto;max-width:220px;padding:9px 28px 9px 10px;font-size:11px}.toolbar-spacer{flex:1}.view-switch{background:var(--surface);border:1px solid var(--border);border-radius:7px;gap:3px;padding:3px;display:flex}.view-switch>button{color:var(--muted);border-radius:4px;align-items:center;gap:6px;padding:6px 8px;font-size:10px;display:flex}.view-switch>button.active{background:var(--blue-soft);color:var(--blue)}.filter-chips{flex-wrap:wrap;gap:7px;margin:10px 0 15px;display:flex}.filter-chips>button{color:var(--muted);border:1px solid var(--border);background:var(--surface);border-radius:5px;align-items:center;gap:6px;padding:6px 9px;font-size:10px;display:flex}.filter-chips>button.active{background:var(--blue-soft);color:var(--blue);border-color:#c0cff6}.clear-input{padding:0;display:flex}.table-scroll{scrollbar-width:thin;overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;color:var(--muted);background:var(--surface-alt);white-space:nowrap;border-bottom:1px solid var(--border);padding:12px 15px;font-size:10px;font-weight:650}td{border-bottom:1px solid var(--border);padding:14px 15px;line-height:1.5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-alt)}td small,td .subtext{color:var(--muted);margin-top:4px;font-size:9px;display:block}td strong{font-size:11px}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.registry-table{background:var(--surface);border:1px solid var(--border);scrollbar-width:thin;border-radius:9px;max-height:70vh;overflow:auto}.registry-table th{z-index:2;position:sticky;top:0}.registry-table .table-scroll{max-height:660px}.registry-table td{padding:13px 12px}.registry-table th{padding:12px}.registry-table .title-column{min-width:230px;max-width:330px}.registry-table th button{white-space:nowrap;align-items:center;gap:5px;display:flex}.registry-table .checkbox-cell{width:30px;padding-left:17px;padding-right:0}.record-link{text-align:left;align-items:center;gap:10px;min-width:0;display:flex}.record-link strong{white-space:nowrap;text-overflow:ellipsis;max-width:315px;display:block;overflow:hidden}.record-link>small{font-size:9px}.record-link:hover strong{color:var(--blue)}.project-cell{white-space:nowrap;font-size:10px}.project-cell i{background:#86a9a0;border-radius:50%;flex-shrink:0;width:5px;height:5px}.registry-footer{color:var(--muted);border-top:1px solid var(--border);background:var(--surface);justify-content:space-between;padding:14px 17px;font-size:10px;display:flex}.bulk-bar{z-index:5;background:var(--blue-soft);color:var(--blue);border:1px solid #d8e1ff;border-radius:7px;align-items:center;gap:10px;margin-bottom:12px;padding:10px 16px;font-size:11px;display:flex;position:sticky;top:73px}.bulk-bar button{align-items:center;gap:5px;display:flex}.bulk-bar>strong{margin-right:auto}.progress-triple{gap:5px;min-width:150px;display:flex}.progress-triple>div{flex:1}.progress-track{background:var(--border);border-radius:3px;height:4px;display:block;overflow:hidden}.progress-track>i{border-radius:3px;height:100%;display:block}.progress-track.blue>i{background:var(--blue)}.progress-track.teal>i{background:var(--teal)}.progress-track.amber>i{background:var(--amber)}.progress-triple small{white-space:nowrap;margin-top:5px;display:block;font-size:7px!important}.column-options{grid-template-columns:1fr 1fr;gap:15px;display:grid}.column-options label{align-items:center;gap:9px;display:flex}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.project-card{background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;border-radius:10px;padding:22px}.project-card:hover{border-color:#b6c7e0}.project-card-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.project-card h3{margin-bottom:8px;font-size:16px;line-height:1.5}.project-card>p{color:var(--muted);margin-bottom:18px;font-size:11px;line-height:1.8}.project-card-footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;font-size:10px;display:flex}.project-budget{margin-top:18px}.project-budget>div{justify-content:space-between;align-items:center;display:flex}.project-budget small{font-size:10px}.back-link{color:var(--muted);align-items:center;gap:6px;margin-bottom:18px;font-size:11px;display:inline-flex}.hub-grid,.analytics-grid{grid-template-columns:1fr 1fr;gap:20px;margin:20px 0;display:grid}.detail-panel{padding:23px}.detail-panel dl{grid-template-columns:1fr 1fr;gap:12px;display:grid}.detail-panel dt{color:var(--muted);font-size:11px}.detail-panel dd{margin:0;font-size:12px}.people-grid{grid-template-columns:repeat(3,1fr);gap:15px;margin-top:22px;display:grid}.person-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;align-items:center;gap:13px;padding:20px;display:flex}.person-card small{margin-top:4px;display:block}.project-hub>.page,.admin-page>.page{padding:20px 0}.chart-large{height:300px;padding:10px 15px 20px}.category-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;font-size:11px;display:flex}.kanban{scrollbar-width:thin;align-items:flex-start;gap:15px;padding-bottom:15px;display:flex;overflow:auto}.kanban-column{border:1px solid var(--border);background:#edf0f4;border-radius:9px;flex:1;min-width:260px;padding:12px}.kanban-column>header{align-items:center;gap:8px;padding:3px 2px 14px;font-size:11px;font-weight:700;display:flex}.kanban-column>header>button{margin-left:auto}.kanban-column>header>span:first-child{background:var(--blue);border-radius:50%;width:7px;height:7px}.kanban-content{flex-direction:column;gap:9px;min-height:80px;display:flex}.task-card{background:var(--surface);border:1px solid var(--border);text-align:left;cursor:grab;border-radius:7px;width:100%;padding:15px;display:block}.task-card:hover{box-shadow:0 2px 7px #233b5410}.task-card h3{margin:9px 0;font-size:12px;line-height:1.65}.task-card-meta,.task-card-footer{color:var(--muted);align-items:center;gap:7px;font-size:9px;display:flex}.task-card-meta{justify-content:space-between}.task-card-footer{margin-top:14px}.task-card-footer .avatar{margin-left:auto}.priority-mark{background:var(--muted);border-radius:50%;width:6px;height:6px;display:inline-block}.priority-high{color:var(--amber)}.priority-urgent{color:var(--red)}.kanban-add{color:var(--muted);justify-content:center;align-items:center;gap:5px;width:100%;padding:12px 0 0;font-size:11px;display:flex}[data-theme=dark] .kanban-column{background:var(--surface-alt)}.calendar-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:auto}.calendar-heading{justify-content:space-between;align-items:center;min-width:680px;padding:17px 20px;display:flex}.calendar-heading h3{align-items:center;gap:16px;display:flex}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:680px;display:grid}.calendar-weekdays{color:var(--muted);border-top:1px solid var(--border);font-size:10px}.calendar-weekdays>div{padding:10px 13px}.calendar-day{border-top:1px solid var(--border);border-right:1px solid var(--border);height:135px;padding:8px;overflow:hidden}.calendar-day.outside{opacity:.4;background:var(--surface-alt)}.calendar-day.today{background:var(--blue-soft)}.day-number{color:var(--muted);margin-bottom:8px;font-size:10px;display:block}.calendar-event{border-left:2px solid var(--blue);background:var(--blue-soft);white-space:nowrap;text-overflow:ellipsis;text-align:left;border-radius:3px;width:100%;margin:4px 0;padding:4px 5px;font-size:8px;display:block;overflow:hidden}.calendar-event span,.calendar-event strong{text-overflow:ellipsis;display:block;overflow:hidden}.calendar-more{color:var(--blue);font-size:9px}.dialog-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:60;background:#18233462;animation:.15s fade-in;position:fixed;inset:0}.modal{background:var(--surface);width:min(600px,100vw - 28px);max-height:92dvh;box-shadow:var(--shadow);z-index:61;border-radius:12px;flex-direction:column;display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.modal-wide{width:min(1060px,100vw - 32px)}.modal-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:20px;padding:21px 24px;display:flex}.modal-header h2{font-size:18px;line-height:1.5}.modal-header p{color:var(--muted);margin-top:6px;font-size:11px}.modal>form{flex-direction:column;min-height:0;display:flex}.form-scroll{max-height:calc(92dvh - 150px);padding:24px;overflow-y:auto}.form-grid{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;margin-bottom:15px;display:flex}.form-grid .field{margin-bottom:0}.field>span{font-size:11px;font-weight:650}.required{color:var(--red)}.check-field{align-items:center;gap:9px;font-size:11px;line-height:1.7;display:flex}.modal-footer{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:flex-end;align-items:center;gap:9px;padding:15px 24px;display:flex}.draft-note{color:var(--muted);margin-right:auto;font-size:10px}.drawer{background:var(--surface);z-index:61;width:min(830px,94vw);height:100dvh;box-shadow:var(--shadow);animation:.2s slide-in;position:fixed;top:0;right:0;overflow-y:auto}.drawer-close{background:var(--surface-alt);z-index:2;position:absolute;top:14px;right:14px}.document-topline{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:13px;padding-right:30px;display:flex}.eyebrow{color:var(--muted);letter-spacing:.7px;font-size:10px;font-weight:700}.drawer-heading h2{letter-spacing:-.5px;padding-right:20px;font-size:23px;font-weight:750;line-height:1.4}.document-subtitle{color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;margin-top:12px;font-size:10px;display:flex}.document-total{letter-spacing:-.8px;margin-top:21px;font-size:29px;font-weight:750}.document-total small{letter-spacing:0;margin-top:4px;font-size:10px;font-weight:500;display:block}.document-actions{flex-wrap:wrap;align-items:center;gap:7px;margin-top:20px;display:flex}.document-progress{padding:14px 0 26px}.document-progress .progress-track{height:6px}.document-progress .progress-triple small{font-size:10px!important}.detail-fields{grid-template-columns:1fr 1fr;gap:22px 28px;margin:15px 0 27px;display:grid}.detail-fields>div>span{color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.detail-fields>div>strong{font-size:12px;font-weight:600;line-height:1.7;display:block}.document-comment,.task-description,.checklist,.related-section,.original-preview,.drawer-content>section{margin:24px 0}.document-comment h3,.task-description h3,.checklist h3,.drawer-content>section>h3{margin-bottom:12px}.document-comment p,.task-description p{white-space:pre-wrap;font-size:12px;line-height:1.85}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin:20px 0 14px;display:flex}.section-heading h3{align-items:center;gap:8px;display:flex}.document-lines td,.document-lines th{padding:11px 9px}.document-lines td:nth-child(2){white-space:normal;min-width:180px}.form-totals{justify-content:flex-end;align-items:center;gap:24px;margin-bottom:10px;padding:20px 0;display:flex}.form-totals>span{color:var(--muted);font-size:11px}.form-totals strong{font-size:18px}.line-editor{overflow-x:auto}.line-editor table{min-width:820px}.line-editor th{padding:9px 5px}.line-editor td{vertical-align:top;padding:6px 4px}.line-editor input,.line-editor select{border-radius:4px;padding:8px 6px;font-size:10px}.line-editor .line-name{min-width:210px}.line-editor input[type=number],.line-editor .numeric{width:88px}.line-editor .note-input{color:var(--muted);background:0 0;border:none;padding-top:5px;padding-bottom:2px;font-size:9px}.row-actions{align-items:center;gap:2px;display:flex}.add-line{border:1px dashed var(--border);color:var(--blue);border-radius:6px;align-items:center;gap:7px;margin:10px 0;padding:10px 13px;font-size:11px;display:flex}.upload-drop{background:var(--blue-soft);border:1px dashed #b2c3e7;border-radius:9px;align-items:center;gap:15px;margin:24px 0;padding:20px;display:flex}.upload-drop-icon{color:var(--blue);background:var(--surface);border-radius:8px;padding:12px}.upload-drop>div:nth-child(2){flex:1}.upload-drop strong{font-size:12px}.upload-drop p{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.6}.quick-input{margin:15px 0;padding:13px 0}.quick-input>summary{color:var(--blue);align-items:center;gap:7px;font-size:12px;display:flex}.quick-input textarea{margin:12px 0}.route-step{border:1px solid var(--border);border-radius:8px;align-items:flex-start;gap:12px;margin:13px 0;padding:15px;display:flex}.route-step .form-grid{flex:1;margin:0}.step-number{background:var(--surface-alt);width:28px;height:28px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.approval-step{gap:16px;padding:15px 0 27px;display:flex;position:relative}.approval-step>div{flex:1}.approval-step h3{margin:5px 0 6px;font-size:13px}.approval-step p{color:var(--muted);margin-bottom:16px;font-size:10px}.approval-step.current .step-number{background:var(--blue);color:#fff}.approver-row{border:1px solid var(--border);border-radius:7px;align-items:center;gap:10px;margin-bottom:8px;padding:11px;display:flex}.approver-row>span:not(.avatar):not(.badge){flex:1;font-size:11px}.approver-row small{margin-top:4px;display:block}.approval-timeline>.button{margin-right:8px}.notice,.error-box{background:var(--blue-soft);color:var(--blue);border-radius:7px;align-items:flex-start;gap:10px;margin:10px 0;padding:13px 16px;font-size:11px;line-height:1.7;display:flex}.notice.warning{background:var(--amber-soft);color:var(--amber)}.notice button{margin-left:12px;font-weight:700;text-decoration:underline}.error-box{background:var(--red-soft);color:var(--red)}.error-box button{margin-left:12px}.notice svg,.error-box svg{margin-top:1px}.validation-list{flex-direction:column;gap:8px;margin-bottom:22px;display:flex}.validation-item{color:var(--amber);align-items:center;gap:8px;font-size:11px;display:flex}.validation-item.error{color:var(--red)}.recognition-state{color:var(--muted);text-align:center;padding:12px 0 22px;font-size:11px}.original-preview iframe{border:1px solid var(--border);background:#ddd;border-radius:7px;width:100%;height:480px}.original-preview img{border:1px solid var(--border);border-radius:7px;width:100%;height:auto}.history-row{gap:13px;padding:14px 0;display:flex;position:relative}.history-dot{background:var(--blue);border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:4px}.history-row p{color:var(--muted);margin:5px 0;font-size:11px;line-height:1.6}.history-row small{font-size:9px}.extra-actions{border-top:1px solid var(--border);margin-top:32px;padding-top:20px}.extra-actions summary{color:var(--muted);font-size:11px}.extra-actions>div{flex-wrap:wrap;gap:8px;padding-top:15px;display:flex}.compact-list{border:1px solid var(--border);border-radius:8px;overflow:hidden}.compact-list>button{text-align:left;border-bottom:1px solid var(--border);align-items:center;gap:10px;width:100%;padding:13px;display:flex}.compact-list>button:last-child{border-bottom:0}.compact-list>button>span:not(.badge){flex:1}.compact-list strong{font-size:11px}.compact-list small{margin-top:4px;font-size:9px;display:block}.checklist>label{align-items:center;gap:10px;padding:11px 0;font-size:12px;display:flex}.checklist>label.done>span{color:var(--muted);text-decoration:line-through}.result-box{background:var(--teal-soft);color:var(--teal);border-radius:8px;align-items:flex-start;gap:13px;padding:18px;display:flex}.result-box p{margin:9px 0;font-size:12px;line-height:1.7}.request-progress-row{border-bottom:1px solid var(--border);padding:15px 0;font-size:12px}.request-progress-row>div{color:var(--muted);gap:20px;margin-top:10px;font-size:10px;display:flex}.comparison>p{margin-bottom:20px}.comparison th{white-space:normal;min-width:150px}.comparison th small{margin:5px 0;display:block}.best-price{background:var(--teal-soft);color:var(--teal)}.action-document{background:var(--surface-alt);border-radius:8px;margin-bottom:20px;padding:16px}.action-document strong{margin-bottom:5px;display:block}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:40px 20px;font-size:12px;display:flex}.spin{animation:1s linear infinite spin}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:45px 20px;display:flex}.empty-icon{background:var(--surface-alt);color:#98a6b9;border-radius:14px;justify-content:center;align-items:center;width:53px;height:53px;margin-bottom:5px;display:flex}.empty p{color:var(--muted);max-width:380px;font-size:11px;line-height:1.8}.empty .button{margin-top:9px}.toast{z-index:100;color:#fff;box-shadow:var(--shadow);background:#233446;border-radius:10px;align-items:center;gap:10px;max-width:calc(100vw - 30px);padding:15px 20px;font-size:12px;display:flex;position:fixed;bottom:25px;left:calc(50% + 80px);transform:translate(-50%)}.toast.error{background:#9a3038}.dropdown-menu{z-index:80;background:var(--surface);border:1px solid var(--border);min-width:190px;box-shadow:var(--shadow);border-radius:8px;padding:6px}.dropdown-menu>[role=menuitem]{cursor:pointer;border-radius:4px;outline:0;padding:10px 12px;font-size:12px}.dropdown-menu>[role=menuitem]:hover,.dropdown-menu>[data-highlighted]{background:var(--blue-soft);color:var(--blue)}.notification-list{padding:5px 25px}.notification{text-align:left;border-bottom:1px solid var(--border);align-items:flex-start;gap:11px;width:100%;padding:19px 5px;display:flex}.notification>div{flex:1}.notification strong{font-size:12px}.notification p{color:var(--muted);margin:6px 0;font-size:11px;line-height:1.7}.notification small{font-size:9px}.notification-dot{background:var(--border);border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:5px}.notification.unread .notification-dot{background:var(--blue)}.search-modal{max-height:70dvh;padding:20px;overflow:auto}.search-modal>.search-input{max-width:none}.search-group h4{color:var(--muted);text-transform:uppercase;letter-spacing:.7px;padding:22px 7px 9px;font-size:10px}.search-group>button{text-align:left;border-radius:6px;align-items:center;gap:11px;width:100%;padding:12px 8px;display:flex}.search-group>button:hover{background:var(--surface-alt)}.search-group>button>span{flex:1}.search-group strong{font-size:11px;display:block}.search-group small{margin-top:3px;font-size:9px;display:block}.chat-layout{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:290px minmax(0,1fr);height:calc(100dvh - 230px);min-height:490px;display:grid;overflow:hidden}.chat-sidebar{border-right:1px solid var(--border);overflow:auto}.chat-sidebar>.search-input{min-width:0;max-width:none;margin:16px 13px}.chat-row{text-align:left;border-bottom:1px solid var(--border);align-items:center;gap:10px;width:100%;padding:15px 13px;display:flex}.chat-row.active{background:var(--blue-soft)}.chat-row>span:nth-child(2){flex:1;min-width:0}.chat-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.chat-row small{text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:9px;display:block;overflow:hidden}.chat-row>div{text-align:right;align-self:flex-start}.chat-row time{color:var(--muted);font-size:8px}.chat-row b{background:var(--blue);color:#fff;text-align:center;float:right;border-radius:10px;width:18px;margin-top:6px;font-size:9px;display:block}.chat-avatar{background:var(--blue-soft);width:36px;height:36px;color:var(--blue);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-avatar.company{color:#8a65b8;background:#eee8fa}.chat-room{flex-direction:column;min-width:0;display:flex}.chat-header{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:17px 20px;display:flex}.chat-header>div{flex:1;min-width:0}.chat-header h3{margin-bottom:4px;font-size:12px}.chat-header small{font-size:9px}.chat-messages{background:var(--surface-alt);flex:1;min-height:0;padding:22px;overflow-y:auto}.message{align-items:flex-end;gap:9px;max-width:85%;margin:12px 0 19px;display:flex}.message.own{flex-direction:row-reverse;margin-left:auto}.message-body{border:1px solid var(--border);background:var(--surface);border-radius:10px 10px 10px 2px;min-width:180px;max-width:100%;padding:11px 14px;position:relative}.message.own .message-body{background:var(--blue-soft);border-color:#0000;border-radius:10px 10px 2px}.message-meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.message-meta time{color:var(--muted);white-space:nowrap;font-size:8px}.message-body>p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-size:12px;line-height:1.8}.message-body blockquote{border-left:2px solid var(--blue);color:var(--muted);max-height:70px;margin:9px 0 4px;padding:4px 8px;font-size:10px;overflow:hidden}.message-tools{opacity:0;height:15px;color:var(--muted);justify-content:flex-end;gap:7px;margin-top:4px;display:flex}.message:hover .message-tools,.message:focus-within .message-tools{opacity:1}.message-tools button{align-items:center;padding:0 3px;font-size:12px;display:flex}.message-reactions{gap:4px;font-size:10px;display:flex}.message-reactions button{border:1px solid var(--border);border-radius:12px;margin-top:5px;padding:3px 6px}.system-message{text-align:center;color:var(--muted);padding:9px;font-size:10px;line-height:1.6}.message-file{color:var(--blue);align-items:center;gap:6px;padding-top:9px;font-size:11px;display:flex}.chat-compose{border-top:1px solid var(--border);padding:13px 18px}.chat-compose>div:last-of-type{align-items:center;gap:9px;display:flex}.chat-compose textarea{resize:none;border:0;outline:0;min-height:39px;max-height:120px;padding:9px 2px;font-size:12px}.chat-compose>small{margin-top:7px;padding-left:44px;font-size:8px;display:block}.compose-reply{border-bottom:1px solid var(--border);color:var(--muted);align-items:center;gap:10px;padding-bottom:8px;font-size:11px;display:flex}.compose-reply>span{flex:1;max-height:35px;overflow:hidden}.attached-chips{flex-wrap:wrap;gap:6px;padding-bottom:8px;display:flex}.attached-chips>button{background:var(--blue-soft);color:var(--blue);border-radius:4px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:flex}.people-options>label{align-items:center;gap:11px;padding:10px 0;font-size:12px;display:flex}.people-options>label small{margin-top:3px;font-size:10px;display:block}.files-area{min-height:300px}.file-breadcrumb{color:var(--muted);align-items:center;gap:10px;margin:22px 0;font-size:11px;display:flex}.file-breadcrumb button{align-items:center;gap:5px;display:flex}.folders-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0;display:grid}.folder-card{background:var(--surface);border:1px solid var(--border);color:#b9965e;border-radius:8px;align-items:center;gap:12px;padding:19px;display:flex}.folder-card strong{color:var(--text);text-align:left;flex:1;font-size:12px}.folder-card>svg:last-child{color:var(--muted)}.file-table{overflow:auto}.file-name{align-items:center;gap:12px;min-width:240px;display:flex}.file-icon{background:var(--blue-soft);color:var(--blue);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:37px;height:43px;display:flex}.file-list>a{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:15px 0;display:flex}.file-list>a>div{flex:1}.file-list strong{font-size:12px}.file-list small{margin-top:5px;display:block}.settings-page{max-width:1120px}.profile-banner{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:17px;margin-bottom:20px;padding:24px;display:flex}.profile-banner>div{flex:1}.profile-banner p{color:var(--muted);margin-top:6px;font-size:11px}.settings-form{margin:20px 0;padding:23px;overflow:visible}.settings-form>h3{margin-bottom:20px}.settings-form>p{margin-bottom:20px;font-size:12px;line-height:1.8}.settings-form .notice{margin-top:20px}.settings-form>.button{margin-top:8px}.settings-columns{grid-template-columns:1fr 1fr;gap:20px;display:grid}.setting-row{margin:20px 0}.setting-row>.button{margin-top:-5px}.settings-form>.section-heading{margin-top:0}.roles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0;display:grid}.roles-grid .settings-form{margin:0}.permission-tags{flex-wrap:wrap;gap:5px;max-height:165px;display:flex;overflow:auto}.permission-tags>span{background:var(--surface-alt);border:1px solid var(--border);color:var(--muted);border-radius:4px;padding:3px 6px;font-size:9px}.permissions-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px;display:grid}.permissions-grid section{border:1px solid var(--border);border-radius:7px;padding:15px}.permissions-grid h4{margin-bottom:12px}.permissions-grid label{align-items:center;gap:8px;padding:5px 0;font-size:11px;display:flex}.row-menu{position:relative}.row-menu>summary{list-style:none}.row-menu>div{z-index:10;border:1px solid var(--border);min-width:235px;box-shadow:var(--shadow);background:var(--surface);border-radius:8px;padding:6px;position:absolute;top:30px;right:0}.row-menu>div>button{text-align:left;border-radius:4px;align-items:center;gap:8px;width:100%;padding:9px 10px;font-size:11px;display:flex}.row-menu>div>button:hover{background:var(--surface-alt)}.session-row{border-top:1px solid var(--border);align-items:center;gap:13px;padding:15px 0;display:flex}.session-row>div{flex:1}.session-row strong{font-size:11px;display:block}.session-row small{margin-top:5px;font-size:9px;display:block}.launch{flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100vh;display:flex}.login-page{grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-story{color:#fff;background:#16336c;flex-direction:column;min-height:100dvh;padding:42px 52px;display:flex;position:relative;overflow:hidden}.login-story:after{content:"";pointer-events:none;border:1px solid #ffffff10;border-radius:50%;width:600px;height:600px;position:absolute;bottom:50px;right:-370px;box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff03}.login-story .brand{padding:0}.login-story .brand img{border-radius:9px}.login-story-body{z-index:1;margin:auto 0;padding:70px 0 55px}.story-tag{color:#b5c6e9;align-items:center;gap:7px;margin-bottom:23px;font-size:10px;display:flex}.story-tag>span{background:#80bcb7;border-radius:50%;width:6px;height:6px}.login-story h1{letter-spacing:-1.7px;max-width:550px;font-size:43px;line-height:1.35}.login-story p{color:#b9c9e6;margin-top:22px;font-size:13px;line-height:1.9}.process-illustration{max-width:390px;margin-top:38px}.process-item{border-bottom:1px solid #ffffff16;align-items:center;gap:14px;padding:16px 0;display:flex}.process-icon{color:#bfd2f5;background:#ffffff08;border:1px solid #ffffff26;border-radius:9px;justify-content:center;align-items:center;width:43px;height:45px;display:flex}.process-item>div:nth-child(2){flex:1}.process-item strong{font-size:12px;display:block}.process-item span{color:#aebfe0;margin-top:6px;font-size:10px;display:block}.process-item>svg{color:#87c4b3}.login-story>small{color:#9eafd0;font-size:10px}.login-form-side{background:var(--surface);justify-content:center;align-items:center;padding:40px;display:flex}.login-form{width:100%;max-width:360px}.login-symbol{border:1px solid var(--border);width:49px;height:49px;color:var(--blue);border-radius:12px;justify-content:center;align-items:center;margin-bottom:23px;display:flex}.login-form h2{letter-spacing:-.7px;font-size:26px}.login-form>p{color:var(--muted);margin:10px 0 30px;font-size:12px;line-height:1.8}.login-form form>.button{margin-top:6px}.login-form .field{margin-bottom:18px}.login-form input{padding:12px}.demo-login{border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;margin-top:26px;padding:17px}.demo-login>span{text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-size:10px;font-weight:750}.demo-login p{color:var(--muted);margin:8px 0 13px;font-size:11px;line-height:1.7}.demo-login select{margin-bottom:10px;font-size:12px}.login-hint{color:var(--muted);margin-top:22px;font-size:10px;line-height:1.8;display:block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-in{0%{opacity:.5;transform:translate(25px)}to{opacity:1;transform:translate(0)}}@media (min-width:1600px){.dashboard-layout{grid-template-columns:minmax(0,1fr) 345px}.metric>strong{font-size:30px}.decision-row{padding:19px 23px}.decision-description strong,.decision-amount>strong{font-size:12px}}@media (max-width:1250px){:root{--sidebar:216px}.sidebar{padding-left:11px;padding-right:11px}.nav-item{gap:9px;font-size:10.5px}.page{padding:25px 23px}.topbar{gap:15px;padding:0 23px}.breadcrumb>span{display:none}.dashboard-layout{grid-template-columns:minmax(0,1fr) 265px;gap:17px}.dashboard-primary,.dashboard-secondary{gap:17px}.metric-strip{gap:11px}.metric{padding:16px 14px}.metric>strong{font-size:22px}.metric-label{font-size:9px}.decision-row{gap:8px;padding:15px}.approve-small>span{display:none}.approve-small{padding:7px}.decision-description strong{font-size:10px}.hide-medium{display:none}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:245px minmax(0,1fr)}.chat-row{gap:8px;padding:15px 11px}.chat-row strong{font-size:10px}.folders-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:1020px){.dashboard-layout{grid-template-columns:1fr}.dashboard-secondary{grid-template-columns:1fr 1fr;align-items:start;display:grid}.workspace-note{display:none}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.metric>strong{font-size:25px}.topbar{height:65px}.breadcrumb{display:none}.global-search{max-width:none}.hide-medium{display:none}.chat-layout{grid-template-columns:220px minmax(0,1fr);height:calc(100dvh - 220px)}.chat-header{gap:7px;padding:14px 12px}.chat-header>.chat-avatar{display:none}.chat-messages{padding:16px 10px}.message{max-width:95%}.message-body{padding:10px}.settings-columns,.roles-grid{grid-template-columns:1fr}.people-grid{grid-template-columns:1fr 1fr}.login-story{padding:35px}.login-story h1{font-size:35px}.login-form-side{padding:30px}}@media (max-width:760px){:root{--sidebar:250px}html,body{font-size:13px}.sidebar{z-index:50;padding:23px 15px 15px;transition:transform .2s;transform:translate(-100%)}.sidebar-visible{transform:translate(0)}.sidebar nav{margin-bottom:0}.nav-item{padding:11px;font-size:12px}.sidebar-foot{display:none}.mobile-scrim{z-index:45;background:#14213565;position:fixed;inset:0}.main-shell{margin-left:0;padding-bottom:68px}.topbar{gap:10px;height:61px;padding:0 14px}.mobile-only{display:inline-flex}.topbar .global-search{flex:1;min-width:0;max-width:320px;margin-left:0;font-size:10px}.global-search>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.global-search kbd,.topbar-actions>.avatar-button{display:none}.topbar-actions{gap:1px}.topbar-actions .icon-button{width:29px}.page{padding:23px 17px 15px}.page-heading{gap:12px;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{max-width:260px;font-size:10px;line-height:1.7}.page-kicker{font-size:9px}.page-heading>.create-trigger{display:none}.heading-actions{gap:6px}.heading-actions .button{padding:8px 10px;font-size:10px}.metric-strip{gap:10px;margin-bottom:18px}.metric{padding:15px}.metric>strong{margin-top:12px;font-size:22px}.metric-label{font-size:9px}.metric-bottom{font-size:8px}.dashboard-secondary{grid-template-columns:1fr}.dashboard-primary,.dashboard-secondary{gap:17px}.panel-heading{padding:17px 16px 14px}.panel-heading h2{font-size:13px}.panel-heading .link{font-size:9px}.decision-row{gap:8px;padding:15px 13px}.decision-description strong{font-size:10px}.decision-description>span{font-size:8px}.decision-amount>strong{font-size:10px}.decision-amount small{font-size:8px}.decision-row .document-symbol{width:30px;height:35px}.decision-row .approve-small{padding:6px}.tabs{gap:20px;padding:0 16px}.tabs>button{font-size:10px}.dashboard-projects{padding:0 16px}.chart-area{height:190px}.project-summary-top{font-size:11px}.project-summary-body>span{font-size:8px}.app-footer{flex-direction:column;gap:5px;padding:15px 17px;font-size:8px}.bottom-nav{height:65px;padding:6px 8px max(6px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);z-index:40;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav>a,.bottom-nav>button:not(.create-trigger){color:var(--muted);flex-direction:column;align-items:center;gap:5px;min-width:50px;padding:4px 12px;font-size:8px;display:flex}.bottom-nav .active{color:var(--blue)}.bottom-nav .create-trigger{border-radius:12px;justify-content:center;width:45px;min-height:42px;padding:8px}.bottom-nav .create-trigger>span,.bottom-nav .create-trigger>svg:last-child{display:none}.registry-toolbar{gap:8px;margin-top:16px}.registry-toolbar .search-input{flex:1;min-width:160px;max-width:none}.filter-select{max-width:170px}.view-switch>button{padding:7px;font-size:0}.view-switch>button svg{width:16px}.toolbar-spacer{display:none}.registry-table table{min-width:750px}.registry-footer{padding:12px;font-size:9px}.project-grid{grid-template-columns:1fr}.project-card{padding:20px}.hub-grid,.analytics-grid{grid-template-columns:1fr;gap:16px}.people-grid{grid-template-columns:1fr}.kanban-column{min-width:270px}.bulk-bar{flex-wrap:wrap;font-size:10px;top:61px}.form-grid{grid-template-columns:1fr;gap:16px}.modal{border-radius:10px;width:calc(100vw - 16px);max-height:94dvh}.modal-header{padding:17px}.modal-header h2{font-size:16px}.form-scroll{max-height:calc(94dvh - 138px);padding:18px}.modal-footer{flex-wrap:wrap;padding:13px 17px}.draft-note{flex-basis:100%;font-size:8px}.drawer{width:100vw}.drawer-heading{padding:28px 20px 20px}.drawer-heading h2{font-size:20px}.drawer-content{padding:20px}.drawer-close{top:12px;right:12px}.document-total{font-size:26px}.document-actions{gap:6px}.document-actions .button{padding:9px 10px;font-size:10px}.detail-fields{gap:20px 15px}.detail-fields>div>strong{font-size:11px}.detail-fields>div>span{font-size:9px}.document-subtitle{gap:9px;font-size:9px}.form-totals{gap:14px}.form-totals strong{font-size:15px}.form-totals>span{font-size:10px}.upload-drop{flex-wrap:wrap;gap:12px;padding:16px}.upload-drop>div:nth-child(2){flex-basis:calc(100% - 70px)}.upload-drop strong{font-size:11px}.upload-drop p{font-size:9px}.upload-drop .button{width:100%}.original-preview iframe{height:390px}.toast{width:max-content;max-width:calc(100vw - 28px);font-size:11px;bottom:78px;left:50%}.request-progress-row>div{flex-wrap:wrap;gap:11px}.chat-page{padding:20px 12px 10px}.chat-layout{height:calc(100dvh - 235px);min-height:380px;display:flex}.chat-sidebar{border:0;width:100%}.chat-room{width:100%;display:none}.chat-selected .chat-sidebar{display:none}.chat-selected .chat-room{display:flex}.chat-header h3{font-size:11px}.chat-header>.button{padding:5px;font-size:9px}.chat-compose{padding:10px}.chat-compose>small{display:none}.message{gap:7px;max-width:93%}.message>.avatar{width:24px;height:24px;font-size:8px}.message-body{min-width:140px}.message-body>p{font-size:11px}.message-tools{opacity:1}.folders-grid{grid-template-columns:1fr 1fr;gap:9px}.folder-card{gap:8px;padding:14px}.folder-card strong{font-size:10px}.folder-card svg:first-child{width:22px}.file-table table{min-width:600px}.settings-form{padding:20px 17px}.profile-banner{gap:12px;padding:18px}.profile-banner h2{font-size:16px}.profile-banner p{font-size:10px;line-height:1.7}.profile-banner>.avatar{width:45px;height:45px;font-size:14px}.profile-banner>.badge{display:none}.permissions-grid{grid-template-columns:1fr 1fr}.settings-columns{gap:0}.admin-page .table-scroll table{min-width:750px}.session-row{flex-wrap:wrap}.session-row>div{min-width:170px}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-form-side{min-height:100dvh;padding:30px 24px}.login-form{max-width:390px}.login-form h2{font-size:25px}.login-form input{font-size:16px}.notice{font-size:10px}.row-menu>div{right:0}.file-breadcrumb{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.bottom-nav,.app-footer,.heading-actions,.create-trigger,.document-actions,.drawer-close,.extra-actions,.registry-toolbar,.filter-chips,.toast,.dialog-overlay{display:none!important}.main-shell{margin:0}.page{max-width:none;padding:0}.panel,.metric,.project-card{break-inside:avoid}.drawer{width:100%;height:auto;box-shadow:none;position:static;overflow:visible}.drawer-overlay~.drawer{z-index:9999;background:#fff;position:absolute;inset:0}.drawer .tabs{display:none}.table-scroll{max-height:none!important;overflow:visible!important}.chat-layout{height:auto}.numeric{white-space:nowrap}body{color:#111;background:#fff}.badge{color:#111;background:#f3f3f3}.dashboard-layout{grid-template-columns:1fr 260px}}.brand{letter-spacing:.1px;gap:9px;padding-left:6px;font-size:15px;font-weight:800}.brand img{width:31px;height:31px}.login-story .brand{font-size:20px}.workspace-switch{margin-top:24px}.dashboard-details>summary{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:9px;padding:16px 20px;font-size:12px;font-weight:650}.dashboard-details[open]>summary{border-bottom:0;border-radius:9px 9px 0 0}.dashboard-details[open]>.panel{border-radius:0 0 9px 9px}.workspace-note{display:none}@media (max-width:760px){.metric-label{font-size:11px;line-height:1.5}.metric-bottom{font-size:10px;line-height:1.7}.decision-description strong{font-size:11px}.decision-description>span,.decision-amount small{font-size:10px;line-height:1.6}.metric>strong{font-size:25px}.page-kicker{font-size:11px}.page-heading p{font-size:12px}.bottom-nav>a,.bottom-nav>button:not(.create-trigger){font-size:10px}.badge{font-size:11px}.home-tasks strong,.agenda-row strong{font-size:12px}.home-tasks small,.agenda-row small,.agenda-row p{font-size:11px}.sidebar{visibility:hidden}.sidebar-visible{visibility:visible}.table-scroll{font-size:12px}}.registry-table td{vertical-align:middle;height:72px}.registry-table td.project-cell{display:table-cell}.registry-table .record-icon{border:1px solid var(--border);width:28px;height:32px;color:var(--muted);border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.registry-table tr.selected{background:var(--blue-soft)}.registry-table thead th{height:43px}.registry-table .project-cell button{line-height:1.6}.registry-table td.project-cell{border-bottom:1px solid var(--border)}.registry-table tbody tr:last-child td.project-cell{border-bottom:0}.procurement-section{min-width:0;margin:24px 0 30px}.project-metrics{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:28px;display:grid;overflow:hidden}.project-metrics>div{border-right:1px solid var(--border);flex-direction:column;gap:9px;min-width:0;padding:20px;display:flex}.project-metrics>div:last-child{border:0}.project-metrics span{color:var(--muted);font-size:12px}.project-metrics strong{letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:23px;line-height:1.4}.project-metrics small{font-size:11px;line-height:1.55}.project-metrics .metric-alert strong{color:var(--red)}.project-metrics .metric-good strong{color:var(--teal)}.procurement-section>.section-heading{margin:0 0 16px}.procurement-section .section-heading p{margin-top:6px;font-size:12px}.procurement-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px;display:flex}.procurement-controls>.tabs{background:var(--surface);border:0;border:1px solid var(--border);border-radius:7px;flex-shrink:0;gap:0;padding:0;overflow:hidden}.procurement-controls>.tabs>button{border:0;min-height:42px;margin:0;padding:11px 16px;font-size:12px}.procurement-controls>.tabs>button.active{background:var(--blue-soft);color:var(--blue)}.procurement-controls>.search-input{flex:1;min-width:170px;max-width:320px;height:44px;margin-left:auto}.procurement-controls>select{width:auto;max-width:225px;min-height:44px;font-size:12px}.procurement-section>.filter-chips{flex-wrap:wrap;margin:8px 0 18px}.procurement-section>.filter-chips button{min-height:36px;font-size:11px}.materials-table{width:100%;max-width:100%;max-height:70vh;overflow:auto}.materials-table>table{border-collapse:separate;border-spacing:0;table-layout:auto;width:100%;min-width:930px;font-size:12px}.materials-table th{background:var(--surface-alt);z-index:2;border-bottom:1px solid var(--border);color:var(--muted);white-space:normal;padding:14px 16px;font-size:11px;line-height:1.5;position:sticky;top:0}.materials-table td{vertical-align:middle;border-bottom:1px solid var(--border);background:var(--surface);height:76px;padding:16px}.materials-table>table>thead>tr>th:first-child,.materials-table>table>tbody>tr:not(.material-history-row)>td:first-child{width:29%;min-width:260px;box-shadow:1px 0 0 var(--border);z-index:1;position:sticky;left:0}.materials-table>table>thead>tr>th:first-child{z-index:3}.materials-table>table>tbody>tr:not(.material-history-row):hover>td{background:var(--surface-alt)}.materials-table td small{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.6;display:block}.materials-table .numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.materials-table .numeric small{color:inherit;opacity:.85}.material-name{text-align:left;align-items:center;gap:9px;width:100%;max-width:320px;min-height:44px;padding:0;display:flex}.material-name>svg{color:var(--muted)}.material-name strong{font-size:12px;line-height:1.6;display:block}.material-name small{font-weight:400}.materials-table tr.material-expanded>td{background:var(--blue-soft)}.materials-table .material-history-row>td{background:var(--surface-alt);height:auto;padding:0}.material-history{border-left:3px solid var(--blue);padding:20px 24px}.material-history>.section-heading{margin:0 0 17px}.material-history h3{font-size:13px}.material-history .muted{font-size:11px}.material-history>table{border-collapse:collapse;width:100%;min-width:850px}.material-history>table th{background:var(--surface-alt);padding:12px 10px;font-size:10px;position:static}.material-history>table td{background:var(--surface-alt);height:auto;padding:13px 10px;font-size:11px}.material-history .text-link{text-align:left;white-space:normal;font-size:11px}.material-comparison{flex-wrap:wrap;gap:20px 34px;padding:15px 0 20px;font-size:11px;display:flex}.material-comparison>span{color:var(--muted)}.material-comparison strong{color:var(--text);font-variant-numeric:tabular-nums;margin-top:7px;font-size:13px;display:block}.material-comparison .text-danger strong{color:var(--red)}.material-comparison .price-saving strong,.price-saving{color:var(--teal)}.purchase-payment,.receipt-link{align-items:center;gap:6px;font-size:10px;line-height:1.6;display:flex}.receipt-link{margin-top:8px}.report-explanation{color:var(--muted);max-width:1000px;margin:15px 0;font-size:11px;line-height:1.8}.material-history>table tr:last-child>td{border-bottom:0}.project-hub>.tabs{white-space:nowrap;overflow-x:auto}.project-hub .hub-grid{margin-top:24px}@media (max-width:1250px){.project-metrics>div{padding:17px 14px}.project-metrics strong{font-size:21px}.project-metrics small{font-size:10px}}@media (max-width:1020px){.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-metrics>div:nth-child(2){border-right:0}.project-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.procurement-controls>.search-input{margin-left:0}.procurement-controls>.tabs{flex-grow:0;flex-basis:100%;width:max-content}.procurement-controls>.tabs>button{flex:1}}@media (max-width:760px){.project-metrics{margin-top:16px;margin-bottom:22px}.project-metrics strong{font-size:20px}.project-metrics>div{gap:7px;padding:16px 12px}.project-metrics span{font-size:11px}.procurement-section .section-heading h2{font-size:17px}.procurement-section .section-heading p{font-size:11px}.procurement-controls>select{max-width:45%;font-size:11px}.procurement-controls>.search-input{min-width:140px}.procurement-section>.filter-chips{gap:7px}.procurement-section>.filter-chips button{min-height:40px}.materials-table>table>thead>tr>th:first-child,.materials-table>table>tbody>tr:not(.material-history-row)>td:first-child{width:200px;min-width:200px;max-width:200px}.material-name{max-width:180px}.material-history{padding:16px}.material-comparison{gap:16px}.report-explanation{font-size:11px}.project-hub>.page-heading,.project-hub>.page-heading>.heading-actions{flex-wrap:wrap}}.director-page{max-width:1460px}.director-page>.panel{margin-bottom:22px}.director-page .panel-heading{padding:21px 24px}.director-page .panel-heading h2{font-size:16px}.director-page .panel-heading p{margin-top:6px;font-size:12px;line-height:1.7}.director-date{color:var(--muted);font-size:12px}.director-money{border:1px solid var(--border);background:var(--surface);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px;display:grid;overflow:hidden}.director-money>button{text-align:left;border-right:1px solid var(--border);padding:23px 24px}.director-money>button:last-child{border-right:0}.director-money>button:hover{background:var(--surface-alt)}.director-money span{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;font-size:13px;display:flex}.director-money strong{letter-spacing:-.7px;font-variant-numeric:tabular-nums;margin:14px 0 9px;font-size:28px;display:block}.director-money small{font-size:11px}.director-clear{color:var(--muted);padding:12px 24px 23px;font-size:13px}.director-decision{border-top:1px solid var(--border);align-items:center;gap:16px;padding:19px 24px;display:flex}.director-decision>svg{color:var(--muted)}.director-decision>button:not(.button){text-align:left;flex:1;min-width:0;padding:0}.director-decision strong{font-size:13px;line-height:1.65;display:block}.director-decision span,.director-decision small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.65;display:block}.director-decision small.text-danger{align-items:center;gap:5px;display:flex}.director-decision-value{text-align:right;flex-shrink:0}.director-decision>.button{margin-left:9px;font-size:12px}.director-problem-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 24px 20px;display:grid}.director-problem-options>button{border:1px solid var(--border);text-align:left;border-radius:7px;align-items:center;gap:11px;min-height:54px;padding:14px;display:flex}.director-problem-options>button:hover,.director-problem-options>button.active{background:var(--surface-alt)}.director-problem-options>button>span{flex:1;font-size:12px;line-height:1.6}.director-problem-options>button>svg{color:var(--muted)}.director-problem-options strong{font-variant-numeric:tabular-nums;font-size:20px}.director-problem-list{border-top:1px solid var(--border);max-height:360px;padding:0 24px;overflow:auto}.director-problem-list>button{border-bottom:1px solid var(--border);text-align:left;align-items:center;gap:18px;width:100%;padding:16px 0;display:flex}.director-problem-list>button>span:first-child{flex:1}.director-problem-list strong{font-size:12px;line-height:1.7;display:block}.director-problem-list small{margin-top:4px;display:block}.director-problem-list .director-clear{padding:18px 0}.director-projects table{width:100%;min-width:850px}.director-projects td{vertical-align:middle;padding:19px 20px;font-size:12px}.director-projects th{white-space:nowrap;font-size:11px}.director-projects td:first-child{min-width:230px}.director-projects td small{margin-top:7px;line-height:1.7;display:block}.director-projects .text-link{text-align:left;line-height:1.7}.director-projects .numeric{font-variant-numeric:tabular-nums}.section-directory{margin:28px 0}.section-directory>h2{margin-bottom:17px;font-size:16px}.section-directory>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.section-directory button{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:8px;align-items:center;gap:14px;min-height:72px;padding:21px 18px;display:flex}.section-directory button:hover{background:var(--surface-alt)}.section-directory button>strong{flex:1;font-size:12px;line-height:1.6}.section-directory button>svg{color:var(--muted)}@media (max-width:1250px){.director-money>button{padding:20px 18px}.director-money strong{font-size:24px}.director-problem-options{grid-template-columns:1fr;padding:0 20px 20px}.director-problem-options>button{padding:12px 15px}.director-problem-options>button>span{font-size:13px}}@media (max-width:760px){.director-money{grid-template-columns:1fr;margin-bottom:20px}.director-money>button{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:1fr auto;gap:8px;padding:18px;display:grid}.director-money>button:last-child{border-bottom:0}.director-money span{font-size:12px}.director-money span svg{display:none}.director-money strong{grid-row:span 2;align-self:center;margin:0;font-size:22px}.director-money small{font-size:10px}.director-page .panel-heading{gap:12px;padding:18px 17px}.director-page .panel-heading h2{font-size:14px}.director-page .panel-heading .link{font-size:11px}.director-decision{flex-wrap:wrap;gap:10px;padding:17px}.director-decision>svg{display:none}.director-decision strong{font-size:12px}.director-decision>button:not(.button){flex-basis:65%}.director-decision-value{flex:1}.director-decision>.button{width:100%;min-height:42px;margin:0}.director-decision small,.director-decision span{font-size:11px}.director-problem-options{padding:0 17px 17px}.director-date{display:none}.section-directory>div{grid-template-columns:1fr}.section-directory button{min-height:65px}.section-directory button>strong{font-size:13px}}.line-mapping{max-width:360px;margin:9px 0 2px}.line-mapping>summary{color:var(--blue);min-height:28px;padding:6px 0;font-size:10px}.line-mapping label{margin:8px 0;display:block}.line-mapping label>span{color:var(--muted);margin:7px 0;font-size:10px;line-height:1.6;display:block}.line-mapping select,.line-mapping input{width:100%;font-size:11px}.table-hint{color:var(--muted);margin:0 0 12px;font-size:11px;line-height:1.7}.budget-workspace{gap:22px;display:grid}.budget-workspace>.section-heading{margin-bottom:0}.budget-workspace h2{font-size:20px}.budget-overview,.project-tree{min-width:800px}.budget-overview td,.project-tree td{vertical-align:middle;height:72px}.budget-section-name{align-items:center;gap:6px;display:flex}.budget-section-name .text-link{text-align:left;white-space:normal;line-height:1.45}.tree-spacer{flex:none;width:32px}.tree-address{color:var(--muted);margin:4px 0 0 40px;display:block}.budget-materials{border:1px solid var(--border);background:var(--surface,#fff);border-radius:12px;padding:24px}.budget-materials .back-link{margin:0 0 12px}.budget-editor{margin:24px 0}.budget-editor-layout{border:1px solid var(--border);border-radius:10px;grid-template-columns:220px minmax(0,1fr);display:grid;overflow:hidden}.budget-section-list{background:var(--surface-muted,#f7f9fc);border-right:1px solid var(--border);padding:10px}.budget-section-list>button{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:7px;grid-template-columns:1fr 16px;gap:5px;padding:12px;display:grid}.budget-section-list>button strong{color:var(--muted);grid-column:1;font-size:12px}.budget-section-list>button svg{grid-area:1/2/3;align-self:center}.budget-section-list>button.selected{background:var(--primary-soft,#eaf0ff);color:var(--primary)}.budget-section-edit{min-width:0;padding:18px}.budget-section-edit .form-grid{grid-template-columns:1fr 1fr}.budget-edit-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.budget-paste{background:var(--surface-muted,#f6f8fc);border-radius:8px;margin-bottom:12px;padding:12px}.budget-paste p{margin-bottom:10px;font-size:12px}.budget-paste textarea{width:100%;margin-bottom:10px}.budget-lines{min-width:740px}.budget-lines th{font-size:11px}.budget-lines td{vertical-align:top;padding:8px 6px}.budget-lines input{width:90px;min-height:36px}.budget-lines input[type=checkbox]{width:17px;height:17px;min-height:17px;margin-top:10px}.budget-lines td:nth-child(2){min-width:250px}.budget-lines td:nth-child(2) input{width:100%}.budget-lines td:nth-child(2) select{min-height:25px;color:var(--muted);background:0 0;border:0;padding:2px;font-size:11px}.budget-lines td:nth-child(3) input{width:55px}.budget-lines .note-input{background:0 0;border:0;min-height:25px;font-size:11px}.duplicate-line td{background:#fff8e7}.text-warning{color:#9c6412;align-items:center;gap:4px;display:flex}.budget-editor .form-totals{margin-top:16px}.budget-section-edit .notice{font-size:12px}.budget-section-edit h4{margin:0;font-size:15px}.budget-workspace .notice{line-height:1.5}.project-tree .heading-actions{flex-wrap:nowrap}@media (max-width:1000px){.budget-editor-layout{grid-template-columns:1fr}.budget-section-list{border-right:0;border-bottom:1px solid var(--border);gap:6px;display:flex;overflow-x:auto}.budget-section-list>button{flex-shrink:0;min-width:170px;max-width:230px}.budget-section-edit{padding:12px}}@media (max-width:600px){.budget-workspace>.section-heading{flex-direction:column;align-items:flex-start;gap:12px}.budget-workspace .heading-actions{flex-wrap:wrap}.budget-section-edit .form-grid{grid-template-columns:1fr}.budget-materials{padding:12px}.budget-editor .section-heading{flex-wrap:wrap;gap:10px}.budget-workspace .button{font-size:12px}.project-tree td,.budget-overview td{height:64px}}:root{--bg:#f5f7f8;--text:#24322f;--muted:#667572;--border:#e1e8e6;--blue:#226454;--blue-soft:#eaf3ef;--teal:#24745c;--teal-soft:#eaf5ee;--sidebar:254px}[data-theme=dark]{--bg:#121b19;--surface:#1b2723;--surface-alt:#22312b;--text:#e8f0ec;--muted:#a9bbb2;--border:#35443d;--blue:#8dd3b6;--blue-soft:#263f33;--teal:#8dd3b6;--teal-soft:#263f33}html,body{font-size:14px}.button{border-radius:9px;min-height:42px;font-size:13px}.button.small{min-height:36px;font-size:12px}.icon-button{width:38px;height:38px}.link,.text-link{font-size:13px}.badge{border-radius:7px;padding:6px 9px;font-size:11px}.page-heading p{font-size:13px;line-height:1.7}.page-kicker,.breadcrumb{font-size:12px}.sidebar{padding-top:24px}.sidebar>.brand{letter-spacing:-.4px;gap:10px;margin-bottom:26px;padding:0 7px;font-size:17px}.brand-symbol{object-fit:contain}.nav-item{min-height:44px;padding:10px 12px;font-size:13px}.nav-group>p{letter-spacing:1px;margin-top:14px;font-size:10px}.sidebar-foot strong,.profile-mini strong{font-size:12px}.sidebar-foot small,.profile-mini small{font-size:11px}.topbar{gap:20px;height:68px}.global-search{background:var(--bg);max-width:380px;min-height:40px;font-size:12px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:12px;line-height:1.6}.tabs>button{padding-top:16px;padding-bottom:14px;font-size:13px}.tabs>button>span{font-size:11px}.tabs{gap:24px}.page{max-width:1640px;padding:28px 30px}.registry-table th,.budget-overview th,.project-tree th{padding:15px 16px;font-size:12px}.registry-table td,.budget-overview td,.project-tree td{padding:17px 16px;font-size:13px}.registry-table .record-link strong{font-size:13px;line-height:1.6}.registry-table .record-link small,.registry-table .subtext{margin-top:6px;font-size:11px}.registry-table .record-link{align-items:center;gap:11px;display:flex}.registry-table .record-icon{flex:none;display:flex}.registry-table .record-link>span:last-child{min-width:0;display:block}.registry-table .project-cell{vertical-align:middle;display:table-cell}.registry-table tbody tr:hover>td{background:var(--surface-alt)}.registry-table tbody tr.selected>td{background:var(--blue-soft)}.field>span{font-size:13px}.field>small{font-size:12px;line-height:1.5}.field input,.field select,.field textarea{min-height:42px;font-size:14px}.field input[type=file]{max-width:100%;font-size:12px}.full-field{grid-column:1/-1}.modal-header h2{font-size:20px}.modal-footer{padding:18px 24px}.drawer-heading{padding:30px 26px 24px}.drawer-heading h2{padding-right:22px;font-size:25px;line-height:1.4}.drawer-content{padding:24px 26px}.drawer .tabs{gap:20px;padding:0 26px}.drawer{width:min(960px,94vw)}.detail-fields>div>span,.detail-fields>div>strong{font-size:13px}.detail-fields>div>strong{line-height:1.6}.document-actions{flex-wrap:wrap;gap:9px}.document-subtitle{font-size:12px}.history-row strong{font-size:14px}.history-row p,.history-row small{font-size:12px;line-height:1.7}.empty h3{font-size:17px}.empty p{max-width:460px;font-size:13px;line-height:1.7}.empty{padding:36px 24px}.section-heading{gap:15px}.section-heading h3{font-size:17px}.section-heading p{font-size:12px}.embedded-create{justify-content:flex-end;margin:16px 0;display:flex}.embedded .registry-toolbar{margin-top:16px}.app-footer{font-size:11px}.count{font-size:12px}.button.primary{box-shadow:none}.selected-row td{background:var(--blue-soft)}[data-theme=dark] .brand-symbol{filter:invert()}[data-theme=dark] .budget-section-list,[data-theme=dark] .budget-paste{background:var(--surface-alt)}[data-theme=dark] .budget-section-list>button.selected{background:var(--blue-soft);color:var(--blue)}.invoice-filter-bar{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;gap:6px;width:max-content;max-width:100%;margin:0 0 22px;padding:5px;display:flex}.invoice-filter-bar>button{color:var(--muted);border-radius:8px;align-items:center;gap:9px;min-height:42px;padding:10px 14px;font-size:13px;display:flex}.invoice-filter-bar>button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.invoice-filter-bar>button>span{background:var(--bg);border-radius:5px;padding:2px 6px;font-size:11px}.payment-column{min-width:210px}.invoice-payment-cell{text-align:left;gap:6px;min-width:175px;display:grid}.invoice-payment-cell>div:first-child{justify-content:space-between;gap:10px;font-size:11px;display:flex}.invoice-payment-cell>span{white-space:nowrap;font-size:12px;font-weight:650}.invoice-payment-cell>small{font-size:11px}.invoice-payment-cell.payment-paid>div:first-child{color:var(--teal)}.invoice-payment-cell.payment-partial>div:first-child{color:var(--amber)}.payment-meter{background:var(--border);border-radius:20px;height:5px;overflow:hidden}.payment-meter>i{background:var(--teal);border-radius:20px;height:100%;display:block}.payment-meter.large{height:9px;margin:2px 0 15px}.payment-partial .payment-meter>i{background:var(--amber)}.invoice-stages-compact{gap:9px;min-width:135px;display:grid}.invoice-stages-compact>span{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.invoice-stages-compact>.is-done{color:var(--teal)}.invoice-stages-compact>.is-current{color:var(--amber)}.invoice-stages{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:0 0 24px;display:grid}.invoice-stages>button{text-align:left;border-right:1px solid var(--border);align-items:flex-start;gap:9px;min-width:0;padding:17px 12px;display:flex;position:relative}.invoice-stages>button:last-child{border-right:0}.invoice-stages>button:hover{background:var(--blue-soft)}.stage-circle{background:var(--surface);border:1px solid var(--border);width:28px;height:28px;color:var(--muted);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.invoice-stages strong{margin:2px 0 5px;font-size:12px;display:block}.invoice-stages small{font-size:11px;line-height:1.5;display:block}.invoice-stages .is-done .stage-circle{color:var(--teal);background:var(--teal-soft);border-color:#0000}.invoice-stages .is-current .stage-circle{color:var(--amber);background:var(--amber-soft);border-color:#0000}.stage-arrow{display:none}.invoice-payments{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 0 26px;padding:22px}.invoice-payments>.section-heading{align-items:center;margin:0 0 20px}.payment-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.payment-summary>div>span{color:var(--muted);margin-bottom:9px;font-size:12px;display:block}.payment-summary b{background:var(--teal-soft);color:var(--teal);border-radius:4px;margin-left:4px;padding:3px 5px;font-size:10px}.payment-summary strong{white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.6px;font-size:21px}.payment-last{color:var(--muted);font-size:12px;line-height:1.7}.payment-owner{background:var(--surface-alt);border-radius:9px;align-items:center;gap:12px;margin:25px 0;padding:16px;display:flex}.payment-owner>div{flex:1;min-width:0}.payment-owner span{color:var(--muted);margin-bottom:7px;font-size:12px;display:block}.payment-owner select{background:var(--surface);max-width:360px}.payment-planned{margin:25px 0}.payment-planned>h4{margin-bottom:10px;font-size:15px}.payment-plan-row{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:16px 0;display:flex}.payment-plan-row>div{flex:1}.payment-plan-row small{margin-top:6px;display:block}.payment-plan-row>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.payment-plan-row>svg{color:var(--amber)}.payment-entry{border-top:1px solid var(--border);gap:13px;padding:19px 0;display:flex}.payment-entry-icon{background:var(--teal-soft);width:32px;height:32px;color:var(--teal);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.payment-entry-body{flex:1;min-width:0}.payment-entry-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.payment-entry-heading small{margin-top:6px;line-height:1.6;display:block}.payment-entry-amount{text-align:right;white-space:nowrap}.payment-entry-amount strong{font-variant-numeric:tabular-nums;font-size:16px}.payment-entry-body>p{margin:10px 0;font-size:12px}.payment-attachments{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.attachment-download{background:var(--blue-soft);color:var(--blue);border-radius:8px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:10px 12px;font-size:12px;display:inline-flex}.attachment-download>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.payment-amount-picker{background:var(--surface-alt);border:1px solid var(--border);border-radius:10px;padding:18px;line-height:1.7}.payment-shortcuts{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.payment-shortcuts>button{border:1px solid var(--border);background:var(--surface);border-radius:7px;min-height:38px;padding:8px 11px;font-size:12px}.payment-shortcuts>button:hover{border-color:var(--blue);color:var(--blue)}@media (max-width:1150px){.registry-table .hide-medium{display:none}.sidebar{width:230px}:root{--sidebar:230px}.nav-item{font-size:12px}.page{padding:24px}.payment-summary strong{font-size:18px}}@media (max-width:760px){.page{padding:22px 16px}.drawer{width:100vw}.drawer-heading{padding:26px 18px 20px}.drawer-content{padding:20px 16px}.drawer .tabs{gap:22px;padding:0 18px}.drawer-heading h2{font-size:22px}.button{min-height:44px}.icon-button{min-width:40px;min-height:40px}.topbar{padding:0 14px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.invoice-filter-bar{gap:2px;width:100%}.invoice-filter-bar>button{flex:1;justify-content:center;padding:9px 7px;font-size:11px}.invoice-filter-bar>button>span{display:none}.invoice-payments{padding:17px}.payment-summary{grid-template-columns:1fr 1fr;gap:10px}.payment-summary>div:first-child{border-bottom:1px solid var(--border);grid-column:1/-1;justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.payment-summary>div:first-child>span{margin:0}.payment-summary strong{font-size:18px}.invoice-stages{grid-template-columns:1fr 1fr}.invoice-stages>button{border-bottom:1px solid var(--border);min-height:76px;padding:14px 12px}.invoice-stages>button:last-child{border-bottom:0}.invoice-stages strong{font-size:12px}.payment-plan-row{flex-wrap:wrap}.payment-plan-row>.button{width:100%}.payment-entry-icon{display:none}.payment-entry-heading{gap:8px}.payment-entry-amount strong{font-size:14px}.payment-owner{padding:13px}.invoice-payments .section-heading .button{font-size:11px}.invoice-payments .section-heading h3{font-size:16px}.invoice-payment-cell{min-width:175px}.full-field{grid-column:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.avatar{position:relative;overflow:hidden}.avatar>img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.profile-banner>.avatar{width:76px;height:76px;font-size:24px}.profile-photo-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;display:flex}.profile-photo-actions>small{text-align:right;width:100%;font-size:11px}.estimate-picker-table{margin-top:20px}.estimate-picker-table table{min-width:700px}.estimate-picker-table td{vertical-align:middle;padding:16px 12px}.estimate-picker-table td small{margin-top:6px;display:block}.estimate-picker-table th{font-size:12px}.estimate-quantity{align-items:center;gap:8px;display:flex}.estimate-quantity input{width:105px}.matching-list{margin-top:20px}.matching-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 24px minmax(0,1.4fr);align-items:center;gap:18px;padding:22px 0;display:grid}.matching-row>div>strong{font-size:14px;line-height:1.6}.matching-row small{margin-top:7px;font-size:12px;line-height:1.7;display:block}.matching-row>svg{color:var(--blue)}.matching-row label>span{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.conversion-field{background:var(--amber-soft);border-radius:8px;margin-top:13px;padding:12px;display:block}.conversion-field input{max-width:220px}.line-mapping>summary{padding:9px 0;font-size:12px}.line-mapping label>span,.line-mapping input,.line-mapping select,.line-editor .note-input{font-size:12px}@media (max-width:760px){.profile-photo-actions{width:100%;margin-left:0}.profile-photo-actions>small{text-align:left}.profile-banner{flex-wrap:wrap}.matching-row{grid-template-columns:1fr;gap:8px}.matching-row>svg{display:none}}:root{--bg:#edf2ef;--border:#d9e2dc}[data-theme=dark]{--bg:#111a16;--border:#35473d}.panel,.metric,.project-metrics,.director-money,.registry-table,.budget-materials{border-color:var(--border);box-shadow:0 2px 5px #173b2510,0 0 0 1px #173b2503}.panel,.metric,.project-metrics{border-radius:13px}.panel-heading{background:var(--surface);padding-bottom:19px}.budget-workspace .panel{background:var(--surface)}.registry-table tbody>tr:nth-child(2n)>td{background:color-mix(in srgb,var(--surface-alt) 65%,var(--surface))}.registry-table tbody>tr:hover>td{background:var(--blue-soft)}.metric:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:0 6px 16px #183e2614}.login-minimal{background:#f2f5f2;place-items:center;min-height:100dvh;padding:40px 20px;display:grid}.login-card{background:#fff;border:1px solid #dde5de;border-radius:20px;width:100%;max-width:420px;padding:36px 36px 26px;box-shadow:0 12px 45px #173b2509}.login-brand{color:#172322;letter-spacing:-.7px;justify-content:center;align-items:center;gap:13px;margin-bottom:32px;font-size:20px;font-weight:800;display:flex}.login-card h1{letter-spacing:-.6px;text-align:center;color:#24322f;margin:0 0 26px;font-size:21px;font-weight:650}.login-card form{gap:19px;display:grid}.login-card .field{margin:0}.login-card .field>span{font-size:12px}.login-card input{color:#24322f;background:#fff;min-height:46px}.login-card>.login-support{text-align:center;color:#728078;margin:24px -10px 0;font-size:11px;line-height:1.7}.login-card .button.primary{color:#fff;background:#226454;min-height:46px;font-size:14px}.login-demo{border-top:1px solid #e6ece7;margin-top:23px;padding-top:17px}.login-demo summary{color:#667572;justify-content:center;align-items:center;gap:8px;min-height:30px;font-size:12px;list-style:none;display:flex}.login-demo summary::-webkit-details-marker{display:none}.login-demo[open] summary>svg{transform:rotate(180deg)}.login-demo>div{gap:10px;padding-top:14px;display:grid}.login-demo select,.login-demo .button{color:#24322f;background:#fff}.login-card .brand-symbol{filter:none}@keyframes optim-page-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes optim-panel-in{0%{opacity:0;transform:translateY(4px)scale(.995)}to{opacity:1;transform:none}}@keyframes optim-drawer-in{0%{opacity:.6;transform:translate(28px)}to{opacity:1;transform:translate(0)}}@keyframes optim-fade-in{0%{opacity:0}to{opacity:1}}@keyframes optim-progress-in{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.page{animation:.24s ease-out optim-page-in}.panel,.login-card{animation:.24s ease-out optim-panel-in}.modal{animation:.18s ease-out optim-modal-in}.drawer{animation:.24s ease-out optim-drawer-in}.dialog-overlay{animation:.18s ease-out optim-fade-in}.toast{animation:.2s ease-out optim-fade-in}.metric,.project-summary,.nav-item,.button,.icon-button,.filter-chips button,.invoice-filter-bar button,.project-object-card{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:scale(.975)}.nav-item:hover{transform:translate(2px)}.payment-meter>i,.budget-track>i{transform-origin:0;transition:width .45s cubic-bezier(.2,.7,.2,1);animation:.5s ease-out optim-progress-in}.tabs>button{transition:color .18s,border-color .18s}.invoice-stages>button:hover .stage-circle{transform:scale(1.07)}.stage-circle{transition:transform .18s}.profile-photo-actions .button:hover{border-color:var(--blue)}@media (max-width:480px){.login-minimal{padding:24px 18px}.login-card{border-radius:16px;padding:30px 24px 24px}.login-brand{margin-bottom:28px;font-size:19px}.login-brand>img{width:48px;height:46px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.metric:hover,.nav-item:hover,.button:active,.icon-button:active{transform:none!important}}.login-card{padding-top:32px}.login-brand{gap:11px;margin-bottom:24px;font-size:19px;line-height:1}.login-brand>.brand-symbol{width:44px;height:42px;display:block}.login-brand>span{line-height:1.1;display:block}.login-card h1{margin-bottom:24px}.login-card .button.primary{position:relative}.login-card .button.primary>svg:last-child:not(.spin){position:absolute;right:18px}.login-card form>.field{gap:8px;display:grid}.login-card .field>span{margin:0}.login-card form{gap:18px}.login-support{margin-top:18px!important}.invoice-stages{background:0 0;border:0;gap:6px;overflow:visible}.invoice-stages>button{background:var(--surface-alt);border-radius:9px;padding:16px 12px;border:1px solid var(--border)!important}.invoice-stages>button.is-done{color:#fff;background:#2b795c;border-color:#2b795c!important}.invoice-stages>button.is-done small{color:#e7f6ee}.invoice-stages>button.is-done .stage-circle{color:#fff;background:#ffffff25;border:1px solid #ffffff50}.invoice-stages>button.is-done:hover{background:#25684f}.invoice-stages>button.is-current{background:var(--amber-soft);border-color:#d6ae66!important}.invoice-stages>button.is-current strong{color:var(--amber)}.invoice-stages-compact>span.is-done{background:var(--teal-soft);border-radius:5px;padding:4px 6px}.invoice-stages-compact>span.is-current{background:var(--amber-soft);border-radius:5px;padding:4px 6px}.invoice-registry{overflow:visible;container-type:inline-size}.invoice-registry>table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.invoice-registry th{text-align:left;color:var(--muted);background:var(--surface-alt);border-bottom:1px solid var(--border);padding:16px 15px;font-size:12px;font-weight:600}.invoice-registry th button{text-align:left;align-items:center;gap:7px;padding:0;display:inline-flex}.invoice-registry td{border-bottom:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere;padding:19px 15px;font-size:13px;line-height:1.6}.invoice-registry tr:last-child td{border-bottom:0}.invoice-registry .invoice-select{text-align:center;width:42px;padding-left:14px;padding-right:6px}.invoice-registry .invoice-main{width:31%}.invoice-registry .invoice-object{width:21%}.invoice-registry .invoice-money{width:25%}.invoice-registry .invoice-state{width:auto}.invoice-title{text-align:left;width:100%;color:var(--text);align-items:center;gap:10px;padding:0;display:flex}.invoice-title>span{flex:1;min-width:0}.invoice-title strong{font-size:14px;line-height:1.55;display:block}.invoice-title small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6;display:block}.invoice-title>svg{color:var(--muted)}.invoice-title:hover strong{color:var(--blue)}.invoice-meta{color:var(--muted);flex-wrap:wrap;gap:3px 10px;margin-top:9px;font-size:11px;display:flex}.invoice-object>.text-link{white-space:normal;text-align:left;font-size:12px;line-height:1.7}.invoice-registry .invoice-payment-cell{min-width:0}.invoice-registry .invoice-payment-cell>span{white-space:normal}.invoice-registry .invoice-payment-cell>div:first-child{line-height:1.5}.invoice-registry .invoice-stages-compact{gap:6px;min-width:0}.invoice-stages-compact>span{width:fit-content;max-width:100%;line-height:1.5}.payment-cell-button{text-align:left;width:100%;padding:0;display:block}.invoice-responsible{margin-top:8px;font-size:11px;line-height:1.5;display:block}.invoice-inline-object{display:none!important}.invoice-registry tbody tr:hover td{background:var(--surface-alt)}.invoice-registry tbody tr.selected-row td{background:var(--blue-soft)}.invoice-load-more{width:100%;color:var(--blue);border-top:1px solid var(--border);padding:16px;font-size:13px}@container (max-width:850px){.invoice-registry .invoice-object{display:none}.invoice-registry .invoice-inline-object{text-align:left;margin-top:9px;font-size:11px;line-height:1.5;display:inline-flex!important}.invoice-registry .invoice-main{width:38%}.invoice-registry .invoice-money{width:31%}.invoice-registry th,.invoice-registry td{padding-left:11px;padding-right:11px}.invoice-registry .invoice-select{width:35px;padding-left:12px;padding-right:0}.invoice-registry .invoice-state{width:auto}}@container (max-width:620px){.invoice-registry>table,.invoice-registry tbody{display:block}.invoice-registry thead{display:none}.invoice-registry tbody tr{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:15px;padding:20px;display:grid;position:relative}.invoice-registry tbody tr:last-child{border-bottom:0}.invoice-registry td{border:0;display:block;background:0 0!important;width:auto!important;padding:0!important}.invoice-registry .invoice-select{position:absolute;top:20px;right:18px}.invoice-registry .invoice-main{grid-column:1/-1;padding-right:25px!important}.invoice-registry .invoice-object,.invoice-registry .invoice-title>svg{display:none}.invoice-registry .invoice-state{border-left:1px solid var(--border);padding-left:15px!important}.invoice-registry tbody tr:hover{background:var(--surface-alt)}.invoice-registry tbody tr.selected-row{background:var(--blue-soft)}}.people-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;width:100%;min-width:0;display:grid}.person-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px 12px;min-width:0;padding:21px;display:grid;box-shadow:0 2px 5px #173b250c}.person-card>.avatar{grid-area:1/1/4;width:42px;height:42px}.person-card>h3{overflow-wrap:anywhere;grid-column:2;margin:0;font-size:14px;line-height:1.5}.person-card>p{color:var(--muted);overflow-wrap:anywhere;grid-column:2;margin:0;font-size:12px;line-height:1.5}.person-card>.badge{grid-column:2;justify-self:start;margin-top:3px;font-size:10px}.project-overview-simple{gap:22px;margin-top:24px;display:grid}.overview-top{grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px;display:grid}.overview-budget,.overview-attention,.overview-children{padding:24px}.overview-budget .section-heading{margin:0 0 25px}.overview-budget h2,.overview-attention h2{font-size:17px}.overview-budget-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px;display:grid}.overview-budget-values span{color:var(--muted);margin-bottom:9px;font-size:12px;line-height:1.6;display:block}.overview-budget-values strong{letter-spacing:-.5px;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(17px,1.7vw,24px)}.overview-budget .budget-track{height:7px}.overview-budget>p{margin-top:10px;font-size:11px}.overview-attention>h2{margin-bottom:15px}.overview-attention>button{border-bottom:1px solid var(--border);text-align:left;align-items:center;gap:10px;width:100%;padding:13px 0;display:flex}.overview-attention>button:last-child{border:0}.overview-attention>button>svg{color:var(--muted)}.overview-attention>button>span{flex:1;font-size:12px;line-height:1.6}.overview-attention>button>strong{color:var(--amber);font-size:16px}.overview-clear{color:var(--teal);align-items:center;gap:12px;padding:28px 0;display:flex}.overview-children>button{text-align:left;border-top:1px solid var(--border);align-items:center;gap:12px;width:100%;padding:15px 0;display:flex}.overview-children>button>strong{flex:1;min-width:0}.overview-recent .compact-list>button{gap:15px;padding:18px 24px}.overview-recent .compact-list strong{font-size:13px}.overview-recent .compact-list small{font-size:11px}.project-hub>.tabs{flex-wrap:wrap;gap:6px 22px;overflow-x:visible}@media (max-width:1220px){.overview-top{grid-template-columns:1fr}.overview-attention{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.overview-attention>h2{width:100%;margin:0}.overview-attention>button{border:0;flex:1;min-width:200px}.overview-budget-values strong{font-size:23px}}@media (max-width:760px){.overview-budget,.overview-attention{padding:19px}.overview-budget-values{grid-template-columns:1fr 1fr;gap:18px}.overview-budget-values>div:first-child{grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.overview-budget-values>div:first-child>span{margin:0}.overview-budget-values strong{font-size:20px}.overview-attention>button{flex-basis:100%;width:100%}.overview-recent .compact-list>button{flex-wrap:wrap;padding:17px}.overview-recent .compact-list>button>span{flex-basis:65%}}@keyframes optim-modal-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.985)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.page>.tabs{margin-bottom:24px}.project-hub>.tabs{flex-wrap:wrap;gap:0 22px;margin-bottom:24px}.metric-strip:has(>.metric:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.metric-strip .metric{min-width:0}.local-environment{min-height:25px;color:var(--muted);background:var(--surface-alt);border-bottom:1px solid var(--border);justify-content:center;align-items:center;gap:7px;font-size:11px;display:flex}.local-environment .online-dot{width:5px;height:5px}.help-entry{text-align:left;width:100%;color:var(--text);border-radius:9px;align-items:center;gap:10px;margin-top:auto;padding:14px 12px;font-size:13px;display:flex}.help-entry:hover{background:var(--surface-alt)}.help-entry>span{flex:1}.help-content{padding:0 26px 30px}.help-content>.search-input{max-width:none;margin-bottom:20px}.help-answer{border-bottom:1px solid var(--border);padding:0 4px}.help-answer summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:19px 0;font-size:14px;font-weight:650;line-height:1.5;list-style:none;display:flex}.help-answer summary::-webkit-details-marker{display:none}.help-answer summary svg{flex:none;transition:transform .18s}.help-answer[open] summary svg{transform:rotate(180deg)}.help-answer p{color:var(--muted);padding-bottom:20px;font-size:14px;line-height:1.85}.notification-heading{align-items:center;gap:14px;padding-right:60px;display:flex}.notification-heading>div{flex:1}.notification-heading p{color:var(--muted);margin-top:5px;font-size:12px}.notification-hero-icon{background:var(--blue-soft);width:48px;height:48px;color:var(--blue);border-radius:14px;place-items:center;display:grid}.notification-controls{border-bottom:1px solid var(--border);padding:0 26px 16px}.notification-controls .invoice-filter-bar{flex-wrap:wrap;display:flex}.notification-controls .search-input{max-width:none;margin-top:16px}.notification-feed{padding:8px 26px 28px}.notification-feed section>h3{color:var(--muted);padding:20px 0 12px;font-size:12px;font-weight:600}.notification-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:flex-start;gap:12px;margin-bottom:10px;padding:17px 14px;display:flex}.notification-card.unread{background:var(--blue-soft);border-color:color-mix(in srgb,var(--blue) 25%,var(--border))}.notification-type{background:var(--surface);width:34px;height:34px;color:var(--blue);border-radius:10px;flex:none;place-items:center;display:grid}.notification-open{text-align:left;flex:1;min-width:0}.notification-open strong{font-size:14px;line-height:1.55;display:block}.notification-open p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0 8px;font-size:13px;line-height:1.7}.notification-open small{color:var(--muted);font-size:11px}.notification-card>.icon-button{flex:none}.supplier-symbol{color:var(--blue);background:var(--blue-soft);border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.supplier-totals{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px;padding:20px;display:grid}.supplier-totals span{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.supplier-totals strong{overflow-wrap:anywhere;font-size:20px}.supplier-invoices{gap:12px;margin-top:20px;display:grid}.supplier-invoice{border:1px solid var(--border);text-align:left;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px;padding:18px;display:grid}.supplier-invoice:hover{border-color:var(--blue);background:var(--surface-alt)}.supplier-invoice strong{font-size:14px;display:block}.supplier-invoice small{color:var(--muted);margin:6px 0;font-size:12px;line-height:1.65;display:block}.supplier-invoice .badge{margin-top:4px}.supplier-invoice-money{text-align:right}.supplier-invoice-money .payment-meter{height:5px;margin:7px 0;display:block}.supplier-contacts{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;display:grid}.supplier-contact{border:1px solid var(--border);border-radius:12px;grid-template-columns:1fr auto;gap:12px;padding:20px;display:grid}.supplier-contact p{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6}.supplier-contact a{overflow-wrap:anywhere;grid-column:1/-1;align-items:center;gap:10px;font-size:13px;display:flex}.copyable-detail{-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}.invoice-source-actions{flex-wrap:wrap;gap:14px;margin:9px 0;display:flex}.invoice-source-actions .link,.invoice-source-actions>.muted{font-size:11px}.invoice-source-actions .link{align-items:center;gap:5px;display:inline-flex}.invoice-registry td{vertical-align:middle}select{border:1px solid var(--border);background-color:var(--surface);min-height:42px;color:var(--text);cursor:pointer;border-radius:9px;padding:10px 34px 10px 13px;font-size:13px;transition:border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #17232205}select:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--border))}select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media (max-width:760px){.metric-strip:has(>.metric:nth-child(3):last-child){grid-template-columns:1fr}.local-environment{font-size:10px}.supplier-totals{grid-template-columns:1fr;gap:12px}.supplier-totals>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.supplier-totals span{margin:0}.supplier-invoice{grid-template-columns:1fr;gap:8px}.supplier-invoice-money{text-align:left}.help-content,.notification-feed{padding:0 18px 24px}.notification-controls{padding:0 18px 16px}}.select-trigger{background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:9px;align-items:center;gap:9px;width:100%;min-height:44px;padding:9px 12px;font-size:13px;display:flex;box-shadow:0 1px 2px #17232205}.select-trigger>span:not(.avatar){overflow-wrap:anywhere;flex:1;min-width:0}.select-trigger>svg{color:var(--muted);flex:none}.select-trigger:hover,.select-trigger[data-state=open]{border-color:var(--blue)}.select-options{z-index:90;min-width:max(240px,var(--radix-dropdown-menu-trigger-width));background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:calc(100vw - 24px);animation:.12s ease-out optim-fade-in;overflow:hidden;box-shadow:0 14px 44px #17232225}.select-search{background:var(--surface-alt);border:1px solid var(--border);color:var(--muted);border-radius:8px;align-items:center;gap:9px;margin:10px;padding:0 10px;display:flex}.select-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;padding:10px 0;font-size:13px}.select-options-scroll{max-height:min(320px,50vh);padding:3px 6px 6px;overflow-y:auto}.select-option{cursor:pointer;border-radius:7px;outline:0;align-items:center;gap:10px;padding:11px 10px;font-size:13px;display:flex}.select-option>span:not(.avatar){flex:1}.select-option strong{font-weight:600;display:block}.select-option small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.select-option[data-highlighted]{background:var(--blue-soft);color:var(--blue)}.select-empty{color:var(--muted);padding:16px;font-size:13px}.project-work{gap:24px;display:grid}.contract-summary,.contract-stages,.project-files{padding:22px}.contract-summary-row{text-align:left;border-top:1px solid var(--border);align-items:center;gap:15px;width:100%;padding:17px 0;display:flex}.contract-summary-row>svg{color:var(--blue);flex:none}.contract-summary-row>span:not(.badge){flex:1;min-width:0}.contract-summary-row strong{font-size:14px;line-height:1.5}.contract-summary-row small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.7;display:block}.contract-stage-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;display:grid}.contract-stage{background:var(--surface-alt);border:1px solid var(--border);border-radius:11px;padding:20px}.contract-stage .section-heading{margin-bottom:16px}.contract-stage .text-link{text-align:left;font-size:15px}.stage-finance{justify-content:space-between;gap:12px;font-size:12px;line-height:1.8;display:flex}.stage-finance>span>strong{font-size:14px}.contract-stage .payment-meter{height:6px;margin:12px 0;display:block}.stage-document-counts{color:var(--muted);flex-wrap:wrap;gap:8px 18px;margin:14px 0;font-size:11px;line-height:1.7;display:flex}.text-warning{color:#98600c}.work-documents>.search-input{margin:18px 0}.work-document-list{gap:10px;display:grid}.work-document-list>button{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:11px;flex-wrap:wrap;align-items:center;gap:14px;padding:20px;display:flex}.work-document-list>button>span:not(.badge){flex:1;min-width:180px}.work-document-list strong{font-size:14px;line-height:1.6;display:block}.work-document-list small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.work-document-list>button>svg{color:var(--blue)}.member-picker{gap:6px;margin:20px 0;display:grid}.member-picker>label{border:1px solid var(--border);cursor:pointer;border-radius:9px;align-items:center;gap:12px;padding:12px;display:flex}.member-picker>label:has(input:checked){background:var(--blue-soft);border-color:var(--blue)}.member-picker strong{font-size:13px;display:block}.member-picker small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.project-contract-link{margin-top:12px;font-size:13px}.project-overview{gap:22px;display:grid}.project-overview .panel{min-width:0}.project-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.payment-instruction-form{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;margin:18px 0;padding:20px}.payment-instruction-form h3{align-items:center;gap:9px;margin-bottom:18px;font-size:15px;display:flex}.payment-instruction-form .form-grid{margin:0}.amount-input{border:1px solid var(--border);background:var(--surface);border-radius:9px;display:flex;overflow:hidden}.amount-input input{border:0;border-radius:0;width:100%;min-width:0}.amount-input select{border:0;border-left:1px solid var(--border);border-radius:0;flex:none;width:140px;font-size:12px}.queue-controls{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:22px;display:flex}.queue-controls>.search-input{flex:1;min-width:220px}.payment-queue-list{gap:14px;display:grid}.payment-queue-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(140px,.8fr);align-items:center;gap:22px;padding:23px;display:grid;box-shadow:0 2px 6px #17232205}.payment-queue-card.urgent{border-left:4px solid #d89027}.queue-invoice{align-items:flex-start;gap:12px;min-width:0;display:flex}.queue-invoice .text-link{text-align:left;font-size:15px;line-height:1.5}.queue-invoice p{margin:7px 0;font-size:12px;line-height:1.6}.queue-invoice small{color:var(--muted);font-size:11px;line-height:1.65}.queue-symbol{background:var(--blue-soft);width:42px;height:42px;color:var(--blue);border-radius:12px;flex:none;place-items:center;display:grid}.queue-deadline{gap:9px;display:grid}.queue-deadline>span{align-items:center;gap:7px;font-size:13px;display:flex}.urgent .queue-deadline>span{color:#aa680a;font-weight:650}.queue-deadline strong{font-size:13px}.queue-deadline small{color:var(--muted);font-size:11px}.queue-actions{justify-items:stretch;gap:10px;display:grid}.queue-actions>.link{justify-self:center}.payment-queue .invoice-payment-cell{min-width:0}.payment-instruction-note{background:var(--amber-soft);border-radius:10px;align-items:center;gap:10px;margin-bottom:16px;padding:15px 18px;font-size:13px;line-height:1.8;display:flex}.closeout-queue{gap:17px;margin-top:24px;display:grid}.closeout-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:22px;box-shadow:0 2px 6px #17232205}.closeout-card.state-requested{border-left:4px solid #d89027}.closeout-card-heading{align-items:center;gap:14px;display:flex}.closeout-symbol{width:44px;height:44px;color:var(--blue);background:var(--blue-soft);border-radius:12px;flex:none;place-items:center;display:grid}.closeout-card-heading>div{flex:1;min-width:0}.closeout-card-heading .text-link{text-align:left;font-size:15px}.closeout-card-heading p{margin:6px 0;font-size:12px;line-height:1.6}.closeout-card-heading small{color:var(--muted);font-size:11px}.closeout-state{background:var(--surface-alt);border-radius:7px;padding:8px 11px;font-size:12px}.closeout-state.requested{color:#985e0c;background:#fff1d7}.closeout-state.received{color:#1f6c4c;background:#def1e7}.closeout-state.handed,.closeout-state.attached{color:#365fa0;background:#e8effe}.closeout-card footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;margin-top:18px;padding-top:16px;display:flex}.closeout-card footer>span{color:var(--muted);font-size:12px}.closeout-request-summary{color:#8e600e;align-items:center;gap:8px;margin-top:16px;font-size:13px;line-height:1.7;display:flex}.closeout-mini-docs{gap:8px;margin-top:16px;display:grid}.closeout-mini-docs>button{text-align:left;background:var(--surface-alt);border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.closeout-mini-docs>button>span:not(.badge){color:var(--muted);flex:1}.closeout-documents{margin-bottom:28px}.closeout-documents h3{align-items:center;gap:9px;display:flex}.closeout-request{background:var(--amber-soft);border:1px solid #e7d6b2;border-radius:11px;align-items:flex-start;gap:12px;margin:18px 0;padding:17px;font-size:13px;line-height:1.7;display:flex}.closeout-request small{color:var(--muted);font-size:11px}.closeout-request p{margin:6px 0}.closeout-document-list{gap:15px;display:grid}.closeout-document-list>article{border:1px solid var(--border);border-radius:11px;gap:12px;padding:18px;display:grid}.closeout-document-top{align-items:center;gap:11px;display:flex}.closeout-document-top>.text-link{text-align:left;flex:1}.closeout-document-list>article>small{color:var(--muted);font-size:11px}.handoff-info{align-items:center;gap:8px;font-size:12px;line-height:1.6;display:flex}.handoff-info.received{color:#237453}.document-type-checks{grid-template-columns:1fr 1fr;gap:13px;margin:18px 0;display:grid}.document-type-checks label{border:1px solid var(--border);border-radius:9px;padding:12px}@media (max-width:1250px){.payment-queue-card{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-actions{flex-wrap:wrap;align-items:center;display:flex}.queue-actions>.button{flex:1}.queue-actions>.link{width:100%}.contract-summary-row{flex-wrap:wrap}}@media (max-width:760px){.project-overview-grid{grid-template-columns:1fr}.contract-summary,.contract-stages,.project-files{padding:17px}.payment-queue-card{grid-template-columns:1fr;gap:18px;padding:18px}.queue-deadline{border-top:1px solid var(--border);padding-top:15px}.closeout-card{padding:18px}.closeout-card-heading{flex-wrap:wrap}.closeout-card-heading>.closeout-state{margin-left:58px}.closeout-card footer{flex-direction:column;align-items:stretch}.closeout-card footer>.button{width:100%}.closeout-documents>.section-heading{flex-wrap:wrap;gap:15px}.closeout-request{font-size:12px}.document-type-checks{grid-template-columns:1fr}.payment-instruction-form{padding:16px}}.chat-title-button{text-align:left;flex:1;min-width:0}.chat-title-button h3{overflow-wrap:anywhere;font-size:15px;line-height:1.5}.chat-title-button small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.chat-title-button .presence-online,.presence-online{color:#287850!important}.chat-header{gap:10px}.chat-header>.icon-button,.chat-row .avatar{flex:none}.chat-row strong{line-height:1.5;font-size:13px!important}.chat-row small{line-height:1.6;font-size:11px!important}.chat-sidebar>.search-input{max-width:none;margin:16px}.chat-messages{background:var(--surface-alt);min-height:0}.chat-room{min-width:0}.chat-day{text-align:center;color:var(--muted);background:var(--surface);border-radius:10px;width:max-content;margin:18px auto;padding:6px 12px;font-size:11px}.message-body{border:1px solid var(--border);max-width:min(620px,100%);box-shadow:0 1px 3px #17232206;padding:13px 16px!important}.message.own .message-body{background:var(--blue-soft)}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px!important;line-height:1.75!important}.message-meta{gap:10px}.message-meta strong{font-size:12px!important}.message-meta time{font-size:10px!important}.message-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-top:8px;display:flex}.message-footer .message-actions{opacity:1;gap:6px;display:flex;position:static}.message-actions>button{width:27px;height:27px;color:var(--muted);border-radius:5px;place-items:center;display:grid}.message-actions>button:hover{color:var(--blue);background:var(--surface)}.message-receipt{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.message-receipt.read{color:var(--blue)}.chat-attachment{border:1px solid var(--border);background:var(--surface);border-radius:9px;align-items:center;gap:10px;margin-top:10px;padding:12px;overflow:hidden;display:flex!important}.chat-attachment>span{flex:1;min-width:0}.chat-attachment strong{overflow-wrap:anywhere;font-size:12px;display:block}.chat-attachment small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.chat-attachment img{object-fit:cover;border-radius:6px;flex:none;width:88px;height:65px}.chat-participants>article{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:15px 0;display:flex}.chat-participants>article>div{flex:1}.chat-participants strong{font-size:13px;display:block}.chat-participants small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.chat-participants>article>span:last-child:not(.avatar){align-items:center;gap:5px;font-size:11px;display:flex}.compose-files{flex-wrap:wrap;gap:8px;padding:12px 16px;display:flex}.compose-files>span{border:1px solid var(--border);border-radius:8px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:flex}.compose-reply{background:var(--blue-soft);align-items:center;gap:10px;padding:12px 16px;font-size:12px;display:flex}.compose-reply>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.chat-compose{gap:12px;padding:14px 18px}.chat-compose textarea{resize:vertical;min-width:0;max-height:150px;font-size:14px;line-height:1.7}.chat-load-older{background:var(--surface);border-radius:8px;margin:auto;padding:8px 14px;font-size:12px;display:block}.material-states{flex-wrap:wrap;gap:6px;display:flex}.material-state{border-radius:6px;padding:5px 7px;font-size:11px;line-height:1.6;display:inline-block}.material-state.reserved,.reservation-note{color:#8e6009;background:#fff0ce}.material-state.unpaid{color:#8b6435;background:#f4ebde}.material-state.paid{color:#425d9e;background:#e7edff}.material-state.received-unpaid{color:#995a31;background:#f8e6d9}.material-state.complete{color:#216c3e;background:#dcefe2}.material-state.missing{background:var(--surface-alt);color:var(--muted)}.reservation-note{border-radius:5px;padding:3px 5px;display:block}.chat-layout{grid-template-columns:minmax(230px,28%) minmax(0,1fr);height:calc(100dvh - 235px);min-height:420px}@media (max-width:760px){.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 240px);min-height:360px}.chat-header{flex-wrap:wrap;padding:12px}.chat-header .chat-title-button{flex:1;min-width:130px}.chat-header>.icon-button{width:32px;min-width:32px;min-height:32px}.message-body{padding:12px!important}.chat-participants>article{flex-wrap:wrap}.chat-participants>article>span:last-child:not(.avatar){margin-left:52px}.message .avatar{display:none}.message{gap:0}.chat-messages{padding:12px!important}}.closeout-request-form>p{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.7}.closeout-request-form>p strong{color:var(--text)}.urgency-picker{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px;padding:0;display:grid}.urgency-picker legend{margin-bottom:12px;font-size:14px;font-weight:650}.urgency-option{border:1px solid var(--border);cursor:pointer;background:var(--surface);border-radius:10px;align-items:flex-start;gap:8px;padding:14px 11px;display:flex}.urgency-option input{width:16px;height:16px;min-height:0;accent-color:var(--blue);flex:0 0 16px;margin:3px 0 0;padding:0}.urgency-option>span{overflow-wrap:anywhere;min-width:0}.urgency-option strong{font-size:12px;line-height:1.6;display:block}.urgency-option small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.5;display:block}.urgency-option.selected{border-color:var(--blue);background:var(--blue-soft);box-shadow:0 0 0 1px var(--blue)}.urgency-option.urgent.selected{border-color:var(--red);background:var(--red-soft);box-shadow:0 0 0 1px var(--red)}.closeout-urgency{background:var(--surface-alt);width:fit-content;color:var(--muted);border-radius:6px;align-items:center;gap:6px;padding:5px 8px;font-size:11px;font-weight:650;line-height:1.5;display:inline-flex}.closeout-urgency.high{color:var(--amber);background:var(--amber-soft)}.closeout-urgency.urgent{color:var(--red);background:var(--red-soft)}.closeout-request>div{gap:9px;display:grid}.closeout-request-summary{flex-wrap:wrap;align-items:center;line-height:1.6}.closeout-card.priority-urgent{border-left:3px solid var(--red)}.closeout-card.priority-high{border-left:3px solid var(--amber)}.attachment-download>span{overflow-wrap:anywhere;flex:1;min-width:0}.attachment-download small{color:var(--muted);margin-top:4px;font-size:10px;display:block}@media (max-width:560px){.urgency-picker{grid-template-columns:1fr}.urgency-option{padding:13px}.urgency-option small{margin:2px 0 0}}.resource-symbol{background:var(--surface-alt);width:36px;height:36px;color:var(--muted);border-radius:10px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex}.resource-requests{color:#2a6c8d;background:#e2f1fa}.resource-deliveries{color:#946214;background:#fff0d8}.resource-catalog{color:#7454a1;background:#ede7fa}.resource-budgets{color:#32724b;background:#e0f0e7}.resource-companies{color:#516a9b;background:#e6ecf7}.resource-payments,.resource-documents{background:var(--blue-soft);color:var(--blue)}.resource-tasks{color:#9a6041;background:#fce9df}.action-document{align-items:center;gap:14px;display:flex}.action-document>div{flex:1;min-width:0}.action-document strong{overflow-wrap:anywhere}.registry-table{min-width:0;max-width:100%;container-type:inline-size}.registry-table>table{table-layout:fixed;width:100%;min-width:0!important}.registry-table th,.registry-table td{overflow-wrap:anywhere;white-space:normal;min-width:0}.registry-table .record-link{align-items:center;gap:12px;min-width:0;display:flex}.registry-table .record-link>span:last-child{min-width:0}.registry-table .record-link strong{white-space:normal;line-height:1.55}.registry-table .person-cell{flex-wrap:wrap}.registry-table .title-column{width:29%}.registry-table .checkbox-cell{width:40px}.payment-queue-card{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr);container-type:inline-size}.payment-queue-card>*{min-width:0;max-width:100%}.queue-actions{min-width:0}.queue-actions>.button{white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;min-width:0;line-height:1.5}.queue-actions>.button svg{flex:none}.queue-deadline>span,.queue-deadline>strong{overflow-wrap:anywhere}.invoice-payment-cell>span{white-space:normal}.chat-page{min-width:0}.chat-sidebar{min-width:0;overflow-y:auto}.chat-row{width:100%;min-width:0}.chat-row>span{min-width:0}.chat-row>div,.chat-compose{flex:none}.chat-compose textarea{flex:1;width:0}.chat-compose .button,.chat-compose .icon-button,.chat-header{flex:none}.chat-messages{overscroll-behavior:contain;flex:1;overflow:auto}.chat-room{flex-direction:column;display:flex;overflow:hidden}.chat-layout{overflow:hidden}@container (max-width:750px){.registry-table>table,.registry-table tbody{display:block}.registry-table thead{display:none}.registry-table tbody tr:not(:has(td[colspan])){border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px;display:grid;position:relative}.registry-table td{text-align:left!important;background:0 0!important;border:0!important;width:auto!important;padding:0!important;display:block!important}.registry-table .checkbox-cell{position:absolute;top:22px;right:20px}.registry-table td.title-column{grid-column:1/-1;padding-right:32px!important}.registry-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:10px;display:block}.registry-table td.project-cell{display:block!important}}@media (max-width:1400px){.payment-queue-card{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-actions{align-self:center}.queue-actions>.link{text-align:center;width:100%;display:block}}@media (max-width:760px){.payment-queue-card{grid-template-columns:1fr}.chat-header .chat-title-button{min-width:120px}}.chat-menu{border:1px solid var(--border);background:var(--surface);min-width:220px;box-shadow:var(--shadow);z-index:90;border-radius:10px;padding:6px}.chat-menu>[role=menuitem]{cursor:pointer;border-radius:6px;outline:none;align-items:center;gap:10px;padding:12px;font-size:12px;display:flex}.chat-menu>[role=menuitem][data-highlighted]{background:var(--blue-soft);color:var(--blue)}.chat-layout .chat-row{padding:16px 14px}.chat-row>span>strong{overflow-wrap:anywhere;white-space:normal}.chat-row small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.chat-messages .empty{padding:30px 20px}.chat-header h3{margin:0}.chat-header .icon-button{flex:0 0 36px;width:36px;min-width:36px;height:36px}.chat-header .chat-title-button{min-width:0}.chat-compose .icon-button{min-width:40px}.chat-compose .button{width:44px;min-width:44px;padding:10px}.message-body{min-width:160px}.chat-messages .message{margin-bottom:18px}.chat-messages .message.own{margin-left:25px}.chat-messages .message:not(.own){margin-right:25px}.contract-estimate{margin:22px 0;padding:22px}.contract-estimate>summary{cursor:pointer;list-style:revert;justify-content:space-between;align-items:center;gap:16px;font-weight:650;display:flex}.contract-estimate>summary strong{color:var(--muted);font-size:12px}.contract-estimate>p{margin:16px 0;font-size:12px;line-height:1.7}.contract-estimate-rows>div{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(100px,160px) 40px;align-items:center;gap:16px;padding:14px 0;font-size:12px;display:grid}.contract-estimate-rows strong{text-align:right;overflow-wrap:anywhere}.contract-estimate-rows span{overflow-wrap:anywhere;line-height:1.6}@media (max-width:760px){.contract-estimate>summary{flex-direction:column;align-items:flex-start}.contract-estimate{padding:17px}.contract-estimate-rows>div{grid-template-columns:minmax(0,1fr) 110px 32px;gap:8px}}.chat-compose{background:var(--surface);border-top:1px solid var(--border);align-items:flex-end;gap:12px;min-width:0;padding:14px 18px;display:flex}.chat-compose textarea{field-sizing:content;border:1px solid var(--border);background:var(--surface-alt);resize:none;border-radius:10px;flex:1;width:auto;min-width:0;min-height:44px;max-height:144px;padding:10px 12px;line-height:1.6;display:block}.chat-compose>.icon-button{align-self:center;place-items:center;display:grid}.chat-compose>.button{height:44px;min-height:44px}.chat-compose textarea:focus{outline:2px solid var(--blue);outline-offset:1px}.main-shell:has(.chat-page){flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}:is(.main-shell:has(.chat-page)>.local-environment,.main-shell:has(.chat-page)>.topbar){flex:none}.main-shell:has(.chat-page)>main{flex-direction:column;flex:1;min-height:0;display:flex}.main-shell:has(.chat-page)>.app-footer{display:none}.chat-page{flex-direction:column;flex:1;width:100%;min-height:0;padding-top:24px;padding-bottom:24px;display:flex}.chat-page>.page-heading{flex:none;margin-bottom:24px}.chat-page>.chat-layout{flex:1;height:auto;min-height:0;margin:0}.chat-layout>.chat-room,.chat-layout>.chat-sidebar{min-height:0}@media (max-width:760px){.chat-page{padding-top:18px;padding-bottom:18px}.chat-page>.page-heading{gap:12px;margin-bottom:18px}.chat-page>.page-heading h1{font-size:24px}}.table-scroll,.line-items,.estimate-picker-table{min-width:0;max-width:100%}.table-scroll table,.panel>table,.budget-overview,.project-tree,.estimate-picker-table table,.line-items table{table-layout:fixed;width:100%;min-width:0!important}.table-scroll th,.table-scroll td,.panel>table th,.panel>table td,.budget-overview th,.budget-overview td,.project-tree th,.project-tree td{white-space:normal;overflow-wrap:anywhere;min-width:0}.table-scroll input,.table-scroll select{min-width:0;max-width:100%}.table-scroll .numeric{white-space:normal}.table-scroll td>button.text-link{white-space:normal;text-align:left;max-width:100%}.procurement-table{table-layout:fixed;width:100%;min-width:0!important}.procurement-table th,.procurement-table td{white-space:normal;overflow-wrap:anywhere}.material-history table{table-layout:fixed;width:100%;min-width:0!important}.budget-overview th:first-child,.project-tree th:first-child{width:28%}
