:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233a3c;background:#f5f5f0;font-synthesis:none;--green:#246454;--ink:#18383b;--muted:#6b7878;--line:#e0e5df;--cream:#f5f5f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c59f50}a{color:var(--green)}.skip{position:fixed;top:-70px;left:16px;background:white;padding:12px;z-index:20}.skip:focus{top:8px}.logo{display:flex;align-items:center;gap:12px;font-weight:650;letter-spacing:.07em;font-size:15px}.mark{width:40px;height:40px;display:block;color:#c5d5b3}.brand-sub{font-weight:400;font-size:10px;letter-spacing:.19em;margin-top:5px;opacity:.65}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:650;color:#758778}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 19px;border-radius:7px;border:1px solid transparent;background:var(--green);color:#fff;font-weight:600;font-size:13px;text-decoration:none}.btn:hover:not(:disabled){background:#1a5144}.btn.secondary{background:white;color:var(--ink);border-color:var(--line)}.btn.secondary:hover:not(:disabled){background:#f0f3ed}.btn.ghost{color:var(--muted);background:transparent;border:1px solid var(--line)}.iconbtn{background:transparent;border:1px solid var(--line);border-radius:7px;width:36px;height:36px;color:var(--ink);font-size:22px}.login-layout{min-height:100svh;display:grid;grid-template-columns:1.08fr 1fr}.welcome{background:#18383b;color:white;padding:54px 8vw;position:relative;overflow:hidden;display:flex;flex-direction:column}.welcome .logo{margin-bottom:100px}.welcome .eyebrow{color:#bad0b9}.welcome h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;font-size:clamp(44px,4.8vw,76px);line-height:1.07;max-width:560px;margin:20px 0 24px}.welcome p{font-size:15px;line-height:1.8;max-width:370px;color:#bed0cd}.plan{width:100%;max-width:390px;height:200px;margin:42px 0 30px;color:#90ad96;opacity:.55}.welcome footer{margin-top:auto;color:#a6bcb5;font-size:11px;letter-spacing:.05em}.signin{display:flex;align-items:center;justify-content:center;padding:60px 36px}.signin-box{width:100%;max-width:365px}.signin h2{font-family:Georgia,serif;font-size:35px;letter-spacing:-.025em;font-weight:400;margin:16px 0 12px}.intro{color:var(--muted);font-size:14px;line-height:1.75;margin-bottom:32px}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 20px}.field label{font-size:12px;font-weight:650;color:#3d5555}.field input,.field select,.field textarea{width:100%;border:1px solid #d4ddd5;border-radius:6px;background:white;color:var(--ink);padding:12px 13px;min-height:45px}.field textarea{resize:vertical;line-height:1.65;min-height:140px}.field small,.fine{color:var(--muted);font-size:11px;line-height:1.7}.signin .btn{width:100%;margin-top:8px}.signin .fine{margin-top:22px;text-align:center}.error,.notice{border:1px solid #edd2c8;background:#fff4ee;color:#81462e;border-radius:7px;padding:13px 15px;font-size:13px;line-height:1.6;margin:14px 0}.notice{background:#f0f5ec;color:#526b47;border-color:#d9e5d0}.error:empty{display:none}.shell{min-height:100svh;display:grid;grid-template-columns:235px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100svh;background:#18383b;color:#e2ece5;padding:32px 23px;display:flex;flex-direction:column}.sidebar .logo{margin:0 0 49px 1px;font-size:13px}.sidebar .mark{width:34px;height:34px}.sidebar .eyebrow{color:#8faaa2;font-size:9px;margin-bottom:14px}.nav{display:flex;flex-direction:column;gap:9px}.nav button{border:0;background:transparent;color:#afc5be;text-align:left;padding:13px;border-radius:6px;font-size:12px;display:flex;gap:12px;align-items:center}.nav .active{background:#2b4c4c;color:white}.nav .active:before{content:'◈';font-size:17px;color:#d9e3bf}.side-note{margin-top:26px;padding:17px 13px;border:1px solid #3b5551;border-radius:8px;font-size:11px;line-height:1.8;color:#9db5aa}.side-note strong{color:#c9d7bd;font-weight:500;display:block;margin-bottom:4px}.account{margin-top:auto;border-top:1px solid #3b5551;padding-top:21px;font-size:11px;color:#b9cdc4;overflow-wrap:anywhere}.account strong{display:block;color:#ecf1e8;font-size:12px;margin-bottom:7px}.account button{margin-top:12px;background:transparent;border:0;color:#adc7bd;font-size:11px;padding:6px 0;text-decoration:underline}.main{min-width:0}.topbar{min-height:73px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 48px;background:#fafbf7;font-size:11px;color:#687a73}.topbar strong{font-weight:500;color:#3d5750}.connection{display:flex;gap:7px;align-items:center}.dot{height:6px;width:6px;background:#4c8b67;border-radius:50%}.content{max-width:1300px;margin:auto;padding:42px 48px 60px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.heading h1{font-family:Georgia,serif;font-weight:400;font-size:40px;letter-spacing:-.035em;margin:8px 0 12px}.heading p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:31px}.metric{background:#fcfdf9;border:1px solid var(--line);border-radius:9px;padding:19px 22px;display:flex;justify-content:space-between;align-items:center}.metric-label{font-size:11px;color:var(--muted);margin-bottom:8px}.metric strong{font-family:Georgia,serif;font-weight:400;font-size:30px}.metric-symbol{font-size:22px;color:#8eaa8a;background:#edf2e7;border-radius:50%;width:41px;height:41px;display:grid;place-items:center}.summary-note{font-size:10px;color:var(--muted);margin:-20px 0 28px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e9ece6}.panel-head h2{font-size:14px;font-weight:600;margin:0}.panel-head span{font-size:11px;color:var(--muted)}.filters{padding:17px 24px;background:#fcfdf9;display:flex;gap:12px;align-items:center;border-bottom:1px solid #e9ece6}.filter{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.filter select{background:white;border:1px solid var(--line);border-radius:5px;padding:9px 10px;color:#435b55;max-width:260px;font-size:11px}.filters .refresh{margin-left:auto;border:1px solid var(--line);background:white;color:#526a60;padding:8px 12px;border-radius:5px;font-size:11px}.table-head{display:grid;grid-template-columns:minmax(180px,1fr) 180px 115px 105px 22px;padding:14px 24px;color:#7c8980;background:#fafbf7;border-bottom:1px solid #e9ece6;font-size:9px;letter-spacing:.09em;text-transform:uppercase}.report{display:grid;grid-template-columns:minmax(180px,1fr) 180px 115px 105px 22px;width:100%;padding:22px 24px;border:0;border-bottom:1px solid #edf0e9;background:white;align-items:center;text-align:left;gap:0;color:var(--ink)}.report:hover{background:#f7faf4}.report-title{font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;padding-right:18px}.report-sub{display:block;font-weight:400;color:#829084;font-size:10px;margin-top:5px}.report-location{font-size:11px;line-height:1.6;color:#6a7e72;padding-right:12px;overflow-wrap:anywhere}.report-date{font-size:11px;color:#78887c}.chevron{font-size:21px;color:#859881}.badge{display:inline-block;font-size:9px;border-radius:4px;padding:6px 9px;font-weight:550;text-transform:capitalize;width:max-content}.submitted{color:#4b7756;background:#edf4e8}.reviewing{color:#987b3b;background:#faf2dd}.resolved{color:#477c7b;background:#e6f1ef}.closed{color:#78807c;background:#eff0ed}.empty{padding:65px 25px;text-align:center}.empty-icon{font-size:31px;color:#86a17c;background:#f0f4e9;border-radius:50%;width:67px;height:67px;display:grid;place-items:center;margin:0 auto 19px}.empty h3{font-family:Georgia,serif;font-weight:400;font-size:24px;margin:0 0 12px}.empty p{font-size:12px;line-height:1.8;color:var(--muted);max-width:350px;margin:0 auto 20px}.panel-foot{padding:17px 24px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.footer-note{display:flex;justify-content:space-between;margin-top:26px;font-size:10px;color:#8a978a;line-height:1.8}.loading{padding:64px 24px;color:#718471;text-align:center;font-size:13px}dialog{border:1px solid var(--line);border-radius:12px;padding:0;width:min(650px,calc(100% - 28px));max-height:90svh;color:var(--ink);box-shadow:0 25px 90px #102d3540}dialog::backdrop{background:#102d3570;backdrop-filter:blur(3px)}.dialog-head{padding:25px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialog-head h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.03em;margin:0}.dialog-body{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.details{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#4e645e;margin:22px 0;overflow-wrap:anywhere}.detail-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.detail-section{border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.detail-section h3{font-size:13px;margin:0 0 16px}.comment{border-left:2px solid #d2dfc6;padding:0 0 0 14px;margin:18px 0;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.comment small{display:block;font-size:10px;color:var(--muted);margin-bottom:6px;white-space:normal}.confirmation{font-size:12px;color:var(--muted);line-height:1.8}.detail-section .field textarea{min-height:95px}.comment-actions{display:flex;justify-content:flex-end}.busy{opacity:.7;pointer-events:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183e35;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 7px 25px #172b3320;font-size:13px;max-width:90vw;z-index:15}#toast:empty{display:none}.mobile-brand{display:none}.hidden{display:none!important}
@media(min-width:1450px){.content{padding-top:55px}.welcome{padding-left:10vw}}@media(max-width:1100px){.shell{grid-template-columns:205px 1fr}.content{padding:32px 25px}.topbar{padding-inline:25px}.table-head,.report{grid-template-columns:minmax(150px,1fr) 130px 95px 22px}.table-head .date-col,.report-date{display:none}.heading h1{font-size:35px}.welcome{padding:45px 6vw}.summary{gap:12px}.metric{padding:15px}}@media(max-width:760px){.login-layout{grid-template-columns:1fr}.welcome{padding:26px 28px 30px}.welcome .logo{margin:0 0 37px}.welcome h1{font-size:43px;max-width:360px;margin:14px 0}.welcome p{margin:0}.welcome .plan,.welcome footer{display:none}.signin{padding:32px 25px 50px}.signin h2{font-size:29px}.signin .intro{margin-bottom:25px}.shell{display:block}.sidebar{height:auto;position:static;padding:16px 22px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .logo{margin:0}.sidebar .nav,.sidebar .side-note,.sidebar .account strong,.sidebar .account>span{display:none}.sidebar .account{margin:0;padding:0;border:0}.sidebar .account button{margin:0;color:#e0e9df}.topbar{min-height:57px;padding-inline:20px;font-size:10px}.content{padding:26px 18px 45px}.heading{align-items:flex-start;gap:12px;margin-bottom:24px}.heading h1{font-size:31px;margin-top:8px}.heading p{font-size:12px}.heading .btn{font-size:0;width:42px;min-width:42px;height:42px;padding:0;margin-top:17px}.heading .btn .plus{font-size:24px}.summary{gap:9px;margin-bottom:25px}.metric{padding:12px 10px}.metric-label{font-size:9px;line-height:1.5}.metric strong{font-size:25px}.metric-symbol{display:none}.summary-note{font-size:9px;margin-top:-16px;margin-bottom:22px}.filters{padding:14px;gap:8px;flex-wrap:wrap}.filter{flex:1;min-width:120px;display:block}.filter label{display:block;margin-bottom:7px}.filter select{width:100%;max-width:none}.filters .refresh{align-self:flex-end}.panel-head{padding:18px}.panel-head span{font-size:10px}.table-head{display:none}.report{padding:19px 17px;grid-template-columns:minmax(0,1fr) 85px 15px;row-gap:8px}.report-title{grid-column:1;grid-row:1}.report-location{grid-column:1;grid-row:2;font-size:10px}.report .badge{grid-column:2;grid-row:1}.report .chevron{grid-column:3;grid-row:1}.panel-foot{padding:15px;font-size:10px}.footer-note{font-size:9px}.form-grid{grid-template-columns:1fr;gap:0}.dialog-head,.dialog-body{padding:20px}.dialog-head h2{font-size:25px}.empty{padding:45px 20px}}

/* Assistant Home shares the existing workspace palette, heading, panels and buttons. */
.assistant-home{max-width:850px}
.assistant-home .heading{margin-bottom:24px}
.home-composer{padding:clamp(20px,3vw,32px)}
.home-composer h2{font-size:clamp(19px,2.2vw,24px);margin:0 0 20px}
.home-composer label{display:block;font-weight:600;margin-bottom:6px}
.home-composer textarea{display:block;width:100%;min-height:66px;padding:11px 12px;margin-bottom:13px;border:1px solid #bdcbbd;border-radius:7px;background:#fdfdfa;color:var(--ink)}
.home-composer textarea::placeholder{color:#586a66}
.home-composer p{margin:15px 0 0}
.home-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.workspace-menu{display:none}
@media(max-width:760px){
 .sidebar{position:relative;z-index:5;gap:10px;flex-wrap:wrap}
 .sidebar>.brand-block{margin-right:auto}
 .sidebar .property-address{display:none}
 .sidebar .workspace-menu{display:inline-flex;gap:6px;align-items:center;padding:9px 10px;border:1px solid #79948e;border-radius:7px;background:transparent;color:white;cursor:pointer}
 .sidebar #workspace-menu[aria-expanded="false"]+.nav{display:none}
 .sidebar #workspace-menu[aria-expanded="true"]+.nav{display:grid;position:absolute;top:100%;left:0;width:min(290px,100%);padding:9px 12px;margin:0;border-radius:0 0 8px 0;background:var(--ink);box-shadow:0 8px 18px #18383b40}
 .sidebar #workspace-menu[aria-expanded="true"]+.nav button{min-height:44px;width:100%}
 .assistant-home .heading{margin-bottom:16px}
}

.sidebar .workspace-logo{color:inherit;text-decoration:none}

/* Keep the permanent Home action available when a modal makes the sidebar inert. */
.dialog-head .dialog-home-link{flex:none;gap:5px;color:var(--ink);text-decoration:none;font-size:10px;letter-spacing:.02em}
.dialog-head .dialog-home-link .mark{width:27px;height:27px;color:var(--green)}
.dialog-head .dialog-home-link .brand-sub{font-size:7px;margin-top:2px}

.workspace-header-title{display:flex;align-items:center;gap:9px;min-width:0}
.workspace-back{flex:none;min-height:36px;padding:6px 10px;white-space:nowrap}
.dialog-head .workspace-header-title{flex:none}
@media(max-width:760px){
 .topbar .workspace-header-title{gap:6px}
 .topbar .workspace-back{padding-inline:7px;font-size:11px}
 .dialog-head .workspace-back{min-height:38px;padding:5px 7px;font-size:11px}
 .dialog-head .workspace-header-title{gap:6px}
 .dialog-head:has(.workspace-back){gap:8px;flex-wrap:wrap}
}

@media(max-width:1100px),(pointer:coarse){.topbar .workspace-back{min-height:44px}}

/* Substantial forms use the same header, gutters and panels as workspace pages. */
.workspace-form{padding:clamp(16px,3vw,28px)}
.workspace-form>.intro{margin:0 0 20px}
.workspace-form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}
.observation-attachments{min-width:0;margin:0 0 12px;padding:12px;border:1px solid var(--line);border-radius:7px}
.observation-attachments legend,.observation-attachments label{font-weight:600}
.observation-attachments label:not([hidden]){display:block;margin-top:8px}
.observation-attachments input{display:block;width:100%;max-width:100%;margin:7px 0 11px;font-size:13px}
.observation-attachments ul{margin:8px 0 0;padding:0;list-style:none}
.observation-attachments ul:empty{display:none}
.observation-attachments li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;overflow-wrap:anywhere}
@media(max-width:760px){.workspace-form-actions>*{flex:1 1 130px}}

.observation-attachments li img{width:56px;height:48px;object-fit:cover;border-radius:5px}
.observation-attachments li span{flex:1;min-width:0}
.observation-attachments progress{display:block;width:100%;margin-top:6px;accent-color:var(--green)}

/* Keep the editor canvas in the viewport while the other workspaces retain normal page scrolling. */
.editor-shell{height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr)}
.editor-shell .main{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
.editor-shell .sidebar{height:100%;overflow:auto}
.editor-shell .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.workspace-editor-title{margin:0;text-align:center;font-family:Georgia,serif;font-size:clamp(17px,2.4vw,26px);font-weight:400;color:var(--ink)}
.editor-published{justify-self:end;min-height:36px;padding:6px 10px;text-align:center}
.editor-shell .content{width:100%;max-width:none;min-height:0;margin:0;padding:0}
.editor-shell #editor-status{margin:18px}
.editor-shell #editor-frame:not([hidden]){height:100%}
.workspace-drawing-editor{display:block;width:100%;height:100%;border:0;background:white}
@media(max-width:950px){
 .editor-shell .topbar .workspace-header-title>span{display:none}
}
@media(max-width:760px){
 .editor-shell{display:flex;flex-direction:column}
 .editor-shell .sidebar{height:auto;overflow:visible;flex:none}
 .editor-shell .main{flex:1}
 .editor-shell .topbar{gap:5px;padding-inline:10px}
 .editor-published{min-height:44px;padding:4px 6px;font-size:11px}
}
.observation-attachments li label{display:flex;gap:5px;align-items:center}
.observation-attachments li input[type=checkbox]{width:auto;margin:0}

/* Authentication uses the same application palette, panel and primary action as the workspace. */
.mfa-workspace{min-height:100svh;display:grid;place-items:center;padding:clamp(16px,5vw,40px)}
.mfa-card{width:min(100%,420px);padding:clamp(22px,5vw,36px);text-align:center;box-shadow:0 8px 24px #18383b12}
.mfa-brand{display:flex;justify-content:center;color:var(--ink)}
.mfa-brand .mark{color:var(--green)}
.mfa-brand .property-address{display:none}
.mfa-card h1{font:400 clamp(27px,6vw,35px)/1.12 Georgia,serif;margin:24px 0 10px;color:var(--ink)}
.mfa-card p{margin:0 0 16px;color:#48605b;line-height:1.45}
.mfa-card [role="alert"]{color:#8f2923}
.mfa-form{display:grid;justify-items:center;gap:14px}
.mfa-code-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mfa-form input{width:min(100%,240px);min-height:55px;padding:8px;border:1px solid #9eb3a9;border-radius:7px;background:#fdfdfa;color:var(--ink);text-align:center;font-size:27px;letter-spacing:.26em;text-indent:.26em}
.mfa-form .btn{width:min(100%,240px);min-height:44px}
.mfa-secondary{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin-top:12px}
.mfa-secondary button{min-height:40px;padding:4px;border:0;background:transparent;color:var(--green);font-size:13px;text-decoration:underline;text-underline-offset:2px}
.mfa-setup textarea{width:100%;min-height:55px;margin-bottom:14px;padding:8px;border:1px solid var(--line);border-radius:7px}

.observation-location-map{border-bottom:1px solid var(--line);padding:0 18px}
.observation-location-map summary{padding:11px 0;color:var(--green);font-weight:650;cursor:pointer}
.observation-location-map [data-map-status]{margin:4px 0 10px}
.observation-map-tools{display:flex;flex-wrap:wrap;gap:6px}
.observation-location-map [data-observation-map-stage]{padding-bottom:14px}
.observation-location-map [data-observation-map-stage]:empty{padding:0}
.observation-location-svg{display:block;width:100%;height:clamp(200px,38vh,420px);background:#f7faf6;border:1px solid var(--line);border-radius:6px}
.observation-map-expanded .observation-location-svg{height:72svh}
.observation-location-svg.zoomed{cursor:grab;touch-action:none}
.observation-pin{fill:#ad382c;stroke:white;stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:pointer}
.observation-pin.highlighted,.observation-pin:focus{fill:#eab756;stroke:var(--ink);stroke-width:2.5;outline:none}
.observation-map-row-action:not([hidden]){display:flex;min-height:32px;margin:4px 14px 7px auto;padding:4px 8px}
.observation-map-row-action[hidden]{display:none}

.property-review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .65rem;
  margin-block-end: .8rem;
}
.property-review-cards button {
  min-height: 3rem;
  text-align: start;
}
.property-review-cards [aria-pressed="true"] {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
