/* Painel Esmaltei, versão "branco e rosa" (aprovada pelo dono em 10/11/2026).
   Branco com rosa, preto só nas letras. Início com três coisas: a cliente de agora com a linha do dia,
   os horários de hoje e os avisos. Thay num botão T com mini chat. Agenda só com cliques.
   Antes: versão "aplicativo de bolso".
   Fundo cinza claro de aplicativo, cartões brancos, um cartão preto com a cliente de agora e as ações do momento.
   Celular primeiro: abas embaixo com o + de marcar no meio, Estúdio no avatar. Computador: menu lateral.
   O rosa fica nos botões principais, no + e no que está acontecendo agora.
   Movimento: molas interrompíveis (apple-design), resposta no toque, nada anima em ações de alta frequência. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --white: #ffffff; --black: #000000; --pink: #db2777; --pink-dark: #be185d; --pink-soft: #fce7f3; --gray: #5c5c5c; --line: #f1e8ec;
  --canvas: #ffffff;
  --pink-mist: #fdf2f8;           /* rosa bem clarinho (rosa novo, pedido do dono em 10/11/2026) */
  --pink-line: #fbcfe8;           /* borda rosa suave */
  --edge: #f9c3dc;                /* borda de coisa clicável, rosa */
  --tint: rgba(0, 0, 0, .04);
  --r-card: 16px;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: var(--ease-out);
  --side-w: 248px;
  --mbar-h: 56px;
  --dock-h: 90px;
  --pad: 16px;
  --nail-ratio: 180 / 342;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, 0.075, 0.227, 0.39, 0.536, 0.656, 0.75, 0.821, 0.873, 0.911, 0.938, 0.957, 0.971, 0.98, 0.986, 0.991, 0.994, 0.996, 0.997, 0.998, 1); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; }
html.is-sheet { background: var(--black); }
body { font-family: var(--font); color: var(--black); background: var(--canvas); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden; overflow-x: clip; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
p { max-width: 62ch; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a, button, label, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--black); color: #fff; }
.skip:focus { top: 12px; }
.muted { color: var(--gray); }
.small { font-size: .85rem; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.only-d { display: none !important; }

/* Toque: afunda no instante em que encosta */
.press { transition: transform 100ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.press:active { transform: scale(.97); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; text-decoration: none; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--outline { border-color: var(--black); background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--icon { width: 44px; padding: 0; }
.btn--icon svg { width: 20px; height: 20px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; min-height: 52px; }
@media (hover: hover) and (pointer: fine) {
  .btn--pink:hover { background: var(--pink-dark); }
  .btn--outline:hover { background: var(--black); color: #fff; }
  .btn--ghost:hover { border-color: #fff; }
}
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .76rem; letter-spacing: .02em; }
.avatar--lg { width: 56px; height: 56px; font-size: 1rem; }
.avatar--fallback:empty::before { content: ""; width: 46%; height: 46%; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .74rem; font-weight: 600; white-space: nowrap; background: var(--pink-soft); color: var(--pink-dark); }
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.045em; text-decoration: none; color: var(--black); }
.brand::after { content: ""; display: inline-block; width: 7px; height: 10px; margin-left: 2px; background: var(--pink); border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; }

/* ---------- Estrutura (celular primeiro) ---------- */
.side { display: none; }
.mbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; height: calc(var(--mbar-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--pad) 0; background: rgba(244, 244, 244, .88); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); }
.mbar__me { border-radius: 50%; }
.stage { min-height: 100dvh; background: var(--canvas); transform-origin: 50% 0; }
.main { width: min(100%, 620px); margin-inline: auto; padding: 4px var(--pad) calc(var(--dock-h) + 24px); }
.main:focus { outline: none; }
.view { display: flex; flex-direction: column; gap: 14px; }
.card { background: #fff; border-radius: var(--r-card); padding: 18px 18px 14px; min-width: 0; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.card__t { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.card__meta { color: var(--gray); font-size: .85rem; font-variant-numeric: tabular-nums; text-align: right; }
.vhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 6px 2px 2px; }
.vhead__title { font-size: 2rem; letter-spacing: -0.04em; }
.vhead__sub { color: var(--gray); font-size: .9rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.vhead__actions { display: flex; align-items: center; gap: 10px; }
.weeknav { display: flex; align-items: center; gap: 6px; }
.empty-row, .empty { padding: 14px 0; color: var(--gray); font-size: .92rem; }

/* ---------- Início ---------- */
.hello { padding: 6px 2px 2px; }
.hello__date { color: var(--gray); font-size: .9rem; font-weight: 500; }
.hello__title { font-size: 2rem; letter-spacing: -0.04em; }

/* Para ficar de olho, e os primeiros passos */
.alerts li + li { border-top: 1px solid var(--line); }
.alert { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; width: 100%; padding: 12px 0; text-align: left; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .alert:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; } }
.drop { display: block; width: 7px; height: 9px; background: var(--pink); border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; }
.alert--step { grid-template-columns: 26px 1fr; align-items: center; gap: 12px; }
.step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--canvas); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.step svg { width: 14px; height: 14px; stroke-width: 3; }
.alert--step.is-done .step { background: var(--black); color: #fff; }
.alert--step.is-done span:last-child { color: var(--gray); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Arte de unha dos torneios (francesinhas e outras), desenhada em CSS */
.art { display: block; width: 100%; aspect-ratio: 3 / 4.3; border: 1.5px solid var(--black); border-radius: 50% 50% 9px 9px / 36% 36% 9px 9px; background: var(--pink); }
.hand { display: flex; align-items: flex-end; justify-content: center; gap: 7%; }
.hand .art { width: 26%; }
.hand .art:nth-child(2) { width: 29%; }
.art--french { background: linear-gradient(#fff 0 30%, var(--pink) 30% 33%, var(--pink-soft) 33%); }
.art--fr-pink { background: linear-gradient(var(--pink) 0 30%, #fff 30%); }
.art--fr-black { background: linear-gradient(var(--black) 0 28%, #fff 28%); }
.art--fr-double { background: linear-gradient(#fff 0 26%, var(--pink-soft) 26% 33%, var(--pink) 33% 37%, var(--pink-soft) 37%); }
.art--fr-side { background: linear-gradient(160deg, var(--pink) 0 30%, var(--pink-soft) 30%); }
.art--fr-moon { background: radial-gradient(ellipse 60% 26% at 50% 100%, #fff 0 99%, transparent 100%), var(--pink); }
.art--fr-v { background: linear-gradient(135deg, transparent 0 46%, var(--pink-soft) 46%), linear-gradient(225deg, transparent 0 46%, var(--pink-soft) 46%), var(--black); }
.art--fr-glitter { background: linear-gradient(transparent 0 32%, var(--pink-soft) 32%), radial-gradient(circle, #fff 1.3px, transparent 1.8px) 0 0 / 7px 7px, var(--pink); }

/* ---------- Clientes ---------- */
.cfilter { display: flex; flex-direction: column; gap: 12px; margin-top: -8px; }
.search { width: 100%; height: 46px; border: 1px solid var(--edge); border-radius: 999px; padding: 0 18px; background: #fff; font-size: 1rem; -webkit-appearance: none; }
.search:focus-visible { outline-offset: 1px; }
.search::-webkit-search-cancel-button { filter: grayscale(1) brightness(0); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--edge); font-weight: 600; font-size: .9rem; }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.person { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 70px; border-bottom: 1px solid var(--line); text-align: left; }
.person__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person__sub { display: block; font-size: .88rem; color: var(--gray); }
.person__last, .person__next { display: none; }
.person__ini { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--edge); display: grid; place-items: center; font-weight: 700; font-size: .78rem; }
.person__name { display: block; font-weight: 600; }

/* ---------- Torneios ---------- */
.cup-head { display: flex; flex-direction: column; gap: 20px; }
.cup-head__month { font-weight: 600; color: var(--pink-dark); font-size: .92rem; }
.cup-head__title { font-size: 2.6rem; letter-spacing: -0.045em; line-height: 1; margin: 4px 0 8px; }
.cup-head__dates { color: var(--gray); }
.cup-status { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--pink); border-radius: 8px; }
.cup-status__t { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.cup-status__mine { display: flex; align-items: center; gap: 14px; }
.cup-status__mine .hand { width: 72px; height: 64px; }
.cup-grid { display: flex; flex-direction: column; gap: 40px; }
.cup-gallery__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--black); }
.cup-gallery__head .h2 { padding: 0; margin: 0; border: 0; }
.votes-left { font-size: .88rem; color: var(--gray); font-variant-numeric: tabular-nums; white-space: nowrap; }
.votes-left b { color: var(--pink-dark); }
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.entry { display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; background: #fff; }
.entry.is-mine { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.entry__art { position: relative; height: 140px; padding: 18px 14px 14px; background: var(--tint); display: flex; align-items: flex-end; }
.entry__art .hand { width: 100%; height: 100%; }
.entry__pos { position: absolute; top: 10px; left: 10px; }
.entry__body { display: grid; gap: 2px; padding: 12px 12px 14px; }
.entry__name { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.entry__city { font-size: .8rem; color: var(--gray); }
.entry__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.entry__votes { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .95rem; }
.entry__votes small { font-weight: 500; color: var(--gray); font-size: .78rem; }
.vote { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--black); font-weight: 600; font-size: .85rem; }
.vote[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.vote:disabled { opacity: .4; cursor: not-allowed; }
.bump { display: inline-block; animation: bump 420ms var(--spring); }
@keyframes bump { 30% { transform: scale(1.18); } }
.panelbox { display: grid; gap: 4px; }
.ranking li { display: grid; grid-template-columns: 30px 32px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ranking li:first-child { border-top: 0; }
.ranking__pos { font-weight: 700; font-variant-numeric: tabular-nums; }
.ranking__art { height: 36px; display: flex; align-items: flex-end; }
.ranking__art .art { width: 24px; margin: 0 auto; }
.ranking__name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.ranking__name small { display: block; font-weight: 500; color: var(--gray); font-size: .78rem; }
.ranking__votes { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .92rem; }
.ranking li.is-mine .ranking__name { color: var(--pink-dark); }
.selo { flex: none; width: 30px; height: 40px; display: grid; place-items: center; padding-top: 4px; border-radius: 50% 50% 7px 7px / 36% 36% 7px 7px; background: var(--black); color: #fff; font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; }
.selo--gold { background: var(--pink); }
.badges { display: grid; gap: 12px; margin: 6px 0 12px; }
.badges li { display: flex; align-items: center; gap: 12px; }
.badges b { display: block; }
.badges li span:last-child { font-size: .88rem; color: var(--gray); line-height: 1.3; }
.how__list { display: grid; counter-reset: how; }
.how__list li { counter-increment: how; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--gray); }
.how__list li:first-child { border-top: 0; }
.how__list li::before { content: counter(how); font-weight: 700; color: var(--black); font-variant-numeric: tabular-nums; }
.how__list b { color: var(--black); }

/* ---------- Estúdio ---------- */
.studio { display: flex; align-items: center; gap: 16px; }
.studio__name { font-size: 1.8rem; letter-spacing: -0.035em; }
.estudio-grid { display: flex; flex-direction: column; gap: 40px; }
.lead-s { margin-bottom: 4px; font-size: .92rem; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 56px; }
@media (hover: hover) and (pointer: fine) { .setting:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; } }
.mod { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.mod__text { display: flex; flex-direction: column; }
.mod__text b { font-weight: 600; }
.mod__text .muted { font-size: .88rem; }
.switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 99px; background: #d9d9d9; transition: background-color 220ms var(--ease-out); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform 500ms var(--spring); }
.switch[aria-checked="true"] { background: var(--black); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch:disabled { opacity: .4; cursor: not-allowed; }
.keys-title { margin-top: 36px; }
.keys div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--gray); }
.keys div:first-child { border-top: 0; }
.keys dt { color: var(--black); }
kbd { display: inline-block; min-width: 24px; padding: 1px 6px; border: 1px solid var(--edge); border-bottom-width: 2px; border-radius: 5px; font: inherit; font-size: .82rem; font-weight: 600; text-align: center; background: #fff; }

/* ---------- Painel de detalhes (folha no celular, lateral no computador) ---------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: var(--black); opacity: 0; }
.panel { position: fixed; z-index: 40; left: 50%; bottom: 0; width: min(100%, 560px); margin-left: calc(min(100%, 560px) / -2); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .22); touch-action: none; user-select: none; will-change: transform; padding-bottom: env(safe-area-inset-bottom); }
.panel__grab { display: flex; justify-content: center; padding: 10px 0 4px; cursor: grab; }
.panel__grab span { width: 40px; height: 5px; border-radius: 99px; background: #cfcfcf; transition: background-color 150ms var(--ease-out); }
.panel.is-dragging .panel__grab span { background: var(--black); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px var(--pad) 14px; }
.panel__when { color: var(--pink-dark); font-weight: 600; font-size: .9rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.panel__title { font-size: 1.9rem; letter-spacing: -0.035em; line-height: 1.05; }
.panel__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); display: grid; place-items: center; }
.panel__close svg { stroke-width: 2.2; }
.panel__body { display: flex; flex-direction: column; gap: 18px; padding: 0 var(--pad) 22px; overflow-y: auto; user-select: text; }
.drows > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.drows dt { color: var(--gray); }
.drows dd { font-weight: 500; }
.dacts { display: flex; flex-direction: column; gap: 10px; }
.linkbtn { display: flex; align-items: center; justify-content: center; min-height: 46px; color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick button { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: center; padding: 12px 6px 10px; border: 1px solid var(--edge); border-radius: 8px; font-size: .82rem; font-weight: 600; }
.pick button .hand { width: 100%; height: 72px; }
.pick button[aria-pressed="true"] { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.panel .thay__log { padding: 4px 0 0; overflow: visible; }

/* ---------- Versão de teste: formulários, listas e estados (banco de dados no navegador) ---------- */
.vhead__count { color: var(--gray); font-size: .9rem; font-variant-numeric: tabular-nums; margin-top: 4px; }
.weeknav { display: flex; align-items: center; gap: 8px; margin-top: -16px; }
.weeknav__label { margin-left: 6px; color: var(--gray); font-size: .9rem; font-variant-numeric: tabular-nums; }
.weeknav .chip[aria-pressed="true"] { background: none; color: var(--black); border-color: var(--black); }
.iconbtn { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--edge); color: var(--black); }
.iconbtn svg { width: 18px; height: 18px; stroke-width: 2; }
.iconbtn:disabled { opacity: .35; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .iconbtn:not(:disabled):hover, .chip:hover { border-color: var(--black); } }
.empty-row { padding: 14px 0; color: var(--gray); font-size: .92rem; }
.alerts li { display: block; padding: 0; }
.alert { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; width: 100%; padding: 13px 0; text-align: left; }
@media (hover: hover) and (pointer: fine) { .alert:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; } }
.row { grid-template-columns: minmax(56px, auto) 1fr auto; }
/* primeiros passos (painel começando do zero) */
.alert--step { grid-template-columns: 24px 1fr; align-items: center; gap: 12px; }
.step { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--black); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.step svg { width: 13px; height: 13px; stroke-width: 3; }
.alert--step.is-done .step { background: var(--black); color: #fff; }
.alert--step.is-done span:last-child { color: var(--gray); text-decoration: line-through; text-decoration-thickness: 1px; }
.entries__empty { grid-column: 1 / -1; }
.ranking li.empty-row { display: block; border: 0; }
.row__time small { font-size: .75rem; font-weight: 500; color: var(--gray); }
.slot__free { justify-content: space-between; }
.slot__free span { font-size: .85rem; font-weight: 600; color: var(--black); }
.slot__card.is-done { border-style: solid; border-color: var(--line); }
.slot__card.is-done .row__name, .slot__card.is-miss .row__name { color: var(--gray); }
.slot__card.is-miss { border-style: dashed; }
.tag--ok { border-color: var(--black); color: var(--black); }
.tag--gray { border-color: var(--edge); color: var(--gray); }
.row__name .tag { margin-left: 6px; vertical-align: 2px; }

/* formulários */
.form { display: grid; gap: 18px; }
.form--box { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--black); }
.form__title { font-weight: 700; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; }
.field__l { font-size: .88rem; font-weight: 600; }
.field__l small { font-weight: 500; color: var(--gray); }
.field__hint { font-size: .82rem; color: var(--gray); }
.input { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; }
.input:focus-visible { outline-offset: 1px; border-color: var(--black); }
select.input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding-right: 38px; }
.input--area { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.4; }
.input--time { width: auto; flex: 1; min-width: 92px; }
.opts { display: grid; gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input, .time input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 10px; transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.opt b { font-weight: 600; }
.opt small { color: var(--gray); font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt input:checked + span { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.opt input:focus-visible + span, .time input:focus-visible + span, .check input:focus-visible + span::before { outline: 2px solid var(--pink); outline-offset: 2px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.time { position: relative; cursor: pointer; }
.time span { display: grid; place-items: center; height: 42px; border: 1px solid var(--edge); border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.time input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
@media (hover: hover) and (pointer: fine) { .opt:hover span, .time:hover span { border-color: var(--black); } }
.form__err { min-height: 0; color: var(--pink-dark); font-weight: 600; font-size: .9rem; }
.form__err:empty { display: none; }
.hrow { display: flex; align-items: center; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; width: 96px; flex: none; cursor: pointer; font-weight: 500; }
.check input { position: absolute; opacity: 0; }
.check span::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; border: 1px solid var(--edge); border-radius: 6px; background: #fff center / 14px no-repeat; transition: background-color 150ms var(--ease-out); }
.check input:checked + span::before { background-color: var(--black); border-color: var(--black); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.hrow:has(input[type="checkbox"]:not(:checked)) .input--time, .hrow:has(input[type="checkbox"]:not(:checked)) > .muted { opacity: .4; }

/* fichas e listas dentro do painel */
.dacts__row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.linkbtn--danger { color: var(--black); }
.btn--danger { background: var(--black); color: #fff; }
.h3 { padding-top: 12px; border-top: 1px solid var(--black); font-size: .95rem; font-weight: 700; margin-top: 4px; }
.hist li + li { border-top: 1px solid var(--line); }
.hist__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 10px; align-items: baseline; width: 100%; padding: 11px 0; font-size: .92rem; font-variant-numeric: tabular-nums; text-align: left; }
.list li + li { border-top: 1px solid var(--line); }
.list__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.list__row > span:first-child { flex: 1; min-width: 0; display: grid; }
.list__row small { color: var(--gray); font-size: .82rem; font-variant-numeric: tabular-nums; }
.list__row.is-low small { color: var(--pink-dark); font-weight: 600; }
.list__acts { display: flex; align-items: center; gap: 8px; }
.list__acts .chip { min-height: 36px; padding: 0 14px; font-size: .85rem; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper .iconbtn { width: 34px; height: 34px; }
.stepper output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.list__row > .iconbtn { width: 34px; height: 34px; border-color: transparent; color: var(--gray); }
.dbbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.dbbtns .btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.panel__body { touch-action: pan-y; }
.panel.is-fading { opacity: 0; transition: opacity 200ms var(--ease-out); }

/* ---------- Aviso: entra de cima, sai para cima ---------- */
.toast { position: fixed; z-index: 60; top: max(12px, env(safe-area-inset-top)); left: 50%; display: flex; align-items: center; gap: 16px; width: max-content; max-width: min(calc(100% - 32px), 520px); padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--black); color: #fff; font-weight: 500; font-size: .95rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transform: translate(-50%, calc(-100% - 24px)); opacity: 0; pointer-events: none; transition: transform 500ms var(--spring), opacity 220ms var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast__undo { min-height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--black); font-weight: 700; font-size: .88rem; }

/* ---------- Barra de baixo (celular): abas com o + de marcar no meio ---------- */
.dock { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(var(--tabs, 5), minmax(0, 1fr)); align-items: end; padding: 4px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; font-size: .7rem; font-weight: 500; color: var(--gray); text-align: center; }
.tab svg { width: 23px; height: 23px; }
.tab[aria-current="page"] { color: var(--black); font-weight: 700; }
.tab[aria-current="page"] svg { stroke-width: 2.3; }
.tab--plus span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pink); color: #fff; border: 4px solid #fff; box-shadow: 0 10px 22px -8px rgba(214, 31, 105, .6); transform: translateY(-16px); }
.tab--plus svg { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---------- Ajustes do aplicativo nos blocos de sempre ---------- */
.slot__card, .slot__free { border-radius: 12px; }
.search { height: 46px; border: 1px solid transparent; background: #fff; border-radius: 999px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: #fff; font-weight: 600; font-size: .88rem; }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.card .chip, .panel .chip { border-color: var(--edge); }
.chip--sm { min-height: 32px; padding: 0 12px; font-size: .8rem; }
.iconbtn { background: #fff; border-color: transparent; }
.card .iconbtn, .panel .iconbtn { border-color: var(--edge); }
.weeknav .chip[aria-pressed="true"] { background: #fff; color: var(--black); border-color: var(--black); }
.ctable { padding: 4px 18px 8px; }
.person:last-child, .ctable li:last-child .person { border-bottom: 0; }
.studio { display: flex; align-items: center; gap: 16px; }
.estudio-grid { display: flex; flex-direction: column; gap: 14px; }
.settings li + li { border-top: 1px solid var(--line); }
.lead-s { font-size: .9rem; margin-bottom: 4px; }
/* Torneio: o cabeçalho é o cartão preto da seção */
.cup-head { padding: 24px 20px; border-radius: 22px; background: var(--black); color: #fff; }
.cup-head__month { color: var(--pink-soft); }
.cup-head__dates { color: rgba(255, 255, 255, .75); }
.cup-status { border: 0; background: #fff; color: var(--black); border-radius: 14px; }
.cup-grid { gap: 14px; }
.cup-side { display: grid; gap: 14px; }
.how__list li:first-child { border-top: 0; }
.entries { margin-top: 4px; }
.entry { border-color: var(--line); }
/* =====================================================================
   VERSÃO BRANCO E ROSA
   ===================================================================== */
html, body, .stage { background: #fff; }
.btn--outline { border-color: var(--pink); color: var(--pink-dark); background: #fff; }
.btn--soft { background: #fff; color: var(--pink-dark); }
.btn--danger { background: var(--pink-dark); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
  .btn--soft:hover { background: var(--pink); color: #fff; }
}
.avatar { background: var(--pink-soft); color: var(--pink-dark); font-weight: 800; }
.chip { border-color: var(--pink-line); color: var(--pink-dark); background: #fff; }
.chip[aria-pressed="true"], .weeknav .chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.iconbtn { background: #fff; border-color: var(--pink-line); color: var(--pink-dark); }
.search { border-color: var(--pink-line); }
.tag--ok { background: var(--pink-soft); color: var(--pink-dark); }
.tag--gray { background: #f4f4f4; color: var(--gray); }
.switch[aria-checked="true"] { background: var(--pink); }
.time input:checked + span, .check input:checked + span::before { background-color: var(--pink); border-color: var(--pink); }
.opt input:checked + span { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.alert--step.is-done .step { background: var(--pink); }
.step { background: var(--pink-soft); color: var(--pink-dark); }
.toast { background: var(--pink-dark); }
.toast__undo { color: var(--pink-dark); }
.panel__close { border-color: var(--pink-line); color: var(--pink-dark); }
.panel__when { color: var(--pink-dark); }
.mbar { background: rgba(255, 255, 255, .9); }
.dock { background: rgba(255, 255, 255, .94); border-top-color: var(--line); }
.tab[aria-current="page"] { color: var(--pink-dark); }
.card { border: 1.5px solid var(--line); }

/* Início: título e busca */
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hello__date { color: var(--pink-dark); font-weight: 600; }

/* A cliente de agora, num cartão rosa, com a linha do dia */
.today { display: grid; gap: 16px; padding: 20px 18px 18px; border-radius: 24px; background: var(--pink-soft); }
.today__top { display: grid; gap: 12px; }
.today__lbl { display: flex; align-items: center; gap: 8px; color: var(--pink-dark); font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; }
.live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); flex: none; }
.live.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pink); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
.today__name { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-top: 2px; }
.today__name button { text-align: left; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .today__name button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; } }
.today__meta { color: #3b3b3b; font-size: .95rem; font-variant-numeric: tabular-nums; }
.today__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.today__acts .btn--icon { background: #fff; color: var(--pink-dark); }
/* a linha do dia: o dia de ponta a ponta, rosa é ocupado, tracejado é livre */
.ribbon { display: grid; gap: 6px; }
.ribbon__bar { position: relative; height: 40px; border-radius: 12px; background: #fff; }
.seg { position: absolute; top: 5px; bottom: 5px; display: flex; align-items: center; padding: 0 8px; border-radius: 8px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; overflow: hidden; }
.seg.is-done { background: #ef9cbd; }
.seg.is-free { background: transparent; border: 1.5px dashed var(--pink-line); color: var(--pink-dark); font-weight: 600; }
button.seg { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { button.seg:not(.is-free):hover { background: var(--pink-dark); } button.seg.is-free:hover { border-color: var(--pink); } }
.nowmark { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--black); pointer-events: none; }
.ribbon__hours { display: flex; justify-content: space-between; color: var(--pink-dark); font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.btn svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .seg { font-size: 0; padding: 0; } .today__acts .btn { padding: 0 16px; } .today__acts { flex-wrap: nowrap; } }
.ribbon__off { padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--pink-dark); font-weight: 600; font-size: .9rem; }

/* duas caixas: horários de hoje e avisos */
.two { display: grid; gap: 14px; }
.box { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 16px 18px 10px; min-width: 0; }
.box__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.box__h h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.box__h span { color: var(--pink-dark); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; }
.rows li + li, .alerts li + li, .slots li + li { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 11px 0; text-align: left; }
.row__time { font-weight: 800; color: var(--pink-dark); font-variant-numeric: tabular-nums; }
.row__who { display: grid; min-width: 0; }
.row__who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__who span { color: var(--gray); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .row:hover .row__who b { text-decoration: underline; text-underline-offset: 3px; } }
.row.is-done .row__who b, .row.is-miss .row__who b { color: var(--gray); }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--pink-soft); color: var(--pink-dark); white-space: nowrap; }
.row--free .free { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px dashed var(--pink-line); border-radius: 12px; color: var(--gray); font-size: .9rem; }
.row--free .free b { color: var(--pink); }
@media (hover: hover) and (pointer: fine) { .row--free:hover .free { border-color: var(--pink); } }
.alert { grid-template-columns: 34px 1fr; align-items: center; gap: 12px; padding: 10px 0; }
.alert__i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--pink-soft); color: var(--pink); }
.alert__i svg { width: 18px; height: 18px; }

/* Agenda: os dias viram botões com uma barrinha de quanto o dia está cheio */
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.daybtn { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 8px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; min-width: 0; }
.daybtn small { color: var(--gray); font-size: .74rem; }
.daybtn b { font-size: 1.25rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.daybtn.is-today b { color: var(--pink); }
.fill { width: 72%; height: 5px; border-radius: 5px; background: var(--pink-soft); overflow: hidden; }
.fill i { display: block; height: 100%; border-radius: 5px; background: var(--pink); }
.daybtn__n { font-size: .68rem; color: var(--gray); white-space: nowrap; }
.daybtn[aria-selected="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.daybtn[aria-selected="true"] small, .daybtn[aria-selected="true"] .daybtn__n, .daybtn[aria-selected="true"].is-today b { color: #fff; }
.daybtn[aria-selected="true"] .fill { background: rgba(255, 255, 255, .35); }
.daybtn[aria-selected="true"] .fill i { background: #fff; }
@media (hover: hover) and (pointer: fine) { .daybtn:not([aria-selected="true"]):hover { border-color: var(--pink-line); } }
.slots.is-swap { animation: swap 260ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* Thay: um botão redondo com T, e um mini chat que abre em cima dele */
.thayfab { position: fixed; z-index: 35; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--dock-h) + 14px); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--pink); border: 2px solid var(--pink); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; box-shadow: 0 12px 26px -12px rgba(214, 31, 105, .65); transition: transform 100ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.thayfab[aria-expanded="true"] { background: var(--pink); color: #fff; }
.mini { position: fixed; z-index: 36; right: max(12px, env(safe-area-inset-right, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(var(--dock-h) + 76px); display: flex; flex-direction: column; max-height: min(520px, 64dvh); border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -24px rgba(176, 21, 79, .45), 0 0 0 1.5px var(--line); transform-origin: calc(100% - 26px) calc(100% + 40px); opacity: 0; transform: scale(.92) translateY(8px); pointer-events: none; transition: opacity 180ms var(--ease-out), transform 420ms var(--spring); }
.mini.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mini__h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--pink-soft); border-radius: 22px 22px 0 0; }
.mini__t { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; }
.mini__h b { display: block; line-height: 1.1; }
.mini__h small { color: var(--pink-dark); font-size: .76rem; }
.mini__x { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--pink-dark); }
.mini__x svg { width: 18px; height: 18px; }
.mini__log { flex: 1; min-height: 90px; overflow-y: auto; padding: 12px 14px 6px; display: flex; flex-direction: column; gap: 8px; }
.mini .bub { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .88rem; line-height: 1.4; }
.mini .bub--thay { align-self: flex-start; background: var(--pink-mist); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mini .bub--me { align-self: flex-end; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
.mini .typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 11px 14px; border-radius: 14px; background: var(--pink-mist); }
.mini .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: typing 1.2s ease-in-out infinite; }
.mini .typing span:nth-child(2) { animation-delay: -1s; }
.mini .typing span:nth-child(3) { animation-delay: -.8s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .9; } }
.bub--in { animation: bubin 320ms var(--spring); }
@keyframes bubin { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.mini__sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.mini__sugs .chip { min-height: 30px; padding: 0 11px; font-size: .78rem; }
.mini__in { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.mini__in input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1.5px solid transparent; border-radius: 999px; background: var(--pink-mist); font-size: 16px; }
.mini__in input:focus-visible { outline-offset: 1px; }
.mini__in button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; }
.mini__in button svg { width: 18px; height: 18px; stroke-width: 2.2; }


/* nada de preto no painel: a bolinha dos primeiros passos tem borda rosa */
.step { border-color: var(--pink-line); }

/* Início do computador (semana em onda, cartões, coluna da direita): não aparece no celular */
.home__main { display: flex; flex-direction: column; gap: 14px; }
.dtop, .dcards, .home__side, .hello__tools { display: none; }

/* Torneio: cabeçalho rosa clarinho, letras pretas */
.cup-head { background: var(--pink-soft); color: var(--black); }
.cup-head__month { color: var(--pink-dark); }
.cup-head__dates { color: #3b3b3b; }
.cup-status { border: 1.5px solid var(--pink-line); }
.entry { border-color: var(--line); }
.entry__art, .cupcard__art { background: var(--pink-mist); }
.vote { border-color: var(--pink); color: var(--pink-dark); }
.vote[aria-pressed="true"] { background: var(--pink); color: #fff; }
.selo { background: var(--pink-dark); }
.how__list li::before { color: var(--pink); }
.person__ini { background: var(--pink-soft); color: var(--pink-dark); border: 0; }

/* =====================================================================
   COMPUTADOR (a partir de 1024px): menu lateral, cartões em duas colunas
   ===================================================================== */
@media (min-width: 1024px) {
  .only-m { display: none !important; }
  .only-d { display: revert !important; }
  .mbar, .dock { display: none; }
  .side { display: flex; flex-direction: column; gap: 22px; position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--side-w); padding: 26px 16px 16px; background: #fff; border-right: 1px solid var(--line); }
  .side .brand { padding: 0 12px; font-size: 1.5rem; }
  .side__new svg { width: 18px; height: 18px; stroke-width: 2.4; }
  .side__nav { display: grid; gap: 2px; }
  .side__nav button { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--gray); font-weight: 500; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
  .side__nav svg { width: 21px; height: 21px; }
  .side__nav button[aria-current="page"] { background: var(--canvas); color: var(--black); font-weight: 700; }
  .side__nav button[aria-current="page"] svg { stroke-width: 2.2; }
  @media (hover: hover) { .side__nav button:not([aria-current="page"]):hover { color: var(--black); background: rgba(0, 0, 0, .025); } }
  .side__me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; text-align: left; }
  .side__me b { display: block; font-size: .9rem; line-height: 1.2; }
  .side__me small { display: block; color: var(--gray); font-size: .76rem; }
  @media (hover: hover) { .side__me:hover { background: var(--canvas); } }

  .stage { margin-left: var(--side-w); min-height: 100dvh; }
  .main { width: auto; max-width: 1260px; margin: 0; padding: 34px 40px 64px; }
  .view { gap: 20px; }
  .hello__title, .vhead__title { font-size: 2.5rem; }
  .card { padding: 22px 22px 16px; }
  .dash__main, .dash__side { gap: 20px; }
  .now__name { font-size: 2.7rem; }
  .quick__b { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 16px; font-size: .9rem; text-align: left; }

  /* Clientes em tabela */
  .cfilter { flex-direction: row; align-items: center; gap: 16px; margin-top: -16px; }
  .search { max-width: 380px; }
  .ctable__head { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--pink-line); font-size: .82rem; font-weight: 600; color: var(--gray); }
  .person { grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 16px; min-height: 62px; }
  .person__ini { width: 34px; height: 34px; font-size: .72rem; }
  .person__sub { display: none; }
  .person__last { display: block; color: var(--gray); }
  .person__next { display: block; font-variant-numeric: tabular-nums; }
  .person .tag { justify-self: start; }
  @media (hover: hover) { .person:hover .person__name { text-decoration: underline; text-underline-offset: 3px; } }

  /* Torneios: galeria + ranking ao lado */
  .cup-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .cup-head__title { font-size: 3.8rem; }
  .cup-status { min-width: 360px; max-width: 420px; }
  .cup-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .entries { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .entry__art { height: 164px; }
  .cup-side { display: grid; gap: 32px; position: sticky; top: calc(0px + 24px); }
  .how__list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .how__list li { grid-template-columns: 1fr; gap: 8px; border-top: 0; padding: 0; }

  .estudio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

  /* Painel lateral: entra pela direita, por cima da Thay, sem tampar a agenda */
  .scrim { display: none !important; }
  .panel { top: 0px; bottom: 0; left: auto; right: 0; width: 420px; margin: 0; max-height: none; border-radius: 0; border-left: 1px solid var(--line); box-shadow: -18px 0 40px -14px rgba(0, 0, 0, .16); }
  .panel__grab { display: none; }
  .panel__head { padding-top: 24px; }
  .panel__title { font-size: 1.75rem; }

  /* ajustes do aplicativo sobre os blocos acima */
  .cfilter { margin-top: 0; }
  .ctable { padding: 6px 22px 10px; }
  .panel { top: 0; width: 420px; border-radius: 22px 0 0 22px; border-left: 0; box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .25); }
  .estudio-grid { gap: 20px; }
  .cup-head { padding: 30px 32px; }
}

@media (min-width: 1024px) {
  .side { background: var(--pink-mist); border-right: 0; }
  .side__nav button[aria-current="page"] { background: #fff; color: var(--pink-dark); box-shadow: 0 1px 0 var(--pink-line); }
  @media (hover: hover) { .side__nav button:not([aria-current="page"]):hover { background: rgba(255, 255, 255, .7); } .side__me:hover { background: #fff; } }
  .main { max-width: 1200px; padding: 34px 44px 90px; }
  .view { gap: 22px; }
  .today { padding: 26px 28px 22px; border-radius: 28px; }
  .today__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
  .today__name { font-size: 2.7rem; }
  .ribbon__bar { height: 46px; }
  .seg { top: 6px; bottom: 6px; font-size: .76rem; padding: 0 10px; }
  .two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .box { padding: 20px 22px 12px; }
  .days { gap: 10px; }
  .daybtn { padding: 12px 6px 10px; border-radius: 18px; }
  .daybtn b { font-size: 1.45rem; }
  .thayfab { right: 28px; bottom: 26px; width: 62px; height: 62px; font-size: 1.6rem; background: var(--pink); color: #fff; border: 0; box-shadow: 0 14px 30px -10px rgba(214, 31, 105, .65); }
  .thayfab[aria-expanded="true"] { background: var(--pink-dark); }
  .mini { left: auto; right: 28px; bottom: 102px; width: 360px; }
  .panel { z-index: 40; }
}

/* =====================================================================
   COMPUTADOR, ESTILO NOVO (aprovado pelo dono em 10/11/2026, a partir de uma referência):
   fundo rosa acinzentado, menu numa pílula rosa só com ícones, conteúdo numa moldura branca arredondada.
   Início: a semana em onda num cartão rosa em degradê (o dia escolhido fica numa coluna de vidro),
   Marcar horário, a cliente de agora, três cartões com o ícone saindo pela borda e, à direita,
   as clientes do dia e a Thay já aberta. Contraste: todo texto pequeno em cima do rosa fica em rosa escuro o bastante.
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --frame: #f3e7ed; --rail: #fcf7fa; --rail-line: #f4e8ee; --soft-line: #f3c9da; }
  html, body { background: var(--frame); }
  .stage { margin: 24px 24px 24px 132px; min-height: calc(100dvh - 48px); background: #fff; border-radius: 32px; overflow: clip; box-shadow: 0 40px 90px -60px rgba(176, 21, 79, .35); }
  .main { max-width: none; padding: 0; }
  .view { padding: 34px 40px 64px; max-width: 1240px; }
  .view--home { padding: 0; max-width: none; }

  /* menu: pílula rosa com ícones; o nome aparece ao lado quando o mouse passa ou o teclado chega */
  .side { top: 24px; bottom: 24px; left: 24px; width: 84px; align-items: center; gap: 8px; padding: 20px 0 16px; border-radius: 28px; background: linear-gradient(180deg, #db2a72 0%, #d61f69 48%, #b8165a 100%); box-shadow: 0 18px 40px -20px rgba(214, 31, 105, .7); }
  .side .brand { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 16px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: 0; color: transparent; }
  .side .brand::after { width: 16px; height: 21px; margin: 0; background: #fff; }
  .side__new, .side__nav button, .side__me { position: relative; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 16px; }
  .side__new { margin: 8px 0 10px; background: #fff; color: var(--pink); box-shadow: 0 10px 20px -10px rgba(90, 4, 40, .6); }
  .side__new svg { width: 22px; height: 22px; stroke-width: 2.4; }
  .side__nav { gap: 8px; }
  .side__nav button { height: 50px; color: rgba(255, 255, 255, .85); }
  .side__nav svg { width: 22px; height: 22px; }
  .side__nav button[aria-current="page"] { background: rgba(255, 255, 255, .24); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 20px -10px rgba(90, 4, 40, .6); }
  .side__me { margin-top: auto; width: 54px; height: 54px; }
  .side__me .avatar { width: 44px; height: 44px; background: #fff; color: var(--pink-dark); font-size: .8rem; }
  .side__l { position: absolute; z-index: 5; left: calc(100% + 14px); top: 50%; padding: 6px 10px; border-radius: 8px; background: var(--pink-dark); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-4px, -50%); transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
  .side :focus-visible { outline-color: #fff; }
  .side :is(button, a):focus-visible .side__l { opacity: 1; transform: translate(0, -50%); }
  @media (hover: hover) {
    .side__nav button:not([aria-current="page"]):hover, .side__me:hover { background: rgba(255, 255, 255, .14); color: #fff; }
    .side :is(button, a):hover .side__l { opacity: 1; transform: translate(0, -50%); }
  }

  /* detalhes: o painel da direita também fica numa moldura arredondada */
  .panel { top: 24px; bottom: 24px; right: 24px; border-radius: 28px; box-shadow: 0 30px 80px -24px rgba(176, 21, 79, .45), 0 0 0 1px var(--line); }
  /* no Início a Thay já está na coluna: o botão T só aparece nas outras abas */
  html[data-tab="inicio"] .thayfab { display: none; }

  /* ---------- Início ---------- */
  .home { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: calc(100dvh - 48px); }
  .home__main { gap: 22px; min-width: 0; padding: 30px 28px 32px 32px; }
  .today, .two { display: none; }
  .hello { padding: 0; }
  .hello__title { font-size: 2rem; }
  .hello__tools { display: flex; align-items: center; gap: 12px; }
  .hsearch { display: flex; align-items: center; gap: 10px; width: 220px; height: 44px; padding: 0 16px; border-radius: 999px; background: #f8f1f4; color: var(--pink-dark); }
  .hsearch svg { width: 18px; height: 18px; stroke-width: 2; }
  .hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: .92rem; -webkit-appearance: none; appearance: none; }
  .hsearch input::placeholder { color: var(--gray); }
  .hsearch input:focus-visible { outline: none; }
  .hsearch:focus-within { box-shadow: 0 0 0 2px var(--pink); }
  .hello .btn--outline { border-width: 1.5px; border-color: var(--soft-line); }

  .dtop { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; height: clamp(360px, calc(100dvh - 476px), 420px); }

  /* Sua semana: o elemento marcante da página */
  .week { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 30px; overflow: hidden; color: #fff; background: linear-gradient(160deg, #d9246e 0%, #c81a60 50%, #a3104c 100%); box-shadow: 0 30px 60px -34px rgba(176, 21, 79, .75); }
  .week :focus-visible { outline-color: #fff; }
  .week__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 0; }
  .week__h h2 { font-size: 1.25rem; letter-spacing: -0.02em; }
  .week__h p { margin-top: 3px; font-size: .82rem; }
  .week__go { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; }
  @media (hover: hover) { .week__go:hover { background: #fff; color: var(--pink-dark); } }
  .week__side { display: grid; justify-items: end; gap: 8px; }
  .week__legend { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; }
  .week__legend span { width: 20px; border-top: 2px dashed rgba(255, 255, 255, .75); }
  .week__plot { position: relative; flex: 1; min-height: 100px; margin: 12px 24px 0; }
  .week__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .week__line { fill: none; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
  .week__area { fill: url(#wfill); stroke: none; }
  .week__old { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
  .week__col { position: absolute; top: -8px; bottom: -42px; width: 60px; margin-left: -30px; border-radius: 18px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: left 520ms var(--spring); }
  .week__dot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #ff6fa3; border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); transition: left 520ms var(--spring), top 520ms var(--spring); }
  .week__tip { position: absolute; z-index: 2; display: grid; padding: 8px 12px; border-radius: 14px; background: rgba(70, 4, 32, .58); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .76rem; line-height: 1.3; white-space: nowrap; transform: translate(16px, calc(-100% - 10px)); transition: left 520ms var(--spring), top 520ms var(--spring), transform 520ms var(--spring); }
  .week__tip b { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .week__tip.is-left { transform: translate(calc(-100% - 16px), calc(-100% - 10px)); }
  .week__tip.is-below { transform: translate(16px, 12px); }
  .week__tip.is-left.is-below { transform: translate(calc(-100% - 16px), 12px); }
  .week__plot.is-empty .week__dot, .week__plot.is-empty .week__tip { display: none; }
  .week__empty { position: absolute; left: 0; right: 0; top: 22%; max-width: none; text-align: center; font-size: .9rem; font-weight: 600; }
  .week__days { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); justify-items: center; margin: 10px 24px 0; }
  .week__days button { height: 30px; min-width: 46px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: .84rem; font-weight: 700; text-align: center; }
  .week__days button[aria-selected="true"] { background: #fff; color: var(--pink-dark); box-shadow: 0 8px 18px -10px rgba(60, 2, 26, .8); }
  .week__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; height: 112px; margin-top: 26px; padding: 0 16px 18px; background: rgba(70, 4, 32, .2); }
  .wstat { display: grid; justify-items: center; text-align: center; font-size: .78rem; }
  .wstat b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; font-variant-numeric: tabular-nums; }
  .wstat span:last-child { font-size: .8rem; font-weight: 600; }
  .wstat--glass { align-self: stretch; align-content: center; margin-top: -22px; border-radius: 22px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 20px 34px -22px rgba(60, 2, 26, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

  /* Marcar horário e a cliente de agora */
  .tiles { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .tnew { display: flex; align-items: center; gap: 16px; min-height: 100px; padding: 0 22px; border-radius: 26px; color: #fff; text-align: left; background: linear-gradient(135deg, #d9246e 0%, #bf195c 100%); box-shadow: 0 22px 40px -28px rgba(214, 31, 105, .85); }
  @media (hover: hover) { .tnew:hover { background: linear-gradient(135deg, #c81a60 0%, #a3104c 100%); } }
  .tnew__i { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
  .tnew__i svg { width: 28px; height: 28px; }
  .tnew b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
  .tnew small { display: block; font-size: .85rem; }
  .tnew:focus-visible { outline-offset: 4px; }
  .tnow { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 20px 22px; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #fff5f9 0%, #ffe3ee 55%, #ffcfe1 100%); box-shadow: inset 0 0 0 1px #f8d3e1; }
  .tnow__waves { position: absolute; right: 0; bottom: 0; width: 100%; height: 60%; stroke: none; pointer-events: none; }
  .tnow__waves path { fill: var(--pink); fill-opacity: .07; }
  .tnow__h { position: relative; display: flex; align-items: center; gap: 12px; }
  .tnow__h .live { margin-left: auto; }
  .tnow__i { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: #fff; color: var(--pink); box-shadow: 0 10px 20px -12px rgba(176, 21, 79, .5); }
  .tnow__i svg { width: 24px; height: 24px; }
  .tnow__h h2 { font-size: 1.1rem; letter-spacing: -0.02em; }
  .tnow__b { position: relative; margin-top: auto; padding-top: 12px; }
  .tnow__when { color: var(--pink-dark); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
  .tnow__name { margin-top: 2px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; overflow-wrap: anywhere; }
  .tnow__svc { margin-top: 3px; color: #3b3b3b; font-size: .9rem; }
  .tnow__acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
  .tnow__go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--pink); background: #fff; color: var(--pink-dark); }
  .tnow__go svg { width: 18px; height: 18px; stroke-width: 2.4; }
  @media (hover: hover) { .tnow__go:hover { background: var(--pink); color: #fff; } }

  /* três cartões, cada um com o ícone saindo pela borda de cima */
  .dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 30px; }
  .dcard { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 44px 20px 18px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px #f3e6ec, 0 22px 44px -30px rgba(176, 21, 79, .4); }
  .dcard__badge { position: absolute; top: -30px; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin-left: -30px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #e0437f 0%, #c51a60 100%); box-shadow: 0 14px 26px -12px rgba(214, 31, 105, .8); }
  .dcard__badge svg { width: 26px; height: 26px; }
  .dcard__h { text-align: center; }
  .dcard__h h2 { font-size: 1.1rem; letter-spacing: -0.02em; }
  .dcard__sub { margin: 3px auto 0; color: var(--gray); font-size: .82rem; }
  .dcard__bar { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; font-size: .82rem; }
  .dcard__bar span { font-weight: 600; }
  .dcard__bar b { color: var(--pink-dark); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .meter { height: 8px; margin-top: 8px; border-radius: 8px; background: #f8e3ec; overflow: hidden; }
  .meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #ec5a97, #d61f69); }
  .dcard__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 14px; color: var(--gray); font-size: .8rem; }
  .dcard__btn { min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-dark); font-size: .8rem; font-weight: 700; white-space: nowrap; }
  @media (hover: hover) { .dcard__btn:hover { background: var(--pink); color: #fff; } }
  .dcard--list .alerts { margin-top: 10px; max-height: 196px; overflow-y: auto; }
  .dcard .alert { grid-template-columns: 30px 1fr; gap: 10px; padding: 7px 0; font-size: .85rem; line-height: 1.3; }
  .dcard .alert--step { grid-template-columns: 24px 1fr; padding: 5px 0; font-size: .82rem; }
  .dcard .alert__i { width: 30px; height: 30px; border-radius: 10px; }
  .dcard .alert__i svg { width: 16px; height: 16px; }
  .dcard .empty-row { padding: 12px 0; text-align: center; font-size: .85rem; }

  /* coluna da direita: clientes do dia e a Thay; fica parada enquanto o resto rola */
  .home__side { display: block; min-width: 0; background: var(--rail); border-left: 1px solid var(--rail-line); }
  .rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; height: calc(100dvh - 48px); padding: 28px 22px 22px; }
  .rail__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .rail__h h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; letter-spacing: -0.02em; }
  .rail__h h2 > svg { width: 20px; height: 20px; color: var(--pink); stroke-width: 2; }
  .rail__link { color: var(--pink-dark); font-size: .82rem; font-weight: 700; border-radius: 6px; }
  @media (hover: hover) { .rail__link:hover { text-decoration: underline; text-underline-offset: 3px; } }
  .rail__sub { color: var(--pink-dark); font-size: .78rem; font-weight: 600; }
  .rail__people { flex: none; display: grid; gap: 12px; }
  .seg2 { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 999px; background: #f5e8ee; }
  .seg2__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--pink); box-shadow: 0 8px 16px -10px rgba(214, 31, 105, .9); transform: translateX(calc(var(--x, 0) * 100%)); transition: transform 420ms var(--spring); }
  .seg2 button { position: relative; height: 34px; border-radius: 999px; color: var(--gray); font-size: .85rem; font-weight: 700; text-align: center; transition: color 200ms var(--ease-out); }
  .seg2 button[aria-pressed="true"] { color: #fff; }
  .rlist { display: grid; max-height: 248px; overflow-y: auto; }
  .rrow { display: flex; align-items: center; gap: 8px; }
  .rrow__b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 7px 0; text-align: left; }
  .rav { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: .78rem; font-weight: 800; }
  .rav--0 { background: #ffe8f0; color: #b0154f; }
  .rav--1 { background: #fbd3e3; color: #9e1146; }
  .rav--2 { background: #f7bdd3; color: #8e0f40; }
  .rav--3 { background: var(--pink); color: #fff; }
  .rrow__t { flex: 1; min-width: 0; display: grid; }
  .rrow__t b { overflow: hidden; font-size: .92rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .rrow__t span { overflow: hidden; color: var(--gray); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .rrow.is-done .rrow__t b, .rrow.is-miss .rrow__t b { color: var(--gray); }
  .rrow__wa { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1.5px solid var(--soft-line); color: var(--pink); }
  .rrow__wa svg { width: 16px; height: 16px; }
  @media (hover: hover) { .rrow__b:hover b { text-decoration: underline; text-underline-offset: 3px; } .rrow__wa:hover { background: var(--pink); border-color: var(--pink); color: #fff; } }
  .rempty { display: grid; justify-items: start; gap: 4px; padding: 6px 0; color: var(--gray); font-size: .88rem; }
  .rail__thay { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid #f1e1e9; }
  .tbadge { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #fff; font-size: .85rem; font-weight: 800; }
  .tbox { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 20px; background: #ffeaf2; }
  .tbox__log { flex: 1; min-height: 72px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
  .tbox .bub { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.4; }
  .tbox .bub--thay { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
  .tbox .bub--me { align-self: flex-end; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
  .tbox .typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 11px 14px; border-radius: 14px; background: #fff; }
  .tbox .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: typing 1.2s ease-in-out infinite; }
  .tbox .typing span:nth-child(2) { animation-delay: -1s; }
  .tbox .typing span:nth-child(3) { animation-delay: -.8s; }
  .tbox__sugs { display: flex; flex-wrap: wrap; gap: 6px; }
  .tbox__sugs .chip { min-height: 30px; padding: 0 10px; border-width: 1.5px; border-color: var(--soft-line); font-size: .74rem; }
  .tbox__in { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 4px 0 14px; border-radius: 999px; background: #fff; }
  .tbox__in input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: .85rem; }
  .tbox__in input:focus-visible { outline: none; }
  .tbox__in:focus-within { box-shadow: 0 0 0 2px var(--pink); }
  .tbox__in button { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; }
  .tbox__in button svg { width: 15px; height: 15px; stroke-width: 2.4; }
}
/* computador menor (1024 a 1279): a coluna da direita desce para baixo dos cartões, em duas colunas */
@media (min-width: 1024px) and (max-width: 1279px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .home__side { border-left: 0; border-top: 1px solid var(--rail-line); }
  .rail { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; height: auto; padding: 26px 32px 32px; }
  .rail__thay { padding-top: 0; border-top: 0; }
  .tbox__log { max-height: 220px; }
}

/* Celular estreito */
@media (max-width: 380px) {
  :root { --pad: 12px; }
  .hello__title, .vhead__title { font-size: 1.8rem; }
  .now__name { font-size: 1.6rem; }
  .quick__b { font-size: .72rem; }
  .entries { gap: 10px; }
  .entry__art { height: 120px; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .press:active, .nailbtn:active .nailbtn__slot, .nailbtn:hover .nailbtn__slot { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dock, .mbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .week__col, .week__tip, .wstat--glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .week__col { background: rgba(255, 255, 255, .2); }
  .week__tip { background: #7a0c38; }
  .wstat--glass { background: #b8165a; }
}
@media (prefers-contrast: more) {
  .muted, .row__svc, .tab, .nailbtn__pct, .card__meta { color: #333; }
  :root { --edge: rgba(0, 0, 0, .45); }
}


/* =====================================================================
   ROSA NOVO (pedido do dono, 10/11/2026): branco, letras pretas e um rosa mais delicado.
   Os cartões grandes deixam de ser rosa em degradê: ficam brancos, e o rosa fica nos detalhes
   (botões, linha da semana, ícones, o que está selecionado). Menu lateral branco, com o nome de cada parte.
   ===================================================================== */
.listview { padding: 4px 18px 8px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: 0; }
.lrow__name b { font-weight: 600; }
.lrow__cell { color: var(--gray); font-size: .9rem; font-variant-numeric: tabular-nums; }
.lrow__money { color: var(--black); font-weight: 600; }
.lrow__acts { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.lrow .stepper output { min-width: 32px; }
#t-servicos + .vhead__sub, [data-view="servicos"] .lrow { grid-template-columns: minmax(0, 1fr) auto auto auto; }
[data-view="estoque"] .lrow { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.lrow.is-low .lrow__name b { color: var(--pink-dark); }
@media (max-width: 1023px) {
  [data-view="servicos"] .lrow, [data-view="estoque"] .lrow { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; }
  [data-view="servicos"] .lrow__cell { display: none; }
  [data-view="estoque"] .lrow__cell { grid-column: 1; }
  [data-view="estoque"] .stepper { grid-row: 1 / span 2; grid-column: 2; }
  [data-view="estoque"] .lrow__acts { display: none; }
}

@media (min-width: 1024px) {
  :root { --frame: #f7f4f5; --side-w: 236px; }
  html, body { background: var(--frame); }
  .stage { margin-left: calc(24px + var(--side-w) + 24px); box-shadow: 0 30px 70px -60px rgba(0, 0, 0, .25); }

  /* menu lateral branco, com os nomes */
  .side { width: var(--side-w); align-items: stretch; gap: 6px; padding: 22px 14px 14px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -50px rgba(0, 0, 0, .3); }
  .side .brand { display: block; width: auto; height: auto; padding: 0 12px 10px; border-radius: 0; background: none; box-shadow: none; font-size: 1.5rem; color: var(--black); }
  .side .brand::after { width: 7px; height: 10px; margin-left: 2px; background: var(--pink); }
  .side :focus-visible { outline-color: var(--pink); }
  .side__new, .side__nav button, .side__me { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; padding: 0 14px; }
  .side__new { height: 46px; margin: 6px 0 12px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 600; box-shadow: 0 12px 24px -14px rgba(219, 39, 119, .7); }
  .side__new svg { width: 18px; height: 18px; }
  .side__nav { gap: 2px; }
  .side__nav button { height: 44px; border-radius: 12px; color: #3a3a3a; font-weight: 500; }
  .side__nav svg { width: 20px; height: 20px; }
  .side__nav button[aria-current="page"] { background: var(--pink-mist); color: var(--pink-dark); font-weight: 700; box-shadow: none; }
  .side__me { height: 56px; margin-top: auto; border-radius: 14px; }
  .side__me .avatar { width: 36px; height: 36px; background: var(--pink-soft); color: var(--pink-dark); }
  .side__l, .side :is(button, a):hover .side__l, .side :is(button, a):focus-visible .side__l { position: static; padding: 0; background: none; color: inherit; font-size: .95rem; font-weight: inherit; opacity: 1; transform: none; pointer-events: auto; }
  @media (hover: hover) { .side__nav button:not([aria-current="page"]):hover, .side__me:hover { background: #faf5f7; color: var(--black); } .side__new:hover { background: var(--pink-dark); } }

  /* Sua semana: cartão branco, a onda em rosa */
  .week { color: var(--black); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(0, 0, 0, .3); }
  .week :focus-visible { outline-color: var(--pink); }
  .week__h p { color: var(--gray); }
  .week__go { border-color: var(--pink-line); color: var(--pink-dark); }
  @media (hover: hover) { .week__go:hover { background: var(--pink); border-color: var(--pink); color: #fff; } }
  .week__legend { color: var(--gray); }
  .week__legend span { border-top-color: #c9c9c9; }
  .week__line { stroke: #ec4899; }
  .week__old { stroke: #cfcfcf; }
  .week__col { background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--pink-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .week__dot { background: #ec4899; border-color: #fff; box-shadow: 0 0 0 5px rgba(236, 72, 153, .18), 0 4px 10px rgba(0, 0, 0, .15); }
  .week__tip { background: #fff; color: var(--black); box-shadow: 0 0 0 1px var(--line), 0 12px 24px -12px rgba(0, 0, 0, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .week__tip span { color: var(--gray); }
  .week__days button { color: var(--gray); }
  .week__days button[aria-selected="true"] { background: var(--pink); color: #fff; box-shadow: 0 8px 16px -10px rgba(219, 39, 119, .7); }
  .week__stats { background: #fbf6f8; border-top: 1px solid var(--line); }
  .wstat span { color: var(--gray); }
  .wstat span:last-child { color: var(--gray); font-weight: 500; }
  .wstat--glass { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -22px rgba(0, 0, 0, .35); -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* Marcar horário: um botão rosa liso; a cliente de agora: cartão branco */
  .tnew { background: var(--pink); box-shadow: 0 18px 34px -24px rgba(219, 39, 119, .8); }
  @media (hover: hover) { .tnew:hover { background: var(--pink-dark); } }
  .tnow { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(0, 0, 0, .3); }
  .tnow__waves path { fill-opacity: .045; }
  .tnow__i { background: var(--pink-mist); box-shadow: none; }

  /* cartões de baixo: o ícone num azulejo rosa clarinho */
  .dcard { box-shadow: 0 0 0 1px var(--line), 0 24px 44px -36px rgba(0, 0, 0, .3); }
  .dcard__badge { color: var(--pink); background: #fff; box-shadow: 0 0 0 1px var(--pink-line), 0 12px 24px -14px rgba(219, 39, 119, .45); }
  .meter { background: var(--pink-mist); }
  .meter i { background: #ec4899; }

  /* coluna da direita */
  .home__side { background: #fff; border-left-color: var(--line); }
  .tbox { background: var(--pink-mist); }
  .seg2 { background: #f6f1f3; }
}

/* Telas de conta (entrar, criar conta, esqueci a senha, senha nova, ativar o rosto).
   Uma coluna de 400px, tudo começando na mesma linha da esquerda e terminando na mesma linha da direita:
   em cima a marca e o Voltar, no meio o formulário, embaixo a pergunta e o botão pequeno.
   No computador, à direita, um quadro rosa clarinho com a frase e o leque de unhas 3D. */
.conta { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain; background: #fff; display: grid; grid-template-columns: minmax(0, 1fr); }
.conta__card { display: flex; flex-direction: column; width: 100%; max-width: 440px; min-height: 100%; padding: max(14px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); }
.conta__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.conta__topo .brand { font-size: 1.4rem; }
.conta__voltar { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--black); transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.conta__voltar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.conta__corpo { display: flex; flex-direction: column; padding-top: 28px; }
.conta__unhas { display: block; width: calc(100% + 16px); max-width: 420px; height: auto; margin: -6px 0 6px -8px; }
.conta__t { font-size: clamp(1.9rem, 6.4vw, 2.35rem); line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.conta__s { margin-top: 10px; max-width: 36ch; color: var(--gray); font-size: 1rem; line-height: 1.5; }
.conta__s b { color: var(--black); font-weight: 600; word-break: break-all; }
.conta__form { display: grid; gap: 16px; margin-top: 28px; }
.conta__dois { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field__linha { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.conta__dica { margin-top: -8px; color: var(--gray); font-size: .85rem; }
.conta__dica.is-ok { color: #157a3d; }
.conta__dica--pe { margin-top: 18px; }
.conta__form .btn { min-height: 52px; font-size: 1rem; gap: 10px; }
.conta__form .btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.conta__form .btn--pink { margin-top: 4px; }
.conta .btn:disabled, .conta__mini:disabled, .conta__voltar:disabled { opacity: .55; cursor: progress; }
.conta__ou { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: -4px 0; color: var(--gray); font-size: .85rem; }
.conta__ou::before, .conta__ou::after { content: ""; height: 1px; background: var(--line); }
/* "Esqueci a senha": link pequeno na linha do rótulo */
.conta__link { padding: 0; font-weight: 600; font-size: .86rem; color: var(--pink-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* embaixo: a pergunta à esquerda e o botão pequeno à direita, na mesma altura */
.conta__pe { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--gray); font-size: .92rem; }
.conta__mini { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--pink); border-radius: 999px; background: #fff; color: var(--pink-dark); font-weight: 700; font-size: .88rem; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.conta__ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--pink-soft); color: var(--pink-dark); }
.conta__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .conta__voltar:hover { background: var(--pink-mist); border-color: var(--pink-line); }
  .conta__mini:hover { background: var(--pink); color: #fff; }
  .conta__link:hover { color: var(--black); }
}
/* senha com o olhinho para mostrar */
.senha { position: relative; display: block; }
.senha .input { padding-right: 52px; }
.senha__ver { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; color: var(--gray); }
.senha__ver svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.senha__ver[aria-pressed="true"] { color: var(--pink); }
.conta__lado { display: none; }
@media (min-width: 560px) {
  .conta__card { max-width: 520px; padding-left: 40px; padding-right: 40px; }
  .conta__dois { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .conta { grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr); }
  .conta__card { max-width: none; padding: 28px clamp(48px, 6vw, 96px) 36px; }
  .conta__card > * { width: 100%; max-width: 400px; }
  .conta__corpo { margin-block: auto; padding-block: 40px 8px; }
  .conta__unhas { display: none; }
  .conta__lado { display: block; position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 16px 16px 16px 0; }
  .conta__quadro { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: clamp(44px, 5.5vw, 80px); border-radius: 28px; background: var(--pink-mist); }
  .conta__frase { max-width: 15ch; font-size: clamp(2.2rem, 3.3vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; color: var(--black); }
  .conta__sub { max-width: 34ch; margin-top: 18px; color: var(--gray); font-size: 1.05rem; line-height: 1.5; }
  .conta__quadro img { width: 114%; max-width: 1000px; height: auto; margin: auto -11% -1% auto; padding-top: 24px; }
}
@media (min-width: 1000px) and (max-height: 760px) { .conta__quadro img { width: 92%; } }
/* enquanto salva na nuvem, uma bolinha discreta no topo (só aparece se der erro) */
html[data-nuvem="erro"] body::after { content: "Sem internet: as mudanças vão ser salvas quando voltar"; position: fixed; z-index: 70; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--black); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* =========================================================================
   CELULAR NOVO (10/11/2026): tudo no mesmo alinhamento.
   Uma grade só: 16px de margem nas bordas, 18px dentro dos cartões, 16px entre um bloco e outro.
   Títulos, cartões e listas começam na mesma linha da marca lá em cima.
   ========================================================================= */
@media (max-width: 1023px) {
  :root { --pad: 16px; --gap: 16px; --in: 18px; }
  .mbar { background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent; }
  .main { padding: 6px var(--pad) calc(var(--dock-h) + 28px); }
  .view { gap: var(--gap); }

  /* cabeçalho das páginas: título à esquerda, a ação à direita, na mesma altura */
  .hello, .vhead { padding: 6px 0 0; }
  .hello__title, .vhead__title { font-size: 1.95rem; line-height: 1.08; }
  .hello__date { margin-bottom: 4px; }
  .vhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 14px; }
  .vhead__actions { justify-content: flex-end; }
  .vhead__actions .btn { min-height: 44px; padding: 0 18px; }

  /* Agenda: a troca de semana numa linha só, embaixo do título, do tamanho da tela */
  [data-view="agenda"] .vhead__actions { grid-column: 1 / -1; justify-content: stretch; }
  [data-view="agenda"] .weeknav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; width: 100%; margin: 0; gap: 8px; }
  [data-view="agenda"] .weeknav .chip { display: flex; align-items: center; justify-content: center; min-height: 44px; }
  /* Estúdio: os botões de "Seus dados" numa grade de dois, todos do mesmo tamanho */
  .dbbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dbbtns .btn { width: 100%; min-height: 44px; padding: 6px 12px; white-space: normal; line-height: 1.2; text-align: center; }
  .dbbtns .btn[hidden] { display: none; }
  .iconbtn { width: 44px; height: 44px; }

  /* os dias: o número de clientes sem a palavra, para caber sem apertar */
  .days { gap: 6px; }
  .daybtn { gap: 4px; padding: 10px 2px 9px; border-width: 1px; border-radius: 14px; }
  .daybtn__n { font-size: .75rem; font-variant-numeric: tabular-nums; }

  /* cartões: mesma borda, mesmo raio, mesmo recuo por dentro */
  .card, .box { padding: 16px var(--in) 8px; border: 1px solid var(--line); border-radius: 20px; }
  .card__head, .box__h { align-items: center; min-height: 32px; margin-bottom: 2px; }
  .card__t, .box__h h2 { font-size: 1.08rem; }
  .today { padding: 18px var(--in); border-radius: 22px; gap: 14px; }
  .row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; min-height: 64px; padding: 10px 0; }

  /* Clientes: busca e filtros na mesma margem; os filtros deslizam de lado em vez de quebrar a linha */
  .cfilter { margin-top: 0; gap: 12px; }
  .cfilter .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .cfilter .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 40px; }
  .person { min-height: 68px; }

  /* Torneios: o "Como funciona" com número e texto lado a lado, o texto corrido */
  .how__list li { display: block; position: relative; padding: 14px 0 14px 34px; line-height: 1.45; }
  .how__list li::before { position: absolute; left: 0; top: 14px; width: 22px; }
  .how__list b { display: block; margin-bottom: 2px; }

  /* Thay: o T fica na mesma margem da direita, acima das abas */
  .thayfab { right: var(--pad); width: 50px; height: 50px; bottom: calc(var(--dock-h) + 12px); }
}
@media (max-width: 479px) { .daybtn__w { display: none; } }
@media (max-width: 360px) {
  .vhead { grid-template-columns: 1fr; }
  .vhead__actions { justify-content: stretch; }
  .vhead__actions .btn { flex: 1; }
}

/* Link de agendamento (Estúdio) */
.studio__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.slug { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--edge); border-radius: 10px; background: #fff; overflow: hidden; }
.slug:focus-within { border-color: var(--black); outline: 2px solid var(--pink); outline-offset: 1px; }
.slug__pre { display: flex; align-items: center; flex: none; max-width: 55%; padding: 0 2px 0 14px; color: var(--gray); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slug .input { flex: 1; min-width: 0; border: 0; padding-left: 2px; }
.slug .input:focus-visible { outline: none; }
.check--wide { width: auto; }
.fotoedit { display: flex; align-items: center; gap: 14px; }
.fotoedit__img { display: block; flex: none; width: 96px; height: 64px; border-radius: 12px; background: var(--pink-mist) url("assets/unhas-conta.webp") center 70% / 140% auto no-repeat; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.fotoedit__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fotoedit .btn { cursor: pointer; }
.fotoedit label:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .form__row { grid-template-columns: 1fr; } }
/* passo a passo para preparar o banco do link */
.prep { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--pink-line); }
.prep__t { font-weight: 800; letter-spacing: -0.01em; }
.prep__l { display: grid; gap: 12px; margin-top: 8px; counter-reset: none; }
.prep__l li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.prep__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--pink-dark); font-weight: 800; font-size: .85rem; box-shadow: inset 0 0 0 1px var(--pink-line); }
.prep__l div { display: grid; gap: 8px; justify-items: start; padding-top: 3px; }
.prep__l b { font-weight: 600; }
.prep__msg { font-size: .88rem; font-weight: 600; color: var(--pink-dark); }
.prep__msg:empty { display: none; }

/* Sua semana: no lugar da coluna rosa, um fio tracejado do ponto da onda até o nome do dia (opção A, escolhida pelo dono) */
@media (min-width: 1024px) {
  .week__col { top: 50%; bottom: -10px; width: 0; margin-left: -1px; border-radius: 0; background: none; box-shadow: none; border-left: 2px dotted #ec4899; opacity: .7; -webkit-backdrop-filter: none; backdrop-filter: none; transition: left 520ms var(--spring), top 520ms var(--spring); }
  .week__plot.is-empty .week__col, .week__plot.is-empty .week__line, .week__plot.is-empty .week__area { display: none; }
  .week__ghost { fill: none; stroke: var(--pink-line); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .week__base { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .week__empty { position: absolute; z-index: 2; left: 50%; right: auto; top: 50%; transform: translate(-50%, -55%); display: grid; justify-items: center; gap: 10px; width: max-content; max-width: calc(100% - 24px); padding: 14px 20px; border-radius: 18px; background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--pink-line); text-align: center; }
  .week__empty p { max-width: 34ch; font-size: .88rem; font-weight: 600; color: var(--black); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .week__col { transition: none; } }

/* Área de membros (painel) */
.clube-grid { display: grid; gap: 16px; }
.clube-dl { display: grid; }
.clube-dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.clube-dl > div:first-child { border-top: 0; }
.clube-dl dt { color: var(--gray); font-size: .9rem; }
.clube-dl dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.clube-link { font-weight: 600; overflow-wrap: anywhere; }
.clube-cod { padding: 4px 12px; border-radius: 8px; background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--pink-line); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.clube-ajuda { padding-top: 8px; }
.pill--ok { background: #e7f6ec; color: #157a3d; }
.input--codigo { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.lrow__name { display: grid; gap: 2px; min-width: 0; }
.lrow__resumo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-view="membros"] .lrow { grid-template-columns: minmax(0, 1fr) auto; }
@media (min-width: 1024px) {
  .clube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
/* os quatro cartões de Membros com o mesmo recuo e o título na mesma altura */
[data-view="membros"] .card { padding: 18px 20px 8px; }
[data-view="membros"] .card__head { align-items: center; min-height: 38px; margin-bottom: 4px; }
[data-view="membros"] .clube-entrada { padding-bottom: 16px; }

/* instalar o painel como app */
.passos-inst { display: grid; gap: 8px; margin-top: 14px; padding-left: 20px; }

/* comunidade no painel */
.lrow--post { grid-template-columns: 52px minmax(0, 1fr) auto !important; }
.post-mini { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--pink-mist); }
.post-mini--txt { display: grid; place-items: center; color: var(--pink-dark); font-weight: 800; }
.seg-op { display: flex; flex-wrap: wrap; gap: 8px; }
.coms-dona { padding: 0; margin-top: 8px; }

/* os dois links do app no painel */
.clube-dl > .clube-linha { align-items: start; }
.clube-linha dd { display: grid; gap: 6px; justify-items: start; }
.clube-sub { color: var(--gray); font-size: .84rem; }
.clube-bts { display: flex; flex-wrap: wrap; gap: 8px; }
.clube-bts .chip { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }

/* =====================================================================
   Thay no computador: a barra de cima (escolhida pelo dono em 11/11/2026)
   Uma barra só, no topo de todas as páginas: pergunta para a Thay ou busca uma cliente (tecla /).
   A resposta abre num cartão logo embaixo e some ao clicar fora. A coluna do Início fica só para as clientes.
   ===================================================================== */
@media (min-width: 1024px) {
  .tbar { position: relative; z-index: 30; padding: 22px 40px 0; }
  .tbar__campo { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); height: 50px; padding: 0 10px 0 7px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px var(--pink-line), 0 14px 28px -22px rgba(219, 39, 119, .7); transition: box-shadow 150ms var(--ease-out); }
  .tbar__campo:focus-within, .tbar.is-open .tbar__campo { box-shadow: 0 0 0 2px var(--pink), 0 14px 28px -22px rgba(219, 39, 119, .7); }
  .tbar__campo .tbadge { flex: none; width: 36px; height: 36px; font-size: .95rem; }
  .tbar__campo input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: .98rem; -webkit-appearance: none; appearance: none; }
  .tbar__campo input::placeholder { color: var(--gray); }
  .tbar__campo input:focus-visible { outline: none; }
  .tbar__kbd { flex: none; min-width: 26px; padding: 2px 8px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); color: var(--gray); font: inherit; font-size: .82rem; font-weight: 600; text-align: center; }
  .tbar__pop { position: absolute; left: 40px; top: calc(100% + 8px); display: flex; flex-direction: column; gap: 12px; width: min(560px, calc(100% - 80px)); max-height: min(560px, calc(100dvh - 140px)); padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 34px 70px -34px rgba(60, 4, 30, .45); }
  .tbar__clientes { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .tbar__cli { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 12px; text-align: left; }
  .tbar__cli .rav { width: 36px; height: 36px; }
  .tbar__cli b { display: block; font-size: .92rem; }
  .tbar__cli small { display: block; color: var(--gray); font-size: .8rem; }
  .tbar__cli:hover, .tbar__cli:focus-visible { background: var(--pink-mist); }
  .tbar__log { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .tbar__log .bub { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
  .tbar__log .bub--thay { align-self: flex-start; background: var(--pink-mist); border-bottom-left-radius: 4px; }
  .tbar__log .bub--me { align-self: flex-end; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
  .tbar__log .typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 14px; background: var(--pink-mist); }
  .tbar__log .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: typing 1.2s ease-in-out infinite; }
  .tbar__log .typing span:nth-child(2) { animation-delay: -1s; }
  .tbar__log .typing span:nth-child(3) { animation-delay: -.8s; }
  .tbar__sugs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
  .tbar__sugs .chip { min-height: 34px; font-size: .84rem; }
  /* as páginas começam logo abaixo da barra */
  .view { padding-top: 22px; }
  .home__main { padding-top: 22px; }
  .home { min-height: calc(100dvh - 48px - 72px); }
  .rail { top: 24px; height: auto; max-height: calc(100dvh - 120px); }
  /* a busca do Início e o botão T saem: os dois agora são a barra */
  .hello__tools { display: none; }
  .thayfab, .mini { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .rail { align-items: start; } .rail__people { align-content: start; } .rail__msgs { padding-top: 0 !important; border-top: 0 !important; } }
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .tbar__log .typing span { animation: none; } }
@media (min-width: 1024px) { .tbar__cli .rav { display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--pink-dark); font-size: .72rem; font-weight: 800; } }

/* =====================================================================
   Mensagens do dia, o mês até hoje e as fotos dos trabalhos (11/11/2026)
   Mensagens: uma lista do que mandar no WhatsApp hoje (lembrar o horário de amanhã e chamar de volta).
   No computador fica na coluna da direita, embaixo das clientes; no celular, numa caixa do Início.
   ===================================================================== */
.msgs__g + .msgs__g { margin-top: 12px; }
.msgs__h { margin: 4px 0 2px; color: var(--gray); font-size: .8rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.msgs__l li + li { border-top: 1px solid var(--line); }
.msg { display: flex; align-items: center; gap: 10px; }
.msg__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 0; text-align: left; border-radius: 10px; }
.msg .rav { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink-soft); color: var(--pink-dark); font-size: .74rem; font-weight: 800; }
.msg__t { min-width: 0; display: grid; }
.msg__t b { overflow: hidden; font-size: .94rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.msg__t span { overflow: hidden; color: var(--gray); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.msg__btn { flex: none; min-height: 36px; padding: 0 15px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .84rem; font-weight: 700; }
.msg__btn--linha { background: #fff; color: var(--pink-dark); box-shadow: inset 0 0 0 1.5px var(--pink-line); }
.msg__st { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--pink-mist); color: var(--pink-dark); font-size: .78rem; font-weight: 700; }
.msg__st--ok { background: #e7f6ec; color: #157a3d; }
.msg__st svg { width: 14px; height: 14px; stroke-width: 2.4; }
@media (hover: hover) {
  .msg__btn:hover { background: var(--pink-dark); }
  .msg__btn--linha:hover, button.msg__st:hover { background: var(--pink-soft); }
  .msg__who:hover b { text-decoration: underline; text-underline-offset: 3px; }
}
.msgs__vazio { padding: 4px 0 12px; color: var(--gray); font-size: .9rem; }
.msgs__mais { margin: 4px 0 6px; }
.box.msgs { margin-top: 14px; padding-bottom: 8px; }
.pill--alerta { background: var(--pink); color: #fff; }
.dnote { padding: 12px 14px; border-radius: 14px; background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--pink-line); font-size: .92rem; line-height: 1.45; }

/* o mês até hoje: o total, duas barras (este mês e o mesmo pedaço do mês passado) e quatro números */
.mes { margin-top: 14px; padding: 18px 18px 16px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; }
.mes__h h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
.mes__h p { margin-top: 2px; color: var(--gray); font-size: .85rem; }
.mes__total { margin-top: 14px; }
.mes__total b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.mes__total p { margin-top: 6px; font-size: .9rem; }
.mes__bars { display: grid; align-content: center; gap: 10px; margin-top: 16px; }
.mes__bar { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .84rem; }
.mes__bar > span:first-child { color: var(--gray); font-weight: 600; }
.mes__trilho { height: 12px; overflow: hidden; border-radius: 999px; background: var(--pink-mist); }
.mes__trilho i { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--pink); }
.mes__bar--antes .mes__trilho i { background: #f9a8d4; }
.mes__bar b { min-width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
.mes__dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.mes__dl dt { color: var(--gray); font-size: .8rem; line-height: 1.3; }
.mes__dl dd { margin-top: 2px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mes__vazio { margin-top: 10px; color: var(--gray); font-size: .9rem; }

/* fotos dos trabalhos (no painel do Estúdio) */
.port { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.port__f { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--pink-mist); }
.port__f img { display: block; width: 100%; height: 100%; object-fit: cover; }
.port__x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--black); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.port__x svg { width: 14px; height: 14px; stroke-width: 2.4; }
.port__add { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 1; padding: 6px; border: 1.5px dashed var(--pink-line); border-radius: 12px; color: var(--pink-dark); font-size: .8rem; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; }
.port__add svg { width: 22px; height: 22px; }
.port__add:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }
.port__add.is-busy { pointer-events: none; opacity: .7; }
@media (hover: hover) { .port__add:hover { background: var(--pink-mist); } }

@media (min-width: 1024px) {
  /* na coluna da direita, embaixo das clientes */
  .rail__msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid #f1e1e9; }
  .rail__msgs > div { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .rail .rlist { max-height: 200px; }
  .rail__msgs .msg { gap: 8px; }
  .rail__msgs .msg__who { gap: 10px; padding: 7px 0; }
  .rail__msgs .msg .rav { width: 34px; height: 34px; font-size: .7rem; }
  .rail__msgs .msg__t b { font-size: .9rem; }
  .rail__msgs .msg__t span { font-size: .76rem; }
  .rail__msgs .msg__btn { min-height: 32px; padding: 0 12px; font-size: .78rem; }
  .rail__msgs .msg__st { min-height: 28px; padding: 0 9px; font-size: .74rem; }
  /* o mês: uma faixa embaixo dos três cartões */
  .mes { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; margin-top: 20px; padding: 24px 28px; border: 0; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -36px rgba(0, 0, 0, .3); }
  .mes__body { display: contents; }
  .mes__h { grid-column: 1; grid-row: 1; }
  .mes__total { grid-column: 1; grid-row: 2; align-self: end; }
  .mes__bars { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .mes__dl { grid-column: 3; grid-row: 1 / 3; align-content: center; margin-top: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); }
  .mes__vazio { grid-column: 2 / 4; grid-row: 1 / 3; align-self: center; margin: 0; }
}

/* =====================================================================
   Mensagens no menu (pedido do dono em 11/11/2026): o Início fica sem a coluna da direita.
   A seção Mensagens junta lembrar o horário, a hora da manutenção e as clientes do dia.
   ===================================================================== */
.msg-lead { margin: -4px 0 16px; }
.msg-grid { display: grid; gap: 14px; }
.msgcard .card__head { flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.msgcard .chips { flex-wrap: nowrap; }
.msgcard .chip { min-height: 34px; }
.msg__wa { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--pink-line); color: var(--pink); }
.msg__wa svg { width: 16px; height: 16px; }
.msg .pill { flex: none; }
@media (hover: hover) { .msg__wa:hover { background: var(--pink); color: #fff; box-shadow: none; } }
/* celular: o atalho do Início */
.msgatalho { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; text-align: left; }
.msgatalho__i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--pink-soft); color: var(--pink-dark); }
.msgatalho__i svg { width: 20px; height: 20px; }
.msgatalho__t { flex: 1; min-width: 0; display: grid; }
.msgatalho__t b { font-size: 1rem; }
.msgatalho__t small { color: var(--pink-dark); font-size: .86rem; font-weight: 600; }
.msgatalho__seta { flex: none; width: 20px; height: 20px; color: var(--gray); }
@media (min-width: 720px) { .msg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 1024px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .home__main { padding-right: 32px; }
  .msg-grid { gap: 20px; }
}
@media (min-width: 1360px) { .msg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
