@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #11131d;
  --surface: #1a1d2b;
  --surface-raised: #222637;
  --ink: #f6f7ff;
  --muted: #a2a6ba;
  --soft-muted: #c1c4d3;
  --line: rgba(255,255,255,.11);
  --purple: #7857ff;
  --pink: #dd4fcb;
  --coral: #ff8d68;
  --rose: #f35082;
  --teal: #13c8a4;
  --green: #45dfa2;
  --yellow: #f0d35a;
  --shadow: 0 18px 45px rgba(0,0,0,.22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(ellipse at 84% -10%, rgba(120,87,255,.16), transparent 39%), radial-gradient(ellipse at -15% 40%, rgba(19,200,164,.08), transparent 34%), var(--bg); }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #b7a7ff; outline-offset: 2px; }
.app-shell { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: calc(15px + env(safe-area-inset-top)) 18px calc(118px + env(safe-area-inset-bottom)); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 1px 22px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 41px; height: 41px; flex: 0 0 41px; border-radius: 14px; background: linear-gradient(145deg, var(--purple), var(--pink)); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 10px 11px; transform: rotate(-2deg); box-shadow: 0 7px 22px rgba(120,87,255,.26); }
.brand-mark span { width: 4px; border-radius: 8px 8px 2px 2px; background: white; }
.brand-mark span:nth-child(1) { height: 11px; opacity: .78; }.brand-mark span:nth-child(2) { height: 19px; background: #aaf4df; }.brand-mark span:nth-child(3) { height: 14px; background: #ffe3aa; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 9px; line-height: 1.2; letter-spacing: .14em; font-weight: 800; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin: 0; font-size: 20px; letter-spacing: -.045em; line-height: 1.1; }
h2 { margin: 0; font-size: 27px; letter-spacing: -.05em; line-height: 1.12; }
h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
h4 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.save-indicator { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 10px; color: #d4d7e4; font-size: 10px; font-weight: 700; white-space: nowrap; background: rgba(255,255,255,.045); }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(69,223,162,.13); }
.screen[hidden] { display: none !important; }
.screen { animation: appear .22s ease both; }
@keyframes appear { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.screen-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 2px 1px 18px; }
.screen-heading .eyebrow { color: #a399e9; }
.screen-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.home-heading { align-items: center; margin-bottom: 17px; }
.date-heading { margin: 6px 0 0; color: var(--soft-muted); font-size: 13px; text-transform: capitalize; }
.hero-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 25px; padding: 22px 21px 18px; background: linear-gradient(128deg, #7556f4 2%, #a24cdd 51%, #e64cac 100%); box-shadow: 0 18px 42px rgba(145,69,220,.19); }
.hero-card::after { content: ""; position: absolute; right: -36px; top: -59px; width: 183px; height: 183px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 22px rgba(255,255,255,.035), 0 0 0 46px rgba(255,255,255,.025); pointer-events: none; }
.hero-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero-topline .eyebrow { margin: 0; color: rgba(255,255,255,.77); }
.hero-month { color: rgba(255,255,255,.86); font-size: 11px; font-weight: 750; text-transform: capitalize; }
.hero-total { position: relative; z-index: 1; display: block; margin: 10px 0 19px; font-size: clamp(35px, 10vw, 48px); line-height: 1; letter-spacing: -.055em; font-weight: 850; font-variant-numeric: tabular-nums; }
.hero-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-metrics > div { display: flex; flex-direction: column; gap: 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; padding: 11px 12px; background: rgba(255,255,255,.13); backdrop-filter: blur(8px); }
.hero-metrics span { color: rgba(255,255,255,.76); font-size: 10px; }
.hero-metrics strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.today-card { margin-top: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 23px; padding: 19px; background: linear-gradient(132deg, #ff9665, #fc6178 60%, #ec4d92); box-shadow: 0 16px 34px rgba(243,80,130,.13); }
.card-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-title-row .eyebrow { color: rgba(255,255,255,.75); }
.today-card .card-title-row h3 { font-size: 18px; }
.today-card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: rgba(255,255,255,.18); color: white; font-size: 24px; }
.today-entry-label { display: block; margin-top: 20px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 700; }
.today-entry-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.today-entry-row input { width: min(100%, 230px); height: 58px; border: 1px solid rgba(255,255,255,.37); border-radius: 16px; padding: 0 16px; background: rgba(255,255,255,.16); color: #fff; font-size: 31px; font-weight: 850; letter-spacing: -.04em; font-variant-numeric: tabular-nums; outline-color: white; }
.today-entry-row input::placeholder { color: rgba(255,255,255,.6); }
.today-entry-row span { color: rgba(255,255,255,.86); font-size: 13px; }
.today-card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 11px; color: rgba(255,255,255,.78); font-size: 10px; }
.text-action { border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 7px 10px; color: white; background: rgba(255,255,255,.13); font-size: 10px; font-weight: 750; cursor: pointer; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 24px 1px 12px; }
.compact-heading .eyebrow { margin-bottom: 5px; }
.link-action { border: 0; padding: 6px 0; color: #c7baff; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.link-action span { margin-left: 3px; font-size: 17px; vertical-align: -1px; }
.home-payout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-payout { min-width: 0; border: 1px solid var(--line); border-radius: 17px; padding: 14px; background: var(--surface); }
.mini-payout span { display: block; color: var(--muted); font-size: 10px; }
.mini-payout strong { display: block; overflow: hidden; margin-top: 7px; font-size: clamp(16px, 4.8vw, 22px); font-weight: 820; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-first { border-top: 3px solid var(--yellow); }.mini-second { border-top: 3px solid var(--teal); }
.quick-links { display: grid; gap: 9px; margin-top: 18px; }
.quick-link { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: rgba(26,29,43,.92); text-align: left; cursor: pointer; }
.quick-link > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.quick-link strong { font-size: 12px; }.quick-link small { color: var(--muted); font-size: 10px; }
.quick-link > b { color: var(--muted); font-size: 20px; font-weight: 500; }
.quick-link-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 22px; font-weight: 700; }
.icon-history { color: #c3b7ff; background: rgba(120,87,255,.18); }.icon-stats { color: #83f1d5; background: rgba(19,200,164,.14); }
.month-toolbar { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 17px; padding: 10px; background: var(--surface); box-shadow: var(--shadow); }
.icon-button { flex: 0 0 35px; width: 35px; height: 38px; border: 0; border-radius: 11px; color: var(--ink); background: rgba(255,255,255,.075); font-size: 26px; line-height: 1; cursor: pointer; }
.icon-button:active, .today-button:active, button:active { transform: scale(.98); }
.month-picker-wrap { min-width: 0; flex: 1; }
.month-picker-wrap .eyebrow { margin: 0 0 3px 2px; font-size: 8px; }
#month-picker { width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 750; padding: 2px; outline: 0; }
.today-button { border: 1px solid var(--line); border-radius: 10px; background: transparent; padding: 8px 9px; color: var(--soft-muted); font-weight: 700; font-size: 10px; white-space: nowrap; cursor: pointer; }
.archive-row { display: flex; align-items: center; gap: 9px; padding: 10px 3px 0; color: var(--muted); font-size: 10px; }
.archive-row label { flex: 0 0 auto; font-weight: 700; }
.archive-row select { min-width: 0; max-width: 65%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 5px 20px 5px 2px; background: transparent; color: var(--ink); font-size: 11px; font-weight: 750; outline-color: var(--purple); }
.archive-count { margin-left: auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
.history-month-summary { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 9px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(110deg, rgba(120,87,255,.14), rgba(26,29,43,.94)); }
.history-month-summary > div { display: flex; flex-direction: column; gap: 4px; text-transform: capitalize; font-size: 12px; font-weight: 750; }
.history-month-summary small { color: var(--muted); font-size: 9px; font-weight: 500; text-transform: none; }
.history-month-summary > strong { display: flex; align-items: baseline; gap: 5px; font-size: 20px; font-variant-numeric: tabular-nums; }
.day-list { border-top: 1px solid var(--line); }
.history-day { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 9px; min-height: 61px; border-bottom: 1px solid var(--line); padding: 7px 1px; }
.history-day.is-today { background: linear-gradient(90deg, rgba(120,87,255,.12), transparent); }
.history-day-main { grid-column: 1; grid-row: 1; display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 3px 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.day-date { display: flex; flex: 0 0 42px; flex-direction: column; align-items: center; justify-content: center; width: 42px; height: 43px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.045); font-variant-numeric: tabular-nums; }
.day-date strong { font-size: 14px; line-height: 1; }.day-date span { margin-top: 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.is-first-half .day-date { border-color: rgba(240,211,90,.2); background: rgba(240,211,90,.08); }.is-second-half .day-date { border-color: rgba(19,200,164,.2); background: rgba(19,200,164,.07); }
.day-value { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 7px; min-width: 0; }
.day-value strong { font-size: 15px; font-weight: 780; font-variant-numeric: tabular-nums; }
.day-value small { color: var(--muted); font-size: 9px; }
.day-edit-mark { color: #858a9d; font-size: 17px; }
.newbie-day-button { grid-column: 2; grid-row: 1; flex: 0 0 auto; min-height: 33px; padding: 0 8px; border: 1px solid rgba(243,144,94,.25); border-radius: 10px; color: #ffc09c; background: rgba(255,141,104,.08); font-size: 9px; font-weight: 730; white-space: nowrap; cursor: pointer; }
.day-bonus-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-left: 52px; margin-top: -3px; }
.day-bonus-tags:empty { display: none; }
.bonus-tag { padding: 4px 6px; border-radius: 7px; color: #ffd0aa; background: rgba(255,141,104,.12); font-size: 9px; font-weight: 700; }
.stats-month-select { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stats-month-select .eyebrow { margin: 0; }
.stats-month-select input, .payout-month-row input { max-width: 165px; border: 0; color: var(--ink); background: transparent; font-size: 13px; font-weight: 750; text-align: right; }
.stats-hero { margin-top: 13px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: linear-gradient(124deg, #7354ef, #b94cce 57%, #e44fa7); box-shadow: 0 15px 35px rgba(134,69,216,.16); }
.stats-hero > span { color: rgba(255,255,255,.77); font-size: 11px; }.stats-hero > strong { display: block; margin-top: 7px; font-size: 35px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats-hero-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: rgba(255,255,255,.81); font-size: 10px; text-transform: capitalize; }
.stats-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.stat-tile { display: flex; min-width: 0; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 16px; padding: 13px; background: var(--surface); }
.stat-tile > span { color: var(--muted); font-size: 10px; }.stat-tile > strong { overflow: hidden; font-size: 19px; letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: tabular-nums; }.stat-tile > small { color: var(--soft-muted); font-size: 9px; line-height: 1.35; }
.stat-purple { border-top: 3px solid var(--purple); }.stat-teal { border-top: 3px solid var(--teal); }.stat-coral { border-top: 3px solid var(--coral); }.stat-green { border-top: 3px solid var(--green); }
.stats-detail-card { margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 15px; background: var(--surface); }
.stats-detail-card .card-title-row .eyebrow { color: #aaa0ee; }.stats-detail-card h3 { font-size: 14px; }
.stats-breakdown { margin-top: 13px; }.stats-line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.stats-line strong { color: var(--ink); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.history-chart-heading { align-items: center; margin-top: 23px; }.history-chart-heading h3 { font-size: 16px; }
.monthly-history { display: flex; flex-direction: column; gap: 7px; }
.month-history-row { display: grid; grid-template-columns: minmax(78px, .8fr) 1.5fr auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; padding: 11px; background: var(--surface); }
.month-history-name { overflow: hidden; border: 0; padding: 0; color: var(--ink); background: transparent; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 750; text-transform: capitalize; cursor: pointer; }
.month-bar { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }.month-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.month-history-total { color: var(--ink); font-size: 10px; font-weight: 780; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty-state { border: 1px dashed var(--line); border-radius: 13px; padding: 15px; color: var(--muted); font-size: 11px; text-align: center; }
.payout-month-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin: 0 0 13px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); }
.payout-month-row .eyebrow { margin: 0; }.payout-month-row input { flex: 1; min-width: 120px; }.rate-chip { margin-left: auto; border: 1px solid rgba(240,211,90,.2); border-radius: 99px; padding: 7px 9px; color: #f6df87; background: rgba(240,211,90,.08); font-size: 10px; font-weight: 760; white-space: nowrap; }
.summary-section { margin-top: 10px; }.summary-heading { align-items: center; margin: 0 1px 11px; }.summary-heading .eyebrow { color: #ada2f5; }
.payout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.payout-card { min-width: 0; border: 1px solid var(--line); border-radius: 17px; padding: 13px 11px 11px; background: var(--surface); box-shadow: var(--shadow); }
.first-payout { border-top: 3px solid var(--yellow); }.second-payout { border-top: 3px solid var(--teal); }
.payout-card-top { display: flex; align-items: center; gap: 7px; }.period-number { border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; color: var(--soft-muted); background: rgba(255,255,255,.04); font-size: 9px; font-weight: 850; }.period-label { color: var(--soft-muted); font-size: 9px; font-weight: 700; }
.payout-total { overflow: hidden; margin-top: 13px; font-size: clamp(22px, 6vw, 31px); line-height: 1; font-weight: 850; letter-spacing: -.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }.payout-caption { margin-top: 6px; color: var(--muted); font-size: 9px; }
.payout-breakdown { min-height: 105px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 9px; display: flex; flex-direction: column; gap: 7px; }.breakdown-row { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; color: var(--muted); font-size: 9px; line-height: 1.3; }.breakdown-row span:first-child { max-width: 68%; }.breakdown-row strong { color: var(--soft-muted); font-size: 9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.paid-field { display: flex; align-items: center; justify-content: space-between; gap: 4px; border-top: 1px dashed var(--line); padding-top: 9px; color: var(--muted); font-size: 9px; }.money-input-wrap { display: flex; align-items: center; gap: 3px; }.money-input-wrap input { width: clamp(59px, 19vw, 86px); min-width: 0; height: 35px; border: 1px solid var(--line); border-radius: 9px; padding: 0 5px; color: var(--ink); background: rgba(255,255,255,.07); text-align: right; font-size: 13px; font-weight: 750; }.money-input-wrap b { color: var(--muted); font-size: 9px; }
.balance-line { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-top: 8px; border-radius: 9px; padding: 8px; color: var(--muted); background: rgba(255,255,255,.045); font-size: 9px; }.balance-line strong { color: var(--ink); font-size: 11px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }.balance-line .overpaid { color: var(--green); }
.month-total-line { display: flex; justify-content: space-between; align-items: center; padding: 13px 3px 0; color: var(--muted); font-size: 12px; }.month-total-line strong { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }.calculation-note { margin: 10px 1px 0; border-left: 3px solid var(--purple); padding-left: 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.extras-section { margin-top: 22px; }.extras-total { border: 1px solid rgba(255,141,104,.2); border-radius: 99px; padding: 7px 10px; color: #ffb28f; background: rgba(255,141,104,.08); font-size: 11px; font-weight: 800; white-space: nowrap; }.extra-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.extra-card { min-width: 0; border: 1px solid var(--line); border-radius: 17px; padding: 13px 11px; background: var(--surface); }.group-card { border-top: 3px solid var(--purple); }.newbie-card { border-top: 3px solid var(--coral); }
.extra-card-heading { display: flex; gap: 8px; align-items: center; }.extra-card-heading p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.3; }.extra-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; border-radius: 10px; font-size: 14px; font-weight: 850; }.group-icon { color: #c8baff; background: rgba(120,87,255,.18); }.newbie-icon { color: #ffc09b; background: rgba(255,141,104,.15); }
.group-inputs { display: flex; gap: 7px; margin-top: 14px; }.group-inputs > label { flex: 1; min-width: 0; color: var(--muted); font-size: 9px; }.number-stepper { display: flex; align-items: center; height: 36px; margin-top: 5px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.045); }.number-stepper button { width: 25px; height: 35px; flex: 0 0 25px; border: 0; color: var(--soft-muted); background: rgba(255,255,255,.055); font-size: 17px; cursor: pointer; }.number-stepper input { width: 100%; min-width: 19px; height: 33px; border: 0; padding: 0 2px; outline: 0; color: var(--ink); background: transparent; text-align: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.extra-result { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 9px; color: var(--muted); font-size: 9px; }.extra-result strong { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }.newbie-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 13px 0 9px; color: var(--muted); font-size: 9px; }.newbie-summary > strong:first-child { color: var(--ink); font-size: 17px; }.newbie-summary .newbie-money { margin-left: auto; color: #ffc09b; font-size: 13px; white-space: nowrap; }
.secondary-button, .primary-button { min-height: 40px; border: 0; border-radius: 11px; padding: 0 13px; font-size: 11px; font-weight: 800; cursor: pointer; }.secondary-button { color: var(--ink); background: #303449; }.primary-button { color: #06281f; background: var(--teal); }.newbie-card .primary-button { width: 100%; color: #351a0c; background: linear-gradient(100deg, #ffad70, #ff7c72); }.hint { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }.newbie-list { display: flex; flex-direction: column; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }.newbie-list:empty { display: none; }.newbie-item { display: flex; justify-content: space-between; align-items: center; gap: 5px; border-top: 1px solid var(--line); padding-top: 6px; color: var(--soft-muted); font-size: 9px; }.newbie-item .remove-premium { width: 26px; height: 26px; border: 0; border-radius: 8px; color: #ffc09b; background: rgba(255,141,104,.08); font-size: 17px; cursor: pointer; }
.rate-settings-card { margin-top: 4px; border: 1px solid var(--line); border-radius: 20px; padding: 17px; background: linear-gradient(130deg, rgba(120,87,255,.15), rgba(26,29,43,.96) 57%); }.settings-copy { display: flex; align-items: flex-start; gap: 11px; }.settings-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border-radius: 12px; color: white; background: linear-gradient(140deg, var(--purple), var(--pink)); font-size: 18px; font-weight: 800; }.settings-copy .eyebrow { color: #b3a7ff; }.settings-copy h3 { margin-bottom: 5px; }.settings-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }.selected-rate-month { margin: 15px 0 0; color: var(--muted); font-size: 10px; }.selected-rate-month strong { color: var(--soft-muted); text-transform: capitalize; }.rate-form { display: flex; align-items: center; gap: 7px; margin-top: 10px; }.rate-form input { width: 108px; height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 10px; color: var(--ink); background: rgba(255,255,255,.06); font-size: 16px; font-weight: 780; }.rate-form > span { margin-left: -29px; margin-right: auto; color: var(--muted); font-size: 11px; pointer-events: none; }.rate-form .secondary-button { flex: 0 0 auto; }
.settings-info-card { margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--surface); }.settings-info-card > .eyebrow { color: #91ddce; }.rule-row { display: flex; justify-content: space-between; gap: 9px; border-top: 1px solid var(--line); padding: 11px 0; color: var(--muted); font-size: 10px; }.rule-row strong { color: var(--ink); font-size: 11px; white-space: nowrap; }.settings-info-card .hint { margin-top: 3px; }
.privacy-card { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; border: 1px solid rgba(69,223,162,.19); border-radius: 17px; padding: 14px; background: rgba(69,223,162,.055); }.privacy-mark { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 9px; color: var(--green); background: rgba(69,223,162,.13); font-size: 12px; }.privacy-card h3 { margin: 1px 0 5px; font-size: 13px; }.privacy-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }.app-footer { margin-top: 15px; border-top: 1px solid var(--line); padding: 14px 2px 0; color: var(--muted); }.text-button { border: 0; padding: 0; color: #c7baff; background: none; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; font-weight: 700; cursor: pointer; }.install-instructions { margin-top: 9px; border: 1px solid rgba(19,200,164,.2); border-radius: 12px; padding: 11px; color: #b6e9dc; background: rgba(19,200,164,.07); font-size: 10px; line-height: 1.5; }.saved-message { min-height: 13px; margin: 8px 0 0; color: var(--green); font-size: 10px; }
.bottom-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; width: min(100%, 760px); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: rgba(20,22,34,.94); box-shadow: 0 -9px 28px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 53px; border: 0; border-radius: 13px; padding: 5px 2px 4px; color: #969aae; background: transparent; font-size: 9px; font-weight: 650; cursor: pointer; transition: color .18s ease, background .18s ease; }.nav-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.nav-item.active { color: #c8baff; background: rgba(120,87,255,.13); }.nav-item.active::before { content: ""; position: absolute; top: -7px; width: 19px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.app-dialog { width: min(calc(100% - 26px), 420px); max-height: min(90vh, 700px); overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; padding: 0; color: var(--ink); background: #1b1e2d; box-shadow: 0 25px 90px rgba(0,0,0,.55); }.app-dialog::backdrop { background: rgba(7,8,13,.76); backdrop-filter: blur(5px); }.app-dialog form { padding: 21px; }.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; }.dialog-header .eyebrow { color: #b4a7ff; }.dialog-header h2 { font-size: 22px; }.dialog-close { width: 35px; height: 35px; border: 0; border-radius: 11px; color: var(--soft-muted); background: rgba(255,255,255,.08); font-size: 22px; cursor: pointer; }.dialog-description { margin: 12px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.5; }.field-label { display: block; margin: 12px 0 6px; color: var(--soft-muted); font-size: 10px; font-weight: 750; }.app-dialog select, .app-dialog input[type="number"], .app-dialog input[type="date"] { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 11px; padding: 0 11px; color: var(--ink); background: #25293a; font-size: 14px; }.bonus-options { margin: 16px 0 0; border: 0; padding: 0; }.bonus-options legend { margin-bottom: 8px; color: var(--soft-muted); font-size: 10px; font-weight: 750; }.bonus-option { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; }.bonus-option:has(input:checked) { border-color: rgba(255,141,104,.52); background: rgba(255,141,104,.08); }.bonus-option input { position: absolute; opacity: 0; }.bonus-radio { width: 17px; height: 17px; border: 1.5px solid #767b90; border-radius: 50%; box-shadow: inset 0 0 0 4px #1b1e2d; }.bonus-option input:checked + .bonus-radio { border-color: var(--coral); background: var(--coral); }.bonus-option strong { display: block; font-size: 12px; }.bonus-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.toast { position: fixed; z-index: 50; right: 50%; bottom: calc(83px + env(safe-area-inset-bottom)); transform: translate(50%, 10px); opacity: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; color: white; background: #292d3d; font-size: 11px; box-shadow: var(--shadow); transition: opacity .18s ease, transform .18s ease; white-space: nowrap; }.toast.show { opacity: 1; transform: translate(50%, 0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 600px) { .app-shell { padding-top: calc(23px + env(safe-area-inset-top)); }.bottom-nav { border: 1px solid var(--line); border-bottom: 0; border-radius: 17px 17px 0 0; }.nav-item { min-height: 58px; }.hero-card { padding: 25px; }.today-card { padding: 22px; }.payout-card { padding: 17px; }.breakdown-row, .breakdown-row strong { font-size: 10px; } }
@media (max-width: 370px) { .app-shell { padding-right: 13px; padding-left: 13px; }.save-indicator { gap: 5px; padding: 7px; font-size: 9px; }.brand-lockup { gap: 8px; }.brand-mark { width: 37px; height: 37px; flex-basis: 37px; }.hero-card { padding: 18px; }.today-card { padding: 16px; }.mini-payout { padding: 12px 10px; }.payout-card { padding: 11px 8px; }.payout-breakdown { min-height: 112px; }.period-label { font-size: 8px; }.breakdown-row, .breakdown-row strong { font-size: 8px; }.paid-field { font-size: 8px; }.money-input-wrap input { width: 56px; }.group-inputs { gap: 4px; }.number-stepper button { width: 22px; flex-basis: 22px; }.nav-item { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }


/* Local backup controls */
.backup-card { margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--surface); }
.backup-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.backup-card-head .eyebrow { margin-bottom: 5px; color: #b4a7ff; }
.backup-card h3 { font-size: 15px; }
.backup-description { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.backup-actions .primary-button, .backup-actions .secondary-button { flex: 1 1 145px; min-height: 42px; padding: 9px 10px; font-size: 10px; }
.backup-status { margin: 10px 0 0; color: var(--green); font-size: 10px; line-height: 1.45; }
.backup-status:empty { display: none; }
.backup-status.is-error { color: #ffb2be; }
.backup-dialog-content { padding: 21px; }
.backup-warning { margin: 12px 0 0; border: 1px solid rgba(255,141,104,.25); border-radius: 12px; padding: 11px; color: #ffd0aa; background: rgba(255,141,104,.08); font-size: 10px; line-height: 1.5; }
