/* Mentor ND — visual de infográfico: grafite, gradientes vivos por tipo de tarefa, títulos finos em caixa alta.
   Corpo de texto continua em fonte de alta legibilidade. Modo baixo estímulo troca gradientes por cores chapadas. */
:root {
  --bg: #2a2c32;
  --surface: #34363e;
  --sunk: #23252a;
  --raised: #3d4049;
  --ink: #f1f2f5;
  --muted: #a3a7b3;
  --line: #474a55;
  --grid: #3b3e47;

  --pink-1: #ff2e7e; --pink-2: #b26bff;
  --cyan-1: #3ff3dc; --cyan-2: #3b82ff;
  --sun-1: #ffd23f;  --sun-2: #ff6a1a;
  --lime-1: #d4ff3a; --lime-2: #1fbf5a;

  --g-pink: linear-gradient(90deg, var(--pink-1), var(--pink-2));
  --g-cyan: linear-gradient(90deg, var(--cyan-1), var(--cyan-2));
  --g-sun: linear-gradient(90deg, var(--sun-1), var(--sun-2));
  --g-lime: linear-gradient(90deg, var(--lime-1), var(--lime-2));
  --g: var(--g-pink);

  --accent: #ff4f9a;
  --accent-2: #45c8ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 79, 154, .16);
  --warm: #ffb03a;
  --warm-soft: rgba(255, 176, 58, .14);
  --good: #7be38f;
  --good-soft: rgba(123, 227, 143, .13);
  --crit: #ff7a7a;
  --crit-soft: rgba(255, 122, 122, .14);
  --shadow: 0 16px 40px -22px rgba(0, 0, 0, .9);

  --f-title: "Raleway", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-lg: 18px;
  --r-md: 12px;
  --gap: 16px;
  font-size: 17px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #eceef3; --surface: #ffffff; --sunk: #e1e4ec; --raised: #f5f6fa; --ink: #22242b; --muted: #5d6170;
  --line: #cfd3de; --grid: #dde0e8;
  --pink-1: #e8186a; --pink-2: #8f45e6; --cyan-1: #0fb8a6; --cyan-2: #2563eb;
  --sun-1: #e8a400; --sun-2: #e8530a; --lime-1: #8cc20a; --lime-2: #13923f;
  --accent: #d6186a; --accent-2: #1f7ae0; --accent-soft: rgba(214, 24, 106, .1);
  --warm: #b86b00; --warm-soft: rgba(232, 164, 0, .14); --good: #1f8a3f; --good-soft: rgba(31, 138, 63, .12);
  --crit: #c0352f; --crit-soft: rgba(192, 53, 47, .1);
  --shadow: 0 14px 36px -24px rgba(30, 30, 60, .45);
  color-scheme: light;
}
:root[data-size="s"] { font-size: 15px; }
:root[data-size="l"] { font-size: 19.5px; }

/* paletas por tipo de tarefa */
.g-pink { --g: var(--g-pink); --c1: var(--pink-1); --c2: var(--pink-2); }
.g-cyan { --g: var(--g-cyan); --c1: var(--cyan-1); --c2: var(--cyan-2); }
.g-sun  { --g: var(--g-sun);  --c1: var(--sun-1);  --c2: var(--sun-2); }
.g-lime { --g: var(--g-lime); --c1: var(--lime-1); --c2: var(--lime-2); }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, .display { font-family: var(--f-title); font-weight: 500; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan-1); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* títulos finos em caixa alta, como no infográfico */
.title-thin {
  font-family: var(--f-title); font-weight: 200; text-transform: uppercase; letter-spacing: .08em; line-height: 1.15;
}

/* ---------- shell ---------- */
.app { max-width: 520px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.top {
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(18px, env(safe-area-inset-right, 0px)) 6px max(18px, env(safe-area-inset-left, 0px));
  display: grid; gap: 12px;
}
.hello { display: grid; gap: 2px; }
.hello h1 { font-size: 1.7rem; }
.hello .when { order: -1; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.status { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
.status::-webkit-scrollbar { display: none; }
main {
  flex: 1;
  padding: 8px max(18px, env(safe-area-inset-right, 0px)) 120px max(18px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: var(--gap);
}
main.solo { padding-top: calc(env(safe-area-inset-top, 0px) + 22px); padding-bottom: 40px; }
.page-title { font-size: 1.7rem; }

/* barra de status com mini-medidor (energia, tempo) */
.meterchip {
  display: grid; grid-template-columns: auto 64px; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--f-mono); font-size: .7rem; color: var(--ink);
  background: var(--sunk); border-radius: 999px; padding: 5px 10px 5px 12px; border: 0;
}
.meterchip .track { height: 7px; border-radius: 4px; background: var(--grid); overflow: hidden; }
.meterchip .track i { display: block; height: 100%; background: var(--g); border-radius: 4px; }
button.meterchip, button.pill { cursor: pointer; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  background: color-mix(in srgb, var(--sunk) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.nav-in { max-width: 560px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.nav button {
  background: none; border: 0; cursor: pointer; color: var(--muted);
  padding: 10px 2px 12px; display: grid; justify-items: center; gap: 3px; font-size: .68rem; letter-spacing: .02em; min-width: 0;
}
.nav svg { width: 24px; height: 24px; }
.nav button[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav button[aria-current="page"] svg { color: var(--accent); }
.nav-dot { width: 22px; height: 3px; border-radius: 2px; background: transparent; }
.nav button[aria-current="page"] .nav-dot { background: var(--g-pink); }

/* ---------- primitivos ---------- */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px;
  display: grid; gap: 12px;
}
/* contorno em gradiente, como os quadros “sample title” */
.card.focus, .qcard, .grad-border {
  border: 2.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--g) border-box;
  box-shadow: var(--shadow);
}
.card.soft { background: var(--sunk); }
.card.warm { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--g-sun) border-box; border: 2px solid transparent; }
.card.good { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--g-lime) border-box; border: 2px solid transparent; }
.eyebrow { font-family: var(--f-title); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow.grad, .grad-text { background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.q { font-family: var(--f-title); font-size: 1.45rem; font-weight: 500; line-height: 1.28; }
.big-step { font-family: var(--f-title); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 10px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* cartão de pergunta com selo numerado no topo */
.qcard { position: relative; margin-top: 30px; padding: 40px 18px 20px; display: grid; gap: 14px; border-radius: var(--r-lg); }
.badge {
  position: absolute; top: -27px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--g) border-box;
  font-family: var(--f-title); font-weight: 300; font-size: 1.3rem; color: var(--ink);
}
.badge::after { content: ""; position: absolute; bottom: -9px; left: 50%; width: 3px; height: 9px; transform: translateX(-50%); background: var(--c2, var(--pink-2)); }
.qcard .q { text-align: center; }
.qcard > .muted.small { text-align: center; }

.btn {
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 10px 18px; cursor: pointer; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--g); border: 0; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.btn.primary:hover { filter: brightness(1.08); }
/* gradientes claros (ciano, amarelo, lima) pedem texto escuro para manter contraste */
.g-cyan .btn.primary, .g-sun .btn.primary, .g-lime .btn.primary,
.g-cyan .chip[aria-pressed="true"], .g-sun .chip[aria-pressed="true"], .g-lime .chip[aria-pressed="true"] { color: #17181c; text-shadow: none; }
.btn.ghost { border-color: transparent; color: var(--accent-2); padding-inline: 8px; }
.btn.danger { color: var(--crit); border-color: color-mix(in srgb, var(--crit) 40%, transparent); }
.btn.danger.solid { background: var(--crit); border-color: var(--crit); color: #fff; }
.btn.block { width: 100%; border-radius: var(--r-md); padding: 14px; }
.btn.sm { min-height: 34px; padding: 6px 14px; font-size: .82rem; }

.pill {
  font-family: var(--f-mono); font-size: .7rem; padding: 5px 11px; border-radius: 999px;
  background: var(--sunk); color: var(--muted); white-space: nowrap; border: 0;
}
.pill.acc { background: var(--accent-soft); color: var(--accent); }
.pill.warm { background: var(--warm-soft); color: var(--warm); }

.opts { display: grid; gap: 10px; }
.opt {
  text-align: left; border: 1.5px solid var(--line); background: var(--raised); border-radius: var(--r-md);
  padding: 14px 16px; cursor: pointer; display: flex; gap: 14px; align-items: center; min-height: 58px; position: relative; overflow: hidden;
}
.opt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--g); opacity: .9; }
.opt:hover { border-color: var(--muted); }
.opt[aria-pressed="true"] { border-color: transparent; background: linear-gradient(var(--raised), var(--raised)) padding-box, var(--g) border-box; }
.opt .e { font-size: 1.5rem; line-height: 1; width: 1.6rem; text-align: center; }
.opt .t { display: grid; gap: 1px; }
.opt .t small { color: var(--muted); font-size: .82rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--raised); border-radius: 999px; padding: 8px 14px;
  cursor: pointer; font-size: .92rem; min-height: 40px;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { border-color: transparent; background: var(--g); color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile {
  border: 1.5px solid var(--line); background: var(--raised); border-radius: var(--r-md); cursor: pointer;
  padding: 12px 6px; display: grid; justify-items: center; gap: 4px; font-size: .78rem; text-align: center;
}
.tile .e { font-size: 1.6rem; }
.tile:hover { border-color: transparent; background: linear-gradient(var(--raised), var(--raised)) padding-box, var(--g) border-box; }

.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; color: var(--muted); }
.input, textarea.input, select.input {
  width: 100%; border: 1.5px solid var(--line); background: var(--sunk); border-radius: var(--r-md);
  padding: 12px 14px; min-height: 48px;
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.45; }
.input:focus { border-color: var(--accent-2); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 25%, transparent); }

/* progresso: barras segmentadas em gradiente */
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: var(--grid); }
.steps i.on { background: var(--g); }
.flow-head { display: flex; align-items: center; gap: 10px; }
.flow-head .steps { flex: 1; }

/* energia: barras horizontais do infográfico, com rótulo de valor */
.energy-bars { display: grid; gap: 9px; }
.energy-bars button {
  display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 10px; cursor: pointer;
  background: none; border: 0; padding: 0; text-align: left;
}
.energy-bars .bar { height: 34px; border-radius: 6px; background: var(--grid); overflow: hidden; position: relative; }
.energy-bars .bar i { position: absolute; inset: 0 auto 0 0; width: var(--lvl); background: var(--g); border-radius: 6px; }
.energy-bars .bar span { position: relative; z-index: 1; font-family: var(--f-mono); font-size: .78rem; padding-left: 12px; line-height: 34px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.energy-bars .g-cyan .bar span, .energy-bars .g-sun .bar span, .energy-bars .g-lime .bar span { color: #17181c; text-shadow: none; font-weight: 600; }
.energy-bars .val { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); text-align: right; }
.energy-bars button:hover .bar { outline: 2px solid var(--muted); outline-offset: 2px; }

.likert { display: grid; gap: 8px; }
.likert .opt .num { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); margin-left: auto; }

/* cartão de foco */
.task-head { display: flex; gap: 12px; align-items: center; }
.cat-badge {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.35rem;
  border: 2.5px solid transparent; background: linear-gradient(var(--sunk), var(--sunk)) padding-box, var(--g) border-box;
}
.face { font-size: 1.6rem; line-height: 1; }
.done-crit { border-left: 4px solid var(--c1, var(--cyan-1)); background: var(--sunk); border-radius: 0 10px 10px 0; padding: 10px 12px; font-size: .95rem; }
.reward { background: var(--warm-soft); border-radius: 10px; padding: 10px 12px; font-size: .95rem; }
.challenge { background: var(--sunk); border-radius: 10px; padding: 10px 12px; font-size: .95rem; }

/* cronômetro em rosca com balão de porcentagem */
.ring-wrap { display: grid; place-items: center; position: relative; padding-block: 8px; }
.ring-wrap svg { width: 210px; height: 210px; }
.ring-arc { transition: stroke-dashoffset .9s linear; }
.ring-center { position: absolute; text-align: center; display: grid; gap: 2px; }
.ring-center b { font-family: var(--f-mono); font-size: 2rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-center span { font-size: .76rem; color: var(--muted); }
.bubble {
  position: absolute; top: 6px; right: calc(50% - 128px);
  background: #fff; color: #23252a; font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
  padding: 4px 10px; border-radius: 8px; box-shadow: var(--shadow);
}
.bubble::after { content: ""; position: absolute; left: 10px; bottom: -6px; border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }

details.explain { background: var(--sunk); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
details.explain summary { cursor: pointer; color: var(--accent-2); font-weight: 700; }
details.explain p { margin-top: 6px; }

/* lista de tarefas com barra de duração relativa */
.task {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-md); padding: 12px 14px;
  cursor: pointer; text-align: left; width: 100%; color: var(--ink);
}
.task:hover { border-color: var(--line); }
.task.first { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--g) border-box; }
.task .nm { font-weight: 700; line-height: 1.3; }
.task .meta { font-size: .78rem; color: var(--muted); font-family: var(--f-mono); }
.task .tag { font-family: var(--f-title); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.task.done { opacity: .55; cursor: default; }
.task.done .nm { text-decoration: line-through; }
.gbar { height: 6px; border-radius: 3px; background: var(--grid); overflow: hidden; margin-top: 6px; }
.gbar i { display: block; height: 100%; background: var(--g); border-radius: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--muted); }

.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.meter i { height: 10px; border-radius: 5px; background: var(--grid); }
.meter.alta i { background: var(--g-lime); }
.meter.media i:nth-child(-n+2) { background: var(--g-sun); }
.meter.baixa i:first-child { background: var(--g-pink); }

.sheet-bg { position: fixed; inset: 0; background: rgba(8, 9, 12, .6); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  background: var(--bg); width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  border-radius: 24px 24px 0 0; padding: 10px 18px calc(env(safe-area-inset-bottom, 0px) + 22px);
  display: grid; gap: var(--gap); border-top: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--g) border-box;
}
.grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 2px; }

#toast-slot { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 82px); z-index: 30; display: flex; justify-content: center; pointer-events: none; padding-inline: 16px; }
.toast {
  pointer-events: auto; background: #fff; color: #23252a; border-radius: 12px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: center; max-width: 488px; width: 100%; box-shadow: var(--shadow); font-size: .92rem;
  border-left: 5px solid var(--pink-1);
}
.toast .grow { flex: 1; }
.toast button { background: none; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 700; font-size: .82rem; }

.hero-mark { width: 72px; height: 72px; }
.welcome { display: grid; gap: 16px; padding-top: 8px; }
.welcome h1 { font-size: 2rem; }

.hobby-cat { display: grid; gap: 8px; }
.hobby-cat h3 { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.my-hobbies { display: flex; flex-wrap: wrap; gap: 6px; }
.my-hobbies .pill { font-family: var(--f-body); font-size: .85rem; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; background: var(--raised); color: var(--ink); }
.my-hobbies .pill button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0 2px; font-size: 1rem; line-height: 1; }

.section-title { font-family: var(--f-title); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.seg { display: inline-flex; background: var(--sunk); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .85rem; color: var(--muted); min-height: 34px; }
.seg button[aria-pressed="true"] { background: var(--g); color: #fff; font-weight: 700; }

/* Padrões de tempo */
.tp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tp-row { display: grid; gap: 6px; --tp: var(--muted); }
.tp-row.tp-menos { --tp: var(--warm); }
.tp-row.tp-mais { --tp: var(--accent-2); }
.tp-name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.tp-tag { font-family: var(--f-mono); font-size: .78rem; color: var(--tp); white-space: nowrap; }
.tp-bars { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; }
.tp-bar { display: block; height: 10px; border-radius: 3px; }
.tp-bar.est { background: var(--line); }
.tp-bar.real { background: var(--tp); }
.tp-val { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); min-width: 4.5em; text-align: right; }
.tp-key.menos { color: var(--warm); } .tp-key.mais { color: var(--accent-2); }
.pill.tp-pill-mais { color: var(--accent-2); }
.tp-learn { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.fade-in { animation: fadeIn .28s ease-out; }
@keyframes fadeIn { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* modo baixo estímulo: sem gradiente, sem brilho, sem movimento */
body.calm {
  --g-pink: linear-gradient(#b7849c, #b7849c);
  --g-cyan: linear-gradient(#7fa9b0, #7fa9b0);
  --g-sun: linear-gradient(#b8a07a, #b8a07a);
  --g-lime: linear-gradient(#93aa86, #93aa86);
  --pink-1: #b7849c; --pink-2: #b7849c; --cyan-1: #7fa9b0; --cyan-2: #7fa9b0;
  --sun-1: #b8a07a; --sun-2: #b8a07a; --lime-1: #93aa86; --lime-2: #93aa86;
  --accent: #c7a0b2; --accent-2: #9cc0c6; --warm: #c9b18a; --shadow: none;
}
:root[data-theme="light"] body.calm { --accent: #8a5a70; --accent-2: #4d7c84; --warm: #7d6640; }
body.calm *, body.calm *::before { animation: none !important; transition: none !important; }
body.calm .deco { display: none !important; }
body.calm .btn.primary, body.calm .chip[aria-pressed="true"], body.calm .seg button[aria-pressed="true"] { text-shadow: none; color: #1c1d22; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* ---------- Construir: blocos de processo e passos de objetivo ---------- */
.blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.blocks li { display: flex; gap: 10px; align-items: center; background: var(--sunk); border-radius: var(--r-md); padding: 8px 10px; font-size: .92rem; }
.blocks li.done .grow { color: var(--muted); }
.blocks li .grow { flex: 1; min-width: 0; }
.gbar.g-sun i { background: var(--g-sun); }

/* Prontidão para testes: link dentro de texto, linhas com seletor que quebram em telas de 320px */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.between:has(> .seg) { flex-wrap: wrap; }
a.btn { text-decoration: none; display: inline-flex; justify-content: center; align-items: center; }
.btn > svg { width: 20px; height: 20px; flex: none; margin-right: 8px; vertical-align: -4px; }
