/* KY Auto-Writer V9 — Clean Traditional UI */
:root{
 --bg:#f5f5f3;--surface:#fff;--surface2:#fafaf9;--ink:#17191c;--muted:#697078;
 --line:#dedfdf;--dark:#202326;--navy:#263746;--link:#315f7d;
}
html,body{background:#f5f5f3!important;color:#17191c!important}
body{background-image:none!important}
body:before,body:after{display:none!important;content:none!important}
header{
 background:#fff!important;color:#17191c!important;border-bottom:1px solid #dedfdf!important;
 box-shadow:0 1px 5px rgba(0,0,0,.055)!important
}
.aw-brand-logo img{filter:none!important}
nav a,.aw-nav a{color:#41474d!important;background:transparent!important}
nav a:hover,.aw-nav a:hover{background:#f0f0ee!important;color:#17191c!important}
nav a.active,.aw-nav a.active{
 background:#202326!important;color:#fff!important;border-color:#202326!important;box-shadow:none!important
}
main{color:#17191c!important}
.hero{
 background:#fff!important;color:#17191c!important;border:1px solid #dedfdf!important;
 box-shadow:0 2px 8px rgba(0,0,0,.04)!important
}
.hero h1,.hero h2,.hero h3,.hero strong,.hero b{color:#17191c!important}
.hero p,.hero .sub,.hero small,.hero .eyebrow,.eyebrow{color:#646b71!important}
.hero small[style],.hero p[style]{color:#646b71!important}
.hero-badge{background:#f0f1f1!important;color:#34393e!important;border:1px solid #d8dada!important}

.metric,.stat,.panel,.site,.card,.map-section,.filters-section,.results-section,
.hud-income-panel,.calc-block,.data-cell,.result,.hud-limit-card,.hud-stat,.controls{
 background:#fff!important;color:#17191c!important;border-color:#dedfdf!important;
 box-shadow:0 1px 5px rgba(0,0,0,.035)!important
}
h1,h2,h3,h4,strong,b,.property-facts,.card h3,.card .price,.card-fact .fact-value{
 color:#17191c!important;text-shadow:none!important
}
.muted,small,.meta,.note,.foot,.count,.card .location,.source-note,.hud-muted,
.card .source-line,.price-note,.metric span,.stat small{color:#697078!important}

table{background:#fff!important;color:#17191c!important}
thead,th{background:#f7f7f6!important;color:#545b61!important}
th,td{border-bottom-color:#e7e7e5!important}
tbody tr:hover{background:#fafaf8!important}

input,select,textarea{
 background:#fff!important;color:#17191c!important;border-color:#c8cbcd!important;box-shadow:none!important
}
input:focus,select:focus,textarea:focus{border-color:#737d85!important;outline:2px solid rgba(55,65,72,.10)!important}
.filter-field label,label{color:#555e65!important}

button,.visit,.action-link,.card-actions .link{
 background:#202326!important;color:#fff!important;border-color:#202326!important;box-shadow:none!important
}
button:hover,.visit:hover,.action-link:hover{background:#34383c!important;border-color:#34383c!important}
button.secondary,.card-actions .hud-button{
 background:#fff!important;color:#292d31!important;border-color:#aeb3b6!important
}
button.analysis-action{
 background:#f3c84b!important;color:#2b240e!important;border-color:#d6ac32!important;box-shadow:none!important
}
button.analysis-action:hover{background:#ffd65b!important;border-color:#c69b24!important}

a,.google-link,.county-link,.satellite-link{color:#315f7d!important}
.notice,.warn,.hud-limit-warning{
 background:#faf8f0!important;color:#3d3b33!important;border-color:#c9b86c!important
}
.category,.tag,.map-count{background:#f0f1f1!important;color:#454c51!important;border-color:#d2d5d6!important}
.data-cell,.result{background:#fafaf9!important}
.data-cell.highlight{background:#f4f7f4!important;border-color:#ccd8ce!important}
.hud-household{background:#fff!important;border-color:#d5d7d8!important}
.hud-limit-card.extremely,.hud-limit-card.very,.hud-limit-card.low{border-top-color:#6f7b84!important}

.overlay{background:rgba(25,27,29,.68)!important}
.dialog{background:#fff!important;color:#17191c!important;box-shadow:0 20px 60px rgba(0,0,0,.22)!important}
.tabs{border-bottom-color:#dedfdf!important}
.tabs button{background:#fff!important;color:#686f75!important;border:0!important;box-shadow:none!important}
.tabs button.active{color:#17191c!important;border-bottom-color:#202326!important}

/* semantic colors */
.good{background:#1d9b67!important;color:#fff!important}
.potential{background:#f2cc4d!important;color:#3b3108!important}
.bad{background:#c94551!important;color:#fff!important}
.unknown{background:#e9ebec!important;color:#4d555b!important}
.active-pill,.status-pill{background:#eaf5ef!important;color:#176548!important;border-color:#b5d8c8!important}
.inactive,.tag.review{background:#fff5d8!important;color:#71570b!important}
.calc-required{color:#bd3040!important}
.calc-field.calc-missing input{border-color:#bd3040!important;background:#fffafa!important}
.calc-required-guide{background:#fff3f4!important;color:#942b37!important;border-color:#e3b1b7!important}
.calc-required-guide.complete{background:#edf7f2!important;color:#176548!important;border-color:#add3c1!important}
footer{color:#747b80!important}

/* V11 CLEAN SITE HEADER */
.aw-site-header{width:100%!important;height:72px!important;min-height:72px!important;margin:0!important;padding:0!important;background:#080a0d!important;border:0!important;border-bottom:1px solid #202733!important;box-shadow:0 2px 10px rgba(0,0,0,.14)!important;position:relative!important;z-index:100!important}
.aw-header-inner{width:min(1500px,calc(100% - 40px))!important;height:72px!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important}
.aw-header-brand{width:190px!important;height:54px!important;min-width:190px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;overflow:hidden!important;text-decoration:none!important}
.aw-header-brand img{display:block!important;width:190px!important;height:54px!important;max-width:190px!important;max-height:54px!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:0!important}
.aw-header-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.aw-header-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 14px!important;margin:0!important;border-radius:8px!important;border:1px solid transparent!important;color:#f5f7fa!important;background:transparent!important;font-size:14px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important}
.aw-header-nav a:hover{background:#151b24!important;border-color:#293446!important}
.aw-header-nav a.active{background:#f4c84a!important;border-color:#f4c84a!important;color:#111!important}
@media(max-width:720px){
.aw-site-header{height:auto!important;min-height:64px!important}
.aw-header-inner{width:calc(100% - 24px)!important;height:auto!important;min-height:64px!important;gap:10px!important;flex-wrap:wrap!important;padding:6px 0!important}
.aw-header-brand,.aw-header-brand img{width:150px!important;min-width:150px!important;max-width:150px!important;height:44px!important;max-height:44px!important}
.aw-header-nav{width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:4px!important}
.aw-header-nav a{font-size:12px!important;padding:7px 10px!important}
}

