:root {
  --ink: #0a0a0a;
  --ink-2: #3b3f46;
  --mute: #8a8f98;
  --line: #e7e7e4;
  --line-2: #f0f0ed;
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --red: #e5202e;
  --red-soft: #fdecee;
  --navy: #0b1f44;
  --navy-2: #1c3a73;
  --navy-soft: #e8edf6;
  --rail: 232px;
  --radius: 10px;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum' 1, 'cv11' 1;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ shell */

.shell { display: grid; grid-template-columns: var(--rail) 1fr; min-height: 100vh; }
.rail {
  background: var(--ink); color: #fff; padding: 22px 14px;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
}
.brand { font-family: var(--display); font-weight: 900; letter-spacing: .16em; font-size: 15px; padding: 4px 12px 22px; }
.brand i { color: var(--red); font-style: normal; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: #b9bcc2; font-weight: 600; font-size: 14px;
}
.nav a:hover { color: #fff; background: #17171a; }
.nav a.on { color: #fff; background: #1d1d21; }
.nav a.on svg { color: var(--red); }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav .badge { margin-left: auto; background: var(--red); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.rail-foot { margin-top: auto; padding: 12px; border-top: 1px solid #222; display: grid; gap: 10px; }
.duo { display: grid; gap: 8px; }
.duo-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cfd1d5; }
.duo-row b { color: #fff; font-family: var(--display); font-size: 18px; margin-left: auto; }
.duo-row small { color: #6e727a; }

.main { padding: 32px 40px 80px; max-width: 1240px; width: 100%; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.eyebrow.red { color: var(--red); }
h1 { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 4px 0 0; line-height: 1.05; }
h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0; font-weight: 800; }

.tabs-mobile { display: none; }

/* ------------------------------------------------------------ hero */

.hero { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.hero > div { padding: 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.hero > div:last-child { border-right: 0; }
.hero .big { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -.03em; margin-top: 10px; }
.hero .big small { font-size: 22px; color: var(--mute); font-weight: 800; letter-spacing: 0; }
.hero .sub { color: var(--mute); font-size: 13px; margin-top: 8px; }
.hero .dark { background: var(--ink); color: #fff; }
.hero .dark .sub { color: #8b8f97; }
.hero .dark .eyebrow { color: #8b8f97; }
.bar { height: 4px; background: #26262b; border-radius: 4px; margin-top: 14px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--red); transition: width .4s ease; }
.hero .light .bar { background: var(--line-2); }
.red-t { color: var(--red); }
.navy-t { color: var(--navy); }

/* ------------------------------------------------------------ grid */

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.stack { display: grid; gap: 28px; }
.section { min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.section-head .meta { color: var(--mute); font-size: 13px; font-weight: 500; }

/* ------------------------------------------------------------ rows */

.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; font-size: 15px; word-wrap: break-word; }
.row .sub { color: var(--mute); font-size: 13px; margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.row.done .title { color: var(--mute); text-decoration: line-through; text-decoration-color: #c6c8cc; }
.row .idx { font-family: var(--display); font-weight: 800; color: var(--mute); width: 18px; padding-top: 1px; }
.row .right { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.check {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; flex: none;
  display: grid; place-items: center; cursor: pointer; padding: 0; margin-top: -1px; transition: all .15s;
}
.check:hover { border-color: var(--red); }
.check svg { width: 13px; height: 13px; opacity: 0; color: #fff; }
.check.on { background: var(--navy); border-color: var(--navy); }
.check.on svg { opacity: 1; }
.check:disabled { cursor: default; border-color: #c9cbcf; }
.check.on:disabled { border-color: var(--navy); }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 4px; background: var(--bg-2); color: var(--ink-2); text-transform: uppercase; white-space: nowrap; }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.navy { background: var(--navy-soft); color: var(--navy); }
.tag.ink { background: var(--ink); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--line); }

.empty { color: var(--mute); padding: 18px 0; font-size: 14px; }

/* ------------------------------------------------------------ controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 9px 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #c41824; border-color: #c41824; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-2); }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }
.btn.block { width: 100%; padding: 13px 16px; font-size: 14px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--mute); font-size: 12px; font-weight: 600; cursor: pointer; }
.link:hover { color: var(--red); }

.add { display: flex; gap: 8px; margin-top: 12px; }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; outline: none;
  transition: border-color .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink); }
.textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
label.field span { color: var(--ink-2); }

.callout {
  border: 1px dashed #cfd1d5; border-radius: var(--radius); padding: 18px; color: var(--ink-2); font-size: 14px; margin-top: 14px;
}
.callout b { color: var(--ink); }
.lockline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; background: var(--bg-2); border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.submitbar { margin-top: 16px; }

.locked-tray { position: relative; }
.locked-tray .rows { filter: blur(3px); opacity: .45; pointer-events: none; user-select: none; }
.locked-tray .veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 14px; }
.locked-tray .veil span { background: #fff; border: 1px solid var(--line); padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }

/* ------------------------------------------------------------ partner card */

.partner { border: 1px solid var(--line); border-radius: var(--radius); }
.partner-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.partner-head .who { font-weight: 800; font-size: 15px; }
.partner-head .state { color: var(--mute); font-size: 12px; }
.partner-head .score { margin-left: auto; text-align: right; }
.partner-head .score b { font-family: var(--display); font-size: 26px; font-weight: 900; line-height: 1; display: block; }
.partner .rows { padding: 0 18px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: var(--navy); color: #fff; flex: none; font-family: var(--display);
}
.avatar.me { background: var(--red); }
.avatar.sm { width: 24px; height: 24px; font-size: 10px; }

/* ------------------------------------------------------------ inbox / feed */

.card-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.feed li:last-child { border-bottom: 0; }
.feed time { margin-left: auto; color: var(--mute); white-space: nowrap; font-size: 12px; }

.help { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 18px; }
.help .eyebrow { color: #9fb0d0; }
.help p { margin: 8px 0 12px; font-size: 14px; white-space: pre-wrap; }
.help .btn { border-color: #fff; background: transparent; color: #fff; }
.help .btn:hover { background: #fff; color: var(--navy); }

/* ------------------------------------------------------------ scoreboard */

.versus { display: grid; grid-template-columns: 1fr auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.versus .side { padding: 26px; }
.versus .side.lead { background: var(--ink); color: #fff; }
.versus .side.lead .sub { color: #8b8f97; }
.versus .vs { display: grid; place-items: center; padding: 0 18px; font-family: var(--display); font-weight: 900; color: var(--mute); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.versus .big { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -.04em; margin: 12px 0 6px; }
.versus .sub { color: var(--mute); font-size: 13px; }
.versus .side.right { text-align: right; }

.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stat-table th, .stat-table td { text-align: right; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.stat-table th:first-child, .stat-table td:first-child { text-align: left; color: var(--ink-2); font-weight: 500; }
.stat-table th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.stat-table td b { font-family: var(--display); font-size: 18px; }
.stat-table .win { color: var(--red); }

.weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; align-items: end; height: 180px; padding-top: 16px; }
.wk { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; }
.wk .bars { display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.wk .bars span { flex: 1; background: var(--red); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.wk .bars span.b { background: var(--navy); }
.wk label { font-size: 11px; color: var(--mute); text-align: center; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: -1px; }

/* ------------------------------------------------------------ agenda */

.cal-head { display: flex; align-items: center; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 14px; }
.cal .dow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.cell { min-height: 108px; padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; gap: 5px; background: #fff; transition: background .12s; min-width: 0; }
.cell:hover { background: var(--bg-2); }
.cell.out { background: #fcfcfb; color: #c0c2c6; }
.cell.today { box-shadow: inset 0 0 0 2px var(--red); }
.cell .d { font-family: var(--display); font-weight: 800; font-size: 15px; }
.who-line { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.who-line .st { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #c9cbcf; flex: none; }
.st.complete { background: var(--navy); border-color: var(--navy) !important; }
.st.submitted { background: #fff; border-color: var(--navy) !important; }
.st.missed { background: var(--red); border-color: var(--red) !important; }
.st.locked { border-color: var(--ink) !important; }
.st.draft { border-style: dashed !important; }
.st.rest { background: var(--line); border-color: var(--line) !important; }
.cell .due { font-size: 11px; color: var(--red); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------ backlog */

.toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 4px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.compose { display: grid; grid-template-columns: 1fr 140px 150px 150px 170px auto; gap: 8px; margin-top: 16px; }
.prio { font-family: var(--display); font-weight: 900; font-size: 12px; width: 22px; text-align: center; padding-top: 2px; }
.prio.p1 { color: var(--red); }
.prio.p2 { color: var(--ink); }
.prio.p3 { color: var(--mute); }

/* ------------------------------------------------------------ day / me */

.qa { display: grid; gap: 18px; margin-top: 8px; }
.qa .q { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.qa .a { margin-top: 4px; white-space: pre-wrap; font-size: 15px; }
.qa .a.help-a { background: var(--navy-soft); color: var(--navy); padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.thread { display: grid; gap: 12px; margin-top: 12px; }
.msg { display: flex; gap: 10px; }
.msg .body { background: var(--bg-2); padding: 10px 12px; border-radius: 8px; font-size: 14px; white-space: pre-wrap; flex: 1; }
.msg .body small { display: block; color: var(--mute); font-size: 11px; margin-bottom: 2px; font-weight: 600; }

.history details { border-bottom: 1px solid var(--line); }
.history summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; }
.history summary::-webkit-details-marker { display: none; }
.history summary .grow { flex: 1; font-weight: 600; }
.history .inner { padding: 0 0 18px 23px; }

.settings { display: grid; gap: 16px; max-width: 460px; }
.weekdays { display: flex; gap: 6px; flex-wrap: wrap; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.switch { width: 40px; height: 22px; border-radius: 99px; background: #d4d6da; border: 0; position: relative; cursor: pointer; flex: none; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch.on { background: var(--navy); }
.switch.on::after { transform: translateX(18px); }

/* ------------------------------------------------------------ files */

.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--navy); background: #fff; }
.file:hover { border-color: var(--navy); }
.file svg { width: 13px; height: 13px; flex: none; }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.file small { color: var(--mute); font-weight: 500; }
.row.done .file { text-decoration: none; }
.drop { display: grid; justify-items: center; gap: 6px; text-align: center; border: 2px dashed #cfd1d5; border-radius: 12px; padding: 28px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--red); background: var(--red-soft); }
.drop svg { width: 26px; height: 26px; color: var(--red); }
.drop b { font-size: 15px; }
.drop span { font-size: 12px; color: var(--mute); }
.picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.picked:empty { display: none; }
.picked li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; background: var(--bg-2); border-radius: 8px; }
.picked li svg { width: 15px; height: 15px; flex: none; color: var(--navy); }
.picked li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.picked li small { color: var(--mute); }
.progress { height: 6px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--navy); transition: width .2s; }

/* ------------------------------------------------------------ modal / toast */

.modal-back { position: fixed; inset: 0; background: rgba(10,10,10,.55); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .15s ease; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 580px; max-height: calc(100vh - 40px); overflow: auto; }
.modal-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 4px 0 0; letter-spacing: -.01em; }
.modal-body { padding: 18px 24px 24px; display: grid; gap: 16px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; position: sticky; bottom: 0; background: #fff; }
.x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--mute); padding: 4px; }
.sub-task { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 10px; }
.sub-task .top { display: flex; gap: 12px; align-items: center; font-weight: 600; }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .2s; z-index: 60; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--red); }

@keyframes fade { from { opacity: 0; } }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 900; letter-spacing: .16em; }
.boot i { color: var(--red); font-style: normal; }

/* ------------------------------------------------------------ login */

.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login .l { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login .l .claim { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .95; letter-spacing: -.035em; }
.login .l .claim i { color: var(--red); font-style: normal; }
.login .r { display: grid; place-items: center; padding: 32px 20px; }
.login form { width: 100%; max-width: 340px; display: grid; gap: 14px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .cols { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero > div:nth-child(2) { border-right: 0; }
  .hero > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compose { grid-template-columns: 1fr 1fr; }
  .compose .input:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .main { padding: 18px 16px 110px; }
  h1 { font-size: 28px; }
  .topbar { margin-bottom: 18px; }
  .hero .big { font-size: 40px; }
  .hero > div { padding: 16px; }
  .tabs-mobile {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: var(--ink); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .tabs-mobile a { display: grid; justify-items: center; gap: 3px; color: #8b8f97; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .04em; position: relative; }
  .tabs-mobile a svg { width: 20px; height: 20px; }
  .tabs-mobile a.on { color: #fff; }
  .tabs-mobile a.on svg { color: var(--red); }
  .tabs-mobile .badge { position: absolute; top: -3px; right: calc(50% - 18px); background: var(--red); color: #fff; border-radius: 99px; font-size: 9px; padding: 0 5px; }
  .versus { grid-template-columns: 1fr 1fr; }
  .versus .vs { display: none; }
  .versus .side { padding: 18px; }
  .versus .big { font-size: 48px; }
  .cell { min-height: 72px; padding: 6px; }
  .cell .who-line span.n { display: none; }
  .cell .due { display: none; }
  .cal .dow { padding: 6px; font-size: 10px; letter-spacing: .04em; }
  .compose { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; }
  .login .l { padding: 28px 20px; min-height: 220px; }
  .login .l .claim { font-size: 40px; }
  .row .right { flex-direction: column; align-items: flex-end; }
  .weeks { gap: 6px; }
  #toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
