/* Layout: coluna única (máx. 640px) sobre fundo off-white quente. Saudação em dois tons, dois blocos de resumo
   (progresso do dia e próxima tarefa), cartão "Descarregar tudo", faixa de dias em pílulas, tarefas em cartões brancos.
   Visual claro de propósito (tema único): calma, muito respiro, sombras quase invisíveis, um acento laranja suave. */
:root{
  --bg:#F4F3F0; --surface:#FFFFFF; --sunk:#EDECE8; --line:#E7E5E0; --line-soft:#F0EEEA;
  --ink:#1F1F1D; --ink-2:#3A3936; --muted:#8B8984; --faint:#B5B2AC; --on-ink:#FFFFFF;
  --accent:#E8845B; --accent-soft:#FBEBE3;
  --mint:#E4F0E8; --mint-ink:#4F7A62; --lav:#ECE9F7; --lav-ink:#6E62A8; --peach:#FBEBE2; --peach-ink:#B5643F;
  --butter:#F7F0DC; --butter-ink:#9A7426; --sky:#E5EEF6; --sky-ink:#4F7194;
  --urg:#C9663F; --urg-soft:#FBEAE2; --imp:#A07A2C; --imp-soft:#F6EFDB; --nor:#8B8984; --nor-soft:#EDECE8;
  --idea:#6E62A8; --idea-soft:#ECE9F7;
  --shadow:0 1px 2px rgba(31,31,29,.04),0 6px 20px rgba(31,31,29,.05);
  --shadow-lift:0 10px 30px rgba(31,31,29,.10);
  --r-lg:26px; --r-md:20px; --r-sm:14px;
  --f-body:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:15px/1.5 var(--f-body);-webkit-font-smoothing:antialiased;letter-spacing:-.005em}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.wrap{max-width:640px;margin:0 auto;padding-inline:20px;padding-block:calc(env(safe-area-inset-top,0px) + 22px) 150px}

/* ---------- login ---------- */
.auth{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding-inline:20px;padding-block:28px}
.auth-card{width:min(400px,100%);display:flex;flex-direction:column;gap:22px}
.auth-brand{display:flex;flex-direction:column;gap:28px;padding:26px 24px 30px;border-radius:var(--r-lg);background:linear-gradient(160deg,var(--mint) 0%,var(--lav) 100%)}
.wordmark{display:flex;align-items:center;gap:12px}
.wordmark img{border-radius:14px;flex:none}
.wordmark span{font-weight:700;font-size:38px;line-height:1;letter-spacing:-.05em;color:var(--ink);display:inline-flex;align-items:flex-end}
.wordmark span i{width:9px;height:9px;border-radius:50%;background:var(--accent);margin:0 0 6px 3px;flex:none}
.auth-brand h1{font-weight:600;font-size:26px;line-height:1.15;letter-spacing:-.025em;margin:0;text-wrap:balance}
.auth-brand h1 span{color:var(--muted);font-weight:500}
.auth-tabs{align-self:stretch}
.auth-tabs button{flex:1}
.form-error{margin:0;color:var(--urg);font-size:14px}
.fine{font-size:12.5px;color:var(--muted);text-align:center;margin:0;text-wrap:balance}
.fine.credit{font-weight:600;letter-spacing:.01em;color:var(--faint)}

/* ---------- topo ---------- */
header.top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.greet small{display:block;font-size:13px;color:var(--muted);font-weight:500;margin-bottom:6px}
.greet h1{font-weight:600;font-size:32px;line-height:1.05;letter-spacing:-.03em;margin:0}
.greet h1 span{display:block;color:var(--faint);font-weight:500}
.top-actions{display:flex;gap:8px;padding-top:4px}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;color:var(--ink-2)}
.icon-btn.dark{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.icon-btn svg{width:19px;height:19px}

/* ---------- resumo (conceito do widget) ---------- */
.today-card{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{background:var(--surface);border-radius:var(--r-md);padding:16px 16px 14px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px;min-width:0}
.tile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.tile-label{font-size:13px;color:var(--ink-2);font-weight:600;line-height:1.3}
.tile-label span{display:block;color:var(--muted);font-weight:500}
.tile-big{font-weight:300;font-size:34px;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.tile-big small{font-size:18px;color:var(--faint);font-weight:400;letter-spacing:0}
.tile-sub{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:-6px}
/* quadro da direita: arraste para o lado para ver o painel */
.tile-carousel{padding:0;gap:0;position:relative;overflow:hidden}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;flex:1}
.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:16px 16px 24px;display:flex;flex-direction:column;gap:12px}
.dots{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;gap:4px;pointer-events:none}
.dots i{width:5px;height:5px;border-radius:50%;background:var(--sunk);transition:background .2s,width .2s}
.dots i.on{background:var(--ink-2);width:12px;border-radius:3px}
.slide[data-go]{cursor:pointer}
.ring{width:34px;height:34px;flex:none}
.ring circle{fill:none;stroke-width:4}
.ring .bg{stroke:var(--sunk)} .ring .fg{stroke:var(--ink);stroke-linecap:round;transition:stroke-dashoffset .6s ease}
.tag-accent{display:inline-flex;align-items:center;font-size:11.5px;font-weight:600;color:var(--on-ink);background:var(--accent);padding:3px 9px;border-radius:999px;white-space:nowrap}

/* ---------- Descarregar tudo (ação principal) ---------- */
.unload{margin-top:10px;width:100%;display:flex;align-items:center;gap:14px;padding:18px 16px 18px 20px;border:0;border-radius:var(--r-md);background:var(--ink);box-shadow:var(--shadow-lift);text-align:left;color:var(--on-ink)}
.unload-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.unload-text strong{font-weight:600;font-size:18px;letter-spacing:-.02em}
.unload-text span{font-size:14px;color:rgba(255,255,255,.66)}
.unload-icon{width:52px;height:52px;border-radius:50%;background:var(--on-ink);color:var(--ink);display:grid;place-items:center;flex:none;order:2}
.unload-icon svg{width:22px;height:22px}
.unload-arrow{display:none}
.unload:active{transform:scale(.99)}
.unload.locked .unload-icon{background:rgba(255,255,255,.14);color:rgba(255,255,255,.6)}
.soon-tag{white-space:nowrap;display:inline-block;font-style:normal;font-size:11px;font-weight:600;color:var(--peach-ink);background:var(--peach);padding:2px 8px;border-radius:999px;vertical-align:3px;margin-left:4px;letter-spacing:0}
.one-by-one{margin-top:8px;width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px dashed var(--line);border-radius:var(--r-md);background:transparent;text-align:left;font-size:14px;color:var(--muted)}
.one-by-one strong{color:var(--ink);font-weight:600;margin-right:2px}
.obo-icon{width:30px;height:30px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow);display:grid;place-items:center;flex:none;color:var(--ink)}
.obo-icon svg{width:15px;height:15px}
.soon-text{margin:0 0 14px;color:var(--ink-2);font-size:15px;line-height:1.55}
.link-box{display:flex;gap:8px;align-items:center;margin-top:10px}
.link-box code{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink)}

.banner{margin-top:10px;padding:12px 16px;border-radius:var(--r-sm);background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:14px;flex-wrap:wrap;color:var(--ink-2)}
.banner button{border:0;background:none;color:var(--ink);font-weight:700;padding:2px 0}
.banner .muted{color:var(--muted);font-weight:500}
.banner-actions{display:flex;gap:16px}

/* ---------- faixa de dias ---------- */
.section-title{display:flex;justify-content:space-between;align-items:baseline;margin:30px 0 12px}
.section-title h2{font-size:18px;font-weight:600;letter-spacing:-.02em;margin:0}
.section-title span{font-size:13px;color:var(--muted)}
.days{display:grid;grid-auto-flow:column;grid-auto-columns:54px;gap:8px;overflow-x:auto;margin:0 -20px;padding:2px 20px 6px;scrollbar-width:none}
.days::-webkit-scrollbar{display:none}
.day{border:0;background:transparent;border-radius:999px;padding:10px 0 8px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--ink-2)}
.day small{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:500}
.day strong{font-weight:600;font-size:17px;line-height:1.1;font-variant-numeric:tabular-nums}
.day i{width:5px;height:5px;border-radius:50%;background:transparent}
.day.has i{background:var(--faint)}
.day.urgent i{background:var(--accent)}
.day.today{background:var(--surface);box-shadow:var(--shadow)}
.day.past{color:var(--muted)} .day.past.has i{background:var(--urg)} .day.past.on{color:var(--on-ink)}
.day.on{background:var(--accent);color:var(--on-ink);box-shadow:0 6px 16px -6px rgba(232,132,91,.55)} .day.on small{color:rgba(255,255,255,.8)} .day.on.has i,.day.on.urgent i{background:var(--on-ink)}

/* ---------- controles ---------- */
.controls{display:flex;flex-direction:column;gap:12px;margin:22px 0 4px}
.seg{display:inline-flex;gap:4px;background:transparent;padding:0;align-self:flex-start;max-width:100%;overflow-x:auto;scrollbar-width:none}
.seg button{border:0;background:var(--surface);padding:8px 16px;border-radius:999px;font-weight:500;color:var(--muted);font-size:14px;white-space:nowrap;box-shadow:var(--shadow)}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--on-ink)}
.chips{display:flex;gap:6px;overflow-x:auto;margin:0 -20px;padding:0 20px 2px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{border:1px solid var(--line);background:transparent;border-radius:999px;padding:6px 12px 6px 10px;font-size:13px;display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);white-space:nowrap;flex:none}
.chip .dot{width:7px;height:7px;border-radius:50%}
.chip .at{color:var(--muted);font-weight:600}
.chip[aria-pressed="true"]{border-color:var(--ink);background:var(--ink);color:var(--on-ink)} .chip[aria-pressed="true"] .at{color:rgba(255,255,255,.7)}

/* ---------- grupos e tarefas ---------- */
.group{margin-top:26px}
.group h2,.group-toggle{display:flex;align-items:baseline;gap:8px;font-size:17px;font-weight:600;letter-spacing:-.02em;color:var(--ink);margin:0 0 10px;padding:0 2px}
.group h2 .sub,.group-toggle .sub{font-size:13px;letter-spacing:0;font-weight:500;color:var(--muted)}
.group h2 .n,.group-toggle .n{margin-left:auto;font-size:13px;letter-spacing:0;font-variant-numeric:tabular-nums;color:var(--muted);font-weight:500}
.group h2 .gdot,.group-toggle .gdot{width:8px;height:8px;border-radius:50%;display:inline-block;align-self:center}
.group-toggle{width:100%;border:0;background:none;text-align:left;cursor:pointer}
.group-toggle .chev{width:16px;height:16px;color:var(--muted);align-self:center;transition:transform .2s}
.group.collapsed .group-toggle .chev{transform:rotate(-90deg)}
.group.collapsed .group-toggle{color:var(--ink-2)}
.group.late h2,.group.late .group-toggle{color:var(--urg)}
.list{display:flex;flex-direction:column;gap:8px}
.task{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px 14px 14px 12px;background:var(--surface);border-radius:var(--r-sm);box-shadow:var(--shadow)}
.check{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line);background:var(--bg);display:grid;place-items:center;padding:0;flex:none}
.check svg{width:13px;height:13px;opacity:0;color:var(--on-ink)}
.check:hover{border-color:var(--ink-2)}
.task.p-urgente .check{border-color:var(--accent)}
.task.done{background:transparent;box-shadow:none;border:1px solid var(--line-soft)}
.task.done .check{background:var(--ink);border-color:var(--ink)} .task.done .check svg{opacity:1}
.task.done .t-title{text-decoration:line-through;color:var(--faint)}
.task.idea .check{border-style:dashed;border-color:var(--lav-ink);background:var(--lav)}
.t-body{min-width:0;cursor:pointer;background:none;border:0;text-align:left;padding:0}
.t-title{font-weight:600;font-size:15px;overflow-wrap:anywhere;letter-spacing:-.01em}
.t-meta{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:3px;font-size:12.5px;color:var(--muted);align-items:center}
.t-meta span{display:inline-flex;align-items:center;gap:5px}
.t-meta .dot{width:6px;height:6px;border-radius:50%}
.t-meta .person{color:var(--ink-2);font-weight:600}
.t-meta .soon{color:var(--urg);font-weight:600}
.t-meta svg{width:12px;height:12px}
.prio{font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px;white-space:nowrap}
.prio.urgente{background:var(--accent);color:var(--on-ink)}
.prio.importante{background:var(--butter);color:var(--butter-ink)}
.prio.idea{background:var(--lav);color:var(--lav-ink)}
.empty{text-align:center;padding:40px 20px;color:var(--muted);background:var(--surface);border-radius:var(--r-md);box-shadow:var(--shadow);margin-top:26px}
.empty h3{font-weight:600;font-size:20px;letter-spacing:-.02em;color:var(--ink);margin:0 0 6px}
.empty p{margin:0}
.calm-note{margin:26px 2px 0;font-size:13px;color:var(--muted);text-align:center}
.link-toggle{margin-top:26px;border:0;background:none;color:var(--muted);font-size:14px;font-weight:500;display:flex;align-items:center;gap:6px;padding:4px 2px}

/* ---------- dock ---------- */
.dock{position:fixed;left:0;right:0;bottom:0;padding:0 20px calc(env(safe-area-inset-bottom,0px) + 18px);display:flex;justify-content:center;pointer-events:none;background:linear-gradient(to top,var(--bg) 50%,rgba(244,243,240,0))}
.mic{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;height:54px;padding:0 26px 0 20px;border-radius:999px;border:0;background:var(--ink);color:var(--on-ink);font-weight:600;font-size:15px;box-shadow:var(--shadow-lift);margin-top:28px}
.mic svg{width:19px;height:19px}

/* ---------- sheets ---------- */
.scrim{position:fixed;inset:0;background:rgba(31,31,29,.22);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:20;opacity:0;transition:opacity .2s}
.scrim.show{opacity:1}
.sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,100%);width:min(640px,100%);max-height:92vh;max-height:92dvh;background:var(--bg);border-radius:30px 30px 0 0;z-index:21;display:flex;flex-direction:column;transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:var(--shadow-lift)}
.sheet::before{content:"";width:40px;height:4px;border-radius:2px;background:var(--line);margin:10px auto 0;flex:none}
.sheet.show{transform:translate(-50%,0)}
.sheet-head{padding:12px 22px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet-head h3{font-weight:600;font-size:21px;margin:0;letter-spacing:-.02em}
.sheet-body{padding:4px 22px calc(env(safe-area-inset-bottom,0px) + 18px);overflow-y:auto;flex:1;min-height:0}
.sheet-foot{padding:12px 22px calc(env(safe-area-inset-bottom,0px) + 18px);display:flex;gap:10px}
.btn{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:12px 20px;font-weight:600;font-size:15px;color:var(--ink)}
.btn.primary{background:var(--ink);border-color:var(--ink);color:var(--on-ink);flex:1}
.btn.danger{color:var(--urg)}
.btn.small{padding:7px 14px;font-size:13.5px}
.btn:disabled{opacity:.4;cursor:default}
.close{border:0;background:var(--surface);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--ink-2);box-shadow:var(--shadow)}
.close svg{width:15px;height:15px}
.tip{font-size:13px;color:var(--muted);margin:16px 2px 0}
.inline-link{border:0;background:none;padding:0;color:var(--ink);font-weight:600;font-size:inherit;text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}

/* ---------- formulário ---------- */
.form{display:flex;flex-direction:column;gap:16px}
.form label,.flabel{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);font-weight:500}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.input{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm);padding:12px 14px;font-size:15px;width:100%;min-width:0;color:var(--ink)}
.input:focus{outline:none;border-color:var(--ink-2)}
.pick{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.pick.two{grid-template-columns:1fr 1fr}
.pick button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:10px 4px;font-weight:600;font-size:14px;color:var(--muted)}
.pick button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.pick button[aria-pressed="true"][data-v="urgente"]{background:var(--accent);border-color:var(--accent)}
.pick button[aria-pressed="true"][data-v="importante"]{background:var(--butter);border-color:var(--butter);color:var(--butter-ink)}
.pick button[aria-pressed="true"][data-v="idea"]{background:var(--lav);border-color:var(--lav);color:var(--lav-ink)}
.tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm);padding:7px 9px}
.tags input{border:0;background:none;flex:1;min-width:110px;padding:4px;font-size:15px;outline:none}
.tag{display:inline-flex;align-items:center;gap:4px;background:var(--sunk);color:var(--ink);border-radius:999px;padding:3px 6px 3px 11px;font-size:13px;font-weight:600}
.tag button{border:0;background:none;padding:0 3px;color:var(--muted);font-size:15px;line-height:1}
.suggest{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.suggest button{border:1px dashed var(--line);background:none;border-radius:999px;padding:3px 11px;font-size:12.5px;color:var(--muted)}
.setting{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:var(--surface);border-radius:var(--r-sm);margin-bottom:8px;flex-wrap:wrap}
.setting p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.setting.col{flex-direction:column;align-items:stretch}
.field{border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 12px;font-size:13.5px;min-width:0}
.theme-row{display:flex;align-items:center;gap:8px;padding:4px 0}
.theme-row input[type=color]{width:30px;height:30px;border:0;padding:0;background:none;border-radius:50%;flex:none}
.rm{border:0;background:none;color:var(--faint);padding:4px;display:grid;place-items:center}
.rm svg{width:16px;height:16px}

/* ---------- nova tarefa ---------- */
.quick-listen{display:flex;align-items:center;gap:16px;padding:6px 0 16px}
.quick-status{min-width:0;flex:1}
.quick-hint{margin:0;color:var(--muted);font-size:14px}
.quick-live{margin:4px 0 0;font-weight:500;font-size:18px;line-height:1.35;min-height:1.35em;overflow-wrap:anywhere;letter-spacing:-.01em}
.quick-type{display:flex;gap:8px}
.quick-card{margin-top:16px;border-radius:var(--r-md);padding:16px;background:var(--mint);display:flex;flex-direction:column;gap:8px}
.quick-card .qc-head{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--mint-ink);font-weight:600}
.quick-card .qc-head svg{width:16px;height:16px}
.quick-card .qc-title{font-weight:600;font-size:17px;letter-spacing:-.01em}
.quick-card .t-meta{color:var(--ink-2)}
.quick-card .qc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.working{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;margin-top:16px}

/* ---------- microfone ---------- */
.orb{border:0;background:var(--ink);color:var(--on-ink);display:grid;place-items:center;position:relative;border-radius:50%;flex:none;box-shadow:var(--shadow-lift)}
.orb.small{width:62px;height:62px} .orb.small svg{width:24px;height:24px}
.orb.big{width:116px;height:116px;margin-top:40px} .orb.big svg{width:40px;height:40px}
.orb.tiny{width:44px;height:44px;box-shadow:none} .orb.tiny svg{width:18px;height:18px}
.orb.on{background:var(--accent)}
.orb.on::after{content:"";position:absolute;inset:-12px;border-radius:50%;border:2px solid var(--accent);animation:pulse 1.8s ease-out infinite}
@keyframes pulse{from{opacity:.7;transform:scale(.9)}to{opacity:0;transform:scale(1.25)}}

/* ---------- Descarregar tudo (tela própria) ---------- */
.dump{position:fixed;inset:0;z-index:40;background:var(--bg);color:var(--ink);display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 12px) 0 0}
.dump-top{display:flex;justify-content:space-between;align-items:center;padding:4px 20px;max-width:680px;width:100%;margin:0 auto}
.dump-cancel{border:0;background:var(--surface);color:var(--ink-2);font-weight:600;font-size:14px;padding:8px 16px;border-radius:999px;box-shadow:var(--shadow)}
.rec-pill{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--peach-ink);font-weight:600;background:var(--peach);padding:6px 12px;border-radius:999px}
.rec-pill i{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:blink 1.4s infinite}
@keyframes blink{50%{opacity:.25}}
.dump-stage{flex:1;min-height:0;display:flex;flex-direction:column;max-width:680px;width:100%;margin:0 auto;padding-inline:20px}
.dump-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-block:16px;min-height:0}
.dump-title{font-weight:600;font-size:clamp(36px,9vw,54px);line-height:1.02;letter-spacing:-.04em;margin:0;text-wrap:balance}
.dump-title.small{font-size:clamp(24px,6vw,32px);margin-top:26px;letter-spacing:-.03em}
.dump-sub{font-size:18px;color:var(--muted);margin:14px 0 0;text-wrap:balance}
.dump-meter{width:min(300px,80%);height:54px;margin-top:30px;color:var(--ink);position:relative}
.dump-meter canvas{width:100%;height:100%;display:block}
.fake-wave{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px}
.fake-wave i{width:4px;height:20%;border-radius:3px;background:var(--ink);opacity:.7;animation:wave 1.2s ease-in-out infinite}
.fake-wave i:nth-child(2n){animation-delay:.15s}.fake-wave i:nth-child(3n){animation-delay:.3s}.fake-wave i:nth-child(4n){animation-delay:.45s}
@keyframes wave{50%{height:80%}}
.dump-timer{margin-top:12px;font-weight:300;font-size:28px;font-variant-numeric:tabular-nums;color:var(--ink-2);letter-spacing:-.02em}
.dump-transcript{max-height:28vh;overflow-y:auto;padding:14px 16px;font-size:16px;line-height:1.6;color:var(--muted);background:var(--surface);border-radius:var(--r-md);box-shadow:var(--shadow)}
.dump-transcript p{display:inline;margin:0;color:var(--ink)}
.interim{color:var(--faint)}
.dump-type{min-height:30vh;resize:none;font-size:17px;line-height:1.55;margin-bottom:8px;border-radius:var(--r-md);padding:16px 18px}
.dump-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 22px;padding:14px 0 calc(env(safe-area-inset-bottom,0px) + 22px);font-size:14px}
.big-btn{flex:1 1 100%;padding:16px;font-size:17px}
.thinking{display:flex;gap:8px}
.thinking i{width:11px;height:11px;border-radius:50%;background:var(--ink);animation:bounce 1.1s infinite ease-in-out}
.thinking i:nth-child(2){animation-delay:.15s;background:var(--ink-2)}.thinking i:nth-child(3){animation-delay:.3s;background:var(--accent)}
@keyframes bounce{0%,80%,100%{transform:scale(.6);opacity:.35}40%{transform:scale(1);opacity:1}}
.steps{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-direction:column;gap:9px;min-height:120px;text-align:left}
.steps li{display:flex;align-items:center;gap:10px;color:var(--faint);font-size:15px;transition:color .2s}
.steps li svg{width:16px;height:16px;opacity:0}
.steps li.on{color:var(--ink)}
.steps li.done{color:var(--muted)} .steps li.done svg{opacity:1;color:var(--mint-ink)}

/* resultado */
.result{padding-inline:0}
.result-scroll{flex:1;overflow-y:auto;padding:4px 20px 18px;min-height:0}
.r-head h2{font-weight:600;font-size:clamp(30px,7vw,40px);line-height:1.05;letter-spacing:-.035em;margin:12px 0 8px}
.r-summary{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.r-note{margin:14px 0 0;font-size:14px;color:var(--muted)}
.r-note.decide{color:var(--peach-ink);font-weight:600}
.r-section{margin-top:26px}
.r-section h3{font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin:0 0 10px;display:flex;align-items:center;gap:8px}
.r-section h3 .gdot{width:8px;height:8px;border-radius:50%}
.decision{background:var(--surface);border-radius:var(--r-md);padding:16px;margin-bottom:8px;box-shadow:var(--shadow)}
.decision.must{box-shadow:0 0 0 1.5px var(--accent),var(--shadow)}
.decision.flash{animation:flash .8s 2}
@keyframes flash{50%{box-shadow:0 0 0 4px var(--accent-soft)}}
.decision p{margin:0 0 4px;font-weight:600}
.decision .existing{font-size:14px;color:var(--muted);margin:0 0 12px;font-weight:400}
.decision .existing b{color:var(--ink);font-weight:600}
.opts{display:flex;flex-wrap:wrap;gap:6px}
.opts button{border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600;color:var(--ink-2)}
.opts button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.ritem{background:var(--surface);border-radius:var(--r-sm);margin-bottom:8px;overflow:hidden;box-shadow:var(--shadow)}
.r-section.tint-urg .ritem{background:var(--peach);box-shadow:none}
.r-section.tint-imp .ritem{background:var(--butter);box-shadow:none}
.r-section.tint-idea .ritem{background:var(--lav);box-shadow:none}
.r-section[class*="tint-"] .ritem .t-meta{color:var(--ink-2)}
.ritem.flash{animation:flash2 .9s 1}
@keyframes flash2{30%{box-shadow:0 0 0 4px var(--mint)}}
.ritem-row{display:flex;align-items:flex-start;gap:10px;padding:14px;width:100%;border:0;background:none;text-align:left}
.ritem-row .t-body{flex:1}
.ritem-row .chev{width:18px;height:18px;color:var(--muted);transition:transform .2s;margin-top:2px;flex:none}
.ritem.open .chev{transform:rotate(180deg)}
.ritem-edit{padding:6px 14px 16px;display:flex;flex-direction:column;gap:12px;background:var(--surface)}
.ritem-edit .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ritem-edit .actions{display:flex;justify-content:space-between;gap:8px}
.badge-match{font-size:11.5px;font-weight:600;color:var(--on-ink);background:var(--accent);padding:2px 8px;border-radius:999px}
.badge-upd{font-size:11.5px;font-weight:600;color:var(--mint-ink);background:var(--mint);padding:2px 8px;border-radius:999px}
.converse{padding:12px 20px calc(env(safe-area-inset-bottom,0px) + 16px);background:var(--bg);display:flex;flex-direction:column;gap:10px;box-shadow:0 -10px 24px rgba(244,243,240,.9)}
.converse-reply{margin:0;font-size:14px;color:var(--mint-ink);font-weight:500}
.converse-reply:empty{display:none}
.converse-bar{display:flex;gap:8px;align-items:center;background:var(--surface);border-radius:999px;padding:5px 6px 5px 5px;box-shadow:var(--shadow)}
.converse-bar .input{border:0;background:none;padding:8px 6px}
.result-actions{display:flex;gap:10px}
.confirm-del{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--ink-2)}

/* histórico */
.hist{background:var(--surface);border-radius:var(--r-sm);padding:14px 16px;margin-bottom:8px;box-shadow:var(--shadow)}
.hist-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;width:100%;border:0;background:none;padding:0;text-align:left}
.hist-head strong{font-weight:600}
.hist-head span{font-size:13px;color:var(--muted)}
.hist-body{margin-top:12px;font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:10px}
.hist-body blockquote{margin:0;padding:12px 14px;background:var(--bg);border-radius:var(--r-sm);color:var(--ink);line-height:1.55}
.hist-body ul{margin:0;padding-left:18px}

.pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:6px 12px;border-radius:999px;background:var(--surface);color:var(--muted);font-variant-numeric:tabular-nums;box-shadow:var(--shadow)}
.pill b{color:var(--ink);font-weight:600}
.toast{position:fixed;left:50%;bottom:94px;transform:translateX(-50%);background:var(--ink);color:var(--on-ink);padding:14px 18px 14px 20px;border-radius:18px;font-size:14px;line-height:1.4;z-index:60;box-shadow:var(--shadow-lift);width:min(440px,calc(100% - 32px));display:flex;gap:16px;align-items:center;justify-content:space-between}
.toast span{flex:1;min-width:0}
.toast button{border:0;background:none;color:#F6C9B4;font-weight:700;padding:2px 0;white-space:nowrap}

@media (max-width:400px){.form .row,.ritem-edit .row{grid-template-columns:1fr}.greet h1{font-size:28px}.tile-big{font-size:30px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.chip .chip-ico{width:13px;height:13px;color:var(--muted)}
.chip[aria-pressed="true"] .chip-ico{color:rgba(255,255,255,.75)}
.tile-big.until{font-size:28px;white-space:nowrap}

/* calendário do mês */
.st-right{display:flex;align-items:baseline;gap:12px}
.month-toggle{border:0;background:none;padding:0;font-size:13px;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}
.month{background:var(--surface);border-radius:var(--r-md);box-shadow:var(--shadow);padding:14px 12px 10px}
.month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.month-head div{text-align:center;display:flex;flex-direction:column}
.month-head strong{font-weight:600;font-size:16px;letter-spacing:-.01em}
.month-head small{font-size:12px;color:var(--muted)}
.icon-btn.small{width:34px;height:34px}
.icon-btn.small svg{width:16px;height:16px}
.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.month-grid em{font-style:normal;font-size:11px;color:var(--faint);text-align:center;font-weight:600;padding-bottom:4px}
.mday{border:0;background:none;border-radius:12px;aspect-ratio:1/1;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px;font-weight:500;color:var(--ink-2);font-variant-numeric:tabular-nums;position:relative}
.mday i{font-style:normal;font-size:10px;line-height:1;color:var(--muted);height:10px}
.mday.has::after{content:"";position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;background:var(--faint)}
.mday.has i{position:absolute;top:4px;right:6px}
.mday.urgent::after{background:var(--accent)}
.mday.past{color:var(--faint)}
.mday.today{background:var(--bg);color:var(--ink);font-weight:700}
.mday.on{background:var(--accent);color:var(--on-ink)} .mday.on::after{background:var(--on-ink)} .mday.on i{color:rgba(255,255,255,.7)}
.mic-help{flex:1 1 100%;margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2);background:var(--surface);border-radius:var(--r-sm);padding:12px 14px;box-shadow:var(--shadow);text-align:left}
.rollover-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.rollover-list li{display:flex;justify-content:space-between;gap:12px;align-items:baseline;background:var(--surface);border-radius:var(--r-sm);padding:11px 14px;box-shadow:var(--shadow)}
.rollover-list li span{font-weight:600;min-width:0;overflow-wrap:anywhere}
.rollover-list li small{color:var(--urg);font-size:12.5px;white-space:nowrap}
.rollover-pick{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.rollover-pick label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--ink-2);font-weight:600}
.rollover-list li.more{background:none;box-shadow:none;color:var(--muted);font-size:13px;padding:2px 14px}
.link-row{margin-top:10px}
.link-row>span{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:4px}
.link-row .link-box{margin-top:0}
.setting.col>*{min-width:0;max-width:100%}
.link-row,.link-box{min-width:0;max-width:100%}
.chip .n{font-size:11px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.chip[aria-pressed="true"] .n{color:rgba(255,255,255,.7)}
.chip .n{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--sunk);color:var(--ink-2);font-size:11px;margin-left:2px}
.chip[aria-pressed="true"] .n{background:rgba(255,255,255,.18);color:var(--on-ink)}
.day-chip .n{background:var(--accent-soft);color:var(--peach-ink);margin-left:6px}
.day-chip.zero{color:var(--faint)}
.day-chip[aria-pressed="true"] .n{background:var(--accent);color:var(--on-ink)}
.section-title{gap:10px}
.section-title h2,.st-right{white-space:nowrap}
.st-right{min-width:0} #days-hint{min-width:0;overflow:hidden;text-overflow:ellipsis} .month-toggle{flex:none}
.chips:empty{display:none}
.chips-empty{font-size:13px;color:var(--muted);padding:6px 2px}

/* ---------- login: esqueci a senha ---------- */
.auth-note{margin:0;font-size:14px;color:var(--ink-2);line-height:1.5}
.auth-forgot{align-self:center;font-size:14px;font-weight:500;color:var(--muted);margin-top:2px}

/* ---------- busca ---------- */
.sheet-tall{height:min(86vh,760px)}
.search-results{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.search-results h4{margin:10px 2px 2px;font-size:13px;font-weight:600;color:var(--muted)}
.search-row{display:flex;flex-direction:column;gap:3px;text-align:left;border:0;background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-sm);padding:12px 14px;color:var(--ink)}
.search-row .t-title{font-weight:600;font-size:15px}
.search-row.is-done .t-title{text-decoration:line-through;color:var(--muted)}
.search-hint{color:var(--muted);font-size:14px;margin:6px 2px}

/* ---------- painel do administrador ---------- */
.adm-note{color:var(--muted);font-size:13px;margin:4px 2px 10px;line-height:1.45}
.adm-h{margin:22px 2px 10px;font-size:15px;font-weight:600;letter-spacing:-.01em}
.adm-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.adm-card{background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-sm);padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0}
.adm-card span{font-size:12.5px;color:var(--ink-2);font-weight:600}
.adm-card strong{font-size:26px;font-weight:300;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.2}
.adm-card small{font-size:12px;color:var(--muted);line-height:1.35}
.adm-bar{display:grid;grid-template-columns:104px 1fr 44px;align-items:center;gap:10px;font-size:13px;margin:7px 2px;color:var(--ink-2)}
.adm-bar div{height:8px;border-radius:4px;background:var(--sunk);overflow:hidden}
.adm-bar i{display:block;height:100%;background:var(--accent);border-radius:4px}
.adm-bar b{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.adm-chart{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;height:110px;align-items:end;background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-sm);padding:12px 10px 8px}
.adm-col{display:flex;flex-direction:column;align-items:center;gap:4px;height:100%}
.adm-bars{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.adm-bars i{width:40%;border-radius:2px 2px 0 0;min-height:1px}
.adm-bars .c,.adm-legend .c{background:var(--ink-2)} .adm-bars .d,.adm-legend .d{background:var(--accent)}
.adm-col small{font-size:10px;color:var(--muted);text-transform:uppercase}
.adm-legend{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;margin:8px 2px}
.adm-legend i{width:9px;height:9px;border-radius:2px;display:inline-block;margin-left:6px}
.adm-reset{display:flex;gap:8px}
.adm-reset .input{flex:1}
#adm-reset-out{margin-top:10px}

/* ---------- minha conta ---------- */
.acc-head{display:flex;align-items:center;gap:14px;margin:4px 2px 16px}
.acc-head strong{font-size:17px;font-weight:600}
.acc-head p{margin:2px 0 0;color:var(--muted);font-size:13.5px;overflow-wrap:anywhere}
.acc-avatar{width:52px;height:52px;border-radius:50%;background:var(--accent);color:var(--on-ink);display:grid;place-items:center;font-size:22px;font-weight:600;flex:none}
.acc-card{background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-md);padding:18px 16px;display:flex;flex-direction:column;gap:10px;margin-bottom:8px}
.acc-card strong{font-size:16px;font-weight:600}
.acc-why{margin:0;color:var(--muted);font-size:13.5px;line-height:1.45}
.acc-ok{flex-direction:row;align-items:center;gap:12px}
.acc-ok > svg{width:34px;height:34px;padding:7px;border-radius:50%;background:var(--mint);color:var(--mint-ink);flex:none}
.acc-ok p{margin:2px 0 0;color:var(--muted);font-size:13.5px}
.acc-tabs{align-self:flex-start;margin-top:4px}
.acc-steps{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:2px;counter-reset:s}
.acc-steps li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;position:relative}
.acc-steps.animate li{animation:accIn .45s ease both;animation-delay:calc(var(--i) * 90ms)}
.acc-steps li:not(:last-child)::after{content:"";position:absolute;left:21px;top:54px;bottom:-6px;width:2px;background:var(--sunk);border-radius:1px}
.acc-step-icon{width:44px;height:44px;border-radius:13px;background:var(--bg);display:grid;place-items:center;flex:none;color:var(--ink);position:relative}
.acc-step-icon svg{width:22px;height:22px}
.acc-step-icon::before{counter-increment:s;content:counter(s);position:absolute;top:-5px;right:-5px;width:18px;height:18px;border-radius:50%;background:var(--accent);color:var(--on-ink);font-size:11px;font-weight:700;display:grid;place-items:center}
.acc-steps li:nth-child(2) .acc-step-icon{animation:accPulse 2.4s ease-in-out infinite 1s}
.acc-steps b{font-weight:600;font-size:14.5px}
.acc-steps p{margin:2px 0 0;color:var(--muted);font-size:13.5px;line-height:1.45}
@keyframes accIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes accPulse{0%,100%{box-shadow:0 0 0 0 rgba(232,132,91,0)}50%{box-shadow:0 0 0 6px rgba(232,132,91,.22)}}
.acc-steps.animate li{}
@media (prefers-reduced-motion:reduce){.acc-steps.animate li,.acc-steps li:nth-child(2) .acc-step-icon{animation:none}}
.acc-h{margin:22px 2px 8px;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.acc-list{background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-md);overflow:hidden}
.acc-row{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:none;padding:15px 16px;font-size:15px;color:var(--ink);text-align:left}
.acc-row + .acc-row,.acc-form + .acc-row{border-top:1px solid var(--line)}
a.acc-row{text-decoration:none;box-sizing:border-box}
.fine a{color:var(--ink-2)}
.acc-row svg{width:16px;height:16px;color:var(--faint);transition:transform .2s}
.acc-row.on svg{transform:rotate(90deg)}
.acc-row.danger{color:var(--urg)}
#acc-admin{background:var(--surface);box-shadow:var(--shadow);border-radius:var(--r-md);margin-bottom:8px}
.acc-form{display:flex;flex-direction:column;gap:10px;padding:0 16px 16px}
.acc-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--ink-2);font-weight:600}
.acc-form .btn{align-self:flex-start}
.acc-warn{margin:0;color:var(--urg);font-size:13.5px;line-height:1.45}
.danger-btn{background:var(--urg);color:#fff;border-color:var(--urg)}

/* ---------- login: código e Google ---------- */
.auth-code{font-size:24px;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums}
.auth-google{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:-6px}
.auth-or{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:10px;width:100%}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
#auth-google{min-height:44px;display:flex;justify-content:center}
