:root, [data-theme="light"] {
  --bg: #fef3c7; --ink: #0a0a0a; --paper: #ffffff; --cream: #fffbeb;
  --gray: #52525b; --gray-lt: #a1a1aa; --line: #e5e5e5;
  --warn-bg: #fff1f2; --overlay: rgba(0,0,0,0.5);
}
[data-theme="dark"] {
  --bg: #0f0f0f; --ink: #f5f5f5; --paper: #1a1a1a; --cream: #222;
  --gray: #a1a1aa; --gray-lt: #71717a; --line: #2f2f2f;
  --warn-bg: #2a1414; --overlay: rgba(0,0,0,0.75);
}
[data-theme="light"][data-background="cream"] { --bg: #fef3c7; --cream: #fffbeb; --line: #e5e5e5; }
[data-theme="dark"][data-background="cream"] { --bg: #0f0f0f; --cream: #222; --line: #2f2f2f; }
[data-theme="light"][data-background="ice"] { --bg: #e0f2fe; --cream: #f0f9ff; --line: #bae6fd; }
[data-theme="light"][data-background="mint"] { --bg: #dcfce7; --cream: #f0fdf4; --line: #bbf7d0; }
[data-theme="light"][data-background="lavender"] { --bg: #ede9fe; --cream: #f5f3ff; --line: #ddd6fe; }
[data-theme="light"][data-background="peach"] { --bg: #ffedd5; --cream: #fff7ed; --line: #fed7aa; }
[data-theme="light"][data-background="rose"] { --bg: #ffe4e6; --cream: #fff1f2; --line: #fecdd3; }
[data-theme="light"][data-background="sky"] { --bg: #bae6fd; --cream: #e0f2fe; --line: #7dd3fc; }
[data-theme="light"][data-background="aqua"] { --bg: #ccfbf1; --cream: #f0fdfa; --line: #99f6e4; }
[data-theme="light"][data-background="sand"] { --bg: #f5e6c8; --cream: #fffaf0; --line: #e7d3aa; }
[data-theme="light"][data-background="lemon"] { --bg: #fef08a; --cream: #fefce8; --line: #fde047; }
[data-theme="light"][data-background="sage"] { --bg: #d9f99d; --cream: #f7fee7; --line: #bef264; }
[data-theme="light"][data-background="lilac"] { --bg: #e9d5ff; --cream: #faf5ff; --line: #d8b4fe; }
[data-theme="light"][data-background="coral"] { --bg: #fecaca; --cream: #fff1f2; --line: #fca5a5; }
[data-theme="light"][data-background="berry"] { --bg: #fbcfe8; --cream: #fdf2f8; --line: #f9a8d4; }
[data-theme="light"][data-background="ocean"] { --bg: #bfdbfe; --cream: #eff6ff; --line: #93c5fd; }
[data-background="forest"], [data-background="charcoal"], [data-background="graphite"], [data-background="espresso"], [data-background="midnight"] { --ink: #f8fafc; --paper: #18181b; --gray: #cbd5e1; --gray-lt: #94a3b8; --warn-bg: #3f1d2e; }
[data-background="forest"] { --bg: #14532d; --cream: #166534; --line: #22c55e; }
[data-background="charcoal"] { --bg: #27272a; --cream: #3f3f46; --line: #71717a; }
[data-background="graphite"] { --bg: #3f3f46; --cream: #52525b; --line: #a1a1aa; }
[data-background="espresso"] { --bg: #451a03; --cream: #78350f; --line: #b45309; }
[data-background="midnight"] { --bg: #172554; --cream: #1e3a8a; --line: #3b82f6; }
[data-theme="dark"][data-background="ice"] { --bg: #0c2433; --cream: #123447; --line: #1e4c63; }
[data-theme="dark"][data-background="mint"] { --bg: #0b2919; --cream: #123b24; --line: #1d5b35; }
[data-theme="dark"][data-background="lavender"] { --bg: #211b38; --cream: #30264f; --line: #4a3d75; }
[data-theme="dark"][data-background="peach"] { --bg: #321d12; --cream: #492a1b; --line: #704127; }
[data-theme="dark"][data-background="rose"] { --bg: #35151d; --cream: #4c1d28; --line: #732b3b; }
:root, [data-accent="green"]  { --accent: #22c55e; --accent-dk: #15803d; --accent-fg: #0a0a0a; }
[data-accent="blue"]   { --accent: #3b82f6; --accent-dk: #1d4ed8; --accent-fg: #fff; }
[data-accent="red"]    { --accent: #f43f5e; --accent-dk: #be123c; --accent-fg: #fff; }
[data-accent="purple"] { --accent: #a855f7; --accent-dk: #7e22ce; --accent-fg: #fff; }
[data-accent="orange"] { --accent: #fb923c; --accent-dk: #c2410c; --accent-fg: #0a0a0a; }
[data-accent="teal"] { --accent: #14b8a6; --accent-dk: #0f766e; --accent-fg: #0a0a0a; }
[data-accent="cyan"] { --accent: #06b6d4; --accent-dk: #0e7490; --accent-fg: #0a0a0a; }
[data-accent="indigo"] { --accent: #6366f1; --accent-dk: #4338ca; --accent-fg: #fff; }
[data-accent="violet"] { --accent: #8b5cf6; --accent-dk: #6d28d9; --accent-fg: #fff; }
[data-accent="pink"] { --accent: #ec4899; --accent-dk: #be185d; --accent-fg: #fff; }
[data-accent="magenta"] { --accent: #d946ef; --accent-dk: #a21caf; --accent-fg: #0a0a0a; }
[data-accent="lime"] { --accent: #84cc16; --accent-dk: #4d7c0f; --accent-fg: #0a0a0a; }
[data-accent="yellow"] { --accent: #eab308; --accent-dk: #a16207; --accent-fg: #0a0a0a; }
[data-accent="sky"] { --accent: #0ea5e9; --accent-dk: #0369a1; --accent-fg: #0a0a0a; }
[data-accent="brown"] { --accent: #a16207; --accent-dk: #713f12; --accent-fg: #fff; }
[data-accent="slate"] { --accent: #64748b; --accent-dk: #334155; --accent-fg: #fff; }
:root { --pos: #22c55e; --pos-dk: #15803d; --neg: #f43f5e; --neg-dk: #be123c; --transfer: #3b82f6; --yellow: #facc15; }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100vh; }
body { font-family: 'Space Grotesk', system-ui, sans-serif; background: var(--bg); color: var(--ink); letter-spacing: -0.01em; font-size: 14px; }
.mono { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: var(--ink); }
.hidden { display: none !important; }

/* WELCOME */
.welcome { min-height: 100vh; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 30px; position: relative; overflow: hidden; }
.welcome.show { display: flex; }
.welcome::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, var(--line) 1px, transparent 0); background-size: 22px 22px; pointer-events: none; }
.w-logo { width: 90px; height: 90px; background: var(--ink); color: var(--accent); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); display: grid; place-items: center; font-size: 46px; font-weight: 700; margin-bottom: 26px; position: relative; z-index: 1; user-select: none; cursor: pointer; }
.w-logo:active, .w-logo.tapped { transform: scale(0.9); }
.w-title { font-size: 32px; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 6px; text-align: center; position: relative; z-index: 1; }
.w-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 40px; text-align: center; position: relative; z-index: 1; }
.w-btn { background: var(--accent); color: var(--accent-fg); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 14px 34px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; min-width: 240px; position: relative; z-index: 1; }
.w-btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0; }
.w-alt { margin-top: 14px; font-size: 13px; color: var(--gray); position: relative; z-index: 1; }
.w-link { background: none; border: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; font-size: 13px; }
.w-foot { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 9px; color: var(--gray-lt); letter-spacing: 0.15em; text-transform: uppercase; }

/* AUTH */
.auth { min-height: 100vh; display: none; padding: 24px 20px 40px; position: relative; }
.auth.show { display: block; }
.auth-back { width: 40px; height: 40px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 16px; font-weight: 700; color: var(--ink); display: grid; place-items: center; margin-bottom: 26px; }
.auth-wrap { max-width: 420px; margin: 0 auto; }
.auth-badge { display: inline-block; background: var(--neg); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 14px; border: 2px solid var(--ink); }
.auth-title { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 8px; }
.auth-sub { font-size: 13px; color: var(--gray); margin-bottom: 30px; line-height: 1.5; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 7px; }
.auth-field input { width: 100%; padding: 13px 14px; background: var(--paper); border: 2px solid var(--ink); font-size: 15px; color: var(--ink); outline: none; font-family: 'IBM Plex Mono', monospace; font-weight: 500; }
.auth-field input:focus { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.auth-field input::placeholder { color: var(--gray-lt); font-weight: 400; font-family: 'Space Grotesk', sans-serif; }
.auth-check { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; background: var(--paper); border: 2px solid var(--ink); margin-bottom: 10px; cursor: pointer; font-size: 12px; line-height: 1.5; }
.auth-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.auth-check.warn { background: var(--warn-bg); }
.auth-check .t { font-weight: 500; }
.auth-check .s { font-size: 11px; color: var(--gray); margin-top: 3px; }
.auth-submit { width: 100%; padding: 15px; margin-top: 14px; background: var(--ink); color: var(--bg); border: 2px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.auth-submit:hover { background: var(--accent); color: var(--accent-fg); }
.auth-msg { margin-top: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-align: center; min-height: 16px; }
.auth-msg.err { color: var(--neg-dk); }
.auth-msg.ok { color: var(--pos-dk); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 12px; color: var(--gray); }
.auth-switch button { background: none; border: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 2px; font-size: 12px; }

/* APP */
.app { display: none; min-height: 100vh; }
.app.show { display: block; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 250px; background: var(--ink); color: var(--bg); display: none; flex-direction: column; padding: 20px 14px; z-index: 40; }
body.desktop-mode .sidebar { display: flex; }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 18px; border-bottom: 1px solid rgba(128,128,128,0.25); margin-bottom: 14px; cursor: pointer; user-select: none; }
.sb-logo { width: 34px; height: 34px; background: var(--accent); color: var(--accent-fg); border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.sb-brand .name { font-size: 15px; font-weight: 700; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-brand .sub { font-family: 'IBM Plex Mono', monospace; font-size: 9px; opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.sb-nav { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sb-nav button { background: transparent; border: none; color: var(--bg); padding: 11px 12px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; display: flex; align-items: center; gap: 10px; }
.sb-nav button .ico { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 700; width: 18px; text-align: center; }
.sb-nav button:hover { opacity: 0.9; background: rgba(128,128,128,0.15); }
.sb-nav button.active { opacity: 1; color: var(--accent); }
.sb-nav .divider { height: 1px; background: rgba(128,128,128,0.25); margin: 10px; }
.sb-user { border-top: 1px solid rgba(128,128,128,0.25); padding-top: 12px; margin-top: 8px; }
.sb-user-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; }
.sb-avatar { width: 32px; height: 32px; background: var(--accent); color: var(--accent-fg); border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.sb-user-info { flex: 1; min-width: 0; }
.sb-user-info .n { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-info .u { font-family: 'IBM Plex Mono', monospace; font-size: 9px; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-role { font-family: 'IBM Plex Mono', monospace; font-size: 8px; font-weight: 700; padding: 2px 6px; background: rgba(128,128,128,0.25); color: var(--bg); }
.sb-user-role.dev { background: var(--neg); color: #fff; }
.sb-user-role.premium { background: var(--yellow); color: #0a0a0a; }
.sb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 10px 0; }
.sb-actions button { background: transparent; border: 1px solid rgba(128,128,128,0.35); color: var(--bg); padding: 7px; font-size: 10px; font-weight: 600; text-transform: uppercase; opacity: 0.7; }
.main { padding: 16px; padding-bottom: 100px; min-height: 100vh; }
body.desktop-mode .main { padding-left: 266px; padding-right: 24px; padding-top: 24px; padding-bottom: 40px; }
body.desktop-mode .main-wrap { max-width: 1200px; margin: 0 auto; }
body.mobile-mode .main-wrap { max-width: 480px; margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--bg); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); padding: 11px 14px; margin-bottom: 20px; }
.topbar .brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; user-select: none; min-width: 0; }
.topbar .brand #topbarBrandText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.topbar .brand .sq { width: 11px; height: 11px; background: var(--accent); }
.topbar .right { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; opacity: 0.85; }
.menu-button { width:30px; height:28px; display:flex; flex-direction:column; justify-content:center; gap:4px; border:1px solid rgba(255,255,255,.35); border-radius:9px; background:transparent; padding:6px; }
.menu-button span { display:block; height:1.5px; width:100%; background:var(--bg); border-radius:2px; }
.menu-button:hover { background:var(--accent); border-color:var(--accent); }
body.desktop-mode .topbar { display: none; }
.bottom-nav { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); padding: 6px; z-index: 40; width: calc(100% - 28px); max-width: 460px; border-radius: 22px; }
.bottom-nav button { background: transparent; border: none; color: var(--bg); padding: 9px 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: 0.55; border-radius: 16px; }
.bottom-nav button .ico { font-size: 15px; line-height: 1; font-family: 'IBM Plex Mono', monospace; font-weight: 700; }
.bottom-nav button:hover { opacity: 0.85; background: rgba(255,255,255,0.06); }
.bottom-nav button.active { opacity: 1; background: rgba(255,255,255,0.1); }
.bottom-nav button.active .ico { color: var(--accent); }
body.desktop-mode .bottom-nav { display: none; }
.app.no-navbar .bottom-nav { transform: translateX(-50%) translateY(140%); opacity: 0; pointer-events: none; }
.app.no-navbar .main { padding-bottom: 30px; }
.fab { position: fixed; bottom: 92px; right: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 30px; font-weight: 400; line-height: 1; display: grid; place-items: center; z-index: 45; }
.fab:active { transform: translate(4px, 4px); box-shadow: 0 0 0; }
.app.no-navbar .fab { bottom: 22px; }
body.desktop-mode .fab { bottom: 22px; }
.nav-toggle { position: fixed; bottom: 98px; right: 86px; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 16px; font-weight: 700; line-height: 1; display: grid; place-items: center; z-index: 44; }
.menu-sheet-bg { position:fixed; inset:0; background:rgba(0,0,0,.38); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); display:none; align-items:flex-end; justify-content:center; z-index:90; padding:14px; }
.menu-sheet-bg.show { display:flex; }
.menu-sheet { width:min(100%,460px); background:var(--paper); color:var(--ink); border:1.5px solid var(--line); border-radius:22px; padding:16px; box-shadow:0 14px 40px rgba(0,0,0,.24); animation:sheet-in .18s ease-out; }
.menu-sheet-head { display:flex; justify-content:space-between; align-items:center; padding:2px 2px 14px; border-bottom:1px solid var(--line); font-size:16px; }
.menu-sheet-head button { width:30px; height:30px; border:0; border-radius:50%; background:var(--cream); color:var(--ink); font-size:22px; line-height:1; }
.menu-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; padding:14px 0; }
.menu-grid button, .menu-account button { border:1.5px solid var(--line); background:var(--bg); color:var(--ink); border-radius:13px; padding:13px 10px; font-size:11px; font-weight:700; text-align:left; }
.menu-grid button span { color:var(--accent); margin-right:7px; font-size:15px; }
.menu-grid button:hover, .menu-account button:hover { border-color:var(--accent); background:var(--cream); }
.menu-account { display:grid; grid-template-columns:1fr 1fr; gap:8px; border-top:1px solid var(--line); padding-top:14px; }
.menu-account button:last-child { color:var(--neg-dk); }
@keyframes sheet-in { from { transform:translateY(18px); opacity:0; } to { transform:translateY(0); opacity:1; } }
.app.no-navbar .nav-toggle { bottom: 28px; }
body.desktop-mode .nav-toggle { display: none; }

.page { display: none; }
.page.active { display: block; }
.hero { background:var(--ink); color:var(--bg); border:0; border-radius:22px; box-shadow:6px 6px 0 var(--accent); padding:20px; margin-bottom:18px; overflow:hidden; position:relative; }
.hero::after { content:''; position:absolute; width:150px; height:150px; right:-60px; bottom:-80px; border-radius:50%; background:var(--accent); opacity:.18; pointer-events:none; }
.hero-label { display:flex; align-items:center; justify-content:space-between; gap:10px; background:transparent; color:var(--bg); font-size:10px; font-weight:700; letter-spacing:0.14em; padding:0; text-transform:uppercase; position:relative; z-index:1; }
.balance-eye { width:34px; height:30px; display:grid; place-items:center; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:var(--bg); padding:0; opacity:.88; transition:transform .15s ease, background .15s ease; position:relative; z-index:1; }
.balance-eye:hover { background:var(--accent); color:var(--accent-fg); border-color:var(--accent); opacity:1; }
.balance-eye:active { transform:scale(.92); }
.eye-shape { width:15px; height:10px; border:1.5px solid currentColor; border-radius:80% 20%; transform:rotate(45deg); position:relative; display:block; }
.eye-shape::after { content:''; position:absolute; width:4px; height:4px; border-radius:50%; background:currentColor; top:1.5px; left:4px; }
.balance-eye.is-hidden .eye-shape { opacity:.55; }
.balance-eye.is-hidden .eye-shape::before { content:''; position:absolute; width:18px; height:1.5px; background:currentColor; left:-3px; top:3px; transform:rotate(-45deg); }
.hero-num { font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -0.045em; margin: 18px 0 8px; font-family: 'IBM Plex Mono', monospace; position:relative; z-index:1; }
.hero-num.neg { color: var(--neg-dk); }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-pill { border: 2px solid var(--ink); padding: 9px 11px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.h-pill .v { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700; text-transform: none; }
.h-pill.in { background: var(--pos); color: #0a0a0a; }
.h-pill.out { background: var(--neg); color: #fff; }

.wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.wallet { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; transition: transform .15s ease, box-shadow .15s ease; }
.wallet-clickable { cursor: pointer; }
.wallet-clickable:hover { transform: translateY(-2px); box-shadow: 4px 5px 0 var(--ink); }
.wallet-clickable:active { transform: translateY(0); box-shadow: 2px 2px 0 var(--ink); }
.wallet .n { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.wallet .n > span:not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-edit-btn { margin-left: auto; border: 1px solid currentColor; background: transparent; color: inherit; width: 22px; height: 22px; padding: 0; cursor: pointer; font-size: 13px; line-height: 1; }
.wallet-edit-btn:hover { background: var(--accent); color: var(--accent-fg); }
.wallet-hint { margin-top: 7px; color: var(--gray); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.wallet.hl .wallet-hint { color: var(--bg); opacity: .75; }
.wallet .n .dot { width: 7px; height: 7px; border: 1.5px solid var(--ink); }
.wallet .v { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700; word-break: break-all; }
.wallet.hl { background: var(--ink); color: var(--bg); }
.wallet.hl .n .dot { border-color: var(--bg); }

.sec-title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.sec-title::before { content: ''; width: 12px; height: 12px; background: var(--ink); }
.sec-title .meta { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--gray); text-transform: none; }
.sec-title .act { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--accent-dk); background: none; border: none; padding: 2px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.tx-tabs .tab { min-width: 0; padding-left: 6px; padding-right: 6px; text-align: center; }
.sort-bar { display: flex; align-items: center; gap: 8px; margin: -2px 0 14px; padding: 5px; background: var(--cream); border: 1.5px solid var(--line); }
.history-date-filter { display:flex; align-items:center; gap:6px; margin:0 0 12px; }
.history-date-filter input { min-width:0; flex:1; padding:8px 9px; border:1.5px solid var(--line); background:var(--paper); color:var(--ink); font-size:10px; border-radius:10px; }
.history-date-filter span { color:var(--gray); font-size:11px; }
.history-date-filter .btn-sm { padding:7px 9px; font-size:9px; border-radius:9px; }
.sort-label { flex: 0 0 auto; color: var(--gray); font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sort-tabs { flex: 1; gap: 3px; margin: 0; padding: 0; }
.sort-tabs .tab { border: 1.5px solid transparent; background: transparent; box-shadow: none; padding: 6px 4px; font-size: 9px; letter-spacing: 0.02em; }
.sort-tabs .tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: 2px 2px 0 var(--accent); }
.tab { background: var(--paper); border: 2px solid var(--ink); padding: 7px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.tab.active { background: var(--ink); color: var(--bg); box-shadow: 2px 2px 0 var(--accent); }

.day-group { background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 14px; }
.day-head { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-bottom: 2px solid var(--ink); padding: 9px 12px; }
.day-head .date { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.day-head .date .dow { background: var(--ink); color: var(--bg); padding: 2px 6px; font-size: 9px; font-weight: 700; }
.day-head .date .dow.sun { background: var(--neg); color: #fff; }
.day-head .date .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.day-net { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; padding: 3px 8px; border: 2px solid var(--ink); }
.day-net.pos { background: var(--pos); color: #0a0a0a; }
.day-net.neg { background: var(--neg); color: #fff; }

.tx-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.tx-row:hover { background: var(--cream); }
.tx-row:last-child { border-bottom: none; }
.tx-row .t { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--gray); }
.tx-row .desc { min-width: 0; }
.tx-row .desc .d { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-row .desc .c { font-size: 10px; font-weight: 500; color: var(--gray); margin-top: 2px; text-transform: uppercase; }
.tx-row .desc .c .sep { opacity: 0.4; margin: 0 4px; }
.tx-row .desc .tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.tx-row .desc .tags .tg { background: var(--ink); color: var(--bg); padding: 1px 6px; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.tx-row .amt { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tx-row .amt.in { color: var(--pos-dk); }
.tx-row .amt.out { color: var(--ink); }
.tx-row .amt.tf { color: var(--transfer); }

.form-card { background: var(--paper); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 16px; margin-bottom: 20px; }
.history-only .form-desktop-grid { display: block; }
.history-only .form-desktop-grid > div:first-child { display: none; }
.editing-tx .form-desktop-grid { display: grid; }
.type-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.type-btn { padding: 10px 6px; background: var(--paper); border: 2px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.type-btn.active.in { background: var(--pos); color: #0a0a0a; }
.type-btn.active.out { background: var(--neg); color: #fff; }
.type-btn.active.tf { background: var(--transfer); color: #fff; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; background: var(--paper); border: 2px solid var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 500; outline: none; }
.field select { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; }
.field textarea { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13px; min-height: 60px; }
.submit-btn { width: 100%; padding: 14px; background: var(--ink); color: var(--bg); border: 2px solid var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; margin-top: 6px; }
.submit-btn:hover { background: var(--accent); color: var(--accent-fg); }
.btn-sm { padding: 8px 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.btn-sm.primary { background: var(--accent); color: var(--accent-fg); }
.btn-sm.danger { background: var(--neg); color: #fff; }
.btn-sm.warning { background: var(--yellow); color: #0a0a0a; }
.btn-sm:disabled { opacity: 0.4; cursor: not-allowed; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.stat { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 12px; }
.stat .l { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.stat .v { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700; }
.stat .v.in { color: var(--pos-dk); }
.stat .v.out { color: var(--neg-dk); }
.stat .stat-sub { margin-top: 3px; color: var(--gray); font-size: 9px; }
.hero-caption { margin-top: 8px; color:var(--bg); opacity:.68; font-size: 10px; position:relative; z-index:1; }
.home-widget-slot { position:relative; transition:opacity .15s ease, transform .15s ease; }
.home-widget-slot[draggable="true"] { cursor:grab; }
.home-widget-slot[draggable="true"]:active { cursor:grabbing; }
.home-widget-slot.is-dragging { opacity:.38; transform:scale(.985); }
.home-widget-slot.drag-over { border-top:3px solid var(--accent); padding-top:5px; }
.widget-reorder-note { margin:0 0 8px; color:var(--gray); font-size:9px; text-align:right; letter-spacing:.02em; }

.cat-list { display: flex; flex-direction: column; }
.cat-item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.cat-item:last-child { border-bottom: none; }
.cat-item .rank { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700; border: 2px solid var(--ink); background: var(--cream); text-align: center; padding: 5px 0; }
.cat-item .rank.r1 { background: var(--accent); color: var(--accent-fg); }
.cat-item .rank.r2 { background: var(--yellow); color: #0a0a0a; }
.cat-item .rank.r3 { background: var(--neg); color: #fff; }
.cat-item .body { min-width: 0; }
.cat-item .top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.cat-item .name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cat-item .amt { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; }
.cat-item .bar { height: 8px; background: var(--cream); border: 1.5px solid var(--ink); overflow: hidden; position: relative; }
.cat-item .bar .fill { height: 100%; border-right: 1.5px solid var(--ink); }
.cat-item .bar .budget-mark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--neg); }
.cat-item .meta-row { display: flex; justify-content: space-between; margin-top: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 600; color: var(--gray); text-transform: uppercase; }
.cat-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 6px; border-top: 2px solid var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.month-nav { display: grid; grid-template-columns: 44px 1fr 44px; gap: 6px; margin-bottom: 18px; }
.month-nav button { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 15px; font-weight: 700; color: var(--ink); padding: 10px; }
.month-nav .m-display { background: var(--ink); color: var(--bg); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 10px; }

.set-card { background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 16px; margin-bottom: 16px; }
.set-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); gap: 12px; }
.set-item:last-child { border-bottom: none; padding-bottom: 0; }
.set-item:first-of-type { padding-top: 0; }
.set-info { flex: 1; min-width: 0; }
.set-name { font-size: 13px; font-weight: 600; }
.set-desc { font-size: 11px; color: var(--gray); margin-top: 3px; line-height: 1.4; }
.toggle { width: 50px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--gray) 22%, var(--paper)); border: 2px solid var(--ink); position: relative; cursor: pointer; flex-shrink: 0; transition: background .18s ease, border-color .18s ease; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gray); box-shadow: 0 1px 2px #0003; transition: transform .18s ease, background .18s ease; }
.toggle.on { background: var(--accent); border-color: var(--accent); }
.toggle.on::after { transform: translateX(22px); background: var(--accent-fg); }
.chip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; background: var(--paper); border: 2px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); }
.chip:disabled { opacity: 0.4; cursor: not-allowed; }
.swatch { width: 32px; height: 32px; border: 2px solid var(--ink); cursor: pointer; }
.swatch.active { transform: scale(1.1); box-shadow: 3px 3px 0 var(--ink); }
.swatch:disabled { opacity: 0.4; cursor: not-allowed; }

.modal-bg { position: fixed; inset: 0; z-index: 200; background: var(--overlay); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.show { display: flex; }
.modal { background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 20px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.modal-title { font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: 8px; }
.modal-actions { display: flex; gap: 8px; margin-top: 16px; }
.modal-actions button { flex: 1; padding: 12px; }

.toast { position: fixed; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%) translateY(-18px) scale(.97); background: color-mix(in srgb, var(--paper) 94%, var(--accent)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.16), 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); padding: 11px 14px 14px; font-size: 12px; font-weight: 600; z-index: 300; opacity: 0; transition: opacity .22s ease, transform .22s ease; max-width: min(430px, calc(100% - 24px)); min-width: 240px; display: flex; align-items: center; gap: 9px; overflow: hidden; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.toast-icon { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); border-radius: 50%; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; }
.toast-copy { line-height: 1.35; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; }
.toast.show .toast-progress { animation: toastLife 2.8s linear forwards; }
.toast.error { box-shadow: 0 12px 30px rgba(190,18,60,.18), 0 0 0 1px rgba(190,18,60,.25); }
.toast.error .toast-progress { background: var(--neg); }
.toast.warning { box-shadow: 0 12px 30px rgba(161,98,7,.18), 0 0 0 1px rgba(161,98,7,.25); }
.toast.warning .toast-progress { background: var(--yellow); }
.toast.info { box-shadow: 0 12px 30px rgba(29,78,216,.18), 0 0 0 1px rgba(29,78,216,.25); }
.toast.info .toast-progress { background: var(--transfer); }
@keyframes toastLife { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast .undo { background: var(--accent); color: var(--accent-fg); border: 2px solid var(--accent); padding: 4px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
body.desktop-mode .toast { top: 22px; }

.topbar-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sync-badge { position: static; z-index: auto; font-family: 'IBM Plex Mono', monospace; font-size: 8px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border: 1px solid currentColor; border-radius: 999px; background: transparent; opacity: .82; transform: none; transition: opacity .25s; white-space: nowrap; }
.sync-badge.show { opacity: 1; transform: none; }
.sync-badge.cloud { background: var(--pos); color: #0a0a0a; }
.sync-badge.local { background: var(--yellow); color: #0a0a0a; }
.sync-badge.offline { background: var(--gray); color: var(--bg); }
.sync-badge.syncing { background: var(--yellow); color: #0a0a0a; }

.background-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bg-swatch { display: flex; align-items: center; gap: 6px; padding: 7px 8px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.bg-swatch span { width: 17px; height: 17px; flex: 0 0 17px; background: var(--swatch); border: 1.5px solid var(--ink); }
.bg-swatch.active { border: 2px solid var(--ink); background: var(--cream); box-shadow: 2px 2px 0 var(--accent); }

.empty { text-align: center; padding: 40px 20px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--gray); text-transform: uppercase; }
.empty strong { display:block; color:var(--ink); font-family:inherit; font-size:12px; margin-bottom:7px; }
.empty span { display:block; max-width:320px; margin:0 auto; font-size:10px; line-height:1.6; text-transform:none; }
.asset-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:18px; padding:18px; border-radius:20px; background:var(--ink); color:var(--bg); box-shadow:5px 5px 0 var(--accent); }
.asset-head h1 { margin:4px 0 6px; font-size:30px; letter-spacing:-.04em; }
.asset-head p { max-width:520px; margin:0; color:var(--bg); opacity:.68; font-size:11px; line-height:1.55; }
.eyebrow { color:var(--accent); font:700 10px 'IBM Plex Mono',monospace; letter-spacing:.12em; }
.asset-add { width:auto; min-width:145px; padding:12px 16px; }
.asset-head .asset-add { background:var(--accent); color:var(--accent-fg); border-color:var(--accent); }
.asset-summary { display:grid; grid-template-columns:1.35fr repeat(3,1fr); gap:8px; margin-bottom:24px; }
.asset-summary > div { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:11px 12px; box-shadow:none; }
.asset-summary span { display:block; color:var(--gray); font:10px 'IBM Plex Mono',monospace; text-transform:uppercase; }
.asset-summary strong { display:block; margin-top:6px; font:700 15px 'IBM Plex Mono',monospace; }
.asset-summary .total { background:var(--ink); color:var(--bg); border-color:var(--ink); box-shadow:3px 3px 0 var(--accent); border-radius:16px; }
.asset-summary .total span { color:var(--accent); }
.asset-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.asset-card { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:15px; box-shadow:3px 3px 0 var(--line); transition:transform .15s ease, box-shadow .15s ease; }
.asset-card:hover { transform:translateY(-2px); box-shadow:4px 5px 0 var(--line); }
.asset-card-top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.asset-kind { color:var(--accent); font:700 9px 'IBM Plex Mono',monospace; text-transform:uppercase; letter-spacing:.08em; }
.asset-card h3 { margin:5px 0 0; font-size:16px; }
.asset-card-top > strong { font:700 16px 'IBM Plex Mono',monospace; text-align:right; }
.asset-meta { border-top:1px dashed var(--line); margin-top:13px; padding-top:10px; color:var(--gray); font:10px 'IBM Plex Mono',monospace; }
.asset-actions { display:flex; gap:7px; justify-content:flex-end; margin-top:14px; flex-wrap:wrap; }
.dashboard-widget { background:var(--paper); border:1.5px solid var(--line); padding:13px; margin-bottom:12px; box-shadow:3px 3px 0 var(--line); }
.widget-title { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; }
.widget-line { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:11px; }
.widget-line:last-child { border-bottom:0; }
.widget-line strong, .saving-widget strong { font-family:'IBM Plex Mono',monospace; }
.widget-empty { color:var(--gray); font-size:10px; }
.saving-widget strong { display:block; font-size:25px; color:var(--accent); }
.saving-widget span { color:var(--gray); font-size:10px; }
.market-main { font-family:'IBM Plex Mono',monospace; font-size:22px; font-weight:700; margin-bottom:8px; }
.market-main span { color:var(--gray); font-family:'Space Grotesk',sans-serif; font-size:10px; font-weight:600; margin-left:4px; }
.market-note { color:var(--gray); font-size:9px; margin-top:8px; }
.market-widget small { font-family:'IBM Plex Mono',monospace; font-size:9px; }
.market-change.up { color:var(--pos-dk); }
.market-change.down { color:var(--neg-dk); }
.widget-count { float:right; color:var(--gray); font-family:'IBM Plex Mono',monospace; font-size:9px; font-weight:500; }
.alert-monitor-row { display:block; width:100%; padding:9px 0; border:0; border-bottom:1px dashed var(--line); background:transparent; color:var(--ink); text-align:left; }
.alert-monitor-row:last-child { border-bottom:0; }
.alert-monitor-row:hover { background:var(--cream); }
.alert-monitor-top { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; }
.alert-monitor-meta { display:block; margin:5px 0; color:var(--gray); font-family:'IBM Plex Mono',monospace; font-size:9px; }
.alert-monitor-bar { display:block; height:6px; overflow:hidden; border:1px solid var(--ink); background:var(--cream); }
.alert-monitor-bar i { display:block; height:100%; background:var(--pos); }
.alert-monitor-bar i.warning { background:var(--yellow); }
.alert-monitor-bar i.danger { background:var(--neg); }
.alert-status { padding:2px 6px; border:1px solid currentColor; font-family:'IBM Plex Mono',monospace; font-size:8px; font-weight:700; white-space:nowrap; }
.alert-status.safe { color:var(--pos-dk); }
.alert-status.warning { color:#a16207; }
.alert-status.danger { color:var(--neg-dk); }
.alert-actions { display:flex; align-items:center; gap:6px; }
.trend-row { display:grid; grid-template-columns:42px 1fr auto; gap:7px; align-items:center; margin:8px 0; font-size:10px; }
.trend-row i { display:block; height:8px; background:var(--cream); border:1px solid var(--line); overflow:hidden; }
.trend-row i b { display:block; height:100%; background:var(--accent); }
.trend-row i b.out { background:var(--neg); }
.widget-picker { display:flex; flex-wrap:wrap; gap:6px; }
@media (max-width:720px) { .asset-head { display:block; } .asset-add { margin-top:14px; } .asset-summary { grid-template-columns:repeat(2,1fr); } .asset-list { grid-template-columns:1fr; } }
.empty::before { content: '◇'; display: block; font-size: 30px; margin-bottom: 12px; opacity: 0.4; }

/* BADGES */
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: 1.5px solid var(--ink); font-family: 'IBM Plex Mono', monospace; }
.badge.premium { background: #facc15; color: #0a0a0a; }
.badge.vip { background: #3b82f6; color: #fff; }
.badge.beta { background: #a855f7; color: #fff; }
.badge.founder { background: #fb923c; color: #0a0a0a; }
.badge.verified { background: #22c55e; color: #0a0a0a; }
.badge.developer { background: #f43f5e; color: #fff; }
.badge-role { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border: 1.5px solid var(--ink); font-family: 'IBM Plex Mono', monospace; }
.badge-role.basic { background: var(--paper); color: var(--ink); }
.badge-role.premium { background: var(--yellow); color: #0a0a0a; }
.badge-role.dev { background: var(--neg); color: #fff; }

/* USER DASHBOARD */
.ud-header { background: var(--ink); color: var(--bg); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); padding: 14px 16px; margin-bottom: 18px; }
.ud-header h1 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.ud-header .sub { font-family: 'IBM Plex Mono', monospace; font-size: 10px; opacity: 0.7; }
.ud-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.ud-stat { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px; text-align: center; }
.ud-stat .l { font-size: 8px; font-weight: 700; text-transform: uppercase; color: var(--gray); letter-spacing: 0.08em; margin-bottom: 4px; }
.ud-stat .v { font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 700; }
.ud-user-card { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 12px; margin-bottom: 10px; }
.ud-user-card .row1 { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 8px; }
.ud-user-card .name-info { flex: 1; min-width: 0; }
.ud-user-card .name-info .n { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-user-card .name-info .u { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--gray); margin-top: 2px; }
.ud-user-card .badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ud-user-card .meta { font-family: 'IBM Plex Mono', monospace; font-size: 9px; color: var(--gray); letter-spacing: 0.04em; margin-bottom: 8px; }
.ud-user-card .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ud-user-card .actions button { flex: 1; min-width: 80px; font-size: 10px; padding: 7px 8px; }

.perm-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); gap: 10px; }
.perm-row:last-child { border-bottom: none; }
.perm-info { flex: 1; min-width: 0; }
.perm-name { font-size: 12px; font-weight: 600; }
.perm-desc { font-size: 10px; color: var(--gray); margin-top: 2px; }
.preset-row { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.role-pick { padding: 10px 8px; background: var(--paper); border: 2px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; text-align: center; }
.role-pick.active { background: var(--ink); color: var(--bg); }
@media print {
  @page { margin: 12mm; }
  body { background: #fff !important; color: #000 !important; padding: 0 !important; }
  .sidebar, .bottom-nav, .fab, .nav-toggle, .topbar, .sync-badge, .toast, .modal-bg,
  .month-nav, .ud-header, .sb-user, .sb-nav, #btnExportPdf { display: none !important; }
  .main { padding: 0 !important; padding-bottom: 0 !important; }
  body.desktop-mode .main { padding-left: 0 !important; padding-right: 0 !important; }
  .main-wrap { max-width: 100% !important; }
  .page { display: none !important; }
  .page.active { display: block !important; }
  .hero, .form-card, .day-group { box-shadow: none !important; }
  .sec-title .act, .sec-title button { display: none !important; }
  .day-group, .form-card { page-break-inside: avoid; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .print-header { display: block !important; }
}
.print-header { display: none; }
@media (min-width: 900px) {
  body.desktop-mode .d-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  body.desktop-mode #dashboardBalanceWidget { grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr); align-items: start; }
  body.desktop-mode #dashboardBalanceWidget > .hero { align-self: start; width: 100%; max-width: 440px; min-width: 0; }
  body.desktop-mode #dashboardBalanceWidget #dashboardSide { min-width: 0; align-self: start; }
  body.desktop-mode .hero-num { font-size: 52px; }
  body.desktop-mode .wallets { grid-template-columns: repeat(4, 1fr); }
  body.desktop-mode .stat-grid { grid-template-columns: repeat(4, 1fr); }
  body.desktop-mode .form-desktop-grid { display: grid; grid-template-columns: 400px 1fr; gap: 20px; align-items: start; }
  body.desktop-mode .ud-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 899px) {
  body.desktop-mode .sidebar { width: 62px; padding: 14px 6px; }
  body.desktop-mode .sb-brand { padding: 0 0 14px; justify-content: center; }
  body.desktop-mode .sb-brand .name, body.desktop-mode .sb-brand .sub { display: none; }
  body.desktop-mode .sb-nav button { justify-content: center; padding: 12px 0; }
  body.desktop-mode .sb-nav button .lbl { display: none; }
  body.desktop-mode .sb-user-info, body.desktop-mode .sb-actions { display: none; }
  body.desktop-mode .sb-user-row { justify-content: center; padding: 8px 0; }
  body.desktop-mode .sb-user-role { display: none; }
  body.desktop-mode .main { padding-left: 78px; padding-right: 14px; }
}


/* MYDOMPET PUBLIC LANDING */
.welcome { --lp-ink:#10140e; --lp-paper:#f8f8f2; --lp-green:#b8f36b; --lp-muted:#72766c; --lp-line:#e3e5da; --lp-display:'Space Grotesk',sans-serif; min-height:100vh; width:100%; display:none; flex-direction:initial; align-items:stretch; justify-content:initial; padding:0; overflow:hidden; background:var(--lp-paper); color:var(--lp-ink); letter-spacing:-.025em; }
.welcome.show { display:block; }
.welcome::before { opacity:.34; background-image:radial-gradient(circle at 1px 1px,#a8b09f 1px,transparent 0); background-size:24px 24px; mask-image:linear-gradient(to bottom,black,transparent 72%); }
.lp-nav,.lp-hero,.lp-features,.lp-how,.lp-footer { position:relative; z-index:1; }
.lp-nav { max-width:1320px; height:88px; margin:0 auto; padding:0 6.4%; display:flex; align-items:center; justify-content:space-between; }
.lp-brand { color:var(--lp-ink); text-decoration:none; display:flex; align-items:center; gap:10px; font-size:19px; font-weight:700; letter-spacing:-.07em; }
.lp-mark { width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:11px; background:var(--lp-ink); color:var(--lp-green); font:700 19px var(--lp-display); cursor:pointer; transform:rotate(-4deg); transition:transform .2s cubic-bezier(.23,1,.32,1); }
.lp-mark:hover { transform:rotate(0) translateY(-2px); }
.lp-brand-period { color:#74b932; }
.lp-links,.lp-nav-actions { display:flex; align-items:center; gap:34px; }
.lp-links a,.lp-login { text-decoration:none; color:#454a40; font-size:13px; font-weight:600; background:none; border:0; transition:color .18s ease; }
.lp-links a:hover,.lp-login:hover { color:#6aa72e; }
.lp-nav-actions { gap:22px; }
.lp-nav-cta { border:0; border-radius:999px; background:var(--lp-ink); color:#fff; padding:12px 18px; font-size:12px; font-weight:700; transition:transform .18s cubic-bezier(.23,1,.32,1),background .18s; }
.lp-nav-cta span { color:var(--lp-green); margin-left:8px; }
.lp-nav-cta:hover,.lp-primary:hover { transform:translateY(-2px); background:#252b20; }
.lp-nav-cta:active,.lp-primary:active { transform:scale(.97); }
.lp-hero { max-width:1320px; min-height:630px; margin:0 auto; padding:66px 6.4% 84px; display:grid; grid-template-columns:.94fr 1.06fr; align-items:center; gap:2.5%; }
.lp-copy { padding:0 0 6px 2%; position:relative; z-index:2; }
.lp-eyebrow { display:flex; align-items:center; gap:9px; font:600 10px 'IBM Plex Mono',monospace; letter-spacing:.105em; color:#66705c; }
.lp-live-dot { width:7px; height:7px; border-radius:50%; background:#83cb44; box-shadow:0 0 0 4px #83cb4428; }
.lp-copy h1 { margin:28px 0 20px; font-size:clamp(48px,6vw,82px); line-height:.99; letter-spacing:-.075em; font-weight:600; }
.lp-copy h1 span { color:#79816f; }
.lp-copy h1 i { color:#78bb3f; font-style:normal; }
.lp-lede { max-width:420px; color:#6d7268; font-size:16px; line-height:1.72; letter-spacing:-.015em; }
.lp-actions { display:flex; align-items:center; gap:23px; margin-top:30px; }
.lp-primary { min-height:51px; padding:0 21px; border:0; border-radius:999px; background:var(--lp-ink); color:#fff; font-size:13px; font-weight:700; transition:transform .2s cubic-bezier(.23,1,.32,1),background .2s; }
.lp-primary span { color:var(--lp-green); margin-left:12px; }
.lp-secondary { display:flex; gap:9px; align-items:center; color:#454a40; font-size:12px; font-weight:600; text-decoration:none; }
.lp-play { width:28px; height:28px; display:grid; place-items:center; border:1px solid #d4d8cc; border-radius:50%; font-size:12px; }
.lp-note { display:flex; gap:11px; align-items:center; margin-top:46px; color:#777b71; font-size:11px; line-height:1.55; }
.lp-note strong { color:#33382f; font-weight:600; }
.lp-note-icon { display:grid; place-items:center; width:28px; height:28px; background:#ebf4df; border-radius:50%; color:#6eaa37; font-size:15px; }
.lp-showcase { min-height:540px; position:relative; display:grid; place-items:center; isolation:isolate; }
.lp-showcase::before { content:''; position:absolute; width:min(92%,510px); aspect-ratio:1; background:radial-gradient(circle,#edf4df 0,#eef2e5 43%,transparent 70%); z-index:-2; }
.lp-orbit { position:absolute; border:1px solid #dce4d1; border-radius:50%; z-index:-1; }
.lp-orbit-one { width:440px; height:440px; transform:rotate(-22deg) scaleY(.78); }
.lp-orbit-two { width:540px; height:540px; transform:rotate(28deg) scaleY(.8); opacity:.57; }
.lp-device { width:328px; min-height:476px; padding:18px 17px 8px; position:relative; z-index:1; border:1px solid #e5e8de; border-radius:24px; background:#fff; box-shadow:0 28px 75px #252d1d22,0 4px 12px #252d1d0c; animation:lp-device-float 6s ease-in-out infinite; }
.lp-device-top { display:flex; justify-content:space-between; align-items:center; }
.lp-mini-brand { display:flex; align-items:center; gap:6px; font-size:10px; font-weight:700; }
.lp-mini-brand b { width:20px; height:20px; display:grid; place-items:center; border-radius:6px; background:#11170e; color:#b8f36b; font-size:11px; }
.lp-avatar { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#ecf2e5; color:#4c6d31; font-size:10px; font-weight:700; }
.lp-device-greeting { margin:17px 0 10px; color:#74796f; font-size:10px; }.lp-device-greeting span { color:#8ecb4a; }
.lp-balance-card { position:relative; overflow:hidden; padding:15px 14px 10px; border-radius:15px; background:#11170e; color:#fff; }
.lp-balance-head { display:flex; justify-content:space-between; color:#bdc5b5; font-size:9px; }.lp-eye { font-size:10px; color:#b8f36b; }
.lp-balance-value { margin-top:9px; font:600 24px var(--lp-display); letter-spacing:-.05em; }
.lp-balance-foot { display:flex; align-items:center; gap:6px; margin-top:4px; color:#b7c0ad; font-size:8px; }
.lp-balance-pill { color:#b8f36b; }
.lp-chart { display:block; width:100%; height:75px; margin-top:9px; overflow:visible; }
.lp-chart-fill { fill:url(#chartFill); }.lp-chart-line { fill:none; stroke:#b8f36b; stroke-width:2.3; stroke-linecap:round; stroke-dasharray:460; stroke-dashoffset:460; animation:lp-chart-draw 2.1s .5s cubic-bezier(.23,1,.32,1) forwards; }.lp-chart-point { fill:#b8f36b; stroke:#11170e; stroke-width:2; }
.lp-chart-labels { display:flex; justify-content:space-between; color:#a4ad9a; font:7px 'IBM Plex Mono',monospace; }
.lp-quick-title { display:flex; justify-content:space-between; align-items:center; margin:16px 2px 7px; font-size:10px; }.lp-quick-title span { color:#777c72; font-size:8px; }.lp-quick-title b { margin-left:3px; color:#23291e; }
.lp-summary-row { display:flex; align-items:center; gap:8px; padding:8px 1px; border-bottom:1px solid #f0f1ec; }.lp-summary-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; font-weight:700; }.lp-income { color:#57882d; background:#edf6e2; }.lp-expense { color:#cc7755; background:#fbefe9; }
.lp-summary-name { flex:1; display:flex; flex-direction:column; gap:2px; font-size:8px; }.lp-summary-name small { color:#92968e; font-size:7px; }.lp-summary-row>strong { font:600 9px 'IBM Plex Mono',monospace; }
.lp-device-bottom { display:flex; justify-content:space-between; align-items:center; padding:11px 7px 1px; color:#92968e; font-size:13px; text-align:center; }.lp-device-bottom>span:not(.lp-add) { display:flex; flex-direction:column; align-items:center; gap:3px; }.lp-device-bottom small { font-size:6px; }.lp-device-bottom .active { color:#6eae35; }.lp-device-bottom .lp-add { display:grid; place-items:center; width:27px; height:27px; margin-top:-15px; border:4px solid white; border-radius:50%; background:#b8f36b; color:#17200f; font-weight:700; box-sizing:content-box; }
.lp-float-tag { position:absolute; z-index:3; display:flex; align-items:center; gap:9px; padding:11px 13px; border:1px solid #e7eadf; border-radius:14px; background:#fff; box-shadow:0 12px 32px #252d1d16; animation:lp-tag-float 5s ease-in-out infinite; }.lp-float-tag>span:nth-child(2) { display:flex; flex-direction:column; gap:4px; }.lp-float-tag small { color:#858a7e; font-size:8px; }.lp-float-tag strong { color:#20251c; font:600 10px 'IBM Plex Mono',monospace; white-space:nowrap; }.lp-tag-icon { width:27px; height:27px; display:grid; place-items:center; border-radius:9px; background:#edf6e2; color:#69a537; font-size:14px; }.lp-float-tag>b { margin-left:3px; color:#5e9831; font:600 8px 'IBM Plex Mono',monospace; }.lp-tag-top { top:11%; right:-1%; }.lp-tag-bottom { left:-3%; bottom:13%; animation-delay:-2.3s; }.lp-target-icon { color:#b78343; background:#fff4de; }.lp-tag-progress { width:49px; height:5px; margin-left:4px; overflow:hidden; border-radius:9px; background:#edf0e8; }.lp-tag-progress i { display:block; width:68%; height:100%; border-radius:inherit; background:#b8f36b; }
.lp-spark { position:absolute; z-index:2; color:#89c74d; animation:lp-spark 3.4s ease-in-out infinite; }.lp-spark-a { top:21%; left:10%; font-size:25px; }.lp-spark-b { right:10%; bottom:25%; font-size:19px; animation-delay:-1.6s; }
.lp-preview-label { position:absolute; bottom:1%; right:8%; display:flex; align-items:center; gap:7px; color:#92988b; font:8px 'IBM Plex Mono',monospace; letter-spacing:.08em; }.lp-preview-label span { width:6px; height:6px; background:#9bc866; border-radius:50%; }
.lp-ribbon { position:relative; z-index:1; display:flex; justify-content:center; align-items:center; gap:32px; overflow:hidden; padding:17px 15px; background:#b8f36b; color:#27351d; font:600 10px 'IBM Plex Mono',monospace; letter-spacing:.13em; white-space:nowrap; }.lp-ribbon i { font-style:normal; font-size:15px; }
.lp-features { max-width:1320px; margin:0 auto; padding:112px 7% 120px; scroll-margin-top:25px; }
.lp-section-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:43px; }.lp-section-heading h2,.lp-how h2,.lp-final-cta h2 { margin-top:15px; font-size:clamp(38px,5vw,59px); line-height:1.02; letter-spacing:-.07em; font-weight:600; }.lp-section-heading h2 em,.lp-final-cta h2 em { color:#858d79; font-style:normal; }.lp-section-heading>p { max-width:320px; margin-bottom:5px; color:#777c72; font-size:13px; line-height:1.75; }
.lp-feature-grid { display:grid; grid-template-columns:1.08fr .92fr .92fr; gap:15px; }.lp-feature-card { min-height:363px; display:flex; flex-direction:column; padding:23px; border:1px solid #e6e9df; border-radius:19px; background:#fff; overflow:hidden; }.lp-feature-index { color:#8c9285; font:9px 'IBM Plex Mono',monospace; letter-spacing:.08em; }.lp-feature-card h3 { margin-top:auto; padding-top:22px; font-size:18px; letter-spacing:-.045em; }.lp-feature-card>p { margin-top:9px; max-width:290px; color:#777c72; font-size:11px; line-height:1.65; }.lp-feature-illustration { margin-top:22px; }.lp-ledger { padding:14px; border:1px solid #edf0e8; border-radius:13px; background:#fcfdf9; }.lp-ledger-top { display:flex; justify-content:space-between; color:#969b91; font:8px 'IBM Plex Mono',monospace; }.lp-ledger-entry { display:flex; align-items:center; gap:8px; margin-top:12px; }.lp-entry-icon { width:27px; height:27px; display:grid; place-items:center; border-radius:8px; background:#eff4e8; color:#758e5a; font-size:11px; }.lp-ledger-entry>span { flex:1; display:flex; flex-direction:column; gap:3px; }.lp-ledger-entry strong { font-size:8px; }.lp-ledger-entry small { color:#969b91; font-size:7px; }.lp-entry-amount { white-space:nowrap; font:600 7px 'IBM Plex Mono',monospace; }.lp-entry-amount.positive { color:#589035; }
.lp-feature-green { background:#e9f4dc; border-color:#dfeaca; }.lp-feature-green .lp-feature-index { color:#6f845a; }.lp-pie-wrap { display:flex; justify-content:center; align-items:center; gap:17px; min-height:147px; margin:16px 0 0; }.lp-pie { width:116px; height:116px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#20281b 0 39%,#83bb4b 39% 66%,#d5e8bf 66% 84%,#f2d596 84%); position:relative; }.lp-pie::before { content:''; position:absolute; inset:12px; border-radius:50%; background:#e9f4dc; }.lp-pie>div { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:3px; }.lp-pie strong { font:600 11px 'IBM Plex Mono',monospace; }.lp-pie small { color:#7d8772; font-size:7px; }.lp-pie-legend { display:grid; gap:8px; color:#68745c; font-size:8px; }.lp-pie-legend span { display:flex; align-items:center; gap:5px; }.lp-pie-legend i { width:6px; height:6px; background:#20281b; border-radius:50%; }.lp-pie-legend span:nth-child(2) i { background:#83bb4b; }.lp-pie-legend span:nth-child(3) i { background:#d5e8bf; }
.lp-feature-dark { color:#f6f8f1; background:#171d14; border-color:#171d14; }.lp-feature-dark .lp-feature-index { color:#a0ab96; }.lp-feature-dark>p { color:#aeb5a6; }.lp-goal-visual { position:relative; min-height:140px; margin-top:19px; display:grid; place-items:center; }.lp-goal-sun { position:absolute; right:22px; top:0; color:#b8f36b; font-size:39px; animation:lp-spark 5s linear infinite; }.lp-goal-card { width:85%; padding:16px; border:1px solid #3e4838; border-radius:12px; background:#222a1e; box-shadow:0 13px 30px #0003; transform:rotate(-3deg); }.lp-goal-card small,.lp-goal-card>span { display:block; color:#b4c0a8; font:7px 'IBM Plex Mono',monospace; }.lp-goal-card strong { display:block; margin:8px 0 12px; font-size:12px; }.lp-goal-bar { height:6px; overflow:hidden; border-radius:8px; background:#404a39; }.lp-goal-bar i { display:block; height:100%; width:68%; border-radius:inherit; background:#b8f36b; }.lp-goal-card>span { margin-top:8px; }.lp-goal-card>span b { color:#b8f36b; }
.lp-how { max-width:1320px; margin:0 auto; padding:78px 7% 94px; display:grid; grid-template-columns:1fr 1fr; gap:10%; background:#f0f2e9; border-radius:25px; scroll-margin-top:20px; }.lp-how-copy h2 { margin:17px 0; }.lp-how-copy>p { max-width:350px; margin-bottom:23px; color:#747a6c; font-size:13px; line-height:1.75; }.lp-steps { display:grid; align-content:center; }.lp-step { display:grid; grid-template-columns:35px 1fr 20px; align-items:start; gap:13px; padding:22px 0; border-bottom:1px solid #dce1d3; }.lp-step:last-child { border-bottom:0; }.lp-step>span { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#647d4d; font:600 10px 'IBM Plex Mono',monospace; }.lp-step strong { font-size:13px; }.lp-step p { margin-top:6px; color:#777d70; font-size:10px; line-height:1.6; }.lp-step>i { color:#8ca776; font-style:normal; }
.lp-final-cta { position:relative; margin:87px auto 68px; padding:35px 20px; text-align:center; }.lp-final-cta .lp-eyebrow { justify-content:center; }.lp-final-cta h2 { margin:16px 0 23px; }.lp-final-star { position:absolute; top:4px; right:20%; color:#a4ce77; font-size:35px; animation:lp-spark 4s ease-in-out infinite; }.lp-final-cta>p { margin-top:15px; color:#83877e; font-size:10px; }.lp-final-cta>p button { border:0; background:none; color:#30372b; font:600 10px var(--lp-display); text-decoration:underline; text-underline-offset:3px; }
.lp-footer { max-width:1320px; min-height:77px; margin:auto; padding:15px 6.4%; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--lp-line); color:#858a7e; font-size:9px; }.lp-footer .lp-brand { font-size:14px; }.lp-footer .lp-mark { width:26px; height:26px; font-size:14px; border-radius:8px; }
.js-register-cta,.js-login-cta { cursor:pointer; }
@keyframes lp-device-float { 0%,100% { transform:translateY(0) rotate(1deg); } 50% { transform:translateY(-10px) rotate(-.7deg); } }
@keyframes lp-tag-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
@keyframes lp-chart-draw { to { stroke-dashoffset:0; } }
@keyframes lp-spark { 0%,100% { transform:rotate(0) scale(1); opacity:.72; } 50% { transform:rotate(22deg) scale(1.15); opacity:1; } }
@media (max-width:1000px) { .lp-nav { padding:0 5%; }.lp-hero { padding-left:5%; padding-right:5%; grid-template-columns:.95fr 1.05fr; gap:0; }.lp-copy h1 { font-size:clamp(48px,7vw,69px); }.lp-showcase { transform:scale(.92); }.lp-tag-top { right:-5%; }.lp-tag-bottom { left:-5%; }.lp-ribbon { gap:23px; }.lp-features { padding-left:5%; padding-right:5%; }.lp-feature-card { padding:18px; }.lp-feature-grid { gap:11px; }.lp-section-heading h2 { font-size:48px; } }
@media (max-width:700px) { .lp-nav { height:72px; padding:0 22px; }.lp-brand { font-size:17px; }.lp-mark { width:31px; height:31px; }.lp-links { display:none; }.lp-nav-actions { gap:13px; }.lp-login { font-size:11px; }.lp-nav-cta { padding:10px 13px; font-size:10px; }.lp-hero { min-height:0; padding:48px 23px 45px; grid-template-columns:1fr; gap:6px; }.lp-copy { padding:0; }.lp-copy h1 { margin:23px 0 15px; font-size:clamp(51px,12vw,74px); }.lp-lede { max-width:390px; font-size:14px; }.lp-actions { gap:17px; margin-top:23px; }.lp-primary { min-height:48px; padding:0 17px; font-size:12px; }.lp-note { margin-top:28px; }.lp-showcase { width:100%; min-height:470px; margin:11px auto 0; transform:scale(.93); transform-origin:top center; }.lp-device { width:310px; min-height:458px; }.lp-orbit-one { width:380px; height:380px; }.lp-orbit-two { width:445px; height:445px; }.lp-tag-top { top:8%; right:-4%; }.lp-tag-bottom { bottom:11%; left:-5%; }.lp-preview-label { bottom:0; right:2%; font-size:7px; }.lp-ribbon { justify-content:flex-start; gap:25px; padding:15px 22px; font-size:9px; }.lp-ribbon span:nth-of-type(n+5),.lp-ribbon i:nth-of-type(n+4) { display:none; }.lp-features { padding:77px 22px 81px; }.lp-section-heading { display:block; margin-bottom:28px; }.lp-section-heading h2,.lp-how h2,.lp-final-cta h2 { font-size:43px; }.lp-section-heading>p { margin-top:17px; }.lp-feature-grid { grid-template-columns:1fr; gap:12px; }.lp-feature-card { min-height:325px; padding:21px; }.lp-feature-large { min-height:350px; }.lp-feature-green,.lp-feature-dark { min-height:318px; }.lp-pie-wrap { justify-content:flex-start; padding-left:10%; }.lp-how { margin:0 12px; padding:57px 23px 39px; grid-template-columns:1fr; gap:26px; border-radius:19px; }.lp-how-copy h2 { margin:15px 0; }.lp-how-copy>p { font-size:12px; }.lp-step { padding:17px 0; }.lp-final-cta { margin:61px auto 52px; padding:25px 15px; }.lp-final-star { top:0; right:8%; font-size:27px; }.lp-final-cta h2 { font-size:40px; }.lp-footer { min-height:90px; padding:15px 22px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }.lp-footer>span:nth-of-type(1) { text-align:right; }.lp-footer>span:nth-of-type(2) { grid-column:1/-1; } }
@media (max-width:380px) { .lp-nav { padding:0 16px; }.lp-brand { font-size:15px; }.lp-nav-actions { gap:9px; }.lp-nav-cta { padding:9px 10px; }.lp-hero { padding-left:18px; padding-right:18px; }.lp-copy h1 { font-size:49px; }.lp-showcase { margin-left:-8px; width:calc(100% + 16px); transform:scale(.84); transform-origin:top center; margin-bottom:-48px; }.lp-features { padding-left:18px; padding-right:18px; }.lp-section-heading h2,.lp-how h2 { font-size:39px; } }
@media (prefers-reduced-motion:reduce) { .welcome *, .welcome *::before, .welcome *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }


/* MATCH THE REAL MYDOMPET DASHBOARD INSIDE THE LANDING MOCKUP */
.lp-original-tagline { display:block; color:#52525b; font:600 12px 'Space Grotesk',sans-serif; letter-spacing:0; text-transform:none; }
.lp-original-tagline::before { content:''; display:inline-block; width:8px; height:8px; margin:0 9px 1px 0; background:#22c55e; box-shadow:0 0 0 4px #22c55e24; border-radius:50%; }
.lp-device.lp-app-preview { width:clamp(325px,34vw,390px); min-height:0; padding:0; overflow:hidden; border:2px solid #0a0a0a; border-radius:18px; background:#fef3c7; box-shadow:6px 6px 0 #22c55e, 12px 19px 48px #17171720; color:#0a0a0a; animation:lp-device-float 6s ease-in-out infinite; }
.lp-app-topbar { min-height:44px; padding:0 11px; display:flex; align-items:center; justify-content:space-between; background:#0a0a0a; color:#fef3c7; border-bottom:2px solid #0a0a0a; }
.lp-app-brand,.lp-app-topmeta { display:flex; align-items:center; gap:7px; }.lp-app-brand { font:700 9px 'Space Grotesk',sans-serif; letter-spacing:.06em; }.lp-app-brand-mark { width:10px; height:10px; background:#22c55e; }.lp-app-topmeta { gap:6px; }.lp-app-local { padding:3px 5px; border:1px solid #facc15; background:#facc15; color:#0a0a0a; font:700 6px 'IBM Plex Mono',monospace; }.lp-app-date { color:#d4d4d8; font:7px 'IBM Plex Mono',monospace; }.lp-app-menu { width:20px; height:19px; display:grid; align-content:center; justify-items:center; gap:3px; border:1px solid #666; }.lp-app-menu i { width:9px; height:1px; background:#fef3c7; }
.lp-app-screen { padding:10px 11px 10px; background:#fef3c7; }.lp-app-hero-card { padding:12px 13px 11px; border:0; border-radius:13px; background:#0a0a0a; color:#fef3c7; box-shadow:4px 4px 0 #22c55e; position:relative; overflow:hidden; }.lp-app-hero-card::after { content:''; position:absolute; width:85px; height:85px; right:-39px; bottom:-46px; border-radius:50%; background:#22c55e; opacity:.23; }.lp-app-hero-label { display:flex; align-items:center; justify-content:space-between; color:#fef3c7; font:700 7px 'Space Grotesk',sans-serif; letter-spacing:.12em; }.lp-app-eye { width:18px; height:16px; display:grid; place-items:center; border-radius:99px; background:#ffffff1f; }.lp-app-eye i { width:8px; height:6px; position:relative; border:1px solid #fef3c7; border-radius:80% 20%; transform:rotate(45deg); }.lp-app-eye i::after { content:''; position:absolute; top:1px; left:2px; width:2px; height:2px; border-radius:50%; background:#fef3c7; }.lp-app-balance { position:relative; z-index:1; margin-top:10px; font:700 clamp(21px,2.1vw,27px) 'IBM Plex Mono',monospace; letter-spacing:-.055em; white-space:nowrap; }.lp-app-hero-caption { position:relative; z-index:1; margin-top:6px; color:#fef3c7ad; font-size:8px; }
.lp-app-stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:12px 0 15px; }.lp-app-stat { min-width:0; padding:9px; border:1.5px solid #0a0a0a; background:#fff; box-shadow:2px 2px 0 #0a0a0a; }.lp-app-stat small { display:block; min-height:17px; color:#52525b; font:700 6px 'Space Grotesk',sans-serif; letter-spacing:.025em; }.lp-app-stat strong { display:block; overflow:hidden; text-overflow:ellipsis; color:#0a0a0a; font:700 clamp(9px,1.05vw,12px) 'IBM Plex Mono',monospace; white-space:nowrap; }.lp-app-stat strong.lp-app-positive { color:#15803d; }.lp-app-stat strong.lp-app-negative { color:#be123c; }
.lp-app-section-title { display:flex; align-items:center; gap:6px; margin:12px 0 8px; font:700 8px 'Space Grotesk',sans-serif; letter-spacing:.12em; }.lp-app-section-title>span { width:8px; height:8px; flex:none; background:#0a0a0a; }.lp-app-section-title small { margin-left:auto; color:#71717a; font:8px 'IBM Plex Mono',monospace; letter-spacing:0; }.lp-app-wallet-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }.lp-app-wallet { min-width:0; padding:8px; border:1.5px solid #0a0a0a; background:#fff; box-shadow:2px 2px 0 #0a0a0a; }.lp-app-wallet>small { display:flex; align-items:center; gap:5px; margin-bottom:6px; overflow:hidden; color:#0a0a0a; font:700 7px 'Space Grotesk',sans-serif; letter-spacing:.08em; white-space:nowrap; }.lp-app-wallet>small i { width:6px; height:6px; border:1px solid #0a0a0a; background:#22c55e; }.lp-app-wallet>strong { display:block; overflow:hidden; font:700 clamp(9px,1.08vw,12px) 'IBM Plex Mono',monospace; letter-spacing:-.05em; white-space:nowrap; }.lp-app-wallet>em { display:block; margin-top:6px; color:#52525b; font:700 6px 'Space Grotesk',sans-serif; letter-spacing:.07em; font-style:normal; }
.lp-app-tx-title { margin-top:17px; }.lp-app-day-group { border:1.5px solid #0a0a0a; background:#fff; box-shadow:3px 3px 0 #0a0a0a; }.lp-app-day-head { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:7px 8px; border-bottom:1.5px solid #0a0a0a; background:#fffbeb; }.lp-app-day-head b { display:flex; align-items:center; gap:5px; font:700 7px 'Space Grotesk',sans-serif; }.lp-app-day-head i { padding:2px 4px; background:#0a0a0a; color:#fef3c7; font:700 6px 'IBM Plex Mono',monospace; font-style:normal; }.lp-app-day-head strong { padding:3px 5px; border:1.5px solid #0a0a0a; background:#fff1f2; color:#be123c; font:700 7px 'IBM Plex Mono',monospace; white-space:nowrap; }.lp-app-tx-row { min-height:40px; display:grid; grid-template-columns:35px 1fr auto; align-items:center; gap:6px; padding:6px 8px; border-bottom:1px solid #e5e5e5; }.lp-app-tx-row:last-child { border-bottom:0; }.lp-app-tx-row time { color:#52525b; font:8px 'IBM Plex Mono',monospace; }.lp-app-tx-row div { min-width:0; }.lp-app-tx-row div b,.lp-app-tx-row div small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.lp-app-tx-row div b { font-size:9px; }.lp-app-tx-row div small { margin-top:3px; color:#52525b; font:6px 'Space Grotesk',sans-serif; letter-spacing:.03em; }.lp-app-tx-row>strong { color:#0a0a0a; font:700 7px 'IBM Plex Mono',monospace; white-space:nowrap; }
.lp-app-bottom-nav { min-height:49px; margin:0 8px 8px; padding:5px 4px; display:grid; grid-template-columns:repeat(5,1fr); gap:2px; align-items:center; border:1.5px solid #0a0a0a; background:#0a0a0a; box-shadow:3px 3px 0 #22c55e; border-radius:13px; color:#fef3c7; }.lp-app-bottom-nav span { display:flex; flex-direction:column; align-items:center; gap:3px; opacity:.58; font:700 5px 'Space Grotesk',sans-serif; }.lp-app-bottom-nav span b { font:700 13px 'IBM Plex Mono',monospace; line-height:1; }.lp-app-bottom-nav span.selected { opacity:1; }.lp-app-bottom-nav span.selected b { color:#22c55e; }
.lp-showcase::before { background:radial-gradient(circle,#fef3c7 0,#fef3c7 43%,transparent 70%); }.lp-orbit { border-color:#e6e3ca; }.lp-orbit-one { width:450px; height:450px; }.lp-orbit-two { width:540px; height:540px; }.lp-preview-label { right:5%; bottom:-1%; color:#71717a; }.lp-preview-label span { background:#22c55e; }
@media (max-width:1000px) { .lp-device.lp-app-preview { width:clamp(310px,39vw,365px); }.lp-app-balance { font-size:22px; }.lp-app-stat strong,.lp-app-wallet>strong { font-size:10px; } }
@media (max-width:700px) { .lp-showcase { min-height:585px; transform:scale(.9); margin-bottom:-42px; }.lp-device.lp-app-preview { width:350px; }.lp-app-balance { font-size:25px; }.lp-app-stat strong,.lp-app-wallet>strong { font-size:11px; }.lp-app-screen { padding:11px 12px; }.lp-preview-label { bottom:-5%; right:1%; } }
@media (max-width:380px) { .lp-showcase { transform:scale(.82); min-height:560px; margin-bottom:-64px; }.lp-device.lp-app-preview { width:350px; } }
.lp-preview-label { z-index:2; bottom:-5%; right:4%; padding:5px 8px; border:1px solid #e3e5da; border-radius:999px; background:#f8f8f2ee; }
@media (max-width:700px) { .lp-preview-label { bottom:-6%; right:2%; } }


/* FACTUAL FEATURE COPY — NO INVENTED APP SCREENSHOTS */
.lp-copy h1 i { display:none; }
.lp-copy h1 span { color:#79816f; }
.lp-feature-grid.lp-real-features { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.lp-real-features .lp-feature-card { min-height:315px; padding:23px; }
.lp-real-icon { width:47px; height:47px; margin:26px 0 7px; display:grid; place-items:center; border:2px solid #10140e; background:#b8f36b; box-shadow:3px 3px 0 #10140e; color:#10140e; font:700 22px 'IBM Plex Mono',monospace; }
.lp-real-features .lp-feature-card h3 { margin-top:13px; padding-top:0; font-size:20px; }
.lp-real-features .lp-feature-card>p { margin-top:10px; max-width:unset; font-size:12px; line-height:1.7; }
.lp-real-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:19px; }
.lp-real-tags span { padding:5px 8px; border:1px solid #dfe4d7; border-radius:999px; background:#f6f8f1; color:#59624f; font:8px 'IBM Plex Mono',monospace; }
.lp-feature-note { margin-top:11px; color:#858a7e; font-size:9px; line-height:1.5; }
@media (max-width:700px) { .lp-feature-grid.lp-real-features { grid-template-columns:1fr; }.lp-real-features .lp-feature-card { min-height:0; }.lp-real-icon { margin-top:20px; } }


/* CLEAN SINGLE HEADLINE AND FACTUAL PRODUCT FEATURES */
.lp-copy h1 { margin-top:0; }
.lp-copy h1 i { display:none; }
.lp-feature-grid.lp-real-features { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:14px; }
.lp-real-features .lp-feature-card { min-height:294px; padding:21px; border-radius:16px; transition:transform .2s ease, box-shadow .2s ease; }
.lp-real-features .lp-feature-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px #1f261414; }
.lp-real-icon { width:44px; height:44px; margin:23px 0 5px; display:grid; place-items:center; border:1.5px solid #10140e; border-radius:12px; background:#b8f36b; box-shadow:3px 3px 0 #10140e; color:#10140e; font:700 16px 'IBM Plex Mono',monospace; }
.lp-real-features .lp-feature-card h3 { margin-top:13px; padding-top:0; font-size:18px; }
.lp-real-features .lp-feature-card>p { margin-top:9px; max-width:unset; font-size:11px; line-height:1.65; }
.lp-real-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:auto; padding-top:15px; }
.lp-real-tags span { padding:5px 7px; border:1px solid #dfe4d7; border-radius:999px; background:#f6f8f1; color:#59624f; font:8px 'IBM Plex Mono',monospace; }
.lp-feature-note { margin-top:9px; color:#858a7e; font-size:9px; line-height:1.45; }
@media (max-width:1000px) and (min-width:701px) { .lp-feature-grid.lp-real-features { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px) { .lp-copy h1 { margin-top:0; }.lp-feature-grid.lp-real-features { grid-template-columns:1fr; }.lp-real-features .lp-feature-card { min-height:0; padding:20px; }.lp-real-icon { margin-top:18px; }.lp-real-tags { margin-top:0; } }

/* BALANCED DESKTOP DASHBOARD AND READABLE LANDING TYPE */
@media (min-width:701px) {
  .lp-brand { font-size:21px; }
  .lp-links a,.lp-login { font-size:15px; }
  .lp-nav-cta { font-size:14px; padding:13px 20px; }
  .lp-eyebrow { font-size:12px; }
  .lp-lede { max-width:470px; font-size:18px; line-height:1.7; }
  .lp-primary { min-height:54px; font-size:15px; padding:0 23px; }
  .lp-secondary { font-size:14px; }
  .lp-note { font-size:14px; }
  .lp-ribbon { font-size:12px; }
  .lp-section-heading>p { font-size:15px; }
  .lp-real-features .lp-feature-card h3 { font-size:20px; }
  .lp-real-features .lp-feature-card>p { font-size:14px; }
  .lp-real-tags span { font-size:10px; }
  .lp-feature-note { font-size:11px; }
  .lp-how-copy>p { font-size:15px; }
  .lp-step strong { font-size:16px; }
  .lp-step p { font-size:14px; }
  .lp-final-cta>p,.lp-final-cta>p button { font-size:13px; }
  .lp-footer { font-size:12px; }
}
@media (max-width:700px) {
  .lp-brand { font-size:18px; }
  .lp-login { font-size:12px; }
  .lp-nav-cta { font-size:12px; }
  .lp-lede { font-size:16px; }
  .lp-primary { font-size:13px; }
  .lp-secondary { font-size:13px; }
  .lp-note { font-size:13px; }
  .lp-ribbon { font-size:10px; }
  .lp-section-heading>p { font-size:14px; }
  .lp-real-features .lp-feature-card h3 { font-size:19px; }
  .lp-real-features .lp-feature-card>p { font-size:14px; }
  .lp-real-tags span { font-size:10px; }
  .lp-feature-note { font-size:11px; }
  .lp-how-copy>p { font-size:14px; }
  .lp-step strong { font-size:15px; }
  .lp-step p { font-size:13px; }
  .lp-final-cta>p,.lp-final-cta>p button { font-size:12px; }
  .lp-footer { font-size:11px; }
}
@media (max-width:380px) {
  .lp-copy h1 { font-size:clamp(40px, 12.4vw, 47px); }
  .lp-nav-cta { font-size:11px; }
  .lp-lede { font-size:15px; }
  .lp-actions { gap:10px; }
  .lp-primary,.lp-secondary { font-size:12px; }
  .lp-note { font-size:11px; }
}


/* BEGIN AUTH UI REDESIGN */
.auth { --auth-ink:#10140e; --auth-muted:#74796f; --auth-paper:#fffefa; --auth-line:#e5e8de; --auth-accent:#b8f36b; position:relative; isolation:isolate; display:none; align-items:center; justify-content:center; min-height:100vh; min-height:100svh; width:100%; padding:30px 20px; overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling:touch; background:#f7f8f2; color:var(--auth-ink); font-family:'Space Grotesk',sans-serif; letter-spacing:-.02em; }
.auth.show { display:flex; }
.auth::before { content:''; position:absolute; inset:0; z-index:-2; background-image:radial-gradient(circle at 1px 1px,#b6bdad 1px,transparent 0); background-size:24px 24px; opacity:.22; mask-image:linear-gradient(to bottom,#000,transparent 85%); pointer-events:none; }
.auth::after { content:''; position:absolute; width:min(68vw,670px); aspect-ratio:1; right:-27%; top:50%; z-index:-1; transform:translateY(-50%); border-radius:50%; background:radial-gradient(circle,#eaf4dc 0,#f1f5e9 43%,transparent 70%); pointer-events:none; }
.auth-wrap { width:min(100%,454px); margin:auto; position:relative; z-index:1; }
.auth-back { width:42px; height:42px; display:grid; place-items:center; margin:0 0 16px; border:1px solid #dfe3d7; border-radius:13px; background:#ffffffd9; box-shadow:0 4px 12px #18200e0d; color:var(--auth-ink); font-size:19px; transition:transform .18s,background .18s; }
.auth-back:hover { transform:translateX(-2px); background:#fff; }
.auth-brand { display:flex; align-items:center; gap:9px; margin:0 0 15px 2px; color:var(--auth-ink); font-weight:700; font-size:17px; letter-spacing:-.07em; }
.auth-brand-mark { width:29px; height:29px; display:grid; place-items:center; border-radius:9px; background:var(--auth-ink); color:var(--auth-accent); font-size:15px; transform:rotate(-4deg); }
.auth-brand>span:nth-child(2)>span { color:#78b934; }
.auth-brand>i { width:6px; height:6px; margin-left:auto; border-radius:50%; background:#96d45b; box-shadow:0 0 0 4px #96d45b22; }
.auth-card { position:relative; padding:clamp(24px,5vw,34px); border:1px solid #e6e8df; border-radius:22px; background:var(--auth-paper); box-shadow:0 24px 65px #27301d12,0 3px 10px #27301d08; }
.auth-kicker { display:flex; align-items:center; gap:8px; margin:0 0 17px; color:#73796c; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:.1em; }
.auth-kicker-dot { width:7px; height:7px; border-radius:50%; background:#83c94b; box-shadow:0 0 0 4px #83c94b20; }
.auth-badge { margin-left:auto; padding:6px 9px; border:1px solid #ecd9a9; border-radius:99px; background:#fbf4df; color:#795d22; font:700 8px 'IBM Plex Mono',monospace; letter-spacing:.08em; }
.auth-title { margin:0 0 8px; font-size:clamp(32px,7vw,41px); font-weight:600; line-height:1.05; letter-spacing:-.065em; }
.auth-sub { max-width:360px; margin:0 0 25px; color:var(--auth-muted); font-size:13px; line-height:1.65; letter-spacing:-.012em; }
.auth-field { margin:0 0 16px; }
.auth-field>label { display:block; margin:0 0 7px 1px; color:#34382f; font:600 9px 'IBM Plex Mono',monospace; letter-spacing:.09em; text-transform:uppercase; }
.auth-label-soft { color:#96998f; font:400 9px 'Space Grotesk',sans-serif; letter-spacing:0; text-transform:none; }
.auth-input-wrap { min-height:52px; display:flex; align-items:center; gap:10px; padding:0 13px; border:1px solid #dfe2d8; border-radius:12px; background:#fff; transition:border-color .18s,box-shadow .18s,background .18s; }
.auth-input-wrap:focus-within { border-color:#8dbf5d; box-shadow:0 0 0 4px #9ad76924; background:#fff; }
.auth-input-icon { width:18px; flex:0 0 18px; color:#94998b; text-align:center; font:500 15px 'IBM Plex Mono',monospace; }
.auth-input-wrap input { width:100%; min-width:0; height:50px; padding:0; border:0; outline:none; background:transparent; color:var(--auth-ink); font:500 14px 'Space Grotesk',sans-serif; letter-spacing:0; box-shadow:none; transform:none; }
.auth-input-wrap input:focus { box-shadow:none; transform:none; }
.auth-input-wrap input::placeholder { color:#b2b5ac; font-weight:400; }
.auth-pin-wrap input { font-family:'IBM Plex Mono',monospace; font-size:16px; letter-spacing:.24em; }
.auth-pin-toggle { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border:0; border-radius:9px; background:transparent; color:#747a6f; transition:background .15s,color .15s; }
.auth-pin-toggle:hover,.auth-pin-toggle:focus-visible { background:#f1f5e9; color:#456e28; outline:none; }
.auth-pin-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.auth-pin-toggle .auth-eye-hide { display:none; }
.auth-pin-visible .auth-pin-toggle .auth-eye-show { display:none; }
.auth-pin-visible .auth-pin-toggle .auth-eye-hide { display:block; }
.auth-field-hint { display:block; margin:6px 2px 0; color:#999d93; font:400 9px 'IBM Plex Mono',monospace; letter-spacing:.015em; }
.auth-check { display:flex; gap:10px; align-items:flex-start; margin:9px 0 0; padding:12px; border:1px solid #e3e6dd; border-radius:12px; background:#fbfcf8; cursor:pointer; font-size:11px; line-height:1.45; }
.auth-check.warn { background:#fbfaf3; border-color:#ece6ce; }
.auth-check input { width:16px; height:16px; flex:0 0 16px; margin:1px 0 0; accent-color:#74ae3f; }
.auth-check>span { display:block; }
.auth-check .t { display:block; color:#30352b; font-weight:600; }
.auth-check .s { display:block; margin-top:3px; color:#878b81; font-size:10px; }
.auth-submit { width:100%; min-height:51px; display:flex; align-items:center; justify-content:center; gap:12px; margin-top:19px; padding:12px 18px; border:0; border-radius:13px; background:#11150e; color:#fff; font:700 12px 'Space Grotesk',sans-serif; letter-spacing:.02em; box-shadow:0 6px 16px #10140e1e; transition:transform .18s,background .18s,box-shadow .18s; }
.auth-submit b { color:var(--auth-accent); font-size:15px; font-weight:500; }
.auth-submit:hover { transform:translateY(-1px); background:#22291d; box-shadow:0 9px 20px #10140e24; }
.auth-submit:active { transform:translateY(0) scale(.99); }
.auth-msg { min-height:0; margin:10px 0 0; text-align:center; font:500 10px 'IBM Plex Mono',monospace; line-height:1.6; }
.auth-msg:not(:empty) { min-height:16px; }
.auth-msg.err { color:#b4233b; }.auth-msg.ok { color:#26783d; }
.auth-switch { margin-top:17px; color:#85897f; text-align:center; font-size:11px; }
.auth-switch button { padding:3px 1px; border:0; border-bottom:1px solid #9bbd7e; background:none; color:#2b3924; font:700 11px 'Space Grotesk',sans-serif; }
.auth-footnote { display:flex; justify-content:space-between; gap:12px; margin:17px 3px 0; color:#a0a399; font:500 8px 'IBM Plex Mono',monospace; letter-spacing:.07em; }
.auth-footnote i { color:#8baf6b; font-style:normal; }
@media (max-width:520px) { .auth { align-items:flex-start; padding:19px 18px 24px; }.auth-wrap { margin:auto; }.auth-back { width:38px; height:38px; margin-bottom:14px; }.auth-brand { margin-bottom:12px; }.auth-card { padding:23px 20px 21px; border-radius:19px; }.auth-sub { margin-bottom:21px; }.auth-footnote { font-size:7px; } }
@media (max-height:690px) and (min-width:521px) { .auth { align-items:flex-start; padding-top:18px; padding-bottom:18px; }.auth-wrap { margin:auto; }.auth-back { margin-bottom:10px; }.auth-brand { margin-bottom:10px; }.auth-card { padding-top:21px; padding-bottom:20px; }.auth-sub { margin-bottom:17px; }.auth-field { margin-bottom:12px; } }
@media (prefers-reduced-motion:reduce) { .auth *, .auth *::before, .auth *::after { transition-duration:.01ms !important; } }
.auth-register-mode .auth-card { padding-top:23px; padding-bottom:19px; }
.auth-register-mode .auth-kicker { margin-bottom:12px; }
.auth-register-mode .auth-sub { margin-bottom:15px; }
.auth-register-mode .auth-field { margin-bottom:11px; }
.auth-register-mode .auth-input-wrap { min-height:46px; }
.auth-register-mode .auth-input-wrap input { height:44px; }
.auth-register-mode .auth-field-hint { margin-top:4px; }
.auth-register-mode .auth-check { margin-top:7px; padding:9px 11px; }
@media (max-width:520px) { .auth-register-mode .auth-card { padding:19px 18px 16px; }.auth-register-mode .auth-back { margin-bottom:10px; }.auth-register-mode .auth-brand { margin-bottom:9px; } }
/* END AUTH UI REDESIGN */
