/* =====================================================================
   ONENESS BIO · 방판 수당 웹앱
   딥네이비 + 골드 / 모바일 우선 반응형
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #0B1220;
  --navy-2: #0E1729;
  --surface: #131D33;
  --surface-2: #182441;
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .06);
  --gold: #E3B96C;
  --gold-2: #F2D79B;
  --gold-deep: #B98B3F;
  --emerald: #3AD9A0;
  --sky: #7FB2FF;
  --rose: #FF7A8A;
  --text: #F4F7FC;
  --muted: #A6B5CD;
  --muted-2: #7D8DA8;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -.015em;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(227, 185, 108, .13), transparent 62%),
    radial-gradient(900px 520px at -12% 8%, rgba(58, 217, 160, .09), transparent 60%),
    var(--navy);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, p, dl, dd, ul, li { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 800; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.muted { color: var(--muted); }
.sub2 { display: block; font-size: 12px; color: var(--muted-2); font-weight: 500; letter-spacing: 0; }
.center { text-align: center; }
[hidden] { display: none !important; }
.ic { width: 17px; height: 17px; flex: none; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 18, 32, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 185, 108, .22);
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 11px 16px;
  display: flex; align-items: center; gap: 14px;
}
.topbar-inner.wide { max-width: 1240px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, #F3DCA8, #D2A75C 52%, #A97B31);
  color: #1A1206; display: grid; place-items: center;
  font-weight: 900; font-size: 19px;
  box-shadow: 0 6px 18px rgba(227, 185, 108, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.mark.lg { width: 52px; height: 52px; font-size: 26px; border-radius: 15px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: .13em; white-space: nowrap; }
.brand-name b { color: var(--gold); }
.brand-sub { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 8px 13px; border-radius: 10px; font-size: 14px; color: var(--muted);
  font-weight: 600; transition: background .15s, color .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link.on { color: var(--navy); background: linear-gradient(140deg, var(--gold-2), var(--gold)); font-weight: 800; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.who { display: none; font-size: 13px; color: var(--muted); }

/* ---------- layout ---------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.main { width: 100%; max-width: 1120px; margin: 0 auto; padding: 18px 16px 96px; flex: 1; }
.main.wide { max-width: 1240px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.page-head h1 { font-size: 22px; letter-spacing: -.03em; line-height: 1.25; }
.page-head .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.footer {
  display: flex; justify-content: center; gap: 8px; padding: 18px 16px 92px;
  font-size: 11.5px; color: var(--muted-2);
}
.dot { opacity: .5; }
.grid-2 { display: grid; gap: 14px; align-items: start; }

/* ---------- buttons / badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  padding: 10px 15px; border-radius: 11px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; transition: transform .12s, filter .15s, background .15s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 7px 11px; font-size: 12.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.primary { background: linear-gradient(140deg, var(--gold-2), var(--gold)); color: #1A1206; box-shadow: 0 8px 20px rgba(227, 185, 108, .22); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); }
.btn.danger { background: rgba(255, 122, 138, .14); border-color: rgba(255, 122, 138, .35); color: #FFC3CB; }
.badge {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  background: rgba(255, 255, 255, .08); color: var(--muted);
}
.badge.ok { background: rgba(58, 217, 160, .15); color: #7BF0C2; }
.badge.gold { background: rgba(227, 185, 108, .16); color: var(--gold-2); }
.badge.sky { background: rgba(127, 178, 255, .15); color: #B8D2FF; }
.badge.err { background: rgba(255, 122, 138, .15); color: #FFB1BB; }
.badge.warn { background: rgba(255, 196, 108, .15); color: #FFD79B; }
.link { color: var(--gold); font-weight: 700; font-size: 13px; }
.link.danger { color: #FF9AA6; }
.link:hover { text-decoration: underline; }

/* ---------- flash / notice ---------- */
.flash { padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; border: 1px solid var(--line); }
.flash.ok { background: rgba(58, 217, 160, .12); border-color: rgba(58, 217, 160, .3); color: #9BF3D3; }
.flash.err { background: rgba(255, 122, 138, .12); border-color: rgba(255, 122, 138, .3); color: #FFC0C7; }
.flash.warn { background: rgba(255, 196, 108, .12); border-color: rgba(255, 196, 108, .3); color: #FFE0B4; }
.notice {
  background: rgba(127, 178, 255, .1); border: 1px solid rgba(127, 178, 255, .25);
  color: #CFE0FF; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 14px;
}

/* ---------- cards ---------- */
.card {
  background: linear-gradient(165deg, rgba(24, 36, 65, .92), rgba(19, 29, 51, .92));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.card-h h2 { font-size: 16px; letter-spacing: -.02em; }
.card-h > .sub2, .card-h > .badge, .card-h > .link { margin-left: auto; }
.card-h > .badge + .link { margin-left: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 20px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(227, 185, 108, .22), transparent 60%),
    linear-gradient(160deg, #1B2A4A, #101A2E 60%, #0D1526);
  border: 1px solid rgba(227, 185, 108, .28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
  margin-bottom: 14px;
}
.hero-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hero-label { font-size: 12.5px; letter-spacing: .08em; color: var(--gold-2); font-weight: 700; text-transform: uppercase; }
.hero-period { font-size: 12.5px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hero-dday { text-align: right; flex: none; }
.hero-dday b { display: block; font-size: 19px; color: var(--gold); letter-spacing: -.02em; }
.hero-dday span { font-size: 10.5px; color: var(--muted-2); }
.hero-amount { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 2px; }
.hero-amount .num { font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.hero-amount em { font-style: normal; font-size: 16px; color: var(--muted); font-weight: 700; }
.hero-note { font-size: 12px; color: var(--muted-2); }
.hero-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.hero-split span { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 3px; }
.hero-split b { font-size: 14.5px; }
.hero.admin { border-color: rgba(127, 178, 255, .3); }

/* ---------- KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.kpi { padding: 14px; margin: 0; }
.kpi-label { font-size: 11.5px; color: var(--muted-2); font-weight: 600; }
.kpi-value { font-size: 20px; font-weight: 900; letter-spacing: -.03em; margin-top: 3px; }
.kpi-value em { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.kpi-foot { font-size: 11.5px; color: var(--muted-3, var(--muted-2)); margin-top: 4px; }

/* ---------- progress ---------- */
.prog-row { padding: 10px 0; border-bottom: 1px dashed var(--line-soft); }
.prog-row:last-child { border-bottom: 0; padding-bottom: 0; }
.prog-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 8px; }
.progress { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); transition: width .4s ease; }
.progress.done i { background: linear-gradient(90deg, #0F8A63, var(--emerald)); }
.prog-foot { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; }

/* ---------- referral ---------- */
.ref-card { border-color: rgba(227, 185, 108, .28); background: linear-gradient(160deg, rgba(227, 185, 108, .09), rgba(19, 29, 51, .95)); }
.ref-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .25);
  font-size: 12.5px; color: var(--gold-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.table th, .table td { padding: 10px 8px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.table thead th { font-size: 11.5px; letter-spacing: .04em; color: var(--muted-2); font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table tbody tr.on { background: rgba(227, 185, 108, .07); }
.table .r { text-align: right; }
.table .strong { font-weight: 900; color: var(--gold-2); }
.table tfoot th { padding-top: 12px; font-size: 13px; border-top: 1px solid var(--line); border-bottom: 0; }
.table.compact th, .table.compact td { padding: 8px 7px; }
.table td .sub2 { margin-top: 2px; word-break: keep-all; }
.sub2, .hint, .prog-foot, .kpi-foot { word-break: keep-all; }

/* ---------- list ---------- */
.list { list-style: none; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.list li:last-child { border-bottom: 0; }
.li-main { min-width: 0; flex: 1; }
.li-main b { font-size: 14px; }
.li-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.li-side b { font-size: 14.5px; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .22);
  font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(227, 185, 108, .65); box-shadow: 0 0 0 3px rgba(227, 185, 108, .14);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%); background-size: 6px 6px; background-position: right 15px center, right 10px center; background-repeat: no-repeat; padding-right: 32px; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; }
.field.inline > span { white-space: nowrap; }
.hint { font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }
.hint b { color: var(--muted); }
.field em.hint { font-style: normal; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.toolbar input, .toolbar select {
  padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22); font-size: 13.5px; min-width: 0;
}
.toolbar input[type=text], .toolbar input:not([type]) { flex: 1; min-width: 160px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.inline-form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
form { margin: 0; }

/* ---------- misc blocks ---------- */
.empty { text-align: center; padding: 26px 12px; color: var(--muted-2); }
.empty-ic { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--muted); }
.empty b { display: block; color: var(--muted); font-size: 14px; }
.empty p { font-size: 12.5px; margin-top: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.info-grid dt { font-size: 11.5px; color: var(--muted-2); margin-bottom: 2px; }
.info-grid dd { font-size: 14px; font-weight: 600; }
.errors { margin-bottom: 10px; font-size: 12.5px; color: #FFC0C7; }
.errors summary { cursor: pointer; font-weight: 700; }
.errors ul { margin: 8px 0 0; padding-left: 18px; max-height: 180px; overflow: auto; }
.sync-box { display: grid; gap: 6px; }
.sync-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.sync-row:last-child { border-bottom: 0; }
.sync-row span { color: var(--muted-2); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.row-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- period / steps ---------- */
.period-card .period-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.big-amount { font-size: 28px; font-weight: 900; letter-spacing: -.04em; margin-top: 2px; }
.big-amount em { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 3px; font-weight: 600; }
.period-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.split3, .split4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.split4 { grid-template-columns: 1fr 1fr; }
.split3 span, .split4 span { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 2px; }
.split3 b, .split4 b { font-size: 14px; }
.steps { display: flex; gap: 6px; margin: 4px 0 14px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 9px 4px 8px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); }
.step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.step span { font-size: 11px; color: var(--muted-2); font-weight: 700; }
.step.on { border-color: rgba(227, 185, 108, .5); background: rgba(227, 185, 108, .1); }
.step.on b { background: linear-gradient(140deg, var(--gold-2), var(--gold)); color: #1A1206; }
.step.on span { color: var(--gold-2); }
.step.done b { background: rgba(58, 217, 160, .2); color: #7BF0C2; }

/* ---------- tags ---------- */
.tag { display: inline-block; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.tag.direct { background: rgba(227, 185, 108, .16); color: var(--gold-2); }
.tag.upline { background: rgba(127, 178, 255, .16); color: #B8D2FF; }
.tag.matching { background: rgba(58, 217, 160, .16); color: #7BF0C2; }

/* ---------- tree ---------- */
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted-2); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.rank-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.rank-dot.branch { background: var(--gold); box-shadow: 0 0 0 3px rgba(227, 185, 108, .18); }
.rank-dot.dealer { background: var(--sky); box-shadow: 0 0 0 3px rgba(127, 178, 255, .16); }
.rank-dot.member { background: #5C6B85; box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); }
.tree-wrap { overflow-x: auto; padding: 4px 0 6px; }
.tree, .tkids { list-style: none; margin: 0; padding: 0; }
.tree.root { min-width: 280px; }
.tkids { margin-left: 14px; padding-left: 12px; border-left: 1px dashed rgba(227, 185, 108, .3); }
.tnode { position: relative; }
.tnode-card {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; margin: 6px 0;
  border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-soft);
}
.tnode-card.me { border-color: rgba(227, 185, 108, .45); background: rgba(227, 185, 108, .08); }
.tnode-main { min-width: 0; flex: 1; }
.tnode-main b { font-size: 13.5px; }
.tnode-main em { font-style: normal; font-size: 11px; color: var(--gold); }
.tnode-sub { display: block; font-size: 11px; color: var(--muted-2); }
.tnode-side { text-align: right; }
.tnode-side .num { font-size: 13px; font-weight: 800; color: var(--gold-2); }

/* ---------- auth ---------- */
.auth-body { display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.auth-wrap { width: 100%; max-width: 430px; margin: 0 auto; }
.auth-brand { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 18px; }
.auth-card {
  background: linear-gradient(165deg, rgba(24, 36, 65, .96), rgba(17, 26, 46, .96));
  border: 1px solid rgba(227, 185, 108, .22); border-radius: 22px;
  padding: 22px 18px; box-shadow: var(--shadow);
}
.auth-title { font-size: 20px; letter-spacing: -.03em; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.auth-links { display: flex; justify-content: center; gap: 7px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.auth-links a { color: var(--gold); font-weight: 700; }
.auth-foot { text-align: center; font-size: 11px; color: var(--muted-2); margin-top: 16px; }
.sponsor-chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 12px;
  border-radius: 11px; background: rgba(58, 217, 160, .1); border: 1px solid rgba(58, 217, 160, .28);
  font-size: 13px;
}
.sc-label { font-size: 11px; color: #9BF3D3; font-weight: 700; }
.sc-code { margin-left: auto; font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; }

/* ---------- mobile tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; justify-content: space-around; gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(10, 16, 28, .96);
  border-top: 1px solid rgba(227, 185, 108, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; padding: 6px 2px; border-radius: 10px; color: var(--muted-2); font-size: 10.5px; font-weight: 600; }
.tab .ic { width: 20px; height: 20px; }
.tab.on { color: var(--gold-2); background: rgba(227, 185, 108, .1); }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .main { padding-left: 13px; padding-right: 13px; }
  .table-fit { min-width: 0; }
  .table-fit .col-hide-sm { display: none; }
  .table-fit th, .table-fit td { padding: 9px 6px; font-size: 13px; }
  .kpi-grid .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-amount .num { font-size: 34px; }
  .card { padding: 14px; }
}
@media (min-width: 520px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
  .split4 { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  body { font-size: 16px; }
  .page-head h1 { font-size: 26px; }
  .card { padding: 20px; }
  .hero { padding: 24px; }
  .hero-amount .num { font-size: 46px; }
  .main { padding: 26px 20px 60px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .who { display: inline; }
  .tabbar { display: none; }
  .main { padding-bottom: 40px; }
  .footer { padding-bottom: 24px; }
}
