/* S15 image-derived palette. Layout, type and spacing follow T05. */
:root{--ink:#381423;--accent:#83432f;--paper:#fff;--muted:#695650;--line:#e0bba8;--surface:#fcf4ee}
.site-shell{max-width:1552px} /* 1552 minus the template's 112px padding = 1440px. */
.template-05 .hero{background:var(--ink);border-color:#f49277}
.template-05 .hero p{color:#fae0cc}.template-05 .hero .button{border-color:#f49277}
.theme-magazine .article-card:first-child,.process{background:#fcf4ee}
.process li{border-color:#e0bba8}.poster-label{border-color:#e0bba8!important}
p{color:#695650}.contact p{color:inherit}
.detail-page .solid{background:var(--ink);color:#fff}
.detail-page .service-contact{background:#fcf4ee}
.detail-page .topic-list a{padding:9px 13px;background:white;border:1px solid #e0bba8;font-size:12px;line-height:1.5;border-radius:22px}
.detail-page .topic-list a[aria-current]{background:var(--accent);color:white;border-color:var(--accent)}
.detail-page .search-form>label:first-child{width:170px;border-right:1px solid #e0bba8}
.detail-page .search-form{gap:0;margin-bottom:25px;padding:0}
.detail-page .search-form input,.detail-page .search-form select{padding:16px;font-size:14px;min-height:55px}
.detail-page .search-form button{background:var(--accent);border-radius:8px}
.detail-page .detail-lead{color:var(--ink)}
.detail-page .reading>.section-label{color:var(--accent)}
.detail-page .reading table th{background:#fae0cc}
a:hover{color:var(--accent)}.hero .button:hover,.contact a:hover{color:#fae0cc}
#ca-quick-status{background:#381423!important}
.reading article,.reading article section{min-width:0}
@media(min-width:761px){.detail-page .site-shell>.site-header nav{width:auto}}
@media(max-width:760px){
 .detail-page .search-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
 .detail-page .search-form>label:first-child{grid-column:1/-1;width:100%;border-right:0;border-bottom:1px solid #e0bba8}
 .detail-page .search-form input,.detail-page .search-form select{font-size:12px;min-height:46px;padding:12px}
 .detail-page .search-form button{padding:10px 13px;font-size:12px}
 .detail-page .service-toc{position:static}
 .detail-page .service-layout{display:block}
 .detail-page .service-toc nav{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}
 .theme-magazine .poster-label{font-size:12px}
}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#f49277}
.detail-page .solid:hover{background:#83432f;color:#fff}
