:root{--ink:#193531;--muted:#74817b;--green:#244e45;--green-deep:#173a34;--lime:#dce9b5;--cream:#f5f5ef;--line:#e5e8df;--white:#fff;--amber:#926a29;--soft-amber:#fcf4e2;--radius:15px;--shadow:0 8px 36px #18352b08;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);font-size:14px;line-height:1.55}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a5bb7f;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}h1{font-size:34px;font-weight:500}h2{font-size:23px;font-weight:500}h3{font-size:21px;font-weight:500}p+p{margin-top:12px}small{font-size:11px}button{border:0;background:none;color:inherit}input,textarea,select{width:100%;border:1px solid #dce2d7;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);min-width:0}textarea{min-height:110px;resize:vertical}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}input::placeholder,textarea::placeholder{color:#9da79e}.button{display:inline-flex;gap:13px;align-items:center;justify-content:center;padding:12px 19px;border-radius:8px;font-size:12px;font-weight:600;border:1px solid var(--line);white-space:nowrap;background:white;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px);background:#edf0e7}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:#193e35}.button.cream{background:var(--lime);color:var(--green-deep);border-color:var(--lime)}.button.subtle{background:#f4f6ef;border-color:#e5e8de}.button.compact{padding:8px 13px}.button.full{width:100%;justify-content:space-between}.text-button,.row-link{font-size:12px;font-weight:500;color:var(--green);padding:6px 0;text-decoration:none;background:none;border:0}.text-button:hover,.row-link:hover{text-decoration:underline}.icon-button{font-size:26px;width:35px;height:35px;border-radius:50%;background:#f1f3ec}.eyebrow{font-size:9px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:#7b8e79;margin-bottom:12px}.micro{font-size:11px;line-height:1.6;color:var(--muted)}.muted{color:var(--muted)}.wordmark{display:inline-flex;align-items:baseline;font-size:24px;letter-spacing:-1px;font-weight:700;position:relative}.wordmark span{font-weight:400}.wordmark i{height:5px;width:5px;border-radius:50%;background:#9fb878;margin-left:4px}.wordmark.light{color:#f6f7ee}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--green-deep);padding:34px 20px 18px;color:#b6c8bc;display:flex;flex-direction:column;z-index:10}.sidebar .wordmark{margin-left:17px}.workspace-label{font-size:8px;letter-spacing:.19em;margin:45px 15px 13px;color:#77988a}.sidebar nav{display:grid;gap:5px}.nav-item{text-align:left;display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:8px;font-size:12px;color:#b9cbbd;position:relative}.nav-item>span{width:18px;font-size:19px;line-height:18px;opacity:.85}.nav-item:hover{background:#24493d}.nav-item.active{color:#e4edce;background:#315247}.nav-item.active:before{content:'';height:15px;width:3px;background:#cddda9;position:absolute;left:-20px;border-radius:0 3px 3px 0}.nav-item small{margin-left:auto;background:#49684c;border-radius:4px;padding:0 6px;color:#e5eccf}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.local-dot{font-size:10px;display:flex;gap:8px;align-items:center;color:#d4dfbd}.local-dot:before{content:'';height:5px;width:5px;border-radius:50%;background:#bed095}.sidebar-bottom>p{font-size:10px;color:#72968a;margin:7px 0 23px 13px}.user-button{display:flex;align-items:center;gap:9px;padding:14px 0 0;border-top:1px solid #315348;width:100%;text-align:left}.user-button b{font-size:11px;color:#dfe8d7;display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis}.user-button small{display:block;font-size:9px;color:#90ac9a}.user-button>span:last-child{margin-left:auto}.avatar{display:grid;place-items:center;background:#dce7c9;color:var(--green-deep);height:32px;width:32px;border-radius:50%;font-size:12px;font-weight:600}.main-shell{margin-left:226px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:11px;color:#879086;background:#fafbf6}.breadcrumb{color:var(--ink);margin-left:12px}.topbar>div{display:flex;align-items:center;gap:24px}.date-label{font-size:10px;color:var(--muted)}.main-content{padding:35px 38px 25px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-heading .eyebrow{margin-bottom:8px}.page-heading h1{font-size:29px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:10px}.overview-hero{background:var(--green);color:#f7f8ed;border-radius:16px;min-height:270px;display:flex;justify-content:space-between;overflow:hidden;margin-bottom:24px;padding:31px 36px;position:relative}.hero-tag{display:inline-block;border:1px solid #78976c70;background:#8dab6312;padding:5px 9px;border-radius:4px;font-size:8px;letter-spacing:.16em;color:#ccdcb4;margin-bottom:17px}.overview-hero h2{font-size:35px;font-weight:400;line-height:1.14;letter-spacing:-.04em}.overview-hero p{font-size:11px;color:#bed0bb;max-width:360px;margin:14px 0 19px}.overview-hero .button{font-size:11px;padding:10px 14px}.hero-side{min-width:230px;display:flex;align-items:center;justify-content:flex-end;position:relative}.orbit-mark{position:absolute;right:3px;top:-20px;font-size:200px;line-height:1.2;font-weight:200;color:#b9cd9038;transform:rotate(13deg)}.status-card{position:relative;margin-top:130px;padding:13px 16px;background:#20453dbb;border:1px solid #b6ce8e2b;border-radius:10px;backdrop-filter:blur(6px)}.status-card b{font-size:10px;color:#e8efd5}.status-card p{font-size:9px;margin:3px 0 0;color:#afc2a9}.status-dot{display:inline-block;width:5px;height:5px;background:#bfd78e;border-radius:50%;margin-right:7px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.metrics-grid.three{grid-template-columns:repeat(3,1fr)}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px 21px}.metric>span{font-size:10px;color:#748273}.metric>strong{display:block;font-size:32px;font-weight:500;letter-spacing:-.05em;margin:8px 0}.metric>p{font-size:9px;color:#9aa393}.two-column{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.two-column>.panel{margin-bottom:22px}.panel h2{font-size:19px}.panel>p{font-size:12px;margin:10px 0 16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.section-heading .eyebrow{margin-bottom:6px;font-size:8px}.section-heading>span{font-size:10px;color:var(--muted)}.section-heading .tiny-mark{font-size:35px;color:#a4b87c;line-height:1}.table-wrap{overflow-x:auto;margin:0 -4px}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;font-size:9px;font-weight:400;color:#8c958b;padding:10px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 8px;border-bottom:1px solid #eef0e9;color:#405342;vertical-align:middle}tr:last-child td{border-bottom:0}td b{font-size:11px;font-weight:500}td small{display:block;color:#8b9788;font-size:9px;margin-top:3px}td .row-link{font-size:10px;white-space:nowrap}.pill{display:inline-flex;background:#f1f3ec;color:#6b7f68;padding:4px 8px;border-radius:5px;font-size:9px;white-space:nowrap}.pill.good{background:#edf3df;color:#6a813f}.pill.warning{background:var(--soft-amber);color:var(--amber)}.notebook{font-size:14px!important;line-height:1.75;color:#71806e;margin-bottom:20px!important}.notice{background:#f3f5ed;border:1px solid #e5eadb;border-radius:8px;padding:13px 15px;font-size:11px;color:#728365;margin:13px 0 22px;line-height:1.7}.notice.warning{background:var(--soft-amber);color:#8e713f;border-color:#f2e5c6}.notice ul{padding-left:17px;margin:7px 0 0}.mini-finance{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.mini-finance span,.mini-finance small{display:block;font-size:9px;color:var(--muted)}.mini-finance strong{display:block;font-size:25px;font-weight:400;margin:6px 0}.workspace-footer{max-width:1700px;margin:auto;padding:0 38px 25px;font-size:9px;color:#929b8a;display:flex;justify-content:space-between;align-items:center}.workspace-footer button{font-size:9px}.empty{padding:35px 18px;text-align:center;max-width:500px;margin:auto}.empty-icon{color:#a3b879;font-size:26px}.empty h3{font-size:16px;margin:9px 0}.empty p{font-size:11px;color:var(--muted);line-height:1.8}.field{display:grid;gap:7px;margin-bottom:16px;font-size:12px}.field>span{color:#61745b;font-size:11px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:24px}.form-error{font-size:12px;color:#a74b36;margin-top:12px;white-space:pre-wrap}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;color:#637461;margin:17px 0}.check-label input{margin:2px 0 0}.divider{border-top:1px solid var(--line);margin:22px 0}.pre-wrap{white-space:pre-wrap;line-height:1.9;font-size:12px;color:#5f7358;padding:12px 4px}.log-entry{border-bottom:1px solid var(--line);padding:15px 0}.log-entry:last-child{border-bottom:0}.log-entry summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none}.log-entry summary b{font-size:11px;font-weight:500;flex:1}.log-entry summary>span:last-child{font-size:9px;color:var(--muted)}.goal{display:flex;gap:12px;margin-bottom:18px}.goal>span{color:#a7ba7c}.goal b{font-size:12px;font-weight:500}.goal p{font-size:10px;color:var(--muted);margin:6px 0}.goal .text-button{font-size:10px}.pipeline-summary{display:grid;grid-template-columns:repeat(6,1fr);margin-bottom:24px;background:#eef1e7;border-radius:12px;overflow:hidden}.pipeline-summary>div{padding:16px;border-right:1px solid #dfe5d4}.pipeline-summary span{display:block;font-size:9px;color:#809177}.pipeline-summary b{font-size:22px;font-weight:400}.section-heading form{display:flex;gap:8px}.section-heading input{font-size:11px;padding:8px 10px;width:220px}.review-row,.connection-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.review-row b{font-size:12px;font-weight:500}.review-row p{font-size:10px;color:var(--muted);margin:4px 0}.connection-row b{font-size:12px;min-width:60px}.connection-row span{font-size:11px;color:var(--muted)}.funnel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.funnel-card>p{font-size:11px;line-height:1.7}.funnel-mini{background:#e8eddb;min-height:170px;border-radius:10px;padding:18px 23px;margin-bottom:20px;display:flex;flex-direction:column;align-items:flex-start;background-image:radial-gradient(ellipse at right,#c6d5a3,transparent 65%)}.funnel-mini>span{font-size:8px;font-weight:700;letter-spacing:.05em}.funnel-mini strong{font-size:22px;font-weight:400;line-height:1.15;margin:15px 0}.funnel-mini i{font-size:7px;font-style:normal;padding:6px 9px;background:var(--green);color:#fff;border-radius:3px}.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.payload{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f6f0;padding:17px;border-radius:9px;max-height:50vh;overflow-y:auto;font-size:10px;color:#63745e}.date-form{display:flex;align-items:flex-end;gap:14px;margin-bottom:20px}.date-form .field{margin:0}.method{margin:18px 0 5px;color:var(--muted);font-size:10px}.method summary{cursor:pointer;font-size:11px;color:var(--green)}.method p{margin-top:9px}.voided{opacity:.45;text-decoration:line-through}.activity{display:flex;gap:13px;margin:15px 0;font-size:11px}.activity small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.activity-dot{height:7px;width:7px;border-radius:50%;background:#c1cf9e;margin-top:5px}.narrow{max-width:700px}.narrow .text-button{margin-left:20px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0}.detail-grid span{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.detail-grid b{font-size:11px;font-weight:500}.attachment-list{display:flex;overflow-x:auto;gap:10px;margin:15px 0}.attachment-list>a{min-width:100px;max-width:130px;border:1px solid var(--line);border-radius:8px;padding:6px}.attachment-list img{width:100%;height:75px;object-fit:cover;border-radius:5px}.attachment-list small{display:block;font-size:9px;overflow-wrap:anywhere}.attachment-list span{display:block;font-size:32px;text-align:center}.loading{display:grid;place-items:center;min-height:100vh;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:min(600px,90vw);background:var(--green-deep);color:white;padding:14px 22px;border-radius:10px;font-size:12px;z-index:1000;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8a4935}dialog{border:1px solid #dee5d5;border-radius:18px;max-width:740px;width:calc(100% - 40px);max-height:90vh;padding:28px 32px;color:var(--ink);box-shadow:0 20px 100px #142f3240}dialog::backdrop{background:#12352b66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:12px}.modal-head .eyebrow{margin-bottom:7px}.modal-head h2{font-size:24px}#modal-content>.muted{font-size:12px;margin:14px 0 22px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-art{background:var(--green-deep);color:#f6f8e8;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;background-image:radial-gradient(ellipse at left bottom,#668a4e66,transparent 60%)}.auth-art h1{font-size:55px;line-height:1.12;font-weight:400}.auth-art>div>p:last-child{font-size:13px;color:#bfd0b2;max-width:340px;margin-top:25px}.auth-art .eyebrow{color:#a5bf8e}.auth-art>.micro{color:#759276;font-size:9px;letter-spacing:.15em}.auth-form{max-width:470px;width:100%;padding:60px 50px;align-self:center;justify-self:center}.auth-form>p:not(.eyebrow){font-size:12px;color:var(--muted);margin:15px 0 26px}.auth-form h2{font-size:31px}.auth-form form{margin-top:30px}.auth-form .full{margin-top:24px}.auth-foot{font-size:9px!important;margin-top:40px!important;text-align:center}
/* Public assessment */
.funnel-page{background:#f7f7ef}.preview-strip{background:#e8ecd9;color:#6a7e53;text-align:center;padding:7px 15px;font-size:8px;letter-spacing:.16em}.public-nav{display:flex;align-items:center;justify-content:space-between;padding:30px max(6vw,25px);max-width:1500px;margin:auto}.public-nav>span{font-size:10px;color:var(--muted)}.small-cta{font-size:10px;padding-bottom:4px;border-bottom:1px solid var(--green)}.landing-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;padding:50px max(6vw,25px) 65px;max-width:1500px;margin:auto}.landing-hero h1{font-size:clamp(40px,4.6vw,69px);font-weight:400;line-height:1.06;white-space:pre-line;letter-spacing:-.065em}.landing-hero .eyebrow{margin-bottom:23px}.hero-description{font-size:14px;line-height:1.8;color:#7c8975;max-width:420px;margin:25px 0}.landing-hero .button{padding:15px 23px;font-size:12px}.landing-hero .micro{margin-top:14px;font-size:10px}.property-illustration{height:420px;border-radius:180px 180px 14px 14px;background:#d9e2c0;position:relative;overflow:visible;margin:10px 15px 0 30px}.arch{height:310px;background:linear-gradient(#b8cfa7,#e5e6ba);border-radius:170px 170px 0 0;position:relative;overflow:hidden;border:20px solid #c3d0a4;border-bottom:0;margin:25px 35px 0}.sun{width:70px;height:70px;border-radius:50%;background:#f2e7b0;position:absolute;right:25%;top:50px}.city{position:absolute;bottom:0;background:#68866a}.city-one{width:65px;height:110px;left:15%;box-shadow:inset -10px 0 #89a37e}.city-two{width:75px;height:160px;left:45%;box-shadow:inset -12px 0 #a7b78d;background:#7b987a}.city-three{width:65px;height:80px;right:-5%;background:#9cad81}.window-frame{position:absolute;inset:0;border-bottom:12px solid #b4c195;background:linear-gradient(to right,transparent calc(50% - 3px),#b4c195 calc(50% - 3px),#b4c195 calc(50% + 3px),transparent calc(50% + 3px))}.illustration-caption{position:absolute;bottom:20px;left:35px}.illustration-caption span{font-size:7px;letter-spacing:.14em;color:#779369;display:block;margin-bottom:5px}.illustration-caption strong{font-size:25px;line-height:1.1;font-weight:400;color:#476740}.floating-note{position:absolute;bottom:115px;left:-30px;background:#fffdfa;padding:15px 23px;border-radius:10px;box-shadow:0 12px 35px #4a633222;font-size:10px;color:#8a957b;transform:rotate(-5deg)}.floating-note b{color:var(--green);font-weight:500}.service-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e1e5d7;border-bottom:1px solid #e1e5d7;max-width:1200px;margin:auto;padding:28px 20px;gap:30px}.service-strip>div{text-align:center}.service-strip strong{display:block;font-size:23px;font-weight:400}.service-strip span{font-size:9px;color:#8b987f;display:block;margin-top:5px}.public-process{max-width:1200px;margin:auto;padding:80px 25px}.public-process h2{font-size:34px;font-weight:400}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-top:40px}.process-grid article>span{font-size:10px;color:#99ab7d;padding-bottom:12px;display:block}.process-grid h3{font-size:19px;font-weight:400;margin-bottom:13px}.process-grid p{font-size:12px;color:#89977b;line-height:1.9}.assessment-section{background:#eaf0dd;padding:70px max(6vw,25px);display:grid;grid-template-columns:1fr 1.2fr;gap:80px;scroll-margin-top:20px}.assessment-intro{max-width:390px;justify-self:end;padding-top:25px}.assessment-intro h2{font-size:43px;line-height:1.1;font-weight:400;margin-bottom:24px}.assessment-intro>p:not(.eyebrow){font-size:12px;color:#7d8e6b;line-height:1.8;margin-bottom:20px}.assessment-intro>.micro{font-size:10px!important}.quiz-card{background:#fff;border-radius:15px;padding:30px 35px;max-width:550px;min-width:0;box-shadow:0 14px 45px #6b86560b}.quiz-progress{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.13em;color:#94a17f;margin-bottom:12px}.quiz-progress b{font-weight:400}.quiz-card progress{height:3px;width:100%;appearance:none;border:0;background:#edf0e5;color:#8aa860;display:block;margin-bottom:25px}.quiz-card progress::-webkit-progress-bar{background:#edf0e5}.quiz-card progress::-webkit-progress-value{background:#93aa70}.quiz-card h3{font-size:25px;font-weight:400;margin-bottom:25px}.quiz-card p{font-size:12px;line-height:1.8;color:#7c8e6b;margin:15px 0}.quiz-card .field{margin-bottom:18px}.quiz-card .form-actions{justify-content:space-between}.quiz-card .micro{font-size:10px!important}.success-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#edf3df;color:#7b9d52;font-size:20px;margin-bottom:20px}.upload-section{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.upload-section h4{font-size:16px;font-weight:400}.upload-label{border:1px dashed #b3c49c;padding:16px;border-radius:8px;display:block;background:#f7f9f2;font-size:11px;color:var(--green)}.upload-label input{border:0;padding:10px 0 0;font-size:10px;background:transparent}.upload-label input::file-selector-button{background:#e7eddc;border:0;border-radius:4px;color:#6c8256;padding:6px 10px;margin-right:8px}#upload-results{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6c805c;margin-bottom:15px}.public-footer{padding:45px max(6vw,25px);max-width:1200px;margin:auto}.public-footer>p{font-size:10px;color:#8b987e;margin:15px 0;max-width:800px}.public-footer .micro{font-size:9px}.public-footer .text-button{font-size:9px}.consent-banner{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(740px,calc(100% - 30px));background:#fffef9;border:1px solid #dbe3ca;box-shadow:0 10px 60px #263e2820;padding:18px 22px;border-radius:12px;z-index:100;display:flex;align-items:center;gap:25px}.consent-banner[hidden]{display:none}.consent-banner p{font-size:11px;color:#7e8c6d}.consent-banner>div{display:flex;gap:8px}.consent-banner .button{font-size:10px;padding:10px 12px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(min-width:1500px){.main-content{padding-top:42px}.overview-hero{min-height:300px}.overview-hero h2{font-size:42px}.overview-hero p{max-width:450px;font-size:13px}.overview-hero .button{font-size:12px}.metric{padding:25px}.metric>strong{font-size:37px}.metric>span{font-size:12px}.metric>p{font-size:11px}table{font-size:12px}}
@media(max-width:1100px){.sidebar{width:195px;padding-left:14px;padding-right:14px}.main-shell{margin-left:195px}.main-content{padding:28px 24px}.topbar{padding:0 24px}.metrics-grid{gap:10px}.metric{padding:17px 14px}.metric>strong{font-size:27px}.two-column{grid-template-columns:1fr}.overview-hero{padding:28px}.hero-side{min-width:180px}.page-heading h1{font-size:26px}.status-card{max-width:200px}.pipeline-summary{grid-template-columns:repeat(3,1fr)}.landing-hero{gap:20px}.property-illustration{height:360px;margin-left:20px}.arch{height:255px;margin:20px 22px 0}.assessment-section{gap:35px}.assessment-intro h2{font-size:36px}.auth-art{padding:45px}.auth-art h1{font-size:44px}}
@media(max-width:760px){h1{font-size:27px}.sidebar{position:sticky;width:100%;height:auto;padding:14px 16px 0;top:0;z-index:50}.sidebar .wordmark{margin-left:4px;font-size:21px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;padding:12px 0 8px;gap:6px}.nav-item{padding:8px 10px;font-size:10px;white-space:nowrap}.nav-item>span,.nav-item small{display:none}.nav-item.active:before{display:none}.main-shell{margin-left:0}.topbar{height:56px;padding:0 20px}.date-label{display:none}.topbar .button{font-size:10px;padding:7px 10px}.main-content{padding:24px 17px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:25px}.page-heading p:not(.eyebrow){font-size:11px}.page-heading>.button{font-size:10px;padding:9px}.overview-hero{padding:24px;min-height:275px}.overview-hero h2{font-size:31px}.overview-hero p{max-width:240px;font-size:10px}.hero-side{min-width:50px;width:50px}.status-card{display:none}.orbit-mark{right:-50px;top:25px;font-size:150px;opacity:.7}.metrics-grid,.metrics-grid.three{grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:17px}.metric>strong{font-size:28px}.metric>span{font-size:10px}.metric>p{font-size:9px}.panel{padding:20px 16px}.section-heading{align-items:flex-start}.section-heading h2{font-size:17px}.section-heading form{max-width:200px}.section-heading input{width:130px}.section-heading form button{padding:7px;font-size:9px}.workspace-footer{padding:0 20px 20px;font-size:8px}.workspace-footer .text-button{font-size:8px}.funnel-grid{grid-template-columns:1fr}.pipeline-summary>div{padding:12px}.pipeline-summary span{font-size:8px}.date-form{gap:8px}.date-form .field{max-width:135px}.date-form .field input{font-size:10px;padding:8px}.date-form .button{font-size:10px;padding:9px}.log-entry summary{gap:7px}.log-entry summary b{font-size:10px}.log-entry summary>span:last-child{display:none}.review-row{align-items:flex-start;gap:10px}.review-row .button{font-size:9px}.form-grid{gap:10px}.detail-grid{gap:13px}.connection-row{display:block}.connection-row b{display:block;margin-bottom:6px}.auth-layout{grid-template-columns:1fr}.auth-art{padding:27px 30px;min-height:250px}.auth-art h1{font-size:36px}.auth-art>div{margin-top:35px}.auth-art>div>p:last-child,.auth-art>.micro{display:none}.auth-art .eyebrow{font-size:8px}.auth-form{padding:35px 25px}.auth-form h2{font-size:27px}dialog{padding:23px 20px;max-height:88vh}.modal-head h2{font-size:21px}.public-nav{padding:22px}.public-nav>span{display:none}.public-nav .wordmark{font-size:22px}.landing-hero{grid-template-columns:1fr;padding:25px 25px 35px;gap:40px}.landing-hero h1{font-size:48px;max-width:500px}.hero-description{font-size:13px}.property-illustration{height:290px;max-width:350px;width:75%;margin:0 auto 15px}.arch{height:215px;border-width:15px}.city-two{height:120px}.city-one{height:85px}.sun{height:55px;width:55px;top:30px}.illustration-caption{left:25px;bottom:14px}.illustration-caption strong{font-size:20px}.illustration-caption span{font-size:6px}.floating-note{bottom:80px;left:-25px;font-size:9px;padding:12px 18px}.service-strip{gap:15px;padding:23px 15px}.service-strip strong{font-size:17px}.service-strip span{font-size:8px}.public-process{padding:50px 25px}.public-process h2{font-size:29px}.process-grid{grid-template-columns:1fr;gap:25px;margin-top:30px}.process-grid article>span{padding-bottom:6px}.process-grid h3{font-size:18px;margin-bottom:9px}.process-grid p{font-size:12px}.assessment-section{grid-template-columns:1fr;padding:45px 20px;gap:20px}.assessment-intro{justify-self:start;max-width:none;padding-top:0}.assessment-intro h2{font-size:35px}.assessment-intro>p{max-width:500px}.quiz-card{padding:25px 22px;width:100%;max-width:none}.quiz-card h3{font-size:23px}.consent-banner{display:block;padding:16px 18px}.consent-banner>div{margin-top:12px;justify-content:flex-end}.public-footer{padding:35px 25px}.form-actions .button{font-size:11px;padding:11px 14px}}

.account-shortcut{width:28px;height:28px;border-radius:50%;background:#e8eddd;color:#607749;font-size:10px;flex-shrink:0}
@media(max-width:760px){.topbar>div{gap:12px}}

/* Direct questionnaire: no landing-page sections. Scoped to the public form. */
.form-funnel{background:#fff;color:#172621;min-height:100dvh;display:flex;flex-direction:column}
.form-funnel .preview-strip{font-size:9px;letter-spacing:.06em;padding:7px 15px}
.form-header{max-width:920px;width:100%;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:25px 32px;border-bottom:1px solid #e5e8e6}
.form-header>span:last-child{font-size:12px;color:#5b6962}
.form-main{width:100%;max-width:740px;margin:0 auto;padding:38px 32px 50px;flex:1}
.question-stage{min-width:0}
.form-progress{display:flex;justify-content:space-between;font-size:12px;color:#53635a;margin-bottom:10px}
.question-stage progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:3px;background:#e9eeea;color:#244e45;margin-bottom:35px}
.question-stage progress::-webkit-progress-bar{background:#e9eeea;border-radius:3px}
.question-stage progress::-webkit-progress-value{background:#244e45;border-radius:3px}
.question-stage h1{font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-.03em;margin-bottom:18px;white-space:pre-line}
.question-stage h1:focus{outline:none}
.question-hint{font-size:16px;color:#54645b;line-height:1.65;margin:0 0 26px}
.question-stage form{margin-top:27px}
.question-stage .field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.question-stage .field>span{font-size:14px;font-weight:600;color:#253e32}
.question-stage input:not([type=radio]):not([type=checkbox]){font-size:19px;padding:15px 16px;border-radius:6px;border-color:#a7b6ac;min-height:56px}
.answer-choices{border:0;padding:0;margin:0;display:grid;gap:11px;min-width:0}
.answer-choice{display:flex;position:relative;align-items:center;gap:12px;padding:16px;border:1px solid #adbcb2;border-radius:6px;cursor:pointer;font-size:17px;line-height:1.4;background:#fff;min-height:62px}
.answer-choice:hover{background:#f3f7f4;border-color:#244e45}
.answer-choice:has(input:checked){border-color:#244e45;background:#edf5ef;box-shadow:inset 0 0 0 1px #244e45}
.answer-choice:focus-within{outline:3px solid #a5bb7f;outline-offset:3px}
.answer-choice input{position:absolute;opacity:0;width:1px;height:1px;padding:0}
.answer-key{border:1px solid #a7b6ac;border-radius:3px;display:grid;place-items:center;height:25px;min-width:25px;font-size:12px;background:#fff}
.answer-tick{margin-left:auto;visibility:hidden;color:#244e45;font-weight:700}
.answer-choice:has(input:checked) .answer-tick{visibility:visible}
.question-actions{display:flex;align-items:center;gap:22px;margin-top:22px;flex-wrap:wrap}
.question-actions .button{font-size:17px;padding:15px 24px;border-radius:6px;min-height:54px}
.question-actions .text-button{font-size:14px}
.keyboard-hint{font-size:12px;color:#65726a}
.question-stage .form-error{font-size:14px;color:#a62a24;margin-top:16px}
.question-stage .check-label{font-size:13px;line-height:1.7;color:#3c5144}
.question-stage .micro{font-size:12px;color:#64736a;margin-top:14px}
.question-stage .notice{margin:20px 0;font-size:14px}
.question-stage>p:not([class]){margin:16px 0;line-height:1.8}
.form-footer{width:100%;max-width:740px;margin:0 auto;padding:10px 32px 24px;font-size:11px;color:#66766b}
.form-footer>p{margin-bottom:13px}
.form-footer details{line-height:1.8;max-width:630px}
.form-footer summary{cursor:pointer}
.form-footer details p{margin-top:10px}
.form-footer .text-button{font-size:11px;margin-top:8px}
.form-measurement{border-top:1px solid #e4eae5;padding-top:12px;margin-top:12px}
.form-measurement[hidden]{display:none}
.form-measurement>div{display:flex;gap:24px}
@media(max-width:600px){.form-header{padding:18px 22px}.form-header .wordmark{font-size:22px}.form-header>span:last-child{font-size:11px}.form-main{padding:28px 22px 36px}.question-stage h1{font-size:29px}.question-hint{font-size:14px}.question-stage progress{margin-bottom:28px}.answer-choice{padding:14px 12px;font-size:16px}.form-footer{padding:10px 22px 24px}.keyboard-hint{display:none}.question-actions{gap:24px}.question-stage .field>span{font-size:13px}}

/* Everyday work: visible actions, short lists, and readable controls. */
.workspace .page-heading .eyebrow{display:none}
.workspace .page-heading h1{font-size:29px;font-weight:700}
.workspace .page-heading p:not(.eyebrow){font-size:14px;max-width:720px}
.workspace .nav-item{font-size:13px}
.workspace .button{font-size:13px}
.workspace table{font-size:13px}
.workspace .field>span{font-size:13px}
.workspace input,.workspace select,.workspace textarea{font-size:15px}
.daily-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}
.daily-count{padding:21px 24px;background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left;display:flex;align-items:center;gap:17px}
.daily-count strong{font-size:32px;line-height:1;font-weight:600}
.daily-count span{font-size:14px}
.daily-count:hover,.daily-count.selected{border-color:var(--green);background:#eef3e9}
.filter-chips,.workspace-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.filter-chips button,.workspace-tabs button{font-size:13px;min-height:42px;padding:9px 14px;border:1px solid #d8dfd4;border-radius:6px;background:#fff}
.filter-chips button[aria-pressed=true],.workspace-tabs button[aria-selected=true]{color:#fff;background:var(--green);border-color:var(--green)}
.filter-chips button span{font-size:12px;margin-left:4px;opacity:.75}
.action-list{display:grid}
.action-item{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:18px 0;border-top:1px solid var(--line)}
.action-item:first-child{border-top:0}
.action-item>div{min-width:0}
.action-item b{font-size:15px;display:block;overflow-wrap:anywhere}
.action-item span{display:block;font-size:12px;color:var(--muted);margin:3px 0}
.action-item p{font-size:14px;color:#3c5749}
.action-item button{flex-shrink:0}
.portfolio-line{display:flex;gap:28px;flex-wrap:wrap;font-size:13px;color:#637367;margin:12px 0 24px}
.agent-status{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:12px;color:#667668;margin-bottom:23px}
.mission-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:22px}
.mission-shortcuts .button{justify-content:space-between;white-space:normal;text-align:left;min-height:60px;font-size:14px}
.custom-mission{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}
.custom-mission summary{cursor:pointer;font-size:13px}
.custom-mission form{margin-top:18px}
.workspace .log-entry summary b{font-size:13px}
.workspace .log-entry .pre-wrap{font-size:13px;line-height:1.8}
.next-action{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#edf3e8;padding:18px;border:1px solid #dce6d3;border-radius:8px;margin:18px 0 24px}
.next-action span{display:block;font-size:11px;color:#627358;margin-bottom:6px}
.next-action b{font-size:14px;font-weight:500}
.next-action .button{white-space:normal;min-width:145px}
.workspace .panel>p.muted{font-size:14px;line-height:1.7;margin-top:10px}
.form-funnel{background:#f6f7f3}
.form-header{max-width:1020px;border-bottom:0;padding:22px 32px}
.form-main{max-width:740px;display:flex;align-items:center;padding:25px 32px 32px}
.question-stage{width:100%;padding:32px;background:#fff;border:1px solid #e1e6df;border-radius:10px}
.question-stage h1{font-size:30px}
.question-stage progress{height:4px;margin-bottom:28px}
.form-progress{font-size:12px}
.form-footer{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:6px;padding:0 32px 20px;align-items:baseline}
.form-footer details{max-width:100%}
.form-footer details[open]{flex-basis:100%}
.form-footer .text-button{margin-top:0;padding:0}
.form-measurement{flex-basis:100%}
.question-actions{flex-direction:row-reverse;justify-content:space-between;gap:16px}
.question-actions .button{font-size:16px;min-height:50px;padding:13px 24px}
.form-result .form-main{align-items:flex-start}
@media(max-width:760px){.workspace .nav-item{font-size:12px;min-height:40px}.workspace .button{font-size:12px}.daily-counts{gap:9px}.daily-count{padding:15px 12px;display:block}.daily-count strong{font-size:28px;display:block;margin-bottom:10px}.daily-count span{font-size:12px}.workspace .section-heading form{max-width:none}.workspace .section-heading input{width:100%;font-size:14px}.action-item p{font-size:13px}.action-item b{font-size:14px}.portfolio-line{gap:14px;font-size:12px}.filter-chips{gap:7px}.filter-chips button,.workspace-tabs button{font-size:12px;padding:9px 11px}.mission-shortcuts{grid-template-columns:1fr}.next-action{display:block}.next-action .button{width:100%;margin-top:15px}.workspace .log-entry summary{flex-wrap:wrap}.workspace .log-entry summary b{font-size:12px;flex-basis:70%}}
@media(max-width:600px){.form-funnel{background:#fff}.form-header{padding:16px 22px;border-bottom:1px solid #edf0e9}.form-main{padding:28px 22px;align-items:flex-start}.question-stage{padding:0;border:0;border-radius:0}.question-stage h1{font-size:28px}.form-footer{padding:0 22px 20px}.form-footer details{font-size:11px}.question-actions{margin-top:24px}}
.property-details{margin:18px 0;border-top:1px solid var(--line);padding-top:15px}
.property-details summary{font-size:13px;cursor:pointer;margin-bottom:14px}
.property-details .detail-grid{margin-top:18px}
.onboarding h2{font-size:24px;margin:18px 0 12px}
.onboarding .button,.onboarding+.panel .button{margin-top:22px}

/* Navigation follows daily work, growth, and owner administration. */
.workspace .sidebar{padding:24px 16px 16px}
.sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.workspace .sidebar .wordmark{margin-left:14px}
.workspace .sidebar-nav{display:block;flex:1;min-height:0;overflow-y:auto;margin-top:22px;padding:0 0 8px}
.nav-group{margin:0 0 23px}
.nav-group-label{font-size:9px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:#87aa9b;margin:0 14px 10px;line-height:1.4}
.nav-links{display:grid;gap:3px}
.workspace .nav-links .nav-item{width:100%;min-height:42px;padding:10px 14px}
.workspace .nav-item.active:before{display:none}
.workspace .sidebar-bottom{padding:12px 10px 0;flex-shrink:0}
.workspace .sidebar-bottom>p{margin:5px 0 12px 13px}
.workspace .user-button{padding-top:12px}
.mobile-menu-toggle{display:none}
.report-pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:16px;background:#fff}
.report-pipeline article{padding:22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.report-pipeline article:nth-child(4n){border-right:0}
.report-pipeline article:nth-last-child(-n+4){border-bottom:0}
.report-pipeline strong{display:block;font-size:30px;line-height:1.2;font-weight:500;margin-bottom:9px}
.report-pipeline span{font-size:13px;color:#66766b}
.report-context{font-size:12px;color:#66766b;margin:0 0 24px;line-height:1.9}
.source-list{margin-top:20px}
.source-list>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}
.source-list>div:last-child{border-bottom:0}
@media(max-width:760px){
 .workspace .sidebar{padding:10px 18px;position:sticky;top:0}
 .workspace .sidebar .wordmark{margin-left:0}
 .mobile-menu-toggle{display:inline-flex;align-items:center;gap:12px;font-size:13px;color:#e0eadf;min-height:44px;padding:8px}
 .mobile-menu-toggle>span{font-size:22px}
 .workspace .sidebar-nav{display:none;margin-top:16px;max-height:65vh;overflow-y:auto;flex:none}
 .workspace .menu-open .sidebar-nav{display:block}
 .nav-group{margin-bottom:18px}
 .nav-group-label{font-size:9px;margin-left:10px;margin-bottom:7px}
 .nav-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .workspace .nav-links .nav-item{font-size:13px;padding:11px 10px;white-space:normal;min-height:44px}
 .report-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-pipeline article{padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
 .report-pipeline article:nth-child(4n){border-right:0}
 .report-pipeline article:nth-child(2n){border-right:0}
 .report-pipeline article:nth-last-child(-n+4){border-bottom:1px solid var(--line)}
 .report-pipeline article:nth-last-child(-n+2){border-bottom:0}
 .workspace .date-form{flex-wrap:wrap}
 .workspace .date-form .field{max-width:none;flex:1;min-width:120px}
 .workspace .date-form .field input{font-size:14px;max-width:100%}
 .workspace .date-form .button{font-size:13px;min-height:42px}
}
.source-list span{min-width:0;overflow-wrap:anywhere}
.workspace main h1:focus{outline:none}

/* Owner questionnaire: a short promise, then one focused topic at a time. */
.form-funnel{background:linear-gradient(180deg,#faf9f5 0%,#f0f7f3 100%)}
.form-funnel .form-main{display:block;max-width:820px;padding:12px 28px 42px}
.form-intro{text-align:center;margin:0 auto 24px;max-width:720px}
.form-intro[hidden]{display:none}
.form-intro h1{font-size:clamp(28px,3.2vw,42px);line-height:1.14;letter-spacing:-.035em;font-weight:750;color:#142821;margin:0 auto 12px;max-width:700px}
.form-intro p{font-size:15px;line-height:1.55;color:#5b6963;max-width:530px;margin:0 auto}
.form-time{display:flex;justify-content:center;align-items:center;gap:24px;color:#0d5140;font-size:13px;font-weight:600;margin-top:14px}
.form-time>span[aria-hidden]{font-size:30px;font-weight:400;line-height:1}
.form-funnel .question-stage{padding:30px 34px;border:1px solid #e3e0d7;border-radius:20px;box-shadow:0 20px 45px -32px #164f3b66}
.form-funnel .question-stage h2{font-size:30px;font-weight:750;line-height:1.22;letter-spacing:-.03em;margin:0 0 18px;color:#14231e}
.form-funnel #question-title:focus{outline:none}
.form-funnel .question-stage progress{height:6px;background:#f0eee7;margin:0 0 16px;border-radius:9px}
.form-funnel .question-stage progress::-webkit-progress-bar{background:#f0eee7;border-radius:9px}
.form-funnel .question-stage progress::-webkit-progress-value{background:#13765b;border-radius:9px}
.form-funnel .form-progress{font-size:13px;margin-bottom:22px;color:#66736d}
.form-funnel .question-stage form{margin-top:23px}
.form-funnel .answer-choice{border:1.5px solid #e2dfd6;border-radius:12px;padding:15px 18px;min-height:59px;font-size:17px;gap:14px}
.form-funnel .answer-choice:has(input:checked){background:#edf7f2;border-color:#0d5140;box-shadow:inset 0 0 0 .5px #0d5140}
.form-funnel .answer-circle{width:22px;height:22px;min-width:22px;border:1.5px solid #8c9690;border-radius:50%;background:white;display:grid;place-items:center}
.form-funnel .answer-choice:has(input:checked) .answer-circle{border-color:#0d5140}
.form-funnel .answer-choice:has(input:checked) .answer-circle::after{content:'';width:12px;height:12px;border-radius:50%;background:#0d5140}
.form-funnel .question-actions{margin-top:24px;flex-wrap:nowrap}
.form-funnel .question-actions .button{background:#0d5140;color:white;border-color:#0d5140;border-radius:12px;padding:14px 25px;min-height:50px}
.form-funnel .question-actions .text-button{color:#0d5140;border:1.5px solid #0d5140;padding:12px 22px;min-height:50px;border-radius:12px;font-weight:600;text-decoration:none;font-size:15px}
.form-funnel .question-stage select,.form-funnel .question-stage input:not([type=radio]):not([type=checkbox]){font-size:17px;border:1.5px solid #deddd3;background:#fff;border-radius:10px;padding:14px 16px;min-height:54px;width:100%;color:#14231e}
.form-funnel .answer-choices legend{font-size:16px;font-weight:650;line-height:1.5;margin-bottom:12px}
.form-funnel .answer-choices+.answer-choices{margin-top:26px}
.form-funnel .optional-detail{margin-top:22px;font-size:14px;color:#52645a}
.form-funnel details.optional-detail summary{cursor:pointer;margin-bottom:12px}
.form-funnel [data-unit-input][hidden]{display:none}
.form-funnel .question-hint{font-size:15px;line-height:1.6;margin-bottom:22px}
.form-funnel .question-stage .check-label{margin-top:20px}
@media(max-width:600px){.form-funnel .form-header{border:0;padding:16px 20px}.form-funnel .form-main{padding:8px 14px 28px}.form-funnel .form-intro{margin-bottom:20px;padding:0 5px}.form-funnel .form-intro h1{font-size:28px}.form-funnel .form-intro p{font-size:14px}.form-funnel .question-stage{padding:24px 20px;border-radius:17px}.form-funnel .question-stage h2{font-size:25px}.form-funnel .answer-choice{font-size:16px;padding:14px;min-height:58px}.form-funnel .question-actions .button{font-size:15px;padding:13px 18px}.form-funnel .question-actions .text-button{padding:12px 18px}.form-funnel .form-footer{padding:0 22px 20px}.form-funnel .question-stage select,.form-funnel .question-stage input:not([type=radio]):not([type=checkbox]){font-size:16px}}

/* Friendly owner funnel typography and a short, useful confirmation. */
.form-funnel{font-family:ui-rounded,'SF Pro Rounded','Avenir Next',system-ui,-apple-system,'Segoe UI',sans-serif}
.form-funnel .question-stage form>.micro:first-child{margin:0 0 15px;line-height:1.45}
.form-funnel.form-result .form-main{max-width:700px;padding-top:12px}
.form-funnel.form-result .question-stage{padding:32px 36px}
.success-welcome .success-check{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e6f4e9;color:#15734f;font-size:25px;margin-bottom:15px}
.success-welcome .success-kicker{font-size:16px;font-weight:650;color:#15734f;margin:0 0 7px;letter-spacing:0}
.form-funnel .success-welcome h1{font-size:34px;line-height:1.13;font-weight:750;letter-spacing:-.035em;margin:0 0 15px;max-width:520px;color:#142c24}
.success-welcome .success-intro{font-size:16px;line-height:1.55;color:#52645a;margin:0}
.call-benefits{list-style:none;padding:0;margin:20px 0 25px;display:grid;gap:12px;font-size:16px;line-height:1.4;color:#233f32}
.call-benefits li{display:flex;gap:10px;align-items:flex-start}
.call-benefits li>span{font-size:16px;color:#15734f;flex:none}
.photo-head-start{background:#edf6ef;border:1px solid #d9eade;border-radius:15px;padding:21px 23px}
.form-funnel .photo-head-start h2{font-size:20px;letter-spacing:-.025em;font-weight:700;margin:0 0 7px}
.photo-head-start>p{font-size:15px;line-height:1.5;color:#4d6255;margin:0 0 17px}
.photo-head-start .button{min-height:50px;font-size:16px;border-radius:11px;padding:13px 20px;background:#12543f;border-color:#12543f}
.photo-head-start .photo-match{font-size:12px;line-height:1.5;margin:10px 0 0;color:#546e5d}
.form-funnel .question-stage>.success-reassurance{font-size:13px;line-height:1.5;color:#5d7263;margin:18px 0 0;text-align:center}
@media(max-width:600px){.form-funnel.form-result .form-main{padding:6px 14px 24px}.form-funnel.form-result .question-stage{padding:24px 21px}.form-funnel .success-welcome h1{font-size:29px}.success-welcome .success-intro{font-size:15px}.call-benefits{font-size:15px;gap:11px;margin:18px 0 22px}.photo-head-start{padding:18px}.photo-head-start .button{width:100%;white-space:normal}.form-funnel .photo-head-start h2{font-size:19px}.success-welcome .success-check{width:39px;height:39px;font-size:23px;margin-bottom:13px}}

/* Keep lead removal and recovery within the existing pipeline. */
.lead-row-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.text-button.danger{color:#9d3131}
.text-button.danger:hover{color:#762020;text-decoration:underline}

/* Staff workspace: readable text and a ranked, actionable work queue. */
.workspace{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.55;--muted:#586b62}
.workspace .sidebar{width:240px;padding:24px 16px 16px}
.workspace .main-shell{margin-left:240px}
.workspace .main-content{padding:30px 32px;max-width:1600px}
.workspace .wordmark{font-size:28px}
.workspace .nav-group-label{font-size:12px;letter-spacing:.12em;margin-bottom:8px}
.workspace .nav-links .nav-item{font-size:16px;min-height:48px;padding:11px 14px}
.workspace .nav-item small{font-size:13px}
.workspace .topbar{font-size:14px;padding:0 32px}
.workspace .date-label,.workspace .sidebar-bottom>p,.workspace .local-dot{font-size:13px}
.workspace .user-button b{font-size:14px}.workspace .user-button small{font-size:12px}
.workspace .page-heading h1{font-size:34px;font-weight:650}
.workspace .page-heading p:not(.eyebrow){font-size:16px;max-width:850px;color:var(--muted)}
.workspace .eyebrow{font-size:12px;letter-spacing:.12em}
.workspace .button{font-size:16px;min-height:46px;padding:11px 18px;white-space:normal}
.workspace .button.compact{font-size:15px;min-height:44px;padding:9px 14px}
.workspace .text-button,.workspace .row-link{font-size:15px;min-height:44px;display:inline-flex;align-items:center}
.workspace .icon-button{width:44px;height:44px}
.workspace input,.workspace select,.workspace textarea{font-size:16px;min-height:46px}
.workspace .field,.workspace .field>span{font-size:15px}
.workspace input[type=checkbox]{min-height:20px;height:20px;width:20px}
.workspace .check-label{font-size:15px}
.workspace .panel{padding:24px}.workspace .panel h2{font-size:23px;font-weight:600}
.workspace .panel>p,.workspace .notice,.workspace .method,.workspace .method summary,.workspace .property-details summary,.workspace .custom-mission summary{font-size:15px}
.workspace .section-heading>span,.workspace .micro{font-size:14px}
.workspace table{font-size:16px}.workspace th{font-size:13px;font-weight:600;color:var(--muted);padding:13px 12px}
.workspace td{padding:18px 12px}.workspace td b{font-size:16px;font-weight:600}
.workspace td small{font-size:14px;color:var(--muted)}.workspace td .row-link{font-size:15px}
.workspace .pill{font-size:13px;font-weight:600;padding:5px 10px}
.workspace .filter-chips button,.workspace .workspace-tabs button{font-size:15px;min-height:46px;padding:10px 15px}
.workspace .filter-chips button span{font-size:14px}
.workspace .empty h3{font-size:23px}.workspace .empty p{font-size:16px}
.workspace .workspace-footer{font-size:13px;padding:0 32px 24px;color:var(--muted)}
.workspace .workspace-footer .text-button{font-size:14px}
.workspace .metric>span,.workspace .metric>p,.workspace .report-context,.workspace .agent-status{font-size:14px}
.workspace .log-entry summary b,.workspace .log-entry summary>span:last-child,.workspace .review-row b,.workspace .review-row p,.workspace .connection-row b,.workspace .connection-row span{font-size:15px}
.workspace .goal b,.workspace .goal p,.workspace .activity,.workspace .activity small{font-size:14px}
.workspace .log-entry .pre-wrap,.workspace .pre-wrap{font-size:16px}
.workspace dialog{max-width:880px;padding:28px;max-height:92vh}
.workspace .modal-head h2{font-size:27px;font-weight:650}
.workspace #modal-content>.muted{font-size:16px}
.workspace .detail-grid span{font-size:14px}.workspace .detail-grid b{font-size:17px}
.workspace .next-action b{font-size:18px}.workspace .next-action span{font-size:14px}
.workspace .lead-contact-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:20px 0}
.workspace #toast{font-size:16px}
.workspace .daily-count{padding:20px;min-height:95px}
.workspace .daily-count strong{font-size:36px}.workspace .daily-count span{font-size:16px}
.workspace .queue-description{font-size:15px;color:var(--muted);margin-top:8px}
.workspace .work-queue{list-style:none;padding:0;margin:0;display:grid;gap:0}
.workspace .work-task{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px 0;border-top:1px solid var(--line)}
.workspace .work-task:first-child{border-top:0;padding-top:5px}
.workspace .task-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf1e8;font-weight:700;font-size:17px}
.workspace .task-content{min-width:0;overflow-wrap:anywhere}
.workspace .work-task h3{font-size:21px;letter-spacing:-.02em;font-weight:650;margin:8px 0 4px}
.workspace .task-property{font-size:16px;color:var(--muted)}
.workspace .task-instruction{font-size:18px;font-weight:600;margin:8px 0 4px}
.workspace .task-reason{font-size:14px;color:var(--muted);margin-top:6px}
.workspace .task-kind{font-size:14px;color:var(--muted)}
.workspace .work-task>.button{min-width:160px}
.workspace .lead-badges{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.workspace .priority-badge{display:inline-flex;align-items:center;border-radius:6px;padding:5px 10px;font-size:14px;font-weight:650;background:#eef1ed;color:#425c50}
.workspace .priority-high{background:#dceee1;color:#195835}
.workspace .priority-review{background:#fff0d2;color:#795414}
.workspace .priority-later,.workspace .priority-closed{background:#f0f1f0;color:#5b6660}
.workspace .lead-toolbar{margin-bottom:20px;min-width:0}
.workspace .lead-toolbar .filter-chips{margin-bottom:18px}
.workspace .lead-search-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.workspace .lead-search-row>h2{font-size:22px;font-weight:600;margin-right:auto}
.workspace .lead-sort{display:flex;align-items:center;gap:9px;font-size:14px}
.workspace .lead-sort select{width:auto;max-width:100%}
.workspace .lead-search-row form{display:flex;gap:8px;min-width:0}
.workspace .lead-search-row input{width:250px;min-width:0}
.workspace .lead-cards{display:grid;gap:20px}
.workspace .lead-card{background:#fff;border:1px solid #dce3da;border-radius:12px;padding:24px;box-shadow:var(--shadow);min-width:0}
.workspace .lead-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.workspace .lead-card-heading>div{min-width:0;overflow-wrap:anywhere}
.workspace .lead-card h2{font-size:24px;font-weight:650;margin:10px 0 7px}
.workspace .lead-property{font-size:17px;line-height:1.5;color:var(--muted)}
.workspace .lead-property b{font-weight:600;color:var(--ink)}
.workspace .lead-card-contact{display:grid;gap:5px;text-align:right;font-size:15px}
.workspace .lead-card-contact a{font-weight:600;text-decoration:underline;text-underline-offset:4px;min-height:38px;display:flex;align-items:center;justify-content:flex-end}
.workspace .lead-card-contact span{color:var(--muted);overflow-wrap:anywhere}
.workspace .lead-facts{display:grid;grid-template-columns:1fr 1.25fr 1fr 1fr;gap:20px;margin:22px 0 16px}
.workspace .lead-facts>div{min-width:0}
.workspace .lead-facts dt{font-size:14px;color:var(--muted);margin-bottom:5px}
.workspace .lead-facts dd{font-size:17px;font-weight:600;margin:0;overflow-wrap:anywhere}
.workspace .lead-facts dd span{display:block;font-size:14px;font-weight:400;color:var(--muted);margin-top:3px}
.workspace .priority-details{font-size:15px;margin:12px 0 0}
.workspace .priority-details summary{font-size:15px;cursor:pointer;color:var(--green);padding:9px 0;min-height:42px;font-weight:600}
.workspace .priority-details[open]>div{background:#f5f7f2;padding:18px;border-radius:8px;margin-top:8px}
.workspace .priority-details ul{padding-left:22px;margin:12px 0}
.workspace .priority-details li+li{margin-top:6px}
.workspace .priority-details h4{font-size:16px;margin-top:15px}
.workspace .lead-card-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:18px;margin-top:12px}
.workspace .lead-next{min-width:0;overflow-wrap:anywhere}
.workspace .lead-next>span{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:650}
.workspace .lead-next p{font-size:18px;font-weight:600;margin-top:4px}
.workspace .lead-next small{font-size:14px;color:var(--muted);display:block;margin-top:4px}
.workspace .lead-card-buttons{display:flex;align-items:center;gap:16px;flex-shrink:0}
.workspace .lead-more{position:relative;font-size:15px}
.workspace .lead-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.workspace .lead-more[open]{display:grid;gap:5px}
.workspace .lead-more .text-button{display:flex;text-align:left;white-space:nowrap}
@media(max-width:1100px){
 .workspace .sidebar{width:220px}.workspace .main-shell{margin-left:220px}
 .workspace .main-content{padding:26px 24px}.workspace .topbar{padding:0 24px}
 .workspace .lead-facts{grid-template-columns:1fr 1fr;gap:18px}
 .workspace .lead-search-row form{flex:1}.workspace .lead-search-row input{width:100%}
 .workspace .work-task{grid-template-columns:36px minmax(0,1fr)}
 .workspace .work-task>.button{grid-column:2;justify-self:start;min-width:180px}
}
@media(max-width:760px){
 .workspace .sidebar{width:100%;position:sticky;padding:10px 16px}.workspace .main-shell{margin-left:0}
 .workspace .nav-links .nav-item{font-size:16px;min-height:48px}
 .workspace .mobile-menu-toggle{font-size:15px}.workspace .nav-group-label{font-size:12px}
 .workspace .main-content{padding:24px 16px}.workspace .topbar{padding:0 16px}
 .workspace .topbar .button{font-size:15px;min-height:44px}
 .workspace .page-heading h1{font-size:30px}.workspace .page-heading p:not(.eyebrow){font-size:16px}
 .workspace .panel{padding:20px 16px}.workspace .panel h2{font-size:22px}
 .workspace .section-heading{flex-wrap:wrap}.workspace .section-heading form{width:100%;max-width:none}
 .workspace .section-heading input{font-size:16px}
 .workspace .daily-counts{gap:8px}.workspace .daily-count{padding:14px 10px}
 .workspace .daily-count strong{font-size:30px}.workspace .daily-count span{font-size:14px}
 .workspace .lead-card{padding:20px 16px}.workspace .lead-card-heading{display:block}
 .workspace .lead-card h2{font-size:23px}.workspace .lead-card-contact{text-align:left;margin-top:10px}
 .workspace .lead-card-contact a{justify-content:flex-start}
 .workspace .lead-facts{gap:18px 14px;margin-top:18px}.workspace .lead-facts dd{font-size:17px}
 .workspace .lead-facts dt{font-size:14px}.workspace .lead-card-footer{display:block}
 .workspace .lead-card-buttons{margin-top:18px;justify-content:space-between}
 .workspace .lead-card-buttons>.button{flex:1}
 .workspace .lead-search-row{gap:14px}.workspace .lead-search-row>h2{flex-basis:100%}
 .workspace .lead-sort{width:100%;justify-content:space-between}.workspace .lead-sort select{flex:1;min-width:0}
 .workspace .lead-search-row form{flex-basis:100%;width:100%}
 .workspace .work-task{gap:12px;grid-template-columns:32px minmax(0,1fr)}
 .workspace .task-number{width:30px;height:30px;font-size:16px}
 .workspace .work-task h3{font-size:21px}.workspace .task-instruction{font-size:17px}
 .workspace .work-task>.button{width:100%;min-width:0}
 .workspace .workspace-footer{font-size:12px;padding:0 16px 20px;gap:15px;flex-wrap:wrap}
 .workspace dialog{padding:22px 18px;width:calc(100% - 20px);max-height:92vh}
 .workspace .detail-grid{grid-template-columns:1fr}.workspace .form-grid{grid-template-columns:1fr}
 .workspace .form-actions{flex-wrap:wrap}.workspace .form-actions .button{font-size:16px}
 .workspace .next-action .button{font-size:16px}.workspace .next-action b{font-size:18px}
 .workspace .log-entry summary b{font-size:15px}
}
.workspace .lead-name{font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left;line-height:1.3;padding:0;min-height:40px;overflow-wrap:anywhere}
.workspace .lead-name:hover{text-decoration:underline;text-underline-offset:4px}
.workspace .mobile-lead-filter{display:none}
@media(max-width:760px){
 .workspace .lead-toolbar>.filter-chips{display:none}
 .workspace .mobile-lead-filter{display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:14px;margin-bottom:16px}
 .workspace .mobile-lead-filter select{width:auto;flex:1;min-width:0}
}

/* Give lead maintenance actions separate, readable click targets. */
.workspace .lead-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
.workspace .lead-detail-actions>.text-button{padding:10px 16px;border:1px solid #d6dfd4;border-radius:8px;min-height:46px;justify-content:center;text-align:center;background:#f6f8f2}
.workspace .lead-detail-actions>.text-button.danger{color:#9d3131;border-color:#e8c9c4;background:#fff5f2}
.workspace .lead-detail-actions>.micro{flex-basis:100%;margin:0 0 4px}
@media(max-width:600px){.workspace .lead-detail-actions{align-items:stretch;flex-direction:column}.workspace .lead-detail-actions>.text-button{width:100%}}
/* Personal queues and the setter-to-closer handoff. */
.assignment-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:18px 0;font-size:16px;line-height:1.5;color:var(--muted)}
.assignment-label{font-weight:700;color:var(--ink)}
.due-label{font-size:15px}.is-overdue{color:#a32e2e;font-weight:700}
.workflow-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.workflow-path>div{padding:20px;border:1px solid var(--line);border-radius:14px}.workflow-path b{font-size:21px}.workflow-path p{margin-bottom:0;font-size:17px;line-height:1.6}
.team-member{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.team-member:last-child{border-bottom:0}.team-member h3{margin:0 0 8px;font-size:22px}.team-member p{margin:6px 0;overflow-wrap:anywhere}
.manager-summary{display:flex;align-items:center;justify-content:space-between;gap:24px}.manager-summary p{font-size:17px;line-height:1.6;margin-bottom:0}
.visits-list{display:grid;gap:20px;margin-top:24px}.visit-card{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;margin:16px 0}.visit-card h3{font-size:23px;margin:16px 0 12px}.visit-card p{font-size:17px;line-height:1.6;overflow-wrap:anywhere}.visit-card .button-row{display:flex;flex-direction:column;align-items:stretch;min-width:170px}.visit-card small{display:block;font-size:14px;color:var(--muted)}
@media(max-width:800px){.workflow-path{grid-template-columns:1fr}.team-member,.manager-summary,.visit-card{flex-direction:column;align-items:stretch}.visit-card .button-row{min-width:0;flex-direction:row;flex-wrap:wrap}.assignment-row{gap:10px 16px}.visit-card{padding:20px}.team-member .button-row{flex-wrap:wrap}}
.workspace .alert-badge{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.workspace .alert-badge span,.workspace .alert-total{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:20px;background:#eaf0e4;font-size:14px;font-weight:700}
.workspace .alert-badge.has-alerts{border-color:#b66a3c;background:#fff5e9;color:#783b20}
.workspace .alert-badge.has-alerts span{background:#f5dcc3;color:#783b20}
.workspace .internal-alert-panel{border-left:4px solid #bf8144}
.workspace .alert-counts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.workspace .alert-counts button{border:1px solid var(--line);background:#fffaf3;border-radius:9px;padding:10px 14px;font-size:15px;color:var(--ink);cursor:pointer}
.workspace .alert-counts b{margin-right:7px}
.workspace .internal-alert-list{list-style:none;margin:0;padding:0}
.workspace .internal-alert{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}
.workspace .internal-alert:last-child{border-bottom:0}
.workspace .internal-alert>div{min-width:0;overflow-wrap:anywhere}
.workspace .internal-alert h3{font-size:21px;margin:10px 0 6px;line-height:1.35}
.workspace .internal-alert p{font-size:16px;line-height:1.6;margin:6px 0}
.workspace .internal-alert .alert-meta{font-size:14px;color:var(--muted)}
.workspace .internal-alert>.button{flex-shrink:0}
.workspace .alert-critical h3{color:#9a3c25}
@media(max-width:760px){.workspace .internal-alert{flex-direction:column;align-items:stretch;gap:12px}.workspace .internal-alert h3{font-size:20px}.workspace .internal-alert>.button{align-self:flex-start}.workspace .alert-badge{font-size:13px;padding:8px 10px}.workspace .topbar>div{flex-wrap:wrap;justify-content:flex-end;gap:8px}.workspace .alert-counts button{font-size:14px}}
@media(max-width:480px){.workspace .topbar{height:auto;min-height:92px;padding:12px 16px;flex-direction:column;align-items:stretch;gap:10px}.workspace .topbar>div{width:100%;flex-wrap:nowrap;justify-content:flex-end;gap:10px}.workspace .topbar .alert-badge{margin-right:auto}.workspace .topbar>span{line-height:1.5}}
.workspace .analyst-summary{font-size:20px;line-height:1.65;margin:20px 0}
.workspace .analyst-finding{border-top:1px solid var(--line);padding:22px 0}
.workspace .analyst-finding h3{font-size:21px;margin:12px 0}
.workspace .analyst-finding p,.workspace .analyst-actions p{font-size:16px;line-height:1.7}
.workspace .analyst-actions{padding-left:23px;display:grid;gap:22px;margin:22px 0}
.workspace .analyst-actions li{padding-left:7px}.workspace .analyst-actions h4{font-size:18px;margin-bottom:8px}
.workspace .analyst-metrics{margin:22px 0}.workspace .analyst-connection p{line-height:1.7}
.workspace .analyst-report details li{margin:10px 0;line-height:1.6}
/* Owner reporting: readable trends, exact tables and explicit missing data. */
.workspace .metrics-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.workspace .report-metrics{gap:18px;margin:22px 0}
.workspace .report-metric{min-width:0}.workspace .report-metric>span{font-size:15px;line-height:1.5}
.workspace .report-metric strong{font-size:clamp(26px,2.7vw,40px);overflow-wrap:anywhere}
.workspace .metric-change{font-size:14px;line-height:1.6;margin:14px 0 0}
.workspace .metric-change.positive{color:#176c50}.workspace .metric-change.negative{color:#a43c31}.workspace .metric-change.neutral{color:var(--muted)}
.workspace .range-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 18px}
.workspace .chart-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.workspace .chart-panel{min-width:0}.workspace .chart-panel h2{font-size:23px;line-height:1.4;margin-bottom:12px}.workspace .chart-panel .section-heading p{font-size:15px;line-height:1.6;margin-bottom:0}
.workspace .chart-legend{display:flex;gap:14px 24px;flex-wrap:wrap;margin:22px 0 8px;font-size:14px}
.workspace .chart-legend span{display:inline-flex;align-items:center;gap:8px}.workspace .chart-legend i{height:4px;width:22px;display:inline-block;border-radius:4px;background:currentColor}
.workspace .chart-green{color:#17654f;fill:#17654f}.workspace .chart-sand{color:#bd762b;fill:#bd762b}.workspace .chart-blue{color:#437ac1;fill:#437ac1}
.workspace .trend-chart{display:block;width:100%;height:auto;overflow:visible;margin:8px 0 12px;font-family:inherit}
.workspace .chart-grid{stroke:#e7ebe5;stroke-width:1}.workspace .chart-axis{fill:#596960;font-size:13px;font-family:inherit}
.workspace .chart-line{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.workspace .chart-partial{stroke-dasharray:6 6}.workspace .chart-dot{fill:currentColor;stroke:#fff;stroke-width:1.5}
.workspace .chart-hit{fill:transparent;stroke:none}.workspace .chart-point{cursor:help}.workspace .chart-point:focus{outline:none}.workspace .chart-point:focus .chart-dot{stroke:#112d25;stroke-width:3}
.workspace .chart-tooltip{visibility:hidden;pointer-events:none}.workspace .chart-tooltip rect{fill:#183d32}.workspace .chart-tooltip text{fill:#fff;font-size:12px;font-family:inherit}.workspace .chart-point:hover .chart-tooltip,.workspace .chart-point:focus .chart-tooltip{visibility:visible}
.workspace .chart-data{border-top:1px solid var(--line);padding-top:14px;margin:12px 0 20px}.workspace .chart-data summary{font-size:15px;cursor:pointer;color:var(--green);padding:5px 0}
.workspace .chart-data table{margin-top:12px}.workspace .bar-chart{display:grid;gap:22px;margin:24px 0}.workspace .bar-group{min-width:0}.workspace .bar-group h3{font-size:16px;line-height:1.6;margin:0 0 9px;overflow-wrap:anywhere}
.workspace .bar-series{margin-top:10px}.workspace .bar-series>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:14px;margin-bottom:7px}.workspace .bar-series span{color:var(--muted)}.workspace .bar-series b{font-size:17px;white-space:nowrap}
.workspace .bar-series svg{display:block;width:100%;height:8px;overflow:hidden}.workspace .bar-track{fill:#edf0ea}
@media(max-width:1150px){.workspace .metrics-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace .chart-columns{grid-template-columns:1fr;gap:0}.workspace .metrics-grid.four,.workspace .report-metrics.three{grid-template-columns:1fr}.workspace .report-metric strong{font-size:34px}.workspace .chart-panel h2{font-size:21px}.workspace .chart-legend{font-size:13px;gap:12px}.workspace .chart-axis{font-size:13px}.workspace .range-buttons>.button{flex:1;white-space:nowrap}.workspace .chart-panel .section-heading{flex-wrap:wrap}.workspace .chart-data th,.workspace .chart-data td{min-width:90px}}
/* Finance: quick periods, owner comparisons, and details only on demand. */
.workspace .finance-period{margin:10px 0 22px}
.workspace .range-buttons [aria-pressed="true"]{background:var(--green);color:#fff;border-color:var(--green)}
.workspace .period-tools{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px}
.workspace .period-tools>.field{min-width:210px;margin:0}
.workspace .period-label{font-size:16px;color:var(--muted);margin:0}
.workspace .custom-period{flex:1;min-width:190px}
.workspace .custom-period summary,.workspace .finance-secondary>summary{cursor:pointer;color:var(--green);font-weight:650;padding:14px 0;font-size:16px}
.workspace .custom-period[open]{flex-basis:100%}
.workspace .custom-period .date-form{margin:8px 0 0;flex-wrap:wrap}
.workspace .finance-owner-filter{display:flex;align-items:end;flex-wrap:wrap;gap:18px;margin:20px 0 14px}
.workspace .finance-owner-filter>.field{min-width:260px;max-width:520px;flex:1;margin:0}
.workspace .finance-scope{font-size:16px;line-height:1.65;color:var(--muted);margin:12px 0}
.workspace .finance-scope b{color:var(--ink)}
.workspace .compact-field{margin:0;max-width:260px}
.workspace .owner-revenue-panel .section-heading{align-items:center;flex-wrap:wrap}
.workspace .owner-revenue-panel .section-heading p,.workspace .finance-register .section-heading p{font-size:16px;line-height:1.6;margin:8px 0}
.workspace .owner-revenue-table td{font-size:17px;padding-top:20px;padding-bottom:20px}
.workspace .owner-revenue-table small{display:block;margin-top:7px;font-size:14px}
.workspace .owner-revenue-table .selected-owner{background:#edf5ef}
.workspace .finance-amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:18px}
.workspace .finance-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:22px;font-size:15px}
.workspace .finance-register details p{font-size:14px;line-height:1.7;overflow-wrap:anywhere;max-width:400px}
.workspace .finance-register .section-heading{align-items:center;flex-wrap:wrap}
.workspace .finance-secondary{margin:22px 0;padding:8px 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
.workspace .finance-secondary>.panel{border:0;padding:18px 0;box-shadow:none}
@media(max-width:760px){
 .workspace .period-tools{align-items:stretch;gap:12px;flex-direction:column}
 .workspace .period-tools>.field,.workspace .finance-owner-filter>.field{min-width:0;max-width:none;width:100%}
 .workspace .finance-period .range-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .finance-period .range-buttons>.button{min-width:0;padding:12px 8px;font-size:14px}
 .workspace .period-label{font-size:15px}.workspace .custom-period{min-width:0}
 .workspace .compact-field{width:100%;max-width:none}
 .workspace .finance-owner-filter{display:block}.workspace .finance-owner-filter>.text-button{margin-top:12px}
 .workspace .owner-revenue-table td{font-size:16px}.workspace .finance-pagination{justify-content:center}
 .workspace .finance-register .section-heading>.button{width:100%}
}
@media(max-width:760px){.workspace .finance-heading{flex-direction:column;align-items:stretch;gap:14px}.workspace .finance-heading>.button{white-space:nowrap;width:100%;padding:14px 18px}}
/* Thai labels wrap at natural word boundaries without squeezing tap targets. */
html[lang="th"] .form-funnel{font-family:system-ui,-apple-system,"Leelawadee UI","Noto Sans Thai",Tahoma,sans-serif;}
html[lang="th"] .form-intro h1,html[lang="th"] #question-title{line-height:1.45;letter-spacing:0;}
.property-proof{margin-top:1.5rem;border-top:1px solid var(--line,#dfe4dc);padding-top:1.2rem;}
.property-proof summary{cursor:pointer;font-weight:650;}
.property-proof img{width:100%;height:auto;border-radius:14px;margin-top:1rem;}
.property-proof p{font-size:1rem;line-height:1.7;}
.case-study{padding-top:1.25rem;}
.case-result{background:#edf4e7;border:1px solid #dce7cc;border-radius:14px;padding:1.2rem;margin:0 0 1.25rem;display:grid;gap:.35rem;}
.case-result strong{font-size:clamp(1.5rem,4vw,2rem);line-height:1.2;letter-spacing:-.035em;}
.case-result span{font-size:1rem;line-height:1.5;}
.case-example+.case-example{margin-top:1.5rem;padding-top:.5rem;border-top:1px solid var(--line,#dfe4dc);}
.case-photos{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;}
.case-photos figure{margin:0;min-width:0;}
.property-proof .case-photos img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;margin:0;}
.case-photos figcaption{font-size:.9rem;font-weight:650;line-height:1.5;margin-top:.5rem;}
.case-study h3{font-size:1.15rem;line-height:1.4;margin:1.4rem 0 .7rem;}
.case-services{padding-left:1.2rem;margin:0;line-height:1.75;font-size:1rem;}
.property-proof .case-context{font-size:.85rem;color:var(--muted,#66756c);line-height:1.6;margin:.35rem 0 0;}
@media(max-width:480px){.case-photos{gap:.6rem;}.case-photos figcaption{font-size:.75rem;}.case-result{padding:1rem;}}
.form-language{font-size:.85rem;color:inherit;text-decoration:underline;white-space:nowrap;}

/* Team work and owner oversight. */
.employee-scope,.team-filter-row,.team-date-form{display:flex;flex-wrap:wrap;align-items:end;gap:16px}
.employee-scope{padding:20px 24px;margin-bottom:28px;background:#fff;border:1px solid #d8ded4;border-radius:16px}
.employee-scope label,.team-controls label{display:grid;gap:7px;font-size:16px;font-weight:600;min-width:190px}
.employee-scope select,.team-controls select,.team-controls input{padding:12px 14px;font:inherit;min-height:48px;border:1px solid #cbd5ca;border-radius:9px;background:#fff;color:#173c35;max-width:100%}
.employee-scope .micro{width:100%;margin:0}.team-controls{display:grid;gap:20px}.team-date-form{margin:0}.team-filter-row{border-top:1px solid #e2e6df;padding-top:18px}
.team-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.team-metric{display:grid;gap:8px;padding:24px;background:#fff;border:1px solid #d8ded4;border-radius:14px}.team-metric strong{font-size:36px;color:#173c35}.team-metric span{font-size:16px;color:#50695e}
.team-performance-table{min-width:930px}.team-performance-table th{font-size:14px;white-space:normal}.team-performance-table td{font-size:18px}.team-performance-table small,.team-activity small{display:block;margin-top:6px;font-size:14px;color:#5b6e62}
.team-insight{display:flex;gap:20px;justify-content:space-between;align-items:start;padding:22px 0;border-bottom:1px solid #e2e6df}.team-insight:last-child{border:0}.team-insight h3{margin:0 0 12px}.team-insight p{margin:7px 0}.team-insight .button{flex-shrink:0}
.team-activity{padding:16px 0;border-bottom:1px solid #e2e6df}.team-activity p{margin:7px 0}.team-activity:last-child{border:0}.call-log{margin:24px 0;padding:20px;border:1px solid #d8ded4;border-radius:14px}.call-log h3{margin:0}
@media(max-width:760px){.team-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.team-metric{padding:18px}.team-metric strong{font-size:30px}.employee-scope{padding:18px}.employee-scope label,.team-controls label{width:100%;min-width:0}.employee-scope select,.team-controls input,.team-controls select{width:100%}.team-insight{flex-direction:column}.team-filter-row,.team-date-form{align-items:stretch}}

/* Staff language controls and a short, role-specific process. */
.crm-language-control{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);white-space:nowrap}
.crm-language-control select{width:auto;min-width:90px;padding:8px 28px 8px 10px;border:1px solid var(--line,#dce2d7);border-radius:9px;background:#fff;color:var(--ink,#173b34);font:inherit}
.auth-form>.crm-language-control{margin-bottom:24px}.modal-head>.crm-language-control{margin-left:auto;margin-right:14px}
.thai-interface{font-family:Tahoma,Thonburi,system-ui,sans-serif;line-height:1.65}.thai-interface button,.thai-interface input,.thai-interface select,.thai-interface textarea{font-family:inherit}
.thai-interface .eyebrow,.thai-interface .nav-group-label{letter-spacing:.02em}.thai-interface .nav-item{line-height:1.5}.thai-interface h1,.thai-interface h2,.thai-interface h3{line-height:1.4}
.role-process-guide{border:1px solid var(--line,#dce2d7);border-radius:18px;background:#fff;padding:22px 26px;margin-bottom:28px}.role-process-guide .section-heading{margin-bottom:16px}.role-process-guide h2{font-size:20px;margin:0}.role-process-guide .section-heading>span{color:var(--muted);font-size:15px}
.role-process-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0 0 16px}.role-process-steps li{display:flex;align-items:center;gap:10px}.role-process-steps li>span{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#edf3e3;border-radius:50%;color:#244f43}.role-process-steps b{font-size:16px;line-height:1.5}
.role-process-rule{background:#f3f6ee;border-radius:9px;padding:12px 14px;margin:0 0 12px;font-size:15px}.role-process-guide summary{cursor:pointer;font-weight:600}.role-process-guide details ol{padding-left:24px}.role-process-guide details li{margin:10px 0}.role-process-guide details p{color:var(--muted);font-size:14px}
@media(max-width:900px){.topbar .date-label{display:none}.role-process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.role-process-guide .section-heading{align-items:flex-start;flex-direction:column;gap:5px}.topbar>div{flex-wrap:wrap;justify-content:flex-end}.modal-head{flex-wrap:wrap}.modal-head>.crm-language-control{order:3;flex-basis:100%;margin:10px 0 0}}
@media(max-width:540px){.crm-language-control{font-size:13px;gap:5px}.topbar .crm-language-control>span{display:none}.role-process-guide{padding:18px}.role-process-steps b{font-size:15px}.role-process-steps{gap:12px 8px}}

/* A visible sales pipeline, with equivalent buttons for touch and keyboard. */
.sales-toolbar{margin-bottom:12px}.sales-board-help{font-size:16px;margin:0 0 18px;color:var(--muted)}
.sales-board{display:grid;grid-template-columns:repeat(4,minmax(265px,1fr));gap:16px;overflow-x:auto;align-items:stretch;padding:3px 3px 18px;scrollbar-gutter:stable}
.sales-lane{background:#edf0e9;border:2px solid transparent;border-radius:16px;padding:16px 12px;min-height:360px;transition:border-color .12s,background .12s}.sales-lane>header{min-height:110px;padding:0 3px}.sales-lane>header>div{display:flex;align-items:flex-start;gap:8px}.sales-lane h2{font-size:20px;line-height:1.35;flex:1;margin:0}.sales-lane>header p{font-size:14px;line-height:1.5;color:var(--muted);margin:12px 0}.sales-step{color:#597164;font-size:15px;font-weight:700}.sales-lane-count{border-radius:20px;padding:1px 9px;background:#dfe6d7;font-size:14px;font-weight:700}.sales-lane[data-sales-lane="signed"]{background:#e5efdf}
.sales-card{background:white;border:1px solid #d7dfd1;border-radius:12px;padding:17px;margin:0 0 14px;box-shadow:0 2px 5px #173b3405;overflow-wrap:anywhere}.sales-card[draggable="true"]{cursor:grab}.sales-card[draggable="true"]:active{cursor:grabbing}.sales-card h3{font-size:19px;line-height:1.45;margin:8px 0}.sales-card .lead-name{font-size:inherit;text-align:left;line-height:inherit;white-space:normal}.sales-card p{font-size:15px;line-height:1.5;margin:9px 0}.sales-card .lead-property{font-weight:600;color:#3d5a4b}.sales-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.sales-card-area{font-size:13px;background:#f1f4ec;border-radius:5px;padding:3px 7px;color:#526b5b}.drag-grip{font-size:24px;color:#78877b;line-height:1;cursor:grab}.sales-card-due{padding:10px 0;border-top:1px solid #e8ece4}.sales-card-due>span{font-weight:600}.sales-card-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:15px}.sales-card-actions>.button{width:100%;padding:11px 10px;font-size:15px;white-space:normal}.sales-card-actions>.text-button{padding:5px 0;font-size:14px}.sales-move-control{display:flex;gap:5px;flex-direction:column;width:100%;font-size:13px;color:var(--muted)}.sales-move-control select{width:100%;font:inherit;font-size:14px;padding:8px;border:1px solid #d4decf;border-radius:7px;background:#fff;color:#244f43}.sales-card-status{font-weight:700;color:#2c6c3a}.sales-empty{font-size:15px;color:#73816f;text-align:center;border:1px dashed #cbd6c2;border-radius:9px;padding:26px 12px}
.sales-dragging{opacity:.45}.sales-drop-allowed{background:#e0efda;border-color:#547c47}.sales-drop-blocked{border-color:#c7cabe;background:#eef0e9}.sales-extra{margin-top:20px;border-top:1px solid #d6dfcf;padding:18px 0}.sales-extra summary{font-size:18px;font-weight:600;cursor:pointer}.sales-extra summary span{font-size:15px;color:#667b61;margin-left:10px}.sales-extra-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:18px}
.sales-detail-progress{border:1px solid #d8e2d0;border-radius:12px;padding:16px;margin:0 0 24px;background:#f4f7ef}.sales-detail-progress ol{list-style:none;padding:0;margin:0 0 16px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sales-detail-progress li{display:flex;align-items:center;gap:7px;color:#768471;font-size:14px;line-height:1.5}.sales-detail-progress li>span{flex-shrink:0;display:grid;place-items:center;border:1px solid #ced8c6;width:24px;height:24px;border-radius:50%;font-size:13px}.sales-detail-progress li.current{font-weight:700;color:#204f40}.sales-detail-progress li.current>span{background:#204f40;color:white;border-color:#204f40}
@media(max-width:720px){.sales-board{grid-template-columns:1fr;overflow:visible}.sales-lane{min-height:140px}.sales-lane>header{min-height:0;margin-bottom:16px}.sales-card-actions>.button{font-size:17px}.sales-detail-progress ol{grid-template-columns:repeat(2,1fr)}.sales-card h3{font-size:21px}.sales-card p{font-size:16px}}
.sales-view-switch{display:inline-flex;border:1px solid #cfdaca;border-radius:10px;overflow:hidden;flex-shrink:0}.sales-view-switch button{font:inherit;font-size:16px;padding:10px 17px;border:0;background:#fff;color:#244f43;cursor:pointer}.sales-view-switch button[aria-pressed="true"]{background:#244f43;color:white}.sales-list-wrap{overflow:auto;border:1px solid #d8e0d2;border-radius:14px;background:white}.sales-list{width:100%;border-collapse:collapse;min-width:740px}.sales-list th{text-align:left;font-weight:600;font-size:15px;color:#62765d;padding:17px 20px;background:#f1f5ec}.sales-list td{padding:20px;vertical-align:middle;border-top:1px solid #e1e7da;font-size:16px}.sales-list td:first-child{min-width:230px}.sales-list .lead-name{font-size:18px;text-align:left;white-space:normal}.sales-list .lead-property{font-size:15px;margin:6px 0 0;color:#60745c}.sales-list-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sales-list-actions>.button{white-space:normal}.sales-list-actions select{font:inherit;font-size:14px;padding:7px;max-width:210px;border:1px solid #d1dcca;border-radius:7px;background:white;color:#244f43}
.sales-stage-filters{margin:0 0 18px}.sales-stage-chips{flex-wrap:wrap;gap:8px;margin-bottom:8px}.sales-stage-chips button{padding:10px 13px;font-size:15px}.sales-inline-stage{display:block;min-width:190px;max-width:260px}.sales-inline-stage select{width:100%;font:inherit;font-size:15px;font-weight:600;padding:11px 30px 11px 12px;border:1px solid #c8d8c1;border-radius:9px;color:#244f43;background:#eff5e9;cursor:pointer;white-space:normal}.sales-inline-stage select:focus{outline:3px solid #afc890;outline-offset:2px}.sales-mobile-stage{display:none}.sales-list-actions{gap:9px}.sales-list-actions .text-button{padding:8px 0}.sales-stage-filters .micro{margin:10px 0 0}.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}
@media(max-width:720px){.sales-stage-chips{display:none}.sales-mobile-stage{display:flex;gap:10px;align-items:center}.sales-mobile-stage select{font:inherit;padding:10px;border:1px solid #cfdbc7;border-radius:8px;background:white;color:#244f43;flex:1}.sales-inline-stage{min-width:170px}}

/* Setter work: one task per lead, with independent filters. */
.setter-filter-row { display:flex; gap:18px; flex-wrap:wrap; align-items:center; margin:18px 0; }
.setter-filter-row > label:first-child { display:flex; gap:8px; align-items:center; }
.setter-filter-row select { min-width:170px; padding:12px; }
.setter-filter-row .check-label { margin:0; font-size:15px; }
.setter-filter-row input[type=checkbox] { width:20px; height:20px; }
.setter-toolbar .filter-chips button span { margin-left:6px; opacity:.75; }
.setter-progress { padding:18px; margin:18px 0; border:1px solid var(--line,#d9dfd5); border-radius:14px; background:#f4f7f1; }
.setter-progress ol { display:flex; flex-wrap:wrap; gap:14px; list-style:none; padding:0; margin:0 0 16px; }
.setter-progress li { display:flex; align-items:center; gap:7px; font-size:14px; color:#66796b; }
.setter-progress li span { border:1px solid #d3dfd1; border-radius:50%; width:26px; height:26px; display:grid; place-items:center; }
.setter-progress li.current { color:#174f40; font-weight:700; }
.setter-progress li.current span { background:#174f40; color:white; }
.setter-progress .micro { margin:14px 0 0; }
@media(max-width:720px) { .setter-filter-row { gap:12px; } .setter-filter-row > label:first-child { width:100%; } .setter-filter-row select { flex:1; } .setter-progress { padding:14px; } .setter-progress .button-row { align-items:stretch; } }

.setter-visit-filters { margin:20px 0; flex-wrap:wrap; }
.setter-visit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:0 20px 20px; }

.setter-progress .button-row { gap:14px; flex-wrap:wrap; }

.lead-outcome-control select { padding:12px; max-width:260px; border:1px solid #d9dfd5; border-radius:10px; font-size:15px; }
.lead-closure-panel { padding:18px; border:1px solid #e5cfbe; border-radius:12px; margin:18px 0; background:#fbf5ef; }
.closure-reason { font-size:14px; color:#6a7068; margin:10px 0 0; max-width:300px; overflow-wrap:anywhere; }
[hidden] { display:none !important; }

.setter-filter-row > label { display:flex; gap:8px; align-items:center; }
.lead-outcome-control { display:flex; gap:8px; align-items:center; }
.lead-outcome-control > span:not(.sr-only) { font-size:14px; color:#66796b; }

[data-setter-status][data-status=interested] { background:#dcefff; color:#15508a; }
[data-setter-status][data-status=meeting_booked] { background:#d6e7ff; color:#164f8e; }
[data-setter-status][data-status=call_back] { background:#f0e2fc; color:#65408a; }
[data-setter-status][data-status^=np] { background:#ededed; color:#444; }
[data-setter-status][data-status=reschedule] { background:#d5f7f2; color:#15675d; }

[data-call-booking] { border:0; border-top:1px solid #dce3d8; margin:22px 0 0; padding:18px 0 0; min-width:0; }
[data-call-booking] legend { font-weight:700; padding:0 12px 0 0; font-size:21px; }

.days-off-list { margin:20px 0; padding:16px; background:#f5f7f2; border-radius:12px; }
.days-off-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:12px 0; border-bottom:1px solid #dde4d7; }
.days-off-row:last-child { border:0; }
[data-booking-time-off] .notice { margin:6px 0 16px; }

.calendar-panel .button-row{margin:1rem 0}.calendar-visit-state{margin-top:.75rem}.calendar-visit-state small{display:block;font-weight:600}.calendar-visit-state .text-button{margin-top:.5rem}[data-google-availability] .notice{margin:.5rem 0}

.privacy-page{max-width:800px;margin:3rem auto;padding:1.5rem;background:#fff;border-radius:16px;line-height:1.7}.privacy-page h2{margin-top:2rem}

.visits-view-switch{display:inline-flex;margin-bottom:1.2rem}.visits-view-switch button,.schedule-toolbar .segmented-control button{padding:.7rem 1rem}.closer-schedule{padding:1rem;margin:1rem 0}.schedule-toolbar{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}.schedule-person{min-width:200px;flex:1}.schedule-person label{display:grid;gap:.35rem;font-size:.9rem;font-weight:600}.schedule-person select{width:100%;min-height:46px}.schedule-navigation{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.schedule-navigation input{max-width:160px;min-height:46px}.schedule-toolbar .button{padding:.7rem .85rem}.schedule-summary{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.schedule-summary h3{margin:0;font-size:1.3rem}.schedule-summary>span{font-size:.85rem;color:var(--muted,#61726b)}.schedule-legend{display:flex;flex-wrap:wrap;gap:1rem;font-size:.85rem;margin:.9rem 0}.schedule-legend>span{display:flex;align-items:center;gap:.35rem}.schedule-legend i{width:13px;height:13px;display:inline-block;border-radius:3px}.schedule-scroll{overflow:auto;max-height:68vh;border:1px solid #dce3dc;border-radius:12px;margin-top:.75rem}.schedule-columns{display:grid;grid-template-columns:54px repeat(7,minmax(130px,1fr));min-width:1050px;align-items:start}.schedule-columns[data-days='1']{grid-template-columns:54px minmax(240px,1fr);min-width:300px}.schedule-day{min-width:0;border-left:1px solid #e2e7e0}.schedule-day-head{height:62px;box-sizing:border-box;position:sticky;top:0;z-index:8;background:#f7f8f3;display:flex;flex-direction:column;justify-content:center;align-items:center;border-bottom:1px solid #dce3dc;font-size:.9rem;line-height:1.35}.schedule-day-head span{color:#61726b;font-size:.8rem}.schedule-day-head small{font-size:.7rem;color:#8b5545}.schedule-day-head.is-today{background:#e6f0e9;color:#164f40}.schedule-day-body,.schedule-axis{height:1536px;position:relative}.schedule-axis>span{position:absolute;left:5px;transform:translateY(-40%);font-size:.72rem;color:#687870}.schedule-axis>span:first-child{transform:none}.schedule-axis>span:last-child{transform:translateY(-100%)}.schedule-slot{position:absolute;left:0;width:100%;padding:0 5px;border:0;border-top:1px solid #edf0e9;border-radius:0;background:white;text-align:left;color:#246354;font-size:.72rem;height:32px;cursor:pointer}.schedule-slot span{opacity:0}.schedule-slot:hover:not(:disabled),.schedule-slot:focus-visible{background:#eaf5ef;outline:2px solid #31725e;outline-offset:-2px}.schedule-slot:hover:not(:disabled) span,.schedule-slot:focus-visible span{opacity:1}.schedule-slot:disabled{cursor:default;background:#fafbf8;opacity:1}.schedule-event{position:absolute;z-index:4;left:4px;right:4px;border-radius:6px;border:1px solid transparent;padding:5px 6px;text-align:left;overflow:hidden;box-sizing:border-box;font-size:.78rem;line-height:1.25;min-height:22px;box-shadow:none}.schedule-event strong,.schedule-event small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-event strong{font-size:.8rem}.schedule-event small{font-size:.7rem;margin-top:2px}.schedule-event button{padding:0}.schedule-event.confirmed,.schedule-legend .confirmed{background:#d9ece3;color:#174b3d;border-color:#b9d6c8}.schedule-event.pending,.schedule-legend .pending{background:#fff0cd;color:#74561b;border-color:#e8ce8c}.schedule-event.busy,.schedule-legend .busy{background:#e5e7eb;color:#535e68;border-color:#d2d7dd}.schedule-buffer,.schedule-legend .travel{background:repeating-linear-gradient(135deg,#edf0eb,#edf0eb 4px,#f8f9f5 4px,#f8f9f5 8px)}.schedule-buffer{position:absolute;z-index:2;left:0;right:0;pointer-events:none;border-top:1px dashed #c8d0c7;border-bottom:1px dashed #c8d0c7;box-sizing:border-box}.schedule-off-overlay,.schedule-legend .off{background:repeating-linear-gradient(135deg,#f3e9e4,#f3e9e4 8px,#fbf5f1 8px,#fbf5f1 16px);color:#855d4a}.schedule-off-overlay{position:absolute;inset:0;z-index:6;text-align:center;padding-top:2rem;pointer-events:none;font-size:.85rem}.schedule-off-overlay strong{position:sticky;top:4rem}.schedule-inline{box-shadow:none;border:1px solid #dce3dc;background:#fafbf8}.schedule-inline .schedule-toolbar{gap:.45rem}.schedule-inline .schedule-person{min-width:160px}.schedule-inline .schedule-scroll{max-height:55vh}.schedule-inline input{padding:.55rem}.schedule-inline+.micro{margin-top:.5rem}@media(max-width:760px){.closer-schedule{padding:.75rem}.schedule-toolbar{align-items:stretch}.schedule-person{flex-basis:100%}.schedule-navigation{flex:1}.schedule-navigation input{max-width:140px}.schedule-summary h3{font-size:1.15rem}.schedule-legend{gap:.65rem;font-size:.76rem}.schedule-scroll{max-height:65vh}.schedule-event{font-size:.85rem}.schedule-columns[data-days='1'] .schedule-event strong{font-size:.9rem}.schedule-toolbar .button{font-size:.85rem}.schedule-summary>span{font-size:.78rem}}
.visits-view-switch,.schedule-toolbar .segmented-control{display:inline-flex;border:1px solid #ccd8cc;border-radius:10px;overflow:hidden;flex-shrink:0}.visits-view-switch button,.schedule-toolbar .segmented-control button{background:#fff;color:#244d42;border:0;border-radius:0;font:inherit;cursor:pointer}.visits-view-switch button[aria-pressed='true'],.schedule-toolbar .segmented-control button[aria-pressed='true']{background:#244f43;color:#fff}.visits-view-switch button:focus-visible,.schedule-toolbar .segmented-control button:focus-visible{outline:3px solid #a6be87;outline-offset:-3px}

.schedule-event.current-booking{pointer-events:none;opacity:.4;z-index:1;border-style:dashed}

/* Public questionnaire: compact phone layout with navigation always in reach. */
@media(max-width:600px){
 .form-funnel{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .form-funnel .form-header{padding:10px 16px;min-height:52px;gap:12px}
 .form-funnel .form-header .wordmark{font-size:23px;white-space:nowrap}
 .form-funnel .form-header>span:not(.wordmark){display:none}
 .form-funnel .form-header>a{font-size:14px;padding:8px 0}
 .form-funnel .form-main{padding:6px 12px 90px}
 .form-funnel .question-stage{padding:18px 16px 20px;border-radius:14px}
 .form-funnel .question-stage progress{height:4px;margin:0 0 8px}
 .form-funnel .form-progress{font-size:12px;line-height:1.4;margin-bottom:14px}
 .form-funnel #question-title{font-size:22px;line-height:1.35;margin-bottom:12px;letter-spacing:-.02em}
 html[lang="th"] .form-funnel #question-title{font-size:21px;line-height:1.45;letter-spacing:0}
 .form-funnel .question-hint{font-size:14px;line-height:1.45;margin-bottom:14px}
 .form-funnel .auto-advance-note{font-size:12px;line-height:1.4;margin:0 0 10px}
 .form-funnel .answer-choices{gap:8px}
 .form-funnel .answer-choice{min-height:48px;padding:10px 12px;font-size:16px;line-height:1.4;gap:10px;border-radius:10px}
 .form-funnel .answer-circle{width:20px;height:20px;min-width:20px}
 .form-funnel .answer-choice:has(input:checked) .answer-circle::after{width:10px;height:10px}
 .form-funnel .question-stage[data-question="transit"] .answer-choices,.form-funnel .question-stage[data-question="reference_rent_band"] .answer-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .form-funnel .question-stage[data-question="transit"] .answer-choice,.form-funnel .question-stage[data-question="reference_rent_band"] .answer-choice{font-size:15px;min-height:60px;padding:10px;gap:8px}
 .form-funnel .question-stage[data-question="building_rules"] .answer-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
 .form-funnel .question-stage[data-question="building_rules"] .answer-choice{padding:9px 7px;gap:6px;font-size:14px}
 .form-funnel .answer-choices legend{font-size:15px;line-height:1.45;margin-bottom:10px}
 .form-funnel .answer-choices+.answer-choices{margin-top:20px}
 .form-funnel .question-stage .field{margin-bottom:16px}
 .form-funnel .question-stage .field>span{font-size:14px;line-height:1.4}
 .form-funnel .question-stage input:not([type="radio"]):not([type="checkbox"]),.form-funnel .question-stage select{font-size:16px;min-height:48px}
 .form-funnel .question-actions{position:fixed;inset:auto 0 0;z-index:30;margin:0;gap:12px;min-height:68px;padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#fff;border-top:1px solid #e2e7e0;box-shadow:0 -4px 18px #173a340a}
 .form-funnel .question-actions .button{font-size:16px;min-height:48px;padding:11px 22px;white-space:normal;line-height:1.35;max-width:calc(100% - 100px)}
 .form-funnel .question-actions .text-button{font-size:14px;min-height:48px;padding:10px 14px}
 .form-funnel .form-error:not(:empty){margin:12px 0;font-size:14px}
 .form-funnel:not(.form-result) .form-footer{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
 .form-funnel .form-intro h1{font-size:27px;line-height:1.3}
 html[lang="th"] .form-funnel .form-intro h1{line-height:1.45}
}

/* Same-phone warnings never merge or hide enquiries. */
.duplicate-phone-notice{margin:16px 0;padding:16px 18px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.duplicate-phone-notice>p{margin-top:7px}.duplicate-phone-links{display:grid;gap:5px;margin-top:10px}
.duplicate-phone-links .text-button{text-align:left;white-space:normal;font-size:inherit;line-height:1.45}
.sales-card .duplicate-phone-notice{padding:12px;font-size:14px}

/* Shared workspace layout: keep headings, people and controls readable at every width. */
.workspace .page-heading{align-items:flex-start;flex-wrap:wrap;gap:20px 24px}
.workspace .page-heading-copy{flex:1 1 320px;min-width:0;overflow-wrap:anywhere}
.workspace .page-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-width:0;max-width:100%}
.workspace .page-actions>.button{max-width:100%;flex-shrink:1}
.workspace .section-heading{align-items:flex-start;flex-wrap:wrap;gap:16px 20px}
.workspace .section-heading>div{min-width:0;flex:1 1 260px}
.workspace .section-heading>div>p{margin:8px 0 0;line-height:1.6}
.workspace .section-heading>.button,.workspace .section-heading>.text-button{max-width:100%}
.workspace .team-member{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,auto);align-items:center;gap:20px 28px;padding:24px 0}
.workspace .team-member-info{min-width:0}
.workspace .team-member-info h3{line-height:1.35;letter-spacing:-.02em}
.workspace .team-member-info p{line-height:1.6}
.workspace .team-member-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-width:0;max-width:100%}
.workspace .team-member-actions>.button,.workspace .team-member-actions>.text-button{margin:0;min-height:46px;padding:10px 16px;justify-content:center;text-align:center}
.workspace .team-member-actions>.danger{border:1px solid #e8d4d0;border-radius:8px;background:#fff8f6}
.workspace .review-row,.workspace .connection-row{flex-wrap:wrap;gap:14px 20px}
.workspace .review-row>div,.workspace .connection-row>span{min-width:0;overflow-wrap:anywhere;flex:1 1 220px}
.workspace .modal-head>div:first-child{min-width:0;overflow-wrap:anywhere}
.workspace .modal-head>.icon-button{flex-shrink:0}
@media(min-width:761px) and (max-width:1150px){
 .workspace .team-member{grid-template-columns:minmax(0,1fr)}
 .workspace .team-member-actions{justify-content:flex-start}
}
@media(max-width:760px){
 .workspace .page-heading-copy{flex-basis:100%}
 .workspace .page-actions{width:100%;justify-content:flex-start}
 .workspace .page-actions>.button{flex:1 1 140px}
 .workspace .section-heading>div{flex-basis:100%}
 .workspace .team-member{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0}
 .workspace .team-member-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
 .workspace .team-member-actions>.button,.workspace .team-member-actions>.text-button{width:100%;font-size:15px;line-height:1.4;padding:10px}
 .workspace .team-member-actions>.text-button:last-child:nth-child(odd){grid-column:1 / -1}
 .workspace .section-heading form{flex-wrap:wrap}
 .workspace .section-heading input{width:100%;min-width:0;flex:1 1 180px}
}

/* Keep the optional disabled-account filter beside the People heading. */
.workspace .section-heading>.team-list-actions{flex:0 1 auto;justify-content:flex-end}
@media(max-width:760px){.workspace .section-heading>.team-list-actions{flex-basis:100%;justify-content:flex-start}}

/* Qualification stays visible before a setter takes ownership. */
.workspace .inbox-quality{padding:18px 20px;background:#f5f7f2;border:1px solid var(--line);border-radius:12px;margin:16px 0}
.workspace .inbox-quality-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 18px}
.workspace .inbox-quality h3{font-size:18px;margin:0}
.workspace .inbox-quality-heading b{font-size:15px;color:var(--muted)}
.workspace .inbox-quality .micro{margin:8px 0 14px}
.workspace .inbox-quality-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px}
.workspace .inbox-quality h4{font-size:16px;margin:0 0 8px}
.workspace .inbox-quality ul{margin:0;padding-left:20px;font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.workspace .inbox-quality li+li{margin-top:6px}
.workspace .inbox-quality-checks h4{color:#8a5a19}
.workspace .inbox-quality .priority-details{border-top:1px solid var(--line);padding-top:4px}
@media(max-width:760px){.workspace .inbox-quality{padding:16px}.workspace .inbox-quality-columns{grid-template-columns:minmax(0,1fr)}}
/* Restricted-building warnings need a clear visual distinction from routine notices. */
.notice.danger{background:#fff0ed;color:#9b3d2f;border-color:#efc4bc}.notice.danger b{color:#8b2e22}
.workspace .setup-builder-head{position:static}
.signature-unit{margin:16px 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#f8faf6}.signature-unit h3{font-size:18px;margin:0 0 12px}.signature-unit details{margin-top:12px}.signature-unit summary{cursor:pointer;color:var(--green);font-size:15px}.signature-unit details>p{margin:12px 0}.signature-unit details label{display:block;margin:12px 0}
@media(max-width:760px){.signature-unit{padding:14px}}
.workspace .setup-plan-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .setup-plan-fields>label:last-child:nth-child(3){grid-column:1/-1}
.setup-purchased{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:14px}.setup-purchased input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:#26745b}.setup-tool .setup-purchased>span{margin:0;color:var(--ink)}.setup-purchased:has(input:disabled){opacity:.5}
@media(max-width:760px){.workspace .setup-plan-fields{grid-template-columns:minmax(0,1fr)}}
.setup-room>h2{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.setup-room>h2>strong{font-size:16px;color:var(--muted);white-space:nowrap}
.setup-store h3{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.setup-store h3>strong{white-space:nowrap;font-size:15px}.setup-store ol{padding-left:22px;margin:10px 0}.setup-store li{padding:5px 0;font-size:15px;line-height:1.5}.setup-store li>div{display:flex;justify-content:space-between;gap:14px;min-width:0}.setup-store li span{min-width:0;overflow-wrap:anywhere}.setup-store li strong{white-space:nowrap}.setup-store li a{color:#17654b;text-decoration:underline;text-underline-offset:3px}.setup-shopping{max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}
@media(min-width:1201px){.workspace .setup-builder{grid-template-columns:minmax(0,1fr) minmax(340px,.48fr)}}
@media(max-width:1200px){.setup-shopping{max-height:none;overflow:visible}}
.resource-home{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.resource-home h2{margin-bottom:8px}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.resource-card{display:flex;flex-direction:column;gap:16px;min-width:0}.resource-card .button-row{margin-top:auto}.resource-card h2,.resource-reader h1{overflow-wrap:anywhere}
.resource-controls{margin-bottom:24px}.resource-controls form{display:flex;align-items:end;gap:12px;margin-bottom:18px}.resource-controls label{flex:1}.resource-controls label span{display:block;margin-bottom:8px}
.resource-reader{padding:24px}.resource-reader .section-heading{flex-wrap:wrap;gap:16px;margin-bottom:20px}.resource-pdf{display:block;width:100%;height:78vh;min-height:550px;border:1px solid var(--line);border-radius:10px;background:#e8ebe6}.resource-text{white-space:pre-wrap;line-height:1.8;font-size:18px;overflow-wrap:anywhere;max-width:850px;margin:0 auto 24px}.resource-language{margin-bottom:18px}
.resource-version{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
@media(max-width:760px){.resource-grid{grid-template-columns:1fr}.resource-home{align-items:flex-start;flex-direction:column}.resource-controls form{flex-wrap:wrap}.resource-reader{padding:12px}.resource-pdf{height:72vh;min-height:430px}.resource-version{align-items:flex-start;flex-direction:column}}
.setup-tool{font-size:16px;padding-bottom:20px}.setup-tabs,.setup-resource,.setup-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.setup-tabs{margin-bottom:24px;justify-content:flex-start}.setup-languages{margin-left:auto;display:flex;gap:4px}.setup-languages button{padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);cursor:pointer}.setup-languages button[aria-pressed=true]{background:var(--green);color:white}.setup-resource{margin-bottom:24px}.setup-resource p{margin-bottom:0}.setup-plan-fields{display:grid;grid-template-columns:minmax(200px,1fr) 130px minmax(140px,.65fr);gap:16px}.setup-tool label>span{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}.setup-tool input,.setup-tool select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;font:inherit;color:var(--ink);background:white}.setup-tool select{max-width:100%}.setup-builder-head{position:sticky;top:0;z-index:6;padding:20px;box-shadow:0 5px 20px #173c3420}.setup-total-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.setup-total-strip small{display:block;color:var(--muted);font-size:13px}.setup-total-strip strong{font-size:20px;display:block}.setup-grand-total strong{color:#17654b}.setup-save-row{border-top:1px solid var(--line);padding-top:12px}.setup-save-row>span{font-size:14px;color:var(--muted)}.setup-filters{display:grid;grid-template-columns:minmax(170px,1.2fr) 1fr 1fr;gap:12px;margin-bottom:14px}.setup-builder{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.setup-builder-controls{padding:18px}.setup-room{margin-bottom:24px}.setup-room>h2{font-size:20px;margin:16px 0 10px}.setup-item-group{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.setup-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:18px 16px;border-bottom:1px solid var(--line)}.setup-item:last-child{border-bottom:0}.setup-item.is-selected{background:#eff7f3;box-shadow:inset 3px 0 #26745b}.setup-item.is-archived{opacity:.65}.setup-item.catalog-row{grid-template-columns:minmax(0,1fr) auto}.setup-item>input[type=checkbox]{width:22px;height:22px;min-height:22px;margin:0;padding:0;accent-color:#26745b;cursor:pointer}.setup-item h3{font-size:17px;margin:0 0 5px;line-height:1.5}.setup-item h3 .pill{margin-left:5px;font-size:12px;vertical-align:middle}.setup-item-description{min-width:0;overflow-wrap:anywhere}.setup-item-description>a,.setup-item-description>span{font-size:14px;line-height:1.5}.setup-item-description>small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.setup-item-description p{margin:6px 0}.setup-item>strong{font-size:15px;text-align:right;white-space:nowrap}.setup-quantity{display:flex;align-items:center;gap:5px}.setup-quantity button{min-width:34px;min-height:38px;border:1px solid var(--line);border-radius:8px;background:white;cursor:pointer;font:inherit;color:var(--ink)}.setup-quantity label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%)}.setup-quantity input{width:58px;min-height:38px;padding:6px;text-align:center}.setup-shopping{position:sticky;top:20px;padding:20px}.setup-shopping h2{font-size:20px;margin-bottom:18px}.setup-store{margin-bottom:18px}.setup-store h3{font-size:16px;margin-bottom:8px}.setup-store p{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5;margin:8px 0}.setup-store p strong{white-space:nowrap}.setup-shopping-total{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:15px 0;margin-top:15px;font-size:16px}.setup-shopping>.button{width:100%;font-size:15px;white-space:normal}.setup-builder .setup-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.setup-builder .setup-filters>label:first-child{grid-column:1/-1}
@media(max-width:1200px){.setup-builder{grid-template-columns:minmax(0,1fr)}.setup-shopping{position:static}.setup-item{grid-template-columns:24px minmax(0,1fr) auto}.setup-item>.setup-quantity{grid-column:2}.setup-item>strong{grid-column:3;grid-row:1}.setup-item.catalog-row{grid-template-columns:minmax(0,1fr) auto}.setup-plan-fields{grid-template-columns:minmax(0,1fr) 120px}.setup-plan-fields>label:last-child:nth-child(3){grid-column:1/-1}}
@media(max-width:760px){.setup-tool{padding-bottom:100px}.setup-builder-head{position:static;padding:16px}.setup-save-row{position:fixed;bottom:0;left:0;right:0;background:white;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 15px #173c3420;z-index:25}.setup-save-row .button{min-height:48px}.setup-total-strip{grid-template-columns:1fr 1fr}.setup-total-strip strong{font-size:19px}.setup-filters{grid-template-columns:1fr 1fr}.setup-filters>label:first-child{grid-column:1/-1}.setup-item{gap:10px;padding:14px 12px}.setup-item h3{font-size:17px}.setup-quantity button{min-width:44px;min-height:44px}.setup-item>strong{font-size:14px}.setup-item.catalog-row{grid-template-columns:1fr}.setup-item .button-row{gap:14px}.setup-tabs .button{font-size:15px;padding:12px}.setup-plan-fields{grid-template-columns:minmax(0,1fr) 100px}}

/* Completed visits remain visible as history, separate from upcoming bookings. */
.schedule-event.completed,.schedule-legend .completed{background:#e2eaf9;color:#244b7a;border-color:#b8cae5}.schedule-event.completed{border-left:4px solid #5378b0}

/* Keep shopping-list actions reachable on short and narrow screens. */
.workspace .setup-quick-actions{position:sticky;top:0;z-index:12;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;background:#fff;box-shadow:0 4px 14px #173c3418}
.setup-quick-status{min-width:0;display:flex;flex-direction:column;gap:3px;font-size:14px}
.setup-quick-status>span{overflow-wrap:anywhere}
.setup-quick-status strong{margin-left:6px;color:#17654b;font-size:19px;white-space:nowrap}
.setup-quick-status #setup-save-state{font-size:13px;color:var(--muted)}
.setup-quick-actions .button{min-height:44px;white-space:normal}
.workspace .setup-builder-head{position:static;box-shadow:none}
.setup-shopping-heading{position:sticky;top:0;z-index:2;padding-bottom:12px;background:white}
.setup-shopping-heading h2{margin:0 0 12px}
.setup-shopping-heading .button{width:100%;font-size:15px;white-space:normal}
@media(min-width:1201px){.workspace .setup-shopping{top:100px;max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px)}}
@media(max-width:760px){
 .workspace .setup-tool{padding-bottom:150px}
 .workspace .setup-quick-actions{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:35;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;border-radius:0;border-bottom:0;box-shadow:0 -4px 14px #173c3418}
 .setup-quick-status{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
 .setup-quick-status strong{font-size:17px}
 .setup-quick-status #setup-save-state{font-size:12px}
 .setup-quick-actions .button{min-height:44px;padding:10px 12px}
}

/* Proposal advice stays separate from reviewed document fields. */
.contract-ai-section{padding:20px;border:1px solid #cbded4;border-radius:14px;background:#f3f8f5;margin:20px 0}.contract-ai-section h3{margin-top:0}.contract-ai-result{padding:18px;margin-top:18px;border:1px solid #d3ded6;border-radius:12px;background:#fff}.contract-ai-result h4{margin:20px 0 8px}.contract-ai-section pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.contract-ai-section .button-row{flex-wrap:wrap;gap:10px}

/* Owner first: save a proposal shopping list before a signed unit exists. */
.workspace .setup-plan-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace .setup-plan-fields>label{min-width:0;grid-column:auto}
.setup-plan-fields small{display:block;margin-top:8px;color:var(--muted);line-height:1.5}
.setup-owner-filter{display:block;max-width:480px;margin-top:18px}
@media(max-width:760px){.workspace .setup-plan-fields{grid-template-columns:minmax(0,1fr)}}

/* Fit a working day into the calendar instead of a tall 24-hour grid. */
.schedule-fit .schedule-day-head{height:42px;font-size:.85rem}
.schedule-fit .schedule-columns{grid-template-columns:46px repeat(7,minmax(88px,1fr));min-width:700px}
.schedule-fit .schedule-columns[data-days='1']{grid-template-columns:46px minmax(240px,1fr);min-width:300px}
.schedule-fit .schedule-event{padding:2px 4px;min-height:0;font-size:12px;line-height:1.15}
.schedule-fit .schedule-event strong{font-size:12px;line-height:1.15}
.schedule-fit .schedule-event small{font-size:11px;line-height:1.15;margin-top:1px}
.schedule-fit .schedule-event-short small{display:none}
.schedule-fit .schedule-event-medium small+small{display:none}
.schedule-fit .schedule-event.completed strong:before{content:'✓ ';}
.schedule-fit .schedule-axis>span{font-size:11px}
.schedule-fit .schedule-slot{min-height:0}
.schedule-fit{max-height:calc(70vh + 2px)}
.schedule-inline .schedule-fit{max-height:70vh}
.schedule-summary{margin-top:.65rem}.schedule-legend{margin:.5rem 0;gap:.7rem}

/* Phone layouts: constrain content itself, keep intentional scrolling local. */
@media(max-width:760px){
 html{max-width:100%;overflow-x:clip;overscroll-behavior-x:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
 .workspace #app,.workspace .main-shell,.workspace .main-content,.workspace main,.workspace .panel,.workspace .page-heading,.workspace .section-heading,.form-funnel .form-shell{min-width:0;max-width:100%}
 .workspace .main-shell{width:100%;margin-left:0}
 .workspace .sidebar{height:auto;max-height:100dvh;z-index:50;padding:8px 14px}
 .workspace .sidebar-nav{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:calc(100dvh - 90px)}
 .workspace .sidebar-brand{min-width:0;gap:12px}
 .workspace .sidebar .wordmark{font-size:24px}
 .workspace .topbar{height:auto;min-height:56px;padding:8px 14px;gap:8px;align-items:center;flex-wrap:wrap}
 .workspace .topbar>span{font-size:13px;min-width:0;flex:1 1 100%}
 .workspace .topbar>div{width:100%;gap:8px;justify-content:flex-start;min-width:0}
 .workspace .topbar .account-shortcut{margin-left:auto;flex-shrink:0}
 .workspace .main-content{padding:18px 12px}
 .workspace .page-heading{gap:12px;margin-bottom:18px}
 .workspace .page-heading h1{font-size:27px;line-height:1.2}
 .workspace h2{font-size:21px}.workspace h3{font-size:19px}
 .workspace p,.workspace dd,.workspace .notice,.workspace .lead-property,.workspace .source-list{overflow-wrap:anywhere}
 .workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea,.form-funnel input:not([type=checkbox]):not([type=radio]),.form-funnel select,.form-funnel textarea{font-size:16px;max-width:100%;min-width:0}
 .workspace input[type=date],.workspace input[type=datetime-local],.workspace input[type=month]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .workspace .form-grid,.workspace .detail-grid{grid-template-columns:minmax(0,1fr)}
 .workspace label,.workspace .form-grid>*,.workspace .button-row>*,.workspace .section-heading>*,.workspace .lead-card-buttons>*,.workspace .schedule-toolbar>*{min-width:0;max-width:100%}
 .workspace .button{white-space:normal;line-height:1.35;min-height:44px;max-width:100%;padding:10px 13px}
 .workspace .text-button,.workspace .row-link{white-space:normal;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
 .workspace .button-row,.workspace .lead-card-buttons,.workspace .setter-filter-row,.workspace .team-controls,.workspace .section-heading form{flex-wrap:wrap;gap:10px}
 .workspace .lead-card-buttons{justify-content:flex-start;flex-shrink:1}
 .workspace .lead-card-buttons>.button{flex:1 1 145px}
 .workspace .setter-filter-row>label,.workspace .setter-filter-row select{min-width:0;width:100%;flex:1 1 100%}
 .workspace .lead-more[open] .text-button{white-space:normal}
 .workspace .employee-scope{padding:14px;margin-bottom:16px}
 .workspace .employee-scope p{font-size:12px;line-height:1.45;margin-top:8px}
 .workspace .employee-scope label{gap:5px;font-size:14px}
 .workspace .resource-home{padding:14px;gap:8px;margin-bottom:18px}
 .workspace .resource-home h2{font-size:18px}.workspace .resource-home p{font-size:14px;line-height:1.4}
 .workspace dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);padding:16px 14px;max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;border-radius:14px}
 .workspace .modal-head{gap:10px;margin-bottom:12px}.workspace .modal-head h2{font-size:23px;overflow-wrap:anywhere}
 .workspace .modal-head>.crm-language-control{margin:4px 0;gap:8px}
 .workspace #modal-content,.workspace #record-form,.workspace .contract-ai-section{min-width:0;max-width:100%}
 .workspace .contract-ai-section{padding:14px}.workspace .contract-ai-result{padding:12px}
 .workspace .form-actions{display:flex;flex-wrap:wrap;gap:10px}.workspace .form-actions>.button{flex:1 1 130px}
 .workspace .payload{max-width:100%;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
 .workspace img,.workspace video,.workspace iframe,.form-funnel img,.form-funnel video{max-width:100%}
 .workspace .table-wrap,.workspace .sales-list-wrap,.workspace .schedule-scroll{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .workspace .mobile-record-table{display:block;width:100%;min-width:0;border:0;border-collapse:separate}
 .workspace .mobile-record-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%)}
 .workspace .mobile-record-table tbody{display:grid;width:100%;gap:14px}
 .workspace .mobile-record-table tr{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px;background:white}
 .workspace .mobile-record-table td{display:block;width:100%;min-width:0;max-width:100%;border:0;padding:8px 0;text-align:left;font-size:16px;overflow-wrap:anywhere;white-space:normal}
 .workspace .mobile-record-table td+td{border-top:1px solid #edf0e9}
 .workspace .mobile-record-table td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:var(--muted);line-height:1.4;margin-bottom:5px}
 .workspace .mobile-record-table td>*{max-width:100%;min-width:0}
 .workspace .sales-list-wrap{border:0;background:transparent}
 .workspace .sales-inline-stage{min-width:0;max-width:none}
 .workspace .sales-list-actions{flex-wrap:wrap;min-width:0}
 .workspace .sales-board{grid-template-columns:minmax(0,1fr);min-width:0;overflow:visible}
 .workspace .metrics-grid,.workspace .metrics-grid.four,.workspace .chart-columns{grid-template-columns:minmax(0,1fr)}
 .workspace .date-form,.workspace .finance-owner-filter,.workspace .custom-period{min-width:0;max-width:100%}
 .workspace .source-list>div{gap:10px;flex-wrap:wrap;align-items:flex-start}
 .workspace .closer-schedule{padding:12px;margin:12px 0;min-width:0;max-width:100%}
 .workspace .schedule-person{min-width:0;width:100%}
 .workspace .schedule-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;width:100%}
 .workspace .schedule-navigation>label{grid-column:1/-1;width:100%}
 .workspace .schedule-navigation input{max-width:none;width:100%}
 .workspace .schedule-toolbar .segmented-control{max-width:100%;flex-wrap:wrap}
 .workspace .schedule-toolbar .segmented-control button{min-height:44px;flex:1;padding:10px 12px;font-size:15px}
 .workspace .schedule-columns[data-days='1']{grid-template-columns:40px minmax(0,1fr);min-width:0}
 .workspace .schedule-columns[data-days='1'] .schedule-event strong{font-size:14px}
 .workspace .schedule-columns[data-days='1'] .schedule-event small{font-size:12px}
 .workspace .schedule-legend{gap:8px 12px;line-height:1.4}
 .workspace .setup-tabs{gap:8px;margin-bottom:16px}.workspace .setup-tabs>.button{flex:1 1 140px}
 .workspace .setup-languages{margin-left:0}
 .workspace .setup-plan-fields,.workspace .setup-filters{grid-template-columns:minmax(0,1fr)}
 .workspace .setup-builder-head{padding:14px;position:static}
 .workspace .setup-tool{padding-bottom:130px}
 .workspace .setup-item{grid-template-columns:22px minmax(0,1fr);padding:14px 12px;gap:10px}
 .workspace .setup-item-description{grid-column:2}
 .workspace .setup-item .setup-quantity{grid-column:2;grid-row:auto;justify-self:start}
 .workspace .setup-item>strong{grid-column:2;grid-row:auto;text-align:left;font-size:16px}
 .workspace .setup-item.catalog-row{grid-template-columns:minmax(0,1fr)}
 .workspace .setup-item.catalog-row .setup-item-description{grid-column:1}
 .workspace .setup-item h3{font-size:17px}
 .workspace .setup-quick-actions{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
 .workspace .setup-quick-actions .button{font-size:14px;padding:10px}
 .workspace .workspace-footer{padding:0 12px 22px;line-height:1.5}
 .form-funnel .form-header{gap:10px;flex-wrap:wrap;max-width:100%}
 .form-funnel .form-header>span:not(.wordmark){flex:1;min-width:0;font-size:12px;text-align:right}
 .form-funnel .question-card,.form-funnel .question-body,.form-funnel .answer-options{min-width:0;max-width:100%}
 .form-funnel h1,.form-funnel h2,.form-funnel p,.form-funnel label{overflow-wrap:anywhere}
 .form-funnel .question-actions{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important}}

@media(max-width:760px){
 .workspace .sidebar .sidebar-nav{position:absolute;top:100%;left:0;right:0;margin:0;padding:12px 14px 20px;background:var(--green-deep,#173b34);max-height:calc(100dvh - 72px);box-shadow:0 12px 20px #12352b33}
 .workspace .employee-scope p{display:none}
 .workspace .resource-home{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .workspace .resource-home p{display:none}.workspace .resource-home .button{font-size:14px;padding:10px}
}

@media(max-width:760px){
 .workspace .modal-head{position:sticky;top:-16px;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;margin:-16px -14px 14px;padding:12px 14px;background:white;border-bottom:1px solid var(--line)}
 .workspace .modal-head .eyebrow{display:none}
 .workspace .modal-head h2{font-size:21px;line-height:1.25}
 .workspace .modal-head>.icon-button{grid-column:2;grid-row:1;width:44px;height:44px;margin:0}
 .workspace .modal-head>.crm-language-control{grid-column:1/-1;grid-row:2;flex-basis:auto;justify-self:start;margin:0;font-size:13px}
}

/* Daily report (Team performance) */
.daily-report-head{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;justify-content:space-between}
.daily-report-head h2{margin-bottom:2px}
.daily-attention{margin:6px 0 10px 18px;padding:0}
.daily-attention li{margin:4px 0}
