/* Shared monochrome design layer. Loaded AFTER each page's own <style>, so it
   restyles the existing markup through the same CSS variables the theme picker
   already drives (see applyTheme in each page). No colour outside black/white/grey:
   state is shown with shape and weight (filled / outlined / dashed), not hue. */

:root{
  --accent:#fff;
  --accent-soft:rgba(255,255,255,.08);
  --on-accent:#000;
  --green:var(--text);
  --red:var(--text);
  --warn:var(--text-dim);
  --green-soft:color-mix(in srgb, var(--text) 8%, transparent);
  --red-soft:color-mix(in srgb, var(--text) 8%, transparent);
  --warn-soft:color-mix(in srgb, var(--text) 5%, transparent);
  --radius:14px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --shadow:0 1px 0 rgba(255,255,255,.03) inset;
}

::selection{ background:var(--text); color:var(--bg); }

html{ color-scheme:dark; }
html[data-mode="light"]{ color-scheme:light; }

body{
  font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  letter-spacing:-.011em;
  font-feature-settings:"tnum" 1,"cv11" 1;
  text-rendering:optimizeLegibility;
}

/* faint dot grid behind everything */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-2; pointer-events:none;
  background-image:radial-gradient(color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity:.55;
}
html[data-mode="light"] #weatherCanvas{ filter:invert(1); }

:focus-visible{ outline:2px solid var(--text); outline-offset:2px; border-radius:6px; }
input:focus-visible,textarea:focus-visible,select:focus-visible{ outline:none; }

/* ---------- layout ---------- */
.page{ max-width:720px; }
/* floating glass bar that tightens up once you scroll (ui.js toggles .scrolled) */
.top-bar{
  position:sticky; top:10px; z-index:30;
  margin:10px 0 18px; padding:9px 10px 9px 14px;
  background:color-mix(in srgb, var(--card) 62%, transparent);
  -webkit-backdrop-filter:blur(20px) saturate(170%); backdrop-filter:blur(20px) saturate(170%);
  border:1px solid color-mix(in srgb, var(--text) 10%, var(--border));
  border-radius:18px;
  box-shadow:0 1px 0 color-mix(in srgb, var(--text) 6%, transparent) inset, 0 10px 30px rgba(0,0,0,.18);
  transition:padding .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, transform .3s var(--ease);
  animation:barIn .6s var(--ease) both;
}
.top-bar.scrolled{
  padding-top:6px; padding-bottom:6px;
  background:color-mix(in srgb, var(--card) 86%, transparent);
  box-shadow:0 1px 0 color-mix(in srgb, var(--text) 6%, transparent) inset, 0 14px 40px rgba(0,0,0,.4);
}
@keyframes barIn{ from{ opacity:0; transform:translateY(-14px) scale(.98); } to{ opacity:1; transform:none; } }
.top-bar .brand{ gap:10px; }
.top-bar-actions{ gap:6px; }
.top-bar .icon-only-btn,.top-bar .profile-avatar-btn{ border-color:transparent; background:transparent; }
.top-bar .icon-only-btn:hover,.top-bar .profile-avatar-btn:hover{ background:var(--accent-soft); border-color:transparent; }
.top-bar .back-link{ border-color:transparent; }
.brand-title,.brand{ font-weight:650; letter-spacing:-.02em; }
.brand-logo{ border-radius:8px; }

.icon-only-btn,.profile-avatar-btn{
  border-radius:10px; width:34px; height:34px;
  transition:color .15s,border-color .15s,background .15s,transform .12s var(--ease);
}
.profile-avatar-btn{ border-radius:50%; }
.icon-only-btn:hover,.profile-avatar-btn:hover{ color:var(--text); border-color:var(--text-faint); background:var(--card-2); }

/* ---------- surfaces ---------- */
.card,.summary-stat,.import-panel,.rank-card,.overall-stat,.perm-row,.attempt-row,.autotrack-section,.season-table-wrap,.profile-head{
  border-radius:var(--radius);
}
.card{
  padding:12px 14px; gap:10px;
  background:var(--card);
  transition:border-color .18s,background .18s;
}
.card:hover{ transform:none; border-color:var(--text-faint); box-shadow:none; }
.card.pinned{ border-color:var(--text); }
.card.editing:hover{ border-color:var(--border); }
.stat{ border-radius:10px; background:var(--card-2); }
.stat:hover{ transform:none; border-color:var(--text-faint); }
.r6-stats-row .stat{ border-color:var(--border); }
.extras,.creds,.edit-logins{ border-radius:10px; }

.summary-row{ gap:8px; margin-bottom:14px; }
.summary-stat{ padding:12px 6px; }
.summary-stat .val{ font-size:24px; font-weight:600; letter-spacing:-.03em; line-height:1.1; }
.summary-stat .lab{ font-size:9.5px; letter-spacing:.09em; margin-top:4px; }

/* ---------- inputs ---------- */
#search,.search-input,.edit-input,#importText,.theme-select,#sortSelect{
  border-radius:11px;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
#search,.search-input{ padding-top:11px; padding-bottom:11px; font-size:13.5px; background:var(--card); }
#search:focus,.search-input:focus,.edit-input:focus,#importText:focus,.theme-select:focus{
  border-color:var(--text); box-shadow:0 0 0 3px var(--accent-soft);
}
.import-toggle,#sortSelect{ border-radius:11px; }
.import-toggle:hover{ color:var(--text); border-color:var(--text-faint); }

/* ---------- buttons ---------- */
.btn,.search-btn,.sort-toggle-btn,.copy-link-btn,.tracker-link,.back-link{
  border-radius:10px; font-weight:600;
  transition:background .15s,color .15s,border-color .15s,transform .12s var(--ease),opacity .15s;
}
.btn{ padding:8px 15px; }
.btn:active,.search-btn:active{ transform:scale(.97); }
.btn-primary,.search-btn{ background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.btn-primary:hover,.search-btn:hover{ opacity:.88; }
.btn-ghost{ color:var(--text-dim); }
.btn-ghost:hover{ color:var(--text); border-color:var(--text-faint); }
.btn-danger{ background:transparent; color:var(--text); border-color:var(--text); }
.btn-danger:hover{ background:var(--text); color:var(--bg); }
.card-icon-btn:hover,.icon-btn:hover{ color:var(--text); background:var(--accent-soft); }
.card-icon-btn.delete-btn:hover{ color:var(--text); background:var(--accent-soft); }
.card-icon-btn.pin-btn.pinned,.card-icon-btn.pin-btn.pinned svg{ color:var(--text); }
.card-icon-btn.pin-btn.pinned svg{ fill:var(--text); }

/* ---------- status: shape instead of colour ---------- */
.pill,.status-badge,.profile-pill{
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  font-weight:600;
}
.pill:hover{ transform:none; }
.pill .dot{ background:currentColor; }
.pill.ok,.status-badge.ok,.profile-pill.pill-ok{ background:transparent; color:var(--text); border-color:var(--text-faint); }
.pill.warn,.status-badge.warn{ background:transparent; color:var(--text-dim); border:1px dashed var(--text-faint); }
.pill.warn .dot{ background:transparent; box-shadow:inset 0 0 0 1.5px currentColor; }
.pill.bad,.status-badge.bad,.profile-pill.pill-bad{ background:var(--text); color:var(--bg); border-color:var(--text); }
.pill.bad .dot,.pill.ok .dot{ background:currentColor; }
/* permission toggles: granted = filled, not granted = quiet outline */
.perm-toggles .pill.ok{ background:var(--text); color:var(--bg); border-color:var(--text); }
.perm-toggles .pill.bad{ background:transparent; color:var(--text-dim); border-color:var(--border); }
.stats-updated.stale{ color:var(--text-dim); text-decoration:underline dotted; text-underline-offset:3px; }

.level-badge{ background:var(--card-2); color:var(--text); border:1px solid var(--border); }
.avatar,.profile-modal-avatar-fallback,.profile-avatar-fallback{ background:var(--card-2); color:var(--text); border:1px solid var(--border); }

/* ---------- overlays ---------- */
.modal-overlay{ background:rgba(0,0,0,.6); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.modal-card{ border-radius:18px; padding:22px; max-width:400px; box-shadow:0 30px 80px rgba(0,0,0,.55); }
.modal-title{ font-size:16px; font-weight:650; letter-spacing:-.02em; }
.profile-dropdown,.notif-dropdown{ border-radius:14px; }

.toast-item{
  display:flex; align-items:center; gap:8px; border-radius:12px;
  background:var(--card); box-shadow:0 10px 30px rgba(0,0,0,.4);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.toast-item::before{ content:"•"; opacity:.6; }
.toast-item.success,.toast-item.error,.toast-item.info{ color:var(--text); border-color:var(--text-faint); }
.toast-item.success::before{ content:"✓"; opacity:1; }
.toast-item.error{ border-style:dashed; }
.toast-item.error::before{ content:"✕"; opacity:1; }
.import-msg,.import-msg.err,.login-gate-text.err{ color:var(--text); }
.bulk-error-row b{ color:var(--text); }
.bulk-progress-fill{ background:var(--text); }
.copy-btn.copied{ color:var(--text) !important; }
.notif-badge{ background:var(--text); color:var(--bg); border-color:var(--bg); }
.notif-item.unread{ background:var(--accent-soft); border-left-color:var(--text); }
.notif-item-badge,.attempt-badge{ color:var(--text); }

/* ---------- login gate ---------- */
.login-gate{ gap:16px; }
.login-gate-title{ font-size:30px; font-weight:650; letter-spacing:-.04em; }
.login-gate-text{ font-size:13.5px; max-width:340px; }
.login-gate-btn{
  background:var(--accent); color:var(--on-accent); border-radius:12px; padding:13px 30px;
  transition:transform .15s var(--ease),opacity .15s; animation:none;
}
.login-gate-btn:hover{ opacity:.9; transform:translateY(-1px); }
.login-gate-btn:active{ transform:scale(.97); }

/* ---------- misc pages ---------- */
.page-title{ font-size:24px; font-weight:650; letter-spacing:-.035em; }
.rank-card,.overall-stat,.profile-head,.autotrack-section,.perm-row,.attempt-row{ background:var(--card); border-color:var(--border); }
.sidebar{ background:var(--card); }
.sidebar-link.active{ background:var(--text); color:var(--bg); }
.sidebar-link.active svg{ color:var(--bg); }
.toggle-switch input:checked + .toggle-slider{ background:var(--text); }
.toggle-switch input:checked + .toggle-slider:before{ background:var(--bg); }
.theme-swatch.active,.swatch.active{ border-color:var(--text); box-shadow:0 0 0 1px var(--text); }
.theme-swatch:hover,.swatch:hover{ transform:none; border-color:var(--text-faint); }
.season-table tr.current-season td{ background:var(--accent-soft); }
.current-season-tag{ background:var(--text); color:var(--bg); }
.attempt-row.blocked{ border-left:3px solid var(--text); }
.spinner{ border-color:var(--border); border-top-color:var(--text); }

/* ---------- skeleton loader ---------- */
.sk,.skeleton-line{
  position:relative; overflow:hidden;
  background:color-mix(in srgb, var(--text) 7%, var(--bg));
  border-radius:8px;
  animation:none;
}
.sk::after,.skeleton-line::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--text) 9%, transparent) 50%, transparent 80%);
  transform:translateX(-100%);
  animation:skSweep 1.4s var(--ease) infinite;
}
@keyframes skSweep{ to{ transform:translateX(100%); } }
.sk-line{ height:10px; }
.sk-line.lg{ height:22px; }
.sk-circle{ border-radius:50%; flex-shrink:0; }
.sk-row{ display:flex; align-items:center; gap:10px; }
.sk-stack{ display:flex; flex-direction:column; gap:10px; }
.sk-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:12px 14px; display:flex; flex-direction:column; gap:12px;
}
.sk-grid{ display:grid; gap:8px; }
.sk-grid.c3{ grid-template-columns:repeat(3,1fr); }
.sk-grid.c4{ grid-template-columns:repeat(4,1fr); }
.skeleton-card{ border-radius:var(--radius); padding:12px 14px; }
/* numbers that are still loading */
.is-loading{ color:transparent !important; position:relative; }
.is-loading::after{
  content:""; position:absolute; left:50%; top:50%; width:1.6em; height:.8em;
  transform:translate(-50%,-50%); border-radius:4px; background:var(--card-2);
  animation:skPulse 1.2s ease-in-out infinite;
}
@keyframes skPulse{ 50%{ opacity:.4; } }

.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .sk::after,.skeleton-line::after{ display:none; }
}
@media (max-width:480px){
  .summary-stat .val{ font-size:20px; }
  .top-bar{ margin:6px 0 12px; top:6px; border-radius:16px; }
}

/* ---------- life: motion, glow, small delights ---------- */
@keyframes pageIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
.page,.shell > .content,.login-gate,.home{ animation:pageIn .55s var(--ease) both; }

/* slow-drifting light behind everything */
body::after{
  content:""; position:fixed; z-index:-2; pointer-events:none;
  width:70vmax; height:70vmax; left:50%; top:-35vmax; margin-left:-35vmax;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--text) 9%, transparent), transparent);
  animation:drift 18s ease-in-out infinite alternate;
}
@keyframes drift{ to{ transform:translate(14vmax,6vmax) scale(1.15); } }

/* cards enter one after another */
.card{ animation:cardIn .5s var(--ease) both; }
.grid .card:nth-child(1){ animation-delay:.02s } .grid .card:nth-child(2){ animation-delay:.07s }
.grid .card:nth-child(3){ animation-delay:.12s } .grid .card:nth-child(4){ animation-delay:.17s }
.grid .card:nth-child(5){ animation-delay:.22s } .grid .card:nth-child(6){ animation-delay:.27s }
.grid .card:nth-child(7){ animation-delay:.32s } .grid .card:nth-child(8){ animation-delay:.37s }
.grid .card:nth-child(9){ animation-delay:.42s } .grid .card:nth-child(10){ animation-delay:.47s }
.summary-stat{ animation:cardIn .5s var(--ease) both; }
.summary-stat:nth-child(2){ animation-delay:.05s } .summary-stat:nth-child(3){ animation-delay:.1s } .summary-stat:nth-child(4){ animation-delay:.15s }

/* cursor spotlight on surfaces (ui.js feeds --mx/--my) */
.card,.summary-stat,.tile,.rank-card,.overall-stat,.perm-row,.attempt-row,.panel{ position:relative; }
.card::before,.summary-stat::before,.tile::before,.rank-card::before,.overall-stat::before,.perm-row::before,.panel::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--text) 10%, transparent), transparent 65%);
  opacity:0; transition:opacity .25s;
}
.card:hover::before,.summary-stat:hover::before,.tile:hover::before,.rank-card:hover::before,.overall-stat:hover::before,.perm-row:hover::before,.panel:hover::before{ opacity:1; }

.summary-stat{ transition:transform .2s var(--ease),border-color .2s; }
.summary-stat:hover{ transform:translateY(-2px); border-color:var(--text-faint); }

/* the logo likes attention */
.brand-logo,.sidebar-brand-logo{ cursor:pointer; transition:transform .35s var(--ease); }
.brand-logo:hover,.sidebar-brand-logo:hover{ transform:rotate(-12deg) scale(1.15); }
.brand-logo:active,.sidebar-brand-logo:active{ transform:scale(.9); }

/* "Ready" accounts get a quiet heartbeat */
.status-badge.ok::before{
  content:""; display:inline-block; width:5px; height:5px; border-radius:50%;
  background:currentColor; margin-right:5px; vertical-align:middle;
  animation:beat 2s ease-in-out infinite;
}
@keyframes beat{ 0%,100%{ opacity:.35; transform:scale(.8); } 50%{ opacity:1; transform:scale(1.25); } }

.sparkle{
  position:fixed; z-index:100; pointer-events:none; font-weight:700; font-size:16px;
  color:var(--text); animation:sparkleUp 1.2s ease-out forwards;
}
@keyframes sparkleUp{
  0%{ opacity:0; transform:translate(-50%,0) scale(.6); }
  15%{ opacity:1; }
  100%{ opacity:0; transform:translate(calc(-50% + var(--dx)),-90px) rotate(var(--rot)) scale(1.2); }
}
html[data-mode="light"] body::after{ opacity:.25; }

/* ---------- friendly bits ---------- */
.summary-stat[data-filter]{ cursor:pointer; user-select:none; }
.summary-stat.on{ background:var(--text); border-color:var(--text); color:var(--bg); }
.summary-stat.on .lab{ color:inherit; opacity:.7; }
.search-wrap{ position:relative; }
.search-help{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; border-radius:50%; border:1px solid var(--border);
  background:var(--card-2); color:var(--text-dim); font-family:inherit; font-weight:600; font-size:11px; cursor:pointer;
}
.search-help:hover{ color:var(--text); border-color:var(--text-faint); }
#search{ padding-right:38px; }
.link-btn{ background:none; border:none; padding:0; color:var(--text); text-decoration:underline; text-underline-offset:3px; font:inherit; cursor:pointer; }
.import-panel code,.modal-text code,.tip code{ font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace; font-size:.92em; background:var(--card-2); border:1px solid var(--border); border-radius:5px; padding:1px 5px; }
.import-count{ font-size:12px; color:var(--text-dim); align-self:center; }
.tip-list{ display:flex; flex-direction:column; gap:6px; }
.tip{ display:flex; align-items:center; justify-content:space-between; gap:10px; text-align:left; background:var(--card-2); border:1px solid var(--border); border-radius:10px; padding:8px 10px; color:var(--text); cursor:pointer; font-family:inherit; }
.tip:hover{ border-color:var(--text-faint); }
.tip span{ font-size:11.5px; color:var(--text-dim); }
.empty-state,.no-results{ line-height:1.6; }

/* status badge: dot and label on one line */
.status-badge{ display:inline-flex; align-items:center; gap:5px; line-height:1; }
.status-badge.ok::before{ margin:0; flex:none; }

/* trash + undo toast */
.toast-undo{ background:none; border:none; color:var(--text); font:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; cursor:pointer; padding:0 0 0 6px; }
.trash-row{ display:flex; align-items:center; gap:8px; padding:9px 0; border-top:1px solid var(--border); }
.trash-row:first-child{ border-top:none; }
.trash-info{ flex:1; min-width:0; display:flex; flex-direction:column; }
.trash-info b{ font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trash-info span{ font-size:11px; color:var(--text-dim); }
.trash-row .btn{ padding:6px 10px; font-size:11.5px; }
.trash-modal{ max-width:480px; }

/* Elite skins / Black Ice chips */
.chips{ display:flex; flex-wrap:wrap; gap:5px; }
.chip{
  display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600;
  padding:3px 8px; border-radius:999px; background:var(--card); border:1px solid var(--border); color:var(--text);
}
.chip-x{ background:none; border:none; color:var(--text-faint); font-size:14px; line-height:1; padding:0 0 0 2px; cursor:pointer; font-family:inherit; }
.chip-x:hover{ color:var(--text); }
.chip-editor{ display:flex; flex-direction:column; gap:6px; }
.chip-editor .lab{ font-size:9px; color:var(--text-dim); text-transform:uppercase; letter-spacing:.04em; }
.chip-editor .chips:empty{ display:none; }
.cosmetics .cosm-row{ display:flex; align-items:flex-start; gap:10px; }
.cosmetics .cosm-row .label{ font-size:10px; color:var(--text-dim); text-transform:uppercase; letter-spacing:.04em; width:60px; flex-shrink:0; padding-top:4px; }

/* hints + Elite/Black Ice pictures */
.rank-hint{ font-size:10.5px; color:var(--text-faint); margin:6px 2px 4px; line-height:1.4; }
.cosm-img{ position:relative; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:6px; background:var(--card-2); border:1px solid var(--border); overflow:hidden; flex-shrink:0; vertical-align:middle; }
.cosm-img b{ font-size:8.5px; font-weight:700; color:var(--text-dim); letter-spacing:-.02em; }
.cosm-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:var(--card-2); opacity:0; transition:opacity .2s; }
.chip .cosm-img{ margin-left:-5px; width:18px; height:18px; border-radius:50%; }
.chip-add{ display:flex; gap:6px; }
.chip-add .edit-input{ flex:1; min-width:0; }
.chip-add .btn{ white-space:nowrap; padding:6px 10px; font-size:11.5px; }
.cosm-tiles{ display:flex; flex-wrap:wrap; gap:8px; }
.cosm-tile{ display:flex; flex-direction:column; align-items:center; gap:2px; width:66px; text-align:center; }
.cosm-tile .cosm-img{ width:52px; height:52px; border-radius:11px; }
.cosm-tile .cosm-img b{ font-size:12px; }
.cosm-tile .cap,.pick-tile .cap{ font-size:10px; line-height:1.2; overflow:hidden; text-overflow:ellipsis; max-width:100%; white-space:nowrap; }
.cosm-tile .cap{ color:var(--text-dim); }
.cosm-tile small,.pick-tile small{ font-size:9px; line-height:1.2; color:var(--text-faint); max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.picker-modal{ max-width:560px; }
.pick-search{ margin:2px 0 10px; }
.pick-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(88px,1fr)); gap:8px; max-height:50vh; overflow-y:auto; padding:2px; }
.pick-tile{ display:flex; flex-direction:column; align-items:center; gap:5px; padding:8px 4px; border-radius:12px; background:var(--card-2); border:1px solid var(--border); color:var(--text); cursor:pointer; font-family:inherit; }
.pick-tile:hover{ border-color:var(--text-faint); }
.pick-tile[aria-pressed="true"]{ border-color:var(--text); box-shadow:0 0 0 1px var(--text); background:var(--accent-soft); }
.pick-tile .cosm-img{ width:56px; height:56px; border-radius:12px; }
.pick-tile .cosm-img b{ font-size:13px; }
.pick-tile[aria-pressed="true"] .cap::before{ content:"\2713 "; }
.pick-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.pick-count{ font-size:12px; color:var(--text-dim); }

.pick-filters{ display:flex; flex-wrap:wrap; gap:5px; margin:0 0 10px; }
.pick-filters button{ background:var(--card-2); border:1px solid var(--border); color:var(--text-dim); font-family:inherit; font-weight:600; font-size:11.5px; padding:6px 10px; border-radius:999px; cursor:pointer; }
.pick-filters button:hover{ color:var(--text); border-color:var(--text-faint); }
.pick-filters button.on{ background:var(--text); color:var(--bg); border-color:var(--text); }

/* editing one account: nothing else on screen; coming back flashes the card you were on */
body.editing-mode .summary-row,
body.editing-mode .toolbar,
body.editing-mode .import-panel{ display:none !important; }
.card{ transition:border-color .18s, background .18s, box-shadow .6s; }
.card.flash{ border-color:var(--text); box-shadow:0 0 0 3px var(--accent-soft), 0 0 30px color-mix(in srgb, var(--text) 20%, transparent); }
