#portal-access{max-width:520px;margin:35px 0}#portal-access input{width:100%;padding:16px;margin:12px 0 20px}#portal-root button{cursor:pointer}#portal-root input,#portal-root select,#portal-root textarea{font:inherit;border:1px solid #9da6ac;border-radius:4px;padding:10px;max-width:100%}#portal-root label{display:block;font-weight:600}#portal-root input[type=range]{width:100%;padding:0;margin:18px 0;accent-color:#b21e31}#portal-root h3{margin:16px 0}#portal-root small{display:block;font-size:14px;line-height:1.5}#portal-map{height:510px;z-index:1;background:#e3e9e6}#portal-root .cma-hero button{font-size:14px}#portal-root details{margin-top:18px}#portal-root details p{font-size:16px;line-height:1.65}#portal-root summary{cursor:pointer;font-weight:600;padding:12px 0}.portal-marker span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:white;border:2px solid white;box-shadow:0 2px 8px #0006;font-weight:bold}.portal-bar{display:grid;grid-template-columns:230px 1fr;align-items:center;gap:20px;margin:16px 0}.portal-bar>div{background:#dce1e3;border-radius:3px;height:20px}.portal-bar b{display:block;height:20px;border-radius:3px}.portal-table{overflow-x:auto;margin:24px 0}.portal-table table{border-collapse:collapse;min-width:950px;width:100%}.portal-table th,.portal-table td{text-align:left;padding:14px;border-bottom:1px solid #cbd0d2;font-size:15px;vertical-align:top}.portal-table th:first-child{min-width:190px}.portal-table input[type=number]{width:150px}.portal-weights,.portal-edit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.portal-weights output{float:right}.portal-stars{color:#a1162b;white-space:nowrap;font-size:20px}.portal-unknown{color:#58656d}.portal-card{border:1px solid #d6d9d9;background:white}.portal-card>img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}.portal-card>div{padding:24px}.portal-card button{padding:10px;background:#0c2749;color:white;border:0}.portal-card p{font-size:16px}.portal-card details p{max-height:380px;overflow-y:auto}#strategy-notes{width:100%;background:white}.portal-access-note{font-size:15px!important}@media(max-width:760px){.portal-weights,.portal-edit-grid{grid-template-columns:1fr}.portal-bar{grid-template-columns:1fr;gap:4px}#portal-map{height:360px}.portal-table th,.portal-table td{padding:10px}.cma-hero h1{font-size:38px!important}}@media print{header,footer,.cma-nav,#lock-portal,#print-analysis,#email-strategy,#td-launcher{display:none!important}.cma-section{padding:20px!important;break-inside:avoid}.cma-hero{display:block!important;background:white!important;color:#111!important}.cma-hero img{display:none}.portal-table{overflow:visible}.portal-table table{min-width:0;font-size:10px}.portal-table th,.portal-table td{font-size:10px;padding:4px}.portal-stars{font-size:12px}#portal-map{height:300px}.portal-card details p{max-height:none}.cma-cards{display:block}.portal-card{break-inside:avoid}.portal-card>img{max-height:200px;width:auto}.cma-hero *{color:#111!important}}
/* Decorative AI-generated home exterior; not the subject property. */
#portal-root>.portal-entry{background-image:linear-gradient(90deg,rgba(247,245,237,.96) 0%,rgba(247,245,237,.91) 35%,rgba(247,245,237,.73) 65%,rgba(247,245,237,.57) 100%),url('/assets/portal-listing-background.webp');background-size:cover;background-position:center 55%;min-height:670px;}
#portal-root>.portal-entry #property-code{background:rgba(255,254,250,.85);border-color:#929b9d;}
@media(max-width:760px){#portal-root>.portal-entry{background-image:linear-gradient(90deg,rgba(247,245,237,.94),rgba(247,245,237,.84)),url('/assets/portal-listing-background.webp');background-position:62% center;min-height:640px;}}

/* Subject header: one-third text, two-thirds complete property photograph. */
@media screen {
#portal-root .cma-hero{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center}
#portal-root .cma-hero>div{padding:36px clamp(22px,3vw,44px);min-width:0}
#portal-root .cma-hero h1{font-size:clamp(30px,3vw,46px);line-height:1.12;letter-spacing:-1px}
#portal-root .cma-hero>img{display:block;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;opacity:1}
#portal-root .cma-image-note{right:12px;bottom:10px;max-width:62%;padding:5px 9px;background:#0c2749d9;font-size:12px}
#portal-root .cma-hero button{margin:6px 0}
}
@media screen and (max-width:700px){
#portal-root .cma-hero{grid-template-columns:1fr}
#portal-root .cma-hero>div{padding:30px 6%}
#portal-root .cma-hero h1{font-size:34px!important}
#portal-root .cma-image-note{max-width:90%;font-size:11px}
}



#score-table td a{display:inline-block;font-size:14px;text-decoration:underline;text-underline-offset:3px;margin-top:8px}

.portal-owner{margin:18px 0 22px}.portal-owner label{font-size:16px;margin-bottom:8px}#portal-root #property-owner{display:block;width:100%;background:#fffdf8;color:#0c2749;box-sizing:border-box}.portal-owner small{margin-top:7px;font-weight:400;opacity:.85}@media print{.portal-owner small{display:none}#portal-root #property-owner{border:0;padding:0;background:transparent}}

/* Owner names become plain address-style text after entry. */
#portal-root .portal-owner [hidden]{display:none!important}
#portal-root .cma-hero #owner-display{display:block;border:0;border-radius:0;padding:0;margin:0;background:transparent;box-shadow:none;color:inherit;font-family:inherit;font-size:16px;font-weight:400;line-height:1.7;text-align:left;letter-spacing:normal;text-transform:none;white-space:normal;overflow-wrap:anywhere;cursor:text}
#portal-root #owner-display:focus-visible{outline:1px solid currentColor;outline-offset:4px}
@media print{.portal-owner:has(#owner-display[hidden]){display:none}}
