/* Nozib Therapy — aplicativo da clínica.
   Direção: calmo e previsível. Cores suaves, cantos arredondados, movimento lento e sempre
   ligado a uma ação. Animações podem ser desligadas no menu e respeitam o sistema. */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../vendor/jakarta.woff2") format("woff2-variations");
	font-weight: 200 1000;
	font-display: swap;
}

:root {
	--nevoa: #f4f6fb;      /* fundo */
	--papel: #ffffff;      /* superfícies */
	--tinta: #0f1e3d;      /* texto e azul-noite da marca */
	--tinta-2: #4a5873;    /* texto secundário */
	--linha: #dce2ee;
	--lagoa: #2457f5;      /* ação principal (azul elétrico) */
	--lagoa-2: #1a43c9;
	--lagoa-0: #e6ecff;
	--sol: #ffc83d;        /* destaque da marca */
	--noite-2: #1a2c52;
	--girassol: #e9b44c;   /* nível 1: com ajuda */
	--girassol-0: #fff4d6;
	--broto: #12a374;      /* nível 2: independente */
	--broto-0: #ddf7ee;
	--coral: #d9534f;      /* nível 0: não atingiu / alertas */
	--coral-0: #fde7e6;
	--raio: 18px;
	--raio-p: 12px;
	--sombra: 0 1px 2px rgba(15, 30, 61, .05), 0 10px 28px -14px rgba(15, 30, 61, .22);
	--t: 220ms;
	--curva: cubic-bezier(.3, .7, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--nevoa); color: var(--tinta);
	font: 500 16px/1.5 "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h2 { font-size: 1.125rem; }
p { margin: 0; }
a { color: var(--lagoa-2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lagoa); outline-offset: 2px; border-radius: 6px; }
.nt-muted { color: var(--tinta-2); font-size: .875rem; }
.nt-num { font-variant-numeric: tabular-nums; }

/* ---------- Marca: laço do infinito, desenhado devagar ---------- */
.nt-mark { width: 72px; height: 36px; display: block; }
.nt-mark path { fill: none; stroke: var(--lagoa); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: nt-draw 2.2s var(--curva) .15s forwards; }
@keyframes nt-draw { to { stroke-dashoffset: 0; } }
.nt-boot { min-height: 100vh; display: grid; place-items: center; }
.nt-boot .nt-mark path, .nt-loading .nt-mark path { stroke-dasharray: 30 70; animation: nt-loop 2.6s linear infinite; }
@keyframes nt-loop { to { stroke-dashoffset: -100; } }
.nt-loading { display: grid; place-items: center; padding: 64px 0; }

/* ---------- Login ---------- */
.nt-login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; position: relative; overflow: hidden; }
.nt-login-art i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: nt-drift 26s ease-in-out infinite alternate; }
.nt-login-art i:nth-child(1) { width: 46vmax; height: 46vmax; background: var(--lagoa-0); left: -14vmax; top: -16vmax; }
.nt-login-art i:nth-child(2) { width: 34vmax; height: 34vmax; background: var(--girassol-0); right: -10vmax; bottom: -12vmax; animation-duration: 32s; animation-delay: -8s; }
.nt-login-art i:nth-child(3) { width: 22vmax; height: 22vmax; background: var(--broto-0); right: 12vmax; top: 6vmax; animation-duration: 38s; animation-delay: -16s; }
@keyframes nt-drift { to { transform: translate3d(3vmax, 2vmax, 0) scale(1.06); } }
.nt-login-card { position: relative; width: 100%; max-width: 400px; background: var(--papel); border-radius: 28px; padding: 36px 28px 28px; box-shadow: var(--sombra); display: grid; gap: 14px; animation: nt-rise .6s var(--curva) both; }
.nt-login-card .nt-mark { width: 96px; height: 48px; margin-bottom: 4px; }
.nt-login-card h1 { font-size: 1.6rem; }
.nt-login-sub { color: var(--tinta-2); margin-bottom: 6px; }
.nt-login-link { text-align: center; font-size: .9rem; }
@keyframes nt-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Estrutura ---------- */
.nt-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.nt-side { position: sticky; top: 0; height: 100vh; padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.nt-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 800; line-height: 1.15; }
.nt-brand .nt-mark { width: 44px; height: 22px; flex: none; }
.nt-brand .nt-mark path { stroke-width: 9; }
.nt-nav { display: flex; flex-direction: column; gap: 4px; }
.nt-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: var(--tinta); text-decoration: none; font-weight: 700; transition: background var(--t), color var(--t); }
.nt-nav a:hover { background: rgba(36, 87, 245, .08); }
.nt-nav a[aria-current="page"] { background: var(--papel); color: var(--lagoa-2); box-shadow: var(--sombra); }
.nt-nav svg, .nt-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nt-side-foot { margin-top: auto; display: grid; gap: 8px; padding: 12px 10px 0; font-size: .9rem; }
.nt-user { font-weight: 800; }
.nt-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--tinta-2); }
.nt-switch input { accent-color: var(--lagoa); width: 18px; height: 18px; }
.nt-main { padding: 28px clamp(16px, 3vw, 40px) 96px; min-width: 0; max-width: 1240px; }
.nt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.nt-head h1 { margin-right: auto; }
.nt-head-sub { flex-basis: 100%; color: var(--tinta-2); margin-top: -6px; }
.nt-view { animation: nt-fade .28s ease both; }
@keyframes nt-fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Controles ---------- */
.nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--papel); font-weight: 800; cursor: pointer; text-decoration: none; color: var(--tinta); transition: transform 120ms, background var(--t), border-color var(--t); }
.nt-btn:hover { border-color: var(--lagoa); }
.nt-btn:active { transform: scale(.97); }
.nt-btn[disabled] { opacity: .55; cursor: progress; }
.nt-btn-primary { background: var(--lagoa); border-color: var(--lagoa); color: #fff; }
.nt-btn-primary:hover { background: var(--lagoa-2); border-color: var(--lagoa-2); }
.nt-btn-danger { color: var(--coral); }
.nt-btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.nt-btn-block { width: 100%; }
.nt-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.nt-field > span { font-weight: 700; font-size: .9rem; }
.nt-field input, .nt-field select, .nt-field textarea, .nt-filters input, .nt-filters select {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--linha); border-radius: var(--raio-p); background: var(--papel); transition: border-color var(--t), box-shadow var(--t);
}
.nt-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.nt-field input:focus, .nt-field select:focus, .nt-field textarea:focus, .nt-filters input:focus, .nt-filters select:focus { outline: none; border-color: var(--lagoa); box-shadow: 0 0 0 4px var(--lagoa-0); }
.nt-field.has-error input, .nt-field.has-error select, .nt-field.has-error textarea { border-color: var(--coral); }
.nt-error { color: var(--coral); font-size: .875rem; font-weight: 700; }
.nt-alert { background: var(--coral-0); color: #9b2c2c; border-radius: var(--raio-p); padding: 10px 14px; font-weight: 700; }
.nt-note { background: var(--girassol-0); color: #6b4a08; border-radius: var(--raio-p); padding: 12px 16px; margin-bottom: 16px; }
.nt-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.nt-filters > * { flex: 1 1 150px; max-width: 240px; }
.nt-filters input, .nt-filters select { min-height: 42px; padding: 8px 12px; }
.nt-form { display: grid; gap: 18px; }
.nt-cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.nt-seg { display: inline-flex; background: var(--nevoa); border-radius: 999px; padding: 4px; gap: 4px; }
.nt-seg button { border: 0; background: transparent; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background var(--t), box-shadow var(--t); }
.nt-seg button[aria-pressed="true"] { background: var(--papel); box-shadow: var(--sombra); color: var(--lagoa-2); }
.nt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--papel); cursor: pointer; font-weight: 700; transition: background var(--t), border-color var(--t); }
.nt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nt-chip:has(input:checked) { background: var(--lagoa-0); border-color: var(--lagoa); color: var(--lagoa-2); }
.nt-chip:has(input:focus-visible) { outline: 3px solid var(--lagoa); outline-offset: 2px; }

/* ---------- Superfícies ---------- */
.nt-card { background: var(--papel); border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra); min-width: 0; }
.nt-card > h2 { margin-bottom: 14px; }
.nt-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); margin-bottom: 16px; }
.nt-wide { grid-column: 1 / -1; }
.nt-stack { display: grid; gap: 16px; }
.nt-chart { position: relative; height: 280px; }
.nt-chart-lg { height: 340px; }
.nt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.nt-kpi { background: var(--papel); border-radius: var(--raio); padding: 16px 18px; box-shadow: var(--sombra); }
.nt-kpi span { display: block; color: var(--tinta-2); font-size: .875rem; font-weight: 700; }
.nt-kpi strong { font-size: 1.9rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.nt-kpi small { color: var(--tinta-2); font-weight: 700; margin-left: 6px; }
.nt-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.nt-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.nt-table th { text-align: left; font-size: .8125rem; color: var(--tinta-2); font-weight: 700; padding: 6px 10px; white-space: nowrap; }
.nt-table td { padding: 12px 10px; border-top: 1px solid var(--linha); vertical-align: middle; }
.nt-table tr.is-link { cursor: pointer; transition: background var(--t); }
.nt-table tr.is-link:hover { background: var(--nevoa); }
.nt-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nt-tag { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: .8125rem; font-weight: 800; white-space: nowrap; background: var(--nevoa); color: var(--tinta-2); margin: 2px 4px 2px 0; }
.nt-tag.ok { background: var(--broto-0); color: #0b7a58; }
.nt-tag.warn { background: var(--girassol-0); color: #6b4a08; }
.nt-tag.bad { background: var(--coral-0); color: #9b2c2c; }
.nt-empty { text-align: center; padding: 40px 16px; color: var(--tinta-2); display: grid; gap: 12px; justify-items: center; }

/* ---------- Pacientes ---------- */
.nt-people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.nt-person { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: transform var(--t) var(--curva); }
.nt-person:hover { transform: translateY(-2px); }
.nt-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; background: var(--lagoa-0); color: var(--lagoa-2); }
.nt-avatar.c1 { background: var(--girassol-0); color: #6b4a08; }
.nt-avatar.c2 { background: var(--broto-0); color: #0b7a58; }
.nt-avatar.c3 { background: var(--coral-0); color: #9b2c2c; }
.nt-person strong { display: block; }
.nt-person-edit { margin-left: auto; }

/* ---------- Registro terapêutico: o coração do app ---------- */
.nt-rows { display: grid; gap: 12px; }
.nt-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.5fr) auto; align-items: end; background: var(--nevoa); border-radius: var(--raio); padding: 14px; animation: nt-fade .25s ease both; }
.nt-stepper { display: inline-flex; align-items: center; background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--raio-p); height: 46px; }
.nt-stepper button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 800; cursor: pointer; color: var(--lagoa-2); }
.nt-stepper input { width: 52px; min-height: 0; height: 100%; border: 0; padding: 0; text-align: center; font-weight: 800; background: none; -moz-appearance: textfield; }
.nt-stepper input::-webkit-outer-spin-button, .nt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.nt-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nt-level { min-height: 46px; border-radius: var(--raio-p); border: 1.5px solid transparent; background: var(--papel); cursor: pointer; font-weight: 800; font-size: .875rem; line-height: 1.15; padding: 4px 6px; transition: transform 160ms var(--curva), background var(--t), color var(--t); }
.nt-level b { display: block; font-size: 1.05rem; }
.nt-level[aria-pressed="true"] { transform: scale(1.04); color: #fff; }
.nt-level.l0 { border-color: var(--coral-0); } .nt-level.l0[aria-pressed="true"] { background: var(--coral); }
.nt-level.l1 { border-color: var(--girassol-0); } .nt-level.l1[aria-pressed="true"] { background: #c98a00; }
.nt-level.l2 { border-color: var(--broto-0); } .nt-level.l2[aria-pressed="true"] { background: var(--broto); }
.nt-row-del { width: 44px; height: 46px; border: 0; background: none; border-radius: var(--raio-p); cursor: pointer; color: var(--tinta-2); font-size: 1.2rem; }
.nt-row-del:hover { background: var(--coral-0); color: var(--coral); }
.nt-savebar { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 999px; padding: 10px; box-shadow: var(--sombra); margin-top: 8px; }
.nt-savebar .nt-btn-danger { margin-right: auto; }

/* ---------- Evolução ---------- */
.nt-goal { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--linha); }
.nt-goal:first-of-type { border-top: 0; }
.nt-goal-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; }
.nt-bar { height: 12px; border-radius: 999px; background: var(--nevoa); overflow: hidden; }
.nt-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--lagoa); transition: width .9s var(--curva); }

/* ---------- Modal, aviso ---------- */
.nt-modal { position: fixed; inset: 0; background: rgba(15, 30, 61, .45); display: grid; place-items: center; padding: 16px; z-index: 50; animation: nt-fade-in .2s ease both; }
@keyframes nt-fade-in { from { opacity: 0; } }
.nt-modal-box { background: var(--papel); border-radius: 24px; padding: 24px; width: 100%; max-width: 560px; max-height: 100%; overflow: auto; display: grid; gap: 14px; animation: nt-rise .3s var(--curva) both; }
.nt-sign { width: 100%; height: auto; border: 2px dashed var(--linha); border-radius: var(--raio); background: #fff; touch-action: none; }
.nt-check { display: flex; gap: 10px; align-items: flex-start; }
.nt-check input { width: 22px; height: 22px; accent-color: var(--lagoa); flex: none; margin-top: 2px; }
.nt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--tinta); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 60; max-width: calc(100% - 32px); animation: nt-toast .3s var(--curva) both; }
.nt-toast.bad { background: #9b2c2c; }
@keyframes nt-toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Telas pequenas: navegação vira barra inferior ---------- */
@media (max-width: 860px) {
	.nt-shell { grid-template-columns: minmax(0, 1fr); }
	.nt-side { position: fixed; inset: auto 0 0 0; height: auto; flex-direction: row; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--papel); box-shadow: 0 -6px 24px -12px rgba(15, 30, 61, .25); z-index: 40; overflow-x: auto; }
	.nt-brand, .nt-side-foot .nt-user, .nt-side-foot .nt-switch { display: none; }
	.nt-nav { flex-direction: row; flex: 1; justify-content: space-around; }
	.nt-nav a { flex-direction: column; gap: 2px; padding: 6px 10px; font-size: .72rem; white-space: nowrap; }
	.nt-nav a[aria-current="page"] { box-shadow: none; background: var(--lagoa-0); }
	.nt-side-foot { margin: 0; padding: 0; display: flex; align-items: center; }
	.nt-side-foot .nt-btn { min-height: 40px; padding: 0 12px; font-size: .8rem; border: 0; }
	.nt-main { padding: 20px 16px 110px; }
	.nt-row { grid-template-columns: minmax(0, 1fr) auto; }
	.nt-row > .nt-field:nth-child(3) { grid-column: 1 / -1; order: 3; }
	.nt-savebar { bottom: 82px; border-radius: 22px; }
	.nt-savebar .nt-btn { flex: 1 1 auto; }
	.nt-toast { bottom: 96px; }
}

/* Em telas estreitas cada linha de tabela vira um bloco empilhado, com as ações embaixo. */
@media (max-width: 640px) {
	.nt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.nt-table, .nt-table tbody { display: block; }
	.nt-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--linha); }
	.nt-table tr:first-child { border-top: 0; }
	.nt-table td { padding: 0; border: 0; }
	.nt-table td:empty { display: none; }
	.nt-table td:has(.nt-actions) { flex-basis: 100%; }
	.nt-table .nt-actions { justify-content: flex-start; margin-top: 6px; }
}

/* ---------- Movimento reduzido: preferência do sistema ou chave "Animações" desligada ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.nt-mark path { stroke-dashoffset: 0; stroke-dasharray: none; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html[data-motion="off"] .nt-mark path { stroke-dashoffset: 0; stroke-dasharray: none; }

/* ---------- Identidade 2026: barra lateral azul-noite, destaque amarelo ---------- */
.nt-side { background: var(--tinta); color: #fff; }
.nt-brand { color: #fff; }
.nt-brand .nt-mark path, .nt-login-card .nt-mark path, .nt-boot .nt-mark path { stroke: var(--sol); }
.nt-nav a { color: #c9d3e8; }
.nt-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nt-nav a[aria-current="page"] { background: var(--sol); color: var(--tinta); box-shadow: none; }
.nt-side-foot, .nt-user { color: #fff; }
.nt-switch { color: #c9d3e8; }
.nt-switch input { accent-color: var(--sol); }
.nt-side-foot .nt-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.nt-side-foot .nt-btn:hover { border-color: var(--sol); }
.nt-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.nt-kpi { border-top: 4px solid var(--lagoa); }
.nt-kpi:nth-child(2) { border-top-color: var(--sol); }
.nt-kpi:nth-child(3) { border-top-color: var(--broto); }
.nt-kpi:nth-child(4) { border-top-color: var(--tinta); }
.nt-kpi:nth-child(5) { border-top-color: #8e4ec6; }
.nt-bar i { background: linear-gradient(90deg, var(--lagoa), #4f7bff); }
.nt-login { background: var(--tinta); }
.nt-login-art i { opacity: .35; filter: blur(40px); }
.nt-login-art i:nth-child(1) { background: var(--lagoa); }
.nt-login-art i:nth-child(2) { background: var(--sol); opacity: .22; }
.nt-login-art i:nth-child(3) { background: #4f7bff; }
.nt-login-card { border-top: 6px solid var(--sol); }
.nt-login-card .nt-btn-primary { background: var(--sol); border-color: var(--sol); color: var(--tinta); }
.nt-login-card .nt-btn-primary:hover { background: #ffb800; border-color: #ffb800; }
@media (max-width: 860px) {
	.nt-side { background: var(--tinta); }
	.nt-nav a[aria-current="page"] { background: var(--sol); color: var(--tinta); }
}

/* ===== 1.4: agenda, plano, registro ABA, configurações e termo ===== */
.nt-week { align-items: center; }
.nt-week-title { font-size: 1.05rem; min-width: 150px; text-align: center; }
.nt-agenda { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.nt-day { background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); padding: 14px; display: grid; gap: 10px; align-content: start; }
.nt-day h2 { margin: 0; font-size: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.nt-day h2 small { color: var(--tinta-2); font-weight: 700; }
.nt-day.is-today { outline: 2px solid var(--lagoa); }
.nt-slot { border-radius: var(--raio-p); padding: 10px 12px; background: var(--nevoa); border-left: 4px solid var(--lagoa); display: grid; gap: 4px; animation: nt-fade .25s ease both; }
.nt-slot.s-realizado { border-left-color: var(--broto); }
.nt-slot.s-falta, .nt-slot.is-late { border-left-color: var(--coral); }
.nt-slot.s-falta_justificada { border-left-color: var(--girassol); }
.nt-slot.s-cancelado { border-left-color: var(--linha); opacity: .7; }
.nt-slot-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 800; }
.nt-slot .nt-muted { font-size: .85rem; }
.nt-slot-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.nt-plano { display: grid; gap: 12px; }
.nt-plano-item { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--raio-p); background: var(--nevoa); }
.nt-dots { display: flex; align-items: center; gap: 6px; }
.nt-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--papel); border: 2px solid var(--linha); }
.nt-dot.ok { background: var(--broto); border-color: var(--broto); }
.nt-dot.no { background: var(--girassol-0); border-color: var(--girassol); }

.nt-row-aba { grid-template-columns: minmax(0, 1fr) auto; }
.nt-row-full { grid-column: 1 / -1; }
.nt-pad { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.nt-padbtn { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; min-height: 64px; border-radius: var(--raio-p); border: 2px solid transparent; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; color: var(--tinta); background: var(--papel); transition: transform var(--t), box-shadow var(--t); }
.nt-padbtn b { font-size: 1.2rem; }
.nt-padbtn:hover { transform: translateY(-1px); box-shadow: var(--sombra); }
.nt-padbtn:active { transform: scale(.96); }
.t-I { background: var(--broto-0); border-color: var(--broto); }
.t-V, .t-G { background: var(--lagoa-0); border-color: var(--lagoa); }
.t-FP, .t-FT { background: var(--girassol-0); border-color: var(--girassol); }
.t-N { background: var(--coral-0); border-color: var(--coral); }
.nt-undo { background: var(--nevoa); border-color: var(--linha); }
.nt-trials { display: flex; flex-wrap: wrap; gap: 5px; min-height: 30px; align-items: center; }
.nt-trial { min-width: 30px; height: 28px; padding: 0 6px; border-radius: 8px; border: 2px solid; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; animation: nt-fade .2s ease both; }
.nt-trial-sum { margin: 0; }

.nt-opts { display: grid; gap: 10px; }
.nt-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--raio-p); border: 1.5px solid var(--linha); cursor: pointer; }
.nt-opt:has(input:checked) { border-color: var(--lagoa); background: var(--lagoa-0); }
.nt-opt input { margin-top: 4px; accent-color: var(--lagoa); }
.nt-opt span { display: grid; gap: 2px; }
.nt-opt small { color: var(--tinta-2); }

.nt-termo { max-width: 680px; width: 100%; display: grid; gap: 14px; }
.nt-termo h1 { margin: 0; }
.nt-termo-txt { white-space: pre-wrap; max-height: 46vh; overflow: auto; padding: 16px; border-radius: var(--raio-p); background: var(--nevoa); line-height: 1.6; }
.nt-boot:has(.nt-termo) { padding: 16px; }
.nt-week > button, .nt-week > strong { flex: none; min-width: 44px; }
.nt-agenda { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.nt-slot-top .nt-num { white-space: nowrap; }
.nt-slot-acoes .nt-btn { padding: 6px 10px; font-size: .8rem; }
