/* Setup website (design: Claude Design canvas, "Setup (option B) · phone"). Phone first. */
@font-face{font-family:"VB Sans";src:url(fonts/vb-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"VB Sans";src:url(fonts/vb-sans-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"VB Condensed";src:url(fonts/vb-cond-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"VB Mono";src:url(fonts/vb-mono-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"bipbus name";src:url(fonts/bipbus-name.woff2) format("woff2");font-weight:100 900;font-display:block}

:root{
  --bg:#F7F6F2; --surface:#FFFFFF; --ink:#111111; --muted:#55524B; --line:#D9D6CE; --tabs:#E7E4DC;
  --accent:#1E6B45; --accent-dark:#14492F; --accent-soft:#E3EFE7; --accent-ring:#CFE3D6;
  --error:#A3261B; --error-soft:#FBE9E6; --map:#ECEAE3;
  --sans:"VB Sans",-apple-system,"Segoe UI",system-ui,sans-serif;
  --cond:"VB Condensed","VB Sans",-apple-system,system-ui,sans-serif;
  --mono:"VB Mono",ui-monospace,Menlo,monospace;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:#E7E4DC;color:var(--ink);font:400 16px/1.45 var(--sans);-webkit-text-size-adjust:100%}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--accent)}a:hover{color:var(--accent-dark)}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.app{max-width:480px;min-height:100%;height:100dvh;margin:0 auto;background:var(--bg);display:flex;flex-direction:column}
.bar{height:56px;flex-shrink:0;padding:0 16px;display:flex;align-items:center;gap:10px;background:var(--ink);color:#fff;padding-top:env(safe-area-inset-top)}
.icon-btn{width:44px;height:44px;margin-left:-10px;border:0;background:transparent;display:flex;align-items:center;justify-content:center}
.icon-btn svg{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.logo{width:30px;height:30px;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center}
.logo svg{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.brand{flex-grow:1;font:700 20px var(--cond)}
.lang{display:flex;border:2px solid #fff;border-radius:8px;overflow:hidden}
.lang button{min-width:44px;height:32px;border:0;background:transparent;color:#fff;font-weight:600;font-size:14px}
.lang button[aria-pressed=true]{background:#fff;color:var(--ink)}

.steps{flex-shrink:0;padding:12px 20px 0;display:flex;flex-direction:column;gap:8px}
.steps-text{font-size:13px;font-weight:600;color:var(--muted)}
.steps-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.steps-bars span{height:6px;border-radius:3px;background:var(--line)}
.steps-bars span.on{background:var(--accent)}

.main{flex-grow:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:20px;outline:none}
.cta{flex-shrink:0;padding:12px 20px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg);display:flex;flex-direction:column;gap:8px}
.btn{height:52px;border-radius:10px;font-weight:600;font-size:17px}
.btn-primary{border:0;background:var(--accent);color:#fff}
.btn-primary:disabled{background:#8FA99A;cursor:default}
.btn-outline{height:48px;border:2px solid var(--ink);background:transparent;font-size:16px}

h1{margin:0;font:700 34px/1.05 var(--cond)}
h1.md{font-size:30px}
h1.sm{font-size:28px;line-height:1.1}
p{margin:0}
.muted{color:var(--muted)}
.small{font-size:14px}
.xsmall{font-size:13px}
.stack{display:flex;flex-direction:column;gap:8px}
.stack-16{display:flex;flex-direction:column;gap:16px}
.stack-20{display:flex;flex-direction:column;gap:20px}
.mono{font-family:var(--mono);font-weight:600}
.bold{font-weight:600}

.notice-ok{padding:16px;border-radius:12px;background:var(--accent-soft);display:flex;align-items:center;gap:12px}
.notice-ok svg,.check svg{fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.notice-ok .sub{font-size:14px;color:var(--accent-dark)}
.steps-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.steps-list li{display:flex;gap:14px;align-items:flex-start}
.steps-list .n{width:32px;height:32px;flex-shrink:0;border-radius:50%;border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;font-weight:600}
.steps-list .t{padding-top:3px}

label.field{font-weight:600}
.code-input{height:64px;padding:0 16px;border:2px solid var(--ink);border-radius:10px;background:#fff;font:600 28px var(--mono);letter-spacing:.12em;text-transform:uppercase;text-align:center;width:100%}
.code-where{padding:14px;border-radius:12px;border:2px dashed #B5B1A6;display:flex;gap:14px;align-items:center}
.code-where .screen{width:92px;height:56px;flex-shrink:0;border:3px solid var(--ink);border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;font:600 11px var(--mono)}
.field-err{color:var(--error);font-weight:600;font-size:15px}

.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:10px;background:var(--tabs)}
.tabs button{height:44px;border:0;border-radius:8px;background:transparent;font-weight:600;font-size:15px}
.tabs button[aria-selected=true]{background:var(--ink);color:#fff}

.map{height:250px;position:relative;border-radius:12px;overflow:hidden;border:2px solid var(--ink);background:var(--map)}
.map-canvas{position:absolute;inset:0}
.loc-btn{position:absolute;right:10px;top:10px;height:44px;padding:0 14px;border:2px solid var(--ink);border-radius:22px;background:#fff;font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px;z-index:2}
.loc-btn svg{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round}
.map-msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;color:var(--muted);font-size:14px}
.loc-plain{align-self:flex-start;position:static}

.list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.row{min-height:64px;padding:10px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;display:flex;align-items:center;gap:12px;width:100%}
.row .grow{flex-grow:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.row .meta{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.row .dist{font-size:14px;color:var(--muted);white-space:nowrap}
.chev{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.net-tag{padding:1px 6px;border:1.5px solid var(--ink);border-radius:4px;font-size:12px;font-weight:600;color:var(--ink)}
.empty{padding:16px 0;color:var(--muted);font-size:15px}

.search{height:52px;border:2px solid var(--ink);border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 14px}
.search svg{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;flex-shrink:0}
.search input{flex-grow:1;min-width:0;border:0;outline:0;font-size:17px;background:transparent}

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:44px;padding:0 16px;border:2px solid var(--ink);border-radius:22px;background:#fff;font-weight:600;font-size:15px}
.chip[aria-pressed=true]{background:var(--ink);color:#fff}
.select{height:48px;border:2px solid var(--ink);border-radius:10px;background:#fff;padding:0 12px;font-size:16px;width:100%}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.text-input{height:52px;padding:0 14px;border:2px solid var(--ink);border-radius:10px;background:#fff;font-weight:600;font-size:20px;width:100%}
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);min-height:52px;border:2px solid var(--ink);border-radius:10px;overflow:hidden}
.seg button{border:0;background:#fff;font-weight:600;font-size:15px;padding:4px 6px;line-height:1.15}
.seg button[aria-pressed=true]{background:var(--ink);color:#fff}

.route{display:flex;flex-direction:column}
.route button{min-height:44px;border:0;background:transparent;display:flex;align-items:stretch;gap:14px;padding:0;text-align:left;width:100%}
.route .rail{width:24px;position:relative;flex-shrink:0}
.route .rail i{position:absolute;left:10px;top:0;bottom:0;width:4px;background:var(--ink)}
.route .rail b{position:absolute;left:4px;top:14px;width:16px;height:16px;border-radius:50%;border:3px solid var(--ink);background:#fff}
.route button:first-child .rail i{top:22px}
.route button:last-child .rail i{bottom:22px}
.route .name{display:flex;align-items:center}

.card{padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.card-title{font:700 24px var(--cond)}
.label-caps{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.04em}
.opt{min-height:64px;padding:12px 14px;border:2px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:14px;text-align:left;width:100%}
.opt[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}
.badge{min-width:44px;height:36px;padding:0 6px;border-radius:6px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font:700 20px var(--cond);flex-shrink:0}
.box{width:26px;height:26px;flex-shrink:0;border-radius:6px;border:2px solid var(--ink);background:#fff;display:flex;align-items:center;justify-content:center}
.opt[aria-pressed=true] .box{background:var(--accent);border-color:var(--accent)}
.box svg{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}

fieldset{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:8px;min-width:0}
legend{font-weight:600;margin-bottom:8px;padding:0}
.langs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pick{min-height:52px;padding:6px;border:2px solid var(--line);border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:600;font-size:15px;position:relative}
.pick:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.pick input{position:absolute;opacity:0;width:1px;height:1px}
.pick:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
.when{padding:12px 14px;border:2px solid var(--line);border-radius:12px;background:#fff;display:flex;gap:12px;align-items:flex-start}
.when:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.when input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent);flex-shrink:0}
.windows{padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.win{display:grid;grid-template-columns:1fr 1fr 44px;gap:10px;align-items:end}
.win label{font-size:14px;font-weight:600;display:flex;flex-direction:column;gap:4px}
.win input{height:48px;padding:0 10px;border:2px solid var(--ink);border-radius:8px;font-size:17px;background:#fff;width:100%}
.link-btn{align-self:flex-start;height:44px;padding:0;border:0;background:transparent;color:var(--accent);font-weight:600;font-size:15px}
.x-btn{width:44px;height:44px;border:0;background:transparent;display:flex;align-items:center;justify-content:center}
.x-btn svg{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round}

.review-head{display:flex;align-items:center;justify-content:space-between}
.review-head button{height:44px;margin:-12px -8px -12px 0;padding:0 8px;border:0;background:transparent;color:var(--accent);font-weight:600;font-size:15px}

.check{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.bookmark{padding:16px;border-radius:12px;border:2px solid var(--ink);background:#fff;display:flex;flex-direction:column;gap:12px}
.bookmark .url{padding:10px 12px;border-radius:8px;background:var(--bg);font:600 14px var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bookmark .row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bookmark .row2 button{height:48px;border:2px solid var(--ink);border-radius:10px;background:#fff;font-weight:600;font-size:15px}

.status{padding:12px 14px;border-radius:12px;background:var(--accent-soft);display:flex;gap:10px;align-items:center;font-size:14px;color:var(--accent-dark)}
.status i{width:10px;height:10px;border-radius:50%;background:var(--accent);flex-shrink:0}
.add{height:52px;border:2px dashed var(--ink);border-radius:12px;background:transparent;font-weight:600;font-size:16px}
.sep{padding-top:4px;border-top:1px solid var(--line)}

.err-icon{width:64px;height:64px;border-radius:50%;background:var(--error-soft);display:flex;align-items:center;justify-content:center}
.err-icon svg{fill:none;stroke:var(--error);stroke-width:2.4;stroke-linecap:round}
.green-help{padding:14px;border-radius:12px;background:#fff;border:1px solid var(--line);display:flex;gap:14px;align-items:center;font-size:15px}
.green-help i{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:var(--accent);border:4px solid var(--accent-ring)}
.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:10px;font-weight:600;font-size:15px;z-index:10}
.spinner{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin 0.9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spinner{animation:none}}
.center{align-items:center;justify-content:center;text-align:center;flex-grow:1}
.noscript{padding:20px;text-align:center}

/* The name, in the wordmark's own letters (b i p u s; brand/logo/build_name_font.py) */
.bb{font-family:"bipbus name",var(--sans,"VB Sans"),sans-serif;font-weight:inherit;font-synthesis:none;letter-spacing:0}
