/* S23: image-derived plum palette, exact T13 layout and responsive corrections. */
:root{--accent:#583858;--ink:#26232a;--muted:#655e68;--line:#ded4e0;--paper:#f3f3f1}
body{--accent:#583858;--ink:#26232a;--muted:#655e68;--line:#ded4e0;--paper:#f3f3f1}
.template-13 .hero{background:#482848;border-top-color:#a878b8}
.template-13 .hero h1 em{color:#ecdaed}
.template-13 .hero .hero-copy>p{color:#ecdaed}
.template-13 .hero .diagnosis-panel{border-color:#a878b8}
.template-13 .hero .diagnosis-panel p,.template-13 .hero .diagnosis-panel li{color:#fff}
.template-13 .hero .diagnosis-panel li{border-color:#89638f}
.template-13 .hero .diagnosis-panel li span{color:#dbc1e0;flex-shrink:0}
.template-13 .hero .diagnosis-panel>a{color:#ecdaed;border-color:#a878b8}
.template-13 .hero .diagnosis-panel li a:hover{text-decoration:underline;text-underline-offset:4px}
.theme-document .contact{background:#281828}
.theme-document .company{background:#f5f2f6}
.theme-document .service-poster{background:#f5f2f6}
.search-form button,.detail-page .solid,.solid{background:#583858;color:#fff}
.solid:hover,.search-form button:hover{background:#482848;color:#fff}
.button{background:#583858}.button:hover{background:#482848}
.text-only-content .company-values{border-color:#d4c8d8}
.text-only-content .article-card{border-color:#ded4e0}
.theme-document .insights{border-color:#d4c8d8}
.detail-page .service-contact{background:#f5f2f6}
.detail-page .site-shell{max-width:1280px}
.detail-page .site-header .official-brand{width:auto}
.detail-page .site-header{padding:0;gap:28px}
.detail-page .brand{width:auto}
.detail-page main.reading{max-width:950px}
.detail-page .six-cover-grid{margin-bottom:0}
.companion-topics{font-size:12px;margin:15px 0 0;color:#655e68}
.companion-topics a{color:#583858;border-bottom:1px solid #d4c8d8}
.not-found{padding:75px 0;min-height:430px}.not-found h1{font-size:38px}.not-found>p{margin:20px 0}
.reading article,.reading section,.reading aside{min-width:0}
.reading table{table-layout:auto}.baseline-table{max-width:100%;overflow:auto}
:focus-visible{outline-color:#a878b8}
@media(min-width:761px){.text-only-content .site-shell{max-width:1440px}.text-only-content .site-header{min-height:95px}}
@media(max-width:760px){
 .theme-document .site-shell{margin:0 auto;border:0;padding:0 20px;width:100%}
 .site-header,.detail-page .site-header{padding:20px 0;min-height:85px;gap:18px;flex-wrap:wrap}
 .site-header .header-phone{display:none}
 .site-header nav,.detail-page .site-shell>.site-header nav{width:100%;justify-content:flex-start;gap:18px}
 .detail-page .site-shell{padding:0 20px}
 .detail-page .wrap{width:100%;margin-inline:auto}
 .detail-page .service-detail .six-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .detail-page .cover-caption{font-size:12px;line-height:1.6}
 .detail-page .detail-top{padding:32px 0}
 .detail-page .detail-top h1{font-size:32px}
 .detail-page main.reading h1{font-size:29px;line-height:1.4}
 .detail-page .reading-lead{font-size:16px}
 .detail-page .service-contact{padding:30px 22px;border-radius:0}
 .detail-page .service-contact h2{font-size:27px}
 .detail-page .service-contact .text-link{display:block;margin:18px 0 0;width:fit-content}
 .detail-page .service-toc nav{grid-template-columns:1fr 1fr;gap:0 15px}
 .form-grid{grid-template-columns:1fr;min-width:0}
 .form-grid label,.form-grid input,.form-grid textarea{min-width:0;max-width:100%}
 .contact .phone,.contact .email{white-space:normal;overflow-wrap:anywhere}
 .search-form select{max-width:100%}
 .not-found h1{font-size:29px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
