/* notae — generated from tokens.json */
:root, [data-theme="light"] {
  --brand: #FFCC00;
  --brand-hover: #F2BF00;
  --brand-soft: #FFF5CC;
  --brand-ink: #7A5C00;
  --on-brand: #1C1C1C;
  --ink: #1C1C1C;
  --ink-soft: #4A4A4A;
  --ink-muted: #6B6B6B;
  --bg: #F7F7F7;
  --surface: #FFFFFF;
  --surface-2: #F0F0F0;
  --surface-3: #E4E4E4;
  --paper: #FFFBEA;
  --line: #E6E6E6;
  --line-strong: #858585;
  --night: #1C1C1C;
  --night-2: #3A3A3A;
  --on-night: #FFFFFF;
  --on-night-muted: #B8B8B8;
  --inverse: #1C1C1C;
  --inverse-hover: #333333;
  --on-inverse: #FFFFFF;
  --white: #FFFFFF;
  --focus: #1C1C1C;
  --accent: #C63F0C;
  --on-accent: #FFFFFF;
  --positive: #0A7650;
  --positive-soft: #DDF5EA;
  --on-positive: #FFFFFF;
  --sketch-ink: #1C1C1C;
  --sketch-ghost: #858585;
  --spinner-track: rgba(28,28,28,0.2);
  --skeleton-shine: rgba(255,255,255,0.7);
  --shadow-sm: 0 2px 8px rgba(28,28,28,0.08);
  --shadow-md: 0 8px 24px rgba(28,28,28,0.10);
  --shadow-lg: 0 12px 32px rgba(28,28,28,0.16);
}
[data-theme="dark"] {
  --brand: #FFCC00;
  --brand-hover: #FFD633;
  --brand-soft: #3A3000;
  --brand-ink: #FFD84D;
  --on-brand: #1C1C1C;
  --ink: #F5F5F5;
  --ink-soft: #C9C9C9;
  --ink-muted: #A3A3A3;
  --bg: #121212;
  --surface: #1E1E1E;
  --surface-2: #2A2A2A;
  --surface-3: #363636;
  --paper: #26241C;
  --line: #333333;
  --line-strong: #7A7A7A;
  --night: #2A2A2A;
  --night-2: #444444;
  --on-night: #F5F5F5;
  --on-night-muted: #B8B8B8;
  --inverse: #F5F5F5;
  --inverse-hover: #FFFFFF;
  --on-inverse: #1C1C1C;
  --white: #FFFFFF;
  --focus: #FFCC00;
  --accent: #FF7A33;
  --on-accent: #1C1C1C;
  --positive: #4FD1A1;
  --positive-soft: #0F2F23;
  --on-positive: #1C1C1C;
  --sketch-ink: #F5F5F5;
  --sketch-ghost: #7A7A7A;
  --spinner-track: rgba(255,255,255,0.25);
  --skeleton-shine: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.6);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-ui: Nunito, system-ui, sans-serif;
}
.display { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 500; }
.h1 { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 800; }
.h2 { font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 700; }
.h3 { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 700; }
.h4 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; }
.body-lg { font-family: var(--font-ui); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-ui); font-size: 16px; line-height: 24px; font-weight: 600; }
.body-sm { font-family: var(--font-ui); font-size: 14px; line-height: 20px; font-weight: 600; }
.label { font-family: var(--font-ui); font-size: 14px; line-height: 20px; font-weight: 700; }
.caption { font-family: var(--font-ui); font-size: 12px; line-height: 16px; font-weight: 600; }
.overline { font-family: var(--font-ui); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em; }


/* notae — componentes. Cada bloco segue um padrão observado na 99 (site 99app.com e telas do app na App Store); os códigos W e A apontam para a tabela "Referências" do README. Nenhum valor solto: tudo vem de tokens.css. */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); }
.nt { font-family: var(--font-ui); font-size: 16px; line-height: 24px; color: var(--ink); -webkit-font-smoothing: antialiased; }
.nt *, .nt *::before, .nt *::after { box-sizing: border-box; }
.nt :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.nt h1, .nt h2, .nt h3, .nt h4, .nt p { margin: 0; }
.nt-preview { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Tipografia (W3): título de abertura em peso médio com as palavras-chave em negrito */
.nt-display { font: 500 56px/60px var(--font-display); letter-spacing: -0.01em; }
.nt-display b, .nt-display strong { font-weight: 800; }
.nt-h1 { font: 800 40px/44px var(--font-display); }
.nt-h2 { font: 700 32px/36px var(--font-display); }
.nt-h3 { font: 700 24px/30px var(--font-display); }
.nt-h4 { font: 700 20px/26px var(--font-display); }
.nt-lead { font: 400 18px/26px var(--font-ui); color: var(--ink-soft); }
.nt-sm { font-size: 14px; line-height: 20px; }
.nt-caption { font: 600 12px/16px var(--font-ui); }
.nt-overline { font: 800 12px/16px var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.nt-muted { color: var(--ink-muted); }
.nt-strong { font-weight: 800; }

/* Sobre amarelo (W9, A11): todo texto vira tinta escura, nos dois temas */
.nt-on-brand, .nt-card--brand { background: var(--brand); color: var(--on-brand); --ink: var(--on-brand); --ink-soft: var(--on-brand); --ink-muted: var(--on-brand); --line-strong: var(--on-brand); --focus: var(--on-brand); --inverse: var(--night); --on-inverse: var(--on-night); --inverse-hover: var(--night-2); --surface: var(--white); --surface-2: var(--white); --surface-3: var(--white); }

/* Ícones (W1): contorno de 2px, uma cor só */
.nt-icon { width: 24px; height: 24px; flex: none; fill: none; display: inline-block; vertical-align: middle; }
.nt-icon .a { fill: var(--icon-accent, transparent); stroke: none; }
.nt-icon .s { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nt-icon .s .t { stroke-width: 1.5; }
.nt-icon .s .d { fill: currentColor; stroke: none; }
.nt-icon--sm { width: 20px; height: 20px; }
.nt-icon--xs { width: 16px; height: 16px; }
.nt-icon--lg { width: 32px; height: 32px; }
.nt-icontile { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); display: inline-grid; place-items: center; flex: none; }
.nt-icontile--surface { background: var(--surface); }
.nt-icontile--brand { background: var(--brand); color: var(--on-brand); border-radius: 50%; }
.nt-card--flat .nt-icontile, .nt-card--soft .nt-icontile, .nt-card--brand .nt-icontile { background: var(--surface); }

/* Logotipo e mascote */
.nt-logo { display: inline-flex; align-items: stretch; height: 44px; flex: none; }
.nt-logo img { display: block; height: 100%; width: auto; }
[data-theme="dark"] .nt-logo__word, .nt-logo--inverse .nt-logo__word { filter: invert(1); }
.nt-mascot { display: block; height: auto; flex: none; object-fit: contain; }

/* Botões (W2, A8): 48px, raio 16, negrito. Amarelo, preto ou contorno de 2px */
.nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius-md); font: 800 16px/1 var(--font-ui); color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s ease; }
.nt-btn:hover { background: var(--surface-2); }
.nt-btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.nt-btn--primary:hover { background: var(--brand-hover); }
.nt-on-brand .nt-btn--primary, .nt-card--brand .nt-btn--primary { background: var(--night); color: var(--on-night); }
.nt-btn--dark { background: var(--inverse); color: var(--on-inverse); box-shadow: none; }
.nt-btn--dark:hover { background: var(--inverse-hover); }
.nt-btn--quiet { box-shadow: none; padding: 0 12px; }
.nt-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: var(--radius-sm); }
.nt-btn--lg { min-height: 56px; padding: 0 32px; font-size: 18px; }
.nt-btn--block { width: 100%; }
.nt-btn[disabled], .nt-btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-muted); box-shadow: none; cursor: not-allowed; }
.nt-iconbtn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; box-shadow: var(--shadow-sm); cursor: pointer; flex: none; position: relative; }
.nt-iconbtn:hover { background: var(--surface-2); }
.nt-iconbtn--flat, .nt-card .nt-iconbtn, .nt-sheet .nt-iconbtn { background: var(--surface-2); box-shadow: none; }
.nt-iconbtn--brand { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.nt-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--spinner-track); border-top-color: currentColor; animation: nt-spin .8s linear infinite; flex: none; }
.nt-spinner--lg { width: 40px; height: 40px; border-width: 4px; }
@keyframes nt-spin { to { transform: rotate(360deg); } }

/* Campos: controles cinza de canto 12 (A8); busca em cartão branco com texto em negrito (A2); seleção em laranja (A9) */
.nt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nt-label { font: 700 14px/20px var(--font-ui); color: var(--ink); }
.nt-input, .nt-select, .nt-textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid transparent; border-radius: var(--radius-sm); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--line-strong); color: var(--ink); font: 600 16px/24px var(--font-ui); }
.nt-textarea { padding: 12px 16px; min-height: 96px; resize: vertical; }
.nt-input::placeholder, .nt-textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.nt-input:focus-visible, .nt-select:focus-visible, .nt-textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); box-shadow: none; }
.nt-hint { display: flex; align-items: center; gap: 6px; font: 600 13px/18px var(--font-ui); color: var(--ink-muted); }
.nt-field--error .nt-input { background: var(--surface); border-color: var(--accent); border-width: 2px; box-shadow: none; }
.nt-field--error .nt-hint { color: var(--accent); font-weight: 800; }
.nt-field--success .nt-hint { color: var(--positive); font-weight: 800; }
.nt-search { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.nt-search .nt-icon { position: absolute; left: 16px; pointer-events: none; }
.nt-search .nt-input { padding-left: 48px; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); font-weight: 700; }
.nt-search .nt-input::placeholder { color: var(--ink-soft); font-weight: 800; }
.nt-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.nt-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: var(--radius-xs); background: var(--surface); display: inline-grid; place-items: center; flex: none; cursor: pointer; }
.nt-check input[type="radio"] { border-radius: 50%; }
.nt-check input:checked { background: var(--accent); border-color: var(--accent); }
.nt-check input:checked::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.nt-check input[type="radio"]:checked::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--on-accent); transform: none; }
.nt-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.nt-switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; margin: 0; border-radius: var(--radius-pill); background: var(--surface-3); border: 1.5px solid var(--line-strong); position: relative; cursor: pointer; flex: none; transition: background .15s ease; }
.nt-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.nt-switch input:checked { background: var(--accent); border-color: var(--accent); }
.nt-switch input:checked::after { transform: translateX(20px); }

/* Chips e abas (A8, A9): botões pequenos de canto 12; branco com fio sobre o fundo, cinza dentro de cartão; selecionado em preto (W2) */
.nt-chip, .nt-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: 800 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; text-decoration: none; }
.nt-card .nt-chip, .nt-sheet .nt-chip, .nt-card .nt-tab, .nt-sheet .nt-tab { background: var(--surface-2); box-shadow: none; }
.nt-chip[aria-pressed="true"], .nt-chip--on, .nt-tab[aria-selected="true"], .nt-card .nt-chip[aria-pressed="true"], .nt-card .nt-tab[aria-selected="true"] { background: var(--inverse); color: var(--on-inverse); box-shadow: none; }
.nt-tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }

/* Etiquetas (A2, A10, A11): retângulo pequeno de canto 6, texto em negrito */
.nt-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 0 8px; border-radius: var(--radius-xs); font: 800 12px/1 var(--font-ui); background: var(--surface-2); color: var(--ink-soft); white-space: nowrap; }
.nt-badge .nt-icon { width: 14px; height: 14px; }
.nt-badge--brand { background: var(--brand); color: var(--on-brand); }
.nt-badge--soft { background: var(--brand-soft); color: var(--ink); }
.nt-badge--accent, .nt-badge--danger { background: var(--accent); color: var(--on-accent); }
.nt-badge--positive, .nt-badge--success { background: var(--positive-soft); color: var(--positive); }
.nt-badge--info { background: var(--surface-2); color: var(--ink-soft); }
.nt-badge--outline { background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.nt-badge--night { background: var(--night); color: var(--on-night); }
.nt-card--flat .nt-badge:not([class*="--"]), .nt-card--flat .nt-badge--info { background: var(--surface); }

/* Cartões (W4, W7, W9, A5): raio 16, sem borda e sem sombra */
.nt-card { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); min-width: 0; }
.nt-card--flat { background: var(--surface-2); }
.nt-card--soft { background: var(--brand-soft); }
.nt-card--brand { background: var(--brand); color: var(--on-brand); }
.nt-card--night { background: var(--night); color: var(--on-night); }
.nt-card--night .nt-muted { color: var(--on-night-muted); }
.nt-card--panel { border-radius: var(--radius-xl); padding: var(--space-10); }
.nt-card--raised { box-shadow: var(--shadow-md); }
.nt-card--tight { padding: var(--space-4); }
.nt-stat { display: flex; flex-direction: column; gap: 4px; }
.nt-stat__value { font: 800 36px/40px var(--font-display); }
.nt-stat__value small { font-size: 0.5em; font-weight: 800; margin-right: 2px; }
.nt-stat > .nt-badge, .nt-stat > .nt-trend { align-self: flex-start; }
.nt-stat__label { font: 700 14px/20px var(--font-ui); color: var(--ink-muted); }
.nt-trend { display: inline-flex; align-items: center; gap: 4px; font: 800 13px/18px var(--font-ui); }
.nt-trend .nt-icon { transform: rotate(-45deg); }
.nt-trend--up { color: var(--positive); }
.nt-trend--down { color: var(--accent); }
.nt-trend--down .nt-icon { transform: rotate(45deg); }

/* Progresso (A6): barra fina, sempre com o valor em texto ao lado */
.nt-progress { height: 6px; border-radius: var(--radius-pill); background: var(--surface-3); overflow: hidden; }
.nt-progress > span { display: block; height: 100%; min-width: 6px; border-radius: var(--radius-pill); background: var(--brand); }
.nt-progress--ink > span { background: var(--ink); }
.nt-progress--positive > span { background: var(--positive); }
.nt-progress--night { background: var(--night-2); }
.nt-card--brand .nt-progress, .nt-on-brand .nt-progress { background: var(--white); }
.nt-card--brand .nt-progress > span, .nt-on-brand .nt-progress > span { background: var(--on-brand); }

/* Avatar (A1) */
.nt-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: inline-grid; place-items: center; font: 800 15px/1 var(--font-ui); flex: none; }
.nt-avatar--night { background: var(--night); color: var(--on-night); }
.nt-avatar--soft { background: var(--surface-2); color: var(--ink); }
.nt-avatar--positive { background: var(--positive); color: var(--on-positive); }
.nt-avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.nt-avatar--lg { width: 64px; height: 64px; font-size: 22px; }

/* Navegação: itens com ícone de contorno e rótulo em negrito (W1); ativo com o ícone em círculo amarelo (A7) */
.nt-sidebar { width: 264px; flex: none; background: var(--surface); padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; gap: 4px; }
.nt-navgroup { font: 800 12px/16px var(--font-ui); color: var(--ink-muted); padding: 16px 8px 6px; }
.nt-navitem { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 8px; border-radius: var(--radius-md); color: var(--ink-soft); font: 700 15px/1 var(--font-ui); text-decoration: none; }
.nt-navitem > .nt-icon { box-sizing: content-box; padding: 8px; border-radius: 50%; }
.nt-navitem:hover { color: var(--ink); }
.nt-navitem:hover > .nt-icon { background: var(--surface-2); }
.nt-navitem[aria-current="page"] { color: var(--ink); font-weight: 800; }
.nt-navitem[aria-current="page"] > .nt-icon { background: var(--brand); color: var(--on-brand); }
.nt-navitem .nt-badge { margin-left: auto; }
.nt-bottomnav { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; padding: 8px 12px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.nt-bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; color: var(--ink-soft); font: 700 11px/14px var(--font-ui); text-decoration: none; }
.nt-bottomnav a[aria-current="page"] { flex: none; width: 60px; height: 60px; min-height: 0; margin: -20px 4px 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px var(--surface); }
.nt-bottomnav a[aria-current="page"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nt-topbar { display: flex; align-items: center; gap: var(--space-4); }

/* Tabela: mesma anatomia das linhas de lista (A9), com fios de 1px */
.nt-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; }
.nt-table th { text-align: left; font: 700 13px/18px var(--font-ui); color: var(--ink-muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.nt-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; vertical-align: middle; }
.nt-table td:first-child { font-weight: 800; }
.nt-table tr:last-child td { border-bottom: 0; }
.nt-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.nt-tablewrap { overflow-x: auto; }

/* Avisos: faixa com ícone e texto em negrito (A2, A6) ou cartão branco com texto e ações (W5) */
.nt-alert { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface); color: var(--ink); }
.nt-card .nt-alert, .nt-sheet .nt-alert { background: var(--surface-2); }
.nt-alert__title { font-weight: 800; color: inherit; }
.nt-alert__text { font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.nt-alert > .nt-icon { box-sizing: border-box; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--surface-2); color: var(--ink); }
.nt-card .nt-alert > .nt-icon, .nt-sheet .nt-alert > .nt-icon { background: var(--surface); }
.nt-alert--brand, .nt-card .nt-alert--brand, .nt-sheet .nt-alert--brand { background: var(--brand-soft); }
.nt-alert.nt-alert--brand > .nt-icon { background: var(--brand); color: var(--on-brand); }
.nt-alert--success, .nt-card .nt-alert--success, .nt-sheet .nt-alert--success { background: var(--positive-soft); }
.nt-alert.nt-alert--success > .nt-icon { background: var(--positive); color: var(--on-positive); }
.nt-alert--danger, .nt-card .nt-alert--danger, .nt-sheet .nt-alert--danger { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.nt-alert.nt-alert--danger > .nt-icon { background: var(--accent); color: var(--on-accent); }
.nt-modal { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: var(--space-4); position: relative; }
.nt-skeleton { background: var(--surface-2); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.nt-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent); transform: translateX(-100%); animation: nt-shine 1.4s ease infinite; }
@keyframes nt-shine { to { transform: translateX(100%); } }
.nt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: var(--space-8) var(--space-6); }
.nt-empty__title { font: 700 22px/28px var(--font-display); }
.nt-empty__text { color: var(--ink-muted); max-width: 36ch; margin: 0 0 12px; }

/* Folha inferior (A8, A10) e linhas de lista (A3, A5, A9) */
.nt-sheet { background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 12px var(--space-5) var(--space-6); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: var(--space-4); position: relative; }
.nt-sheet__handle { width: 36px; height: 4px; border-radius: var(--radius-pill); background: var(--surface-3); align-self: center; }
.nt-sheet__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; }
.nt-list { display: flex; flex-direction: column; }
.nt-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.nt-row:last-child { border-bottom: 0; }
.nt-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nt-row__title { font: 800 16px/22px var(--font-ui); }
.nt-row__sub { font: 600 13px/18px var(--font-ui); color: var(--ink-muted); }
.nt-row__end { font: 800 16px/22px var(--font-ui); display: inline-flex; align-items: center; gap: 10px; }
.nt-row__end small { font-size: 11px; font-weight: 800; margin-right: 1px; }
.nt-row__go { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: inline-grid; place-items: center; flex: none; }

/* Conteúdo: cartão de aula com imagem em cima (W4), desenho e conversa */
.nt-lesson { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; min-width: 0; }
.nt-lesson__thumb { aspect-ratio: 16 / 9; background: var(--paper); position: relative; display: grid; place-items: center; }
.nt-lesson__thumb > svg { width: 100%; height: 100%; }
.nt-lesson__body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.nt-lesson__title { font: 700 18px/24px var(--font-display); }
.nt-lesson__meta { display: flex; flex-wrap: wrap; gap: 12px; font: 600 13px/18px var(--font-ui); color: var(--ink-muted); align-items: center; }
.nt-lesson__meta span { display: inline-flex; align-items: center; gap: 4px; }
.nt-playbadge { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.nt-sketch { fill: none; stroke: var(--sketch-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.nt-sketch .hl { fill: var(--brand); }
.nt-sketch .fill { fill: var(--sketch-ink); stroke: none; }
.nt-sketch .ghost { stroke: var(--sketch-ghost); stroke-dasharray: 2 7; }
.nt-sketch text { fill: var(--sketch-ink); stroke: none; font: 700 15px var(--font-display); }
.nt-bubble { max-width: 82%; padding: 12px 16px; border-radius: var(--radius-md); border-bottom-left-radius: var(--radius-xs); background: var(--surface); font-weight: 600; align-self: flex-start; }
.nt-card .nt-bubble, .nt-bubble--flat { background: var(--surface-2); }
.nt-bubble--me, .nt-card .nt-bubble--me { background: var(--brand); color: var(--on-brand); border-radius: var(--radius-md); border-bottom-right-radius: var(--radius-xs); align-self: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .nt-skeleton::after, .nt-spinner { animation: none; }
  .nt-btn, .nt-switch input, .nt-switch input::after { transition: none; }
}
