:root{--navy:#071827;--navy-2:#0b243c;--navy-3:#103555;--gold:#c9952f;--gold-2:#e3b655;--gold-soft:#f6ecd7;--bg:#f4f6f8;--surface:#fff;--text:#1f2a36;--muted:#77818c;--line:#e2e6e9;--green:#2d755c;--green-soft:#e5f1eb;--red:#b64b51;--red-soft:#f8e8e9;--blue:#356683;--blue-soft:#e6eef4;--purple:#755b8a;--purple-soft:#eee9f2;--amber:#a66b27;--amber-soft:#fff0dc;--shadow:0 3px 14px rgba(24,34,45,.05);--radius:10px}*{box-sizing:border-box}html{font-size:15px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img,video{max-width:100%}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-frame{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:linear-gradient(180deg,var(--navy) 0%,#06131f 100%);color:#dce2e8;display:flex;flex-direction:column;z-index:60;transition:width .25s ease,transform .25s ease;box-shadow:4px 0 22px rgba(16,24,33,.08)}.brand{height:82px;display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid #153149}.brand img{width:102px;height:62px;object-fit:contain}.brand>span{display:flex;flex-direction:column;border-left:1px solid #28506c;padding-left:11px;white-space:nowrap}.brand b{font-size:9px;letter-spacing:.18em;color:#cbd1d8}.brand small{font-size:7px;letter-spacing:.13em;color:#75818e;margin-top:4px}.sidebar-nav{padding:16px 12px;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#344252 transparent}.sidebar-nav section+section{margin-top:17px}.sidebar-nav h6{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#71808e;margin:0 12px 7px;font-weight:800}.nav-link{height:40px;padding:0 12px;display:flex;align-items:center;gap:11px;border-radius:7px;color:#aab5c0;font-size:12px;margin:2px 0;position:relative;transition:.17s ease}.nav-link:hover{background:#0d2b46;color:#fff}.nav-link.active{color:#f1d5af;background:linear-gradient(90deg,rgba(196,145,76,.22),rgba(196,145,76,.05));box-shadow:inset 3px 0 var(--gold)}.nav-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-link em{font-style:normal;font-size:9px;min-width:22px;padding:2px 5px;border-radius:10px;background:#173a57;color:#d8dee4;text-align:center;margin-left:auto}.sidebar-user{margin:10px 12px 14px;padding:10px;border:1px solid #1a3e5c;border-radius:9px;background:#0b243c;display:flex;align-items:center;gap:9px;overflow:hidden}.avatar{width:33px;height:33px;border-radius:50%;background:linear-gradient(135deg,#e3b655,#b77d20);display:grid;place-items:center;color:#14202c;font-size:10px;font-weight:900;flex:none}.sidebar-user>span{min-width:0;flex:1;display:flex;flex-direction:column}.sidebar-user strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{font-size:8px;color:#7f8c98;margin-top:3px;white-space:nowrap}.sidebar-user form{margin:0}.sidebar-user button{border:0;background:transparent;color:#85929f;font-size:16px;padding:3px}.workspace{margin-left:258px;min-height:100vh;transition:margin .25s ease}.topbar{height:66px;position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 19px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.topbar-start,.topbar-end{display:flex;align-items:center;gap:14px}.icon-button{width:36px;height:36px;border:0;border-radius:7px;background:transparent;color:#52606d;display:grid;place-items:center}.icon-button:hover{background:#f1f3f5}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.breadcrumbs{display:flex;align-items:center;gap:8px;font-size:10px;color:#929aa2}.breadcrumbs svg{width:12px;height:12px;fill:none;stroke:currentColor}.breadcrumbs strong{font-size:11px;color:#46525e}.top-search{width:min(28vw,320px);position:relative;display:flex;align-items:center}.top-search svg{position:absolute;left:11px;width:15px;height:15px;fill:none;stroke:#818c96;stroke-width:1.8}.top-search input{height:36px;width:100%;border:1px solid #e1e5e8;border-radius:7px;background:#f8f9fa;padding:0 12px 0 34px;font-size:10px;outline:0}.top-search input:focus{background:#fff;border-color:#d2a348;box-shadow:0 0 0 3px #c9952f1a}.language-menu{position:relative}.language-menu>button{height:36px;border:1px solid #e0e4e7;border-radius:7px;background:#fff;padding:0 10px;font-size:10px;color:#53606c}.language-menu>div{display:none;position:absolute;top:42px;right:0;width:155px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 38px #15202b22;padding:5px;z-index:80}.language-menu.open>div{display:grid}.language-menu a{padding:9px;border-radius:5px;font-size:10px}.language-menu a:hover{background:#f3f5f6}.notification{position:relative}.notification>span{position:absolute;top:1px;right:1px;background:var(--gold);color:#fff;border:2px solid white;width:15px;height:15px;border-radius:50%;font-size:7px;display:grid;place-items:center}.content{padding:27px 29px 45px;max-width:1720px;margin:auto}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{display:block;color:#a87520;text-transform:uppercase;letter-spacing:.13em;font-size:8px;font-weight:800}.page-header h1,.project-hero h1,.portal-welcome h1,.portal-project-hero h1{font:600 clamp(27px,3vw,36px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.02em;margin:7px 0 4px;color:#1f2a35}.page-header p{color:var(--muted);font-size:11px;margin:0}.primary-button,.secondary-button{min-height:36px;border-radius:7px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;font-size:10px;font-weight:750;white-space:nowrap}.primary-button{background:linear-gradient(135deg,#e0ad45,#b8791e);color:#fff;box-shadow:0 6px 15px rgba(168,110,40,.17)}.primary-button:hover{filter:brightness(1.05)}.secondary-button{background:#fff;border:1px solid #dce1e5;color:#53606d}.secondary-button:hover{border-color:#d7ae58;background:#fcfaf7}.primary-button svg,.secondary-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}.compact-button{min-height:29px;padding:0 9px;font-size:8px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-header{min-height:65px;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e9ecef}.panel-header h2,.detail-card h2,.panel-section-header h2,.section-heading h2{font:600 16px Georgia,serif;margin:0;color:#2b3742}.panel-header p,.panel-section-header p,.section-heading p{font-size:9px;color:#8b949d;margin:4px 0 0}.panel-header>a{font-size:9px;color:#9b681e}.panel-toolbar{padding:12px 16px;display:flex;align-items:center;border-bottom:1px solid #e8ebee;background:#fbfcfc}.filter-form{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.filter-form>label:not(.search-field){display:grid;gap:4px;color:#6c7782;font-size:8px;font-weight:700}.filter-form input,.filter-form select{height:34px;border:1px solid #dce1e5;border-radius:6px;padding:0 10px;background:#fff;font-size:10px;color:#3f4b57;outline:0}.filter-form>a{font-size:9px;color:#8b5f2a}.search-field{position:relative;width:260px;display:flex!important;align-items:center}.search-field svg{position:absolute;left:10px;width:14px;height:14px;fill:none;stroke:#8a949d}.search-field input{width:100%;padding-left:31px}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:700px}.data-table th{text-align:left;height:35px;padding:0 14px;background:#fafbfb;color:#8e979f;text-transform:uppercase;letter-spacing:.065em;font-size:7.5px;white-space:nowrap}.data-table td{padding:11px 14px;border-top:1px solid #edf0f2;font-size:9px;color:#596570;vertical-align:middle}.data-table tr:hover td{background:#fdfdfd}.data-table td>strong{color:#33404c}.data-table a{color:#96641d;font-weight:700}.data-table tfoot td{background:#fafbfb;font-weight:800;color:#33404c}.block-muted{display:block!important;color:#949ca4!important;font-size:8px!important;margin-top:3px}.record-title{display:flex;align-items:center;gap:9px;min-width:210px;color:inherit!important}.record-monogram{width:31px;height:31px;border-radius:7px;background:#192635;color:#d2a56b;display:grid;place-items:center;font:700 9px Georgia,serif;flex:none}.record-title>span:last-child{display:flex;flex-direction:column}.record-title strong{font-size:9px;color:#35414d}.record-title small{font-size:7.5px;color:#9099a1;margin-top:2px}.row-actions{display:flex;justify-content:flex-end;gap:5px}.row-actions a,.row-actions button{width:27px;height:27px;border:1px solid #e0e4e7;background:#fff;border-radius:5px;color:#65717c;display:grid;place-items:center;font-size:11px;padding:0}.row-actions form{margin:0}.row-actions button:hover{border-color:#e1afb2;color:#b24d53}.empty-cell{text-align:center!important;padding:38px!important;color:#89929b!important}.empty-cell>span,.empty-cell>strong{display:block}.empty-cell>span{font-size:27px;color:#c9952f}.empty-cell p{margin:5px 0}.status{display:inline-flex;align-items:center;border-radius:12px;padding:3px 7px;font-size:7.5px;font-weight:800;text-transform:capitalize;white-space:nowrap;background:#eef0f2;color:#606b76}.status.active,.status.completed,.status.passed,.status.approved,.status.paid,.status.posted,.status.client,.status.both{background:var(--green-soft);color:var(--green)}.status.planning,.status.pending,.status.draft,.status.client_review,.status.conditional{background:var(--amber-soft);color:var(--amber)}.status.on_hold,.status.blocked,.status.overdue,.status.failed,.status.cancelled,.status.rejected,.status.locked{background:var(--red-soft);color:var(--red)}.status.in_progress,.status.ordered,.status.partially_received,.status.internal{background:var(--blue-soft);color:var(--blue)}.status.inactive,.status.archived,.status.void{background:#eceff1;color:#68737e}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.progress-line{display:flex;align-items:center;gap:7px;min-width:120px}.progress-line i{height:5px;background:#e8ebed;border-radius:5px;overflow:hidden;flex:1}.progress-line i b{display:block;height:100%;background:linear-gradient(90deg,#bd8322,#e3b655);border-radius:5px}.progress-line span{font-size:8px;color:#66717c;width:27px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.metric-card{min-height:90px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:17px;display:flex;align-items:flex-start;gap:12px}.metric-card>div{display:flex;flex-direction:column;min-width:0}.metric-card small{font-size:8px;color:#7e8892;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.metric-card strong{font:600 23px Georgia,serif;color:#26323d;margin:4px 0}.metric-card em{font-size:7.5px;color:#929aa2;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-icon{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;flex:none}.metric-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.metric-icon.gold{background:var(--gold-soft);color:#9c681d}.metric-icon.navy{background:#e5ebf1;color:#2a506f}.metric-icon.green{background:var(--green-soft);color:var(--green)}.metric-icon.red{background:var(--red-soft);color:var(--red)}.metric-icon.purple{background:var(--purple-soft);color:var(--purple)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(270px,.72fr);gap:17px}.span-2{grid-column:span 2}.finance-pulse{grid-row:span 2}.finance-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px 6px}.finance-pair>div{display:flex;flex-direction:column}.finance-pair small{font-size:8px;color:#87919b;text-transform:uppercase}.finance-pair strong{font:600 17px Georgia,serif;margin-top:3px}.mini-chart{height:145px;margin:7px 17px 0;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid #e7eaed}.mini-chart span{height:100%;flex:1;display:flex;gap:2px;align-items:flex-end}.mini-chart i,.mini-chart b{width:50%;min-height:2px;border-radius:2px 2px 0 0}.mini-chart i{background:#3e7462}.mini-chart b{background:#d2aa74}.chart-key{display:flex;gap:13px;padding:10px 18px;font-size:7.5px;color:#7c8690}.chart-key span{display:flex;align-items:center;gap:5px}.chart-key i{width:7px;height:7px;border-radius:50%}.chart-key i.income{background:#3e7462}.chart-key i.expense{background:#d2aa74}.net-box{margin:2px 17px 17px;padding:11px;background:#f4f8f6;border:1px solid #e2ebe6;border-radius:7px;display:flex;align-items:center;justify-content:space-between}.net-box span{font-size:8px;color:#77837d;text-transform:uppercase}.net-box strong{font:600 17px Georgia,serif;color:#2e6755}.activity-list{padding:8px 17px}.activity-list>div{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid #eef0f2}.activity-list>div:last-child{border:0}.activity-dot{width:7px;height:7px;border-radius:50%;margin-top:4px;flex:none}.activity-dot.amber{background:#c18a45}.activity-list p{margin:0;display:flex;flex-direction:column}.activity-list strong{font-size:9px}.activity-list small{font-size:7.5px;color:#8c959e;margin-top:3px}.panel-footer{border-top:1px solid #e9ecef;padding:10px 17px;display:flex;justify-content:space-between;font-size:8px;color:#727d87}.panel-footer a{color:#91642e}.activity-grid{display:grid;grid-template-columns:1fr 1fr}.activity-card{display:flex;align-items:center;gap:9px;padding:11px 17px;border-bottom:1px solid #edf0f2}.activity-card:nth-child(odd){border-right:1px solid #edf0f2}.activity-icon{width:30px;height:30px;border-radius:7px;background:#f1eadf;color:#9d6c31;display:grid;place-items:center}.activity-icon svg{width:14px;height:14px;fill:none;stroke:currentColor}.activity-card p{display:flex;flex-direction:column;margin:0;flex:1}.activity-card strong{font-size:8.5px}.activity-card small{font-size:7.5px;color:#9099a1;margin-top:2px}.activity-card em{font-size:7px;font-style:normal;color:#939ba3}.compact-empty{padding:18px;color:#8b949d;font-size:9px;text-align:center}

.app-dialog{border:0;background:transparent;padding:18px;max-width:none;width:100%;height:100%;margin:0}.app-dialog::backdrop{background:rgba(13,21,29,.58);backdrop-filter:blur(3px)}.dialog-card{background:#fff;border-radius:12px;width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 36px);overflow:auto;margin:auto;box-shadow:0 24px 90px #0b111955;border:1px solid #e1e5e8}.wide-dialog{width:min(900px,calc(100vw - 28px))}.dialog-card>header{min-height:77px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7eaed;position:sticky;top:0;background:#fff;z-index:2}.dialog-card>header h2{font:600 21px Georgia,serif;margin:4px 0 0}.dialog-card>header>button{width:31px;height:31px;border:0;border-radius:50%;background:#f2f4f5;color:#65717c;font-size:18px}.dialog-card form>.form-grid{padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid label{font-size:8.5px;color:#596570;font-weight:750;display:flex;flex-direction:column;gap:5px}.form-grid label b{color:#b45b51}.form-grid .wide{grid-column:1/-1}.form-grid .span-2{grid-column:span 2}.form-grid .span-3{grid-column:span 3}.form-grid input,.form-grid select,.form-grid textarea,.message-form textarea,.inline-form input{width:100%;border:1px solid #dce1e5;border-radius:7px;background:#fff;color:#303c47;outline:0;padding:9px 10px;font-size:10px}.form-grid input,.form-grid select{height:38px}.form-grid textarea{resize:vertical;line-height:1.5}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.message-form textarea:focus{border-color:#c9952f;box-shadow:0 0 0 3px #c9952f1c}.form-grid .checkbox{flex-direction:row;align-items:center;font-weight:500}.checkbox input{width:16px!important;height:16px!important;flex:none}.field-error{font-size:7.5px;color:var(--red)}.hint{font-size:7.5px;color:#8a949d;font-weight:400}.dialog-card form>footer{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid #e7eaed;background:#fafbfb;position:sticky;bottom:0}.dialog-subsection{padding:16px 20px;border-top:1px solid #e8ebed}.dialog-subsection h3{font:600 15px Georgia,serif}.inline-form{display:grid;grid-template-columns:1.1fr 1fr auto;gap:9px;align-items:center}.upload-zone{border:1px dashed #c9d0d5;border-radius:9px;background:#fafbfb;padding:22px!important;text-align:center;align-items:center!important;cursor:pointer}.upload-zone input{height:auto!important;border:0!important;width:auto!important}.upload-zone strong{font-size:10px}.upload-zone small{font-size:8px;color:#8b959e}

.back-row{display:flex;align-items:center;gap:8px;font-size:9px;color:#9099a2;margin-bottom:14px}.back-row a{color:#805a2c;font-weight:700}.back-row strong{color:#58636e}.project-hero{background:linear-gradient(125deg,#172230,#26374a);color:white;border-radius:12px;padding:22px 24px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;overflow:hidden}.project-hero:after{content:"";position:absolute;width:250px;height:250px;border:1px solid #cda26026;border-radius:50%;right:-60px;top:-155px}.project-identity{display:flex;align-items:center;gap:15px;z-index:1}.project-mark{width:49px;height:49px;border-radius:10px;background:#c8995940;border:1px solid #d7ad7438;color:#e2bd89;display:grid;place-items:center;font:700 15px Georgia,serif;flex:none}.project-hero h1{color:#fff;font-size:27px;margin:5px 0}.project-hero p{font-size:9px;color:#aeb9c5;margin:0}.hero-actions{display:flex;gap:8px;z-index:1}.project-hero .secondary-button{background:#ffffff0d;border-color:#ffffff29;color:#e4e9ed}.project-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:14px}.project-kpis article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;display:flex;flex-direction:column;min-width:0}.project-kpis article>span{font-size:7.5px;text-transform:uppercase;color:#818b95;font-weight:800;letter-spacing:.06em}.project-kpis article>strong{font:600 18px Georgia,serif;margin:4px 0;color:#2b3742;white-space:nowrap}.project-kpis article>small{font-size:7px;color:#9099a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-kpis .date-value{font-size:14px;margin-block:7px}.project-kpis .progress-line{margin-top:3px}.project-workspace,.portal-workspace{overflow:visible}.tab-nav{height:52px;padding:0 17px;border-bottom:1px solid var(--line);display:flex;align-items:stretch;gap:20px;overflow:auto;scrollbar-width:none;background:#fff;border-radius:10px 10px 0 0}.tab-nav.compact{height:44px;border-top:1px solid #eceff1}.tab-nav button{background:transparent;border:0;border-bottom:2px solid transparent;color:#77818c;font-size:9px;font-weight:700;white-space:nowrap;padding:0 2px}.tab-nav button:hover{color:#94642d}.tab-nav button.active{color:#8d5e28;border-color:#bb833d}.tab-nav button em{font-style:normal;background:#f1e7da;color:#95662f;padding:2px 5px;border-radius:8px;margin-left:3px;font-size:7px}.tab-panel{display:none;padding:18px}.tab-panel.active{display:block}.detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:15px}.detail-card{border:1px solid var(--line);border-radius:9px;background:#fff}.detail-card>header{padding:13px 16px;border-bottom:1px solid #eaedef}.project-summary{padding:17px}.project-summary>p{font-size:10px;color:#63707b;line-height:1.65;margin-top:0}.project-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:17px 0 0;border:1px solid #e6eaed;border-radius:8px}.project-summary dl>div{padding:12px;border-bottom:1px solid #e9ecef}.project-summary dl>div:nth-child(odd){border-right:1px solid #e9ecef}.project-summary dl>div:nth-last-child(-n+2){border-bottom:0}.project-summary dt,.financial-dl dt{font-size:7px;text-transform:uppercase;color:#8a949e;font-weight:800}.project-summary dd,.financial-dl dd{font-size:9px;color:#37434e;font-weight:700;margin:4px 0 0}.project-summary dd small{display:block;font-weight:400;color:#8a949d;margin-top:3px}.phase-list{padding:7px 16px}.phase-list>div{display:flex;gap:9px;padding:11px 0;border-bottom:1px solid #edf0f2}.phase-list>div:last-child{border:0}.phase-check{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#eef1f2;color:#818b95;font-size:9px}.phase-check.completed{background:var(--green-soft);color:var(--green)}.phase-check.active{background:var(--gold-soft);color:#9c672b}.phase-list p{display:flex;flex-direction:column;margin:0}.phase-list strong{font-size:9px}.phase-list small{font-size:7.5px;color:#9199a1;margin-top:3px}.panel-section-header{display:flex;align-items:center;justify-content:space-between;padding:2px 1px 17px;gap:15px}.timeline>article{display:grid;grid-template-columns:55px 24px 1fr;gap:7px}.timeline-date{text-align:right;padding-top:10px}.timeline-date strong{display:block;font:600 17px Georgia,serif}.timeline-date span{font-size:7px;color:#8e979f}.timeline-line{position:relative;display:flex;justify-content:center}.timeline-line:after{content:"";position:absolute;top:18px;bottom:-12px;width:1px;background:#dfe4e7}.timeline>article:last-child .timeline-line:after{bottom:50%}.timeline-line i{width:9px;height:9px;border-radius:50%;background:#b7803d;border:2px solid #f2e5d4;margin-top:15px;z-index:1}.timeline-card{border:1px solid var(--line);border-radius:9px;margin-bottom:12px;padding:15px}.timeline-card>header{display:flex;justify-content:space-between;gap:15px}.timeline-card h3{font:600 14px Georgia,serif;margin:5px 0 0}.timeline-card header>b{font:600 19px Georgia,serif;color:#a06d31}.timeline-card>p{font-size:9.5px;line-height:1.65;color:#68747f}.timeline-card>footer{display:flex;gap:17px;padding-top:10px;border-top:1px solid #edf0f2;font-size:7.5px;color:#87919b}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.media-grid>article{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}.media-grid img,.media-grid video{width:100%;height:185px;object-fit:cover;display:block;background:#10161e}.media-grid article>div{padding:12px}.media-grid h3{font:600 13px Georgia,serif;margin:7px 0 3px}.media-grid p{font-size:8.5px;line-height:1.5;color:#707b85;margin:0 0 7px}.media-grid small{font-size:7.5px;color:#949ca4}.span-all{grid-column:1/-1}.empty-state{min-height:210px;border:1px dashed #d3d9dd;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8a949d;background:#fbfcfc}.empty-state>strong{font-size:30px;color:#b98a4e}.empty-state h3{font:600 15px Georgia,serif;margin:9px 0}.financial-breakdown{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:15px}.financial-breakdown article{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;flex-direction:column}.financial-breakdown span{font-size:7.5px;text-transform:uppercase;color:#818b94}.financial-breakdown strong{font:600 18px Georgia,serif;margin:5px 0 10px}.financial-breakdown i{height:5px;background:#e8ebed;border-radius:4px;overflow:hidden}.financial-breakdown i:after{content:"";display:block;width:var(--value);height:100%;background:linear-gradient(90deg,#376d5b,#b88a4c)}.financial-dl{display:grid;grid-template-columns:repeat(4,1fr);margin:0}.financial-dl>div{padding:15px;border-right:1px solid #e9ecef}.financial-dl>div:last-child{border:0}.financial-dl dd{font:600 15px Georgia,serif}.control-list{padding:5px 15px}.control-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f2}.control-list>div:last-child{border:0}.control-list p{display:flex;flex-direction:column;margin:0}.control-list strong{font-size:9px}.control-list small{font-size:7.5px;color:#8c959e;margin-top:3px}

.finance-metrics{grid-template-columns:repeat(5,1fr)}.finance-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,.65fr);gap:16px}.finance-tab{display:none}.finance-tab.active{display:block}.vertical-chart{height:260px;padding:20px 16px 0;display:flex;align-items:stretch;gap:7px}.vertical-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px}.vertical-chart>div>span{height:220px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;border-bottom:1px solid #dfe3e7}.vertical-chart i{display:block;width:35%;min-height:2px;border-radius:3px 3px 0 0}.vertical-chart i.income{background:#3e735f}.vertical-chart i.expense{background:#c99a5f}.vertical-chart small{font-size:7px;color:#88929b}.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.report-kpis article{background:linear-gradient(130deg,#1b2836,#27384b);color:white;padding:17px;border-radius:9px;display:flex;align-items:center;justify-content:space-between}.report-kpis span{font-size:8px;color:#aeb9c4;text-transform:uppercase;letter-spacing:.06em}.report-kpis strong{font:600 25px Georgia,serif;color:#d7b27f}.report-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:14px}.report-cards article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px;display:flex;align-items:center;gap:12px}.report-cards article>div{flex:1}.report-cards h2{font:600 14px Georgia,serif;margin:0}.report-cards p{font-size:8px;color:#828c95;margin:4px 0 0}.access-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.access-summary article{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:11px}.role-badge{width:32px;height:32px;border-radius:7px;background:#1c2937;color:#d8af78;display:grid;place-items:center;font:700 9px Georgia,serif}.access-summary article>span{display:flex;flex-direction:column}.access-summary strong{font-size:9px}.access-summary small{font-size:7.5px;color:#8a949d;margin-top:2px}.user-cell{display:flex;align-items:center;gap:8px}.user-cell>span{width:29px;height:29px;border-radius:50%;background:#efe5d8;color:#98662d;display:grid;place-items:center;font-size:8px;font-weight:800}.user-cell p{display:flex;flex-direction:column;margin:0}.user-cell strong{font-size:9px}.user-cell small{font-size:7.5px;color:#8b949d;margin-top:2px}

.portal-mode{--gold:#ba823c}.portal-welcome{background:linear-gradient(125deg,#172331,#26384b);color:white;border-radius:12px;padding:29px 31px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden}.portal-welcome:after{content:"";position:absolute;width:330px;height:330px;border:1px solid #d1a56826;border-radius:50%;right:-110px;top:-220px}.portal-welcome h1{color:white;font-size:35px}.portal-welcome p{font-size:10px;color:#aeb9c5}.portal-welcome aside{z-index:1;border:1px solid #ffffff24;background:#ffffff0c;border-radius:9px;padding:15px;display:flex;flex-direction:column;min-width:220px}.portal-welcome aside span{font-size:7px;letter-spacing:.13em;color:#d2ad7c}.portal-welcome aside strong{font:600 15px Georgia,serif;margin:5px 0}.portal-welcome aside small{font-size:8px;color:#9da9b5}.portal-summary,.portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:13px 0 20px}.portal-summary article,.portal-stats article{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between}.portal-summary span,.portal-stats span{font-size:7.5px;text-transform:uppercase;color:#858f98}.portal-summary strong,.portal-stats strong{font:600 18px Georgia,serif}.portal-summary small{font-size:7px;color:#8b949d}.section-heading{display:flex;justify-content:space-between;margin:15px 0 10px}.portal-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.portal-projects>article{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}.portal-projects article>header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 0}.portal-projects article>div{padding:13px 16px}.portal-projects article>div>small{font-size:7px;color:#9b6b31;font-weight:800;letter-spacing:.08em}.portal-projects h2{font:600 17px Georgia,serif;margin:5px 0}.portal-projects p{font-size:8px;color:#818b95}.portal-projects article>section{padding:0 16px}.portal-progress span{font-size:8px;color:#707b85}.portal-progress span b{font:600 15px Georgia,serif;color:#94652e}.portal-progress>i{display:block;height:5px;background:#e8ebed;border-radius:4px;margin-top:7px}.portal-progress>i b{display:block;height:100%;background:linear-gradient(90deg,#b77e35,#d1a568);border-radius:4px}.portal-projects dl{display:grid;grid-template-columns:1fr 1fr;margin:13px 0 0;border-top:1px solid #e9ecef}.portal-projects dl>div{padding:10px 0}.portal-projects dt{font-size:6.5px;text-transform:uppercase;color:#8a949d}.portal-projects dd{font-size:8px;font-weight:700;margin:3px 0}.portal-projects article>footer{padding:13px 16px;border-top:1px solid #e9ecef;background:#fafbfb}.portal-projects article>footer a{width:100%}.portal-project-hero{background:linear-gradient(125deg,#172331,#273a4f);color:white;border-radius:11px;padding:24px 27px;display:flex;justify-content:space-between;align-items:center}.portal-project-hero h1{color:white;font-size:30px}.portal-project-hero p{font-size:9px;color:#aeb9c5}.portal-project-hero>div{min-width:55%}.portal-project-hero .portal-progress{max-width:450px;margin-top:18px}.portal-project-hero .portal-progress span{color:#d5dce3}.portal-project-hero aside{border-left:1px solid #ffffff26;padding-left:25px;display:flex;flex-direction:column;min-width:250px}.portal-project-hero aside small{font-size:7px;text-transform:uppercase;color:#d0aa75}.portal-project-hero aside strong{font:600 15px Georgia,serif;margin:5px 0}.portal-project-hero aside span{font-size:8px;color:#9eabb7;margin-top:3px}.portal-stats{grid-template-columns:repeat(5,1fr);margin:12px 0}.client-timeline{max-width:850px;margin:auto}.client-timeline>article{border-left:3px solid #c9952f;background:#fff;border-radius:7px;box-shadow:0 2px 10px #14202b0c;padding:17px;margin-bottom:12px}.client-timeline article>header{display:flex;justify-content:space-between;font-size:8px;color:#818b95}.client-timeline article>header b{font:600 17px Georgia,serif;color:#a16d30}.client-timeline h2{font:600 17px Georgia,serif}.client-timeline p{font-size:10px;line-height:1.7;color:#616e79}.client-timeline footer{display:flex;gap:18px;border-top:1px solid #edf0f2;padding-top:10px;font-size:7.5px;color:#87919b}.document-list{display:grid;gap:8px}.document-list>a{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:8px;padding:11px 13px}.document-list>a>span{width:36px;height:40px;background:#efe4d6;color:#9c672c;border-radius:6px;display:grid;place-items:center;font-size:8px;font-weight:900}.document-list p{display:flex;flex-direction:column;flex:1;margin:0}.document-list strong{font-size:9px}.document-list small{font-size:7.5px;color:#8b949d;margin-top:3px}.document-list em{font-size:8px;color:#8c632f;font-style:normal}.message-layout{max-width:800px;margin:auto}.message-thread{background:#f5f7f8;border:1px solid #e3e7ea;border-radius:9px;padding:16px;min-height:260px;max-height:520px;overflow:auto}.message-thread article{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:12px}.message-thread article.client{align-items:flex-end}.message-thread article>div{max-width:75%;padding:10px 12px;border-radius:9px 9px 9px 2px;background:#fff;border:1px solid #dfe4e7;font-size:9px;line-height:1.55}.message-thread article.client>div{background:#26384a;color:#fff;border-color:#26384a;border-radius:9px 9px 2px 9px}.message-thread small{font-size:7px;color:#8b949d;margin-top:4px}.message-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.message-form textarea{resize:none}.message-form button{align-self:end;height:40px}

.auth-page{background:#f2f4f6}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,46%) 1fr}.auth-brand{background:linear-gradient(150deg,#172331,#0e161f);padding:7vw;color:white;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:600px;height:600px;border:1px solid #c6965533;border-radius:50%;left:-330px;bottom:-330px}.auth-brand>img{width:190px}.auth-brand>div{z-index:1}.auth-brand small{font-size:8px;color:#d0a772;letter-spacing:.18em}.auth-brand h1{font:600 clamp(38px,5vw,63px)/1.06 Georgia,serif;margin:18px 0;color:white}.auth-brand p{color:#aab6c1;line-height:1.7;max-width:500px;font-size:11px}.auth-brand footer{font-size:8px;color:#6e7b88;z-index:1}.auth-form{display:grid;place-items:center;padding:30px}.auth-card{width:min(390px,100%)}.auth-kicker{font-size:8px;text-transform:uppercase;letter-spacing:.14em;color:#9c6a2e;font-weight:800}.auth-card h2{font:600 32px Georgia,serif;margin:10px 0 5px}.auth-card>p{font-size:10px;color:#818b94;margin-bottom:25px}.auth-card form{display:grid;gap:14px}.auth-card label{display:grid;gap:6px;font-size:8.5px;font-weight:800;color:#52606b}.auth-card input{width:100%;height:44px;border:1px solid #d9dfe3;border-radius:8px;background:#fff;padding:0 12px;font-size:11px;outline:0}.auth-card input:focus{border-color:#bd8a49;box-shadow:0 0 0 3px #c9952f1c}.password-wrap{position:relative}.password-wrap button{position:absolute;right:5px;top:4px;width:36px;height:36px;border:0;background:transparent;color:#8a949d}.auth-card .primary-button{height:45px;font-size:10px;margin-top:3px}.auth-card .primary-button span{margin-left:auto}.form-alert{padding:11px;border-radius:7px;font-size:9px;margin-bottom:14px}.form-alert.error{background:var(--red-soft);color:var(--red);border:1px solid #edc9cb}.form-alert.success{background:var(--green-soft);color:var(--green)}.auth-security{display:flex;gap:9px;align-items:flex-start;margin-top:22px;padding-top:17px;border-top:1px solid #dfe4e7}.auth-security span{color:#a36f31}.auth-security p{font-size:8px;color:#88929b;line-height:1.55;margin:0}.error-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#172331;color:white}.error-page img{width:150px}.error-page>strong{font:600 80px Georgia,serif;color:#c49352;margin-top:25px}.error-page h1{font:600 25px Georgia,serif}.error-page p{font-size:10px;color:#aab6c1}.error-page a{margin-top:10px}

.toast-stack{position:fixed;top:77px;right:18px;z-index:120;display:grid;gap:8px}.toast{width:min(340px,calc(100vw - 36px));background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 44px #15202b2b;padding:10px 11px;display:flex;align-items:center;gap:9px;animation:toast-in .25s ease}.toast>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-weight:900}.toast.error>span{background:var(--red-soft);color:var(--red)}.toast p{font-size:9px;flex:1;margin:0}.toast button{border:0;background:transparent;color:#8a949d;font-size:16px}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

.print-body{background:#e9ecef;padding:30px}.print-actions{max-width:900px;margin:0 auto 12px;display:flex;gap:8px}.receipt-sheet,.report-sheet{width:min(900px,100%);margin:auto;background:#fff;box-shadow:0 10px 40px #14202b1c;padding:45px 52px;min-height:900px}.receipt-sheet>header,.report-sheet>header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #202c39;padding-bottom:18px}.receipt-sheet>header img,.report-sheet>header img{width:145px;background:#172331;padding:8px 12px;border-radius:6px}.receipt-sheet>header>div,.report-sheet>header>div{display:flex;flex-direction:column;text-align:right}.receipt-sheet>header span,.report-sheet>header span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:#8b949d}.receipt-sheet>header strong,.report-sheet>header strong{font:600 18px Georgia,serif;margin-top:4px}.report-sheet>header small{font-size:7px;color:#8b949d;margin-top:4px}.receipt-title{display:flex;justify-content:space-between;padding:18px 0}.receipt-title>div{display:flex;flex-direction:column}.receipt-title small,.receipt-notes small{font-size:7px;text-transform:uppercase;color:#8b949d}.receipt-title strong{font-size:10px;margin-top:4px}.receipt-amount{text-align:center;padding:38px;background:#f7f8f8;border-radius:9px}.receipt-amount span{font-size:8px;text-transform:uppercase;color:#8b949d}.receipt-amount strong{display:block;font:600 45px Georgia,serif;margin:8px}.receipt-amount p{font-size:10px;color:#606c77}.receipt-sheet dl{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e2e6e9;border-radius:8px;margin:22px 0}.receipt-sheet dl>div{padding:13px;border-bottom:1px solid #e7eaed}.receipt-sheet dl>div:nth-child(odd){border-right:1px solid #e7eaed}.receipt-sheet dt{font-size:7px;text-transform:uppercase;color:#8a949d}.receipt-sheet dd{font-size:9px;font-weight:700;margin:4px 0 0}.receipt-notes{padding:14px;background:#fafbfb;border-radius:7px}.receipt-notes p{font-size:9px}.receipt-sheet>footer,.report-sheet>footer{margin-top:45px;padding-top:16px;border-top:1px solid #dfe4e7;display:flex;justify-content:space-between;align-items:flex-end}.receipt-sheet>footer>div{display:flex;flex-direction:column}.receipt-sheet>footer strong{font-size:9px}.receipt-sheet>footer span,.receipt-sheet>footer p,.report-sheet>footer p{font-size:7px;color:#8b949d;max-width:380px}.report-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 0}.report-heading h1{font:600 27px Georgia,serif;margin:0}.report-heading p{font-size:9px;color:#7e8892}.report-metrics{display:grid;grid-template-columns:repeat(5,1fr);background:#172331;color:white;border-radius:8px}.report-metrics>div{padding:14px;border-right:1px solid #ffffff1c;display:flex;flex-direction:column}.report-metrics>div:last-child{border:0}.report-metrics small{font-size:6.5px;text-transform:uppercase;color:#aeb9c4}.report-metrics strong{font:600 13px Georgia,serif;color:#e1bd89;margin-top:4px}.report-section{margin-top:25px}.report-section h2{font:600 15px Georgia,serif;border-bottom:1px solid #dfe4e7;padding-bottom:7px}.report-section>p,.report-update p{font-size:9px;line-height:1.65;color:#5e6a75}.report-status-grid{display:flex;gap:8px}.report-status-grid>div{flex:1;padding:9px;background:#f5f7f8;border-radius:6px;display:flex;justify-content:space-between}.report-status-grid span{font-size:8px}.report-status-grid strong{font:600 14px Georgia,serif}.report-section table{width:100%;border-collapse:collapse}.report-section th,.report-section td{text-align:left;padding:8px;border-bottom:1px solid #e7eaed;font-size:8px}.report-section th{text-transform:uppercase;color:#8a949d;font-size:7px}.report-update{display:grid;grid-template-columns:90px 1fr 40px;gap:10px;padding:11px 0;border-bottom:1px solid #e8ebed}.report-update>span{font-size:8px;color:#7f8992}.report-update>div strong{font-size:9px}.report-update>div p{margin:4px 0}.report-update>b{font:600 13px Georgia,serif;color:#9b682e}

.mobile-overlay{display:none}.collapsed .sidebar{width:70px}.collapsed .workspace{margin-left:70px}.collapsed .brand{padding:10px}.collapsed .brand img{width:47px;object-position:left}.collapsed .brand>span,.collapsed .sidebar-nav h6,.collapsed .nav-link span,.collapsed .nav-link em,.collapsed .sidebar-user>span,.collapsed .sidebar-user form{display:none}.collapsed .nav-link{justify-content:center;padding:0}.collapsed .sidebar-user{padding:8px;justify-content:center}
@media(max-width:1250px){.metric-grid{grid-template-columns:repeat(2,1fr)}.finance-metrics{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid .span-2{grid-column:span 2}.finance-pulse{grid-row:auto}.project-kpis{grid-template-columns:repeat(3,1fr)}.portal-projects{grid-template-columns:1fr 1fr}.finance-layout{grid-template-columns:1fr}.finance-layout .span-2{grid-column:auto}.access-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);width:258px!important}.workspace,.collapsed .workspace{margin-left:0}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .mobile-overlay{display:block;position:fixed;inset:0;background:#10182080;z-index:55}.content{padding:20px 14px 35px}.topbar{padding:0 13px}.breadcrumbs,.top-search{display:none}.page-header{align-items:center}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .span-2{grid-column:auto}.activity-grid{grid-template-columns:1fr}.activity-card:nth-child(odd){border-right:0}.project-kpis{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:1fr}.detail-grid .span-2{grid-column:auto}.media-grid{grid-template-columns:1fr 1fr}.financial-breakdown{grid-template-columns:1fr 1fr}.report-cards{grid-template-columns:1fr}.portal-projects{grid-template-columns:1fr 1fr}.portal-project-hero{align-items:flex-start}.portal-stats{grid-template-columns:repeat(3,1fr)}.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:330px;padding:40px}.auth-brand h1{font-size:40px}.auth-form{padding:35px 20px}.form-grid.three{grid-template-columns:1fr 1fr}.form-grid .span-3{grid-column:1/-1}.access-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.content{padding:16px 10px 28px}.page-header{align-items:flex-start}.page-header h1{font-size:27px}.page-header>.primary-button{font-size:0;min-width:38px;padding:0}.page-header>.primary-button svg{width:15px}.metric-grid,.finance-metrics{grid-template-columns:1fr}.project-hero{align-items:flex-start;flex-direction:column;padding:18px}.hero-actions{width:100%}.hero-actions a{flex:1}.project-identity{align-items:flex-start}.project-kpis{grid-template-columns:1fr 1fr}.project-kpis article:last-child{grid-column:1/-1}.tab-panel{padding:12px}.tab-nav{padding:0 11px;gap:14px}.project-summary dl{grid-template-columns:1fr}.project-summary dl>div{border-right:0!important}.project-summary dl>div:nth-last-child(2){border-bottom:1px solid #e9ecef}.panel-section-header{align-items:flex-start}.panel-section-header .primary-button{font-size:0;padding:0;min-width:36px}.media-grid{grid-template-columns:1fr}.financial-breakdown{grid-template-columns:1fr 1fr}.financial-dl{grid-template-columns:1fr 1fr}.financial-dl>div:nth-child(2){border-right:0}.timeline>article{grid-template-columns:44px 17px 1fr}.timeline-card{padding:11px}.timeline-card>footer{flex-wrap:wrap}.form-grid,.form-grid.three{grid-template-columns:1fr}.form-grid .span-2,.form-grid .span-3{grid-column:1}.dialog-card form>.form-grid{padding:15px}.inline-form{grid-template-columns:1fr}.portal-welcome{padding:22px;align-items:flex-start;flex-direction:column}.portal-welcome aside{width:100%}.portal-summary,.portal-stats{grid-template-columns:1fr 1fr}.portal-projects{grid-template-columns:1fr}.portal-project-hero{flex-direction:column;padding:20px}.portal-project-hero>div{width:100%}.portal-project-hero aside{border-left:0;border-top:1px solid #ffffff26;padding:15px 0 0;width:100%}.message-form{grid-template-columns:1fr}.client-timeline footer{flex-wrap:wrap}.report-kpis{grid-template-columns:1fr 1fr}.access-summary{grid-template-columns:1fr}.search-field{width:min(220px,100%)}.auth-brand{min-height:290px;padding:28px}.auth-brand>img{width:135px}.auth-brand h1{font-size:34px}.print-body{padding:10px}.receipt-sheet,.report-sheet{padding:25px 20px}.receipt-sheet dl{grid-template-columns:1fr}.receipt-sheet dl>div{border-right:0!important}.report-metrics{grid-template-columns:1fr 1fr}.report-metrics>div{border-bottom:1px solid #ffffff1c}.report-update{grid-template-columns:70px 1fr}.report-update>b{display:none}}
@media print{.print-body{background:#fff;padding:0}.print-actions{display:none}.receipt-sheet,.report-sheet{box-shadow:none;width:100%;padding:20px;min-height:auto}.receipt-sheet,.report-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}@page{size:letter;margin:.4in}}

/* Axion Apex readability and localization refinement */
body{font-size:14px;line-height:1.5}
.sidebar{width:276px}
.workspace{margin-left:276px}
.brand{height:88px;padding:11px 21px}
.brand img{width:106px;height:66px}
.brand b{font-size:10px;letter-spacing:.16em}
.brand small{font-size:9px;letter-spacing:.1em}
.sidebar-nav{padding:17px 13px}
.sidebar-nav h6{font-size:10px;margin-bottom:8px}
.nav-link{height:43px;font-size:12.5px;gap:12px;padding:0 13px}
.nav-link svg{width:18px;height:18px}
.nav-link em{font-size:10px}
.sidebar-user{padding:11px}
.sidebar-user strong{font-size:11.5px}
.sidebar-user small{font-size:10px}
.topbar{height:70px;padding-right:28px}
.breadcrumbs{font-size:11px}
.breadcrumbs strong{font-size:12px}
.top-search input{height:39px;font-size:12px}
.language-menu>button{display:flex;align-items:center;gap:7px;height:39px;padding:0 10px;font-size:11px;font-weight:750}
.language-menu>button img,.language-menu a img,.auth-language img{width:24px;height:17px;object-fit:cover;border:1px solid #d5d9dd;border-radius:3px;box-shadow:0 1px 2px #0718271a;flex:none}
.language-menu .language-chevron{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8;transform:rotate(90deg)}
.language-menu>div{top:45px;width:184px;padding:7px}
.language-menu a{display:flex;align-items:center;gap:10px;padding:10px;font-size:12px}
.language-menu a span{flex:1}
.language-menu a b{color:#9b6a30}
.content{padding:30px 32px 48px}
.eyebrow{font-size:10px;letter-spacing:.12em}
.page-header{margin-bottom:24px}
.page-header h1,.project-hero h1,.portal-welcome h1,.portal-project-hero h1{font-size:clamp(30px,3vw,39px)}
.page-header p{font-size:13px;line-height:1.55}
.primary-button,.secondary-button{min-height:40px;padding:0 15px;font-size:12px}
.compact-button{min-height:33px;font-size:10px}
.panel-header{min-height:70px;padding:16px 20px}
.panel-header h2,.detail-card h2,.panel-section-header h2,.section-heading h2{font-size:18px}
.panel-header p,.panel-section-header p,.section-heading p{font-size:11.5px;line-height:1.5}
.panel-header>a{font-size:11px}
.panel-toolbar{padding:14px 17px}
.filter-form>label:not(.search-field){font-size:10.5px}
.filter-form input,.filter-form select{height:38px;font-size:12px}
.filter-form>a{font-size:11px}
.data-table th{height:41px;padding:0 15px;font-size:9.5px}
.data-table td{padding:13px 15px;font-size:11.5px;line-height:1.45}
.block-muted{font-size:10px!important;margin-top:4px}
.record-title strong{font-size:11.5px}
.record-title small{font-size:9.5px}
.record-monogram{width:35px;height:35px;font-size:10px}
.status{padding:4px 8px;font-size:9.5px}
.progress-line span{font-size:10px;width:34px}
.metric-card{min-height:104px;padding:18px}
.metric-card small{font-size:10px}
.metric-card strong{font-size:26px;margin:5px 0}
.metric-card em{font-size:9.5px}
.metric-icon{width:42px;height:42px}
.activity-list strong,.activity-card strong{font-size:11px}
.activity-list small,.activity-card small{font-size:9.5px}
.activity-card em,.chart-key,.panel-footer{font-size:9.5px}
.net-box span{font-size:10px}
.tab-nav button{font-size:11px}
.project-kpis small,.financial-breakdown span,.portal-stats small,.portal-summary span{font-size:10px}
.project-kpis strong,.financial-breakdown strong,.portal-stats strong,.portal-summary strong{font-size:21px}
.detail-card dt,.financial-dl dt{font-size:10px}
.detail-card dd,.financial-dl dd{font-size:12px}
.timeline-card h3,.media-grid h3{font-size:13px}
.timeline-card p,.media-grid p,.client-timeline p{font-size:11.5px;line-height:1.6}
.timeline-card footer,.media-grid small,.client-timeline footer{font-size:9.5px}
.form-grid label,.auth-card label{font-size:11.5px;gap:7px}
.form-grid input,.form-grid select,.form-grid textarea,.auth-card input,.message-form textarea{font-size:13px}
.form-grid input,.form-grid select,.auth-card input{height:43px}
.hint,.field-error{font-size:10px}
.dialog-card>header h2{font-size:22px}
.dialog-card>header{padding:18px 21px}
.dialog-card form>.form-grid{padding:20px 21px}
.dialog-card form>footer{padding:15px 21px}
.auth-card{padding:42px}
.auth-card h2{font-size:34px}
.auth-card>p{font-size:12.5px}
.auth-kicker{font-size:10px}
.auth-security p{font-size:10.5px}
.auth-language{position:fixed;top:18px;right:20px;z-index:100;display:flex;gap:7px;padding:6px;border:1px solid #dfe3e6;border-radius:10px;background:#ffffffed;box-shadow:0 8px 28px #07182717;backdrop-filter:blur(8px)}
.auth-language a{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:7px;color:#65717c;font-size:11px;font-weight:700;text-decoration:none}
.auth-language a:hover,.auth-language a.active{background:#f2e9dc;color:#80582c}
.receipt-sheet>header span,.report-sheet>header span,.receipt-title small,.receipt-notes small{font-size:10px}
.receipt-sheet>header strong,.report-sheet>header strong{font-size:21px}
.receipt-title strong,.receipt-amount p{font-size:12px}
.receipt-sheet dt{font-size:9.5px}
.receipt-sheet dd{font-size:11.5px}
.receipt-notes p{font-size:11px}
.report-heading p,.report-section>p,.report-update p{font-size:11px}
.report-metrics small{font-size:8.5px}
.report-metrics strong{font-size:15px}
.report-section h2{font-size:17px}
.report-section th{font-size:9px}
.report-section td{font-size:10.5px}
.stock-state{display:inline-flex;align-items:center;gap:6px;font-weight:800}
.stock-state::before{width:8px;height:8px;border-radius:50%;background:#2d755c;content:""}
.stock-state.low{color:#b14b50}.stock-state.low::before{background:#b14b50}
.movement-type{display:inline-flex;padding:4px 8px;border-radius:12px;background:#eef2f4;color:#52606d;font-size:9.5px;font-weight:800}
.audit-event{display:flex;align-items:center;gap:10px;min-width:190px}
.audit-event>span{width:34px;height:34px;border-radius:50%;background:#efe5d8;color:#94632e;display:grid;place-items:center;font-weight:900;flex:none}
.audit-event p{display:flex;flex-direction:column;margin:0}.audit-event small{font-size:9.5px;color:#8b949d}
.audit-details{max-width:320px;color:#68737d;white-space:normal;word-break:break-word}
.audit-details summary{cursor:pointer;color:#8d612e;font-weight:750}.audit-details pre{max-height:220px;overflow:auto;padding:10px;border-radius:7px;background:#f5f7f8;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}

@media(max-width:900px){.sidebar{width:276px!important}.workspace,.collapsed .workspace{margin-left:0}.content{padding:22px 16px 38px}.auth-language{position:absolute}.auth-language a span{display:none}}
@media(max-width:600px){body{font-size:13px}.content{padding:18px 11px 30px}.page-header h1{font-size:29px}.page-header p{font-size:12px}.primary-button,.secondary-button{font-size:11px}.data-table td{font-size:11px}.auth-language{top:10px;right:10px}.auth-card{padding:30px 23px}.auth-card h2{font-size:29px}}

/* Secondary text remains readable on every operational screen */
.back-row{font-size:11px}
.project-hero p,.portal-project-hero p{font-size:12px}
.project-kpis article>span,.portal-welcome aside span{font-size:10px}
.project-summary>p{font-size:12px}
.project-summary dd small,.phase-list small,.control-list small{font-size:10px}
.phase-list strong,.control-list strong{font-size:11.5px}
.timeline-date span{font-size:9.5px}
.tab-nav button em{font-size:9px}
.vertical-chart small{font-size:9px}
.report-kpis span{font-size:10px}
.report-cards h2{font-size:16px}
.report-cards p{font-size:11.5px;line-height:1.5}
.access-summary strong,.user-cell strong{font-size:11.5px}
.access-summary small,.user-cell small{font-size:10px}
.role-badge{width:36px;height:36px;font-size:10px}
.portal-welcome p{font-size:12.5px}
.portal-welcome aside small{font-size:10px}
.portal-projects article>div>small{font-size:9.5px}
.portal-projects h2{font-size:19px}
.portal-projects p,.portal-progress span{font-size:11px}
.portal-projects dt{font-size:9.5px}
.portal-projects dd{font-size:11px}
.portal-project-hero aside small{font-size:9.5px}
.portal-project-hero aside span{font-size:10.5px}
.client-timeline article>header{font-size:10px}
.document-list strong{font-size:11.5px}
.document-list small,.document-list em{font-size:10px}
.message-thread article>div{font-size:11.5px}
.message-thread small{font-size:9.5px}
.auth-brand p{font-size:13px}
.auth-brand small,.auth-brand footer{font-size:10px}
.form-alert,.toast p{font-size:11.5px}
.upload-zone strong{font-size:12px}
.upload-zone small,.compact-empty{font-size:10.5px}
.error-page p{font-size:12px}
.form-grid label[hidden]{display:none}
.audit-filter{row-gap:10px}
@media(max-width:700px){.audit-filter{width:100%}.audit-filter>label,.audit-filter>label.search-field{width:100%}.audit-filter input,.audit-filter select{width:100%}}

/* Multi-company workspace */
.page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.company-switcher{height:39px;display:flex;align-items:center;gap:7px;padding:0 8px 0 10px;border:1px solid #e0e4e7;border-radius:7px;background:#fff}.company-switcher>span{font-size:9px;font-weight:800;color:#9b6a30;text-transform:uppercase;letter-spacing:.08em}.company-switcher select{border:0;background:transparent;outline:0;max-width:220px;color:#3f4b57;font-size:11px;font-weight:750;cursor:pointer}
.company-select-body{min-height:100vh;background:linear-gradient(135deg,#101923,#243449);display:grid;place-items:center;padding:34px}.company-select-shell{width:min(1120px,100%);display:grid;grid-template-columns:310px 1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 28px 80px #07101a66;min-height:600px}.company-select-brand{background:linear-gradient(180deg,#071827,#06131f);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:40px;color:#d2a56b;text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:800}.company-select-brand img{width:190px;max-height:120px;object-fit:contain}.company-select-panel{padding:52px}.company-select-panel>h1{font:600 38px/1.1 Georgia,serif;margin:8px 0;color:#1f2a35}.company-select-panel>p{margin:0 0 26px;color:#77818c;font-size:13px;max-width:700px}.company-select-grid{display:grid;gap:12px;margin-top:18px}.company-select-card{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:15px;border:1px solid #e1e5e8;border-radius:11px;padding:14px;background:#fff;transition:.17s ease}.company-select-card:hover{border-color:#c99a60;box-shadow:0 8px 24px #07182710;transform:translateY(-1px)}.company-select-card>div:nth-child(3){min-width:0}.company-select-card small,.company-summary-main small{display:block;color:#a87520;font-size:9px;font-weight:850;letter-spacing:.08em}.company-select-card strong,.company-summary-main strong{display:block;color:#2d3945;font-size:14px;margin-top:2px}.company-select-card span,.company-summary-main span{display:block;color:#7d8790;font-size:10px;margin-top:2px}.company-select-card em{display:block;color:#9ba2a8;font-size:9px;font-style:normal;margin-top:4px}.company-monogram{width:48px;height:48px;border-radius:10px;background:#172331!important;color:#d9af78!important;display:grid!important;place-items:center;font:700 13px Georgia,serif;flex:none}.company-select-panel>footer{display:flex;justify-content:space-between;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid #eceff1}.company-select-panel>footer form{margin:0}.company-empty{grid-column:1/-1;padding:34px;border:1px dashed #d8dde1;border-radius:10px;text-align:center;color:#7a858f;background:#fafbfb}.company-empty strong{display:block;color:#46525e;font-size:14px}.company-empty p{margin:6px 0 0;font-size:11px}
.company-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:16px}.company-summary-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;display:grid;grid-template-columns:48px 1fr auto;gap:13px;align-items:start}.company-summary-main{min-width:0}.company-summary-card>dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);margin:7px 0 0;border:1px solid #edf0f2;border-radius:8px}.company-summary-card>dl div{padding:10px 11px;border-right:1px solid #edf0f2}.company-summary-card>dl div:last-child{border:0}.company-summary-card dt{font-size:8px;color:#8d969e;text-transform:uppercase}.company-summary-card dd{margin:3px 0 0;font-size:15px;color:#33404c;font-weight:800}.company-summary-card>footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-top:4px;color:#8b949d;font-size:10px}.company-dialog{width:min(920px,calc(100vw - 28px))}
.consolidated-filter{margin-bottom:18px}.consolidated-filter-form{padding:17px 19px}.company-check-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:9px}.company-check-grid label{display:flex;align-items:center;gap:10px;border:1px solid #e1e5e8;border-radius:8px;padding:10px 12px;cursor:pointer;background:#fbfcfc}.company-check-grid input{accent-color:#ae7835}.company-check-grid span{display:flex;flex-direction:column}.company-check-grid strong{font-size:11px;color:#3c4854}.company-check-grid small{font-size:9px;color:#8c959d;margin-top:2px}.consolidated-date-row{display:flex;align-items:flex-end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #edf0f2}.consolidated-date-row label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#6d7882}.consolidated-date-row input{height:38px;border:1px solid #dce1e5;border-radius:6px;padding:0 10px;background:#fff;font-size:11px}.consolidated-transactions{margin-top:18px}
@media(max-width:1250px){.company-summary-grid,.company-check-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.company-switcher>span{display:none}.company-switcher select{max-width:170px}}
@media(max-width:900px){.company-select-shell{grid-template-columns:1fr}.company-select-brand{padding:24px;min-height:150px}.company-select-brand img{width:140px}.company-select-panel{padding:30px}.company-switcher{display:none}.top-search{display:none}.company-summary-grid,.company-check-grid{grid-template-columns:1fr}}
@media(max-width:600px){.company-select-body{padding:12px}.company-select-panel{padding:24px 18px}.company-select-panel>h1{font-size:30px}.company-select-card{grid-template-columns:44px 1fr}.company-select-card .primary-button{grid-column:1/-1}.company-monogram{width:44px;height:44px}.consolidated-date-row{align-items:stretch;flex-direction:column}.company-summary-card{grid-template-columns:44px 1fr}.company-summary-card>.status{position:absolute;top:14px;right:14px}.page-actions{width:100%;justify-content:flex-start}}

/* Entity photos/documents: employees and project history */
.attachment-cell{display:flex;align-items:center;gap:8px;min-width:110px}.attachment-cell>span:last-child{display:flex;flex-direction:column;font-size:9px;font-weight:700}.attachment-cell small{font-size:7.5px;color:#8a949d;font-weight:500;margin-top:2px}.mini-photo{width:34px;height:34px;border-radius:7px;overflow:hidden;border:1px solid var(--line);display:grid;place-items:center;background:#f5f6f7;flex:0 0 34px}.mini-photo img{width:100%;height:100%;object-fit:cover}.mini-photo.placeholder{color:#9da5ac;font-size:15px}.attachment-manager{border-top:1px solid var(--line);padding:15px 18px 18px;background:#fafbfb}.attachment-manager-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.attachment-manager-title strong{font-size:10px}.attachment-manager-title span{min-width:24px;height:20px;padding:0 7px;border-radius:12px;background:#efe5d8;color:#94642e;display:grid;place-items:center;font-size:8px;font-weight:800}.attachment-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.attachment-manager-grid>article{border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px;min-width:0}.attachment-preview{display:block;height:92px;border-radius:6px;overflow:hidden;background:#f3f5f6}.attachment-preview img{width:100%;height:100%;object-fit:cover}.attachment-doc{height:92px;border-radius:6px;background:#f5f1eb;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:9px;text-align:center;min-width:0}.attachment-doc b{font-size:10px;color:#9a682e}.attachment-doc span{font-size:8px;color:#68737d;margin-top:5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-remove{margin-top:6px;width:100%;border:0;background:transparent;color:#9b4c4c;font-size:8px;cursor:pointer;padding:4px}.history-attachments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.history-attachments>article{position:relative;min-width:0;border:1px solid #e4e7e9;border-radius:7px;background:#fafbfb;padding:5px}.history-photo{display:block;height:82px;border-radius:5px;overflow:hidden;background:#eef1f3}.history-photo img{width:100%;height:100%;object-fit:cover}.history-document{height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px;text-align:center}.history-document b{font-size:9px;color:#9b6b31}.history-document span{font-size:7.5px;color:#717b84;margin-top:4px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-attachments form{position:absolute;top:7px;right:7px}.history-attachments form button{width:20px;height:20px;border:0;border-radius:50%;background:#172331db;color:#fff;cursor:pointer;font-size:11px;line-height:20px;padding:0}.history-attachments form button:hover{background:#8b3f3f}
@media(max-width:900px){.attachment-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-attachments{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.attachment-manager-grid{grid-template-columns:1fr 1fr}.history-attachments{grid-template-columns:1fr 1fr}}

/* Real estate acquisition / renovation / sales workspace */
.company-mode-badge{display:inline-flex!important;width:max-content;margin-top:5px;padding:3px 7px;border-radius:12px;font-size:7.5px!important;font-weight:800!important;letter-spacing:.04em;text-transform:uppercase}.company-mode-badge.construction{background:#edf2f5;color:#4f6272}.company-mode-badge.real_estate{background:#f6ecd7;color:#97672d}.field-help{display:block;margin-top:5px;color:#929ba3;font-size:8px;font-weight:500;line-height:1.35}.danger-button{min-height:38px;border:1px solid #e5caca;background:#fff5f5;color:#944848;border-radius:7px;padding:0 13px;font-size:10px;font-weight:800;cursor:pointer}.danger-button:hover{background:#fceaea}.realestate-dialog{width:min(1040px,calc(100vw - 26px));max-height:92vh;overflow:auto}.property-form-sections{display:grid;gap:18px;padding:18px 20px}.property-form-sections>section{padding:16px;border:1px solid #e8ebed;border-radius:9px;background:#fbfcfc}.property-form-sections h3,.section-subtitle{font:700 12px/1.2 Georgia,serif;color:#35414c;margin:0 0 13px}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.realestate-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,.75fr);gap:18px}.realestate-layout>.span-2{min-width:0}.realestate-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.realestate-toolbar>span{font-size:9px;color:#8c959e;font-weight:750}.property-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px}.property-card{display:block;border:1px solid #e3e7ea;border-radius:10px;overflow:hidden;background:#fff;color:inherit;text-decoration:none;transition:.18s ease}.property-card:hover{border-color:#d0a46d;box-shadow:0 10px 26px #07182713;transform:translateY(-1px)}.property-cover{height:150px;position:relative;background:#e8ecef;overflow:hidden}.property-cover>img{width:100%;height:100%;object-fit:cover}.property-cover>.status{position:absolute;top:10px;right:10px;box-shadow:0 2px 8px #0002}.property-cover-placeholder{height:100%;display:grid;place-items:center;align-content:center;gap:8px;background:linear-gradient(135deg,#1a2734,#253749);color:#d6ad76}.property-cover-placeholder svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.4}.property-cover-placeholder span{font-size:9px;text-transform:uppercase;letter-spacing:.1em}.property-card-body{padding:14px}.property-card-body>small{font-size:8px;color:#a06d30;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.property-card-body h3{font:700 17px/1.15 Georgia,serif;color:#26333f;margin:5px 0 4px}.property-card-body>p{font-size:10px;color:#7d8790;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-card-body dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #edf0f2;border-radius:7px;margin:13px 0 10px}.property-card-body dl div{padding:9px;border-right:1px solid #edf0f2}.property-card-body dl div:last-child{border:0}.property-card-body dt{font-size:7px;color:#929aa1;text-transform:uppercase}.property-card-body dd{font-size:10px;color:#35424e;font-weight:800;margin:3px 0 0}.property-card-body footer{display:flex;align-items:center;justify-content:space-between;color:#8a949c;font-size:9px}.property-card-body footer strong{color:#a16e32}.property-deadlines{padding:8px 15px 16px}.property-deadlines>a{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f2;color:inherit;text-decoration:none}.property-deadlines>a:last-child{border:0}.deadline-date{width:38px;height:42px;border:1px solid #e3e6e8;border-radius:7px;display:grid;place-items:center;align-content:center;background:#fafbfb}.deadline-date b{font:700 14px Georgia,serif;color:#9b692f;line-height:1}.deadline-date small{font-size:7px;color:#89929a;text-transform:uppercase;margin-top:2px}.property-deadlines p{margin:0;min-width:0}.property-deadlines strong{display:block;font-size:10px;color:#3a4753}.property-deadlines small{display:block;font-size:8px;color:#8a949d;margin-top:2px}.realestate-property-hero{display:grid;grid-template-columns:135px 1fr auto;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:17px;margin-bottom:16px}.property-hero-cover{width:135px;height:98px;border-radius:9px;overflow:hidden;background:#1b2835}.property-hero-cover img{width:100%;height:100%;object-fit:cover}.property-hero-cover>div{height:100%;display:grid;place-items:center;color:#d7ae77}.property-hero-cover svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.35}.property-hero-main h1{font:700 28px/1.05 Georgia,serif;color:#24313c;margin:4px 0}.property-hero-main>p{margin:0;color:#7d8790;font-size:10px}.property-hero-tags{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px}.property-hero-tags>span:not(.status){border:1px solid #e3e7e9;border-radius:12px;padding:4px 8px;font-size:8px;color:#6f7a84;background:#fafbfb}.property-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.realestate-workspace{margin-top:17px}.property-detail-list>div{align-items:center}.realestate-financial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:4px 0}.realestate-financial-grid>div{border:1px solid #e8ebed;border-radius:8px;padding:12px;background:#fbfcfc}.realestate-financial-grid small{display:block;font-size:8px;color:#8d969f;text-transform:uppercase}.realestate-financial-grid strong{display:block;margin-top:4px;font:700 14px Georgia,serif;color:#35424f}.property-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}.property-photo-grid>article{border:1px solid #e1e5e8;border-radius:8px;overflow:hidden;background:#fff}.property-photo-grid a{display:block;height:130px;background:#eef1f3}.property-photo-grid img{width:100%;height:100%;object-fit:cover}.property-photo-grid footer{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 8px}.property-photo-grid footer span{font-size:8px;color:#646f79;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-photo-grid footer button,.property-document-list form button,.table-delete{border:0;background:transparent;color:#9c4a4a;cursor:pointer;font-size:13px;padding:2px 4px}.property-document-list article{display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:10px}.document-icon{width:38px;height:38px;border-radius:7px;background:#f3eadf;color:#9a682f;display:grid;place-items:center;font-size:8px;font-weight:900}.work-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.work-order-card{border:1px solid #e2e6e8;border-radius:9px;padding:15px;background:#fff}.work-order-card>header{display:flex;justify-content:space-between;gap:10px}.work-order-card>header small{font-size:8px;color:#a06c2f;font-weight:850}.work-order-card h3{margin:3px 0 0;font-size:13px;color:#33404c}.work-order-card>p{font-size:9.5px;line-height:1.5;color:#6f7a84;min-height:42px}.work-order-card dl{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #edf0f2;border-radius:7px;margin:12px 0}.work-order-card dl div{padding:9px;border-right:1px solid #edf0f2}.work-order-card dl div:last-child{border:0}.work-order-card dt{font-size:7px;color:#9099a1;text-transform:uppercase}.work-order-card dd{margin:3px 0 0;font-size:10px;font-weight:800;color:#3b4854}.linked-project{padding:10px;border-radius:7px;background:#172331;color:#fff;display:grid;grid-template-columns:1fr auto;gap:2px 8px}.linked-project span{grid-column:1/-1;font-size:7px;color:#d6ae77;text-transform:uppercase}.linked-project strong{font-size:9px}.linked-project em{font-size:8px;color:#d8dee3;font-style:normal}.work-status-form{display:flex;gap:8px;margin-top:10px}.work-status-form select{flex:1;height:36px;border:1px solid #dce1e4;border-radius:6px;padding:0 8px;background:#fff;font-size:9px}.sale-form{padding:4px 0}.inline-form-footer{display:flex;justify-content:flex-end;padding-top:15px;margin-top:14px;border-top:1px solid #eceff1}.finance-linked-note,.intercompany-callout{border:1px solid #dfe7df;background:#f5faf5;color:#4f6c52;border-radius:8px;padding:12px;font-size:9px}.intercompany-callout{margin:0 20px 18px;border-color:#eadcc9;background:#fbf8f3;color:#67533b}.intercompany-callout strong{font-size:10px;color:#96652c}.intercompany-callout p{margin:4px 0 0;line-height:1.45}.property-timeline{max-width:920px}.property-timeline>article{display:grid;grid-template-columns:62px 22px 1fr;gap:8px}.property-timeline .timeline-card{margin-bottom:13px}.property-timeline .timeline-card>footer{display:flex;gap:14px}.status.prospect,.status.preparing{background:#eef1f3;color:#65727d}.status.due_diligence,.status.offer_received,.status.quoted{background:#fff4dc;color:#9d711f}.status.under_contract,.status.under_offer,.status.approved{background:#e8eef9;color:#536d9d}.status.owned,.status.ready_to_list{background:#e9f4ee;color:#4e7a5d}.status.renovation,.status.in_progress{background:#f7eadc;color:#966229}.status.listed{background:#eee9f7;color:#705b91}.status.sold,.status.closed,.status.completed{background:#e5f2e9;color:#39714d}.status.cancelled{background:#f4e6e6;color:#934848}
@media(max-width:1250px){.realestate-layout{grid-template-columns:1fr}.property-kpis{grid-template-columns:repeat(3,1fr)}.property-photo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.property-card-grid,.work-order-grid{grid-template-columns:1fr}.realestate-property-hero{grid-template-columns:100px 1fr}.property-hero-cover{width:100px;height:82px}.realestate-property-hero>.hero-actions{grid-column:1/-1}.property-kpis{grid-template-columns:repeat(2,1fr)}.realestate-financial-grid{grid-template-columns:repeat(2,1fr)}.form-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.property-photo-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.property-card-grid{padding:10px}.property-card-body dl{grid-template-columns:1fr}.property-card-body dl div{border-right:0;border-bottom:1px solid #edf0f2}.property-card-body dl div:last-child{border:0}.realestate-property-hero{grid-template-columns:1fr}.property-hero-cover{width:100%;height:150px}.property-kpis{grid-template-columns:1fr}.realestate-financial-grid,.form-grid.four{grid-template-columns:1fr}.property-photo-grid{grid-template-columns:1fr 1fr}.work-order-card dl{grid-template-columns:1fr}.work-order-card dl div{border-right:0;border-bottom:1px solid #edf0f2}.work-order-card dl div:last-child{border:0}.property-document-list article{grid-template-columns:38px 1fr auto}.property-document-list form{grid-column:3}.realestate-toolbar{align-items:stretch;flex-direction:column}}

/* Intercompany construction ↔ real-estate link */
.intercompany-project-banner{display:grid;grid-template-columns:minmax(200px,1fr) minmax(200px,1fr) 2fr auto;gap:18px;align-items:center;margin:0 0 18px;padding:16px 18px;border:1px solid rgba(199,143,67,.32);border-radius:16px;background:linear-gradient(135deg,rgba(199,143,67,.10),rgba(23,32,43,.035))}
.intercompany-project-banner div{display:flex;flex-direction:column;gap:3px}.intercompany-project-banner span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.intercompany-project-banner strong{font-size:14px;color:var(--navy)}.intercompany-project-banner p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.realestate-report-kpis article small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.realestate-report-cards{margin-bottom:20px}
@media(max-width:900px){.intercompany-project-banner{grid-template-columns:1fr}.intercompany-project-banner p{grid-column:1}}

.intercompany-project-banner>form{margin:0}.linked-project form{margin-top:8px}.linked-project form button{width:100%}

/* Integrated Daily Jobsite Log inside each project */
.diary-summary-strip{display:grid;grid-template-columns:140px 150px 1fr;gap:10px;align-items:stretch;margin:0 0 18px}.diary-summary-strip>div{border:1px solid #e5e9ec;border-radius:8px;background:#fafbfb;padding:11px 13px;display:flex;flex-direction:column}.diary-summary-strip strong{font:700 18px Georgia,serif;color:#9d6b31}.diary-summary-strip span{font-size:8px;color:#7d8790;text-transform:uppercase;letter-spacing:.05em;margin-top:3px}.diary-summary-strip>p{margin:0;border:1px solid #eadfce;background:#fcf9f5;border-radius:8px;padding:11px 13px;font-size:9px;line-height:1.55;color:#6d6154}.diary-card-tags{display:flex;align-items:center;gap:6px;margin-bottom:4px}.diary-source{display:inline-flex;align-items:center;border-radius:12px;padding:3px 7px;background:#edf2f5;color:#5d6b76;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.diary-source.legacy{background:#f4eee5;color:#8b6638}.diary-work{padding:11px 12px;margin:10px 0;border-radius:7px;background:#f8fafb;border:1px solid #e7ebee}.diary-work>strong,.diary-detail-grid strong{display:block;font-size:7.5px;color:#9b6a32;text-transform:uppercase;letter-spacing:.055em;margin-bottom:4px}.diary-work p,.diary-detail-grid p{font-size:9px;line-height:1.55;color:#596570;margin:0}.diary-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.diary-detail-grid>div{border:1px solid #e8ecef;border-radius:7px;padding:10px;background:#fff}.diary-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding-top:10px;margin-top:8px;border-top:1px solid #edf0f2}.diary-card-actions form{margin:0}.diary-delete{min-height:29px;border:1px solid #edd4d4;border-radius:6px;background:#fff;color:#a24e4e;padding:0 9px;font-size:8px;font-weight:800}.diary-delete:hover{background:#fcf2f2}.diary-dialog{width:min(900px,calc(100vw - 28px))}.diary-dialog .dialog-card{max-height:92vh;overflow:auto}.diary-dialog header p{margin:4px 0 0;font-size:8px;color:#87919a}.diary-edit-files{margin:0 18px 6px}.legacy-update-card{border-left:3px solid #d8c2a5}.diary-card{border-left:3px solid #c9952f}
@media(max-width:800px){.diary-summary-strip{grid-template-columns:1fr 1fr}.diary-summary-strip>p{grid-column:1/-1}.diary-detail-grid{grid-template-columns:1fr}}
@media(max-width:520px){.diary-summary-strip{grid-template-columns:1fr}.diary-summary-strip>p{grid-column:auto}.diary-card-actions{align-items:stretch;flex-direction:column}.diary-card-actions>*{width:100%}.diary-card-actions .secondary-button,.diary-delete{width:100%}}

/* Globe global information and confirmation modals */
.system-modal{border:0;padding:18px;background:transparent;max-width:none;width:100%;height:100%;margin:0;overflow:hidden;color:#26333f}.system-modal[open]{display:grid;place-items:center}.system-modal::backdrop{background:rgba(12,21,30,.64);backdrop-filter:blur(4px)}.system-modal-card{width:min(520px,calc(100vw - 32px));background:#fff;border:1px solid #e1e5e8;border-radius:14px;box-shadow:0 28px 90px rgba(7,14,21,.32);overflow:hidden;animation:system-modal-in .18s ease-out}.system-modal-header{display:grid;grid-template-columns:48px 1fr 34px;gap:13px;align-items:center;padding:19px 20px 17px;border-bottom:1px solid #e8ebed;background:#fff}.system-modal-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font:700 21px/1 Georgia,serif;background:#eef2f4;color:#596a78}.system-modal-header small{display:block;margin-bottom:3px;color:#a27035;font-size:8.5px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.system-modal-header h2{margin:0;font:700 20px/1.15 Georgia,serif;color:#26333f}.system-modal-x{width:32px;height:32px;border:0;border-radius:50%;background:#f2f4f5;color:#76818a;font-size:19px;line-height:1;cursor:pointer}.system-modal-x:hover{background:#e9edef;color:#35424e}.system-modal-content{padding:22px 22px 24px}.system-modal-content p{margin:0;font-size:12.5px;line-height:1.65;color:#596672;white-space:pre-line;overflow-wrap:anywhere}.system-modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:14px 20px;border-top:1px solid #e8ebed;background:#fafbfb}.system-modal-actions button{min-width:102px}.system-modal[data-type="success"] .system-modal-icon{background:#e8f4ed;color:#3e7653}.system-modal[data-type="error"] .system-modal-icon,.system-modal[data-type="delete"] .system-modal-icon{background:#f8eaea;color:#9a4e4e}.system-modal[data-type="warning"] .system-modal-icon,.system-modal[data-type="confirm"] .system-modal-icon{background:#f8efe1;color:#9a682e}.system-modal[data-type="info"] .system-modal-icon{background:#e9eff5;color:#526d86}.system-modal[data-type="delete"] .system-modal-header h2{color:#844040}@keyframes system-modal-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.system-modal{padding:12px}.system-modal-card{width:calc(100vw - 24px)}.system-modal-header{grid-template-columns:42px 1fr 32px;padding:16px}.system-modal-icon{width:40px;height:40px;font-size:18px}.system-modal-header h2{font-size:18px}.system-modal-content{padding:19px 17px 21px}.system-modal-content p{font-size:12px}.system-modal-actions{padding:12px 15px}.system-modal-actions button{flex:1;min-width:0}}

/* New Project / Job Ledger inspired registration flow */
.project-create-dialog{padding:12px}.project-wizard-card{width:min(1180px,calc(100vw - 24px));height:min(900px,calc(100vh - 24px));margin:auto;background:#f5f6f7;border:1px solid #dfe4e7;border-radius:13px;overflow:hidden;box-shadow:0 28px 100px #08111a66;display:flex;flex-direction:column}.project-wizard-header{min-height:102px;background:linear-gradient(135deg,#172330,#202d3b);color:#fff;display:grid;grid-template-columns:minmax(230px,.8fr) minmax(520px,1.7fr) 38px;gap:18px;align-items:center;padding:15px 18px 14px 22px}.project-wizard-brand h2{font:700 23px/1.08 Georgia,serif;margin:3px 0;color:#fff}.project-wizard-brand p{font-size:8.5px;color:#98a5b2;margin:5px 0 0;line-height:1.4}.project-wizard-brand .eyebrow{color:#d19a55}.project-wizard-close{width:33px;height:33px;border:1px solid #ffffff1f;border-radius:50%;background:#ffffff0d;color:#d5dde4;font-size:20px}.project-wizard-close:hover{background:#ffffff18;color:#fff}.project-wizard-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;align-items:center}.project-wizard-nav button{position:relative;min-height:50px;border:0;background:transparent;color:#8794a1;padding:5px 7px;display:flex;align-items:center;gap:8px;text-align:left;border-bottom:2px solid #ffffff12}.project-wizard-nav button b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;border:1px solid #4b5967;font-size:8px;flex:none}.project-wizard-nav button span{font-size:8px;line-height:1.2;font-weight:750}.project-wizard-nav button.active{color:#f1d5af;border-bottom-color:#c9924f}.project-wizard-nav button.active b{border-color:#d3a365;background:#d3a365;color:#172330}.project-wizard-card form{min-height:0;display:flex;flex-direction:column;flex:1}.project-wizard-main{padding:20px 22px 24px;overflow:auto;flex:1}.project-wizard-step{max-width:1060px;margin:0 auto}.project-wizard-step[hidden]{display:none}.wizard-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:13px}.wizard-section-heading>span{width:34px;height:34px;border-radius:8px;background:#182534;color:#d7aa6f;display:grid;place-items:center;font:800 9px Georgia,serif}.wizard-section-heading h3{font:700 19px/1.1 Georgia,serif;margin:0;color:#263440}.wizard-section-heading p{font-size:9px;color:#818b95;margin:4px 0 0}.wizard-card{background:#fff;border:1px solid #e0e5e8;border-radius:10px;box-shadow:0 2px 10px #13202d0a;padding:16px 17px;margin-bottom:13px}.wizard-card h4{font:700 12px Georgia,serif;margin:0 0 13px;color:#35424e}.wizard-inline-action{display:flex;flex-direction:column;justify-content:flex-end;gap:5px;padding-bottom:2px}.wizard-inline-action span{font-size:8px;color:#8c969e}.wizard-inline-action a{font-size:9px;color:#9b692f;font-weight:800}.client-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:13px;border:1px solid #e8ebed;border-radius:8px;background:#fafbfb;overflow:hidden}.client-snapshot>div{padding:10px 12px;border-right:1px solid #e8ebed}.client-snapshot>div:last-child{border:0}.client-snapshot small{display:block;font-size:7px;color:#8e979f;text-transform:uppercase;letter-spacing:.05em}.client-snapshot strong{display:block;font-size:9px;color:#394652;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scope-pricing-card{padding:0;overflow:hidden}.scope-table-head{display:grid;grid-template-columns:minmax(310px,2.2fr) 85px 92px 115px 115px 34px;gap:8px;padding:10px 12px;background:#f7f8f9;border-bottom:1px solid #e5e9ec;color:#828c95;text-transform:uppercase;font-size:7px;font-weight:850;letter-spacing:.04em}.scope-line{display:grid;grid-template-columns:minmax(310px,2.2fr) 85px 92px 115px 115px 34px;gap:8px;align-items:center;padding:11px 12px;border-bottom:1px solid #edf0f2}.scope-line-main{display:grid;gap:6px}.scope-line input,.scope-line textarea,.wizard-notes{width:100%;border:1px solid #dce1e5;border-radius:6px;background:#fff;color:#303c47;outline:0;padding:8px 9px;font-size:9.5px}.scope-line input{height:35px}.scope-line textarea{resize:vertical;line-height:1.35}.scope-line input:focus,.scope-line textarea:focus,.wizard-notes:focus{border-color:#c9952f;box-shadow:0 0 0 3px #c9952f1c}.scope-line>strong{text-align:right;color:#3a4752;font:700 11px Georgia,serif}.scope-remove{width:27px;height:27px;border:1px solid #ead4d4;border-radius:6px;background:#fff;color:#a55252;font-size:15px}.scope-remove:hover{background:#fff5f5}.scope-add{margin:11px 12px;min-height:32px;border:1px dashed #c8a171;border-radius:6px;background:#fcfaf7;color:#90612d;padding:0 11px;font-size:8.5px;font-weight:800}.scope-total-bar{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:12px 15px;background:#182534;color:#fff}.scope-total-bar span{font-size:8px;color:#aeb9c3;text-transform:uppercase;letter-spacing:.05em}.scope-total-bar strong{font:700 19px Georgia,serif;color:#e3b655}.wizard-notes{min-height:105px;line-height:1.5}.wizard-card-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:12px}.wizard-card-heading h4{margin:0}.wizard-card-heading p{font-size:8px;color:#89939c;margin:4px 0 0}.wizard-card-heading>span{font-size:8px;color:#9b692f;font-weight:800}.project-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-member-card{position:relative;display:grid!important;grid-template-columns:21px 34px 1fr;gap:9px;align-items:center;border:1px solid #e4e8eb;border-radius:8px;padding:9px;background:#fbfcfc;cursor:pointer}.project-member-card:has(input[type="checkbox"]:checked){border-color:#e3b655;background:#fdfaf6;box-shadow:inset 3px 0 #c9952f}.project-member-check input{position:absolute;opacity:0;pointer-events:none}.project-member-check i{display:block;width:17px;height:17px;border:1px solid #c9d0d5;border-radius:4px;background:#fff}.project-member-check input:checked+i{background:#c9952f;border-color:#c9952f;box-shadow:inset 0 0 0 4px #fff}.project-member-card .record-monogram{width:34px;height:34px}.project-member-copy{display:grid;grid-template-columns:1fr 155px;gap:2px 10px;align-items:center;min-width:0}.project-member-copy strong{font-size:9px;color:#384550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-member-copy small{grid-column:1;font-size:7.5px;color:#8d969e}.project-member-copy input{grid-column:2;grid-row:1/3;width:100%;height:32px;border:1px solid #dde2e5;border-radius:6px;padding:0 8px;font-size:8px;background:#fff;outline:0}.project-member-copy input:focus{border-color:#c9952f}.empty-inline{font-size:9px;color:#8b949d}.project-review-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:13px}.project-review-card dl{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid #eaedef;border-radius:8px;margin:0;overflow:hidden}.project-review-card dl>div{padding:11px;border-right:1px solid #eaedef;border-bottom:1px solid #eaedef}.project-review-card dl>div:nth-child(2n){border-right:0}.project-review-card dl>div:nth-last-child(-n+2){border-bottom:0}.project-review-card dt{font-size:7px;color:#9099a1;text-transform:uppercase}.project-review-card dd{font-size:10px;color:#35424e;font-weight:800;margin:4px 0 0}.project-review-financial{display:grid;grid-template-columns:1fr 1fr;gap:9px}.project-review-financial h4{grid-column:1/-1}.project-review-financial>div{padding:11px;border:1px solid #eaedef;border-radius:7px;background:#fafbfb}.project-review-financial small{font-size:7px;color:#8e979f;text-transform:uppercase}.project-review-financial strong{display:block;font:700 13px Georgia,serif;color:#96641d;margin-top:4px}.review-scope-list{display:grid;gap:7px}.review-scope-list>div{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid #edf0f2;padding:8px 0}.review-scope-list>div:last-child{border:0}.review-scope-list strong{font-size:9px;color:#3b4853}.review-scope-list small{display:block;color:#8b959d;font-size:7.5px;margin-top:2px}.review-scope-list b{font:700 10px Georgia,serif;color:#96641d}.wizard-ready{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #d9e7de;border-radius:9px;background:#f5faf7}.wizard-ready>span{width:31px;height:31px;border-radius:50%;background:#3f7b5e;color:#fff;display:grid;place-items:center;font-weight:900}.wizard-ready strong{font-size:10px;color:#365d49}.wizard-ready p{font-size:8px;color:#718077;margin:3px 0 0}.project-wizard-footer{min-height:63px;padding:11px 18px;border-top:1px solid #dfe4e7;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-wizard-footer>div{display:flex;gap:8px}.project-wizard-footer .primary-button,.project-wizard-footer .secondary-button{min-width:105px}.project-wizard-step .field-error{font-size:8px}.project-wizard-step .hint{font-size:7.5px}.project-wizard-step .form-grid{gap:12px}
@media(max-width:1000px){.project-wizard-header{grid-template-columns:1fr 38px}.project-wizard-nav{grid-column:1/-1;grid-row:2}.project-wizard-brand p{display:none}.scope-table-head{display:none}.scope-line{grid-template-columns:1fr 90px 100px 120px 36px}.scope-line-main{grid-column:1/-1}.scope-line>strong{grid-column:4;text-align:right}.scope-remove{grid-column:5}.client-snapshot{grid-template-columns:repeat(2,1fr)}.client-snapshot>div:nth-child(2){border-right:0}.client-snapshot>div:nth-child(-n+2){border-bottom:1px solid #e8ebed}.project-member-grid{grid-template-columns:1fr}}
@media(max-width:700px){.project-create-dialog{padding:0}.project-wizard-card{width:100vw;height:100vh;border-radius:0;border:0}.project-wizard-header{padding:12px;min-height:auto}.project-wizard-brand h2{font-size:19px}.project-wizard-nav{overflow:auto;display:flex}.project-wizard-nav button{min-width:120px}.project-wizard-main{padding:14px 10px 18px}.wizard-card{padding:13px 11px}.client-snapshot{grid-template-columns:1fr}.client-snapshot>div{border-right:0!important;border-bottom:1px solid #e8ebed}.client-snapshot>div:last-child{border-bottom:0}.scope-line{grid-template-columns:1fr 1fr}.scope-line-main{grid-column:1/-1}.scope-line>strong{grid-column:1}.scope-remove{grid-column:2;justify-self:end}.project-member-copy{grid-template-columns:1fr}.project-member-copy input{grid-column:1;grid-row:auto;margin-top:5px}.project-review-grid{grid-template-columns:1fr}.project-wizard-footer{padding:9px}.project-wizard-footer .primary-button,.project-wizard-footer .secondary-button{min-width:auto}.project-wizard-footer>div:last-child{margin-left:auto}}

.wizard-server-error{margin:0 0 10px;padding:9px 11px;border:1px solid #edcece;border-radius:7px;background:#fff5f5;color:#9d4a4a;font-size:9px;font-weight:750}

/* New project receipts + signatures */
.receipt-dropzone{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:92px;border:1px dashed #c9952f!important;border-radius:9px;background:#fdfaf6;cursor:pointer;text-align:center;padding:16px!important}.receipt-dropzone input{position:absolute;opacity:0;pointer-events:none}.receipt-dropzone span{font-size:10px;font-weight:850;color:#96641d}.receipt-dropzone small{font-size:7.5px;color:#8b949d;margin-top:5px}.receipt-read-status{font-size:8px;color:#7b8791;margin:8px 0}.receipt-list{display:grid;gap:8px;margin-top:10px}.receipt-row{display:grid;grid-template-columns:minmax(160px,1.15fr) 140px 112px 135px 125px 120px;gap:8px;align-items:center;border:1px solid #e3e7e9;border-radius:8px;padding:9px 10px;background:#fafbfb}.receipt-row strong{font-size:8.5px;color:#34424e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-row small{display:block;font-size:7px;color:#8a959e;margin-top:2px}.receipt-row input,.receipt-row select{height:32px;border:1px solid #dce1e5;border-radius:6px;padding:0 8px;font-size:8.5px}.receipt-status{font-size:7.5px;color:#8b949d}.receipt-status.ok{color:#3e775b}.receipt-status.warn{color:#a16a2f}.receipt-total-bar{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:10px;padding:10px 13px;border-radius:7px;background:#182534;color:#fff}.receipt-total-bar span{font-size:8px;color:#aeb9c3;text-transform:uppercase}.receipt-total-bar strong{font:700 18px Georgia,serif;color:#e3b655}.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.signature-pad{height:150px;border:1px solid #dbe1e5;border-radius:8px;background:repeating-linear-gradient(#fff,#fff 29px,#f0f2f3 30px);overflow:hidden;margin-bottom:10px}.signature-pad canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.signature-card .compact{min-height:31px;padding:0 11px;font-size:8px;margin-top:8px}@media(max-width:800px){.signature-grid{grid-template-columns:1fr}.receipt-row{grid-template-columns:1fr 1fr}.receipt-row>strong{grid-column:1/-1}}

/* Project receipts / automatic expense capture */
.receipt-project-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.receipt-project-summary article{background:#fff;border:1px solid #e2e6e9;border-radius:10px;padding:14px 15px;box-shadow:0 2px 10px #13202d08}.receipt-project-summary span{display:block;font-size:8px;color:#87919a;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.receipt-project-summary strong{display:block;margin-top:5px;font:700 18px Georgia,serif;color:#243340}.receipt-project-summary small{display:block;margin-top:4px;font-size:7.5px;color:#8b949d;line-height:1.4}.receipt-project-table .data-table td{vertical-align:middle}.receipt-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.receipt-row-actions form{margin:0}.receipt-row-actions .danger-link{border:0;background:transparent;color:#a04c4c;font-size:8px;font-weight:800;cursor:pointer}.status.recognized{background:#e8f4ed;color:#3d765a}.status.manual{background:#fff2de;color:#95642e}.status.needs_review{background:#f8e7e7;color:#9a4b4b}.receipt-upload-dialog .dialog-card{width:min(980px,calc(100vw - 28px))}.receipt-upload-dialog form{padding:0 18px 18px}.receipt-upload-intro{margin:3px 0 13px;padding:11px 13px;border:1px solid #e4e8ea;border-radius:8px;background:#f8f9fa}.receipt-upload-intro strong{font:700 12px Georgia,serif;color:#33414d}.receipt-upload-intro p{font-size:8.5px;color:#7e8993;margin:4px 0 0;line-height:1.45}.receipt-batch-options{margin-top:14px}.receipt-finance-note{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:10px 12px;border:1px solid #d9e7de;background:#f5faf7;border-radius:8px}.receipt-finance-note span{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#427b5e;color:#fff;font-size:9px;font-weight:900;flex:none}.receipt-finance-note p{margin:2px 0 0;font-size:8px;color:#617468;line-height:1.45}.receipt-needs-value{border-color:#c7914d!important;background:#fffaf3!important;box-shadow:0 0 0 3px #c9952f18}.receipt-amount-cell{display:grid;gap:4px}.receipt-amount-cell input[type="number"]{font-weight:850;color:#34424e}.receipt-row>div:first-child{min-width:0}.receipt-row>div:first-child strong{display:block}.receipt-row>div:first-child small{display:block}
@media(max-width:900px){.receipt-project-summary{grid-template-columns:1fr}.receipt-project-table{overflow:auto}.receipt-upload-dialog .dialog-card{width:calc(100vw - 12px)}.receipt-batch-options{grid-template-columns:1fr!important}}

/* Proposal-first operational workflow · September 2026 */
.header-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.workflow-banner{display:flex;align-items:center;gap:12px;background:#071827;color:#dce3ea;border-radius:12px;padding:17px 22px;margin:0 0 20px;box-shadow:var(--shadow)}.workflow-banner>div{display:flex;align-items:center;gap:9px;min-width:0}.workflow-banner>div span,.approval-rail article>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#2a3949;color:#d6ac73;font-size:10px;font-weight:900;flex:none}.workflow-banner b{font-size:11px;white-space:nowrap}.workflow-banner i{color:#67798b;font-style:normal}.ready-callout{border:1px solid #bfdccf;background:linear-gradient(90deg,#edf8f2,#fff);border-radius:11px;padding:18px 21px;margin-bottom:20px}.ready-callout h2{margin:5px 0;font:600 18px Georgia,serif;color:#245b47}.ready-callout p{margin:0;color:#65766e;font-size:11px}.signature-dots{display:flex;gap:5px;flex-wrap:wrap}.signature-dots span{font-size:8.5px;padding:4px 7px;border-radius:12px;background:#edf0f2;color:#89939c}.signature-dots span.done{background:#e3f3eb;color:#2d755c}.status.approved,.status.passed{background:#e3f3eb;color:#2d755c}.status.sent,.status.scheduled,.status.rescheduled{background:#e7eff8;color:#356683}.status.contractor_signed,.status.client_signed,.status.conditional{background:#fff0dc;color:#94601f}.status.converted{background:#eee9f2;color:#755b8a}.status.failed,.status.corrections_required,.status.cancelled,.status.rejected{background:#f8e8e9;color:#a94349}.estimate-builder{display:grid;gap:17px}.estimate-section{overflow:visible}.estimate-section .panel-header>div{position:relative;padding-left:44px}.step-badge{position:absolute;left:0;top:2px;width:31px;height:31px;border-radius:8px;display:grid;place-items:center;background:#f1e2cd;color:#9b692e;font-size:9px;font-weight:900}.estimate-form-grid{padding:21px}.estimate-items{padding:18px;display:grid;gap:12px}.estimate-item{border:1px solid #dfe4e8;border-radius:9px;background:#fbfcfd;padding:15px}.estimate-item-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.estimate-item-head strong{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#75818b}.estimate-item-head button{border:0;background:transparent;color:#a35b60;font-size:18px}.line-total,.calculated-field{min-height:58px;border:1px solid #e2e6e9;border-radius:7px;padding:10px 12px;background:#fff;display:flex;flex-direction:column;justify-content:center}.line-total span,.calculated-field span{font-size:8px;text-transform:uppercase;color:#8b949d;font-weight:800}.line-total strong,.calculated-field strong{font:600 16px Georgia,serif;color:#8b5b24;margin-top:3px}.estimate-totals{display:grid;grid-template-columns:150px 150px 150px 1fr;gap:10px;padding:0 18px 20px;align-items:start}.estimate-totals>label{display:grid;gap:5px;font-size:9px;font-weight:700;color:#68747f}.estimate-totals input,.estimate-totals select{height:38px;border:1px solid #dce1e5;border-radius:6px;padding:0 9px}.estimate-totals dl{margin:0 0 0 auto;width:min(100%,360px);border:1px solid #dde2e6;border-radius:8px;overflow:hidden}.estimate-totals dl>div{display:flex;justify-content:space-between;padding:8px 11px;border-bottom:1px solid #e9edef;font-size:10px}.estimate-totals dl>div:last-child{border:0}.estimate-totals .grand{background:#071827;color:#fff}.estimate-totals .grand dd{font-weight:900;color:#e1bd89}.builder-footer{position:sticky;bottom:12px;z-index:20;background:#fff;border:1px solid #dfe4e8;border-radius:10px;box-shadow:0 12px 35px #07182720;padding:12px 15px;display:flex;align-items:center;justify-content:space-between}.builder-footer>div{display:flex;align-items:center;gap:13px}.builder-footer>div>span{font-size:9px;color:#818c96}.builder-footer>div>strong{font:600 18px Georgia,serif;color:#9b682e}.estimate-hero{background:linear-gradient(125deg,#071827,#213043);border-radius:12px;color:#fff;padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.estimate-hero h1{font:600 30px Georgia,serif;margin:5px 0;color:#fff}.estimate-hero p{margin:0;color:#aab6c1;font-size:11px}.estimate-hero aside{display:flex;align-items:flex-end;flex-direction:column;gap:9px}.estimate-hero aside>strong{font:600 27px Georgia,serif;color:#e0bb84}.approval-rail{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 17px;margin-bottom:18px;box-shadow:var(--shadow)}.approval-rail article{flex:1;display:flex;align-items:center;gap:9px;min-width:0}.approval-rail article.done>span{background:#2d755c;color:#fff}.approval-rail article.current>span{background:#c9952f;color:#fff}.approval-rail article div{display:flex;flex-direction:column;min-width:0}.approval-rail article strong{font-size:10px}.approval-rail article small{font-size:8.5px;color:#8a949e;margin-top:2px}.approval-rail>i{font-style:normal;color:#c4cbd1;margin:0 9px}.estimate-detail-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr);gap:17px}.estimate-preview .panel-header{border-bottom:1px solid var(--line)}.estimate-client-block{display:grid;grid-template-columns:1.2fr 1.4fr .7fr;border-bottom:1px solid var(--line)}.estimate-client-block>div{padding:15px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column}.estimate-client-block>div:last-child{border-right:0}.estimate-client-block span{font-size:8px;color:#89939c;text-transform:uppercase;font-weight:800}.estimate-client-block strong{font-size:11px;margin-top:5px}.estimate-client-block small{font-size:8.5px;color:#7b8791;margin-top:3px}.estimate-lines-table{padding:12px 18px}.estimate-lines-table>div{display:grid;grid-template-columns:1fr 80px 90px 90px;gap:8px;padding:10px 8px;border-bottom:1px solid #e9edef;align-items:center;font-size:9.5px}.estimate-lines-table .head{font-size:8px;text-transform:uppercase;color:#8a949e;font-weight:800;background:#f7f8f9}.estimate-lines-table strong{font-size:10px}.estimate-lines-table small{display:block;color:#89939c;margin-top:3px}.estimate-summary{padding:5px 18px 18px;display:flex;justify-content:flex-end}.estimate-summary dl{width:330px;margin:0;border-top:1px solid #dfe4e8}.estimate-summary dl>div{display:flex;justify-content:space-between;padding:8px 4px;font-size:9.5px}.estimate-summary .grand{border-top:1px solid #cfd6db;font-weight:900;font-size:12px}.estimate-actions-column{display:grid;gap:13px;align-content:start}.action-card{padding:17px}.action-card>div:first-child{position:relative;padding-left:42px}.action-number{position:absolute;left:0;top:0;width:30px;height:30px;border-radius:8px;background:#f2e4d2;color:#9a672b;display:grid;place-items:center;font-size:8px;font-weight:900}.action-card h2,.signed-card h2{font:600 17px Georgia,serif;margin:0}.action-card p{font-size:10px;color:#78838d;line-height:1.5}.action-card form{display:grid;gap:10px;margin-top:13px}.action-card label{display:grid;gap:5px;font-size:9px;font-weight:700}.action-card input,.action-card select{height:38px;border:1px solid #dce1e5;border-radius:6px;padding:0 10px}.signature-pad{border:1px solid #d8dde1;border-radius:8px;background:#fafbfb;padding:7px}.signature-pad canvas{width:100%;height:130px;background:#fff;border:1px dashed #cbd2d7;border-radius:5px;touch-action:none;display:block}.signature-pad.public canvas{height:180px}.wide-button{width:100%}.signed-card{padding:16px;display:flex;gap:11px;align-items:center;border-color:#c8e0d4;background:#f6fbf8}.signed-card>span,.converted-project-card>span{width:35px;height:35px;border-radius:50%;background:#2d755c;color:#fff;display:grid;place-items:center;font-weight:900;flex:none}.signed-card p{font-size:9px;color:#68776f;margin:4px 0 0}.converted-project-card{padding:15px;display:flex;gap:11px;align-items:center}.converted-project-card div{display:flex;flex-direction:column}.converted-project-card small{color:#7d8790;margin-top:4px;font-size:9px}.action-footnote{display:block;margin-top:9px;color:#8a949d;font-size:8px}.event-list{padding:10px 16px 16px}.event-list>div{display:grid;grid-template-columns:10px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid #edf0f2}.event-list i{width:7px;height:7px;border-radius:50%;background:#c08a47;margin-top:4px}.event-list span{display:flex;flex-direction:column}.event-list strong{font-size:9px}.event-list small{font-size:8px;color:#8a949e;margin-top:2px}.public-sign-body{background:#eef1f3;min-height:100vh;padding:24px}.public-sign-shell{max-width:900px;margin:auto}.public-sign-shell>header{background:#071827;border-radius:12px 12px 0 0;padding:18px 24px;display:flex;align-items:center;gap:18px;color:#fff}.public-sign-shell>header img{width:110px;height:60px;object-fit:contain}.public-sign-shell>header>div{border-left:1px solid #ffffff25;padding-left:17px;display:flex;flex-direction:column}.public-sign-shell>header span{font-size:8px;color:#d0a66f;letter-spacing:.12em}.public-sign-shell>header strong{font:600 17px Georgia,serif;margin-top:4px}.public-alert{background:#fff0dc;color:#8b5c23;padding:12px 18px;border:1px solid #efd5af}.public-estimate,.public-signature-box{background:#fff;border:1px solid #dfe3e6;border-top:0;padding:27px}.public-estimate-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e2e6e9;padding-bottom:18px}.public-estimate-head span,.public-client span{font-size:8px;text-transform:uppercase;color:#8b959e;font-weight:800}.public-estimate-head h1{font:600 25px Georgia,serif;margin:4px 0}.public-estimate-head p{font-size:11px;color:#65717c}.public-estimate-head>strong{font:600 28px Georgia,serif;color:#a36e2d}.public-client{display:grid;grid-template-columns:1fr 1fr;padding:17px 0}.public-client>div{display:flex;flex-direction:column}.public-client strong{font-size:11px;margin-top:4px}.public-lines{border:1px solid #dfe4e7;border-radius:8px;overflow:hidden}.public-lines>div{display:grid;grid-template-columns:1fr 90px 110px;padding:11px 12px;border-bottom:1px solid #e9edef;gap:8px;font-size:10px}.public-lines>div:last-child{border-bottom:0}.public-lines .head{background:#f5f7f8;text-transform:uppercase;font-size:8px;font-weight:800;color:#7f8a94}.public-lines strong{font-size:10px}.public-lines small{display:block;color:#87919a;margin-top:3px}.public-total{margin:18px 0 0 auto;width:310px;background:#071827;color:#fff;border-radius:8px;padding:15px;display:grid;grid-template-columns:1fr auto}.public-total span{font-size:10px}.public-total strong{font:600 20px Georgia,serif;color:#e0bb84}.public-total small{grid-column:1/-1;color:#aeb8c0;margin-top:7px;font-size:8.5px}.public-terms{margin-top:18px}.public-terms strong{font-size:10px}.public-terms p{font-size:9.5px;line-height:1.6;color:#5f6b76}.contractor-proof{margin-top:20px;border:1px solid #c9dfd4;background:#f5fbf8;border-radius:8px;padding:12px;display:flex;align-items:center;gap:10px}.contractor-proof>span{width:27px;height:27px;border-radius:50%;background:#2d755c;color:#fff;display:grid;place-items:center}.contractor-proof div{display:flex;flex-direction:column}.contractor-proof strong{font-size:9px}.contractor-proof small{font-size:8px;color:#718078}.public-signature-box{margin-top:14px;border-top:1px solid #dfe3e6;border-radius:10px}.public-signature-box h2{font:600 23px Georgia,serif;margin:6px 0}.public-signature-box>p{font-size:10px;color:#697680}.public-signature-box form{display:grid;gap:14px}.accept-line{display:flex!important;align-items:flex-start;gap:8px;font-size:9.5px!important}.accept-line input{width:auto!important;height:auto!important;margin-top:2px}.public-sign-button{min-height:46px;font-size:13px}.public-sign-shell>footer{text-align:center;font-size:8px;color:#7f8992;padding:15px}.signature-success{max-width:580px;margin:10vh auto;background:#fff;border-radius:13px;padding:38px;text-align:center;box-shadow:0 20px 60px #07182718}.signature-success img{width:140px;height:80px;object-fit:contain}.signature-success>span{width:50px;height:50px;border-radius:50%;background:#2d755c;color:#fff;font-size:24px;display:grid;place-items:center;margin:20px auto}.signature-success.error>span{background:#b64b51}.signature-success h1{font:600 28px Georgia,serif}.signature-success p{font-size:11px;line-height:1.65;color:#65717c}.signature-success small{font-size:9px;color:#9099a1}.ready-projects-panel{margin-bottom:18px}.ready-count{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e6f3ec;color:#2d755c;font-weight:900}.ready-project-list{display:grid}.ready-project-list>a{display:grid;grid-template-columns:1fr 130px 130px;gap:15px;align-items:center;padding:14px 18px;border-bottom:1px solid #e9edef}.ready-project-list>a:hover{background:#fbfcfc}.ready-project-list div{display:flex;flex-direction:column}.ready-project-list strong{font-size:11px}.ready-project-list span{font-size:10px;margin-top:3px}.ready-project-list small{font-size:8.5px;color:#89939c;margin-top:3px}.ready-project-list>b{font:600 15px Georgia,serif;color:#8d5e28}.ready-project-list em{font-style:normal;font-size:9px;color:#96652d}.operational-hero{margin-bottom:12px}.operational-kpis{grid-template-columns:repeat(5,1fr)}.project-command-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:9px;margin-bottom:14px;box-shadow:var(--shadow)}.project-command-bar>span{font-size:8px;font-weight:900;color:#9c6a30;letter-spacing:.1em;margin-right:6px}.project-command-bar button{height:31px;border:1px solid #dce1e5;background:#f9fafb;color:#4f5d69;border-radius:6px;padding:0 9px;font-size:9px}.project-command-bar button:hover{background:#f6ecd7;border-color:#d5b387}.link-tabs a{height:47px;display:flex;align-items:center;gap:5px;border-bottom:2px solid transparent;color:#707b85;font-size:10px;font-weight:750;white-space:nowrap}.link-tabs a.active{color:#a06b2d;border-bottom-color:#c9952f}.link-tabs a em{font-style:normal;background:#edf0f2;border-radius:10px;padding:1px 5px;font-size:8px}.operations-overview-grid{display:grid;grid-template-columns:1.5fr .75fr;gap:14px}.operations-overview-grid .span-2{grid-column:auto}.command-metrics{padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.command-metrics>div,.financial-mini>div{background:#f7f9fa;border:1px solid #e8ecef;border-radius:7px;padding:10px;display:flex;flex-direction:column}.command-metrics strong{font:600 17px Georgia,serif;color:#95632a}.command-metrics span,.financial-mini span{font-size:8px;color:#7f8992;margin-top:3px}.compact-timeline{padding:8px 16px 16px}.compact-timeline>div{display:grid;grid-template-columns:10px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #ebeff1}.compact-timeline i{width:7px;height:7px;background:#bc8440;border-radius:50%;margin-top:4px}.compact-timeline span{display:flex;flex-direction:column}.compact-timeline strong{font-size:10px}.compact-timeline small{font-size:8px;color:#8b949d;margin-top:3px}.compact-timeline p{font-size:9px;color:#64707b;margin:4px 0 0;line-height:1.5}.financial-mini{padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.financial-mini strong{font:600 15px Georgia,serif;margin-top:3px}.daily-columns,.finance-ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.daily-log-card,.finance-ops-grid .span-2{grid-column:1/-1}.ops-card{border:1px solid #e0e5e8;border-radius:9px;background:#fff;overflow:hidden}.ops-card>header{padding:13px 15px;border-bottom:1px solid #e9edef;display:flex;align-items:center;justify-content:space-between;gap:12px}.ops-card h3{font:600 15px Georgia,serif;margin:0}.ops-card header p{font-size:9px;color:#87919a;margin:4px 0 0}.ops-card header>strong{font:600 15px Georgia,serif;color:#98672e;display:flex;flex-direction:column;text-align:right}.ops-card header>strong small{font:400 7.5px Arial;color:#8a949d;margin-top:3px}.data-table.compact th{height:34px}.data-table.compact td{padding-top:9px;padding-bottom:9px}.table-action{width:26px;height:26px;border:0;border-radius:5px}.table-action.danger{background:#f8e8e9;color:#a7484e}.compact-list{padding:5px 14px 13px}.compact-list>div{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf0f2}.compact-list>div>span{display:flex;flex-direction:column;flex:1}.compact-list strong{font-size:9.5px}.compact-list small{font-size:8px;color:#8a949e;margin-top:2px}.compact-list b{font-size:9px}.compact-list em{font-style:normal;color:#96652d;font-size:9px}.finance-flow-strip{display:grid;grid-template-columns:1fr 35px 1fr 35px 1fr 35px 1fr;background:#071827;color:#fff;border-radius:9px;margin-bottom:13px}.finance-flow-strip>div{padding:14px 16px;display:flex;flex-direction:column}.finance-flow-strip>i{display:grid;place-items:center;color:#617286;font-style:normal}.finance-flow-strip span{font-size:7.5px;color:#9fadb9;letter-spacing:.08em}.finance-flow-strip strong{font:600 19px Georgia,serif;color:#e0bb84;margin-top:4px}.finance-flow-strip small{font-size:7.5px;color:#9eabb6;margin-top:3px}.invoice-list{padding:6px 14px 14px}.invoice-list>article{border:1px solid #e1e5e8;border-radius:8px;padding:11px;margin-top:9px;display:grid;grid-template-columns:1fr 1.1fr auto;gap:12px;align-items:center}.invoice-main{display:flex;align-items:center;gap:8px}.invoice-main>div{display:flex;flex-direction:column}.invoice-main strong{font-size:10px}.invoice-main small{font-size:8px;color:#89939c;margin-top:2px}.invoice-money{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.invoice-money span{background:#f6f8f9;padding:7px;border-radius:5px;font-size:7.5px;color:#89939c;display:flex;flex-direction:column}.invoice-money b{font-size:10px;color:#394651;margin-top:3px}.invoice-actions{display:flex;gap:5px}.invoice-actions form{margin:0}.invoice-list details{grid-column:1/-1;border-top:1px solid #edf0f2;padding-top:7px}.invoice-list summary{font-size:8px;color:#7d8790;cursor:pointer}.invoice-list details p{font-size:8.5px;margin:5px 0}.receipt-stat{padding:18px;text-align:center}.receipt-stat strong{display:block;font:600 24px Georgia,serif;color:#97662e}.receipt-stat span{font-size:8px;color:#8a949d}.inspection-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inspection-card{border:1px solid #e0e5e8;border-radius:9px;padding:14px;background:#fff}.inspection-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.inspection-type{font-size:8px;color:#a06c2f;text-transform:uppercase;font-weight:900;letter-spacing:.08em}.inspection-card h3{font:600 15px Georgia,serif;margin:4px 0}.inspection-card dl{display:grid;grid-template-columns:1fr 1fr;margin:10px 0;border:1px solid #edf0f2;border-radius:6px}.inspection-card dl>div{padding:8px}.inspection-card dt{font-size:7px;text-transform:uppercase;color:#8c959e}.inspection-card dd{font-size:9px;margin:3px 0 0}.inspection-card>p{font-size:9.5px;line-height:1.5}.inspection-card>small{font-size:8.5px;color:#75808a}.inspection-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.inspection-files a{width:74px;border:1px solid #dfe4e7;border-radius:6px;overflow:hidden;background:#f8f9fa;display:flex;flex-direction:column}.inspection-files img{width:100%;height:48px;object-fit:cover}.inspection-files b{height:48px;display:grid;place-items:center;color:#9a682f}.inspection-files span{padding:4px;font-size:6.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.files-overview{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.files-overview h3{font:600 16px Georgia,serif}.document-list{display:grid;gap:7px}.document-list>a{border:1px solid #e1e5e8;border-radius:7px;padding:9px;display:flex;align-items:center;gap:9px}.document-list>a>b{width:34px;height:34px;border-radius:6px;background:#f0e5d5;color:#96642c;display:grid;place-items:center;font-size:7px}.document-list>a>span{display:flex;flex-direction:column;min-width:0}.document-list strong{font-size:9.5px}.document-list small{font-size:8px;color:#89939c;margin-top:2px}.task-board{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.task-board>article{border:1px solid #e0e5e8;border-radius:8px;padding:13px}.task-board h3{font:600 14px Georgia,serif;margin:9px 0 5px}.task-board p{font-size:9px;color:#68747f;min-height:28px}.task-board footer{display:flex;gap:8px;flex-wrap:wrap;font-size:7.5px;color:#89939c;border-top:1px solid #edf0f2;padding-top:8px}.task-board footer strong{color:#9a682f}.wide-dialog{width:min(920px,96vw)}.invoice-builder{margin-top:14px;border:1px solid #dfe4e7;border-radius:8px;overflow:hidden}.invoice-builder-head,.invoice-builder>div[data-invoice-line]{display:grid;grid-template-columns:1.4fr 115px 90px 100px 115px;gap:8px;align-items:center;padding:9px 10px;border-bottom:1px solid #e9edef}.invoice-builder-head{background:#f5f7f8;font-size:7.5px;text-transform:uppercase;color:#7d8993;font-weight:900}.invoice-builder>div[data-invoice-line] span{display:flex;flex-direction:column}.invoice-builder>div[data-invoice-line] strong{font-size:9px}.invoice-builder>div[data-invoice-line] small{font-size:7.5px;color:#8b949d}.invoice-builder input{height:34px;border:1px solid #dce1e5;border-radius:5px;padding:0 7px;font-size:9px;min-width:0}.invoice-builder>div[data-invoice-line]>strong{text-align:right;color:#94622b}.invoice-builder-total{display:flex;justify-content:flex-end;align-items:center;gap:14px;background:#071827;color:#fff;padding:12px 15px}.invoice-builder-total span{font-size:9px}.invoice-builder-total strong{font:600 18px Georgia,serif;color:#e0bb84}.wide-form-label{display:grid;gap:5px;margin-top:13px;font-size:9px;font-weight:700}.wide-form-label textarea{border:1px solid #dce1e5;border-radius:6px;padding:9px}.check-line{display:flex!important;align-items:center!important;gap:7px!important}.check-line input{width:auto!important;height:auto!important}.positive{color:#2d755c!important}.negative{color:#b64b51!important}
@media(max-width:1100px){.estimate-detail-grid{grid-template-columns:1fr}.estimate-totals{grid-template-columns:1fr 1fr}.estimate-totals dl{grid-column:1/-1;width:100%}.operational-kpis{grid-template-columns:repeat(3,1fr)}.operations-overview-grid,.daily-columns,.finance-ops-grid,.files-overview{grid-template-columns:1fr}.daily-log-card,.finance-ops-grid .span-2{grid-column:auto}.inspection-board{grid-template-columns:1fr}.task-board{grid-template-columns:1fr 1fr}.invoice-list>article{grid-template-columns:1fr}.invoice-list details{grid-column:auto}.invoice-builder-head,.invoice-builder>div[data-invoice-line]{grid-template-columns:1.2fr 90px 75px 85px 95px}}
@media(max-width:700px){.workflow-banner{overflow:auto}.workflow-banner>div{min-width:125px}.approval-rail{overflow:auto}.approval-rail article{min-width:150px}.estimate-client-block{grid-template-columns:1fr}.estimate-client-block>div{border-right:0;border-bottom:1px solid var(--line)}.estimate-lines-table>div{grid-template-columns:1fr 55px 80px}.estimate-lines-table>div>span:nth-child(3){display:none}.estimate-totals{grid-template-columns:1fr}.estimate-totals dl{grid-column:auto}.builder-footer{align-items:flex-start;gap:10px}.builder-footer>div{align-items:flex-end;flex-direction:column}.public-sign-body{padding:8px}.public-estimate,.public-signature-box{padding:17px}.public-estimate-head{flex-direction:column}.public-estimate-head>strong{margin-top:10px}.public-client{grid-template-columns:1fr;gap:10px}.public-lines>div{grid-template-columns:1fr 55px 85px}.ready-project-list>a{grid-template-columns:1fr}.operational-kpis{grid-template-columns:1fr 1fr}.project-command-bar{overflow-x:auto;flex-wrap:nowrap}.project-command-bar>button{white-space:nowrap}.finance-flow-strip{grid-template-columns:1fr 1fr}.finance-flow-strip>i{display:none}.invoice-money{grid-template-columns:1fr 1fr 1fr}.task-board{grid-template-columns:1fr}.invoice-builder{overflow:auto}.invoice-builder-head,.invoice-builder>div[data-invoice-line]{min-width:650px}.files-overview{display:block}.inspection-board{display:block}.inspection-card{margin-bottom:10px}}

/* Approved estimate -> official client/project conversion */
.ready-project-entry{border:1px solid #dfe5e8;border-radius:9px;background:#fff;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.ready-project-main{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.ready-project-main>div{display:flex;flex-direction:column;min-width:0}.ready-project-main strong{font-size:10.5px;color:#26323d}.ready-project-main span{font-size:9px;color:#5f6d78;margin-top:3px}.ready-project-main small{font-size:7.6px;color:#8d969e;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ready-project-main>b{font:600 14px Georgia,serif;color:#94622b;white-space:nowrap}.ready-project-entry form{margin:0}.ready-project-entry .primary-button{white-space:nowrap}.ready-project-entry:hover{border-color:#c9d2d8;box-shadow:0 5px 16px rgba(20,31,43,.05)}
@media(max-width:700px){.ready-project-entry{grid-template-columns:1fr}.ready-project-main{grid-template-columns:1fr}.ready-project-entry .primary-button{width:100%;justify-content:center}}

/* 2026-09-04 · Simplified daily job ledger */
.daily-action-strip{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:8px;margin:0 0 13px}.daily-action-strip>button{min-height:58px;border:1px solid #dfe4e7;border-radius:8px;background:#fff;padding:9px 10px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;transition:.16s ease}.daily-action-strip>button:hover{border-color:#c79a61;box-shadow:0 4px 14px rgba(23,32,43,.07);transform:translateY(-1px)}.daily-action-strip>button>b{width:30px;height:30px;border-radius:7px;background:#172331;color:#d9ae73;display:grid;place-items:center;font-size:10px;flex:none}.daily-action-strip>button>span{display:flex;flex-direction:column;font-size:9.5px;font-weight:850;color:#35424e}.daily-action-strip small{font-size:7.5px;color:#8b959e;margin-top:2px;font-weight:500}.job-ledger-card{margin-bottom:13px}.job-ledger-table{min-width:920px}.job-ledger-table td{vertical-align:top;white-space:normal;min-width:110px}.job-ledger-table td:first-child,.job-ledger-table td:last-child{white-space:nowrap;min-width:auto}.ledger-chip,.ledger-line{display:flex;flex-direction:column;padding:4px 6px;border-radius:5px;background:#f4f7f8;margin:0 0 4px;font-size:8.5px;color:#394651}.ledger-chip small,.ledger-line small{font-size:7px;color:#7c8892;margin-top:2px}.ledger-chip.simple{display:inline-flex;margin-right:3px}.ledger-line.receipt{background:#f7f0e7}.ledger-note{font-size:8.5px;line-height:1.35;margin:0 0 4px;color:#52606c}.mini-actions,.dialog-inline-actions,.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mini-actions button{border:1px solid #dfe4e7;background:#fff;border-radius:5px;padding:5px 7px;font-size:8px;cursor:pointer}.row-actions form{margin:0}.row-actions a{font-size:8px;color:#92632f}.labor-batch-head,.labor-batch-row{display:grid;grid-template-columns:minmax(190px,1.4fr) 88px 88px 74px 92px 88px minmax(150px,1fr) 28px;gap:7px;align-items:center}.labor-batch-head{margin-top:14px;padding:7px 4px;font-size:7px;text-transform:uppercase;font-weight:900;color:#7e8993;border-bottom:1px solid #e2e6e9}.labor-batch-list{display:grid;gap:7px;margin:8px 0}.labor-batch-row{padding:8px;border:1px solid #e1e5e8;border-radius:7px;background:#fbfcfc}.labor-batch-row select,.labor-batch-row input{width:100%;height:34px;border:1px solid #dce1e5;border-radius:5px;padding:0 7px;font-size:8.5px;background:#fff;min-width:0}.labor-batch-row input[readonly]{background:#f2f4f5;color:#5e6973;font-weight:800}.labor-batch-row>strong{text-align:center;font-size:9px;color:#95652f}.dialog-inline-actions{justify-content:space-between;padding:8px 0 2px}.dialog-inline-actions small{font-size:8px;color:#87919a}.ops-card.span-2{grid-column:1/-1}
@media(max-width:1250px){.daily-action-strip{grid-template-columns:repeat(3,1fr)}.labor-batch-head{display:none}.labor-batch-row{grid-template-columns:repeat(4,1fr)}.labor-batch-row select{grid-column:span 2}.labor-batch-row input[name="work_description[]"]{grid-column:span 2}}
@media(max-width:700px){.daily-action-strip{grid-template-columns:1fr 1fr}.labor-batch-row{grid-template-columns:1fr 1fr}.labor-batch-row select,.labor-batch-row input[name="work_description[]"]{grid-column:1/-1}.job-ledger-card .table-wrap{overflow:auto}}
.button-row{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.inline-alert.warning{margin:0;padding:15px 18px;background:var(--amber-soft);border-left:4px solid var(--amber);color:#6f4b22}.inline-alert.warning strong{display:block;font-size:11px;margin-bottom:4px}.inline-alert.warning p{margin:0;font-size:10px;line-height:1.55;color:#7e6548}

/* Estimate usability: same-address helper and always-available add-item action. */
.estimate-same-address{align-items:flex-start!important;background:#f8fafb;border:1px solid #e1e6e9;border-radius:8px;padding:11px 13px}.estimate-same-address>span{display:flex;flex-direction:column;gap:3px}.estimate-same-address strong{font-size:9px;color:#46535e}.estimate-same-address small{font-size:8px;line-height:1.45;color:#87919a;font-weight:400}.estimate-builder input.is-autofilled{background:#f3f7f5;color:#53645d}.estimate-add-item-bottom{display:flex;align-items:center;gap:10px;padding:0 18px 18px}.estimate-add-item-bottom small{font-size:8px;color:#8a949d}.estimate-add-item-bottom .secondary-button{white-space:nowrap}

/* Read-only invoice/payment details */
.readonly-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:16px 18px 4px}.readonly-detail-grid>div{border:1px solid #e1e6e9;border-radius:7px;background:#fafbfb;padding:10px 11px}.readonly-detail-grid span{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.05em;color:#87919a;font-weight:850}.readonly-detail-grid strong{display:block;margin-top:4px;font-size:10px;color:#35424e}.readonly-detail-section{margin:12px 18px;padding:12px;border:1px solid #e1e6e9;border-radius:8px;background:#fff}.readonly-detail-section h3{margin:0 0 8px;font:700 12px Georgia,serif;color:#33414d}.readonly-detail-section p{font-size:8.5px;color:#5e6b75;line-height:1.5}.receipt-field{display:grid!important;gap:4px;padding:0!important;border:0!important}.receipt-field>span{font-size:6.8px;text-transform:uppercase;letter-spacing:.04em;color:#87919a;font-weight:850}.receipt-field .receipt-amount-cell{min-width:0}.receipt-row select{border:1px solid #dce1e5;border-radius:6px;padding:0 7px;font-size:8px;background:#fff}.invoice-actions button[data-dialog-open]{white-space:nowrap}@media(max-width:900px){.readonly-detail-grid{grid-template-columns:1fr 1fr}.receipt-row{grid-template-columns:1fr 1fr}.receipt-row>div:first-child{grid-column:1/-1}}@media(max-width:600px){.readonly-detail-grid{grid-template-columns:1fr}}

.payment-receipt-list{display:grid;gap:10px;padding:10px 14px 14px}
.compact-list.payment-receipt-list>.payment-receipt-row{display:block!important;border:1px solid #e1e5e8;border-radius:9px;background:#fbfcfd;padding:11px 12px;gap:0!important}
.payment-receipt-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.payment-receipt-main strong{font-size:9.8px;color:#2c3945}
.payment-receipt-main small{font-size:8px;color:#7f8b95;line-height:1.45;word-break:break-word}
.payment-receipt-side{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:9px;min-width:0;width:100%}
.payment-receipt-amount{display:inline-block;white-space:nowrap;font-size:10px;color:#25323d;background:#f3f6f8;border:1px solid #e1e6e9;border-radius:999px;padding:5px 9px}
.payment-receipt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;width:100%}
.payment-receipt-actions .table-action,.payment-receipt-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:6px;white-space:nowrap}
.payment-receipt-actions a{border:1px solid #d9e0e5;background:#fff;color:#92632f;font-size:8.5px}
.payment-receipt-actions .table-action{font-size:8.5px}
@media(max-width:700px){.payment-receipt-actions{flex-direction:column;align-items:stretch}.payment-receipt-actions .table-action,.payment-receipt-actions a{width:100%}}

/* Client payment receipts: explicit View button styling */
.payment-receipt-actions .payment-view-button{display:inline-flex;align-items:center;justify-content:center;width:auto;height:30px;min-height:30px;padding:0 10px;border:1px solid #d9e0e5;border-radius:6px;background:#fff;color:#53606d;font-size:8.5px;font-weight:750;font-family:inherit;line-height:1;white-space:nowrap;cursor:pointer;transition:.15s ease}
.payment-receipt-actions .payment-view-button:hover{border-color:#d7ae58;background:#fcfaf7;color:#8b5b24}
@media(max-width:700px){.payment-receipt-actions .payment-view-button{width:100%}}


/* 2026-09-05 · Separate subcontractor register */
.subcontractor-table{min-width:1080px}.subcontractor-table td{vertical-align:top}.subcontractor-spec{max-width:250px;white-space:normal!important;line-height:1.45}.subcontractor-address{max-width:230px;white-space:normal!important;line-height:1.45}.subcontractor-doc-count{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e0e5e8;border-radius:999px;background:#f7f9fa;font-size:8px;color:#6f7c87}.subcontractor-doc-count b{color:#94632d;font-size:9px}.subcontractor-dialog{width:min(900px,96vw)}.subcontractor-dialog header p{margin:5px 0 0;font-size:9px;color:#7a8791}.subcontractor-form-grid textarea{border:1px solid #dce1e5;border-radius:6px;padding:9px 10px;resize:vertical}.subcontractor-upload-section{margin:4px 18px 18px;border:1px solid #e0e5e8;border-radius:9px;background:#fafbfb;padding:14px}.subcontractor-upload-head h3{margin:3px 0 4px;font:700 14px Georgia,serif;color:#34414d}.subcontractor-upload-head p{margin:0 0 12px;font-size:8.5px;color:#7d8993;line-height:1.45}.subcontractor-document-descriptions{display:grid;gap:8px;margin-top:10px}.subcontractor-document-description-row{display:grid;gap:5px;padding:9px 10px;border:1px solid #e0e5e8;border-radius:7px;background:#fff}.subcontractor-document-description-row strong{font-size:8.5px;color:#46525d;word-break:break-all}.subcontractor-document-description-row textarea{width:100%;border:1px solid #dce1e5;border-radius:6px;padding:8px;font:inherit;font-size:9px;resize:vertical}.subcontractor-current-docs{border-top:1px solid #e1e5e8;padding:15px 18px 18px}.subcontractor-doc-grid{display:grid;gap:8px;margin-top:10px}.subcontractor-doc-grid article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px;border:1px solid #e0e5e8;border-radius:8px;background:#fff}.subcontractor-doc-icon{width:44px;height:44px;border-radius:7px;background:#f2e6d7;color:#93622c;display:grid;place-items:center;font-size:7px;font-weight:900}.subcontractor-doc-info{min-width:0}.subcontractor-doc-info a{display:block;color:#33414d}.subcontractor-doc-info strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subcontractor-doc-info p{margin:4px 0;font-size:8px;color:#65727d;line-height:1.45}.subcontractor-doc-info small{font-size:7px;color:#8b959e}.subcontractor-doc-grid form{margin:0}.subcontractor-doc-grid .attachment-remove{white-space:nowrap}@media(max-width:700px){.subcontractor-doc-grid article{grid-template-columns:40px 1fr}.subcontractor-doc-grid article form{grid-column:1/-1}.subcontractor-doc-grid .attachment-remove{width:100%}.subcontractor-upload-section{margin-inline:10px}}


/* 2026-09-05 · Subcontractor license compliance */
.subcontractor-table{min-width:1120px}.subcontractor-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.subcontractor-row-actions form{margin:0}.subcontractor-row-actions .danger-button{color:#a5484e;border-color:#edd0d2}.license-badge{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:4px 7px;border-radius:999px;font-size:7.5px;font-style:normal;font-weight:850}.license-badge.valid{background:#e6f4ed;color:#2f7257}.license-badge.warning{background:#fff1dd;color:#92612b}.license-badge.expired{background:#f8e6e8;color:#a5444b}.license-badge.missing{background:#edf0f2;color:#6c7882}.field-help{font-size:7.5px!important;color:#83909a!important;line-height:1.4}.subcontractor-view-dialog{width:min(960px,96vw)}.subcontractor-detail-grid .wide-detail{grid-column:span 2}.subcontractor-view-doc-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.subcontractor-view-doc-head h3{margin:0}.subcontractor-view-doc-head span{min-width:25px;height:25px;border-radius:999px;display:grid;place-items:center;background:#f0e5d7;color:#96642c;font-size:8px;font-weight:900}.subcontractor-view-docs{display:grid;gap:8px;margin-top:10px}.subcontractor-view-docs article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px;border:1px solid #e0e5e8;border-radius:8px;background:#fafbfb}.subcontractor-view-docs article>div:nth-child(2){min-width:0}.subcontractor-view-docs strong{display:block;font-size:9px;word-break:break-word}.subcontractor-view-docs p{margin:4px 0;font-size:8px;color:#65727d;line-height:1.45}.subcontractor-view-docs small{font-size:7px;color:#8b959e}.subcontractor-doc-actions,.subcontractor-edit-doc-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.subcontractor-edit-doc-actions form{margin:0}.subcontractor-license-message{display:block;margin-top:5px;padding:7px 9px;border-radius:6px;background:#e8f4ed;color:#377158;font-size:8px;font-weight:750;line-height:1.4}.subcontractor-license-message.expired{background:#f8e6e8;color:#9e4048;border:1px solid #edcdd0}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}@media(max-width:700px){.subcontractor-detail-grid .wide-detail{grid-column:auto}.subcontractor-view-docs article{grid-template-columns:40px 1fr}.subcontractor-doc-actions{grid-column:1/-1}.subcontractor-doc-actions a{flex:1}.subcontractor-row-actions{min-width:210px}}


/* Complete estimate scope on public client review */
.public-lines.public-lines-complete>div{grid-template-columns:minmax(0,1fr) 90px 110px 110px;align-items:start}
.public-lines.public-lines-complete small{display:block;white-space:normal;line-height:1.5;margin-top:4px}
.public-lines.public-lines-complete small b{color:#9a6a31;font-size:8px}
@media(max-width:700px){.public-lines.public-lines-complete{overflow-x:auto}.public-lines.public-lines-complete>div{grid-template-columns:minmax(300px,1fr) 75px 95px 95px;min-width:650px}}

/* 2026-09-07 · Direct daily register */
.daily-register-heading{align-items:flex-end}.daily-register-heading .eyebrow{display:block;margin-bottom:4px}.daily-register-card>header{align-items:center}.daily-register-table{min-width:1120px}.daily-register-table th{white-space:nowrap}.daily-register-table td{position:relative;vertical-align:top;padding-top:12px;padding-bottom:12px}.daily-register-table tr.is-today>td{background:#fbfcf9}.ledger-date-cell{width:105px;min-width:105px}.ledger-date-cell>strong{display:block;font-size:9.5px;color:#2e3b47}.ledger-date-cell>small{display:block;margin-top:3px;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#9a672f}.ledger-day-view{margin-top:8px;border:0;background:transparent;padding:0;color:#8e612f;font-size:7.5px;font-weight:850;cursor:pointer}.ledger-day-view:hover{text-decoration:underline}.ledger-direct-cell{min-width:145px;padding-right:36px!important}.ledger-cell-toolbar{position:absolute;right:7px;top:8px}.ledger-cell-add{width:24px;height:24px;border:1px solid #d9e0e5;border-radius:6px;background:#fff;color:#8b5d29;display:grid;place-items:center;font-size:13px;line-height:1;cursor:pointer;box-shadow:0 2px 7px rgba(25,36,47,.04);transition:.15s ease}.ledger-cell-add:hover{border-color:#c9952f;background:#fff9f1;transform:translateY(-1px)}.ledger-cell-add.edit{font-size:11px}.ledger-cell-content{display:grid;gap:5px;min-width:0}.ledger-cell-content .ledger-chip,.ledger-cell-content .ledger-line{margin:0;padding:5px 6px}.ledger-cell-content .ledger-chip b,.ledger-cell-content .ledger-line b{font-size:8px;white-space:normal;line-height:1.3}.ledger-cell-content .ledger-chip small,.ledger-cell-content .ledger-line small{font-size:6.8px;line-height:1.35}.ledger-cell-content .ledger-note{margin:0;padding:5px 6px;border-radius:5px;background:#f4f7f8;font-size:8px;line-height:1.4}.ledger-more-count{font-size:7px;font-weight:800;color:#8b672f}.ledger-empty{font-size:9px;color:#a1aab2}.ledger-total-cell{min-width:92px;white-space:nowrap}.ledger-total-cell strong{font-size:10px;color:#33414d}.daily-register-empty td{text-align:center;padding:24px!important}.daily-register-empty strong,.daily-register-empty span{display:block}.daily-register-empty span{margin-top:4px;font-size:8px;color:#87919a}.daily-new-inline-row td{background:#fcfaf6!important;border-top:1px dashed #d4b98f!important}.daily-new-inline-row[hidden]{display:none!important}.ledger-new-action{width:100%;min-height:47px;border:1px dashed #d9c09b;border-radius:7px;background:#fffdf9;color:#815829;display:flex;align-items:center;gap:8px;padding:8px;cursor:pointer;text-align:left}.ledger-new-action b{width:22px;height:22px;border-radius:5px;background:#f1e2cd;display:grid;place-items:center;font-size:12px}.ledger-new-action span{font-size:8px;font-weight:850}.ledger-new-action:hover{border-style:solid;border-color:#c9952f;background:#fff9f1}.daily-register-table tfoot td{padding:9px 12px;background:#f8fafb}.daily-new-day-button{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:10px;padding:7px;cursor:pointer;color:#46535f}.daily-new-day-button>b{width:27px;height:27px;border-radius:7px;background:#172331;color:#d9ae73;display:grid;place-items:center;font-size:14px}.daily-new-day-button>span{display:flex;flex-direction:column;text-align:left}.daily-new-day-button strong{font-size:8.5px}.daily-new-day-button small{font-size:7px;color:#89949e;margin-top:2px}.daily-new-day-button:hover strong{color:#8b5d29}.ledger-focus>td{animation:ledgerFocus 1.8s ease}@keyframes ledgerFocus{0%,100%{box-shadow:none}25%{box-shadow:inset 0 0 0 2px #d5aa71;background:#fff9ef}70%{box-shadow:inset 0 0 0 1px #e6d1b5;background:#fffdf8}}
.daily-details-dialog .dialog-card{width:min(1040px,96vw)}.daily-detail-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:15px 18px 2px}.daily-detail-summary>div{border:1px solid #e1e6e9;border-radius:7px;background:#fafbfb;padding:9px}.daily-detail-summary span{display:block;font-size:6.7px;text-transform:uppercase;color:#89939c;font-weight:850}.daily-detail-summary strong{display:block;margin-top:4px;font-size:10px}.daily-detail-summary .grand{background:#172331;color:#fff;border-color:#172331}.daily-detail-summary .grand span{color:#9eabb6}.daily-detail-summary .grand strong{color:#e0bb84}.daily-detail-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;padding:0 18px}.daily-detail-two-columns .readonly-detail-section{margin-left:0;margin-right:0}.daily-detail-meta,.daily-detail-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.daily-detail-meta span{font-size:7px;padding:4px 7px;border-radius:999px;background:#f2f5f6;color:#67747f}.daily-detail-files a{font-size:7.5px;border:1px solid #dfe4e7;border-radius:5px;padding:5px 7px;background:#fff}.daily-details-dialog .compact-list form{margin:0}.daily-details-dialog footer{display:flex;justify-content:flex-end;padding:0 18px 18px}
@media(max-width:1050px){.daily-register-table{min-width:1040px}.daily-detail-summary{grid-template-columns:repeat(3,1fr)}.daily-detail-summary .grand{grid-column:span 2}}
@media(max-width:700px){.daily-detail-summary{grid-template-columns:1fr 1fr}.daily-detail-summary .grand{grid-column:1/-1}.daily-detail-two-columns{grid-template-columns:1fr}.daily-register-heading{align-items:flex-start}.daily-new-day-button{justify-content:flex-start}}

/* 2026-09-08 · Estimate email options + permanent project purge */
.estimate-send-dialog form{padding:0 20px 18px}.estimate-email-recipient{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 4px;padding:11px 13px;border:1px solid #e2e6e9;border-radius:8px;background:#fafbfb}.estimate-email-recipient span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#88939c;font-weight:850}.estimate-email-recipient strong{font-size:10px;color:#35424e;word-break:break-word}.estimate-send-dialog .wide-form-label textarea{width:100%;min-height:145px;resize:vertical;font:10px/1.5 Arial,sans-serif}.estimate-send-dialog .wide-form-label small{font-size:7.8px;color:#8a949d;font-weight:500}.estimate-pricing-choice{display:flex;align-items:flex-start;gap:10px;margin:15px 0;padding:13px;border:1px solid #e0e5e8;border-radius:9px;background:#fff}.estimate-pricing-choice input{width:16px;height:16px;margin-top:2px;flex:none}.estimate-pricing-choice span{display:flex;flex-direction:column;gap:4px}.estimate-pricing-choice strong{font-size:9.5px;color:#35424e}.estimate-pricing-choice small{font-size:8px;color:#7c8892;line-height:1.45}.estimate-email-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#071827;color:#fff;border-radius:8px;padding:12px 14px;margin-bottom:14px}.estimate-email-total span{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#aab5bf}.estimate-email-total strong{font:700 17px Georgia,serif;color:#dfb77e}.estimate-send-dialog form>footer{margin:0 -20px -18px}
.public-lines.public-lines-complete.prices-hidden>div{grid-template-columns:minmax(0,1fr)}.public-lines.public-lines-complete.prices-hidden .head span:last-child,.public-lines.public-lines-complete.prices-hidden>div>span:last-child{text-align:left}
.project-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.project-row-actions .compact-button{min-height:30px;height:30px;padding:0 10px;white-space:nowrap}.danger-text{color:#a4494f!important}.project-delete-dialog{width:min(760px,96vw)}.project-delete-dialog form{padding:0}.project-delete-step{padding:24px 24px 0}.project-delete-step h3{font:700 19px Georgia,serif;color:#303d48;margin:10px 0 8px;text-align:center}.project-delete-step>p{font-size:9.5px;line-height:1.65;color:#66737d;text-align:center;max-width:650px;margin:0 auto 15px}.destructive-warning-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto;background:#f8e7e8;color:#a3474d;border:1px solid #edc9cc;font:800 24px Georgia,serif}.destructive-warning-icon.lock{background:#f3eadf;color:#956329;border-color:#e7d3b8;font-size:18px}.delete-preserved-note{display:flex;flex-direction:column;gap:4px;margin:15px 0;padding:12px 14px;border:1px solid #dce7e1;border-radius:8px;background:#f6faf8}.delete-preserved-note strong{font-size:8.5px;color:#3f705c}.delete-preserved-note span{font-size:8px;color:#6a7c73;line-height:1.45}.project-delete-step .wide-form-label{max-width:430px;margin:18px auto}.project-delete-step .wide-form-label input{width:100%;height:40px;border:1px solid #dce1e5;border-radius:7px;padding:0 10px;font-size:10px}.project-delete-step>footer{display:flex;justify-content:flex-end;gap:8px;margin:22px -24px 0;padding:13px 20px;border-top:1px solid #e7eaed;background:#fafbfb}
@media(max-width:700px){.public-lines.public-lines-complete.prices-hidden>div{grid-template-columns:minmax(260px,1fr);min-width:0}.project-row-actions{justify-content:flex-start}.estimate-email-recipient{align-items:flex-start;flex-direction:column}.project-delete-step>footer{flex-direction:column}.project-delete-step>footer button{width:100%}}


/* Estimate client email attachments */
.estimate-email-attachments{margin:15px 0;border:1px solid #e0e5e8;border-radius:10px;background:#fbfcfd;overflow:hidden}.estimate-email-attachments-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 14px;border-bottom:1px solid #e6eaed;background:#f7f9fa}.estimate-email-attachments-head>div{display:flex;flex-direction:column;gap:4px}.estimate-email-attachments-head strong{font-size:9.5px;color:#35424e}.estimate-email-attachments-head small{font-size:7.8px;color:#7d8993;line-height:1.45}.estimate-email-attachments-head>b{font-size:8px;color:#8b5b24;white-space:nowrap;background:#fff4e6;border:1px solid #ecd4b4;border-radius:999px;padding:5px 8px}.estimate-existing-attachments{padding:4px 13px}.estimate-existing-attachments article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e8ecef}.estimate-existing-attachments article>div:first-child{display:flex;flex-direction:column;min-width:0}.estimate-existing-attachments article>div:first-child strong{font-size:8.8px;color:#34414c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:290px}.estimate-existing-attachments article>div:first-child small{font-size:7.2px;color:#89939c;margin-top:3px}.estimate-attachment-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.estimate-attachment-controls label,.estimate-attachment-controls a{font-size:7.8px}.estimate-attachment-controls label{display:flex;align-items:center;gap:4px;color:#5e6b75}.estimate-attachment-controls label.remove{color:#9e4b50}.estimate-attachment-controls a{color:#8e622f}.estimate-attachment-upload{margin:12px 13px;min-height:62px;border:1px dashed #cbd4da;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:12px}.estimate-attachment-upload input{position:absolute;opacity:0;pointer-events:none}.estimate-attachment-upload>span{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.estimate-attachment-upload strong{font-size:9px;color:#8b5b24}.estimate-attachment-upload small{font-size:7.5px;color:#87919a}.estimate-new-attachment-list{display:grid;gap:5px;padding:0 13px 11px}.estimate-new-attachment-list>div{display:flex;justify-content:space-between;gap:10px;border:1px solid #e4e8eb;background:#fff;border-radius:6px;padding:7px 9px;font-size:7.8px;color:#53616d}.estimate-new-attachment-list b{font-size:7.5px;color:#8a949d;white-space:nowrap}.estimate-attachment-error{margin:0 13px 12px;padding:9px 10px;border-radius:7px;background:#f9e8e9;color:#9f4148;font-size:8px;font-weight:700}.estimate-email-attachments.over-limit .estimate-email-attachments-head>b{background:#f9e8e9;border-color:#efc7ca;color:#a13e45}@media(max-width:700px){.estimate-email-attachments-head,.estimate-existing-attachments article{align-items:flex-start;flex-direction:column}.estimate-attachment-controls{justify-content:flex-start}.estimate-existing-attachments article>div:first-child strong{max-width:100%}}

.estimate-client-attachments-card{padding:16px}.estimate-client-attachments-card>div:first-child h2{font:600 16px Georgia,serif;margin:0;color:#33414d}.estimate-client-attachments-card>div:first-child p{font-size:8px;color:#87919a;line-height:1.45;margin:5px 0 10px}.estimate-client-attachments-list{display:grid;gap:6px}.estimate-client-attachments-list article{border:1px solid #e2e6e9;border-radius:7px;background:#fbfcfd;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:9px}.estimate-client-attachments-list article>div{display:flex;flex-direction:column;min-width:0}.estimate-client-attachments-list strong{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.estimate-client-attachments-list small{font-size:6.8px;color:#8a949d;margin-top:2px}.estimate-client-attachments-list article>span{display:flex;gap:6px}.estimate-client-attachments-list a{font-size:7.4px;color:#8b5b24;white-space:nowrap}

/* Axion Apex brand adaptation */
.sidebar .brand img,.auth-brand>img,.company-select-brand img{background:#fff;padding:6px;border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.sidebar .brand img{width:112px;height:54px}.auth-brand>img{width:230px}.company-select-brand img{width:230px;max-height:110px}
@media(max-width:700px){.auth-brand>img{width:180px}.company-select-brand img{width:180px}}
