:root{--ink:#181b22;--muted:#626974;--line:#e8eaee;--soft:#f6f7f9;--blue:#315bea;--blue-soft:#eef2ff;--good:#176448;--good-soft:#edf7f1;--warn:#805518;--warn-soft:#fff5e3;--red:#ad3333}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none;min-height:44px}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #315bea;outline-offset:3px}a{color:inherit}.skip{position:fixed;top:-100px;left:16px;z-index:50;background:white;padding:14px}.skip:focus{top:10px}.reviewbar{height:34px;background:#f5f6f8;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 25px;color:#5d6471;font-size:10px}.reviewbar b{font-size:9px;letter-spacing:1.2px}.reviewbar button{min-height:30px;font-size:10px;text-decoration:underline;text-underline-offset:3px}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.rail{width:218px;position:fixed;left:0;top:34px;bottom:0;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 16px 18px;background:#fff}.brand{font-size:24px;font-weight:750;letter-spacing:-1px;display:flex;gap:10px;align-items:center;text-decoration:none;padding:0 12px}.logomark{width:28px;height:28px;background:var(--ink);color:white;display:grid;place-items:center;border-radius:7px;position:relative;font-size:18px;font-weight:600}.workspace-switch{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid var(--line);border-radius:7px;margin:30px 5px 25px;padding:9px;min-width:0}.initials{width:30px;height:30px;background:#f0f1f4;display:inline-grid;place-items:center;border:1px solid #e3e5ea;border-radius:7px;font-size:10px;font-weight:700;flex-shrink:0}.workspace-switch strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.workspace-switch small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.nav-label{font-size:9px;letter-spacing:1.2px;color:#8b9099;padding:0 14px;margin-bottom:9px}.rail nav{display:grid;gap:4px}.navbutton{display:flex;align-items:center;gap:11px;border-radius:6px;padding:0 13px;font-size:12px;text-align:left;width:100%;min-height:42px;color:#676c76}.navbutton.active{background:var(--blue-soft);color:var(--blue);font-weight:650}.navbutton .count{margin-left:auto;font-size:10px;color:var(--blue)}.rail-bottom{margin-top:auto}.rail-bottom .avatarline{display:flex;gap:10px;align-items:center;margin-top:22px;border-top:1px solid var(--line);padding:20px 10px 0;font-size:11px}.avatarline small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.page{margin-left:218px}.topbar{height:69px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;justify-content:space-between;align-items:center}.breadcrumbs{font-size:11px;color:#737a85}.breadcrumbs span{color:var(--ink);margin-left:10px}.global-actions{display:flex;gap:15px;align-items:center}.global-actions button{color:var(--muted);font-size:11px}.global-actions .icon{width:17px}.online{display:inline-block;width:5px;height:5px;border-radius:50%;background:#218360;margin-right:6px}.avatar{width:29px;height:29px;background:#e8ecf6;color:#3c4e76;font-size:10px;border-radius:50%;display:grid;place-items:center;font-weight:650}main{max-width:1450px;margin:0 auto;padding:36px 43px 60px}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.25;margin:5px 0 9px;font-weight:650}h2{font-size:16px;letter-spacing:-.3px;font-weight:650;margin:0}h3{font-size:14px;font-weight:650;letter-spacing:-.2px;margin:0}p{line-height:1.65}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:550;color:var(--muted);letter-spacing:.5px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.heading p{font-size:12px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;min-height:40px;border-radius:6px;font-size:11px;font-weight:600;white-space:nowrap;border:1px solid #dce0e6;background:#fff}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 2px 2px #133bc810}.button .icon{width:15px;height:15px}.button.plain{border-color:transparent;color:var(--muted);background:none}.button.danger{color:var(--red)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:35px}.metric{padding:0 25px;border-right:1px solid var(--line)}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric label{font-size:11px;color:var(--muted);display:block}.metric b{font-size:27px;letter-spacing:-.7px;font-weight:600;display:block;margin:11px 0 6px}.metric small{font-size:10px;color:#828894}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:35px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:16px}.section-head .tagline{font-size:10px;color:var(--muted)}.segmented{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--soft)}.segmented button{font-size:10px;min-height:28px;border-radius:4px;padding:0 12px;color:var(--muted)}.segmented .selected{background:white;color:var(--ink);box-shadow:0 1px 3px #0000000a}.day-date{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 14px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.appointment{display:grid;grid-template-columns:67px 1fr auto;gap:10px;align-items:start;padding:22px 14px;border-bottom:1px solid var(--line);text-align:left;width:100%;min-height:111px}.appointment time{font-size:11px;font-weight:650;padding-top:3px}.appointment time small{display:block;font-weight:400;color:var(--muted);margin-top:7px;font-size:10px}.appointment h3{font-size:12px}.appointment p{margin:6px 0 11px;font-size:10px;color:var(--muted)}.appointment .icon{width:14px;color:#969ca7}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:4px;background:var(--soft);color:#626977;font-size:9px;font-weight:550;white-space:nowrap}.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.status.blue{color:var(--blue);background:var(--blue-soft)}.status.green{color:var(--good);background:var(--good-soft)}.status.amber{color:var(--warn);background:var(--warn-soft)}.attention{border:1px solid var(--line);border-radius:8px;overflow:hidden}.attention-head{padding:17px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.attention-head small{font-size:10px;color:var(--muted)}.attention-item{padding:20px 18px;border-bottom:1px solid var(--line);display:flex;gap:12px}.attention-item:last-child{border-bottom:0}.attention-symbol{width:30px;height:30px;border:1px solid #e2e7f7;border-radius:6px;background:#f8f9fd;display:grid;place-items:center;color:var(--blue);flex-shrink:0}.attention-symbol .icon{width:15px}.attention-item h3{font-size:12px;margin:1px 0 6px}.attention-item p{font-size:11px;color:var(--muted);margin:0 0 10px}.linkbutton{font-size:11px;font-weight:600;color:var(--blue);min-height:32px;padding:0;display:inline-flex;align-items:center;gap:6px}.linkbutton .icon{width:13px}.quiet-tip{border-top:1px solid var(--line);margin-top:30px;padding:18px 0;display:flex;gap:11px;align-items:center;color:var(--muted);font-size:10px}.quiet-tip .icon{width:15px}.activity-section{margin-top:35px}.activityrow{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px}.activityrow small{color:var(--muted);font-size:10px;white-space:nowrap}.activityrow .activitytext{display:flex;align-items:center;gap:10px}.activityrow .icon{width:14px;color:#747c8a}.table{width:100%;border-collapse:collapse}.table th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);font-weight:550;text-align:left;padding:13px 16px;background:var(--soft);border-block:1px solid var(--line)}.table td{padding:20px 16px;font-size:12px;border-bottom:1px solid var(--line)}.table td small{display:block;margin-top:7px;font-size:10px;color:var(--muted)}.table .right{text-align:right}.table button{font-weight:600;text-align:left;padding:0}.toolbar{display:flex;align-items:center;gap:15px;margin-bottom:20px}.searchfield{position:relative;max-width:340px;flex:1}.searchfield .icon{position:absolute;left:11px;top:11px;width:16px;color:#8b919b}.searchfield input{padding-left:35px}.filter{font-size:11px;min-height:38px}.job-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:32px}.tabbar{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:25px}.tabbar button{font-size:11px;color:var(--muted);border-bottom:2px solid transparent;border-radius:0;min-height:43px;padding:0 2px}.tabbar button.active{color:var(--blue);border-color:var(--blue);font-weight:600}.detailsection{margin-bottom:29px}.detailsection>h2{margin-bottom:18px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;border-block:1px solid var(--line);padding:23px 0}.detail-grid label{display:block;font-size:10px;color:var(--muted);margin:0 0 8px}.detail-grid strong{font-size:12px;font-weight:550}.brief{font-size:13px;line-height:1.8;background:var(--soft);border-left:2px solid #d5dbe8;padding:17px 20px;margin:0 0 20px}.summary{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:20px}.summary h3{font-size:12px;padding:18px;border-bottom:1px solid var(--line);margin:0}.summary-content{padding:2px 18px 18px}.amountrow{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:11px;color:var(--muted)}.amountrow strong{color:var(--ink);font-weight:550;white-space:nowrap}.amountrow.total{border-top:1px solid var(--line);margin-top:4px;padding-top:17px;color:var(--ink);align-items:center}.amountrow.total strong{font-size:24px;letter-spacing:-.8px;font-weight:600}.next-action{background:#f6f8ff;border:1px solid #e2e7fa;border-radius:8px;padding:19px;margin-bottom:20px}.next-action .eyebrow{color:var(--blue);font-size:9px;letter-spacing:1px}.next-action h3{margin:12px 0 8px;font-size:13px}.next-action p{font-size:11px;color:var(--muted);margin-bottom:15px}.next-action .button{width:100%}.contact-panel{padding:18px 0;border-top:1px solid var(--line)}.contact-panel h3{font-size:12px}.contact-panel p{font-size:11px;color:var(--muted)}.contact-panel small{font-size:10px;color:#8c929c}.notice{padding:13px 15px;background:var(--soft);border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;line-height:1.65;margin:16px 0}.notice.warning{background:var(--warn-soft);color:var(--warn);border-color:#f1e3c6}.notice.error{color:var(--red);background:#fff1f1;border-color:#f4d4d4}.offline-banner{padding:12px 16px;background:var(--warn-soft);color:var(--warn);font-size:11px;margin-bottom:24px;border-radius:6px}.quote-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.quote-top p{font-size:11px;color:var(--muted);margin-bottom:0}.quote-lines{border-top:1px solid var(--line)}.quote-line{padding:16px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:start;justify-content:space-between;font-size:12px}.quote-line strong{font-weight:550}.quote-line small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.quote-line>b{font-size:12px;font-weight:600;white-space:nowrap}.optional-label{font-size:9px;color:var(--blue);display:block;margin-top:9px}.editor-line{border:1px solid var(--line);border-radius:6px;padding:16px;margin-bottom:12px}.editor-grid{display:grid;grid-template-columns:1fr 70px 105px;gap:10px}.field label{display:block;font-size:10px;font-weight:550;color:var(--muted);margin:0 0 7px}input,textarea,select{width:100%;min-height:40px;border:1px solid #d9dde5;border-radius:5px;padding:10px 11px;color:var(--ink);background:white;font-size:12px}textarea{min-height:100px;resize:vertical;line-height:1.65}.editor-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.check{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.6}.check input{width:16px;height:16px;min-height:16px;accent-color:var(--blue);margin:1px 0 0;flex-shrink:0}.editor-bottom button{font-size:10px;color:var(--muted);min-height:30px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.version{display:flex;justify-content:space-between;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);font-size:11px}.version small{display:block;margin-top:7px;color:var(--muted);font-size:10px}.version strong{font-weight:550}.note{padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.note p{margin:8px 0 12px}.note small{font-size:10px;color:var(--muted)}.note .status{margin-left:7px}.empty{padding:40px 25px;text-align:center;border:1px dashed #dbe0e8;border-radius:8px}.empty p{color:var(--muted);font-size:12px;max-width:380px;margin:12px auto}.empty h3{font-size:14px}.calendar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;overflow:hidden}.calendar-day{border-right:1px solid var(--line);min-height:270px;padding:17px 12px}.calendar-day:last-child{border-right:0}.calendar-day h3{font-size:11px}.calendar-day p{font-size:10px;color:var(--muted);margin-top:22px}.cal-event{display:block;width:100%;background:var(--blue-soft);border-left:2px solid var(--blue);padding:12px 10px;margin-top:20px;text-align:left;border-radius:3px;font-size:10px;line-height:1.8}.cal-event strong{display:block}.settings{max-width:650px}.settings .field{margin-bottom:23px}.settings .two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.state-controls{margin-top:36px;padding-top:18px;border-top:1px solid var(--line);display:flex;gap:15px;align-items:center;flex-wrap:wrap}.state-controls span{font-size:9px;color:#9298a2;letter-spacing:1px}.state-controls button{font-size:10px;color:var(--muted);min-height:30px;padding:0}.customer-page{background:#fafbfc;min-height:calc(100vh - 34px)}.customer-top{padding:27px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:white}.customer-top strong{font-size:13px;display:flex;align-items:center;gap:10px}.customer-top button{font-size:10px;color:var(--muted)}.customer-main{max-width:1060px;margin:auto;padding:42px 30px 60px}.customer-intro{max-width:600px;margin-bottom:30px}.customer-intro h1{font-size:30px;letter-spacing:-1px;margin:12px 0}.customer-intro p{font-size:13px;color:var(--muted)}.customer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:28px;align-items:start}.customer-document{background:white;border:1px solid var(--line);border-radius:8px;padding:28px}.customer-doc-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:25px}.customer-doc-head h2{font-size:17px;margin:8px 0}.customer-doc-head small{font-size:10px;color:var(--muted)}.customer-document p{font-size:12px;color:var(--muted)}.customer-action{background:white;border:1px solid var(--line);border-radius:8px;padding:25px}.customer-action h2{font-size:17px;margin-bottom:12px}.customer-action p{font-size:12px;color:var(--muted)}.customer-action .field{margin-top:20px}.customer-action .check{margin:20px 0}.customer-action .button{width:100%;margin-top:15px;min-height:44px}.customer-footer{margin:25px 0;font-size:10px;color:var(--muted);display:flex;gap:18px}.slot{display:block;width:100%;border:1px solid #dce0e7;border-radius:6px;text-align:left;padding:13px;margin:10px 0;font-size:11px;line-height:1.8}.slot.selected{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.slot small{display:block;color:var(--muted);font-size:10px}.payment-amount{font-size:34px;font-weight:600;letter-spacing:-1px;margin:22px 0}.complete-icon{width:36px;height:36px;background:var(--good-soft);color:var(--good);display:grid;place-items:center;border-radius:50%;margin-bottom:18px}.terms{padding-top:20px;margin-top:20px;border-top:1px solid var(--line);font-size:10px;line-height:1.8;color:var(--muted)}.customer-errors:empty{display:none}.customer-errors{background:#fff1f1;color:var(--red);padding:13px;border-radius:5px;font-size:11px;margin-top:15px;line-height:1.6}dialog{max-width:530px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:10px;padding:30px;color:var(--ink);box-shadow:0 24px 100px #101c3433}dialog::backdrop{background:#171c2966;backdrop-filter:blur(2px)}.dialog-close{position:absolute;right:14px;top:9px;font-size:24px;color:var(--muted)}dialog h2{font-size:21px;margin:8px 0 15px}dialog p{font-size:12px;color:var(--muted)}dialog .field{margin-top:18px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#20252f;color:white;border:1px solid #4d535e;box-shadow:0 8px 30px #0002;border-radius:7px;padding:14px 20px;font-size:12px;max-width:calc(100vw - 32px);display:none;z-index:30}.mobile-nav{display:none}@media(min-width:1500px){main{padding:45px 60px}.dashboard-grid{gap:48px}}@media(max-width:1120px){.rail{width:190px;padding-inline:12px}.page{margin-left:190px}.topbar{padding:0 27px}main{padding:30px 27px 50px}.dashboard-grid{gap:25px;grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr)}.job-layout{grid-template-columns:minmax(0,1fr) 245px;gap:24px}.metric{padding-inline:15px}.metric b{font-size:25px}}@media(max-width:850px){.rail{display:none}.page{margin:0}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:69px;padding:5px 8px max(5px,env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:20;display:flex;justify-content:space-around}.mobile-nav button{min-width:54px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#828895;font-size:9px}.mobile-nav button.active{color:var(--blue)}.mobile-nav .icon{width:20px;height:20px}.topbar{height:58px;padding-inline:22px}.global-actions{gap:10px}.global-actions .search-trigger{display:none}main{padding:27px 22px 100px}.heading{margin-bottom:25px}h1{font-size:29px}.dashboard-grid{grid-template-columns:1fr}.metrics{margin-bottom:28px}.metric{padding-inline:15px}.metric b{font-size:23px}.attention{margin-top:3px}.job-layout{grid-template-columns:1fr}.job-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-panel{grid-column:1/-1}.customer-main{padding:30px 22px}.customer-grid{grid-template-columns:1fr}.customer-action{order:-1}.customer-top{padding:18px 22px}.customer-intro h1{font-size:26px}.customer-footer{flex-wrap:wrap}.calendar{grid-template-columns:1fr}.calendar-day{border-right:0;border-bottom:1px solid var(--line);min-height:110px}.cal-event{margin-top:10px}.calendar-day p{margin:12px 0}.editor-grid{grid-template-columns:1fr 55px 90px}.reviewbar{padding:0 14px;font-size:9px}.review-detail{display:none}.state-controls{margin-top:25px}#toast{bottom:85px}}@media(max-width:480px){.heading{align-items:flex-start}.heading p{max-width:240px;font-size:11px}.heading-actions .button{padding-inline:11px;font-size:10px}.metrics{grid-template-columns:1fr 1fr;gap:22px 0}.metric{padding-left:18px}.metric:nth-child(3){padding-left:0;border-right:1px solid var(--line)}.metric:nth-child(2){border-right:0}.metric:nth-child(n+3){padding-top:19px;border-top:1px solid var(--line)}.metric b{font-size:25px}.metric small{font-size:10px}.appointment{padding:20px 0;grid-template-columns:60px 1fr auto}.section-head h2{font-size:15px}.section-head .tagline{display:none}.job-aside{display:block}.tabbar{gap:21px}.heading-actions{flex-direction:column;gap:4px}.editor-grid{grid-template-columns:1fr 1fr}.editor-grid .field:first-child{grid-column:1/-1}.table th,.table td{padding-inline:9px}.table .hide-small{display:none}.detail-grid{gap:19px 12px}.customer-action,.customer-document{padding:22px}.customer-intro h1{font-size:26px}.customer-top strong{font-size:11px}.customer-top .logomark{width:24px;height:24px;font-size:15px}.customer-main{padding-inline:18px}.activityrow{align-items:start}.activityrow small{font-size:9px}.settings .two{grid-template-columns:1fr}.global-actions .sync-label{font-size:9px}.breadcrumbs{font-size:10px}.heading-actions .button .icon{width:13px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s ease,border-color .12s ease}.primary:hover{background:#254bd2}}
.heading p{font-size:13px}.button{font-size:12px;min-height:44px}.navbutton{font-size:13px}.metric label{font-size:12px}.appointment h3{font-size:13px}.appointment p{font-size:12px}.attention-item h3{font-size:13px}.attention-item p,.linkbutton{font-size:12px}.status{font-size:10px}.activityrow{font-size:12px}.customer-action p,.customer-document p{font-size:13px}.check{font-size:12px}input,textarea,select{font-size:14px;min-height:44px}.field label{font-size:12px}.quote-line{font-size:13px}.quote-line small{font-size:11px}.amountrow{font-size:12px}.next-action p{font-size:12px}.next-action h3{font-size:14px}.detail-grid label{font-size:11px}.detail-grid strong{font-size:13px}
@media(max-width:850px){.heading p{font-size:13px}.metric small{font-size:11px}.appointment h3{font-size:14px}.appointment p{font-size:12px}.appointment time{font-size:12px}.appointment time small{font-size:11px}.status{font-size:11px}.attention-item h3{font-size:14px}.attention-item p{font-size:13px}.linkbutton{font-size:13px}.activityrow{font-size:12px}.tabbar button{font-size:13px}.mobile-nav button{font-size:10px}.slot{font-size:13px}.slot small{font-size:12px}.customer-action .field label{font-size:13px}.customer-action .check{font-size:13px}.customer-action .button{font-size:14px;min-height:48px}.terms{font-size:12px}.customer-doc-head small{font-size:12px}.quote-line small{font-size:12px}.customer-intro p{font-size:14px}.notice{font-size:12px}.amountrow{font-size:13px}.reviewbar b{font-size:9px}}
@media(max-width:850px){.customer-action{order:initial}.customer-footer .icon{width:15px;height:15px}.customer-footer{font-size:11px}}
input[aria-invalid=true]{border-color:var(--red);background:#fff8f8}
.mobile-next{display:none}@media(max-width:850px){.mobile-next{display:flex;align-items:center;gap:12px;border:1px solid #e1e6f5;background:#f8faff;border-radius:6px;padding:12px 14px;margin-bottom:24px}.mobile-next>span{color:var(--blue)}.mobile-next strong{font-size:13px;font-weight:600;display:block}.mobile-next small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.mobile-next button{margin-left:auto;color:var(--blue)}.today-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:18px 0}.today-metrics .metric{padding:0 9px;border-top:0;border-right:1px solid var(--line)}.today-metrics .metric:first-child{padding-left:0}.today-metrics .metric:last-child{border:0}.today-metrics .metric small{display:none}.today-metrics .metric label{font-size:10px;min-height:30px;line-height:1.5}.today-metrics .metric b{font-size:19px;margin:7px 0 0;letter-spacing:-.6px}}
@media(max-width:850px){.editor-actions{position:fixed;bottom:69px;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:12px 20px;z-index:21;margin:0;display:flex;gap:9px}.editor-actions .button{flex:1;font-size:11px;padding-inline:10px}.editing .next-action .button{display:none}.job-layout:not(.editing) .next-action .button{position:fixed;bottom:81px;left:22px;width:calc(100% - 44px);z-index:21;box-shadow:0 0 0 12px #fff,0 0 0 13px var(--line)}main:has(.job-layout){padding-bottom:180px}}
/* Task-led workspace refinement */
.daily-focus{border:1px solid #dce2f0;border-left:3px solid var(--blue);padding:25px 28px 22px;margin-bottom:34px;background:linear-gradient(115deg,#f7f9ff 0%,#fff 65%);border-radius:4px}.focus-kicker{display:flex;gap:18px;align-items:center}.focus-kicker>.eyebrow{font-size:10px;letter-spacing:1.2px;color:#62708a}.daily-focus h2{font-size:28px;font-weight:600;letter-spacing:-1px;line-height:1.3;margin:22px 0 10px;max-width:650px}.daily-focus>p{font-size:13px;color:#636c7e;margin:0}.daily-focus>p span{margin:0 7px;color:#acb3bf}.focus-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;padding-top:20px;border-top:1px solid #e3e8f2}.focus-bottom>span{font-size:12px;color:#616d82}.daily-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:42px}.inline-count{font-size:11px;color:#7a8290;font-weight:400;margin-left:8px}.day-brief{padding:5px 0 0 27px;border-left:1px solid var(--line)}.day-brief>.eyebrow{font-size:9px;letter-spacing:1.3px}.day-brief h2{font-size:19px;line-height:1.5;margin:17px 0 9px;font-weight:550}.day-brief>p{font-size:12px;color:var(--muted);margin-bottom:20px}.brief-route{display:flex;gap:12px;align-items:center;width:100%;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:16px}.brief-route>span{font-size:12px;font-weight:600;flex:1}.brief-route small{font-size:11px;font-weight:400;color:var(--muted);display:block;margin-top:6px}.brief-route>.icon{width:16px;color:var(--muted)}.queue-inline{background:var(--warn-soft);padding:12px;color:var(--warn)!important;border-radius:4px}.job-heading{margin-bottom:20px}.back-link{font-size:12px;color:var(--muted);padding:0;margin:-12px 0 13px;min-height:32px}.job-titleline{display:flex;align-items:center;justify-content:space-between;gap:18px}.job-titleline h1{font-size:34px;margin:8px 0 10px}.job-titleline p{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted);margin:0}.job-titleline p>.icon{width:14px;height:14px}.job-titleline>.status{align-self:flex-start;margin-top:6px}.overview-layout{display:block}.overview-layout .tabbar{margin-bottom:0}.job-next{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:29px 0 30px;border-bottom:1px solid var(--line)}.job-next .eyebrow{font-size:10px;color:var(--blue);letter-spacing:1px}.job-next h2{font-size:24px;font-weight:600;letter-spacing:-.7px;margin:15px 0 10px}.job-next p{font-size:13px;color:var(--muted);max-width:520px;margin:0}.next-buttons{display:flex;flex-direction:column;gap:9px;flex-shrink:0;min-width:170px}.next-buttons .button{justify-content:center}.answers-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);margin:0 0 28px}.answer-section{padding:25px 0 0}.agreed-answer{padding-right:30px;border-right:1px solid var(--line)}.owed-answer{padding-left:30px}.answer-heading{display:flex;align-items:center;gap:10px;margin-bottom:24px;flex-wrap:wrap}.answer-heading h2{font-size:15px;font-weight:600}.answer-heading>.status,.currency-label{margin-left:auto}.currency-label{font-size:10px;color:#7b8290}.answer-index{font-size:10px;color:#858e9c;font-variant-numeric:tabular-nums}.answer-body>h3{font-size:15px;font-weight:550;margin-bottom:15px}.answer-body>p{font-size:12px;color:var(--muted);line-height:1.8}.scope-list{list-style:none;margin:0;padding:0}.scope-list li{display:flex;align-items:flex-start;gap:9px;padding:13px 0;font-size:12px;line-height:1.6;border-bottom:1px solid #f0f1f4}.scope-list .icon{width:14px;height:17px;color:#7d889c;flex-shrink:0}.scope-list li span{flex:1}.scope-list b{font-size:12px;font-weight:500;white-space:nowrap}.answer-foot{border-top:1px solid var(--line);padding-top:15px;margin-top:20px;display:flex;flex-direction:column;gap:6px}.answer-foot>span{font-size:10px;color:var(--muted);line-height:1.6}.balance-label{font-size:11px;color:var(--muted)}.answer-amount{font-size:36px;letter-spacing:-1.3px;font-weight:550;line-height:1.2;margin:8px 0 10px;font-variant-numeric:tabular-nums}.balance-context{font-size:11px!important;line-height:1.65!important;max-width:280px;margin:0 0 14px}.mini-ledger{padding:10px 0 0}.mini-ledger>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:8px 0;color:var(--muted)}.mini-ledger b{font-weight:500;color:var(--ink)}.accepted-extra{display:flex;align-items:start;gap:9px;padding:15px 0;font-size:12px;border-bottom:1px solid var(--line)}.accepted-extra>.icon{width:14px;height:16px;color:var(--good)}.accepted-extra>span{flex:1}.accepted-extra small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.accepted-extra b{font-size:12px;font-weight:500}.pending-extra{padding:14px;background:var(--warn-soft);color:var(--warn);margin-top:14px;border-radius:5px}.pending-extra>b{font-size:11px}.pending-extra p{font-size:11px;line-height:1.7;margin:7px 0 0}.job-background{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:12px 0 30px}.job-background summary{min-height:55px;cursor:pointer;font-size:12px;font-weight:550;padding:18px 0;list-style-position:inside}.job-background summary>span{float:right;font-size:11px;color:var(--muted);font-weight:400}.job-background[open] summary{margin-bottom:10px}.job-recent{margin-top:25px}.job-recent .activityrow{padding:16px 0}.overview-layout .job-next{position:relative}
@media(max-width:1050px){.daily-layout{gap:25px}.day-brief{padding-left:20px}.job-next{gap:20px}.next-buttons{min-width:150px}.agreed-answer{padding-right:22px}.owed-answer{padding-left:22px}}
@media(max-width:850px){.daily-focus{padding:22px 20px 18px;margin-bottom:28px}.daily-focus h2{font-size:25px;letter-spacing:-.8px;margin-top:19px;max-width:440px}.focus-bottom>span{font-size:12px;line-height:1.7}.daily-layout{grid-template-columns:1fr;gap:23px}.day-brief{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.day-brief h2{font-size:18px;margin-top:12px}.day-brief>p{font-size:13px}.job-titleline h1{font-size:30px}.job-titleline p{font-size:12px;line-height:1.7}.job-next{display:block;padding:25px 0}.job-next h2{font-size:23px;margin:13px 0 9px}.job-next p{font-size:14px}.next-buttons{flex-direction:row;margin-top:20px;gap:9px;min-width:0}.next-buttons .button{flex:1;white-space:normal;line-height:1.4;min-height:46px;padding:10px 12px;font-size:12px}.answers-grid{grid-template-columns:1fr;margin-bottom:20px}.agreed-answer{padding-right:0;border:0;border-bottom:1px solid var(--line);padding-bottom:23px}.owed-answer{padding-left:0}.answer-heading{margin-bottom:19px}.answer-heading h2{font-size:16px}.answer-body>h3{font-size:16px}.answer-body>p{font-size:14px}.answer-foot>span{font-size:12px}.scope-list li{font-size:13px;padding:12px 0}.scope-list b{font-size:13px}.balance-label{font-size:13px}.answer-amount{font-size:34px}.balance-context{font-size:13px!important;max-width:100%}.mini-ledger>div{font-size:13px;padding:10px 0}.job-background summary>span{display:none}.job-background summary{font-size:13px}.job-recent .activityrow small{font-size:10px}.overview-layout .job-next .next-buttons .primary{position:static;width:auto;box-shadow:none}main:has(.overview-layout){padding-bottom:105px}.focus-kicker{gap:12px;justify-content:space-between}.accepted-extra{font-size:13px}.accepted-extra small{font-size:11px}}
@media(max-width:480px){.daily-focus h2{font-size:26px;max-width:310px;line-height:1.25}.daily-focus>p{font-size:12px}.daily-focus>p span{margin:0 4px}.focus-bottom{display:block;margin-top:20px;padding-top:16px}.focus-bottom>span{display:block;font-size:12px}.focus-bottom>.button{margin-top:15px;width:100%;min-height:46px;font-size:13px}.daily-focus{padding:21px 18px 18px}.job-titleline{align-items:flex-start}.job-titleline .status{font-size:10px}.job-titleline h1{font-size:29px}.job-next p{font-size:13px}.next-buttons .button{font-size:12px}.answer-heading>.status{font-size:10px}.answer-foot{margin-top:17px}.job-heading{margin-bottom:15px}.answer-section{padding-top:23px}}
.job-glance{display:none}@media(max-width:850px){.job-glance{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:15px;margin-top:19px;gap:20px}.job-glance>div+div{border-left:1px solid var(--line);padding-left:20px}.job-glance span{display:block;font-size:9px;color:#7d8593;letter-spacing:1px}.job-glance strong{display:block;margin-top:7px;font-size:12px;font-weight:550;line-height:1.4}.job-next{padding:21px 0}.job-next h2{font-size:22px}.job-heading{margin-bottom:8px}.back-link{margin-bottom:8px}}
.visit-chip{display:flex;gap:6px;align-items:flex-start;font-size:11px;line-height:1.6;color:#59647b;margin:0 0 12px}.visit-chip .icon{width:14px;height:16px;flex-shrink:0}.job-glance small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
/* Local application shell */
.login-shell{max-width:600px;padding:48px 24px!important;margin:auto}.login-shell .brand{width:max-content;margin-bottom:54px}.login-panel{max-width:420px;margin:auto}.login-panel h1{margin:16px 0}.login-panel form{margin-top:28px}.login-panel .field{margin-bottom:20px}.login-panel form>.button{width:100%;margin-top:5px}.local-accounts{margin-top:24px;border-top:1px solid var(--line);padding:18px 0;font-size:12px;color:var(--muted)}.local-accounts summary{cursor:pointer}.local-accounts code{color:var(--ink)}.space-top{margin-top:30px}.two-fields{display:grid;gap:22px;grid-template-columns:160px 1fr;max-width:none}.app-editor-actions{padding-top:20px;border-top:1px solid var(--line)}.busy{cursor:progress}.busy button{pointer-events:none;opacity:.65}.field>input:invalid:not(:placeholder-shown){border-color:#d9dde5}#page-error:empty,#modal-error:empty{display:none}.job-glance{display:grid;grid-template-columns:1fr 1fr;max-width:430px;gap:20px;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.job-glance span{display:block;font-size:10px;letter-spacing:1px;color:var(--muted)}.job-glance strong{display:block;margin-top:6px;font-size:14px;font-weight:550}.job-glance>div+div{padding-left:20px;border-left:1px solid var(--line)}.job-titleline h1{overflow-wrap:anywhere}.editor-grid input{min-width:0}.table td{overflow-wrap:anywhere}.customer-doc-head{flex-wrap:wrap}.slot{min-height:54px}.job-recent .activityrow small{max-width:150px;white-space:normal;text-align:right}.customer-action .notice .button{margin-top:10px}.customer-action #page-error:not(:empty){margin-top:16px}
@media(max-width:850px){.topbar{height:46px;padding:0 18px}.topbar .breadcrumbs{max-width:55%;font-size:10px;line-height:1.5}.topbar .global-actions{gap:7px}.global-actions button{font-size:10px}.page>main{padding:20px 18px 110px}.job-heading{margin-bottom:5px}.job-heading .back-link{min-height:26px;margin:0 0 8px;font-size:11px}.job-titleline h1{font-size:26px;line-height:1.2;margin:5px 0 8px}.job-titleline .eyebrow{font-size:9px}.job-titleline p{font-size:11px;line-height:1.5}.job-glance{margin-top:13px;padding-top:12px;gap:12px}.job-glance>div+div{padding-left:12px}.job-glance span{font-size:9px}.job-glance strong{font-size:13px}.job-glance small{font-size:10px;margin-top:3px}.tabbar{gap:22px;margin-bottom:0}.tabbar button{min-height:42px;font-size:12px}.job-next{padding:20px 0}.job-next h2{font-size:21px;margin:11px 0 9px}.job-next p{font-size:13px}.next-buttons{margin-top:16px;gap:8px}.next-buttons .button{min-height:46px}.answers-grid{grid-template-columns:1fr}.customer-main{padding:25px 18px 45px}.customer-action{order:initial}.customer-action .slot{font-size:12px}.customer-action .button{white-space:normal;line-height:1.5}.customer-doc-head{gap:10px}.two-fields{grid-template-columns:1fr}.two-fields .field{margin:0}.app-editor-actions{position:fixed;left:0;right:0;bottom:69px;padding:12px 18px;background:white;border-top:1px solid var(--line);z-index:21;margin:0}.app-editor-actions .button{flex:1;font-size:11px;padding:10px;white-space:normal}.page main:has(.app-editor-actions){padding-bottom:190px}.mobile-nav .navbutton{min-width:50px;padding:0 7px;background:transparent;font-size:10px}.login-shell .brand{margin-bottom:35px}.job-background summary{min-height:48px}.job-titleline>.status{font-size:9px;max-width:110px;white-space:normal;line-height:1.5}.day-brief{display:none}.heading h1{font-size:29px}.heading p{font-size:13px}.daily-focus h2{font-size:25px}.answer-body .mini-ledger{margin-top:12px}.customer-page .mini-ledger{padding-top:20px}}
.capture-actions{display:flex;gap:8px}.photo-section{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}.photo-section .section-head>span{font-size:11px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.photo-grid figure{border:1px solid var(--line);border-radius:7px;overflow:hidden;margin:0}.photo-grid img{display:block;width:100%;height:180px;object-fit:cover;background:var(--soft)}.photo-grid figcaption{padding:12px;display:grid;gap:6px}.photo-grid strong{font-size:12px;overflow-wrap:anywhere;font-weight:550}.photo-grid span{font-size:11px;color:var(--muted)}.photo-grid small{font-size:11px;color:var(--red)}.photo-unavailable{height:180px;display:grid;place-items:center;padding:20px;background:var(--soft);font-size:12px;color:var(--muted)}.sync-list{margin-top:22px;max-height:45vh;overflow:auto}.sync-item{border-top:1px solid var(--line);padding:15px 0;display:flex;gap:10px;justify-content:space-between;align-items:start}.sync-item strong{font-size:12px;font-weight:600;text-transform:capitalize}.sync-item p{font-size:12px;margin:8px 0;color:var(--muted)}.sync-item small{font-size:10px;color:var(--muted)}.sync-item .linkbutton{font-size:11px;white-space:nowrap}.photo-grid img:focus{outline:3px solid var(--blue)}@media(max-width:850px){.photo-grid{grid-template-columns:1fr 1fr;gap:10px}.photo-grid img,.photo-unavailable{height:145px}.capture-actions{gap:6px}.capture-actions .button{font-size:11px;padding:8px 11px}.photo-section .section-head{align-items:start}.photo-section .section-head>span{max-width:120px;line-height:1.6}.sync-list{max-height:50vh}}
.business-form{max-width:800px}.business-form select{width:100%;padding:13px;border:1px solid var(--line,#d9dde5);border-radius:5px;font:inherit;background:#fff;min-height:48px}.weekday-options{display:flex;flex-wrap:wrap;gap:16px;padding:18px;border:1px solid #d9dde5;margin-top:20px}.weekday-options legend{padding:0 8px;color:#626974;font-size:13px}.global-actions{flex-wrap:wrap}
@media print{.reviewbar,.rail,.topbar,.mobile-nav,.customer-action,.print-controls,.customer-footer,.skip,#toast,#dialog{display:none!important}.customer-page,.customer-main,.customer-grid,.customer-document{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.customer-top{padding:0 0 20px!important}.customer-intro h1{font-size:24pt!important}.quote-line,.terms{break-inside:avoid}body{color:#000;background:#fff}input[type=checkbox]{appearance:auto}}
.billing-sections{max-width:850px}.billing-section{padding:32px 0;border-top:1px solid #e8eaee}.billing-section h2{margin:14px 0 12px}.billing-section>p{max-width:620px;line-height:1.7}.billing-section .version{margin:24px 0;gap:16px;flex-wrap:wrap}
.topbar{height:auto;min-height:69px;padding-top:10px;padding-bottom:10px;gap:12px}.topbar .breadcrumbs{flex:1;min-width:90px}.topbar .global-actions{justify-content:flex-end;max-width:65%}@media(max-width:850px){.topbar{min-height:56px;padding-top:6px;padding-bottom:6px}.topbar .breadcrumbs{max-width:35%}}

.workspace-menu{display:grid;gap:10px}.workspace-menu .button{justify-content:flex-start}.import-preview{max-height:45vh;overflow:auto}

.recovery-codes{overflow:auto;user-select:all;padding:18px;background:#f5f6f8;line-height:2}

/* Shared layout guardrails: readable content, contained controls, unobstructed actions. */
main,section,form,.field,.heading>div,.job-titleline>div,.answer-body,.attention-item>div{min-width:0}
h1,h2,h3,p,.breadcrumbs,.notice,.brief,.note,.version,.activityrow,.detail-grid strong,.customer-top strong{overflow-wrap:anywhere}
.heading,.heading-actions,.section-head,.quote-top,.capture-actions,.focus-kicker,.customer-top{flex-wrap:wrap}
.heading-actions{max-width:100%;flex-direction:row}.heading-actions .button{white-space:normal}
.button{max-width:100%;white-space:normal;line-height:1.45;padding-top:10px;padding-bottom:10px;text-align:center}
.actions{align-items:center}.actions>.button{flex-shrink:1}
.version{align-items:center;flex-wrap:wrap;gap:16px;font-size:13px}.version>span{flex:1 1 180px;min-width:0;line-height:1.6}.version>select{flex:0 1 280px;width:280px;max-width:100%;min-width:0}.version>.button{flex-shrink:0}.version small{font-size:12px;line-height:1.6}
.appointment{grid-template-columns:minmax(65px,90px) minmax(0,1fr) auto}.appointment>div{min-width:0}.appointment time{overflow-wrap:anywhere;line-height:1.6}.appointment-message{grid-template-columns:minmax(0,1fr) auto}.appointment-message small{font-size:12px;line-height:1.7;color:var(--muted)}
.table{table-layout:fixed}.table td,.table th{overflow-wrap:anywhere}.table td button{max-width:100%;overflow-wrap:anywhere}.table .status{max-width:100%;white-space:normal;line-height:1.5}.status:before{flex-shrink:0}
.tabbar{gap:8px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}.tabbar button{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:12px 4px;line-height:1.5;text-align:center}
.activityrow>span,.activitytext{min-width:0;overflow-wrap:anywhere}.activityrow small{flex:0 0 auto;max-width:35%;white-space:normal;line-height:1.6;text-align:right}
.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-list li span,.accepted-extra>span{min-width:0;overflow-wrap:anywhere}.quote-line>div{min-width:0;overflow-wrap:anywhere}
.two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.two-fields input,.two-fields select{min-width:0}.business-form section{padding-bottom:12px}.business-form h2{margin-bottom:20px}
dialog{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:30px}dialog h2{padding-right:28px;line-height:1.35;overflow-wrap:anywhere}.dialog-close{width:44px;height:44px;right:8px;top:8px;background:white;border-radius:6px;z-index:1}dialog .actions{gap:12px}dialog input,dialog select{min-width:0}
.workspace-menu .button{text-align:left}.sync-item>div{min-width:0;overflow-wrap:anywhere}.import-preview{max-width:100%}.recovery-codes{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:850px){
 .topbar{display:flex;flex-direction:column;align-items:stretch;padding:12px 18px;gap:8px}.topbar .breadcrumbs{max-width:none;min-width:0;font-size:12px;line-height:1.6}.topbar .global-actions{max-width:none;justify-content:flex-start;gap:4px 12px}.global-actions button{font-size:12px;padding:4px 0;min-height:36px}
 .mobile-nav{height:calc(69px + env(safe-area-inset-bottom));padding-bottom:calc(5px + env(safe-area-inset-bottom))}.mobile-nav .navbutton{flex:1;min-width:0;font-size:11px;line-height:1.3;padding:0 2px}
 .app-editor-actions,.editor-actions{position:static;padding:20px 0 0;margin-top:22px;border-top:1px solid var(--line);flex-wrap:wrap}.app-editor-actions .button,.editor-actions .button{flex:1 1 130px}
 .job-layout:not(.editing) .next-action .button{position:static;width:100%;box-shadow:none}.page main:has(.app-editor-actions),main:has(.job-layout),main:has(.overview-layout){padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 #toast{bottom:calc(85px + env(safe-area-inset-bottom));line-height:1.6}
 .two-fields{grid-template-columns:1fr}.version>select{flex-basis:100%;width:100%}.heading{align-items:flex-start}.heading p{max-width:none}.heading-actions{width:100%;gap:10px}.heading-actions .button{font-size:12px}
 .job-titleline{flex-wrap:wrap;gap:8px}.job-titleline>div{flex:1 1 210px}.job-titleline>.status{max-width:100%;margin:0 0 8px}.job-titleline p{align-items:flex-start}
 .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-section .section-head>span{max-width:none}.section-head{align-items:center;gap:12px}.capture-actions{gap:8px}
 .next-buttons{flex-wrap:wrap}.next-buttons .button{flex:1 1 135px}.customer-top{gap:12px}.customer-top strong{min-width:0}.customer-doc-head>div{min-width:0}
}
@media(max-width:480px){
 .page>main{padding-inline:18px}.heading{gap:16px}.heading-actions{flex-direction:row}.heading h1{font-size:28px}.version>span{flex-basis:150px}.version>.button{font-size:12px}
 dialog{padding:24px 20px}.detail-grid{grid-template-columns:1fr}.tabbar{gap:2px}.tabbar button{font-size:12px;padding-inline:2px}.appointment{gap:12px;grid-template-columns:66px minmax(0,1fr) auto}.appointment-message{grid-template-columns:minmax(0,1fr) auto}
 .table th,.table td{padding:16px 8px}.table th:first-child,.table td:first-child{width:62%}.table th:not(:first-child),.table td:not(:first-child){width:38%}.table td{font-size:13px}.table td small{font-size:12px;line-height:1.6}
 .today-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.today-metrics .metric:nth-child(2){border-right:0}.today-metrics .metric:nth-child(3){padding-left:0}.today-metrics .metric label{font-size:12px;min-height:0}.today-metrics .metric b{font-size:24px}
 .activityrow{flex-wrap:wrap;gap:6px}.activityrow small{max-width:100%;text-align:left}.activityrow>span{flex-basis:100%}.customer-action,.customer-document{padding:20px}.customer-top strong{font-size:13px}
 input,textarea,select{font-size:16px}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-bottom{gap:12px;align-items:flex-start}.check{min-width:0}.amountrow{gap:10px}.amountrow strong{flex-shrink:0}
}
#editor-lines{margin-top:20px}.tabbar{margin-bottom:24px}dialog .field+.button,dialog form>.button{margin-top:20px}dialog .field{margin-bottom:4px}.version .actions{margin-top:0}.rail-bottom .avatarline{overflow-wrap:anywhere}.rail{overflow-y:auto}.rail-bottom{padding-top:24px}
@media(max-width:360px){.topbar .global-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 12px}.global-actions button{text-align:left;min-width:0;overflow-wrap:anywhere}}
/* Reserve a separate close-control row, including dialogs with an eyebrow. */
#dialog-content{padding-top:28px;min-width:0}dialog h2{padding-right:0}
dialog h3{margin-top:24px;margin-bottom:12px}
@media(max-width:480px){
 #customer-results .table,#customer-results tbody{display:block;width:100%}#customer-results thead{display:none}#customer-results tr{display:block;border:1px solid var(--line);border-radius:8px;padding:16px;margin-bottom:14px}#customer-results .table td{display:block;width:100%;padding:0;border:0}#customer-results .table td.hide-small{display:none}#customer-results .table td:last-child{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}#customer-results .table td:last-child:before{content:'Job history';display:block;font-size:11px;color:var(--muted);margin-bottom:10px}#customer-results .table td:last-child>div+div{margin-top:12px}#customer-results .table td button{min-height:32px;font-size:14px;line-height:1.6}#customer-results .table td small{margin-top:4px}
 .money-table th:first-child,.money-table td:first-child{width:46%}.money-table th:not(:first-child),.money-table td:not(:first-child){width:27%;font-size:12px}
}

.page main>.empty+section{margin-top:30px}

/* Daily workspace: a clear hierarchy at every viewport. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.day-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;margin:0 0 24px;background:#fff}
.day-stats>div{padding:20px 24px;min-width:0}.day-stats>div+div{border-left:1px solid var(--line)}.day-stats strong{display:block;font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-1px;font-variant-numeric:tabular-nums}.day-stats span{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:7px}
.day-section{margin-top:32px}.day-section .section-head{gap:16px;flex-wrap:wrap}.day-clear{padding:22px 24px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.day-clear h2{margin:0 0 8px;font-size:19px}.day-clear p{margin:0;color:var(--muted);line-height:1.7}
.work-action-row{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:20px 0;text-align:left;border-bottom:1px solid var(--line)}.work-action-row>span{min-width:0}.work-action-row strong,.work-action-row span>span,.work-action-row small{display:block;overflow-wrap:anywhere}.work-action-row strong{font-size:14px;line-height:1.5}.work-action-row span>span{margin-top:4px;font-size:13px;color:var(--muted);line-height:1.6}.work-action-row small{margin-top:4px;font-size:12px;color:var(--muted);line-height:1.6}.work-action-row:hover{background:var(--soft)}
.start-guide{border:1px solid var(--line);border-radius:10px;padding:24px;margin-top:32px}.start-guide .section-head{gap:16px;flex-wrap:wrap}.start-guide h2{margin-top:7px;font-size:20px;line-height:1.4}.setup-progress{font-size:12px;color:var(--muted);white-space:nowrap}.setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 0 0;gap:24px;list-style:none}.setup-steps li{display:flex;align-items:flex-start;gap:12px;min-width:0}.setup-steps li>div{min-width:0}.step-number{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;flex:0 0 28px;font-size:12px;color:var(--muted)}.is-done .step-number{background:var(--good-soft);border-color:transparent;color:var(--good)}.step-number .icon{width:16px;height:16px}.setup-steps h3{font-size:13px;line-height:1.6;margin:2px 0 8px}.setup-steps p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 14px}.setup-steps .button{padding:9px 12px;font-size:12px;max-width:100%;white-space:normal}.step-complete{font-size:12px;color:var(--good)}
@media(max-width:760px){.setup-steps{grid-template-columns:1fr;gap:0}.setup-steps li{padding:18px 0}.setup-steps li+li{border-top:1px solid var(--line)}.start-guide{padding:20px}.day-stats>div{padding:17px 12px}.day-stats strong{font-size:24px}.day-stats span{font-size:11px}.day-section .appointment{gap:12px}.day-section .appointment time{font-size:13px;flex:0 0 78px}.day-section .appointment>div{min-width:0}.day-section .appointment h3,.day-section .appointment p{overflow-wrap:anywhere}.work-action-row{padding:18px 0}.day-clear{padding:20px}}
@media(max-width:900px){.global-actions{flex-wrap:wrap;gap:4px}.global-actions button{min-height:44px;min-width:44px;padding:8px}.topbar{height:auto}}

.help-search{max-width:820px}.help-article{border-bottom:1px solid var(--line,#e8eaee);padding:8px 0}.help-article summary{cursor:pointer;padding:18px 0;min-height:48px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.help-article p{color:#626974;line-height:1.7}.help-article ol{padding-left:24px}.help-article li{padding:7px 0;line-height:1.75;overflow-wrap:anywhere}.help-support{max-width:820px;margin-top:36px;padding-top:24px;border-top:1px solid #e8eaee}.help-support p{line-height:1.7}.diagnostic-report{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid #e8eaee;border-radius:8px;background:#f6f7f9;font-size:12px;line-height:1.6;max-height:45vh;overflow:auto}
/* Give mobile navigation its own row so content never passes behind the tabs. */
@media screen and (max-width:850px){
 body:has(.mobile-nav){height:100dvh;overflow:hidden;display:flex;flex-direction:column}
 body:has(.mobile-nav)>.reviewbar{flex:none}
 body:has(.mobile-nav)>#app{flex:1;min-height:0;display:flex;flex-direction:column}
 body:has(.mobile-nav) .page{flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain}
 body:has(.mobile-nav) .page>main{padding-bottom:40px}
 body:has(.mobile-nav) .mobile-nav{position:static;flex:none;width:100%;border-top:1px solid var(--line)}
}

.calendar-visit time{white-space:nowrap;overflow-wrap:normal}
@media(max-width:480px){.money-table th,.money-table td{padding-left:8px;padding-right:8px}.money-table th{white-space:nowrap;overflow-wrap:normal;letter-spacing:.03em}.money-table th:first-child,.money-table td:first-child{width:40%}.money-table th:nth-child(2),.money-table td:nth-child(2){width:28%}.money-table th:nth-child(3),.money-table td:nth-child(3){width:32%}}

/* TaskNoll monogram keeps its shape in narrow navigation and customer headers. */
.logomark{font-size:14px;letter-spacing:-1px;flex-shrink:0}.customer-top .logomark{font-size:12px}

/* Brand artwork supplied by the owner, rendered as a compact vector. */
:root{--blue:#087f78;--blue-soft:#eaf8f5}.logomark{background:transparent;border-radius:0}.logomark svg{width:100%;height:100%;display:block}.brand{color:#102737;letter-spacing:-.8px}.primary{background:var(--blue)}@media(prefers-reduced-motion:no-preference){.primary:hover{background:#076d67}}
