/* DET workspace 0.7.9. Screen-only application chrome; document and print designs stay independent. */
@media screen {
 :root{--bg:#f3f6fa;--paper:#fff;--ink:#172d47;--muted:#526477;--line:#dce5ee;--green:#007e70;--green-bg:#e8f5f1;--nav:#fff;--nav-text:#4c6077;--orange:#92590c;--orange-bg:#fff4de;--red:#b52d46;--blue:#315fab;--shadow:0 4px 20px #15304f05;--radius:18px;--touch:46px;--sidebar-width:256px;font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:15px;color-scheme:light}
 html{scroll-padding-top:104px}body{line-height:1.5;-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--ink)}button,input,select,textarea{font-family:inherit}input,select,textarea{font-size:16px}button,a,input,select,textarea,summary{scroll-margin-block:100px 110px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #087f9c;outline-offset:3px}.icon{stroke-width:1.8}button:disabled{cursor:default;opacity:.6}a,button{-webkit-tap-highlight-color:#007e701c}.positive,.amount-positive{color:#007466!important}.negative,.amount-negative{color:#b52d46!important}.muted{color:var(--muted)}.small,.help-text,.inline-note{font-size:13px;color:var(--muted);line-height:1.7}.help-text h4{font-size:15px;color:var(--ink)}.wrap-text{line-height:1.65}
 .sidebar{width:var(--sidebar-width);padding:25px 17px 16px;border-right:1px solid var(--line);background:#fff;color:var(--nav-text);box-shadow:none;scrollbar-width:thin;scrollbar-color:#cad7e2 transparent}.sidebar .brand{margin:0 3px 23px;padding:0 7px 22px;border-bottom:1px solid var(--line);gap:12px;color:var(--ink);align-items:center}.sidebar .brand-logo-full{width:168px;max-width:100%;height:68px;object-fit:contain;object-position:left center;background:#fff;border-radius:0}.sidebar .brand .det-logo{width:56px;height:45px;background:#fff;border-radius:0}.brand-title{font-size:20px;font-weight:700;letter-spacing:-.6px;color:var(--ink)}.brand-title em{color:#465c73}.brand small{font-size:11px;letter-spacing:1px;color:var(--muted)}.sidebar-context{font-size:12px;line-height:1.6;color:var(--muted);padding:0 14px 16px;margin:-8px 0 0}.nav-group{margin-bottom:18px}.sidebar .nav-section{font-size:11px;letter-spacing:.9px;font-weight:700;color:#62758b;padding:0 14px;margin:15px 0 8px}.nav{gap:4px}.sidebar .nav a,.sidebar .nav-link{display:flex;align-items:center;gap:12px;min-height:47px;border-radius:11px;padding:10px 13px;font-size:14px;font-weight:550;line-height:1.4;color:#3e526b;box-shadow:none;transition:background-color .16s,color .16s}.sidebar .nav a:hover,.sidebar .nav-link:hover{background:#f1f5f9;color:#17334e}.sidebar .nav a.active,.sidebar .nav-link.active{background:#e8f5f1;color:#006b60;box-shadow:none;font-weight:700}.sidebar .nav a.active:before{content:'';width:3px;height:20px;border-radius:3px;background:#007e70;position:absolute;left:17px}.sidebar .nav a .icon{width:20px;height:20px}.nav-label{min-width:0;flex:1}.nav-hint{font-size:11px;color:#536d7d;background:#edf3f7;border-radius:5px;padding:2px 5px}.nav-link.active .nav-hint{background:#d1eae3;color:#126052}.sidebar .nav .badge{font-size:11px;color:#4a6476;background:#edf3f7;border-radius:6px;padding:2px 6px}.sidebar-footer{padding-top:15px;margin-top:auto}.sidebar .link-card{border:1px solid var(--line);background:#f7fafc;border-radius:12px;padding:13px;margin:0 3px 15px}.sidebar .link-card .title{color:var(--ink);font-size:13px;margin-bottom:7px}.sidebar .link-card .small{font-size:12px;color:var(--muted)}.sidebar .user{padding:14px 5px 0;border-top:1px solid var(--line);gap:10px}.sidebar .avatar{background:#e8eff6;color:#375572;width:38px;height:38px;font-size:13px}.sidebar .user strong{color:var(--ink);font-size:13px;line-height:1.5}.sidebar .user small{color:var(--muted);font-size:12px;margin-top:2px}.sidebar .user .icon-button{color:#476176;background:#f1f5f9}.main{margin-left:var(--sidebar-width)}
 .topbar{position:sticky;top:0;z-index:25;min-height:84px;padding:14px 32px;gap:18px;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.topbar-heading{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.topbar-page-title{font-size:18px;font-weight:700;letter-spacing:-.3px;color:var(--ink);line-height:1.4;display:block}.topbar-caption{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:2px}.crumb{font-size:13px;color:var(--muted);gap:8px;line-height:1.4}.crumb b{font-size:14px;font-weight:650;color:var(--ink)}.header-actions{gap:10px;flex-shrink:0}.header-actions .vertical-rule{margin:0 2px}.command-trigger{display:flex;align-items:center;gap:10px;min-height:46px;min-width:226px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:#f7f9fc;color:#526477;text-align:left;font-size:13px}.command-trigger:hover{background:#edf3f8;border-color:#c0d2e0}.command-trigger .icon{width:18px;height:18px}.command-trigger kbd,.command-trigger .kbd{margin-left:auto;color:#526477;background:#fff;border:1px solid #d6e1ea;border-radius:5px;padding:2px 5px;font:11px inherit}.quick-create-trigger{min-height:46px}.currency-select{min-height:46px;border:1px solid #d6e1ea;background:#fff;padding:9px 10px;border-radius:11px;font-size:13px;font-weight:650;color:#3f566c}.icon-button{width:46px;height:46px;min-width:46px;border-radius:11px;color:#51677d}.icon-button:hover{background:#edf4f7;color:#006f63}.content{max-width:1810px;padding:30px 32px 42px;margin:auto}.page-header{margin-bottom:25px;align-items:center;gap:20px}.page-header h1{font-size:30px;font-weight:700;letter-spacing:-.9px;line-height:1.3;margin:0 0 7px}.page-header p{font-size:14px;color:var(--muted);line-height:1.65;max-width:820px}.eyebrow{font-size:11px;letter-spacing:1.2px;color:#007466;margin-bottom:7px}.actions{gap:9px}
 .btn{min-height:46px;padding:11px 15px;border-radius:11px;border-color:#d5e0e9;color:#334d66;background:#fff;font-size:13px;font-weight:650;line-height:1.4;box-shadow:0 1px 1px #18355203;transition:background-color .16s,border-color .16s,box-shadow .16s}.btn:hover{transform:none;background:#f5f9fb;border-color:#b5cbd9}.btn.primary{background:#007e70;border-color:#007e70;color:#fff;box-shadow:0 3px 8px #007e7014}.btn.primary:hover{background:#006d61;border-color:#006d61}.btn.danger{color:#a82941;border-color:#edcbd3;background:#fff7f8}.btn.sm,.btn.ghost{min-height:44px;font-size:13px}.btn.sm{padding:9px 12px}.btn.ghost{color:#006f63;background:transparent;border-color:transparent;padding:8px 10px;box-shadow:none}.btn.ghost:hover{background:#eaf5f1}.btn .icon{width:17px;height:17px}.btn:disabled:hover{transform:none}.tabs{gap:7px;margin-bottom:22px;border-bottom:1px solid #d6e2eb;overflow-x:auto;scrollbar-width:thin}.tabs button{min-height:48px;padding:12px 15px;font-size:14px;white-space:nowrap;color:#4f657b;border-radius:9px 9px 0 0}.tabs button.active{color:#007466;border-bottom:3px solid #007e70;background:#eaf6f2}.filters{gap:10px;margin-bottom:17px;align-items:stretch}.filter-search{border-color:#d5e0ea;border-radius:11px;min-height:48px;padding:0 13px;min-width:220px}.filter-search input{font-size:14px;min-height:46px;min-width:0;color:var(--ink)}.filter-search:focus-within{border-color:#188f81;box-shadow:0 0 0 3px #007e7010}.filter-search:focus-within input{outline:none}.filter-search .icon{color:#536e85;width:18px}.filters select,.filters input[type=date]{font-size:13px;color:#395169;border-color:#d5e0ea;border-radius:11px;padding:11px 12px;min-height:48px;max-width:200px}.filters input::placeholder,.filter-search input::placeholder{color:#62778a;opacity:1}
 .panel{border-color:#dce5ee;border-radius:18px;box-shadow:var(--shadow);min-width:0}.panel-head{padding:22px 23px 18px;gap:14px}.panel-head h2,.panel-head h3{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.3px;margin:0 0 5px;line-height:1.4}.panel-head p{font-size:13px;color:var(--muted);line-height:1.6}.panel-body{padding:0 23px 23px}.panel-foot{padding:14px 23px;background:#f8fafc;font-size:12px;color:var(--muted);line-height:1.7}.stats{gap:16px;margin-bottom:24px}.stat{padding:21px 22px;box-shadow:var(--shadow);border-color:#dce5ee;border-radius:16px}.stat-label{font-size:13px;color:#506377;font-weight:600}.stat-top{margin-bottom:16px}.stat-icon{width:36px;height:36px;border-radius:11px;background:#eaf5f1;color:#007466}.stat-icon.orange{background:#fff3df;color:#92590c}.stat-icon.blue{background:#edf2fc;color:#315fab}.stat-icon.pink{background:#f2edfb;color:#765299}.stat-value{font-size:clamp(25px,2.25vw,35px);line-height:1.2;letter-spacing:-.9px;font-weight:700;color:#18324e;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stat-value .unit{font-size:18px;color:#52677c}.stat-sub{font-size:12px;color:#526477;line-height:1.5;margin-top:13px}.summary-band{border-radius:18px;background:#193650;padding:25px 27px;box-shadow:none;margin-bottom:24px}.summary-band:after{display:none}.summary-band h3{font-size:18px;font-weight:650;line-height:1.5}.summary-band p{font-size:13px;color:#d0e0ec;line-height:1.65}.band-numbers .val{font-size:27px;font-weight:650;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.band-numbers .label{font-size:12px;color:#d0e0ec}.band-divider{background:#ffffff32}.dashboard-grid{gap:22px;margin-bottom:24px;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)}.chart{height:220px}.chart text{font-size:11px;fill:#526477}.legend{font-size:12px;color:#526477;gap:15px}.attention{padding:0 23px 9px}.attention-row,button.attention-row{display:flex;align-items:center;text-align:left;width:100%;padding:17px 0;gap:13px;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);min-height:76px}.attention-row:hover{background:#f6fafb}.attention-row strong{font-size:14px;font-weight:650;line-height:1.5}.attention-row p{font-size:12px;color:var(--muted);line-height:1.65}.attention-row .symbol{width:40px;height:40px;border-radius:12px}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:23px}.dashboard-shortcuts>a,.dashboard-shortcuts>button{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:14px;color:#28465d;text-align:left;min-height:75px;font-size:14px;font-weight:650;line-height:1.45}.dashboard-shortcuts>a:hover,.dashboard-shortcuts>button:hover{border-color:#94bdb5;background:#f6fbf9}.dashboard-shortcuts .icon{color:#007466;width:22px;height:22px}.dashboard-shortcuts small{font-size:12px;color:var(--muted);display:block;font-weight:400;margin-top:3px}.finance-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 table:not(.dq-lines){white-space:nowrap}table:not(.dq-lines) th{font-size:11px;font-weight:650;letter-spacing:.45px;color:#536a80;background:#f7f9fc;padding:14px 21px;border-color:var(--line)}table:not(.dq-lines) td{padding:17px 21px;font-size:13px;color:#3c536b;border-color:#e6edf3;line-height:1.55}table:not(.dq-lines) tbody tr:hover{background:#f6fafb}.cell-main{font-size:14px;font-weight:650;color:#203b55;margin-bottom:5px;line-height:1.5}.cell-sub{font-size:12px;color:#526477;line-height:1.55;max-width:300px}.money{color:#1c3752;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.tag{font-size:11px;line-height:1.35;padding:6px 9px;border-radius:7px;color:#4f6379;background:#eef2f7;font-weight:600}.tag.green{color:#006e5d;background:#e4f4ed}.tag.orange{color:#8a5208;background:#fff1d7}.tag.red{color:#a52b42;background:#fdebf0}.tag.blue{color:#2c599d;background:#eaf0fc}.tag.purple{color:#6e4593;background:#f2ebfa}.project-tag{font-size:12px;color:#39576c;background:#f5f9fb;border-color:#d9e4ec;padding:6px 9px;border-radius:7px;max-width:210px;line-height:1.4}.doc-icon{width:38px;height:42px;border-radius:11px;background:#e9f5ef;color:#007568}.doc-icon.purchase{background:#edf0fb;color:#5867a9}.invoice-cell{gap:12px}.empty{padding:44px 24px;color:var(--muted)}.empty h3{font-size:18px;color:#344f65}.empty p{font-size:14px;line-height:1.7}.empty .icon{width:34px;height:34px;opacity:.8;color:#6f8c9f}.notice{padding:16px 18px;background:#eff8f4;border-color:#cfe4db;border-radius:12px;font-size:13px;color:#315e50;line-height:1.75}.notice.orange{background:#fff7e8;border-color:#ead6b1;color:#7b581e}.notice .icon{width:19px;height:19px;flex-shrink:0;margin-top:3px}.demo-banner{padding:12px 15px;font-size:13px;color:#36577a;background:#edf4fc;border-radius:11px}.demo-banner strong{font-size:12px}.footer{font-size:12px;color:#526477;margin-top:30px}.footer b{color:#465d74}
 .project-grid{gap:20px}.project-card{padding:23px;cursor:pointer;transition:background-color .18s,border-color .18s,box-shadow .18s}.project-card:hover{transform:none;border-color:#a4c8be;box-shadow:0 5px 18px #14382a09}.project-card-top{margin-bottom:18px}.project-code{font-size:11px;color:#526477;letter-spacing:.8px}.project-card h3{font-size:19px;color:#19364f;font-weight:650;line-height:1.45}.project-card .client{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:20px}.project-numbers{gap:14px;margin-bottom:16px;padding-top:18px}.project-numbers small{font-size:12px;color:var(--muted)}.project-numbers b{font-size:19px;line-height:1.4;letter-spacing:-.3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.progress{height:6px;background:#e9eff4}.progress-meta{font-size:12px;color:#526477;line-height:1.5;gap:8px}.project-card-footer{font-size:12px;color:var(--muted);gap:9px}.project-card-footer strong{font-size:14px;color:#007466}.detail-grid{gap:22px;margin-bottom:22px}.detail-info{gap:21px;padding:0 23px 23px}.detail-info small{font-size:12px;color:var(--muted);margin-bottom:6px;line-height:1.5}.detail-info strong{font-size:14px;font-weight:600;line-height:1.6}.detail-total{background:#edf7f3;border:1px solid #d8e9e1;border-radius:13px;padding:19px 21px}.detail-total .amount{font-size:29px;font-weight:700;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.detail-total .label{font-size:12px;color:#48695e}.project-cost-panel{margin-bottom:24px}.project-cost-table .cell-sub{font-size:12px}
 .form-grid{gap:18px}.field{gap:8px}.field label,.product-line-fields>.field>span,.product-project-row>.field>span{font-size:13px;font-weight:600;color:#3c5269;line-height:1.5}.field input,.field select,.field textarea{font-size:15px;color:#213b56;background:#fff;border-color:#cbd9e5;border-radius:11px;padding:12px 13px;min-height:48px}.field input::placeholder,.field textarea::placeholder{color:#687d91;opacity:1}.field input:focus,.field select:focus,.field textarea:focus{border-color:#078b7c;box-shadow:0 0 0 3px #007e7012}.field small{font-size:12px;color:#526477;line-height:1.7}.field textarea{min-height:100px;line-height:1.7}.field input[readonly],.product-allocation-fieldset:disabled input,.product-allocation-fieldset:disabled select{background:#f2f6fa;color:#4b6378;opacity:1}.check{font-size:14px;color:#3e566c;line-height:1.6;min-height:46px}.check input{width:21px;height:21px}.form-actions{gap:10px;margin-top:24px;flex-wrap:wrap}.form-error{font-size:14px;color:#a62640;background:#fff0f3;padding:14px;border-radius:11px;line-height:1.65}.settings-grid{gap:22px}.connection-hero{background:#f8fafc;padding:23px;gap:15px}.connection-hero strong{font-size:19px;color:#233e57}.connection-hero small{font-size:13px;color:var(--muted)}.connection-message{font-size:14px}.allocation-row{grid-template-columns:minmax(0,1fr) 112px 46px;gap:10px;margin-bottom:13px}.allocation-row select,.allocation-row input{min-height:48px;padding:11px;border-radius:10px;border-color:#cbd9e5;font-size:15px;color:#2c475f}.allocation-summary{font-size:13px;line-height:1.75;color:var(--muted)}.invoice-list-tools{padding:16px;border-radius:14px;box-shadow:none;gap:15px}.invoice-sort{font-size:13px;gap:12px;color:#476075}.invoice-sort select{border-color:#cbd9e5;border-radius:10px;font-size:14px;padding:11px 12px}.invoice-complete-filter{font-size:14px;gap:11px;line-height:1.5}.invoice-complete-filter small{font-size:12px;color:#526477}.invoice-list-count{font-size:13px;color:#526477}.invoice-content-panel{background:#f5f8fb;padding:17px;border-radius:14px;border-color:#d7e2eb}.invoice-content-heading h3{font-size:16px}.invoice-content-table .cell-main{font-size:13px}.invoice-content-table td{font-size:13px;padding:13px 12px}.invoice-content-table th{font-size:11px}.invoice-content-panel .help-text{font-size:13px}.product-line-card{padding:20px;border-radius:15px;border-color:#d7e2eb;margin-bottom:17px}.product-line-heading h4{font-size:16px;color:#243f57;line-height:1.55}.product-line-eyebrow{font-size:11px;color:#526477;letter-spacing:.6px}.product-line-facts{gap:14px}.product-line-facts small,.product-line-total small{font-size:12px;color:#526477}.product-line-facts strong,.product-line-total strong{font-size:14px}.product-line-status{font-size:13px;color:#7c5415;background:#fff5e1;padding:11px 13px}.product-line-status.is-complete{background:#eaf5ef;color:#24614d}.product-invoice-target,.product-allocation-summary{font-size:13px;line-height:1.75;border-radius:12px}.product-share-list>div{font-size:13px}.product-summary-heading .tag{font-size:11px}.allocation-conflict{font-size:14px}.allocation-conflict-preview h4{font-size:16px}
 dialog{border-color:#d7e2eb;border-radius:21px;box-shadow:0 24px 90px #12283f33}dialog::backdrop{background:#10263f66;backdrop-filter:blur(4px)}#modal{max-width:min(840px,calc(100vw - 32px));max-height:calc(100dvh - 40px);scrollbar-width:thin}.modal-head{padding:25px 28px 20px;gap:14px;border-color:#dce5ee;background:#fff}.modal-head h2{font-size:24px;font-weight:700;line-height:1.35;letter-spacing:-.6px;color:#17344d}.modal-head p{font-size:13px;line-height:1.6;color:#526477;max-width:640px}.modal-head .icon-button{margin:-3px -5px 0 0;flex-shrink:0}.modal-body{padding:25px 28px 28px}.modal-body h3{font-size:17px;font-weight:650;line-height:1.5;margin:24px 0 15px}.modal-body .stat-value{font-size:26px}.modal-body .stats{gap:14px}.modal-body .stat{padding:18px}.modal-body .notice{margin-bottom:20px}#modal .form-actions{bottom:-28px;padding:17px 0 19px;border-color:var(--line);box-shadow:0 -8px 16px #ffffffd9}.toast{background:#193c4c;border-color:#315666;border-radius:13px;padding:16px 18px;font-size:14px;line-height:1.6;box-shadow:0 6px 25px #16354c1c}.toast.error{background:#96374b;border-color:#ad5264}#toasts{right:24px;bottom:24px;max-width:420px}.loading{background:#f5f8fb;font-size:15px;gap:25px}.loading img{background:#fff;border:1px solid var(--line);padding:6px;object-fit:contain;border-radius:13px}
 /* One searchable destination list, shared with the real shell keyboard handler. */
 #quick-access-dialog.command-dialog{width:min(660px,calc(100vw - 32px));max-width:660px;max-height:min(740px,calc(100dvh - 72px));padding:0;border-radius:20px;margin:clamp(24px,11vh,110px) auto auto;overflow:auto}.command-search{display:flex;align-items:center;gap:13px;padding:18px 21px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.command-search>.icon{color:#007e70;width:23px;height:23px}.command-search input{flex:1;min-width:0;width:100%;border:0;min-height:40px;font-size:17px;color:#1c3852;background:#fff;outline-offset:4px}.command-search input::placeholder{color:#63788b;opacity:1}.command-search .icon-button{width:40px;min-width:40px;height:40px}.command-result-list{padding:11px;display:grid;gap:4px;list-style:none;margin:0}.command-group-label{font-size:11px;font-weight:700;letter-spacing:.9px;color:#5b7185;text-transform:uppercase;padding:13px 12px 7px}.command-result{display:flex;align-items:center;width:100%;gap:13px;min-height:71px;padding:12px;border:1px solid transparent;border-radius:12px;text-align:left;background:#fff;color:#1c3852}.command-result:hover,.command-result[aria-selected=true],.command-result:focus-visible{background:#edf7f3;border-color:#c7e4da}.command-result-icon{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;color:#007466;background:#eaf3f4}.command-result-copy{min-width:0;flex:1}.command-result-copy strong{display:block;font-size:15px;font-weight:650;line-height:1.5}.command-result-copy small,.command-result-copy span{display:block;font-size:12px;color:#526477;line-height:1.65;margin-top:3px}.command-result>.icon:last-child{color:#6b8397;width:17px;height:17px}.command-empty{padding:32px 22px;text-align:center;font-size:14px;color:var(--muted);line-height:1.7}.command-footer{padding:13px 22px;border-top:1px solid var(--line);background:#f8fafc;color:#526477;font-size:12px;line-height:1.7;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
 /* Operational views keep the job, receipt and primary action together. */
 .crm-workspace{min-width:0}.crm-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px;padding:27px 29px;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow)}.crm-welcome-copy{min-width:0}.crm-welcome-copy h1,.crm-welcome h2{font-size:30px;letter-spacing:-.8px;line-height:1.35;margin:0 0 9px;font-weight:700;color:#18364f}.crm-welcome-copy p{font-size:14px;line-height:1.75;color:var(--muted);margin:0;max-width:720px}.crm-welcome .eyebrow{font-size:11px;margin-bottom:9px}.crm-welcome-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}.crm-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:25px}.crm-quick-link{display:flex;align-items:center;gap:14px;padding:19px 17px;border:1px solid var(--line);border-radius:15px;background:#fff;min-width:0;min-height:100px;color:#203e56;transition:border-color .16s,background-color .16s}.crm-quick-link:hover{border-color:#97c2b6;background:#f6fbf9}.crm-quick-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;color:#007466;background:#eaf5ef;border-radius:13px}.crm-quick-link strong,.crm-quick-link h3{display:block;font-size:15px;font-weight:650;margin:0 0 5px;line-height:1.4}.crm-quick-link small,.crm-quick-link p{font-size:12px;color:#526477;line-height:1.6;display:block;margin:0}.crm-quick-link>.icon:last-child{width:17px;height:17px;margin-left:auto;flex-shrink:0;color:#668195}.crm-operational-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.crm-feed-panel{padding:0!important;border:1px solid var(--line);border-radius:17px;background:#fff;overflow:hidden;min-width:0}.crm-feed-head{display:flex;justify-content:space-between;align-items:center;padding:21px 23px 16px;gap:12px}.crm-feed-head h2,.crm-feed-head h3{font-size:18px;margin:0 0 5px;letter-spacing:-.3px;line-height:1.4}.crm-feed-head p{font-size:13px;color:#526477;line-height:1.6;margin:0}.crm-feed-list{padding:0 23px 12px;display:grid}.crm-feed-item{padding:18px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-top:1px solid var(--line);min-width:0}.crm-feed-item>div{min-width:0}.crm-feed-item h3,.crm-feed-item strong{display:block;font-size:14px;line-height:1.5;font-weight:650;margin:0 0 6px;color:#23445c;overflow-wrap:anywhere}.crm-feed-item p,.crm-feed-item small{font-size:12px;color:#526477;line-height:1.7;margin:0}.crm-feed-item .btn{min-height:44px;flex-shrink:0}.crm-feed-item .tag{white-space:normal}.crm-job-grid,.crm-claim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin-bottom:22px}.crm-job-card,.crm-claim-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px;min-width:0;box-shadow:var(--shadow)}.crm-job-top,.crm-claim-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}.crm-job-top>div,.crm-claim-head>div{min-width:0}.crm-job-card h2,.crm-job-card h3,.crm-claim-card h2,.crm-claim-card h3{font-size:19px;color:#203d55;line-height:1.5;margin:0 0 7px;letter-spacing:-.3px;overflow-wrap:anywhere}.crm-job-top small,.crm-claim-head small{font-size:12px;color:#526477;line-height:1.6}.crm-job-card p,.crm-claim-card p{font-size:13px;color:#526477;line-height:1.75;overflow-wrap:anywhere}.crm-job-meta,.crm-claim-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin:2px 0 19px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.crm-job-meta>div,.crm-claim-meta>div{min-width:0}.crm-job-meta dt,.crm-claim-meta dt{font-size:12px;line-height:1.5;color:#526477;margin-bottom:5px}.crm-job-meta dd,.crm-claim-meta dd{margin:0;font-size:14px;line-height:1.6;font-weight:550;color:#29485e;overflow-wrap:anywhere}.crm-job-footer,.crm-claim-footer{margin-top:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-job-footer .btn,.crm-claim-footer .btn{flex:1;white-space:normal}.crm-job-footer small,.crm-claim-footer small{font-size:12px;color:#526477}.crm-claim-amount{font-size:25px;color:#183a50;font-weight:700;letter-spacing:-.6px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.crm-record-context{padding:19px 21px;border:1px solid #d4e3eb;background:#f4f8fb;border-radius:14px;margin:0 0 22px;line-height:1.65}.crm-record-context h3{font-size:17px;margin:0 0 8px}.crm-record-context p{font-size:14px;color:#426078;margin:0;line-height:1.75}.crm-record-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;margin:0}.crm-record-summary dt{font-size:12px;color:#526477;line-height:1.5;margin-bottom:5px}.crm-record-summary dd{font-size:14px;font-weight:600;margin:0;line-height:1.65;color:#29475e;overflow-wrap:anywhere}.crm-process-note{padding:15px 18px;border-left:3px solid #7ab3a6;background:#f0f7f4;color:#3c6356;border-radius:0 10px 10px 0;font-size:13px;line-height:1.75;margin:18px 0}.crm-empty-state,.crm-loading-state{padding:35px 25px;text-align:center;background:#fff;border:1px dashed #c7d8e3;border-radius:15px;color:#526477;font-size:14px;line-height:1.75}.crm-empty-state .icon{display:block;width:34px;height:34px;color:#698a9c;margin:0 auto 15px}.crm-empty-state h3{font-size:18px;color:#29475e;margin:0 0 8px}.crm-empty-state p{max-width:470px;margin:0 auto 17px}.crm-empty-state .btn{margin:6px 4px 0}.crm-panel{padding:24px;border-radius:17px}.crm-panel h3{font-size:18px}.crm-panel .table-wrap.crm-list{width:calc(100% + 48px)}.crm-toolbar{gap:14px;font-size:14px;line-height:1.6;margin-bottom:20px}.crm-toolbar select{font-size:14px;color:#314e65;min-height:48px;border-color:#cbd9e5;border-radius:10px;padding:10px 12px}.crm-details dt{font-size:12px;color:#526477}.crm-details dd{font-size:15px;line-height:1.75;color:#2e485f}.crm-list td small{font-size:12px;color:#526477}.crm-permissions label,.crm-consent{font-size:14px;line-height:1.7;border-color:#d4e0e9;border-radius:11px}.crm-permissions input{width:20px;height:20px}.crm-card h3{font-size:19px}.crm-card p{font-size:14px;line-height:1.7}.crm-card>a,.crm-card>span{font-size:14px}.crm-steps{gap:12px;margin-bottom:26px}.crm-steps li{font-size:13px;color:#526477}.crm-steps li>span{width:32px;height:32px}.crm-steps li.is-current{color:#006f60}.crm-hero{background:#193650;border-radius:19px;padding:28px 31px}.crm-hero h2{font-size:30px}.crm-hero p{font-size:14px;color:#d0e0ec}.crm-hero .crm-hero-logo{background:#fff;box-shadow:none}
 /* Editors remain recognisable, with the same labels and action sizing as the workspace. */
 .quote-flow{font-size:13px;color:#466076;padding:17px 20px;border-radius:13px}.quote-flow small{font-size:12px;color:#526477}.quote-flow b{font-size:12px;width:30px;height:30px;color:#007466;background:#e7f4ee}.quote-number{font-size:14px;color:#007466}.quote-cell-sub{font-size:12px;color:#526477;line-height:1.5}.quote-project-link{font-size:12px;color:#3c6185}.quote-pagination{font-size:13px;padding:16px 23px}.quote-editor-top,.quote-editor-bottom{gap:22px;margin-bottom:22px}.quote-micro-note{font-size:12px;color:#526477;line-height:1.7}.q-item{padding:22px 23px}.q-item-head{gap:12px;margin-bottom:15px}.q-item-number{width:32px;height:32px;font-size:12px;background:#edf5f3;color:#2d6b5d;border-radius:9px}.q-item input,.q-item select{font-size:15px;min-height:48px;border-radius:10px;border-color:#cbd9e5;padding:11px 12px;color:#233f56}.q-item-head label>span,.q-line-field>span,.q-line-result>span,.q-computed>span,.q-mode>span{font-size:12px;color:#526477;font-weight:600;line-height:1.5;margin-bottom:6px}.q-item-tools button{min-width:44px;width:44px;height:44px;border-radius:10px}.q-line-result strong{font-size:16px;color:#165c4e}.q-line-field small{font-size:12px;line-height:1.6;color:#526477}.q-price-source span{font-size:13px}.q-price-source small{font-size:12px;line-height:1.6}.q-computed{background:#f3f7fa;border-color:#d6e3ea;border-radius:11px;padding:12px;min-height:73px}.q-computed strong{font-size:15px;color:#29465c}.q-mode select{font-size:14px;min-height:48px}.q-private-profit{border-color:#d9c79d;border-radius:11px;background:#fffaf0;min-height:74px}.q-private-profit span{font-size:12px;color:#715f34}.q-private-profit strong{font-size:16px;color:#59461f}.quote-lines-footer small{font-size:12px;color:#526477}.quote-total-row{font-size:14px;color:#526477;padding:10px 0}.quote-total-row strong{font-size:14px;color:#29465c}.quote-total-row.grand{border-color:#c7e2d7;background:#edf8f2;border-radius:9px;padding:17px 12px}.quote-total-row.grand span{font-size:11px;color:#1a634e}.quote-total-row.grand strong{font-size:24px;color:#12634d}.quote-cost-summary .quote-total-row{font-size:12px}.quote-cost-summary small,.quote-cost-summary p{font-size:12px;line-height:1.7;color:#665a3c}.quote-save-bar{padding:17px 22px;border-radius:14px;border-color:#d7e2eb;box-shadow:0 -3px 14px #1a334408}.quote-save-bar>span{font-size:13px;color:#526477}.quote-detail-band{background:#193650;border-radius:17px;padding:25px 28px;gap:23px}.quote-detail-band strong{font-size:18px;font-weight:600}.quote-detail-band span:not(.tag){font-size:13px;color:#d0e0ec}.quote-amount small{font-size:11px;color:#d0e0ec}.quote-amount b{font-size:31px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.quote-action-bar .btn{font-size:13px;min-height:46px}.quote-client-info h3{font-size:17px}.quote-client-info p{font-size:14px;line-height:1.75}.quote-detail-table th{font-size:11px}.quote-detail-table td{font-size:13px}.quote-terms h3{font-size:15px;color:#34546a}.quote-terms p{font-size:14px;color:#526477;line-height:1.75}.quote-internal h3{font-size:13px;color:#75602b}.quote-revisions button{font-size:13px;border-radius:8px;color:#526477;min-height:44px;padding:9px 12px}.quote-revisions .selected{color:#126951;border-color:#bdded0;background:#eaf6ef}.quote-events strong{font-size:14px;color:#3b5b72}.quote-events p{font-size:13px;color:#526477;line-height:1.75}.quote-events small{font-size:12px;color:#526477}
 .design-intro h1{font-size:30px;color:#19364f}.design-intro p{font-size:14px;color:#526477;line-height:1.7}.design-eyebrow{font-size:11px;color:#007466}.design-count span{font-size:13px;color:#526477}.design-card{border-color:#d8e3ec;border-radius:11px}.design-card>span:last-child{font-size:12px;color:#435c73;line-height:1.5}.design-card.selected{border-color:#007e70;box-shadow:0 0 0 2px #007e7014}.design-controls{border-color:#d7e2eb;border-radius:15px}.design-section-title{padding:20px}.design-section-title h2{font-size:17px}.design-section-title span{font-size:12px;color:#007466}.design-controls summary{font-size:14px;min-height:52px;padding:17px 0;color:#28455d}.design-fields label,.design-preview-tools label{font-size:13px;color:#3f586f;line-height:1.5}.design-fields input,.design-fields select,.design-preview-tools select{font:15px 'Segoe UI',Arial,sans-serif;border-color:#cbd9e5;min-height:46px;border-radius:9px;padding:11px;background:#fff}.design-colors input{padding:5px}.design-upload small,.design-save p{font-size:12px;color:#526477;line-height:1.7}.design-upload input{font-size:12px}.design-checks{font-size:14px}.design-checks label{min-height:44px}.design-checks input{width:20px;height:20px}.design-preview-tools h2{font-size:18px}.design-preview-tools .btn{font-size:13px;min-height:46px}.design-preview-foot span{font-size:12px;color:#526477;line-height:1.7}.design-preview-wrap{border-color:#d3dfe9;background:#e9eff5;border-radius:15px}.mail-account-strip{border-color:#dce5ee;border-radius:14px;padding:19px 22px}.mail-account-strip span:not(.tag):not(.avatar),.mail-last-sync,.mail-user-switch small{font-size:13px;color:#526477}.mail-list-row{padding:21px 23px;border-color:#e0e9f1;gap:15px}.mail-list-row:hover{background:#f3f8fb}.mail-list-row.unread{background:#edf8f4;border-left-color:#007e70}.mail-row-content>strong{font-size:16px;color:#254258}.mail-row-content>span{font-size:13px;color:#526477}.mail-row-content .tag{font-size:11px}.mail-list-row time{font-size:12px;color:#526477}.mail-footnote{font-size:13px;color:#526477;line-height:1.75}.mail-direction{background:#e9f0fa;color:#315fa2;border-radius:13px}.mail-direction.in{background:#e7f4ed;color:#007466}.mail-from{padding:15px 18px;font-size:14px;border-radius:11px}.mail-from span{color:#456b5f}.mail-check{font-size:14px;line-height:1.7;min-height:46px}.mail-check input{width:20px!important;height:20px}.mail-attachment{font-size:14px;border-color:#d6e2ed;border-radius:12px;padding:18px}.mail-attachment small{font-size:12px;color:#526477}.mail-envelope{font-size:14px;gap:13px}.mail-envelope dt{color:#526477}.mail-body{font-size:15px;color:#29465e;line-height:1.85}.mail-signature small{font-size:12px;color:#526477}.mail-signature pre{font-size:14px;color:#3c576e}.mail-settings-grid,.mail-compose-layout{gap:22px}.mail-compose-layout aside{top:105px}
 .help-tip{background:#f8fbfd;border-color:#d8e5ed;border-radius:14px;padding:17px 20px 0;color:#2c4b62}.help-tip:before{background:#3c99a0}.help-tip-title{font-size:14px}.help-tip-eyebrow{font-size:11px;color:#437082}.help-step-label{font-size:12px;color:#456477}.help-tip p,.help-tip-content,.help-tip-body{font-size:13px;color:#526477;line-height:1.7}.help-tip .btn{font-size:12px}.login-shell{background:#fff}.login-art{background:#193650;padding:65px}.login-art .brand-title,.login-art .brand-title em{color:#fff}.login-art .brand small{color:#d2e0ec}.login-art .brand .det-logo{background:#fff;border-radius:10px}.login-art p{color:#d2e0ec;font-size:16px;line-height:1.85}.login-art h1{font-size:clamp(36px,3.8vw,55px);font-weight:650;letter-spacing:-1.7px}.login-art h1 span{color:#87dec3}.login-art .mini-feature{font-size:14px;color:#e1edf2}.login-card{max-width:470px;padding:38px}.login-card h2{font-size:31px;line-height:1.3;letter-spacing:-.8px}.login-card p{font-size:15px;color:#526477;line-height:1.8}.login-card .field{margin-bottom:21px}.login-card input{font-size:16px;min-height:52px}.login-card .btn{font-size:15px;min-height:52px}.login-foot{font-size:13px;color:#526477;line-height:1.8}.login-mobile-brand .det-logo{background:#fff;border-radius:0}
}
@media screen and (min-width:1600px){.content{padding:36px 42px 48px}.topbar{padding-left:42px;padding-right:42px}.stats{gap:20px}.stat{padding:25px}.crm-job-grid,.crm-claim-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-shortcuts{gap:16px}}
@media screen and (max-width:1250px){:root{--sidebar-width:234px}.sidebar{padding-left:13px;padding-right:13px}.sidebar .nav a.active:before{left:13px}.sidebar .brand-logo-full{width:158px}.content,.topbar{padding-left:24px;padding-right:24px}.command-trigger{min-width:180px}.topbar-caption{max-width:260px}.header-actions{gap:8px}.crm-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-welcome{align-items:flex-start;flex-wrap:wrap}.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr)}.stat{padding:20px 18px}.stat-value{font-size:28px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.q-pricing-grid,.q-pricing-options{gap:12px}.q-item-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media screen and (max-width:1080px){.topbar-caption{display:none}.command-trigger{min-width:46px;width:46px;padding:0;justify-content:center}.command-trigger>span,.command-trigger kbd,.command-trigger .kbd{display:none}.header-password{display:none}.page-header{align-items:stretch}.page-header .actions{justify-content:flex-start}.dashboard-grid,.finance-focus-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-operational-grid{grid-template-columns:1fr}.crm-quick-grid{gap:12px}.crm-job-grid,.crm-claim-grid{gap:16px}.band-numbers{gap:22px}.band-numbers .val{font-size:24px}.summary-band{gap:20px;padding:23px}.quote-editor-top,.quote-editor-bottom{grid-template-columns:1fr}.quote-sticky-summary{position:static}.mail-compose-layout{grid-template-columns:1fr}.mail-compose-layout aside{position:static}.settings-grid{grid-template-columns:1fr}}
@media screen and (max-width:740px){
 :root{--touch:48px}html{scroll-padding-top:92px}button,a,input,select,textarea,summary{scroll-margin-block:94px 116px}.main{margin-left:0}.content{padding:24px 16px calc(106px + env(safe-area-inset-bottom));max-width:100%}.topbar{min-height:76px;padding:10px 16px;gap:9px;padding-top:max(10px,env(safe-area-inset-top));background:#ffffffed}.topbar-heading{gap:9px;min-width:0}.topbar-page-title{font-size:16px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-caption{display:none}.crumb{font-size:11px;max-width:100%}.crumb b{font-size:14px}.mobile-brand .det-logo{background:#fff;border-radius:0;width:44px;height:36px}.header-actions{gap:5px}.header-actions .help-trigger{display:none}.header-actions .vertical-rule{display:none}.quick-create-trigger{min-width:44px;width:44px;padding:0}.quick-create-trigger>span{display:none}.command-trigger{min-width:44px;width:44px;min-height:44px;border-color:transparent;background:transparent;border-radius:10px}.command-trigger .icon{width:22px;height:22px}.command-trigger>span,.command-trigger kbd{display:none}.currency-select{font-size:13px;min-height:44px;padding:8px 6px;max-width:68px}.icon-button{width:46px;height:46px;min-width:46px}.sidebar{width:min(312px,calc(100vw - 32px));padding:19px 17px calc(20px + env(safe-area-inset-bottom));background:#fff;z-index:60;border-right:1px solid var(--line)}.sidebar .brand{padding:0 9px 20px;margin-bottom:17px}.sidebar .brand-logo-full{width:171px;height:65px}.sidebar .brand .det-logo{width:55px;height:44px}.sidebar .nav a,.sidebar .nav-link{font-size:15px;min-height:49px;padding:12px 14px}.sidebar .nav-section{font-size:11px;margin-top:17px}.sidebar .nav a.active:before{left:17px}.sidebar-footer{margin-top:22px;padding-top:0}.drawer-close{color:#425c72;background:#f0f5f9;margin-bottom:10px}.nav-backdrop{background:#16324a66;backdrop-filter:blur(3px)}.nav-open .sidebar{box-shadow:10px 0 50px #102d4929}.sidebar .user strong{font-size:14px}.sidebar .user small{font-size:12px}.mobile-navigation{padding:7px 9px calc(7px + env(safe-area-inset-bottom));gap:4px;background:#fffffffa;border-color:#d5e1eb;backdrop-filter:blur(16px);box-shadow:0 -4px 20px #142f4c08;z-index:40}.mobile-navigation a,.mobile-navigation button{min-height:58px;font-size:11px;font-weight:650;line-height:1.4;color:#4b6378;border-radius:13px;gap:5px;padding:7px 2px}.mobile-navigation .icon{width:22px;height:22px}.mobile-navigation [aria-current=page]{color:#006f61;background:#e7f4ee}.mobile-navigation [aria-expanded=true]{color:#006f61}.page-header{gap:17px;margin-bottom:22px}.page-header h1{font-size:27px;letter-spacing:-.7px;line-height:1.35}.page-header p{font-size:14px;line-height:1.7}.page-header .actions{gap:9px}.page-header .actions .btn{flex:1;white-space:normal;min-height:48px;font-size:14px}.eyebrow{font-size:11px}.btn{min-height:48px;font-size:14px;padding:12px 14px;border-radius:11px}.btn.sm,.btn.ghost{font-size:13px;min-height:46px}.btn .icon{width:18px;height:18px}.filters{gap:9px;margin-bottom:15px}.filter-search{min-height:50px;min-width:0;flex-basis:100%;padding:0 12px;border-radius:11px}.filter-search input{font-size:16px;min-height:48px}.filter-search>.btn{font-size:14px;min-height:46px;min-width:51px}.filters select,.filters input[type=date]{font-size:16px;min-height:49px;max-width:100%;padding:11px;flex:1 1 calc(50% - 5px);min-width:0}.filters .quote-revision-filter{font-size:14px;min-height:49px;padding:10px 12px}.tabs{gap:4px;margin-bottom:20px}.tabs button{padding:12px;font-size:14px;min-height:48px}.panel{border-radius:16px}.panel-head{padding:20px 18px 16px;align-items:flex-start;gap:12px;flex-wrap:wrap}.panel-head h2,.panel-head h3{font-size:17px}.panel-head p{font-size:13px}.panel-body{padding:0 18px 20px}.panel-foot{font-size:12px;padding:13px 18px;line-height:1.75}.stats{gap:11px;margin-bottom:20px}.stat{padding:17px 15px;border-radius:14px}.stat-top{margin-bottom:14px;align-items:flex-start;gap:7px}.stat-label{font-size:12px;line-height:1.5}.stat-icon{width:30px;height:30px;min-width:30px;border-radius:10px}.stat-icon .icon{width:17px;height:17px}.stat-value{font-size:clamp(24px,6vw,31px);font-weight:700;line-height:1.25;letter-spacing:-.65px;white-space:normal}.stat-value .unit{font-size:15px;margin-left:4px}.stat-sub{font-size:12px;line-height:1.55;margin-top:11px;align-items:flex-start;flex-wrap:wrap}.summary-band{padding:22px 20px;border-radius:16px;flex-direction:column;align-items:stretch;gap:20px;margin-bottom:20px}.summary-band h3{font-size:18px;line-height:1.5}.summary-band p{font-size:13px;line-height:1.7}.band-numbers{width:100%;display:flex;justify-content:space-between;gap:15px;min-width:0}.band-numbers>div{min-width:0;flex:1}.band-numbers .val{font-size:24px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.band-numbers .label{font-size:12px;line-height:1.5}.band-divider{display:none}.dashboard-grid,.finance-focus-grid{gap:19px;margin-bottom:20px}.chart-wrap{padding:2px 14px 15px}.chart{height:205px}.legend{font-size:12px;gap:12px;flex-wrap:wrap}.attention{padding:0 18px 5px}.attention-row,button.attention-row{gap:12px;min-height:80px;padding:17px 0}.attention-row strong{font-size:14px}.attention-row p{font-size:12px;line-height:1.65}.dashboard-shortcuts{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.dashboard-shortcuts>a,.dashboard-shortcuts>button{padding:15px 13px;min-height:99px;gap:10px;align-items:flex-start;flex-direction:column;font-size:14px;line-height:1.45;border-radius:13px}.dashboard-shortcuts small{font-size:12px}.dashboard-shortcuts .icon{width:21px;height:21px}.notice{padding:14px 15px;font-size:13px;gap:10px;border-radius:11px;line-height:1.75}.notice .icon{width:18px;height:18px}.demo-banner{font-size:12px;line-height:1.7;padding:12px 14px}.small,.help-text,.inline-note{font-size:13px;line-height:1.7}.tag{font-size:11px;padding:6px 9px;line-height:1.4}.project-tag{font-size:12px;max-width:100%;padding:6px 8px}.cell-main{font-size:14px;line-height:1.6}.cell-sub{font-size:12px;line-height:1.65;max-width:none;white-space:normal;overflow:visible;text-overflow:clip}.money{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.table-wrap:has(>.mobile-records){padding:0 13px 14px}.mobile-records tbody{gap:12px}.mobile-records tbody tr{border-color:#d8e3ec;border-radius:13px;box-shadow:0 2px 5px #16365303}.mobile-records td{grid-template-columns:minmax(82px,.34fr) minmax(0,1fr);gap:9px;padding:12px 13px;font-size:14px;color:#2e4c64;line-height:1.6;border-color:#e4ecf2}.mobile-records td:before{font-size:11px;font-weight:650;color:#526477;line-height:1.6;padding-top:3px;letter-spacing:0;text-transform:none}.mobile-records .table-label small{font-size:12px;color:#526477}.mobile-records td .btn{min-height:46px;font-size:13px}.mobile-records .actions{gap:8px;min-width:0}.mobile-records td .record-cell-content{min-width:0;overflow-wrap:anywhere}.project-grid{grid-template-columns:1fr;gap:16px}.project-card{padding:21px}.project-code{font-size:12px}.project-card h3{font-size:20px}.project-card .client{font-size:14px;margin-bottom:18px}.project-numbers b{font-size:20px;white-space:normal;overflow-wrap:anywhere}.project-numbers small{font-size:12px}.project-card-footer{font-size:12px;line-height:1.5}.project-card-footer strong{font-size:14px}.detail-grid{grid-template-columns:1fr;gap:18px}.detail-info{gap:18px 13px;padding:0 18px 21px}.detail-info strong{font-size:14px;line-height:1.65}.detail-info small{font-size:12px}.detail-total{padding:17px 18px;gap:13px;flex-wrap:wrap}.detail-total .amount{font-size:28px}.detail-total .label{font-size:12px}.form-grid{gap:17px}.field label,.product-line-fields>.field>span,.product-project-row>.field>span{font-size:14px}.field input,.field select,.field textarea,.allocation-row input,.allocation-row select{font-size:16px;min-height:50px;padding:12px;border-radius:10px;max-width:100%}.field small{font-size:12px;line-height:1.75}.field textarea{min-height:111px}.form-actions .btn{min-height:49px;white-space:normal;line-height:1.5}.form-error{font-size:13px}.check{font-size:14px;line-height:1.65}.invoice-list-tools{padding:14px;gap:13px;border-radius:13px}.invoice-sort{font-size:13px;gap:6px;flex-direction:column;align-items:stretch;width:100%}.invoice-sort select{font-size:16px;min-height:50px;width:100%;max-width:100%}.invoice-complete-filter{font-size:14px;padding:0;min-height:50px;width:100%}.invoice-complete-filter small{font-size:12px;line-height:1.6}.invoice-list-count{margin-left:0;font-size:13px;line-height:1.6}.invoice-content-panel{padding:13px;margin-bottom:22px;border-radius:13px}.invoice-content-heading h3{font-size:16px}.invoice-content-heading .tag{font-size:11px}.invoice-content-panel .help-text{font-size:13px}.invoice-content-table.mobile-records td{font-size:13px;padding:10px;grid-template-columns:minmax(76px,.36fr) minmax(0,1fr)}.invoice-content-table .cell-main{font-size:13px;line-height:1.65}.invoice-source-action .btn{font-size:13px;width:100%;white-space:normal}.allocation-row{grid-template-columns:minmax(0,1fr) 82px 46px;gap:8px}.allocation-summary{font-size:13px;line-height:1.75}.invoice-allocation-tabs{gap:9px}.invoice-allocation-tabs .btn{font-size:13px;line-height:1.5;padding:10px;min-height:50px;white-space:normal}.product-line-card{padding:16px 13px;border-radius:13px}.product-line-heading h4{font-size:16px;line-height:1.6}.product-line-eyebrow{font-size:11px;line-height:1.5}.product-line-facts small,.product-line-total small{font-size:12px}.product-line-facts strong,.product-line-total strong{font-size:14px;line-height:1.6}.product-line-facts{gap:15px 11px}.product-line-fields{gap:15px}.product-project-row{padding:13px 11px;gap:10px;border-color:#d7e3ec;border-radius:12px;background:#f5f9fc;grid-template-columns:minmax(0,1fr) 46px}.product-project-row input,.product-project-row select,.product-line-fields input{font-size:16px;min-height:50px}.product-line-card>.btn{min-height:49px;white-space:normal}.product-line-status{font-size:13px;padding:11px;line-height:1.75}.product-allocation-summary{font-size:13px;padding:14px 12px}.product-share-list>div{font-size:13px;line-height:1.8;grid-template-columns:1fr;gap:4px}.product-summary-heading strong{font-size:14px}.product-summary-heading .tag{font-size:11px}.product-invoice-target{font-size:13px;padding:13px;gap:8px 14px}.allocation-conflict{font-size:13px;padding:14px;line-height:1.75}.allocation-conflict .btn{font-size:13px;white-space:normal}.allocation-conflict-preview h4{font-size:15px}.allocation-conflict-preview p{font-size:13px}
 #modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.modal-head{padding:21px 18px 18px;gap:10px;align-items:flex-start}.modal-head h2{font-size:22px;line-height:1.4;letter-spacing:-.5px}.modal-head p{font-size:13px;line-height:1.7}.modal-head .icon-button{margin:-3px -3px 0 0;min-width:44px;width:44px;height:44px}.modal-body{padding:21px 18px 24px}.modal-body h3{font-size:17px;line-height:1.5}.modal-body .stats{grid-template-columns:1fr;gap:12px}.modal-body .stat{padding:18px}.modal-body .stat-value{font-size:27px}#modal .form-actions{bottom:-24px;margin-left:-18px;margin-right:-18px;padding:16px 18px max(16px,env(safe-area-inset-bottom));background:#fff;z-index:3;box-shadow:0 -6px 14px #ffffffea}#modal:has(#invoice-distribution)>.modal-body>.detail-info{gap:17px 11px}#modal:has(#invoice-distribution)>.modal-body>.detail-info strong{font-size:13px;line-height:1.65}#modal:has(#invoice-distribution)>.modal-body>.detail-info small{font-size:12px}.modal-body .panel{border-radius:13px}#toasts{left:13px;right:13px;bottom:calc(91px + env(safe-area-inset-bottom));max-width:none}.toast{font-size:13px;padding:15px;line-height:1.7;border-radius:12px}body:has(#modal[open]) #toasts{bottom:calc(17px + env(safe-area-inset-bottom))}.footer{font-size:12px;line-height:1.75;gap:8px;margin-top:25px}
 #quick-access-dialog.command-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 32px);margin:16px auto auto;border-radius:17px}.command-search{gap:10px;padding:15px 14px}.command-search input{font-size:16px;min-height:42px}.command-search>.icon{width:20px;height:20px}.command-search .icon-button{width:42px;height:42px;min-width:42px}.command-result-list{padding:8px}.command-group-label{font-size:11px;padding:13px 11px 6px}.command-result{min-height:76px;padding:11px;gap:12px;border-radius:11px}.command-result-copy strong{font-size:15px;line-height:1.5}.command-result-copy small,.command-result-copy span{font-size:12px;line-height:1.65}.command-result-icon{width:39px;height:39px;flex-basis:39px;border-radius:11px}.command-footer{padding:13px 18px;font-size:12px;line-height:1.7}.command-empty{font-size:14px;padding:28px 18px}
 .crm-welcome{padding:23px 20px;gap:20px;border-radius:16px;margin-bottom:20px;display:flex;flex-direction:column;align-items:stretch}.crm-welcome-copy h1,.crm-welcome h2{font-size:27px;letter-spacing:-.7px;line-height:1.4;margin-bottom:9px}.crm-welcome-copy p{font-size:14px;line-height:1.75}.crm-welcome-actions{width:100%;gap:9px}.crm-welcome-actions .btn{flex:1;white-space:normal;min-height:49px}.crm-quick-grid{gap:11px;margin-bottom:21px;grid-template-columns:repeat(2,minmax(0,1fr))}.crm-quick-link{padding:17px 14px;gap:12px;min-height:145px;flex-direction:column;align-items:flex-start;border-radius:14px;position:relative}.crm-quick-icon{width:39px;height:39px;flex-basis:39px;border-radius:11px}.crm-quick-link strong,.crm-quick-link h3{font-size:15px;line-height:1.5;margin-bottom:5px}.crm-quick-link small,.crm-quick-link p{font-size:12px;line-height:1.65}.crm-quick-link>.icon:last-child{position:absolute;right:13px;top:26px;width:16px;height:16px}.crm-operational-grid{grid-template-columns:1fr;gap:19px}.crm-feed-panel{border-radius:15px}.crm-feed-head{padding:21px 18px 15px;align-items:flex-start;flex-wrap:wrap}.crm-feed-head h2,.crm-feed-head h3{font-size:18px}.crm-feed-head p{font-size:13px}.crm-feed-list{padding:0 18px 9px}.crm-feed-item{padding:18px 0;gap:12px;flex-wrap:wrap}.crm-feed-item>div{flex:1 1 65%;min-width:0}.crm-feed-item h3,.crm-feed-item strong{font-size:14px;line-height:1.6}.crm-feed-item p,.crm-feed-item small{font-size:12px;line-height:1.7}.crm-feed-item .btn{min-height:46px;font-size:13px}.crm-job-grid,.crm-claim-grid{grid-template-columns:1fr;gap:15px}.crm-job-card,.crm-claim-card{padding:21px 18px;border-radius:15px}.crm-job-top,.crm-claim-head{gap:10px;margin-bottom:15px}.crm-job-card h2,.crm-job-card h3,.crm-claim-card h2,.crm-claim-card h3{font-size:19px;line-height:1.5}.crm-job-top small,.crm-claim-head small{font-size:12px;line-height:1.65}.crm-job-card p,.crm-claim-card p{font-size:14px;line-height:1.7}.crm-job-meta,.crm-claim-meta{gap:16px 13px;padding:17px 0;margin-bottom:18px}.crm-job-meta dt,.crm-claim-meta dt{font-size:12px;line-height:1.6}.crm-job-meta dd,.crm-claim-meta dd{font-size:14px;line-height:1.65}.crm-job-footer,.crm-claim-footer{gap:9px}.crm-job-footer .btn,.crm-claim-footer .btn{min-height:49px;font-size:14px;line-height:1.5}.crm-claim-amount{font-size:25px}.crm-record-context{padding:18px 16px;border-radius:13px;margin-bottom:21px}.crm-record-context h3{font-size:17px}.crm-record-context p{font-size:14px;line-height:1.75}.crm-record-summary{gap:16px 12px}.crm-record-summary dt{font-size:12px}.crm-record-summary dd{font-size:14px;line-height:1.7}.crm-process-note{font-size:13px;padding:14px 15px;line-height:1.75}.crm-empty-state,.crm-loading-state{padding:28px 20px;font-size:14px;line-height:1.75;border-radius:13px}.crm-empty-state h3{font-size:18px}.crm-empty-state .btn{min-height:48px}.crm-panel{padding:20px 18px;border-radius:15px}.crm-panel h3{font-size:18px;line-height:1.5}.crm-panel .table-wrap.crm-list{width:100%;margin:0}.crm-toolbar{font-size:14px;gap:12px}.crm-toolbar select{font-size:16px;min-height:50px;padding:11px}.crm-toolbar>label{min-width:0}.crm-toolbar>span{font-size:13px}.crm-toolbar>.btn{min-height:48px}.crm-list tr{padding:4px 14px;border-color:#d9e4ec;border-radius:13px;box-shadow:none}.crm-list td{font-size:14px;padding:13px 0}.crm-list td::before{font-size:11px;letter-spacing:.3px;color:#526477;line-height:1.6}.crm-list td small{font-size:12px;line-height:1.7}.crm-list td strong{font-size:15px}.crm-list .tag{font-size:11px;line-height:1.5}.crm-list td:last-child .btn{min-height:48px}.crm-panel .field input,.crm-panel .field select,.crm-panel .field textarea,[data-crm-form] .field input,[data-crm-form] .field select,[data-crm-form] .field textarea{font-size:16px;min-height:50px}.crm-panel .field label,[data-crm-form] .field label{font-size:14px}.crm-panel .field textarea,[data-crm-form] .field textarea{min-height:116px}.crm-panel .form-actions .btn,[data-crm-form] .form-actions .btn{font-size:14px;min-height:50px}.crm-steps{gap:9px}.crm-steps li{font-size:12px;line-height:1.5}.crm-steps li>span{width:29px;height:29px;font-size:12px;margin-bottom:8px}.crm-details dt{font-size:12px}.crm-details dd{font-size:15px;line-height:1.75}.crm-permissions label,.crm-consent{font-size:14px;line-height:1.75;padding:14px}.crm-sign-actions .btn{min-height:49px;font-size:14px;line-height:1.5}#crm-sign-help{font-size:13px;line-height:1.7}.crm-hash{font-size:12px;color:#526477}.crm-hero{padding:23px 20px;border-radius:16px}.crm-hero h2{font-size:26px}.crm-hero p{font-size:14px;color:#d0e0ec;line-height:1.75}.crm-hero .tag{font-size:11px}.crm-card{padding:22px 20px}.crm-card h3{font-size:19px}.crm-card p{font-size:14px}.crm-card>a,.crm-card>span{font-size:14px}
 .quote-flow{font-size:13px;padding:16px;gap:10px;line-height:1.6}.quote-flow small{font-size:12px}.quote-number{font-size:14px;line-height:1.6}.quote-cell-sub{font-size:12px;line-height:1.65;white-space:normal;max-width:none}.quote-project-link{font-size:12px;line-height:1.5}.quote-pagination{font-size:13px;padding:15px 17px;gap:12px;flex-wrap:wrap}.quote-editor-top,.quote-editor-bottom{grid-template-columns:1fr;gap:19px}.q-item{padding:19px 15px}.q-item-head{gap:10px}.q-item-number{width:30px;height:30px}.q-item-head label>span,.q-line-field>span,.q-line-result>span,.q-computed>span,.q-mode>span{font-size:12px;line-height:1.5}.q-item input,.q-item select,.q-line-field input,.q-line-field select{font-size:16px;min-height:50px;padding:12px 10px;border-radius:10px}.q-item-fields{margin-left:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}.q-item-tools button{min-width:44px;width:44px;height:44px}.q-pricing-grid,.q-pricing-options{padding-left:16px;padding-right:16px;gap:14px 11px}.q-line-field small{font-size:12px;line-height:1.6}.q-price-source{max-width:100%;min-width:0}.q-price-source span{font-size:13px}.q-price-source small{font-size:12px;line-height:1.7}.q-line-result strong{font-size:16px}.q-mode select{font-size:16px;min-height:50px}.q-computed strong{font-size:15px;line-height:1.5}.q-private-profit span{font-size:12px}.q-private-profit strong{font-size:16px}.quote-lines-footer small{font-size:12px;line-height:1.7}.quote-save-bar{bottom:calc(80px + env(safe-area-inset-bottom));padding:15px 16px;border-radius:13px;gap:13px;z-index:5}.quote-save-bar>span{font-size:13px;line-height:1.6}.quote-save-bar .actions{width:100%;gap:8px}.quote-save-bar .btn{flex:1;min-height:49px;font-size:13px;white-space:normal}.quote-total-row{font-size:14px;padding:10px 0}.quote-total-row strong{font-size:14px}.quote-total-row.grand span{font-size:11px}.quote-total-row.grand strong{font-size:24px}.quote-cost-summary .quote-total-row{font-size:12px}.quote-cost-summary small,.quote-cost-summary p{font-size:12px;line-height:1.75}.quote-detail-band{padding:23px 20px;gap:18px;flex-direction:column;align-items:flex-start;border-radius:16px}.quote-detail-band strong{font-size:18px}.quote-detail-band span:not(.tag){font-size:13px;color:#d0e0ec}.quote-amount small{font-size:11px;color:#d0e0ec}.quote-amount b{font-size:30px;white-space:normal;overflow-wrap:anywhere}.quote-action-bar{gap:9px}.quote-action-bar .btn{min-height:48px;font-size:13px;white-space:normal;flex:1 1 42%}.quote-client-info p{font-size:14px}.quote-terms p{font-size:14px}.quote-events p{font-size:13px}.quote-events small{font-size:12px}.quote-revisions button{font-size:13px;min-height:46px;padding:10px 12px}.quote-internal h3{font-size:13px}.quote-detail-table td{font-size:13px}.quote-detail-table.mobile-records td:before{font-size:11px}
 .design-intro{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:23px}.design-intro h1{font-size:27px;line-height:1.35}.design-intro p{font-size:14px;line-height:1.7}.design-count b{font-size:40px}.design-count span{font-size:13px}.design-gallery{gap:11px;grid-template-columns:repeat(2,minmax(0,1fr))}.design-card{min-width:0;padding:11px;border-radius:12px}.design-card.selected{padding:10px}.design-card>span:last-child{font-size:13px;line-height:1.55}.design-workspace{grid-template-columns:1fr;gap:21px}.design-controls summary{font-size:15px;min-height:54px}.design-fields label,.design-preview-tools label{font-size:14px}.design-fields input,.design-fields select,.design-preview-tools select{font-size:16px;min-height:50px;border-radius:10px}.design-upload small,.design-save p{font-size:12px;line-height:1.75}.design-upload input{font-size:13px}.design-checks label{font-size:14px;min-height:46px;line-height:1.6}.design-save>.btn{min-height:50px}.design-preview-tools h2{font-size:18px}.design-preview-tools .btn{font-size:13px;min-height:48px;white-space:normal}.design-preview-tools{gap:13px}.design-preview-foot span{font-size:12px;line-height:1.75}.design-preview-foot .btn{font-size:13px;white-space:normal}.design-preview-wrap{padding:16px;max-width:100%;overflow-x:auto}.mail-account-strip{padding:17px 18px;gap:12px;flex-wrap:wrap}.mail-account-strip span:not(.tag):not(.avatar){font-size:13px}.mail-last-sync{font-size:12px;margin-left:0}.mail-filters .filter-search{min-width:0}.mail-filters select{font-size:16px;min-height:49px}.mail-list-row{padding:19px 17px;gap:12px;flex-wrap:wrap}.mail-list-row.unread{padding-left:14px}.mail-direction{padding:10px;border-radius:11px}.mail-row-content{flex-basis:65%;gap:8px}.mail-row-content>strong{font-size:15px;white-space:normal;line-height:1.5}.mail-row-content>span{font-size:13px;line-height:1.65}.mail-list-row time{font-size:12px;margin-left:auto}.mail-user-switch{padding:18px}.mail-user-switch label{font-size:14px;gap:10px;flex-wrap:wrap}.mail-user-switch select{min-height:50px;font-size:16px;min-width:0;max-width:100%}.mail-user-switch small{font-size:12px;line-height:1.7}.mail-settings-grid,.mail-compose-layout{grid-template-columns:1fr;gap:20px}.mail-from{font-size:14px;padding:15px;gap:12px;flex-wrap:wrap}.mail-attachment{padding:16px 14px;font-size:14px;gap:12px;flex-wrap:wrap}.mail-attachment small{font-size:12px;line-height:1.7}.mail-attachment .btn{font-size:13px;min-height:46px}.mail-check{font-size:14px;line-height:1.75;min-height:48px}.mail-envelope{grid-template-columns:1fr;gap:5px;font-size:14px}.mail-envelope dd{margin-bottom:12px}.mail-body{font-size:15px;line-height:1.85}.mail-signature pre{font-size:14px}.mail-footnote{font-size:13px;line-height:1.75}.help-tip{padding:16px 16px 0;border-radius:13px;margin-bottom:20px}.help-tip p,.help-tip-content,.help-tip-body{font-size:13px;line-height:1.75}.help-tip .btn{font-size:12px;min-height:44px}.login-shell{background:#f7fafc}.login-card{max-width:470px;padding:30px 24px calc(32px + env(safe-area-inset-bottom))}.login-mobile-brand{margin-bottom:30px;padding-bottom:23px;gap:16px}.login-mobile-brand .det-logo{width:87px;height:70px;border-radius:0;background:#fff}.login-mobile-brand span{font-size:13px;color:#526477}.login-card h2{font-size:30px;line-height:1.35}.login-card p{font-size:15px;line-height:1.8}.login-card .field label{font-size:14px}.login-card input{font-size:16px;min-height:54px}.login-card .btn{font-size:16px;min-height:54px}.login-foot{font-size:13px;line-height:1.8}.connection-hero{padding:20px 18px}.connection-hero strong{font-size:19px}.connection-hero small{font-size:13px;line-height:1.7}.connection-message{font-size:13px;padding:12px 16px;line-height:1.7}
}
@media screen and (max-width:360px){.topbar{padding-left:12px;padding-right:12px;gap:5px}.topbar-heading{gap:6px}.mobile-brand .det-logo{width:36px;height:30px}.topbar-page-title{font-size:14px}.header-actions{gap:2px}.currency-select{font-size:12px;max-width:61px;padding-left:5px;padding-right:5px}.header-actions .command-trigger{width:42px;min-width:42px}.quick-create-trigger{width:42px;min-width:42px}.content{padding-left:12px;padding-right:12px}.page-header h1{font-size:25px}.stat{padding:15px 12px}.stat-label{font-size:12px}.stat-icon{display:none}.stat-value{font-size:24px}.stat-sub{font-size:12px}.mobile-records td{grid-template-columns:78px minmax(0,1fr);padding:12px 10px;gap:8px}.mobile-navigation{padding-left:5px;padding-right:5px;gap:1px}.mobile-navigation a,.mobile-navigation button{font-size:11px}.modal-head{padding-left:15px;padding-right:15px}.modal-body{padding-left:15px;padding-right:15px}.modal-head h2{font-size:21px}#modal .form-actions{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}.allocation-row{grid-template-columns:minmax(0,1fr) 73px 44px;gap:7px}.allocation-row select,.allocation-row input{padding-left:8px;padding-right:8px}.crm-welcome{padding:21px 17px}.crm-welcome-copy h1,.crm-welcome h2{font-size:25px}.crm-quick-link{padding:16px 12px;min-height:149px}.crm-quick-link strong,.crm-quick-link h3{font-size:14px}.crm-quick-link small,.crm-quick-link p{font-size:12px}.crm-job-card,.crm-claim-card{padding:20px 15px}.crm-job-top,.crm-claim-head{flex-wrap:wrap}.crm-job-top>div,.crm-claim-head>div{flex-basis:100%}.crm-record-summary{grid-template-columns:1fr}.crm-panel{padding:19px 15px}.crm-steps li{font-size:11px}.q-pricing-grid,.q-pricing-options{padding-left:13px;padding-right:13px}.quote-detail-band{padding:22px 17px}.quote-amount b{font-size:28px}.command-result{padding:11px 9px;gap:10px}.command-result-copy strong{font-size:14px}.command-result-copy small,.command-result-copy span{font-size:12px}.command-search{gap:9px;padding-left:13px;padding-right:11px}.command-search>.icon{display:none}}
@media screen {
 .skip-link{position:fixed;left:15px;top:-90px;padding:13px 18px;min-height:48px;background:#173e56;color:#fff;border-radius:10px;font-size:14px;z-index:1100}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.sidebar-navigation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.brand-modern{display:flex;justify-content:flex-start}.workspace-indicator{width:8px;height:8px;background:#008c75;border-radius:50%;flex:0 0 8px}.sidebar-context{display:flex;align-items:center;gap:10px}.sidebar-context small{display:block;font-size:11px;color:#64778a;margin-top:2px}.nav-count{background:#eaf0f6;color:#3d5a71;font-size:11px;padding:3px 7px;border-radius:6px;line-height:1.4}.topbar-page{min-width:0}.header-currency{display:block}.command-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 0}.command-heading h2{margin:0;font-size:18px;line-height:1.5;letter-spacing:-.3px}.command-search{position:relative;padding-top:13px}.command-result.is-current{background:#edf7f3;border-color:#b7dbcd}.command-result-meta{font-size:11px;color:#425c73;background:#edf3f7;padding:4px 7px;border-radius:6px;white-space:nowrap}.command-footer kbd{font:12px 'Segoe UI',sans-serif;background:#fff;border:1px solid #d3e0e9;padding:2px 5px;border-radius:4px}.dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-shortcuts .shortcut-icon{display:grid;place-items:center;width:41px;height:41px;min-width:41px;background:#eaf5f0;border-radius:12px;color:#007466}.dashboard-shortcuts a>span:nth-child(2){min-width:0;flex:1}.dashboard-shortcuts a strong{font-size:14px;line-height:1.5}.dashboard-shortcuts a>.icon:last-child{width:16px;height:16px;color:#648298}.attention-row>span:nth-child(2){min-width:0;flex:1}.attention-row small{font-size:12px;color:#526477;line-height:1.6;display:block}.focus-progress{font-size:13px;font-weight:700;color:#3e5b70;background:#f0f5f8;padding:5px 8px;border-radius:7px;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}.attention-row>.icon:last-child{width:15px;height:15px;margin-left:0}.finance-summary{display:grid;gap:26px;padding:7px 23px 26px}.finance-summary>div{min-width:0}.finance-summary>div>span{font-size:13px;color:#526477;display:block;margin-bottom:8px}.finance-summary>div>strong{font-size:31px;line-height:1.4;color:#1c3b52;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.6px;overflow-wrap:anywhere}.finance-summary>div>strong>small{font-size:14px;font-weight:400;color:#526477;letter-spacing:0}.finance-summary>div>small{font-size:12px;line-height:1.7;color:#526477;display:block;margin-top:6px}.finance-focus-grid{margin-bottom:24px}.finance-cash-panel,.finance-recent-panel{margin-bottom:24px}.crm-quick-link.crm-card{display:flex;margin:0;box-shadow:var(--shadow)}.crm-quick-link.crm-card:hover{transform:none}.crm-quick-link.crm-card>span::after{content:none}.crm-quick-link.crm-card>span{margin:0}.crm-quick-link>div{min-width:0;flex:1}.crm-quick-link>span:last-child:not(.crm-quick-icon){color:#668294;margin-left:auto;font-size:21px;line-height:1}.crm-feed-list{list-style:none;margin:0}.crm-feed-head>div{min-width:0}.crm-feed-amount{flex:0 0 auto;text-align:right}.crm-feed-amount strong{font-size:14px;font-variant-numeric:tabular-nums}.crm-eyebrow{font-size:11px;font-weight:650;letter-spacing:.55px;color:#526477;line-height:1.6;display:block}.crm-welcome .crm-eyebrow{color:#007466;margin-bottom:8px}.crm-card-project{font-size:14px!important;color:#47647a!important;margin:0 0 17px!important}.crm-claim-person{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 17px!important}.crm-claim-person .icon{width:17px;height:17px;color:#637f91}.crm-claim-person strong{font-size:13px;color:#375a70}.crm-claim-person span{font-size:12px;color:#526477}.crm-claim-amount{margin:0 0 18px}.crm-claim-amount>span{font-size:12px;color:#526477;letter-spacing:0;font-weight:400;display:block;margin-bottom:4px}.crm-claim-amount>strong{font-size:27px;display:block;line-height:1.4;font-weight:700}.crm-claim-footer>p{margin:0 0 8px;flex-basis:100%;font-size:12px;line-height:1.65;color:#526477}.crm-job-footer>span{flex:1 1 100%;font-size:12px;line-height:1.6;margin-bottom:4px}.crm-process-note{display:flex;align-items:flex-start;gap:11px}.crm-process-note>.icon{margin-top:3px;flex-shrink:0;color:#497965}.crm-process-note p{margin:0;font-size:13px;line-height:1.75}.crm-record-status{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 21px}.crm-record-description{border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.crm-record-description h2{font-size:15px;margin:0 0 9px}.crm-record-description p{font-size:14px;line-height:1.8;color:#3d5d74}.crm-team-status{display:flex;gap:11px;flex-wrap:wrap;margin-top:21px}.crm-team-status>span{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce6ed;border-radius:9px;padding:9px 11px;font-size:13px;line-height:1.5}.crm-report-read{padding:17px;background:#f5f8fb;border:1px solid #dbe6ee;border-radius:11px;line-height:1.8;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.crm-service-state{padding:19px;border:1px solid #d5e4ec;background:#f4f9fb;border-radius:13px;margin:18px 0}.crm-service-state>.icon{color:#437c8a;width:25px;height:25px}.crm-service-state h3{font-size:17px;margin:12px 0 7px}.crm-service-state p{font-size:14px;color:#526477;line-height:1.75;margin:0}.crm-pagination{padding:16px 0;border-top:1px solid var(--line);justify-content:center}.crm-loading-state .icon{color:#63859a}
}
@media screen and (max-width:1080px){.dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-shortcuts>a{align-items:flex-start;gap:11px;flex-wrap:wrap}.dashboard-shortcuts a>.icon:last-child{display:none}}
@media screen and (max-width:740px){.sidebar-navigation{flex:0 0 auto;overflow:visible}.sidebar-context{padding:0 14px 17px;font-size:13px}.sidebar-context small{font-size:12px}.command-heading{padding:15px 15px 0}.command-heading h2{font-size:18px}.command-result-meta{font-size:10px;max-width:74px;white-space:normal;text-align:right}.command-result-copy{flex-basis:60%}.dashboard-shortcuts{grid-template-columns:1fr;gap:10px}.dashboard-shortcuts>a{min-height:81px;flex-direction:row;align-items:center;flex-wrap:nowrap;padding:15px}.dashboard-shortcuts a strong{font-size:15px}.dashboard-shortcuts small{font-size:12px}.dashboard-shortcuts a>.icon:last-child{display:block}.dashboard-shortcuts .shortcut-icon{width:42px;height:42px;min-width:42px}.finance-summary{gap:23px;padding:4px 18px 22px}.finance-summary>div>strong{font-size:29px}.finance-summary>div>span{font-size:13px}.finance-summary>div>small{font-size:12px}.finance-focus-grid{margin-bottom:20px}.attention-row,.attention-row:has(.focus-progress){display:grid;grid-template-columns:40px minmax(0,1fr) 16px;gap:10px 12px}.attention-row>span:nth-child(2){grid-column:2;grid-row:1}.attention-row>.symbol{grid-column:1;grid-row:1/3;align-self:center}.attention-row>.focus-progress{grid-column:2;grid-row:2;justify-self:start;margin:0;font-size:12px;max-width:100%;white-space:normal}.attention-row>.icon:last-child{grid-column:3;grid-row:1/3;align-self:center}.attention-row small{font-size:12px;line-height:1.7}.crm-quick-link.crm-card{flex-direction:column;align-items:flex-start}.crm-quick-link>span:last-child:not(.crm-quick-icon){position:absolute;right:13px;top:22px;font-size:22px}.crm-quick-link>div{flex:1}.crm-feed-amount{flex:0 1 auto!important;text-align:left}.crm-feed-item .btn{flex-basis:100%;width:100%}.crm-claim-amount>strong{font-size:27px}.crm-claim-amount>span{font-size:12px}.crm-claim-footer>p{font-size:12px;line-height:1.75;margin-bottom:9px}.crm-job-footer>span{font-size:12px;line-height:1.7}.crm-eyebrow{font-size:11px;line-height:1.7}.crm-process-note p{font-size:13px;line-height:1.75}.crm-record-description h2{font-size:16px}.crm-record-description p{font-size:14px}.crm-service-state{padding:17px 15px;margin:18px 0}.crm-service-state p{font-size:14px}.crm-report-read{font-size:15px;padding:15px}.crm-team-status>span{font-size:13px;width:100%;line-height:1.6}.crm-record-status .tag{white-space:normal;line-height:1.5}.crm-pagination{justify-content:flex-start;gap:11px}.crm-pagination span{flex:1;font-size:13px}.crm-job-workspace{gap:18px}}
@media screen and (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.content{animation:none}.btn:hover,.project-card:hover,.crm-card:hover{transform:none}}
@media screen and (min-width:1101px){.crm-job-workspace{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr)}.crm-record-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* The original square raster contains generous white margins. Cover trims only those margins. */
@media screen{.sidebar .brand-modern{padding:0 0 19px;margin:0 0 22px;justify-content:center}.sidebar .brand-logo-full{display:block;width:200px;height:126px;max-width:100%;object-fit:cover;object-position:center;background:#fff;border-radius:0}.login-mobile-brand .brand-logo-full{display:block;object-fit:cover;object-position:center;width:112px;height:77px;max-width:112px;background:#fff;border-radius:0}}
@media screen and (max-width:740px){.mobile-brand{width:64px;flex:0 0 64px;min-height:44px;overflow:hidden}.mobile-brand .brand-logo-full{display:block;width:64px;height:42px;max-width:none;object-fit:cover;object-position:center;background:#fff;border-radius:0}.sidebar .brand-logo-full{width:212px;height:138px;max-width:100%}.sidebar .brand-modern{margin-bottom:20px;padding-bottom:19px}.login-mobile-brand .brand-logo-full{width:112px;height:77px;max-width:112px}}
@media screen and (max-width:360px){.mobile-brand{width:51px;flex-basis:51px}.mobile-brand .brand-logo-full{width:51px;height:37px}.topbar-page-title{font-size:14px}}
@media screen{#modal .form-actions{bottom:0}}
@media screen and (max-width:360px){.header-actions .command-trigger,.header-actions .quick-create-trigger{width:44px;min-width:44px}}
@media screen{.sidebar-help{width:100%;justify-content:flex-start;min-height:46px;margin:0 0 13px;padding:11px 13px;background:#f5f8fb;border-color:#dce5ee;color:#3d5a72;font-size:13px;box-shadow:none}.sidebar-help .icon{color:#497388;width:18px;height:18px}.sidebar-help:hover{background:#eaf3f6;border-color:#c3d8e3;color:#274d64}}
@media screen and (max-width:740px){.sidebar-help{min-height:49px;font-size:14px;margin-bottom:16px;padding:12px 14px}}
@media screen{.project-card .project-client-name{font-size:21px;font-weight:700;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.project-card .project-name{font-size:14px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}.project-card .project-code{overflow-wrap:anywhere}.page-header h1{overflow-wrap:anywhere}}
@media screen and (max-width:740px){.project-card .project-client-name{font-size:21px}.project-card .project-name{font-size:14px}}
@media screen{.project-list-filters{align-items:flex-end}.project-currency-filter{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted);min-width:170px}.project-currency-filter select{width:100%;min-width:0}.project-list-summary{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 18px}}
@media screen{.filters .quote-project-scope-label{white-space:normal;min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.6}}
@media screen and (max-width:740px){.project-list-filters .project-currency-filter{flex:1 1 calc(50% - 5px);min-width:0}.project-list-filters .project-currency-filter select{font-size:16px;min-height:49px}.project-list-filters>.btn{width:100%}.project-list-summary{font-size:13px}}
@media screen and (max-width:360px){.project-list-filters .project-currency-filter,.project-list-filters>select{flex:1 1 100%;width:100%}}
/* Project overview: company folders retain every original project and its own currency. */
@media screen{.project-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.project-list-heading .project-list-summary{margin:0}.project-list-heading .project-list-summary small{display:block;font-size:12px;color:#62778a;margin-top:4px;line-height:1.65}.project-group-tools{display:flex;gap:8px;flex-shrink:0}.project-group-tools .btn{min-height:44px;font-size:12px;white-space:nowrap}.project-company-list{display:grid;gap:16px}.project-company-group{overflow:clip;min-width:0;border-radius:16px;border-color:#d8e3eb;box-shadow:0 3px 16px #15304f05}.project-company-summary{list-style:none;cursor:pointer;padding:22px 23px;background:#fff;min-height:92px;-webkit-tap-highlight-color:#007e701c}.project-company-summary::-webkit-details-marker{display:none}.project-company-summary:focus-visible{outline:3px solid #087f9c;outline-offset:-4px;border-radius:15px}.project-company-summary:hover{background:#f7fbf9}.project-company-summary h2{display:flex;align-items:center;gap:15px;margin:0;font:inherit;min-width:0}.project-company-symbol{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;color:#007466;background:#e8f4ee}.project-company-symbol .icon{width:23px;height:23px}.project-company-copy{flex:1;min-width:0}.project-company-name{display:block;font-size:21px;line-height:1.4;font-weight:700;letter-spacing:-.35px;color:#1d3e54;overflow-wrap:anywhere}.project-company-copy small{display:block;font-size:12px;font-weight:400;color:#526e7e;line-height:1.6;margin-top:4px}.project-company-count{padding:7px 10px;border:1px solid #d5e8df;background:#f0f8f4;border-radius:9px;color:#24634f;font-size:12px;line-height:1.4;font-weight:650;white-space:nowrap;flex-shrink:0}.project-company-chevron{display:grid;place-items:center;flex:0 0 24px;color:#637d8e;transition:transform .16s}.project-company-chevron .icon{width:19px;height:19px}.project-company-group[open]>.project-company-summary{border-bottom:1px solid #dce7e9;background:#f8fcfa}.project-company-group[open]>.project-company-summary .project-company-chevron{transform:rotate(180deg)}.project-company-body{background:#f6f9fb;padding:16px 18px 19px}.project-company-context{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#526e7e;line-height:1.6;margin:0 1px 13px}.project-company-currencies{display:flex;gap:5px;flex-wrap:wrap}.project-company-currencies>span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:3px 6px;border-radius:6px;background:#e8eef4;color:#456178;font-size:10px;font-weight:650}.project-company-body .project-grid{gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))}.project-company-body .project-card{padding:20px;border:1px solid #d7e2e9;box-shadow:0 1px 5px #15304f04;border-radius:13px;min-width:0}.project-company-body .project-card-top{gap:8px}.project-company-body .project-record-currency{margin-left:auto;background:#f0f4f8;border:1px solid #dce5ed;color:#48627a;border-radius:6px;padding:3px 6px;font-size:10px;font-weight:650}.project-company-body .project-card .project-name-title{font-size:17px;font-weight:650;line-height:1.5;margin:7px 0 20px;letter-spacing:-.2px;overflow-wrap:anywhere;white-space:normal}.project-company-body .project-code{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.project-company-body .project-numbers b{font-size:20px;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.project-company-body .project-numbers small{font-size:10px;line-height:1.5}.project-company-body .project-card-footer strong{font-size:14px}}
@media screen and (max-width:740px){.project-list-heading{flex-direction:column;gap:13px;margin-bottom:17px}.project-group-tools{width:100%;gap:9px}.project-group-tools .btn{flex:1;min-height:46px;font-size:13px}.project-company-list{gap:13px}.project-company-summary{padding:18px 15px;min-height:88px}.project-company-summary h2{gap:10px;flex-wrap:wrap}.project-company-symbol{width:36px;height:36px;flex-basis:36px;border-radius:11px}.project-company-symbol .icon{width:20px;height:20px}.project-company-copy{flex-basis:calc(100% - 72px)}.project-company-name{font-size:20px;line-height:1.45}.project-company-copy small{font-size:12px;line-height:1.65}.project-company-count{margin-left:46px;padding:5px 8px;font-size:11px}.project-company-chevron{margin-left:auto;flex-basis:20px}.project-company-body{padding:14px 11px 12px}.project-company-context{font-size:11px;align-items:flex-start;gap:8px}.project-company-context>span:first-child{flex:1;min-width:0}.project-company-body .project-grid{grid-template-columns:minmax(0,1fr);gap:12px}.project-company-body .project-card{padding:18px 15px}.project-company-body .project-card .project-name-title{font-size:17px;margin-bottom:19px}.project-company-body .project-numbers b{font-size:19px}.project-company-body .project-numbers small{font-size:11px}.project-company-body .project-card-top .tag{font-size:10px;padding:5px 7px}.project-company-body .project-record-currency{font-size:10px}.project-company-body .project-card-footer{gap:9px}.project-company-body .project-card-footer strong{font-size:14px}}
@media screen and (prefers-reduced-motion:reduce){.project-company-chevron{transition:none}}
