/* =========================================================
   Studio Reabilitar — Centro Integrado de Saúde  |  Demonstração GÖR Digital
   Identidade: azul #004180 e verde #62BA46 (cores da logo), com branco
   ========================================================= */
:root {
  --ink: #002A52; --ink2: #0A3461; --ink3: #134372; --ink-line: #1E4D7B;
  --y: #62BA46; --y-2: #4EA334; --y-soft: #E9F6E4; --y-text: #2E6B1C;
  --blue: #004180; --blue-2: #00346A; --blue-soft: #E5EEF7;
  --green: #2E7D32; --green-soft: #E6F4E6; --wa: #1FAF5A;
  --amber: #B7791F; --amber-soft: #FDF3DC; --amber-text: #8A5A00;
  --red: #C62828; --red-soft: #FDECEC;
  --bg: #F2F5F8; --card: #FFFFFF; --line: #E1E7EE; --line2: #ECF0F4;
  --text: #0F1D2C; --t2: #3A4859; --muted: #66768A; --muted2: #98A5B4;
  --r: 14px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(0, 42, 82, .05);
  --sh-lg: 0 24px 60px -12px rgba(16, 24, 40, .28);
  --phone-scale: 1;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.ic { flex: none; display: block; }
.bolt { color: var(--y); }
.y { color: var(--y); } .y-soft { color: var(--y); }
::selection { background: var(--y); color: var(--ink); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #D5D8DE; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- Palco: desktop x mobile ---------- */
#stage { position: fixed; inset: 0; }
#device, #screen { width: 100%; height: 100%; }
#screen { position: relative; container-type: inline-size; container-name: scr; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
#app { flex: 1; min-height: 0; position: relative; }
#statusbar, #home-indicator, #stage-label, #stage-foot { display: none; }

body.mode-mobile #stage { display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(1200px 700px at 50% 40%, #FAFBFC, #E7E9ED); padding-bottom: 64px; }
body.mode-mobile.bar-hidden #stage { padding-bottom: 0; }
body.mode-mobile #stage-label, body.mode-mobile #stage-foot { display: block; color: #7C828D; font-size: 13px; letter-spacing: .32em; font-weight: 500; }
body.mode-mobile #stage-label { margin-bottom: 18px; }
body.mode-mobile #stage-foot { margin-top: 14px; letter-spacing: .08em; font-size: 12px; }
body.mode-mobile #device { width: 414px; height: 868px; flex: none; padding: 12px; border-radius: 64px; background: linear-gradient(145deg, #2B2D33, #0B0C0E 40%, #1C1D21); box-shadow: inset 0 0 0 2px #3A3C42, inset 0 0 0 4px #111, 0 40px 80px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.25); transform: scale(var(--phone-scale)); transform-origin: center center; margin: calc(868px * (var(--phone-scale) - 1) / 2) 0; position: relative; }
body.mode-mobile #device::before, body.mode-mobile #device::after { content: ''; position: absolute; width: 4px; border-radius: 3px; background: #2A2C31; }
body.mode-mobile #device::before { left: -3px; top: 190px; height: 64px; box-shadow: 0 90px 0 #2A2C31; }
body.mode-mobile #device::after { right: -3px; top: 250px; height: 96px; }
body.mode-mobile #screen { width: 390px; height: 844px; border-radius: 52px; transform: translateZ(0); background: #fff; }
body.mode-mobile #statusbar { display: flex; align-items: center; justify-content: space-between; height: 50px; flex: none; padding: 14px 34px 0 40px; font-weight: 600; font-size: 16px; background: #fff; color: #000; z-index: 5; }
body.mode-mobile.sb-dark #statusbar { background: var(--ink); color: #fff; }
body.mode-mobile[data-role="admin"] #statusbar { background: #fff; }
body.mode-mobile[data-role="publico"] #statusbar { background: #fff; color: #000; }
#statusbar .sb-icons { display: flex; gap: 6px; align-items: center; }
#statusbar svg { fill: currentColor; }
body.mode-mobile #home-indicator { display: block; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 4px; background: #111; z-index: 60; pointer-events: none; }
body.mode-mobile[data-role="aluno"] #home-indicator { background: #fff; }

/* ---------- Barra do apresentador ---------- */
#demobar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 9999; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(0, 32, 64, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; font-size: 13px; }
body.bar-hidden #demobar { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.db-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 8px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.db-brand i { width: 4px; height: 18px; background: var(--y); border-radius: 2px; }
.db-brand span { font-size: 10px; letter-spacing: .14em; color: var(--y); font-weight: 700; border: 1px solid rgba(98,186,70,.5); padding: 2px 6px; border-radius: 6px; }
#demobar .seg { background: rgba(255,255,255,.07); }
#demobar .seg button { color: #C9CCD3; }
#demobar .seg button.on { background: var(--y); color: var(--ink); }
.db-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #C9CCD3; }
.db-icon:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Componentes base ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--line2); }
.seg button { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; font-weight: 600; font-size: 13px; color: var(--t2); white-space: nowrap; transition: background .15s; }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--sh); }
.seg.full { display: flex; } .seg.full button { flex: 1; justify-content: center; height: 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .08s, background .15s, box-shadow .15s, border-color .15s; position: relative; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; gap: 6px; }
.btn.lg { height: 54px; padding: 0 24px; font-size: 16.5px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn-yellow { background: var(--y); color: var(--ink); }
.btn-yellow:hover { background: #6FC753; box-shadow: 0 6px 16px -6px rgba(78,163,52,.6); }
.btn-dark { background: var(--blue); color: #fff; } .btn-dark:hover { background: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-2); }
.btn-wa { background: var(--wa); color: #fff; } .btn-wa:hover { background: #189A4E; }
.btn-outline { background: #fff; border: 1.5px solid #CDD1D8; color: var(--text); } .btn-outline:hover { border-color: var(--ink2); }
.btn-outline-blue { background: #fff; border: 1.5px solid var(--blue); color: var(--blue); }
.btn-soft-blue { background: var(--blue-soft); color: var(--blue); }
.btn-soft-blue.done { background: var(--green-soft); color: var(--green); }
.btn-ghost { background: transparent; color: var(--t2); } .btn-ghost:hover { background: var(--line2); }
.btn-ghost-dark { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); }
.danger { color: var(--red) !important; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.link:hover { text-decoration: underline; }
.link.sm { font-size: 13px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--text); position: relative; flex: none; }
.icon-btn:hover { background: var(--line2); }
.icon-btn.sq { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; }
.icon-btn.sm { width: 30px; height: 30px; color: var(--muted); }
.bell .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 2px #fff; }
.mhead.dark .bell .dot { box-shadow: 0 0 0 2px var(--ink); }

.av { border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; flex: none; font-weight: 700; color: var(--ink2); background: #E4E7EC; }
.av img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.av-stack { display: inline-flex; }
.av-stack .av { box-shadow: 0 0 0 3px #fff; }
.av-stack .av + .av { margin-left: -6px; }
.av.more { background: var(--line2); font-size: 12px; color: var(--t2); }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; line-height: 1; }
.pay-pago { background: var(--blue-soft); color: var(--blue); }
.pay-pendente { background: var(--amber-soft); color: var(--amber-text); }
.pay-atrasado { background: #fff; color: #9A3412; box-shadow: inset 0 0 0 1.5px #E7A27C; }
.st-ativo { background: var(--green-soft); color: var(--green); }
.st-pausado { background: var(--amber-soft); color: var(--amber-text); }
.st-cancelado { background: var(--line2); color: var(--muted); }
.lead-lead { background: var(--line2); color: var(--t2); }
.lead-agendada { background: var(--blue-soft); color: var(--blue); }
.lead-realizada { background: var(--amber-soft); color: var(--amber-text); }
.lead-convertida { background: var(--green-soft); color: var(--green); }
.lead-faltou { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.pill.gray { background: var(--line2); color: var(--t2); }
.pill.blue-soft { background: var(--blue-soft); color: var(--blue); }
.pill.blue-solid { background: var(--blue); color: #fff; }
.pill.blue-solid.lg { height: 30px; padding: 0 14px; font-size: 13.5px; font-weight: 600; }
.pill.yellow-soft { background: var(--amber-soft); color: var(--amber-text); }
.pill.green { background: var(--green-soft); color: var(--green); }

.switch { width: 44px; height: 26px; border-radius: 99px; background: #D5D9E0; position: relative; flex: none; transition: background .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch.on { background: var(--ink2); } .switch.on span { transform: translateX(18px); background: var(--y); }

.input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--ink2); box-shadow: 0 0 0 3px rgba(98,186,70,.28); }
.input.slim { height: 40px; width: auto; min-width: 150px; font-size: 14px; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23111' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-grid label, .lbl-sm { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--t2); }
.lbl-sm { margin-top: 14px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.check.sm { border: 0; padding: 8px 0; font-size: 13.5px; color: var(--t2); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B8BEC8; flex: none; display: grid; place-items: center; transition: .15s; }
.check input:checked + span { background: var(--ink2); border-color: var(--ink2); }
.check input:checked + span::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: rotate(-45deg) translate(1px, -1px); }
.checks { display: grid; gap: 8px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--line2); color: var(--t2); font-size: 13.5px; line-height: 1.45; margin: 12px 0; }
.note.blue { background: var(--blue-soft); color: #003A73; }
.note.warn { background: var(--amber-soft); color: var(--amber-text); }
.alert-box { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--amber-soft); color: #6B4500; font-size: 14px; line-height: 1.5; margin: 14px 0 0; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); } .kv b { font-weight: 600; text-align: right; display: inline-flex; gap: 6px; align-items: center; }
.sec-t { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin: 20px 0 10px; }
.muted { color: var(--muted); } .sm { font-size: 13px; } .center { text-align: center; justify-content: center; }
.ok-t { color: var(--green); display: inline-flex; gap: 5px; align-items: center; }
.warn-t { color: #B45309; display: inline-flex; gap: 4px; align-items: center; }
.blue-t { color: var(--blue); }
.block { display: block; } .grow { flex: 1; } .grow-r { margin-left: auto; } .mt { margin-top: 16px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.w18 { display: inline-block; width: 18px; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; }
.eyebrow.y { color: var(--y); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 32px 16px; color: var(--muted); text-align: center; font-size: 14px; }
.empty b { color: var(--text); font-size: 15px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; flex: none; }
.spin.dark { color: var(--ink2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); height: 100%; background: var(--bg); transition: grid-template-columns .25s; }
.shell.collapsed { grid-template-columns: 84px minmax(0, 1fr); }
.sidebar { background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 22px 16px 18px; min-height: 0; overflow: hidden auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { display: block; font-size: 18px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .2em; color: #A3A8B3; margin-top: 3px; font-weight: 500; }
.sidebar .brand { padding: 2px 8px 30px; }
.sidebar .brand .bolt { width: 34px; height: 34px; }
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px; border-radius: 10px; font-size: 16.5px; font-weight: 500; color: #E7E9ED; transition: background .15s, color .15s; white-space: nowrap; }
.nav-item:hover { background: rgba(255,255,255,.06); }
.nav-item.active { background: var(--y); color: var(--ink); font-weight: 600; }
.nav-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; }
.side-user { display: flex; align-items: center; gap: 12px; padding: 16px 8px 0; margin-top: 10px; border-top: 1px solid var(--ink-line); color: #fff; }
.side-user > span:not(.av) { flex: 1; min-width: 0; text-align: left; } .side-user b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user small { display: block; color: #A3A8B3; font-size: 12px; }
.shell.collapsed .nav-item span, .shell.collapsed .brand > div, .shell.collapsed .side-user > span:not(.av), .shell.collapsed .side-user > .ic { display: none; }
.shell.collapsed .nav-item { justify-content: center; padding: 0; }
.shell.collapsed .side-user { justify-content: center; }
.main { min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; scroll-behavior: smooth; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 68px; flex: none; padding: 0 24px 0 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line2); }
.crumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 16px; }
.crumbs span[data-go] { cursor: pointer; } .crumbs span[data-go]:hover { color: var(--text); }
.crumbs .cur { color: #4B5563; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-av { border-radius: 50%; margin-left: 6px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.page { padding: 26px 28px 30px; flex: 1; }
.page.flush { padding: 0; }
.mhead { display: none; }
.tabbar { display: none; }

/* ---------- Cabeçalho de página ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 44px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.page-head .lead { font-size: 18px; color: var(--muted); margin-top: 6px; }
.head-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.select-btn { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 500; }
.select-btn span { min-width: 140px; }
.head-actions .btn-lg, .head-actions .btn.btn-lg { height: 54px; padding: 0 24px; font-size: 18px; border-radius: 10px; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; padding: 22px 22px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: left; transition: transform .15s, box-shadow .15s; min-height: 132px; }
button.kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(16,24,40,.25); }
.kpi-l { display: contents; }
.kpi-l > .ic { grid-column: 1; grid-row: 1; }
.kpi-l > span { grid-column: 2; grid-row: 1; font-size: 15.5px; font-weight: 600; color: var(--text); }
.kpi-n { grid-column: 2; grid-row: 2; font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.kpi-n.md { font-size: 30px; letter-spacing: -.03em; margin-top: 10px; }
.kpi > small { grid-column: 2; grid-row: 3; font-size: 13px; color: var(--muted); margin-top: 4px; display: flex; gap: 4px; align-items: center; }
.kpi > small.up { color: var(--green); }
.kpi-go { grid-column: 3; grid-row: 1 / 4; color: var(--muted2); }
.kpi-info { color: var(--blue); display: inline-flex; }
.kpi.dark { background: var(--ink2); border-color: var(--ink2); color: #fff; }
.kpi.dark .kpi-l > span { color: #fff; } .kpi.dark .kpi-go { color: #fff; } .kpi.dark > small { color: #A3A8B3; } .kpi.dark > small.up { color: var(--y); }
.kpi-n.y { color: var(--y); }
.kpis.rep .kpi { grid-template-columns: 0 1fr; column-gap: 0; min-height: 118px; }

/* ---------- Cards e grids ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--sh); min-width: 0; }
.card.pad0 { padding: 0; overflow: hidden; }
.card + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.card-head .link { margin-left: auto; }
.ch-ic { display: flex; color: var(--text); }
.card.dark { background: var(--ink2); border-color: var(--ink2); color: #fff; }
.dash-row { display: grid; gap: 16px; margin-bottom: 16px; }
.dash-row.r1 { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); }
.dash-row.r2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; align-items: start; }
.grid-2.wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.foot-note { text-align: right; font-size: 12.5px; color: var(--muted); padding: 8px 2px 0; }
.foot-note i { font-style: normal; margin: 0 8px; color: #C5CAD2; }

/* ---------- Tabelas ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 500; color: #374151; background: #F4F5F7; padding: 12px 16px; font-size: 14px; white-space: nowrap; }
.tbl th:first-child { border-radius: 8px 0 0 8px; } .tbl th:last-child { border-radius: 0 8px 8px 0; }
.card.pad0 .tbl th { border-radius: 0; background: #F7F8FA; border-bottom: 1px solid var(--line2); padding: 12px 20px; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.card.pad0 .tbl td { padding: 12px 20px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; transition: background .12s; }
.tbl tr.click:hover td { background: #FAFAFB; }
.tbl tr.fresh td { background: #F1F8EE; animation: fresh 2.4s ease; }
@keyframes fresh { from { background: #CDEBC2; } }
.tbl .r { text-align: right; }
.tbl .actions { white-space: nowrap; } .tbl .actions .btn + .btn { margin-left: 6px; }
.tbl .chev { width: 30px; color: var(--muted2); }
.tbl.compact td { padding: 12px 16px; }
.tbl b { font-weight: 600; }
.who { display: flex; align-items: center; gap: 12px; }
.who span { min-width: 0; } .who b { display: block; white-space: nowrap; } .who small { display: block; font-size: 12.5px; color: var(--muted); }
.cred { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.cred span { width: 56px; height: 6px; border-radius: 4px; background: var(--line2); overflow: hidden; }
.cred.wide span { width: 120px; }
.cred i { display: block; height: 100%; background: var(--ink2); border-radius: 4px; }
.filters { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.filters .input { width: auto; min-width: 180px; height: 40px; font-size: 14px; }
.search-in { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; flex: 1; min-width: 200px; max-width: 360px; color: var(--muted); background: #fff; }
.search-in input { border: 0; outline: 0; flex: 1; height: 100%; font-size: 14px; background: transparent; color: var(--text); min-width: 0; }
.search-in.big { height: 50px; max-width: none; margin-bottom: 12px; border-radius: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line2); }
.pager > div { display: flex; gap: 6px; align-items: center; }
.pg { min-width: 34px; height: 34px; border-radius: 8px; font-weight: 600; color: var(--t2); }
.pg.on { background: var(--ink2); color: #fff; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--t2); display: flex; align-items: center; gap: 8px; }
.tabs button span { font-size: 12px; background: var(--line2); color: var(--t2); padding: 2px 8px; border-radius: 99px; }
.tabs button:hover { background: #E9EBEF; }
.tabs button.on { background: var(--ink2); color: #fff; }
.tabs button.on span { background: var(--y); color: var(--ink); }
.tabs.inline { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--t2); white-space: nowrap; }
.chip.on { background: var(--ink2); border-color: var(--ink2); color: #fff; }

/* ---------- Dashboard ---------- */
.hbars { display: flex; flex-direction: column; gap: 20px; padding: 8px 0 6px; }
.hbar { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 14px; }
.hb-label { font-size: 16px; color: var(--t2); }
.hb-track { height: 18px; border-radius: 5px; background: #EEF0F3; overflow: hidden; }
.hb-fill { display: block; height: 100%; border-radius: 5px; animation: grow .9s cubic-bezier(.2,.8,.2,1); transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.hb-val { text-align: right; font-size: 17px; font-weight: 700; }
.plans-card .hbar { grid-template-columns: 96px 1fr 48px; }
.total-line { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.total-line b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.total-line span { font-size: 16px; color: var(--muted); }
.next-list { display: flex; flex-direction: column; }
.next-row { display: grid; grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 10px; border-top: 1px solid var(--line2); font-size: 15px; border-radius: 8px; }
.next-row:hover { background: #FAFAFB; }
.nr-t { font-size: 18px; font-weight: 700; } .nr-v { color: var(--t2); }
.report-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 24px 26px; overflow: hidden; }
.rc-title { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.rc-title h3 { font-size: 20px; font-weight: 600; } .rc-title p { color: #A3A8B3; font-size: 14.5px; margin-top: 4px; }
.rc-title .ic { color: #fff; }
.rc-text small { display: block; color: #8B919C; font-size: 13px; margin-top: 14px; }
.rc-text .btn { height: 50px; padding: 0 26px; font-size: 16px; }
.mini-bars { display: flex; align-items: flex-end; gap: 12px; height: 110px; flex: none; }
.mini-bars span { width: 18px; border-radius: 4px; background: rgba(255,255,255,.18); animation: rise .9s cubic-bezier(.2,.8,.2,1) backwards; }
.mini-bars span.hi { background: var(--y); }
.mini-bars span:nth-child(2) { animation-delay: .05s; } .mini-bars span:nth-child(3) { animation-delay: .1s; } .mini-bars span:nth-child(4) { animation-delay: .15s; } .mini-bars span:nth-child(5) { animation-delay: .2s; } .mini-bars span:nth-child(6) { animation-delay: .25s; }
@keyframes rise { from { height: 0; } }

/* ---------- Agenda ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.ag-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-stats span { height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.ag-stats b { color: var(--text); } .ag-stats .blue { background: var(--blue-soft); border-color: transparent; color: var(--blue); } .ag-stats .blue b { color: var(--blue); }
.ag-week { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.week-nav { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.week-nav span { min-width: 104px; text-align: center; }
.week-nav .icon-btn.sq { border: 0; }
.wgrid { display: grid; }
.wg-h { padding: 14px 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--t2); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line2); background: #FAFAFB; letter-spacing: .02em; }
.wg-h.first { border-left: 0; font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }
.wg-h.today { background: var(--ink2); color: var(--y); }
.wg-t { padding: 14px 8px; font-size: 13px; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line2); }
.wg-c { padding: 6px; border-left: 1px solid var(--line2); border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; gap: 6px; min-height: 72px; }
.wg-c.today { background: #F6FAFD; }
.sb { display: block; width: 100%; text-align: left; padding: 9px 10px 8px; border-radius: 8px; background: #FFF1B0; border-left: 3px solid var(--y-2); transition: transform .12s, box-shadow .12s; position: relative; }
.sb:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.25); }
.sb b { display: block; font-size: 14px; font-weight: 700; }
.sb-m { display: block; font-size: 12px; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb small { display: block; font-size: 11px; color: rgba(17,18,22,.62); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-cap { display: block; height: 3px; border-radius: 2px; background: rgba(17,18,22,.1); margin-top: 7px; overflow: hidden; }
.sb-cap i { display: block; height: 100%; background: var(--ink2); }
.sb.full { background: var(--y); }
.sb.exp { background: var(--blue); border-left-color: #0E3FC2; color: #fff; }
.sb.exp small { color: rgba(255,255,255,.8); }
.sb.blk { background: #EEF0F3; border-left-color: #C9CED6; color: var(--muted); }
.sb.blk small { color: var(--muted2); }
.sb.past { opacity: .58; }
.legend { display: flex; gap: 22px; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-reg { background: #FFE683; } .lg-exp { background: var(--blue); } .lg-full { background: var(--y-2); } .lg-blk { background: #D5D9E0; }
.only-narrow { display: none; }
.daychips { display: flex; gap: 8px; margin-bottom: 14px; }
.dchip { flex: 1; height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: background .15s; }
.dchip small { font-size: 11.5px; font-weight: 500; color: var(--t2); letter-spacing: .02em; }
.dchip b { font-size: 19px; font-weight: 600; }
.dchip.on { background: var(--y); border-color: var(--y); }
.dchip.is-today:not(.on) { border-color: var(--ink2); }
.day-list { display: flex; flex-direction: column; gap: 8px; }
.day-list .sb { padding: 12px 14px; } .day-list .sb b { font-size: 16px; } .day-list .sb-m { font-size: 14px; } .day-list .sb small { font-size: 12.5px; }

/* Modal de aula */
.sess-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--t2); font-size: 14px; }
.sess-meta span { display: flex; align-items: center; gap: 6px; }
.sess-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 4px; }
.sess-stats > div { background: #F6F7F9; border-radius: 12px; padding: 12px 14px; }
.sess-stats small { display: block; font-size: 11.5px; color: var(--muted); }
.sess-stats b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.sess-stats b.sm { font-size: 14.5px; font-weight: 700; display: block; margin-top: 6px; }
.sess-stats em { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 600; }
.plist { display: flex; flex-direction: column; gap: 2px; }
.prow { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line2); }
.prow:last-child { border-bottom: 0; }
.prow > div { flex: 1; min-width: 0; } .prow b { display: block; font-size: 14.5px; font-weight: 600; } .prow small { display: flex; gap: 4px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.lock-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--line2); display: grid; place-items: center; }
.add-row { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.add-row .input { flex: 1; }
.att-list { display: flex; flex-direction: column; gap: 10px; }
.att { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.att-top { display: flex; align-items: center; gap: 12px; }
.att-n { flex: 1; min-width: 0; } .att-n b { display: block; font-size: 15px; } .att-n small { font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; }
.seg-sm { display: flex; background: var(--line2); padding: 3px; border-radius: 10px; flex: none; }
.seg-sm button { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg-sm button.on.ok { background: var(--blue); color: #fff; }
.seg-sm button.on.bad { background: var(--ink2); color: #fff; }
.att-more { display: grid; grid-template-columns: 200px 1fr; gap: 12px; margin-top: 12px; align-items: center; }
.att-more label { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.att-more output { font-weight: 700; color: var(--text); }
.att-more input[type=range] { accent-color: var(--ink2); width: 100%; }
.att-more .input { height: 40px; font-size: 13.5px; }

/* ---------- Perfil de aluno (admin) ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.back-link:hover { color: var(--text); }
.profile-head { display: flex; gap: 22px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.ph-main { flex: 1; min-width: 260px; }
.ph-main h1, .ficha-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.ph-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.ph-meta span { display: flex; gap: 6px; align-items: center; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.credits-big { display: flex; align-items: center; gap: 14px; }
.credits-big b { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.credits-big span { font-weight: 600; font-size: 15px; } .credits-big small { color: var(--muted); font-weight: 500; }
.seg-bar { display: flex; gap: 6px; margin: 14px 0 6px; }
.seg-bar i { flex: 1; height: 10px; border-radius: 6px; background: #E7E9EE; }
.seg-bar i.on { background: var(--y); }
.btn-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pay-list { display: flex; flex-direction: column; }
.pay-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); width: 100%; text-align: left; }
.pay-row:last-child { border-bottom: 0; }
.pay-row > div { flex: 1; } .pay-row b { display: block; font-size: 14.5px; font-weight: 600; } .pay-row small { font-size: 12.5px; color: var(--muted); }
.pay-row.next { background: var(--amber-soft); margin: 0 -12px; padding: 12px; width: calc(100% + 24px); border-radius: 10px; border: 0; }
.hist { display: flex; flex-direction: column; }
.h-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.h-row:last-child { border-bottom: 0; }
.h-row > div { flex: 1; min-width: 0; } .h-row b { display: block; font-size: 14.5px; font-weight: 600; } .h-row small { font-size: 12.5px; color: var(--muted); }
.h-d { width: 46px; height: 46px; border-radius: 12px; background: #F4F5F7; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.h-d b { font-size: 17px; line-height: 1; font-weight: 800; } .h-d small { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-stats.card { margin-bottom: 16px; }
.mini-stats > div { text-align: center; padding: 6px 0; }
.mini-stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.mini-stats small { font-size: 12.5px; color: var(--muted); }
.goal { padding: 8px 0 12px; }
.goal > div:first-child { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; }
.goal i { display: block; height: 8px; border-radius: 6px; background: var(--line2); overflow: hidden; }
.goal em { display: block; height: 100%; background: var(--y); border-radius: 6px; transition: width .5s; }
.goal-act { margin-top: 6px; text-align: right; }
.note-item { padding: 12px 14px; background: #F7F8FA; border-radius: 12px; margin-top: 10px; }
.note-item small { font-size: 12px; color: var(--muted); }
.note-item p { font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.vis { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: 8px; color: var(--muted); padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.vis.on { color: var(--blue); border-color: #C6D7EA; }
.notes { margin-bottom: 12px; }

/* ---------- Professores / estrutura ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.t-top { display: flex; gap: 14px; align-items: center; }
.t-top > div { flex: 1; } .t-top h3 { font-size: 18px; font-weight: 700; } .t-top small { display: block; font-size: 13px; color: var(--t2); }
.rating { display: inline-flex; gap: 5px; align-items: center; font-weight: 700; font-size: 13.5px; color: var(--text); }
.rating .ic { color: #E3A72F; fill: #F2C14E; }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 10px; }
.t-stats b { display: block; font-size: 24px; font-weight: 800; } .t-stats small { font-size: 12.5px; color: var(--muted); }
.t-occ { height: 6px; background: var(--line2); border-radius: 4px; overflow: hidden; }
.t-occ i { display: block; height: 100%; background: var(--y); }
.rooms { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.room .card-head .pill { margin-left: auto; }
.eq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.eq { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.eq.manutencao { background: var(--amber-soft); border-color: #F2D9A0; }
.eq-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.eq-top b { font-size: 16px; } .eq-top .pill { margin-left: auto; height: 22px; font-size: 11.5px; padding: 0 8px; }
.eq small { font-size: 12.5px; color: var(--muted); } .eq .link { margin-top: 6px; }
.perm { display: flex; flex-direction: column; }
.perm-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.perm-row:last-child { border-bottom: 0; }

/* ---------- Planos ---------- */
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink2); }
.pl-top { display: flex; align-items: center; gap: 10px; }
.pl-top h3 { font-size: 20px; font-weight: 700; } .pl-top .pill { margin-left: auto; }
.pl-dot { width: 12px; height: 12px; border-radius: 4px; }
.pl-price { margin: 16px 0 4px; } .pl-price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; } .pl-price span { color: var(--muted); font-size: 15px; }
.pl-feat { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--t2); }
.pl-feat li { display: flex; gap: 8px; align-items: center; } .pl-feat .ic { color: var(--green); }
.pl-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--muted); }
.pl-foot b { color: var(--text); font-size: 18px; }
.pack-list { display: flex; flex-direction: column; }
.pack { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.pack > div { flex: 1; } .pack b { font-weight: 700; } .pack small { display: block; color: var(--muted); font-size: 12.5px; }
.pack.exp { border-bottom: 0; background: var(--blue-soft); margin: 6px -12px 0; padding: 12px; border-radius: 10px; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pick.col { grid-template-columns: 1fr; }
.pp { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: .15s; position: relative; }
.pp input { position: absolute; opacity: 0; }
.pp b { font-size: 15px; } .pp span { font-size: 18px; font-weight: 800; } .pp small { font-size: 12px; color: var(--muted); }
.pp.on { border-color: var(--blue); background: #F3F8FD; box-shadow: inset 0 0 0 1px var(--blue); }

/* ---------- Financeiro / gráficos ---------- */
.chart { display: block; overflow: visible; }
.chart .ax { font-size: 12px; fill: var(--muted); font-family: inherit; }
.chart .lbl { font-size: 13px; font-weight: 700; fill: var(--text); font-family: inherit; }
.chart .col:hover path { opacity: .85; }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; padding: 4px 0; }
.donut { position: relative; flex: none; }
.donut svg circle[data-tip] { transition: stroke-width .15s; cursor: pointer; }
.donut svg circle[data-tip]:hover { stroke-width: 30; }
.donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.donut-c b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; } .donut-c span { font-size: 12.5px; color: var(--muted); }
.dlegend { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.dlegend span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--t2); }
.dlegend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.dlegend b { margin-left: auto; color: var(--text); }
.heat { display: grid; gap: 4px; }
.hm-h { font-size: 11.5px; text-align: center; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.hm-r { font-size: 12px; color: var(--muted); display: flex; align-items: center; }
.hm-c { height: 30px; border-radius: 6px; font-size: 11px; font-weight: 600; display: grid; place-items: center; cursor: default; transition: transform .12s; }
.hm-c:not(.na):hover { transform: scale(1.08); box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.hm-c.na { background: repeating-linear-gradient(135deg, #F7F8FA 0 4px, #EEF0F3 4px 5px) !important; }
.hm-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 12px; font-size: 12px; color: var(--muted); }
.hm-legend i { width: 22px; height: 10px; border-radius: 3px; }
.hm-legend span { margin: 0 6px; }
.funnel { display: flex; flex-direction: column; gap: 12px; }
.fn-row { display: grid; grid-template-columns: 112px 1fr 36px 38px; align-items: center; gap: 10px; font-size: 13.5px; }
.fn-l { color: var(--t2); }
.fn-bar { height: 22px; background: #F4F5F7; border-radius: 6px; overflow: hidden; }
.fn-bar span { display: block; height: 100%; border-radius: 6px; animation: grow .9s cubic-bezier(.2,.8,.2,1); transform-origin: left; }
.fn-row b { text-align: right; } .fn-row em { font-style: normal; font-size: 12px; color: var(--muted); text-align: right; }
.pay-big { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pay-big b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.wa-preview { background: #EFE7DD; border-radius: 14px; overflow: hidden; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #075E54; color: #fff; font-size: 14px; }
.wa-head small { opacity: .75; font-size: 11.5px; margin-left: auto; }
.wa-chat { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.bubble { max-width: 88%; padding: 8px 10px 6px; border-radius: 10px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); white-space: pre-wrap; }
.bubble small { display: block; text-align: right; font-size: 10.5px; color: #8696A0; margin-top: 2px; }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.bubble.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 2px; }
.wa-compose small { display: flex; gap: 6px; align-items: center; color: var(--muted); margin-top: 8px; font-size: 12.5px; }
.pix-box { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; }
.qr { width: 180px; height: 180px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; fill: var(--ink2); }
.pix-code { display: flex; align-items: center; gap: 8px; width: 100%; background: #F6F7F9; border-radius: 10px; padding: 6px 6px 6px 12px; }
.pix-code span { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pix-status { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.receipt { border: 1px dashed #CDD1D8; border-radius: 14px; padding: 18px; }
.rc-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.rc-brand b { font-weight: 800; } .rc-brand small { width: 100%; color: var(--muted); font-size: 12px; }
.rc-amount { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.stepper { display: flex; gap: 10px; align-items: center; justify-content: center; }
.stepper .input { width: 90px; text-align: center; font-size: 22px; font-weight: 800; height: 52px; }

/* ---------- Configurações ---------- */
.auto-list { display: flex; flex-direction: column; }
.auto { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.auto:last-child { border-bottom: 0; }
.au-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--y-soft); color: var(--y-text); display: grid; place-items: center; flex: none; }
.au-t { flex: 1; min-width: 0; } .au-t b { display: block; font-size: 14.5px; } .au-t small { font-size: 12.5px; color: var(--muted); }
.msg-log { display: flex; flex-direction: column; }
.ml { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.ml:last-child { border-bottom: 0; }
.ml > div { flex: 1; min-width: 0; } .ml b { display: block; font-size: 14px; } .ml small { font-size: 12px; color: var(--muted); }
.ml-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--line2); flex: none; }
.ml-ic.wa { background: #DDF7E7; color: var(--wa); }
.ml-st { font-size: 12px; color: var(--muted); white-space: nowrap; } .ml-st .read { color: #34B7F1; font-style: normal; }
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.int { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.int-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink2); color: var(--y); display: grid; place-items: center; margin-bottom: 4px; }
.int h3 { font-size: 16.5px; } .int p { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.int.off { background: #FAFAFB; } .int.off .int-ic { background: var(--line2); color: var(--muted); }
.brand-prev { display: flex; align-items: center; gap: 12px; padding: 26px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatches i { display: block; height: 56px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; }
.swatches b { display: block; font-size: 13px; } .swatches small { font-size: 12px; color: var(--muted); }
.auto-edit { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.vars { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.phone-like { border-radius: 22px; border: 8px solid var(--ink2); }
.list-menu { display: flex; flex-direction: column; }
.list-menu.card { padding: 6px 18px; margin-bottom: 16px; }
.list-menu button { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line2); text-align: left; width: 100%; }
.list-menu button:last-child { border-bottom: 0; }
.list-menu button > span:nth-child(2) { flex: 1; } .list-menu b { display: block; font-size: 15px; font-weight: 600; } .list-menu small { font-size: 12.5px; color: var(--muted); }
.lm-ic { width: 40px; height: 40px; border-radius: 12px; background: #F4F5F7; display: grid; place-items: center; flex: none; }
.lm-ic.wa { background: #DDF7E7; color: var(--wa); }

/* ---------- Busca, popovers ---------- */
.search-box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1.5px solid var(--ink2); border-radius: 12px; box-shadow: 0 0 0 3px rgba(98,186,70,.28); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 16px; }
.q-res { margin-top: 10px; max-height: 380px; overflow: auto; }
.q-sec { font-size: 12px; font-weight: 700; color: var(--muted); padding: 8px 4px; letter-spacing: .04em; }
.q-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border-radius: 10px; }
.q-item:hover { background: #F6F7F9; }
.q-item > span:nth-child(2) { flex: 1; } .q-item b { display: block; font-size: 14.5px; } .q-item small { font-size: 12.5px; color: var(--muted); }
.pop { position: absolute; z-index: 400; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(16,24,40,.06); opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s; overflow: hidden; }
.pop.in { opacity: 1; transform: none; }
.pop-notifs { width: 360px; max-width: calc(100% - 24px); }
.pop-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.notif { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: #F3F8FD; }
.n-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--ink2); color: var(--y); display: grid; place-items: center; flex: none; }
.notif b { display: block; font-size: 14px; } .notif span { display: block; font-size: 13px; color: var(--t2); } .notif small { font-size: 11.5px; color: var(--muted); }
.pop-menu { width: 230px; padding: 6px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.menu button:hover { background: #F4F5F7; }
.menu-sep { font-size: 11px; font-weight: 700; color: var(--muted); padding: 10px 12px 4px; letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid var(--line2); margin-top: 4px; }
.menu-sep:empty { padding: 0; margin: 4px 0; }

/* ---------- Modal ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 300; background: rgba(10,11,14,.0); display: flex; align-items: center; justify-content: center; padding: 24px; transition: background .2s; }
.modal-wrap.in { background: rgba(10,11,14,.48); }
.modal { background: #fff; border-radius: 20px; width: 100%; max-height: calc(100% - 20px); display: flex; flex-direction: column; box-shadow: var(--sh-lg); transform: translateY(14px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.modal-wrap.in .modal { transform: none; opacity: 1; }
.modal.sm { max-width: 440px; } .modal.md { max-width: 620px; } .modal.lg { max-width: 820px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 4px; }
.modal-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.modal-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.modal-body { padding: 16px 24px 20px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; align-items: center; padding: 14px 24px 18px; border-top: 1px solid var(--line2); flex-wrap: wrap; }
.success-box { text-align: center; padding: 18px 0 6px; }
.ok-big { width: 76px; height: 76px; border-radius: 50%; background: var(--y); display: inline-grid; place-items: center; margin-bottom: 14px; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success-box h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.success-box p { color: var(--t2); line-height: 1.6; }
.succ-meta { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.succ-meta span { display: flex; gap: 6px; align-items: center; }

/* ---------- Toasts e tooltip ---------- */
#toasts { position: fixed; top: 18px; right: 18px; z-index: 500; display: flex; flex-direction: column; gap: 10px; pointer-events: none; width: 380px; max-width: calc(100% - 24px); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 16px; background: var(--ink2); color: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); transform: translateX(30px); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; font-size: 14px; line-height: 1.4; }
.toast.in { transform: none; opacity: 1; }
.toast b { display: block; font-size: 14px; margin-bottom: 2px; }
.toast em { font-style: normal; color: var(--t2); }
.t-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--y); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast.wa { background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); backdrop-filter: blur(10px); }
.toast.wa .t-ic { background: var(--wa); color: #fff; }
.toast.warn .t-ic { background: #F59E0B; }
.toast.info .t-ic { background: var(--blue); color: #fff; }
#chart-tip { position: absolute; left: 0; top: 0; z-index: 600; pointer-events: none; background: var(--ink2); color: #fff; padding: 8px 11px; border-radius: 9px; font-size: 12.5px; line-height: 1.45; opacity: 0; transition: opacity .12s; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
#chart-tip.in { opacity: 1; }
#chart-tip b { color: var(--y); }

/* =========================================================
   PROFESSOR — fiel ao "App do professor"
   ========================================================= */
.pro-hero { background: var(--ink); color: #fff; padding: 0 0 26px; }
.ph-inner { padding: 22px 28px 0; max-width: 1180px; }
.hello { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.hello-sub { font-size: 21px; color: #BFD0E3; margin-top: 6px; letter-spacing: -.01em; }
.pro-stats { border: 1px solid var(--ink-line); background: rgba(255,255,255,.05); border-radius: 16px; padding: 18px 22px; margin: 22px 0 14px; position: relative; max-width: 620px; }
.ps-date { display: block; color: var(--y); font-weight: 700; letter-spacing: .1em; font-size: 14px; }
.ps-row { display: flex; align-items: flex-end; margin-top: 10px; position: relative; }
.ps-row > div { padding-right: 34px; }
.ps-row > div + div { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.16); }
.ps-row b { display: block; font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.ps-row span { color: #BFD0E3; font-size: 18px; }
.ps-row .pill { position: absolute; right: 0; top: -2px; height: 32px; padding: 0 16px; font-size: 15px; }
.pro-hero .btn.lg { max-width: 620px; height: 56px; font-size: 18px; }
.pro-body { padding: 26px 28px 30px; background: #F6F7F9; max-width: 1180px; }
.pro-body .daychips, .pro-body .pcards, .pro-body .row-card { max-width: 620px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; max-width: 620px; }
.sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.sec-head .link { font-size: 17px; }
.daychips.five .dchip { height: 70px; } .daychips.five .dchip b { font-size: 21px; } .daychips.five .dchip small { font-size: 13px; }
.pcards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; box-shadow: var(--sh); }
.pcard.reg::before, .pcard.exp::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--y); }
.pcard.exp::before { background: var(--blue); }
.pc-top { display: flex; align-items: flex-start; gap: 20px; padding: 18px 18px 16px 24px; width: 100%; text-align: left; }
.tchip { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--line2); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pcard.reg .tchip { background: var(--y-soft); } .pcard.exp .tchip { background: var(--blue-soft); }
.pc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pc-t b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.pc-t small { font-size: 17px; color: var(--muted); }
.pc-t small i { font-style: normal; margin: 0 4px; }
.pc-t .pill { align-self: flex-start; margin-top: 8px; height: 30px; font-size: 15px; padding: 0 12px; border-radius: 6px; }
.pc-chev { color: var(--t2); margin-top: 6px; transition: transform .2s; }
.pcard.open .pc-chev { transform: rotate(90deg); }
.pc-act { display: flex; align-items: center; gap: 12px; padding: 0 18px 18px 24px; }
.pc-act .btn { height: 52px; font-size: 17px; padding: 0 22px; border-radius: 10px; }
.pc-act .btn-outline { border-color: #1F2329; }
.pc-act.exp { align-items: flex-end; margin-top: -8px; }
.pc-act .av-stack .av { box-shadow: 0 0 0 3px #fff; }
.pc-act .av-stack .av + .av { margin-left: 4px; }
.row-card { display: flex; align-items: center; gap: 18px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-size: 18px; text-align: left; }
.row-card span { flex: 1; } .row-card em { font-style: normal; color: var(--t2); font-size: 16px; }
.wd-pick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.wd-pick button { height: 44px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; color: var(--muted); }
.wd-pick button.on { background: var(--ink2); border-color: var(--ink2); color: var(--y); }
.slist { display: flex; flex-direction: column; gap: 8px; }
.srow { display: flex; align-items: center; gap: 14px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; text-align: left; }
.srow:hover { border-color: #CDD1D8; }
.sr-m { flex: 1; min-width: 0; } .sr-m b { display: block; font-size: 16px; } .sr-m small { display: flex; gap: 5px; align-items: center; font-size: 13px; color: var(--muted); }
.sr-next { color: var(--blue) !important; margin-top: 2px; }
.ficha-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.profile-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 16px; padding: 28px; }
.profile-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.ag-week .pill { height: 28px; }

/* =========================================================
   ALUNO — fiel ao "App do aluno"
   ========================================================= */
.page.al-page { background: #fff; }
.al-hello { margin-bottom: 22px; }
.al-hello .hello { font-size: 64px; font-weight: 900; letter-spacing: -.045em; }
.al-hello .hello-sub { color: #4B5058; font-size: 22px; }
.al-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.al-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.next-card { display: flex; width: 100%; min-height: 200px; border-radius: 18px; overflow: hidden; background: #0E0F12; color: #fff; text-align: left; position: relative; transition: transform .15s; }
.next-card:hover { transform: translateY(-2px); }
.next-card img { position: absolute; right: 0; top: 0; height: 100%; width: 48%; object-fit: cover; object-position: center 20%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.nc-text { position: relative; z-index: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nc-text small { font-size: 13px; letter-spacing: .14em; color: #B9BDC5; font-weight: 500; }
.nc-text h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.nc-text span { display: flex; align-items: center; gap: 10px; font-size: 18px; color: #F1F2F4; }
.nc-text .pill { margin-top: 8px; }
.big-yellow { display: flex; align-items: center; gap: 18px; width: 100%; height: 62px; padding: 0 22px; border-radius: 14px; background: var(--y); color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.02em; transition: transform .1s, box-shadow .15s; }
.big-yellow:hover:not(:disabled) { box-shadow: 0 10px 22px -10px rgba(78,163,52,.8); }
.big-yellow:active:not(:disabled) { transform: scale(.99); }
.big-yellow span { flex: 1; text-align: left; }
.big-yellow.dark { background: var(--ink2); color: #fff; }
.big-yellow.ghost { background: var(--y-soft); }
.two-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.out-btn { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 18px; border: 1.5px solid #E3E5E9; border-radius: 14px; font-size: 18px; font-weight: 600; background: #fff; }
.out-btn span { flex: 1; } .out-btn:hover { border-color: #C9CDD4; }
.acard { background: #fff; border: 1.5px solid #ECEEF1; border-radius: 16px; padding: 18px 20px; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ac-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ac-head > div small { display: block; font-size: 16px; color: var(--muted); margin-top: 4px; }
.ac-head .pill { height: 30px; padding: 0 14px; font-size: 14px; }
.credits { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; }
.credits > b { font-size: 60px; font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.credits strong { display: block; font-size: 20px; font-weight: 600; } .credits small { font-size: 14px; color: var(--muted); }
.ac-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ac-foot .link { font-size: 15px; }
.pills-bar { display: flex; gap: 5px; }
.pills-bar i { width: 30px; height: 12px; border-radius: 99px; background: #E6E8EC; }
.pills-bar i.on { background: var(--y); }
.evo { display: flex; align-items: center; margin-top: 12px; }
.evo > div { flex: 1; display: flex; align-items: center; gap: 16px; }
.evo > i { width: 1px; align-self: stretch; background: #E5E7EB; margin: 0 20px; }
.evo b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.evo small { font-size: 15px; color: var(--muted); }
.prep { display: flex; align-items: center; gap: 18px; width: 100%; padding: 14px 20px; border: 1.5px solid #ECEEF1; border-radius: 16px; text-align: left; }
.prep > .ic:first-child { color: var(--blue); }
.prep span { flex: 1; } .prep b { display: block; font-size: 18px; font-weight: 600; } .prep small { font-size: 15px; color: var(--muted); }
.sch-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.h-xl { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.al-sched { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sched-side { background: #F7F8FA; border-radius: 18px; padding: 4px 20px 16px; }
.tpick { display: flex; flex-direction: column; gap: 8px; }
.tp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; }
.tp > span:not(.av) { flex: 1; } .tp b { display: block; font-size: 15.5px; } .tp small { font-size: 13px; color: var(--muted); }
.tp.on { border-color: #9FBCDB; box-shadow: 0 6px 18px -10px rgba(0,65,128,.45); }
.tp-ck { color: var(--blue); }
/* carrossel de profissionais: um card por tela, setas ao lado */
.pc { display: flex; align-items: center; gap: 6px; }
.pc-track { position: relative; flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin: -4px -2px -10px; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track .tp { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; }
.pc-track.pc-days { display: flex; gap: 8px; margin-bottom: -10px; }
.pc-days button { flex: 0 0 calc((100% - 32px) / 5); scroll-snap-align: start; }
.pc:has(.pc-days) { margin-bottom: 12px; }
.pc-nav { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sr-navy); border: 1.5px solid var(--line); transition: opacity .15s; }
.pc-nav:disabled { opacity: .3; }
.dpick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 12px; }
.dpick button { height: 64px; border-radius: 12px; background: #F4F5F7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.dpick small { font-size: 11px; color: var(--muted); font-weight: 600; } .dpick b { font-size: 19px; font-weight: 600; }
.dpick button.on { background: var(--ink2); color: #fff; } .dpick button.on small { color: var(--y); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot { height: 50px; border-radius: 12px; background: #F4F5F7; font-weight: 600; font-size: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: background .15s; }
.slot small { font-size: 11px; font-weight: 500; color: var(--muted); }
.slot.on { background: var(--y); }
.slot.full { color: var(--muted2); }
.slot.full.on { background: #E5E7EB; color: var(--text); }
.slot.mine { box-shadow: inset 0 0 0 1.5px var(--blue); } .slot.mine small { color: var(--blue); }
.vagas { font-size: 14px; color: var(--muted); margin: 12px 0; display: flex; gap: 6px; align-items: center; }
.vagas.full { color: var(--amber-text); }
.rule-t { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; flex-wrap: wrap; }
.resv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 12px; background: #fff; border-radius: 14px; margin-bottom: 8px; border: 1px solid var(--line2); }
.resv b { display: block; font-size: 14.5px; } .resv small { font-size: 12.5px; color: var(--muted); }
.resv .h-d { background: var(--y-soft); }
.resv-a { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; }
.plan-dark { background: var(--ink); color: #fff; border-radius: 18px; padding: 22px; }
.pd-top { display: flex; justify-content: space-between; gap: 12px; }
.pd-top small { font-size: 12px; letter-spacing: .14em; color: #A3A8B3; } .pd-top h2 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0; } .pd-top span { color: #C4C8CF; font-size: 14px; }
.ring { position: relative; width: 84px; height: 84px; flex: none; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 800; } .ring b small { font-size: 13px; color: #A3A8B3; letter-spacing: 0; }
.ring b { display: flex; align-items: center; justify-content: center; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 4px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.pd-grid small { display: block; font-size: 12px; color: #A3A8B3; } .pd-grid b { font-size: 15px; }
.rules { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--t2); }
.rules li { display: flex; gap: 8px; align-items: center; } .rules .ic { color: var(--green); }
.prep-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prep-item { display: flex; gap: 14px; }
.prep-item h3 { font-size: 17px; margin-bottom: 4px; } .prep-item p { font-size: 14px; color: var(--t2); line-height: 1.5; }
.pi-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.tcard { display: flex; align-items: center; gap: 14px; } .tcard > div { flex: 1; } .tcard h3 { font-size: 16px; } .tcard p { font-size: 13px; color: var(--muted); }
.hrow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.hrow > div { flex: 1; } .hrow b { display: block; font-size: 15.5px; } .hrow small { font-size: 13px; color: var(--muted); }

/* =========================================================
   PÁGINA PÚBLICA
   ========================================================= */
.landing { height: 100%; overflow-y: auto; background: #fff; scroll-behavior: smooth; }
.ld-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 16px 48px; background: rgba(11,12,15,.86); backdrop-filter: blur(12px); color: #fff; }
.ld-nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: #C4C8CF; }
.ld-nav nav a { cursor: pointer; } .ld-nav nav a:hover { color: #fff; }
.ld-hero { min-height: 640px; background-size: cover; background-position: center right; color: #fff; display: flex; align-items: center; padding: 60px 48px; margin-top: -72px; padding-top: 132px; }
.ld-hero-in { max-width: 560px; }
.ld-hero h1 { font-size: 76px; font-weight: 300; letter-spacing: -.055em; line-height: .98; margin: 10px 0 20px; }
.ld-hero h1 em { font-style: normal; font-weight: 800; color: var(--y); }
.ld-hero p { font-size: 19px; color: #C9CCD3; line-height: 1.55; }
.ld-price { display: inline-flex; flex-direction: column; margin: 26px 0; padding: 16px 22px; border-left: 4px solid var(--y); background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; }
.ld-price span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #A3A8B3; } .ld-price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; } .ld-price small { color: #A3A8B3; }
.ld-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ld-sec { padding: 80px 48px; max-width: 1240px; margin: 0 auto; }
.ld-sec h2, .ld-steps h2 { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; max-width: 640px; }
.ld-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.ld-card { padding: 28px; border-radius: 18px; background: #F6F7F9; }
.ld-card span { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--y); display: grid; place-items: center; margin-bottom: 18px; }
.ld-card h3 { font-size: 20px; margin-bottom: 8px; } .ld-card p { color: var(--t2); line-height: 1.55; }
.ld-steps { background: var(--y); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; padding: 40px 48px; }
.ld-steps h2 { font-size: 30px; } .ld-steps small { display: block; margin-top: 10px; color: #5C4A00; }
.ld-step { border-left: 1px solid rgba(0,0,0,.25); padding-left: 22px; } .ld-step b { font-size: 17px; } .ld-step p { margin-top: 8px; color: #3D3300; line-height: 1.5; font-size: 14.5px; }
.ld-sec.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ld-sec.split img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ld-team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.ld-team > div { display: flex; gap: 10px; align-items: center; } .ld-team b { display: block; font-size: 15px; } .ld-team small { font-size: 13px; color: var(--muted); }
.ld-foot { display: flex; align-items: center; gap: 24px; padding: 30px 48px 100px; background: var(--ink); color: #A3A8B3; font-size: 13.5px; flex-wrap: wrap; }
.ld-foot .brand { color: #fff; } .ld-foot small { margin-left: auto; }
.wz-steps { display: flex; gap: 8px; margin-bottom: 20px; }
.wz-steps span { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted2); border-top: 3px solid var(--line); padding-top: 8px; }
.wz-steps span i { display: none; }
.wz-steps span.on { color: var(--text); border-color: var(--y); }
.wz-steps span.done { color: var(--t2); border-color: var(--ink2); }
.wz-sum { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; background: #F6F7F9; border-radius: 14px; margin-bottom: 14px; }
.wz-sum small { font-size: 12px; color: var(--muted); } .wz-sum b { display: block; font-size: 17px; } .wz-sum span { font-size: 13px; color: var(--muted); }
.wz-price { font-size: 26px !important; font-weight: 800; }
.prep-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prep-mini div { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: #F6F7F9; font-size: 13.5px; }
.prep-mini .ic { color: var(--blue); }

/* =========================================================
   Responsivo por container (desktop estreito)
   ========================================================= */
@container scr (max-width: 1240px) {
  .kpi-n { font-size: 46px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child { grid-column: 1 / -1; }
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-grid { grid-template-columns: 1fr 1fr; }
}
@container scr (max-width: 1080px) {
  .shell { grid-template-columns: 84px minmax(0, 1fr); }
  .sidebar .nav-item span, .sidebar .brand > div, .side-user > span:not(.av), .side-user > .ic { display: none; }
  .sidebar .nav-item { justify-content: center; padding: 0; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row.r1, .dash-row.r2, .grid-2, .grid-2.wide-left { grid-template-columns: minmax(0, 1fr); }
  .plan-cards { grid-template-columns: 1fr 1fr; }
  .al-sched { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   MOBILE (≤ 840px de largura útil) — layout de app
   ========================================================= */
@container scr (max-width: 840px) {
  .shell, .shell.collapsed { display: flex; flex-direction: column; }
  .sidebar, .topbar, .foot-note { display: none; }
  .main { flex: 1; }
  .page { padding: 4px 18px 24px; }
  .only-wide { display: none !important; }
  .only-narrow { display: block; }
  .mhead { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; background: inherit; }
  .mhead .brand b { font-size: 17px; letter-spacing: .01em; }
  .mhead .brand .bolt { width: 26px; height: 26px; }
  .mhead .bell { width: 36px; height: 36px; }
  .mhead .bell .ic { width: 24px; height: 24px; }
  .mhead .bell .dot { top: 5px; right: 6px; width: 8px; height: 8px; }
  .mhead.dark { color: #fff; } .mhead.dark .bell { color: #fff; } .mhead.dark .icon-btn:hover { background: rgba(255,255,255,.08); }
  .mhead.sub { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); padding: 8px 12px; }
  .mhead.sub b { font-size: 16px; font-weight: 700; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .main { background: var(--bg); }
  body[data-role="aluno"] .main { background: #fff; }

  /* Tab bar */
  .tabbar { display: flex; flex: none; justify-content: space-around; align-items: flex-start; height: 76px; padding: 9px 8px 0; background: #fff; border-top: 1px solid var(--line2); z-index: 30; }
  .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #5B616C; font-size: 10.5px; font-weight: 500; position: relative; }
  .tab .ic { width: 24px; height: 24px; stroke-width: 1.7; }
  .tab.active { color: var(--ink); font-weight: 700; }
  .tab.active .ic { color: var(--y); stroke: var(--ink2); }
  .tb-aluno { background: var(--ink); border-top: 0; height: 80px; padding-top: 12px; }
  .tb-aluno .tab { color: #F1F2F4; }
  .tb-aluno .tab.active { color: var(--y); }
  .tb-aluno .tab.active .ic { color: var(--y); stroke: var(--y); }
  .tb-aluno .tab.active::after { content: ''; position: absolute; bottom: -10px; width: 54px; height: 3px; border-radius: 3px; background: var(--y); }

  /* Componentes gerais no mobile */
  .page-head { margin-bottom: 14px; gap: 12px; }
  .page-head h1 { font-size: 30px; }
  .page-head .lead { font-size: 14.5px; margin-top: 4px; }
  .head-actions { width: 100%; gap: 8px; }
  .head-actions .btn, .head-actions .select-btn { height: 42px; font-size: 14px; flex: 1; padding: 0 12px; }
  .head-actions .select-btn span { min-width: 0; }
  .head-actions .btn.btn-lg { height: 42px; font-size: 14.5px; }
  .kpis, .kpis.fin, .kpis.rep { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .kpi { padding: 14px; min-height: 0; column-gap: 8px; }
  .kpi-l > .ic { width: 20px; height: 20px; }
  .kpi-l > span { font-size: 12.5px; line-height: 1.25; }
  .kpi-n { font-size: 34px; grid-column: 1 / 3; margin-top: 6px; }
  .kpi-n.md { font-size: 19px; }
  .kpi > small { grid-column: 1 / 3; font-size: 11.5px; }
  .kpi-info .ic { width: 20px; height: 20px; }
  .kpi-go { display: none; }
  .card { padding: 16px; border-radius: 16px; }
  .card-head { margin-bottom: 12px; } .card-head h3 { font-size: 16.5px; } .ch-ic .ic { width: 22px; height: 22px; }
  .dash-row, .grid-2, .grid-3 { gap: 12px; margin-bottom: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hbar, .plans-card .hbar { grid-template-columns: 78px 1fr 36px; gap: 10px; }
  .hb-label { font-size: 14px; } .hb-val { font-size: 15px; }
  .hbars { gap: 14px; }
  .total-line b { font-size: 26px; }
  .next-row { grid-template-columns: 58px 1fr auto; padding: 10px 2px; font-size: 13.5px; }
  .next-row .nr-p { display: none; }
  .nr-t { font-size: 15px; }
  .report-card { padding: 18px; }
  .rc-title h3 { font-size: 17px; } .rc-title .ic { width: 30px; height: 30px; }
  .rc-text .btn { height: 44px; font-size: 14.5px; padding: 0 16px; }
  .mini-bars { height: 80px; gap: 6px; } .mini-bars span { width: 10px; }

  /* Tabelas viram cartões */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 14px; border-bottom: 1px solid var(--line2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
  .card:not(.pad0) .tbl tr { padding: 12px 0; }
  .tbl td, .card.pad0 .tbl td { padding: 0; border: 0; font-size: 13.5px; }
  .tbl td { min-width: 0; }
  .tbl td[data-l] { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; }
  .tbl td .pill { max-width: 100%; }
  .tbl td[data-l]:first-child { grid-column: 1 / -1; font-size: 15px; }
  .tbl td[data-l]:not(:first-child)::before { content: attr(data-l) ': '; color: var(--muted); font-size: 12px; }
  .tbl td[data-l="Status"], .tbl td[data-l="Financeiro"] { justify-content: flex-start; }
  .tbl td[data-l="Status"]::before, .tbl td[data-l="Financeiro"]::before { display: none; }
  .tbl td.r { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
  .tbl .chev { display: none !important; }
  .tbl .actions { display: flex; gap: 6px; flex-wrap: wrap; } .tbl .actions .btn + .btn { margin-left: 0; }
  .filters { padding: 12px 14px; gap: 8px; }
  .filters .input { flex: 1; min-width: 0; }
  .search-in { max-width: none; min-width: 100%; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; margin-bottom: 12px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; height: 36px; font-size: 13.5px; padding: 0 12px; }
  .tabs.inline { flex-wrap: wrap; overflow-x: visible; } .tabs.inline button { height: 32px; padding: 0 9px; gap: 5px; font-size: 13px; }
  .pager { flex-direction: column; gap: 8px; }
  .toolbar { gap: 10px; } .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
  .chip { height: 34px; font-size: 13px; }
  .ag-stats span { height: 30px; font-size: 12px; }
  .legend { gap: 14px; font-size: 12px; }
  .daychips { gap: 6px; } .dchip { height: 56px; border-radius: 10px; } .dchip b { font-size: 17px; }
  .week-nav span { min-width: 80px; }
  .profile-head { gap: 14px; } .ph-main h1, .ficha-head h1 { font-size: 23px; }
  .ph-actions { width: 100%; } .ph-actions .btn { flex: 1; height: 40px; font-size: 13.5px; padding: 0 10px; }
  .credits-big b { font-size: 44px; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); } .mini-stats b { font-size: 24px; }
  .team-grid, .plan-cards, .int-grid, .prep-list { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .eq { padding: 10px; }
  .eq-top .pill { display: none; }
  .plan-pick { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .auto-edit { grid-template-columns: 1fr; }
  .sess-stats { grid-template-columns: 1fr 1fr; }
  .att-more { grid-template-columns: 1fr; }
  .att-top { flex-wrap: wrap; } .seg-sm { width: 100%; } .seg-sm button { flex: 1; }
  .donut-wrap { gap: 16px; }
  .fn-row { grid-template-columns: 92px 1fr 30px 34px; font-size: 12.5px; gap: 6px; }
  .heat { gap: 3px; } .hm-c { height: 26px; font-size: 9.5px; }
  .heat { grid-template-columns: 40px repeat(6, 1fr) !important; } .hm-h { font-size: 10px; } .hm-r { font-size: 10.5px; }
  .back-link { display: none; }
  .perm-row { font-size: 13.5px; }
  .list-menu.card { padding: 4px 14px; }

  /* Modal vira bottom-sheet */
  .modal-wrap { align-items: flex-end; padding: 0; }
  .modal, .modal.sm, .modal.md, .modal.lg { max-width: none; border-radius: 24px 24px 0 0; max-height: 90%; transform: translateY(40px); }
  .modal::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: #D5D9E0; margin: 8px auto 0; }
  .modal-head { padding: 12px 18px 2px; } .modal-head h3 { font-size: 19px; }
  .modal-body { padding: 12px 18px 16px; }
  .modal-foot { padding: 12px 18px 26px; }
  .modal-foot .btn { flex: 1; }
  .modal-foot .grow { display: none; }
  #toasts { top: 8px; right: 10px; left: 10px; width: auto; max-width: none; }
  .toast { transform: translateY(-20px); }
  .pop-notifs { width: calc(100% - 24px); }

  /* Professor mobile */
  .pro-hero { padding-bottom: 18px; }
  .ph-inner { padding: 10px 18px 0; }
  .hello { font-size: 37px; }
  .hello-sub { font-size: 17px; margin-top: 4px; }
  .pro-stats { padding: 13px 15px 14px; margin: 16px 0 10px; border-radius: 12px; }
  .ps-date { font-size: 11.5px; letter-spacing: .08em; }
  .ps-row { margin-top: 6px; }
  .ps-row > div { padding-right: 24px; } .ps-row > div + div { padding-left: 24px; }
  .ps-row b { font-size: 35px; }
  .ps-row span { font-size: 13.5px; }
  .ps-row .pill { height: 25px; font-size: 12px; padding: 0 10px; top: -4px; }
  .pro-hero .btn.lg { height: 40px; font-size: 14px; border-radius: 9px; }
  .pro-hero .btn.lg .ic { width: 20px; height: 20px; }
  .pro-body { padding: 18px 12px 18px; }
  .sec-head { margin-bottom: 10px; padding: 0 4px; } .sec-head h2 { font-size: 21px; } .sec-head .link { font-size: 13px; }
  .sec-head .link .ic { width: 15px; height: 15px; }
  .daychips.five { gap: 5px; margin-bottom: 10px; } .daychips.five .dchip { height: 48px; border-radius: 9px; } .daychips.five .dchip b { font-size: 14.5px; } .daychips.five .dchip small { font-size: 9.5px; }
  .pcards { gap: 9px; margin-bottom: 9px; }
  .pcard { border-radius: 11px; }
  .pcard.reg::before, .pcard.exp::before { width: 4px; }
  .pc-top { gap: 14px; padding: 11px 12px 9px 16px; }
  .tchip { height: 23px; padding: 0 9px; font-size: 12.5px; border-radius: 6px; margin-top: 2px; }
  .pc-t b { font-size: 15px; } .pc-t small { font-size: 12px; } .pc-t .pill { height: 21px; font-size: 10.5px; padding: 0 7px; margin-top: 6px; border-radius: 4px; }
  .pc-chev { width: 16px; height: 16px; margin-top: 6px; }
  .pc-act { gap: 8px; padding: 0 12px 12px 16px; }
  .pc-act .av-stack .av { width: 37px !important; height: 37px !important; box-shadow: 0 0 0 2px #fff; }
  .pc-act .av-stack .av + .av { margin-left: 3px; }
  .pc-act .btn { height: 32px; font-size: 12px; padding: 0 12px; border-radius: 6px; }
  .pc-act .btn .ic { width: 17px; height: 17px; }
  .pc-act.exp { margin-top: -26px; } .pc-act.exp .av { width: 48px !important; height: 48px !important; margin-left: 2px; margin-top: 12px; }
  .row-card { padding: 11px 14px; font-size: 13.5px; gap: 14px; border-radius: 11px; } .row-card em { font-size: 12.5px; } .row-card .ic:first-child { width: 20px; height: 20px; }
  .tb-professor { height: 78px; } .tb-professor .tab { font-size: 10px; } .tb-professor .tab .ic { width: 25px; height: 25px; }

  /* Aluno mobile */
  .page.al-page { padding: 0 14px 20px; }
  .al-hello { margin: 2px 2px 14px; }
  .al-hello .hello { font-size: 44px; letter-spacing: -.05em; }
  .al-hello .hello-sub { font-size: 16.5px; margin-top: 2px; }
  .al-grid { grid-template-columns: 1fr; gap: 8px; }
  .al-col { gap: 8px; }
  .next-card { min-height: 160px; border-radius: 13px; }
  .next-card img { width: 46%; }
  .nc-text { padding: 15px 16px; gap: 5px; }
  .nc-text small { font-size: 10px; } .nc-text h2 { font-size: 23.5px; margin-bottom: 2px; } .nc-text span { font-size: 13.5px; gap: 7px; }
  .nc-text span .ic { width: 16px; height: 16px; }
  .nc-text .pill.lg { height: 25px; font-size: 11.5px; padding: 0 10px; margin-top: 4px; gap: 4px; } .nc-text .pill .ic { width: 13px; height: 13px; }
  .big-yellow { height: 46px; font-size: 19px; border-radius: 10px; gap: 14px; padding: 0 14px 0 20px; }
  .big-yellow .ic { width: 22px; height: 22px; }
  .two-btn { gap: 9px; }
  .out-btn { height: 48px; font-size: 14.5px; border-radius: 10px; padding: 0 12px 0 18px; gap: 12px; }
  .out-btn .ic:first-child { width: 22px; height: 22px; } .out-btn .ic:last-child { width: 14px; height: 14px; }
  .acard { padding: 13px 15px; border-radius: 12px; }
  .ac-head h3 { font-size: 17px; } .ac-head > div small { font-size: 12.5px; margin-top: 2px; }
  .ac-head .pill { height: 23px; font-size: 11px; padding: 0 9px; } .ac-head .pill .ic { width: 13px; height: 13px; }
  .ac-head .link { font-size: 12.5px; } .ac-head .link .ic { width: 14px; height: 14px; }
  .credits { margin: 7px 0 10px; gap: 10px; } .credits > b { font-size: 38px; } .credits strong { font-size: 15px; } .credits small { font-size: 11px; }
  .ac-foot .link { font-size: 12.5px; } .ac-foot .link .ic { width: 14px; height: 14px; }
  .pills-bar { gap: 4px; } .pills-bar i { width: 18px; height: 8px; }
  .evo { margin-top: 8px; } .evo > div { gap: 12px; } .evo .ic { width: 22px; height: 22px; } .evo > i { margin: 0 14px; }
  .evo b { font-size: 23px; } .evo small { font-size: 12px; }
  .prep { padding: 10px 14px; border-radius: 12px; gap: 14px; } .prep b { font-size: 14px; } .prep small { font-size: 12px; } .prep > .ic:first-child { width: 22px; height: 22px; }
  .h-xl { font-size: 32px; }
  .al-sched { gap: 14px; }
  .sched-side { padding: 2px 14px 12px; }
  .dpick { gap: 6px; } .dpick button { height: 54px; } .dpick b { font-size: 16px; }
  .slot { height: 44px; font-size: 15px; }
  .tp { padding: 10px 12px; } .tp b { font-size: 14px; }
  .big-yellow.dark, .big-yellow.ghost { font-size: 16px; }
  .plan-dark { padding: 18px; } .pd-top h2 { font-size: 22px; }
  .mini-stats.card { padding: 12px; }
  .profile-card { padding: 20px; }

  /* Landing no mobile */
  .ld-nav { padding: 12px 16px; gap: 10px; } .ld-nav nav { display: none; } .ld-nav .btn { margin-left: auto; height: 36px; font-size: 13px; padding: 0 12px; }
  .ld-nav .brand b { font-size: 15px; }
  .ld-hero { min-height: 0; padding: 40px 20px 36px; margin-top: 0; flex-direction: column; align-items: flex-start; }
  .ld-hero h1 { font-size: 44px; } .ld-hero p { font-size: 15.5px; }
  .ld-price b { font-size: 30px; }
  .ld-cta .btn { width: 100%; }
  .ld-sec { padding: 44px 20px; } .ld-sec h2, .ld-steps h2 { font-size: 30px; }
  .ld-cards, .ld-sec.split, .ld-steps, .ld-team { grid-template-columns: 1fr; }
  .ld-steps { padding: 30px 20px; gap: 18px; }
  .ld-foot { padding: 24px 20px 100px; }
  .wz-steps span { font-size: 10.5px; }
  .prep-mini { grid-template-columns: 1fr; }
}

/* Telas reais pequenas (fora do modo de pré-visualização) */
@media (max-width: 760px) {
  #demobar { bottom: 8px; padding: 4px; gap: 3px; max-width: calc(100% - 16px); }
  #demobar .seg button span, .db-brand { display: none; }
  #demobar .seg button { padding: 0 9px; }
  body.mode-mobile #device { transform: none; margin: 0; width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  body.mode-mobile #device::before, body.mode-mobile #device::after { display: none; }
  body.mode-mobile #screen { width: 100%; height: 100%; border-radius: 0; }
  body.mode-mobile #stage { padding: 0; }
  body.mode-mobile #stage-label, body.mode-mobile #stage-foot { display: none; }
}
@media (max-width: 1100px) and (min-width: 761px) { #demobar .seg button span { display: none; } }

/* Tablet (ex.: Galaxy Tab A9): o app usa o mesmo layout do celular. Em retrato a largura já cabe no layout mobile (≤ 840px);
   em paisagem (tela larga com toque) o app fica numa coluna centralizada de 840px, igual ao celular, em vez de abrir o layout de computador. */
@media (pointer: coarse) and (hover: none) and (min-width: 841px) {
  #stage { display: flex; justify-content: center; background: radial-gradient(1200px 700px at 50% 40%, #FAFBFC, #E7E9ED); }
  /* a coluna acompanha a altura (proporção de celular/tablet pequeno): nunca menor que 540px nem maior que 840px */
  #device { width: clamp(540px, 75vh, 840px); width: clamp(540px, 75dvh, 840px); max-width: 100%; flex: none; }
  #screen { transform: translateZ(0); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 60px -24px rgba(0,0,0,.35); }
}

/* Dobráveis de duas telas (ex.: Surface Duo aberto nas duas telas): o app ocupa só a primeira tela, sem cruzar a dobradiça. */
@media (horizontal-viewport-segments: 2) {
  #stage { display: flex; justify-content: flex-start; }
  #device { width: env(viewport-segment-width 0 0, 540px); max-width: 100%; flex: none; }
  #screen { transform: translateZ(0); }
}

/* Impressão (exportação PDF dos relatórios) */
@media print {
  body { overflow: visible; background: #fff; }
  #stage { position: static; } #device, #screen { height: auto; overflow: visible; }
  .sidebar, .topbar, .tabbar, #demobar, #toasts, #modal-root, .head-actions, .mhead { display: none !important; }
  .shell { display: block; height: auto; } .main { overflow: visible; }
  .card { break-inside: avoid; box-shadow: none; }
  .page { padding: 0; }
}

/* Ajustes finais */
.btn.block { display: flex; width: 100%; }
.nc-text .pill { font-style: normal; }
.pcard.open .pc-chev { transform: none; }

.hbars.wide .hbar { grid-template-columns: 84px 1fr 104px; } .hbars.wide .hb-val { white-space: nowrap; }
.total-line b, .kpi-n.md { white-space: nowrap; }
.kpi-n.md { font-size: clamp(20px, 2vw, 30px); }
@container scr (max-width: 840px) { .kpi-n.md { font-size: 18px; } .hbars.wide .hbar { grid-template-columns: 70px 1fr 74px; } }
.select-btn span { white-space: nowrap; }
@container scr (max-width: 840px) { .tbl.compact td { padding: 0; } .head-actions .select-btn { font-size: 13.5px; gap: 6px; } }

/* =========================================================
   STUDIO REABILITAR — marca, módulos e ajustes de identidade
   ========================================================= */
/* Marca (logo) */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brand img { display: block; width: auto; }
.brand .b-full { height: 30px; }
.brand .b-mark { display: none; height: 34px; }
.brand small { letter-spacing: .22em; color: #9FB6CF; margin: 0; font-size: 10px; }
.sidebar .brand { padding: 4px 8px 22px; }
.sidebar .brand .b-full { height: 38px; }
.shell.collapsed .brand .b-full, .shell.collapsed .brand small { display: none; }
.shell.collapsed .brand .b-mark { display: block; margin: 0 auto; }
.shell.collapsed .sidebar .brand { align-items: center; padding: 4px 0 22px; }
.mhead .brand .b-full { height: 28px; }
.rc-brand img { height: 34px; }
.brand-prev { justify-content: center; } .brand-prev img { height: 54px; }
.wa-logo { height: 22px; }

/* Menu lateral com grupos */
.nav { gap: 3px; }
.nav-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7F9BBA; padding: 14px 16px 6px; }
.nav-sec:first-child { padding-top: 0; }
.nav-item { height: 42px; font-size: 14.5px; gap: 12px; }
.nav-item:hover { background: rgba(255,255,255,.07); }
.nav-item.active { background: var(--y); color: var(--ink); }
.shell.collapsed .nav-sec { font-size: 0; padding: 8px 0 0; margin: 4px 18px; border-top: 1px solid var(--ink-line); }
.side-user small, .kpi.dark > small, .rc-title p, .pd-top small, .pd-grid small, .ring b small { color: #9FB6CF; }

/* Utilitários */
.mb { margin-bottom: 14px; } .sec-t.first, .lbl-sm.first { margin-top: 0; }
.mdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; position: relative; top: -1px; flex: none; }
.pill.mod-pill { background: var(--ms); color: var(--mi); font-weight: 600; gap: 6px; }
.pill.green-solid { background: var(--y); color: var(--ink); font-weight: 600; }
.pill.green-solid.lg { height: 30px; padding: 0 14px; font-size: 13.5px; }
.checks.two { grid-template-columns: 1fr 1fr; }
.slots.four { grid-template-columns: repeat(4, 1fr); }
.tchip.sm { height: 28px; font-size: 14px; padding: 0 10px; }
.grid-2.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.grid-3.fin-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.t-mods { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.t-mods.center { justify-content: center; margin: 6px 0; }
.tcard .t-mods { margin-top: 6px; gap: 2px; } .tcard .t-mods .rating { margin-left: 6px; }
.rules-tbl .input.slim { min-width: 0; width: 100%; }
.evo b em { font-style: normal; font-size: 16px; color: var(--muted); font-weight: 600; }
.att-more.one { grid-template-columns: 1fr; }
.att-more textarea.input { height: auto; min-height: 44px; font-size: 13.5px; }

/* Cartões de modalidade na visão geral */
.mod-strip { display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.mod-card { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 14px 12px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mc); text-align: left; transition: transform .15s, box-shadow .15s; }
.mod-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,42,82,.25); }
.mc-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--ms); color: var(--mi); display: grid; place-items: center; }
.mod-card .mc-t { grid-column: 2 / -1; }
.mc-t small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.mc-t b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mod-card .mc-n { grid-row: 2; }
.mod-card .mc-n:nth-of-type(3) { grid-column: 1 / 3; }
.mc-n b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.mc-n small { font-size: 12px; color: var(--muted); }
.mod-card.core { background: linear-gradient(135deg, #004180, #002A52); color: #fff; border-color: #004180; border-top-color: var(--y); }
.mod-card.core .mc-ic { background: rgba(255,255,255,.12); color: #fff; }
.mod-card.core .mc-n small { color: #9FB6CF; }
.mod-card.core .mc-t small { color: var(--y); }

/* Blocos da agenda coloridos por modalidade */
.sb { background: var(--ms, #EEF2F6); border-left: 3px solid var(--mc, #98A5B4); }
.sb .sb-m { color: var(--mi, var(--text)); }
.sb small { color: rgba(15,29,44,.62); }
.sb-cap { background: rgba(15,29,44,.1); } .sb-cap i { background: var(--mc, var(--ink2)); }
.sb.full { background: var(--ms); box-shadow: inset 0 0 0 1.5px var(--mc); }
.sb.ini { background: #fff; border: 1.5px dashed var(--mc); border-left: 3px solid var(--mc); }
.sb.blk { background: #EEF2F6; border-left-color: #C3CDD8; }
.lg-ini { background: #fff !important; border: 1.5px dashed var(--muted); }
.lg-blk { background: #D5DCE4; }
.wg-h.today { background: var(--blue); color: #fff; }

/* Cabeçalho dos módulos */
.mod-hero { display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: 18px; margin-bottom: 18px; background: linear-gradient(120deg, var(--ms) 0%, #fff 75%); border: 1px solid var(--line); border-left: 6px solid var(--mc); flex-wrap: wrap; }
.mh-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--mc); color: #fff; display: grid; place-items: center; flex: none; }
.mh-t { flex: 1; min-width: 220px; }
.mh-t small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--mi); }
.mh-t h1 { font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 4px 0; }
.mh-t p { color: var(--t2); font-size: 16px; }

/* Reserva de equipamentos (eletroestimulação) */
.eq-sched { display: grid; gap: 6px; overflow-x: auto; margin-bottom: 10px; }
.es-h { padding: 8px 10px; border-radius: 8px; background: #F4F7FA; font-size: 13px; text-align: center; }
.es-h.first { background: none; text-align: left; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; }
.es-h b { display: block; font-size: 15px; } .es-h small { font-size: 11.5px; color: var(--muted); }
button.es-h:hover { background: var(--blue-soft); }
.es-d { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 0 4px; color: #2E7A1E; flex-wrap: wrap; }
.es-d b { color: var(--text); font-weight: 600; } .es-d small { width: 100%; font-size: 11px; color: var(--amber-text); margin-left: 23px; margin-top: -6px; }
.es-d.manutencao { color: var(--muted2); }
.es-c { height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; }
.es-c.on { background: #E7F5E2; color: #1F5A12; box-shadow: inset 0 0 0 1px #BFE3B2; }
.es-c.on.ini { background: #fff; box-shadow: inset 0 0 0 1.5px #62BA46; }
.es-c.on.past { opacity: .6; }
.es-c.free { background: repeating-linear-gradient(135deg, #F7F9FB 0 6px, #F1F4F7 6px 7px); color: var(--muted2); font-weight: 500; }
.es-c.off { background: var(--amber-soft); color: var(--amber-text); }

/* Listas dos módulos */
.ms-list { display: flex; flex-direction: column; gap: 6px; }
.ms-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-align: left; width: 100%; }
.ms-row:hover { background: #F6F9FC; }
.ms-row > div { flex: 1; min-width: 0; } .ms-row b { display: block; font-size: 14.5px; } .ms-row small { font-size: 12.5px; color: var(--muted); }
.ms-occ { font-weight: 700; font-size: 14px; color: var(--t2); }
.pil-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.pil-row:last-child { border-bottom: 0; }
.pil-row > div { flex: 1; min-width: 0; } .pil-row b { display: block; font-size: 14.5px; } .pil-row small { font-size: 12.5px; color: var(--muted); }
.pil-row .tchip { background: #DDF1F3; color: #0E6F78; font-size: 15px; height: 32px; }
.evo-tbl { display: flex; flex-direction: column; }
.evo-r { display: grid; grid-template-columns: auto minmax(0, 1fr) 70px 130px; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line2); text-align: left; width: 100%; }
.evo-r:last-child { border-bottom: 0; } .evo-r:hover { background: #F8FAFC; }
.evo-r b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .evo-r small { font-size: 12px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evo-f { text-align: center; }
.evo-g i { display: block; height: 7px; border-radius: 6px; background: var(--line2); overflow: hidden; margin-bottom: 4px; }
.evo-g em { display: block; height: 100%; background: #1A9AA5; border-radius: 6px; }
.eq-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-list { display: flex; flex-direction: column; }
.svc { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.svc:last-child { border-bottom: 0; }
.svc > div { flex: 1; } .svc b { font-size: 15px; } .svc small { display: flex; gap: 4px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.svc-p { font-size: 15px; white-space: nowrap; }
.svc.off > div, .svc.off .svc-p { opacity: .45; }
.tchips { display: flex; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.who.sm b { font-size: 14px; }
.pad-grid .wgrid { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.prep-adm { display: flex; flex-direction: column; margin-bottom: 6px; }
.pa-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.pa-row:last-child { border-bottom: 0; }
.pa-row > div { flex: 1; } .pa-row b { font-size: 14.5px; } .pa-row p { font-size: 13.5px; color: var(--t2); line-height: 1.45; margin-top: 2px; }
.pa-row .pi-ic { width: 38px; height: 38px; border-radius: 10px; }

/* Evolução clínica */
.evo-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.evo-item { padding: 12px 14px; border-radius: 12px; background: #F6F9FC; border-left: 3px solid var(--blue); }
.ei-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; } .ei-top small { color: var(--muted); }
.evo-item p { font-size: 14px; line-height: 1.5; margin-top: 4px; color: var(--t2); }

/* Profissional — cartões por modalidade */
.pcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--mc); }
.pcard .tchip { background: var(--ms); color: var(--mi); }
.pcard.ini { border-style: dashed; border-color: var(--mc); }
.pc-mod { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ms); color: var(--mi); flex: none; }
.pc-act .btn-outline { border-color: #9FB2C6; }
.pro-hero { background: linear-gradient(160deg, #004180 0%, #002A52 70%); }

/* Paciente */
.next-card { background: linear-gradient(135deg, #004180 0%, #002A52 100%); }
.next-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--mc, var(--y)); }
.nc-art { position: absolute; right: -14px; bottom: -18px; color: rgba(255,255,255,.1); pointer-events: none; }
.nc-art .ic { stroke-width: 1.2; }
.nc-text small { color: #9FB6CF; }
.note-card { text-align: left; width: 100%; }
.note-card p { font-size: 15px; line-height: 1.5; color: var(--t2); margin-top: 8px; }
.note-card .ac-head h3 { font-size: 18px; }
.mod-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mod-pick button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; color: var(--mi); min-height: 92px; transition: .15s; }
.mod-pick button { padding: 8px 10px 10px; gap: 4px; overflow: hidden; }
.mod-pick .mp-img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; mix-blend-mode: multiply; }
.mod-pick button span { color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.2; }
.mod-pick button small { font-size: 11.5px; color: var(--muted); margin-top: auto; }
.mod-pick button.on { border-color: var(--mc); background: var(--ms); box-shadow: inset 0 0 0 1px var(--mc); }
.mod-pick button:disabled { opacity: .4; }
.resv .h-d { background: var(--ms, var(--blue-soft)); }
.plan-dark { background: linear-gradient(140deg, #004180, #002A52); }
.pack.click { width: 100%; text-align: left; }
.pack.click:hover { background: #F8FAFC; }

/* Planos */
.plan { border-top: 4px solid var(--mc); }
.plan.off { opacity: .62; border-top-color: var(--line2); }
.plan .row-actions { display: flex; gap: 8px; }
.pl-name { font-size: 19px; font-weight: 700; margin-top: 14px; letter-spacing: -.01em; }
.pl-price { margin-top: 8px; }

/* Página pública */
.ld-nav { background: rgba(255,255,255,.94); color: var(--text); border-bottom: 1px solid var(--line2); }
.ld-nav nav { color: var(--t2); } .ld-nav nav a:hover { color: var(--blue); }
.ld-nav .brand .b-full { height: 40px; }
.ld-hero { position: relative; overflow: hidden; margin-top: 0; padding: 70px 48px; min-height: 560px; background: radial-gradient(900px 500px at 85% 20%, rgba(98,186,70,.22), transparent 60%), linear-gradient(135deg, #004180 0%, #002A52 70%); gap: 40px; }
.ld-hero-mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 120%; opacity: .07; pointer-events: none; }
.ld-hero-in { position: relative; z-index: 1; max-width: 600px; }
.ld-hero p { color: #C9D7E6; }
.ld-price { background: rgba(255,255,255,.07); }
.ld-price span, .ld-price small { color: #9FB6CF; }
.ld-hero-side { position: relative; z-index: 1; margin-left: auto; display: flex; flex-direction: column; gap: 10px; }
.hs-chip { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; font-size: 16px; min-width: 240px; }
.hs-chip .ic { color: var(--mc); background: #fff; border-radius: 8px; padding: 5px; width: 30px; height: 30px; }
.ld-cards.four { grid-template-columns: repeat(4, 1fr); }
.ld-card { display: flex; flex-direction: column; background: #F6F9FC; border-top: 4px solid var(--mc); }
.ld-card span { background: var(--ms); color: var(--mi); }
.ld-card p { flex: 1; }
.ld-card.core { background: linear-gradient(160deg, #004180, #002A52); color: #fff; }
.ld-card.core p { color: #C9D7E6; } .ld-card.core span { background: rgba(255,255,255,.12); color: #fff; }
.ld-card.core .ld-card-f small { color: #9FB6CF; } .ld-card.core .btn-outline { background: var(--y); border-color: var(--y); color: var(--ink); }
.ld-card-f { margin: 18px 0 12px; } .ld-card-f small { display: block; font-size: 12px; color: var(--muted); } .ld-card-f b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ld-card .btn { align-self: flex-start; }
.ld-steps { background: var(--blue-soft); }
.ld-steps small { color: var(--t2) !important; }
.ld-step { border-left: 2px solid var(--y); } .ld-step b { color: var(--blue); } .ld-step p { color: var(--t2) !important; }
.ld-panel { border-radius: 22px; background: linear-gradient(160deg, #F3F8FD, #E7F5E2); padding: 36px; display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--line); }
.ld-panel > img { height: 120px; width: auto; align-self: flex-start; }
.ld-panel > div b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.ld-panel > div span { color: var(--t2); line-height: 1.5; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 18px; border-top: 1px solid rgba(0,65,128,.12); }
.lp-stats b { display: block; font-size: 30px !important; } .lp-stats small { color: var(--muted); font-size: 13px; }
.ld-foot { background: var(--ink); color: #9FB6CF; }
.ld-foot .brand .b-full { height: 34px; }
.wz-steps span.on { border-color: var(--y); } .wz-steps span.done { border-color: var(--blue); }

@container scr (max-width: 1240px) {
  .mod-strip { grid-template-columns: 1fr 1fr; }
  .ld-cards.four { grid-template-columns: 1fr 1fr; }
  .grid-3.fin-row { grid-template-columns: 1fr 1fr; }
}
@container scr (max-width: 1080px) {
  .sidebar .nav-sec { font-size: 0; padding: 8px 0 0; margin: 4px 18px; border-top: 1px solid var(--ink-line); }
  .sidebar .brand .b-full, .sidebar .brand small { display: none; }
  .sidebar .brand .b-mark { display: block; margin: 0 auto; }
  .sidebar .brand { align-items: center; padding: 4px 0 22px; }
  .grid-2.wide-right { grid-template-columns: minmax(0, 1fr); }
  .ld-hero-side { display: none; }
}
@container scr (max-width: 840px) {
  .mod-strip { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .mod-card { padding: 12px; gap: 10px 8px; grid-template-columns: auto 1fr; }
  .mod-card .mc-t { grid-column: 2; }
  .mod-card .mc-n { display: none; }
  .mod-card .mc-n:nth-of-type(3) { display: block; grid-column: 1 / -1; }
  .mc-ic { width: 34px; height: 34px; border-radius: 10px; } .mc-ic .ic { width: 18px; height: 18px; }
  .mc-t b { font-size: 14px; } .mc-t small { font-size: 9px; }
  .mc-n b { font-size: 19px; }
  .mod-hero { padding: 16px; gap: 14px; border-radius: 14px; }
  .mh-ic { width: 48px; height: 48px; border-radius: 14px; } .mh-ic .ic { width: 24px; height: 24px; }
  .mh-t h1 { font-size: 28px; } .mh-t p { font-size: 14px; }
  .evo-r { grid-template-columns: auto minmax(0, 1fr) 60px; } .evo-g { display: none; }
  .mod-pick { grid-template-columns: 1fr 1fr; }
  .mod-pick button { min-height: 0; padding: 7px 9px 9px; gap: 3px; }
  .mod-pick button small { margin-top: 0; }
  .checks.two { grid-template-columns: 1fr; }
  .slots.four { grid-template-columns: repeat(3, 1fr); }
  .grid-3.fin-row { grid-template-columns: 1fr; }
  .nc-art .ic { width: 90px; height: 90px; }
  .pc-mod { width: 28px; height: 28px; } .pc-mod .ic { width: 15px; height: 15px; }
  .pcard::before { width: 4px; }
  .ld-nav .brand .b-full { height: 30px; }
  .ld-hero-mark { height: 70%; right: -20%; top: 30%; }
  .ld-cards.four { grid-template-columns: 1fr; }
  .ld-panel { padding: 22px; } .ld-panel > img { height: 80px; }
  .tb-aluno .tab, .tb-admin .tab { font-size: 9.5px; }
}

p .ic, .rule-t .ic { display: inline-block; vertical-align: -2px; }

/* =====================================================================
   STUDIO REABILITAR — telas v2 (fiéis ao conceito visual aprovado)
   ===================================================================== */
:root { --sr-navy: #014784; --sr-deep: #001A3D; --sr-blue: #0062CC; --sr-blue2: #0B64C0; --sr-green: #5CBA46; --sr-gtx: #2E7D32; --sr-bg: #F0F6FC; --sr-line: #E3EAF3; --sr-muted: #6E7F99; --sr-head: #EAF3FB; }
.btn-primary { background: var(--sr-blue); color: #fff; border-radius: 10px; }
.btn-primary:hover { background: #0057B8; }
.btn-primary.btn-lg { height: 52px; padding: 0 26px; font-size: 17px; font-weight: 700; }

/* ---------- shell desktop ---------- */
.shell { grid-template-columns: 300px minmax(0, 1fr); background: var(--sr-bg); }
.shell.collapsed { grid-template-columns: 88px minmax(0, 1fr); }
.sidebar { background: var(--sr-navy); padding: 0 0 18px; }
.sb-logo { background: #fff; height: 150px; display: flex; align-items: center; justify-content: center; padding: 0 18px; cursor: pointer; flex: none; }
.sidebar .sb-logo .brand { padding: 0; }
.sb-logo .brand .b-full { height: 74px; max-width: 100%; object-fit: contain; }
.shell.collapsed .sb-logo { height: 96px; padding: 0 10px; }
.sidebar .nav { padding: 22px 14px 0; gap: 8px; display: flex; flex-direction: column; }
.sidebar .nav-item { height: 54px; padding: 0 22px; gap: 22px; font-size: 17.5px; font-weight: 500; color: #fff; border-radius: 8px; position: relative; }
.sidebar .nav-item .ic { width: 27px; height: 27px; stroke-width: 1.6; flex: none; }
.sidebar .nav-item:hover { background: rgba(255,255,255,.07); }
.sidebar .nav-item.active { background: var(--sr-blue2); color: #fff; font-weight: 500; box-shadow: inset 6px 0 0 var(--sr-green); }
.sidebar .nav-bottom { padding: 0 20px; }
.sidebar .side-user { border-top: 1px solid rgba(255,255,255,.16); padding: 22px 6px 2px; margin-top: 16px; gap: 14px; }
.sidebar .side-user b { font-size: 16px; font-weight: 700; }
.sidebar .side-user small { color: #C9D7E8; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .side-user .av { background: #D9DEE5; }
.shell.collapsed .sidebar .nav-item { padding: 0; justify-content: center; }

.topbar { height: 60px; background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--sr-line); padding: 0 26px 0 22px; }
.topbar .tb-collapse { display: none; }
.topbar .crumbs { gap: 10px; font-size: 16px; color: var(--sr-deep); font-weight: 500; }
.topbar .crumbs .cr-ic { color: var(--sr-navy); stroke-width: 1.6; }
.topbar .crumbs > .ic:not(.cr-ic) { color: var(--sr-muted); }
.top-actions { gap: 18px; }
.top-actions .bell .ic { width: 26px; height: 26px; }
.top-search { display: flex; align-items: center; gap: 12px; width: 272px; height: 38px; padding: 0 14px; border-radius: 9px; background: #F4F7FA; border: 1px solid var(--sr-line); color: #8A96A8; font-size: 14px; }
.top-search .ic { color: var(--sr-deep); }
.top-user { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--sr-deep); }
.top-user .av { background: #D9DEE5; }
.top-user b { font-weight: 700; }

/* avatar neutro (administrador) */
.side-user .av, .top-user .av { color: #fff; }

/* ---------- visão geral ---------- */
.page { padding: 24px 26px 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.dash-head h1 { font-size: 38px; font-weight: 900; letter-spacing: -.03em; color: var(--sr-deep); line-height: 1.05; }
.dash-head p { font-size: 19px; color: var(--sr-muted); margin-top: 2px; }
.dash-head .head-actions { display: flex; gap: 16px; }
.dash-head .select-btn { height: 50px; border-radius: 8px; border-color: var(--sr-line); background: #fff; font-size: 16px; color: var(--sr-deep); }
.mod-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.mtab { display: flex; align-items: center; justify-content: center; gap: 22px; height: 66px; background: #fff; border: 1px solid #D3DEEA; border-radius: 6px; color: var(--sr-deep); transition: border-color .15s, box-shadow .15s; }
.mtab:hover { border-color: var(--sr-blue); box-shadow: 0 4px 14px rgba(1,71,132,.08); }
.mtab .ic { color: var(--sr-green); stroke-width: 1.6; width: 40px; height: 40px; }
.mtab b { display: block; font-size: 18px; font-weight: 700; text-align: left; }
.mtab small { display: block; font-size: 15px; color: rgba(255,255,255,.85); text-align: left; }
.mtab.on { background: var(--sr-blue); border-color: var(--sr-blue); color: #fff; justify-content: flex-start; padding-left: 54px; }
.mtab.on .ic { color: #fff; }
.dkpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.dk { display: flex; align-items: flex-start; gap: 22px; padding: 22px 24px 18px; min-height: 124px; background: #fff; border: 1px solid #D3DEEA; border-radius: 10px; text-align: left; color: var(--sr-deep); transition: transform .15s, box-shadow .15s; }
.dk:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,71,132,.08); }
.dk .dk-ic { color: var(--sr-green); stroke-width: 1.6; flex: none; margin-top: 2px; }
.dk-t { display: flex; flex-direction: column; min-width: 0; }
.dk-t > span { font-size: 16.5px; font-weight: 500; }
.dk-t b { font-size: 42px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 4px; }
.dk-t small { font-size: 14px; color: var(--sr-muted); }
.dk.dark { background: var(--sr-navy); border-color: var(--sr-navy); color: #fff; }
.dk.dark small { color: #C2D3E8; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr); gap: 16px 16px; }
.dcard { border-radius: 10px; border: 1px solid #DCE5EF; box-shadow: none; padding: 20px 20px 18px; }
.dc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.dc-head h3 { font-size: 21px; font-weight: 800; color: var(--sr-deep); letter-spacing: -.01em; }
.dc-head .dc-ic { color: var(--sr-blue2); stroke-width: 1.8; flex: none; }
.dc-head .link { margin-left: auto; color: var(--sr-blue2); font-weight: 600; font-size: 15px; gap: 10px; }
.dtbl { width: 100%; border-collapse: collapse; font-size: 15.5px; color: var(--sr-deep); }
.dtbl th { background: var(--sr-head); text-align: left; font-weight: 600; font-size: 15px; padding: 10px 14px; }
.dtbl td { padding: 9px 14px; border-bottom: 1px solid #E6EDF5; height: 44px; }
.dtbl tr.click { cursor: pointer; } .dtbl tr.click:hover td { background: #F7FAFD; }
.spill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 22px 0 12px; border-radius: 16px; font-size: 14.5px; font-weight: 500; white-space: nowrap; min-width: 138px; }
.dtbl.pay .spill { min-width: 0; height: 30px; padding-right: 18px; }
.spill .ic { flex: none; }
.spill.ok { background: #E6F6E4; color: #15561E; } .spill.ok .ic { color: #3FA34A; }
.spill.info { background: #E1EEFC; color: #0B4E9C; } .spill.info .ic { color: var(--sr-blue2); stroke-width: 2; }
.spill.bad { background: #FDE8E8; color: #A31616; } .spill.bad .ic { color: #E01E1E; }
.fin-sum .fs-row { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 16px; border-bottom: 1px solid #E6EDF5; margin-bottom: 16px; }
.fs-row button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: var(--sr-deep); padding-left: 2px; }
.fs-row button + button { border-left: 1px solid #E1E8F0; padding-left: 22px; }
.fs-row span { font-size: 15px; }
.fs-row b { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 4px 0 2px; }
.fs-row b.g { color: #087A1E; } .fs-row b.b { color: var(--sr-blue2); }
.fs-row small { font-size: 13.5px; color: var(--sr-muted); }
.dc-head.sub { margin-bottom: 8px; } .dc-head.sub h3 { font-size: 19px; }
.fs-list button { display: flex; justify-content: space-between; width: 100%; padding: 7px 8px; font-size: 16px; color: var(--sr-deep); border-bottom: 1px solid #E6EDF5; }
.fs-list button:last-child { border-bottom: 0; }
.fs-list b { font-weight: 800; font-size: 17px; }
.dcard.rep { position: relative; overflow: hidden; background: linear-gradient(150deg, #01488A 0%, #00336E 100%); border: 0; color: #fff; padding: 24px 24px 18px; }
.dcard.rep .dc-head { margin-bottom: 6px; } .dcard.rep .dc-head h3 { color: #fff; } .dcard.rep .dc-head .dc-ic { color: #fff; }
.dcard.rep p { font-size: 16.5px; color: #E2ECF7; margin-bottom: 18px; position: relative; }
.rep-btn { position: relative; height: 48px; width: 264px; border: 2px solid #fff; border-radius: 6px; color: #fff; font-size: 16px; font-weight: 700; gap: 12px; background: transparent; }
.rep-btn:hover { background: rgba(255,255,255,.1); }
.dcard.rep small { display: block; width: 264px; text-align: center; margin-top: 14px; color: #9FB6D1; font-size: 14px; position: relative; }
.rep-mark { position: absolute; right: -36px; bottom: -30px; height: 190px; opacity: .28; pointer-events: none; }
.dash-foot { text-align: right; font-size: 13px; color: var(--sr-muted); margin-top: 10px; }

/* Modalidades */
.mods-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.hub-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; padding: 22px; background: #fff; border: 1px solid #D3DEEA; border-radius: 12px; text-align: left; color: var(--sr-deep); border-top: 5px solid var(--mc); }
.hub-card:hover { box-shadow: 0 8px 20px rgba(1,71,132,.08); }
.hc-ic { width: 60px; height: 60px; border-radius: 14px; background: var(--ms); color: var(--mi); display: grid; place-items: center; }
.hc-t small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--sr-muted); font-weight: 600; }
.hc-t b { display: block; font-size: 22px; font-weight: 800; }
.hc-t em { display: block; font-style: normal; color: var(--sr-muted); font-size: 14.5px; }
.hc-n { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); background: #F5F8FB; border-radius: 10px; padding: 12px 16px; }
.hc-n b { display: block; font-size: 24px; font-weight: 800; } .hc-n small { font-size: 12.5px; color: var(--sr-muted); }
.hc-go { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--sr-blue2); font-weight: 600; }
.hub-row { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; background: #fff; border: 1px solid #D3DEEA; border-radius: 12px; text-align: left; color: var(--sr-deep); }
.hub-row > .ic:first-child { color: var(--sr-green); }
.hub-row span { flex: 1; } .hub-row span b { display: block; font-size: 17px; } .hub-row small { color: var(--sr-muted); }
.hub-row .hr-n { font-size: 26px; font-weight: 800; }

/* ---------- mobile: cabeçalho e barra de abas ---------- */
.tab-ic { position: relative; display: inline-flex; }
.tab-ic i { position: absolute; top: -2px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--sr-green); border: 2px solid #fff; }

@container scr (max-width: 840px) {
  .page { padding: 4px 18px 24px; }
  .mhead { padding: 12px 20px 4px; background: #fff; }
  .mhead .brand .b-full { height: 50px; }
  .mhead .bell .ic { width: 28px; height: 28px; stroke-width: 1.6; }
  .mhead .bell .dot { background: var(--sr-green); top: 3px; right: 4px; width: 9px; height: 9px; box-shadow: 0 0 0 2px #fff; }
  .tabbar, .tb-aluno, .tb-professor { height: 74px; padding: 10px 6px 0; background: #fff; border-top: 1px solid var(--sr-line); }
  .tabbar .tab, .tb-aluno .tab, .tb-professor .tab { color: #6B7280; font-size: 11.5px; font-weight: 400; gap: 4px; }
  .tabbar .tab .ic, .tb-aluno .tab .ic, .tb-professor .tab .ic { width: 26px; height: 26px; stroke-width: 1.5; color: #6B7280; stroke: currentColor; }
  .tabbar .tab.active, .tb-aluno .tab.active, .tb-professor .tab.active { color: var(--sr-blue2); font-weight: 600; }
  .tabbar .tab.active .ic, .tb-aluno .tab.active .ic, .tb-professor .tab.active .ic { color: var(--sr-blue2); stroke: var(--sr-blue2); }
  .tb-aluno .tab.active::after { bottom: -9px; width: 34px; height: 3px; background: var(--sr-green); }
  .tb-professor .tab.active::after { display: none; }
  .main { background: #fff; }

  /* admin no celular */
  .dash-head { flex-direction: column; gap: 12px; }
  .dash-head h1 { font-size: 28px; } .dash-head p { font-size: 14.5px; }
  .dash-head .head-actions { width: 100%; gap: 8px; }
  .dash-head .head-actions > * { flex: 1; height: 42px; font-size: 13.5px; padding: 0 10px; }
  .mod-tabs { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
  .mtab { height: 54px; gap: 10px; justify-content: flex-start; padding: 0 12px; }
  .mtab.on { padding-left: 12px; }
  .mtab .ic { width: 28px; height: 28px; } .mtab b { font-size: 13.5px; } .mtab small { font-size: 11.5px; }
  .dkpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
  .dk { padding: 14px; gap: 10px; min-height: 0; flex-direction: column; }
  .dk .dk-ic { width: 28px; height: 28px; }
  .dk-t > span { font-size: 13px; } .dk-t b { font-size: 30px; } .dk-t small { font-size: 11.5px; }
  .dgrid { grid-template-columns: 1fr; gap: 10px; }
  .dcard { padding: 16px 14px; }
  .dc-head h3 { font-size: 17px; } .dc-head .dc-ic { width: 24px; height: 24px; }
  .dtbl thead { display: none; }
  .dtbl tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; padding: 10px 2px; border-bottom: 1px solid #E6EDF5; align-items: center; }
  .dtbl td { padding: 0; border: 0; height: auto; font-size: 13.5px; }
  .dtbl:not(.pay) td:nth-child(1) { grid-row: 1 / 3; font-weight: 700; }
  .dtbl:not(.pay) td:nth-child(2) { font-weight: 600; }
  .dtbl:not(.pay) td:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--sr-muted); }
  .dtbl:not(.pay) td:nth-child(4) { display: none; }
  .dtbl:not(.pay) td:nth-child(5) { grid-column: 3; grid-row: 1 / 3; }
  .dtbl.pay tr { grid-template-columns: 1fr auto; }
  .dtbl.pay td:nth-child(1) { font-weight: 600; } .dtbl.pay td:nth-child(2) { grid-row: 2; color: var(--sr-muted); }
  .dtbl.pay td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; font-weight: 600; } .dtbl.pay td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .spill { min-width: 0; height: 26px; padding: 0 10px 0 7px; gap: 6px; font-size: 12px; } .spill .ic { width: 16px; height: 16px; }
  .fs-row b { font-size: 19px; } .fs-row small { font-size: 11.5px; }
  .rep-btn, .dcard.rep small { width: 100%; }
  .mods-hub { grid-template-columns: 1fr; }
}

/* ---------- app do profissional ---------- */
.pro-top { padding: 0 0 4px; background: #fff; }
.pro-top .mhead { display: flex; padding: 14px 0 6px; }
.pro-top .hello, .al-hello .hello { color: var(--sr-deep); font-size: 52px; font-weight: 900; letter-spacing: -.035em; }
.pro-top .hello-sub, .al-hello .hello-sub { color: #5D6B7F; font-size: 21px; margin-top: 2px; }
.page.flush .pro-top { padding: 0 28px 4px; }
.day-card { background: var(--sr-navy); color: #fff; border-radius: 12px; padding: 18px 20px 18px; margin: 20px 0 10px; max-width: 620px; }
.day-card small { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; letter-spacing: .02em; }
.day-card small .ic { color: var(--sr-green); stroke-width: 1.6; }
.dc-row { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; margin-top: 6px; }
.dc-row > i { height: 70%; background: rgba(255,255,255,.35); }
.dc-row div { display: flex; flex-direction: column; align-items: center; }
.dc-row b { font-size: 46px; font-weight: 900; line-height: 1.1; }
.dc-row span { font-size: 17px; }
.pro-top .btn.lg { max-width: 620px; height: 52px; font-size: 18px; font-weight: 700; gap: 16px; background: var(--sr-blue2); border-radius: 9px; }
.pro-body { background: #fff; padding: 22px 28px 26px; }
.pro-body .sec-head { max-width: 620px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pro-body .sec-head h2 { font-size: 24px; font-weight: 800; color: var(--sr-deep); letter-spacing: -.01em; }
.pro-body .sec-head .link { color: var(--sr-blue2); font-size: 17px; gap: 8px; }
.pchips { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; max-width: 620px; }
.pchip { height: 34px; padding: 0 12px; border-radius: 17px; background: #F1F4F7; border: 1px solid #E3E8EE; color: #29374A; font-size: 12.5px; white-space: nowrap; }
.pchip.on { background: #E5F5DF; border-color: #E5F5DF; color: #2C6E1E; font-weight: 600; font-size: 14.5px; padding: 0 14px; }
.pchip-f { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #DCE2EA; display: grid; place-items: center; color: #29374A; margin-left: auto; background: #fff; }
.pchip-f .ic { width: 20px; height: 20px; stroke-width: 1.6; }
.pcards { gap: 10px; }
.pcard { border: 1px solid #E1E7EE; border-radius: 10px; box-shadow: none; }
.pcard::before { width: 5px; }
.pc-top { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 16px 14px 20px; cursor: pointer; text-align: left; }
.pcard .tchip { height: 34px; padding: 0 12px; border-radius: 7px; background: #E8F1FB; color: #0B3B73; font-size: 17px; font-weight: 700; margin: 0; }
.pc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pc-t b { font-size: 19px; font-weight: 700; color: var(--sr-deep); letter-spacing: -.01em; }
.pc-t small { font-size: 16px; color: #5D6B7F; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-t small i { font-style: normal; margin: 0 4px; }
.pc-r { display: flex; align-items: center; gap: 8px; flex: none; }
.pc-ok { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 6px; background: #E9F7E4; color: #1E5E14; font-size: 14.5px; font-weight: 500; }
.pc-ok .ic { width: 18px; height: 18px; color: #2E8B1E; stroke-width: 2.4; }
.pc-r .pc-chev { color: #4B5563; }
.pc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sr-blue2); font-size: 16px; font-weight: 500; cursor: pointer; }
.pc-link .ic:first-child { stroke-width: 1.6; }
.pc-r .av-stack .av { border: 2px solid #fff; }
.pc-act { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; margin: 0 16px 0 20px; border-top: 1px solid #E6EBF1; padding: 10px 0 12px; }
.pc-act > i { height: 24px; background: #DCE3EB; }
.pc-act button { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--sr-blue2); font-size: 16.5px; font-weight: 500; height: 36px; }
.pc-act button .ic { stroke-width: 1.6; }
.pc-act button.done { color: #2E7D32; }
.row-card.blk { max-width: 620px; background: #F7F9FB; border: 1px solid #E3E8EE; padding: 16px 18px; gap: 16px; text-align: left; margin-top: 2px; }
.row-card.blk > .ic { color: #4B5563; stroke-width: 1.6; }
.row-card.blk span b { display: block; font-size: 16px; font-weight: 600; color: var(--sr-deep); }
.row-card.blk span small { font-size: 13.5px; color: #5D6B7F; }
.row-card.blk em { display: inline-flex; align-items: center; gap: 6px; color: var(--sr-blue2); font-size: 16.5px; }

@container scr (max-width: 840px) {
  .page.flush .pro-top { padding: 0 16px 2px; }
  .pro-top .mhead { padding: 10px 0 2px; }
  .pro-top .hello, .al-hello .hello { font-size: 35px; }
  .pro-top .hello-sub, .al-hello .hello-sub { font-size: 16.5px; margin-top: 0; }
  .day-card { margin: 14px 0 8px; padding: 12px 14px 10px; border-radius: 9px; }
  .day-card small { font-size: 11.5px; gap: 10px; } .day-card small .ic { width: 22px; height: 22px; }
  .dc-row b { font-size: 34px; } .dc-row span { font-size: 13.5px; }
  .pro-top .btn.lg { height: 42px; font-size: 15px; gap: 12px; border-radius: 8px; }
  .pro-top .btn.lg .ic { width: 22px; height: 22px; }
  .pro-body { padding: 14px 16px 16px; }
  .pro-body .sec-head { margin-bottom: 8px; }
  .pro-body .sec-head h2 { font-size: 19px; } .pro-body .sec-head .link { font-size: 13.5px; }
  .pro-body .sec-head .link .ic { width: 18px; height: 18px; }
  .pchips { gap: 4px; margin-bottom: 9px; }
  .pchip { height: 28px; padding: 0 7px; font-size: 9.5px; border-radius: 14px; }
  .pchip.on { font-size: 12px; padding: 0 10px; }
  .pchip-f { width: 32px; height: 32px; } .pchip-f .ic { width: 16px; height: 16px; }
  .pcards { gap: 8px; margin-bottom: 8px; }
  .pcard { border-radius: 8px; } .pcard::before { width: 4px; }
  .pc-top { gap: 10px; padding: 10px 10px 10px 14px; }
  .pcard .tchip { height: 26px; padding: 0 8px; font-size: 13px; border-radius: 6px; }
  .pc-t b { font-size: 15px; } .pc-t small { font-size: 12.5px; }
  .pc-ok { height: 22px; padding: 0 7px; font-size: 11px; gap: 4px; border-radius: 5px; } .pc-ok .ic { width: 13px; height: 13px; }
  .pc-r .pc-chev { width: 18px; height: 18px; }
  .pc-r .av-stack .av { width: 30px !important; height: 30px !important; }
  .pc-link { font-size: 12.5px; gap: 5px; } .pc-link .ic:first-child { width: 19px; height: 19px; } .pc-link .ic:last-child { width: 15px; height: 15px; }
  .pc-act { margin: 0 10px 0 14px; padding: 6px 0 8px; }
  .pc-act button { font-size: 13px; height: 28px; gap: 7px; } .pc-act button .ic:first-child { width: 19px; height: 19px; } .pc-act button .ic + .ic, .pc-act button .ic:last-child:not(:first-child) { width: 14px; height: 14px; }
  .row-card.blk { padding: 11px 12px; gap: 10px; border-radius: 9px; }
  .row-card.blk > .ic { width: 22px; height: 22px; }
  .row-card.blk span b { font-size: 12.5px; } .row-card.blk span small { font-size: 10.5px; }
  .row-card.blk em { font-size: 13px; } .row-card.blk em .ic { width: 16px; height: 16px; }
}

/* ---------- app do paciente ---------- */
.al-hello { margin-bottom: 18px; }
.al-sec { font-size: 21px; font-weight: 700; color: var(--sr-deep); margin: 18px 0 10px; }
.nx-card { position: relative; display: block; width: 100%; height: 230px; border-radius: 12px; overflow: hidden; background: var(--sr-navy); text-align: left; color: #fff; border: 1px solid #DDE5EE; }
.nx-photo { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: cover; object-position: center; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.nx-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 20px; height: 100%; max-width: 54%; }
.nx-text small { display: inline-block; background: var(--sr-green); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 12px; }
.nx-text h2 { font-size: 38px; font-weight: 800; letter-spacing: -.01em; margin-top: 6px; line-height: 1.1; }
.nx-when { font-size: 22px; font-weight: 600; margin-top: 4px; white-space: nowrap; }
.nx-when i { font-style: normal; margin: 0 6px; }
.nx-who { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-top: 8px; white-space: nowrap; }
.nx-who .ic { fill: #fff; stroke: #fff; }
.nx-ok { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; height: 38px; padding: 0 18px 0 10px; border-radius: 19px; background: var(--sr-green); color: #fff; font-style: normal; font-size: 17px; font-weight: 500; }
.nx-ok .ic { color: #fff; } .nx-ok .ic circle { fill: #fff; } .nx-ok .ic path { stroke: var(--sr-green); }
.nx-ok.wait { background: rgba(255,255,255,.18); }
.nx-card.empty { height: auto; } .nx-card.empty .nx-text { max-width: none; gap: 6px; }
/* hero do paciente com atendimento: carrossel, um slide por agendamento (proporção das artes, 1930x815) */
.hc { position: relative; }
.hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1930 / 815; container-type: inline-size; overflow: hidden; background: var(--sr-navy); color: #fff; text-align: left; display: block; }
.hc-photo { position: absolute; right: 0; top: 0; height: 100%; width: 53.4%; object-fit: cover; clip-path: polygon(10.7% 0, 100% 0, 100% 100%, 1.5% 100%); }
.hc-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 2.4cqw 0 2.4cqw 2.1cqw; max-width: 52%; }
.hc-text small { background: var(--sr-green); color: #fff; font-size: 2.45cqw; font-weight: 500; letter-spacing: .01em; padding: 1.2cqw 1.8cqw; border-radius: 2.6cqw; line-height: 1.1; }
.hc-text h2 { font-size: min(7.3cqw, calc(42cqw / var(--fit, 1))); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; margin-top: 1.4cqw; white-space: nowrap; }
.hc-when { font-size: 3.6cqw; font-weight: 600; margin-top: .6cqw; white-space: nowrap; }
.hc-when i { font-style: normal; margin: 0 1cqw; }
.hc-who { display: flex; align-items: center; gap: 2.2cqw; font-size: 3.2cqw; margin-top: 1.6cqw; white-space: nowrap; }
.hc-who .ic { width: 3.3cqw; height: 3.3cqw; fill: #fff; stroke: #fff; }
.hc-ok { display: inline-flex; align-items: center; gap: 2cqw; margin-top: auto; height: 7cqw; padding: 0 3.2cqw 0 2.6cqw; border-radius: 3.6cqw; background: var(--sr-green); color: #fff; font-style: normal; font-size: 2.9cqw; font-weight: 500; }
.hc-ok .ic { width: 3.8cqw; height: 3.8cqw; color: #fff; } .hc-ok .ic circle { fill: #fff; } .hc-ok .ic path { stroke: var(--sr-green); }
.hc-ok.wait { background: rgba(255,255,255,.18); }
.hc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--sr-navy); box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 2; }
.hc-nav { top: auto; bottom: 8px; transform: none; width: 30px; height: 30px; }
.hc-nav.prev { right: 46px; } .hc-nav.next { right: 8px; }
.hc.at-start .hc-nav.prev, .hc.at-end .hc-nav.next { display: none; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; pointer-events: none; z-index: 2; }
.hc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hc-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
/* hero do paciente sem atendimento agendado: tamanhos proporcionais à largura do cartão */
.nx-card.nx-hero { height: auto; aspect-ratio: 1817 / 866; container-type: inline-size; border: 0; background: linear-gradient(100deg, #00387a 0%, #044993 50%, #0f5fb0 100%); }
.nx-hero-art { position: absolute; right: 0; top: 0; height: 100%; width: 41.7%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 28%); mask-image: linear-gradient(to right, transparent, #000 28%); }
.nx-hero-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding: 0 0 0 5.6cqw; max-width: 64%; }
.nx-hero-text small { display: flex; align-items: center; gap: 1.5cqw; background: none; padding: 0; border-radius: 0; color: #5BE36A; font-size: 3cqw; font-weight: 600; letter-spacing: .01em; }
.nx-hero-text small::before { content: ''; width: 7.3cqw; height: .75cqw; border-radius: 1cqw; background: #5BE36A; }
.nx-hero-text h2 { font-size: 6.2cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.04; margin-top: 2.4cqw; }
.nx-hero-text p { font-size: 3.2cqw; line-height: 1.3; margin-top: 2.2cqw; color: rgba(255,255,255,.92); }
.nx-hero-cred { display: flex; align-items: center; gap: 2.2cqw; margin-top: 3cqw; font-size: 2.6cqw; font-weight: 500; }
.nx-hero-cred i { width: 2.7cqw; height: 2.7cqw; border-radius: 50%; background: #5BE36A; flex: none; }
.al-book { display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; height: 60px; margin-top: 12px; border-radius: 10px; background: var(--sr-navy); color: #fff; font-size: 21px; font-weight: 600; }
.al-book .ic { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: #fff; color: var(--sr-navy); stroke-width: 2.6; }
.al-book:hover { background: #013A6E; }
.om-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.om-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 136px; border: 1px solid #DDE5EE; border-radius: 8px; background: #fff; color: var(--sr-deep); }
.om-card:hover { border-color: var(--sr-blue2); }
.om-ic { color: var(--sr-navy); } .om-ic .ic { stroke-width: 1.5; }
.om-card.om-photo { position: relative; padding: 0; overflow: hidden; }
.om-photo img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 30px); object-fit: contain; box-sizing: border-box; padding: 6px 8px; }
.om-photo img.om-full { padding: 1px 8px; } /* foto vertical: usa quase toda a altura da área (≈ +15%) */
.om-photo .om-ic { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 30px); display: grid; place-items: center; }
/* nome sobre uma faixa azul na base do card de foto */
.om-tag { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; align-items: center; justify-content: center; gap: 3px; background: linear-gradient(90deg, var(--sr-navy), var(--sr-blue2)); border-top: 2px solid var(--sr-green); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.om-tag .ic { width: 14px; height: 14px; color: #fff; flex: none; }
.om-ic:has(img) { width: 78%; display: flex; justify-content: center; }
.om-ic img { width: 100%; height: 78px; object-fit: contain; }
.om-l { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; }
.om-l .ic { color: #4B5563; width: 16px; height: 16px; }
.acard.al-evo, .acard.al-plan, .acard.al-prep { border: 1px solid #DDE5EE; border-radius: 10px; box-shadow: none; }
.al-evo .ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.al-evo h3 { font-size: 22px; font-weight: 700; color: var(--sr-deep); }
.al-evo .link, .al-plan .link { color: var(--sr-blue2); font-size: 17px; gap: 8px; }
.evo-tl { list-style: none; padding: 0; margin: 0; }
.evo-tl li { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 0 6px 30px; font-size: 18px; color: var(--sr-deep); }
.evo-tl li i { position: absolute; left: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sr-green); }
.evo-tl li + li::before { content: ''; position: absolute; left: 7px; top: -12px; height: 22px; width: 1.5px; background: #C9D3DE; }
.evo-tl li em { font-style: normal; color: #6B7280; }
.evo-tl li b { font-weight: 400; }
.al-plan { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; width: 100%; text-align: left; }
.ap-t { display: flex; align-items: center; gap: 14px; }
.ap-t b { font-size: 22px; font-weight: 700; color: var(--sr-deep); }
.ap-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: #E5F5DF; color: #2C6E1E; font-style: normal; font-size: 14px; font-weight: 500; }
.ap-pill .ic { color: #3FA34A; fill: #3FA34A22; } .ap-pill.late { background: #FDE8E8; color: #A31616; } .ap-pill.late .ic { color: #E01E1E; }
.ap-s { grid-column: 1; display: flex; align-items: center; gap: 12px; font-size: 17px; color: #5D6B7F; }
.ap-s .ic { color: #4B5563; stroke-width: 1.6; }
.ap-link { grid-column: 2; grid-row: 1 / 3; }
.al-prep { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; font-size: 18px; color: var(--sr-deep); }
.al-prep span { flex: 1; } .al-prep .ic:first-child { stroke-width: 1.6; }

@container scr (max-width: 840px) {
  .page.al-page { padding: 0 11px 14px; }
  .al-hello { margin: 0 4px 10px; }
  .al-grid { gap: 8px; }
  .nx-card { height: 166px; border-radius: 9px; }
  .nx-text { padding: 13px 14px 12px; max-width: 58%; }
  .nx-photo { width: 56%; }
  .nx-text small { font-size: 9.5px; padding: 3px 7px; border-radius: 9px; }
  .nx-text h2 { font-size: 26px; margin-top: 3px; }
  .nx-when { font-size: 15.5px; margin-top: 2px; } .nx-when i { margin: 0 3px; }
  .nx-who { font-size: 13.5px; gap: 7px; margin-top: 5px; } .nx-who .ic { width: 17px; height: 17px; }
  .nx-ok { height: 27px; font-size: 12.5px; padding: 0 12px 0 6px; gap: 7px; border-radius: 14px; } .nx-ok .ic { width: 18px; height: 18px; }
  .al-book { height: 45px; margin-top: 10px; font-size: 15.5px; gap: 18px; border-radius: 8px; }
  .al-book .ic { width: 24px; height: 24px; padding: 4px; }
  .al-sec { font-size: 16.5px; margin: 12px 2px 8px; }
  .om-grid { gap: 8px; }
  .om-card { height: 104px; gap: 6px; border-radius: 6px; }
  .om-ic .ic { width: 40px; height: 40px; }
  .om-ic img { height: 58px; }
  .om-card { padding: 0 4px; min-width: 0; overflow: hidden; }
  .om-photo img, .om-photo .om-ic { height: calc(100% - 24px); }
  .om-tag { height: 24px; font-size: 10px; letter-spacing: 0; } .om-tag .ic { display: none; }
  .om-l { font-size: 11px; gap: 1px; white-space: nowrap; max-width: 100%; } .om-l .ic { width: 11px; height: 11px; flex: none; }
  .acard.al-evo, .acard.al-plan, .acard.al-prep { padding: 12px 13px; border-radius: 8px; }
  .al-evo h3, .ap-t b { font-size: 16.5px; }
  .al-evo .link, .al-plan .link { font-size: 12.5px; gap: 4px; } .al-evo .link .ic, .al-plan .link .ic { width: 15px; height: 15px; }
  .al-evo .ac-head { margin-bottom: 4px; }
  .evo-tl li { font-size: 13px; padding: 5px 0 5px 22px; gap: 8px; }
  .evo-tl li i { width: 9px; height: 9px; margin-top: -4.5px; left: 2px; }
  .evo-tl li + li::before { left: 6px; }
  .ap-t { gap: 10px; } .ap-pill { height: 21px; font-size: 10.5px; padding: 0 8px; gap: 4px; } .ap-pill .ic { width: 12px; height: 12px; }
  .ap-s { font-size: 12.5px; gap: 8px; } .ap-s .ic { width: 17px; height: 17px; }
  .al-prep { font-size: 13px; gap: 10px; } .al-prep .ic:first-child { width: 22px; height: 22px; } .al-prep .ic:last-child { width: 16px; height: 16px; }
}

.av.sil { background: linear-gradient(180deg, #C9D0DA, #9AA5B4); color: #fff; align-items: flex-end; overflow: hidden; }
.av.sil .ic { fill: #fff; stroke: #fff; margin-bottom: -8%; }
.top-search { width: 300px; white-space: nowrap; } .top-search span { overflow: hidden; text-overflow: ellipsis; }
.role-admin .topbar .bell .dot { background: #E5262B; }
.sb-logo .brand .b-full { height: 84px; }
@container scr (max-width: 840px) {
  .pchips { margin: 0 -6px 9px; gap: 3px; }
  .pchip { flex: 0 1 auto; min-width: 0; padding: 0 6px; font-size: 9.5px; letter-spacing: -.01em; }
  .pchip.on { flex: none; }
  .pchip-f { width: 30px; height: 30px; }
  .pc-r .av-stack .av { width: 28px !important; height: 28px !important; margin-left: -7px; }
  .nx-when { font-size: 14px; }
  .nx-text h2 { font-size: 25px; }
}
@container scr (max-width: 840px) { .pc-r .av-stack .av + .av { margin-left: -7px; } .pc-r .av-stack .av:first-child { margin-left: 0; } }

/* página de módulo com logo própria (ex.: Eletro Guaíba) */
.mod-hero.has-logo { background: #fff; border-left: 6px solid var(--sr-green); }
.mh-logo { height: 112px; width: auto; flex: none; padding-right: 24px; margin-right: 4px; border-right: 1px solid var(--sr-line); }
@container scr (max-width: 840px) {
  .mod-hero.has-logo { flex-direction: column; align-items: flex-start; }
  .mh-logo { height: 64px; max-width: 100%; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--sr-line); margin: 0; }
}

/* app do paciente — página própria da modalidade */
.modp-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 18px; border: 1px solid #DDE5EE; border-radius: 12px; background: linear-gradient(180deg, #fff 55%, var(--ms) 100%); }
.modp-logo { width: 100%; max-width: 340px; height: auto; margin-bottom: 14px; }
/* logo em fundo preto: card cheio, mais alto, com a arte maior */
.modp-logo.dark { max-width: none; box-sizing: border-box; padding: 12px 16px; border-radius: 14px; background: #000; object-fit: contain; }
.modp-ic { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; background: var(--ms); color: var(--mi); margin-bottom: 10px; }
.modp-hero h1 { font-size: 30px; font-weight: 800; color: var(--sr-deep); letter-spacing: -.02em; }
.modp-hero p { font-size: 16px; color: #5D6B7F; margin-top: 2px; }
.modp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.modp-tags span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; border: 1px solid #DDE5EE; font-size: 13.5px; color: var(--sr-deep); }
.modp-tags .ic { color: var(--sr-blue2); }
.modp-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #5D6B7F; margin-top: 10px; }
.modp-note .ic { flex: none; margin-top: 2px; color: var(--sr-blue2); }
.modp-slots { display: flex; flex-direction: column; gap: 8px; }
.modp-slot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #DDE5EE; border-radius: 10px; background: #fff; text-align: left; color: var(--sr-deep); }
.modp-slot .tchip { background: #E8F1FB; color: #0B3B73; font-weight: 700; margin: 0; }
.modp-slot > span:nth-child(2) { flex: 1; } .modp-slot b { display: block; font-size: 15px; } .modp-slot small { font-size: 13px; color: #5D6B7F; }
.modp-slot > .ic { color: #4B5563; }
.modp-prep { display: flex; flex-direction: column; gap: 8px; }
.modp-prep > div { display: flex; gap: 12px; padding: 12px; border: 1px solid #DDE5EE; border-radius: 10px; }
.modp-prep > div > span { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.modp-prep p { font-size: 13.5px; color: #5D6B7F; } .modp-prep p b { display: block; font-size: 15px; color: var(--sr-deep); }
.modp-pros { display: flex; flex-direction: column; gap: 8px; }
.modp-pros > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #DDE5EE; border-radius: 10px; }
.modp-pros b { display: block; font-size: 15px; color: var(--sr-deep); } .modp-pros small { font-size: 13px; color: #5D6B7F; }
@container scr (max-width: 840px) {
  .modp-hero { padding: 16px 14px 14px; }
  .modp-logo { max-width: 290px; margin-bottom: 10px; }
  .modp-hero h1 { font-size: 23px; } .modp-hero p { font-size: 13.5px; }
  .modp-tags span { height: 26px; font-size: 11.5px; padding: 0 9px; }
  .modp-note { font-size: 12px; }
  .modp-slot { padding: 8px 10px; } .modp-slot .tchip { height: 26px; font-size: 13px; padding: 0 8px; }
  .modp-slot b { font-size: 13.5px; } .modp-slot small { font-size: 11.5px; }
  .modp-prep p { font-size: 12px; } .modp-prep p b { font-size: 13.5px; }
  .modp-prep > div > span { width: 32px; height: 32px; }
  .modp-pros b { font-size: 13.5px; } .modp-pros small { font-size: 11.5px; }
  .mh-logo { height: 84px; }
}

/* ---------- tempo por procedimento / mapa de encaixes ---------- */
.pt-card, .fm-card { margin-bottom: 18px; }
.pt-help { color: var(--sr-muted); font-size: 14.5px; margin: -6px 0 14px; max-width: 820px; }
.pt-wrap { overflow-x: auto; }
.pt-tbl th { background: var(--sr-head); color: var(--sr-deep); font-weight: 600; }
.pt-tbl td { vertical-align: middle; color: var(--sr-deep); }
.pt-tbl td small { display: block; font-size: 12px; color: var(--sr-muted); margin-top: 3px; }
.pt-cell { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 4px; border: 1px solid #D3DEEA; border-radius: 8px; background: #fff; }
.pt-cell input { width: 46px; border: 0; outline: 0; font: inherit; font-weight: 700; font-size: 15px; text-align: right; color: var(--sr-deep); background: transparent; }
.pt-cell span { font-size: 13px; color: var(--sr-muted); }
.pt-cell:focus-within { border-color: var(--sr-blue); box-shadow: 0 0 0 3px rgba(0,98,204,.12); }
.pt-cell.own { background: #EEF8EA; border-color: #BFE3B2; }
.pt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pt-leg { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sr-muted); }
.pt-leg i { width: 14px; height: 14px; border-radius: 4px; background: #EEF8EA; border: 1px solid #BFE3B2; }
.fm-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.fm-tools .input.slim { width: auto; min-width: 200px; }
.fm-list { display: flex; flex-direction: column; gap: 8px; }
.fm-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 92px; align-items: center; gap: 12px; text-align: left; }
.fm-t { font-weight: 700; color: var(--sr-deep); }
.fm-bar { display: flex; gap: 3px; height: 50px; }
.fm-seg { min-width: 0; border-radius: 7px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.fm-seg b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-seg small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.fm-seg.busy { background: var(--sr-navy); color: #fff; }
.fm-seg.free { background: repeating-linear-gradient(135deg, #EEF8EA 0 8px, #F6FBF4 8px 16px); border: 1px dashed #9BD18A; color: #2C6E1E; flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }
.fm-seg.free em { font-style: normal; font-weight: 700; font-size: 12.5px; background: #fff; border: 1px solid #BFE3B2; border-radius: 5px; padding: 2px 6px; }
.fm-n { font-size: 13px; font-weight: 600; color: #2C6E1E; text-align: right; }
.fm-row:hover .fm-seg.busy { background: #013A6E; }
.fm-leg { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--sr-muted); }
.fm-leg span { display: inline-flex; align-items: center; gap: 6px; }
.fm-leg i { width: 14px; height: 14px; border-radius: 4px; }
.fm-leg i.busy { background: var(--sr-navy); } .fm-leg i.free { background: #EEF8EA; border: 1px dashed #9BD18A; }
.p-start { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 5px; background: #E8F1FB; color: #0B3B73; font-size: 12.5px; font-weight: 700; }
/* app do paciente: procedimento e início */
.proc-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.proc-pick button { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 12px; border: 1px solid #D3DEEA; border-radius: 10px; background: #fff; color: var(--sr-deep); text-align: left; }
.proc-pick button b { font-size: 14px; } .proc-pick button small { font-size: 12px; color: var(--sr-muted); }
.proc-pick button.on { border-color: var(--sr-navy); background: #E8F1FB; box-shadow: inset 0 0 0 1px var(--sr-navy); }
.start-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.start-pick button { height: 40px; padding: 0 16px; border-radius: 9px; border: 1px solid #D3DEEA; background: #fff; font-weight: 700; color: var(--sr-deep); }
.start-pick button.on { background: var(--sr-navy); border-color: var(--sr-navy); color: #fff; }
.sec-t small.muted { font-weight: 400; text-transform: none; letter-spacing: 0; }
@container scr (max-width: 840px) {
  .pt-tbl thead { display: none; }
  .pt-tbl tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
  .pt-tbl td { padding: 0 !important; border: 0 !important; }
  .pt-tbl td:first-child { grid-column: 1 / -1; }
  .pt-tbl td:not(:first-child)::before { content: attr(data-l); display: block; font-size: 11px; color: var(--sr-muted); margin-bottom: 3px; }
  .fm-row { grid-template-columns: 44px minmax(0, 1fr); }
  .fm-n { grid-column: 2; text-align: left; font-size: 11.5px; margin-top: -4px; }
  .fm-bar { height: 44px; }
  .fm-seg { padding: 4px 5px; } .fm-seg b { font-size: 11px; } .fm-seg small { display: none; }
  .fm-seg.free em { font-size: 10.5px; padding: 1px 4px; }
  .proc-pick button { padding: 6px 10px; } .proc-pick button b { font-size: 13px; }
  .start-pick button { height: 34px; padding: 0 12px; font-size: 13.5px; }
}
.fm-seg.free { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: nowrap; }
.fm-seg.free b { color: #2C6E1E; }
.fm-seg.rest { background: #F3F5F8; border: 1px dashed #D3DCE6; color: var(--sr-muted); align-items: center; }

/* ---------- entrar ---------- */
.login-page { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; overflow-x: hidden; overflow-y: auto; background: radial-gradient(700px 420px at 85% 8%, rgba(98,186,70,.28), transparent 60%), linear-gradient(160deg, #00387a 0%, #044993 55%, #0f5fb0 100%); }
.login-page::before { content: ""; position: absolute; right: -14%; top: 0; height: 100%; aspect-ratio: 220 / 300; background: url(../img/mark-white.png) center / contain no-repeat; opacity: .07; pointer-events: none; }
.login-top { position: relative; display: flex; justify-content: center; margin-bottom: 22px; }
.login-top img { width: 320px; max-width: 88%; height: auto; }
.login-card { position: relative; width: 100%; max-width: 390px; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 18px; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -24px rgba(0,20,50,.6); }
.login-card h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--sr-deep); margin-bottom: 2px; }
.login-card .input { height: 50px; font-size: 16px; border-radius: 12px; }
.login-card .input:focus { border-color: var(--sr-blue); box-shadow: 0 0 0 3px rgba(0,98,204,.14); }
.login-pass { position: relative; }
.login-pass .input { padding-right: 48px; }
.login-eye { position: absolute; top: 0; right: 0; width: 48px; height: 50px; display: grid; place-items: center; color: var(--sr-muted); }
.login-card .btn-primary { height: 50px; font-size: 16px; font-weight: 700; margin-top: 4px; }
.login-site { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--sr-line); background: var(--sr-head); color: var(--sr-navy); font-size: 14.5px; font-weight: 700; }
.login-site:hover { border-color: var(--sr-blue2); }
@container scr (max-width: 840px) { .login-card { padding: 26px 22px 20px; } }
.ld-nav .ld-login { margin-left: 0; }
@container scr (max-width: 840px) { .ld-nav .ld-login { display: none; } }

/* profissional em tela larga: conteúdo centralizado */
@container scr (min-width: 841px) {
  body[data-role="professor"] .main, body[data-role="professor"] .page.flush { background: #fff; }
  body[data-role="professor"] .pro-top, body[data-role="professor"] .pro-body { max-width: 680px; margin: 0 auto; width: 100%; }
  body[data-role="professor"] .page.flush .pro-top { padding: 0 28px 4px; }
}

/* escolha do tipo de treino da Eletroestimulação (força ou Shape Space) */
.tr-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 4px; }
.tr-pick button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 10px 12px; border: 1.5px solid #DDE5EE; border-radius: 12px; background: #fff; text-align: left; transition: .15s; }
.tr-pick button:hover { border-color: var(--sr-blue2); }
.tr-pick button.on { border-color: var(--sr-blue2); background: #EEF5FC; box-shadow: inset 0 0 0 1px var(--sr-blue2); }
.tr-pick img { width: 100%; height: 124px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 4px; }
.tr-pick b { font-size: 15px; font-weight: 800; color: var(--sr-deep); line-height: 1.15; }
.tr-pick small { font-size: 12px; line-height: 1.3; color: #5D6B7F; }
.tr-pick em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--sr-blue2); background: #E3EEFB; padding: 2px 8px; border-radius: 10px; margin-top: 4px; }
.tr-pick button.on em { background: var(--sr-blue2); color: #fff; }

/* faixa de nome (azul com linha verde) também nos cards de Modalidade e de Tipo de treino; selecionado = faixa verde */
.mod-pick button { position: relative; overflow: hidden; padding: 8px 10px 34px; gap: 0; }
.mod-pick button span { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, var(--sr-navy), var(--sr-blue2)); border-top: 2px solid var(--sr-green); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.mod-pick button small { position: absolute; top: 6px; right: 6px; margin: 0; width: auto; padding: 2px 7px; border-radius: 8px; background: var(--sr-green); color: #fff; font-size: 9.5px; font-weight: 600; }
.mod-pick button.on span { background: linear-gradient(90deg, #3F9E2F, var(--sr-green)); border-top-color: var(--sr-navy); }
.tr-pick button { padding-bottom: 0; overflow: hidden; }
.tr-pick b { order: 5; display: flex; align-items: center; justify-content: center; width: calc(100% + 20px); height: 30px; margin: 8px -10px 0; background: linear-gradient(90deg, var(--sr-navy), var(--sr-blue2)); border-top: 2px solid var(--sr-green); color: #fff; font-size: 13.5px; letter-spacing: .01em; }
.tr-pick button.on b { background: linear-gradient(90deg, #3F9E2F, var(--sr-green)); border-top-color: var(--sr-navy); }
.tr-pick em { margin-bottom: 4px; }

/* ---------- check-in (botão central do paciente) ---------- */
.tab-checkin { gap: 3px; }
.tab-checkin .ck-btn { width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, var(--sr-blue) 0%, var(--sr-navy) 100%); border: 4px solid #fff; box-shadow: 0 8px 18px -6px rgba(0,66,128,.55); transition: transform .12s; position: relative; }
.tab-checkin:active .ck-btn { transform: scale(.94); }
.tab-checkin .ck-btn img { width: 30px; height: 36px; object-fit: contain; object-position: center top; }
.tab-checkin > span:last-child { color: var(--sr-navy); font-weight: 600; }
.tab-checkin.done .ck-btn::after { content: ""; position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--sr-green); border: 2px solid #fff; }
.ck-ok { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 6px 0 2px; }
.ck-ok .ck-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--y-soft); color: var(--y-text); }
.ck-ok b { font-size: 18px; color: var(--sr-deep); }
.ck-ok p { color: var(--sr-muted); font-size: 14.5px; }
.ficha-av { white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: var(--text); }
.att-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.att-cell { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--sr-line); border-radius: 10px; font-size: 13.5px; }
.att-cell .pill { font-size: 11.5px; }

/* ---------- página pública (primeiro atendimento): mesmo padrão claro do app, com carrosséis ---------- */
.landing.pg { background: var(--sr-bg); }
.pg-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--sr-line); }
.pg-top .brand .b-full { height: 40px; }
.pg-body { max-width: 1080px; margin: 0 auto; padding: 14px 16px 10px; }
.pg-sec { margin-top: 6px; }
.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pg-head .al-sec { margin: 14px 0 8px; font-size: 19px; }
.pg-arrows { display: flex; gap: 6px; }
.pg-sec.fit .pg-arrows { display: none; }
.pg-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-inline: 16px; }
.pg-rail::-webkit-scrollbar { display: none; }
.pg-c { flex: 0 0 100%; scroll-snap-align: start; background: #fff; border: 1px solid var(--sr-line); border-radius: 12px; overflow: hidden; }
.pg-svc { position: relative; display: flex; flex-direction: column; padding-bottom: 12px; }
.pg-img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; background: #fff; }
.pg-band { height: 28px; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, var(--sr-navy), var(--sr-blue2)); border-top: 3px solid var(--sr-green); color: #fff; font-size: 14px; font-weight: 700; }
.pg-svc p { padding: 10px 12px 0; font-size: 13px; line-height: 1.45; color: var(--t2); flex: 1; }
.pg-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 0; }
.pg-f small { display: block; font-size: 11px; color: var(--sr-muted); }
.pg-f b { font-size: 17px; font-weight: 800; color: var(--sr-deep); }
.pg-step { display: flex; align-items: center; gap: 12px; padding: 14px; }
.pg-step i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: var(--sr-green); }
.pg-step b { display: block; font-size: 14.5px; color: var(--sr-deep); }
.pg-step small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--sr-muted); line-height: 1.35; }
.pg-foot { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 22px; text-align: center; font-size: 12.5px; color: var(--sr-muted); }
.pg-foot small { font-size: 11.5px; }
@container scr (min-width: 841px) {
  .pg-top { padding: 12px max(24px, calc((100% - 1080px) / 2)); }
  .pg-body { padding-top: 22px; }
  .pg-body > .nx-hero, .pg-body > .al-book { max-width: 640px; }
  .pg-rail { gap: 12px; margin: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .pg-svc { flex-basis: calc((100% - 36px) / 4); }
  .pg-step { flex-basis: calc((100% - 24px) / 3); }
}


/* agendamento no celular: condições em duas colunas compactas */
.wizard .checks.two { grid-template-columns: 1fr 1fr; gap: 6px; }
.wizard .checks.two .check { gap: 8px; padding: 8px 9px; font-size: 12.5px; line-height: 1.25; }
.wizard .checks.two .check span { width: 18px; height: 18px; }

/* orientações de preparo no agendamento: um card por vez */
.pc-track .prep-c { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; background: #F6F9FC; border: 1px solid var(--sr-line); }
.prep-c > span { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.prep-c p { font-size: 13.5px; line-height: 1.45; color: var(--t2); }
.prep-c p b { display: block; margin-bottom: 2px; font-size: 14.5px; color: var(--sr-deep); }

/* agendamento: logo da especialidade escolhida */
.wz-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 2px 0 14px; }
.wz-logo-img { width: auto; height: auto; max-width: 230px; max-height: 66px; object-fit: contain; }
.wz-logo.dark { margin: 2px 0 14px; padding: 10px 18px; border-radius: 12px; background: #000; }
.wz-logo.dark .wz-logo-img { width: 100%; max-width: none; max-height: none; }
.wz-logo small { font-size: 13px; font-weight: 700; color: var(--sr-navy); }

/* orientações pré-treino da eletroestimulação: arte da clínica */
.wz-prep-img { border-radius: 12px; overflow: hidden; }
.wz-prep-img img { display: block; width: 100%; height: auto; }

/* etapa 4 do agendamento: valor numa linha só e caixa com a política de reagendamento */
.wz-sum .wz-price { flex: none; white-space: nowrap; font-size: 21px !important; }
.wz-rule { margin: 16px 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.wz-rule summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--sr-deep); }
.wz-rule summary::-webkit-details-marker { display: none; }
.wz-rule summary span { flex: 1; }
.wz-rule summary .ic { color: var(--sr-blue2); transition: transform .2s; }
.wz-rule[open] summary .ic:last-child { transform: rotate(180deg); }
.wz-rule img { display: block; width: 100%; height: auto; }

/* logo escura (Eletroestimulação) no cabeçalho do módulo: placa preta que preenche a largura do cartão, logo centralizada */
.mh-logo.dark { box-sizing: border-box; padding: 0; margin-right: 4px; border: 0; border-radius: 10px; background: #000; object-fit: contain; }
@container scr (max-width: 840px) {
  .mh-logo.dark { width: 100%; height: 92px; max-width: none; margin: 0 0 12px; }
}

/* sem seletor de visualização: a barra some quando está vazia */
#demobar:empty { display: none; }

/* planos e pacotes do paciente */
.bx-seg { display: grid; gap: 6px; margin-bottom: 10px; }
.bx-seg.n4 { grid-template-columns: repeat(4, 1fr); } .bx-seg.n3 { grid-template-columns: repeat(3, 1fr); }
.bx-seg button { display: flex; align-items: center; justify-content: center; text-align: center; height: 36px; border-radius: 10px; background: #F4F5F7; font-size: 13px; font-weight: 600; color: var(--t2); }
.bx-seg button.on { background: var(--sr-navy); color: #fff; }
.bx-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.bx-c { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--sr-line); border-radius: 12px; background: #fff; }
.bx-c > div:first-child { min-width: 0; } .bx-c b { display: block; font-size: 14.5px; color: var(--sr-deep); }
.bx-c small { display: block; margin-top: 2px; font-size: 12px; color: var(--sr-muted); line-height: 1.35; }
.bx-p { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; } .bx-p b { white-space: nowrap; font-size: 15px; }

/* confirmação da reserva: artes da clínica em carrossel */
.bk-info { margin-top: 12px; }
.bk-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; text-align: center; }
.bk-slide figcaption { margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--sr-navy); }
.bk-slide img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* minhas reservas: uma por tela, em carrossel */
.pc-track > .resv { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; margin-bottom: 0; }

/* tela Evolução do paciente: abas curtas, uma seção por vez */
.ev-tabs { margin: 12px 0; }
.ev-body { max-width: 720px; }
.ev-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ev-trio > div { padding: 10px 8px; border-radius: 12px; background: #F5F8FB; text-align: center; }
.ev-trio small { display: block; font-size: 12px; color: var(--sr-muted); }
.ev-trio b { display: block; margin-top: 2px; font-size: 20px; font-weight: 800; color: var(--sr-deep); line-height: 1.15; }
.ev-trio b i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--sr-muted); }
.ev-trio .up b { color: var(--sr-gtx); font-size: 16px; } .ev-trio .down b { color: var(--red); font-size: 16px; }

.mini-stats.ev-stats { grid-template-columns: repeat(3, 1fr); }

/* agenda do dia em blocos de 3 horários */
.dl-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dl-range { font-size: 13.5px; font-weight: 700; color: var(--sr-deep); }
.dl-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dl-track::-webkit-scrollbar { display: none; }
.dl-page { flex: 0 0 100%; min-width: 0; box-sizing: border-box; scroll-snap-align: start; }

/* login e cadastro: linha de apoio */
.login-new { margin: 0; text-align: center; font-size: 13px; color: var(--sr-muted); }
.login-new .link { padding: 0 2px; font-size: 13px; font-weight: 700; color: var(--sr-blue); }

/* Modalidade com tipos agregados: setinha no card e os tipos abrem logo abaixo */
.mod-pick .mp-chev { position: absolute; right: 8px; bottom: 6px; z-index: 1; display: flex; color: #fff; transition: transform .2s; pointer-events: none; }
.mod-pick button.on .mp-chev { transform: rotate(180deg); }
.sub-pick { margin-top: 10px; padding: 10px 12px 12px; border: 1.5px solid var(--mc); border-radius: 14px; background: var(--ms); animation: sub-open .18s ease-out; }
.sub-pick .sec-t { margin-top: 0; }
@keyframes sub-open { from { opacity: 0; transform: translateY(-6px); } }
.tr-ic { display: flex; align-items: center; justify-content: center; width: 100%; height: 68px; margin-bottom: 4px; color: var(--sr-blue2); }
@container scr (max-width: 840px) { .tr-ic { height: 56px; } .tr-pick img { height: 96px; } }
.pg-conv { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sr-green-soft, #E7F5E2); color: var(--sr-deep); font-size: 13.5px; text-align: center; }
.pg-conv svg { flex: none; color: var(--sr-green); }

/* explicações curtas sobre plano (só a aula experimental é avulsa) */
.how { margin: 12px 0 4px; padding: 14px 16px; border-radius: 14px; background: #EEF5FC; border: 1.5px solid #DDE5EE; }
.how > b { display: block; margin-bottom: 8px; font-size: 14.5px; color: var(--sr-deep); }
.how ol { margin: 0 0 10px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--text); }
.how .link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--sr-blue); }
.bx-how { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 12px; font-size: 13px; line-height: 1.45; color: #5D6B7F; }
.bx-how svg { flex: none; margin-top: 1px; color: var(--sr-blue2); }

/* placa preta (Personal Training): sem mistura multiply, que travava o navegador */
.mod-pick .mp-img.dk { mix-blend-mode: normal; object-fit: contain; background: #000; border-radius: 6px; }
/* lista dos tipos de cada modalidade (primeira tela, só informativa) */
.sub-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sub-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid #DDE5EE; }
.sub-list li > span { display: flex; flex: none; color: var(--sr-blue2); }
.sub-list b { display: block; font-size: 13.5px; font-weight: 800; color: var(--sr-deep); line-height: 1.2; }
.sub-list small { display: block; font-size: 12px; line-height: 1.3; color: #5D6B7F; }
@container scr (max-width: 840px) { .sub-list { grid-template-columns: 1fr; } }

/* página pública: "Tipos" na faixa do card abre a lista de tipos da modalidade */
.pg-band { position: relative; }
.pg-chev { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 2px; padding: 3px 8px; border-radius: 10px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 11.5px; font-weight: 700; }
.pg-chev svg { transition: transform .2s; }
.pg-svc.open .pg-chev svg { transform: rotate(180deg); }
.pg-types { display: none; margin: 8px 12px 0; padding: 0; list-style: none; border-top: 1px solid var(--sr-line); }
.pg-svc.open .pg-types { display: block; animation: sub-open .18s ease-out; }
.pg-types li { padding: 8px 0; border-bottom: 1px solid var(--sr-line); }
.pg-types li:last-child { border-bottom: 0; }
.pg-types b { display: block; font-size: 13px; font-weight: 800; color: var(--sr-deep); }
.pg-types small { display: block; font-size: 12px; color: var(--sr-muted); }

/* assistente do primeiro atendimento: cartões com foto (modalidades e tipos) */
.wz-mods button { padding: 0 0 28px; gap: 0; min-height: 0; }
.wz-mods .mp-img { aspect-ratio: 1.7; height: auto; object-fit: cover; object-position: 50% 30%; mix-blend-mode: normal; display: block; }
.wz-types button { padding: 0 0 0; }
.wz-types img.ph { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; object-position: 50% 50%; mix-blend-mode: normal; margin: 0 0 2px; }
.wz-types small { padding: 0 10px; text-align: center; align-self: stretch; color: var(--sr-deep); font-size: 12px; }
.wz-types b { width: 100%; margin: 6px 0 0; }
.mod-pick.wz-mods { grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-mods button span { font-size: 13px; padding: 0 4px; letter-spacing: 0; }
@container scr (max-width: 840px) { .wz-mods button span { font-size: 11px; } }
.wz-mods button:nth-child(1) .mp-img { object-position: 50% 6%; }
.wz-mods button:nth-child(2) .mp-img { object-position: 50% 14%; }
.wz-mods button:nth-child(3) .mp-img { object-position: 50% 20%; }

/* Serviços (página pública): foto do cartão preenche o quadro, sem faixas brancas */
.pg-ph { aspect-ratio: 10 / 7; overflow: hidden; background: #E9EFF6; }
.pg-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-svc { container-type: inline-size; }
.pg-svc .pg-band { height: 36px; padding: 0 34px; justify-content: center; }
.pg-svc .pg-band b { font-size: clamp(9.5px, 4.6cqw, 13.5px); font-weight: 700; white-space: nowrap; overflow: hidden; }
.pg-chev { right: 6px; padding: 0; width: 24px; height: 24px; justify-content: center; border-radius: 50%; }
.pg-chev svg { width: 15px; height: 15px; }
/* tipos de atendimento no assistente: só foto + nome em uma linha */
.wz-types button { container-type: inline-size; }
.wz-types b { font-size: clamp(9px, 6.4cqw, 13.5px); white-space: nowrap; overflow: hidden; padding: 0 4px; }
.wz-types img.ph { margin: 0; }
.wz-types button { gap: 0; padding: 0; }
.wz-types b { margin: 0; width: 100%; }
/* com um cartão aberto, os outros mantêm a própria altura (sem caixa branca vazia) */
.pg-rail:has(.pg-svc.open) { align-items: flex-start; }
/* arrastar com o dedo passa um cartão por vez, mesmo com um arremesso forte */
.pg-rail .pg-c { scroll-snap-stop: always; }

/* ===== App do profissional (celular): Início, Agenda semanal, Agendar paciente e Pacientes =====
   Medidas tiradas dos modelos (imagem ≈ 2,4× o celular de 390 px): tudo em px de tela. */
.pv { max-width: 440px; margin: 0 auto; padding: 0 19px 22px; color: #0A1F44; background: #fff; }
.pv button { font-family: inherit; }
.pv .ic { stroke-width: 1.7; }
.page.pv-flush { padding: 0; }
.page.pv-flush > .only-wide { padding: 26px 28px 30px; }
.pv-hd { width: 100%; padding-bottom: 0; }
/* cabeçalho: logo + sino */
.pv-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 0 3px; }
.pv-head .brand { align-items: flex-start; }
.pv-head .brand .b-full { height: 41px; width: auto; }
.pv-head .bell { width: 34px; height: 34px; color: #0A1F44; margin-right: -4px; }
.pv-head .bell .ic { width: 24px; height: 24px; stroke-width: 1.5; }
.pv-head .bell .dot { background: var(--sr-green); top: 3px; right: 4px; width: 8px; height: 8px; box-shadow: 0 0 0 1.5px #fff; }
/* Início */
.pv-hello { font-size: 31px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 0; }
.pv-sub { font-size: 14.5px; color: #5F6E84; margin: 3px 0 13px; }
.pv-stats { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; background: #E9F1FB; border-radius: 9px; padding: 13px 8px; margin-bottom: 8px; }
.pv-stats i { width: 1px; height: 30px; background: #CFDBEA; }
.pv-stats > div { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--sr-blue2); }
.pv-stats > div.g { color: var(--sr-green); }
.pv-stats .ic { width: 31px; height: 31px; stroke-width: 1.5; flex: none; }
.pv-stats span { display: flex; flex-direction: column; color: #0A1F44; }
.pv-stats b { font-size: 28px; font-weight: 900; line-height: 1; }
.pv-stats small { font-size: 12.5px; color: #4D5D74; margin-top: 3px; white-space: nowrap; }
.pv-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 40px; border-radius: 6px; background: var(--sr-blue2); color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 9px; }
.pv-cta .ic { width: 17px; height: 17px; stroke-width: 2; }
.pv-cta.sm { height: 32px; font-size: 12.5px; gap: 8px; margin: 8px 0 9px; }
.pv-cta.sm .ic { width: 14px; height: 14px; }
.pv-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 39px; border: 1px solid #D7E0EC; border-radius: 7px; background: #fff; margin-bottom: 10px; }
.pv-nav > span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; border-inline: 1px solid #DCE5F0; height: 21px; color: #0A1F44; white-space: nowrap; }
.pv-nav > span .ic { width: 17px; height: 17px; stroke-width: 1.7; }
.pv-nav > button { display: grid; place-items: center; height: 100%; color: var(--sr-blue2); }
.pv-nav > button .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pv-sec { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 9px; }
.pv-sec h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pv-sec .link { color: var(--sr-blue2); font-size: 12.5px; font-weight: 600; gap: 3px; }
.pv-sec .link .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.pv-sec.col { display: block; margin: 13px 0 9px; }
.pv-sec.col h2 { font-size: 16px; }
.pv-sec.col p { color: #66758B; font-size: 11px; margin-top: 2px; }
.pv-filter { position: relative; display: flex; align-items: center; gap: 9px; height: 33px; border: 1px solid #D7E0EC; border-radius: 7px; padding: 0 11px; margin-bottom: 10px; color: #0A1F44; }
.pv-filter select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.pv-filter span { flex: 1; font-size: 12px; }
.pv-filter .ic { width: 15px; height: 15px; stroke-width: 1.7; flex: none; }
/* cartões de horário */
.pv-slots { display: flex; flex-direction: column; gap: 9px; }
.pv-slot { background: #fff; border: 1px solid #DDE4EE; border-radius: 8px; overflow: hidden; }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 10px 10px 9px; }
.pv-time { flex: none; background: #E9F1FB; color: #0A1F44; font-size: 14px; font-weight: 700; border-radius: 6px; padding: 8px 11px; letter-spacing: 0; }
.pv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv-t b { font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: -.005em; }
.pv-t small { font-size: 11.5px; color: #66758B; margin-top: 2px; }
.pv-t small i { font-style: normal; margin: 0 1px; }
.pv-pill { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pv-pill .ic { width: 12px; height: 12px; }
.pv-pill.free { background: #E4F4DE; color: #2C7A1F; }
.pv-pill.ok { background: #E4F4DE; color: #2C7A1F; font-size: 10.5px; }
.pv-pill.info { background: #E3EEFB; color: var(--sr-blue2); }
.pv-pill.warn { background: #FFF1D6; color: #9A6200; font-size: 10.5px; }
.pv-acts { display: flex; border-top: 1px solid #E5EBF3; margin: 0 10px; }
.pv-acts button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 4px; color: var(--sr-blue2); font-size: 12px; font-weight: 600; }
.pv-acts button .ic { width: 15px; height: 15px; stroke-width: 1.8; }
.pv-acts button + button { border-left: 1px solid #E5EBF3; }
.pv-acts button.done { color: #2C7A1F; }
.pv-acts button:disabled { opacity: .45; }
.pv-acts.n3 { flex-wrap: wrap; }
.pv-acts.n3 .add { flex: 1 0 100%; border-left: 0; border-top: 1px solid #E5EBF3; }
.pv-none { text-align: center; color: #66758B; font-size: 11.5px; margin: 11px 0 6px; }
.pv-manage { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 11px; padding: 10px 12px; border: 1px solid #D7E0EC; border-radius: 8px; background: #fff; text-align: left; color: #0A1F44; }
.pv-manage > .ic:first-child { width: 23px; height: 23px; color: var(--sr-navy); stroke-width: 1.5; flex: none; }
.pv-manage span { flex: 1; display: flex; flex-direction: column; }
.pv-manage b { font-size: 13.5px; font-weight: 800; }
.pv-manage small { font-size: 11.5px; color: #7A8AA0; margin-top: 1px; }
.pv-manage > .ic:last-child { width: 15px; height: 15px; color: #0A1F44; stroke-width: 2; }
/* títulos com voltar (Agenda semanal, Agendar paciente) */
.pv-title { display: flex; align-items: center; gap: 11px; margin: 10px 0 12px; }
.pv-title > button { flex: none; display: grid; place-items: center; width: 24px; height: 36px; color: #0A1F44; margin-left: -2px; }
.pv-title > button .ic { width: 19px; height: 19px; stroke-width: 2; }
.pv-title h1 { font-size: 23.5px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.pv-title p { font-size: 14px; color: #5F6E84; margin-top: 3px; }
.pv-seg { display: grid; grid-template-columns: 1fr 1fr; background: #E9F1FB; border-radius: 9px; padding: 3px; margin-bottom: 9px; }
.pv-seg button { height: 28px; border-radius: 7px; font-size: 14px; font-weight: 600; color: #4D5D74; }
.pv-seg button.on { background: var(--sr-blue2); color: #fff; font-weight: 700; }
.pv-wk { display: grid; grid-template-columns: 34px 1fr 34px auto; align-items: center; height: 34px; border: 1px solid #D7E0EC; border-radius: 7px; padding-right: 3px; margin-bottom: 9px; }
.pv-wk > button:not(.pv-today) { display: grid; place-items: center; height: 100%; color: var(--sr-blue2); }
.pv-wk > button .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.pv-wk > span { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; border-inline: 1px solid #DCE5F0; height: 20px; white-space: nowrap; }
.pv-today { margin-left: 6px; height: 24px; padding: 0 11px; border: 1px solid var(--sr-blue2); border-radius: 5px; color: var(--sr-blue2); font-size: 12.5px; font-weight: 700; background: #fff; }
.pv-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 9px; }
.pv-days button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0 11px; border: 1px solid #DFE8F3; border-radius: 8px; background: #EEF4FB; color: #0A1F44; }
.pv-days small { font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.pv-days b { font-size: 16.5px; font-weight: 800; line-height: 1.1; }
.pv-days i { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--sr-green); }
.pv-days button.on { background: var(--sr-blue2); border-color: var(--sr-blue2); color: #fff; }
.pv-daycard { background: #E9F1FB; border-radius: 9px; padding: 9px 10px 3px; margin-bottom: 9px; }
.pv-daycard > b { display: block; font-size: 12.5px; font-weight: 800; }
.pv-daycard .pv-stats { background: transparent; padding: 6px 0 8px; margin-bottom: 0; }
.pv-daycard .pv-stats b { font-size: 23px; }
.pv-daycard .pv-stats small { font-size: 12px; }
.pv-daycard .pv-stats .ic { width: 27px; height: 27px; }
.pv-daycard .pv-stats i { height: 26px; }
.ag .pv-none { display: none; }
/* Agendar paciente */
.pv-slotsum { position: relative; display: flex; gap: 11px; background: #E9F1FB; border-radius: 9px; padding: 12px 11px 13px; margin-bottom: 15px; color: #0A1F44; }
.pv-slotsum > .ic { width: 21px; height: 21px; flex: none; color: var(--sr-navy); stroke-width: 1.6; margin-top: 1px; }
.pv-slotsum > div { display: flex; flex-direction: column; gap: 1px; }
.pv-slotsum small { font-size: 11.5px; color: #4D5D74; }
.pv-slotsum b { font-size: 12.5px; font-weight: 800; }
.pv-slotsum b.t { font-size: 17.5px; font-weight: 900; line-height: 1.15; }
.pv-slotsum span:not(.pv-pill) { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #4D5D74; margin-top: 2px; }
.pv-slotsum span:not(.pv-pill) .ic { width: 13px; height: 13px; }
.pv-slotsum .pv-pill { position: absolute; top: 10px; right: 10px; font-size: 11px; padding: 4px 9px; }
.pv-h2 { font-size: 19px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 9px; }
.pv-h3 { font-size: 13px; font-weight: 800; margin: 14px 0 7px; }
.pv-search { display: flex; align-items: center; gap: 9px; height: 37px; border: 1px solid #D7E0EC; border-radius: 7px; padding: 0 11px; color: #0A1F44; margin-bottom: 8px; background: #fff; }
.pv-search .ic { width: 17px; height: 17px; stroke-width: 1.7; flex: none; }
.pv-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 12.5px; background: transparent; color: #0A1F44; font-family: inherit; }
.pv-newpat { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 33px; border: 1px solid var(--sr-blue2); border-radius: 7px; color: var(--sr-blue2); font-size: 12.5px; font-weight: 700; background: #fff; }
.pv-newpat .ic { width: 18px; height: 18px; stroke-width: 1.7; }
.pv-pats { display: flex; flex-direction: column; gap: 8px; }
.pv-pat { display: flex; align-items: center; gap: 11px; padding: 8px 11px; border: 1px solid #DDE4EE; border-radius: 8px; background: #fff; text-align: left; color: #0A1F44; }
.pv-pat > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pv-pat b { font-size: 13.5px; font-weight: 800; }
.pv-pat small { font-size: 11px; color: #66758B; margin-top: 1px; }
.pv-pat i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #AAB6C6; background: #fff; }
.pv-pat.on { border-color: var(--sr-blue2); background: #EEF5FD; }
.pv-pat.on i { border-color: var(--sr-blue2); box-shadow: inset 0 0 0 3.5px #fff; background: var(--sr-blue2); }
.pv-ini { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E3EEFB; color: var(--sr-blue2); font-size: 12.5px; font-weight: 800; }
.pv-obs { display: block; margin-top: 15px; }
.pv-obs b { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.pv-obs textarea { width: 100%; min-height: 44px; border: 1px solid #D7E0EC; border-radius: 7px; padding: 9px 11px; font-size: 12px; font-family: inherit; resize: vertical; color: #0A1F44; }
.pv-agendar { padding-bottom: 96px; }
.pv-foot { position: sticky; bottom: 0; margin: 18px -19px -96px; padding: 9px 19px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #E5EBF3; z-index: 5; }
.pv-sum { font-size: 11.5px; margin-bottom: 7px; color: #0A1F44; }
.pv-sum i { font-style: normal; margin: 0 3px; }
.pv-sum b { font-weight: 800; }
.pv-confirm { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 34px; border-radius: 7px; background: var(--sr-blue2); color: #fff; font-size: 13px; font-weight: 700; }
.pv-confirm .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.pv-confirm:disabled { background: #B8C9DD; }
.shell:has(.pv-agendar) .tabbar { display: none; }
/* Pacientes (diretório) */
.pv-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 10px 0 12px; }
.pv-titlebar > div { min-width: 0; flex: 1; }
.pv-titlebar h1 { font-size: 27.5px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.pv-titlebar p { font-size: 11.5px; color: #5F6E84; margin-top: 3px; }
.pv-newbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 29px; padding: 0 11px; border: 1px solid var(--sr-blue2); border-radius: 7px; color: var(--sr-blue2); font-size: 12px; font-weight: 700; background: #fff; margin-top: 3px; white-space: nowrap; }
.pv-newbtn .ic { width: 15px; height: 15px; stroke-width: 2; }
.pv-frow { display: flex; gap: 6px; margin-bottom: 8px; }
.pv-seg2 { flex: none; display: flex; border: 1px solid #D7E0EC; border-radius: 7px; overflow: hidden; background: #fff; }
.pv-seg2 button { padding: 0 15px; height: 29px; font-size: 12px; font-weight: 600; color: #29374A; }
.pv-seg2 button.on { background: var(--sr-blue2); color: #fff; }
.pv-sel { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; height: 29px; border: 1px solid #D7E0EC; border-radius: 7px; background: #fff; color: #0A1F44; }
.pv-sel.sm { flex: none; width: 54px; }
.pv-sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 100%; border: 0; background: transparent; padding: 0 20px 0 9px; font-size: 12px; font-family: inherit; color: #0A1F44; text-overflow: ellipsis; }
.pv-sel .ic { position: absolute; right: 6px; width: 14px; height: 14px; pointer-events: none; }
.pv-auth { display: flex; align-items: center; gap: 7px; color: #5F6E84; font-size: 10.5px; margin: 6px 0 8px; }
.pv-auth .ic { width: 15px; height: 15px; color: var(--sr-navy); stroke-width: 1.6; }
.pv-dir { display: flex; align-items: flex-start; gap: 4px; }
.pv-list { flex: 1; min-width: 0; }
.pv-letter { background: #EEF2F7; border-radius: 5px; padding: 3px 9px; font-size: 10.5px; font-weight: 800; margin-top: 2px; scroll-margin-top: 60px; }
.pv-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 6px; text-align: left; color: #0A1F44; }
.pv-row .pv-ini { width: 37px; height: 37px; font-size: 13.5px; }
.pv-rm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv-rm b { font-size: 13.5px; font-weight: 800; }
.pv-rm small { font-size: 10.5px; color: #66758B; margin-top: 2px; white-space: nowrap; }
.pv-row > .ic:last-child { width: 15px; height: 15px; color: #0A1F44; flex: none; stroke-width: 2; }
.pv-idx { position: sticky; top: 70px; display: flex; flex-direction: column; align-items: center; gap: 0; padding-top: 4px; }
.pv-idx button { width: 18px; padding: 2.5px 0; font-size: 10.5px; font-weight: 800; color: var(--sr-blue2); line-height: 1; }
.pv-idx button.off { color: #B6C2D2; font-weight: 600; cursor: default; }
.pv-count { color: #66758B; font-size: 9.5px; margin-top: 6px; }
/* barra de abas do profissional: ícones e letras menores, como no modelo */
.shell .tb-professor { height: 56px; padding: 6px 6px 0; }
.shell .tb-professor .tab { font-size: 10px; gap: 2px; }
.shell .tb-professor .tab .ic { width: 22px; height: 22px; stroke-width: 1.6; }
.shell .tb-professor .tab .tab-ic { width: 22px; height: 22px; }

.pv-seg button { display: flex; align-items: center; justify-content: center; text-align: center; }
.pv-seg2 button { padding: 0 12px; }
.pv-sel select { font-size: 11.5px; padding: 0 18px 0 8px; }
.pv-sel .ic { right: 5px; }
.pv-sel select { font-size: 11px; padding: 0 16px 0 8px; }
.pv-sel.sm { width: 47px; }
.pv-sel.sm select { padding: 0 14px 0 8px; }

/* ===== Ficha do paciente (profissional) e Avaliação inicial — medidas do modelo com ícones 3D ===== */
.pf { max-width: 440px; margin: 0 auto; padding: 0 13px 20px; color: #0F2A5A; background: #fff; }
.pf.pf-av { padding: 0 15px 96px; }
.pf button { font-family: inherit; }
.pf-head { display: flex; align-items: center; gap: 22px; height: 56px; padding: 0 3px; }
.pf-head > button:first-child { display: grid; place-items: center; width: 26px; height: 36px; color: #0F2A5A; }
.pf-head > button:first-child .ic { width: 22px; height: 22px; stroke-width: 2; }
.pf-head h1 { flex: 1; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pf-bell { flex: none; width: 34px; height: 36px; display: grid; place-items: center; }
.pf-bell img { height: 28px; width: auto; display: block; }
.pf-card { background: #EAF3FD; border-radius: 12px; padding: 13px 13px 14px; margin-bottom: 0; }
.pf-card.sm { padding: 12px 13px; margin-bottom: 4px; }
.pf-who { display: flex; align-items: center; gap: 14px; }
.pf-ini { flex: none; display: grid; place-items: center; width: 63px; height: 63px; border-radius: 50%; background: #4A98EC; color: #fff; font-size: 22px; font-weight: 700; }
.pf-card.sm .pf-ini { width: 53px; height: 53px; font-size: 19px; }
.pf-card:not(.sm) .pf-who { align-items: flex-start; }
.pf-card:not(.sm) .pf-who > div { margin-top: 6px; }
.pf-card.sm .pf-who b { font-size: 18px; }
.pf-who > div { display: flex; flex-direction: column; min-width: 0; }
.pf-who b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.pf-who > div > span { font-size: 14px; color: #5B6B83; margin-top: 4px; }
.pf-card.sm .pf-who > div > span { font-size: 13.5px; margin-top: 3px; }
.pf-who em { display: flex; align-items: center; gap: 7px; font-style: normal; font-size: 11px; color: #4D5D74; margin-top: 12px; }
.pf-who em i { width: 9px; height: 9px; border-radius: 50%; background: #3FB950; flex: none; }
.pf-who em u { text-decoration: none; }
.pf-go { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 44px; margin-top: 17px; border-radius: 7px; background: #0A62EC; color: #fff; font-size: 14.5px; font-weight: 700; }
.pf-go .ic { width: 20px; height: 20px; }
.pf-alert { display: flex; gap: 9px; align-items: flex-start; background: #FFF4DB; color: #7A5200; border-radius: 9px; padding: 10px 12px; margin-top: 10px; font-size: 12px; }
.pf-alert .ic { flex: none; width: 17px; height: 17px; }
.pf-h2 { font-size: 16.5px; font-weight: 700; margin: 17px 0 9px 1px; letter-spacing: -.01em; }
.pf-rows { display: flex; flex-direction: column; gap: 8px; }
.pf-row { display: flex; align-items: center; gap: 12px; width: 100%; height: 61px; padding: 0 10px 0 7px; border: 1px solid #D9E1EC; border-radius: 7px; background: #fff; text-align: left; color: #0F2A5A; }
.pf-row img { flex: none; width: 54px; height: 49px; border-radius: 9px; object-fit: cover; }
.pf-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-row b { font-size: 13.5px; font-weight: 700; letter-spacing: -.005em; }
.pf-row small { font-size: 11px; color: #66758B; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-row > .ic { flex: none; width: 15px; height: 15px; color: #3C4B66; stroke-width: 2; }
.pf-pill { flex: none; padding: 4px 9px; border-radius: 13px; font-size: 11px; font-weight: 600; }
.pf-row > .pf-pill { margin: 0 -3px 0 -2px; }
.pf-row > .ic { margin-right: -2px; }
.pf-pill.pend { background: #FDE7D6; color: #E4570C; }
.pf-pill.done { background: #E1F4DC; color: #2C7A1F; }
.pf-book { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 38px; margin-top: 10px; border: 1.3px solid #0A62EC; border-radius: 7px; color: #0A62EC; font-size: 13.5px; font-weight: 700; background: #fff; }
.pf-book .ic { width: 18px; height: 18px; stroke-width: 1.7; }
.pf-book span { display: inline-flex; align-items: center; gap: 5px; }
.pf-book span .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.pf-body { margin-top: 12px; }
.pf-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; margin-top: 12px; border-radius: 7px; background: #0A62EC; color: #fff; font-size: 13.5px; font-weight: 700; }
.pf-btn.out { background: #fff; color: #0A62EC; border: 1.3px solid #0A62EC; }
/* barra de abas: o item ativo da ficha ganha o destaque arredondado do modelo */
.shell:has(.pf) .tb-professor .tab.active { background: #E3EFFD; border-radius: 12px; margin: 0 6px 5px; }
.shell:has(.pf-av) .tabbar, .shell:has(.np) .tabbar { display: none; }
/* Avaliação inicial */
.pf-step { margin: 17px 0 4px; }
.pf-step b { display: block; font-size: 14px; font-weight: 700; }
.pf-step u { text-decoration: none; }
.pf-bar { display: flex; gap: 6px; margin: 9px 0 8px; }
.pf-bar i { flex: 1; height: 6px; border-radius: 3px; background: #D6DDE8; }
.pf-bar i.on { background: #0A62EC; }
.pf-step p { font-size: 12px; color: #6B7A90; }
.pf-l { font-size: 14px; font-weight: 700; margin: 15px 0 7px; color: #0F2A5A; }
.pf-l output { font-weight: 800; color: #0A62EC; }
.pf-in, .pf-ta { display: block; width: 100%; border: 1px solid #C9D3E0; border-radius: 6px; background: #fff; color: #0F2A5A; font-family: inherit; font-size: 13.5px; padding: 0 12px; }
.pf-in { height: 37px; }
.pf-in[type="date"]::-webkit-calendar-picker-indicator { width: 20px; height: 20px; padding: 0; margin: 0; cursor: pointer; opacity: 1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='5' width='17' height='15.5' rx='2'/><path d='M3.5 10h17M8 3v4M16 3v4'/></svg>") center / 20px no-repeat; }
.pf-ta { padding: 10px 12px; line-height: 1.4; resize: vertical; min-height: 51px; }
.pf-in::placeholder, .pf-ta::placeholder { color: #8895AA; }
.pf-gap { margin-top: 8px; }
.pf-range { width: 100%; accent-color: #0A62EC; }
.pf-radios { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border: 1px solid #C9D3E0; border-radius: 6px; overflow: hidden; background: #fff; }
.pf-radios button { display: flex; align-items: center; gap: 9px; height: 41px; padding: 0 11px; font-size: 13.5px; color: #0F2A5A; text-align: left; border-left: 1px solid #DCE3EE; }
.pf-radios button:first-child { border-left: 0; }
.pf-radios button i { flex: none; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #8795AB; background: #fff; }
.pf-radios button.on { background: #E3EFFD; box-shadow: inset 0 0 0 1px #0A62EC; }
.pf-radios button.on i { border-color: #0A62EC; box-shadow: inset 0 0 0 4px #fff; background: #0A62EC; }
.pf-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 13px; border-radius: 8px; background: #EAF3FD; color: #3C4B66; font-size: 12.5px; }
.pf-note .ic { flex: none; width: 20px; height: 20px; color: #0A62EC; stroke-width: 1.7; }
.pf-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; max-width: 440px; margin: 0 auto; padding: 10px 15px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #E5EBF3; }
.pf-foot button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 41px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.pf-foot .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.pf-out { border: 1.3px solid #0A62EC; color: #0A62EC; background: #fff; }
.pf-solid { background: #0A62EC; color: #fff; flex: 1.05; }

.pf-row > span:not(.pf-pill) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-row > span.pf-pill { flex: none; }
.pf-radios { grid-template-columns: 1.65fr 1fr 1fr; }
.pf-radios button { white-space: nowrap; padding: 0 10px; gap: 8px; }
.pf-ta { min-height: 0; }
.pf-go .ic { fill: #fff; stroke: #fff; stroke-width: 1; }
.evo-item p, .ficha-av { white-space: pre-line; }

/* ---------- Meu perfil e Notificações do profissional (celular) ---------- */
.pq { padding-bottom: 24px; }
.pp-h1 { font-size: 27.5px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 12px 3px; }
.pp-card { background: #fff; border: 1px solid #E1E8F2; border-radius: 12px; box-shadow: 0 1px 3px rgba(15, 42, 90, .05); }
.pp-me { background: #EAF3FD; border-color: transparent; box-shadow: none; padding: 13px 13px 14px; }
.pp-id { display: flex; align-items: center; gap: 12px; }
.pp-av { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #D9E8FA; color: #0F2A5A; font-size: 26px; font-weight: 800; }
.pp-id > div { display: flex; flex-direction: column; min-width: 0; }
.pp-id b { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
.pp-id > div > span { font-size: 14px; font-weight: 400; color: #5B6B83; margin-top: 3px; }
.pp-id small { font-size: 13.5px; font-weight: 400; color: #5B6B83; margin-top: 1px; white-space: nowrap; }
.pp-edit { flex: none; display: flex; align-items: center; gap: 5px; height: 30px; margin: 4px 0 0 auto; align-self: flex-start; padding: 0 9px; border: 1.5px solid #0A62EC; border-radius: 8px; background: #fff; color: #0A62EC; font-size: 12.5px; font-weight: 700; }
.pp-edit .ic { width: 15px; height: 15px; stroke-width: 2; }
.pp-areas { margin-top: 11px; padding-top: 9px; border-top: 1px solid #D4E2F3; }
.pp-areas p { font-size: 13.5px; color: #5B6B83; }
.pp-areas > div { display: grid; grid-template-columns: 152px auto; justify-content: start; gap: 9px; margin-top: 9px; }
.pp-areas span { display: flex; align-items: center; gap: 16px; height: 32px; padding: 0 19px 0 14px; border-radius: 16px; background: var(--ms); color: var(--mi); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pp-areas span .ic { flex: none; width: 20px; height: 20px; stroke-width: 1.8; }
.pp-act { margin-top: 11px; padding: 11px 13px 14px; }
.pp-act h2 { display: flex; align-items: center; gap: 12px; height: 22px; margin: 0 0 12px 2px; font-size: 15.5px; font-weight: 700; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #E1E8F2; border-radius: 8px; }
.pp-grid > div { padding: 7px 0 6px; text-align: center; }
.pp-grid > div:nth-child(odd) { border-right: 1px solid #E7EDF5; }
.pp-grid > div:nth-child(-n+2) { border-bottom: 1px solid #E7EDF5; }
.pp-grid b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; }
.pp-grid small { display: block; font-size: 13px; color: #5B6B83; margin-top: 1px; }
.pp-h2 { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px 5px; font-size: 16px; font-weight: 700; }
.pp-h2 .ic { width: 22px; height: 22px; fill: #0F2A5A; stroke: #0F2A5A; stroke-width: 1; }
.pp-h2 .ic circle { fill: #fff; stroke: none; r: 4.2px; }
.pp-list { border: 1px solid #D9E1EC; border-radius: 10px; background: #fff; padding: 0 12px; }
.pp-list button { display: flex; align-items: center; gap: 15px; width: 100%; height: 56px; text-align: left; color: #0F2A5A; }
.pp-list button + button { border-top: 1px solid #E6ECF4; }
.pp-list img { flex: none; width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.pp-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pp-list b { font-size: 14px; font-weight: 700; }
.pp-list small { font-size: 11px; font-weight: 400; color: #66758B; margin-top: 2px; }
.pp-list .ic, .pp-out > .ic:last-child { flex: none; width: 15px; height: 15px; color: #0F2A5A; stroke-width: 2; }
.pp-out { display: flex; align-items: center; gap: 18px; width: 100%; height: 45px; margin-top: 11px; padding: 0 14px 0 16px; border: 1px solid #D9E1EC; border-radius: 10px; background: #fff; color: #D9261C; font-size: 14.5px; font-weight: 700; }
.pp-out > .ic:first-child { flex: none; width: 23px; height: 23px; stroke-width: 1.8; }
.pp-out > span { flex: 1; text-align: left; }

.pf-head.ctr { position: relative; }
.pf-head.ctr h1 { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.np { padding-bottom: 92px; }
.np-hero { display: flex; align-items: center; justify-content: space-between; height: 125px; margin-top: 7px; padding: 0 17px 0 23px; border-radius: 12px; background: linear-gradient(100deg, #E9F2FD, #DBE9FB); overflow: hidden; }
.np-hero h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.np-hero p { font-size: 11.5px; color: #4D5D74; margin-top: 6px; white-space: nowrap; }
.np-hero img { flex: none; width: 100px; margin-left: 4px; height: auto; display: block; }
.np-card { margin-top: 13px; padding: 0 13px 9px 14px; background: #fff; border: 1px solid #DDE5F0; border-radius: 12px; }
.np-card h3 { display: flex; align-items: center; gap: 13px; height: 59px; border-bottom: 1px solid #E3E9F2; font-size: 16px; font-weight: 700; }
.np-card h3 > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #EAF1FB; }
.np-card h3 .ic { width: 20px; height: 20px; stroke-width: 1.9; color: #0F2A5A; }
.np-row { display: flex; align-items: center; gap: 12px; padding: 14px 0 15px; }
.np-row + .np-row { border-top: 1px solid #E3E9F2; }
.np-row > span { flex: 1; min-width: 0; }
.np-row b { display: block; font-size: 15px; font-weight: 600; }
.np-row small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: #66758B; }
.pf-sw { flex: none; position: relative; width: 52px; height: 31px; border-radius: 16px; background: #D7DCE4; transition: background .15s; }
.pf-sw i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .28); transition: transform .15s; }
.pf-sw.on { background: #0A62EC; }
.pf-sw.on i { transform: translateX(21px); }
.np .pf-note { height: 59px; margin-top: 14px; padding: 0 17px; gap: 16px; border-radius: 10px; font-size: 12px; }
.np .pf-note .ic { width: 24px; height: 24px; }
.pf-foot.one { padding: 9px 13px calc(14px + env(safe-area-inset-bottom)); border-top: 0; }
.pf-foot.one button { height: 56px; border-radius: 10px; font-size: 16px; }

/* carrossel de modalidades na tela inicial do paciente (mesmo card da página pública) */
.al-page .pg-rail { margin: 0 -11px; padding: 2px 11px 8px; scroll-padding-inline: 11px; }
.al-page .pg-head .al-sec { margin-top: 8px; }
@container scr (min-width: 841px) {
  .al-page .pg-rail { margin: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 12px; }
  .al-page .pg-svc { flex-basis: calc((100% - 12px) / 2); }
}

/* Agendar sessão: lista única de tipos de atendimento (mesmos cards da página da aula experimental) */
.ag-types { margin-bottom: 10px; }
.ag-types button:disabled { opacity: .4; }
@container scr (min-width: 841px) { .ag-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* tela inicial do paciente: foto da modalidade 20% mais baixa e tarja do nome 15% maior */
.al-page .pg-svc .pg-ph { aspect-ratio: 10 / 5.6; }
.al-page .pg-svc .pg-band { height: 41.4px; padding: 0 39px; }
.al-page .pg-svc .pg-band b { font-size: clamp(10.9px, 5.29cqw, 15.5px); }
.al-page .pg-svc .pg-chev { right: 7px; width: 27.6px; height: 27.6px; }
.al-page .pg-svc .pg-chev svg { width: 17px; height: 17px; }

/* "Ver planos de <modalidade>": o texto se ajusta à largura do botão e fica sempre em uma linha */
.big-yellow.plans { container-type: inline-size; }
.big-yellow.plans span { min-width: 0; white-space: nowrap; overflow: hidden; font-size: min(1em, 4.1cqw); }
.big-yellow.plans .ic { flex: none; }

/* Serviços (página pública) e Modalidades (início do paciente): grade em vez de carrossel — todos os cartões à vista.
   Celular: 2 colunas, com Fisioterapia e Reabilitação embaixo ocupando as duas. Desktop da página pública: 3 colunas
   (3 + 1 + Fisioterapia em 2). O nome fica sempre em uma linha só, com a fonte se ajustando à largura do cartão. */
.pg-sec:has(.pg-grid) .pg-arrows { display: none; }
.pg-rail.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; scroll-snap-type: none; margin: 0; padding: 2px 0 8px; }
.pg-grid .pg-c { min-width: 0; }
.pg-grid .pg-wide { grid-column: span 2; }
.pg-grid .pg-svc .pg-band, .al-page .pg-grid .pg-svc .pg-band { height: 44px; padding: 0 30px; }
/* só o cartão largo (Fisioterapia) tem a setinha; os demais usam toda a largura para o nome, em uma linha */
.pg-grid .pg-svc:not(.pg-wide) .pg-band, .al-page .pg-grid .pg-svc:not(.pg-wide) .pg-band { padding: 0 8px; }
.pg-grid .pg-svc .pg-band b, .al-page .pg-grid .pg-svc .pg-band b { font-size: clamp(11px, 8cqw, 16px); letter-spacing: -.15px; }
.pg-grid .pg-svc.pg-wide .pg-band b, .al-page .pg-grid .pg-svc.pg-wide .pg-band b { font-size: clamp(13px, 4.8cqw, 17px); }
.pg-grid .pg-svc .pg-chev, .al-page .pg-grid .pg-svc .pg-chev { right: 6px; width: 24px; height: 24px; }
.pg-grid .pg-svc .pg-chev svg, .al-page .pg-grid .pg-svc .pg-chev svg { width: 15px; height: 15px; }
.pg-grid .pg-svc .pg-ph { aspect-ratio: 10 / 7; }
.pg-grid .pg-ph { position: relative; min-height: 0; }
.pg-grid .pg-ph img { position: absolute; inset: 0; }
.pg-grid .pg-svc.pg-wide .pg-ph, .al-page .pg-grid .pg-svc.pg-wide .pg-ph { aspect-ratio: 20 / 8; }
.pg-grid .pg-svc.pg-wide .pg-ph img { object-position: 50% 30% !important; }
.al-page .pg-grid .pg-svc .pg-ph { aspect-ratio: 10 / 6.4; }
/* rodapé do cartão estreito: valor em cima, botão embaixo ocupando a largura */
.pg-grid .pg-svc:not(.pg-wide) .pg-f { flex-direction: column; align-items: stretch; gap: 8px; }
.pg-grid .pg-svc:not(.pg-wide) .pg-f .btn { width: 100%; justify-content: center; }
@container scr (min-width: 841px) {
  .pg-rail.pg-grid { gap: 14px; }
  .landing.pg .pg-rail.pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-grid .pg-svc:not(.pg-wide) .pg-f { flex-direction: row; align-items: center; gap: 8px; }
  .pg-grid .pg-svc:not(.pg-wide) .pg-f .btn { width: auto; }
}

/* ===== Checkout do paciente (pagamento de uma cobrança) ===== */
.ck-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #EAF6E5; color: #2F7A1B; font-size: 12px; font-weight: 700; }
.ck-badge svg { width: 14px; height: 14px; }
.ck-panel { min-height: 140px; }
.ck-load { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 140px; color: var(--t2); font-size: 14px; }
.ck-btns { display: grid; gap: 10px; margin-top: 14px; }
.ck-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--t2); text-align: center; }
.ck-wait i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F5A524; animation: ck-pulse 1.2s ease-in-out infinite; }
@keyframes ck-pulse { 50% { opacity: .25; } }
.ck-cpf { display: grid; gap: 12px; }
.ck-cpf > p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border-radius: 12px; background: var(--blue-soft); color: #003A73; font-size: 13.5px; line-height: 1.45; }
.ck-cpf > p svg { flex: none; }
.ck-cpf > p.ck-err { display: flex; gap: 6px; align-items: center; margin: 0; padding: 0; background: none; font-size: 13px; color: #B3261E; }
.ck-error { display: grid; justify-items: center; gap: 8px; padding: 8px 0; text-align: center; }
.ck-error svg { color: #E5A100; }
.ck-error p { margin: 0 0 6px; font-size: 13.5px; color: var(--t2); }
.ck-done { display: grid; justify-items: center; gap: 4px; padding: 6px 0 2px; text-align: center; }
.ck-done svg { color: #3E9B27; margin-bottom: 4px; }
.ck-done h2 { margin: 0; font-size: 21px; font-weight: 800; }
.ck-done p { margin: 0 0 6px; color: var(--t2); }
.ck-done .ck-btns { width: 100%; max-width: 420px; }

/* ===== Checkout próprio do Studio Reabilitar (página cheia, com a marca) ===== */
.ckp { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 18px 20px 26px; overflow-x: hidden; color: var(--sr-deep); background: radial-gradient(700px 420px at 85% 4%, rgba(98,186,70,.28), transparent 60%), linear-gradient(160deg, #00387a 0%, #044993 55%, #0f5fb0 100%); }
.ckp::before { content: ""; position: absolute; right: -14%; top: 0; height: 100%; aspect-ratio: 220 / 300; background: url(../img/mark-white.png) center / contain no-repeat; opacity: .06; pointer-events: none; }
.ckp > * { position: relative; }
.ckp-top { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ckp-back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; padding: 8px 12px 8px 6px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 700; }
.ckp-back:hover { background: rgba(255,255,255,.12); }
.ckp-logo { height: 58px; width: auto; }
.ckp-lock { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #CDEEC2; }
.ckp-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ckp-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.62); }
.ckp-steps li + li::before { content: ""; width: 30px; height: 2px; margin-right: 2px; border-radius: 2px; background: rgba(255,255,255,.3); }
.ckp-steps li i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); font-style: normal; font-size: 12.5px; }
.ckp-steps li i svg { width: 14px; height: 14px; }
.ckp-steps li.on { color: #fff; }
.ckp-steps li.on i { background: #fff; border-color: #fff; color: var(--sr-navy); }
.ckp-steps li.done { color: #E4F6DD; }
.ckp-steps li.done i { background: var(--sr-green); border-color: var(--sr-green); color: #fff; }
.ckp-steps li.done + li::before { background: var(--sr-green); }
.ckp-main { width: 100%; max-width: 980px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.ckp-main.one { grid-template-columns: minmax(0, 440px); justify-content: center; }
.ckp-card { background: #fff; border-radius: 22px; padding: 26px 26px 24px; box-shadow: 0 30px 70px -26px rgba(0,20,50,.62); }
.ckp-eyebrow { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; color: var(--sr-gtx); }
.ckp-item { margin: 6px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--sr-deep); }
.ckp-due { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13.5px; color: var(--sr-muted); }
.ckp-total { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 18px; padding: 16px 0; border-top: 1.5px dashed var(--sr-line); border-bottom: 1.5px dashed var(--sr-line); }
.ckp-total span { font-size: 14px; font-weight: 700; color: var(--sr-muted); }
.ckp-total b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--sr-navy); }
.ckp-trust { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ckp-trust li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #3B4B66; }
.ckp-trust li svg { flex: none; color: var(--sr-green); }
.ckp-payhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ckp-payhead h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--sr-deep); }
.ckp .ck-badge { background: #EAF6E5; color: #2B7320; }
.ckp .ck-panel { min-height: 160px; }
.ck-how { display: grid; gap: 9px; margin: 0; padding: 14px; list-style: none; border-radius: 16px; background: var(--sr-bg); }
.ck-how li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; line-height: 1.35; color: #2F3F5A; }
.ck-how li i { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--sr-navy); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.ckp .pix-box { margin-top: 16px; }
.ckp .qr { width: 224px; height: 224px; padding: 12px; border: 2px solid var(--sr-green); border-radius: 20px; fill: var(--sr-deep); }
.ckp .pix-code { background: var(--sr-head); }
.ckp .pix-status { color: var(--sr-muted); }
.ckp .btn-primary.lg { height: 50px; font-size: 16px; font-weight: 700; }
.ckp .ck-done svg { color: var(--sr-green); }
.ckp .ck-done h2 { font-size: 24px; color: var(--sr-deep); }
.ckp-foot { width: 100%; max-width: 980px; margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.78); }
.ckp-foot b { color: #fff; }
@container scr (max-width: 840px) {
  .ckp { padding: 12px 14px 22px; gap: 16px; }
  .ckp-main { grid-template-columns: minmax(0, 1fr); }
  .ckp-back span, .ckp-lock span { display: none; }
  .ckp-back { padding: 8px; }
  .ckp-logo { height: 50px; }
  .ckp-card { padding: 22px 18px 20px; border-radius: 20px; }
  .ckp-steps li span { font-size: 12px; }
  .ckp-steps li + li::before { width: 14px; }
  .ckp-total b { font-size: 30px; }
  .ckp .qr { width: 210px; height: 210px; }
}

/* Pix da primeira visita (janela do agendamento) com a identidade do checkout */
.wz-pix { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.wz-pix > * { min-width: 0; }
.wz-pix h2 { margin: 2px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--sr-deep); }
.wzp-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wzp-brand img { height: 40px; width: auto; }
.wzp-brand span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--sr-gtx); }
.wzp-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, #00387a 0%, #0f5fb0 100%); color: #fff; }
.wzp-sum small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.75); }
.wzp-sum b { display: block; margin-top: 2px; font-size: 15.5px; }
.wzp-sum span { font-size: 12.5px; color: rgba(255,255,255,.8); }
.wzp-sum strong { font-size: 26px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.wz-pix .pix-box { margin-top: 0; }
.wz-pix .qr { width: 210px; height: 210px; padding: 12px; border: 2px solid var(--sr-green); border-radius: 20px; fill: var(--sr-deep); }
.wz-pix .pix-code { background: var(--sr-head); }

/* linha verde também embaixo da faixa azul (acima do valor e do botão Agendar), como a de cima */
.pg-grid .pg-svc .pg-band, .al-page .pg-grid .pg-svc .pg-band { border-bottom: 3px solid var(--sr-green); }

/* Meus procedimentos (profissional) */
.mp-row .input.slim { height: 36px; padding: 0 10px; font-weight: 600; width: 100%; }
.mp-row.mp-off > div, .mp-row.mp-off .pt-cell { opacity: .55; }
.mp-row .btn.sm { padding: 6px 10px; min-width: 36px; }

/* Guia guiado (tour) */
.guia-btn { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--sr-line); color: var(--sr-blue); transition: background .15s, border-color .15s; }
.guia-btn:hover { background: var(--sr-head); border-color: #CFE0F2; }
.guia-btn::after { content: ''; position: absolute; top: 0; right: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sr-green); box-shadow: 0 0 0 2px #fff; animation: gtDot 2.6s ease-in-out infinite; }
@keyframes gtDot { 0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(92,186,70,0); } 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(92,186,70,.22); } }

#guia-root { position: absolute; inset: 0; z-index: 600; overflow: hidden; }
.gt-block { position: absolute; inset: 0; }
.gt-dim { position: absolute; inset: 0; background: rgba(7,19,34,.58); -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); pointer-events: none; transition: clip-path .55s cubic-bezier(.22,1,.36,1); }
.gt-ring { position: absolute; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1.5px rgba(255,255,255,.94), 0 0 0 5px rgba(98,186,70,.30), 0 10px 34px rgba(0,0,0,.28);
  transition: left .55s cubic-bezier(.22,1,.36,1), top .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1), height .55s cubic-bezier(.22,1,.36,1), border-radius .55s, opacity .25s; }
.gt-tip { position: absolute; background: #fff; border-radius: 20px; border: 1px solid rgba(0,26,61,.06); opacity: 0;
  box-shadow: 0 32px 70px -18px rgba(0,22,50,.55), 0 3px 10px rgba(0,22,50,.10);
  transition: left .55s cubic-bezier(.22,1,.36,1), top .55s cubic-bezier(.22,1,.36,1); }
.gt-tip.in { opacity: 1; animation: gtIn .3s cubic-bezier(.22,1,.36,1); }
@keyframes gtIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

.gt-pt { position: absolute; width: 14px; height: 14px; background: #fff; border-radius: 3px; transform: rotate(45deg); display: none; }
.gt-tip[data-side="below"] .gt-pt { display: block; top: -7px; left: calc(var(--ax) - 7px); box-shadow: -2px -2px 6px rgba(0,22,50,.06); }
.gt-tip[data-side="above"] .gt-pt { display: block; bottom: -7px; left: calc(var(--ax) - 7px); box-shadow: 2px 2px 6px rgba(0,22,50,.06); }
.gt-tip[data-side="right"] .gt-pt { display: block; left: -7px; top: calc(var(--ay) - 7px); box-shadow: -2px 2px 6px rgba(0,22,50,.06); }
.gt-tip[data-side="left"] .gt-pt { display: block; right: -7px; top: calc(var(--ay) - 7px); box-shadow: 2px -2px 6px rgba(0,22,50,.06); }

.gt-body { position: relative; border-radius: inherit; overflow: hidden; padding: 22px 20px 16px; }
.gt-prog { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(0,26,61,.06); }
.gt-prog i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #5CBA46, #3F9E2E); transition: width .5s cubic-bezier(.22,1,.36,1); }
.gt-head { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin-bottom: 6px; }
.gt-count { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--sr-blue); }
.gt-x { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted2); margin-right: -6px; }
.gt-x:hover { background: var(--line2); color: var(--text); }
.gt-tip h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.28; color: var(--sr-deep); margin: 0 0 6px; }
.gt-tip p { font-size: 14px; line-height: 1.55; color: #4B5B70; margin: 0; }
.gt-tip p b { color: var(--sr-deep); font-weight: 600; }
.gt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.gt-btns { display: flex; align-items: center; gap: 8px; }
.gt-quiet { font-size: 12.5px; color: var(--muted); padding: 6px 2px; }
.gt-quiet:hover { color: var(--sr-blue); }
.gt-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--sr-deep); background: #fff; border: 1px solid var(--sr-line); transition: background .15s, filter .15s, transform .15s; }
.gt-arrow:hover { background: var(--sr-head); }
.gt-arrow.next, .gt-cta { color: #fff; background: linear-gradient(180deg, #0A6AD8, #0057B8); border-color: transparent; box-shadow: 0 8px 16px -6px rgba(0,98,204,.6); }
.gt-arrow.next:hover, .gt-cta:hover { background: linear-gradient(180deg, #0A6AD8, #0057B8); filter: brightness(1.08); }
.gt-arrow:active, .gt-cta:active { transform: scale(.96); }
.gt-cta { height: 38px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; font-size: 14px; }

.gt-tip.center .gt-body { text-align: center; padding: 30px 24px 18px; }
.gt-tip.center .gt-head { display: none; }
.gt-tip.center h3 { font-size: 20px; }
.gt-badge { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0A6AD8, #004A9E); box-shadow: 0 10px 24px -8px rgba(0,98,204,.6), 0 0 0 6px rgba(0,98,204,.08); }
.gt-tip.center .gt-foot { flex-direction: column-reverse; gap: 4px; margin-top: 20px; }
.gt-tip.center .gt-btns { width: 100%; }
.gt-tip.center .gt-cta { flex: 1; }
@media (prefers-reduced-motion: reduce) { .gt-dim, .gt-ring, .gt-tip, .gt-prog i, .guia-btn::after { transition: none !important; animation: none !important; } }

/* Guia guiado: etapas */
.gt-prog { display: flex; gap: 3px; background: none; padding: 0 0; }
.gt-prog span { position: relative; flex: 1; background: rgba(0,26,61,.08); overflow: hidden; }
.gt-prog span i { position: absolute; inset: 0 auto 0 0; display: block; height: 100%; border-radius: 0; background: linear-gradient(90deg, #5CBA46, #3F9E2E); transition: width .5s cubic-bezier(.22,1,.36,1); }
.gt-count em { font-style: normal; opacity: .45; margin: 0 2px; }
.gt-list { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; display: flex; flex-direction: column; gap: 9px; }
.gt-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; color: var(--sr-deep); }
.gt-list li b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--sr-blue); background: var(--sr-head); }

/* Guia guiado: ícone da etapa e contador dentro dela */
.gt-count { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.gt-eic { flex: none; width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--sr-blue); background: var(--sr-head); }
.gt-right { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.gt-sub { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted2); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.gt-head { gap: 10px; }
.gt-count { flex: 1; overflow: hidden; }
.gt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* e-mail do comprovante no pagamento da página pública */
.wz-mail { margin: 4px 0 14px; }
.wz-mail p { margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.wz-mail p .ic { flex: none; margin-top: 2px; }

/* ---------- LGPD, recuperação de senha, configurações reais ---------- */
.legal { font-size: 14.5px; line-height: 1.6; color: var(--t2); }
.legal h3 { font-size: 15.5px; color: var(--sr-deep, #001A3D); margin: 18px 0 6px; }
.legal p { margin: 0 0 8px; }
.legal ul { margin: 0 0 8px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal-page { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 24px; background: var(--sr-navy, #014784); overflow-y: auto; }
.legal-card { width: 100%; max-width: 760px; padding: 26px 28px 30px; border-radius: 20px; }
.legal-card h1 { font-size: 24px; font-weight: 800; color: var(--sr-deep, #001A3D); margin-bottom: 4px; }
.legal-over { z-index: 320; }
.check.consent { align-items: flex-start; padding: 6px 0; }
.check.consent > span { margin-top: 2px; }
.consent-t { font-size: 13px; line-height: 1.45; color: var(--t2); }
.consent-t .link { display: inline; padding: 0; font-size: inherit; text-decoration: underline; }
.login-card .check.consent { margin: 2px 0 4px; }
.gate h2 { font-size: 22px; font-weight: 800; color: var(--sr-deep, #001A3D); margin: 4px 0 8px; }
.gate p { color: var(--t2); line-height: 1.55; margin-bottom: 12px; }
.gate-docs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gate .btn-primary { margin-top: 10px; }
.gate .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.select-btn.static { cursor: default; }
.int-list { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--t2); }
.int-list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.int-list li .ic { flex: none; margin-top: 2px; color: var(--green); }
.int code, .muted code { font-size: 12px; background: var(--bg); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
a.pack.click { text-decoration: none; color: inherit; cursor: pointer; }
.al-h1 { font-size: 22px; font-weight: 800; margin: 0 0 12px; color: var(--sr-deep, #001A3D); }
.em-prev { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.em-bar { background: #014784; padding: 14px 18px; } .em-bar img { height: 26px; display: block; }
.em-body { padding: 18px; } .em-body h4 { font-size: 17px; color: var(--sr-deep, #001A3D); margin: 0 0 10px; }
.em-body p { font-size: 13.5px; line-height: 1.55; color: var(--t2); margin: 0 0 10px; }
.em-btn { display: inline-block; background: #014784; color: #fff; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 9px; }
.em-foot { padding: 10px 18px 14px; font-size: 11.5px; color: var(--muted); text-align: center; }

/* Tablet: as telas do profissional (.pv, .pf e o rodapé fixo .pf-foot) tinham trava de 440px; na faixa do layout de celular ocupam a largura toda, como admin e paciente. */
@container scr (max-width: 840px) { .pv, .pf, .pf-foot { max-width: none; } }
