/* MaxProxy design system.
   Proxy-infrastructure buyers are developers: the category reads dark,
   technical, monospace-heavy, dense with real numbers. What it must NOT read
   as is a generic SaaS template — no purple gradient hero, no floating 3D
   blobs, no stock illustration. Credibility here comes from showing live data.

   Cyan on deep navy. Every colour in the UI resolves through a variable, so
   the palette is one edit — nothing downstream hardcodes a hex. --accent-ink
   is the text colour that sits ON the accent, which has to be a dark navy
   rather than black or the button edges muddy. */

:root {
  --bg: #080F18;
  --bg-raised: #0F1A28;
  --bg-input: #0B1420;
  --line: #17273A;
  --line-soft: #101D2C;
  --ink: #E8F1F8;
  --ink-dim: #8399AD;
  --ink-faint: #566B80;
  --accent: #38BDF8;
  --accent-lift: #7DD3FC;
  --accent-dim: #1B6C93;
  --accent-ink: #04202F;
  --accent-rgb: 56, 189, 248;
  --warn: #F5A524;
  --bad: #F04E4E;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
code, pre, .mono { font-family: var(--mono); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---- top bar ---- */
.top {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,14,.85);
  backdrop-filter: blur(12px);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 9px; }
/* The wordmark is a raster at 4x the rendered height, so it stays crisp on a
   retina display without shipping a second asset. Height is fixed and width
   auto so the aspect ratio can never be squashed by a flex parent. */
.logo img { height: 28px; width: auto; display: block; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14px; color: var(--ink-dim); }
.nav a:hover { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg-raised); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: #333a3b; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-lift); border-color: var(--accent-lift); }
.btn-sm { padding: 5px 11px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- forms ---- */
input, select, textarea {
  background: var(--bg-input); border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-dim); }
label { display: block; font-size: 12px; color: var(--ink-dim); margin-bottom: 6px;
        text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.field { margin-bottom: 14px; }

/* ---- cards ---- */
.card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px;
}
.card-t { font-size: 13px; font-weight: 600; color: var(--ink-dim);
          text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }

/* ---- stats ---- */
.stats { display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { background: var(--bg-raised); padding: 18px 20px; }
.stat-v { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-family: var(--mono); }
.stat-l { font-size: 11px; color: var(--ink-faint); text-transform: uppercase;
          letter-spacing: .08em; margin-top: 3px; font-weight: 600; }
.stat-sub { font-size: 12px; color: var(--ink-dim); margin-top: 5px; }

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; color: var(--ink-faint); font-weight: 600;
     text-transform: uppercase; letter-spacing: .07em;
     padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.017); }
.t-scroll { overflow-x: auto; }
.num { font-family: var(--mono); }

/* ---- pills ---- */
.pill { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px;
        border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.pill-ok { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.pill-warn { background: rgba(224,164,74,.14); color: var(--warn); }
.pill-bad { background: rgba(224,82,82,.14); color: var(--bad); }
.pill-dim { background: rgba(255,255,255,.06); color: var(--ink-dim); }

/* ---- misc ---- */
.muted { color: var(--ink-dim); }
.faint { color: var(--ink-faint); }
.row { display: flex; align-items: center; gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mt-24 { margin-top: 24px; } .mt-16 { margin-top: 16px; } .mt-40 { margin-top: 40px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-dim); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
            animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

pre.out {
  background: var(--bg-input); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; font-size: 12.5px; line-height: 1.7; overflow: auto;
  max-height: 340px; white-space: pre; color: #cfe6dc;
}

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .2s; z-index: 200;
}
.toast.on { opacity: 1; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 9px 15px; font-size: 14px; color: var(--ink-dim); cursor: pointer;
       border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 13px; }
  .nav .hide-sm { display: none; }
}

/* grid children must be allowed to shrink, or wide monospace content
   (endpoint lists, terminals, tables) widens the page instead of
   scrolling inside its own container */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .stats > *, .gen > * { min-width: 0; }
body { overflow-x: hidden; }

/* Default light scrollbars read as a rendering glitch on a dark UI. */
::-webkit-scrollbar { height: 9px; width: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2b3133; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #3a4143; }
* { scrollbar-color: #2b3133 transparent; scrollbar-width: thin; }

/* The logo mark sits inside the anchor on sub-pages, so the anchor has to
   be the flex container or the dot collapses. */
.logo a { display: flex; align-items: center; gap: 8px; }

/* A default blue OS slider on a dark green-accented UI reads as a bug. */
input[type="range"] {
  -webkit-appearance: none; appearance: none; background: transparent;
  padding: 0; border: 0; height: 22px; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px; background: var(--bg-input);
  border: 1px solid var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -6px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); border: 0;
}
input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 999px; background: var(--bg-input);
  border: 1px solid var(--line);
}
input[type="range"]::-moz-range-thumb {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); border: 0;
}

/* ---- shared footer ---- */
.site-foot { border-top: 1px solid var(--line); margin-top: 0; padding: 44px 0 56px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
                color: var(--ink-faint); margin-bottom: 12px; font-weight: 600; }
.foot-grid a { display: block; font-size: 13.5px; color: var(--ink-dim); padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---- account menu ---- */
.acct { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 9px; padding: 4px 4px 4px 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg-raised);
  cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s;
}
.acct-btn:hover { border-color: #333a3b; }
.acct-btn[aria-expanded="true"] { border-color: var(--accent-dim); }
.acct-name { font-size: 13px; color: var(--ink-dim); max-width: 15ch;
             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; flex: none;
  background: var(--accent); color: var(--accent-ink); text-transform: uppercase;
}
.acct-caret { width: 9px; height: 9px; margin-right: 6px; opacity: .5; flex: none; }

.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; z-index: 100;
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .13s ease, transform .13s ease;
}
.acct-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.acct-head { padding: 11px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-head .em { font-size: 13.5px; font-weight: 600; word-break: break-all; }
.acct-head .sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px;
                  font-family: var(--mono); }
.acct-stat { display: flex; justify-content: space-between; gap: 12px;
             padding: 7px 12px; font-size: 12.5px; color: var(--ink-dim); }
.acct-stat b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.acct-sep { height: 1px; background: var(--line); margin: 6px 0; }
.acct-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; border: 0; background: none;
  font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; text-align: left;
}
.acct-item:hover, .acct-item:focus-visible { background: rgba(255,255,255,.055); outline: none; }
.acct-item.danger { color: var(--bad); }
.acct-item .ico { width: 15px; opacity: .65; flex: none; text-align: center; font-size: 13px; }
.acct-item .tag { margin-left: auto; font-size: 10px; font-weight: 700;
                  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 620px) { .acct-name { display: none; } }

/* ---- account pages ----
   Each menu item in the header dropdown is a real page rather than a modal, so
   every section is linkable, back-button-able, and can grow without turning the
   dashboard into a wall of tabs. The sidebar repeats the dropdown so the two
   navigations never disagree. */

.acct-shell { display: grid; grid-template-columns: 216px 1fr; gap: 40px;
              padding-top: 30px; padding-bottom: 70px; align-items: start; }
.acct-side { position: sticky; top: 84px; }
.acct-side h4 { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
                color: var(--ink-faint); margin: 0 0 8px; }
.acct-side h4 + a { margin-top: 0; }
.acct-side h4:not(:first-child) { margin-top: 26px; }
.acct-side a { display: block; font-size: 13.5px; color: var(--ink-dim);
               padding: 7px 11px; border-radius: 7px; border-left: 2px solid transparent; }
.acct-side a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.acct-side a.on { color: var(--ink); background: rgba(var(--accent-rgb), .08);
                  border-left-color: var(--accent); font-weight: 600; }
.acct-main { min-width: 0; }
.page-h1 { font-size: 24px; font-weight: 650; letter-spacing: -.025em; margin-bottom: 22px; }

/* Label/value rows. Same shape as the dashboard's .cred, named for what it is. */
.kv { display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: var(--ink-dim); }
.kv code { font-size: 12.5px; }

a.link-card { display: block; transition: border-color .12s, transform .12s; }
a.link-card:hover { border-color: var(--accent-dim); transform: translateY(-1px); }
a.link-card p { font-size: 13.5px; margin: 0; }

.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tier { position: relative; background: var(--bg-input); border: 1px solid var(--line);
        border-radius: 10px; padding: 18px 12px; text-align: center; cursor: pointer;
        color: inherit; font: inherit; }
.tier:hover { border-color: var(--accent-dim); }
.tier.popular { border-color: var(--accent); }
.tier-flag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
             background: var(--accent); color: var(--accent-ink); font-size: 9.5px; font-weight: 700;
             letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tier-gb { font-size: 21px; font-weight: 650; font-family: var(--mono); }
.tier-price { font-size: 13px; color: var(--ink-dim); margin-top: 4px; }
.tier-rate { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }

.bullets { color: var(--ink-dim); font-size: 14px; line-height: 1.7;
           margin: 14px 0 14px 20px; max-width: 66ch; }
.addr { display: block; font-size: 12.5px; word-break: break-all; margin: 10px 0; }

.logrow { display: grid; grid-template-columns: 62px 1fr 78px; gap: 12px;
          align-items: center; font-size: 13px; padding: 5px 0; }
.logrow .track { height: 8px; background: var(--bg-input); border-radius: 999px; overflow: hidden; }
.logrow .track > i { display: block; height: 100%; background: var(--accent); opacity: .8; }
.logrow .amt { text-align: right; font-family: var(--mono); }
.logrow .dt { color: var(--ink-faint); font-family: var(--mono); }

.pos { color: var(--accent); }
.sm { font-size: 12.5px; }
.mb { margin-bottom: 16px; }

@media (max-width: 900px) {
  .acct-shell { grid-template-columns: 1fr; gap: 20px; }
  .acct-side { position: static; display: flex; gap: 6px; overflow-x: auto;
               padding-bottom: 6px; }
  .acct-side h4 { display: none; }
  .acct-side a.go { display: none; }
  .acct-side a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .acct-side a.on { border-bottom-color: var(--accent); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- checkout ---- */

.tier.sel { border-color: var(--accent); background: rgba(var(--accent-rgb), .07); }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 4px; }
.method { display: flex; align-items: center; gap: 12px; text-align: left;
          background: var(--bg-input); border: 1px solid var(--line); border-radius: 10px;
          padding: 14px 15px; cursor: pointer; color: inherit; font: inherit; }
.method:hover:not(:disabled) { border-color: var(--accent-dim); }
.method.sel { border-color: var(--accent); background: rgba(var(--accent-rgb), .07); }
.method.off { opacity: .45; cursor: not-allowed; }
.method-ico { width: 30px; height: 30px; flex: none; border-radius: 7px;
              background: rgba(255,255,255,.06); display: grid; place-items: center;
              font-family: var(--mono); font-size: 13px; }
.method-body { display: flex; flex-direction: column; min-width: 0; }
.method-label { font-size: 13.5px; font-weight: 600; }
.method-sub { font-size: 11.5px; color: var(--ink-faint); }

.pay-panel { border-top: 1px solid var(--line-soft); margin-top: 20px; padding-top: 20px; }
.pay-foot { border-top: 1px solid var(--line-soft); padding-top: 18px; }

/* Stripe mounts an iframe inside these, so they are styled as the input and
   the real field is drawn by Stripe on top. */
.stripe-field { background: var(--bg-input); border: 1px solid var(--line);
                border-radius: 8px; padding: 11px 12px; min-height: 42px; }
.stripe-field.StripeElement--focus { border-color: var(--accent-dim); }

.wallet-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .methods { grid-template-columns: 1fr; }
}

/* Active page in the shared header. The whole site uses one nav, so the only
   way to know where you are is this marker. */
.nav a.on { color: var(--ink); }
.nav a.on::after {
  content: ''; display: block; height: 2px; border-radius: 2px;
  background: var(--accent); margin-top: 3px;
}
.nav a.btn.on::after { display: none; }

/* ---- motion ----------------------------------------------------------
   Driven by motion.js. Every rule here is inert until a data attribute in
   the markup opts an element in, and the whole block is disabled wholesale
   under prefers-reduced-motion at the bottom. */

/* Scroll reveal. The .rv class is added by JS, never in the markup — if the
   script fails the content simply stays visible instead of vanishing. */
.rv { opacity: 0; transform: translateY(14px); }
.rv, .rv [data-reveal-child] {
  transition: opacity .55s cubic-bezier(.22,.61,.36,1),
              transform .55s cubic-bezier(.22,.61,.36,1);
}
.rv [data-reveal-child] { opacity: 0; transform: translateY(12px); }
.rv-in, .rv-in [data-reveal-child] { opacity: 1; transform: none; }

/* Blinking caret. Steps(2) rather than a fade — a terminal cursor is on or
   off, and easing it makes it look like a loading spinner. */
.caret {
  display: inline-block; width: 7px; height: 1.05em; margin-left: 2px;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink 1.05s steps(2, start) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
[data-terminal] .pending { visibility: hidden; }

/* A changed value flashes its own colour rather than a background block, so
   the number stays readable while it draws attention to itself. */
.pulse { animation: pulse .7s ease-out; }
@keyframes pulse {
  0%   { color: var(--accent); text-shadow: 0 0 14px rgba(var(--accent-rgb), .55); }
  100% { color: inherit; text-shadow: none; }
}

/* Live dot: a slow breath plus an expanding ring, so "live" is legible at a
   glance without being a flashing alert. */
.live-dot { position: relative; }
.live-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent); animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* Button physics. The lift on hover and the squash on press are small on
   purpose — enough to feel mechanical, not enough to move the layout. */
.btn { transition: border-color .15s, background .15s, transform .12s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { box-shadow: 0 6px 24px -10px var(--accent); }
.btn-primary:hover { box-shadow: 0 8px 30px -8px var(--accent); transform: translateY(-1px); }

/* Cards lift toward the light and pick up a faint accent edge. */
.card, .tier, .method { transition: border-color .18s, transform .18s, box-shadow .25s; }
.tier:hover, .method:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(var(--accent-rgb), .8);
}

/* Packets travelling the network diagram. offset-path follows the same curve
   the route is drawn with, so the dot cannot drift off its line. */
.packet {
  offset-rotate: 0deg;
  animation: travel 3.6s cubic-bezier(.45,0,.55,1) infinite;
  opacity: 0;
}
@keyframes travel {
  0%        { offset-distance: 0%;   opacity: 0; }
  8%        { opacity: 1; }
  92%       { opacity: 1; }
  100%      { offset-distance: 100%; opacity: 0; }
}

/* The accent underline that grows in under the active nav item. */
.nav a.on::after { animation: grow .35s cubic-bezier(.22,.61,.36,1); transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv [data-reveal-child] { opacity: 1 !important; transform: none !important; }
  .caret, .pulse, .live-dot::after, .packet, .nav a.on::after { animation: none; }
  .packet { opacity: .9; }
  .btn:active, .btn-primary:hover, .tier:hover, .method:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}


/* ---- signed-in chrome, decided before first paint ----
   The <html> element carries .authed from an inline script that reads
   localStorage synchronously. Everything below keys off it, so a signed-in
   visitor never sees a "Sign in" button flash and a signed-out visitor never
   sees an empty account menu. */

#signin { display: none; }
html:not(.authed) #signin { display: inline-flex; }
.acct { display: none; }
html.authed .acct { display: block; }

/* Until /api/me answers, the avatar shows a quiet placeholder rather than a
   wrong initial. It is a shape, not a spinner — the header should not look
   like it is loading. */
html.authed .acct-btn { min-width: 44px; }
.avatar:empty::after { content: ''; display: block; width: 100%; height: 100%;
                       border-radius: 50%; background: var(--line); }
.acct-name:empty { width: 68px; height: 9px; border-radius: 4px;
                   background: var(--line); display: inline-block; }

/* The dashboard is the same problem one level down: a signed-in visitor must
   not see the sign-in card before the app appears. */
html.authed #login { display: none; }
html.authed #app { display: block !important; }
html:not(.authed) #app { display: none !important; }
