:root {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #202832;
  background: #f4f6f9;
  --accent: #2463cf;
  --muted: #586474;
  --line: #e3e8ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  border: 1px solid var(--line);
  background: white;
  color: inherit;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 650;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  filter: brightness(0.96);
}
:focus-visible {
  outline: 3px solid #2463cf;
  outline-offset: 3px;
}
.shell {
  max-width: 760px;
  margin: auto;
  background: #fff;
  min-height: 100vh;
}
header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
}
.brand {
  color: #202832;
  text-decoration: none;
  font-weight: 800;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
}
.logo {
  font-size: 32px;
  line-height: 1;
}
.local {
  font-size: 12px;
  color: var(--muted);
  background: #f4f6f9;
  padding: 7px 10px;
  border-radius: 20px;
}
main {
  padding: 0 32px 140px;
}
.welcome {
  position: relative;
}
.dismiss-welcome {
  position: absolute;
  top: 4px;
  right: 0;
  padding: 0;
  font-size: 26px;
  border: 0;
  background: transparent;
}
.welcome[hidden] + #inventory {
  padding-top: 24px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 0 26px;
  gap: 12px;
}
.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
h1 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -1.3px;
  margin: 0 0 12px;
}
p {
  line-height: 1.6;
}
.intro p:last-child {
  color: var(--muted);
  margin: 0;
}
.intro > :first-child {
  min-width: 0;
}
.cube-art {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 7px;
  transform: rotate(-10deg);
  margin: 0 25px;
}
.cube-art i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #d4e3fc;
  box-shadow: inset -5px -5px 0 #0000000b;
}
.cube-art i:nth-child(2) {
  background: #c4d8f8;
}
.cube-art i:nth-child(3) {
  background: #e4edfb;
}
.cube-art i:nth-child(4) {
  background: #aac8f5;
}
.sample-note {
  font-size: 13px;
  line-height: 1.7;
  background: #eef4ff;
  padding: 12px 16px;
  border-radius: 10px;
  color: #315078;
  margin-bottom: 28px;
}
.sample-note span {
  margin-left: 8px;
  color: var(--muted);
}
.section-head > h2 {
  min-width: 0;
}
.section-head > button {
  flex: 0 0 auto;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
h2 span {
  color: var(--accent);
  font-size: 16px;
  margin-left: 7px;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #eef1f5;
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 16px;
}
.search span {
  font-size: 26px;
}
.search input {
  border: 0;
  background: transparent;
  padding: 14px 0;
  min-width: 0;
  width: 100%;
  font-size: 16px;
  min-height: 48px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 3px 3px 12px;
  margin: 0 -3px;
  scrollbar-width: thin;
}
.filters button {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 24px;
  font-size: 14px;
  padding: 9px 15px;
  font-weight: 600;
}
.filters [aria-pressed="true"] {
  background: #eaf1ff;
  border-color: #2463cf;
  color: #1c51ad;
}
.list-heading > :first-child {
  min-width: 0;
}
.list-heading > :last-child {
  flex: 0 0 auto;
}
.list-heading {
  gap: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding: 15px 0 10px;
  border-bottom: 1px solid var(--line);
}
.ingredient {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #edf0f5;
  padding: 19px 0;
}
.ingredient-icon {
  flex: 0 0 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #f4f6f9;
  border-radius: 16px;
  font-size: 26px;
}
.ingredient-info {
  flex: 1;
  min-width: 0;
}
h3 {
  margin: 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}
h3 span {
  display: inline-block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-left: 7px;
}
.ingredient p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.category-label {
  font-size: 12px;
  color: #586474;
}
.stock {
  text-align: right;
  flex-shrink: 0;
}
.stock strong {
  font-size: 23px;
  font-weight: 750;
}
.stock small {
  font-size: 13px;
  font-weight: 500;
  margin-left: 3px;
}
.stock > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.quantity {
  display: block;
  font-size: 12px;
  margin-top: 8px;
}
.quantity input {
  display: block;
  width: 76px;
  min-height: 48px;
  margin-top: 4px;
  text-align: center;
  border: 1px solid #93a5be;
  border-radius: 8px;
  padding: 6px;
}
.history-section {
  margin-top: 30px;
  padding: 20px;
  background: #f4f6f9;
  border-radius: 14px;
}
.history-section h2 {
  font-size: 18px;
}
.history-section .section-head {
  margin-bottom: 0;
}
.history-section p {
  color: var(--muted);
  margin: 5px 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 8px;
  font-size: 14px;
}
.privacy {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin: 24px 0;
}
.action-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 760px;
  width: 100%;
  padding: 18px 32px max(18px, env(safe-area-inset-bottom));
  background: #fffffff2;
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.action-bar span {
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
}
.action-bar button {
  flex-shrink: 0;
}
dialog {
  width: calc(100% - 32px);
  max-width: 460px;
  max-height: 90dvh;
  border: 0;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 20px 90px #20283226;
  color: inherit;
}
dialog::backdrop {
  background: #17263866;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close {
  flex: 0 0 48px;
  font-size: 27px;
  border: 0;
  padding: 0;
  width: 48px;
}
.muted {
  color: var(--muted);
  margin: 8px 0 22px;
}
form > label,
.form-grid label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 16px 0;
}
form label > input,
select {
  display: block;
  width: 100%;
  border: 1px solid #b8c2d0;
  border-radius: 10px;
  padding: 12px;
  min-height: 48px;
  margin-top: 8px;
  background: #fff;
  color: inherit;
  min-width: 0;
  font-size: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid label {
  min-width: 0;
  margin-bottom: 0;
}
.wide {
  width: 100%;
  margin-top: 12px;
}
.secondary {
  background: #eef2f8;
  border: 0;
}
details {
  background: #f4f6f9;
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 14px;
}
summary {
  cursor: pointer;
  min-height: 48px;
  align-content: center;
}
.hint {
  font-size: 13px;
  color: var(--muted);
}
.quick {
  display: flex;
  gap: 8px;
}
.quick input {
  min-width: 0;
  width: 100%;
  border: 1px solid #b8c2d0;
  border-radius: 8px;
  padding: 9px;
}
.quick button {
  white-space: nowrap;
  padding: 9px;
}
.error {
  color: #a52e25;
  font-size: 14px;
}
.review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.review-row > div {
  min-width: 0;
  flex: 1;
}
.review-row > strong {
  flex: 0 0 auto;
  text-align: right;
  max-width: 45%;
}
.review-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.review-row small {
  font-weight: 400;
}
.empty {
  text-align: center;
  padding: 45px 10px;
  color: var(--muted);
}
.empty > span {
  font-size: 38px;
}
.empty h3 {
  margin-top: 12px;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #202832;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 14px;
  z-index: 3;
  pointer-events: none;
}
#fatal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff1ed;
  color: #8b251b;
  padding: 20px;
  z-index: 10;
  margin: 0;
}
.skip {
  position: fixed;
  top: -70px;
  background: white;
  padding: 14px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
@media (max-width: 480px) {
  header {
    padding: 14px 20px;
  }
  .brand {
    font-size: 19px;
  }
  .local {
    font-size: 10px;
    padding: 6px 8px;
  }
  main {
    padding: 0 20px 145px;
  }
  .intro {
    padding: 52px 0 24px;
  }
  h1 {
    font-size: 27px;
  }
  .cube-art {
    grid-template-columns: repeat(2, 32px);
    gap: 5px;
    margin: 0 8px;
  }
  .cube-art i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .sample-note span {
    display: block;
    margin: 0;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head button {
    font-size: 14px;
    padding: 10px 12px;
  }
  .ingredient {
    gap: 11px;
  }
  .ingredient-icon {
    flex-basis: 44px;
    height: 44px;
    font-size: 23px;
  }
  h3 span {
    display: block;
    margin: 5px 0 0;
  }
  .action-bar {
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
  }
  .action-bar span {
    font-size: 12px;
    max-width: 145px;
  }
  .action-bar button {
    padding: 12px 16px;
  }
  dialog {
    padding: 21px;
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .intro p:last-child {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.batch-open {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 12px;
  padding: 8px 0;
  text-align: left;
  background: transparent;
  font-weight: 400;
}
.ingredient:has(.batch-open) {
  padding: 10px 0;
}
.ingredient-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
}
.batch-weight,
.batch-date {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0;
}
.selecting {
  flex-wrap: wrap;
}
.selecting .quantity {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
#history-page {
  padding-top: 16px;
}
#history-title {
  font-size: 24px;
  margin-top: 24px;
}
.history-dates {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 4px 3px 12px;
}
.history-dates button {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 24px;
  font-size: 14px;
}
.history-dates [aria-pressed="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.history-record {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.record-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.record-head time {
  font-weight: 700;
  font-size: 18px;
}
.record-head time span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.record-state {
  font-size: 12px;
  color: var(--accent);
}
.cancelled .record-state {
  color: #586474;
  background: #f0f2f5;
  padding: 6px 8px;
  border-radius: 8px;
}
.cancelled .review-row {
  color: var(--muted);
}
#single-form > label {
  display: block;
}
#single-count {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #b8c2d0;
  border-radius: 10px;
  padding: 12px;
  min-height: 48px;
}
#single-title {
  min-width: 0;
  overflow-wrap: anywhere;
}
.dialog-head {
  gap: 12px;
}
@media (max-width: 480px) {
  .batch-open {
    gap: 11px;
  }
}
/* Route controls stay large while local-storage disclosure stays quiet. */
.header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.header-actions .local { font-size:11px; padding:6px; min-height:48px; }
.icon-button { display:grid; place-items:center; min-width:48px; min-height:48px; padding:12px; border:1px solid var(--line); border-radius:50%; background:white; color:var(--accent); }
.icon-button svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#history-heading { margin-left:12px; font-weight:700; }
main { overflow-x:clip; }
main.route-moving { display:grid; }
main.route-moving > #inventory-page, main.route-moving > #history-page { grid-area:1 / 1; min-width:0; align-self:start; }
@media (max-width:360px) { .brand { font-size:19px; } .header-actions { gap:3px; } .header-actions .local { font-size:10px; } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto!important; } }

.sharing-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 16px;font-size:.85rem;color:#586474}
.sharing-bar button {min-height:44px;padding:8px 14px;flex-shrink:0}
#sharing-controls {display:grid;gap:10px}
#sharing-controls p {margin:4px 0;overflow-wrap:anywhere}
#sharing-dialog input {max-width:100%;min-width:0}

/* Chosen direction 11: one white inventory surface, clear counts and one blue action. */
:root { color-scheme:light; --surface:#fff; --canvas:#f4f6f9; --ink:#202832; }
body {line-height:1.5;letter-spacing:-.2px;-webkit-font-smoothing:antialiased;}
.shell {background:var(--canvas);}
header {background:var(--surface);border-bottom:0;padding:20px 28px;gap:8px;}
.brand {font-size:21px;font-weight:800;letter-spacing:-.7px;gap:7px;white-space:nowrap;}
.logo {color:var(--accent);font-size:27px;}
.header-actions .local {background:transparent;border:0;color:var(--muted);padding:6px;}
.icon-button {border:0;background:var(--surface);color:var(--ink);}
main {padding:0 28px 160px;}
.sharing-bar {margin:0 0 22px;padding:14px 0 0;gap:12px;}
.sharing-bar button {background:white;color:var(--accent);border-radius:10px;}
.welcome {background:var(--surface);border-radius:20px;padding:0 20px;margin:0 0 24px;}
.dismiss-welcome {right:5px;top:4px;color:var(--muted);}
.intro {padding:26px 32px 14px 0;}
.intro h1 {font-size:24px;line-height:1.4;letter-spacing:-.8px;}
.intro .eyebrow,.cube-art {display:none;}
.intro p:last-child {font-size:14px;}
.sample-note {background:transparent;color:var(--muted);padding:0 0 18px;margin:0;font-size:12px;line-height:1.6;}
.welcome[hidden] + #inventory {padding-top:0;}
.section-head {margin:4px 0 24px;align-items:center;}
.section-head h2 {font-size:19px;font-weight:650;}
#total {display:block;margin:3px 0 0;color:var(--ink);font-size:34px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-1px;}
#add {color:var(--accent);background:#e7effe;border:0;font-size:14px;}
.search {background:var(--surface);border-radius:14px;margin-bottom:12px;}
.search span {color:#64748a;}
input::placeholder {color:#697587;opacity:1;}
.filters {gap:6px;padding-bottom:10px;}
.filters button {border:0;background:transparent;color:var(--muted);font-weight:600;border-radius:12px;}
.filters [aria-pressed="true"] {background:var(--ink);color:#fff;}
.list-heading {border:0;padding:12px 4px;font-size:12px;}
#list {background:var(--surface);border-radius:20px;padding:0 20px;}
.ingredient {gap:14px;padding:20px 0;}
.ingredient:last-child {border-bottom:0;}
.ingredient:has(.batch-open) {padding:8px 0;}
.batch-open {padding:16px 0;gap:14px;}
.ingredient-icon {flex-basis:42px;height:42px;border-radius:14px;background:var(--canvas);font-size:25px;}
.ingredient-name {font-size:17px;font-weight:700;line-height:1.5;}
.batch-weight {font-size:13px;margin:3px 0;}
.batch-date {font-size:12px;margin:2px 0;}
.category-label {display:none;}
.stock {max-width:40%;font-variant-numeric:tabular-nums;}
.stock strong {font-size:29px;font-weight:750;line-height:1.25;letter-spacing:-.8px;}
.stock small {font-size:13px;letter-spacing:0;}
.stock > span {font-size:12px;overflow-wrap:anywhere;}
.quantity input {background:var(--canvas);border-color:#b8c2d0;border-radius:10px;}
.action-bar {display:grid;grid-template-columns:1fr;gap:8px;background:var(--surface);border:0;padding:14px 28px max(18px,env(safe-area-inset-bottom));backdrop-filter:none;}
.action-bar span {font-size:12px;max-width:none;text-align:center;}
.action-bar .primary {width:100%;min-height:54px;border-radius:14px;font-size:16px;}
button.primary {background:var(--accent);border-color:var(--accent);font-weight:700;}
button.secondary {color:#345276;background:#eef2f8;font-weight:650;}
dialog {background:var(--surface);border-radius:24px;padding:28px;box-shadow:0 24px 80px #20283226;}
dialog h2 {font-size:23px;line-height:1.4;letter-spacing:-.7px;}
dialog .muted {font-size:14px;line-height:1.65;}
.close {color:#586474;background:transparent;}
form label > input,select,#single-count,#sharing-controls input {border:1px solid #c8d0dc;border-radius:12px;min-height:54px;background:#f9fafc;padding:13px 14px;font-size:16px;}
#sharing-controls label {font-size:14px;font-weight:650;}
#sharing-controls input {display:block;width:100%;margin-top:8px;color:var(--ink);}
#sharing-controls .wide {margin-top:4px;}
#sharing-status {font-size:15px;font-weight:650;}
#sharing-dialog .muted {margin-bottom:18px;}
#single-count {font-size:30px;font-weight:750;letter-spacing:-.6px;}
#single-total {font-size:18px;font-weight:700;color:var(--accent);}
.wide {min-height:52px;border-radius:13px;}
details {background:var(--canvas);border-radius:12px;}
.review-row {padding:18px 0;border-color:#edf0f5;}
.review-row > strong {font-size:21px;font-variant-numeric:tabular-nums;}
.review-row small {display:block;font-size:13px;color:var(--muted);margin-top:3px;}
#history-page {padding-top:18px;}
.history-dates {margin:0 -2px;}
.history-dates button {border:0;background:white;border-radius:12px;}
.history-dates [aria-pressed="true"] {background:var(--accent);color:#fff;}
#history-title {font-size:26px;letter-spacing:-.7px;}
.history-record {background:var(--surface);border-radius:20px;margin:16px 0;padding:22px 20px;border:0;}
.record-head {align-items:flex-start;}
.record-head time {font-size:23px;font-variant-numeric:tabular-nums;line-height:1.4;}
.record-head time span {display:block;font-size:11px;}
.record-state {background:#eaf1ff;color:#2456a8;padding:6px 9px;border-radius:8px;text-align:center;}
.cancelled .record-state {background:#f0f2f5;color:var(--muted);}
.empty {padding:42px 12px;}
.empty h2,.empty h3 {color:var(--ink);font-size:18px;}
.empty p {font-size:14px;}
.empty a {color:var(--accent);display:inline-block;min-height:48px;padding:12px 0;}
.privacy {margin:22px 8px;font-size:12px;line-height:1.7;}
#notice:not(:empty) {bottom:132px;background:#263344;border-radius:14px;line-height:1.6;}
@media (max-width:480px) {
  header {padding:12px 18px;}
  main {padding:0 18px 160px;}
  .brand {font-size:19px;}
  .header-actions {gap:3px;}
  .header-actions .local {font-size:10px;}
  .sharing-bar {margin-bottom:20px;font-size:12px;}
  .sharing-bar button {font-size:13px;}
  .section-head h2 {font-size:17px;}
  #total {font-size:32px;}
  #list {padding:0 16px;border-radius:18px;}
  .batch-open,.ingredient {gap:10px;}
  .ingredient-icon {flex-basis:36px;height:38px;font-size:22px;}
  .ingredient-name {font-size:16px;}
  .stock strong {font-size:27px;}
  .action-bar {padding:12px 18px max(16px,env(safe-area-inset-bottom));}
  .action-bar span {font-size:12px;max-width:none;}
  dialog {width:100%;max-width:none;margin:auto 0 0;padding:24px 20px max(24px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;}
  .history-record {padding:20px 16px;}
  .intro {padding:24px 24px 10px 0;}
  .intro h1 {font-size:22px;}
}
@media (max-width:350px) {
  header {padding-inline:12px;gap:4px;}
  main {padding-inline:14px;}
  .brand {font-size:18px;gap:5px;}
  .logo {font-size:23px;}
  .header-actions .local {max-width:72px;line-height:1.35;}
  #list {padding-inline:12px;}
  .ingredient-icon {flex-basis:28px;height:34px;font-size:21px;}
  .stock strong {font-size:25px;}
  .stock {max-width:43%;}
  .batch-date {font-size:11px;}
  .record-head {gap:8px;}
}

/* Session gate is separate from the app: no inventory is visible before auth. */
.auth-gate {max-width:480px;min-height:100dvh;margin:0 auto;padding:34px 24px 40px;background:#fff;}
.gate-brand {display:inline-flex;align-items:center;min-height:48px;color:#2463cf;text-decoration:none;font-size:21px;font-weight:800;letter-spacing:-.7px;}
.auth-gate h1 {font-size:32px;line-height:1.35;letter-spacing:-1px;margin:40px 0 14px;color:#202832;}
.gate-description {font-size:16px;color:#586474;line-height:1.7;margin:0 0 28px;}
.gate-values {list-style:none;padding:0;margin:0 0 30px;display:grid;gap:20px;}
.gate-values li {display:grid;gap:3px;}
.gate-values strong {font-size:16px;font-weight:700;}
.gate-values span {font-size:14px;color:#586474;}
.auth-gate #sharing-controls {gap:12px;}
.auth-gate #sharing-status {font-size:13px;font-weight:400;color:#586474;line-height:1.65;}
.auth-gate #sharing-status:empty {display:none;}
.auth-gate .primary {min-height:54px;font-size:16px;}
.gate-footnote {font-size:12px;line-height:1.65;color:#657184;margin:22px 0 0;}
#auth-loading {padding-top:40px;color:#586474;}
#auth-loading h1 {font-size:22px;margin-top:24px;}
#auth-onboarding h1 {font-size:28px;}
@media(max-width:350px) { .auth-gate {padding:22px 20px 32px;} .auth-gate h1 {font-size:28px;margin-top:28px;} .gate-values {gap:17px;margin-bottom:24px;} }

.invite-code {display:block;width:100%;min-height:64px;margin:8px 0;border:1px solid var(--accent);border-radius:12px;background:#edf3ff;color:#174da6;font-size:28px;font-weight:750;letter-spacing:.16em;cursor:pointer;}
