/* Obhut mock-up — the Costs walk-throughs' shared shape (his pick 2026-09-27: one plate, taken apart).
   One centred column, a summary that rides along, a chain that opens downwards. Used by plate-cost.html, invoices.html. */
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 22px 0; }
  .bar nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
  .bar nav a:not(.btn) { text-decoration: none; font-size: .975rem; min-height: 44px; display: inline-flex; align-items: center; }
  .bar nav a:not(.btn):hover { text-decoration: underline; }

  .top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
    padding: clamp(.5rem, 1.8vh, 1.5rem) 0 clamp(1rem, 2.4vh, 1.75rem); border-bottom: 2px solid var(--ink); }
  h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.035em; }
  .lede { font-size: 1.1rem; line-height: 1.5; }
  .lede b { font-weight: 500; }

  /* The point: why any of this, before the plate is taken apart (his word, 2026-09-27) */
  .point { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start;
    padding: clamp(2rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--rule); }
  .point h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.05; }
  .point .big { margin-top: 1rem; font-family: var(--head); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.3; letter-spacing: -0.01em; }
  .wants { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
  .wants li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
  .wants li::before { content: ""; width: 12px; height: 12px; margin-top: .45rem; border-radius: 50%; background: var(--deep); }
  .wants b { display: block; font-family: var(--head); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
  .wants span { display: block; margin-top: .2rem; color: var(--ink-2); }
  .month { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); }
  .month p { font-size: 1.02rem; line-height: 1.55; }
  .month .coming { color: var(--ink-2); }
  @media (max-width: 1000px) { .point, .month { grid-template-columns: 1fr; } }

  /* The demonstration: one plate, one column, taken apart downwards. No phone, no side sheet: Costs has its own shape. */
  .demo { max-width: 760px; margin: 0 auto; padding: clamp(1.2rem, 3vh, 2rem) 0 clamp(3rem, 6vw, 4.5rem); }
  .demo-head { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; min-height: 36px; }
  .demo-head .pause { margin-right: -.75rem; }
  .demo-head [hidden] { display: none; }
  .again { min-height: 36px; padding: 0 .75rem; border: 0; background: transparent; cursor: pointer; font-size: .875rem; color: var(--ink-2);
    text-decoration: underline; text-underline-offset: .22em; }
  .again:hover { color: var(--ink); }

  /* The plate's summary rides along while the chain is read */
  .summary { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: .9rem 0 1rem; border-bottom: 2px solid var(--ink); }
  .dish { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .dish h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
  .dish .menu { font-size: .95rem; color: var(--ink-2); }
  .dish .menu b { font-family: var(--head); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
  .figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: .7rem; }
  .fig span { display: block; font-size: .8125rem; color: var(--ink-2); }
  .fig b { font-family: var(--head); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; }
  .gauge { position: relative; height: 10px; margin: .9rem 0 .35rem; background: var(--paper-3); border-radius: 999px; }
  .gauge i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--deep); width: 0; transition: width .6s var(--soft-ease); }
  .gauge .tgt { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }
  .gauge-key { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-2); }
  .gauge-key .over { color: var(--ink); font-weight: 500; }

  .price { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-top: .9rem; }
  .price label { font-size: .9rem; }
  .price output { font-family: var(--head); font-size: 1.25rem; min-width: 4.5ch; text-align: right; }
  .track { position: relative; }
  input[type=range] { width: 100%; margin: 0; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
  input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--ink); border-radius: 2px; }
  input[type=range]::-moz-range-track { height: 4px; background: var(--ink); border-radius: 2px; }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink); }
  input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink); }
  input[type=range]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
  .ticks { position: relative; height: 1.3rem; font-size: .75rem; color: var(--ink-2); }
  .ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
  .ticks span::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1.5px; height: 7px; background: var(--ink-2); }

  /* The chain: a rail down the left, one link per step back towards the vendor */
  .chain { list-style: none; margin: 1.2rem 0 0; padding: 0; position: relative; }
  .chain::before { content: ""; position: absolute; left: 7px; top: 1.2rem; bottom: 1.2rem; width: 1.5px; background: var(--rule); }
  .link { position: relative; padding-left: 2.2rem; }
  .link + .link { margin-top: .4rem; }
  .link > .knot { position: absolute; left: 0; top: 1.05rem; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--deep); overflow: hidden; }
  .link > .knot::after { content: ""; position: absolute; inset: 0; background: var(--deep); transform: translateY(100%); transition: transform 1.2s var(--soft-ease); }
  .link.open > .knot::after { transform: none; }
  .head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; text-align: left;
    padding: .8rem .6rem; margin: 0 -.6rem; border: 0; background: transparent; cursor: pointer; border-radius: 8px; transition: background-color .7s var(--soft-ease); }
  .head:hover { background: rgba(175, 201, 110, .18); }
  .head .t { display: block; font-family: var(--head); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
  .head .s { display: block; font-size: .875rem; color: var(--ink-2); margin-top: .1rem; }
  .head .k { font-family: var(--head); font-size: 1.2rem; white-space: nowrap; }
  .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--soft-ease); }
  .body > div { overflow: hidden; }
  .link.open .body { grid-template-rows: 1fr; }
  .inner { padding: .2rem 0 1.1rem; }
  .ln { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 5.5rem; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
  .ln .q { color: var(--ink-2); text-align: right; } .ln .c { text-align: right; }
  .ln.hot { background: linear-gradient(90deg, rgba(175, 201, 110, .34), rgba(175, 201, 110, 0) 85%); padding-left: .5rem; margin-left: -.5rem; border-radius: 4px 0 0 4px; }
  .ln.sum { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 500; }
  .ln.sum .c, .ln.sum span:first-child { font-family: var(--head); }
  .note { margin-top: .7rem; font-size: .92rem; line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
  .note b { color: var(--ink); font-weight: 500; }
  .step { margin-top: .6rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; max-width: 34rem; }
  .step .box { border: 1px solid var(--rule); border-radius: 8px; background: var(--card); padding: .55rem .8rem; }
  .step .box span { display: block; font-size: .78rem; color: var(--ink-2); }
  .step .box b { font-family: var(--head); font-weight: 500; font-size: 1.15rem; }
  .step .arr { color: var(--ink-2); }
  .inv { margin-top: .4rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--field); padding: .8rem .95rem; font-size: .92rem; }
  .inv .row1 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; }
  .inv .code { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
  .inv .why { margin-top: .5rem; color: var(--ink-2); }
  .accept { margin-top: .7rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
  .accept .btn { min-height: 40px; padding: 0 1.1rem; font-size: .95rem; }
  .accept [hidden] { display: none; }
  .accepted { font-size: .92rem; }
  .order { margin-top: .3rem; display: grid; gap: .45rem; }
  .order div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .8rem; font-size: .95rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
  .order div b { font-weight: 500; }

  .under { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .8125rem; color: var(--ink-2); }
  .law { margin-top: 1.4rem; max-width: 42rem; font-family: var(--head); font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; }
  .law + .btn { margin-top: 1rem; }

  /* The rest of the page, as the other walk-throughs */
  .break { display: flex; justify-content: center; padding: 1rem 0; }
  .break i { width: 12px; height: 12px; border-radius: 50%; background: var(--deep); }
  .part { padding: clamp(3rem, 7vw, 5.5rem) 0; }
  .part + .part { border-top: 1px solid var(--rule); }
  .part > h2, .pair h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
  .part .say { margin-top: .8rem; color: var(--ink-2); max-width: 40rem; font-size: 1.1rem; }
  .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2rem; }
  .col h3 { font-size: 1.3rem; padding-bottom: .55rem; border-bottom: 2px solid var(--ink); }
  .col ul { list-style: none; margin: 0; padding: 0; }
  .col li { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
  .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
  .steps { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: s; }
  .steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); counter-increment: s; }
  .steps li::before { content: counter(s); font-family: var(--head); font-size: 1.12rem; line-height: 1.35; }
  .steps b { font-family: var(--head); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.01em; display: block; line-height: 1.35; }
  .steps .who { display: block; margin-top: .2rem; font-size: .875rem; color: var(--ink-2); }
  .expect { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
  .expect li { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .have { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .have ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
  .have li { padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .have li b { font-family: var(--head); font-weight: 500; }
  .faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2rem; }
  .faq h3 { font-size: 1.3rem; padding-bottom: .55rem; border-bottom: 2px solid var(--ink); }
  .faq details { border-bottom: 1px solid var(--rule); }
  .faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: .8rem; align-items: start;
    padding: .8rem .5rem; margin: 0 -.5rem; border-radius: 6px; font-family: var(--head); font-size: 1.05rem; line-height: 1.35;
    transition: background-color .7s var(--soft-ease); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { background: rgba(175, 201, 110, .22); }
  .faq .mark { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--deep); position: relative; overflow: hidden; margin-top: .2rem; }
  .faq .mark::after { content: ""; position: absolute; inset: 0; background: var(--deep); transform: translateY(100%); transition: transform 1.2s var(--soft-ease); }
  .faq details[open] summary .mark::after { transform: none; }
  .faq details p { padding: 0 0 .9rem; }
  .faq .coming { color: var(--ink-2); }
  .write { border-top: 1px solid var(--rule); padding: clamp(3.5rem, 8vw, 6rem) 0 5rem; display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
  .write h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
  .write .say { margin-top: 1rem; color: var(--ink-2); max-width: 26rem; }
  .write input { background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: .5rem 0; }
  .write textarea { background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2rem - 1px), var(--rule) calc(2rem - 1px), var(--rule) 2rem) local;
    border: 0; border-top: 2px solid var(--ink); border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: .35rem 0 0; line-height: 2rem; min-height: 10rem; }
  .write input:focus-visible, .write textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
  .foot { border-top: 1px solid var(--rule); padding: 1.5rem 0 2.5rem; font-size: .875rem; color: var(--ink-2);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

  @media (max-width: 1000px) {
    .top { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
    .cols, .faq { grid-template-columns: 1fr; }
    .pair, .have, .write { grid-template-columns: 1fr; gap: 2rem; }
  }
  @media (max-width: 640px) {
    .summary { position: static; }
    .bar nav a.hide-s { display: none; }
    .figs { gap: .5rem; }
    .price { grid-template-columns: 1fr auto; }
    .price .track { grid-column: 1 / -1; grid-row: 2; }
    .ln { grid-template-columns: minmax(0, 1fr) 4.6rem 4.4rem; gap: .5rem; font-size: .92rem; }
    .order div { grid-template-columns: 1fr; gap: .1rem; }
    .pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  }
