:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#211e17;background:#f8f6f1}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}a{color:#8d650b}.portal-header{height:78px;padding:10px clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #e8dfce}.portal-header img{display:block;width:158px;height:55px;object-fit:contain;object-position:left}.portal-header span{font-weight:800;color:#936d16}.eyebrow{margin:0;color:#9a711b;font-size:.78rem;font-weight:800;letter-spacing:.15em}.auth-card,.card,.stat-grid article{background:#fff;border:1px solid #e8dfce;border-radius:20px;box-shadow:0 9px 30px rgba(61,46,18,.045)}.auth-card{width:min(450px,calc(100% - 32px));margin:48px auto;padding:clamp(23px,5vw,36px)}.auth-card h1{margin:8px 0;font-size:clamp(1.7rem,4vw,2.2rem)}.auth-card p{line-height:1.7}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin:26px 0 20px;border-bottom:1px solid #dfd4bd}.auth-tabs button{border:0;background:transparent;padding:14px 8px;font-weight:800}.auth-tabs button.active{color:#936d16;border-bottom:3px solid #b58a27}.portal-form{display:grid;gap:16px}.portal-form label{display:grid;gap:7px;font-weight:700}.portal-form input:not([type=checkbox]),.portal-form textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid #d9cfbe;border-radius:10px;background:#fff}.portal-form textarea{resize:vertical}.portal-form .checkbox{display:flex;align-items:center;gap:8px}.portal-form button,.portal-sidebar>button,.portal-topline a{border-radius:11px;padding:12px 16px;font-weight:800}.primary{border:1px solid #a57309;color:#fff;background:linear-gradient(135deg,#d7ad3b,#a67508)}.secondary{border:1px solid #c5a763;color:#8a640f;background:#fff}.danger{border:1px solid #c45f5f;color:#a33131;background:#fff}.message{min-height:1.4em;color:#815912;font-weight:700;overflow-wrap:anywhere}.portal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);max-width:1600px;margin:auto}.portal-sidebar{min-height:calc(100vh - 78px);padding:30px 16px;background:#fff;border-right:1px solid #e8dfce;display:flex;flex-direction:column;gap:24px}.portal-brand{padding:0 12px}.portal-brand strong{display:block;margin:8px 0;overflow-wrap:anywhere}.portal-brand small{display:block;color:#777;overflow-wrap:anywhere}.portal-sidebar nav{display:grid;gap:4px}.portal-sidebar nav button{width:100%;padding:13px 15px;border:0;border-radius:11px;background:transparent;text-align:left;font-weight:750;color:#463d2c}.portal-sidebar nav button.active{background:#b58a27;color:#fff}.portal-sidebar>button{margin-top:auto}.portal-content{min-width:0;padding:clamp(22px,3vw,45px)}.portal-topline{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.portal-topline h1{margin:6px 0 18px;font-size:clamp(1.7rem,3vw,2.3rem)}.portal-topline a{text-decoration:none;border:1px solid #b58a27}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:12px 0 22px}.stat-grid article{padding:21px}.stat-grid span{display:block;color:#6e675b;font-size:.9rem}.stat-grid strong{display:block;margin-top:10px;font-size:clamp(1.15rem,2vw,1.8rem)}.card{padding:clamp(19px,3vw,29px);margin-bottom:20px;min-width:0}.card h2{margin:0 0 18px}.card p{line-height:1.7;overflow-wrap:anywhere}.split-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);gap:18px}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.section-heading h2{margin:0}.item-list{display:grid;gap:8px}.list-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;border:1px solid #e5dccb;border-radius:12px;background:#fff;text-align:left}.list-item span,.muted{color:#797267}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:14px}.land-item{overflow:hidden;border:1px solid #e5dccb;border-radius:14px}.land-item img{width:100%;aspect-ratio:16/10;object-fit:cover}.land-item div{padding:14px}.land-item h3{margin:0;overflow-wrap:anywhere}.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.form-actions button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}@media(max-width:850px){.portal-layout{display:block}.portal-sidebar{min-height:0;padding:16px;border-right:0;border-bottom:1px solid #e8dfce;gap:12px}.portal-sidebar nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}.portal-sidebar nav button{width:auto;flex:none;white-space:nowrap}.portal-sidebar>button{align-self:flex-end;padding:8px 12px}.portal-content{padding:18px}.split-grid{grid-template-columns:1fr}}@media(max-width:520px){.form-pair{grid-template-columns:1fr}.portal-header{height:68px}.portal-header img{width:130px}.portal-sidebar{padding:12px}.portal-content{padding:15px}.card{border-radius:16px}}
:root .text-button{border:0;background:none;color:#936d16;font-weight:700;text-decoration:underline;padding:7px}
.portal-form select,.contact-item select{width:100%;min-width:0;padding:12px 13px;border:1px solid #d9cfbe;border-radius:10px;background:#fff;font:inherit}.land-select{display:block;width:100%;padding:0;background:#fff;text-align:left;color:inherit;cursor:pointer}.land-select:hover,.land-select:focus-visible{outline:2px solid #b58a27}.contact-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);gap:16px;padding:16px;border:1px solid #e5dccb;border-radius:12px}.contact-item p{overflow-wrap:anywhere}.contact-item small{display:block;color:#777}.contact-item label{display:grid;align-content:start;gap:6px}.metric-table-wrap{max-width:100%;overflow-x:auto}.metric-table{width:100%;border-collapse:collapse;white-space:nowrap}.metric-table th,.metric-table td{padding:11px 14px;text-align:left;border-bottom:1px solid #e8dfce}.metric-table th{color:#715619;background:#fbf8f0}@media(max-width:520px){.contact-item{grid-template-columns:1fr}.metric-table{font-size:.86rem}}
.property-advanced{border:1px solid #e8dfce;border-radius:12px;padding:12px}.property-advanced summary{cursor:pointer;font-weight:800;color:#8a640f}.property-advanced>.portal-form{margin-top:16px}
[data-current-preview],[data-demolition-preview]{display:block;width:min(100%,420px);aspect-ratio:4/3;object-fit:cover;border:1px solid #e8dfce;border-radius:12px;background:#f8f6f1}
.demolition-ai-controls{display:grid;gap:9px;padding:16px;border:1px solid #e8dfce;border-radius:14px;background:#fbf8f0}.demolition-ai-controls button{justify-self:start}.demolition-ai-controls p{margin:0;font-size:.9rem;line-height:1.55}.demolition-ai-controls .message{display:flex;align-items:center;gap:8px}.demolition-ai-spinner{display:inline-block;width:18px;height:18px;flex:none;border:3px solid #ddcfac;border-top-color:#a67508;border-radius:50%;animation:demolition-ai-spin .8s linear infinite}@keyframes demolition-ai-spin{to{transform:rotate(360deg)}}@media(max-width:520px){.demolition-ai-controls button{width:100%}}@media(prefers-reduced-motion:reduce){.demolition-ai-spinner{animation:none}}
.demolition-ai-result{display:grid;gap:11px;margin-top:5px;padding:14px;border:1px solid #d9c99f;border-radius:12px;background:#fff}.demolition-ai-result>p{font-weight:800;color:#715619}.demolition-ai-result img{display:block;width:min(100%,420px);aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#f8f6f1;cursor:default}.demolition-ai-actions{display:flex;gap:10px;flex-wrap:wrap}.demolition-ai-actions button,.demolition-ai-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:10px;font-weight:800;text-decoration:none}.demolition-ai-actions button:disabled{opacity:.55;cursor:default}@media(max-width:520px){.demolition-ai-actions>*{width:100%}}
.property-lock-panel{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:14px;border:1px solid #e8dfce;border-radius:12px;background:#fbf8f0}.property-lock-panel p{flex:1 1 220px;margin:0}.property-lock-panel button{padding:9px 12px;border-radius:10px}.property-lock-panel textarea{width:100%;max-width:100%;padding:10px;border:1px solid #d9cfbe;border-radius:10px}.member-row,.audit-row{display:grid;gap:10px;padding:16px;border:1px solid #e8dfce;border-radius:12px;background:#fff;min-width:0}.member-row small,.audit-row small{display:block;color:#716b61;overflow-wrap:anywhere}.member-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));align-items:end;gap:10px}.member-controls label{display:grid;gap:5px}.member-controls input,.member-controls select,#auditFilterForm input,#auditFilterForm select{width:100%;min-width:0;padding:9px;border:1px solid #d9cfbe;border-radius:9px;background:#fff}.member-controls button,#auditFilterForm button,#memberInviteList button{padding:10px;border-radius:10px}.audit-row strong{overflow-wrap:anywhere}
#auditFilterForm{margin-bottom:18px}#auditFilterForm label{display:grid;gap:5px}#auditMoreButton{margin-top:16px;padding:10px 14px;border-radius:10px}
.registration-company-fields{display:grid;gap:16px;min-width:0;margin:4px 0 0;padding:20px;border:1px solid #d9cfbe;border-radius:14px;background:#fffdf8}.registration-company-fields legend{padding:0 8px;color:#775813;font-weight:800}.registration-company-fields p{margin:0;color:#716b61}.registration-company-fields input[type=file]{padding:8px;background:#fff}.registration-company-fields .form-pair{min-width:0}
.property-address-controls{display:grid;gap:14px;min-width:0;margin:4px 0;padding:18px;border:1px solid #e6d8b8;border-radius:14px;background:#fffaf0}.property-address-controls h3{margin:0;color:#73520e}.property-address-controls p{margin:0;color:#716859;font-size:.9rem;line-height:1.6}.property-address-controls label,.property-address-controls .form-pair{min-width:0}

/* Inquiry management: list and full detail */
.company-contact-layout{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);align-items:start;gap:18px}
.company-contact-layout>.card{min-width:0;margin:0}
.company-contact-list-panel .section-heading{margin-bottom:12px}
.company-contact-list-panel .section-heading p{margin:3px 0 0}
#contactSearch{display:block;width:100%;min-width:0;margin-bottom:14px;padding:12px 13px;border:1px solid #d9cfbe;border-radius:10px;background:#fff}
.company-contact-list,.company-contact-detail{display:grid;align-content:start;gap:10px;min-width:0}
.company-contact-row{display:grid;gap:7px;width:100%;min-width:0;padding:14px;border:1px solid #e5dccb;border-radius:12px;background:#fff;color:#211e17;text-align:left;overflow-wrap:anywhere}
.company-contact-row:hover,.company-contact-row:focus-visible{border-color:#b58a27;outline:2px solid transparent;background:#fffaf0}
.company-contact-row.is-selected{border-color:#a67508;box-shadow:inset 4px 0 #b58a27;background:#fffaf0}
.company-contact-row-top{display:flex;justify-content:space-between;align-items:start;gap:10px}
.company-contact-row small,.company-contact-field>span{color:#777064;font-size:.8rem}
.company-contact-row .company-contact-status{justify-self:start;padding:3px 9px;border-radius:999px;background:#f5ecda;color:#79540a;font-size:.78rem;font-weight:800}
.company-contact-field{display:grid;gap:5px;min-width:0;padding:13px 15px;border:1px solid #e5dccb;border-radius:11px;background:#fff}
.company-contact-field>span,.company-contact-field>label{font-size:.8rem;font-weight:800;color:#777064}
.company-contact-field strong{overflow-wrap:anywhere}
.company-contact-message strong{white-space:pre-wrap;line-height:1.7}
.company-contact-field select{width:100%;min-width:0;padding:10px 12px;border:1px solid #d9cfbe;border-radius:10px;background:#fff;font:inherit}
.company-contact-media>img,.company-contact-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid #e5dccb;border-radius:10px}
.company-contact-gallery{display:grid;gap:12px;margin-top:8px}
.company-contact-gallery figure{margin:0}
.company-contact-gallery figcaption{margin-top:5px;color:#777064;font-size:.83rem;overflow-wrap:anywhere}
.company-contact-field ul{margin:4px 0;padding-left:1.4em;line-height:1.7}
.company-contact-media p{margin:4px 0 0}
@media(max-width:1050px){.company-contact-layout{grid-template-columns:1fr}}

/* Analytics */
.analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:27px 0 15px}
.analytics-heading h3{margin:0;font-size:1.2rem}
.analytics-heading label,.analytics-custom-range label{display:grid;gap:5px;color:#625b4f;font-size:.85rem;font-weight:800}
.analytics-heading select,.analytics-custom-range input{min-width:140px;padding:9px 12px;border:1px solid #d9cfbe;border-radius:9px;background:#fff;color:#211e17;font:inherit}
.analytics-custom-range{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 15px}
.analytics-custom-range .message{flex-basis:100%;margin:0}
.analytics-chart{padding:18px;border:1px solid #e8dfce;border-radius:15px;background:#fffdf9}
.analytics-legend{display:flex;gap:10px 18px;flex-wrap:wrap;margin-bottom:12px;font-size:.83rem;font-weight:800}
.analytics-legend span{display:inline-flex;align-items:center;gap:7px}
.analytics-legend i{width:12px;height:12px;border-radius:50%}
.analytics-svg-wrap{max-width:100%;overflow-x:auto}
.analytics-svg-wrap svg{display:block;width:100%;min-width:540px;height:auto}
.analytics-svg-wrap text{fill:#777064;font-size:12px;font-family:inherit}
.analytics-chart-note{margin:8px 0 0!important;font-size:.82rem}
.analytics-property-name{display:flex;align-items:center;gap:11px;min-width:200px}
.analytics-property-name img,.analytics-property-placeholder{display:grid;flex:none;width:72px;height:54px;place-items:center;border-radius:8px;object-fit:cover;background:#f4ead3;color:#98700e;font-size:1.3rem}
.analytics-property-name strong{max-width:260px;white-space:normal;overflow-wrap:anywhere}
.analytics-property-table td:not(:first-child){font-variant-numeric:tabular-nums}
@media(max-width:520px){.analytics-heading label,.analytics-heading select{width:100%}.analytics-custom-range label{flex:1 1 145px}.analytics-custom-range input{width:100%}}

/* Company dashboard */
[data-section="dashboard"] .stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:2px 0 20px}
[data-section="dashboard"] .stat-grid article{position:relative;min-width:0;min-height:120px;padding:20px 18px 18px 76px;border-radius:14px}
[data-section="dashboard"] .stat-grid article::before{position:absolute;top:22px;left:18px;display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:#faf5e9;color:#9c710d;font-size:1.7rem}
[data-section="dashboard"] .stat-grid article:nth-child(1)::before{content:"⌖"}
[data-section="dashboard"] .stat-grid article:nth-child(2)::before{content:"◉"}
[data-section="dashboard"] .stat-grid article:nth-child(3)::before{content:"⌂"}
[data-section="dashboard"] .stat-grid article:nth-child(4)::before{content:"◎"}
[data-section="dashboard"] .stat-grid article:nth-child(5)::before{content:"◇"}
[data-section="dashboard"] .stat-grid span{font-size:.78rem;font-weight:700}
[data-section="dashboard"] .stat-grid strong{margin-top:8px;color:#171512;font-size:clamp(1.35rem,2vw,1.8rem);font-variant-numeric:tabular-nums}
.dashboard-company-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,240px) auto;align-items:center;gap:18px;min-height:122px;margin:0 0 26px;padding:16px 19px;border:1px solid #e8dfce;border-radius:16px;background:#fff;box-shadow:0 9px 30px rgba(61,46,18,.045)}
.dashboard-company-copy{display:grid;justify-items:start;gap:5px;min-width:0}
.dashboard-company-label{color:#98700e;font-size:.75rem;font-weight:800;letter-spacing:.08em}
.dashboard-company-copy strong{overflow-wrap:anywhere;font-size:1.18rem}
.dashboard-company-copy p{margin:0;color:#6e675b;font-size:.84rem}
.dashboard-publication{padding:3px 9px;border-radius:999px;background:#f0eeeb;color:#5b574f;font-size:.75rem;font-weight:800}
.dashboard-publication.is-public{background:#e8f6ec;color:#21834a}
.dashboard-company-summary>img{width:100%;height:90px;border-radius:10px;object-fit:cover}
.dashboard-company-actions{display:grid;gap:8px}
.dashboard-company-actions a,.dashboard-company-actions button{display:block;padding:9px 12px;border:1px solid #b58a27;border-radius:9px;background:#fff;color:#7e5908;font-size:.82rem;font-weight:800;text-align:center;text-decoration:none;white-space:nowrap}
.dashboard-call-panel{margin-bottom:26px}
.dashboard-call-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.dashboard-call-heading h2{margin:0 0 5px;font-size:1.25rem}
.dashboard-call-heading h2 small{margin-left:7px;color:#777064;font-size:.76rem;font-weight:700}
.dashboard-call-heading p{margin:0;font-size:.83rem}
.dashboard-call-heading button{padding:9px 13px;border-radius:9px;font-size:.82rem;font-weight:800}
.dashboard-call-list{display:grid;gap:8px}
.dashboard-call-row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:11px 14px;border:1px solid #e8e2d7;border-radius:10px;background:#fffdf8;color:#211e17;text-align:left}
.dashboard-call-row:hover,.dashboard-call-row:focus-visible{border-color:#b58a27;background:#fff8e9}
.dashboard-call-row strong{min-width:0;overflow-wrap:anywhere}
.dashboard-call-row time{flex:none;color:#777064;font-size:.82rem}
.dashboard-call-empty{margin:0;padding:13px 14px;border:1px solid #e8e2d7;border-radius:10px;background:#faf8f4;color:#777064}
@media(max-width:520px){.dashboard-call-row{align-items:start;flex-direction:column;gap:4px}}
.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:30px 0 13px}
.dashboard-section-heading h2{margin:0;font-size:1.33rem}
.dashboard-section-heading h2 small{margin-left:8px;color:#777064;font-size:.76rem;font-weight:600}
.dashboard-section-heading>div{display:flex;gap:8px;flex-wrap:wrap}
.dashboard-section-heading input{width:230px;max-width:100%;padding:9px 12px;border:1px solid #e1d8c8;border-radius:9px;background:#fff}
.dashboard-section-heading button{padding:10px 14px;border-radius:9px;font-size:.86rem;font-weight:800}
.dashboard-tabs{display:flex;gap:10px;overflow-x:auto;border-bottom:1px solid #e5ddcf}
.dashboard-tabs button{flex:none;padding:9px 13px;border:0;border-bottom:3px solid transparent;background:none;color:#575046;font-weight:700}
.dashboard-tabs button.is-active{border-bottom-color:#a87912;color:#91670b}
.dashboard-tabs span{color:inherit;font-size:.8rem}
.dashboard-table-wrap{overflow-x:auto;border:1px solid #e8e2d7;border-radius:12px;background:#fff}
.dashboard-land-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.82rem}
.dashboard-land-table th,.dashboard-land-table td{padding:10px 12px;border-bottom:1px solid #f0ece5;text-align:left}
.dashboard-land-table th{background:#f8f7f3;color:#665f52;font-weight:800}
.dashboard-land-table tr:last-child td{border-bottom:0}
.dashboard-land-table td:nth-child(2){max-width:180px;overflow:hidden;text-overflow:ellipsis}
.dashboard-land-name{display:flex;align-items:center;gap:10px;min-width:170px}
.dashboard-land-name img,.dashboard-land-name .dashboard-image-placeholder{display:grid;flex:none;width:68px;height:46px;place-items:center;border-radius:7px;object-fit:cover;background:#f3eee2;color:#997116}
.dashboard-land-name strong,.dashboard-land-name small{display:block}
.dashboard-land-name small{color:#797267}
.dashboard-status{display:inline-flex;align-items:center;gap:6px}
.dashboard-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#aaa}
.dashboard-status.is-published::before{background:#19a45d}
.dashboard-status.is-sold::before{background:#a87912}
.dashboard-land-table td button{padding:7px 15px;border:1px solid #ddd6c8;border-radius:7px;background:#fff;font-weight:700}
.dashboard-land-table td button:hover,.dashboard-case-card:hover{border-color:#a87912;background:#fffaf1}
.dashboard-case-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.dashboard-case-card{overflow:hidden;padding:0;border:1px solid #e8e2d7;border-radius:12px;background:#fff;text-align:left}
.dashboard-case-card>img,.dashboard-case-card>.dashboard-image-placeholder{display:grid;width:100%;aspect-ratio:16/10;place-items:center;object-fit:cover;background:#f3eee2;color:#997116;font-size:2rem}
.dashboard-case-card>span:last-child{display:grid;gap:4px;padding:10px}
.dashboard-case-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-case-card small{color:#777064}
.dashboard-empty{margin:0;padding:20px;color:#777064}
@media(max-width:1200px){[data-section="dashboard"] .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){[data-section="dashboard"] .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-section="dashboard"] .stat-grid article{min-height:106px;padding:14px 12px 12px 58px}[data-section="dashboard"] .stat-grid article::before{top:15px;left:11px;width:36px;height:36px;font-size:1.3rem}.dashboard-company-summary{grid-template-columns:minmax(0,1fr) 100px}.dashboard-company-summary>img{height:72px}.dashboard-company-actions{grid-column:1/-1;display:flex;flex-wrap:wrap}.dashboard-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.dashboard-company-summary{grid-template-columns:1fr}.dashboard-company-summary>img{display:none}.dashboard-case-grid{grid-template-columns:1fr 1fr}.dashboard-section-heading>div,.dashboard-section-heading input{width:100%}}

/* Read-only metrics for the land currently open in the editor. */
.property-status-panel{display:grid;gap:13px;padding:18px;border:1px solid #e6d7b8;border-radius:14px;background:#fffaf0}
.property-status-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px}
.property-status-heading h3{margin:0;color:#71510c;font-size:1.05rem}
.property-status-heading span{color:#716859;font-size:.84rem;overflow-wrap:anywhere}
.property-status-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.property-status-metrics>div{min-width:0;padding:13px 14px;border:1px solid #e9dfcc;border-radius:11px;background:#fff}
.property-status-metrics span{display:block;color:#635b4e;font-size:.8rem;font-weight:700}
.property-status-metrics strong{display:inline-block;margin-top:6px;color:#241d12;font-size:1.6rem;font-variant-numeric:tabular-nums}
.property-status-metrics small{margin-left:4px;color:#716859}
.property-status-panel>p{margin:0;color:#716859;font-size:.8rem;line-height:1.5}
@media(max-width:520px){.property-status-panel{padding:14px}.property-status-metrics{grid-template-columns:1fr}.property-status-metrics>div{display:flex;align-items:baseline;gap:5px;padding:10px 12px}.property-status-metrics span{flex:1}.property-status-metrics strong{margin-top:0;font-size:1.35rem}}

/* Permanent first item for creating a land or construction case. */
.property-new-item{display:grid;min-height:170px;align-content:center;justify-items:center;border:1px dashed #b9913d;background:#fffaf0;color:#71510c;text-align:center}
.property-new-item .property-new-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:#f4e7c8;font-size:1.8rem;line-height:1}
.property-new-item div{padding:8px 10px}
.property-new-item h3{font-size:1rem}
.property-new-item p{margin:5px 0;color:#766b56;font-size:.82rem}
.property-new-item div span{color:#98700e;font-size:.76rem;font-weight:800}
.property-new-item.is-selected,.land-select.is-selected{border-color:#ae8227;background:#fff9ea;box-shadow:0 0 0 2px rgba(174,130,39,.12)}
.case-list-row.is-draft .case-list-item{border-style:dashed;border-color:#b9913d;background:#fffaf0}
.case-list-row.is-draft .case-list-placeholder{font-size:2rem}
.editor-awaiting-selection{display:grid;min-height:220px;place-items:center;background:#fffdfa}
.editor-awaiting-selection h2{margin:0;color:#716859;font-size:1.15rem;text-align:center}

.company-strength-fields{display:grid;gap:12px;padding:16px;border:1px solid #e8ddca;border-radius:14px;background:#fffaf1}
.company-strength-fields label{color:#715116}
.company-strength-fields textarea{background:#fff}
.demolition-ai-controls textarea{width:100%;min-height:88px;resize:vertical}
.portal-sidebar [data-panel].has-unread,[data-panel].has-unread{background:#fff0f0!important;color:#9f202c!important;border:1px solid #d25360!important;box-shadow:inset 4px 0 #bd2537}
.portal-unread-count,.portal-unread-label{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#b51f32;color:#fff;font-size:12px;font-weight:750;line-height:1.6}
.portal-unread-label{margin-left:0;align-self:flex-start;justify-self:start}
.portal-unread-count[hidden]{display:none!important}
.company-contact-row.is-unread,.company-contact-row.is-unread:hover{background:#fff1f2;border:1px solid #d96975;box-shadow:inset 4px 0 #bc2639;color:#76202c}
.company-contact-row.is-unread.is-selected{outline:2px solid #b51f32;outline-offset:2px}
.company-contact-row.is-unread small,.company-contact-row.is-unread .company-contact-status{color:#8e3040}
