.cz { max-width: 1000px; margin: 0 auto; padding: 8px 20px 70px; }
.cz-hero { padding: 28px 0 8px; }
.cz-hero h1 { font-size: 34px; line-height: 1.4; margin: 8px 0 10px; }
.cz-hero > p { font-size: 16px; line-height: 1.9; color: var(--ink-soft); max-width: 38em; }
.cz-from { font-size: 15px; margin: 14px 0 20px; }
.cz-from b { font: 700 22px var(--sans, inherit); font-variant-numeric: tabular-nums; }
.cz-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cz-code { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--hairline); background: var(--card); border-radius: 999px; padding: 4px 4px 4px 14px; }
.cz-code input { font: 500 16px var(--mono); letter-spacing: .12em; width: 6.5em; border: 0; background: none; text-transform: uppercase; outline: none; }
.cz-first { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--gold-deep); }
.cz-sec { margin-top: 40px; }
.cz-sec > h2 { font-size: 23px; margin-bottom: 6px; }
.cz-sec > .sub { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.cz-card { background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fit h3 { font-size: 16px; margin-bottom: 6px; }
.fit p, .why p { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.why .k { font-size: 13px; color: var(--gold-deep); font-weight: 700; }
.why h3 { font-size: 18px; margin: 4px 0 6px; }
.mine { border: 1px solid var(--gold-deep); background: #fffaf0; border-radius: 14px; padding: 18px 20px; margin-top: 22px; }
.mine .code { font: 600 15px var(--mono); letter-spacing: .08em; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 2px 8px; margin-left: 6px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.steps li { border: 1px solid var(--hairline); background: var(--card); border-radius: 10px; padding: 9px 11px; font-size: 13px; color: var(--ink-soft); }
.steps li b { display: block; color: var(--ink); font-size: 14px; }
.steps li.done { background: #e2efe6; border-color: #bcd8c6; }
.steps li.now { background: #fff8e6; border-color: var(--gold-deep); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.f { margin: 0 0 18px; }
.f > b { display: block; font-size: 15px; margin-bottom: 4px; }
.f > b small, .hint { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font: inherit; font-size: 14px; border: 1px solid var(--hairline); background: var(--card); border-radius: 10px; padding: 8px 13px; cursor: pointer; text-align: left; line-height: 1.5; }
.seg button small { display: block; font-size: 12px; color: var(--ink-soft); }
.seg button.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.seg button.on small { color: #d8d4c8; }
.f input.wide { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 9px; background: var(--card); margin-top: 8px; }
.pay { position: sticky; top: 16px; background: #f1ede1; border: 1px solid #ded6bf; border-radius: 14px; padding: 18px; }
.pay.wait { opacity: .55; }
.pay h3 { font-size: 16px; margin-bottom: 2px; }
.pay .sel { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid #ded6bf; }
.tl li .w { font-size: 14px; font-weight: 700; }
.tl li .t { font-size: 12.5px; color: var(--ink-soft); grid-column: 1; }
.tl li .m { font: 600 18px var(--sans, inherit); font-variant-numeric: tabular-nums; grid-row: 1 / 3; grid-column: 2; align-self: center; text-align: right; }
.tl li.head { display: block; border-top: 0; padding: 8px 0 2px; font-weight: 700; }
.tl li.due .m { font-size: 26px; font-weight: 700; color: var(--ink, #17191d); }
.tl li.sub .w { font-size: 13px; font-weight: 600; }
.tl li.sub .m { font-size: 16px; font-weight: 600; }
.pay .later { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--ink-soft, #5e636b); }
.pay .later b { display: block; margin-bottom: 4px; color: var(--ink, #17191d); font-size: 14px; }
.pay .later ul { margin: 0; padding-left: 1.15em; }
.pay .tot { font-size: 13px; color: var(--ink-soft); margin: 6px 0 12px; line-height: 1.7; }
.pay .btn { width: 100%; }
.car { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; border: 1px solid var(--hairline); border-radius: 12px; padding: 13px 16px; margin-bottom: 10px; background: var(--card); }
.car .code { font: 600 14px var(--mono); letter-spacing: .06em; }
.car .tag { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 20px; background: #fff1cc; color: #8a6412; margin-left: 8px; }
.car .tag.go { background: #e2efe6; color: #2b6b54; }
.car .m { font-size: 13.5px; color: var(--ink-soft); }
.detail { margin: 8px 0 18px; }
.manual { margin-top: 46px; border-top: 1px solid var(--hairline); padding-top: 30px; }
.manual > h2 { font-size: 23px; }
.manual > .sub { font-size: 15px; color: var(--ink-soft); margin: 4px 0 16px; }
.manual details { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; margin-bottom: 10px; }
.manual summary { cursor: pointer; padding: 15px 18px; font-size: 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.manual summary::after { content: '+'; font-family: var(--mono); color: var(--ink-soft); }
.manual details[open] summary::after { content: '−'; }
.manual .in { padding: 0 18px 18px; font-size: 14.5px; line-height: 1.9; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; }
.terms > div { padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.terms dt { font-weight: 700; }
.terms dd { margin: 2px 0 0; color: var(--ink-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two > div { border-radius: 10px; padding: 13px 15px; background: var(--paper); border: 1px solid var(--hairline); }
.manual .two .ok { border-top: 4px solid #5c9a7d; }
.manual .two .chg { border-top: 4px solid #d9a92f; }
.manual .two .lose { border-top: 4px solid #c0583c; }
.plate-inline { background: #17191d; color: #fff; border-radius: 6px; padding: 1px 6px; font-family: ui-monospace, Consolas, monospace; }
.manual ol, .two ul { padding-left: 18px; margin: 0; }
.closed { padding: 48px 0; font-size: 18px; }
@media (max-width: 820px) {
  .cfg { grid-template-columns: 1fr; }
  .pay { position: static; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3, .two, .terms, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cz-hero h1 { font-size: 27px; }
  .grid4, .grid3, .two, .terms, .steps { grid-template-columns: 1fr; }
  .car { grid-template-columns: 1fr; }
  .cz-code, .cz-acts .btn { width: 100%; }
}
.narrow-only { display: none; }
.quiet { background: none; border: 0; padding: 0; color: var(--muted, #6d6a62); font-size: 13px; cursor: pointer; text-decoration: underline; }
.talk { margin-top: 16px; }
.talk textarea { width: 100%; margin-top: 8px; }
.talk .admin { color: #9a3412; }
.talk .when { color: var(--muted, #6d6a62); font-size: 12px; font-weight: 400; }
.talk .fresh { color: #9a3412; font-size: 12px; }
.now-do { margin: 14px 0 8px; font-size: 16px; font-weight: 650; line-height: 1.6; }
.pay-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.step-notes { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line, #e4e0d6); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.sheet { border: 1px solid var(--line, #e4e0d6); border-radius: 14px; background: #fff; overflow: hidden; }
.sheet-h { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line, #e4e0d6); }
.step-notes h3 { margin: 0 0 8px; font-size: 15px; }
.step-notes p { margin: 8px 0; }
.manual.is-car #manualTitle { cursor: pointer; }
.manual.is-car #manualTitle::before { content: "▸ "; }
.waitbar { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #fff1d6; font-size: 13.5px; font-weight: 600; color: #8d6c32; }
@media (max-width: 820px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
}
.gate-hero { display: grid; grid-template-columns: 1fr auto; gap: 0 24px; align-items: start; }
.gate-hero > * { grid-column: 1; }
.find { grid-column: 2; grid-row: 1 / 5; margin-top: 8px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line, #d9d7cf); background: #fff; border-radius: 999px; padding: 3px 3px 3px 12px; }
.find svg { width: 15px; height: 15px; color: #8a8e95; flex: none; }
.find input { font: 600 14px ui-monospace, Consolas, monospace; letter-spacing: .06em; width: 11em; border: 0; background: none; outline: none; }
.find input::placeholder { font: 400 13px inherit; letter-spacing: 0; font-family: inherit; }
.find button { border: 0; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #17191d; color: #fff; cursor: pointer; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.path { text-align: left; border: 1.5px solid var(--line, #d9d7cf); background: #fff; border-radius: 16px; padding: 16px 18px; cursor: pointer; }
.path.on { border-color: #17191d; box-shadow: inset 0 0 0 1px #17191d; }
.path .n { font-size: 12.5px; color: #8a8e95; }
.path h3 { font-size: 19px; margin: 2px 0 4px; }
.path p { font-size: 13.5px; color: var(--ink-soft, #5e636b); line-height: 1.7; margin: 0; }
.path .live { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #2a9477; }
.path .live i { width: 8px; height: 8px; border-radius: 50%; background: #2a9477; box-shadow: 0 0 0 4px #edf8f4; display: block; }
.path .live.none { color: #8a8e95; font-weight: 400; }
.path .live.none i { background: #d9d7cf; box-shadow: none; }
.ended { margin-top: 16px; border: 1px solid var(--line, #d9d7cf); background: #fff; border-radius: 14px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.ended .h { font-weight: 700; }
.ended p { margin: 0; font-size: 14px; color: var(--ink-soft, #5e636b); grid-column: 1; }
.ended .acts { grid-column: 2; grid-row: 1 / 3; }
.ended details { grid-column: 1 / -1; }
.ended summary { cursor: pointer; color: #8d6c32; }
.other-ways { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, #d9d7cf); }
.other-ways button { border: 0; background: none; color: #8d6c32; cursor: pointer; font: inherit; text-decoration: underline; }
.prev-line { color: var(--muted, #6d6a62); font-size: 13.5px; }
.prev-line button { border: 0; background: none; color: #8d6c32; cursor: pointer; font: inherit; text-decoration: underline; margin-left: 8px; padding: 0; }
#prevTalk { margin: 8px 0 14px; }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .path .n { display: none; }
  .gate-hero { grid-template-columns: 1fr; }
  .find { grid-column: 1; grid-row: auto; order: 9; margin-top: 12px; }
  .find input { flex: 1; width: auto; }
  .ended { grid-template-columns: 1fr; }
  .ended .acts { grid-column: 1; grid-row: auto; }
}
