/* Spending · iOS-style layer (Claude, 15 Oct 2026). Loaded last; refines Quiet Glass without changing its artwork. */
:root{
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",system-ui,sans-serif;
  --label:#1d1d1f;--label-2:rgba(60,60,67,.64);--label-3:rgba(60,60,67,.38);--separator:rgba(60,60,67,.12);
  --accent:#0a7aff;--accent-2:#3b8cff;--amber:#b7791f;--mint:#2f9e7a;
  --page:#f2f4f8;--card:rgba(255,255,255,.74);--card-solid:#fff;
  --glass:rgba(255,255,255,.58);--glass-strong:rgba(255,255,255,.82);
  --glass-edge:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 .5px rgba(255,255,255,.6);
  --lift:0 1px 2px rgba(16,24,40,.04),0 10px 30px -12px rgba(36,56,99,.14);
  --float:0 12px 40px -10px rgba(36,56,99,.22),0 2px 6px rgba(36,56,99,.06);
  --vivid:saturate(1.9) brightness(1.03);
  --r-card:26px;--r-control:999px;--spring:cubic-bezier(.2,.9,.25,1.05);
  color-scheme:light;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font);color:var(--label);background:var(--page);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"kern"}
button,input,select,textarea{font-family:var(--font)}
#workspace .amount,#workspace strong,#workspace b,#workspace td,#workspace .spark-amount,#workspace .purchase-amount,dialog .detail-amount{font-variant-numeric:tabular-nums}

/* Soft, quiet colour behind the glass */
.ambient div:nth-child(1){background:radial-gradient(closest-side,#cfe0ff,transparent)!important;opacity:.75}
.ambient div:nth-child(2){background:radial-gradient(closest-side,#eadcff,transparent)!important;opacity:.6}
.ambient div:nth-child(3){background:radial-gradient(closest-side,#d3f3ea,transparent)!important;opacity:.55}

/* Cards: frosted glass, hairline edge, soft lift */
#workspace .card,#workspace .glass.table-wrap,#workspace .toolbar.glass{background:var(--card);border:0;border-radius:var(--r-card);box-shadow:var(--glass-edge),var(--lift);backdrop-filter:blur(30px) saturate(1.8);-webkit-backdrop-filter:blur(30px) saturate(1.8)}
#workspace .card-head h2,#workspace .card h2{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.022em;color:var(--label)}
#workspace .card-head p,#workspace .card-head>div>p{font-size:15px;color:var(--label-2);letter-spacing:-.01em;margin-top:3px}
#workspace .eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--label-2)}
#workspace .fineprint,#workspace .timeline-note{font-size:13px;line-height:1.45;color:var(--label-2)}

/* Large titles */
#workspace .page-heading{position:relative;align-items:flex-end}
#workspace .page-heading h1{font-size:44px;line-height:1.05;font-weight:700;letter-spacing:-.03em;color:var(--label);margin:0}
#workspace .page-heading>div:first-child>p{font-size:17px;line-height:1.35;color:var(--label-2);letter-spacing:-.01em;margin:6px 0 0}
#workspace .back-link{display:inline-flex;align-items:center;gap:2px;margin:0 0 6px -8px;padding:6px 10px 6px 4px;min-height:36px;border:0;background:none;box-shadow:none;color:var(--accent);font-size:17px;font-weight:400;letter-spacing:-.01em;cursor:pointer;border-radius:12px}
#workspace .back-link svg{width:22px;height:22px;stroke-width:2.4}
#workspace .back-link:hover{background:rgba(10,122,255,.08)}

/* Liquid-glass controls: tabs, segmented controls, pills */
#workspace .topbar nav,#workspace .segment,#workspace .page-heading .pill,#workspace .workspace-tools>summary{background:var(--glass);border:0;box-shadow:var(--glass-edge),0 4px 18px -8px rgba(36,56,99,.18);backdrop-filter:blur(24px) saturate(1.8);-webkit-backdrop-filter:blur(24px) saturate(1.8)}
#workspace .segment{padding:3px;border-radius:var(--r-control);gap:2px;display:inline-flex}
#workspace .segment button{border-radius:var(--r-control);font-size:14px;font-weight:500;color:var(--label-2);padding:7px 15px;min-height:34px;background:transparent;box-shadow:none;transition:background .25s var(--spring),color .2s}
#workspace .segment button.active{background:#fff;color:var(--label);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06),0 3px 10px -2px rgba(36,56,99,.16)}
#workspace .page-heading .pill{border-radius:var(--r-control);padding:0 14px 0 14px;min-height:44px;gap:8px;color:var(--label);position:relative}
#workspace .page-heading .pill select{font-size:16px;font-weight:600;color:var(--label);background:transparent;border:0;appearance:none;-webkit-appearance:none;padding:0 4px 0 0;cursor:pointer;max-width:none}
#workspace .page-heading .pill svg{width:18px;height:18px;color:var(--label-2);flex:0 0 auto}

/* Primary actions */
#workspace .primary{background:linear-gradient(180deg,#4c95ff,#1f6dff);color:#fff;border:0;border-radius:16px;font-weight:600;font-size:16px;letter-spacing:-.01em;min-height:50px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 24px -12px rgba(31,109,255,.75);transition:transform .2s var(--spring),box-shadow .2s}
#workspace .primary:active{transform:scale(.98)}
#workspace .secondary{border-radius:14px;background:var(--glass-strong);border:0;box-shadow:var(--glass-edge),0 2px 8px -4px rgba(36,56,99,.2);color:var(--label);font-weight:500}
#workspace .text-button{color:var(--accent);font-weight:500;font-size:16px}
#workspace .badge{border-radius:999px;font-weight:600;font-size:12px;letter-spacing:0;padding:4px 10px}
#workspace .badge.amber{background:#fff1d6;color:#9a6512}

/* Overview hero */
#workspace .quiet-total .amount,#workspace .where-all .amount,#workspace .category-hero .amount,#workspace .year-card .amount{font-size:52px;line-height:1.05;font-weight:700;letter-spacing:-.035em;color:var(--label);margin:6px 0 4px}
#workspace .quiet-total .hero-sub{font-size:17px;color:var(--label-2)}
#workspace .quiet-total small{font-size:13px;color:var(--label-3)}
#workspace .composition-bar{height:30px;border-radius:15px;gap:2px;background:rgba(118,118,128,.08);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);overflow:hidden}
#workspace .composition-bar span{border:0;background:linear-gradient(180deg,color-mix(in oklab,var(--c,#9ab) 72%,#fff),var(--c,#9ab) 70%);filter:var(--vivid);box-shadow:inset 0 1px 0 rgba(255,255,255,.55);transform-origin:left;animation:grow .9s var(--spring) both}
#workspace .composition-bar span:first-child{border-radius:15px 0 0 15px}
#workspace .composition-bar span:last-child{border-radius:0 15px 15px 0}
#workspace .quiet-composition p{font-size:15px;color:var(--label-2);margin-top:12px}
@keyframes grow{from{transform:scaleX(0);opacity:.4}to{transform:none;opacity:1}}

/* Ranked rows */
#workspace .rank-row{border-radius:18px;padding:8px 10px;margin:0 -10px;transition:background .2s}
#workspace .rank-row:hover{background:rgba(118,118,128,.06)}
#workspace .rank-row:active{background:rgba(118,118,128,.1)}
#workspace .rank-label{font-size:17px;font-weight:500;color:var(--label);letter-spacing:-.015em}
#workspace .rank-row strong{font-size:17px;font-weight:600;color:var(--label);letter-spacing:-.01em}
#workspace .rank-row small{font-size:13px;color:var(--label-2)}
#workspace .bar-track{height:6px;border-radius:3px;background:rgba(118,118,128,.1)}
#workspace .bar-fill{border-radius:3px;filter:var(--vivid);animation:grow .8s var(--spring) both}
#workspace .icon-tile.raster-tile{filter:drop-shadow(0 4px 8px rgba(36,56,99,.1))}

/* Worth a look */
#workspace .quiet-review-row{border-radius:18px;padding:12px 10px;margin:0 -10px;border-bottom:0;position:relative}
#workspace .quiet-review-row+.quiet-review-row::before{content:"";position:absolute;left:78px;right:10px;top:0;height:.5px;background:var(--separator)}
#workspace .quiet-review-row:hover{background:rgba(118,118,128,.06)}
#workspace .quiet-review-row strong{font-size:17px;font-weight:600;color:var(--label)}
#workspace .quiet-review-row small{font-size:15px;color:var(--label-2)}
#workspace .quiet-review-row b{font-size:17px;font-weight:600}
#workspace .worth-look.compact{padding:0;margin-bottom:20px}
#workspace .worth-look.compact>.mobile-worth-summary{display:flex!important;width:100%;padding:16px 18px;border-radius:var(--r-card);justify-content:flex-start!important;grid-template-columns:none!important}
#workspace .worth-look.compact>.mobile-worth-summary>.icon-tile{width:56px;height:56px;flex:0 0 auto}
#workspace .mobile-worth-summary{align-items:center;gap:14px;background:none;border:0;box-shadow:none;text-align:left;cursor:pointer}
#workspace .mobile-worth-summary>span{flex:1;display:flex;flex-direction:column;gap:2px}
#workspace .mobile-worth-summary strong{font-size:20px;font-weight:700;letter-spacing:-.02em}
#workspace .mobile-worth-summary small{font-size:15px;color:var(--label-2)}
#workspace .mobile-worth-summary>svg{width:20px;height:20px;color:var(--label-3)}
#workspace .quiet-tools{margin:18px 4px 0}
#workspace .quiet-tools .toggle{font-size:15px;color:var(--label-2);gap:10px}

/* Grouped purchase lists (Activity, category pages, sheets) */
#workspace .day-groups,dialog .day-groups{display:flex;flex-direction:column;gap:18px}
#workspace .day-label,dialog .day-label{font-size:13px;font-weight:600;color:var(--label-2);margin:0 0 6px 2px;letter-spacing:0}
#workspace .day-rows,dialog .day-rows{border-radius:20px;background:rgba(255,255,255,.62);box-shadow:inset 0 0 0 .5px rgba(60,60,67,.08);overflow:hidden}
.purchase-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto 14px;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 14px;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:left;cursor:pointer;position:relative;color:var(--label);font:inherit}
.purchase-row+.purchase-row::before{content:"";position:absolute;left:72px;right:0;top:0;height:.5px;background:var(--separator)}
.purchase-row:hover{background:rgba(118,118,128,.06)}
.purchase-row:active{background:rgba(118,118,128,.12)}
.purchase-row .icon-tile{width:44px;height:44px;border-radius:12px}
.purchase-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.purchase-copy strong{font-size:16px;font-weight:600;letter-spacing:-.012em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.purchase-copy small{font-size:13px;color:var(--label-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.purchase-amount{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.purchase-amount strong{font-size:16px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.purchase-amount.credit strong{color:var(--mint)}
.purchase-amount small{font-size:12px;color:var(--label-2)}
.purchase-row>svg{width:14px;height:14px;color:var(--label-3);stroke-width:2.4}
#workspace .table-total{display:flex;justify-content:space-between;align-items:baseline;padding:16px 4px 4px;border:0;font-size:15px;color:var(--label-2)}
#workspace .table-total strong{font-size:17px;color:var(--label)}
#workspace .glass.table-wrap{padding:18px}
#workspace .statement-lines{margin-top:18px}

/* All categories and category pages */
#workspace .where-all .card-head{align-items:flex-start;margin-bottom:16px}
#workspace .where-all .composition-bar{margin:4px 0 18px}
#workspace .category-hero{display:flex;align-items:center;gap:20px;padding:24px}
#workspace .category-hero .icon-tile{width:84px;height:84px;flex:0 0 auto}
#workspace .category-hero .hero-sub{font-size:17px;color:var(--label-2)}
#workspace .category-trend,#workspace .purchase-list{margin-top:18px}
.mini-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;height:150px;margin-top:8px}
.mini-month{display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;min-width:0}
.mini-value{font-size:11px;font-weight:600;color:var(--label-2);height:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.mini-track{flex:1;width:100%;max-width:30px;display:flex;align-items:flex-end;border-radius:8px;background:rgba(118,118,128,.07)}
.mini-bar{display:block;width:100%;border-radius:8px;background:linear-gradient(180deg,color-mix(in oklab,var(--c) 70%,#fff),var(--c));filter:var(--vivid);transform-origin:bottom;animation:rise .8s var(--spring) both}
.mini-month small{font-size:11px;color:var(--label-2)}
.mini-month.partial .mini-bar{opacity:.5}
.mini-month.none .mini-track{background:transparent;box-shadow:inset 0 0 0 1.5px rgba(118,118,128,.18);border-radius:8px;background-image:repeating-linear-gradient(135deg,transparent 0 5px,rgba(118,118,128,.07) 5px 6px)}
@keyframes rise{from{transform:scaleY(0)}to{transform:none}}

/* Insights: 12 months */
#workspace .year-card .card-head{margin-bottom:10px}
.year-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;align-items:end;height:250px;margin:10px 0 6px}
.year-col{display:flex;flex-direction:column;align-items:center;gap:7px;height:100%;min-width:0;background:none;border:0;box-shadow:none;padding:0;cursor:pointer;color:inherit;font:inherit}
.year-col.none{cursor:default}
.year-value{font-size:12px;font-weight:600;color:var(--label-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.year-track{flex:1;width:100%;max-width:46px;display:flex;align-items:flex-end;border-radius:12px}
.year-stack{display:flex;flex-direction:column-reverse;width:100%;border-radius:12px;overflow:hidden;gap:2px;box-shadow:0 6px 16px -10px rgba(36,56,99,.4);transform-origin:bottom;animation:rise .9s var(--spring) both;transition:transform .25s var(--spring)}
.year-stack span{display:block;min-height:2px;background:linear-gradient(90deg,color-mix(in oklab,var(--c) 78%,#fff),var(--c));filter:var(--vivid)}
.year-col:hover .year-stack{transform:scaleY(1.02) translateY(-2px)}
.year-col.partial .year-stack{opacity:.5}
.year-missing{display:block;width:100%;height:100%;border-radius:12px;box-shadow:inset 0 0 0 1.5px rgba(118,118,128,.16);background:repeating-linear-gradient(135deg,transparent 0 6px,rgba(118,118,128,.06) 6px 7px)}
.year-col small{font-size:12px;color:var(--label-2)}
.year-col:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:12px}
.year-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:16px 0 8px;font-size:13px;color:var(--label-2)}
.year-legend span{display:inline-flex;align-items:center;gap:6px}
.year-legend i{width:10px;height:10px;border-radius:3px;background:var(--c);filter:var(--vivid)}
#workspace .year-matrix,#workspace .quiet-history{margin-top:18px}
.matrix-wrap{overflow-x:auto;margin:6px -6px 0;padding:0 6px 4px}
.matrix{width:100%;border-collapse:separate;border-spacing:0 4px;font-size:13px}
.matrix th{font-size:12px;font-weight:600;color:var(--label-2);text-align:right;padding:4px 6px;white-space:nowrap}
.matrix th.none{color:var(--label-3)}
.matrix thead th:first-child,.matrix tbody th{text-align:left}
.matrix td{text-align:right;padding:9px 6px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--label);background:color-mix(in oklab,var(--c,#ccd) var(--a,0%),transparent)}
.matrix td:nth-child(2){border-radius:10px 0 0 10px}
.matrix td.cell-missing{color:var(--label-3);background:transparent;text-align:center}
.matrix td.matrix-total{font-weight:700;padding-left:14px;background:transparent}
.matrix td.matrix-avg{color:var(--label-2);background:transparent}
.matrix tbody th{position:sticky;left:0;background:linear-gradient(90deg,#fbfcfe 85%,transparent);z-index:1;padding-right:10px}
.matrix-name{display:flex;align-items:center;gap:10px;background:none;border:0;box-shadow:none;padding:0;font:inherit;font-size:15px;font-weight:500;color:var(--label);cursor:pointer;text-align:left;min-height:40px}
.matrix-name .icon-tile{width:34px;height:34px}
.matrix-name:hover span{color:var(--accent)}
.category-sparks{display:none}
.spark-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto 14px;gap:12px;align-items:center;width:100%;padding:10px 4px;background:none;border:0;box-shadow:none;text-align:left;position:relative;font:inherit;color:var(--label);cursor:pointer}
.spark-row+.spark-row::before{content:"";position:absolute;left:58px;right:0;top:0;height:.5px;background:var(--separator)}
.spark-row .icon-tile{width:42px;height:42px}
.spark-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.spark-copy strong{font-size:16px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spark{display:flex;align-items:flex-end;gap:2px;height:22px}
.spark i{flex:1;max-width:9px;border-radius:2px;background:var(--c);filter:var(--vivid)}
.spark i.partial{opacity:.5}.spark i.none{background:rgba(118,118,128,.18)}
.spark-amount{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.spark-amount strong{font-size:16px;font-weight:600}
.spark-amount small{font-size:12px;color:var(--label-2)}
.spark-row>svg{width:14px;height:14px;color:var(--label-3)}

/* More menu: an iOS context menu */
#workspace .contextbar .chip{position:static!important;transform:none!important;margin:0!important;background:rgba(255,241,214,.9);color:#8a5a12;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;border:0;box-shadow:none}
#workspace .contextbar .chip::before{display:none}
#workspace .contextbar .chip.quiet{display:none}
#workspace .workspace-tools>summary{width:44px;height:44px;min-height:44px;border-radius:50%;display:grid;place-items:center;color:var(--label);padding:0;font-size:0}
#workspace .workspace-tools>summary::-webkit-details-marker{display:none}
#workspace .workspace-tools>summary svg{width:22px;height:22px;fill:currentColor;stroke:none}
#workspace .workspace-tools[open]{background:transparent;padding:0;box-shadow:none;min-width:0}
#workspace .workspace-tools[open]>summary{background:var(--glass-strong)}
#workspace .workspace-tools{overflow:visible!important}
#workspace .workspace-tools .menu-panel{display:none}
#workspace .workspace-tools[open] .menu-panel{display:block;position:absolute;right:0;top:52px;width:250px;z-index:40;background:rgba(250,251,253,.88);backdrop-filter:blur(30px) saturate(1.8);-webkit-backdrop-filter:blur(30px) saturate(1.8);border-radius:18px;box-shadow:var(--float),inset 0 0 0 .5px rgba(255,255,255,.7);padding:6px 0;overflow:hidden;animation:menu .28s var(--spring) both;transform-origin:top right}
#workspace .workspace-tools nav{display:flex;flex-direction:column;background:none;box-shadow:none;padding:0}
#workspace .utility-link{display:flex;align-items:center;gap:12px;padding:11px 16px;min-height:44px;font-size:16px;color:var(--label);text-decoration:none;border-radius:0;position:relative}
#workspace .utility-link+.utility-link::before{content:"";position:absolute;left:48px;right:0;top:0;height:.5px;background:var(--separator)}
#workspace .utility-link svg{width:20px;height:20px;color:var(--accent);flex:0 0 auto}
#workspace .utility-link:hover,#workspace .utility-link.active{background:rgba(118,118,128,.1)}
#workspace .workspace-tools .menu-lock{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin-top:6px;padding:12px 16px;border:0;border-top:6px solid rgba(118,118,128,.1);border-radius:0;background:none;box-shadow:none;font:inherit;font-size:16px;color:var(--label);justify-content:flex-start;cursor:pointer}
#workspace .workspace-tools .menu-lock svg{width:20px;height:20px;color:var(--accent)}
#workspace .workspace-tools .menu-lock:hover{background:rgba(118,118,128,.1)}
@keyframes menu{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}

/* Sheets */
dialog#sheet{background:rgba(248,249,252,.94);backdrop-filter:blur(40px) saturate(1.8);-webkit-backdrop-filter:blur(40px) saturate(1.8);border:0;border-radius:30px;box-shadow:0 30px 80px -20px rgba(20,35,70,.45),inset 0 1px 0 rgba(255,255,255,.9);color:var(--label);font-family:var(--font)}
dialog#sheet::backdrop{background:rgba(20,30,50,.28);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
dialog#sheet[open]{animation:sheet-in .42s var(--spring) both}
dialog#sheet #sheet-label{font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--label);text-transform:none}
dialog#sheet .sheet-head .icon-button{width:32px;height:32px;min-height:32px;border-radius:50%;background:rgba(118,118,128,.14);box-shadow:none;border:0;color:var(--label-2)}
dialog#sheet h2{font-size:26px;font-weight:700;letter-spacing:-.025em;color:var(--label)}
dialog#sheet p{color:var(--label-2)}
dialog#sheet .detail-amount{font-size:40px;font-weight:700;letter-spacing:-.03em;color:var(--label)}
dialog#sheet .detail-list dt{color:var(--label-2)}
dialog#sheet .detail-list dd{color:var(--label)}
dialog#sheet .category-detail-summary{display:flex;align-items:center;gap:14px;margin-bottom:12px}
dialog#sheet .category-detail-summary>div{flex:1}
dialog#sheet .category-detail-summary strong{font-size:24px;font-weight:700}
dialog#sheet .primary{background:linear-gradient(180deg,#4c95ff,#1f6dff);color:#fff;border:0;border-radius:16px;min-height:50px;font-weight:600}
dialog#sheet .day-groups{margin:14px 0}
@keyframes sheet-in{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}

/* Toast */
#toast{background:rgba(30,32,40,.86);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:0;border-radius:999px;padding:12px 20px;font-size:15px;font-weight:500;box-shadow:0 12px 30px -10px rgba(0,0,0,.4)}

/* Footer */
#workspace footer{font-size:12px;color:var(--label-3)}

/* Desktop */
@media (min-width:1101px){
  #workspace .page-heading{padding-right:64px}
  #workspace .contextbar{top:44px;right:48px}
  #workspace .topbar nav{padding:4px;border-radius:var(--r-control)}
  #workspace .nav-item{font-size:16px;font-weight:500;color:var(--label-2);min-height:44px;border-radius:var(--r-control)}
  #workspace .nav-item.active{background:#fff;color:var(--label);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 12px -2px rgba(36,56,99,.18)}
  #workspace .nav-badge{background:#ffe7b3;color:#8a5a12}
}
@media (min-width:761px) and (max-width:1100px){
  #workspace .page-heading{padding-right:60px}
}

/* Phone */
@media (max-width:900px){
  .year-chart{height:190px;gap:5px}
  .year-value{font-size:9.5px}
  .year-col small{font-size:10.5px}
  .year-track{border-radius:8px}.year-stack,.year-missing{border-radius:8px}
  .matrix-wrap{display:none}
  .category-sparks{display:block}
}
@media (max-width:760px){
  #workspace .shell{margin-top:12px}
  #workspace .page-heading{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:flex-end!important;gap:10px 12px!important;padding-right:56px;margin-bottom:18px!important}
  .shell:has(.chip:not(.quiet)) #content .page-heading{padding-right:150px}
  #workspace .page-heading>div:first-child{flex:1 1 auto;min-width:0}
  #workspace .page-heading h1{font-size:34px;letter-spacing:-.028em;line-height:1.1}
  #workspace .page-heading>div:first-child>p{font-size:15px;margin-top:4px}
  #workspace .page-heading>.controls{flex:1 0 100%;order:3;margin:2px 0 0}
  #workspace .page-heading .pill{min-height:40px;padding:0 12px;display:inline-flex!important;align-items:center;width:auto!important;max-width:100%;justify-content:flex-start}
  #workspace .page-heading .pill select{width:auto!important;min-width:0;flex:0 1 auto}
  #workspace .page-heading>div:first-child>p{display:block!important}
  #workspace .quiet-grid .card-head,#workspace .where-all .card-head{flex-wrap:wrap!important;flex-direction:row!important;gap:12px}
  #workspace .quiet-grid .card-head>div:first-child,#workspace .where-all .card-head>div:first-child{flex:1 1 100%}
  #workspace .card-head .segment{display:flex!important;width:100%;flex:1 1 100%}
  #workspace .card-head .segment button{flex:1}
  #workspace .page-heading .pill select{font-size:15px}
  #workspace .contextbar{position:absolute;top:12px;right:16px;padding:0;z-index:30}
  #workspace .back-link{font-size:16px}
  #workspace .card{border-radius:24px}
  #workspace .quiet-total .amount,#workspace .where-all .amount,#workspace .category-hero .amount,#workspace .year-card .amount{font-size:40px}
  #workspace .card-head h2,#workspace .card h2{font-size:20px}
  #workspace .composition-bar{height:22px}
  #workspace .rank-label{font-size:16px}
  #workspace .rank-row strong{font-size:16px}
  #workspace .category-hero{padding:18px;gap:16px}
  #workspace .category-hero .icon-tile{width:68px;height:68px}
  .mini-months{gap:4px;height:120px}
  .mini-value{font-size:8.5px}
  .mini-month small{font-size:9.5px}
  #workspace .glass.table-wrap{padding:12px;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .purchase-row{grid-template-columns:40px minmax(0,1fr) auto 12px;gap:12px;padding:10px 12px}
  .purchase-row .icon-tile{width:40px;height:40px}
  .purchase-row+.purchase-row::before{left:64px}
  /* Floating glass tab bar */
  #workspace .topbar nav{left:16px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));padding:6px;border-radius:32px;background:rgba(255,255,255,.62);backdrop-filter:blur(26px) saturate(1.9);-webkit-backdrop-filter:blur(26px) saturate(1.9);box-shadow:var(--glass-edge),0 14px 40px -12px rgba(36,56,99,.32)}
  #workspace .nav-item{border-radius:26px;min-height:54px;font-size:11px;font-weight:500;color:var(--label-2);gap:3px;position:relative;transition:background .25s var(--spring),color .2s}
  #workspace .nav-item.active{background:rgba(10,122,255,.1);color:var(--accent)}
  #workspace .nav-item.active .mobile-nav-symbol{color:var(--accent)}
  #workspace .mobile-nav-symbol svg{width:24px;height:24px}
  #workspace .nav-badge{position:absolute;top:5px;left:calc(50% + 8px);right:auto!important;width:auto!important;min-width:18px;height:18px;border-radius:9px;background:#ff9f0a;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
  dialog#sheet{margin:auto auto 0;width:100%;max-width:100%;border-radius:30px 30px 0 0;max-height:92dvh;padding:14px 18px calc(18px + env(safe-area-inset-bottom))}
  dialog#sheet::before{content:"";display:block;width:38px;height:5px;border-radius:3px;background:rgba(60,60,67,.22);margin:0 auto 10px}
  @keyframes sheet-in{from{transform:translateY(40%);opacity:.6}to{transform:none;opacity:1}}
}
@media (prefers-reduced-motion:reduce){
  #workspace *,dialog#sheet{animation:none!important;transition:none!important}
}
@media (prefers-reduced-transparency:reduce){
  #workspace .card,#workspace .topbar nav,dialog#sheet,#workspace .workspace-tools nav{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}

/* Unlock screen */
.setup-gate{font-family:var(--font)}
.setup-gate .gate-card{border-radius:32px;background:rgba(255,255,255,.72);backdrop-filter:blur(30px) saturate(1.8);-webkit-backdrop-filter:blur(30px) saturate(1.8);border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 30px 80px -30px rgba(36,56,99,.35)}
.setup-gate .gate-mark{display:block;width:76px;height:76px;margin:0 0 18px;border-radius:20px;background:url(/dist/assets/quiet-glass/insurance-shield-v1-128.png) center/contain no-repeat;filter:drop-shadow(0 8px 16px rgba(36,56,99,.18))}
.setup-gate .gate-card h1{font-size:40px;font-weight:700;letter-spacing:-.03em;color:var(--label)}
.setup-gate .gate-intro{font-size:17px;color:var(--label-2)}
.setup-gate #gate-status{font-size:15px;color:var(--label-2)}
.setup-gate .primary{background:linear-gradient(180deg,#4c95ff,#1f6dff);color:#fff;border:0;border-radius:16px;min-height:52px;font-size:17px;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 24px -12px rgba(31,109,255,.75)}

/* Search results summary */
#workspace .search-hero{margin:0 0 18px;padding:24px}
#workspace .search-hero .amount{font-size:52px;line-height:1.05;font-weight:700;letter-spacing:-.035em;margin:6px 0 4px}
#workspace .search-hero .hero-sub{font-size:16px;color:var(--label-2);margin-bottom:14px}
#workspace .search-hero .eyebrow{text-transform:none;letter-spacing:0;font-size:14px}
#workspace .search-split{margin-top:16px}
#workspace .search-split .composition-bar{height:16px;border-radius:8px}
#workspace .search-cat{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:15px;color:var(--label-2)}
#workspace .search-cat .icon-tile{width:34px;height:34px}
#workspace .search-cat strong{color:var(--label)}
@media (max-width:760px){#workspace .search-hero{padding:18px}#workspace .search-hero .amount{font-size:40px}}
#content:focus,#content:focus-visible{outline:none}
#workspace .workspace-tools,#workspace .workspace-tools[open]{position:relative!important;width:44px!important;height:44px;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important}

/* Refinements after desktop review */
:root,html{background:var(--page)!important}
#workspace .worth-look.compact{min-height:0!important;height:auto!important;display:block!important;grid-template-rows:none!important}
#workspace .worth-look.compact>*:not(.mobile-worth-summary){display:none!important}
#workspace .toolbar .search{border-radius:14px;background:rgba(118,118,128,.08);box-shadow:none;border:0;padding:0 12px;min-height:44px}
#workspace .toolbar .search input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent;font-size:16px;color:var(--label)}
#workspace .toolbar .search:focus-within{box-shadow:0 0 0 3px rgba(10,122,255,.25);background:#fff}
#workspace .toolbar select{border-radius:14px;background:rgba(118,118,128,.08);border:0;box-shadow:none;font-size:15px;color:var(--label);min-height:44px}
@media (min-width:1101px){
  #workspace .page-heading{align-items:flex-start!important}
  #workspace .page-heading>.controls{margin-top:2px}
  #workspace .contextbar{top:0!important}
  #workspace .contextbar .chip{position:absolute!important;top:54px;right:0;white-space:nowrap}
  #workspace .quiet-grid .worth-look:not(.compact){display:flex;flex-direction:column}
  #workspace .quiet-grid .worth-look:not(.compact)>.primary{margin-top:auto}
}
@media (min-width:1101px){
  #workspace .page-heading>.controls{margin-top:20px}
  #workspace .contextbar{top:20px!important}
}

/* Glass colour bar: coloured glass inside a clear tube */
#workspace .composition-bar{position:relative;height:34px;border-radius:17px;padding:3px;gap:3px;background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.35));box-shadow:inset 0 0 0 .5px rgba(255,255,255,.9),inset 0 1px 1px rgba(255,255,255,1),inset 0 -1px 2px rgba(36,56,99,.08),0 6px 18px -8px rgba(36,56,99,.28);backdrop-filter:blur(12px) saturate(1.6);-webkit-backdrop-filter:blur(12px) saturate(1.6);overflow:hidden}
#workspace .composition-bar span{position:relative;border-radius:5px;background:linear-gradient(180deg,color-mix(in oklab,var(--c,#9ab) 55%,#fff) 0%,var(--c,#9ab) 55%,color-mix(in oklab,var(--c,#9ab) 85%,#1c2a44) 100%);box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -2px 3px rgba(20,30,60,.12),inset 0 0 0 .5px rgba(255,255,255,.35)}
#workspace .composition-bar span:first-child{border-radius:14px 5px 5px 14px}
#workspace .composition-bar span:last-child{border-radius:5px 14px 14px 5px}
#workspace .composition-bar span:only-child{border-radius:14px}
#workspace .composition-bar::after{content:"";position:absolute;left:8px;right:8px;top:4px;height:42%;border-radius:12px 12px 8px 8px;background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.08));pointer-events:none;mix-blend-mode:screen}
#workspace .search-split .composition-bar{height:22px;border-radius:11px;padding:2px;gap:2px}
#workspace .search-split .composition-bar span:first-child{border-radius:9px 4px 4px 9px}
#workspace .search-split .composition-bar span:last-child{border-radius:4px 9px 9px 4px}
@media (max-width:760px){#workspace .composition-bar{height:28px;border-radius:14px}#workspace .composition-bar span:first-child{border-radius:11px 4px 4px 11px}#workspace .composition-bar span:last-child{border-radius:4px 11px 11px 4px}}
/* matching glass on the ranking bars and charts */
#workspace .bar-fill{background:linear-gradient(180deg,color-mix(in oklab,var(--c,#9ab) 55%,#fff),var(--c,#9ab))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.year-stack span,.mini-bar{box-shadow:inset 1px 0 0 rgba(255,255,255,.45),inset -1px 0 0 rgba(20,30,60,.06)}
.spark-copy strong{overflow-wrap:anywhere}
@media (max-width:760px){.spark-row{grid-template-columns:40px minmax(0,1fr) auto 12px;gap:12px}.spark-amount strong{font-size:15px}}

/* Pops of colour, Apple-style */
.ambient div:nth-child(1){background:radial-gradient(closest-side,color-mix(in oklab,var(--amb1,#9fc0ff) 55%,#fff),transparent)!important;opacity:.8;transition:background 1s}
.ambient div:nth-child(2){background:radial-gradient(closest-side,color-mix(in oklab,var(--amb2,#d6b8ff) 50%,#fff),transparent)!important;opacity:.65}
.ambient div:nth-child(3){background:radial-gradient(closest-side,color-mix(in oklab,var(--amb3,#a8e6d4) 50%,#fff),transparent)!important;opacity:.6}
#workspace .category-hero,#workspace .search-hero{background:radial-gradient(130% 160% at 0% 0%,color-mix(in oklab,var(--c,#9ab) 26%,transparent),transparent 62%),radial-gradient(90% 120% at 100% 100%,color-mix(in oklab,var(--c,#9ab) 12%,transparent),transparent 70%),var(--card)}
#workspace .category-hero .icon-tile,#workspace .search-cat .icon-tile{filter:drop-shadow(0 10px 18px color-mix(in oklab,var(--c,#9ab) 45%,transparent))}
#workspace .mobile-worth-summary>.icon-tile{filter:drop-shadow(0 8px 16px rgba(214,160,60,.38))}
.year-col:last-child .year-stack{box-shadow:0 10px 24px -8px rgba(10,122,255,.5)}
.mini-month:last-child .mini-bar{box-shadow:0 8px 18px -6px var(--c)}
.menu-ico{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:linear-gradient(180deg,color-mix(in oklab,var(--mc) 82%,#fff),var(--mc));box-shadow:inset 0 .5px 0 rgba(255,255,255,.5);flex:0 0 auto}
#workspace .utility-link .menu-ico svg,#workspace .menu-lock .menu-ico svg{width:17px;height:17px;color:#fff;stroke:#fff}
#workspace .utility-link+.utility-link::before{left:56px}
/* iOS switch */
#workspace .toggle input[type=checkbox],dialog#sheet .toggle input[type=checkbox],.setup-gate .toggle input[type=checkbox]{appearance:none;-webkit-appearance:none;width:51px;height:31px;min-width:51px;border-radius:16px;margin:0;cursor:pointer;flex:0 0 auto;background-color:rgba(120,120,128,.18);background-image:radial-gradient(circle at 15.5px 50%,#fff 12.5px,rgba(0,0,0,.08) 13.5px,transparent 15px);background-repeat:no-repeat;transition:background-color .25s,background-image .25s;border:0;box-shadow:none}
#workspace .toggle input[type=checkbox]:checked,dialog#sheet .toggle input[type=checkbox]:checked,.setup-gate .toggle input[type=checkbox]:checked{background-color:#34c759;background-image:radial-gradient(circle at 35.5px 50%,#fff 12.5px,rgba(0,0,0,.08) 13.5px,transparent 15px)}
#workspace .toggle input[type=checkbox]:focus-visible,dialog#sheet .toggle input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#workspace .toggle,dialog#sheet .toggle{display:flex;align-items:center;gap:12px}
body{background:transparent!important}
@media (max-width:760px){
  .year-col:not(:last-child) .year-value{visibility:hidden}
  .year-col:last-child .year-value{overflow:visible;position:relative;right:6px}
  #workspace .worth-look.compact>.mobile-worth-summary{padding:14px 16px!important}
}

/* Setup heroes and backgrounds (ChatGPT image tool artwork) */
.setup-hero{width:min(100%,420px);aspect-ratio:4/3;margin:-18px auto 6px;pointer-events:none}
.setup-hero img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(60,70,170,.18));animation:hero-in .7s cubic-bezier(.2,.9,.25,1.05) both}
@keyframes hero-in{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.setup-gate .gate-art .setup-hero{display:none}
.setup-gate .gate-art .setup-hero[data-variant=welcome]{display:block}
.gate-card:has(#unlock-vault:not([hidden])) .gate-art .setup-hero[data-variant=welcome],.gate-card:has(#recovery-preparation:not([hidden])) .gate-art .setup-hero[data-variant=welcome]{display:none}
.gate-card:has(#unlock-vault:not([hidden])) .gate-art .setup-hero[data-variant=unlock]{display:block}
.gate-card:has(#recovery-preparation:not([hidden])) .gate-art .setup-hero[data-variant=recovery]{display:block}
.setup-gate{background:#f4f6fb url(/dist/assets/setup/background-desktop.jpg) center/cover no-repeat}
@media (max-width:760px){.setup-gate{background-image:url(/dist/assets/setup/background-phone.jpg)}.setup-hero{width:min(100%,340px);margin:-22px auto 0}}
@media (prefers-reduced-motion:reduce){.setup-hero img{animation:none}}
/* Buttons and step badges matched to style-buttons-and-steps.png */
.setup-gate .primary{min-height:54px;padding:0 28px;border-radius:17px;background:linear-gradient(180deg,#5a9dff 0%,#2f74ff 52%,#1f63f0 100%);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.45),inset 0 -2px 4px rgba(10,50,160,.25),0 14px 28px -14px rgba(31,99,240,.85)}
.setup-gate .secondary{min-height:54px;padding:0 24px;border-radius:17px;background:#fff;box-shadow:inset 0 0 0 1px rgba(60,60,67,.08),0 8px 20px -12px rgba(36,56,99,.35)}
.setup-gate .demo-progress span{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;background:rgba(10,122,255,.08);box-shadow:inset 0 0 0 1px rgba(10,122,255,.18);color:var(--accent);font-weight:500}
.setup-gate .demo-progress [aria-current] span{background:linear-gradient(180deg,#4c95ff,#1f63f0);box-shadow:0 6px 14px -6px rgba(31,99,240,.8);color:#fff}
.setup-gate .demo-progress [aria-current]{color:var(--label);font-weight:700}
.setup-gate .gate-card{text-align:left}
.setup-gate .demo-card .eyebrow,.setup-gate .gate-card .eyebrow{text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:var(--label-2)}
.setup-gate .demo-progress span{background:rgba(10,122,255,.1);color:var(--accent)}
.setup-gate .demo-progress [aria-current] span{background:linear-gradient(180deg,#4c95ff,#1f6dff);color:#fff}
.setup-gate .secondary{border-radius:16px;min-height:52px;background:rgba(255,255,255,.8);border:0;box-shadow:inset 0 0 0 .5px rgba(60,60,67,.12),0 2px 8px -4px rgba(36,56,99,.2);color:var(--label);font-weight:600}
.setup-gate .text-button{color:var(--accent);font-weight:500}

/* Live wallet: icons rise out of the pocket and sink back in, between the back and front layers */
.wallet-live{position:relative}
.wallet-live .wl-back,.wallet-live .wl-front{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:none;filter:none}
.wallet-live .wl-back{z-index:1}.wallet-live .wl-front{z-index:3;filter:drop-shadow(0 18px 30px rgba(80,50,30,.22))}
.wl-icon{position:absolute;z-index:2;left:calc(50% + var(--x));top:var(--pocket);width:14%;aspect-ratio:1;translate:-50% 0;animation:wl-float var(--t) cubic-bezier(.45,.05,.35,1) var(--d) infinite;will-change:transform}
.wl-icon img{display:block;width:100%;height:100%;clip-path:inset(5% round 19%);animation:none;filter:drop-shadow(0 8px 12px rgba(36,56,99,.25))}
@keyframes wl-float{
  0%,6%{transform:translateY(8%) rotate(0deg) scale(var(--s))}
  34%{transform:translateY(calc(var(--h) * -100%)) rotate(var(--r)) scale(var(--s))}
  52%{transform:translateY(calc(var(--h) * -100% + 10%)) rotate(calc(var(--r) * -.4)) scale(var(--s))}
  70%{transform:translateY(calc(var(--h) * -100% - 4%)) rotate(calc(var(--r) * .6)) scale(var(--s))}
  94%,100%{transform:translateY(8%) rotate(0deg) scale(var(--s))}
}
@media (prefers-reduced-motion:reduce){.wl-icon{animation:none;transform:translateY(calc(var(--h) * -60%)) rotate(var(--r)) scale(var(--s))}}
/* Layered setup scenes (pages 2–4): pieces cut from the heroes, each with its own gentle motion */
.setup-hero.layered{position:relative;container-type:inline-size;animation:hero-in .7s cubic-bezier(.2,.9,.25,1.05) both}
.setup-hero.layered .hl{position:absolute;display:block;max-width:none;object-fit:fill;filter:none;animation:none}
.setup-hero.layered .hl-spin{animation:hl-rotate 48s linear infinite}
.setup-hero.layered .hl-float-soft{animation:hl-bob 6s ease-in-out infinite}
.setup-hero.layered .hl-float-a{animation:hl-bob 6.5s ease-in-out infinite}
.hl-orbit{position:absolute;width:0;height:0;z-index:0;animation:hl-rotate 90s linear infinite}
.setup-hero.layered .hl-spin{z-index:1}.setup-hero.layered .hl-float-soft{z-index:2}
.setup-hero.layered .hl-orbiting{rotate:var(--tilt,0deg);filter:drop-shadow(0 1cqw 1.4cqw rgba(36,56,99,.22));animation:hl-counter 90s linear infinite,hl-bob-t 5.2s ease-in-out var(--b) infinite}
.setup-hero.layered .hl-bar-x{transform-origin:0 50%;animation:hl-bar-x 3.6s cubic-bezier(.3,1.6,.5,1) var(--d) infinite}
.setup-hero.layered .hl-bar-y{transform-origin:50% 100%;animation:hl-bar-y 3.8s cubic-bezier(.3,1.6,.5,1) var(--d) infinite}
.setup-hero.layered .hl-flow{animation:hl-flow 1.6s ease-in-out var(--d) infinite}
.setup-hero.layered .hl-twinkle{animation:hl-twinkle 3.4s ease-in-out infinite alternate}
.setup-hero.layered .hl-float-tilt{transform-origin:50% 55%;rotate:var(--base,0deg);filter:drop-shadow(0 1.1cqw 1.5cqw rgba(36,56,99,.22));animation:hl-tilt 5.6s ease-in-out infinite}
.setup-hero.layered .hl-seal{animation:hl-seal 2.6s ease-in-out infinite}
.setup-hero.layered .hl-tick{animation:hl-tick 2.6s cubic-bezier(.3,1.7,.5,1) .15s infinite}
@keyframes hl-rotate{to{rotate:360deg}}
@keyframes hl-counter{from{rotate:var(--tilt,0deg)}to{rotate:calc(var(--tilt,0deg) - 360deg)}}
@keyframes hl-bob{0%,100%{translate:0 0}50%{translate:0 -.9cqw}}
@keyframes hl-bob-t{0%,100%{translate:0 0}50%{translate:0 -.8cqw}}
@keyframes hl-bar-x{0%,55%,100%{scale:1 1}66%{scale:1.08 1}76%{scale:.99 1}86%{scale:1.025 1}}
@keyframes hl-bar-y{0%,55%,100%{scale:1 1}66%{scale:1 1.09}76%{scale:1 1}86%{scale:1 1.03}}
@keyframes hl-flow{0%,100%{opacity:.35;translate:0 0}50%{opacity:1;translate:.5cqw 0}}
@keyframes hl-twinkle{from{rotate:-8deg;scale:1}to{rotate:8deg;scale:1.08}}
@keyframes hl-tilt{0%,100%{translate:0 0;rotate:var(--base,0deg)}35%{translate:0 -.9cqw;rotate:calc(var(--base,0deg) - 4deg)}70%{translate:0 -.3cqw;rotate:calc(var(--base,0deg) + 3deg)}}
@keyframes hl-seal{0%,100%{scale:1;filter:drop-shadow(0 .8cqw 1.2cqw rgba(20,90,50,.22))}45%{scale:1.05;filter:drop-shadow(0 1.1cqw 1.6cqw rgba(20,90,50,.2)) drop-shadow(0 0 .9cqw rgba(52,199,89,.35))}}
@keyframes hl-tick{0%,30%,100%{scale:1}48%{scale:1.22}62%{scale:1}}
@media (prefers-reduced-motion:reduce){.setup-hero.layered,.setup-hero.layered .hl,.hl-orbit{animation:none!important}}
/* "Check, then import": the statement as a toy-like glass sum */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.setup-gate .recon{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:stretch;gap:10px;margin:18px 0 14px}
.recon-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:16px 10px 16px;border-radius:26px;text-align:center;background:linear-gradient(180deg,color-mix(in oklab,var(--c) 16%,#fff),color-mix(in oklab,var(--c) 8%,#fff));box-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 1px color-mix(in oklab,var(--c) 22%,transparent),0 14px 26px -16px color-mix(in oklab,var(--c) 70%,transparent);animation:recon-pop .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s) both}
.recon-tile img{width:76px;height:76px;clip-path:inset(5% round 19%);filter:drop-shadow(0 10px 14px color-mix(in oklab,var(--c) 45%,transparent));animation:recon-bob 5s ease-in-out calc(var(--i) * -1.1s) infinite}
.recon-tile span{font-size:14px;font-weight:600;color:var(--label-2);line-height:1.2}
.recon-tile strong{font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--label);font-variant-numeric:tabular-nums}
.recon-tile.done{box-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 2px color-mix(in oklab,var(--c) 55%,transparent),0 16px 30px -14px color-mix(in oklab,var(--c) 80%,transparent)}
.recon-tile em{font-style:normal;font-size:12px;font-weight:700;color:#1f8f47;background:#e3f8ea;border-radius:999px;padding:3px 9px}
.recon-tile em::before{content:"✓ "}
.recon-op{align-self:center;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:20px;font-weight:800;color:var(--accent);background:#fff;box-shadow:inset 0 0 0 1px rgba(10,122,255,.18),0 6px 14px -8px rgba(31,99,240,.6);animation:recon-pop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s + .06s) both}
.recon-note{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px rgba(60,60,67,.08);font-size:14px;color:var(--label-2);margin-bottom:6px}
.recon-note img{width:40px;height:40px;clip-path:inset(5% round 19%)}
.recon-note strong{color:var(--label)}
@keyframes recon-pop{from{opacity:0;scale:.7}to{opacity:1;scale:1}}
@keyframes recon-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
@media (max-width:760px){
  .setup-gate .recon{grid-template-columns:1fr;gap:6px}
  .recon-tile{flex-direction:row;justify-content:flex-start;gap:14px;padding:12px 16px;text-align:left;border-radius:22px}
  .recon-tile img{width:58px;height:58px}
  .recon-tile span{flex:1}
  .recon-tile em{position:absolute;right:14px;bottom:-9px}
  .recon-op{justify-self:center;width:30px;height:30px;font-size:18px;margin:-12px 0;z-index:1}
}
@media (prefers-reduced-motion:reduce){.recon-tile,.recon-tile img,.recon-op{animation:none}}

/* Page 1: the wallet hovers slightly; the tiles drift like balloons, weightless */
.setup-hero.layered .hl-hover{filter:drop-shadow(0 2.4cqw 2.6cqw rgba(90,50,20,.28));animation:hl-hover 7s ease-in-out infinite;z-index:1}
.setup-hero.layered .hl-balloon{z-index:2;rotate:var(--base,0deg);filter:drop-shadow(0 1.2cqw 1.6cqw rgba(36,56,99,.2));animation:hl-balloon 9s ease-in-out var(--d) infinite}
@keyframes hl-hover{0%,100%{translate:0 0}50%{translate:0 -.6cqw}}
@keyframes hl-balloon{0%{translate:0 0;rotate:var(--base,0deg)}22%{translate:.9cqw -2.2cqw;rotate:calc(var(--base,0deg) + 4deg)}48%{translate:-.6cqw -3.4cqw;rotate:calc(var(--base,0deg) - 3deg)}74%{translate:-1.1cqw -1.4cqw;rotate:calc(var(--base,0deg) + 2deg)}100%{translate:0 0;rotate:var(--base,0deg)}}

/* Glass pipes: the tour's solid-glass look for every colour bar (edge glint, deep mid band, bright core, soft base) */
#workspace .composition-bar{height:38px;border-radius:19px;padding:4px;gap:4px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(236,240,250,.65));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(255,255,255,.9),inset 0 -2px 4px rgba(36,56,99,.08),0 10px 24px -12px rgba(36,56,99,.35)}
#workspace .composition-bar::after{display:none}
#workspace .composition-bar span,.glass-pipe{position:relative;border-radius:15px;overflow:hidden;background:
  linear-gradient(180deg,
    color-mix(in oklab,var(--c,#9ab) 30%,#fff) 0%,
    color-mix(in oklab,var(--c,#9ab) 62%,#fff) 14%,
    var(--c,#9ab) 42%,
    color-mix(in oklab,var(--c,#9ab) 86%,#1a2440) 78%,
    color-mix(in oklab,var(--c,#9ab) 70%,#fff) 100%);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 0 -1.5px 0 rgba(255,255,255,.45),inset 1.5px 0 0 rgba(255,255,255,.45),inset -1.5px 0 0 rgba(255,255,255,.3),inset 0 -8px 10px -8px rgba(20,30,60,.35),inset 0 6px 8px -6px rgba(255,255,255,.9);filter:saturate(1.55)}
#workspace .composition-bar span::before,.glass-pipe::before{content:"";position:absolute;left:8%;right:8%;top:9%;height:30%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.1));mix-blend-mode:screen;opacity:.9}
#workspace .composition-bar span::after,.glass-pipe::after{content:"";position:absolute;left:0;right:0;bottom:8%;height:18%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.35));filter:blur(1px)}
#workspace .composition-bar span:first-child{border-radius:15px}
#workspace .composition-bar span:last-child{border-radius:15px}
/* ranking bars become slim pipes */
#workspace .bar-track{height:12px;border-radius:6px;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(236,240,250,.6));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(255,255,255,.9),inset 0 -1px 2px rgba(36,56,99,.08)}
#workspace .bar-fill{position:relative;overflow:hidden;height:100%;border-radius:6px;background:linear-gradient(180deg,color-mix(in oklab,var(--c,#9ab) 34%,#fff) 0%,color-mix(in oklab,var(--c,#9ab) 64%,#fff) 16%,var(--c,#9ab) 45%,color-mix(in oklab,var(--c,#9ab) 86%,#1a2440) 80%,color-mix(in oklab,var(--c,#9ab) 70%,#fff) 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -3px 4px -3px rgba(20,30,60,.35);filter:saturate(1.5)}
#workspace .bar-fill::before{content:"";position:absolute;left:6%;right:6%;top:12%;height:30%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.1));mix-blend-mode:screen}
/* Insights columns and mini-month bars */
.year-stack{gap:3px;background:none;box-shadow:none;overflow:visible}
.year-stack span{position:relative;overflow:hidden;border-radius:8px;min-height:6px;background:linear-gradient(90deg,color-mix(in oklab,var(--c,#9ab) 30%,#fff) 0%,color-mix(in oklab,var(--c,#9ab) 62%,#fff) 16%,var(--c,#9ab) 45%,color-mix(in oklab,var(--c,#9ab) 86%,#1a2440) 82%,color-mix(in oklab,var(--c,#9ab) 70%,#fff) 100%);box-shadow:inset 1.5px 0 0 rgba(255,255,255,.9),inset -1.5px 0 0 rgba(255,255,255,.4),inset 0 1px 0 rgba(255,255,255,.6),0 6px 12px -8px color-mix(in oklab,var(--c,#9ab) 70%,transparent);filter:saturate(1.5)}
.year-stack span::before{content:"";position:absolute;top:6%;bottom:6%;left:10%;width:28%;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.1));mix-blend-mode:screen}
.year-stack span:first-child{border-radius:8px 8px 10px 10px}.year-stack span:last-child{border-radius:12px 12px 8px 8px}
.mini-bar{position:relative;overflow:hidden;border-radius:10px;background:linear-gradient(90deg,color-mix(in oklab,var(--c) 30%,#fff) 0%,color-mix(in oklab,var(--c) 62%,#fff) 16%,var(--c) 45%,color-mix(in oklab,var(--c) 86%,#1a2440) 82%,color-mix(in oklab,var(--c) 70%,#fff) 100%);box-shadow:inset 1.5px 0 0 rgba(255,255,255,.9),inset -1.5px 0 0 rgba(255,255,255,.4),inset 0 2px 0 rgba(255,255,255,.7),0 8px 14px -8px color-mix(in oklab,var(--c) 70%,transparent);filter:saturate(1.5)}
.mini-bar::before{content:"";position:absolute;top:5%;bottom:8%;left:12%;width:26%;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.1));mix-blend-mode:screen}
.spark i{position:relative;overflow:hidden;border-radius:3px;background:linear-gradient(90deg,color-mix(in oklab,var(--c) 45%,#fff),var(--c) 55%,color-mix(in oklab,var(--c) 85%,#1a2440));filter:saturate(1.5)}
@media (max-width:760px){#workspace .composition-bar{height:32px;border-radius:16px;padding:3px;gap:3px}#workspace .composition-bar span{border-radius:13px}}
/* Insights columns: one solid glass column per month, split into colour bands (not a stack of pills) */
.year-stack{gap:0;border-radius:12px;overflow:hidden;box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 1.5px 0 0 rgba(255,255,255,.6),inset -1.5px 0 0 rgba(255,255,255,.35),inset 0 -6px 8px -6px rgba(20,30,60,.35),0 10px 20px -10px rgba(36,56,99,.45)}
.year-stack span{border-radius:0!important;min-height:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.year-stack span::before{top:0;bottom:0;left:12%;width:24%;border-radius:999px}
.year-stack::after{content:"";position:absolute;inset:0;border-radius:12px;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.08) 30%,rgba(255,255,255,0) 60%,rgba(20,30,60,.12) 100%)}
.year-stack{position:relative}

/* Calendar: glass days with the biggest purchase's tile */
#workspace .calendar-panel{padding:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
#workspace .calendar-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:0 2px 18px!important;margin:0!important}
#workspace .calendar-month-controls{display:flex;align-items:center;gap:8px;margin:0!important}
#workspace .calendar-month-controls .icon-button{width:40px;height:40px;min-height:40px;border-radius:50%;background:var(--glass-strong);box-shadow:var(--glass-edge),0 2px 8px -4px rgba(36,56,99,.25);border:0}
#workspace .calendar-month-controls .icon-button svg{width:18px;height:18px}
#workspace .calendar-month-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--glass);box-shadow:var(--glass-edge),0 4px 18px -8px rgba(36,56,99,.18)}
#workspace .calendar-month-pill select{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:inherit;font-size:17px;font-weight:600;color:var(--label);padding:0 2px}
#workspace .calendar-month-pill svg{width:18px;height:18px;color:var(--label-2)}
#workspace .calendar-summary{display:block!important;width:auto!important}
#workspace .calendar-expense-summary .amount{font-size:44px;line-height:1.05;font-weight:700;letter-spacing:-.03em;margin:2px 0 4px}
#workspace .calendar-expense-summary .hero-sub{font-size:15px;color:var(--label-2)}
.calendar-cover{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:600;background:rgba(52,199,89,.12);color:#1f8f47}
.calendar-cover.partial{background:#fff1d6;color:#9a6512}.calendar-cover.unimported{background:rgba(118,118,128,.1);color:var(--label-2)}
#workspace .calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0 0 8px;font-size:12px;font-weight:600;color:var(--label-3);text-align:center;letter-spacing:.02em}
#workspace .calendar-grid{gap:6px!important}
#workspace .calendar-day{position:relative;min-height:0!important;aspect-ratio:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0!important;padding:6px 4px!important;border:0!important;border-radius:18px!important;background:var(--card)!important;box-shadow:var(--glass-edge),var(--lift);color:var(--label)!important;transition:transform .2s var(--spring),box-shadow .2s}
#workspace .calendar-day:hover{transform:translateY(-2px);box-shadow:var(--glass-edge),var(--float)}
#workspace .calendar-day.has-expenses{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.62))!important}
#workspace .calendar-day.unimported{background:repeating-linear-gradient(135deg,rgba(118,118,128,.06) 0 6px,transparent 6px 12px)!important;box-shadow:inset 0 0 0 1px rgba(118,118,128,.12)}
#workspace .calendar-day.partial{box-shadow:var(--glass-edge),var(--lift),inset 0 0 0 1.5px rgba(176,126,240,.35)}
#workspace .calendar-day.selected{outline:0!important;box-shadow:var(--glass-edge),var(--float),inset 0 0 0 2.5px var(--accent)!important}
#workspace .calendar-day.today .calendar-date{background:var(--accent);color:#fff;border-radius:999px;padding:1px 7px}
#workspace .calendar-date{position:absolute;top:7px;left:9px;font-size:12px;font-weight:600;color:var(--label-2)}
#workspace .calendar-biggest{display:block;width:56%;max-width:64px;aspect-ratio:1;margin-top:8px}
#workspace .calendar-biggest .icon-tile{width:100%!important;height:100%!important;border-radius:22%;filter:drop-shadow(0 6px 10px color-mix(in oklab,var(--c,#9ab) 45%,transparent))}
#workspace .calendar-biggest .icon-tile img{width:100%;height:100%}
#workspace .calendar-day .calendar-money-exact{display:block!important;margin-top:4px;font-size:12px;font-weight:700;letter-spacing:-.01em;color:var(--label);font-variant-numeric:tabular-nums}
#workspace .calendar-day .calendar-mark.refund{position:absolute;right:9px;top:9px;width:7px;height:7px;background:#b07ef0}
#workspace .calendar-unimported-dash{color:var(--label-3);font-size:16px}
#workspace .calendar-date-fallback{right:7px;bottom:6px}
#workspace .calendar-footnote{font-size:13px;color:var(--label-2);margin-top:14px}
@media (max-width:760px){
  #workspace .calendar-grid{gap:4px!important}
  #workspace .calendar-day{border-radius:14px!important;padding:4px 3px!important}
  #workspace .calendar-date{top:5px;left:6px;font-size:11px}
  #workspace .calendar-biggest{width:62%;margin-top:9px}
  #workspace .calendar-day .calendar-money-exact{font-size:10px;margin-top:2px}
  #workspace .calendar-expense-summary .amount{font-size:36px}
}

/* Page heroes, check cards, category tiles, statement rows: the glass-illustrated treatment */
#workspace .page-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:22px 26px;margin-bottom:18px;background:radial-gradient(120% 160% at 0% 0%,color-mix(in oklab,var(--c,#9ab) 22%,transparent),transparent 60%),var(--card)}
#workspace .page-hero-art{width:96px;height:96px;display:grid;place-items:center}
#workspace .page-hero-art .icon-tile{width:96px!important;height:96px!important;filter:drop-shadow(0 12px 20px color-mix(in oklab,var(--c,#9ab) 45%,transparent))}
#workspace .page-hero-art img{width:120px;max-width:none;filter:drop-shadow(0 12px 20px rgba(36,56,99,.25));animation:hl-bob 6s ease-in-out infinite}
#workspace .page-hero h2,#workspace .page-hero h3{font-size:22px;font-weight:700;letter-spacing:-.02em;margin:0 0 4px}
#workspace .page-hero p{font-size:15px;color:var(--label-2);margin:0}
#workspace .drop-zone.page-hero{border:0;text-align:left}
#workspace .drop-zone.page-hero.dragging{box-shadow:var(--glass-edge),var(--float),inset 0 0 0 2px var(--accent)}
.check-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.check-stat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 10px 16px;border-radius:24px;text-align:center;background:radial-gradient(120% 120% at 50% 0%,color-mix(in oklab,var(--c) 18%,transparent),transparent 70%),var(--card);box-shadow:var(--glass-edge),var(--lift)}
.check-stat .icon-tile{width:64px!important;height:64px!important;filter:drop-shadow(0 8px 14px color-mix(in oklab,var(--c) 45%,transparent))}
.check-stat strong{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1}
.check-stat span{font-size:13px;font-weight:600;color:var(--label-2)}
#workspace .check-card{padding:20px 22px;margin-bottom:14px;background:radial-gradient(90% 120% at 0% 0%,color-mix(in oklab,var(--c,#9ab) 14%,transparent),transparent 60%),var(--card)}
.check-top{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center}
.check-top .icon-tile{width:72px!important;height:72px!important;filter:drop-shadow(0 10px 16px color-mix(in oklab,var(--c,#9ab) 45%,transparent))}
.check-copy h3{font-size:20px;font-weight:700;letter-spacing:-.02em;margin:6px 0 4px}
.check-copy p{font-size:15px;color:var(--label-2);margin:0}
.check-amount{text-align:right}.check-amount strong{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em}.check-amount small{font-size:13px;color:var(--label-2)}
.check-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.check-actions .primary,.check-actions .secondary{min-height:44px;padding:0 18px;border-radius:14px;font-size:15px}
#workspace .check-card .statement-lines{margin-top:14px}
#workspace .all-clear{text-align:center;padding:40px 20px}
#workspace .all-clear .icon-tile{width:96px!important;height:96px!important;margin:0 auto 14px;filter:drop-shadow(0 12px 20px rgba(85,192,143,.4))}
#workspace .all-clear h3{font-size:22px;font-weight:700;letter-spacing:-.02em}#workspace .all-clear p{color:var(--label-2)}
.category-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:6px}
.category-tile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 10px 14px;border-radius:24px;border:0;text-align:center;cursor:pointer;font:inherit;color:var(--label);background:radial-gradient(120% 120% at 50% 0%,color-mix(in oklab,var(--c) 16%,transparent),transparent 70%),var(--card);box-shadow:var(--glass-edge),var(--lift);transition:transform .2s var(--spring),box-shadow .2s}
.category-tile:hover{transform:translateY(-2px);box-shadow:var(--glass-edge),var(--float)}
.category-tile .icon-tile{width:72px!important;height:72px!important;filter:drop-shadow(0 10px 16px color-mix(in oklab,var(--c) 45%,transparent))}
.category-tile strong{font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.category-tile small{font-size:12px;color:var(--label-2)}
.category-tile.archived{opacity:.55}
#workspace .source-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"art copy amount" "art actions actions";gap:6px 18px;align-items:center;padding:18px 22px;margin-bottom:12px;background:radial-gradient(80% 120% at 0% 0%,color-mix(in oklab,var(--c,#9ab) 14%,transparent),transparent 60%),var(--card)}
#workspace .source-art{grid-area:art}#workspace .source-art .icon-tile{width:72px!important;height:72px!important;filter:drop-shadow(0 10px 16px rgba(91,143,249,.4))}
#workspace .source-copy{grid-area:copy}#workspace .source-copy h3{font-size:20px;font-weight:700;letter-spacing:-.02em;margin:0 0 2px}#workspace .source-copy p{font-size:14px;color:var(--label-2);margin:0 0 8px}
#workspace .source-amount{grid-area:amount;text-align:right}#workspace .source-amount strong{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em}#workspace .source-amount small{font-size:13px;color:var(--label-2)}
#workspace .source-actions{grid-area:actions;display:flex;gap:10px;margin-top:4px}
#workspace .source-actions .secondary{min-height:40px;padding:0 16px;border-radius:12px;font-size:14px}
#workspace .subheading{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--label-2);margin:22px 4px 10px}
@media (max-width:760px){
  #workspace .page-hero{grid-template-columns:auto minmax(0,1fr);gap:16px;padding:18px}
  #workspace .page-hero .primary{grid-column:1/-1}
  #workspace .page-hero-art,#workspace .page-hero-art .icon-tile{width:76px!important;height:76px!important}
  .check-stats{gap:8px}.check-stat{padding:14px 6px 12px;border-radius:20px}.check-stat .icon-tile{width:52px!important;height:52px!important}.check-stat strong{font-size:24px}.check-stat span{font-size:11px}
  .check-top{grid-template-columns:60px minmax(0,1fr);gap:12px}.check-top .icon-tile{width:60px!important;height:60px!important}.check-amount{grid-column:2;text-align:left}
  .category-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-tile{padding:14px 6px 12px;border-radius:20px}.category-tile .icon-tile{width:60px!important;height:60px!important}.category-tile strong{font-size:13px}
  #workspace .source-card{grid-template-columns:60px minmax(0,1fr);grid-template-areas:"art copy" "art amount" "actions actions";gap:4px 14px}#workspace .source-amount{text-align:left}
}

/* Orbiters on a flat ellipse: x and y are separate sine-like swings 90° apart; depth (z-index) follows y */
@property --ox{syntax:'<length>';inherits:false;initial-value:0px}
@property --oy{syntax:'<length>';inherits:false;initial-value:0px}
.setup-hero.layered .hl-orbiting{translate:var(--ox) var(--oy);rotate:var(--tilt,0deg);z-index:0;filter:drop-shadow(0 1cqw 1.4cqw rgba(36,56,99,.22));animation:hl-ox 18s ease-in-out var(--dx) infinite alternate,hl-oy 18s ease-in-out var(--dy) infinite alternate,hl-oz 18s steps(1,end) var(--dy) infinite alternate}
@keyframes hl-ox{from{--ox:calc(var(--rx) * -1)}to{--ox:var(--rx)}}
@keyframes hl-oy{from{--oy:calc(var(--ry) * -1)}to{--oy:var(--ry)}}
@keyframes hl-oz{0%,49.9%{z-index:0}50%,100%{z-index:3}}
.setup-hero.layered .hl-spin{z-index:1}.setup-hero.layered .hl-float-soft{z-index:2}
/* "?" tile and seal: shadows follow their real shapes, calm pulse, no coloured bloom */
.setup-hero.layered .hl-float-tilt{filter:drop-shadow(.4cqw .9cqw 1.1cqw rgba(36,56,99,.2))}
.setup-hero.layered .hl-seal{filter:drop-shadow(0 .7cqw 1cqw rgba(20,90,50,.22));animation:hl-seal 4.5s ease-in-out infinite}
@keyframes hl-seal{0%,100%{scale:1}50%{scale:1.03}}
.setup-hero.layered .hl-tick{animation:hl-tick 4.5s cubic-bezier(.3,1.7,.5,1) .2s infinite}
@keyframes hl-tick{0%,40%,100%{scale:1}55%{scale:1.14}70%{scale:1}}
/* balloons: gentler and slower, the wallet just breathes */
@keyframes hl-hover{0%,100%{translate:0 0}50%{translate:0 -.45cqw}}
#workspace #calendar-previous svg,#workspace #calendar-next svg{transform:none!important;rotate:0deg!important}
/* Calendar numerals: chunky, rounded, glassy — tinted by the day's biggest purchase */
#workspace .calendar-date{top:8px;left:10px;font-family:ui-rounded,"SF Pro Rounded","SF Pro Display",-apple-system,system-ui,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.02em;line-height:1;
  color:transparent;background:linear-gradient(180deg,color-mix(in oklab,var(--c,#9aa6bd) 35%,#fff) 0%,color-mix(in oklab,var(--c,#9aa6bd) 80%,#fff) 38%,var(--c,#9aa6bd) 62%,color-mix(in oklab,var(--c,#9aa6bd) 80%,#1a2440) 100%);-webkit-background-clip:text;background-clip:text;
  -webkit-text-stroke:.6px rgba(255,255,255,.55);filter:drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 3px 4px color-mix(in oklab,var(--c,#9aa6bd) 45%,transparent)) saturate(1.4)}
#workspace .calendar-day:not(.has-expenses) .calendar-date{opacity:.75}
#workspace .calendar-day.today .calendar-date{color:#fff;background:linear-gradient(180deg,#5a9dff,#1f63f0);-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-stroke:0;border-radius:999px;padding:3px 8px;filter:drop-shadow(0 4px 8px rgba(31,99,240,.45))}
#workspace .calendar-day .calendar-money-exact{font-size:13px}
#workspace .calendar-biggest{margin-top:14px}
@media (max-width:760px){#workspace .calendar-date{font-size:15px;top:5px;left:6px}#workspace .calendar-biggest{margin-top:11px}}
/* Worth a look cards: block layout (overrides the old three-column review-card grid) */
#workspace .review-card.check-card{display:block!important;grid-template-columns:none!important;gap:0!important}
#workspace .check-card .check-top{display:grid!important}
#workspace .check-card .check-copy{min-width:0}
#workspace .check-card .badge{display:inline-block}
/* Calendar summary: one clean block */
#workspace .calendar-expense-summary{border:0!important;padding:0!important}
#workspace .calendar-refund-summary{display:inline!important}
#workspace .calendar-refund-summary strong{display:inline!important;font-size:inherit!important;font-weight:700;color:var(--label)}
/* Desktop: page titles and subtitles never run under the floating tab bar */
@media (min-width:1101px){#workspace .page-heading>div:first-child{max-width:calc(50% - 250px)}}

/* Page 1: the tiles take turns diving into the wallet and popping back out (cards behind, leather in front) */
.setup-hero.layered .hl-hover{z-index:auto}
.setup-hero.layered .hl-dip{rotate:var(--base,0deg);filter:drop-shadow(0 1.2cqw 1.6cqw rgba(36,56,99,.2));animation:hl-dip 12s cubic-bezier(.45,.05,.35,1) var(--d) infinite}
@keyframes hl-dip{
  0%,30%{translate:0 0;rotate:var(--base,0deg)}
  15%{translate:.5cqw -1.2cqw;rotate:calc(var(--base,0deg) + 3deg)}
  44%{translate:var(--sx) var(--sy);rotate:0deg;animation-timing-function:steps(1)}
  52%{translate:var(--sx) var(--sy);rotate:0deg;animation-timing-function:cubic-bezier(.2,1.6,.4,1)}
  64%{translate:0 -1.6cqw;rotate:calc(var(--base,0deg) - 4deg)}
  72%{translate:0 .4cqw;rotate:calc(var(--base,0deg) + 2deg)}
  80%,100%{translate:0 0;rotate:var(--base,0deg)}
}
@media (prefers-reduced-motion:reduce){.setup-hero.layered .hl-dip{animation:none}}
/* "Check, then import" operators: glossy glass orbs like the green seal, each gently pulsing in turn */
.setup-gate .recon-op{position:relative;width:46px;height:46px;border-radius:50%;font-size:24px;font-weight:900;color:#fff;font-family:ui-rounded,"SF Pro Rounded",-apple-system,system-ui,sans-serif;
  background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.95) 0 9%,rgba(255,255,255,0) 26%),linear-gradient(180deg,#7fb4ff 0%,#3d82ff 48%,#1f5fe0 100%);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.6),inset 0 -6px 10px rgba(10,40,140,.35),inset 0 0 0 1.5px rgba(255,255,255,.35),0 10px 18px -8px rgba(31,95,224,.75);
  text-shadow:0 1px 1px rgba(10,40,140,.45);animation:recon-pop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s + .06s) both,recon-pulse 3.6s ease-in-out calc(var(--i) * .9s + .8s) infinite}
.setup-gate .recon-op::after{content:"";position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle,rgba(61,130,255,.35),rgba(61,130,255,0) 70%);z-index:-1;opacity:0;animation:recon-glow 3.6s ease-in-out calc(var(--i) * .9s + .8s) infinite}
.setup-gate .recon-op:nth-of-type(1){background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.95) 0 9%,rgba(255,255,255,0) 26%),linear-gradient(180deg,#ffc188 0%,#ff9a4a 48%,#e8742a 100%);box-shadow:inset 0 2px 1px rgba(255,255,255,.6),inset 0 -6px 10px rgba(150,60,10,.3),inset 0 0 0 1.5px rgba(255,255,255,.35),0 10px 18px -8px rgba(232,116,42,.7);text-shadow:0 1px 1px rgba(150,60,10,.4)}
.setup-gate .recon-op:nth-of-type(3){background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.95) 0 9%,rgba(255,255,255,0) 26%),linear-gradient(180deg,#7fe0a6 0%,#34c759 48%,#1f9f45 100%);box-shadow:inset 0 2px 1px rgba(255,255,255,.6),inset 0 -6px 10px rgba(10,90,40,.32),inset 0 0 0 1.5px rgba(255,255,255,.35),0 10px 18px -8px rgba(31,159,69,.75);text-shadow:0 1px 1px rgba(10,90,40,.4)}
@keyframes recon-pulse{0%,70%,100%{scale:1}80%{scale:1.14}88%{scale:.98}94%{scale:1.03}}
@keyframes recon-glow{0%,70%,100%{opacity:0}82%{opacity:1}}
@media (max-width:760px){.setup-gate .recon-op{width:42px;height:42px;font-size:22px;margin:-14px 0}}
@media (prefers-reduced-motion:reduce){.setup-gate .recon-op,.setup-gate .recon-op::after{animation:none}}
/* "Check, then import" tiles: thick 3D glass slabs that rise one after another, with a light sweep */
.setup-gate .recon{perspective:900px}
.setup-gate .recon-tile{overflow:hidden;transform-style:preserve-3d;
  background:
    linear-gradient(180deg,rgba(255,255,255,.85) 0%,rgba(255,255,255,.25) 38%,rgba(255,255,255,0) 52%),
    linear-gradient(180deg,color-mix(in oklab,var(--c) 20%,#fff) 0%,color-mix(in oklab,var(--c) 30%,#fff) 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.95),inset 0 0 0 1.5px rgba(255,255,255,.7),inset 0 -10px 18px -10px color-mix(in oklab,var(--c) 60%,transparent),
    0 1px 0 color-mix(in oklab,var(--c) 30%,#fff),0 4px 0 -1px color-mix(in oklab,var(--c) 35%,#fff),0 16px 28px -14px color-mix(in oklab,var(--c) 75%,transparent);
  animation:recon-pop .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s) both,recon-raise 5.6s cubic-bezier(.3,1.3,.5,1) calc(var(--i) * 1.4s + 1s) infinite}
.setup-gate .recon-tile::before{content:"";position:absolute;inset:-20% auto -20% -60%;width:40%;transform:skewX(-18deg);background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));opacity:0;pointer-events:none;animation:recon-sheen 5.6s ease-in-out calc(var(--i) * 1.4s + 1s) infinite}
.setup-gate .recon-tile img{filter:drop-shadow(0 10px 14px color-mix(in oklab,var(--c) 50%,transparent)) saturate(1.15);animation:none}
.setup-gate .recon-tile strong{text-shadow:0 1px 0 rgba(255,255,255,.8)}
@keyframes recon-raise{
  0%,22%,100%{transform:translateY(0) rotateX(0) scale(1)}
  6%{transform:translateY(-8px) rotateX(8deg) scale(1.025)}
  12%{transform:translateY(-6px) rotateX(4deg) scale(1.02)}
}
@keyframes recon-sheen{0%,2%{opacity:0;left:-60%}6%{opacity:1}16%{opacity:0;left:120%}100%{opacity:0;left:120%}}
.setup-gate .recon-op{animation:recon-pop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s + .06s) both,recon-pulse 5.6s ease-in-out calc(var(--i) * 1.4s + .3s) infinite}
.setup-gate .recon-op::after{animation:recon-glow 5.6s ease-in-out calc(var(--i) * 1.4s + .3s) infinite}
@keyframes recon-pulse{0%,8%,100%{scale:1}3%{scale:1.16}5%{scale:.97}6.5%{scale:1.03}}
@keyframes recon-glow{0%,10%,100%{opacity:0}3%{opacity:1}}
@media (prefers-reduced-motion:reduce){.setup-gate .recon-tile,.setup-gate .recon-tile::before{animation:none}}

/* Page 1 choreography: every tile starts inside the wallet, bursts out together, floats on its own path, then all dive back in */
.setup-hero.layered .hl-burst{rotate:var(--base,0deg);filter:drop-shadow(0 1.2cqw 1.6cqw rgba(36,56,99,.2));animation:hl-burst 14s linear var(--d) infinite both}
@keyframes hl-burst{
  0%,7%{translate:var(--sx) var(--sy);scale:.62;rotate:0deg;animation-timing-function:cubic-bezier(.2,1.5,.4,1)}
  15%{translate:calc(var(--fx) * -.35) -1.8cqw;scale:1.07;rotate:calc(var(--base,0deg) + 9deg);animation-timing-function:cubic-bezier(.3,.9,.4,1)}
  20%{translate:0 0;scale:1;rotate:var(--base,0deg);animation-timing-function:ease-in-out}
  32%{translate:var(--fx) calc(var(--fy) * -1);scale:1;rotate:calc(var(--base,0deg) + 4deg);animation-timing-function:ease-in-out}
  46%{translate:calc(var(--fx) * -1) var(--fy);scale:1;rotate:calc(var(--base,0deg) - 3deg);animation-timing-function:ease-in-out}
  60%{translate:calc(var(--fx) * .5) calc(var(--fy) * -.6);scale:1;rotate:calc(var(--base,0deg) + 2deg);animation-timing-function:ease-in-out}
  70%{translate:0 0;scale:1;rotate:var(--base,0deg);animation-timing-function:cubic-bezier(.3,0,.2,1)}
  76%{translate:0 -1.4cqw;scale:1.04;rotate:var(--base,0deg);animation-timing-function:cubic-bezier(.55,0,.8,.4)}
  84%,100%{translate:var(--sx) var(--sy);scale:.62;rotate:0deg}
}
.setup-hero.layered .hl-hover{animation:hl-wallet 14s ease-in-out infinite}
@keyframes hl-wallet{0%,7%{translate:0 0}10%{translate:0 .5cqw}15%{translate:0 -.5cqw}20%,78%{translate:0 0}84%{translate:0 .4cqw}90%,100%{translate:0 0}}  /* translate only: cards and leather move as one */
@media (prefers-reduced-motion:reduce){.setup-hero.layered .hl-burst{animation:none;translate:0 0;scale:1}.setup-hero.layered .hl-hover{animation:none}}
/* Phone calendar: room for the numeral, the icon and the amount */
@media (max-width:760px){
  #workspace .calendar-day{aspect-ratio:.74!important;justify-content:flex-start!important;padding-top:22px!important}
  #workspace .calendar-date{font-size:13px;top:4px;left:5px}
  #workspace .calendar-biggest{width:68%;margin-top:2px}
  #workspace .calendar-day .calendar-money-exact{font-size:9.5px;margin-top:3px}
}
@media (max-width:760px){.setup-gate .recon-tile.done{padding-bottom:34px}.setup-gate .recon-tile em{position:absolute;right:16px;bottom:9px}}
#workspace .source-actions{flex-direction:row!important;align-items:center!important;flex-wrap:wrap}
#workspace .page-hero-art{width:112px;height:104px;overflow:visible}
#workspace .page-hero-art img{width:104px;height:auto;margin:0 auto}
@media (max-width:760px){#workspace .page-hero-art{width:84px;height:80px}#workspace .page-hero-art img{width:82px}}

/* Page 4: the tallest bar punches the seal — it hops up, then settles back (seal and tick move together) */
.setup-hero[data-variant=review] .hl-seal,.setup-hero[data-variant=review] .hl-tick{animation:seal-punch 3.8s cubic-bezier(.3,.7,.4,1) .7s infinite}
.setup-hero[data-variant=review] .hl-tick{animation:seal-punch 3.8s cubic-bezier(.3,.7,.4,1) .7s infinite,tick-pop 3.8s cubic-bezier(.3,1.7,.5,1) .7s infinite}
@keyframes seal-punch{
  0%,57%{translate:0 0;scale:1 1}
  64%{translate:0 -1.9cqw;scale:1.05 .95}
  71%{translate:0 -4.2cqw;scale:.97 1.04}
  79%{translate:0 .35cqw;scale:1.04 .96}
  85%{translate:0 -.7cqw;scale:1 1}
  91%,100%{translate:0 0;scale:1 1}
}
@keyframes tick-pop{0%,66%,100%{rotate:0deg}72%{rotate:-8deg}80%{rotate:4deg}88%{rotate:0deg}}
@media (prefers-reduced-motion:reduce){.setup-hero[data-variant=review] .hl-seal,.setup-hero[data-variant=review] .hl-tick{animation:none}}
/* Check page: one smooth rise-and-settle per slab (no stepped movement); the orbs just bob gently */
.setup-gate .recon-tile{animation:recon-pop .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s) both,recon-rise 5.6s cubic-bezier(.45,0,.25,1) calc(var(--i) * 1.4s + 1s) infinite}
@keyframes recon-rise{0%,20%,100%{transform:translateY(0) rotateX(0) scale(1)}10%{transform:translateY(-7px) rotateX(5deg) scale(1.02)}}
.setup-gate .recon-op{animation:recon-pop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .12s + .06s) both,recon-bob 2.6s ease-in-out calc(var(--i) * .35s) infinite}
.setup-gate .recon-op::after{display:none}
@keyframes recon-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
@media (prefers-reduced-motion:reduce){.setup-gate .recon-tile,.setup-gate .recon-op{animation:none}}

/* Glassy back button on every page that isn't a tab */
#workspace .back-link{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:0 16px 0 6px;min-height:40px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--accent);
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.62));backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);
  box-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7),0 6px 16px -8px rgba(36,56,99,.35);transition:transform .2s var(--spring),box-shadow .2s}
#workspace .back-link svg{width:28px;height:28px;padding:6px;border-radius:50%;stroke-width:2.6;color:#fff;background:linear-gradient(180deg,#5a9dff,#1f63f0);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 3px 8px -3px rgba(31,99,240,.7)}
#workspace .back-link:hover{transform:translateX(-2px);background:linear-gradient(180deg,#fff,rgba(255,255,255,.75))}
#workspace .back-link:active{transform:scale(.97)}

/* Sheets: on-brand glass forms */
dialog#sheet{padding:18px 24px 24px}
dialog#sheet .sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
dialog#sheet #sheet-label{font-size:15px;font-weight:600;letter-spacing:0;color:var(--label-2)}
dialog#sheet .sheet-head .icon-button{width:34px;height:34px;min-height:34px;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(235,239,247,.8));box-shadow:inset 0 1px 0 #fff,0 3px 10px -4px rgba(36,56,99,.35);color:var(--label-2)}
dialog#sheet .sheet-head .icon-button:focus-visible{outline:3px solid rgba(10,122,255,.35);outline-offset:2px}
dialog#sheet h2{font-size:28px;margin:4px 0 6px}
dialog#sheet h2+p{font-size:15px;line-height:1.45;color:var(--label-2);margin-bottom:6px}
dialog#sheet .field,dialog#sheet .form-grid label{font-size:13px;font-weight:600;color:var(--label-2);gap:8px}
dialog#sheet .form-grid{gap:14px;margin:18px 0}
dialog#sheet .field{margin:18px 0}
dialog#sheet .field input,dialog#sheet .field select,dialog#sheet .form-grid input,dialog#sheet .form-grid select,dialog#sheet textarea{appearance:none;-webkit-appearance:none;min-height:50px;padding:12px 16px;border:0;border-radius:16px;font:inherit;font-size:17px;font-weight:500;color:var(--label);
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.75));box-shadow:inset 0 0 0 1px rgba(60,60,67,.1),inset 0 2px 4px rgba(36,56,99,.05),0 1px 0 #fff;transition:box-shadow .2s}
dialog#sheet select{background-image:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.75)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238a93a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:0 0,right 16px center!important;background-size:auto,12px 8px!important;padding-right:40px!important}
dialog#sheet input:focus,dialog#sheet select:focus,dialog#sheet textarea:focus{outline:none;box-shadow:inset 0 0 0 2px var(--accent),0 0 0 4px rgba(10,122,255,.15)}
dialog#sheet input::placeholder{color:var(--label-3)}
dialog#sheet .toggle{font-size:15px;color:var(--label);margin-top:6px}
dialog#sheet .fineprint{font-size:13px;color:var(--label-2)}
dialog#sheet .sheet-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:22px}
dialog#sheet .sheet-actions .secondary{min-height:50px;padding:0 22px;border-radius:16px;font-size:16px;font-weight:600;border:0;background:linear-gradient(180deg,#fff,rgba(245,247,252,.9));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(60,60,67,.08),0 6px 14px -8px rgba(36,56,99,.35);color:var(--label)}
dialog#sheet .sheet-actions .primary{min-height:50px;padding:0 26px;font-size:16px}
@media (max-width:760px){
  dialog#sheet{padding:10px 18px calc(22px + env(safe-area-inset-bottom))}
  dialog#sheet .form-grid{grid-template-columns:1fr 1fr}
  dialog#sheet .sheet-actions{position:sticky;bottom:-22px;padding:14px 0 4px;background:linear-gradient(180deg,rgba(248,249,252,0),rgba(248,249,252,.96) 30%)}
  dialog#sheet .sheet-actions>*{flex:1}
}
/* the grabber is a real handle you can pull */
dialog#sheet::before{cursor:grab}

/* ── Round 4 (15 Oct 2026 pm) ─────────────────────────────────────────── */
/* Overview: tap a colour in the bar to focus one category */
#workspace .quiet-summary{position:relative;transition:background .5s}
#workspace .quiet-summary.is-focused{background:radial-gradient(120% 150% at 0% 0%,color-mix(in oklab,var(--c) 24%,transparent),transparent 62%),radial-gradient(90% 120% at 100% 100%,color-mix(in oklab,var(--c) 10%,transparent),transparent 70%),var(--card)}
#workspace .composition-bar.interactive>button{all:unset;display:flex;min-width:0;cursor:pointer;border-radius:15px;transition:opacity .35s,filter .35s,transform .45s var(--spring)}
#workspace .composition-bar.interactive>button>span{flex:1;min-width:0}
#workspace .composition-bar.interactive>button:hover{transform:translateY(-1.5px)}
#workspace .composition-bar.interactive>button:active{transform:scale(.97)}
#workspace .composition-bar.interactive>button:focus-visible{outline:3px solid rgba(10,122,255,.4);outline-offset:1px}
#workspace .composition-bar.focused>button:not(.on){opacity:.3;filter:saturate(.45)}
#workspace .composition-bar.focused>button.on{transform:scaleY(1.14)}
#workspace .quiet-total.focus{animation:qt-in .5s var(--spring) both}
@keyframes qt-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
#workspace .quiet-total .focus-row{display:flex;align-items:center;gap:16px}
#workspace .quiet-total .focus-row .icon-tile{width:76px;height:76px;flex:0 0 auto;filter:drop-shadow(0 12px 18px color-mix(in oklab,var(--c) 50%,transparent));animation:tile-bounce .6s cubic-bezier(.3,1.6,.5,1) both}
@keyframes tile-bounce{from{opacity:0;transform:scale(.5) rotate(-12deg)}to{opacity:1;transform:none}}
#workspace .quiet-total .focus-row .amount{margin:2px 0 0}
#workspace .quiet-total.focus .text-button{margin-top:8px}
#workspace .bar-all{position:absolute;top:18px;right:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 16px 0 5px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-size:15px;font-weight:600;color:var(--accent);
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.66));box-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7),0 6px 16px -8px rgba(36,56,99,.4);animation:qt-in .45s var(--spring) both}
#workspace .bar-all svg{width:28px;height:28px;padding:6px;border-radius:50%;stroke-width:2.6;color:#fff;background:linear-gradient(180deg,#5a9dff,#1f63f0);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 3px 8px -3px rgba(31,99,240,.7)}
#workspace .bar-all:active{transform:scale(.95)}

/* Category banner: glass icons float like balloons in a glow of the category colour */
#workspace .category-hero.has-banner{position:relative;overflow:hidden;min-height:250px;padding-right:52%}
#workspace .cat-banner{position:absolute;top:0;right:0;bottom:0;width:56%;container-type:size;pointer-events:none}
#workspace .cat-banner .cb-glow{position:absolute;inset:-12% -8% -12% 0;background:radial-gradient(closest-side at 54% 52%,color-mix(in oklab,var(--c) 46%,transparent),transparent),radial-gradient(closest-side at 26% 74%,color-mix(in oklab,var(--c) 20%,transparent),transparent);animation:cb-breathe 7s ease-in-out infinite}
#workspace .cb-piece{position:absolute;width:calc(var(--s) * 1cqh);aspect-ratio:1;translate:-50% -50%;animation:cb-float var(--t) ease-in-out var(--d) infinite}
#workspace .cb-piece img{display:block;width:100%;height:100%;rotate:var(--r);filter:drop-shadow(0 16px 18px color-mix(in oklab,var(--c) 34%,rgba(36,56,99,.2)));animation:cb-in .8s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * .09s) both}
@keyframes cb-float{0%,100%{transform:translate(0,0) rotate(0deg)}30%{transform:translate(3px,-8px) rotate(2deg)}60%{transform:translate(-2px,-12px) rotate(-1.5deg)}80%{transform:translate(-3px,-5px) rotate(1deg)}}
@keyframes cb-in{from{opacity:0;scale:.55}to{opacity:1;scale:1}}
@keyframes cb-breathe{0%,100%{opacity:.85;scale:1}50%{opacity:1;scale:1.06}}
#workspace .cat-banner.photo img{width:100%;height:100%;object-fit:cover;object-position:right center}
@media (max-width:760px){
  #workspace .category-hero.has-banner{flex-wrap:wrap;padding:0 18px 18px;min-height:0}
  #workspace .category-hero.has-banner .cat-banner{position:relative;width:calc(100% + 36px);height:186px;margin:0 -18px 2px;flex:0 0 auto}
}

/* Worth a look: the recurring question is one glass choice pill */
#workspace .choice-pill{display:inline-flex;padding:4px;gap:4px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(236,240,250,.55));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.1),inset 0 -2px 4px rgba(36,56,99,.06),0 8px 20px -12px rgba(36,56,99,.35);backdrop-filter:blur(16px) saturate(1.6);-webkit-backdrop-filter:blur(16px) saturate(1.6)}
#workspace .choice-pill .choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px 0 8px;border:0;border-radius:999px;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:transform .25s var(--spring),background .25s}
#workspace .choice-pill .choice svg{width:28px;height:28px;padding:6px;border-radius:50%;stroke-width:2.8}
#workspace .choice-pill .yes{color:#fff;background:linear-gradient(180deg,#5bd68a,#25a85a);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 4px rgba(0,60,20,.18),0 8px 18px -8px rgba(37,168,90,.7)}
#workspace .choice-pill .yes svg{color:#fff;background:rgba(255,255,255,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
#workspace .choice-pill .no{color:var(--label);background:transparent}
#workspace .choice-pill .no svg{color:var(--label-2);background:linear-gradient(180deg,#fff,#e9edf5);box-shadow:inset 0 1px 0 #fff,0 2px 6px -2px rgba(36,56,99,.3)}
#workspace .choice-pill .no:hover{background:rgba(255,255,255,.75)}
#workspace .choice-pill .choice:active{transform:scale(.95)}

/* Sheets: branded, tinted glass cards */
dialog#sheet .sheet-hero,dialog#sheet .day-glance,dialog#sheet .category-detail-summary{position:relative;border-radius:24px;padding:20px;margin:4px 0 16px;
  background:radial-gradient(120% 150% at 0% 0%,color-mix(in oklab,var(--c,#8fa3c8) 26%,transparent),transparent 62%),radial-gradient(90% 120% at 100% 100%,color-mix(in oklab,var(--c,#8fa3c8) 14%,transparent),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72));
  box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(255,255,255,.8),0 16px 32px -20px color-mix(in oklab,var(--c,#8fa3c8) 70%,rgba(36,56,99,.4))}
dialog#sheet .sheet-hero{display:flex;align-items:center;gap:18px}
dialog#sheet .sheet-hero .icon-tile{width:78px;height:78px;flex:0 0 auto;filter:drop-shadow(0 10px 16px color-mix(in oklab,var(--c) 45%,transparent))}
dialog#sheet .sheet-hero h2{margin:0 0 2px;font-size:24px}
dialog#sheet .sheet-hero .detail-amount{margin:0 0 8px;font-size:38px;line-height:1.05}
dialog#sheet .category-detail-summary .icon-tile{filter:drop-shadow(0 10px 16px color-mix(in oklab,var(--c,#8fa3c8) 45%,transparent))}
dialog#sheet .day-glance-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
dialog#sheet .day-glance .detail-amount{margin:2px 0 4px;line-height:1.05}
dialog#sheet .day-ring{position:relative;width:120px;height:120px;flex:0 0 auto;animation:ring-pop .7s cubic-bezier(.3,1.4,.5,1) both}
@keyframes ring-pop{from{opacity:0;scale:.7;rotate:-40deg}to{opacity:1;scale:1;rotate:0deg}}
dialog#sheet .day-ring svg{width:100%;height:100%;overflow:visible}
dialog#sheet .day-ring circle{fill:none;stroke-width:15;stroke-linecap:round}
dialog#sheet .day-ring .track{stroke:rgba(118,118,128,.12)}
dialog#sheet .day-ring g circle{filter:drop-shadow(0 3px 4px rgba(36,56,99,.2))}
dialog#sheet .day-ring .shine{stroke:rgba(255,255,255,.7);stroke-width:3.5;stroke-dasharray:62 300;transform:rotate(-150deg);transform-origin:60px 60px}
dialog#sheet .day-ring .icon-tile{position:absolute;inset:0;margin:auto;width:60px;height:60px;filter:drop-shadow(0 6px 10px color-mix(in oklab,var(--c) 40%,transparent))}
dialog#sheet .day-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
dialog#sheet .day-legend span{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 .5px rgba(60,60,67,.08),0 2px 6px -3px rgba(36,56,99,.2);font-size:13px;color:var(--label-2)}
dialog#sheet .day-legend i{width:10px;height:10px;border-radius:50%;background:linear-gradient(180deg,color-mix(in oklab,var(--c) 55%,#fff),var(--c))}
dialog#sheet .day-legend b{color:var(--label);font-weight:600;margin-left:2px}
dialog#sheet .day-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:16px;height:96px}
dialog#sheet .day-week>span{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:0}
dialog#sheet .day-week .pipe{flex:1;width:18px;display:flex;align-items:flex-end;border-radius:999px;overflow:hidden;background:rgba(118,118,128,.1);box-shadow:inset 0 1px 2px rgba(36,56,99,.1)}
dialog#sheet .day-week .pipe b{display:block;width:100%;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.6),rgba(255,255,255,0) 50%),linear-gradient(180deg,#cfd6e4,#a3aec5);box-shadow:inset 0 -1px 2px rgba(36,56,99,.15);animation:pipe-up .8s var(--spring) calc(var(--k,0) * .05s) both;transform-origin:bottom}
dialog#sheet .day-week .today .pipe b{background:linear-gradient(90deg,rgba(255,255,255,.65),rgba(255,255,255,0) 50%),linear-gradient(180deg,color-mix(in oklab,var(--c) 55%,#fff),var(--c));box-shadow:0 0 14px color-mix(in oklab,var(--c) 65%,transparent),inset 0 -1px 2px rgba(36,56,99,.15)}
dialog#sheet .day-week .today .pipe{box-shadow:inset 0 1px 2px rgba(36,56,99,.1),0 0 0 2px rgba(255,255,255,.9)}
dialog#sheet .day-week .none{opacity:.45}
dialog#sheet .day-week small{font-size:12px;font-weight:600;color:var(--label-3)}
dialog#sheet .day-week .today small{color:var(--label);font-weight:700}
@keyframes pipe-up{from{transform:scaleY(0)}to{transform:none}}
/* day rows: glass cards that carry their category colour */
dialog#sheet .calendar-day-rows{display:flex;flex-direction:column;gap:10px;margin:4px 0 14px}
dialog#sheet .calendar-day-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto 14px;align-items:center;gap:14px;width:100%;padding:12px 14px;border:0;border-radius:20px;text-align:left;cursor:pointer;font:inherit;color:var(--label);
  background:radial-gradient(110px 80px at 40px 50%,color-mix(in oklab,var(--c,#9ab) 20%,transparent),transparent 75%),linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.74));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 8px 20px -14px rgba(36,56,99,.35);transition:transform .25s var(--spring)}
dialog#sheet .calendar-day-row:active{transform:scale(.98)}
dialog#sheet .calendar-day-row .icon-tile{width:54px;height:54px}
dialog#sheet .calendar-day-row>span{display:flex;flex-direction:column;gap:2px;min-width:0}
dialog#sheet .calendar-day-row strong{font-size:17px;font-weight:600}
dialog#sheet .calendar-day-row small{font-size:13px;line-height:1.35;color:var(--label-2)}
dialog#sheet .calendar-day-row b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
dialog#sheet .calendar-day-row>svg{width:14px;height:14px;color:var(--label-3)}
/* purchase details: a glass card with an Edit pill */
dialog#sheet .detail-card{border-radius:22px;padding:4px 18px 6px;margin:0 0 16px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.68));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 10px 24px -18px rgba(36,56,99,.35)}
dialog#sheet .detail-card-head{display:flex;align-items:center;justify-content:space-between;min-height:48px}
dialog#sheet .detail-card-head .eyebrow{margin:0}
dialog#sheet .detail-card .detail-list{margin:0}
dialog#sheet .detail-card .detail-list>div:last-child{border-bottom:0}
dialog#sheet .edit-pill{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px 0 5px;border:0;border-radius:999px;font:inherit;font-size:15px;font-weight:600;color:var(--accent);cursor:pointer;background:linear-gradient(180deg,#fff,rgba(240,244,252,.85));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.1),0 4px 12px -6px rgba(36,56,99,.35);transition:transform .25s var(--spring)}
dialog#sheet .edit-pill:active{transform:scale(.95)}
dialog#sheet .edit-pill svg{width:26px;height:26px;padding:5px;border-radius:50%;color:#fff;stroke-width:2.4;background:linear-gradient(180deg,#5a9dff,#1f63f0);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 3px 8px -3px rgba(31,99,240,.7);transition:background .3s}
dialog#sheet .detail-card.editing .edit-pill{color:#1f9d55}
dialog#sheet .detail-card.editing .edit-pill svg{background:linear-gradient(180deg,#5bd68a,#25a85a);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 3px 8px -3px rgba(37,168,90,.7)}
dialog#sheet .detail-edit-fields{display:none}
dialog#sheet .detail-card.editing .detail-edit-fields{display:block;animation:qt-in .35s var(--spring) both}
dialog#sheet .detail-edit-fields .field{margin:6px 0 12px}
dialog#sheet .lock-note{display:flex;align-items:center;gap:6px;margin:0 0 10px}
dialog#sheet .lock-note svg{width:14px;height:14px;flex:0 0 auto}
dialog#sheet .detail-card.editing .detail-list dd{color:var(--label-2)}
/* switches: grouped like iOS Settings, glassy tracks and knobs */
dialog#sheet .toggle-group,#workspace .toggle-group{border-radius:20px;padding:2px 16px;margin:16px 0 8px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.68));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 8px 20px -16px rgba(36,56,99,.35)}
dialog#sheet .toggle-group .toggle,#workspace .toggle-group .toggle{margin:0;min-height:58px;flex-direction:row-reverse;justify-content:space-between;gap:16px}
dialog#sheet .toggle-group .toggle+.toggle,#workspace .toggle-group .toggle+.toggle{border-top:.5px solid var(--separator)}
dialog#sheet .toggle+.toggle{margin-top:12px}
dialog#sheet .toggle-group .toggle+.toggle{margin-top:0}
#workspace .toggle input[type=checkbox],dialog#sheet .toggle input[type=checkbox],.setup-gate .toggle input[type=checkbox]{background-color:transparent;
  background-image:radial-gradient(circle at 15.5px 42%,#fff 0 7px,#f1f4f9 11.5px,transparent 12.5px),radial-gradient(circle at 15.5px 60%,rgba(36,56,99,.24) 10px,transparent 14.5px),linear-gradient(180deg,rgba(120,128,150,.14),rgba(120,128,150,.26));
  box-shadow:inset 0 1px 2px rgba(36,56,99,.2),inset 0 0 0 .5px rgba(60,60,67,.12),0 1px 0 rgba(255,255,255,.9)}
#workspace .toggle input[type=checkbox]:checked,dialog#sheet .toggle input[type=checkbox]:checked,.setup-gate .toggle input[type=checkbox]:checked{background-color:transparent;
  background-image:radial-gradient(circle at 35.5px 42%,#fff 0 7px,#f1f4f9 11.5px,transparent 12.5px),radial-gradient(circle at 35.5px 60%,rgba(0,70,30,.3) 10px,transparent 14.5px),linear-gradient(90deg,rgba(255,255,255,.35),rgba(255,255,255,0) 60%),linear-gradient(180deg,#62de92,#26b35e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 3px rgba(0,60,20,.2),0 4px 12px -4px rgba(38,179,94,.6)}
/* the action buttons stay in view while a long sheet scrolls */
dialog#sheet .sheet-actions{position:sticky;bottom:-24px;z-index:3;padding:14px 0 6px;background:linear-gradient(180deg,rgba(248,249,252,0),rgba(248,249,252,.96) 34%)}
dialog#sheet .sheet-head{background:transparent!important}

/* Activity rows: bigger icons, and each row carries a soft glow of its category colour */
#workspace .purchase-row,dialog#sheet .purchase-row{grid-template-columns:56px minmax(0,1fr) auto 14px;min-height:78px;background-image:radial-gradient(110px 80px at 42px 50%,color-mix(in oklab,var(--c,#9ab) 16%,transparent),transparent 75%)}
#workspace .purchase-row:hover,dialog#sheet .purchase-row:hover{background-color:rgba(118,118,128,.06);background-image:radial-gradient(110px 80px at 42px 50%,color-mix(in oklab,var(--c,#9ab) 22%,transparent),transparent 75%)}
#workspace .purchase-row .icon-tile,dialog#sheet .purchase-row .icon-tile{width:56px;height:56px;border-radius:15px}
#workspace .purchase-row+.purchase-row::before{left:84px}
@media (max-width:760px){
  #workspace .purchase-row,dialog#sheet .purchase-row{grid-template-columns:50px minmax(0,1fr) auto 12px;min-height:72px}
  #workspace .purchase-row .icon-tile,dialog#sheet .purchase-row .icon-tile{width:50px;height:50px}
  #workspace .purchase-row+.purchase-row::before{left:76px}
  dialog#sheet .sheet-actions{bottom:calc(-22px - env(safe-area-inset-bottom))}
}

/* Month pickers: the whole pill opens the menu, chevron and calendar icon included */
#workspace .page-heading .pill svg,#workspace .calendar-month-pill svg{position:relative;z-index:1;pointer-events:none}
#workspace .page-heading .pill select{position:relative;z-index:0;align-self:stretch;margin:0 -40px;padding:0 44px 0 40px}
#workspace .calendar-month-pill select{position:relative;z-index:0;align-self:stretch;margin:0 -40px;padding:0 42px}

/* More (•••): centred dots, a coloured glass press and open state */
#workspace .workspace-tools[open]>summary{justify-content:center!important;place-items:center}
#workspace .workspace-tools>summary{transition:background .3s,box-shadow .3s,color .3s,transform .4s var(--spring)}
#workspace .workspace-tools>summary:active{transform:scale(.88)}
#workspace .workspace-tools>summary #more-symbol{display:grid;place-items:center;transition:transform .5s cubic-bezier(.3,1.5,.5,1)}
#workspace .workspace-tools[open]>summary{color:#fff;background:linear-gradient(180deg,#5a9dff,#1f63f0)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 4px rgba(0,30,90,.25),0 10px 22px -8px rgba(31,99,240,.7)!important}
#workspace .workspace-tools[open]>summary #more-symbol{transform:rotate(90deg)}
#workspace .workspace-tools[open] .menu-panel{transform-origin:top right;animation:menu-pop .35s cubic-bezier(.3,1.3,.5,1) both}
@keyframes menu-pop{from{opacity:0;transform:translateY(-6px) scale(.94)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#workspace .cb-piece,#workspace .cb-piece img,#workspace .cb-glow,dialog#sheet .day-ring,dialog#sheet .day-week .pipe b,#workspace .quiet-total.focus,#workspace .workspace-tools[open] .menu-panel{animation:none!important}}
/* Pages 3–4: the swapping tile (ten icons, one at a time, each pops in as the scene moves) */
.setup-hero.layered .hl-swapper img{position:absolute;inset:-14%;width:128%;height:128%;max-width:none;opacity:0;animation-name:hl-swap10;animation-timing-function:cubic-bezier(.3,1.5,.5,1);animation-iteration-count:infinite;animation-fill-mode:both;filter:drop-shadow(0 1.4cqw 1.6cqw rgba(36,56,99,.2))}
@keyframes hl-swap10{0%{opacity:0;scale:.55;rotate:-10deg}1.6%{opacity:1;scale:1.1;rotate:3deg}3.2%{scale:1;rotate:0deg}9%{opacity:1;scale:1}10%{opacity:0;scale:.75}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.setup-hero.layered .hl-swapper img{animation:none}.setup-hero.layered .hl-swapper img:first-child{opacity:1}}
/* fixes: All sits in a row with "See …" (never over the amount); day-row arrow stays on the row; full-width fields on phone */
#workspace .quiet-total .focus-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px}
#workspace .quiet-total .focus-actions .text-button{margin:0}
#workspace .bar-all{position:static}
dialog#sheet .calendar-day-row>svg{grid-column:auto!important;grid-row:auto!important}
@media (max-width:760px){dialog#sheet .form-grid{grid-template-columns:1fr}}

/* ── Round 5: themes, overview banner, quick add, Themes + Settings pages ── */
:root{--acc-a:#5a9dff;--acc-b:#1f63f0;--theme-glow:#a99bff;--wash-a:#f3f1ff;--wash-b:#eef4ff}
:root[data-theme=ocean]{--acc-a:#4cc9f0;--acc-b:#0a84c6;--theme-glow:#4fc3e8;--wash-a:#ebf9ff;--wash-b:#eef5ff;--accent:#0a84c6}
:root[data-theme=blossom]{--acc-a:#ff7eab;--acc-b:#e2457c;--theme-glow:#ff9ec0;--wash-a:#fff0f6;--wash-b:#fff5ec;--accent:#d93a72}
:root[data-theme=sage]{--acc-a:#4fd18f;--acc-b:#1e9e5f;--theme-glow:#7fd6a8;--wash-a:#eefaf2;--wash-b:#f5fbe8;--accent:#1b8f56}
:root[data-theme] .ambient{background:linear-gradient(140deg,var(--wash-a),#fbfcfe 55%,var(--wash-b))!important}
:root[data-theme] .ambient::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 85% 10%,color-mix(in oklab,var(--theme-glow) 22%,transparent),transparent 70%);pointer-events:none}
#workspace .primary,dialog#sheet .primary{background:linear-gradient(180deg,var(--acc-a),var(--acc-b))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 22px -10px color-mix(in oklab,var(--acc-b) 75%,transparent)!important}
#workspace .back-link svg,#workspace .bar-all svg,dialog#sheet .edit-pill svg,#workspace .plus-orb{background:linear-gradient(180deg,var(--acc-a),var(--acc-b))}
#workspace .workspace-tools[open]>summary{background:linear-gradient(180deg,var(--acc-a),var(--acc-b))!important}
#workspace .back-link,#workspace .bar-all,dialog#sheet .edit-pill,#workspace .text-button{color:var(--accent)}

/* Overview banner sits in the summary card: art right on desktop, on top on phones */
#workspace .quiet-summary.has-banner{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"total art" "bar art";column-gap:28px;row-gap:14px;align-items:center;overflow:hidden}
#workspace .quiet-summary.has-banner .quiet-total{grid-area:total}
#workspace .quiet-summary.has-banner .quiet-composition{grid-area:bar;border:0!important;padding-left:0!important;margin:0}
#workspace .ov-banner{grid-area:art;position:relative;height:270px;min-width:0;--c:var(--theme-glow)}
#workspace .ov-banner.cat-banner{position:relative;top:auto;right:auto;bottom:auto;width:auto;container-type:size}
#workspace .ov-banner.scene{display:grid;place-items:center}
#workspace .ov-banner.scene::before{content:"";position:absolute;inset:-10%;background:radial-gradient(closest-side,color-mix(in oklab,var(--theme-glow) 32%,transparent),transparent);animation:cb-breathe 7s ease-in-out infinite}
#workspace .ov-banner .setup-hero{position:relative;height:100%;width:auto;max-width:100%;aspect-ratio:4/3;margin:0}
@media (max-width:760px){
  #workspace .quiet-summary.has-banner{grid-template-columns:1fr;grid-template-areas:"art" "total" "bar";row-gap:10px}
  #workspace .ov-banner{height:200px;margin:-8px -6px 0}
}

/* Quick add: a glossy plus orb and four one-tap categories */
#workspace .quick-add{display:flex;align-items:center;gap:18px;padding:16px 18px;margin-top:16px;background:radial-gradient(90% 160% at 0% 50%,color-mix(in oklab,var(--acc-a) 14%,transparent),transparent 60%),var(--card)}
#workspace .quick-add-main{all:unset;display:flex;align-items:center;gap:14px;cursor:pointer;flex:1;min-width:0}
#workspace .plus-orb{display:grid;place-items:center;width:58px;height:58px;flex:0 0 auto;border-radius:50%;color:#fff;box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -4px 8px rgba(0,30,90,.25),0 12px 24px -10px color-mix(in oklab,var(--acc-b) 80%,transparent);position:relative;transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
#workspace .plus-orb::after{content:"";position:absolute;left:18%;right:18%;top:8%;height:34%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,0))}
#workspace .plus-orb svg{width:28px;height:28px;stroke-width:2.8}
#workspace .quick-add-main:hover .plus-orb{transform:rotate(90deg) scale(1.06)}
#workspace .quick-add-main:active .plus-orb{transform:scale(.9)}
#workspace .quick-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
#workspace .quick-copy strong{font-size:18px;font-weight:700;letter-spacing:-.01em}
#workspace .quick-copy small{font-size:14px;color:var(--label-2)}
#workspace .quick-chips{display:flex;gap:10px;flex:0 0 auto}
#workspace .quick-chip{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 6px;min-width:76px;border:0;border-radius:18px;cursor:pointer;font:inherit;font-size:12px;font-weight:600;color:var(--label-2);background:radial-gradient(70% 60% at 50% 30%,color-mix(in oklab,var(--c) 22%,transparent),transparent 75%),linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.6));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 6px 14px -10px rgba(36,56,99,.4);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
#workspace .quick-chip .icon-tile{width:44px;height:44px}
#workspace .quick-chip:hover{transform:translateY(-3px)}
#workspace .quick-chip:active{transform:scale(.94)}
@media (max-width:760px){#workspace .quick-add{flex-direction:column;align-items:stretch;gap:14px}#workspace .quick-chips{justify-content:space-between}#workspace .quick-chip{flex:1;min-width:0}}

/* Themes page */
#workspace .look-card{margin-bottom:18px}
#workspace .theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:6px}
#workspace .theme-choice,#workspace .banner-choice{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 8px;border:0;border-radius:22px;cursor:pointer;font:inherit;font-size:15px;color:var(--label);background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.6));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 8px 18px -12px rgba(36,56,99,.4);transition:transform .3s cubic-bezier(.3,1.6,.5,1),box-shadow .3s}
#workspace .theme-choice:hover,#workspace .banner-choice:hover{transform:translateY(-3px)}
#workspace .theme-choice.on,#workspace .banner-choice.on{box-shadow:inset 0 1px 0 #fff,0 0 0 3px var(--accent),0 12px 24px -12px color-mix(in oklab,var(--accent) 70%,transparent)}
#workspace .theme-orb{position:relative;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.95) 0 12%,transparent 34%),linear-gradient(145deg,var(--t1),var(--t2));box-shadow:inset 0 -6px 12px rgba(0,0,0,.08),inset 0 2px 0 rgba(255,255,255,.7),0 12px 22px -10px var(--t1)}
#workspace .theme-orb i,#workspace .banner-thumb i{position:absolute;right:-2px;bottom:-2px;display:none;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;background:linear-gradient(180deg,var(--acc-a),var(--acc-b));box-shadow:0 0 0 3px #fff}
#workspace .theme-orb i svg,#workspace .banner-thumb i svg{width:14px;height:14px;stroke-width:3}
#workspace .theme-choice.on i,#workspace .banner-choice.on .banner-thumb i{display:grid}
#workspace .banner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:6px}
#workspace .banner-thumb{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/3;border-radius:16px;background:radial-gradient(closest-side,color-mix(in oklab,var(--theme-glow) 28%,transparent),transparent),rgba(255,255,255,.5)}
#workspace .banner-thumb>img{width:100%;height:100%;object-fit:contain}
#workspace .thumb-icons{display:flex;align-items:center;justify-content:center}
#workspace .thumb-icons img{width:44%;margin:0 -7%}
#workspace .thumb-icons img:nth-child(2){width:58%;position:relative;z-index:1}
@media (max-width:760px){#workspace .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .banner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .banner-choice:last-child{grid-column:1/-1}}

/* Settings page */
#workspace .settings-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 12px}
#workspace .settings-cat{display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:16px;cursor:pointer;font:inherit;font-size:15px;color:var(--label);text-align:left;background:radial-gradient(80% 120% at 0% 50%,color-mix(in oklab,var(--c) 18%,transparent),transparent 70%),rgba(255,255,255,.7);box-shadow:inset 0 0 0 .5px rgba(60,60,67,.08)}
#workspace .settings-cat .icon-tile{width:40px;height:40px;flex:0 0 auto}
#workspace .settings-cat span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace .settings-cat i{width:16px;height:16px;border-radius:50%;flex:0 0 auto;background:linear-gradient(180deg,color-mix(in oklab,var(--c) 55%,#fff),var(--c));box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 0 0 2px #fff}
#workspace .setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:.5px solid var(--separator)}
#workspace .setting-row strong{display:block;font-size:17px}
#workspace .setting-row small{font-size:14px;color:var(--label-2)}
#workspace .setting-row .segment{flex:0 0 auto;display:inline-flex}
@media (max-width:760px){#workspace .settings-cats{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .setting-row{flex-direction:column;align-items:flex-start}}

/* Calm motion: the artwork holds still */
:root[data-motion=calm] #workspace .ov-banner *,:root[data-motion=calm] #workspace .cat-banner *,:root[data-motion=calm] #workspace .ov-banner::before{animation:none!important}
:root[data-motion=calm] .hl-swapper img:first-child{opacity:1}
#workspace .quick-add{margin-bottom:18px}
#workspace .quiet-summary.has-banner .quiet-total{border:0!important;padding-right:0!important}
#workspace .thumb-icons img{width:38%;margin:0 -6%}#workspace .thumb-icons img:nth-child(2){width:50%}
@media (max-width:760px){#workspace .banner-choice:last-child .banner-thumb{aspect-ratio:auto;height:120px}#workspace .settings-cats{grid-template-columns:1fr}}
/* Check page: currency balloons */
.setup-gate .recon-op.cur{background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.95) 0 9%,rgba(255,255,255,0) 26%),linear-gradient(180deg,var(--o1) 0%,var(--o2) 48%,var(--o3) 100%)!important;box-shadow:inset 0 2px 1px rgba(255,255,255,.6),inset 0 -6px 10px rgba(0,0,0,.18),inset 0 0 0 1.5px rgba(255,255,255,.35),0 10px 18px -8px var(--o3)!important;transition:background .2s}
.setup-gate .recon-op.pop{animation:balloon-pop .75s cubic-bezier(.3,1.5,.5,1),recon-bob 2.6s ease-in-out calc(var(--i) * .35s) infinite!important}
.setup-gate .recon-op.pop::after{display:block!important;content:"";position:absolute;inset:-3px;border-radius:50%;background:none!important;border:2.5px solid var(--o2);z-index:-1;animation:balloon-ring .75s ease-out both!important}
@keyframes balloon-pop{0%{scale:1}18%{scale:.62}48%{scale:1.28}70%{scale:.94}100%{scale:1}}
@keyframes balloon-ring{0%{opacity:0;scale:.8}25%{opacity:.9}100%{opacity:0;scale:1.9}}
/* Settings: currency chips */
#workspace .currency-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:6px}
#workspace .currency-choice{display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:16px;cursor:pointer;font:inherit;text-align:left;color:var(--label);background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 .5px rgba(60,60,67,.08),0 6px 14px -10px rgba(36,56,99,.4);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
#workspace .currency-choice:hover{transform:translateY(-2px)}
#workspace .currency-choice.on{box-shadow:0 0 0 3px var(--accent),0 10px 20px -12px color-mix(in oklab,var(--accent) 70%,transparent)}
#workspace .currency-choice strong{display:block;font-size:15px}#workspace .currency-choice small{font-size:12px;color:var(--label-2)}
#workspace .currency-orb{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:50%;color:#fff;font-weight:800;font-size:17px;font-family:ui-rounded,"SF Pro Rounded",-apple-system,system-ui,sans-serif;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 9%,rgba(255,255,255,0) 28%),linear-gradient(180deg,var(--acc-a),var(--acc-b));box-shadow:inset 0 2px 1px rgba(255,255,255,.5),inset 0 -5px 8px rgba(0,0,0,.18),0 8px 14px -8px var(--acc-b)}
@media (max-width:760px){#workspace .currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Quick add chips scroll sideways through every category */
#workspace .quick-add-main{flex:0 1 auto}
#workspace .quick-chips{flex:1 1 0;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:6px 4px 10px;margin:-6px 0 -10px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 28px),transparent)}
#workspace .quick-chips::-webkit-scrollbar{display:none}
#workspace .quick-chip{flex:0 0 92px;min-width:0;scroll-snap-align:start}
#workspace .quick-chip span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace .quick-chip:focus-visible{outline:3px solid color-mix(in oklab,var(--accent) 50%,transparent);outline-offset:2px}
#workspace .quick-chip:focus:not(:focus-visible){outline:none}
@media (max-width:760px){#workspace .quick-chips{justify-content:flex-start;margin:-6px -18px -10px;padding:6px 18px 10px}#workspace .quick-chip{flex:0 0 84px}}
@media (max-width:760px){#workspace .quick-chips{flex:0 0 auto}}
/* Overview: live spending ring top-right; the amount keeps the top-left */
#workspace .quiet-summary.has-donut{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"total donut" "bar bar";column-gap:24px;row-gap:16px;align-items:center}
#workspace .quiet-summary.has-donut .quiet-total{grid-area:total;border:0!important;padding-right:0!important}
#workspace .quiet-summary.has-donut .quiet-composition{grid-area:bar;border:0!important;padding-left:0!important;margin:0}
#workspace .ov-donut{grid-area:donut;position:relative;width:250px;height:250px;align-self:start;animation:donut-in .9s cubic-bezier(.3,1.3,.5,1) both}
@keyframes donut-in{from{opacity:0;rotate:-60deg;scale:.75}to{opacity:1;rotate:0deg;scale:1}}
#workspace .ov-donut::before{content:"";position:absolute;inset:-12%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in oklab,var(--c,var(--theme-glow)) 30%,transparent),transparent);z-index:-1;transition:background .5s}
#workspace .ov-donut svg{width:100%;height:100%;overflow:visible}
#workspace .ov-donut circle{fill:none}
#workspace .ov-donut .track{stroke:rgba(118,118,128,.1);stroke-width:30}
#workspace .ov-donut .seg{stroke-width:28;cursor:pointer;filter:drop-shadow(0 4px 5px rgba(36,56,99,.18));transition:stroke-width .4s cubic-bezier(.3,1.5,.5,1),opacity .35s,filter .35s}
#workspace .ov-donut .seg:hover{stroke-width:32}
#workspace .ov-donut.focused .seg:not(.on){opacity:.28;filter:saturate(.45)}
#workspace .ov-donut.focused .seg.on{stroke-width:36}
#workspace .ov-donut .rim{stroke:rgba(255,255,255,.75);stroke-width:1.5;pointer-events:none}
#workspace .ov-donut .shine{stroke:rgba(255,255,255,.55);stroke-width:4;stroke-dasharray:120 400;transform:rotate(-155deg);transform-origin:100px 100px;pointer-events:none;mix-blend-mode:screen}
#workspace .donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none;animation:qt-in .45s var(--spring) both}
#workspace .donut-center .icon-tile{width:58px;height:58px;filter:drop-shadow(0 8px 12px rgba(36,56,99,.18))}
#workspace .donut-center b{font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--label);margin-top:4px}
#workspace .donut-center small{font-size:12px;color:var(--label-2);max-width:110px;text-align:center;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace .thumb-donut{width:62%;aspect-ratio:1;border-radius:50%;background:conic-gradient(#819cd3 0 33%,#fff 0 34%,#bd8adb 0 53%,#fff 0 54%,#7890ad 0 69%,#fff 0 70%,#79b7cf 0 81%,#fff 0 82%,#6cad99 0 90%,#fff 0 91%,#efa775 0 100%);-webkit-mask:radial-gradient(circle,transparent 46%,#000 47%);mask:radial-gradient(circle,transparent 46%,#000 47%);filter:drop-shadow(0 6px 10px rgba(36,56,99,.2))}
@media (max-width:760px){
  #workspace .quiet-summary.has-donut{column-gap:10px}
  #workspace .ov-donut{width:132px;height:132px}
  #workspace .quiet-summary.has-donut .quiet-total .amount{font-size:34px}
  #workspace .donut-center .icon-tile{width:38px;height:38px}
  #workspace .donut-center b{font-size:15px;margin-top:2px}
  #workspace .donut-center small{display:none}
  #workspace .quiet-summary.has-donut .focus-row .icon-tile{width:52px;height:52px}
}
@media (prefers-reduced-motion:reduce){#workspace .ov-donut,#workspace .donut-center{animation:none}}
#workspace .quick-rail{position:relative;flex:1 1 0;min-width:0;display:flex}
#workspace .quick-rail .quick-chips{flex:1 1 auto}
#workspace .quick-more{position:absolute;right:-6px;top:50%;translate:0 -50%;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;cursor:pointer;color:#fff;background:linear-gradient(180deg,var(--acc-a),var(--acc-b));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 14px -6px var(--acc-b);transition:rotate .35s cubic-bezier(.3,1.5,.5,1),transform .2s}
#workspace .quick-more svg{width:16px;height:16px;stroke-width:2.8}
#workspace .quick-more.end{rotate:180deg}
#workspace .quick-more:active{transform:scale(.9)}
@media (max-width:760px){#workspace .quick-rail{flex:0 0 auto}#workspace .quick-more{display:none}}
@media (max-width:760px){#workspace .quiet-summary.has-donut .focus-row>.icon-tile{display:none}#workspace .quiet-summary.has-donut .quiet-total .amount{font-size:32px}}
/* Quick add sheet: category strip, big rounded animated amount, glass + / − with small ¢ buttons */
dialog#sheet.quick-add-sheet .qa-cats{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:4px -24px 6px;padding:8px 24px 12px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}
dialog#sheet.quick-add-sheet .qa-cats::-webkit-scrollbar{display:none}
dialog#sheet .qa-cat{flex:0 0 82px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;border:0;border-radius:18px;cursor:pointer;font:inherit;font-size:12px;font-weight:600;color:var(--label-2);scroll-snap-align:start;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.6));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.08),0 6px 14px -10px rgba(36,56,99,.4);transition:transform .3s cubic-bezier(.3,1.6,.5,1),box-shadow .3s}
dialog#sheet .qa-cat span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
dialog#sheet .qa-cat .icon-tile{width:46px;height:46px}
dialog#sheet .qa-cat.on{color:var(--label);transform:translateY(-3px);background:radial-gradient(80% 70% at 50% 30%,color-mix(in oklab,var(--c) 30%,transparent),transparent 75%),#fff;box-shadow:inset 0 1px 0 #fff,0 0 0 2.5px var(--c),0 12px 22px -12px var(--c)}
dialog#sheet .qa-stage{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 4px;padding:26px 14px;border-radius:28px;background:radial-gradient(70% 90% at 50% 50%,color-mix(in oklab,var(--c) 26%,transparent),transparent 72%),linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.66));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(255,255,255,.8),0 18px 36px -22px color-mix(in oklab,var(--c) 80%,rgba(36,56,99,.4));transition:background .4s}
dialog#sheet .qa-side{display:flex;flex-direction:column;align-items:center;gap:10px}
dialog#sheet .qa-big,dialog#sheet .qa-small{display:grid;place-items:center;border:0;padding:0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
dialog#sheet .qa-big{width:68px;height:68px;border-radius:50%;color:#fff;background:radial-gradient(circle at 34% 26%,rgba(255,255,255,.9) 0 8%,rgba(255,255,255,0) 30%),linear-gradient(180deg,var(--acc-a),var(--acc-b));box-shadow:inset 0 2px 1px rgba(255,255,255,.5),inset 0 -6px 10px rgba(0,30,90,.28),0 12px 22px -10px var(--acc-b)}
dialog#sheet .qa-big svg{width:30px;height:30px;stroke-width:3.2}
dialog#sheet .qa-small{min-width:46px;height:30px;padding:0 10px;border-radius:999px;font:inherit;font-size:13px;font-weight:700;color:var(--accent);background:linear-gradient(180deg,#fff,rgba(240,244,252,.85));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.1),0 4px 10px -6px rgba(36,56,99,.4)}
dialog#sheet .qa-big:active,dialog#sheet .qa-big.held{transform:scale(.88)}
dialog#sheet .qa-small:active,dialog#sheet .qa-small.held{transform:scale(.9)}
dialog#sheet .qa-amount{all:unset;cursor:text;flex:1;min-width:0;display:flex;align-items:baseline;justify-content:center;font-family:ui-rounded,"SF Pro Rounded",-apple-system,system-ui,sans-serif;font-weight:800;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,#2a2f3d,color-mix(in oklab,var(--c) 45%,#1c2233));-webkit-background-clip:text;background-clip:text;color:transparent}
dialog#sheet .qa-cur{font-size:34px;margin-right:2px;align-self:flex-start;margin-top:8px}
dialog#sheet .qa-dollars{font-size:clamp(46px,14vw,76px)}
dialog#sheet .qa-cents{font-size:30px}
dialog#sheet .qa-amount.up .qa-dollars,dialog#sheet .qa-amount.up .qa-cents{animation:qa-up .28s cubic-bezier(.3,1.5,.5,1)}
dialog#sheet .qa-amount.down .qa-dollars,dialog#sheet .qa-amount.down .qa-cents{animation:qa-down .28s cubic-bezier(.3,1.5,.5,1)}
@keyframes qa-up{from{transform:translateY(14px) scale(.92);opacity:.4}to{transform:none;opacity:1}}
@keyframes qa-down{from{transform:translateY(-14px) scale(.92);opacity:.4}to{transform:none;opacity:1}}
dialog#sheet .qa-type{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
dialog#sheet .qa-hint{text-align:center;font-size:13px;color:var(--label-3);margin:8px 0 6px}
dialog#sheet .qa-name small{font-weight:500;color:var(--label-3)}
@media (max-width:760px){dialog#sheet.quick-add-sheet .qa-cats{margin:4px -18px 6px;padding:8px 18px 12px}dialog#sheet .qa-stage{padding:22px 10px}dialog#sheet .qa-big{width:58px;height:58px}}
@media (prefers-reduced-motion:reduce){dialog#sheet .qa-amount *{animation:none!important}}
dialog#sheet .qa-cat{width:84px;min-width:84px;max-width:84px;flex:0 0 84px}
/* Quick add, Apple Cash style: neutral glass − / + circles, plain black rounded amount, rolling digits */
dialog#sheet .qa-stage{background:radial-gradient(60% 80% at 50% 55%,color-mix(in oklab,var(--c) 12%,transparent),transparent 75%),linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.8));padding:34px 14px 26px}
dialog#sheet .qa-big{width:56px;height:56px;color:var(--label);background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(232,235,242,.85));box-shadow:inset 0 1px 0 #fff,inset 0 0 0 .5px rgba(60,60,67,.14),inset 0 -2px 4px rgba(36,56,99,.06),0 6px 16px -8px rgba(36,56,99,.4)}
dialog#sheet .qa-big svg{width:24px;height:24px;stroke-width:2.8}
dialog#sheet .qa-big:active,dialog#sheet .qa-big.held{transform:scale(.86);background:linear-gradient(180deg,#eef1f6,#dfe3ec)}
dialog#sheet .qa-small{color:var(--label-2);min-width:42px;height:28px;font-size:12px}
dialog#sheet .qa-amount{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#111317;font-weight:700;letter-spacing:-.02em;transform:scale(var(--fit,1));transition:transform .35s cubic-bezier(.3,1.4,.5,1)}
dialog#sheet .qa-cur{font-size:40px;font-weight:600;margin:10px 2px 0 0}
dialog#sheet .qa-dollars{font-size:84px;display:inline-flex}
dialog#sheet .qa-cents{font-size:34px;font-weight:600;color:#3a3f4b;display:inline-flex}
dialog#sheet .qa-amount .dg{display:inline-block}
dialog#sheet .qa-amount .dg.in-up{animation:dg-up .32s cubic-bezier(.25,1.2,.4,1) both}
dialog#sheet .qa-amount .dg.in-down{animation:dg-down .32s cubic-bezier(.25,1.2,.4,1) both}
@keyframes dg-up{from{transform:translateY(.45em) scale(.85);filter:blur(5px);opacity:0}to{transform:none;filter:none;opacity:1}}
@keyframes dg-down{from{transform:translateY(-.45em) scale(.85);filter:blur(5px);opacity:0}to{transform:none;filter:none;opacity:1}}
dialog#sheet .qa-keypad{display:block;margin:12px auto 0;padding:6px 14px;border:0;border-radius:999px;background:rgba(118,118,128,.1);font:inherit;font-size:14px;font-weight:600;color:var(--accent);cursor:pointer}
dialog#sheet .qa-hint{margin-top:6px}
@media (max-width:760px){dialog#sheet .qa-dollars{font-size:70px}dialog#sheet .qa-cur{font-size:34px}dialog#sheet .qa-cents{font-size:28px}dialog#sheet .qa-big{width:52px;height:52px}}
@media (prefers-reduced-motion:reduce){dialog#sheet .qa-amount .dg{animation:none!important}}
