.discovery-live-status{padding:12px 18px;border-inline-start:3px solid #e8521e;background:#fff5ee;border-radius:10px;color:#92400e;line-height:1.9}
#discovery-results{scroll-margin-top:110px;transition:opacity .18s}#discovery-results[aria-busy=true]{opacity:.5}
.discovery-filters select:focus,.discovery-query input:focus{outline:2px solid #e8521e;outline-offset:3px}
.search-results .card{transition:transform .18s,box-shadow .18s}
.search-results .card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #172b4210}
.detail-actions,.phone-copy-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:12px 24px}
.copy-feedback{font-size:12px;line-height:1.9}
.phone-copy-action .button{font-size:12px;padding:8px 14px}
.article-toc{border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:20px;margin-block:24px;line-height:1.9}
.article-toc summary{cursor:pointer;font-weight:700}
.article-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin-top:16px}
.article-toc a{display:block;padding:8px 12px;border-radius:8px;overflow-wrap:anywhere;color:#475569}
.article-toc a[aria-current]{background:#fff0e6;color:#a33b16}
.guide-anchor{scroll-margin-top:110px}
.reading-progress{position:sticky;top:90px;z-index:10;display:block;width:100%;height:4px;accent-color:#e8521e;border:0;border-radius:4px;margin-bottom:20px}
.quote-filter{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;border-radius:12px;background:#f8fafc;margin-bottom:20px}
.quote-filter input{font:inherit;min-width:0;max-width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px}
.quote-filter span{font-size:12px}
@media(max-width:700px){.article-toc nav{grid-template-columns:1fr}
.quote-filter input{width:100%}
.detail-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){#discovery-results,.search-results .card{transition:none}
.search-results .card:hover{transform:none}}

/* Phase 4 interior system: preserve CMS bodies and interactions, replace legacy layers. */
.reading-progress{appearance:none;background:#E2E8F0}
.reading-progress::-webkit-progress-bar{background:#E2E8F0}
.reading-progress::-webkit-progress-value{background:#c6532b}
.reading-progress::-moz-progress-bar{background:#c6532b}
.content-page{background:#fff}
.wrap{width:100%;max-width:1260px;margin-inline:auto;padding-inline:32px;min-width:0}
.content-page h1{font-size:clamp(28px,3.3vw,42px);line-height:1.65;color:var(--steel);font-weight:800}
.content-page h2{font-size:25px;line-height:1.7;color:var(--steel);margin-bottom:18px}
.content-page h3{font-size:17px;line-height:1.9;color:var(--steel);margin-bottom:12px}
.content-page p{margin-bottom:16px}
.content-page .eyebrow{font-size:11px;font-weight:800;margin-bottom:10px;color:var(--orange-dark)}
.content-page .fine-print{font-size:12px;line-height:2;color:var(--steel-light)}
.hero-band{background:#F8FAFC;border-bottom:1px solid var(--gray-200);padding:32px 0 44px}
.breadcrumb,.family-guide-head>nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--steel-light);margin-bottom:32px}
.hero-lead{font-size:15px;line-height:2.2;color:var(--gray-600);max-width:800px;margin-top:18px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 20px;font:inherit;font-size:13px;border:1px solid var(--orange-dark);border-radius:5px;background:var(--orange-dark);color:#fff;cursor:pointer}
.button.ghost{background:#fff;border-color:var(--gray-200);color:var(--steel)}
.text-link,.source-link{font-size:13px;font-weight:600;color:var(--orange-dark)}
.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px}
.section{padding-block:38px}
.content-page .section-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-end;margin-bottom:24px}
.content-page .section-head p{font-size:13px;color:var(--steel-light)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{border:1px solid var(--gray-200);border-radius:6px;background:#fff;padding:26px;min-width:0}
.card p{font-size:13px;line-height:2.1;color:var(--gray-600)}
.card h2{font-size:23px}
.card.section{margin-block:24px}
.family-hero{display:grid;grid-template-columns:1.25fr .75fr;gap:55px;align-items:center}
.family-art{background:#F8FAFC;padding:20px;border:1px solid #dbe3db;border-radius:5px;text-align:center}
.family-art img{width:100%;height:auto;max-height:280px;object-fit:contain}
.family-art span{display:block;font-size:11px;color:var(--steel-light);margin-top:12px}
.family-navigation{display:flex;gap:10px;flex-wrap:wrap;padding-block:20px;border-bottom:1px solid var(--gray-200);background:#fff}
.family-navigation .wrap{display:flex;gap:12px;flex-wrap:wrap}
.family-navigation a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;padding:8px 12px;border:1px solid var(--gray-200);border-radius:8px}
.family-navigation a[aria-current]{border-color:var(--orange);color:var(--orange-dark)}
.products-family{margin-block:20px}
.products-family-head{display:flex;justify-content:space-between;gap:18px;align-items:baseline;flex-wrap:wrap}
.products-family-head h2{font-size:22px;margin:0}
.products-family-head h2 a{color:inherit;text-decoration:none}
.products-family-head h2 a:hover{color:var(--orange-dark)}
.products-note{font-size:12px;color:var(--steel-light);margin-top:24px;line-height:2}
.inquiry-entry{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding-block:22px}
.family-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:55px;padding-block:45px;align-items:start}
.family-guide-content{min-width:0;font-size:15px;line-height:2.3;color:var(--gray-600)}
.family-guide-content img{display:block;max-width:100%;height:auto;margin-block:24px}
.family-guide-content h2{margin:32px 0 18px}
.family-guide-content>h2:first-child{margin-top:0}
.family-guide-content ul{list-style:disc;padding-inline-start:24px;margin-bottom:20px}
.family-guide-content ol{padding-inline-start:24px;margin-bottom:20px}
.family-guide-content a{color:var(--orange-dark);text-decoration:underline;text-underline-offset:4px}
.family-guide-note{padding:26px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:6px;position:sticky;top:110px;font-size:13px;color:var(--gray-600);line-height:2}
.family-guide-note h2{font-size:21px}
.family-guide-note h3{font-size:15px;margin-top:24px}
.contact-banner{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-block:30px;margin-block:20px 45px;background:#f4f7f1;border-block:1px solid #e0e7dc}
.contact-banner h2{font-size:23px}
.contact-banner p{font-size:13px;color:var(--steel-light)}
.contact-banner>.button{flex-shrink:0}
.slice-nav{display:flex;gap:20px;overflow-x:auto;padding:16px 0;border-block:1px solid var(--gray-200);white-space:nowrap;margin-top:15px}
.slice-nav a{font-size:12px;color:var(--steel)}
.contact-panel,.inquiry-note{padding:28px;background:#F8FAFC;border:1px solid #e0e7dc;border-radius:6px;margin-block:25px}
.contact-panel p,.inquiry-note p{font-size:14px;line-height:2.2;color:var(--gray-600)}
.mobile-call{display:none!important}
.step-index{display:block;font-size:11px;font-weight:600;color:var(--orange-dark);margin-bottom:20px}
.estimate-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:end;margin-block:24px}
.estimate-form label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}
.estimate-form input{width:100%;padding:12px;font:inherit;border:1px solid var(--gray-200);border-radius:4px;min-width:0}
.estimate-result{padding:20px;border-inline-start:3px solid #56816b;background:#f1f6ed;margin-top:22px}
.estimate-result bdi{font-size:23px;font-weight:800;color:var(--steel)}
/* TE-06: a rejected estimate reads as an error state, never as a computed amount. */
.estimate-result.estimate-invalid{border-inline-start-color:#a4362f;background:#fff0ed}
.estimate-field-error{display:block;font-size:12px;font-weight:600;color:#a4362f;margin-top:6px}
.estimate-form input[aria-invalid="true"]{border-color:#a4362f}
.estimate-note,.estimate-errors{font-size:12px;color:var(--steel-light)}
.errorlist{font-size:12px;color:#a4362f;margin-block:8px}
.estimate-errors,.search-filter-errors{background:#fff0ed;padding:16px;color:#a4362f;border-radius:4px}
.concept-contact{padding-top:30px}
.contact-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:start;padding:15px 0 35px}
.contact-box{padding:32px;background:#f3f6ef;border:1px solid #dbe4d8;border-radius:6px}
.contact-box h2{font-size:24px}
.phone-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #d7e0d5;color:var(--steel);min-width:0}
.phone-link bdi{font-size:20px;font-weight:800;white-space:nowrap}
.phone-link>span{font-size:11px;color:var(--steel-light)}
.family-guide-note .phone-link{flex-wrap:wrap}
.family-guide-note .phone-link bdi{font-size:18px}
.company-details{padding:26px;background:#f7f8f6;border:1px solid var(--gray-200);border-radius:5px;margin-block:24px}
.company-details h3{font-size:14px;margin-bottom:7px}
.company-details p{font-size:13px;color:var(--steel-light);max-width:700px}
.contact-help{padding-block:28px;border-top:1px solid var(--gray-200)}
.contact-help>summary{cursor:pointer;font-size:16px;color:var(--steel);font-weight:600;min-height:44px}
.contact-help .section-head br{display:none}
.candidate-guide{padding-block:35px 60px;max-width:1020px}
.candidate-guide>header{border-bottom:1px solid var(--gray-200);padding-bottom:28px;margin-bottom:28px}
.candidate-body{font-size:15px;line-height:2.4;color:var(--gray-600);overflow-wrap:anywhere}
.candidate-body h2{margin-top:38px}
.candidate-body h3{margin-top:28px}
.candidate-body table,.family-guide-content table{display:block;overflow:auto;max-width:100%;border-collapse:collapse;font-size:13px;margin-block:24px}
.candidate-body .data-table th,.candidate-body .data-table td{min-width:110px}
.candidate-body th,.candidate-body td,.family-guide-content td,.family-guide-content th{padding:12px;border:1px solid var(--gray-200);text-align:right}
.candidate-body blockquote{border-inline-start:3px solid #a9bca9;background:#f4f7ef;padding:22px;margin-block:25px}
.candidate-body a{color:var(--orange-dark);text-decoration:underline}
.candidate-body img,.content-block img{max-width:100%;height:auto}
.candidate-guide>.card{margin-top:35px}
.candidate-guide>.card ul{display:grid;gap:12px;margin-bottom:22px}
.candidate-sources{padding:25px;border:1px solid var(--gray-200);border-radius:6px;background:#f7f8f5;margin-block:30px}
.candidate-sources h2{font-size:20px}
.candidate-sources ul{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.candidate-sources p{font-size:12px;color:var(--steel-light)}
.candidate-sources a{font-size:12px;color:var(--orange-dark)}
.article-toc{border-radius:5px;background:#f4f7f1}
.article-toc a{border-radius:4px}
.reading-progress{accent-color:var(--orange)}
.technical-landing{padding-top:32px;padding-bottom:60px}
.technical-landing>h1{padding-bottom:26px;border-bottom:1px solid var(--gray-200);margin-bottom:28px}
.technical-landing dl{display:grid;grid-template-columns:170px minmax(0,1fr);font-size:14px;line-height:2;margin-bottom:30px;border:1px solid var(--gray-200);border-radius:6px;overflow:hidden;max-width:900px}
.technical-landing dt{background:#f4f7f1;padding:14px 20px;border-bottom:1px solid var(--gray-200);color:var(--steel-light)}
.technical-landing dd{padding:14px 20px;border-bottom:1px solid var(--gray-200);margin:0;color:var(--steel);overflow-wrap:anywhere}
.technical-landing>.card{margin-block:22px;max-width:1000px}
.technical-landing>.card dl{max-width:none;margin-bottom:20px}
.technical-landing>section{margin-bottom:25px}
[data-quote-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-block:25px}
[data-quote-list] .card{margin:0;display:flex;flex-direction:column}
[data-quote-card] h3{font-size:15px;margin-bottom:12px}
[data-quote-value] strong{font-size:23px;font-weight:800;color:var(--steel)}
.quote-context{font-size:12px;color:var(--steel-light);border-top:1px solid var(--gray-200);padding-top:4px;margin-top:auto}
.quote-context time{direction:ltr;unicode-bidi:isolate}
.quote-context p{margin-bottom:8px}
.quote-filter{background:#f5f7f2;border-radius:4px}
.quote-filter input{border-radius:4px}
.search-page{max-width:1260px;margin:auto;padding:36px 32px 65px}
.search-page h1{margin:12px 0 20px}
.search-page>p{font-size:14px;color:var(--steel-light);max-width:900px}
.discovery-form{padding:26px;border:1px solid var(--gray-200);border-radius:6px;background:#f7f9f4;margin-block:25px}
.search-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end}
.discovery-form label{display:block;font-size:12px;font-weight:600;color:var(--steel);margin-bottom:8px}
.discovery-form input,.discovery-form select{width:100%;font:inherit;font-size:13px;padding:11px;border:1px solid #d6dfd2;border-radius:4px;background:#fff;min-width:0;color:var(--steel)}
.discovery-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-block:22px}
.search-count,.search-hint,.search-snippet{font-size:13px;color:var(--steel-light);line-height:2.1}
.search-query{margin-top:30px}
.search-results .card{min-height:190px}
.search-pagination{display:flex;gap:16px;justify-content:center;margin-block:30px}
.search-empty{max-width:800px}
.search-results h3{font-size:17px}
.search-filter-errors h2{font-size:18px}
.reference-table{width:100%;border-collapse:collapse}
.reference-table th,.reference-table td{padding:12px;border:1px solid var(--gray-200)}
.table-scroll{overflow:auto;max-width:100%}
@media(max-width:1000px){.family-guide-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
.family-hero{gap:28px}
.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.contact-hero{gap:28px}
.phone-link{flex-wrap:wrap}
.discovery-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.wrap{padding-inline:18px}
.content-page h1{font-size:29px}
.content-page h2{font-size:23px}
.hero-band{padding:24px 0 30px}
.hero-lead{font-size:13px;margin-top:14px}
.breadcrumb{margin-bottom:22px}
.family-hero,.family-guide-layout,.contact-hero{grid-template-columns:1fr;gap:28px}
.family-art{max-width:360px;width:100%;margin:auto}
.family-art img{max-height:200px}
.family-guide-layout{padding-block:30px}
.family-guide-note{position:static}
.family-guide-content{font-size:14px;line-height:2.2}
.cards{grid-template-columns:1fr;gap:14px}
.card{padding:22px}
.section{padding-block:28px}
.content-page .section-head{display:block}
.contact-banner{flex-direction:column;align-items:stretch;gap:18px;margin-bottom:30px}
.phone-link{flex-wrap:nowrap}
.phone-link bdi{font-size:18px}
.contact-box{padding:24px}
.concept-contact{padding-top:24px}
.estimate-form{grid-template-columns:1fr;gap:14px}
.estimate-form p{margin-bottom:8px}
.candidate-guide{padding-top:24px}
.candidate-body{font-size:14px;line-height:2.25}
.candidate-body h2{margin-top:30px}
.technical-landing dl{grid-template-columns:110px minmax(0,1fr);font-size:12px}
.technical-landing dt,.technical-landing dd{padding:12px}
.technical-landing>h1{font-size:27px}
[data-quote-list]{grid-template-columns:1fr}
.search-page{padding:24px 18px 40px}
.discovery-form{padding:18px}
.search-controls{grid-template-columns:1fr}
.discovery-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.actions .button{flex:1;min-width:140px}
.content-page .section-head p{margin-top:12px}}

/* Shared interior refinement; the owner-approved home keeps its own layout.
   The copper token pair matches the home/market scope: white text on the
   previous bright #E8521E was 3.71:1 (WCAG AA failure); on #C4390F it is 5.33:1. */
.content-page,.hub-page{--steel:#1E293B;--ink:#1E293B;--orange:#C4390F;--orange-dark:#AC300B;--action:#AC300B;--panel:#fff;--bg:#fff;--line:#E2E8F0}
.content-page .hero-band{background:linear-gradient(135deg,#fff,#F8FAFC);padding-block:24px 30px}
.content-page .family-guide-head{padding-block:8px 0}
.family-summary-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);align-items:center;gap:32px}
.content-page .family-guide-head h1{font-size:clamp(28px,3.2vw,42px);line-height:1.7;margin-block:12px 20px}
.family-summary-grid>div{min-width:0}
.family-visual{margin:0 auto;width:100%;max-width:330px}
.family-visual svg{display:block;width:100%;height:auto;max-height:220px}
.family-visual figcaption{font-size:10px;line-height:1.8;color:#64748B;text-align:center;margin-top:8px}
.family-rates,.family-rates [data-quote-card]{scroll-margin-top:110px}
.family-rates-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.family-rates-heading h2{font-size:clamp(22px,2.5vw,29px)}
.family-rates [data-quote-list]{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
.family-rates .family-quotes{display:block;margin-block:12px 24px;border:1px solid var(--gray-200);border-radius:10px}
.family-quotes table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.65;text-align:start}
.family-quotes thead{background:#f5f7f2;color:var(--steel)}
.family-quotes th,.family-quotes td{padding:10px 14px;text-align:start;vertical-align:top}
.family-quotes tbody tr{border-top:1px solid var(--gray-200)}
.family-quotes tbody tr:nth-child(even){background:#fafbf9}
.family-quotes tbody tr:target{background:#f0f5e7}
.family-quotes tbody tr[hidden]{display:none}
.family-quote-item{width:26%;color:var(--steel)}
.family-quote-meta,.family-quote-unit{display:block;font-size:12px;font-weight:400;color:var(--steel-light)}
.family-quote-unit{white-space:nowrap}
.family-quote-value[data-quote-value] strong{font-size:18px;font-variant-numeric:tabular-nums}
.family-quote-value p,.family-quote-unavailable{font-size:13px;font-weight:600}
.family-quote-value p{margin:0}
.family-quote-actions{font-size:12px}
.family-quote-actions a{display:flex;align-items:center;width:fit-content;min-height:44px;margin:0}
@media(max-width:850px){
  .family-quotes table,.family-quotes tbody{display:block}
  .family-quotes thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .family-quotes tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:12px}
  .family-quotes tbody tr:first-child{border-top:0}
  .family-quotes th,.family-quotes td{padding:0;overflow-wrap:anywhere}
  .family-quotes .family-quote-item,.family-quotes .family-quote-actions{grid-column:1 / -1;width:auto}
  .family-quote-actions{display:flex;flex-wrap:wrap;column-gap:16px}
}

.family-history{inset:0;margin:auto;width:min(680px,calc(100% - 32px));max-height:85dvh;padding:24px;
  border:1px solid var(--gray-200);border-radius:16px;background:#fff;color:var(--steel);
  overscroll-behavior:contain}
.family-history::backdrop{background:rgb(16 33 48 / 58%)}
html:has(.family-history[open]){overflow:hidden}
.family-history-header{position:sticky;top:0;z-index:1;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.family-history-header h2{margin:0;font-size:1.25rem}
.family-history-header button{min-height:44px}
.family-history [data-history-item]{margin:12px 0 4px;font-weight:700}
.family-history [data-history-basis]{margin:0;color:var(--steel-light)}
.family-history [data-history-status]:empty{margin:0}
.family-history-chart{position:relative;height:clamp(180px,38dvh,300px);margin-block:14px}
.family-history details{margin-block:12px}
.family-history summary,.family-history [data-history-fallback]{min-height:44px;align-content:center;cursor:pointer}
.family-history table{width:100%;text-align:start;border-collapse:collapse}
.family-history th,.family-history td{padding:6px 8px;text-align:start;border-bottom:1px solid var(--gray-200)}
@media(max-width:700px){
  .family-history{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:88dvh;
    border-radius:16px 16px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
}
.content-page .family-guide-note,.content-page .family-art{background:#F8FAFC;border-color:#E2E8F0}
.content-page .candidate-guide{max-width:1080px}
.candidate-guide>header{max-width:78ch;margin-inline:auto}
.content-page .candidate-body{max-width:none;font-size:16px;line-height:2.15}
.candidate-body>p,.candidate-body>ul,.candidate-body>ol,.candidate-body>blockquote,.candidate-body>h2,.candidate-body>h3{max-width:74ch;margin-inline:auto}
.candidate-body h2{margin-block:42px 18px;line-height:1.85;scroll-margin-top:125px}
.candidate-body h3{font-size:19px;margin-block:26px 12px;line-height:1.9}
.candidate-body p{margin-bottom:22px}
.candidate-body figure{max-width:900px;margin:32px auto}
.candidate-body table{display:block;max-width:100%;overflow-x:auto;border:1px solid #E2E8F0;border-radius:8px;margin-block:28px;font-size:14px}
.candidate-body th{background:#F1F5F9;color:#1E293B}
.candidate-body th,.candidate-body td{min-width:110px;padding:14px 18px;line-height:1.95}
.candidate-body tbody tr:nth-child(even){background:#FAFBFC}
.candidate-sources{max-width:78ch;margin:40px auto}
.products-discovery{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-block:28px 40px}
.products-family-tile{border:1px solid #E2E8F0;border-radius:12px;padding:12px;background:#fff;text-align:center}
.products-family-tile .family-visual svg{height:105px}
.products-family-tile figcaption{display:none}
.products-family-tile:hover{border-color:#E8521E}
.content-page .technical-landing>dl{background:#F8FAFC;border:1px solid #E2E8F0;border-radius:10px;padding:24px}
@media(max-width:700px){.family-summary-grid{grid-template-columns:1fr;gap:16px}.family-visual svg{max-height:130px}.family-visual figcaption{font-size:9px}.content-page .family-guide-head h1{font-size:27px}.content-page .candidate-body{font-size:16px}.candidate-body h2{margin-top:32px}.candidate-body table{font-size:13px}.products-discovery{grid-template-columns:repeat(2,minmax(0,1fr))}.family-rates-heading{gap:12px}.content-page .hero-band{padding-bottom:20px}}

/* Article navigation stays distinct from editorial body links. */
.content-page .article-toc{padding:0;border:1px solid #E2E8F0;border-radius:16px;background:#fff;overflow:hidden;margin-block:30px}
.article-toc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;color:#1E293B;font-size:15px;list-style:none;min-height:64px}
.article-toc summary::-webkit-details-marker{display:none}
.article-toc summary::after{content:'+';font-size:24px;font-weight:400;color:#64748B;line-height:1}
.article-toc[open] summary::after{content:'−'}
.article-toc[open] summary{border-bottom:1px solid #E2E8F0}
.article-toc nav{counter-reset:guide-section;gap:4px 20px;margin:0;padding:16px}
.content-page .article-toc a{counter-increment:guide-section;display:flex;align-items:baseline;gap:12px;padding:12px;min-height:48px;font-size:13px;font-weight:500;line-height:1.9;text-decoration:none;color:#475569;border-radius:9px;border:1px solid transparent}
.article-toc a::before{content:counter(guide-section,persian);flex:0 0 26px;color:var(--steel-light);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}
.content-page .article-toc a:hover{background:#F8FAFC;color:#1E293B;border-color:#E2E8F0}
.content-page .article-toc a[aria-current]{background:#FFF5EF;color:#9F3415;border-color:#F7D7C9}
.article-toc a[aria-current]::before{color:#B63813}
.article-toc summary:focus-visible,.content-page .article-toc a:focus-visible,.guide-next a:focus-visible{outline:2px solid var(--focus-color);outline-offset:-3px}
.guide-next{margin-block:48px 12px;padding:32px;border:1px solid #E2E8F0;border-radius:18px;background:linear-gradient(145deg,#F8FAFC,#fff 65%)}
.guide-next-heading h2{margin-bottom:8px;font-size:26px}
.guide-next-heading p{font-size:13px;color:#64748B;line-height:2;margin-bottom:24px}
.guide-next-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.guide-next-links li{min-width:0}
.guide-next-links a{display:flex;align-items:center;gap:14px;height:100%;min-height:100px;padding:20px;border:1px solid #E2E8F0;border-radius:12px;background:#fff;color:#334155;text-decoration:none;font-size:14px;font-weight:600;line-height:2;overflow-wrap:anywhere}
.guide-next-icon{display:grid;place-items:center;flex:0 0 38px;height:42px;background:#F1F5F9;border-radius:9px;color:#64748B}
.guide-next-arrow{margin-inline-start:auto;color:#B63813;font-size:21px;flex-shrink:0}
.guide-next-links a:hover{border-color:#E5B19E;background:#FFFAF7;color:#9F3415}
.guide-next-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:24px;margin-top:24px;border-top:1px solid #E2E8F0}
.guide-next-contact h3{font-size:16px;margin-bottom:6px}
.guide-next-contact p{font-size:12px;line-height:2;color:#64748B;margin:0}
.guide-next-contact .button{flex-shrink:0;text-decoration:none}
@media(max-width:700px){.article-toc summary{padding:16px 18px;font-size:14px}.article-toc nav{padding:10px;gap:2px}.content-page .article-toc a{font-size:13px;padding:10px;gap:8px}.guide-next{padding:22px 18px;margin-top:32px}.guide-next-links{grid-template-columns:1fr;gap:10px}.guide-next-links a{padding:16px 12px;min-height:88px;font-size:13px;gap:10px}.guide-next-icon{flex-basis:32px;height:36px}.guide-next-contact{flex-direction:column;align-items:stretch;gap:16px}.guide-next-contact .button{width:100%}}

.guide-next-links li:last-child:nth-child(odd){grid-column:1/-1}

/* The shared root already reserves space for the sticky header. */
.content-page .guide-anchor{scroll-margin-top:0}

/* Company pages: identity and direct contact, with native CMS content retained. */
.company-page{--company-line:#dbe4ea;--company-muted:#4c6272;color:var(--steel)}
.company-page .company-hero{padding:30px 0 48px;background:linear-gradient(120deg,#f7f9fb 45%,#edf2f5);border-bottom:1px solid var(--company-line)}
.company-page .company-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:64px;align-items:center}
.company-page .company-hero h1{max-width:700px;text-wrap:balance}
.company-page .hero-lead{color:var(--company-muted);max-width:640px;line-height:2.2}
.company-page .company-identity{position:relative;overflow:hidden;padding:36px;background:var(--steel);color:#fff;border-radius:18px;min-height:300px;display:flex;flex-direction:column;justify-content:center;border:1px solid #294d65;box-shadow:0 18px 40px #1d354015}
.company-page .company-identity::after{content:'';position:absolute;width:180px;height:180px;border:24px solid #ffffff06;transform:rotate(35deg);inset-inline-end:-60px;bottom:-60px;pointer-events:none}
.company-page .company-wordmark{font-size:64px;font-weight:900;line-height:1.3;color:#e2a27b}
.company-page .company-identity p{font-size:22px;font-weight:700;color:#fff;margin:12px 0}
.company-page .company-identity>span:not(.company-wordmark){font-size:14px;line-height:2.2;color:#d4e1e9}
.company-page .company-identity small{font-size:12px;color:#d4e1e9;line-height:2}
.company-page .company-identity-line{height:2px;background:linear-gradient(to left,#c5744e,#ffffff14);margin:24px 0;width:100%}
.company-page .company-story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,350px);gap:64px;padding-block:52px;align-items:start;scroll-margin-top:130px}
.company-page .about-page-body{font-size:15px;line-height:2.35}
.company-page .about-page-body>h2:first-child{margin-top:0}
.company-page .company-facts{padding:28px;border:1px solid var(--company-line);background:#f7f9fb;border-radius:16px;min-width:0}
.company-page .company-facts h2{font-size:22px}
.company-page .company-timeline{list-style:none;margin:22px 0;padding:0}
.company-page .company-timeline li{position:relative;padding:0 22px 22px 0;border-inline-start:2px solid #d2dfe7;margin-inline-start:5px}
.company-page .company-timeline li:last-child{padding-bottom:0}
.company-page .company-timeline li::before{content:'';position:absolute;inset-inline-start:-6px;top:8px;width:10px;height:10px;border-radius:50%;background:#ae5636;box-shadow:0 0 0 4px #f7f9fb}
.company-page .company-timeline span{font-size:17px;font-weight:800;color:var(--orange-dark)}
.company-page .company-timeline p{font-size:13px;color:var(--company-muted);line-height:2.1;margin:8px 0 0}
.company-page .company-details{margin:24px 0;padding:24px 0;background:transparent;border:0;border-block:1px solid var(--company-line);border-radius:0}
.company-page .company-details p{font-size:14px;line-height:2.2}
.company-page .company-details .text-link{display:inline-flex;min-height:44px;align-items:center;overflow-wrap:anywhere;max-width:100%}
.company-page .company-sales .phone-link{font-size:12px;padding:12px 0;gap:10px;flex-wrap:wrap}
.company-page .company-sales .phone-link bdi{font-size:18px}
.company-page .company-next{display:flex;gap:40px;align-items:center;justify-content:space-between;border-top:1px solid var(--company-line);padding-block:32px 48px}
.company-page .company-next h2{font-size:23px;max-width:700px}
.company-page .company-next p{font-size:14px;color:var(--company-muted);line-height:2.1}
.company-page .company-next .actions{margin:0;flex-shrink:0;max-width:330px}
.company-page .company-call-card{padding:32px;border-radius:18px;border:1px solid var(--company-line);border-top:4px solid #b76440;background:#fff;box-shadow:0 14px 38px #24445d0b;min-width:0;scroll-margin-top:130px}
.company-page .company-call-card h2{font-size:22px}
.company-page .company-call-card .phone-link{padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:60px;border-bottom:1px solid var(--company-line);flex-wrap:wrap}
.company-page .company-call-card .phone-link bdi{font-size:25px;letter-spacing:.4px;color:var(--steel)}
.company-page .company-call-card .phone-link>span{font-size:12px;color:var(--orange-dark)}
.company-page .company-call-card .fine-print{margin:18px 0 0}
.company-page .company-contact-intro{font-size:14px;line-height:2.1;color:var(--company-muted);margin-block:18px}
.company-page .company-contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding-block:40px 55px;align-items:start}
.company-page .company-visit,.company-page .company-request{padding:28px;border:1px solid var(--company-line);border-radius:16px;min-width:0;scroll-margin-top:130px}
.company-page .company-request{background:#f7f9fb}
.company-page .company-contact-layout h2{font-size:23px}
.company-page .company-contact-layout p{font-size:14px;line-height:2.2;color:var(--company-muted)}
.company-page .company-visit .company-details{margin:0 0 16px;padding:0;border:0}
.company-page .company-contact-body{grid-column:1/-1;max-width:900px;width:100%;font-size:15px;line-height:2.3;padding-top:12px}
.company-page .company-contact-body h2{font-size:22px}
@media(max-width:1000px){.company-page .company-hero-grid,.company-page .company-story-layout{gap:32px}.company-page .company-story-layout{grid-template-columns:minmax(0,1fr) minmax(0,310px)}.company-page .company-next{flex-direction:column;align-items:start;gap:16px}.company-page .company-next .actions{max-width:none}}
@media(max-width:700px){.company-page .company-hero{padding:24px 0 30px}.company-page .company-hero-grid,.company-page .company-story-layout,.company-page .company-contact-layout{grid-template-columns:minmax(0,1fr);gap:24px}.company-page .company-story-layout{padding-block:30px}.company-page .company-contact-layout{padding-block:28px 38px}.company-page .company-identity{min-height:230px;padding:26px}.company-page .company-wordmark{font-size:48px}.company-page .company-identity p{font-size:20px}.company-page .company-call-card,.company-page .company-facts,.company-page .company-visit,.company-page .company-request{padding:22px}.company-page .company-call-card .phone-link bdi{font-size:23px}.company-page .company-call-card .phone-link{gap:8px}.company-page .about-page-body,.company-page .company-contact-body{font-size:14px}.company-page .company-next{padding-block:28px 36px}.company-page .company-contact-body h2{font-size:21px}.company-page .company-contact-body{padding-top:0}}

/* Keep the answer close to the title without losing the reviewed cover. */
.guide-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px);gap:32px;align-items:center;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--gray-200)}
.guide-intro header{min-width:0}
.guide-intro h1{font-size:clamp(26px,3vw,38px);line-height:1.8;margin-block:12px 18px}
.guide-intro .hero-lead{margin:0;font-size:15px;line-height:2.1}
.guide-intro>.article-cover{width:100%;margin:0}
.guide-dates{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:18px;font-size:12px;color:var(--gray-600)}
.guide-table-scroll{overflow-x:auto;max-width:100%;margin-block:28px;border:1px solid var(--gray-200);border-radius:10px;overscroll-behavior-inline:contain}
.guide-table-scroll:focus-visible{outline:2px solid var(--focus-color);outline-offset:3px}
.candidate-body .guide-table-scroll table{display:table;min-width:600px;width:100%;overflow:visible;border:0;border-radius:0;margin:0}
.candidate-body .guide-table-scroll caption{white-space:normal;text-align:right;padding:14px 18px;color:var(--steel);font-weight:600;background:var(--gray-100)}
@media(max-width:700px){.guide-intro{grid-template-columns:1fr;gap:20px;padding-bottom:22px;margin-bottom:22px}.guide-intro>.article-cover{width:220px;max-width:100%;justify-self:center}.guide-intro .hero-lead{font-size:14px}.guide-intro h1{font-size:26px}.guide-dates{font-size:11px}}

/* Isolate displayed Persian dates from the surrounding RTL labels. */
.guide-dates time{display:inline-block;direction:ltr;unicode-bidi:isolate}

/* Use one reading measure for native headings and RichTextBlock wrappers. */
.candidate-guide{--reading-width:780px}
.candidate-guide .candidate-body>:is(p,ul,ol,blockquote,h2,h3,.rich-text){max-width:var(--reading-width);margin-inline:auto}
.candidate-guide .candidate-body{color:#334155}
.candidate-guide .candidate-body h2{font-size:25px;line-height:1.8}
.candidate-guide .candidate-body h3{font-size:20px}
.candidate-guide .candidate-body :is(ul,ol){padding-inline-start:26px;margin-block:20px}
.candidate-guide .candidate-body li+li{margin-top:10px}
.candidate-guide .candidate-body figure{max-width:900px;padding:24px;border:1px solid var(--gray-200);border-radius:14px;background:#f8fafc}
.candidate-guide .candidate-body figure :is(picture,img){display:block;margin-inline:auto}
.candidate-guide .candidate-body figure figcaption{max-width:var(--reading-width);margin:18px auto 0;font-size:14px;line-height:2;color:#475569;text-align:center}
.candidate-guide .candidate-body blockquote{border-color:var(--orange-dark);background:#fff8f3;border-radius:8px}
.candidate-guide .guide-table-scroll{max-width:900px;margin-inline:auto}
.candidate-guide .guide-table-scroll table{min-width:0}
.candidate-guide .guide-table-scroll th{vertical-align:middle}
.candidate-guide .guide-table-scroll td{vertical-align:top}
.candidate-guide .candidate-sources{max-width:var(--reading-width);background:#f8fafc;border-radius:12px;padding:24px}
.candidate-guide .candidate-sources ul{list-style:none;padding:0;gap:8px 16px}
.candidate-guide .candidate-sources a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}
.candidate-guide .candidate-sources p{font-size:13px;line-height:2;margin-bottom:0}
.candidate-guide .guide-intro h1{text-wrap:pretty}
.candidate-guide .guide-dates{font-size:13px;color:#475569}
@media(max-width:700px){
  .candidate-guide .guide-intro h1{font-size:25px;line-height:1.75}
  .candidate-guide .guide-intro .hero-lead{font-size:16px;line-height:2.1}
  .candidate-guide .guide-dates{font-size:12px;gap:8px 16px}
  .candidate-guide .candidate-body h2{font-size:22px;line-height:1.85}
  .candidate-guide .candidate-body h3{font-size:19px}
  .candidate-guide .candidate-body figure{padding:12px;margin-block:26px}
  .candidate-guide .candidate-body figure figcaption{font-size:13px;margin-top:12px;text-align:start}
  .candidate-guide .candidate-body :is(th,td){padding:12px;min-width:110px;font-size:14px}
  .candidate-guide .candidate-sources{padding:20px}
  .candidate-guide .article-toc a{font-size:14px}
}
