/* MaxedS self-serve flow: /start, /contract, /welcome, /cancel. Sits on top of /assets/site-2026-11/site.css.
   Black and white with a hint of green; square corners; system fonts. */
.ss { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) 3rem; }
.ss-head { padding: 4rem 0 0; max-width: 780px; }
.ss-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.ss-head .lede { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); margin-top: 1.25rem; max-width: 60ch; }
.ss-note { font-size: 0.95rem; color: var(--mute); margin-top: 1rem; max-width: 62ch; }
.ss a.u, .ss p a, .ss li a { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ss a.u:hover, .ss p a:hover, .ss li a:hover { background: var(--ink); color: #fff; text-decoration-color: var(--green); }
.ss [hidden] { display: none !important; }

/* Steps rail */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 3rem 0 0; border-top: 1px solid var(--ink); list-style: none; }
.rail li { padding: 0.9rem 0 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); position: relative; }
.rail li b { display: block; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--rule-strong); font-weight: 600; margin-bottom: 0.15rem; }
.rail li.on { color: var(--ink); } .rail li.on b { color: var(--ink); }
.rail li.on::before { content: ''; position: absolute; top: -3px; left: 0; width: 44px; height: 5px; background: var(--green); }
.rail li.done b { color: var(--green-ink); }
.rail button { all: unset; cursor: pointer; display: block; width: 100%; } .rail button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.panel { margin-top: 2.5rem; max-width: 780px; }
.panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.5rem; }
.panel .sub { color: var(--ink-2); margin-bottom: 1.75rem; max-width: 60ch; }

/* Form */
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.f { display: flex; flex-direction: column; gap: 0.4rem; } .f.wide { grid-column: 1 / -1; }
.f label, .f .lab { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.f input, .f textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 0; padding: 0.85rem 0.9rem; width: 100%; min-height: 50px; -webkit-appearance: none; appearance: none; }
.f textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); }
.f .hint { font-size: 0.85rem; color: var(--mute); }
.f .err { font-size: 0.85rem; color: #a11212; font-weight: 600; min-height: 0; }
.f.bad input, .f.bad textarea { border-color: #a11212; }
.f.flash input { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: inset 0 0 0 2px var(--green); background: #f1f8e6; } 100% { box-shadow: none; background: var(--paper); } }
.units { display: flex; align-items: stretch; gap: 0; width: max-content; }
.units button { font: inherit; font-size: 1.3rem; font-weight: 600; width: 50px; min-height: 50px; background: var(--paper); border: 1px solid var(--rule-strong); cursor: pointer; color: var(--ink); }
.units button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.units input { width: 72px; text-align: center; border-left: 0; border-right: 0; font-weight: 600; font-size: 1.15rem; -moz-appearance: textfield; }
.units input::-webkit-outer-spin-button, .units input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--ink); color: var(--on-black); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.total .num { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--green); line-height: 1; }
.total .num small { font-size: 1rem; color: var(--on-black-mute); font-weight: 500; letter-spacing: 0; }
.total .also { color: var(--on-black-mute); font-size: 0.95rem; max-width: 46ch; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none !important; }
.btn-text { background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 0.95rem 0.5rem; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.msg { margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-left: 5px solid var(--green); background: var(--soft); font-size: 0.98rem; max-width: 62ch; }
.msg.bad { border-left-color: #a11212; }

/* Payment choice */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice { position: relative; display: block; border: 1px solid var(--rule-strong); padding: 1.4rem 1.4rem 1.5rem; cursor: pointer; background: var(--paper); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.choice .k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.9rem; }
.choice p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.choice:hover { border-color: var(--ink); }
.choice.sel { border-color: var(--ink); box-shadow: inset 0 5px 0 var(--green); }
.choice.sel::after { content: 'Selected'; position: absolute; top: 1.3rem; right: 1.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); }
.choice:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Contract */
.ct-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; font-size: 0.85rem; color: var(--mute); margin: 1.5rem 0 0; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ct-meta b { color: var(--ink); font-weight: 600; } .ct-meta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; word-break: break-all; color: var(--ink-2); }
.ct { max-width: 760px; }
.ct .ct-pre { font-size: 1.05rem; line-height: 1.65; margin: 2rem 0 0; }
.ct-sec { margin-top: 2.5rem; scroll-margin-top: 96px; }
.ct-sec h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.8rem; display: flex; align-items: baseline; gap: 0.9rem; }
.ct-sec .ct-n { font-size: 0.8rem; font-weight: 700; color: var(--green-ink); letter-spacing: 0.08em; min-width: 1.4rem; border-top: 4px solid var(--green); padding-top: 0.3rem; }
.ct-sec p, .ct-sec li { font-size: 1rem; line-height: 1.68; color: var(--ink-2); margin-bottom: 0.8rem; }
.ct-sec ul { list-style: none; } .ct-sec li { padding-left: 1.3rem; position: relative; }
.ct-sec li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--ink); }
.ct-sec.hit { animation: hit 2.4s ease-out; }
@keyframes hit { 0%, 30% { background: #eef6e0; box-shadow: -14px 0 0 #eef6e0, 14px 0 0 #eef6e0; } 100% { background: transparent; box-shadow: none; } }
.ct-box { border: 1px solid var(--ink); max-height: 62vh; overflow: auto; padding: 0 1.5rem 1.75rem; background: var(--paper); -webkit-overflow-scrolling: touch; }
.ct-box .ct-sec { scroll-margin-top: 12px; }
.ct-box .ct-sec h3 { font-size: 1.1rem; } .ct-box .ct-pre { font-size: 1rem; margin-top: 1.5rem; }
.ct-toc { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin: 1.75rem 0 0; list-style: none; }
.ct-toc a { display: inline-block; font-size: 0.82rem; font-weight: 600; text-decoration: none; border: 1px solid var(--rule-strong); padding: 0.4rem 0.7rem; color: var(--ink-2); }
.ct-toc a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.agree { display: flex; gap: 0.85rem; align-items: flex-start; margin-top: 1.75rem; cursor: pointer; font-size: 1rem; line-height: 1.5; }
.agree input { width: 24px; height: 24px; flex: none; margin-top: 0.1rem; accent-color: var(--ink); cursor: pointer; }
.sigline input { font: italic 1.5rem/1.2 Georgia, "Times New Roman", serif; border: 0; border-bottom: 2px solid var(--ink); padding: 0.6rem 0.2rem; }
.sigline input:focus { box-shadow: 0 3px 0 var(--green); border-color: var(--ink); }
.rec { font-size: 0.82rem; color: var(--mute); margin-top: 1rem; max-width: 62ch; }

/* Welcome */
.blocks { display: grid; gap: 0; margin-top: 3.5rem; }
.block { border-top: 1px solid var(--ink); padding: 2.25rem 0 2.75rem; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem 3rem; }
.block > * { min-width: 0; }
.block > header .kicker { margin-bottom: 0.6rem; }
.block > header h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.block > header p { color: var(--mute); font-size: 0.92rem; margin-top: 0.6rem; }
.state { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 1.5rem; padding: 0.5rem 0.8rem; border: 1px solid var(--ink); }
.state::before { content: ''; width: 9px; height: 9px; background: var(--green); display: block; } .state.wait::before { background: #d9a400; } .state.off::before { background: var(--mute); }
.days { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
.day { flex: none; font: inherit; background: var(--paper); border: 1px solid var(--rule-strong); padding: 0.55rem 0.8rem; cursor: pointer; text-align: left; min-width: 76px; color: var(--ink); }
.day small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); } .day b { font-size: 1.05rem; font-weight: 600; }
.day.sel { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--green); } .day.sel small { color: var(--on-black-mute); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 0.4rem; margin-top: 1rem; }
.time { font: inherit; font-weight: 600; font-size: 0.95rem; background: var(--paper); border: 1px solid var(--rule-strong); padding: 0.7rem 0.4rem; cursor: pointer; color: var(--ink); min-height: 46px; }
.time:hover { border-color: var(--ink); } .time.sel { background: var(--green); border-color: var(--ink); }
.tz { font-size: 0.85rem; color: var(--mute); margin-top: 0.9rem; }
.booked { border: 1px solid var(--ink); box-shadow: inset 5px 0 0 var(--green); padding: 1.1rem 1.3rem; } .booked b { display: block; font-size: 1.2rem; letter-spacing: -0.01em; }
.booked p { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.3rem; }
.drop { border: 1px dashed var(--ink-2); padding: 1.6rem 1.3rem; text-align: center; cursor: pointer; background: var(--soft); display: block; }
.drop.over { background: #eef6e0; border-style: solid; } .drop b { display: block; font-size: 1.02rem; } .drop span { font-size: 0.88rem; color: var(--mute); } .drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { list-style: none; margin-top: 0.8rem; } .files li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.files li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .files li span:last-child { color: var(--mute); flex: none; font-size: 0.85rem; } .files li.bad span:last-child { color: #a11212; font-weight: 600; }
.stack { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.keep { list-style: none; } .keep li { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1.5rem; } .keep li span { color: var(--mute); font-size: 0.92rem; }
.keep.hit { animation: hit 2.4s ease-out; }
.sum { list-style: none; border-top: 1px solid var(--ink); margin-top: 2rem; } .sum li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); } .sum li span { color: var(--mute); } .sum li b { text-align: right; font-weight: 600; }
.sum li.big b { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--green-ink); }
.skeleton { color: var(--mute); padding: 3rem 0; }

/* Max side panel */
.mx-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; font: inherit; font-weight: 600; font-size: 0.95rem; background: var(--ink); color: #fff; border: 0; padding: 0.85rem 1.15rem 0.85rem 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; box-shadow: 0 6px 24px rgba(0,0,0,.22), inset 0 -4px 0 var(--green); }
.mx-fab i { width: 10px; height: 10px; background: var(--green); display: block; }
.mx { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100vw; z-index: 160; background: var(--ink); color: var(--on-black); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .22s ease-out; box-shadow: -12px 0 40px rgba(0,0,0,.25); }
.mx.open { transform: none; }
.mx-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--black-rule); }
.mx-top b { font-size: 1rem; display: flex; align-items: center; gap: 0.6rem; } .mx-top b::before { content: ''; width: 10px; height: 10px; background: var(--green); }
.mx-top span { font-size: 0.72rem; color: var(--on-black-mute); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-left: 0.2rem; }
.mx-x { background: none; border: 1px solid var(--black-rule); color: var(--on-black); width: 40px; height: 40px; font-size: 1.2rem; cursor: pointer; }
.mx-log { flex: 1; overflow: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.8rem; -webkit-overflow-scrolling: touch; }
.mx-m { max-width: 92%; font-size: 0.95rem; line-height: 1.5; padding: 0.7rem 0.9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.mx-m.max { background: #1e2023; border-left: 3px solid var(--green); align-self: flex-start; } .mx-m.user { background: var(--on-black); color: var(--ink); align-self: flex-end; }
.mx-m.act { background: none; padding: 0 0 0 0.9rem; font-size: 0.8rem; color: var(--green); font-weight: 600; letter-spacing: 0.02em; }
.mx-m.wait { color: var(--on-black-mute); font-style: italic; background: none; padding-left: 0; }
.mx-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.1rem 0.8rem; }
.mx-chips button { font: inherit; font-size: 0.82rem; background: none; color: var(--on-black); border: 1px solid var(--black-rule); padding: 0.4rem 0.65rem; cursor: pointer; } .mx-chips button:hover { border-color: var(--green); }
.mx-form { display: flex; gap: 0; border-top: 1px solid var(--black-rule); padding: 0.8rem; padding-bottom: calc(0.8rem + env(safe-area-inset-bottom)); }
.mx-form textarea { flex: 1; font: inherit; font-size: 1rem; background: #1e2023; color: var(--on-black); border: 1px solid var(--black-rule); border-right: 0; padding: 0.7rem 0.8rem; resize: none; height: 48px; border-radius: 0; }
.mx-form textarea:focus { outline: none; border-color: var(--green); }
.mx-form button { font: inherit; font-weight: 700; background: var(--green); color: var(--ink); border: 0; padding: 0 1rem; cursor: pointer; min-width: 64px; } .mx-form button[disabled] { opacity: .5; }
.mx-foot { font-size: 0.72rem; color: var(--on-black-mute); padding: 0 1.1rem 0.6rem; }
/* Room under the page for the floating button, so the footer and last fields can always scroll clear of it. */
body.has-mx { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
body.mx-typing .mx-fab { display: none !important; }
.mx-fab { bottom: calc(20px + env(safe-area-inset-bottom)); }
.f, .agree, .units { scroll-margin-top: 104px; }
@media (min-width: 1280px) { body.mx-docked { padding-right: 380px; } body.mx-docked .mx { box-shadow: none; border-left: 1px solid var(--black-rule); } }

@media (max-width: 860px) {
  .block { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.9rem 0 2.25rem; }
  .choices { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ss-head { padding-top: 2.5rem; }
  .f-grid { grid-template-columns: 1fr; }
  .rail li { font-size: 0.66rem; letter-spacing: 0.08em; padding-right: 0.4rem; }
  .ct-box { padding: 0 1rem 1.25rem; max-height: 56vh; }
  .row .btn { width: 100%; text-align: center; }
  .total .num { font-size: 1.9rem; }
  .mx { width: 100vw; top: auto; height: 82vh; height: 82dvh; transform: translateY(104%); box-shadow: 0 -12px 40px rgba(0,0,0,.3); }
  .mx-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .times { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mx { transition: none; } .f.flash input, .ct-sec.hit, .keep.hit { animation: none; } }
@media print { .nav, .site-footer, .mx, .mx-fab, .ct-toc, .no-print { display: none !important; } .ss { padding: 0; } }
/* ── Deck theme (Nov 21): pages use body.deck tokens from site.css; fix spots that assumed white paper ── */
.deck .ss a.u:hover, .deck .ss p a:hover, .deck .ss li a:hover,
.deck .units button:hover, .deck .ct-toc a:hover { background: var(--green); color: #0b0b0c; border-color: var(--green); }
.deck .day.sel { background: var(--green); color: #0b0b0c; border-color: var(--green); box-shadow: none; } .deck .day.sel small { color: #1b2a0a; }
.deck .f .err, .deck .files li.bad span:last-child { color: #ff7a7a; } .deck .f.bad input, .deck .f.bad textarea { border-color: #ff7a7a; } .deck .msg.bad { border-left-color: #ff7a7a; }
@keyframes flash-d { 0% { box-shadow: inset 0 0 0 2px var(--green); background: #1a2410; } 100% { box-shadow: none; background: var(--paper); } }
@keyframes hit-d { 0%, 30% { background: #1a2410; box-shadow: -14px 0 0 #1a2410, 14px 0 0 #1a2410; } 100% { background: transparent; box-shadow: none; } }
.deck .drop.over { background: #1a2410; }
.deck .mx-fab { background: var(--green); color: #0b0b0c; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.deck .mx { background: #141416; color: var(--on-black); border-left: 1px solid var(--rule); }
.deck .mx-m.user { background: var(--on-black); color: #0b0b0c; }
.deck .f.flash input { animation-name: flash-d; } .deck .ct-sec.hit, .deck .keep.hit { animation-name: hit-d; }
.deck .total { background: var(--soft); border: 1px solid var(--rule); }
.deck .rail li b { color: var(--mute); } .deck .rail li.on b { color: var(--ink); }
.deck .mx-form button { color: #0b0b0c; }
