/* Monochrome theme: soft grey page, white cards, charcoal hero, green/orange only for money direction. */
:root {
  --bg: #ececec; --card: #f8f8f8; --white: #fff; --ink: #1c1d20; --muted: #8b8c90; --line: #e2e2e2;
  --dark: #222326; --dark-2: #2d2e32;
  --brand: #1c1d20; --brand-ink: #fff; --brand-soft: #e6e6e6;
  --owed: #22b35e; --owed-soft: #e3f6ea; --owe: #f07a2b; --owe-soft: #fdeede; --chip: #e9e9ea;
  --radius: 22px; --nav-h: 76px;
  --shadow: 0 10px 30px rgba(20, 20, 25, .06);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.45 Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.shell { min-height: 100dvh; }
.main { max-width: 640px; margin: 0 auto; padding: calc(var(--safe-t) + 10px) 18px calc(var(--nav-h) + var(--safe-b) + 40px); }

/* bottom nav: icons only, raised black + in the middle */
.nav { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: 68px; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around; background: var(--white); border-radius: 26px; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.nav[hidden] { display: none; }
.nav .brand { display: none; }
.nav a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #c4c4c7; }
.nav a svg { width: 24px; height: 24px; fill: currentColor; }
.nav a span { display: none; }
.nav a.on { color: var(--ink); }
.fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.28); transform: translateY(-14px); transition: transform .15s; }
.fab svg { width: 26px; height: 26px; }
.fab b { display: none; }
.fab:active { transform: translateY(-14px) scale(.94); }
.fab[hidden] { visibility: hidden; display: grid; }

@media (min-width: 900px) {
  .nav { left: 0; right: auto; top: 0; bottom: 0; width: 240px; height: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line);
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; padding: 24px 14px; }
  .nav .brand { order: -2; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; padding: 0 10px 22px; }
  .nav .brand img { width: 34px; height: 34px; }
  .nav a { width: auto; height: 48px; display: flex; gap: 12px; padding: 0 14px; color: var(--muted); font-weight: 500; }
  .nav a span { display: inline; }
  .nav a svg { width: 20px; height: 20px; }
  .nav a.on { background: var(--bg); color: var(--ink); }
  .fab { order: -1; width: auto; height: 50px; border-radius: 16px; transform: none; display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; box-shadow: none; }
  .fab b { display: inline; font-weight: 600; }
  .fab svg { width: 20px; height: 20px; }
  .fab:active { transform: scale(.97); }
  .main { margin-left: max(240px, calc(50vw - 320px + 120px)); padding-top: 28px; padding-bottom: 60px; }
}

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 64px; margin: 0 -18px 6px; padding: var(--safe-t) 18px 0;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top h1 { grid-column: 2; text-align: center; font-size: 17px; margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top > :last-child:not(h1) { grid-column: 3; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(.94); }
.greet { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 18px; }
.greet small { color: var(--muted); font-size: 12px; display: block; }
.greet b { font-size: 19px; font-weight: 600; }

/* ---------- hero (dark balance card) ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 26px; padding: 26px 24px 22px; margin-bottom: 14px;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.45); }
.hero::before { content: ""; position: absolute; right: -60px; top: -70px; width: 190px; height: 190px; border-radius: 50%; border: 44px solid rgba(255,255,255,.06); }
.hero::after { content: ""; position: absolute; left: -50px; bottom: -80px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.05); }
.hero > * { position: relative; z-index: 1; }
.hero .big { font-size: 32px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.hero .lbl { color: #a3a4a8; font-size: 13px; margin-top: 2px; }
.hero .meter { height: 5px; border-radius: 9px; background: rgba(255,255,255,.12); margin: 22px 0 16px; overflow: hidden; }
.hero .meter i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #e6402b, #f39a2a, #f6c443); }
.hero .foot { display: flex; justify-content: space-between; align-items: center; color: #c9cacd; font-size: 13px; letter-spacing: .02em; }
.hero .dots { display: flex; } .hero .dots i { width: 22px; height: 22px; border-radius: 50%; background: #e6402b; } .hero .dots i + i { background: #f39a2a; margin-left: -8px; opacity: .95; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.stat { background: var(--card); border-radius: 20px; padding: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.stat .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.stat .ic svg { width: 18px; height: 18px; }
.stat b { display: block; font-size: 16px; font-weight: 600; }
.stat small { display: block; font-size: 12px; color: var(--ink); }
.stat.in .ic { background: var(--owed-soft); color: var(--owed); } .stat.in b { color: var(--owed); }
.stat.out .ic { background: var(--owe-soft); color: var(--owe); } .stat.out b { color: var(--owe); }

h2.sec { font-size: 17px; font-weight: 600; margin: 4px 2px 12px; display: flex; justify-content: space-between; align-items: center; }
h2.sec button { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 500; }

/* ---------- cards & rows ---------- */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow); }
/* a card that only holds rows becomes a stack of separate rounded rows */
.card:has(> .row) { background: none; box-shadow: none; overflow: visible; display: flex; flex-direction: column; gap: 10px; }
.card:has(> .row) > .section-h { padding: 6px 4px 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px; width: 100%; background: var(--card); border: 0; border-radius: 20px; text-align: left; box-shadow: var(--shadow); }
button.row:active, a.row:active { transform: scale(.985); }
.row .body { flex: 1; min-width: 0; }
.row .t { font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .s { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .amt { text-align: right; flex: none; font-size: 11.5px; color: var(--muted); }
.row .amt b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.row .amt.owed b, .owed { color: var(--owed); } .row .amt.owe b, .owe { color: var(--owe); } .settled { color: var(--muted); }
.row .amt.owed, .row .amt.owe { color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: var(--white); flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.date { display: none; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; flex: none; font-size: 15px; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.section-h { padding: 14px 16px 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.month { margin: 18px 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }

.group-head { text-align: center; margin: 2px 0 18px; }
.group-head .ico { width: 64px; height: 64px; font-size: 30px; margin: 0 auto 10px; background: var(--white); box-shadow: var(--shadow); }
.group-head h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.group-head .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.avatars { display: flex; justify-content: center; margin-top: 10px; }
.avatars .avatar { margin-left: -8px; border: 2.5px solid var(--bg); }
.avatars .avatar:first-child { margin-left: 0; }

.actions { display: flex; gap: 10px; margin-bottom: 16px; }
.pill { flex: none; border: 0; background: var(--white); border-radius: 999px; padding: 11px 20px; font-weight: 500; font-size: 14px; min-height: 46px; box-shadow: var(--shadow); }
.actions .pill { flex: 1; }
.pill.primary { background: var(--dark); color: #fff; }
.pill:active { transform: scale(.97); }

.tabs { display: flex; background: var(--white); border-radius: 999px; padding: 5px; margin-bottom: 16px; box-shadow: var(--shadow); }
.tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--muted); min-height: 42px; }
.tabs button.on { background: var(--dark); color: #fff; }

.empty { text-align: center; padding: 40px 22px; color: var(--muted); }
.empty .e { font-size: 44px; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.empty .pill { margin-top: 18px; }

.bar { height: 6px; border-radius: 99px; background: var(--chip); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--dark); border-radius: 99px; }
.card[style*="padding"] { background: var(--card); }

/* ---------- bottom sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-wrap[hidden] { display: none; }
.backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.45); animation: fade .2s; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; background: var(--bg); border-radius: 30px 30px 0 0; display: flex; flex-direction: column; overflow: hidden; animation: up .25s cubic-bezier(.2,.9,.3,1); }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: #cfcfd2; margin: 9px auto 0; flex: none; }
.sheet header { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; padding: 8px 16px; flex: none; }
.sheet header h3 { grid-column: 2; text-align: center; margin: 0; font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet header .icon-btn { grid-column: 3; width: 42px; height: 42px; }
.sheet .content { overflow-y: auto; padding: 6px 18px 20px; -webkit-overflow-scrolling: touch; }
/* dark footer bar, like the invoice "Total / Save" */
.sheet footer { flex: none; position: relative; overflow: hidden; padding: 18px 18px calc(18px + var(--safe-b)); background: var(--dark); color: #fff; border-radius: 28px 28px 0 0;
  display: flex; gap: 10px; align-items: center; }
.sheet footer::before { content: ""; position: absolute; right: -40px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 30px solid rgba(255,255,255,.05); }
.sheet footer > * { position: relative; }
.ftot { flex: 1; min-width: 0; } .ftot small { display: block; color: #a3a4a8; font-size: 12px; } .ftot b { font-size: 20px; font-weight: 600; }
@media (min-width: 640px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 30px; max-height: 88vh; animation: pop .2s ease-out; }
  .sheet .grab { display: none; }
  .sheet header { padding-top: 14px; }
  .sheet footer { border-radius: 28px; margin: 0 8px 8px; padding-bottom: 16px; }
}
@keyframes up { from { transform: translateY(100%); } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field > label, .lbl2 { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.input { width: 100%; min-height: 50px; border: 1.5px solid transparent; border-radius: 16px; background: var(--white); padding: 10px 16px; font-size: 16px; outline: none; transition: border-color .15s; }
.input:focus { border-color: var(--ink); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.amount-wrap { display: flex; align-items: center; border: 1.5px solid transparent; border-radius: 20px; background: var(--white); padding: 0 18px; }
.amount-wrap:focus-within { border-color: var(--ink); }
.amount-wrap span { font-size: 26px; font-weight: 500; color: var(--muted); }
.amount-wrap input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 34px; font-weight: 600; padding: 12px 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; min-height: 40px; }
.chip.on { background: var(--dark); color: #fff; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 999px; padding: 5px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 9px 4px; font-weight: 500; font-size: 13px; color: var(--muted); min-height: 40px; }
.seg button.on { background: var(--dark); color: #fff; }
.who { background: var(--white); border-radius: 20px; margin-top: 10px; overflow: hidden; }
.who .r { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 58px; border-top: 1px solid var(--bg); }
.who .r:first-child { border-top: 0; }
.who .r .n { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .r .calc { color: var(--muted); font-size: 13.5px; }
.who .r input[type=text] { width: 92px; min-height: 40px; text-align: right; border: 1.5px solid transparent; border-radius: 12px; background: var(--bg); padding: 6px 10px; font-size: 16px; outline: none; }
.who .r input[type=text]:focus { border-color: var(--ink); }
.check { width: 24px; height: 24px; accent-color: var(--dark); flex: none; }
.sum { margin-top: 10px; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 500; background: var(--white); text-align: center; color: var(--muted); }
.sum.ok { background: var(--owed-soft); color: #178a46; }
.sum.err { background: var(--owe-soft); color: #c95712; }
.btn { flex: 1; min-height: 52px; border-radius: 16px; border: 0; font-weight: 600; font-size: 15px; background: var(--white); color: var(--ink); }
.btn.primary { background: var(--dark); color: #fff; }
.sheet footer .btn.primary, .sheet footer .btn { background: #fff; color: var(--ink); flex: none; padding: 0 26px; }
.sheet footer .btn.danger { background: rgba(255,255,255,.1); color: #ffb48a; padding: 0 18px; }
.sheet footer .btn:only-child { flex: 1; }
.btn.danger { background: var(--owe-soft); color: #c95712; }
.btn:disabled { opacity: .5; }
.err-msg { color: #d0611c; font-size: 13.5px; font-weight: 500; margin: 4px 0 10px; }
.err-msg:empty { display: none; }
.member-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--white); font-weight: 500; font-size: 14px; margin: 0 6px 6px 0; }
.member-chip button { border: 0; background: none; color: var(--muted); font-size: 15px; padding: 0 2px; }
.emoji-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.emoji-row button { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--white); font-size: 22px; }
.emoji-row button.on { box-shadow: 0 0 0 2px var(--ink); }
.kv { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; top: calc(var(--safe-t) + 14px); transform: translate(-50%, -20px); background: var(--dark); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- login (dark) ---------- */
body.locked { background: #151618; }
.login { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(120% 70% at 0% 100%, #2b2620 0%, transparent 60%), linear-gradient(160deg, #26272b, #131416 70%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px calc(40px + var(--safe-b)); }
.login .art { position: relative; flex: 1; min-height: 230px; margin: 0 -28px 22px; }
.login .sun { position: absolute; width: 280px; height: 280px; right: -60px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle at 30% 75%, #f7c64a, #f2702a 45%, #e3402b 78%); }
.login .lines { position: absolute; left: 0; top: 8%; width: 100%; height: 84%; fill: none; stroke: #fff; stroke-width: .8; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.login .spark { position: absolute; fill: #fff; opacity: .85; }

/* credit card: real ID-1 ratio (85.6 x 54 mm), 3D tilt, visible edge, gloss, warm rim light */
.login .cc { --s: 1; position: absolute; left: 50%; top: 52%; width: 310px; aspect-ratio: 1.586; border-radius: 18px;
  transform: translate(-50%, -50%) scale(var(--s)) perspective(900px) rotateX(16deg) rotateY(-16deg) rotateZ(-9deg);
  box-shadow: 0 1px 0 #3a3a3e, 1px 2px 0 #303034, 2px 3px 0 #29292c, 3px 4px 0 #222225, 4px 5px 0 #1c1c1e, 22px 36px 50px rgba(0,0,0,.65); }
.login .cc-face { position: relative; height: 100%; border-radius: inherit; overflow: hidden; padding: 7% 7.5%; display: flex; flex-direction: column; color: #f3f3f3;
  background: radial-gradient(120% 90% at 100% 0%, rgba(242,112,42,.38), transparent 55%), linear-gradient(135deg, #3b3b40 0%, #232326 45%, #151517 100%);
  border: 1px solid rgba(255,255,255,.09); }
.login .cc-face::before { content: ""; position: absolute; inset: -40% -10% auto -30%; height: 90%; transform: rotate(-18deg);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); pointer-events: none; }
.login .cc-face::after { content: ""; position: absolute; right: -30%; bottom: -55%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 26px solid rgba(255,255,255,.035); }
.login .cc-row { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.login .cc-name { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.login .cc-nfc { width: 24px; height: 24px; color: rgba(255,255,255,.75); }
.login .cc-chip { position: relative; z-index: 1; margin-top: 7%; width: 17%; aspect-ratio: 1.3; border-radius: 6px;
  background: linear-gradient(135deg, #f4dc9a, #c9a24e 45%, #e9cd84 70%, #b58b3a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); overflow: hidden; }
.login .cc-chip i { position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 32%, rgba(0,0,0,.28) 32% 35%, transparent 35% 65%, rgba(0,0,0,.28) 65% 68%, transparent 68%),
  linear-gradient(180deg, transparent 47%, rgba(0,0,0,.28) 47% 53%, transparent 53%); }
.login .cc-num { position: relative; z-index: 1; margin-top: auto; display: flex; gap: 6%; font-size: 17px; font-weight: 500; letter-spacing: .12em;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.15); }
.login .cc-bottom { margin-top: 5%; align-items: flex-end; gap: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.login .cc-bottom > div:first-child { flex: 1; }
.login .cc-bottom small { display: block; font-size: 7px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1px; }
.login .cc-logo { display: flex; margin-left: 6px; }
.login .cc-logo i { width: 26px; height: 26px; border-radius: 50%; background: #eb3b24; }
.login .cc-logo i + i { background: #f79e1b; margin-left: -10px; mix-blend-mode: screen; }
@media (max-width: 360px) { .login .cc { --s: .86; } }
@media (max-height: 640px) { .login .art { min-height: 160px; } .login .cc { --s: .66; } }
.login h1 { position: relative; margin: 0 0 14px; font-size: clamp(46px, 14vw, 64px); line-height: .98; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.login h1 .ol { color: transparent; -webkit-text-stroke: 1.5px #fff; font-weight: 400; display: block; }
.login p { position: relative; color: #a9aaae; margin: 0 0 26px; max-width: 320px; }
.login form { position: relative; max-width: 360px; }
.login .input { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.12); border-radius: 999px; padding: 0 22px; min-height: 56px; }
.login .input::placeholder { color: #8d8e92; }
.login .input:focus { border-color: #fff; }
.login .go { margin-top: 12px; width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 17px; }
.login .go:disabled { opacity: .6; }
.login .err-msg { color: #ffa070; margin: 10px 4px 0; }
@media (min-width: 640px) { .login { align-items: center; } .login .art { width: 420px; flex: 1; max-height: 330px; margin: 0 0 10px; } .login > .wrap { width: 380px; } .login .sun { right: -20px; } }
