/* S17 palette and 1440px content bound; T07 typography/spacing are inherited. */
:root{--accent:#b02020;--paper:#fff;--ink:#102030;--muted:#665e5a;--line:#d9c8c0;--surface:#fff;--cream:#faf0e0}
body{color:var(--ink);background:#fff}
p{color:var(--muted)}
.theme-studio .site-shell{width:90%;max-width:1440px;padding:0;margin-inline:auto}
.site-header .brand{width:auto}
.site-header .official-brand img{width:185px;height:auto}
.site-header,.service-rows>a,.article-card,.site-footer{border-color:var(--line)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--accent)}
a:hover{color:var(--accent)}
.template-07 .hero{background:linear-gradient(90deg,#fff 0%,#fff 70%,#902020 70%,#902020 100%)}
.template-07 .hero .hero-orbit{color:var(--cream);border-color:#e3b8a2;box-shadow:22px 0 0 -1px #902020,23px 0 0 0 #cd8071}
.theme-studio .company{background:#8e1717;margin:0;padding:65px 0;box-shadow:0 0 0 100vmax #8e1717;clip-path:inset(0 -100vmax);border:0}
.theme-studio .company p{color:var(--cream)}
.theme-studio .company .capabilities>div{border-color:#db9180}
.theme-studio .company .text-link{color:var(--cream)}
.theme-studio .company h2,.theme-studio .company h3,.theme-studio .company-word{color:#fff}
.theme-studio .contact-form-panel{background:var(--ink);border-color:var(--line);color:var(--cream)}
.inquiry-form label,.inquiry-form p{color:inherit}
.theme-studio .contact{color:var(--ink)}
.theme-studio .contact .button{background:var(--accent);color:var(--cream)}
.topic-nav a,.topic-button,.search-form,.form-grid input,.form-grid textarea{border-color:var(--line)}
.service-poster img{background:#faf0e0}
.detail-page .cover-card img{border-radius:0}
.detail-page .solid{background:var(--ink);color:var(--cream)}
.detail-page .solid:hover{background:var(--accent);color:#fff}
.detail-page .service-contact{background:#f7f2eb}
.detail-page .service-contact .text-link{color:var(--accent)}
.detail-page .search-form button{background:var(--ink);color:#fff}
.detail-page .topic-button.selected{background:var(--accent);border-color:var(--accent);color:#fff}
.detail-page .article-row .topic,.detail-page .article-arrow{color:var(--accent)}
.detail-page .article-results,.detail-page .article-row,.detail-page .hub-section,.detail-page .service-toc a,.detail-page .hub-section details,.detail-page .detail-top{border-color:var(--line)}
.detail-page .reading th{background:#f7e5d7}
.detail-page .reading th,.detail-page .reading td,.answer-box,.case-box,.note-box,.faq-card,.faq-acc{border-color:var(--line)}
.detail-page .reading table{min-width:0;table-layout:fixed}
.detail-page .reading th,.detail-page .reading td{overflow-wrap:anywhere}
.detail-page .reading h1{overflow-wrap:anywhere}
.detail-page .reading-lead{color:var(--muted)}
.detail-page .reading .solid{white-space:normal}
.detail-page .hub-process{display:block}
.not-found{padding:90px 0 120px;min-height:65vh}
.not-found p{margin:28px 0}
.not-found h1{font-size:clamp(32px,4vw,64px)}
@media(max-width:1100px){.theme-studio .company{padding:65px 0}}
@media(max-width:760px){
 .theme-studio .site-shell{width:calc(100% - 40px);padding:0}
 .template-07 .hero{background:#fff;border-right-color:#902020}
 .theme-studio .company{margin:0;padding:40px 0}
 .site-header .official-brand img{width:150px}
 .detail-page .search-form label:first-child{width:auto}
 .detail-page .service-contact .text-link{display:inline-block;margin:20px 0 0}
 .detail-page .reading th,.detail-page .reading td{padding:8px;font-size:12px;line-height:1.65}
 .detail-page .reading table{min-width:0}
 .detail-page .reading h1{font-size:29px}
 .cover-caption span,.poster-label span{min-width:0;overflow-wrap:anywhere}
 .form-grid .wide{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
