:root{
  --bg:#f4f7f5; --card:#ffffff; --card2:#eef5f1; --text:#14241e; --muted:#6b7d75;
  --border:#dbe6e0; --accent:#0f5b47; --accent2:#23765e; --soft:#dceee7;
  --red:#b42318; --redbg:#fdebea; --amber:#9a6700; --amberbg:#fff2cf; --orange:#b54708; --orangebg:#ffead5;
  --green:#176b3a; --greenbg:#e8f6ee; --shadow:0 10px 30px rgba(18,54,43,.08);
}
[data-theme="dark"]{
  --bg:#0d1713; --card:#15231d; --card2:#192c24; --text:#edf6f2; --muted:#9db2a9;
  --border:#284036; --accent:#66d2aa; --accent2:#88e1be; --soft:#183c30;
  --red:#ff9b94; --redbg:#44221f; --amber:#ffd071; --amberbg:#443819; --orange:#ffb674; --orangebg:#49301e;
  --green:#8ee2b3; --greenbg:#173b29; --shadow:none;
}
*{box-sizing:border-box} html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
body{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)} button,input,select,textarea{font:inherit}
button{cursor:pointer}.hidden{display:none!important}.app-shell{max-width:980px;margin:0 auto;min-height:100vh;padding-bottom:92px}
.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:18px 18px 14px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(18px)}
.topbar h1{font-size:27px;line-height:1.05;margin:2px 0 0}.eyebrow{margin:0;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.top-actions{display:flex;gap:8px}.icon-btn{width:42px;height:42px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--text);font-size:21px;display:grid;place-items:center}
.main-content{padding:6px 16px 28px}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:16px;box-shadow:var(--shadow)}.card.flat{box-shadow:none}.card h2,.card h3{margin:0}.section{margin-top:18px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin:0 2px 9px}.section-head h2{margin:0;font-size:18px}.section-head p{margin:2px 0 0;color:var(--muted);font-size:13px}
.kpi{min-height:118px;display:flex;flex-direction:column;justify-content:space-between}.kpi .label{color:var(--muted);font-size:13px;font-weight:700}.kpi .value{font-size:29px;font-weight:850;letter-spacing:-.03em}.kpi .sub{font-size:12px;color:var(--muted)}
.hero{background:linear-gradient(145deg,var(--accent),#123e33);color:#fff;border:none;padding:19px}.hero .muted{color:#d5eee5}.hero .hero-value{font-size:42px;font-weight:900;letter-spacing:-.045em;margin:10px 0 4px}.hero-row{display:flex;justify-content:space-between;align-items:flex-end;gap:14px}.pill{display:inline-flex;gap:6px;align-items:center;border-radius:999px;padding:7px 10px;background:var(--soft);color:var(--accent);font-size:12px;font-weight:800}.hero .pill{background:rgba(255,255,255,.15);color:#fff}
.progress{height:9px;border-radius:999px;background:var(--card2);overflow:hidden}.progress>span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .25s}.progress.warn>span{background:#e1a000}.progress.over>span{background:#d33d32}
.row{display:flex;align-items:center;gap:12px}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:4px}.muted{color:var(--muted)}.small{font-size:12px}.strong{font-weight:800}.money{font-variant-numeric:tabular-nums;font-weight:800}.positive{color:var(--green)}.negative{color:var(--red)}
.list{display:flex;flex-direction:column}.list-item{padding:13px 0;border-bottom:1px solid var(--border)}.list-item:last-child{border-bottom:0}.merchant{font-weight:800}.category-dot{width:11px;height:11px;border-radius:50%;background:var(--accent);flex:none}.badge{padding:5px 8px;border-radius:8px;background:var(--card2);font-size:11px;font-weight:800;color:var(--muted)}.badge.red{background:var(--redbg);color:var(--red)}.badge.amber{background:var(--amberbg);color:var(--amber)}.badge.green{background:var(--greenbg);color:var(--green)}
.chart-donut{--p:50; width:150px;height:150px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p)*1%),var(--card2) 0);position:relative;flex:none}.chart-donut:after{content:"";position:absolute;inset:24px;border-radius:50%;background:var(--card)}.donut-label{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center}.donut-label strong{font-size:25px}.donut-label small{color:var(--muted)}
.mini-bars{height:120px;display:flex;align-items:end;gap:7px;padding-top:10px}.mini-bar{flex:1;min-width:8px;border-radius:6px 6px 2px 2px;background:var(--soft);position:relative}.mini-bar.current{background:var(--accent)}
.btn{border:0;border-radius:14px;padding:12px 15px;background:var(--accent);color:#fff;font-weight:850}.btn.secondary{background:var(--card2);color:var(--text);border:1px solid var(--border)}.btn.danger{background:var(--redbg);color:var(--red)}.btn.ghost{background:transparent;color:var(--accent);padding:8px}.btn.full{width:100%}.button-row{display:flex;gap:9px;flex-wrap:wrap}
.fab{position:fixed;right:max(18px,calc((100vw - 980px)/2 + 18px));bottom:91px;z-index:30;width:58px;height:58px;border:0;border-radius:20px;background:var(--accent);color:white;font-size:32px;box-shadow:0 12px 28px rgba(15,91,71,.35)}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:25;width:min(100%,980px);height:78px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--card) 94%,transparent);border-top:1px solid var(--border);backdrop-filter:blur(18px)}.nav-item{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:700}.nav-item span{font-size:21px}.nav-item small{font-size:11px}.nav-item.active{color:var(--accent)}
.modal{border:0;padding:0;background:transparent;width:min(94vw,560px);max-height:92vh}.modal::backdrop{background:rgba(0,0,0,.42);backdrop-filter:blur(3px)}.modal-card{background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:26px;padding:0;overflow:hidden}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--border)}.modal-head h2{margin:3px 0 0}.modal-body{padding:17px;max-height:66vh;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 17px;border-top:1px solid var(--border)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:var(--muted);font-weight:800}.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:13px;padding:12px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent)}
.filterbar{display:flex;gap:8px;overflow:auto;padding:1px 0 4px}.chip{white-space:nowrap;border:1px solid var(--border);background:var(--card);color:var(--muted);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.chip.active{background:var(--accent);color:white;border-color:var(--accent)}
.account-card .account-balance{font-size:26px;font-weight:900;margin:8px 0}.account-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-stat{background:var(--card2);padding:9px;border-radius:12px}.mini-stat span{display:block;color:var(--muted);font-size:11px}.mini-stat strong{font-size:13px}
.settings-list{display:flex;flex-direction:column;gap:9px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--card)}.settings-row p{margin:0}.settings-row small{color:var(--muted)}
.empty{text-align:center;padding:34px 20px;color:var(--muted)}.toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--text);color:var(--card);padding:10px 14px;border-radius:12px;font-weight:800;z-index:60;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
.search{width:100%;border:1px solid var(--border);background:var(--card);color:var(--text);padding:12px 14px;border-radius:15px;margin-bottom:10px}.danger-zone{border-color:color-mix(in srgb,var(--red) 35%,var(--border))}
@media (min-width:760px){.main-content{padding-left:24px;padding-right:24px}.dashboard-grid{grid-template-columns:1.35fr .65fr}.budget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.accounts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fab{bottom:28px}.bottom-nav{top:90px;bottom:auto;left:max(18px,calc((100vw - 980px)/2 + 18px));transform:none;width:84px;height:auto;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:22px;padding:8px}.main-content{padding-left:124px}.topbar{padding-left:124px}.nav-item{height:62px}.bottom-nav small{font-size:10px}.app-shell{padding-bottom:20px}}
@media (max-width:560px){.grid.two,.grid.three,.form-grid{grid-template-columns:1fr}.hero-row{align-items:flex-start;flex-direction:column}.chart-donut{width:130px;height:130px}.topbar h1{font-size:25px}}

/* Murphy Money v2 */
.kpi,.kpi-grid,.dashboard-grid>*{min-width:0}.kpi .value{font-size:clamp(20px,3vw,29px);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-copy{min-width:0}.hero .hero-value{font-size:clamp(32px,6vw,42px);white-space:nowrap}.commitment-card{min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:7px}.commitment-value{font-size:clamp(24px,4vw,34px);font-weight:900;letter-spacing:-.03em}.progress.unbudgeted>span{background:var(--amber)}.progress.neutral>span{background:var(--muted)}
.quick-repeat{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;overflow:auto;padding-bottom:3px}.repeat-card{min-width:126px;text-align:left;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:5px}.repeat-card span{font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.repeat-card strong{font-size:17px}.repeat-card small{color:var(--muted)}.quick-picks{display:flex;gap:7px;overflow:auto;margin-bottom:12px}.amount-field input{font-size:28px;font-weight:900;letter-spacing:-.03em}.trend-labels{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:7px;color:var(--muted);font-size:9px;text-align:center}.mini-bar{min-height:8px}
.lock-screen{position:fixed;inset:0;z-index:100;background:var(--bg);display:grid;place-items:center;padding:24px}.lock-card{width:min(100%,360px);text-align:center;background:var(--card);border:1px solid var(--border);border-radius:26px;padding:28px;box-shadow:var(--shadow)}.brand-mark{width:72px;height:72px;border-radius:22px;margin:0 auto 14px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:25px;font-weight:950;letter-spacing:-.05em}.lock-card h2{margin:4px 0}.lock-card p{color:var(--muted)}.pin-input{text-align:center;font-size:24px;letter-spacing:.28em;width:100%;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:14px;padding:13px;margin-bottom:12px}
@media (min-width:760px) and (max-width:900px){.dashboard-grid{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)}.kpi-grid{grid-template-columns:1fr!important}.kpi{min-height:92px}.kpi .value{font-size:clamp(21px,2.7vw,27px)}}
@media (max-width:759px){.dashboard-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{min-height:104px}.kpi .value{font-size:clamp(20px,7vw,29px)}.quick-repeat{grid-template-columns:repeat(5,128px)}.cycle-row{align-items:flex-start;flex-direction:column}.cycle-row select{max-width:100%}}
@media (max-width:430px){.kpi-grid{grid-template-columns:1fr 1fr}.kpi{padding:14px}.kpi .value{font-size:clamp(18px,6vw,25px)}.kpi .sub{font-size:11px}.hero-row{flex-direction:column}.needs-row{align-items:center}.chart-donut{width:118px;height:118px}.chart-donut:after{inset:20px}.donut-label strong{font-size:21px}.commitment-card{min-height:100px}}

/* Murphy Money v2.1 — KPI legibility fix */
.kpi .value{
  font-size:clamp(17px,2.35vw,27px);
  line-height:1;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.045em;
}
@media (min-width:901px){
  .dashboard-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);
  }
  .kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .kpi{
    min-height:112px;
    padding:15px;
  }
  .kpi .value{
    font-size:clamp(18px,2.15vw,26px);
  }
}
@media (min-width:760px) and (max-width:900px){
  .dashboard-grid{
    grid-template-columns:minmax(0,1fr) minmax(285px,.72fr);
  }
  .kpi-grid{
    grid-template-columns:1fr!important;
  }
  .kpi{
    min-height:88px;
  }
  .kpi .value{
    font-size:clamp(18px,2.5vw,25px);
  }
}
@media (max-width:759px){
  .kpi .value{
    font-size:clamp(18px,6.2vw,27px);
  }
}
@media (max-width:430px){
  .kpi .value{
    font-size:clamp(17px,5.7vw,24px);
  }
}

/* Murphy Money v2.2 — sorting & filters */
.filter-panel{
  display:grid;
  gap:12px;
  margin-bottom:12px;
}
.filter-controls{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.field.compact{
  gap:5px;
}
.field.compact label{
  font-size:11px;
  color:var(--muted);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.field.compact select{
  min-height:42px;
  padding:9px 11px;
}
.filter-summary{
  min-height:34px;
}
.budget-toolbar{
  align-items:end;
  gap:12px;
  margin-bottom:8px;
}
.toolbar-actions{
  display:flex;
  align-items:end;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.toolbar-actions .field.compact{
  min-width:180px;
}
@media (max-width:820px){
  .filter-controls{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .budget-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
  .toolbar-actions{
    justify-content:space-between;
  }
  .toolbar-actions .field.compact{
    flex:1 1 180px;
  }
}
@media (max-width:520px){
  .filter-controls{
    grid-template-columns:1fr;
  }
  .toolbar-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }
  .toolbar-actions .field.compact{
    min-width:0;
  }
  .toolbar-actions .btn{
    width:100%;
  }
}

/* Murphy Money v2.3 — mobile dashboard polish */
.dashboard-cycle-row{display:flex;justify-content:flex-end;margin:2px 0 10px}
.hero-donut{width:112px;height:112px}
.needs-donut{width:142px;height:142px}
.trend-empty{min-height:150px;display:grid;place-items:center;align-content:center;text-align:center;gap:5px;border-radius:14px;background:var(--card2)}
.trend-empty strong{font-size:clamp(24px,4vw,34px);color:var(--text)}
.trend-empty span{font-weight:700;color:var(--text)}
.trend-empty small{color:var(--muted)}
.top-spending-list .progress{height:6px}
.top-spending-list .list-item{padding:12px 0 15px}
.main-content{padding-bottom:170px}
.fab{bottom:calc(92px + env(safe-area-inset-bottom))}
@media (max-width:760px){
  .topbar{padding:10px 16px 8px}
  .topbar .eyebrow{margin-bottom:2px}
  .main-content{padding:2px 16px 180px}
  .dashboard-cycle-row{justify-content:flex-start;margin:0 0 8px}
  .dashboard-cycle-row .cycle-picker,.dashboard-cycle-row select{width:100%;max-width:none}
  .dashboard-grid{gap:12px}
  .hero{padding:16px;min-height:0}
  .hero-row{align-items:center;gap:10px}
  .hero-copy{min-width:0;flex:1}
  .hero-value{font-size:clamp(36px,10vw,48px);line-height:1;letter-spacing:-.04em}
  .hero .pill{font-size:13px;padding:8px 10px;white-space:nowrap}
  .hero-donut{width:94px;height:94px}
  .hero-donut::after{inset:17px}
  .hero-donut .donut-label strong{font-size:23px}
  .hero-donut .donut-label small{font-size:10px}
  .kpi-grid{grid-template-columns:1fr!important;gap:10px}
  .kpi{min-height:0;padding:16px}
  .before-payday{margin-top:22px}
  .dashboard-insights{grid-template-columns:1fr!important}
  .trend-card{min-height:0}
  .mini-bars{height:140px}
  .top-spending-section{margin-bottom:34px}
  .top-spending-list .money{font-size:18px}
  .fab{width:54px;height:54px;border-radius:18px;right:18px;bottom:calc(92px + env(safe-area-inset-bottom));font-size:29px}
}
@media (max-width:430px){
  .hero-donut{width:86px;height:86px}
  .hero-donut::after{inset:15px}
  .hero-value{font-size:clamp(34px,9.7vw,44px)}
  .hero .pill{font-size:12px}
  .needs-row{gap:12px!important}
  .needs-donut{width:126px;height:126px}
  .top-spending-list .row{gap:8px}
  .top-spending-list .merchant{min-width:0}
}

/* Murphy Money v2.4 — light-mode donut contrast fix */
.hero-donut .donut-label strong{
  color:var(--text);
}
.hero-donut .donut-label small{
  color:var(--muted);
}

/* Murphy Money v2.5 — donut label spacing */
.hero-donut-wrap{
  display:grid;
  justify-items:center;
  align-content:center;
  gap:6px;
  flex:none;
}
.hero-donut-label{
  display:grid;
  place-items:center;
}
.hero-donut-label strong{
  font-size:clamp(24px,4vw,34px);
  line-height:1;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.hero-donut-caption{
  font-size:11px;
  line-height:1;
  font-weight:800;
  color:rgba(255,255,255,.78);
  text-transform:uppercase;
  letter-spacing:.06em;
}
@media (max-width:760px){
  .hero-donut-wrap{gap:5px}
  .hero-donut-label strong{font-size:28px}
  .hero-donut-caption{font-size:10px}
}
@media (max-width:430px){
  .hero-donut-label strong{font-size:26px}
  .hero-donut-caption{font-size:9px}
}

/* Murphy Money v2.6 — mobile modal overflow fix */
dialog,
.modal,
.modal-card,
.modal-body,
.modal-head,
.modal-actions,
.form-grid,
.field{
  max-width:100%;
  min-width:0;
}
.modal-card{
  width:min(100%,720px);
  box-sizing:border-box;
}
.modal-body{
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
.form-grid{
  min-width:0;
}
.field{
  min-width:0;
}
.field input,
.field select,
.field textarea{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.modal-actions{
  width:100%;
  box-sizing:border-box;
  overflow:hidden;
}
@media (max-width:760px){
  dialog{
    width:calc(100% - 20px);
    max-width:calc(100% - 20px);
    margin:auto;
  }
  .modal-card{
    width:100%;
    max-width:100%;
    border-radius:22px;
  }
  .modal-body{
    padding:16px;
  }
  .form-grid{
    grid-template-columns:minmax(0,1fr);
    width:100%;
  }
  .field.full{
    grid-column:auto;
  }
  .modal-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .modal-actions .btn{
    width:100%;
    min-width:0;
  }
}
@media (max-width:430px){
  dialog{
    width:calc(100% - 12px);
    max-width:calc(100% - 12px);
  }
  .modal-body{
    padding:14px;
  }
}

/* Murphy Money v3.0 — premium product pass */
.backup-nudge{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;background:var(--amberbg);border-color:color-mix(in srgb,var(--amber) 35%,var(--border))}
.bill-row .bill-sub{margin-top:8px}
.goal-meta{display:flex;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap}
.dashboard-optional-hidden{display:none!important}
.mini-stat.card{min-height:112px}
.mini-stat small{color:var(--muted)}
@media (max-width:760px){.backup-nudge{align-items:flex-start;flex-direction:column}.backup-nudge .btn{width:100%}.bill-row .bill-sub{align-items:flex-start;gap:8px}.bill-row .bill-sub .btn{white-space:normal;text-align:right}}

/* Murphy Money v3.1: direct card-art characters, sized around the data. */
.murphy-art{display:block;object-fit:contain;max-width:100%;height:auto;pointer-events:none;user-select:none;flex:none}
.murphy-copy{min-width:0;overflow-wrap:anywhere}.murphy-copy h2{font-size:18px;line-height:1.25}.murphy-copy p{line-height:1.5}
.murphy-welcome{display:grid;grid-template-columns:minmax(0,1fr) 116px;align-items:center;gap:16px;margin:0 0 16px;background:var(--card2);box-shadow:none}
.murphy-welcome-art{width:116px;max-height:140px}.murphy-welcome .button-row{gap:6px}.murphy-welcome .eyebrow{margin-bottom:5px}
.murphy-hero-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;border-top:1px solid rgba(255,255,255,.15);padding-top:10px}
.murphy-hero-footer p{margin:0;max-width:24ch;color:#d5eee5;line-height:1.5}.murphy-hero-footer .murphy-art{width:86px;max-height:112px}
.murphy-note{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:14px;align-items:center;margin-top:14px;box-shadow:none}
.murphy-note .murphy-art{width:104px;max-height:124px}.murphy-warning{background:var(--redbg);border-color:color-mix(in srgb,var(--red) 25%,var(--border))}
.murphy-goal{background:var(--greenbg)}.murphy-goal .murphy-art{width:154px;max-height:146px}.murphy-goal{grid-template-columns:minmax(0,1fr) 154px}
.murphy-bills{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.murphy-bills .murphy-art{width:90px;max-height:114px}
.murphy-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 16px}.murphy-empty .murphy-art{width:174px;max-height:190px}.murphy-empty h2{font-size:17px;color:var(--text);margin:0}.murphy-empty p{max-width:35ch;line-height:1.5;margin:0 0 4px}
.murphy-backup{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:14px;box-shadow:none}.murphy-backup .murphy-art{width:80px;max-height:96px}
.murphy-purchase{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:12px;margin-top:14px;padding:12px;border-radius:14px;background:var(--amberbg);border:1px solid var(--border)}
.murphy-purchase .murphy-art{width:66px;max-height:80px}.murphy-purchase p{margin:5px 0 0}.murphy-purchase strong{font-size:13px}.murphy-purchase .small{font-size:12px}
button:focus-visible,.btn:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
@media(max-width:560px){.murphy-welcome{grid-template-columns:minmax(0,1fr) 88px;gap:10px;padding:14px}.murphy-welcome-art{width:88px;max-height:112px}.murphy-welcome .button-row .btn{padding:10px 11px;font-size:12px}.murphy-copy h2{font-size:16px}.murphy-note{grid-template-columns:minmax(0,1fr) 84px;gap:10px;padding:14px}.murphy-note .murphy-art{width:84px;max-height:108px}.murphy-goal{grid-template-columns:minmax(0,1fr) 118px}.murphy-goal .murphy-art{width:118px;max-height:116px}.murphy-backup{grid-template-columns:64px minmax(0,1fr);gap:10px}.murphy-backup .murphy-art{width:64px;max-height:84px}.murphy-backup .btn{grid-column:1/-1;width:100%}.murphy-bills .murphy-art{width:80px;max-height:106px}}
@media(max-width:350px){.murphy-welcome{grid-template-columns:1fr}.murphy-welcome-art{grid-row:1;width:84px;justify-self:center}.murphy-note,.murphy-goal{grid-template-columns:minmax(0,1fr) 72px}.murphy-note .murphy-art{width:72px}.murphy-bills .murphy-art{width:64px}.top-actions{gap:4px}.icon-btn{width:36px;height:36px}.topbar h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.progress>span,.toast{transition:none}}
