/* clusters.css — scoped styles for the craft directory pages */

/* ── breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem .6rem;padding:0;margin:0 0 2rem;font-size:.82rem;color:var(--muted)}
.breadcrumb li+li::before{content:"›";margin-right:.6rem;color:var(--muted)}
.breadcrumb a{color:var(--muted);text-underline-offset:.2em}
.breadcrumb [aria-current]{color:var(--ink);font-weight:600}

/* ── directory hero (hub page) ───────────────────────────────────────────── */
.dir-hero{background:var(--dark);color:var(--light);padding-block:5rem}
.dir-hero-inner{max-width:1280px;margin:auto;padding-inline:clamp(1.25rem,5vw,5rem)}
.dir-hero .breadcrumb ol{color:#daceb9}
.dir-hero .breadcrumb a{color:#daceb9}
.dir-hero h1{font-family:Georgia,serif;font-size:clamp(2.8rem,5.5vw,5rem);font-weight:400;line-height:1.06;letter-spacing:-.035em;color:var(--light);margin:0 0 1.5rem}
.dir-lead{font-size:1.15rem;color:#daceb9;max-width:60ch;line-height:1.7;margin:0 0 1rem}
.dir-note{font-size:.9rem;color:#b8a78e;max-width:55ch}
.dir-note a{color:#e3c98a}

/* ── cluster grid ────────────────────────────────────────────────────────── */
.cluster-grid-section{max-width:1280px;margin:auto;padding:4rem clamp(1.25rem,5vw,5rem)}
.cluster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem}
.cluster-card{border:1px solid var(--line);border-radius:2px;display:flex;flex-direction:column}
.cluster-card-body{padding:2rem;display:flex;flex-direction:column;gap:.75rem;flex:1}
.cluster-state{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0}
.cluster-card h2{font-family:Georgia,serif;font-size:1.6rem;font-weight:400;margin:0;letter-spacing:-.025em}
.cluster-card h2 a{text-decoration:none;color:inherit}
.cluster-card h2 a:hover{text-decoration:underline}
.cluster-headline{font-size:.92rem;color:var(--muted);margin:0;line-height:1.55}
.cluster-tags{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:.5rem 0 0}
.cluster-tags li{font-size:.76rem;background:#ebe5d6;color:var(--ink);padding:.3rem .65rem;border-radius:2px}
.cluster-link{display:inline-block;font-size:.88rem;font-weight:600;color:var(--accent);margin-top:auto;padding-top:1rem;text-underline-offset:.25em}

/* ── directory planner callout ───────────────────────────────────────────── */
.dir-planner-callout{background:#f7f3ea;border-top:1px solid var(--line)}
.callout-inner{max-width:1280px;margin:auto;padding:3.5rem clamp(1.25rem,5vw,5rem);display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.dir-planner-callout h2{font-family:Georgia,serif;font-size:2rem;font-weight:400;margin:0;letter-spacing:-.025em}
.dir-planner-callout p{color:var(--muted);max-width:45ch;margin:0}
.cta-link{display:inline-block;background:var(--dark);color:var(--light);padding:.75rem 1.5rem;font-weight:600;text-decoration:none;white-space:nowrap;min-height:48px;line-height:1.5}
.cta-link:hover{background:#4d3d2e}
.secondary-link{display:inline-block;color:var(--accent);font-weight:600;text-underline-offset:.25em;margin-top:.75rem}

/* ── cluster hero (pillar page) ──────────────────────────────────────────── */
.cluster-hero{background:var(--dark);color:var(--light);padding-block:4rem}
.cluster-hero-inner{max-width:1280px;margin:auto;padding-inline:clamp(1.25rem,5vw,5rem)}
.cluster-hero .breadcrumb ol{color:#daceb9}
.cluster-hero .breadcrumb a{color:#daceb9}
.cluster-state-label{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#b8a78e;margin:0 0 .5rem}
.cluster-hero h1{font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,4.5rem);font-weight:400;line-height:1.08;letter-spacing:-.03em;color:var(--light);margin:0 0 1.2rem;max-width:20ch}
.cluster-headline-large{font-size:1.1rem;color:#daceb9;max-width:65ch;line-height:1.65;margin:0}

/* ── cluster body layout ─────────────────────────────────────────────────── */
.cluster-body{max-width:1280px;margin:auto;padding:3rem clamp(1.25rem,5vw,5rem);display:grid;grid-template-columns:220px 1fr;gap:4rem;align-items:start}
.cluster-content{min-width:0}

/* ── table of contents ───────────────────────────────────────────────────── */
.toc{position:sticky;top:2rem;background:#f7f3ea;border:1px solid var(--line);padding:1.5rem;font-size:.86rem}
.toc-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 .75rem;font-weight:600}
.toc ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
.toc a{color:var(--muted);text-decoration:none}
.toc a:hover{color:var(--ink);text-decoration:underline}

/* ── cluster sections ────────────────────────────────────────────────────── */
.cluster-section{padding-block:2.5rem;border-bottom:1px solid var(--line)}
.cluster-section:first-child{padding-top:0}
.cluster-section:last-child{border-bottom:0}
.cluster-section h2{font-family:Georgia,serif;font-size:1.8rem;font-weight:400;margin:0 0 1rem;letter-spacing:-.025em}
.cluster-section h3{font-size:1rem;margin:1.5rem 0 .5rem}
.cluster-section p{max-width:70ch}

/* ── summary / warning boxes ─────────────────────────────────────────────── */
.summary-box{background:#f7f3ea;border-left:4px solid var(--accent);padding:1.25rem 1.5rem;margin-bottom:1.5rem}
.summary-box p{margin:0;max-width:none}
.warning-box{background:#fdf3f0;border-left:4px solid #b84444;padding:1.25rem 1.5rem;margin:1.25rem 0}
.warning-box p{margin:0;max-width:none}
.tag{display:inline-block;font-size:.78rem;font-weight:600;padding:.35rem .75rem;border-radius:2px;margin-top:.75rem}
.tag-yes{background:#e6f4ea;color:#1d5c2a}
.tag-no{background:#f0f0f0;color:#555}

/* ── product list ────────────────────────────────────────────────────────── */
.product-list{padding-left:1.25rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.4rem .5rem;margin:0}
.product-list li{font-size:.92rem}

/* ── two-col layout ──────────────────────────────────────────────────────── */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}

/* ── advice box ──────────────────────────────────────────────────────────── */
.advice-box{background:#f7f3ea;padding:1.25rem 1.5rem;border-left:4px solid var(--line);margin-top:1.5rem}
.advice-box p{margin:0;max-width:none;font-size:.92rem}

/* ── checklist ───────────────────────────────────────────────────────────── */
.checklist{padding-left:1.25rem;display:flex;flex-direction:column;gap:.85rem;margin:0}
.checklist li{font-size:.92rem;line-height:1.6}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list{margin:0;display:flex;flex-direction:column;gap:0}
.faq-item{border-bottom:1px solid var(--line);padding-block:1.5rem}
.faq-item:first-child{padding-top:0}
.faq-item:last-child{border-bottom:0}
.faq-item dt{font-size:1rem;font-weight:600;margin:0 0 .6rem;max-width:65ch}
.faq-item dd{margin:0;color:var(--muted);font-size:.92rem;line-height:1.65;max-width:65ch}

/* ── Vedic Hearth callout ────────────────────────────────────────────────── */
.vh-callout{background:var(--dark);color:var(--light);padding:2.5rem;display:flex;flex-direction:column;gap:1rem}
.vh-callout h2{font-family:Georgia,serif;font-size:1.8rem;font-weight:400;margin:0;color:var(--light);letter-spacing:-.025em}
.vh-callout p{color:#daceb9;max-width:60ch;margin:0;font-size:.95rem;line-height:1.65}
.vh-callout .cta-link{align-self:flex-start;background:#e8c48a;color:#352a20}
.vh-callout .cta-link:hover{background:#f2d7ac}
.vh-callout .secondary-link{color:#daceb9;font-size:.88rem}

/* ── related clusters ────────────────────────────────────────────────────── */
.related-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:.75rem;margin:0 0 1.5rem}
.related-list li{font-size:.92rem}
.related-list a{font-weight:600;text-underline-offset:.25em}

/* ── verified craft entities ─────────────────────────────────────────────── */
.entity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}
.entity-card{border:1px solid var(--line);background:#faf7f0;padding:1.5rem;display:flex;flex-direction:column;gap:.6rem;border-radius:2px}
.entity-type{font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:0}
.entity-card h3{font-family:Georgia,serif;font-size:1.18rem;margin:0;line-height:1.3}
.entity-address{font-size:.84rem;color:var(--muted);margin:0;line-height:1.5}
.entity-role{font-size:.88rem;color:var(--ink);margin:0;line-height:1.55;padding-top:.5rem;border-top:1px dashed var(--line)}

/* ── benchmarks grid ─────────────────────────────────────────────────────── */
.benchmarks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin:1.5rem 0}
.benchmark-item{background:#f7f3ea;border:1px solid var(--line);padding:1.25rem;border-radius:2px}
.benchmark-label{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:0 0 .4rem}
.benchmark-val{font-size:1.05rem;font-weight:600;color:var(--ink);margin:0 0 .4rem;line-height:1.35}
.benchmark-note{font-size:.82rem;color:var(--muted);margin:0;line-height:1.5}

/* ── interactive utility tool ────────────────────────────────────────────── */
.spec-tool-card{background:#faf7f0;border:2px solid var(--accent);border-radius:3px;padding:2rem;margin:2rem 0}
.spec-tool-header{margin-bottom:1.5rem}
.spec-tool-header h3{font-family:Georgia,serif;font-size:1.5rem;margin:0 0 .5rem}
.spec-tool-header p{color:var(--muted);margin:0;font-size:.92rem}
.spec-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem;margin-bottom:1.75rem}
.spec-form-grid label{display:flex;flex-direction:column;gap:.4rem;font-size:.84rem;font-weight:600;color:var(--ink)}
.spec-form-grid select{min-height:44px;padding:.5rem .75rem;border:1px solid var(--line);background:#fff;font-family:inherit;font-size:.9rem}

.spec-output-panel{background:#fff;border:1px solid var(--line);padding:1.5rem;border-radius:2px}
.spec-output-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.25rem;padding-bottom:1.5rem;border-bottom:1px solid var(--line)}
.spec-metric{display:flex;flex-direction:column;gap:.25rem}
.spec-metric-label{font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.spec-metric-val{font-size:1.2rem;font-weight:700;color:var(--ink)}
.spec-safety-box{padding-top:1.25rem}
.safety-badge{display:inline-block;padding:.3rem .7rem;font-size:.78rem;font-weight:700;border-radius:2px;margin-bottom:.6rem;text-transform:uppercase;letter-spacing:.05em}
.tag-warning{background:#fde8e8;color:#9b1c1c;border:1px solid #f8b4b4}
.tag-neutral{background:#f3f4f6;color:#374151}
.spec-test-tip{font-size:.88rem;color:var(--muted);line-height:1.55;margin:.75rem 0 0;padding:.85rem;background:#f8f6f0;border-left:3px solid var(--accent)}

.calc-actions{margin-top:1.5rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.calc-copy-btn{background:var(--dark);color:var(--light);border:0;padding:.7rem 1.4rem;font-weight:600;cursor:pointer;font-family:inherit;font-size:.88rem;border-radius:2px}
.calc-copy-btn:hover{background:#4d3d2e}
.calc-copy-status{font-size:.85rem;font-weight:600;color:var(--accent)}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media(max-width:900px){
  .cluster-body{grid-template-columns:1fr}
  .toc{position:static;margin-bottom:2rem}
  .two-col{grid-template-columns:1fr}
  .callout-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:850px){
  .toolbar-search-row{grid-template-columns:1fr;gap:.75rem}
  .dir-state-select{width:100%}
  .toolbar-pills-row{flex-direction:column;align-items:stretch;gap:1rem}
  .results-meta{justify-content:space-between;width:100%}
}
@media(max-width:580px){
  .cluster-grid{grid-template-columns:1fr}
  .cluster-card-body{padding:1.25rem 1rem}
  .dir-hero,.cluster-hero{padding-block:3rem}
  .cluster-grid-section{padding-block:2.5rem;padding-inline:1rem}
  .product-list{grid-template-columns:1fr}
  .benchmarks-grid{grid-template-columns:1fr}
  .entity-grid{grid-template-columns:1fr}
  .cluster-section h2{font-size:1.5rem}
  .spec-form-grid{grid-template-columns:1fr}
  .spec-output-grid{grid-template-columns:1fr}
  .spec-tool-card{padding:1.25rem 1rem}
  .foundry-card,.rfq-card{padding:1.25rem 1rem}
  .foundry-form-grid,.rfq-form-grid{grid-template-columns:1fr}
  .filter-pill{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:.5rem .9rem}
  .reset-btn,.calc-copy-btn,.checklist-copy-btn,.checklist-print-btn,.foundry-submit-btn,.rfq-copy-btn,.rfq-email-btn{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box}
  .verification-actions,.calc-actions,.foundry-actions,.rfq-actions{flex-direction:column;align-items:stretch}
  .toc{padding:1rem}
  .toc-details summary{min-height:44px;display:flex;align-items:center;justify-content:space-between}
  .vh-callout{padding:1.5rem 1.25rem}
  .vh-callout .cta-link{width:100%;text-align:center;box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){
  .cta-link{transition:none}
  .calc-copy-btn{transition:none}
}

/* ── search & filter toolbar ──────────────────────────────────────────────── */
.dir-toolbar{background:#faf7f0;border:1px solid var(--line);border-radius:3px;padding:1.5rem 1.75rem;margin:0 0 2.5rem}
.toolbar-search-row{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;margin-bottom:1.25rem}
.search-input-wrap{position:relative;width:100%}
.dir-search-input{width:100%;min-height:48px;padding:.75rem 1rem .75rem 2.5rem;font-size:.95rem;border:1px solid #968771;background:#fff;color:var(--ink);border-radius:2px}
.search-icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;font-size:1.1rem}
.dir-state-select{min-height:48px;padding:.75rem 1rem;font-size:.9rem;border:1px solid #968771;background:#fff;color:var(--ink);border-radius:2px}
.toolbar-pills-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.pills-group{display:flex;flex-wrap:wrap;gap:.5rem}
.filter-pill{background:#ede6d6;border:1px solid #c4b69e;color:var(--ink);padding:.4rem .85rem;font-size:.82rem;font-weight:600;border-radius:20px;cursor:pointer;transition:all .15s ease}
.filter-pill:hover{background:#dfd4bd}
.filter-pill.is-active{background:var(--dark);color:var(--light);border-color:var(--dark)}
.results-meta{font-size:.84rem;color:var(--muted);display:flex;align-items:center;gap:1rem}
.empty-state{text-align:center;padding:3rem 1.5rem;background:#faf7f0;border:1px dashed var(--line);margin:1.5rem 0}
.empty-state h3{font-family:Georgia,serif;font-size:1.3rem;margin:0 0 .5rem}
.empty-state p{color:var(--muted);margin:0 0 1rem}
.reset-btn{background:var(--accent);color:#fff;border:0;padding:.6rem 1.25rem;font-size:.86rem;font-weight:600;border-radius:2px;cursor:pointer}
.reset-btn:hover{background:#5f4019}

/* ── master comparison matrix ────────────────────────────────────────────── */
.matrix-section{max-width:1280px;margin:auto;padding:3.5rem clamp(1.25rem,5vw,5rem);border-top:1px solid var(--line)}
.matrix-header{margin-bottom:1.5rem}
.matrix-header h2{font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.4rem);margin:0 0 .5rem;letter-spacing:-.025em}
.matrix-header p{color:var(--muted);max-width:70ch;margin:0;font-size:.95rem;line-height:1.6}
.matrix-scroll-hint{display:block;font-size:.82rem;color:var(--accent);margin:1rem 0 .5rem;font-weight:600}
.matrix-wrapper{overflow-x:auto;border:1px solid var(--line);background:#fff;margin-top:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.04);-webkit-overflow-scrolling:touch}
.matrix-table{width:100%;border-collapse:collapse;font-size:.88rem;text-align:left;min-width:1080px}
.matrix-table th{background:#352a20;color:#f3efe5;font-family:Georgia,serif;font-weight:400;padding:1rem .9rem;letter-spacing:-.01em;font-size:.92rem;border-bottom:1px solid #4a3a2a;position:sticky;top:0}
.matrix-table td{padding:.9rem;border-bottom:1px solid #e5decb;vertical-align:top;line-height:1.5}
.matrix-table tr:hover td{background:#faf6ed}

/* Sticky first column for mobile/tablet horizontal scroll */
.matrix-table th:first-child,
.matrix-table td:first-child{position:sticky;left:0;z-index:2;box-shadow:2px 0 5px rgba(0,0,0,.06)}
.matrix-table th:first-child{background:#352a20;z-index:3}
.matrix-table td:first-child{background:#fff}
.matrix-table tr:hover td:first-child{background:#faf6ed}

.matrix-cluster-cell strong{display:block;font-size:.95rem}
.matrix-cluster-cell span{font-size:.78rem;color:var(--muted);display:block}
.matrix-table a{color:var(--accent);font-weight:600;text-decoration:none}
.matrix-table a:hover{text-decoration:underline}
.gi-badge{display:inline-block;padding:.2rem .5rem;font-size:.72rem;font-weight:700;border-radius:2px;letter-spacing:.04em;text-transform:uppercase}
.gi-registered{background:#e6f4ea;color:#137333;border:1px solid #ceead6}
.gi-traditional{background:#f1f3f4;color:#5f6368;border:1px solid #dadce0}
.kalai-badge{display:inline-block;padding:.2rem .5rem;font-size:.72rem;font-weight:700;border-radius:2px}
.kalai-req{background:#fde8e8;color:#9b1c1c}
.kalai-unlined{background:#edf2f7;color:#2d3748}

/* ── artisan & foundry submission desk ──────────────────────────────────── */
.foundry-card{background:#faf7f0;border:1px solid var(--line);border-radius:3px;padding:2.25rem;margin:2rem 0}
.foundry-header h2{font-family:Georgia,serif;font-size:clamp(1.5rem,2.5vw,1.9rem);margin:0 0 .5rem}
.foundry-header p{color:var(--muted);margin:0 0 1.5rem;font-size:.92rem;line-height:1.6;max-width:70ch}
.foundry-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;margin-bottom:1.5rem}
.foundry-form-grid label{display:flex;flex-direction:column;gap:.4rem;font-size:.84rem;font-weight:600;color:var(--ink)}
.foundry-form-grid input,
.foundry-form-grid select{min-height:44px;padding:.5rem .75rem;border:1px solid var(--line);background:#fff;font-family:inherit;font-size:.9rem;border-radius:2px}
.foundry-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin-bottom:.75rem}
.foundry-submit-btn{background:var(--accent);color:#fff;border:0;padding:.75rem 1.6rem;font-weight:600;cursor:pointer;font-family:inherit;font-size:.9rem;border-radius:2px}
.foundry-submit-btn:hover{background:#5f4019}
.foundry-status{font-size:.88rem;font-weight:600;color:var(--accent)}
.foundry-status.status-success{color:#137333}
.foundry-fine{font-size:.78rem;color:var(--muted);margin:0;line-height:1.5}

/* ── wholesale rfq concierge desk ────────────────────────────────────────── */
.rfq-card{background:#f4efe4;border:2px solid var(--accent);border-radius:3px;padding:2.25rem;margin:2rem 0}
.rfq-header h2{font-family:Georgia,serif;font-size:clamp(1.5rem,2.5vw,1.9rem);margin:0 0 .5rem}
.rfq-header p{color:var(--muted);margin:0 0 1.5rem;font-size:.92rem;line-height:1.6;max-width:70ch}
.rfq-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin-bottom:1.5rem}
.rfq-form-grid label{display:flex;flex-direction:column;gap:.4rem;font-size:.84rem;font-weight:600;color:var(--ink)}
.rfq-form-grid select{min-height:44px;padding:.5rem .75rem;border:1px solid var(--line);background:#fff;font-family:inherit;font-size:.9rem;border-radius:2px}
.rfq-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.rfq-copy-btn{background:var(--dark);color:var(--light);border:0;padding:.75rem 1.4rem;font-weight:600;cursor:pointer;font-family:inherit;font-size:.88rem;border-radius:2px}
.rfq-copy-btn:hover{background:#4d3d2e}
.rfq-email-btn{display:inline-block;background:#fff;color:var(--ink);border:1px solid var(--line);padding:.7rem 1.25rem;font-weight:600;text-decoration:none;font-size:.88rem;border-radius:2px}
.rfq-email-btn:hover{background:#ebe5d6}
.rfq-status{font-size:.85rem;font-weight:600;color:var(--accent)}

/* ── checklist action buttons ────────────────────────────────────────────── */
.verification-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.checklist-copy-btn{background:var(--accent);color:#fff;border:0;padding:.65rem 1.25rem;font-weight:600;cursor:pointer;font-family:inherit;font-size:.88rem;border-radius:2px}
.checklist-copy-btn:hover{background:#5f4019}
.checklist-print-btn{background:#fff;color:var(--ink);border:1px solid var(--line);padding:.65rem 1.25rem;font-weight:600;cursor:pointer;font-family:inherit;font-size:.88rem;border-radius:2px}
.checklist-print-btn:hover{background:#ebe5d6}
.checklist-status{font-size:.85rem;font-weight:600;color:var(--accent)}

/* ── mobile table of contents ────────────────────────────────────────────── */
.toc-details summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.toc-details summary::-webkit-details-marker{display:none}
.toc-arrow{font-size:.8rem;color:var(--muted);transition:transform .2s ease}
.toc-details[open] .toc-arrow{transform:rotate(180deg)}

@media(max-width:900px){
  .toolbar-search-row{grid-template-columns:1fr}
  .toolbar-pills-row{flex-direction:column;align-items:flex-start}
  .foundry-card,.rfq-card{padding:1.5rem}
}

/* ── print stylesheet ────────────────────────────────────────────────────── */
@media print{
  header,footer,.skip,.toc,.dir-toolbar,.vh-callout,.related-list,button,.foundry-card,.rfq-card,.dir-planner-callout{display:none!important}
  body{background:#fff!important;color:#000!important;font-size:11pt;line-height:1.4}
  .cluster-body{display:block!important;padding:0!important}
  .cluster-hero{background:none!important;color:#000!important;padding:0 0 1rem!important}
  .cluster-hero h1{color:#000!important;font-size:22pt!important;margin:0 0 .5rem}
  .cluster-headline-large{color:#333!important;font-size:12pt!important}
  .cluster-section{page-break-inside:avoid;padding:1rem 0!important;border-bottom:1px solid #ccc!important}
  .spec-output-panel{border:1px solid #000!important}
  .spec-form-grid{display:none!important}
  .checklist{padding-left:1.5rem}
}



.world-region-nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:0 0 1.5rem}
.world-region-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.25rem .5rem;border:1px solid var(--line);border-radius:4px}

/* ── craft workbench & interactive tab suite ────────────────────────────── */
.craft-workbench{background:#faf7f0;border:2px solid var(--accent);border-radius:4px;padding:2rem;margin:2.5rem 0}
.workbench-header{margin-bottom:1.5rem}
.workbench-header h3{font-family:Georgia,serif;font-size:clamp(1.4rem,2.5vw,1.8rem);margin:0 0 .5rem;color:var(--ink)}
.workbench-header p{color:var(--muted);margin:0;font-size:.92rem;line-height:1.6}

.workbench-tabs{display:flex;flex-wrap:wrap;gap:.5rem;border-bottom:2px solid #dfd7c5;margin-bottom:1.5rem;padding-bottom:0}
.workbench-tab{background:#ede6d6;border:1px solid #c4b69e;border-bottom:0;color:var(--ink);padding:.6rem 1.1rem;font-size:.85rem;font-weight:600;border-radius:4px 4px 0 0;cursor:pointer;transition:all .15s ease;font-family:inherit}
.workbench-tab:hover{background:#dfd4bd}
.workbench-tab.is-active{background:var(--dark);color:var(--light);border-color:var(--dark)}

.workbench-pane{display:none}
.workbench-pane.is-active{display:block}

.workbench-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.25rem;margin-bottom:1.75rem}
.workbench-form-grid label{display:flex;flex-direction:column;gap:.4rem;font-size:.84rem;font-weight:600;color:var(--ink)}
.workbench-form-grid select,
.workbench-form-grid input{min-height:44px;padding:.5rem .75rem;border:1px solid var(--line);background:#fff;font-family:inherit;font-size:.9rem;border-radius:2px}

.workbench-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}
.workbench-notice{padding:.9rem 1rem;border-radius:2px;margin:1rem 0;font-size:.88rem;line-height:1.6}
.workbench-notice-safe{background:#e6f4ea;border-left:4px solid #137333;color:#0d5324}
.workbench-notice-warning{background:#fde8e8;border-left:4px solid #c81e1e;color:#771d1d}
.workbench-notice-info{background:#f0f4f8;border-left:4px solid #2b5c8f;color:#1e3a5f}

/* ── data export banner ───────────────────────────────────────────────────── */
.export-card{background:#f3efe5;border:1px solid var(--line);border-radius:4px;padding:1.75rem 2rem;margin:2.5rem 0}
.export-card h3{font-family:Georgia,serif;font-size:1.4rem;margin:0 0 .5rem}
.export-card p{color:var(--muted);font-size:.92rem;margin:0 0 1.25rem;line-height:1.6}
.export-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.export-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--dark);color:var(--light);padding:.65rem 1.25rem;font-size:.88rem;font-weight:600;text-decoration:none;border-radius:2px}
.export-btn:hover{background:#4d3d2e}
.export-btn-secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
.export-btn-secondary:hover{background:#ede6d6}
