/* ── Istia brand palette + light/dark theming ──────────────────────────────
   Merk: navy #12283f, teals #1c6f94 / #2f93b0 / #5aa9c2 / #7dc3d6, licht #eaf6fb.
   Default = light; [data-theme="dark"] overschrijft. Init in _Host (anti-FOUC). */
:root {
    --ist-primary: #1c6f94;
    --ist-primary-strong: #12283f;
    --ist-accent: #2f93b0;
    --ist-link: #1c6f94;          /* tekst-links: AA-contrast op wit */
    --ist-link-hover: #12283f;
    --ist-on-primary: #ffffff;
    --ist-ink: #12283f;
    --ist-body: #33475a;
    --ist-muted: #6b7280;
    --ist-bg: #ffffff;
    --ist-surface: #eaf6fb;
    --ist-card-bg: #ffffff;
    --ist-border: #d5e6ef;
    --ist-header-bg: #eaf6fb;
    --ist-hero-from: #1c6f94;
    --ist-hero-to: #12283f;
    --ist-shadow: rgba(18,40,63,.08);
}

[data-theme="dark"] {
    --ist-primary: #37abc8;
    --ist-primary-strong: #87cdde;
    --ist-accent: #268db8;
    --ist-link: #5fc0db;          /* helderder op donkere navy-achtergrond */
    --ist-link-hover: #9ddcec;
    --ist-on-primary: #0b2233;
    --ist-ink: #eaf6fb;
    --ist-body: #b9cad6;
    --ist-muted: #8ba0ad;
    --ist-bg: #0f2033;
    --ist-surface: #16304a;
    --ist-card-bg: #16304a;
    --ist-border: #274863;
    --ist-header-bg: #12283f;
    --ist-hero-from: #12283f;
    --ist-hero-to: #0a1826;
    --ist-shadow: rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ist-body);
    background: var(--ist-bg);
    line-height: 1.6;
    transition: background .2s, color .2s;
}

.ist-container { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.ist-header { border-bottom: 1px solid var(--ist-border); background: var(--ist-header-bg); }
.ist-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ist-header__right { display: flex; align-items: center; gap: .75rem; }
.ist-header__left { display: flex; align-items: center; gap: 1.5rem; }
.ist-nav { display: flex; gap: 1rem; }
.ist-nav__link { color: var(--ist-body); text-decoration: none; font-weight: 700; font-size: .9rem; }
.ist-nav__link:hover { color: var(--ist-primary); }
.ist-logo { display: inline-flex; align-items: center; }
.ist-logo__img { height: 36px; width: auto; display: none; }
.ist-logo__img--light { display: block; }
[data-theme="dark"] .ist-logo__img--light { display: none; }
[data-theme="dark"] .ist-logo__img--dark { display: block; }

.ist-lang { display: flex; gap: .25rem; }
.ist-lang__btn { border: 0; background: transparent; color: var(--ist-muted); font-weight: 700; font-size: .8rem; padding: .35rem .55rem; border-radius: 7px; cursor: pointer; }
.ist-lang__btn.is-active { background: var(--ist-primary); color: var(--ist-on-primary); }

.ist-theme-btn { border: 1px solid var(--ist-border); background: transparent; color: var(--ist-body); border-radius: 8px; padding: .3rem .55rem; cursor: pointer; font-size: 1rem; line-height: 1; }
.ist-theme-btn__dark { display: none; }
[data-theme="dark"] .ist-theme-btn__light { display: none; }
[data-theme="dark"] .ist-theme-btn__dark { display: inline; }

/* Hero */
.ist-hero { background: linear-gradient(160deg, var(--ist-hero-from), var(--ist-hero-to)); color: #fff; padding: 2.75rem 0 2.5rem; }
.ist-hero__logo { display: block; height: 110px; width: auto; margin: 0 0 1.25rem; }
.ist-hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 1rem; font-weight: 800; }
.ist-hero--sub { padding: 3.25rem 0; }
.ist-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; opacity: .85; margin: 0 0 .6rem; }

/* Showcase teaser op de home */
.ist-showcase__card { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; border: 1px solid var(--ist-border); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; background: var(--ist-card-bg); transition: box-shadow .15s, transform .15s; }
.ist-showcase__card:hover { box-shadow: 0 10px 30px var(--ist-shadow); transform: translateY(-2px); }
.ist-showcase__img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.ist-showcase__text { padding: 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .45rem; justify-content: center; }
.ist-showcase__text h2 { margin: 0; color: var(--ist-ink); font-size: 1.45rem; }
.ist-showcase__text p { margin: 0; color: var(--ist-body); }
.ist-showcase__text .ist-btn { align-self: flex-start; margin-top: .7rem; }

/* Showcase steps */
.ist-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.ist-step { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; border: 1px solid var(--ist-border); border-radius: 14px; padding: 1.25rem 1.4rem; background: var(--ist-card-bg); }
.ist-step__no { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; color: var(--ist-on-primary); background: var(--ist-primary); }
.ist-step__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 0 0 .9rem; background: var(--ist-surface); }
.ist-step__body h2 { margin: .15rem 0 .5rem; font-size: 1.2rem; color: var(--ist-ink); }
.ist-step__body :is(p, ul) { margin: 0 0 .5rem; }
.ist-step__body ul { padding-left: 1.1rem; }
.ist-step__body :last-child { margin-bottom: 0; }
.ist-hero__body { font-size: 1.15rem; opacity: .95; max-width: 640px; }
.ist-hero__body p { margin: 0 0 1.25rem; }

/* Sections */
.ist-section { padding: 2.25rem 0; }
.ist-section--muted { background: var(--ist-surface); }
.ist-section h2 { color: var(--ist-ink); font-size: 1.5rem; margin: 0 0 .75rem; }

/* Module grid */
.ist-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.ist-module { border: 1px solid var(--ist-border); border-radius: 12px; padding: 1.1rem 1.2rem; background: var(--ist-card-bg); transition: box-shadow .15s, transform .15s; }
.ist-module:hover { box-shadow: 0 6px 20px var(--ist-shadow); transform: translateY(-2px); }
.ist-module.is-soon { opacity: .72; }
.ist-module__name { font-weight: 800; color: var(--ist-ink); font-size: 1.05rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ist-module__brand { color: var(--ist-primary); letter-spacing: .03em;
    text-shadow: 0 0 6px rgba(55,171,200,.8), 0 0 16px rgba(55,171,200,.55), 0 0 30px rgba(55,171,200,.35); }
.ist-module__sum { color: var(--ist-body); font-size: .92rem; }
.ist-badge { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ist-muted); background: var(--ist-surface); border: 1px solid var(--ist-border); border-radius: 999px; padding: .1rem .5rem; }

/* Buttons */
.ist-btn { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-decoration: none; border: 0; border-radius: 10px; padding: .7rem 1.35rem; cursor: pointer; font-size: 1rem; }
.ist-btn--primary { background: #fff; color: var(--ist-hero-to); }
.ist-section .ist-btn--primary, .ist-signup .ist-btn--primary { background: var(--ist-primary); color: var(--ist-on-primary); }
.ist-btn--primary:hover { opacity: .92; }
.ist-btn:disabled { opacity: .6; cursor: default; }

/* Signup form */
.ist-signup { max-width: 560px; }
.ist-form { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.ist-input { border: 1px solid var(--ist-border); border-radius: 9px; padding: .6rem .75rem; font-size: .95rem; font-family: inherit; background: var(--ist-bg); color: var(--ist-body); }
.ist-input:focus { outline: 2px solid var(--ist-primary); border-color: var(--ist-primary); }
.ist-ok { color: var(--ist-primary); font-weight: 800; margin-top: 1rem; }
.ist-err { color: #e05555; font-weight: 700; font-size: .85rem; margin: 0; }

/* Footer */
.ist-footer { border-top: 1px solid var(--ist-border); padding: 1.5rem 0; color: var(--ist-muted); font-size: .9rem; }
.ist-footer__link { color: var(--ist-muted); text-decoration: underline; }
.ist-footer__link:hover { color: var(--ist-ink, inherit); }
/* Eenvoudige leespagina (privacy e.d.): comfortabele maatvoering voor CMS-HTML. */
.ist-prose { max-width: 48rem; line-height: 1.7; }
.ist-prose > :first-child { margin-top: 0; }
.ist-prose p { margin: 0 0 1.05rem; }
.ist-prose h2 { color: var(--ist-ink); font-size: 1.35rem; margin: 2.3rem 0 .6rem; }
.ist-prose h3 { color: var(--ist-ink); font-size: 1.12rem; margin: 1.9rem 0 .35rem; }
.ist-prose h3 + p { margin-top: 0; }
/* Intro-alinea (eerste alinea van het blok) iets groter voor leesritme. */
.ist-prose > p:first-of-type { font-size: 1.1rem; color: var(--ist-ink); }
.ist-prose ul, .ist-prose ol { padding-left: 1.3rem; }
.ist-prose hr { border: 0; border-top: 1px solid var(--ist-border); margin: 2rem 0; }
/* Tekst-links in content: .ist-prose én alle door CMS-blokken gerenderde HTML.
   Die links hebben geen class; UI-links (nav/knop/footer/taal) hebben er wél één en blijven ongemoeid. */
.ist-prose a,
.ist-container a:not([class]) {
    color: var(--ist-link); text-decoration: underline; text-underline-offset: 2px;
    text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--ist-link) 45%, transparent);
    transition: color .12s, text-decoration-color .12s;
}
.ist-prose a:hover,
.ist-container a:not([class]):hover { color: var(--ist-link-hover); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.ist-prose a:visited,
.ist-container a:not([class]):visited { color: var(--ist-link); }

/* Blazor error UI */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #ffe9e9; color: #7a1c1c; padding: .75rem 1.25rem; box-shadow: 0 -1px 4px rgba(0,0,0,.1); }
#blazor-error-ui .reload { color: #7a1c1c; font-weight: 700; }

@media (max-width: 640px) {
    .ist-hero h1 { font-size: 1.9rem; }
    .ist-hero__logo { height: 76px; margin-bottom: 1.25rem; }
    .ist-logo__img { height: 30px; }
    .ist-showcase__card { grid-template-columns: 1fr; }
    .ist-showcase__img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ── Hamburger / mobiele navigatie ────────────────────────────────────────── */
.ist-header { position: relative; }
.ist-burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 34px;
    border: 1px solid var(--ist-border); background: transparent; border-radius: 8px; cursor: pointer; padding: 0 8px; }
.ist-burger span { display: block; height: 2px; width: 100%; background: var(--ist-body); border-radius: 2px; transition: transform .2s, opacity .2s; }
.ist-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ist-burger.is-open span:nth-child(2) { opacity: 0; }
.ist-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
    .ist-burger { display: inline-flex; }
    .ist-nav {
        display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 50;
        flex-direction: column; gap: 0; background: var(--ist-header-bg);
        border-bottom: 1px solid var(--ist-border); box-shadow: 0 8px 20px var(--ist-shadow); padding: .25rem 1.25rem .5rem;
    }
    .ist-nav.is-open { display: flex; }
    .ist-nav__link { padding: .7rem 0; border-bottom: 1px solid var(--ist-border); }
    .ist-nav__link:last-child { border-bottom: 0; }
}

/* ── Home USP-blokken + modulepagina (status-groepen) ───────────────────────── */
.ist-lede { color: var(--ist-body); font-size: 1.1rem; max-width: 60ch; margin: .3rem 0 0; }

.ist-usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.ist-usp { border: 1px solid var(--ist-border); border-radius: 12px; padding: 1.2rem 1.3rem; background: var(--ist-card-bg);
    border-top: 4px solid var(--ist-primary); }
.ist-usp__title { margin: 0 0 .4rem; color: var(--ist-ink); font-size: 1.1rem; }
.ist-usp__body { margin: 0; color: var(--ist-body); font-size: .95rem; line-height: 1.45; }
/* Rich-text-editor wrapt tekst in <p>; marges resetten zodat het identiek oogt aan platte tekst. */
.ist-usp__body > p { margin: 0; }
.ist-usp__body > p + p { margin-top: .5rem; }
.ist-lede > p { margin: 0; }

.ist-cta-row { margin-top: 1.8rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.ist-btn--ghost { background: transparent; color: var(--ist-primary); border: 1.5px solid var(--ist-primary); }
.ist-btn--ghost:hover { background: var(--ist-primary); color: var(--ist-on-primary); }

/* Modulepagina: groepen per status */
.ist-modgroup { margin-top: 2.2rem; }
.ist-modgroup__title { display: flex; align-items: center; gap: .6rem; color: var(--ist-ink); }

/* Status-varianten — badge + kaart-accent */
.ist-badge--active  { color: #0f7a53; background: rgba(16,163,106,.12); border-color: rgba(16,163,106,.3); }
.ist-badge--beta    { color: #9a6a00; background: rgba(214,158,0,.14);  border-color: rgba(214,158,0,.35); }
.ist-badge--roadmap { color: var(--ist-muted); background: var(--ist-surface); border-color: var(--ist-border); }
.ist-module--active  { border-left: 4px solid #10a36a; }
.ist-module--beta    { border-left: 4px solid #d69e00; }
.ist-module--roadmap { border-left: 4px solid var(--ist-border); opacity: .82; }

/* ── Taal-URL's / demo-funnel / moduledetail ────────────────────────────────── */
.ist-lang__btn { text-decoration: none; display: inline-block; }           /* nu <a> i.p.v. <button> */
.ist-btn--sm { padding: .45rem .9rem; font-size: .85rem; border-radius: 9px; }
.ist-header__cta { text-decoration: none; }

/* Hero: primaire + secundaire CTA naast elkaar */
.ist-hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem; }
.ist-btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.ist-btn--ghost-light:hover { background: rgba(255,255,255,.12); }

/* Afsluitende CTA-band */
.ist-cta-band { background: var(--ist-surface); }
.ist-cta-band__inner { text-align: center; }
.ist-cta-band__inner h2 { margin: 0 0 .5rem; }
.ist-cta-band__inner p { color: var(--ist-body); max-width: 55ch; margin: 0 auto 1.2rem; }

/* Modulekaart als link + "meer" aanwijzer */
.ist-module--link { display: block; text-decoration: none; color: inherit; }
.ist-module__more { display: inline-block; margin-top: .6rem; color: var(--ist-primary); font-weight: 800; font-size: .85rem; }

/* Breadcrumb-eyebrow link */
.ist-eyebrow__link { color: inherit; text-decoration: none; opacity: .85; }
.ist-eyebrow__link:hover { opacity: 1; text-decoration: underline; }

/* ── Commerciële event-flow (PlatformFlow) ──────────────────────────────────── */
.ist-flow { margin-top: 1.6rem; }
.ist-flow svg { width: 100%; height: auto; font-family: inherit; overflow: visible; }
.ist-flow a { cursor: pointer; }
.ist-flow a:hover .ist-node { stroke: var(--ist-primary); }
.ist-flow a:hover .ist-heart { filter: brightness(1.05); }

.ist-groupbox { fill: transparent; stroke: var(--ist-border); stroke-width: 1; stroke-dasharray: 4 5; }
.ist-grouptitle { fill: var(--ist-muted); font-weight: 800; letter-spacing: .08em; }

.ist-node { fill: var(--ist-card-bg); stroke: var(--ist-border); stroke-width: 1.5; transition: stroke .15s; }
.ist-node--off { opacity: .5; }
.ist-node__t { fill: var(--ist-ink); font-weight: 700; }
.ist-flow__chev { fill: var(--ist-primary); font-weight: 800; }

.ist-heart { fill: var(--ist-surface); stroke: var(--ist-primary); stroke-width: 2; }
.ist-heart__brand { fill: var(--ist-ink); font-weight: 800; }
.ist-heart__sub { fill: var(--ist-primary); font-weight: 700; }
.ist-heart__cap { fill: var(--ist-muted); }

.ist-arrow { stroke: var(--ist-primary); stroke-width: 2; fill: none; opacity: .45; }
.ist-arrowhead { fill: var(--ist-primary); opacity: .6; }

/* Interne stap-chips binnen het Istia-blok */
.ist-chip { fill: var(--ist-bg); stroke: var(--ist-border); stroke-width: 1.5; transition: stroke .15s; }
.ist-chip__t { fill: var(--ist-ink); font-weight: 700; }
.ist-flow a:hover .ist-chip { stroke: var(--ist-primary); }

/* Highlight-animatie: zachte teal-glow-puls op het centrale Istia-blok */
@keyframes istHeartPulse {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(55,171,200,.15)); }
    50%      { filter: drop-shadow(0 0 12px rgba(55,171,200,.55)); }
}
.ist-heart { animation: istHeartPulse 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ist-heart { animation: none; } }

/* Platform-teaser op de home (klikbaar blok naar /platform) */
.ist-flowteaser { display:block; text-decoration:none; margin-top:1.4rem; border:1px solid var(--ist-border);
    border-radius:14px; padding:1rem 1.2rem; background:var(--ist-surface); transition:border-color .15s, transform .15s; }
.ist-flowteaser:hover { border-color:var(--ist-primary); transform:translateY(-2px); }
.ist-teaser-svg { width:100%; height:auto; font-family:inherit; overflow:visible; }
.ist-teaser__more { fill:var(--ist-primary); font-weight:800; }

/* Mobiel: header-CTA verbergen (demo staat in de hero + onderaan); houdt de header rustig */
@media (max-width: 640px) {
    .ist-header__cta { display: none; }
}

/* FAQ (native <details>, geen JS) */
.ist-faq { margin-top: 1.2rem; max-width: 760px; display: flex; flex-direction: column; gap: .6rem; }
.ist-faq__item { border: 1px solid var(--ist-border); border-radius: 10px; background: var(--ist-card-bg); padding: .2rem .4rem; }
.ist-faq__q { cursor: pointer; font-weight: 700; color: var(--ist-ink); padding: .8rem 1rem; list-style: none; }
.ist-faq__q::-webkit-details-marker { display: none; }
.ist-faq__q::after { content: "+"; float: right; color: var(--ist-primary); font-weight: 800; }
.ist-faq__item[open] .ist-faq__q::after { content: "−"; }
.ist-faq__a { color: var(--ist-body); padding: 0 1rem 1rem; line-height: 1.5; white-space: pre-line; }
.ist-faq__a ul, .ist-faq__a ol { white-space: normal; margin: .4rem 0; padding-left: 1.2rem; }

/* Formulier-velden met labels + validatie */
.ist-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.ist-field > label { font-weight: 700; font-size: .9rem; color: var(--ist-ink); }
.ist-req { color: var(--ist-primary); }
.ist-opt { color: var(--ist-muted); font-weight: 400; font-size: .85rem; }
.ist-input.is-invalid { border-color: #c0392b; outline-color: #c0392b; }
.ist-fielderr { color: #c0392b; font-size: .82rem; }
.ist-form__foot { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: .4rem; }
.ist-form__privacy { font-size: .8rem; color: var(--ist-muted); }
.ist-form__privacy a { color: var(--ist-primary); }
/* Honeypot: onzichtbaar voor mensen, bots vullen 'm wel */
.ist-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Twee-koloms veldrij (valt terug op één kolom op mobiel) */
.ist-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .ist-grid2 { grid-template-columns: 1fr; } }

/* ── Setup-wizard (/setup) ────────────────────────────────────────────────── */
.ist-wz { max-width: 760px; padding-bottom: 5rem; }
.ist-wz__prog { display: flex; gap: 6px; margin: 0 0 .9rem; }
.ist-wz__prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--ist-border); }
.ist-wz__prog i.on { background: var(--ist-primary); }
.ist-wz__step { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ist-primary); margin: 0 0 .8rem; }
.ist-wz__card { background: var(--ist-card-bg); border: 1px solid var(--ist-border); border-radius: 14px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 2px 10px var(--ist-shadow); }
.ist-wz__card h2 { margin: 0 0 .35rem; font-size: 1.3rem; color: var(--ist-ink); }
.ist-wz__note { color: var(--ist-muted); margin: 0 0 .8rem; font-size: .95rem; }
.ist-wz__muted { color: var(--ist-muted); }
.ist-wz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .6rem; }
.ist-wz__opt { text-align: left; font: inherit; color: var(--ist-body); background: var(--ist-bg); border: 1.5px solid var(--ist-border); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; min-height: 64px; }
.ist-wz__opt b { display: block; color: var(--ist-ink); }
.ist-wz__opt span { color: var(--ist-muted); font-size: .88rem; }
.ist-wz__opt:hover { border-color: var(--ist-accent); }
.ist-wz__opt.on { border-color: var(--ist-primary); background: var(--ist-surface); }
.ist-wz__row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--ist-border); }
.ist-wz__row:first-of-type { border-top: 0; }
.ist-wz__row > input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ist-primary); flex: none; }
.ist-wz__nm { flex: 1; min-width: 180px; cursor: default; }
label.ist-wz__nm { cursor: pointer; }
.ist-wz__nm b { color: var(--ist-ink); }
.ist-wz__nm small { display: block; color: var(--ist-muted); font-size: .85rem; }
.ist-wz__qty { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.ist-wz__qty .ist-input { width: 120px; text-align: right; }
.ist-wz__qty small { color: var(--ist-muted); font-size: .85rem; min-width: 5rem; }
.ist-wz__badge { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--ist-primary); background: var(--ist-surface); flex: none; }
.ist-wz__st { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ist-muted); border: 1px solid var(--ist-border); border-radius: 5px; padding: 0 .35rem; margin-left: .4rem; white-space: nowrap; }
.ist-wz__sec { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ist-primary); margin: .9rem 0 .2rem; }
.ist-wz__grp { font-size: .82rem; font-weight: 700; color: var(--ist-muted); margin: .7rem 0 0; }
.ist-wz__info { flex-basis: 100%; }
.ist-wz__info summary { cursor: pointer; color: var(--ist-link); font-size: .85rem; list-style: none; }
.ist-wz__info summary::-webkit-details-marker { display: none; }
.ist-wz__info p { margin: .35rem 0 0; color: var(--ist-muted); font-size: .9rem; }
.ist-wz__line { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-top: 1px solid var(--ist-border); }
.ist-wz__line span:last-child { font-variant-numeric: tabular-nums; text-align: right; color: var(--ist-ink); }
.ist-wz__advice { border-color: var(--ist-primary); background: var(--ist-surface); }
.ist-wz__advice.is-ent { border-color: #d9a520; }
.ist-wz__bar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; background: var(--ist-bg); border-top: 1px solid var(--ist-border); }
.ist-wz__bar .ist-btn--primary { background: var(--ist-primary); color: var(--ist-on-primary); }
@media (max-width: 560px) { .ist-wz__opts { grid-template-columns: 1fr; } .ist-wz__qty { margin-left: 0; } }
