:root{--bg: #000000;--surface: #121212;--surface-2: #1E1E1E;--key: #2A2A2A;--key-lip: #161616;--line: #242424;--border: #8C8C8C;--text: #F5F5F5;--text-2: #BDBDBD;--text-3: #9A9A9A;--accent: #F5F5F5;--accent-hi: #FFFFFF;--accent-soft: #222222;--accent-lip: #8C8C8C;--on-accent: #000000;--ingreso: #3DD9B8;--ingreso-soft: #12332F;--gasto: #FF7D73;--gasto-soft: #3A1F27;--inversion: #F5C24B;--inversion-soft: #3A2F16;--text-disabled: #6E6E6E;--scrim: rgba(0, 0, 0, .75);--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--fs-hero: 44px;--fs-xl: 32px;--fs-lg: 22px;--fs-md: 18px;--fs-base: 16px;--fs-sm: 14px;--fs-xs: 12px;--fw-regular: 400;--fw-medium: 500;--fw-heavy: 600;--fw-figure: 700;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 20px;--sp-6: 24px;--sp-8: 32px;--r-sm: 8px;--r-md: 14px;--r-lg: 20px;--r-xl: 28px;--r-pill: 999px;--shadow-key: 0 3px 0 var(--key-lip);--shadow-fab: 0 4px 0 var(--accent-lip), 0 12px 28px rgba(0, 0, 0, .55);--shadow-sheet: 0 -16px 48px rgba(0, 0, 0, .6);--dur-press: 90ms;--dur-fast: .16s;--dur-sheet: .28s;--ease: cubic-bezier(.2, .8, .2, 1);--tap: 44px;--dock-h: 64px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);color-scheme:dark}*{box-sizing:border-box}html{background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:var(--fs-base);line-height:1.3;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}body.has-sheet{overflow:hidden}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3,p,ol{margin:0}.screen{display:flex;flex-direction:column;gap:var(--sp-3);min-height:100dvh;padding:calc(var(--safe-top) + 8px) var(--sp-4) calc(var(--dock-h) + var(--safe-bottom) + 96px)}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";letter-spacing:-.02em}.tone-ingreso{color:var(--ingreso)}.tone-gasto{color:var(--gasto)}.tone-inversion{color:var(--inversion)}.tone-accent{color:var(--accent-hi)}.muted{color:var(--text-3)}.soft{color:var(--text-2)}.row{display:flex;align-items:center;gap:var(--sp-2)}.row--between{justify-content:space-between}.row--wrap{flex-wrap:wrap}.col{display:flex;flex-direction:column;gap:var(--sp-2)}.grow{flex:1 1 0;min-width:0}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.label{font-size:var(--fs-xs);font-weight:var(--fw-medium);letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}.title{font-size:var(--fs-lg);font-weight:var(--fw-heavy);letter-spacing:-.01em}.section-title{font-size:var(--fs-md);font-weight:var(--fw-heavy)}.strong{font-weight:var(--fw-heavy)}.center{text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.topbar{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);min-height:48px}.topbar--start{justify-content:flex-start}.month-nav{display:flex;align-items:center;gap:var(--sp-1);min-width:0}.month-name{font-size:var(--fs-lg);font-weight:var(--fw-heavy);padding:0 var(--sp-1);min-width:148px;text-align:center;white-space:nowrap}.icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--tap);height:var(--tap);border:0;border-radius:var(--r-md);background:var(--key);color:var(--text);box-shadow:var(--shadow-key);padding:0;font:inherit;transition:transform var(--dur-press) var(--ease),box-shadow var(--dur-press) var(--ease)}.icon-btn--plain{background:transparent;box-shadow:none;color:var(--text-2)}.icon-btn svg,.btn svg,.nav-item svg,.fab svg,.link-row svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-2);min-height:48px;padding:0 var(--sp-5);border:0;border-radius:var(--r-md);font:inherit;font-weight:var(--fw-heavy);font-size:var(--fs-base);background:var(--key);color:var(--text);box-shadow:var(--shadow-key);text-decoration:none;transition:transform var(--dur-press) var(--ease),box-shadow var(--dur-press) var(--ease)}.btn--primary{background:var(--accent);color:var(--on-accent);box-shadow:0 3px 0 var(--accent-lip)}.btn--secondary{background:transparent;color:var(--accent-hi);box-shadow:inset 0 0 0 2px var(--border)}.btn--danger{background:transparent;color:var(--gasto);box-shadow:inset 0 0 0 2px var(--gasto)}.btn--block{display:flex;width:100%}.btn--big{min-height:56px;font-size:var(--fs-md);border-radius:var(--r-lg)}.btn--slim{min-height:var(--tap);padding:0 14px}.btn:not(:disabled):active,.key:not(:disabled):active,.icon-btn:active,.fab:active{transform:translateY(3px);box-shadow:none}.btn--secondary:not(:disabled):active,.btn--danger:not(:disabled):active{transform:none;background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent-hi)}.btn:focus-visible,.key:focus-visible,.chip:focus-visible,.input:focus-visible,.icon-btn:focus-visible,.seg-item:focus-visible,.switch-wrap:focus-visible,.fab:focus-visible,.nav-item:focus-visible,.mov-row:focus-visible,.link-row:focus-visible,.text-btn:focus-visible,.swatch:focus-visible{outline:3px solid var(--accent-hi);outline-offset:2px}.btn:disabled{background:var(--surface-2);color:var(--text-3);box-shadow:none}.text-btn{display:inline-flex;align-items:center;min-height:var(--tap);padding:0 var(--sp-2);border:0;background:none;font:inherit;font-weight:var(--fw-medium);color:var(--accent-hi);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.chips{display:flex;flex-wrap:wrap;gap:var(--sp-2)}.chips--scroll{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--sp-4));padding:2px var(--sp-4);scrollbar-width:none}.chips--scroll::-webkit-scrollbar{display:none}.chip{position:relative;display:inline-flex;align-items:center;gap:var(--sp-2);flex:none;min-height:var(--tap);padding:0 var(--sp-4);border:0;border-radius:var(--r-pill);background:var(--surface-2);color:var(--text);font:inherit;font-size:var(--fs-sm);font-weight:var(--fw-medium);box-shadow:inset 0 0 0 1.5px var(--border);white-space:nowrap;max-width:100%}.chip--active{background:var(--accent-soft);color:var(--text);box-shadow:inset 0 0 0 2px var(--accent-hi)}.chip--add{background:transparent;color:var(--accent-hi);box-shadow:inset 0 0 0 1.5px var(--accent-hi)}.chip--off{color:var(--text-3);box-shadow:inset 0 0 0 1.5px var(--line)}.chip:not(:disabled):active{background:var(--key)}.chip-x{font-size:18px;line-height:1;color:var(--accent-hi)}.chip-text{overflow:hidden;text-overflow:ellipsis}.chip-date-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;padding:0;font-size:16px}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:var(--r-sm);font-size:var(--fs-xs);font-weight:var(--fw-heavy);background:var(--surface-2);color:var(--text-2);white-space:nowrap}.badge--warn{background:var(--inversion-soft);color:var(--inversion)}.badge--ok{background:var(--ingreso-soft);color:var(--ingreso)}.badge--accent{background:var(--accent-soft);color:var(--accent-hi)}.badge--solid{background:var(--accent);color:var(--on-accent)}.block{display:flex;flex-direction:column;gap:var(--sp-3);background:var(--surface);border-radius:var(--r-lg);padding:var(--sp-4);min-width:0}.block--alert{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent-hi)}.block--inset{background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--accent-hi)}.hero{display:flex;flex-direction:column;gap:var(--sp-2);background:var(--accent-soft);color:var(--text);border-radius:var(--r-xl);padding:var(--sp-5) var(--sp-5) var(--sp-4);min-width:0}.hero .label{color:var(--accent-hi)}.hero-amount{font-size:var(--fs-hero);line-height:1;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.hero-amount--sm{font-size:36px}.hero-text{font-size:var(--fs-xl);font-weight:var(--fw-heavy);line-height:1.1;letter-spacing:-.02em}.hero-note{font-size:var(--fs-sm);font-weight:var(--fw-heavy)}.hero-amount,.stat-amount,.mov-amount,.cat-bar-amount,.amount-field input,.empty-mark{font-weight:var(--fw-figure)}.hero-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}.delta{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:2px 10px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-heavy);font-variant-numeric:tabular-nums;background:var(--surface-2);color:var(--text);white-space:nowrap}.delta--good{background:var(--ingreso-soft);color:var(--ingreso)}.delta--bad{background:var(--gasto-soft);color:var(--gasto)}.delta--on-accent{background:var(--on-accent);color:var(--text)}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-3)}.stat{display:flex;flex-direction:column;gap:6px;background:var(--surface);border-radius:var(--r-lg);padding:var(--sp-4);min-width:0}.stat-amount{font-size:var(--fs-lg);font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}.stat-amount--xl{font-size:var(--fs-xl);line-height:1.05}.stat-amount--lg{font-size:28px}.stat-note{font-size:var(--fs-sm);color:var(--text-2)}.type-tag{display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-xs);font-weight:var(--fw-heavy);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.type-tag:before{content:"";width:10px;height:10px;border-radius:3px;background:currentColor}.sum-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2)}.sum-row--total{border-top:1px solid var(--line);padding-top:var(--sp-2)}.pace{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:6px var(--sp-2);font-size:var(--fs-sm)}.pace-track{height:16px;border-radius:5px;background:var(--surface-2);overflow:hidden}.pace-fill{height:100%;border-radius:5px;background:var(--gasto)}.pace-fill--prev{background:var(--text-3)}.bars{display:flex;flex-direction:column;gap:2px}.cat-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px var(--sp-3);align-items:baseline;min-height:var(--tap);padding:4px 0}.cat-bar-name{font-weight:var(--fw-medium)}.cat-bar-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.cat-bar-track{grid-column:1 / -1;height:12px;border-radius:4px;background:var(--surface-2)}.cat-bar-fill{height:100%;min-width:4px;border-radius:4px}.rank{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:6px var(--sp-2);align-items:baseline;padding:4px 0}.rank .cat-bar-track{grid-column:2 / -1}.link-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);min-height:56px;padding:0 var(--sp-4);border:0;background:var(--surface);border-radius:var(--r-lg);color:var(--text);font:inherit;font-weight:var(--fw-heavy);text-decoration:none;text-align:left}.list{display:flex;flex-direction:column}.list>*+*{border-top:1px solid var(--line)}.day-head{display:flex;justify-content:space-between;align-items:baseline;gap:var(--sp-2);padding:var(--sp-3) 0 2px;font-size:var(--fs-sm);font-weight:var(--fw-heavy);color:var(--text-2)}.mov-row{display:flex;align-items:center;gap:var(--sp-3);min-height:60px;padding:var(--sp-2) 0;width:100%;border:0;background:none;color:inherit;font:inherit;text-align:left;border-radius:var(--r-md)}.mov-row:active{background:var(--surface-2)}.mov-row--muted .mov-cat{color:var(--text-2)}.tile{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:12px;color:var(--on-accent);font-size:var(--fs-sm);font-weight:var(--fw-heavy)}.tile--off{background:var(--key);color:var(--text-2)}.mov-cat{font-weight:var(--fw-heavy)}.mov-sub{color:var(--text-2);font-weight:var(--fw-regular)}.mov-meta{font-size:var(--fs-sm);color:var(--text-2)}.mov-amount{flex:none;font-size:var(--fs-md);font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-align:right;white-space:nowrap}.rec-row{display:flex;align-items:center;gap:var(--sp-1)}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--text-2)}.input{width:100%;min-height:48px;padding:0 var(--sp-4);border:0;border-radius:var(--r-md);background:var(--surface-2);color:var(--text);font:inherit;font-size:16px;box-shadow:inset 0 0 0 1.5px var(--border)}select.input{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,var(--text-2) 50%),linear-gradient(135deg,var(--text-2) 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat}.input::placeholder{color:var(--text-3)}.input.is-error{box-shadow:inset 0 0 0 2px var(--gasto)}.input:disabled{color:var(--text-3);box-shadow:inset 0 0 0 1.5px var(--line)}.input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--accent-hi)}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-3)}.field-error{font-size:var(--fs-sm);font-weight:var(--fw-heavy);color:var(--gasto)}.search{display:flex;align-items:center;gap:var(--sp-2);min-height:48px;padding:0 var(--sp-3);border-radius:var(--r-md);background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--border);color:var(--text-3)}.search:focus-within{box-shadow:inset 0 0 0 2px var(--accent-hi)}.search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;flex:none}.search input{flex:1;min-width:0;height:44px;border:0;background:none;color:var(--text);font:inherit;font-size:16px;outline:none}.search input::placeholder{color:var(--text-3)}.amount-field{display:flex;align-items:baseline;justify-content:center;gap:var(--sp-2);min-height:72px;padding:0 var(--sp-4);border-radius:var(--r-lg);background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--border)}.amount-field:focus-within{box-shadow:inset 0 0 0 2px var(--accent-hi)}.amount-field input{width:100%;min-width:0;height:68px;border:0;background:none;color:var(--text);font:inherit;font-size:44px;font-weight:var(--fw-figure);font-variant-numeric:tabular-nums;letter-spacing:-.03em;text-align:right;outline:none;caret-color:var(--accent-hi)}.amount-field input::placeholder{color:var(--text-3)}.amount-field .amount-unit{font-size:28px;font-weight:var(--fw-heavy);color:var(--text-2)}.amount-field--compact{min-height:52px}.amount-field--compact input{height:50px;font-size:28px}.amount-field--compact .amount-unit{font-size:20px}.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:var(--r-md);background:var(--surface-2)}.seg--2{grid-template-columns:repeat(2,minmax(0,1fr))}.seg--4{grid-template-columns:repeat(4,minmax(0,1fr))}.seg-item{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--tap);padding:0 6px;border:0;border-radius:10px;background:transparent;color:var(--text-2);font:inherit;font-size:var(--fs-sm);font-weight:var(--fw-heavy);white-space:nowrap}.seg-item:not(.is-active):active{background:var(--key)}.seg-item.is-active{background:var(--text);color:var(--on-accent)}.seg-item.is-active.is-gasto{background:var(--gasto)}.seg-item.is-active.is-ingreso{background:var(--ingreso)}.seg-item.is-active.is-inversion{background:var(--inversion)}.seg-item:disabled{color:var(--text-disabled)}.key-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 6px}.key-grid--all{grid-auto-flow:column}.key{position:relative;display:flex;align-items:center;gap:6px;min-height:46px;padding:4px 8px 4px 6px;border:0;border-radius:12px;background:var(--key);color:var(--text);font:inherit;font-size:13px;font-weight:var(--fw-medium);line-height:1.15;text-align:left;box-shadow:var(--shadow-key);min-width:0;transition:transform var(--dur-press) var(--ease),box-shadow var(--dur-press) var(--ease)}.key-dot{flex:none;width:8px;align-self:stretch;border-radius:4px}.key-name{min-width:0;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.key--selected{background:var(--text);color:var(--on-accent);font-weight:var(--fw-heavy);box-shadow:0 3px 0 var(--accent-lip)}.key--more{justify-content:center;background:transparent;color:var(--accent-hi);box-shadow:inset 0 0 0 1.5px var(--accent-hi);font-weight:var(--fw-heavy)}.key--more:not(:disabled):active{transform:none;background:var(--accent-soft)}.key:disabled{background:var(--surface);color:var(--text-3);box-shadow:none}.switch{display:inline-block;position:relative;flex:none;width:52px;height:32px;border:0;border-radius:var(--r-pill);background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--border);padding:0}.switch:after{content:"";position:absolute;top:6px;left:6px;width:20px;height:20px;border-radius:50%;background:var(--border);transition:transform var(--dur-fast) var(--ease)}.switch.is-on{background:var(--accent);box-shadow:none}.switch.is-on:after{transform:translate(20px);background:var(--on-accent)}.switch-wrap:disabled .switch{box-shadow:inset 0 0 0 2px var(--line)}.switch-wrap:disabled .switch:after{background:var(--line)}.switch-wrap{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:56px;min-height:var(--tap);border:0;padding:0;background:none}.scrim{position:fixed;inset:0;z-index:40;background:var(--scrim);animation:fade-in var(--dur-sheet) var(--ease)}.sheet{position:fixed;left:0;right:0;bottom:var(--kb, 0px);z-index:41;display:flex;flex-direction:column;gap:var(--sp-3);width:100%;max-width:640px;max-height:calc(var(--vvh, 100dvh) - 44px);margin:0 auto;overflow:hidden;background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;padding:var(--sp-2) var(--sp-4) max(var(--sp-4),calc(var(--sp-5) + var(--safe-bottom) - var(--kb, 0px)));box-shadow:var(--shadow-sheet);animation:sheet-up var(--dur-sheet) var(--ease)}.sheet--full{height:calc(var(--vvh, 100dvh) - 44px)}.sheet--dragging{transition:none}.sheet-grab{flex:none;align-self:center;width:96px;height:24px;margin:-8px 0 -12px;touch-action:none}.sheet-grab:before{content:"";display:block;width:40px;height:5px;margin:0 auto;border-radius:3px;background:var(--border)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);min-height:var(--tap)}.sheet .input,.sheet .search,.sheet .seg,.sheet .amount-field,.sheet .chip:not(.chip--add):not(.chip--active){background-color:var(--surface-2)}.sheet-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:var(--sp-3);overflow-y:auto;overscroll-behavior:contain;margin:0 calc(-1 * var(--sp-4));padding:2px var(--sp-4) 4px}.sheet-body>*{flex:none}.sheet-foot{flex:none;display:flex;flex-direction:column;gap:var(--sp-2)}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.notice{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);border-radius:var(--r-md);background:var(--inversion-soft);color:var(--text);font-size:var(--fs-sm)}.notice strong{color:var(--inversion)}.notice--error{background:var(--gasto-soft)}.notice--error strong{color:var(--gasto)}.notice--info{background:var(--accent-soft)}.notice--info strong{color:var(--accent-hi)}.notice--ok{background:var(--ingreso-soft)}.notice--ok strong{color:var(--ingreso)}.empty{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-8) var(--sp-2)}.empty--tight{padding-top:var(--sp-5);padding-bottom:var(--sp-3)}.empty-mark{font-size:72px;line-height:1;letter-spacing:-.04em;color:var(--key);font-variant-numeric:tabular-nums}.skeleton{border-radius:var(--r-md);background:var(--surface-2);animation:pulse 1.2s ease-in-out infinite alternate}.skeleton--hero{height:150px;border-radius:var(--r-xl);background:var(--accent-soft)}@keyframes pulse{0%{opacity:.55}to{opacity:1}}.steps{display:flex;flex-direction:column;gap:var(--sp-3);margin:0;padding:0;list-style:none;counter-reset:step}.steps li{display:flex;gap:var(--sp-3);align-items:flex-start;counter-increment:step}.steps li:before{content:counter(step);flex:none;width:28px;height:28px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-weight:var(--fw-heavy);display:inline-flex;align-items:center;justify-content:center}.splash{display:flex;align-items:center;justify-content:center;min-height:100dvh;color:var(--text-3)}.dock{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:6px var(--sp-2) calc(6px + var(--safe-bottom));background:var(--surface);border-top:1px solid var(--line)}.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:640px;margin:0 auto}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border-radius:var(--r-md);color:var(--text-3);font-size:11.5px;font-weight:var(--fw-medium);text-decoration:none}.nav-item:active{background:var(--surface-2)}.nav-item.is-active{color:var(--text);font-weight:var(--fw-heavy)}.nav-item.is-active svg{color:var(--accent-hi)}.nav-item.is-active:before{content:"";position:relative;top:-6px;width:28px;height:4px;margin-bottom:-4px;border-radius:0 0 4px 4px;background:var(--accent)}.fab{position:fixed;z-index:31;right:max(var(--sp-4),calc(50% - 320px + var(--sp-4)));bottom:calc(var(--dock-h) + var(--safe-bottom) + var(--sp-4));display:inline-flex;align-items:center;gap:var(--sp-2);height:60px;padding:0 var(--sp-5) 0 var(--sp-4);border:0;border-radius:var(--r-lg);background:var(--accent);color:var(--on-accent);font:inherit;font-size:var(--fs-md);font-weight:var(--fw-heavy);box-shadow:var(--shadow-fab);transition:transform var(--dur-press) var(--ease),box-shadow var(--dur-press) var(--ease)}.fab svg{width:26px;height:26px;stroke-width:3}.has-sheet .fab{display:none}.focus-proxy{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;border:0;padding:0;font-size:16px;pointer-events:none}.chart{display:block;width:100%;height:auto}.chart text{font-family:var(--font);font-size:11px;fill:var(--text-3);font-variant-numeric:tabular-nums}.chart .is-current{fill:var(--text);font-weight:var(--fw-heavy)}.chart-hit{fill:transparent;cursor:pointer}.chart-hit:focus-visible{outline:none;stroke:var(--accent-hi);stroke-width:2}.legend{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-4);font-size:var(--fs-sm);color:var(--text-2)}.legend-item{display:inline-flex;align-items:center;gap:6px}.legend-swatch{width:14px;height:14px;border-radius:4px}.legend-swatch--hollow{background:transparent;box-shadow:inset 0 0 0 2.5px var(--gasto)}.swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--sp-2)}.swatch{height:var(--tap);border:0;border-radius:12px;color:var(--on-accent);font:var(--fw-heavy) 20px var(--font)}.swatch.is-active{box-shadow:0 0 0 3px var(--surface-2),0 0 0 6px var(--text)}.auth-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:64px;height:64px;border-radius:var(--r-lg);background:var(--accent);color:var(--on-accent);font-size:36px;font-weight:var(--fw-heavy);box-shadow:0 4px 0 var(--accent-lip)}.auth-name{font-size:36px;font-weight:var(--fw-heavy);letter-spacing:-.03em;line-height:1.05}.screen--auth{gap:var(--sp-5);padding-top:calc(var(--safe-top) + 72px);padding-bottom:var(--sp-8)}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:720px){.screen{padding-inline:max(var(--sp-6),calc(50% - 320px))}.key-grid--all{grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:none!important}}
