/*
  Conceito: o painel de um carro clássico ao entardecer.
  Nogueira e couro no fundo, luz âmbar por trás dos instrumentos, ponteiros, hodômetro, barras de LED e letras DIN (placa de estrada).
  Cada área da vida tem o seu tom quente (data-hue); verde e vermelho ficam só para bom e ruim.
*/
:root {
  --display: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font: "Segoe UI Variable Text", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --book: "Sitka Text", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(.2, .8, .25, 1); --spring: cubic-bezier(.3, 1.55, .5, 1);
  --rail: 76px; --open: 238px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17100c; --side: #110b08; --surface: #241a14; --surface-2: #2a1f18; --raised: #33261d; --sunk: #19110c; --hover: rgba(255, 214, 170, .06);
  --line: rgba(255, 214, 170, .1); --line-2: rgba(255, 214, 170, .22); --grid: rgba(255, 214, 170, .075);
  --ink: #fbeedd; --ink-2: #d8c3ad; --ink-3: #ab9581; --fill-ink: #2a1004;
  --pos: #8bd28f; --neg: #ff7d8a; --warn: #f5c84c;
  --m-pos: #199e70; --m-neg: #e66767; --m-warn: #c98500; --m-mute: #8a7563;
  --s1: #d95926; --s2: #199e70; --s3: #c98500; --s4: #d55181; --s5: #7f9a1a; --s6: #a56bc0; --s7: #e66767;
  --bevel: inset 0 1px 0 rgba(255, 224, 190, .075), inset 0 -1px 0 rgba(0, 0, 0, .25); --well: inset 0 2px 7px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .25), 0 1px 0 rgba(255, 224, 190, .05);
  --shadow: 0 26px 70px rgba(0, 0, 0, .6), 0 3px 10px rgba(0, 0, 0, .4); --scrim: rgba(10, 5, 3, .68); --glow: 0 0 14px;
  --paper: #f3e3c7; --paper-ink: #3a2416; --paper-ink-2: #6b4c35; --paper-line: rgba(90, 55, 30, .22);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #efe3d1; --side: #2a1c13; --surface: #fffaf2; --surface-2: #fff5e8; --raised: #ffffff; --sunk: #f5eadb; --hover: rgba(90, 50, 20, .06);
  --line: rgba(90, 50, 20, .13); --line-2: rgba(90, 50, 20, .28); --grid: rgba(90, 50, 20, .1);
  --ink: #2a1a10; --ink-2: #5a4433; --ink-3: #755e4c; --fill-ink: #fffaf2;
  --pos: #17622f; --neg: #a51d34; --warn: #765000;
  --m-pos: #148f63; --m-neg: #c93a3f; --m-warn: #c98a00; --m-mute: #a08d7c;
  --s1: #d4572a; --s2: #148f63; --s3: #c98a00; --s4: #d1507f; --s5: #6f8a12; --s6: #8a4aa6; --s7: #c93a3f;
  --bevel: inset 0 1px 0 #fff, 0 1px 3px rgba(90, 50, 20, .1); --well: inset 0 1px 4px rgba(90, 50, 20, .16), 0 1px 0 #fff;
  --shadow: 0 26px 70px rgba(70, 35, 10, .28), 0 3px 10px rgba(70, 35, 10, .12); --scrim: rgba(40, 22, 10, .42); --glow: 0 0 0;
  --paper: #fbeccd; --paper-ink: #3a2416; --paper-ink-2: #6b4c35; --paper-line: rgba(90, 55, 30, .2);
}
/* Um tom por área. accent: texto e ícone; mark: barras, linhas e ponteiros. */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #ff9052; }
@property --mark { syntax: "<color>"; inherits: true; initial-value: #e2672c; }
:root { transition: --accent .5s, --mark .5s; }
:root, [data-hue="brasa"] { --accent: #ff9052; --mark: #e2672c; } [data-hue="ambar"] { --accent: #ffb84f; --mark: #cf8d12; } [data-hue="coral"] { --accent: #ff8d7c; --mark: #dd6152; } [data-hue="rosa"] { --accent: #f792a8; --mark: #d55a7d; } [data-hue="mel"] { --accent: #f0c95c; --mark: #b8912a; } [data-hue="oliva"] { --accent: #c3d071; --mark: #879a2c; } [data-hue="salvia"] { --accent: #93d3a4; --mark: #3f9a63; } [data-hue="ferrugem"] { --accent: #f78a5f; --mark: #cc5a2d; } [data-hue="vinho"] { --accent: #ee93a3; --mark: #bd5468; } [data-hue="pessego"] { --accent: #fbb385; --mark: #cf7a45; }
[data-theme="light"], [data-theme="light"] [data-hue="brasa"], [data-theme="light"][data-hue="brasa"] { --accent: #a03a0a; --mark: #d4572a; } [data-theme="light"][data-hue="ambar"], [data-theme="light"] [data-hue="ambar"] { --accent: #7a4f00; --mark: #c08200; } [data-theme="light"][data-hue="coral"], [data-theme="light"] [data-hue="coral"] { --accent: #9f3023; --mark: #cc4d3d; } [data-theme="light"][data-hue="rosa"], [data-theme="light"] [data-hue="rosa"] { --accent: #9c2a4e; --mark: #c9456d; } [data-theme="light"][data-hue="mel"], [data-theme="light"] [data-hue="mel"] { --accent: #705400; --mark: #a67f00; } [data-theme="light"][data-hue="oliva"], [data-theme="light"] [data-hue="oliva"] { --accent: #4f5f00; --mark: #6f8412; } [data-theme="light"][data-hue="salvia"], [data-theme="light"] [data-hue="salvia"] { --accent: #1d6d3f; --mark: #2a8752; } [data-theme="light"][data-hue="ferrugem"], [data-theme="light"] [data-hue="ferrugem"] { --accent: #983a0b; --mark: #bd5020; } [data-theme="light"][data-hue="vinho"], [data-theme="light"] [data-hue="vinho"] { --accent: #92283f; --mark: #a93c55; } [data-theme="light"][data-hue="pessego"], [data-theme="light"] [data-hue="pessego"] { --accent: #8a430c; --mark: #b9652d; }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) transparent; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); font: 400 14.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; background: radial-gradient(1100px 520px at 88% -120px, color-mix(in srgb, var(--mark) 11%, transparent), transparent 70%) no-repeat, var(--bg); }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; } ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0; text-wrap: balance; }
a { color: inherit; text-decoration: none; } button, input, select, textarea { font: inherit; color: inherit; } button { background: none; border: 0; padding: 0; cursor: pointer; } button:disabled { opacity: .5; cursor: default; } svg { display: block; } [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--mark) 55%, transparent); color: var(--ink); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--accent); color: var(--fill-ink); padding: 8px 14px; border-radius: 9px; } .skip:focus { top: 12px; }
.muted { color: var(--ink-3); } .soft { color: var(--ink-2); } .pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); } .accent { color: var(--accent); }
.small { font-size: 12.5px; } .tab { font-variant-numeric: tabular-nums; } .strong { font-weight: 600; } .nowrap { white-space: nowrap; overflow-wrap: normal; } .din { font-family: var(--display); }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; } .end { margin-left: auto; }
.stack { display: grid; gap: 16px; align-content: start; grid-template-columns: minmax(0, 1fr); } .stack.s { gap: 10px; } .stack.l { gap: 24px; }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.px { padding-inline: 20px; }

/* ============ Menu lateral: trilho que abre ao passar o mouse ============ */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
/* A altura de cada item encolhe em telas baixas, para o menu inteiro caber sem rolar. */
.side { --ih: clamp(24px, calc((100dvh - 168px) / 19), 40px); position: sticky; top: 0; z-index: 40; width: var(--rail); height: 100vh; height: 100dvh; color: #f3e4d0; }
.side-in { position: absolute; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; padding: 14px 12px; background: var(--side); box-shadow: 1px 0 0 rgba(255, 214, 170, .07); overflow: hidden auto; scrollbar-width: none; transition: width .32s var(--ease), box-shadow .32s; }
.side:hover .side-in, .side.open .side-in, .side:has(:focus-visible) .side-in { width: var(--open); box-shadow: 24px 0 60px rgba(0, 0, 0, .45), 1px 0 0 rgba(255, 214, 170, .12); transition-delay: .06s; }
.side .t { opacity: 0; transform: translateX(-10px); transition: opacity .18s, transform .3s var(--ease); white-space: nowrap; overflow-wrap: normal; }
.side:hover .t, .side.open .t, .side:has(:focus-visible) .t { opacity: 1; transform: none; transition-delay: calc(.06s + var(--i, 0) * 12ms); }
@media (hover: none) { .side:hover:not(.open, :has(:focus-visible)) .side-in { width: var(--rail); box-shadow: 1px 0 0 rgba(255, 214, 170, .07); } .side:hover:not(.open, :has(:focus-visible)) .t { opacity: 0; } } /* no toque, o menu abre pelo ícone do topo */
.brand { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 7px; font: 600 17px/1.15 var(--display); min-width: 0; flex: none; } .brand img { width: 38px; height: 38px; flex: none; transition: transform .6s var(--spring); } .brand:hover img { transform: rotate(40deg); }
.nav-list { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 8px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 18px; width: 100%; height: var(--ih); padding: 0 15px; border-radius: 10px; color: #c4ae98; font: 500 15px/1 var(--display); text-align: left; transition: color .15s, background .15s; flex: none; } .nav-item .icon { width: 22px; height: 22px; stroke-width: 1.6; transition: transform .35s var(--spring); } .nav-item:hover { color: #fff3e2; background: rgba(255, 214, 170, .07); } .nav-item:hover .icon { transform: scale(1.14) rotate(-5deg); }
.nav-item[aria-current] { color: #2a1004; font-weight: 600; } .nav-item[aria-current] .icon { stroke-width: 1.9; }
.nav-mark { position: absolute; left: 0; right: 0; top: 0; height: var(--ih); border-radius: 10px; background: var(--nav, #ff9052); box-shadow: 0 0 22px color-mix(in srgb, var(--nav, #ff9052) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .42s var(--spring), background .4s, opacity .2s; }
.nav-sep { height: 1px; margin: 5px 12px; background: rgba(255, 214, 170, .1); }
.side-foot { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; position: relative; } .side-foot .nav-item[aria-current] { background: #ff9052; }
.side .dot { position: absolute; left: 31px; top: calc(var(--ih) / 2 - 15px); }
.dot { min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff5d6c; color: #2a0508; font: 700 11px/17px var(--display); text-align: center; animation: pop .4s var(--spring); }
.timer-pill { display: flex; align-items: center; gap: 18px; height: var(--ih, 40px); padding: 0 15px; border-radius: 10px; color: #ffcf8f; background: rgba(255, 160, 70, .14); font: 600 16px/1 var(--display); font-variant-numeric: tabular-nums; } .timer-pill::before { content: ""; width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: #ff8a45; box-shadow: 0 0 12px #ff8a45; animation: blink 1.6s infinite; flex: none; }
@keyframes blink { 50% { opacity: .3; } } @keyframes pop { from { opacity: 0; transform: scale(.4); } }
.main { min-width: 0; padding: 24px 32px 72px; outline: none; view-transition-name: main; } .page { max-width: 1320px; margin: 0 auto; }
.page.enter > * { animation: enter .5s var(--ease) backwards; } .page.enter > :nth-child(2) { animation-delay: .05s; } .page.enter > :nth-child(3) { animation-delay: .1s; } .page.enter .widget, .page.enter .grid > *, .page.enter .cols > * { animation: enter .55s var(--ease) backwards; animation-delay: calc(min(var(--n, 0), 10) * 45ms); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } }
.head { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 20px; } .head .tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--fill-ink); box-shadow: var(--glow) color-mix(in srgb, var(--mark) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); flex: none; } .head .tile .icon { width: 27px; height: 27px; stroke-width: 1.8; } .head h1 { font-size: 34px; line-height: 1.05; } .head .sub { color: var(--ink-3); margin-top: 2px; } .head .tools { display: flex; gap: 8px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.topbar, .tabbar { display: none; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--ink-2); transition: background .12s, color .12s, transform .2s var(--spring); flex: none; } .icon-btn:hover { background: var(--hover); color: var(--ink); } .icon-btn:active { transform: scale(.88); } .icon-btn.s { width: 30px; height: 30px; } .icon-btn.s .icon { width: 16px; height: 16px; } .icon-btn .dot { position: absolute; top: 2px; right: 1px; }

/* ============ Botões e campos ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 1px 14px 0; border-radius: 9px; background: var(--raised); box-shadow: var(--bevel), 0 2px 0 rgba(0, 0, 0, .28); font: 500 14.5px/1.1 var(--display); white-space: nowrap; transition: background .12s, transform .12s, box-shadow .12s, filter .12s; } .btn:hover:not(:disabled) { filter: brightness(1.12); } .btn:active:not(:disabled) { transform: translateY(2px); box-shadow: var(--bevel), 0 0 0 rgba(0, 0, 0, 0); } .btn .icon { width: 17px; height: 17px; }
[data-theme="light"] .btn:not(.primary, .danger, .ghost) { box-shadow: 0 0 0 1px var(--line), 0 2px 0 rgba(90, 50, 20, .14); } [data-theme="light"] .btn:hover:not(:disabled) { filter: brightness(.97); }
.btn.primary { background: var(--accent); color: var(--fill-ink); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 2px 0 color-mix(in srgb, var(--mark) 70%, #000); }
.btn.ghost { background: none; box-shadow: none; color: var(--ink-2); } .btn.ghost:hover:not(:disabled) { background: var(--hover); color: var(--ink); filter: none; }
.btn.danger { background: color-mix(in srgb, var(--neg) 17%, transparent); color: var(--neg); box-shadow: none; } .btn.s { min-height: 30px; padding: 0 11px; font-size: 13.5px; border-radius: 8px; }
.seg, .tabs { position: relative; display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--sunk); box-shadow: var(--well); max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-self: start; }
.seg button, .seg a, .tabs a { position: relative; min-height: 32px; padding: 2px 13px 0; border-radius: 9px; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font: 500 14.5px/1 var(--display); transition: background .15s, color .15s; } .seg button:hover, .seg a:hover, .tabs a:hover { color: var(--ink); }
.seg [aria-pressed="true"], .seg [aria-current], .seg [aria-checked="true"], .tabs [aria-current] { background: var(--raised); color: var(--ink); box-shadow: var(--bevel); } .seg [aria-pressed="true"]::before, .seg [aria-checked="true"]::before, .tabs [aria-current]::before { content: ""; position: absolute; top: 3px; left: 50%; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--accent); box-shadow: var(--glow) var(--accent); }
.tabs { margin-bottom: 22px; } .tabs a { min-height: 36px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; } .chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 1px 12px 0; border-radius: 8px; background: var(--surface); color: var(--ink-2); font: 500 14px/1 var(--display); transition: .15s; } .card .chip { background: var(--sunk); } .chip:hover, .card .chip:hover { background: var(--raised); color: var(--ink); } .chip[aria-pressed="true"], .chip[aria-pressed="true"]:hover { background: var(--accent); color: var(--fill-ink); font-weight: 600; } .chip .n { font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 13px; } .chip[aria-pressed="true"] .n { color: inherit; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px 0; border-radius: 5px; background: var(--hover); color: var(--ink-2); font: 500 12.5px/20px var(--display); white-space: nowrap; max-width: 100%; } .tag.pos { background: color-mix(in srgb, var(--pos) 16%, transparent); color: var(--pos); } .tag.neg { background: color-mix(in srgb, var(--neg) 16%, transparent); color: var(--neg); } .tag.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); } .tag.accent { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); } .tag .icon { width: 13px; height: 13px; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 7px 12px; border: 0; border-radius: 9px; background: var(--sunk); box-shadow: var(--well); outline: none; transition: box-shadow .15s; } .input:focus, .field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--well), 0 0 0 2px var(--accent); } .input::placeholder, .field ::placeholder { color: var(--ink-3); opacity: .85; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ab9581' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 10px center !important; padding-right: 32px !important; text-overflow: ellipsis; } select option, select optgroup { background: var(--surface); color: var(--ink); } textarea { resize: vertical; min-height: 78px; line-height: 1.55; }
.field { display: grid; gap: 5px; align-content: start; min-width: 0; } .field > label, .field > .label { font: 500 14px/1.3 var(--display); color: var(--ink-2); } .field .hint { font-size: 12.5px; color: var(--ink-3); } .field .affix { position: relative; } .field .affix input { padding-right: 42px; } .field .affix .icon-btn, .field .affix .unit { position: absolute; right: 4px; top: 5px; width: 30px; height: 30px; } .field .affix .unit { width: auto; right: 12px; display: grid; place-items: center; color: var(--ink-3); pointer-events: none; } .field .affix input[type="date"] { position: absolute; inset: auto 0 0 auto; width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.switch { display: flex; align-items: center; gap: 11px; cursor: pointer; } .switch input { position: absolute; opacity: 0; width: 1px; min-height: 0; height: 1px; padding: 0; } .switch i { flex: none; width: 42px; height: 24px; border-radius: 7px; background: var(--sunk); box-shadow: var(--well); position: relative; transition: background .18s; } .switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 5px; background: #d9c3a8; transition: transform .25s var(--spring), background .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); } .switch input:checked + i { background: color-mix(in srgb, var(--accent) 35%, var(--sunk)); } .switch input:checked + i::after { transform: translateX(18px); background: var(--accent); } .switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.week-pick { display: flex; gap: 5px; } .week-pick button { flex: 1; max-width: 50px; height: 36px; border-radius: 9px; background: var(--sunk); box-shadow: var(--well); color: var(--ink-3); font: 500 13.5px/1 var(--display); transition: .15s; } .week-pick [aria-pressed="true"] { background: var(--accent); color: var(--fill-ink); box-shadow: none; font-weight: 600; }
/* Campo de banco: lista com as etiquetas coloridas */
.combo { position: relative; } .combo .badge-in { position: absolute; left: 7px; top: 7px; pointer-events: none; } .combo.has input { padding-left: 46px; } .combo-list { position: fixed; inset: auto; margin: 0; border: 0; color: var(--ink); max-height: min(250px, 42vh); overflow-y: auto; padding: 5px; border-radius: 11px; background: var(--raised); box-shadow: var(--shadow), 0 0 0 1px var(--line-2); } .combo-list button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 38px; padding: 4px 9px; border-radius: 8px; text-align: left; } .combo-list [aria-selected="true"], .combo-list button:hover { background: var(--hover); }
.bank { display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 6px; background: var(--b, #8a7563); color: var(--bi, #fff); font: 700 11.5px/1 var(--display); flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; } .bank.l { width: 56px; height: 42px; font-size: 16px; border-radius: 9px; } .bank.s { width: 26px; height: 20px; font-size: 9.5px; border-radius: 5px; } .bank.none { background: var(--hover); color: var(--ink-2); box-shadow: none; } .bank.none .icon { width: 60%; height: 60%; }

/* ============ Painéis, listas e números ============ */
.card { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface) 130px); border-radius: 16px; padding: 20px; box-shadow: var(--bevel), 0 6px 22px rgba(0, 0, 0, .16); min-width: 0; } [data-theme="light"] .card { box-shadow: var(--bevel); }
button.card { display: flex; flex-direction: column; justify-content: flex-start; transition: transform .25s var(--spring), filter .15s; text-align: left; } button.card > * { width: 100%; } button.card:hover { transform: translateY(-3px); filter: brightness(1.07); }
.card.flush { padding: 0; overflow: clip; } .card.flush > .card-head { padding: 16px 20px 0; }
.card.paper { background: linear-gradient(180deg, #fff3da, var(--paper) 60%); color: var(--paper-ink); --ink: var(--paper-ink); --ink-2: var(--paper-ink-2); --ink-3: #7a5b43; --line: var(--paper-line); --line-2: rgba(90, 55, 30, .34); --hover: rgba(90, 50, 20, .08); --accent: #a83c0c; --mark: #c4501c; --fill-ink: #fff6e6; --pos: #1c6f3c; --neg: #a81f36; --warn: #855a00; --raised: #fff9ec; --sunk: #ead6b4; --well: inset 0 1px 3px rgba(90, 50, 20, .25); --m-pos: #148f63; --m-neg: #c93a3f; --m-mute: #a08d7c; box-shadow: 0 10px 30px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 26px; } .card-head h2, .card-head h3 { font-size: 17px; line-height: 1.25; } .card-head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: var(--glow) var(--mark); flex: none; } .card.paper > .card-head::before { box-shadow: none; } .card-head > .end { display: flex; gap: 6px; align-items: center; } .card-head a.more { color: var(--ink-3); font: 500 14px/1 var(--display); } .card-head a.more:hover { color: var(--accent); } .card-head .icon { color: var(--ink-3); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; } .grid.fill { align-items: stretch; } .s12 { grid-column: span 12; } .s8 { grid-column: span 8; } .s7 { grid-column: span 7; } .s6 { grid-column: span 6; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; }
.cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(var(--w, 270px), 100%), 1fr)); }
.stat .k { color: var(--ink-3); font: 500 14px/1.3 var(--display); } .stat .v { font: 600 25px/1.15 var(--display); margin-top: 1px; } .stat .d { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; } .stats { display: grid; gap: 18px 22px; grid-template-columns: repeat(auto-fit, minmax(min(136px, 100%), 1fr)); }
.hero { font: 600 54px/1 var(--display); overflow-wrap: normal; } .hero.m { font-size: 36px; }
/* Hodômetro: cada algarismo é uma roda */
.odo { position: relative; display: inline-flex; white-space: nowrap; line-height: 1.12; overflow-wrap: normal; } .odo b { display: inline-block; text-align: center; height: 1.12em; overflow: hidden; font-weight: inherit; } .odo b i { display: block; font-style: normal; white-space: pre; line-height: 1.12em; transform: translateY(calc(var(--n, 0) * -10%)); transition: transform 1s var(--ease); } .odo > span { white-space: pre; }
.well { border-radius: 12px; background: var(--sunk); box-shadow: var(--well); padding: 12px 16px; }
/* Barra de LED */
.meter { display: grid; gap: 7px; } .meter .top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; } .meter .top .end { font: 500 14px/1.2 var(--display); color: var(--ink-2); white-space: nowrap; }
.bar { --led: var(--mark); height: 11px; border-radius: 3px; background: color-mix(in srgb, var(--led) 17%, transparent); overflow: hidden; mask: repeating-linear-gradient(90deg, #000 0 6px, #0000 6px 8.5px); -webkit-mask: repeating-linear-gradient(90deg, #000 0 6px, #0000 6px 8.5px); } .bar > i { display: block; height: 100%; background: var(--led); transition: width .9s var(--ease); } .page.enter .bar > i { animation: fill 1s var(--ease) backwards .15s; } @keyframes fill { from { width: 0; } }
.bar.ok { --led: var(--m-pos); } .bar.warn { --led: var(--m-warn); } .bar.over { --led: var(--m-neg); } .bar.thin { height: 6px; } .bar.over > i { animation: blink 1.4s 3; }
.list > li, .list > .li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; } .list > :first-child { border-top: 0; } .list.pad > li, .list.pad > .li { padding: 10px 20px; } .list.hover > li, .list.hover > .li { transition: background .15s, padding .25s var(--ease); } .list.hover > li:hover, .list.hover > .li:hover { background: var(--hover); } .list button.li, .list a.li { width: 100%; text-align: left; } .list.tight > li { padding-block: 7px; }
.group-label { padding: 14px 20px 6px; font: 500 14px/1.3 var(--display); color: var(--ink-3); display: flex; gap: 10px; align-items: baseline; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--hover); color: var(--ink-2); flex: none; } .mark.pos { background: color-mix(in srgb, var(--pos) 16%, transparent); color: var(--pos); } .mark.neg { background: color-mix(in srgb, var(--neg) 16%, transparent); color: var(--neg); } .mark.accent { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); } .mark.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 32px 16px; color: var(--ink-3); } .empty > .icon { width: 34px; height: 34px; margin-bottom: 4px; color: var(--accent); stroke-width: 1.4; } .empty strong { color: var(--ink); font: 600 18px/1.25 var(--display); } .empty p { max-width: 46ch; } .empty .btn { margin-top: 10px; } .empty.s { padding: 8px 0; justify-items: start; text-align: left; gap: 4px; } .empty.s strong { font-size: 16px; }
.notice { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 14%, var(--surface)); } .notice > .icon { color: var(--warn); } .notice.over { background: color-mix(in srgb, var(--neg) 15%, var(--surface)); } .notice.over > .icon { color: var(--neg); animation: blink 1.2s 4; } .notice.info { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); } .notice.info > .icon { color: var(--accent); }
.check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); color: transparent; flex: none; transition: .18s; position: relative; } .check::after { content: ""; position: absolute; inset: -10px; } .check .icon { width: 14px; height: 14px; stroke-width: 2.8; } .check:hover { box-shadow: inset 0 0 0 2px var(--accent); color: color-mix(in srgb, var(--accent) 60%, transparent); } .check:active { transform: scale(.82); } .check[aria-pressed="true"] { background: var(--accent); box-shadow: var(--glow) color-mix(in srgb, var(--mark) 60%, transparent); color: var(--fill-ink); } .check[aria-pressed="true"] .icon path { stroke-dasharray: 24; animation: draw .3s var(--ease); } @keyframes draw { from { stroke-dashoffset: 24; } } .check.doing { box-shadow: inset 0 0 0 2px var(--accent); background: conic-gradient(var(--accent) 50%, transparent 0); } .check.cancelled { background: var(--ink-3); box-shadow: none; color: var(--surface); } .check.sq { border-radius: 7px; }
.done-text { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.table-wrap { position: relative; overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th { text-align: left; font: 500 13.5px/1.3 var(--display); color: var(--ink-3); } th, td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; } thead th { border-top: 0; } th.r, td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; } th:first-child, td:first-child { padding-left: 20px; } th:last-child, td:last-child { padding-right: 20px; } tbody tr.click { cursor: pointer; } tbody tr.click:hover { background: var(--hover); } tfoot td { font-weight: 600; }
.amount { font: 600 15.5px/1.2 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; }

/* ============ Mostradores de ponteiro ============ */
.dials { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); } .dial { position: relative; display: grid; justify-items: center; padding: 10px 6px 12px; border-radius: 14px; text-align: center; transition: background .15s, transform .25s var(--spring); } .dial:hover { background: var(--hover); transform: translateY(-2px); } .dial svg { width: min(100%, 178px); overflow: visible; } .dial .face { fill: var(--sunk); } .dial .rim { fill: none; stroke: var(--line); } .dial .tk { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 2; stroke-linecap: round; transition: stroke .3s; transition-delay: calc(var(--k) * 22ms); } .dial .tk.zone { stroke: color-mix(in srgb, var(--m-neg) 55%, transparent); } .dial .tk.on { stroke: var(--led); } .dial .needle { fill: #ff7b39; transform: rotate(var(--a)); transform-origin: 90px 92px; transition: transform 1.1s var(--spring); } .dial .hub { fill: var(--raised); stroke: var(--line-2); } .dial .num { fill: var(--ink); font: 600 24px var(--display); text-anchor: middle; } .dial .unit { fill: var(--ink-3); font: 500 12.5px var(--display); text-anchor: middle; } .dial { --led: var(--mark); } .dial.done { --led: var(--m-pos); } .dial.warn { --led: var(--m-warn); } .dial.over { --led: var(--m-neg); } .dial.over .needle { fill: var(--m-neg); } .dial .name { font: 600 15.5px/1.2 var(--display); margin-top: -4px; } .dial .sub { font-size: 12.5px; color: var(--ink-3); }
.ignite .dial .needle { animation: ignite 1.9s cubic-bezier(.5, 0, .2, 1) .25s backwards; } @keyframes ignite { 0% { transform: rotate(-120deg); } 45% { transform: rotate(120deg); } }
.gauges { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.masonry { columns: 300px; column-gap: 32px; margin-bottom: -22px; } .masonry > * { break-inside: avoid; margin-bottom: 22px; }
.strip-days { display: flex; gap: 3px; flex-wrap: wrap; } .strip-days i { width: 9px; height: 16px; border-radius: 2px; background: var(--hover); } .strip-days i.y { background: var(--m-pos); } .strip-days i.n { background: color-mix(in srgb, var(--m-neg) 60%, transparent); }

/* ============ Para-brisa: a paisagem da hora ============ */
.scene { position: relative; height: 318px; border-radius: 20px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--a), var(--b) 52%, var(--c) 86%); box-shadow: inset 0 0 0 1px rgba(255, 220, 180, .09), 0 18px 50px rgba(0, 0, 0, .35); color: #fff3e0; } .scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 10, 5, .58), rgba(22, 10, 5, .16) 48%, transparent 75%); z-index: 2; pointer-events: none; }
.scene .stars { position: absolute; inset: 0 0 40%; opacity: var(--night); background-image: radial-gradient(1.4px 1.4px at 12% 24%, #fff, #0000), radial-gradient(1px 1px at 22% 62%, #ffe, #0000), radial-gradient(1.6px 1.6px at 35% 18%, #fff, #0000), radial-gradient(1px 1px at 47% 48%, #fed, #0000), radial-gradient(1.2px 1.2px at 58% 12%, #fff, #0000), radial-gradient(1px 1px at 66% 70%, #fff, #0000), radial-gradient(1.5px 1.5px at 74% 32%, #fed, #0000), radial-gradient(1px 1px at 83% 56%, #fff, #0000), radial-gradient(1.4px 1.4px at 91% 20%, #fff, #0000), radial-gradient(1px 1px at 97% 66%, #ffe, #0000); animation: twinkle 5s infinite alternate; } @keyframes twinkle { to { filter: brightness(.45); } }
.scene { container: cena / inline-size; } .scene .orb { opacity: calc(var(--orb, 1) * var(--dim, 1)); position: absolute; left: calc(var(--t) * 100%); top: var(--y); width: 78px; height: 78px; margin: -39px; border-radius: 50%; transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 6px)); transition: transform .5s var(--ease); } .page.enter .scene .orb { animation: rise 1.6s var(--ease) backwards; } @keyframes rise { from { opacity: 0; transform: translateY(80px) scale(.8); } to { opacity: calc(var(--orb, 1) * var(--dim, 1)); } } .scene .sun { background: radial-gradient(circle, #fff6df 30%, #ffdc94 62%, #ffb95a); box-shadow: 0 0 60px 22px rgba(255, 190, 90, .5), 0 0 150px 70px rgba(255, 150, 60, .24); } .scene .moon { width: 56px; height: 56px; margin: -28px; background: radial-gradient(circle at 34% 34%, #fff6e2, #f0d9b4 60%, #cfae84); box-shadow: 0 0 50px 12px rgba(255, 225, 175, .22); }
.scene .hills { position: absolute; left: -3%; bottom: 50px; width: 106%; transition: transform .6s var(--ease); z-index: 1; } .scene .h3 { height: 150px; color: var(--h3); transform: translateX(calc(var(--px, 0) * 5px)); } .scene .h2 { height: 118px; color: var(--h2); transform: translateX(calc(var(--px, 0) * -8px)); } .scene .h1 { height: 76px; color: var(--h1); transform: translateX(calc(var(--px, 0) * -16px)); } .scene .hills path { fill: currentColor; }
.scene .hello { position: absolute; z-index: 3; left: 30px; top: 26px; right: 30px; display: grid; gap: 4px; justify-items: start; } .scene h1 { font-size: 44px; line-height: 1.02; text-shadow: 0 2px 16px rgba(20, 8, 3, .45); } .scene .hello p { text-shadow: 0 1px 10px rgba(20, 8, 3, .6); color: #ffe9cf; }
.quickbar { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; max-width: 100%; } .quickbar button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 1px 14px 0; border-radius: 10px; background: rgba(24, 11, 5, .5); color: #ffeedb; font: 500 14.5px/1 var(--display); backdrop-filter: blur(7px); box-shadow: inset 0 0 0 1px rgba(255, 225, 190, .18); transition: background .15s, transform .2s var(--spring); } .quickbar button:hover { background: rgba(255, 152, 82, .92); color: #2a1004; transform: translateY(-2px); } .quickbar .icon { width: 17px; height: 17px; }
.scene .strip { position: absolute; z-index: 3; inset: auto 0 0; height: 58px; background: rgba(16, 8, 4, .62); backdrop-filter: blur(6px); } .scene .tick { position: absolute; bottom: 5px; font: 500 12px/1 var(--display); color: rgba(255, 236, 214, .62); transform: translateX(5px); } .scene .tick::before { content: ""; position: absolute; left: -5px; bottom: -5px; height: 58px; width: 1px; background: rgba(255, 236, 214, .1); } .scene .blk { position: absolute; top: 7px; height: 25px; padding: 1px 8px 0; border-radius: 6px; font: 500 12.5px/25px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2a1004; background: #ffb84f; min-width: 4px; } .scene .blk.focus { background: #ff9052; } .scene .blk.sleep { background: rgba(255, 236, 214, .16); color: #ffe9cf; } .scene .blk.done { opacity: .6; } .scene .pt { position: absolute; top: 36px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: #f0c95c; } .scene .pt.done { background: #93d3a4; border-radius: 2px; } .scene .now { position: absolute; z-index: 3; left: calc(var(--t) * 100%); top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff3e0; box-shadow: 0 0 10px #ffb84f; } .scene .now span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); white-space: nowrap; overflow-wrap: normal; padding: 2px 8px 0; border-radius: 6px; background: #fff3e0; color: #2a1004; font: 700 13px/18px var(--display); } .scene.slim { height: 190px; } .scene.slim .hello { top: 18px; } .scene.slim h1 { font-size: 30px; } .scene.slim .h3 { height: 92px; } .scene.slim .h2 { height: 72px; } .scene.slim .h1 { height: 48px; } .scene.slim .cloud { scale: .62; transform-origin: 0 0; }
/* Clima no céu: nuvens que andam com o vento, chuva, neblina e raios */
.scene .clouds { position: absolute; inset: 0 0 56px; overflow: hidden; } .scene .cloud, .scene .ceil { position: absolute; animation: drift var(--d) ease-in-out infinite alternate; } .scene .c1 { fill: var(--cl); } .scene .c2 { fill: var(--cd); opacity: .5; } .scene .cloud { margin-left: -60px; opacity: .93; } .scene .ceil { left: -5%; top: -2px; width: 110%; height: 47%; } .scene .ceil path { fill: var(--cl); } .scene .ceil.back { height: 62%; } .scene .ceil.back path { fill: color-mix(in srgb, var(--cl) 55%, var(--cd)); } @keyframes drift { from { transform: translateX(calc(var(--w) * -1)); } to { transform: translateX(var(--w)); } }
.scene .rain { position: absolute; inset: 0 0 58px; z-index: 1; overflow: hidden; opacity: calc(.4 + var(--wet) * .5); } .scene .rain i { --h: 132px; position: absolute; inset: -160px -12%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='132' stroke='%23fff0da' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M9 6v17M40 28v22M74 2v15M27 70v19M60 86v17M88 58v22M8 104v13M47 112v9' opacity='.75'/%3E%3C/svg%3E") 0 0 / 96px 132px; animation: rain .58s linear infinite; } .scene .rain i + i { --h: 206px; background-size: 150px 206px; opacity: .5; animation-duration: .98s; } .scene .rain.garoa i:first-child { display: none; } .scene .rain.temporal i { animation-duration: .42s; } @keyframes rain { from { transform: rotate(9deg); } to { transform: rotate(9deg) translateY(var(--h)); } }
.scene .snow i, .scene .snow i + i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='132' fill='%23fff6e8'%3E%3Ccircle cx='12' cy='14' r='2.2'/%3E%3Ccircle cx='52' cy='38' r='1.7'/%3E%3Ccircle cx='84' cy='20' r='2.4'/%3E%3Ccircle cx='30' cy='78' r='2'/%3E%3Ccircle cx='70' cy='96' r='1.6'/%3E%3Ccircle cx='8' cy='118' r='1.8'/%3E%3C/svg%3E"); animation-duration: 5s; } .scene .snow i + i { animation-duration: 8s; }
.scene .fog { position: absolute; inset: 0 0 50px; z-index: 1; overflow: hidden; } .scene .fog i { --w: 5%; --d: 17s; position: absolute; left: -10%; width: 120%; height: 30%; bottom: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cl) 80%, #fff) 28%, color-mix(in srgb, var(--cl) 70%, #fff) 70%, transparent); opacity: .5; filter: blur(16px); animation: drift var(--d) ease-in-out infinite alternate; } .scene .fog i:nth-child(2) { bottom: 22%; opacity: .38; --w: -6%; --d: 23s; } .scene .fog i:nth-child(3) { bottom: 44%; opacity: .24; --d: 31s; }
.scene .flash { position: absolute; inset: 0 0 58px; z-index: 1; background: radial-gradient(600px 320px at 66% 0, #fff3d6, rgba(255, 240, 214, .35) 55%, transparent); opacity: 0; animation: flash 9s infinite; } .scene .bolt { position: absolute; z-index: 1; left: 64%; top: 22%; width: 34px; opacity: 0; animation: flash 9s infinite; } .scene .bolt path { fill: #ffe7ae; } @keyframes flash { 0%, 92%, 93.4%, 95.4%, 100% { opacity: 0; } 92.6% { opacity: .55; } 94.2% { opacity: .4; } }
/* Desenho do tempo e previsão no canto do céu */
.art { --c1: #f2dcbd; --c2: #c9a57f; --sunc: #ffc861; --moonc: #f3ddb6; --drop: #8fd0bd; width: 64px; overflow: visible; flex: none; } .art .c1 { fill: var(--c1); } .art .c2 { fill: var(--c2); opacity: .75; } .art .far { opacity: .55; } .art .wet .c1 { fill: color-mix(in srgb, var(--c1) 80%, var(--c2)); } .art .dark .c1 { fill: color-mix(in srgb, var(--c2) 76%, #35261c); } .art .dark .c2 { fill: color-mix(in srgb, var(--c2) 45%, #35261c); } .art .disc { fill: var(--sunc); } .art .halo { fill: var(--sunc); opacity: .22; } .art .rays { stroke: var(--sunc); stroke-width: 4; stroke-linecap: round; animation: turn 26s linear infinite; } .art .moony { fill: var(--moonc); } .art .drops { stroke: var(--drop); stroke-width: 4.2; stroke-linecap: round; } .art .drops path { animation: fall 1.1s ease-in infinite; animation-delay: calc(var(--k) * -.31s); } .art .zap { fill: #ffd257; animation: zap 5s infinite; } .art .flakes { fill: #fff6e8; } .art .mist { fill: none; stroke: var(--c1); stroke-width: 5; stroke-linecap: round; } .art.s { width: 40px; } .art.l { width: 120px; } @keyframes turn { to { transform: rotate(360deg); } } @keyframes fall { 0% { transform: translate(1px, -5px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translate(-2px, 8px); opacity: 0; } } @keyframes zap { 0%, 88%, 92%, 100% { opacity: 1; } 90% { opacity: .25; } }
[data-theme="light"] .art, .card.paper .art { --c1: #d9bd9b; --c2: #a98460; --sunc: #f0a21f; --moonc: #c79a5f; --drop: #2c8f76; } [data-theme="light"] .art .flakes, .card.paper .art .flakes { fill: #a98460; } [data-theme] .scene .art { --c1: #f2dcbd; --c2: #c9a57f; --sunc: #ffc861; --moonc: #f3ddb6; --drop: #8fd0bd; }
.forecast { position: absolute; z-index: 4; right: 28px; top: 20px; display: grid; grid-template-columns: auto auto; align-items: center; justify-content: end; gap: 0 14px; color: #fff3e0; text-align: left; text-shadow: 0 1px 10px rgba(20, 8, 3, .75); transition: transform .3s var(--spring); } .forecast::before { content: ""; position: absolute; z-index: -1; inset: -70px -70px -50px -90px; background: radial-gradient(closest-side, rgba(20, 9, 4, .66), rgba(20, 9, 4, .46) 60%, transparent); pointer-events: none; } a.forecast:hover, button.forecast:hover { transform: translateY(-2px); } .forecast > .art { width: 92px; grid-row: span 2; filter: drop-shadow(0 4px 10px rgba(20, 8, 3, .4)); } .forecast .deg { font: 600 50px/1 var(--display); } .forecast .say { display: grid; line-height: 1.25; } .forecast .say b { font: 600 15.5px/1.25 var(--display); } .forecast small { font-size: 12.5px; color: #ffe9cf; } .forecast .next { display: none; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(56px, 1fr)); margin-top: 14px; } .forecast .next > span { display: grid; justify-items: center; gap: 1px; } .forecast .next .art { width: 38px; } .forecast .next b { font: 600 15px/1.2 var(--display); } .forecast.ask .say { grid-row: span 2; } .forecast.big > .art { width: 128px; } .forecast.big .deg { font-size: 76px; }
.scene.corner .orb { left: min(var(--t) * 100%, 100% - 330px); } .scene.corner .hello h1, .scene.corner .hello p { max-width: calc(100% - 250px); } @container cena (min-width: 1010px) { .scene.corner .orb { left: min(var(--t) * 100%, 100% - 380px); } .forecast .next { display: grid; } .scene.corner .hello .quickbar { max-width: calc(100% - 310px); } } @container cena (max-width: 620px) { .forecast { right: 16px; top: 16px; gap: 0 8px; } .forecast::before { inset: -46px -46px -34px -14px; } .scene.corner .hello h1, .scene.corner .hello p { text-shadow: 0 1px 2px rgba(40, 16, 4, .7), 0 1px 14px rgba(20, 8, 3, .75); } .scene.corner .orb { --dim: .6; --low: 46%; left: calc(var(--t) * 100%); top: max(var(--y), min(var(--low), (var(--t) - .55) * 1000%)); } .scene.corner:has(.forecast.big) .orb { --low: 62%; } .forecast > .art { width: 50px; grid-row: auto; } .forecast .deg { font-size: 32px; } .forecast .say { grid-column: 1 / -1; text-align: right; max-width: 150px; justify-self: end; } .forecast .say small { display: none; } .forecast.ask { grid-template-columns: auto; justify-items: end; } .forecast.ask .say small { display: block; } .forecast.big > .art { width: 64px; } .forecast.big .deg { font-size: 40px; } .forecast.big .say small { display: block; } .scene.corner .hello h1, .scene.corner .hello p { max-width: calc(100% - 136px); } }
.scene .slot { position: absolute; top: 4px; display: flex; align-items: center; gap: 2px; padding-left: 3px; } .scene .slot .art { width: 32px; } .scene .slot b { font: 600 15px/1 var(--display); }
.phrases { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 30px; padding: 14px 18px; } .phrases a { display: flex; gap: 11px; padding: 6px 0; align-items: flex-start; color: var(--ink-2); } .phrases a:hover { color: var(--ink); } .phrases a:hover .icon { transform: scale(1.2) rotate(-6deg); } .phrases .icon { margin-top: 1.5px; width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--spring); } .phrases b { color: var(--ink); font-weight: 600; }
.report { display: grid; } .report > section { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 26px; padding: 18px 0; border-top: 1px solid var(--line); } .report > section:first-child { border-top: 0; } .report h2 { font-size: 17px; font-weight: 500; color: var(--ink-3); display: flex; gap: 10px; align-items: center; align-self: start; } .report h2 .icon { color: var(--accent); } .report .lead { font-size: 16.5px; line-height: 1.45; } .report .lead b { font-weight: 600; }

/* ============ Gráficos ============ */
.chart { position: relative; min-width: 0; } .chart-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; } .chart-head h2 { font-size: 17px; line-height: 1.25; } .chart-head p { font-size: 12.5px; color: var(--ink-3); } .chart-head .icon-btn { margin: -4px -6px 0 auto; }
.plot { position: relative; outline-offset: 4px; border-radius: 8px; } .plot svg { width: 100%; overflow: visible; } .plot text { fill: var(--ink-3); font: 500 12px var(--display); font-variant-numeric: tabular-nums; } .plot text.endlabel { fill: var(--ink); font-weight: 600; } .plot .gridline { stroke: var(--grid); } .plot .axis { stroke: var(--line-2); } .plot .target { stroke: var(--ink-2); stroke-width: 1.5; } .plot .cross { stroke: var(--line-2); } .plot .band { fill: var(--hover); } .page.enter .plot .up { animation: grow .8s var(--ease) backwards; animation-delay: calc(var(--k) * 30ms); transform-box: fill-box; transform-origin: 50% 100%; } .page.enter .plot .up.dn { transform-origin: 50% 0; } @keyframes grow { from { transform: scaleY(0); } } .page.enter .plot .ln { stroke-dasharray: 1; animation: trace 1.3s var(--ease) backwards; } @keyframes trace { from { stroke-dashoffset: 1; } }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 13.5px/1.4 var(--display); color: var(--ink-2); margin-bottom: 8px; } .legend span { display: inline-flex; align-items: center; gap: 7px; } .legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .legend i.line { height: 3px; width: 14px; border-radius: 2px; }
.tip { position: absolute; z-index: 5; pointer-events: none; top: 0; left: 0; min-width: 128px; max-width: 250px; padding: 9px 12px; border-radius: 10px; background: var(--raised); box-shadow: var(--shadow), 0 0 0 1px var(--line); font-size: 12.5px; } .tip b { display: block; font: 500 13.5px/1.3 var(--display); color: var(--ink-3); margin-bottom: 3px; } .tip div { display: flex; align-items: center; gap: 8px; } .tip div i { width: 12px; height: 3px; border-radius: 2px; flex: none; } .tip div strong { font: 600 15px/1.35 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; } .tip div span { color: var(--ink-2); }
.chart .table-wrap { max-height: 320px; } .chart th:first-child, .chart td:first-child { padding-left: 0; } .chart td { padding-block: 6px; }
.rank { display: grid; gap: 12px; } .rank li { display: grid; gap: 5px; } .rank .top { display: flex; gap: 10px; align-items: baseline; } .rank .bar { background: none; height: 10px; }
.segbar { display: flex; gap: 2px; height: 12px; margin-bottom: 14px; } .segbar i { border-radius: 3px; min-width: 3px; transition: flex-grow .6s var(--ease); } .swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.spark { height: 34px; width: 100%; overflow: visible; } .w-saude .spark { height: 100%; min-height: 44px; max-height: 120px; } .spark path { fill: none; stroke: var(--mark); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Diálogos, avisos e paleta ============ */
dialog { border: 0; border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface) 150px); color: var(--ink); padding: 0; width: min(580px, calc(100vw - 32px)); max-height: min(88vh, 880px); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; } dialog[open] { display: flex; flex-direction: column; animation: sheet .34s var(--ease); } dialog::backdrop { background: var(--scrim); backdrop-filter: blur(2px); animation: fade .2s; } dialog.s { width: min(430px, calc(100vw - 32px)); } dialog.l { width: min(780px, calc(100vw - 32px)); } dialog.photo { width: auto; max-width: calc(100vw - 32px); max-height: 94vh; background: #0c0705; color: #fbeedd; --ink: #fbeedd; --ink-2: #d8c3ad; --ink-3: #ab9581; --sunk: #1d130d; --raised: #33261d; --line: rgba(255, 214, 170, .12); --line-2: rgba(255, 214, 170, .22); --hover: rgba(255, 214, 170, .08); --well: inset 0 0 0 1px rgba(255, 214, 170, .12); } @keyframes sheet { from { opacity: 0; transform: translateY(26px) scale(.97); } } @keyframes fade { from { opacity: 0; } }
dialog > form, dialog > .dlg { display: flex; flex-direction: column; min-height: 0; } .dlg-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px 22px; } .dlg-head h2 { font-size: 22px; } .dlg-body { padding: 4px 22px 20px; overflow-y: auto; display: grid; gap: 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; } .dlg-body > * { grid-column: span 6; } .dlg-body > .half { grid-column: span 3; } .dlg-body > .third { grid-column: span 2; } .dlg-body > .two { grid-column: span 4; } .dlg-foot { display: flex; gap: 8px; align-items: center; padding: 13px 22px; border-top: 1px solid var(--line); } .dlg-foot .end { display: flex; gap: 8px; } .dlg-error { color: var(--neg); font-size: 13px; } .dlg-body.plain { display: block; } .dlg-body.plain > * { grid-column: auto; } .dlg-body.plain.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; } .dlg-body .seg { justify-self: start; } .dlg-body.tall { min-height: 320px; }
.sep { border-top: 1px solid var(--line); padding-top: 14px; }
#toasts { position: fixed; z-index: 80; display: grid; gap: 8px; justify-items: end; pointer-events: none; border: 0; padding: 0; margin: 0; background: none; inset: auto 22px 22px auto; overflow: visible; } .toast { pointer-events: auto; display: flex; gap: 12px; align-items: center; max-width: min(400px, calc(100vw - 32px)); padding: 11px 17px 11px 14px; border-radius: 11px; background: var(--paper); color: var(--paper-ink); font-weight: 500; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); animation: toast .5s var(--spring); } .toast > .icon { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: #2d7a4a; color: #fff; } .toast.error > .icon { background: #b4233c; } .toast.warn > .icon { background: #b87700; } .toast.info > .icon { background: #a83c0c; } .toast .sub { color: var(--paper-ink-2); font-size: 13px; font-weight: 400; } @keyframes toast { from { opacity: 0; transform: translateX(60px) rotate(3deg); } }
.palette { width: min(640px, calc(100vw - 24px)); margin-top: 11vh; max-height: 68vh; } .palette .q { display: flex; align-items: center; gap: 12px; padding: 4px 18px; border-bottom: 1px solid var(--line); } .palette input { flex: 1; min-width: 0; height: 54px; background: none; border: 0; outline: none; font: 500 19px/1 var(--display); } .palette .res { overflow-y: auto; padding: 8px; } .palette .grp { padding: 9px 12px 4px; font: 500 13.5px/1 var(--display); color: var(--ink-3); } .palette .opt { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 42px; padding: 5px 12px; border-radius: 10px; text-align: left; color: var(--ink-2); } .palette .opt[aria-selected="true"] { background: var(--accent); color: var(--fill-ink); } .palette .opt .end { color: inherit; opacity: .75; font-size: 12.5px; white-space: nowrap; }
.menu { position: fixed; inset: auto; margin: 0; min-width: 200px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 6px; border: 0; border-radius: 12px; background: var(--raised); color: var(--ink); box-shadow: var(--shadow), 0 0 0 1px var(--line); } .menu:popover-open { animation: pop .2s var(--ease); } .menu button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 36px; padding: 4px 11px; border-radius: 8px; text-align: left; } .menu button:hover, .menu button:focus-visible { background: var(--hover); outline: none; } .menu button.danger { color: var(--neg); } .menu button .icon { width: 17px; height: 17px; color: var(--accent); } .menu button.danger .icon { color: inherit; } .menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.spark-bit { position: fixed; z-index: 90; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; }

/* ============ Painel inicial ============ */
.widgets { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; } .widget { position: relative; display: flex; flex-direction: column; } .widget .body { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; } .widget .body > * { min-width: 0; } .widget.bare { background: none; box-shadow: none; padding: 0; } .widget.bare > .card-head { display: none; } .widget.bare.editing { padding: 14px; } .widget.bare.editing > .card-head { display: flex; } .widget.editing { cursor: grab; outline: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: -2px; user-select: none; } .widget.editing .body { pointer-events: none; opacity: .5; } .widget.off { opacity: .45; } .widget.dragging { opacity: .3; } .widget.drop { outline: 3px solid var(--accent); }
.w-resumo, .w-mostradores { grid-column: span 12; } .w-financas { grid-column: span 8; } .w-agenda { grid-column: span 4; } .w-produtividade, .w-leitura, .w-habitos { grid-column: span 4; } .w-saude { grid-column: span 5; } .w-metas { grid-column: span 7; }
.fin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 28px; } .fin .left { display: grid; gap: 18px; align-content: start; }
.bankline { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: -4px; padding: 4px; } .bankline a { display: flex; align-items: center; gap: 10px; padding: 8px 13px 8px 9px; border-radius: 11px; background: var(--raised); scroll-snap-align: start; flex: none; transition: transform .25s var(--spring); } .bankline a:hover { transform: translateY(-3px); } .bankline span span { display: block; line-height: 1.2; }
.next-ev { display: grid; gap: 2px; padding: 14px 16px; border-radius: 13px; background: var(--accent); color: var(--fill-ink); text-align: left; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .25s var(--spring); } .next-ev:hover { transform: translateY(-2px); } .next-ev .t { font: 600 14px/1.2 var(--display); opacity: .85; } .next-ev .n { font: 600 23px/1.12 var(--display); } .next-ev .d { font-size: 13px; opacity: .85; }
.ev-line { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; width: 100%; text-align: left; } .ev-line time { width: 44px; flex: none; color: var(--accent); font: 600 15px/1 var(--display); font-variant-numeric: tabular-nums; } .ev-line:hover .grow { color: var(--accent); }
.notepad { position: relative; padding-top: 30px; transform: rotate(-.35deg); transition: transform .3s var(--ease); } .notepad:hover { transform: none; } .notepad::before { content: ""; position: absolute; left: 50%; top: -9px; width: 92px; height: 26px; margin-left: -46px; background: rgba(255, 205, 130, .42); transform: rotate(-1.5deg); border-radius: 2px; } .notepad .list { background: repeating-linear-gradient(transparent 0 37px, var(--paper-line) 37px 38px); } .notepad .list > li { border: 0; padding: 0; height: 38px; } .widget.notepad .body { gap: 0; }
/* Hábitos: botões que acendem */
.pushes { display: grid; gap: 14px 8px; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); } .push { display: grid; justify-items: center; gap: 8px; text-align: center; font: 500 13.5px/1.2 var(--display); color: var(--ink-2); } .push .k { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 50% 22%, var(--raised), var(--sunk) 78%); box-shadow: inset 0 2px 1px rgba(255, 224, 190, .12), inset 0 -5px 10px rgba(0, 0, 0, .35), 0 3px 8px rgba(0, 0, 0, .35); color: var(--ink-3); transition: .25s; } .push .k .icon { width: 26px; height: 26px; stroke-width: 2.2; transition: transform .35s var(--spring); } .push:hover .k { color: var(--accent); } .push:active .k { transform: translateY(2px) scale(.95); } .push[aria-pressed="true"] { color: var(--ink); } .push[aria-pressed="true"] .k { background: radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent) 55%, var(--mark)); color: var(--fill-ink); box-shadow: 0 0 26px color-mix(in srgb, var(--mark) 60%, transparent), inset 0 2px 1px rgba(255, 255, 255, .5); } .push[aria-pressed="true"] .icon { transform: scale(1.15); } .push small { display: flex; gap: 3px; align-items: center; justify-content: center; color: var(--ink-3); font-size: 12.5px; } .push small .icon { width: 13px; height: 13px; } [data-theme="light"] .push .k { box-shadow: inset 0 2px 1px #fff, inset 0 -4px 8px rgba(90, 50, 20, .12), 0 2px 5px rgba(90, 50, 20, .18); }
/* Água: reservatório com onda */
.tank { position: relative; width: 92px; height: 132px; border-radius: 12px 12px 20px 20px; background: var(--sunk); box-shadow: var(--well); overflow: hidden; flex: none; } .tank .lvl { position: absolute; left: 0; width: 200%; height: 100%; top: 0; transform: translate(0, calc((1 - var(--lvl)) * 100%)); transition: transform 1.2s var(--ease); } .tank .lvl svg { width: 100%; height: 100%; animation: wave 5s linear infinite; } .tank .lvl path { fill: #4f9c86; } .tank b { position: absolute; inset: 0; display: grid; place-content: center; font: 600 23px/1 var(--display); text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); color: #fff6e8; } .tank b small { display: block; font-size: 12px; font-weight: 500; opacity: .85; } @keyframes wave { to { transform: translateX(-50%); } } [data-theme="light"] .tank b { color: #17382e; text-shadow: 0 1px 6px rgba(255, 255, 255, .7); }
/* Metas de longo prazo: a estrada até o alvo */
.road { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; width: 100%; text-align: left; } .road > .row { flex-wrap: wrap; gap: 0 10px; } .road > .row > .grow { flex-basis: 110px; } .road .way { position: relative; height: 30px; border-radius: 8px; background: linear-gradient(var(--sunk), var(--sunk)); box-shadow: var(--well); } .road .way::before { content: ""; position: absolute; left: 12px; right: 30px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 12px, transparent 12px 22px); opacity: .6; } .road .done { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px 0 0 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--mark) 25%, transparent), color-mix(in srgb, var(--mark) 75%, transparent)); transition: width 1.2s var(--ease); } .road .car { position: absolute; left: calc(var(--p) * (100% - 74px)); bottom: 4px; width: 44px; color: var(--accent); transition: left 1.2s var(--ease); z-index: 1; } .road:hover .car { animation: vroom .5s 2; } @keyframes vroom { 25% { transform: translateY(-1.5px) rotate(-1.5deg); } 75% { transform: translateY(1px); } } .page.enter .road .car { animation: arrive 1.5s var(--ease) backwards; } @keyframes arrive { from { left: -50px; } } .road .flag { position: absolute; right: 8px; top: 6px; width: 18px; color: var(--ink-2); } .road .car .w { fill: var(--sunk); stroke: currentColor; stroke-width: 3; }
.metas { display: grid; gap: 18px; }

/* ============ Finanças ============ */
.fin-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px 40px; align-items: center; }
.cc { display: grid; align-content: space-between; aspect-ratio: 1.62; max-width: 350px; width: 100%; padding: 18px 20px; border-radius: 16px; color: #fff; text-align: left; background: radial-gradient(130% 150% at 8% 0%, color-mix(in srgb, var(--b) 92%, #fff), var(--b) 42%, color-mix(in srgb, var(--b) 45%, #0d0705)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 34px rgba(0, 0, 0, .4); transition: transform .35s var(--spring); position: relative; overflow: hidden; } .cc::after { content: ""; position: absolute; inset: -60% -30%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); transform: translateX(-60%); transition: transform .7s var(--ease); pointer-events: none; } .cc:hover { transform: translateY(-5px) rotate(-.6deg); } .cc:hover::after { transform: translateX(60%); } .cc[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 3px; } .cc .hero { display: block; } .cc .muted { color: rgba(255, 255, 255, .82); } .cc .bar { --led: #fff; background: rgba(255, 255, 255, .25); } .cc .name { font: 600 18px/1.2 var(--display); } .cc .chipc { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f6dfa4, #b98f3e); box-shadow: inset 0 0 0 1px rgba(80, 50, 10, .35); }
.card-row { display: flex; gap: 18px; overflow-x: auto; padding: 8px; margin: -8px; scrollbar-width: thin; scroll-snap-type: x proximity; } .card-row .cc { flex: 0 0 min(320px, 84vw); scroll-snap-align: center; }
.card.bank-card { overflow: clip; padding: 0; } .bank-card > header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--b) 42%, transparent), transparent 85%); } .bank-card > header h3 { font-size: 19px; line-height: 1.15; overflow-wrap: normal; } .bank-card .sum { font: 600 25px/1 var(--display); margin-left: auto; white-space: nowrap; } .bank-card .flow { display: flex; gap: 4px 18px; flex-wrap: wrap; padding: 10px 20px 4px; font: 500 14px/1.3 var(--display); }

/* ============ Agenda ============ */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .cal .wd { padding: 11px 10px 9px; font: 500 14px/1 var(--display); color: var(--ink-3); border-bottom: 1px solid var(--line); } .cal .day { min-height: 118px; padding: 6px 6px 8px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; align-content: start; gap: 3px; min-width: 0; cursor: pointer; transition: background .12s; } .cal .day:hover { background: var(--hover); } .cal .day:nth-child(7n+1) { border-left: 0; } .cal .day.out .num { color: var(--ink-3); opacity: .55; } .cal .num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font: 500 15px/1 var(--display); color: var(--ink-2); } .cal .today .num { background: var(--accent); color: var(--fill-ink); font-weight: 700; } .cal .more { font: 500 13px/1.3 var(--display); color: var(--ink-3); padding-left: 6px; }
.ev { --c: var(--s1); display: flex; gap: 6px; align-items: baseline; width: 100%; padding: 2px 7px; border-radius: 6px; font-size: 12.5px; line-height: 19px; text-align: left; background: color-mix(in srgb, var(--c) 34%, var(--surface)); overflow: hidden; white-space: nowrap; transition: filter .12s; } .ev:hover { filter: brightness(1.18); } .ev time { color: var(--ink-2); font: 600 12.5px/1 var(--display); flex: none; } .ev span { overflow: hidden; text-overflow: ellipsis; } .ev.done { opacity: .6; } .ev.done span { text-decoration: line-through; } .ev.cancelled { opacity: .5; background: none; } .ev.cancelled span { text-decoration: line-through; } .ev.todo { --c: var(--m-mute); background: var(--hover); } [data-theme="light"] .ev { background: color-mix(in srgb, var(--c) 24%, var(--surface)); }
.ev.aula { --c: var(--s3); } .ev.reuniao { --c: var(--s1); } .ev.consulta { --c: var(--s2); } .ev.evento { --c: var(--s4); } .ev.viagem { --c: var(--s5); } .ev.trabalho { --c: var(--s7); } .ev.aniversario { --c: var(--s6); } .ev.pessoal { --c: var(--m-mute); }
.week { display: grid; grid-template-columns: 54px repeat(var(--n, 7), minmax(0, 1fr)); max-height: calc(100vh - 220px); overflow-y: auto; position: relative; } .week .wh { position: sticky; top: 0; z-index: 3; background: var(--surface-2); padding: 10px 6px 8px; text-align: center; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); font: 500 13.5px/1.2 var(--display); color: var(--ink-3); min-width: 0; } .week .wh:first-child { border-left: 0; } .week .wh b { display: block; font: 600 22px/1.15 var(--display); color: var(--ink); } .week .wh.today b { color: var(--accent); } .week .wh .all { display: grid; gap: 2px; margin-top: 5px; } .week .all .ev { color: var(--ink); text-align: left; font-family: var(--font); } .week .hours { position: relative; height: 1152px; } .week .hours span { position: absolute; right: 8px; transform: translateY(-50%); font: 500 12px/1 var(--display); color: var(--ink-3); } .week .col { position: relative; height: 1152px; border-left: 1px solid var(--line); background: repeating-linear-gradient(var(--line) 0 1px, transparent 1px 48px); cursor: pointer; } .week .col .ev { position: absolute; align-items: flex-start; flex-direction: column; gap: 1px; padding: 4px 8px; line-height: 16px; width: auto; min-height: 20px; box-shadow: 0 0 0 1px var(--surface); } .week .col .ev > * { max-width: 100%; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .week .col .ev.short { flex-direction: row; gap: 6px; padding-block: 1px; } .week .col .ev.short > span { flex: 0 1 auto; } .week .nowline { position: absolute; left: 0; right: 0; height: 2px; background: #ff7b39; box-shadow: 0 0 8px #ff7b39; z-index: 2; pointer-events: none; } .week .nowline::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: inherit; }
.day-split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; } .cat-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }

/* ============ Tarefas ============ */
.task { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); min-width: 0; cursor: pointer; transition: background .12s; } .task:hover { background: var(--hover); } .task:first-child { border-top: 0; } .task .title { min-width: 0; } .task .meta { display: flex; gap: 5px 9px; flex-wrap: wrap; align-items: center; margin-top: 1px; color: var(--ink-3); font-size: 12.5px; } .task .meta span { display: inline-flex; gap: 5px; align-items: center; min-width: 0; } .task .meta .icon { width: 13px; height: 13px; } .task .meta .prio { gap: 2px; align-items: flex-end; } .task .due { white-space: nowrap; color: var(--ink-3); font: 500 14px/1 var(--display); } .task .due.late { color: var(--neg); } .task .due.now { color: var(--accent); }
.prio { display: inline-flex; gap: 2px; align-items: flex-end; height: 13px; flex: none; } .prio i { width: 4px; border-radius: 1px; background: var(--line-2); } .prio i:nth-child(1) { height: 5px; } .prio i:nth-child(2) { height: 9px; } .prio i:nth-child(3) { height: 13px; } .prio.baixa i:nth-child(-n+1), .prio.media i:nth-child(-n+2) { background: var(--ink-2); } .prio.alta i { background: var(--neg); }
.star { color: var(--ink-3); } .star[aria-pressed="true"] { color: var(--warn); } .star[aria-pressed="true"] .icon { fill: currentColor; animation: pop .35s var(--spring); }
.quick { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; } .quick input { flex: 1; min-width: 0; min-height: 40px; background: none; border: 0; outline: none; font-size: 16px; }

/* ============ Dieta, hábitos, diário, foco ============ */
.diet-top { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 24px 34px; align-items: center; } .water { display: flex; gap: 18px; padding-left: 30px; border-left: 1px solid var(--line); align-items: center; } .water .btns { display: grid; gap: 6px; }
.parse { display: grid; gap: 10px; } .parse textarea { min-height: 60px; } .sug { display: grid; grid-template-columns: minmax(0, 1fr) 76px 138px 92px 30px; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); } .sug:first-child { border-top: 0; } .sug .raw { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); margin-bottom: -3px; display: flex; gap: 8px; align-items: center; } .sug .input { min-height: 36px; padding-block: 4px; }
.meal-head { display: flex; gap: 10px; align-items: baseline; padding: 15px 20px 8px; } .meal-head h3 { font-size: 17px; }
.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 12px); grid-auto-columns: 12px; gap: 3px; } .heat i { width: 12px; height: 12px; border-radius: 3px; background: var(--hover); } .heat i.on { background: var(--mark); } .heat i.na { opacity: .4; }
.habit-grid { display: grid; grid-template-columns: minmax(150px, 1fr) repeat(7, 44px) 100px 78px 34px; align-items: center; gap: 0 4px; padding: 0 20px; } .habit-grid > * { min-height: 50px; display: grid; align-items: center; } .habit-grid .h { min-height: 42px; font: 500 13.5px/1.25 var(--display); color: var(--ink-3); justify-content: center; text-align: center; } .habit-grid .h.today { color: var(--accent); font-weight: 600; } .habit-grid .cell { justify-content: center; } .habit-grid .line { grid-column: 1 / -1; min-height: 0; border-top: 1px solid var(--line); } .habit-grid .check { width: 30px; height: 30px; border-radius: 9px; } .habit-grid .check .icon { width: 17px; height: 17px; } .habit-grid .check[disabled] { box-shadow: none; background: var(--hover); opacity: .55; }
.moods { display: flex; gap: 6px; flex-wrap: wrap; } .moods button { padding: 8px 14px 7px; border-radius: 9px; background: var(--raised); color: var(--ink-2); font: 500 14.5px/1 var(--display); transition: .15s; } .moods button:hover { color: var(--ink); transform: translateY(-2px); } .moods [aria-pressed="true"] { background: var(--accent); color: var(--fill-ink); font-weight: 600; }
.journal { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; } .journal textarea.page-text { min-height: 300px; font: 400 17.5px/38px var(--book); background: none; border: 0; padding: 0; outline: none; width: 100%; resize: none; field-sizing: content; }
.card.ruled textarea.page-text { background: repeating-linear-gradient(transparent 0 37px, var(--paper-line) 37px 38px); }
.timer-face { display: grid; justify-items: center; gap: 18px; padding: 20px 0 8px; } .timer-face .seg { justify-self: center; } .timer-face .clock { font: 600 92px/1 var(--display); font-variant-numeric: tabular-nums; padding: 12px 30px 4px; border-radius: 18px; background: var(--sunk); box-shadow: var(--well); color: var(--accent); text-shadow: var(--glow) color-mix(in srgb, var(--mark) 60%, transparent); }
.progress-card .pct { font: 600 34px/1 var(--display); }

/* ============ Livros ============ */
.shelf { display: grid; gap: 30px 20px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); } .shelf a { display: grid; gap: 10px; align-content: start; grid-template-columns: minmax(0, 1fr); min-width: 0; } .shelf .t { font: 600 15.5px/1.2 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .shelf .a { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.cover { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; overflow: hidden; background: var(--cb, #7a3e2a); color: #fff3df; box-shadow: 0 10px 22px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .06); transform-origin: left center; transition: transform .45s var(--ease), box-shadow .45s; perspective: 600px; } .cover img { width: 100%; height: 100%; object-fit: cover; display: block; } .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .4) 0, rgba(255, 255, 255, .16) 3.5%, rgba(0, 0, 0, .16) 6.5%, transparent 12%, transparent 85%, rgba(0, 0, 0, .16)); pointer-events: none; } a:hover > .cover, button:hover > .cover { transform: perspective(700px) rotateY(-22deg) translateX(5px); box-shadow: 16px 14px 28px rgba(0, 0, 0, .5); } .cover .txt { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 15% 11% 11% 15%; text-align: left; background: radial-gradient(120% 70% at 70% 0%, rgba(255, 255, 255, .14), transparent 60%); } .cover .txt b { font: 600 clamp(13px, 11cqw, 34px)/1.12 var(--book); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; } .cover .txt i { font: italic 400 clamp(11px, 7.5cqw, 20px)/1.2 var(--book); margin-top: auto; opacity: .9; } .cover { container-type: inline-size; } .cover .heart { position: absolute; right: 7px; top: 7px; color: #ffd9a8; z-index: 1; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); } .cover .heart .icon { fill: currentColor; }
.stars { display: inline-flex; gap: 2px; color: var(--line-2); } .stars .st { position: relative; width: 1em; height: 1em; display: block; } .stars svg { width: 1em; height: 1em; fill: currentColor; stroke: none; } .stars .st svg + svg { position: absolute; inset: 0; color: var(--warn); clip-path: inset(0 calc((1 - var(--f)) * 100%) 0 0); transition: clip-path .25s; } .stars.s { font-size: 14px; } .stars.l { font-size: 36px; gap: 4px; } .stars button { display: block; } .stars.l .st { transition: transform .25s var(--spring); cursor: pointer; } .stars.l .st:hover { transform: scale(1.18) rotate(-6deg); } .card.paper .stars { color: rgba(90, 55, 30, .24); } .card.paper .stars .st svg + svg { color: #c27a00; }
.reading-now { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; align-items: start; } .reading-now .t { font: 600 21px/1.15 var(--book); } .reading-now .a { color: var(--ink-2); font: italic 400 15px/1.3 var(--book); }
.mini-shelf { display: flex; gap: 9px; align-items: flex-end; padding: 0 8px 0; border-bottom: 9px solid #6b4426; box-shadow: 0 7px 12px -4px rgba(60, 30, 10, .4); border-radius: 0 0 3px 3px; overflow: hidden; } .mini-shelf a { flex: 0 1 46px; min-width: 22px; } .mini-shelf .cover { border-radius: 2px 4px 0 0; box-shadow: none; } .mini-shelf a:nth-child(3n+2) .cover { aspect-ratio: 2 / 3.35; } .mini-shelf a:nth-child(3n) .cover { aspect-ratio: 2 / 2.75; } .mini-shelf .cover .txt { padding: 8px 2px; align-items: center; } .mini-shelf .cover .txt b { writing-mode: vertical-rl; display: block; max-height: 100%; font-size: 11.5px; white-space: nowrap; overflow-wrap: normal; text-overflow: ellipsis; } .mini-shelf .cover .txt i { display: none; } .mini-shelf .heart { display: none; }
.book { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; } .book .left { position: sticky; top: 24px; display: grid; gap: 16px; } .book .big { max-width: 300px; } .book h1 { font: 600 42px/1.08 var(--book); } .book .by { font: italic 400 20px/1.3 var(--book); color: var(--ink-2); margin-top: 4px; } .review { font: 400 18px/1.65 var(--book); white-space: pre-line; max-width: 68ch; } .quote { position: relative; padding: 4px 0 4px 40px; } .quote::before { content: "“"; position: absolute; left: 0; top: -8px; font: 600 68px/1 var(--book); color: var(--accent); opacity: .75; } .quote p { font: 400 18px/1.55 var(--book); white-space: pre-line; } .gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } .gallery button { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; transition: transform .25s var(--spring); } .gallery button:hover { transform: scale(1.04) rotate(-.8deg); } .gallery img { width: 100%; height: 100%; object-fit: cover; } .gallery .add { display: grid; place-content: center; justify-items: center; gap: 5px; background: var(--sunk); box-shadow: var(--well); color: var(--ink-3); font: 500 13.5px/1.2 var(--display); } .gallery .add:hover { color: var(--accent); } .gallery .iscover { position: absolute; left: 6px; bottom: 6px; } .drag-on { outline: 3px dashed var(--accent); outline-offset: 4px; } dialog.photo img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; }

/* ============ Tempo ============ */
.card:has(> .fc-days), .tips { display: flex; flex-direction: column; } .tips li { font-size: 16.5px; } .tips > .art { margin: auto 6px 0 auto; padding-top: 14px; } .fc-days { flex: 1; display: flex; flex-direction: column; } .fc-days > li { flex: 1; display: grid; grid-template-columns: 92px 44px 40px 40px minmax(60px, 1fr) 40px; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); } .fc-days > li:first-child { border-top: 0; } .fc-days small { display: block; font-weight: 400; } .fc-days .din { text-align: right; font-size: 16px; } .fc-days .prob { text-align: right; } .fc-bar { position: relative; height: 8px; border-radius: 4px; background: var(--sunk); box-shadow: var(--well); } .fc-bar i { position: absolute; top: 0; bottom: 0; min-width: 8px; border-radius: 4px; background: linear-gradient(90deg, #e9b04a, #e2672c); transition: left .8s var(--ease), right .8s var(--ease); }
.sunpath svg { width: 100%; max-height: 150px; } .sunpath .way { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; } .sunpath .gone { fill: none; stroke: #f0a83c; stroke-width: 4; stroke-linecap: round; } .sunpath .ground { stroke: var(--line-2); } .sunpath .disc { fill: #ffc861; stroke: color-mix(in srgb, #ffc861 35%, transparent); stroke-width: 10; } .sunpath b { font: 600 17px/1.2 var(--display); }

/* ============ Notícias: rádio, jornal e conversa ============ */
.radio { padding: 14px; } .tuner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; height: 74px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #2b1608, #4a2a10 45%, #2b1608); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 190, 110, .16); color: #ffcf8f; } .tuner .scale { position: relative; background: repeating-linear-gradient(90deg, rgba(255, 207, 143, .34) 0 1px, transparent 1px 12px) 0 100% / 100% 13px no-repeat, repeating-linear-gradient(90deg, rgba(255, 207, 143, .6) 0 1.5px, transparent 1.5px 60px) 0 100% / 100% 22px no-repeat; } .tuner .scale span { position: absolute; top: 17px; transform: translateX(-50%); font: 500 13px/1 var(--display); color: #d9a566; white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; transition: color .3s; } .tuner .scale .on { color: #fff3e0; font-weight: 600; } .tuner .needle { position: absolute; inset: 0; pointer-events: none; } .tuner .needle::after { content: ""; position: absolute; left: var(--x); top: 4px; bottom: 3px; width: 2.5px; margin-left: -1px; border-radius: 2px; background: #ff6a2b; box-shadow: 0 0 10px #ff6a2b; transition: left 1.1s var(--spring); } .radio.busy .needle::after { animation: scan 2.6s ease-in-out infinite alternate; } @keyframes scan { from { left: 3%; } to { left: 97%; } }
.tuner .lcd { display: grid; align-content: center; gap: 4px; padding: 0 18px; background: rgba(16, 7, 2, .6); box-shadow: inset 1px 0 0 rgba(255, 190, 110, .16); min-width: 0; } .tuner .lcd b { font: 600 23px/1.05 var(--display); color: #ffe2b4; text-shadow: 0 0 14px rgba(255, 160, 70, .55); } .tuner .lcd span { font: 500 13px/1.3 var(--display); color: #dfae72; }
.presets { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; } .presets button { position: relative; display: grid; justify-items: center; gap: 4px; padding: 13px 6px 8px; border-radius: 9px; background: var(--raised); box-shadow: var(--bevel), 0 3px 0 rgba(0, 0, 0, .32); color: var(--ink-2); font: 500 13.5px/1.2 var(--display); transition: transform .12s, box-shadow .12s, color .15s; min-width: 0; } .presets button span { max-width: 100%; } .presets button::before { content: ""; position: absolute; top: 5px; width: 20px; height: 3px; border-radius: 2px; background: var(--line-2); } .presets button:hover { color: var(--ink); } .presets button:active, .presets [aria-pressed="true"] { transform: translateY(2px); box-shadow: var(--bevel), 0 1px 0 rgba(0, 0, 0, .3); color: var(--ink); } .presets [aria-pressed="true"]::before { background: #ff8a45; box-shadow: 0 0 10px #ff7b39; } [data-theme="light"] .presets button { box-shadow: 0 0 0 1px var(--line), 0 3px 0 rgba(90, 50, 20, .16); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; } .jornal { padding: 22px 26px 26px; } .masthead { text-align: center; padding-bottom: 12px; border-bottom: 3px double var(--line-2); margin-bottom: 16px; } .masthead h2 { font: 700 34px/1.1 var(--book); } .masthead p { font-size: 13px; color: var(--ink-2); margin-top: 4px; } .jornal a:hover { color: var(--accent); } .jornal .lead { padding-bottom: 14px; border-bottom: 1px solid var(--line-2); } .jornal .lead h3 { font: 700 27px/1.16 var(--book); } .jornal .lead p { font: 400 16px/1.5 var(--book); color: var(--ink-2); margin-top: 8px; } .jornal .columns { columns: 2 250px; column-gap: 30px; column-rule: 1px solid var(--line); margin-top: 14px; } .jornal .columns article { break-inside: avoid; padding: 10px 0 6px; border-bottom: 1px solid var(--line); } .jornal h4 { font: 600 16.5px/1.28 var(--book); } .jornal .meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; min-height: 32px; } .jornal .waiting { display: grid; gap: 14px; } .jornal .waiting i { height: 20px; border-radius: 4px; background: var(--line); animation: pulse 1.4s ease-in-out infinite alternate; } .jornal .waiting i:nth-child(even) { width: 72%; } @keyframes pulse { to { opacity: .35; } }
.talk { position: sticky; top: 24px; display: flex; flex-direction: column; height: calc(100dvh - 315px); min-height: 420px; } @supports (animation-timeline: scroll()) { .talk { animation: stretch linear both; animation-timeline: scroll(root); animation-range: 0 267px; } } @keyframes stretch { from { height: calc(100dvh - 315px); } to { height: calc(100dvh - 48px); } } .talk-body { display: flex; flex-direction: column; flex: 1; min-height: 0; } .talk-log { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 16px; align-content: start; padding: 2px 4px 14px 2px; margin-right: -8px; scrollbar-width: thin; } .ask-bubble { scroll-margin-top: 76px; justify-self: end; max-width: 88%; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--accent) 24%, var(--surface)); white-space: pre-line; } .answer.card { padding: 16px 20px 10px; border-radius: 6px 16px 16px 16px; } .answer.coming { animation: enter .4s var(--ease); } .answer .notice { flex-wrap: wrap; }
.md { font: 400 16px/1.6 var(--book); display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); } .md p { white-space: pre-line; } .md h3 { font: 700 21px/1.2 var(--book); margin-top: 4px; } .md h4 { font: 700 17px/1.25 var(--book); } .md ul, .md ol { display: grid; gap: 6px; padding-left: 22px; list-style: disc; } .md ol { list-style: decimal; } .md li > ul, .md li > ol { margin-top: 6px; } .md a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; } .md code { font: 500 14px/1.4 Consolas, ui-monospace, monospace; background: var(--hover); padding: 1px 5px; border-radius: 4px; } .md pre { overflow-x: auto; padding: 12px 14px; border-radius: 9px; background: var(--hover); } .md pre code { background: none; padding: 0; white-space: pre; overflow-wrap: normal; } .md blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--ink-2); display: grid; gap: 8px; } .md hr { border: 0; border-top: 1px solid var(--line-2); width: 100%; } .md table { font: 400 14.5px/1.4 var(--font); } .md th, .md td { padding: 6px 10px; }
.sources { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 12px; } .sources a { padding: 2px 9px 1px; border-radius: 6px; background: var(--hover); color: var(--ink-2); font: 500 13px/20px var(--display); } .sources a:hover { color: var(--accent); } .doing { display: flex; gap: 10px; align-items: center; font: 500 14px/1.3 var(--display); color: var(--ink-3); padding: 8px 0 4px; } .doing i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.1s infinite; flex: none; }
.composer { display: flex; gap: 8px; align-items: flex-end; padding-top: 12px; border-top: 1px solid var(--line); } .composer textarea { resize: none; field-sizing: content; min-height: 42px; max-height: 190px; line-height: 1.45; padding-block: 10px; } .composer .send { width: 44px; height: 42px; padding: 0; flex: none; display: inline-grid; place-items: center; border-radius: 9px; } .hello-claude, .connect { display: grid; gap: 12px; justify-items: start; padding: 6px 0; } .hello-claude h3, .connect h3 { font-size: 24px; line-height: 1.15; } .starters { display: flex; flex-wrap: wrap; gap: 8px; } .connect > .icon { width: 38px; height: 38px; color: var(--accent); stroke-width: 1.4; } .connect .btn { white-space: normal; min-height: 42px; }

/* ============ Entrada com senha ============ */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; } .login form { width: min(350px, 100%); display: grid; gap: 14px; } .login img { width: 62px; height: 62px; } .login h1 { font-size: 32px; }

/* ============ Telas médias ============ */
@media (max-width: 1240px) {
  .w-financas, .w-saude, .w-metas { grid-column: span 12; } .w-agenda, .w-produtividade, .w-leitura, .w-habitos { grid-column: span 6; } .s8, .s7, .s5 { grid-column: span 12; } .s4 { grid-column: span 6; }
  .diet-top { grid-template-columns: 200px minmax(0, 1fr); } .water { grid-column: span 2; border: 0; padding: 0; } .day-split, .journal { grid-template-columns: minmax(0, 1fr); } .book { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 1240px) { .tuner { grid-template-columns: minmax(0, 1fr) 210px; } .tuner .scale span { transform: translateX(calc(var(--p) * -1%)); } .tuner .scale span:not(.on) { opacity: 0; } .fc-days > li { grid-template-columns: 84px 44px 40px 36px minmax(50px, 1fr) 36px; } }
@media (min-width: 681px) and (max-width: 1240px) { .grid > .tips { grid-column: span 12; } .tips > ul { max-width: calc(100% - 150px); } .tips > .art { position: absolute; right: 26px; bottom: 20px; margin: 0; } }
@media (min-width: 1021px) { .news-seg { display: none; } }
@media (max-width: 1020px) { .news-seg { margin-top: 14px; } .news-grid { grid-template-columns: minmax(0, 1fr); } .news-grid.ver-jornal > .talk, .news-grid.ver-conversa > .jornal { display: none; } .talk { position: static; height: auto; min-height: 0; animation: none; } .talk-log { overflow: visible; } .answer.coming { min-height: 58dvh; } .composer { position: sticky; bottom: 0; z-index: 3; margin: 0 -20px -20px; padding: 12px 20px 18px; border-radius: 0 0 16px 16px; background: var(--surface); }
  .main { padding: 22px 22px 64px; } .fin-hero { grid-template-columns: minmax(0, 1fr); } .habit-grid { grid-template-columns: minmax(120px, 1fr) repeat(7, 38px) 70px 34px; } .habit-grid .p30 { display: none; } }

/* ============ Celular ============ */
@media (max-width: 680px) {
  body { font-size: 15px; } input, select, textarea, .input, .field input, .field select, .field textarea { font-size: 16px; } .app { display: block; } .side { display: none; }
  .topbar { display: flex; align-items: center; gap: 4px; position: sticky; top: 0; z-index: 20; padding: calc(6px + env(safe-area-inset-top)) 10px 6px 14px; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(16px) saturate(1.4); } .topbar .brand { padding: 0; margin-right: auto; gap: 11px; height: 44px; } .topbar .brand img { width: 32px; height: 32px; } .topbar .icon-btn { width: 42px; height: 42px; } .topbar .timer-pill { padding: 0 11px 0 6px; gap: 4px; height: 34px; font-size: 15px; }
  .tabbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: #110b08; color: #c4ae98; box-shadow: 0 -1px 0 rgba(255, 214, 170, .1), 0 -14px 34px rgba(0, 0, 0, .3); } .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font: 500 12px/1 var(--display); } .tabbar .icon { width: 23px; height: 23px; transition: transform .3s var(--spring); } .tabbar [aria-current] { color: #ffb37a; } .tabbar [aria-current] .icon { transform: translateY(-2px) scale(1.12); } .tabbar .add { place-self: center; width: 54px; height: 54px; margin-top: -18px; padding: 0; place-items: center; border-radius: 50%; background: #ff9052; color: #2a1004; box-shadow: 0 0 0 5px #110b08, 0 0 26px rgba(255, 130, 60, .5); } .tabbar .add:active { transform: scale(.92); }
  .main { padding: 14px 16px calc(110px + env(safe-area-inset-bottom)); } .head { margin-bottom: 18px; gap: 10px 10px; } .head .tile { width: 44px; height: 44px; border-radius: 12px; } .head .tile .icon { width: 23px; height: 23px; } .head h1 { font-size: 28px; } .head > div:nth-child(2) { flex: 1 1 40%; min-width: 0; } .head .tools { display: contents; } .head .tools > * { order: 2; } .head .tools > .btn.primary, .head .tools > .icon-btn { order: 1; } .head:has(.tools > :not(.primary, .icon-btn))::after { content: ""; order: 1; flex-basis: 100%; } .head .tools > .btn.primary:has(.icon) { font-size: 0; gap: 0; width: 44px; padding: 0; } .head .tools > .btn.primary .icon { width: 20px; height: 20px; } .head .tools > .ghost { padding-inline: 4px; }
  .btn { min-height: 42px; } .btn.s { min-height: 36px; } .icon-btn.s { width: 38px; height: 38px; } .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; } .chip { flex: none; min-height: 38px; } .tabs { display: flex; margin-inline: -16px; width: calc(100% + 32px); max-width: none; border-radius: 0; padding-inline: 12px; } .seg button, .seg a { min-height: 36px; padding: 2px 11px 0; }
  .card { padding: 16px; } .card.flush > .card-head { padding: 14px 16px 0; } .list.pad > li, .list.pad > .li, .group-label { padding-inline: 16px; } th:first-child, td:first-child { padding-left: 16px; } th:last-child, td:last-child { padding-right: 16px; } .meal-head, .px { padding-inline: 16px; } .task { gap: 10px; padding: 10px 6px 10px 16px; } .task .title .clip { white-space: normal; } .task .meta { gap: 3px 10px; }
  .widgets, .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .widgets > *, .grid > * { grid-column: auto !important; } .fin { grid-template-columns: minmax(0, 1fr); } .hero { font-size: 44px; } .hero.m { font-size: 32px; }
  .scene { height: 288px; margin-inline: -16px; border-radius: 0 0 22px 22px; margin-top: -14px; } .scene .hello { left: 18px; right: 0; top: 18px; } .scene h1 { font-size: 35px; } .quickbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 18px; } .quickbar button { flex: none; } .scene .blk { font-size: 0; padding: 0; } .scene .tick:nth-child(even) { display: none; } .scene .hills { bottom: 50px; } .phrases { padding: 14px 4px 0; }
  .dials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-inline: -8px; } .w-mostradores .dial:nth-child(n+5) { display: none; } .reading-now { grid-template-columns: 96px minmax(0, 1fr); }
  dialog, dialog.s, dialog.l { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92dvh; } dialog[open] { animation: up .34s var(--ease); } @keyframes up { from { transform: translateY(90px); opacity: 0; } } .dlg-head { padding-left: 18px; } .dlg-body { padding-inline: 18px; } .dlg-body > .third, .dlg-body > .two { grid-column: span 3; } .dlg-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); } .palette { width: 100vw; max-width: 100vw; margin: 0 !important; border-radius: 0 0 20px 20px !important; max-height: 80dvh; } #toasts { inset: auto 12px calc(92px + env(safe-area-inset-bottom)) 12px; justify-items: stretch; }
  .bank-card > header { flex-wrap: wrap; gap: 8px 12px; padding: 14px 16px; } .bank-card > header h3 { flex: 1 1 110px; } .bank-card .sum { order: 1; flex-basis: 100%; font-size: 28px; } .bank-card .flow { padding-inline: 16px; }
  .page:has(.ver-conversa) .radio { display: none; } .composer { bottom: calc(62px + env(safe-area-inset-bottom)); margin: 0 -16px -16px; padding: 10px 16px 24px; } .news-grid { margin-top: 12px; } .jornal { padding: 18px 16px 22px; } .masthead h2 { font-size: 28px; } .jornal .lead h3 { font-size: 23px; } .radio { padding: 10px; } .tuner { grid-template-columns: minmax(0, 1fr); height: auto; } .tuner .scale { height: 46px; } .tuner .scale span { top: 8px; } .tuner .lcd { padding: 9px 14px; } .presets { grid-auto-columns: 82px; } .answer.card { padding: 14px 16px 8px; } .fc-days > li { grid-template-columns: 74px 40px 36px 32px minmax(30px, 1fr) 32px; gap: 7px; } .scene .slot .art { width: 24px; } .scene .slot:nth-child(even) { display: none; } .scene .slot b { font-size: 14px; }
  .report > section { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 15px 0; } .cal .day { min-height: 60px; padding: 4px 2px; justify-items: center; } .cal .day .ev { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: var(--c); font-size: 0; } .cal .day .ev time { font-size: 0; } .cal .day .evs { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; } .cal .day .more { display: none; } .cal .day.sel { background: color-mix(in srgb, var(--accent) 16%, transparent); } .cal .wd { padding: 10px 0; text-align: center; }
  .diet-top { grid-template-columns: minmax(0, 1fr); justify-items: center; } .diet-top > * { width: 100%; } .diet-top > .dial { width: 230px; } .water { grid-column: auto; } .sug { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px; } .sug > select:first-of-type { grid-column: 1 / -1; } .sug .kc { grid-column: 1 / 3; text-align: left !important; }
  .habit-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 6px 16px 10px; } .habit-grid .name { grid-column: 1 / -1; min-height: 40px; padding-top: 6px; } .habit-grid .hide-m { display: none; } .habit-grid .line:first-of-type { display: none; } .habit-grid .h { min-height: 30px; } .habit-grid > .corner { display: none; }
  .timer-face .clock { font-size: 72px; padding-inline: 20px; } .hide-m { display: none !important; } .journal textarea.page-text { min-height: 190px; } .shelf { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 22px 14px; } .book { grid-template-columns: minmax(0, 1fr); } .book .left { position: static; grid-template-columns: 130px minmax(0, 1fr); align-items: start; } .book h1 { font-size: 32px; }
}
@media (min-width: 681px) { .only-m { display: none !important; } .cal .day .evs { display: grid; gap: 3px; min-width: 0; } }
::view-transition-group(main) { animation-duration: .28s; } ::view-transition-old(main) { animation: vt-out .16s ease-in both; } ::view-transition-new(main) { animation: none; } ::view-transition-old(root), ::view-transition-new(root) { animation: none; } @keyframes vt-out { to { opacity: 0; transform: translateX(-14px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }
@media print { .side, .topbar, .tabbar, .tools, #toasts, .quickbar { display: none !important; } .app { display: block; } .card { break-inside: avoid; } }
/* Investimentos dentro do cadastro do banco */
.form-sep { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid var(--line); } .inv-rows { display: grid; gap: 10px; } .inv-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 12px; background: var(--sunk); box-shadow: var(--well); } .inv-row > * { grid-column: span 6; } .inv-row > .half { grid-column: span 3; } .inv-row > .third { grid-column: span 2; } .inv-row > .two { grid-column: span 4; } .inv-row .field input, .inv-row .field select { background: var(--surface); }
@media (max-width: 520px) { .inv-row > .third { grid-column: span 3; } .inv-row > .two { grid-column: span 6; } }
/* Visão geral das finanças: um bloco por banco, com contas e investimentos */
.bank-board { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); align-items: start; } .bank-sum { display: grid; gap: 10px; padding: 11px 14px 12px 11px; border-radius: 12px; background: var(--raised); box-shadow: inset 3px 0 0 var(--b); transition: transform .25s var(--spring); min-width: 0; } .bank-sum:hover { transform: translateY(-2px); } .bank-sum .top { display: flex; align-items: center; gap: 10px; min-width: 0; } .bank-sum .items { display: grid; gap: 8px; padding-left: 4px; } .bank-sum .item { display: flex; gap: 12px; align-items: baseline; min-width: 0; font-size: 14px; } .bank-sum small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; } .bank-sum .amount { text-align: right; white-space: nowrap; }
