/* WASHVERA GO — branch list (go.washvera.com/_go/), 24 Nov 2026. Phone first; light, calm, big touch targets. */
:root {
    --teal: #0f9d8e;
    --teal-dark: #0b7f86;
    --navy: #0b2a4a;
    --bg: #f3f6f9;
    --card: #ffffff;
    --line: rgba(11, 42, 74, .10);
    --text: #12223a;
    --muted: #5b6b82;
    --red: #c93a3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    min-height: 100vh; background: var(--bg); color: var(--text);
    font: 16px/1.5 -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    -webkit-tap-highlight-color: transparent;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--red); margin: 6px 0 0; min-height: 1.2em; font-size: 14px; }

.top {
    display: flex; align-items: center; gap: 14px; padding: 22px 20px 26px;
    background: linear-gradient(135deg, #18c5ad, var(--teal-dark)); color: #fff;
    border-radius: 0 0 26px 26px;
}
.top .logo { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.top h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.2px; }
.top p { margin: 0; opacity: .9; font-size: 14px; }

main { max-width: 560px; margin: 0 auto; padding: 18px 16px 8px; }
section { margin-bottom: 26px; }
h2 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin: 0 0 10px 4px; }

.notice { background: #fff4dc; color: #6b4600; border-radius: 14px; padding: 12px 14px; margin: 0 0 18px; font-size: 14px; }

.branches { display: flex; flex-direction: column; gap: 10px; }
.branch { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(11, 42, 74, .05); overflow: hidden; }
.branch.current { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 157, 142, .15); }
.branch.closed { opacity: .6; }
.branch .open { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 4px 14px 14px; color: inherit; text-decoration: none; min-height: 76px; }
.branch .code {
    flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .5px;
}
.branch.current .code { background: var(--teal); }
.branch .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.branch .info b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.branch .info small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.branch .go { color: var(--teal); font-weight: 700; font-size: 15px; white-space: nowrap; padding-right: 6px; }
.branch .forget { flex: none; width: 48px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; }

.empty { background: var(--card); border: 1px dashed rgba(11, 42, 74, .2); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.empty span { color: var(--muted); font-size: 14px; }

.add p { margin: 0 0 10px 4px; font-size: 14px; }
.add form { display: flex; gap: 8px; }
.add input {
    flex: 1; min-width: 0; font: inherit; font-size: 20px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(11, 42, 74, .2); background: #fff; color: var(--text);
}
.add input:focus { outline: 3px solid rgba(15, 157, 142, .35); border-color: var(--teal); }
button { font: inherit; }
.add button, #installBtn {
    border: 0; border-radius: 14px; padding: 0 22px; min-height: 52px; font-weight: 800; font-size: 16px;
    background: var(--teal); color: #fff; cursor: pointer;
}
#installBtn { width: 100%; margin-bottom: 10px; }

.install { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 12px; }
.install h2 { margin-left: 0; }
.install ol { margin: 0 0 8px; padding-left: 22px; }
.install li { margin: 6px 0; }
.key { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; font-size: 13px; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 4px 24px 26px; }

@media (prefers-color-scheme: dark) {
    :root { --bg: #0c1424; --card: #131f36; --line: rgba(148, 170, 205, .16); --text: #e6ecf6; --muted: #93a3bd; --navy: #22385e; }
    .add input { background: #0f192c; color: var(--text); border-color: var(--line); }
    .notice { background: rgba(243, 177, 75, .15); color: #f3d29b; }
}
