/* AF Trading – a private desk from South Tyrol.
   Palette: dolomite limestone ground, slate-pine ink, glacier-blue action, the rose of
   alpenglow (Enrosadira) used once: the peak on the home ridge. One typeface, Bricolage
   Grotesque (OFL), with tabular figures for every number. */
@font-face { font-family: "Bricolage"; src: url("/static/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --stone: #e6ebe8; --paper: #f5f7f6; --ink: #1d2a2d; --pine: #1f3a3d; --glacier: #2b6c8c;
  --glacier-soft: #d8e6ec; --alpenglow: #ee9aa4; --up: #2b7a57; --down: #b3473a; --muted: #5b6a6d;
  --line: #cbd4d1; --focus: #f2b134;
  --radius-s: 6px; --radius-m: 12px; --radius-l: 20px;
  --rail: 232px;
}
@media (prefers-color-scheme: dark) {
  :root { --stone: #111a1c; --paper: #172326; --ink: #e2eae8; --pine: #0c1517; --glacier: #7db4d1;
    --glacier-soft: #1d3540; --up: #63c596; --down: #f08a7c; --muted: #95a6a9; --line: #2a393c; }
  button, .button, .actions .ask, .msg.me .bubble { color: #0c1517 !important; }
  .msg.me .bubble a { color: #0c1517; }
  .actions .ask::before { background: #0c1517; }
  button.secondary, button.quiet { color: var(--glacier) !important; }
  button.quiet { color: #a9c4c8 !important; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 16.5px/1.55 "Bricolage", system-ui, sans-serif;
  font-variant-numeric: tabular-nums; }
a { color: var(--glacier); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h2 { font-size: 1.2rem; margin: 0 0 .7rem; }
h2 small { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: .4rem; }
p { margin: .4rem 0; max-width: 72ch; }
.muted, .fine { color: var(--muted); font-size: .9rem; }
.fine { font-size: .82rem; margin-top: .5rem; }

/* ---------- shell: rail on desktop, tab bar on phones ---------- */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); background: var(--pine); color: #dfe8e6; display: flex; flex-direction: column;
  padding: 1.2rem .8rem; gap: 1rem; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.5rem; font-stretch: 78%; letter-spacing: .01em; padding: 0 .6rem; }
.brand span { font-weight: 400; font-stretch: 100%; margin-left: .35rem; color: #a9c4c8; font-size: 1.05rem; }
.rail nav { display: flex; flex-direction: column; gap: .15rem; }
.rail nav a { display: flex; align-items: center; gap: .7rem; color: #c5d4d2; text-decoration: none; padding: .55rem .65rem; border-radius: var(--radius-s); }
.rail nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.rail nav a.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--alpenglow); }
.rail form { margin-top: auto; padding: 0 .6rem; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
main { margin-left: var(--rail); padding: 1.6rem clamp(1rem, 3vw, 2.6rem) 4rem; max-width: calc(1180px + var(--rail)); }
.pagehead { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: 1rem; }
.pagehead h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; font-stretch: 85%; }
.tabs { display: none; }
@media (max-width: 900px) {
  .rail { display: none; }
  main { margin-left: 0; padding: 1rem 1rem calc(5.5rem + env(safe-area-inset-bottom)); }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; background: var(--paper);
    border-top: 1px solid var(--line); padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom)); z-index: 10; }
  .tabs a { display: flex; flex-direction: column; align-items: center; gap: .1rem; color: var(--muted); text-decoration: none; font-size: .72rem; padding: .25rem 0; }
  .tabs a.on { color: var(--glacier); }
  .tabs .icon { width: 22px; height: 22px; }
}

/* ---------- controls ---------- */
button, .button { font: 600 1rem "Bricolage", system-ui, sans-serif; background: var(--glacier); color: #fff; border: 0; border-radius: var(--radius-s);
  padding: .62rem 1.05rem; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .button:hover { filter: brightness(1.08); }
button.secondary { background: transparent; color: var(--glacier); box-shadow: inset 0 0 0 1.5px var(--glacier); }
button.quiet { background: none; color: #a9c4c8; padding: .3rem 0; font-weight: 400; }
button.wide { width: 100%; }
button[disabled] { opacity: .6; cursor: progress; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: .55rem .7rem; }
input:focus, select:focus, textarea:focus { border-color: var(--glacier); outline: none; }
form.inline { display: inline; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: .12rem .55rem; border-radius: 999px; background: var(--stone); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); vertical-align: .1em; }
.pill.good { color: var(--up); box-shadow: inset 0 0 0 1px var(--up); }
.pill.bad { color: var(--down); box-shadow: inset 0 0 0 1px var(--down); }
.flash { padding: .7rem 1rem; border-radius: var(--radius-s); margin: 0 0 1rem; background: var(--paper); border-left: 4px solid var(--glacier); }
.flash.error { border-left-color: var(--down); }
.flash.ok { border-left-color: var(--up); }
.hint { font-size: .92rem; }
.hint summary { color: var(--glacier); cursor: pointer; list-style: none; }
.hint summary::-webkit-details-marker { display: none; }
.hint summary::before { content: "?"; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: .35rem;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 700; font-size: .8rem; }
.hint p { background: var(--paper); padding: .7rem .9rem; border-radius: var(--radius-s); margin-top: .5rem; }

/* ---------- content blocks: hierarchy through space, not boxes ---------- */
.block { margin: 2.2rem 0 0; }
.block.slim { margin-top: 1.6rem; }
.empty { color: var(--muted); background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.2rem; max-width: none; }
.ok { color: var(--up); } .warn { color: var(--down); }
.rows { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.row { display: grid; grid-template-columns: 9rem 1fr 1fr; gap: 1rem; padding: .8rem 1.1rem; background: var(--paper); color: inherit; text-decoration: none; }
.row:hover { background: var(--glacier-soft); }
.plain { list-style: none; padding: 0; margin: .3rem 0 .6rem; }
.plain li { padding: .3rem 0; border-bottom: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-m); overflow: hidden; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
th { font-weight: 600; color: var(--muted); }
.num { text-align: right; }
.scroll { overflow-x: auto; }
dl.figures { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; margin: .6rem 0 0; }
dl.figures dt { font-size: .85rem; color: var(--muted); }
dl.figures dd { margin: 0; font-size: 1.35rem; font-weight: 700; }
dl.figures.big dd { font-size: 2rem; }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------- home: the ridge ---------- */
.hero { position: relative; border-radius: var(--radius-l); overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-start;
  background: #3f5c66; }
.hero.calm { background: var(--glacier); }
.hero.storm { background: #39404a; }
.hero .ridge { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; }
.ridge-back { fill: rgba(255,255,255,.14); }
.ridge-front { fill: var(--stone); }
.ridge-line { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ridge-peak { fill: var(--alpenglow); filter: drop-shadow(0 0 6px var(--alpenglow)); }
.hero-text { position: relative; padding: 1.6rem clamp(1.2rem, 3vw, 2.4rem) 9rem; max-width: 46rem; }
.kicker { margin: 0; color: rgba(255,255,255,.75); }
.state { margin: .1rem 0 .4rem; font-size: clamp(2.8rem, 8vw, 5.4rem); font-weight: 800; font-stretch: 76%; line-height: .95; letter-spacing: -.02em; }
.headline { font-size: 1.15rem; margin: 0; max-width: 40ch; }
.hero dl.figures dt { color: rgba(255,255,255,.75); }
.today-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.6rem; margin-top: 1.4rem; }
.commentary > p:first-child { font-size: 1.06rem; }
.gauges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: .8rem 0; }
.gauges span { color: var(--muted); margin-right: .4rem; }
.gauges b { font-weight: 600; }
.gup { color: var(--up); } .gdown { color: var(--down); } .gflat { color: var(--ink); }
.quick { background: var(--paper); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; align-self: start; }
.ask { display: block; padding: .55rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ask:hover { color: var(--glacier); }
.ask::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--glacier); margin-right: .55rem; vertical-align: .1em; }
.ask-form { display: flex; gap: .5rem; margin-top: .8rem; }
.ask-form input { flex: 1; min-width: 0; }
@media (max-width: 900px) { .today-grid { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr; gap: .1rem; }
  .hero { min-height: 380px; } .hero .ridge { height: 34%; } .hero-text { padding-bottom: 8.5rem; } }
.commentary .ask { display: inline-block; border: 0; padding: 0; color: var(--glacier); }

/* ---------- mentor chat ---------- */
main.wide { max-width: none; }
.chat-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.convs { position: sticky; top: 1rem; }
.convlist { display: flex; flex-direction: column; margin-top: .8rem; max-height: 70vh; overflow-y: auto; }
.convlist a { padding: .55rem .6rem; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: .93rem; }
.convlist a small { display: block; color: var(--muted); font-size: .78rem; }
.convlist a.on, .convlist a:hover { background: var(--paper); }
.chat { display: flex; flex-direction: column; min-height: 70vh; max-width: 900px; }
.thread { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1rem; }
.msg { display: flex; flex-direction: column; }
.msg.me { align-items: flex-end; }
.bubble { max-width: min(46rem, 100%); padding: .75rem 1rem; border-radius: var(--radius-m); background: var(--paper); }
.msg.me .bubble { background: var(--glacier); color: #fff; border-bottom-right-radius: var(--radius-s); }
.msg.me .bubble a { color: #fff; }
.msg.bot .bubble { border-bottom-left-radius: var(--radius-s); }
.bubble p { margin: .35rem 0; }
.bubble ul { margin: .3rem 0; padding-left: 1.2rem; }
.bubble .mdh { font-weight: 700; margin-top: .7rem; }
.bubble code { background: var(--stone); padding: .05rem .3rem; border-radius: 4px; font-size: .9em; }
.err { color: var(--down); }
.steps { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.steps summary { cursor: pointer; }
.live { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .4rem; }
.live span { font-size: .8rem; background: var(--glacier-soft); color: var(--ink); padding: .15rem .55rem; border-radius: 999px; }
.live span.now::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--glacier);
  margin-right: .35rem; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.mini { margin: .5rem 0 0; max-width: min(46rem, 100%); }
.mini img { width: 100%; background: var(--paper); border-radius: var(--radius-m); display: block; }
.mini figcaption { font-size: .85rem; margin-top: .25rem; }
.composer { position: sticky; bottom: 0; display: flex; gap: .6rem; align-items: flex-end; background: var(--stone); padding: .6rem 0 0; }
.composer textarea { flex: 1; resize: none; min-height: 3rem; max-height: 14rem; }
.welcome .lead { font-size: 1.2rem; }
.starters { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem; margin-top: 1rem; }
.starter { text-align: left; background: var(--paper); color: var(--ink); font-weight: 400; line-height: 1.4; box-shadow: inset 0 0 0 1px var(--line); }
.starter:hover { box-shadow: inset 0 0 0 1.5px var(--glacier); filter: none; }
@media (max-width: 900px) {
  .chat-layout { grid-template-columns: 1fr; }
  .convs { position: static; } .convlist { flex-direction: row; overflow-x: auto; max-height: none; gap: .4rem; }
  .convlist a { flex: none; max-width: 14rem; background: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .composer { bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
}

/* ---------- reviews ---------- */
.review { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.2rem; margin-bottom: .8rem; }
.review header { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.review header a { color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.score { font-weight: 800; font-size: 1.1rem; }

/* ---------- title view ---------- */
.search { display: flex; gap: .5rem; max-width: 34rem; margin-bottom: 1.2rem; }
.search input { flex: 1; min-width: 0; text-transform: uppercase; }
.title-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.listing { margin: 0; color: var(--muted); font-weight: 600; }
.price { margin: 0; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; font-stretch: 80%; line-height: 1; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); font-stretch: 100%; }
.chart-wrap { margin: 1rem 0 .3rem; background: var(--paper); border-radius: var(--radius-m); padding: .6rem; }
.chart { width: 100%; height: auto; display: block; }
.chart .guide { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: "Bricolage", sans-serif; }
.chart .wick.up { stroke: var(--up); } .chart .wick.down { stroke: var(--down); }
.chart .body.up { fill: var(--up); } .chart .body.down { fill: var(--down); }
.chart .live { opacity: .45; }
.chart .ema20 { fill: none; stroke: var(--glacier); stroke-width: 1.6; }
.chart .ema50 { fill: none; stroke: #c08a2b; stroke-width: 1.6; }
.chart .last { stroke: var(--ink); stroke-dasharray: 3 3; opacity: .45; }
.chart .tag { fill: var(--ink); } .chart .tagtext { fill: var(--paper); font-size: 11px; font-weight: 700; font-family: "Bricolage", sans-serif; }
.chart .band { fill: var(--alpenglow); opacity: .35; } .chart .median { stroke: var(--down); stroke-width: 1.5; stroke-dasharray: 4 3; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .85rem; color: var(--muted); }
.legend em { font-style: normal; }
.legend span::before { content: ""; display: inline-block; width: .9rem; height: 3px; margin-right: .35rem; vertical-align: .25em; }
.k-ema20::before { background: var(--glacier); } .k-ema50::before { background: #c08a2b; } .k-band::before { background: var(--alpenglow); height: 8px !important; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0; }
.actions .ask { display: inline-block; border: 0; background: var(--glacier); color: #fff; padding: .62rem 1.05rem; border-radius: var(--radius-s); font-weight: 600; }
.actions .ask::before { background: #fff; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.panel { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.panel .big { font-size: 1.5rem; font-weight: 700; margin: .2rem 0; }

/* ---------- desk ---------- */
.desk-form { background: var(--paper); border-radius: var(--radius-m); padding: 1.2rem 1.3rem; }
.desk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .desk-cols { grid-template-columns: 1fr; gap: 1rem; } }
.symbol { display: flex; gap: .5rem; margin: .4rem 0; }
.symbol select { flex: 0 0 auto; }
.symbol input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.switch { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { flex: none; width: 2.6rem; height: 1.5rem; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; margin-top: .1rem; }
.switch .track::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .track { background: var(--up); }
.switch input:checked + .track::after { transform: translateX(1.1rem); }
.switch input:focus-visible + .track { outline: 3px solid var(--focus); outline-offset: 2px; }
.switch b { display: block; font-weight: 600; } .switch small { color: var(--muted); }
.brief summary { cursor: pointer; color: var(--glacier); margin-top: .8rem; }
.brief-text { background: var(--paper); border-radius: var(--radius-m); padding: .8rem 1.1rem; margin-top: .5rem; }

/* ---------- world, system, help ---------- */
.connect { background: var(--paper); border-radius: var(--radius-m); padding: 1.1rem 1.3rem; }
.steps-list li { margin: .6rem 0; }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.inline-form input { flex: 1 1 18rem; min-width: 0; }
.tool { background: var(--paper); border-radius: var(--radius-s); padding: .6rem .9rem; margin: .4rem 0; }
.tool summary { cursor: pointer; font-weight: 600; }
pre { white-space: pre-wrap; word-break: break-word; font: .85rem/1.5 "Bricolage", sans-serif; margin: .5rem 0 0; }
.svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.svc { background: var(--paper); padding: .9rem 1rem; } .svc b { display: block; margin-bottom: .2rem; } .svc span { color: var(--muted); font-size: .9rem; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.flowcol h3 { font-size: 1rem; color: var(--glacier); margin: 0 0 .4rem; }
.flowcol p { margin: .25rem 0; font-size: .93rem; } .flowcol b { font-weight: 600; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.rules { padding-left: 1.2rem; margin-top: 1.2rem; }
.lead { font-size: 1.12rem; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.topic { background: var(--paper); padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; }
.topic:hover { background: var(--glacier-soft); }
.topic b { display: block; font-size: 1.05rem; } .topic span { color: var(--muted); font-size: .92rem; }
.article { max-width: 46rem; } .article h2 { margin-top: 1.8rem; } .article li { margin: .3rem 0; }
.asks .ask { max-width: 40rem; }
.more { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.more a { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: .8rem; padding: .9rem 1rem; background: var(--paper); color: var(--ink); text-decoration: none; }
.more .icon { grid-row: span 2; align-self: center; color: var(--glacier); }
.more span { color: var(--muted); font-size: .9rem; }

/* ---------- process ---------- */
.process { list-style: none; padding: 0; margin: 1.2rem 0 0; position: relative; }
.process::before { content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.stage { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: 1rem; margin-bottom: 1.4rem; position: relative; }
.stage-num { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--line); position: relative; }
.stage.ready .stage-num { background: var(--up); color: #fff; box-shadow: none; }
.stage.partial .stage-num { box-shadow: inset 0 0 0 2px var(--up); }
.stage-body { background: var(--paper); border-radius: var(--radius-m); padding: .9rem 1.2rem; }
.stage-body h2 { font-size: 1.12rem; margin: 0 0 .3rem; }
.where { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .93rem; }
.where li { padding: .15rem 0; } .where b { font-weight: 600; margin-right: .35rem; }
.gap { border-left: 3px solid var(--alpenglow); padding-left: .7rem; margin-top: .7rem; }
.plan ol { padding-left: 1.3rem; } .plan li { margin: .5rem 0; max-width: 72ch; }

/* ---------- setups ---------- */
.setup { margin-top: 1rem; }
.variant { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .8rem; }
.variant header { display: flex; align-items: center; gap: .6rem; }
.variant h3 { margin: 0; }
table.levels { background: transparent; margin: .5rem 0; }
table.levels th { width: 7rem; color: var(--ink); }
table.levels td.num { white-space: nowrap; font-weight: 700; width: 9rem; }
.setup-notes { color: var(--muted); font-size: .9rem; padding-left: 1.1rem; }
.order pre { background: var(--stone); border-radius: var(--radius-s); padding: .7rem .9rem; font-family: ui-monospace, monospace; }
.card-setup { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.card-setup .variant { border-top: 0; margin-top: 0; padding-top: 0; }
.setup-form select { flex: 1 1 16rem; }

/* ---------- login ---------- */
body.bare { min-height: 100vh; background: var(--pine); display: grid; place-items: center; }
.login-main { margin: 0; padding: 1rem; width: 100%; max-width: 30rem; }
.login { background: var(--paper); border-radius: var(--radius-l); padding: 2rem 1.8rem; position: relative; overflow: hidden; }
.login h1 { font-size: 2.4rem; font-stretch: 78%; margin: 0 0 .6rem; }
.login-ridge { height: 70px; margin: -2rem -1.8rem 1.2rem; background: var(--glacier);
  clip-path: polygon(0 100%, 0 60%, 14% 38%, 24% 52%, 38% 18%, 47% 34%, 58% 8%, 70% 42%, 82% 26%, 100% 55%, 100% 100%); }
.note { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
