:root{--ink:#172d38;--muted:#64757d;--teal:#087f79;--teal-dark:#086762;--mint:#e6f3ef;--line:#dfe6e6;--paper:#fff;--canvas:#f4f6f5;--gold:#b76b43;--danger:#ad3c35;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a:focus-visible,button:focus-visible{outline:3px solid #70bfb7;outline-offset:4px}input,textarea,select{width:100%;padding:12px 13px;border:1px solid #cdd8d8;border-radius:8px;background:white;color:var(--ink);min-height:45px}input:focus,textarea:focus,select:focus{outline:2px solid #7cbfb5;outline-offset:1px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--teal);flex-shrink:0}input[type=color]{width:70px;padding:5px}input[type=file]{font-size:12px}textarea{resize:vertical;line-height:1.55}label{display:block;font-size:12px;font-weight:650;color:#455c66;margin-bottom:18px}label>input,label>textarea,label>select{display:block;margin-top:7px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:32px;font-weight:650}h2{font-size:24px;font-weight:650}h3{font-size:17px;font-weight:650}p{line-height:1.6}small{font-size:11px}strong{font-weight:650}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:750;display:block;line-height:1.5}.btn{border:1px solid #d5dfdf;background:white;border-radius:8px;min-height:44px;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;gap:10px;font-weight:650;font-size:13px;color:var(--ink);text-decoration:none}.btn:hover{background:#edf3f1}.btn.primary{background:var(--teal);border-color:var(--teal);color:white}.btn.primary:hover{background:var(--teal-dark)}.btn.danger{color:var(--danger);border-color:#e2b7b4}.btn.light{background:#fff;color:var(--ink);border-color:white}.btn.small{min-height:36px;padding:7px 12px;font-size:12px}.btn.full{width:100%}.text-link{font-weight:650;font-size:13px}.link-button{background:none;border:0;padding:4px 0;color:var(--teal);font-weight:650;text-align:left}.check{display:flex;align-items:center;gap:10px;line-height:1.45;margin:0;font-size:13px}.check>input{margin:0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.notice{padding:13px 16px;border:1px solid #b6dcd1;background:#edf8f3;border-radius:8px;line-height:1.55;margin:18px 0}.notice.error{border-color:#e9bbb7;background:#fff0ee;color:#8b302b}.brand{display:block;width:172px;flex-shrink:0}.brand img{display:block;width:100%;height:auto}.boot{padding:15vh 30px;text-align:center;color:var(--muted)}
/* Service desk */
.app-shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#193b3d;color:#dce9e9;padding:29px 18px;position:fixed;inset:0 auto 0 0;width:230px;z-index:10;display:flex;flex-direction:column}.sidebar-logo{display:block;background:transparent;border:0;border-radius:0;padding:0;margin:0 7px 28px}.sidebar-logo img{display:block;width:100%;height:auto;max-height:100px;object-fit:contain}.sidebar-kicker{font-size:10px;letter-spacing:.17em;color:#8fa6af;padding:0 15px 13px}.nav-item{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:8px;font-size:13px;color:#c1d0d5;margin-bottom:5px}.nav-item:hover{background:#223e4a}.nav-item.active{background:#31505a;color:#fff;box-shadow:inset 3px 0 #69c2b7}.nav-item svg{width:19px;height:19px;stroke-width:1.7}.sidebar-bottom{margin-top:auto;border-top:1px solid #36505b;padding-top:20px;font-size:12px}.sidebar-bottom p{padding:8px 15px;color:#91a6af;font-size:11px}.main-shell{grid-column:2;min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:14px}.topbar .crumb{font-size:12px;color:#73848b}.user-menu{display:flex;align-items:center;gap:11px;font-size:12px}.avatar{height:33px;width:33px;display:grid;place-items:center;border-radius:50%;background:#eef3ee;font-size:11px;font-weight:750}.mobile-nav{display:none}.page-body{max-width:1500px;margin:0 auto;padding:34px 40px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading h1{margin:5px 0 6px}.page-heading p{font-size:13px;color:var(--muted)}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:27px}.stat{background:#fff;border:1px solid var(--line);padding:22px;border-radius:12px}.stat .stat-label{color:var(--muted);font-size:12px;display:flex;justify-content:space-between;align-items:center}.stat-label svg{width:18px;height:18px}.stat strong{font-size:29px;letter-spacing:-.04em;display:block;margin:14px 0 7px}.stat small{color:#809096}.stat.featured{background:var(--ink);color:#fff;border-color:var(--ink)}.stat.featured .stat-label,.stat.featured small{color:#a9c5ca}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:23px;overflow:hidden}.panel-head{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-head h2{font-size:16px}.panel-head p{font-size:12px;color:var(--muted);margin-top:5px}.panel-body{padding:24px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;color:#75848b;text-transform:uppercase;letter-spacing:.07em;font-weight:650;background:#f8faf9;white-space:nowrap}th,td{padding:15px 20px;border-bottom:1px solid #e9eeee}td{font-size:12px;vertical-align:middle}tr:last-child td{border-bottom:0}td small{display:block;margin-top:4px;color:var(--muted)}td.amount,th.amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}tbody tr:hover{background:#fbfdfc}.badge{border-radius:5px;padding:5px 8px;font-size:10px;display:inline-flex;font-weight:650;white-space:nowrap;background:#edf1f4;color:#586e7c}.badge.teal{background:#e4f4ec;color:#247656}.badge.amber{background:#fbf0dd;color:#92691d}.badge.red{background:#fbe9e6;color:#a3493d}.badge.blue{background:#e8f0f8;color:#426b8d}.empty{text-align:center;padding:52px 22px;color:var(--muted)}.empty svg{height:34px;width:34px;color:#a3b7b8;margin-bottom:15px}.empty h3{color:var(--ink);margin-bottom:10px}.empty p{max-width:380px;margin:0 auto 20px;font-size:13px}.filter-row{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.tabs{display:flex;gap:4px;background:#e9efec;padding:4px;border-radius:9px;flex-wrap:wrap}.tab{border:0;background:transparent;border-radius:6px;color:#678076;padding:9px 13px;font-size:12px;font-weight:650;min-height:38px}.tab.active{background:white;color:var(--ink);box-shadow:0 1px 4px #17303b12}.search{width:250px;max-width:100%;background:#fff;min-height:42px}.filter-select{width:auto;max-width:100%;min-height:42px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:23px}.quick-card{border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.quick-card:hover{border-color:#6faca2;background:#f6fbf9}.quick-card small{display:block;margin-top:5px;color:var(--muted)}.onboarding{display:flex;gap:24px;align-items:center;background:#e5f1ed;border:1px solid #c9dfd6;border-radius:12px;padding:22px 25px;margin-bottom:25px}.onboarding h3{margin-bottom:6px}.onboarding p{font-size:13px;color:#547268}.onboarding .btn{margin-left:auto;white-space:nowrap}.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.company-card{background:white;border:1px solid var(--line);border-top:4px solid var(--company-color);border-radius:10px;padding:24px}.company-card .company-logo{height:50px;max-width:170px;object-fit:contain;object-position:left;margin-bottom:20px}.company-card .company-monogram{height:50px;width:50px;display:grid;place-items:center;border-radius:9px;background:var(--canvas);font-size:22px;color:var(--company-color);margin-bottom:20px}.company-card p{font-size:12px;color:var(--muted);margin:9px 0 17px;min-height:40px;white-space:pre-line}.company-card h3{margin:6px 0}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px}.summary-panel{position:sticky;top:25px;align-self:start}.summary-row{display:flex;justify-content:space-between;margin:14px 0;gap:20px;font-size:13px}.summary-total{font-size:24px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.job-section{margin:24px 0}.job-section-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.line-editor{display:grid;grid-template-columns:minmax(110px,.9fr) minmax(160px,2fr) 70px 95px 90px 34px;gap:10px;background:#f6f8f7;border:1px solid var(--line);padding:14px;border-radius:9px;margin-bottom:10px;align-items:end}.line-editor label{margin:0;font-size:10px}.line-editor input,.line-editor textarea{padding:10px;font-size:12px;min-height:42px}.line-editor .line-exempt{margin-bottom:10px;font-size:10px;gap:5px}.line-editor .remove-line{border:0;background:#e9eeeb;border-radius:6px;height:40px;color:#8a5c50}.line-sum{grid-column:1/-1;text-align:right;font-size:11px;color:var(--muted);margin-top:2px}.private-note{border-left:3px solid #bba86a;background:#faf8f0;border-radius:5px;padding:19px;margin-top:24px}.private-note p{font-size:11px;color:#81754f;margin:7px 0 14px}.private-note label{margin:0}.form-actions{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:22px;align-items:center}.save-indicator{font-size:11px;color:var(--muted)}.history-item{display:flex;gap:15px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.history-item small{color:var(--muted)}
/* Dialogs and signatures */
dialog{border:0;border-radius:14px;padding:0;color:var(--ink);box-shadow:0 30px 100px #11263340;max-width:calc(100vw - 24px);width:720px;max-height:92dvh;background:#fff}dialog::backdrop{background:#0e242c99;backdrop-filter:blur(3px)}dialog.wide{width:1050px}.dialog-head{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:20px}.close-button{background:#f0f4f2;border:0;border-radius:7px;width:36px;height:36px;font-size:22px;color:#60766e}.dialog-body{padding:24px;overflow:auto;max-height:calc(92dvh - 77px)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.dialog-subtitle{color:var(--muted);font-size:13px;margin-bottom:21px}.invoice-frame{width:100%;height:57vh;min-height:330px;border:1px solid var(--line);border-radius:7px;background:#f4f6f5}.invoice-controls{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 0 0;flex-wrap:wrap}.invoice-controls .left-actions,.invoice-controls .right-actions{display:flex;gap:8px;flex-wrap:wrap}.workflow-checks{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:18px}.signature-pad{display:block;width:100%;height:auto;aspect-ratio:10/3;border:1px solid #bfd3cc;border-radius:8px;background:linear-gradient(to bottom,#fff 78%,#b7cdc4 78%,#b7cdc4 calc(78% + 1px),#fff calc(78% + 1px));touch-action:none;cursor:crosshair}.signature-tools{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin:9px 0 20px}.method-options{display:flex;gap:10px;margin:8px 0 24px;flex-wrap:wrap}.method-options label{padding:12px 18px;border:1px solid var(--line);border-radius:8px}.signature-intro{background:#eef6f2;border-radius:8px;padding:13px 16px;font-size:12px;margin-bottom:20px}.signature-amount{font-size:26px;color:var(--teal);margin:4px 0 19px}.modal-error{display:none}.modal-error:not(:empty){display:block}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:90vw;background:#173b35;color:#fff;padding:13px 21px;border-radius:8px;z-index:100;opacity:0;pointer-events:none;transition:.2s;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}
/* Invoice print view */
.invoice-page{background:#edf1ef;padding:25px}.print-toolbar{max-width:850px;margin:0 auto 20px;display:flex;gap:15px;align-items:center;font-size:12px;color:var(--muted)}.invoice-paper{max-width:850px;margin:auto;background:#fff;padding:45px;border-top:6px solid var(--invoice-color,#087f79);box-shadow:0 3px 20px #18352b08;font-size:12px}.invoice-head{display:flex;justify-content:space-between;gap:30px}.invoice-head h2{font-size:22px;margin:10px 0}.invoice-head p,.invoice-parties p{font-size:11px;line-height:1.7;color:#697a81;white-space:normal;overflow-wrap:anywhere}.invoice-logo{max-width:180px;max-height:70px;object-fit:contain}.invoice-meta{text-align:right;min-width:200px}.invoice-meta .eyebrow{color:var(--invoice-color)}.invoice-meta h1{font-size:24px;margin:12px 0}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:28px 0;margin:22px 0;border-block:1px solid var(--line)}.invoice-parties h3{font-size:14px;margin:9px 0}.invoice-lines th{padding:11px 10px;font-size:9px;background:#f1f5f3}.invoice-lines td{padding:15px 10px;font-size:11px}.invoice-lines th:not(:first-child),.invoice-lines td:not(:first-child){text-align:right}.invoice-lines td:first-child{width:49%;overflow-wrap:anywhere}.invoice-lines td small{display:inline;font-size:9px;margin:0}.invoice-summary{max-width:300px;margin:25px 0 28px auto}.invoice-summary p{display:flex;justify-content:space-between;padding:7px 0;gap:20px}.invoice-summary .grand{font-size:19px;border-top:1px solid var(--line);margin-top:7px;padding-top:15px;color:var(--invoice-color)}.invoice-signatures{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid var(--line);padding-top:25px}.signature-image{max-width:100%;width:230px;height:80px;object-fit:contain;object-position:left}.invoice-signatures p{font-size:10px;color:#61727a}.invoice-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;font-size:10px;color:#6f7f85}.invoice-footer strong{display:block;margin-top:16px;color:var(--ink)}
/* Login */
.login-page{background:#fff}.login-wrap{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:#e7f1ed;padding:48px 60px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story .brand{width:210px}.login-story h1{font-size:49px;line-height:1.13;margin:20px 0 25px;font-weight:620;letter-spacing:-.05em}.login-story p{color:#668276;font-size:15px}.login-story .eyebrow{color:var(--teal)}.login-credit{font-size:11px;color:#718b80}.login-panel{display:grid;place-items:center;padding:40px}.login-card{max-width:410px;width:100%;padding:15px}.login-card h2{font-size:31px;margin:12px 0}.login-card>p{margin-bottom:30px}.login-card .check{font-size:12px;margin:5px 0 25px}.login-links{display:flex;justify-content:space-between;font-size:12px;margin-top:23px;color:var(--teal)}
/* Public website */
.public-page{background:#f8f8f3}.site-container{width:min(1200px,calc(100% - 80px));margin:auto}.site-header{background:#fffdf8eF;border-bottom:1px solid #e3e6de;position:sticky;top:0;z-index:20;backdrop-filter:blur(18px)}.nav-row{display:flex;justify-content:space-between;align-items:center;min-height:102px;gap:25px}.site-header .brand{width:182px}.site-header nav{display:flex;align-items:center;gap:35px;font-size:12px;font-weight:600}.staff-link{border:1px solid #c9d4ca;border-radius:6px;padding:12px 17px}.staff-link span{margin-left:16px}.site-hero{padding:70px 0 65px}.hero-grid{display:grid;grid-template-columns:1.02fr 1fr;gap:54px;align-items:center}.hero-copy .eyebrow{color:var(--teal);display:flex;align-items:center;gap:8px;font-size:10px}.hero-copy .eyebrow i{width:6px;height:6px;background:var(--teal);border-radius:50%}.hero-copy h1{font-size:clamp(48px,5.2vw,73px);line-height:1.03;letter-spacing:-.062em;font-weight:630;margin:25px 0}.hero-copy h1 em{color:var(--teal);font-style:normal}.hero-copy>p{font-size:15px;max-width:450px;color:#63766e;line-height:1.8}.hero-buttons{display:flex;align-items:center;gap:23px;margin:30px 0}.hero-buttons .btn{padding:15px 21px;font-size:12px;border-radius:6px}.hero-buttons .text-link{font-size:11px}.hero-foot{display:flex;gap:24px;padding-top:25px;border-top:1px solid #dce4db;font-size:10px;letter-spacing:.02em;color:#677e71;max-width:430px}.hero-foot span:before{content:'✓';font-weight:bold;margin-right:7px;color:var(--teal)}.hero-visual{position:relative;height:520px}.hero-visual>img{height:100%;width:100%;object-fit:cover;border-radius:100px 12px 12px 12px;object-position:58% center}.hero-caption{position:absolute;bottom:22px;left:22px;right:22px;display:flex;align-items:center;gap:13px;padding:18px;background:#fffffff0;border-radius:7px;backdrop-filter:blur(8px)}.hero-caption strong{display:block;font-size:12px;margin-bottom:5px}.hero-caption span:not(.check-seal){font-size:10px;color:#698071}.check-seal{display:grid;place-items:center;background:#e6f2eb;color:var(--teal);border-radius:50%;width:37px;height:37px;font-size:22px}.service-ribbon{background:var(--ink);color:#cadbd9;padding:25px 0;font-size:10px;letter-spacing:.14em}.service-ribbon>div{display:flex;justify-content:space-between;align-items:center;gap:20px}.service-ribbon b{color:#5d938b}.site-section{padding-block:86px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:39px}.section-heading .eyebrow,.contact-grid .eyebrow{color:var(--teal);font-size:9px}.section-heading h2,.contact-grid h2{font-size:42px;line-height:1.13;letter-spacing:-.045em;margin-top:17px;font-weight:620}.section-heading>p{font-size:13px;color:#748176;max-width:350px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}.service-card{background:#fff;border:1px solid #e0e6dc;padding:26px 23px;border-radius:9px;display:flex;flex-direction:column}.service-number{font-size:11px;font-weight:600;color:var(--teal);background:#e8f2ec;border-radius:5px;padding:7px 8px;align-self:start;margin-bottom:29px}.service-card h3{font-size:18px;line-height:1.3;margin-bottom:17px}.service-card p{font-size:12px;color:#758378;line-height:1.75;margin-bottom:25px}.service-card a{margin-top:auto;border-top:1px solid #e1e8de;padding-top:18px;font-size:10px;font-weight:650;display:flex;justify-content:space-between;color:var(--teal)}.approach-section{background:#193b3d;color:#f7fcf5;padding:80px 0}.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.approach-section .eyebrow{color:#94c8b9;font-size:9px}.approach-section h2{font-size:48px;line-height:1.12;font-weight:600;margin:23px 0;letter-spacing:-.05em}.approach-section h2 em{color:#9ed3c3;font-style:normal}.approach-section p{color:#b5cbc5;font-size:13px;line-height:1.8;margin-bottom:17px;max-width:430px}.approach-section .btn{margin-top:13px;font-size:11px;border-radius:5px;padding:14px 18px}.approach-steps article{display:flex;gap:22px;padding:25px 0;border-bottom:1px solid #416160}.approach-steps article>span{color:#9fcbbf;font-size:10px;margin-top:5px}.approach-steps h3{font-size:20px;margin-bottom:12px}.approach-steps p{margin:0;font-size:12px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start}.contact-grid>div>p{color:#6a7f74;font-size:13px;margin-top:23px;max-width:360px}.contact-detail{font-size:26px;font-weight:650;letter-spacing:-.03em;display:block;margin:30px 0 13px}.contact-email{font-size:13px;color:var(--teal)}.contact-grid .contact-note{font-size:10px;line-height:1.9;margin-top:33px}.contact-form{padding:30px;background:white;border:1px solid #dfe7dc;border-radius:10px}.contact-form h3{font-size:19px;margin-bottom:24px}.contact-form label{font-size:10px}.contact-form input,.contact-form textarea,.contact-form select{font-size:12px;border-radius:5px}.contact-form .form-note{font-size:10px;color:#6d8075;margin-bottom:16px}.contact-form .two-col{gap:13px}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.site-footer{background:#ecf0e8;border-top:1px solid #dbe4d7;padding:28px 0}.site-footer>div{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.site-footer .brand{width:140px}.site-footer p{font-size:12px;color:#628070}.site-footer span{margin-left:auto;font-size:10px;color:#748374}.site-footer a:not(.brand),.site-footer small{font-size:10px;color:#5e7568}
@media(min-width:1550px){.page-body{padding-top:45px}.line-editor{grid-template-columns:125px minmax(180px,2fr) 80px 100px 90px 34px}}
@media(max-width:1200px){.app-shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding-inline:13px}.topbar{padding:0 25px}.page-body{padding:28px 25px}.stats-grid{gap:12px}.stat{padding:18px}.stat strong{font-size:25px}.form-layout{grid-template-columns:1fr}.summary-panel{position:static}.line-editor{grid-template-columns:110px minmax(120px,2fr) 70px 85px 80px 32px}.company-grid{grid-template-columns:repeat(2,1fr)}.hero-grid{gap:32px}.hero-visual{height:460px}.hero-buttons{gap:12px}.hero-buttons .text-link{font-size:10px}.service-grid{gap:12px}.service-card{padding:22px 18px}.approach-grid{gap:60px}}
@media(max-width:900px){.sidebar{width:185px}.app-shell{grid-template-columns:185px 1fr}.page-body{padding:25px 20px}.topbar{padding:0 20px}.dashboard-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.line-editor{grid-template-columns:1fr 1fr 1fr}.line-editor .line-description{grid-column:span 2}.line-editor .remove-line{width:34px}.company-grid{grid-template-columns:1fr 1fr}.panel-body{padding:19px}.site-container{width:calc(100% - 44px)}.nav-row{min-height:87px}.site-header nav{gap:18px;font-size:11px}.site-header .brand{width:150px}.hero-grid{grid-template-columns:1fr 1fr;gap:25px}.hero-visual{height:435px}.hero-copy h1{font-size:52px}.hero-copy>p{font-size:13px}.hero-buttons{align-items:start;flex-direction:column}.hero-foot{gap:12px;font-size:9px}.hero-caption{padding:12px;left:13px;right:13px;bottom:15px}.hero-caption strong{font-size:10px}.hero-caption span:not(.check-seal){font-size:9px}.service-grid{grid-template-columns:1fr 1fr}.section-heading h2,.contact-grid h2{font-size:35px}.approach-grid{gap:35px}.approach-section h2{font-size:41px}.contact-grid{gap:35px}.login-story{padding:35px}.login-story h1{font-size:38px}.login-panel{padding:25px}.invoice-paper{padding:28px}.invoice-meta{min-width:160px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:14px 18px;gap:12px}.topbar .crumb{display:none}.mobile-nav{display:block;max-width:170px;min-height:38px;padding:8px;font-size:12px}.page-body{padding:23px 15px}.page-heading{align-items:start;margin-bottom:20px;gap:10px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:9px}.heading-actions .btn{padding:10px 12px;font-size:11px}.stat{padding:16px}.stat strong{font-size:24px}.stat .stat-label{font-size:10px}.stat small{font-size:9px}.stats-grid{gap:10px}.panel-head{padding:18px}.panel-body{padding:16px}.onboarding{flex-wrap:wrap;gap:15px;padding:18px}.onboarding .btn{margin-left:0}.two-col,.three-col{grid-template-columns:1fr;gap:0}.company-grid{grid-template-columns:1fr}.line-editor{grid-template-columns:1fr 1fr;gap:12px}.line-editor .line-description{grid-column:1/-1;grid-row:2}.line-editor .line-exempt{align-self:center}.line-editor .remove-line{justify-self:end}.filter-row{gap:10px}.search{width:100%}.tabs{width:100%}.tab{font-size:10px;padding:8px}.form-actions{flex-wrap:wrap}.dialog-head{padding:17px}.dialog-body{padding:17px}.dialog-head h2{font-size:18px}.workflow-checks{gap:14px}.workflow-checks .check{font-size:11px}.invoice-frame{height:55vh}.invoice-controls{gap:12px}.invoice-controls .btn{font-size:11px;min-height:42px}.signature-pad{aspect-ratio:2.3}.invoice-page{padding:9px}.invoice-paper{padding:20px 15px}.invoice-head{gap:12px}.invoice-head h2{font-size:17px}.invoice-meta{min-width:120px}.invoice-meta h1{font-size:18px}.invoice-head p,.invoice-parties p{font-size:9px}.invoice-parties{gap:14px}.invoice-lines th,.invoice-lines td{padding:10px 4px;font-size:8px}.invoice-lines td small{font-size:8px}.invoice-summary{max-width:240px}.print-toolbar{font-size:9px;gap:10px;flex-wrap:wrap}.invoice-signatures{gap:20px}.invoice-signatures .eyebrow{font-size:8px}.login-wrap{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px}.login-story .brand{width:160px}.login-story>div{display:none}.login-credit{display:none}.login-panel{padding:35px 20px}.login-card{padding:10px}.site-container{width:calc(100% - 36px)}.nav-row{min-height:80px;gap:15px}.site-header .brand{width:137px}.site-header nav>a:not(.staff-link){display:none}.staff-link{font-size:10px;padding:10px 12px}.staff-link span{margin-left:8px}.site-hero{padding:40px 0 35px}.hero-grid{grid-template-columns:1fr;gap:32px}.hero-copy h1{font-size:61px;margin:22px 0}.hero-copy>p{font-size:14px}.hero-buttons{flex-direction:row;align-items:center;gap:15px;flex-wrap:wrap}.hero-visual{height:350px}.hero-visual>img{border-top-left-radius:70px;object-position:center}.hero-foot{font-size:10px}.hero-caption{padding:16px}.hero-caption strong{font-size:12px}.hero-caption span:not(.check-seal){font-size:10px}.service-ribbon{padding:21px 0;font-size:8px;letter-spacing:.1em}.service-ribbon>div{gap:10px;flex-wrap:wrap;justify-content:center}.service-ribbon b{display:none}.site-section{padding-block:54px}.section-heading{display:block;margin-bottom:27px}.section-heading h2{font-size:36px}.section-heading>p{margin-top:22px;font-size:13px;max-width:none}.service-grid{gap:13px}.service-card{padding:23px 17px}.service-card h3{font-size:17px}.service-card p{font-size:11px}.service-card a{font-size:9px;gap:8px}.approach-section{padding:55px 0}.approach-grid{grid-template-columns:1fr;gap:20px}.approach-section h2{font-size:43px}.approach-steps article{padding:21px 0}.contact-grid{grid-template-columns:1fr;gap:35px}.contact-grid h2{font-size:39px}.contact-grid .contact-note{margin-top:20px}.contact-form{padding:24px}.contact-form .two-col{grid-template-columns:1fr 1fr;gap:12px}.site-footer>div{gap:18px}.site-footer span{margin-left:0;width:100%}.site-footer p{font-size:10px}.site-footer .brand{width:120px}}
@media print{body.invoice-page{background:white;padding:0}.print-toolbar{display:none}.invoice-paper{box-shadow:none;max-width:none;padding:10mm 6mm;font-size:10pt}.invoice-head,.invoice-parties,.invoice-summary,.invoice-signatures,.invoice-footer,tr{break-inside:avoid}.invoice-lines thead{display:table-header-group}.invoice-lines th,.invoice-lines td{font-size:9pt;padding:10px 7px}a{text-decoration:none;color:inherit}@page{size:letter;margin:10mm}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
dialog.manual-progress-dialog{width:420px;background:#123d35;color:#fff;border:1px solid #ffffff24;border-radius:20px;text-align:center;overflow:auto}
dialog.manual-progress-dialog::backdrop{background:#082b24c9;backdrop-filter:blur(6px)}
.manual-progress-content{padding:38px 28px}.manual-wrench{display:block;width:76px;height:76px;margin:0 auto 25px;color:#99e2c5}
.manual-wrench svg{width:100%;height:100%;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;animation:fir-wrench-turn 2.4s linear infinite}
.manual-progress-content .eyebrow{display:block;color:#99e2c5;font-size:10px;letter-spacing:.18em}
.manual-progress-content h2{font-size:24px;margin:12px 0}.manual-progress-filename{font-size:12px;color:#c4dcd4;overflow-wrap:anywhere;margin-bottom:24px}
.manual-progress-content progress{display:block;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;accent-color:#99e2c5;background:#ffffff26}
.manual-progress-content progress::-webkit-progress-bar{background:#ffffff26;border-radius:10px}.manual-progress-content progress::-webkit-progress-value{background:#99e2c5;border-radius:10px}.manual-progress-content progress::-moz-progress-bar{background:#99e2c5}
.manual-progress-content progress:indeterminate{opacity:.65}.manual-progress-detail{font-size:13px;color:#99e2c5;margin:12px 0 20px;font-variant-numeric:tabular-nums}
#manual-progress-note{font-size:12px;line-height:1.6;color:#c4dcd4}.manual-progress-content .btn{margin-top:22px;background:transparent;border-color:#ffffff55;color:#fff}
@keyframes fir-wrench-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.manual-wrench svg{animation:none}}
@media(max-width:1100px){.billing-table,.billing-table tbody{display:block}.billing-table thead{display:none}.billing-table tbody{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.billing-table tr{display:block;border:1px solid var(--line);border-radius:9px;overflow:hidden}.billing-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;white-space:normal;font-size:11px}.billing-table td:first-child{display:block;background:#f6f9f7;padding:16px 14px}.billing-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;text-align:left}.billing-table td:first-child:before{display:none}.billing-table td[data-label=Payment]{flex-wrap:wrap}.billing-table td[data-label=Payment] small{margin:0}.billing-table td[data-label=Company]{text-align:right}.billing-table td .check{margin:0}.billing-table td:last-child{border-bottom:0}}
@media(max-width:700px){.billing-table tbody{grid-template-columns:1fr;padding:12px;gap:12px}}
@media(max-width:650px){.hero-copy h1{font-size:clamp(44px,13.3vw,56px)}.heading-actions .btn{white-space:nowrap}}

/* Branded errors and request confirmation */
.error-page{min-height:100vh;display:grid;place-items:center;background:#f3f6f3}.error-card{max-width:720px;margin:24px;padding:50px;background:#fff;border-radius:16px;border-top:5px solid var(--teal,#087f79);box-shadow:0 15px 70px #17303b0a}.error-card .brand{display:block;margin-bottom:40px}.error-card .eyebrow{display:block;margin:20px 0}.error-card h1{font-size:clamp(30px,5vw,46px);line-height:1.15}.error-card p{margin:20px 0;color:#64747a}.error-card small{display:block;margin-top:35px;color:#64747a}#service-feedback{max-width:520px}#service-feedback-message{line-height:1.7}.user-access-note{padding:20px;border-radius:12px;background:#edf6f2;color:#315b54;margin-bottom:24px}@media(max-width:600px){.error-card{padding:30px}.error-card .hero-buttons{flex-wrap:wrap}}

/* Work order fields size to their panel, including narrow landscape tablet columns. */
#work-form,#work-form fieldset,.form-layout>*{min-width:0;max-width:100%}
#work-form .two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
#work-form label,#work-form input,#work-form select,#work-form textarea{min-width:0;max-width:100%}
#work-form input[type=date]{min-inline-size:0;inline-size:100%;-webkit-appearance:none;appearance:none}
#work-form input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
.job-section{container-type:inline-size;container-name:work-lines;min-width:0}
.line-editor{min-width:0;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr)) 44px;grid-template-areas:"date description description remove" "quantity price exempt exempt" "total total total total";gap:12px;padding:16px;align-items:end}
.line-editor>label{min-width:0;font-size:11px}
.line-editor input:not([type=checkbox]){width:100%;min-width:0;max-width:100%;min-height:44px;font-size:14px}
.line-editor .line-date{grid-area:date}
.line-editor .line-description{grid-area:description}
.line-editor .line-quantity{grid-area:quantity}
.line-editor .line-price{grid-area:price}
.line-editor .line-exempt{grid-area:exempt;min-height:44px;margin:0;gap:9px;font-size:12px;align-self:end;white-space:normal}
.line-editor .line-exempt input{width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0}
.line-editor .remove-line{grid-area:remove;width:44px;height:44px;justify-self:end;align-self:end;font-size:22px}
.line-editor .line-sum{grid-area:total;margin:0;text-align:right;font-size:12px;overflow-wrap:anywhere}
@container work-lines (min-width:860px){.line-editor{grid-template-columns:140px minmax(0,1fr) 90px 110px 110px 44px;grid-template-areas:"date description quantity price exempt remove" "total total total total total total"}}
@container work-lines (max-width:520px){.line-editor{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"date date" "description description" "quantity price" "exempt remove" "total total"}}
@media(max-width:650px){#work-form .two-col{grid-template-columns:minmax(0,1fr)}.line-editor{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"date date" "description description" "quantity price" "exempt remove" "total total"}.page-heading:has(#toggle-closed-jobs){flex-wrap:wrap}.page-heading:has(#toggle-closed-jobs) .heading-actions{width:100%}}

.request-summary{max-width:420px;margin-bottom:18px}.request-views{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.request-views .btn{min-height:44px}

.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Black compositing plate blends into the sidebar; no surrounding logo box. */
.sidebar{isolation:isolate}.sidebar-logo img{mix-blend-mode:screen}
/* Compact invoice: signatures and totals share the closing section. */
.invoice-close{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:26px;margin-top:20px;break-inside:avoid}
.invoice-close .invoice-summary{width:100%;max-width:none;margin:0}
.invoice-close .invoice-signatures{grid-template-columns:1fr;padding-top:10px;gap:12px;align-content:start}
.invoice-close .signature-image{display:block;width:200px;height:auto;max-height:60px;object-fit:contain;object-position:left}
.invoice-close .invoice-summary p{padding:5px 0}
.invoice-close .invoice-summary .grand{padding-top:10px;font-size:18px}
.invoice-footer{margin-top:18px;padding-top:12px}.invoice-footer strong{margin-top:7px}
@media screen and (max-width:650px){.invoice-close{grid-template-columns:minmax(0,1fr) 145px;gap:12px}.invoice-close .invoice-summary p{font-size:10px;gap:8px}.invoice-close .invoice-summary .grand{font-size:15px}.invoice-close .signature-image{max-width:100%}}
/* Offscreen rendering uses fixed geometry independent of device orientation. */
.invoice-export-stage{position:absolute;left:-10000px;top:0;width:740px;pointer-events:none}
.invoice-export-stage .invoice-paper{width:740px;max-width:none;margin:0;padding:18px 0 0;box-shadow:none;background:#fff;font:12px Arial,sans-serif;color:#172d38;border-top:5px solid var(--invoice-color);overflow-wrap:anywhere}
.invoice-export-stage .invoice-head{display:flex;justify-content:space-between;gap:28px}
.invoice-export-stage .invoice-head>div:first-child{width:450px;min-width:0}
.invoice-export-stage .invoice-head h2{font-size:21px;margin:8px 0}
.invoice-export-stage .invoice-head p,.invoice-export-stage .invoice-parties p{font-size:11px;line-height:1.45;color:#52646d}
.invoice-export-stage .invoice-meta{width:230px;min-width:0;text-align:right}
.invoice-export-stage .invoice-meta h1{font-size:24px;margin:9px 0}
.invoice-export-stage .eyebrow{font-size:9px;line-height:1.4;letter-spacing:1px}
.invoice-export-stage .invoice-logo{display:block;width:auto;height:auto;max-width:160px;max-height:55px}
.invoice-export-stage .invoice-parties{display:flex;gap:30px;margin:14px 0;padding:12px 0;border-top:1px solid #dfe6e6;border-bottom:1px solid #dfe6e6}
.invoice-export-stage .invoice-parties>div{width:355px;min-width:0}
.invoice-export-stage .invoice-parties h3{font-size:13px;margin:5px 0}
.invoice-export-stage .invoice-lines{table-layout:fixed}
.invoice-export-stage .invoice-lines th{font-size:9px;padding:7px 6px;white-space:normal}
.invoice-export-stage .invoice-lines td{font-size:11px;line-height:1.35;padding:7px 6px;vertical-align:top}
.invoice-export-stage .invoice-lines th:first-child{width:49%}
.invoice-export-stage .invoice-lines td small{font-size:8px;line-height:1.3}
.invoice-export-stage .invoice-close{display:flex;gap:26px;margin-top:15px}
.invoice-export-stage .invoice-signatures{display:block;width:464px;padding-top:10px;border-top:1px solid #dfe6e6}
.invoice-export-stage .invoice-signatures section+section{margin-top:10px}
.invoice-export-stage .invoice-signatures p{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.invoice-export-stage .signature-image{width:200px;height:auto;max-height:none;max-width:100%}
.invoice-export-stage .invoice-summary{width:250px;flex-shrink:0;margin:0}
.invoice-export-stage .invoice-summary p{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:12px}
.invoice-export-stage .invoice-summary .grand{font-size:18px;margin-top:6px;padding-top:9px}
.invoice-export-stage .invoice-footer{font-size:10px;line-height:1.4;margin-top:16px;padding-top:10px}
.invoice-export-stage .invoice-footer strong{margin-top:5px}
@media print{
 @page{size:letter;margin:0}
 html,body.invoice-page{background:white;margin:0;padding:0}
 .invoice-export-stage{display:none}
 .invoice-paper{width:100%;padding:10mm;box-shadow:none;border-top:0}
 .invoice-head h2{font-size:20px}.invoice-head p,.invoice-parties p{font-size:10px;line-height:1.4}
 .invoice-parties{padding:12px 0;margin:14px 0}.invoice-parties h3{margin:5px 0}
 .invoice-lines td{font-size:8pt;padding:7px 6px}.invoice-lines th{font-size:7pt;padding:7px 6px}
 .invoice-close{grid-template-columns:minmax(0,1fr) 250px;gap:20px;margin-top:15px}
 .invoice-close .invoice-signatures{padding-top:10px}
 .invoice-footer{margin-top:15px;padding-top:10px}
}
.print-toolbar [hidden]{display:none}
.invoice-export-stage .invoice-identity{display:flex;gap:16px;align-items:flex-start}
.invoice-export-stage .invoice-logo{max-width:112px;max-height:48px;margin-top:6px;flex-shrink:0}
.invoice-export-stage .invoice-company{flex:1;min-width:0}
.invoice-export-stage .invoice-head h2{margin:0 0 6px;font-size:19px}
.invoice-export-stage .invoice-head p{font-size:10px;line-height:1.4}
.invoice-export-stage .invoice-lines td{padding:5px 6px}
.invoice-export-stage .invoice-signatures{display:flex;gap:18px;align-items:flex-start}
.invoice-export-stage .invoice-signatures section{flex:1;min-width:0}
.invoice-export-stage .invoice-signatures section+section{margin:0}
.invoice-export-stage .invoice-signatures p{font-size:9px}
.invoice-export-stage .invoice-signatures .eyebrow{font-size:8px;letter-spacing:.8px}
.invoice-export-stage .signature-image{width:180px}
.cash-notice{background:#eef7f2;border:1px solid #c5dfd2;border-radius:8px;padding:12px 16px;margin-bottom:14px;font-size:12px}.cash-notice small{display:inline-block;margin-left:10px}.cash-notice p{margin-top:6px;color:#527064}.cash-detail{margin-top:7px}.billing-table .badge{white-space:normal}.invoice-cash p{margin-top:10px}.invoice-cash strong{font-size:14px;color:var(--invoice-color)}
.equipment-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.equipment-card{min-width:0;background:#f6f9f7;border:1px solid var(--line);border-radius:9px;padding:17px}.equipment-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.equipment-card label{margin-bottom:12px}.equipment-card h3{margin:8px 0}.equipment-card p,.equipment-list p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.equipment-actions,.photo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.equipment-help{font-size:11px;margin-top:16px}.equipment-list{margin-top:13px;display:grid;gap:12px}.equipment-list article{border-bottom:1px solid var(--line);padding-bottom:10px}.work-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}.work-photo{min-width:0;border:1px solid var(--line);border-radius:8px;padding:12px}.work-photo label{margin:12px 0}.work-photo p{font-size:12px;overflow-wrap:anywhere}.photo-preview{border:0;background:#edf2ef;padding:0;width:100%;height:160px;border-radius:5px;overflow:hidden}.photo-preview img{height:100%;width:100%;object-fit:cover}.photo-file-input{position:absolute;width:1px!important;height:1px;min-height:0;opacity:0;padding:0!important}.photo-actions label{cursor:pointer;margin:0}.photo-full{display:block;max-width:100%;height:auto;margin:auto}.equipment-actions[hidden],.photo-actions[hidden],#verify-equipment[hidden]{display:none}#photo-status{font-size:12px;margin-top:12px}
/* Manuals collection and equipment links. */
.manual-intro{display:flex;gap:18px;align-items:center;padding:22px 25px;border:1px solid #cfe3dd;background:#edf6f2;border-radius:14px;margin-bottom:24px}.manual-intro-icon{color:#087f79;flex:0 0 38px}.manual-intro svg{width:36px;height:36px;stroke-width:1.5}.manual-intro p{font-size:12px;line-height:1.7;margin:6px 0 0;max-width:780px;color:#617772}.manual-filters{gap:12px;flex-wrap:wrap}.manual-filters .search{flex:1 1 280px;max-width:none;min-width:0}.manual-filters select{max-width:230px;min-width:0}.manual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;padding:24px}.manual-card{min-width:0;padding:23px;border:1px solid #dfe8e5;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:flex-start}.manual-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:20px}.manual-card-top .badge{white-space:normal;overflow-wrap:anywhere}.manual-file-icon{width:40px;height:44px;display:grid;place-items:center;border-radius:9px;background:#eff6f3;color:#087f79}.manual-file-icon svg{width:25px;height:25px;stroke-width:1.5}.manual-card h3{font-size:19px;overflow-wrap:anywhere}.manual-model{font-size:13px;font-weight:600;margin:7px 0 18px;overflow-wrap:anywhere}.manual-filename{font-size:12px;color:#647974;overflow-wrap:anywhere;margin-bottom:6px}.manual-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:auto;padding-top:22px;width:100%}.manual-card-actions .link-button{font-size:11px;margin-left:auto}.manual-upload{border:1px dashed #b9cfca;background:#f5f9f7;border-radius:10px;padding:18px;margin:8px 0 18px;min-width:0}.manual-upload input{max-width:100%;box-sizing:border-box;padding:9px;font-size:12px;min-width:0}.manual-upload p{font-size:12px;overflow-wrap:anywhere;line-height:1.6}.manual-upload small,.manual-help{font-size:11px;line-height:1.6;color:#6d7e79}.equipment-manuals{border-top:1px solid #dce6e1;padding-top:14px;margin-top:16px}.equipment-manuals p{font-size:11px;line-height:1.5;margin:6px 0}.manual-equipment-link{display:flex;align-items:center;gap:8px;color:#087f79;text-decoration:none;font-size:12px;font-weight:650;line-height:1.5;margin-top:12px;overflow-wrap:anywhere}.manual-equipment-link>span:nth-child(2){flex:1;min-width:0}.manual-equipment-link svg{width:20px;height:22px;flex:0 0 20px;stroke-width:1.5}.manual-equipment-link small{display:block;font-size:10px;font-weight:400;color:#6c7c77}.manual-equipment-link:hover{text-decoration:underline}.equipment-card select{width:100%;min-width:0}.manual-card h3,.manual-model{max-width:100%}
@media(max-width:600px){.manual-intro{padding:18px;align-items:flex-start}.manual-intro-icon{flex-basis:28px}.manual-intro svg{width:28px;height:28px}.manual-grid{padding:16px}.manual-filters select{max-width:none;flex:1 1 170px}.manual-filters .btn{flex:1}.manual-card{padding:20px}}
