/* DestaqueArt — visual do site novo: base, acesso, app do cliente e admin. A página inicial (abertura, celular 3D,
   história) fica em home.css, carregado só nela.
   Preto, grafite, cinza, prata e branco. Fonte Manrope. Pensado primeiro para o celular. */
:root {
  --bg: #1b1c20;
  --bg-2: #16171a;
  --card: #25272b;
  --card-2: #2e3035;
  --card-3: #3a3d43;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --ink: #f3f3f1;
  --ink-2: #c3c8cf;
  --mute: #9ea5af;
  --mute-2: #767d87;
  --silver: linear-gradient(120deg, #f4f4f2, #c9ced6);
  --silver-solid: #c9ced6;
  --on-silver: #1e2227;
  /* Cor de destaque da marca (27/09/2026, a mesma das artes do Instagram): roxo em degradê, só em detalhes pequenos. */
  --accent: #8b5cf6;
  --accent-grad: linear-gradient(120deg, #6d28d9, #a855f7);
  --accent-glow: rgba(139, 92, 246, .45);
  --ok: #8fd6a8;
  --warn: #f2cd7d;
  --bad: #f3a59d;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --font: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --side-w: 288px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 500 15.5px/1.6 var(--font); letter-spacing: -.012em; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--silver-solid); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--silver-solid); color: var(--on-silver); }
.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: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--silver); color: var(--on-silver); font-weight: 800; }
.skip:focus { top: 12px; }
.icon { flex: none; }
.mark { flex: none; }
.preview-tag { position: fixed; z-index: 90; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(201, 206, 214, .12); border: 1px solid rgba(201, 206, 214, .35); color: var(--silver-solid); font-size: 11px; font-weight: 700; pointer-events: none; }

/* ---------- Tipografia ---------- */
.h-hero { font-size: clamp(38px, 9.5vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.h1 { font-size: clamp(28px, 6.5vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.h2 { font-size: clamp(26px, 5.5vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.shine { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lead { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.muted { color: var(--mute); }
.small { font-size: 13px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card-2); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, opacity .2s; }
.btn:hover { background: var(--card-3); }
.btn:active { transform: scale(.98); }
.btn--silver { background: var(--silver); border-color: transparent; color: var(--on-silver); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn--silver:hover { background: var(--silver); filter: brightness(1.05); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--ink-2); padding: 0 12px; }
.btn--quiet:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.btn--danger { background: transparent; border-color: rgba(243, 165, 157, .35); color: var(--bad); }
.btn--danger:hover { background: rgba(243, 165, 157, .08); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--mute); transition: background .2s, color .2s; flex: none; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.icon-btn--line { border: 1px solid var(--line-2); border-radius: 50%; }
.link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--mute-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Superfícies e avisos ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--pad { padding: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.chip--solid { background: rgba(22, 23, 26, .78); border-color: transparent; color: var(--ink); backdrop-filter: blur(8px); }
.chip--ok { color: var(--ok); border-color: rgba(143, 214, 168, .35); }
.chip--warn { color: var(--warn); border-color: rgba(242, 205, 125, .35); }
.chip--bad { color: var(--bad); border-color: rgba(243, 165, 157, .35); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot--live { background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 214, 168, .5); } 70% { box-shadow: 0 0 0 8px rgba(143, 214, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 214, 168, 0); } }
.alert { padding: 12px 14px; border-radius: 14px; font-size: 14px; background: var(--card); border: 1px solid var(--line-2); }
.alert--bad { background: rgba(243, 165, 157, .08); border-color: rgba(243, 165, 157, .3); color: var(--bad); }
.alert--ok { background: rgba(143, 214, 168, .08); border-color: rgba(143, 214, 168, .3); color: var(--ok); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 48px 20px; text-align: center; color: var(--mute); }
.empty strong { color: var(--ink); font-size: 16px; }
.empty .icon { color: var(--mute-2); }
.empty .btn { margin-top: 6px; }
.list { display: grid; }
.list > * + * { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 60px; }
a.row:hover, button.row:hover { background: rgba(255, 255, 255, .025); }
button.row { width: 100%; text-align: left; }
.row__main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.row__main strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__main small { color: var(--mute); font-size: 13px; overflow-wrap: anywhere; }
.row__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card-2); color: var(--ink-2); flex: none; }
.row__end { color: var(--mute); display: flex; align-items: center; gap: 8px; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 16px; }
.form-2 { display: grid; gap: 14px; }
@media (min-width: 620px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, .field > label { color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.field em { color: var(--mute); font-style: normal; font-weight: 500; }
.field small { color: var(--mute); font-size: 12.5px; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 16px; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(201, 206, 214, .6); }
::placeholder { color: var(--mute-2); }
.password { position: relative; display: block; }
.password input { padding-right: 86px !important; }
.password button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 12px; border-radius: 10px; color: var(--mute); font-size: 12.5px; font-weight: 700; }
.password button:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: #c9ced6; }

/* Animações usadas também pelo app (cursor da máquina de escrever, arte aparecendo, brilho) */
@keyframes caret { 50% { opacity: 0; } }
@keyframes art-in { from { filter: blur(14px) brightness(.5); transform: scale(1.06); } }
@keyframes shine { to { transform: translateX(120%); } }


/* ======================================================================
   ACESSO (entrar, cadastro, aguardando)
   ====================================================================== */
.auth { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(60% 45% at 85% 0%, rgba(201, 206, 214, .08), transparent 70%), var(--bg); }
.auth__top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1180px; margin: 0 auto; padding: 16px 18px; }
.auth__top img { height: 18px; width: auto; }
.auth__main { display: grid; place-items: center; padding: 16px 16px 40px; }
.auth__card { width: min(440px, 100%); display: grid; gap: 22px; }
.auth__card--wide { width: min(560px, 100%); }
.auth__card header { display: grid; gap: 10px; }
.auth__card header p { color: var(--mute); }
.auth__alt { text-align: center; color: var(--mute); font-size: 14px; }
.auth__plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); }
.auth__plan div { flex: 1; display: grid; }
.auth__plan small { color: var(--mute); font-size: 12px; }
.auth__foot { display: flex; justify-content: center; gap: 18px; padding: 18px; color: var(--mute-2); font-size: 12.5px; }
.state { display: grid; justify-items: center; gap: 16px; max-width: 520px; text-align: center; }
.state p { color: var(--ink-2); }
.orbit { position: relative; display: grid; place-items: center; width: 110px; height: 110px; margin-bottom: 8px; color: var(--silver-solid); }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); }
.orbit::after { inset: 16px; border-color: rgba(201, 206, 214, .25); border-top-color: var(--silver-solid); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: inline-flex; gap: 5px; }
.loading i { width: 6px; height: 6px; border-radius: 50%; background: var(--silver-solid); animation: blink 1.2s infinite; }
.loading i:nth-child(2) { animation-delay: .2s; }
.loading i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ======================================================================
   APP DO CLIENTE (menu lateral + área principal)
   ====================================================================== */
.app { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.side { position: fixed; z-index: 30; inset: 0 auto 0 0; width: min(var(--side-w), 86vw); display: flex; flex-direction: column; gap: 8px; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); background: var(--bg-2); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .35s var(--ease); }
.app.is-side-open .side { transform: none; box-shadow: 30px 0 80px rgba(0, 0, 0, .5); }
.side-backdrop { position: fixed; z-index: 25; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.app.is-side-open .side-backdrop { opacity: 1; pointer-events: auto; }
.side__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px; }
.side__top img { height: 17px; width: auto; }
.side__close .icon { transform: rotate(180deg); }
.side__new { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 14px; background: var(--silver); color: var(--on-silver); font-weight: 800; font-size: 14.5px; }
.side__new:hover { filter: brightness(1.05); }
.side__nav { display: grid; gap: 1px; margin-top: 4px; }
.side__link { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.side__link:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.side__link.is-active { background: var(--card-2); color: var(--ink); }
.side__link .icon { color: var(--mute); }
.side__link b { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--card-3); color: var(--ink); font-size: 11.5px; text-align: center; }
/* Lista de conversas: os itens mantêm a altura (não "espremem" quando a lista cresce) e a lista rola;
   o topo (logo, Nova conversa, menu) e o rodapé (uso, conta) ficam fixos. Degradê suave nas bordas da rolagem. */
.side > :not(.convs) { flex: none; }
.convs { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; margin: 6px -4px 0; padding: 0 4px 10px; scrollbar-width: thin; scrollbar-color: var(--card-3) transparent; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent); }
.convs > * { flex: none; }
.convs__label { padding: 16px 10px 6px; color: var(--mute-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.convs__label:first-child { padding-top: 8px; }
.convs__empty { padding: 14px 10px; color: var(--mute-2); font-size: 13.5px; }
.conv { display: block; min-height: 36px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
.conv:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.conv.is-active { background: var(--card-2); color: var(--ink); }
.side__foot { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.meter-card { display: grid; gap: 7px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.meter-card__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mute); }
.meter-card__row strong { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.meter-card__row strong small { font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.meter-card > small { color: var(--mute-2); font-size: 11.5px; }
.meter-card__reset { display: flex; align-items: center; gap: 5px; margin-top: -2px; color: var(--mute); font-size: 11.5px; }
.meter-card__reset[hidden] { display: none; }
.meter-card__reset b { color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.meter-card__reset .icon { color: var(--mute-2); }
.meter-card__row--sm { margin-top: 3px; font-size: 12px; }
.meter-card__row--sm strong { font-size: 13px; }
.meter-card.is-full > small { color: var(--ink-2); font-weight: 700; }
progress.progress--thin { height: 3px; }
.usage-bars { display: grid; gap: 14px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.usage-bars > div { display: grid; gap: 6px; }
.usage-bars progress { height: 7px; }
.usage-bars small { font-size: 12px; }
progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: 5px; background: var(--card-3); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--card-3); }
progress::-webkit-progress-value { background: var(--silver); border-radius: 5px; }
progress::-moz-progress-bar { background: #c9ced6; }
.me { display: flex; align-items: center; gap: 10px; padding: 4px 4px 0 6px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card-3); border: 1px solid var(--line-2); font-weight: 800; font-size: 13.5px; flex: none; }
.me__name { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.me__name strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me__name small { color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.stage__top { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 8px; border-bottom: 1px solid transparent; flex: none; }
.stage.is-scrolled .stage__top, .stage--page .stage__top { border-color: var(--line); }
.stage__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__actions { display: flex; align-items: center; min-width: 40px; justify-content: flex-end; }
/* Fundo do chat: manchas de luz prateada andando bem devagar (mesma linguagem da apresentação, mais discreta)
   + grade de pontinhos que some nas bordas. Fica atrás de tudo, não recebe cliques e para com "reduzir movimento". */
.stage--chat { position: relative; isolation: isolate; }
.chat-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.chat-bg i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; animation: chat-drift 20s ease-in-out infinite alternate; }
.chat-bg i:nth-child(1) { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, rgba(201, 206, 214, .26), transparent 65%); }
.chat-bg i:nth-child(2) { width: 540px; height: 540px; right: -200px; top: 25%; background: radial-gradient(circle, rgba(150, 165, 190, .2), transparent 65%); animation-duration: 24s; animation-delay: -8s; }
.chat-bg i:nth-child(3) { width: 500px; height: 500px; left: 20%; bottom: -260px; background: radial-gradient(circle, rgba(244, 244, 242, .13), transparent 65%); animation-duration: 18s; animation-delay: -12s; }
@keyframes chat-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(220px, 150px) scale(1.2); } 100% { transform: translate(-140px, 90px) scale(.9); } }
.chat-bg__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 80%); animation: chat-dots 60s linear infinite; }
@keyframes chat-dots { to { background-position: 26px 52px; } } /* anda 1 e 2 casas da grade: loop sem emenda */
@media (prefers-reduced-motion: reduce) { .chat-bg i, .chat-bg__dots { animation: none; } }
.stage__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--card-3) transparent; }
.page { width: 100%; max-width: 980px; margin: 0 auto; padding: 22px 16px 60px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: start; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.page-head > div { display: grid; gap: 6px; }
.page-head p { color: var(--mute); }
@media (min-width: 900px) {
  .side { position: relative; transform: none; width: var(--side-w); flex: none; }
  .side__close, .side-backdrop, .stage__menu { display: none; }
  .stage__top { padding: 0 16px; }
  .stage__title { text-align: left; padding-left: 8px; }
  .page { padding: 34px 28px 70px; }
}

/* Menu suspenso */
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255, 255, 255, .06); color: var(--ink); }
.menu__panel { position: absolute; z-index: 20; right: 0; top: 46px; width: 260px; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #26282d; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); animation: pop .2s var(--ease); }
.menu__danger { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--bad); font-weight: 700; font-size: 14px; }
.menu__danger:hover { background: rgba(243, 165, 157, .08); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Chat ---------- */
.thread__inner { width: 100%; max-width: 760px; margin: 0 auto; padding: 18px 16px 28px; display: flex; flex-direction: column; gap: 24px; min-height: 100%; }
@media (min-width: 900px) { .thread__inner { padding: 28px 24px 36px; } }
.welcome { margin: auto 0; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px 0; animation: rise .5s var(--ease); }
.welcome__mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 8px; border-radius: 20px; background: linear-gradient(160deg, rgba(201, 206, 214, .16), rgba(201, 206, 214, .03)); border: 1px solid rgba(201, 206, 214, .25); color: var(--silver-solid); }
.welcome h2 { font-size: clamp(28px, 7vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.welcome p { color: var(--mute); font-size: 16px; }
.suggest { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.suggest button { display: grid; gap: 3px; padding: 13px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-align: left; transition: border-color .2s, background .2s; }
.suggest button:hover { border-color: var(--line-2); background: var(--card-2); }
.suggest strong { font-size: 14px; }
.suggest span { color: var(--mute); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.msg { display: flex; gap: 12px; animation: rise .35s var(--ease); }
.msg--user { justify-content: flex-end; }
.msg__content { min-width: 0; display: grid; gap: 10px; }
.msg--user .msg__content { max-width: 82%; justify-items: end; }
.msg--user .msg__text { padding: 11px 16px; border-radius: 22px 22px 6px 22px; background: var(--card-2); border: 1px solid var(--line); }
.msg--bot .msg__content, .msg--team .msg__content { flex: 1; padding-top: 3px; }
.msg--team .bot-mark { background: var(--silver); color: var(--on-silver); border: 0; font-size: 12px; font-weight: 800; }
.msg__who { color: var(--mute); font-size: 12.5px; font-weight: 700; }
.msg__text { overflow-wrap: anywhere; }
.msg__text p + p, .msg__text p + ul, .msg__text p + ol, .msg__text ul + p, .msg__text ol + p { margin-top: 10px; }
.msg__text ul, .msg__text ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.msg__text ul { list-style: disc; }
.msg__text ol { list-style: decimal; }
.msg__text li::marker { color: var(--silver-solid); }
.msg__text strong { color: #fff; }
.msg__text code { padding: 1px 6px; border-radius: 6px; background: var(--card-2); font-size: .9em; }
.msg__files { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.msg__files a { display: block; width: 96px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.msg__files img { width: 100%; height: 100%; object-fit: cover; }
/* Foto que o cliente mandou e foi apagada pela limpeza de 7 dias */
.msg__file-gone { display: grid; place-items: center; align-content: center; gap: 4px; width: 96px; aspect-ratio: 1; padding: 8px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--card); color: var(--mute); text-align: center; }
.msg__file-gone small { font-size: 10.5px; line-height: 1.3; }
.msg.is-pending { opacity: .65; }
/* Logo da Luna ao lado das respostas; enquanto pensa: anel prateado girando, logo "respirando" e "Pensando" com brilho
   (mesma linguagem da abertura do site e do "Criando sua arte"). */
.msg > .bot-mark { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; color: #f3f3f1; }
.msg > .bot-mark svg { width: 13px; height: auto; }
.msg > .bot-mark.is-thinking::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 50%, rgba(201, 206, 214, .25) 68%, #f4f4f2 95%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.8px), #000 calc(100% - 1.3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.8px), #000 calc(100% - 1.3px)); animation: think-spin 1s linear infinite; }
.msg > .bot-mark.is-thinking::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 244, 242, .2), transparent 68%); animation: think-halo 1.6s ease-in-out infinite; }
.msg > .bot-mark.is-thinking svg { animation: think-breathe 1.6s ease-in-out infinite; }
@keyframes think-spin { to { transform: rotate(360deg); } }
@keyframes think-halo { 0%, 100% { transform: scale(.7); opacity: .3; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes think-breathe { 50% { transform: scale(.86); opacity: .7; } }
/* Pontinhos: três bolinhas prateadas em onda (sobem e acendem uma depois da outra), com um leve brilho */
.think-dots { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 2px; }
.think-dots i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(140deg, #f4f4f2, #9ea5af); box-shadow: 0 0 0 rgba(244, 244, 242, 0); opacity: .35; animation: think-dot 1.2s cubic-bezier(.45, 0, .35, 1) infinite; }
.think-dots i:nth-child(2) { animation-delay: .16s; }
.think-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes think-dot { 0%, 60%, 100% { transform: translateY(0) scale(.85); opacity: .35; box-shadow: 0 0 0 rgba(244, 244, 242, 0); } 30% { transform: translateY(-6px) scale(1.1); opacity: 1; box-shadow: 0 0 10px rgba(244, 244, 242, .45); } }
@media (prefers-reduced-motion: reduce) { .msg > .bot-mark.is-thinking::after, .msg > .bot-mark.is-thinking::before, .msg > .bot-mark.is-thinking svg, .think-dots i { animation: none; } .think-dots i { opacity: .7; } }/* Máquina de escrever: cursor prateado piscando no fim do texto enquanto a resposta "digita" */
.type-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; border-radius: 1px; background: #c9ced6; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.msg.is-typing .msg__content > :not(.msg__text) { opacity: 0; transform: translateY(6px); }
/* Resposta com busca na internet: sites consultados, discretos embaixo do texto */
.msg__sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #9ea5af; transition: opacity .4s, transform .4s; }
.msg__sources > span { display: inline-flex; align-items: center; gap: 5px; }
.msg__sources a { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border: 1px solid #3a3d43; border-radius: 999px; color: #c3c8cf; text-decoration: none; transition: border-color .2s, color .2s; }
.msg__sources a:hover, .msg__sources a:focus-visible { border-color: #9ea5af; color: #f3f3f1; }
/* Cartões entram um depois do outro quando o texto termina: durante a escrita a animação fica desligada e, ao tirar
   is-typing, ela começa (com atraso crescente por item). */
.msg.is-typing .idea, .msg.is-typing .date-item, .msg.is-typing .order-item { animation: none; }
.date-item, .order-item { animation: rise .5s var(--ease) both; }
.date-item:nth-child(2), .order-item:nth-child(2) { animation-delay: .08s; } .date-item:nth-child(3), .order-item:nth-child(3) { animation-delay: .16s; }
.date-item:nth-child(4), .order-item:nth-child(4) { animation-delay: .24s; } .date-item:nth-child(5), .order-item:nth-child(5) { animation-delay: .32s; }
.msg .msg__content > * { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.typing { display: inline-flex; gap: 5px; padding: 10px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--silver-solid); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }

/* Cartões dentro do chat (pedido, progresso, entrega) */
.forming { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 80% at 30% 20%, #34373d, #202226); }
.forming::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .09) 45%, rgba(255, 255, 255, .03) 55%, transparent 65%); transform: translateX(-100%); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

/* Caixa de mensagem */
.dock { flex: none; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 12px calc(10px + env(safe-area-inset-bottom)); }
.composer { display: grid; gap: 8px; padding: 8px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 -10px 40px rgba(27, 28, 32, .92); transition: border-color .2s; }
.composer:focus-within { border-color: rgba(201, 206, 214, .5); }
.composer__row { display: flex; align-items: flex-end; gap: 4px; }
.composer textarea { flex: 1; min-height: 40px; max-height: 200px; padding: 9px 6px; border: 0; background: transparent; resize: none; outline: none; font-size: 16px; line-height: 1.45; }
.composer__attach { position: relative; overflow: hidden; cursor: pointer; }
.composer__attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--silver); color: var(--on-silver); flex: none; transition: opacity .2s, transform .2s; }
.send:hover { transform: scale(1.04); }
.send[disabled] { opacity: .3; cursor: default; transform: none; }
.composer__files { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 0; }
.composer__file { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.composer__file img { width: 100%; height: 100%; object-fit: cover; }
.composer__file button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .75); color: #fff; font-size: 14px; line-height: 1; }
.dock__note { padding: 8px 4px 0; color: var(--mute-2); font-size: 11.5px; text-align: center; }
.dock .alert { margin-bottom: 8px; }

/* ---------- Minhas artes ---------- */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 99px; color: var(--mute); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg .is-active { background: var(--card-3); color: var(--ink); }
.seg b { color: var(--mute-2); font-size: 12px; }
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .art-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tile { display: grid; gap: 8px; }
.tile__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.tile__media img, .tile__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__badge { position: absolute; left: 8px; top: 8px; }
.tile__meta { display: flex; justify-content: space-between; gap: 8px; padding: 0 2px; font-size: 13px; }
.tile__meta small { color: var(--mute); }
.tile__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; padding: 14px; text-align: center; color: var(--mute); font-size: 13px; }
.tile__placeholder strong { color: var(--ink); }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--mute); font-size: 13px; }

/* Folha (modal) */
.sheet { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.sheet__panel { position: relative; width: 100%; max-height: 92vh; display: flex; flex-direction: column; background: #202226; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 80px rgba(0, 0, 0, .55); animation: sheet-in .4s var(--ease); }
.sheet__panel::before { content: ""; width: 38px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: var(--line-2); flex: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 20px 12px; flex: none; }
.sheet__head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.sheet__body { overflow-y: auto; padding: 4px 20px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; overscroll-behavior: contain; }
.sheet__body > * { flex-shrink: 0; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 760px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { max-width: 720px; border-radius: 26px; border-bottom: 1px solid var(--line-2); }
  .sheet__panel::before { display: none; }
  .sheet__head { padding: 22px 26px 12px; }
  .sheet__body { padding: 4px 26px 26px; }
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.pill input:checked + span { background: var(--card-3); border-color: var(--silver-solid); color: var(--ink); }

/* Conta */
.account { display: grid; gap: 16px; }
/* Computador: a marca (cartão alto) ocupa a coluna da direita nas duas linhas, e "Seus dados" sobe para logo abaixo do plano. */
@media (min-width: 900px) { .account { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; align-items: start; } .account__brand { grid-column: 2; grid-row: 1 / span 2; } }
.big-num { font-size: 44px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.big-num small { font-size: 15px; color: var(--mute); font-weight: 600; letter-spacing: 0; }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.lessons { display: grid; gap: 12px; }
.lesson { overflow: hidden; }
.lesson__media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #0f1012; }
.lesson__media video { width: 100%; height: 100%; }
.lesson__media audio { width: 90%; }
.lesson__media a { display: grid; justify-items: center; gap: 8px; color: var(--ink-2); font-weight: 700; }
.lesson__body { display: grid; gap: 6px; padding: 16px 18px; }
.lesson__body p { color: var(--mute); font-size: 14px; }

/* Visualizador em tela cheia */
.viewer { position: fixed; z-index: 99; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: rgba(12, 13, 15, .97); animation: fade .2s; }
.viewer__top, .viewer__bottom { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.viewer__top strong { flex: 1; font-size: 14px; }
.viewer__stage { display: grid; place-items: center; min-height: 0; padding: 0 12px; overflow: hidden; cursor: zoom-out; }
.viewer__stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: art-in .35s var(--ease) both; cursor: default; }
.viewer__bottom { justify-content: center; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
@keyframes fade { from { opacity: 0; } }
body.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; } }

/* ======================================================================
   ADMIN NOVO (painel): Início, Clientes, ficha do cliente, Gastos, Luna
   ====================================================================== */
.page--wide { max-width: 1180px; }
.side__label { margin: 14px 10px 2px; color: var(--mute-2); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.side__foot--push { margin-top: auto; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
a.stat:hover { border-color: var(--line-2); }
.stat small { color: var(--mute); font-size: 12.5px; font-weight: 700; }
.stat strong { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--mute-2); font-size: 12.5px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1000px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .duo--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.card__head--flat { padding: 0; border: 0; align-items: flex-start; }
.card__empty { padding: 22px 18px; color: var(--mute); font-size: 14px; }
/* Início do admin (simples): gasto, artes criadas, artes com erro */
.row__icon--bad { background: rgba(243, 165, 157, .12); color: var(--bad); }
.spend { display: grid; justify-items: end; gap: 1px; }
.spend strong { color: var(--ink); font-size: 14.5px; }
.spend small { font-size: 12px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); align-items: start; gap: 14px; padding: 18px; }
.art-grid figcaption { display: grid; gap: 1px; min-width: 0; }
.art-grid figcaption a { font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-grid figcaption small { color: var(--mute); font-size: 12px; }
@media (max-width: 600px) { .art-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; min-height: 46px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--mute); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; text-align: left; color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table__main { display: flex; align-items: center; gap: 10px; }
.table__main > span:last-child { display: grid; }
.table__main small { color: var(--mute); font-size: 12.5px; }
.table__main:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; gap: 6px; width: max-content; color: var(--mute); font-size: 13.5px; font-weight: 700; }
.back .icon { transform: rotate(180deg); }
.back:hover { color: var(--ink); }
.client-head { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .client-head { grid-template-columns: auto 1fr auto; } }
.client-head__main { display: grid; gap: 6px; min-width: 0; }
.client-head__main a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.client-head__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin: 0; }
.client-head__facts dt { color: var(--mute); font-size: 12px; font-weight: 700; }
.client-head__facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.avatar--lg { width: 58px; height: 58px; font-size: 22px; }
.prompt-box { max-height: 460px; overflow: auto; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); font: 500 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13.5px; font-weight: 700; transition: background .15s, border-color .15s, color .15s; }
.pick:hover span { border-color: rgba(201, 206, 214, .45); }
.pick input:checked + span { background: var(--silver); border-color: transparent; color: var(--on-silver); }
.pick input:focus-visible + span { outline: 2px solid var(--silver-solid); outline-offset: 2px; }
/* Marca: cores com "+ cor" e "×" (as escondidas ficam desativadas e não são enviadas) */
.colors { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.color { position: relative; display: inline-grid; }
.color[hidden] { display: none; }
.field .color input[type=color], .color input[type=color] { -webkit-appearance: none; appearance: none; display: block; width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; cursor: pointer; overflow: hidden; }
.color input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.color input[type=color]::-webkit-color-swatch { border: 1px solid var(--line-2); border-radius: 50%; }
.color input[type=color]::-moz-color-swatch { border: 1px solid var(--line-2); border-radius: 50%; }
.color__x { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--card-3); color: var(--ink); font-size: 12px; line-height: 1; opacity: 0; transition: opacity .15s; }
.color:hover .color__x, .color__x:focus-visible { opacity: 1; }
@media (hover: none) { .color__x { opacity: 1; } }
.color-add { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--mute); font-size: 12.5px; font-weight: 700; }
.color-add:hover { color: var(--ink); border-color: var(--mute); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick--clear span { color: var(--mute-2); }
.brand-more summary { display: flex; align-items: baseline; gap: 10px; cursor: pointer; list-style: none; }
.brand-more summary::-webkit-details-marker { display: none; }
.brand-more summary::before { content: '+'; width: 14px; color: var(--mute); font-weight: 800; }
.brand-more[open] summary::before { content: '−'; }
.brand-more[open] summary { margin-bottom: 16px; }
.brand-status { display: flex; align-items: center; gap: 8px; color: var(--warn); font-size: 13px; font-weight: 700; }
.brand-status.is-ok { color: var(--ok); }
/* Exportar / importar a marca (ficha do cliente → Marca) */
.brand-transfer { display: grid; gap: 10px; }
.brand-transfer__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.brand-transfer__row .upload-row { flex: 1; min-width: 260px; }
.tab-warn { color: var(--warn) !important; }
.row--tight { min-height: 0; padding: 10px 16px; }
.row__main strong a { color: inherit; }
/* Interruptor liga/desliga (campanha na ficha do cliente) */
.toggle { position: relative; width: 40px; height: 24px; border-radius: 99px; background: var(--card-3); transition: background .2s; flex: none; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-2); transition: transform .2s var(--ease), background .2s; }
.toggle.is-on { background: var(--silver); }
.toggle.is-on i { transform: translateX(16px); background: var(--on-silver); }
/* Campanhas (admin) */
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form__grow { flex: 1; min-width: 220px; }
.campaign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.campaign-tile { display: grid; gap: 4px; min-width: 0; }
.campaign-tile__img { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 6px; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); color: var(--mute); transition: border-color .2s; }
.campaign-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.campaign-tile:hover .campaign-tile__img { border-color: var(--line-2); }
.campaign-tile strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.campaign-tile small { color: var(--mute); font-size: 12px; }
.campaign-tile.is-paused { opacity: .55; }
.client-picker { display: grid; gap: 10px; }
.client-picker[hidden] { display: none; }
.search--sm { min-height: 38px; min-width: 0; flex: none; }
.search--sm input { font-size: 13.5px; }
.client-picker__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; padding: 2px; }
.client-pick { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; font-size: 13.5px; }
.client-pick[hidden] { display: none; }
.client-pick span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.client-pick small { color: var(--mute); font-size: 11.5px; }
.client-pick:has(input:checked) { border-color: rgba(201, 206, 214, .5); background: var(--card-2); }
.client-pick input { accent-color: #c9ced6; }
.danger-zone { display: flex; justify-content: flex-end; }
.sticky-save { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: max-content; max-width: 100%; padding: 10px; border-radius: 99px; background: rgba(32, 34, 38, .88); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.sticky-save small { padding-right: 10px; }
.logo-box { display: grid; place-items: center; min-height: 140px; padding: 18px; border-radius: 16px; background: repeating-conic-gradient(#2a2c31 0 25%, #232428 0 50%) 0 0 / 18px 18px; border: 1px solid var(--line); }
.logo-box img { max-height: 110px; width: auto; object-fit: contain; }
/* Marca d'água (admin → Marca): bloco abaixo do logo. */
.mark-block { display: grid; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.logo-box--mark { min-height: 120px; }
.mark-block h4 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.upload-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.upload-row input[type=file] { flex: 1; min-width: 200px; color: var(--mute); font-size: 13.5px; }
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ref { position: relative; margin: 0; }
.ref img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.ref form { position: absolute; top: 4px; right: 4px; }
/* Modelos de carrossel (admin → Marca): cada modelo numa fileira que rola para o lado, cards na ordem. */
.carousel-set { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.carousel-set__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.carousel-set__cards { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.carousel-set__cards figure { margin: 0; display: grid; gap: 4px; }
.carousel-set__cards img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.carousel-set__cards figcaption { font-size: 11px; color: var(--ink-2); text-align: center; }
.ref .icon-btn { width: 32px; height: 32px; background: rgba(22, 23, 26, .85); color: var(--ink); }
.convo { display: grid; gap: 14px; align-items: start; }
@media (min-width: 1000px) { .convo { grid-template-columns: 300px 1fr; } }
.convo__list { display: grid; max-height: 70vh; overflow: auto; }
.convo__item { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.convo__item strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convo__item small { color: var(--mute); font-size: 12px; }
.convo__item:hover { background: rgba(255, 255, 255, .03); }
.convo__item.is-active { background: var(--card-2); }
.convo__thread { display: grid; gap: 12px; padding: 18px; max-height: 70vh; overflow: auto; align-content: start; }
.bubble { display: grid; gap: 4px; max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bubble small { color: var(--mute); font-size: 11.5px; font-weight: 700; }
.bubble--user { justify-self: end; background: var(--card-2); border: 1px solid var(--line); border-bottom-right-radius: 5px; }
.bubble--luna { justify-self: start; background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble p + p, .bubble ul, .bubble ol { margin-top: 6px; }
.bubble ul, .bubble ol { padding-left: 18px; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--mute); font-size: 13px; line-height: 1.55; }
.note .icon { flex: none; margin-top: 2px; color: var(--ok); }
@media (min-width: 700px) { .form-2--cols { grid-template-columns: 1fr 1fr; } }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 12px; }
.bars__col { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; min-width: 0; }
.bars__col i { align-self: end; display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #f4f4f2, #9ea5af); opacity: .85; }
.bars__col:hover i { opacity: 1; }
.bars__col small { color: var(--mute-2); font-size: 10px; text-align: center; }
/* Conta do cliente: resumo da marca (só leitura) */
.brand-card { display: grid; gap: 14px; }
.brand-card__top { display: flex; align-items: center; gap: 14px; }
.brand-card__logo { display: grid; place-items: center; width: 64px; height: 64px; flex: none; padding: 8px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.brand-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card__colors { display: flex; gap: 6px; }
.brand-card__colors i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); }
/* Admin novo: telas de produção (Pedidos, Planos, Calendário, Aulas, Aviso) */
.stack { display: grid; gap: 16px; align-content: start; }
.cards-3 { display: grid; gap: 16px; }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.month-nav { display: flex; align-items: center; gap: 12px; }
.month-nav strong { min-width: 150px; text-align: center; font-size: 16px; }
.flip .icon { transform: rotate(180deg); }
.date-badge { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--card-2); line-height: 1; }
.date-badge strong { font-size: 17px; font-weight: 800; }
.date-badge small { color: var(--mute); font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
.row.is-active { background: var(--card-2); }
a.row:hover { background: rgba(255, 255, 255, .03); }
.fold summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold[open] summary { margin-bottom: 14px; }
.fold > .list { margin: 0 -22px -22px; border-top: 1px solid var(--line); }
.field--inline select, .field--inline input { min-height: 46px; padding-top: 10px; padding-bottom: 10px; font-size: 14.5px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 12px; border-top: 1px solid var(--line); }
/* Pedidos do admin em grade compacta (bento): miniatura, cliente, formato, voto. Abre numa janela no centro. */
.order-grid__head { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.order-tile { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease), background .2s; }
.order-tile:hover { border-color: var(--line-2); background: var(--card-2); transform: translateY(-2px); }
.order-tile.is-active { border-color: var(--silver-solid); }
.order-tile__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--card-2); overflow: hidden; }
.order-tile__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.order-tile__icon { color: var(--mute); }
.order-tile__pos { position: absolute; top: 7px; left: 7px; padding: 3px 8px; border-radius: 99px; background: rgba(12, 13, 15, .78); color: var(--ink); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.order-tile.is-pending .order-tile__pos { box-shadow: 0 0 0 1px var(--line-2); }
.order-tile__tag { position: absolute; bottom: 7px; left: 7px; padding: 2px 7px; border-radius: 99px; background: rgba(12, 13, 15, .72); color: var(--ink-2); font-size: 10px; font-weight: 700; }
.order-tile__vote { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.order-tile__vote--up { background: #1f9d5b; }
.order-tile__vote--down { background: #d0463b; }
.order-tile__meta { display: grid; gap: 3px; padding: 9px 11px 11px; min-width: 0; }
.order-tile__top { display: flex; justify-content: space-between; gap: 6px; min-width: 0; }
.order-tile__top strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-tile__top small { color: var(--mute); font-weight: 700; font-size: 11px; flex: none; }
.order-tile__line { color: var(--ink-2); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-tile__line .is-warn { color: var(--warn, #e0a84a); font-weight: 700; }
.sheet--order .sheet__panel { max-width: 760px; }
.sheet--order .sheet__head { align-items: flex-start; }
.sheet--order .sheet__head h2 { margin: 3px 0 2px; }
.order-head__kicker { color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.order-head__side { display: flex; align-items: center; gap: 8px; flex: none; }
.order-art { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.order-art a { position: relative; flex: none; width: 150px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); cursor: zoom-in; }
.order-art img { display: block; width: 100%; }
.order-art span { position: absolute; top: 6px; left: 6px; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: rgba(12, 13, 15, .78); font-size: 11px; font-weight: 800; text-align: center; }
.order-vote { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.order-vote > div { display: grid; gap: 3px; flex: 1; min-width: 0; }
.order-vote small { color: var(--ink-2); }
.order-vote p { color: var(--ink); font-size: 14px; line-height: 1.5; }
.order-vote__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; color: #fff; }
.order-vote--up { border-color: rgba(31, 157, 91, .45); }
.order-vote--up .order-vote__icon { background: #1f9d5b; }
.order-vote--down { border-color: rgba(208, 70, 59, .5); }
.order-vote--down .order-vote__icon { background: #d0463b; }
.credit-rate { display: grid; grid-template-columns: minmax(200px, 280px) auto; align-items: end; gap: 10px; }
.credit-rate p { grid-column: 1 / -1; }
.credit-rate .btn { justify-self: start; }
@media (max-width: 560px) { .credit-rate { grid-template-columns: 1fr; } }
.chip--link { cursor: pointer; transition: border-color .2s, color .2s; }
.chip--link:hover { border-color: var(--silver-solid); color: var(--ink); }
/* Ficha do cliente → Conta: uso extra (artes a mais no mês, liberar a hora, desfazer). */
.extra-usage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.extra-usage > div { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.extra-usage small { color: var(--mute); font-size: 11px; }
.extra-usage strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.extra-usage progress { width: 100%; height: 4px; }
.extra-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.extra-custom { display: flex; align-items: flex-end; gap: 8px; }
.extra-custom .field { flex: 1; }
.extra-list { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.extra-list__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-head .h2 { font-size: clamp(24px, 3vw, 30px); margin: 4px 0; }
.order-head a { text-decoration: underline; text-underline-offset: 3px; }
.prose { color: var(--ink-2); font-size: 15px; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; }
.prose-list { display: grid; gap: 4px; padding-left: 20px; color: var(--ink-2); }
.pin-art { position: relative; width: min(100%, 360px); }
.pin-art img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.pin-art__pin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--silver); color: var(--on-silver); font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .45); }
.ref__file { display: grid; place-items: center; align-content: center; gap: 4px; aspect-ratio: 4 / 5; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--mute); }
.list--boxed { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.list--boxed .row { padding: 10px 12px; min-height: 0; }
/* ======================================================================
   ARTES NO CHAT: resumo (Criar arte), criando, arte pronta, edição com pinos
   ====================================================================== */
.msg--proposal .msg__content, .msg--job .msg__content, .msg--art .msg__content, .msg--failed .msg__content { width: 100%; max-width: 460px; }
.msg__text--bad { color: var(--bad); }
.art-brief { display: grid; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); }
.art-brief header { display: flex; flex-wrap: wrap; gap: 6px; }
.art-brief dl { display: grid; gap: 8px; margin: 0; }
.art-brief dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 14px; }
.art-brief dt { color: var(--mute); font-size: 12.5px; font-weight: 700; padding-top: 1px; }
.art-brief dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.art-brief__caption summary { cursor: pointer; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.art-brief__caption p { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
/* Admin → ficha → Conversas: cartões do chat em versão compacta (arte, resumo, edição, ideias) */
.convo__arts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.convo__arts a, .convo__edit a { display: block; width: 88px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); cursor: zoom-in; }
.convo__arts img, .convo__edit img { display: block; width: 100%; height: auto; }
.convo__card { display: grid; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.convo__card pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.convo__edit { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: start; margin-top: 6px; }
.convo__edit ol, .convo__list-small { margin: 4px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
/* "Aviso aos clientes" (admin) no topo do chat, Minhas artes e Conta */
.notice-banner { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; width: 100%; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(244, 244, 242, .08), rgba(201, 206, 214, .03)); border: 1px solid rgba(201, 206, 214, .28); animation: rise .5s var(--ease) both; }
.notice-banner__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--silver); color: var(--on-silver); }
.notice-banner strong { display: block; font-size: 14.5px; }
.notice-banner p { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.notice-banner small { display: block; margin-top: 8px; color: var(--mute); font-size: 12.5px; }
/* Aviso da equipe em janela por cima (client/notice-modal.php): imagem ou vídeo + texto; fecha só em "Entendi". */
.notice-modal { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(10, 10, 12, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: rise .35s var(--ease) both; }
.notice-card { display: grid; gap: 14px; width: min(520px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 18px; border-radius: 22px; background: #1f2024; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.notice-card__tag { display: inline-flex; align-items: center; gap: 7px; color: var(--mute); font-size: 12px; font-weight: 700; }
.notice-card__media { position: relative; overflow: hidden; border-radius: 16px; background: #111214; border: 1px solid var(--line); }
.notice-card__media img, .notice-card__media video { display: block; width: 100%; max-height: 56dvh; object-fit: contain; background: #0c0c0e; }
.notice-card__media video { cursor: pointer; }
.notice-card__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; background: rgba(0, 0, 0, .35); color: #f3f3f1; transition: opacity .25s; }
.notice-card.is-playing .notice-card__play { opacity: 0; pointer-events: none; }
.notice-card__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.notice-card__bar i { display: block; width: 0; height: 100%; background: var(--silver); transition: width .25s linear; }
.notice-card__body h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.notice-card__body p { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.notice-card__body small { display: block; margin-top: 10px; color: var(--mute); font-size: 12.5px; }
.notice-card__foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 40px; }
.notice-card__wait { margin-right: auto; color: var(--mute); font-size: 12.5px; }
.notice-card.is-watched .notice-card__bar i { background: #7fd6a4; }
/* Admin → Avisos: formulário + lista. */
@media (min-width: 1100px) { .duo--notice { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.check--card { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); }
.check--card span { display: grid; gap: 2px; }
.check--card strong { color: var(--ink); font-size: 13.5px; }
.check--card small { color: var(--mute); font-size: 12px; }
.notice-thumb { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #0c0c0e; }
.notice-thumb img, .notice-thumb video { display: block; width: 100%; max-height: 260px; object-fit: contain; }
.notice-list { display: grid; }
.notice-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.notice-item:first-child { border-top: 0; }
.notice-item.is-paused { opacity: .6; }
.notice-item__media { display: grid; place-items: center; width: 56px; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: var(--mute); }
.notice-item__media img { width: 100%; height: 100%; object-fit: cover; }
.notice-item__main { display: grid; gap: 5px; min-width: 0; }
.notice-item__main strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.notice-item__actions { display: flex; align-items: center; gap: 4px; }
@media (max-width: 640px) { .notice-item { grid-template-columns: 48px minmax(0, 1fr); } .notice-item__media { width: 48px; } .notice-item__actions { grid-column: 1 / -1; justify-content: flex-end; } }
.page > .notice-banner { margin-bottom: 18px; }
/* Dica da Luna antes do "Criar arte": caixa prateada discreta, com botão "Enviar foto" quando a dica é uma foto */
/* Dica da Luna em destaque (pedido do usuário, 27/09/2026): borda prateada que "respira", uma luz passando de tempos
   em tempos e a estrela pulsando — para o cliente realmente ver antes de tocar em "Criar arte". */
.art-tip { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px 12px; padding: 13px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(244, 244, 242, .12), rgba(201, 206, 214, .04) 60%); border: 1px solid rgba(244, 244, 242, .45); box-shadow: 0 0 0 1px rgba(244, 244, 242, .06), 0 10px 30px rgba(0, 0, 0, .25); animation: rise .5s var(--ease) both, tip-glow 2.6s ease-in-out .6s infinite; }
.art-tip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-120%); animation: tip-sweep 4.5s ease-in-out 1s infinite; pointer-events: none; }
@keyframes tip-glow { 0%, 100% { border-color: rgba(244, 244, 242, .35); box-shadow: 0 0 0 1px rgba(244, 244, 242, .04), 0 10px 30px rgba(0, 0, 0, .25); } 50% { border-color: rgba(244, 244, 242, .75); box-shadow: 0 0 0 3px rgba(244, 244, 242, .08), 0 0 26px rgba(244, 244, 242, .14), 0 10px 30px rgba(0, 0, 0, .25); } }
@keyframes tip-sweep { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.art-tip__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--accent-grad); color: #fff; box-shadow: 0 0 16px var(--accent-glow); animation: tip-spark 2.6s ease-in-out .6s infinite; }
@keyframes tip-spark { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(-8deg); } }
.art-tip strong { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.art-tip strong::before { content: "Dica"; padding: 1px 7px; border-radius: 99px; background: var(--accent-grad); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .art-tip, .art-tip::after, .art-tip__icon { animation: none; } }
.art-tip p { margin-top: 2px; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.art-tip .btn { grid-column: 2; justify-self: start; }
.art-brief footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.art-brief footer small { flex: 1; min-width: 180px; font-size: 12.5px; }
/* Campanha: chip no resumo e cartão de prévia ("Sim, usar esta campanha" / "Não, usar minha marca") */
.chip--campaign { color: var(--ink); border-color: rgba(201, 206, 214, .45); background: rgba(244, 244, 242, .06); }
.campaign-card { display: grid; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); animation: rise .5s var(--ease) both; }
.campaign-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.campaign-card header strong { font-size: 15px; }
.campaign-card__refs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.campaign-card__refs a { flex: none; width: 118px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card-2); }
.campaign-card__refs img { width: 100%; height: 100%; object-fit: cover; }
.campaign-card footer { display: flex; flex-wrap: wrap; gap: 8px; }
.msg.is-typing .campaign-card { animation: none; }
/* Criando / editando: só um "carregando" em loop (estilo ChatGPT, com a cara da Destaque).
   Texto com brilho passando + moldura do tamanho da arte pronta; a arte entra no mesmo lugar. */
.msg--job .msg__content { max-width: 460px; }
.art-job { display: grid; justify-items: start; gap: 10px; margin-top: 2px; }
.art-job__label { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: transparent; background: linear-gradient(90deg, #6f7680 0, #6f7680 60px, #f4f4f2 100px, #6f7680 140px, #6f7680 200px) 0 0 / 200px 100% repeat-x; -webkit-background-clip: text; background-clip: text; animation: job-text 1.6s linear infinite; }
@keyframes job-text { from { background-position-x: 0; } to { background-position-x: 200px; } } /* anda exatamente 1 faixa: loop sem emenda */
.art-job__frame { position: relative; width: 220px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; isolation: isolate; background: radial-gradient(130% 100% at 25% 15%, #2e3035, #16171a 72%); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.art-job__frame--story { width: 170px; aspect-ratio: 9 / 16; }
/* Carrossel usa a mesma moldura do Post (pedido do usuário: animação padronizada nos três formatos). */
/* Carrossel em criação: coluna de vagas ao lado da animação; cada card pronto entra na sua vaga. */
.art-job__view { display: flex; align-items: flex-start; gap: 8px; }
.art-job__cards { display: grid; gap: 6px; width: 44px; }
.art-job__slot { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 8px; border: 1px dashed var(--line-2); background: var(--card-2); overflow: hidden; }
.art-job__slot b { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.art-job__slot.is-next { border-style: solid; border-color: var(--silver-solid); animation: slot-pulse 1.6s ease-in-out infinite; }
@keyframes slot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 244, 242, 0); } 50% { box-shadow: 0 0 0 3px rgba(244, 244, 242, .18); } }
.art-job__slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.art-job__slot.is-ready { border-style: solid; border-color: var(--line-2); animation: none; }
.art-job__slot.is-ready img { opacity: 1; animation: art-in .7s var(--ease) both; }
.art-job__slot.is-ready b { position: absolute; left: 3px; bottom: 3px; z-index: 1; min-width: 15px; height: 15px; border-radius: 5px; background: rgba(22, 23, 26, .78); color: #f3f3f1; font-size: 9.5px; line-height: 15px; text-align: center; }
/* Luz prateada girando devagar */
.art-job__aurora { position: absolute; inset: -50%; background: conic-gradient(from 0deg, rgba(244, 244, 242, .16), rgba(58, 61, 67, 0) 22%, rgba(201, 206, 214, .14) 45%, rgba(58, 61, 67, 0) 68%, rgba(158, 165, 175, .16) 85%, rgba(244, 244, 242, .16)); filter: blur(22px); animation: job-aurora 9s linear infinite; }
@keyframes job-aurora { to { transform: rotate(360deg); } } /* volta inteira, sem ida e volta */
/* Logo da Destaque no centro, "respirando" */
.art-job__mark { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #f3f3f1; animation: job-breathe 3.2s ease-in-out infinite; }
.art-job__mark::before { content: ''; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 244, 242, .16), transparent 70%); animation: job-halo 3.2s ease-in-out infinite; }
.art-job__mark svg { position: relative; filter: drop-shadow(0 4px 18px rgba(244, 244, 242, .25)); }
@keyframes job-breathe { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes job-halo { 0%, 100% { transform: scale(.7); opacity: .4; } 50% { transform: scale(1.25); opacity: 1; } }
/* Brilho prateado cruzando em diagonal */
.art-job__shine { position: absolute; inset: -20% -60%; z-index: 2; background: linear-gradient(90deg, transparent 0, transparent 90px, rgba(244, 244, 242, .1) 130px, rgba(255, 255, 255, .26) 150px, rgba(244, 244, 242, .1) 170px, transparent 210px, transparent 300px) 0 0 / 300px 100% repeat-x; transform: rotate(18deg); mix-blend-mode: screen; animation: job-shine 2.8s linear infinite; }
@keyframes job-shine { from { background-position-x: 0; } to { background-position-x: 300px; } } /* faixas de brilho em fila contínua */
/* Pixels se formando (canvas do destaque.js). Com ele rodando, a marca e o brilho de reserva somem. */
.art-job__pixels { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.art-job__frame.has-pixels .art-job__mark, .art-job__frame.has-pixels .art-job__shine { display: none; }
.art-job__frame.has-pixels .art-job__base { filter: blur(14px) saturate(.6) brightness(.35); }
.art-job__frame.has-pixels .art-job__aurora { opacity: .55; }
/* Edição: a própria arte, desfocada e escurecida, por baixo do loop */
.art-job__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) saturate(.7) brightness(.55); transform: scale(1.12); }
.art-job--edit .art-job__aurora { opacity: .7; }
/* Pronta: brilho rápido antes de a arte entrar no mesmo lugar */
.art-job.is-done .art-job__frame { animation: job-done .65s var(--ease) forwards; }
@keyframes job-done { 40% { box-shadow: 0 0 0 3px rgba(244, 244, 242, .55), 0 16px 40px rgba(0, 0, 0, .35); } 100% { filter: brightness(1.7) blur(6px); } }
@media (prefers-reduced-motion: reduce) { .art-job__frame *, .art-job__frame, .art-job__label { animation: none !important; } .art-job__label { color: var(--ink-2); } }
.art-done { display: grid; gap: 10px; margin-top: 8px; --thumb: 220px; }
.art-done--story { --thumb: 170px; }
/* Uma prévia só (toque abre em tela cheia pelo .viewer); no carrossel, miniaturas dos cards ao lado trocam a prévia. */
.art-done__view { display: flex; align-items: flex-start; gap: 8px; }
.art-done__stage { width: var(--thumb); flex: none; }
.art-done__cards { display: grid; gap: 6px; width: 44px; max-height: calc(var(--thumb) * 4 / 3); overflow-y: auto; scrollbar-width: none; }
.art-done__cards::-webkit-scrollbar { display: none; }
.art-done__card { position: relative; padding: 0; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.art-done__card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.art-done__card span { position: absolute; left: 3px; bottom: 3px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 5px; background: rgba(22, 23, 26, .78); color: #f3f3f1; font-size: 9.5px; font-weight: 800; line-height: 15px; text-align: center; }
.art-done__card:hover { opacity: .85; }
.art-done__card.is-on { opacity: 1; border-color: var(--silver-solid); box-shadow: 0 0 0 1px var(--silver-solid); }
.art-done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: var(--thumb); }
.art-done__actions .btn { width: 100%; min-width: 0; padding-inline: 8px; }
.art-done .logo-pos { width: var(--thumb); }
.art-done__thumb { position: relative; display: block; border-radius: 14px; cursor: zoom-in; }
.art-done__thumb::after { content: ''; position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(22, 23, 26, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f3f1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 14px no-repeat; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: .9; transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.art-done__thumb:hover::after { transform: scale(1.08); opacity: 1; }
.art-done__stage img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .32); animation: art-in .9s var(--ease) both; transition: transform .25s var(--ease); }
.art-done__thumb:hover img { transform: translateY(-2px); }
.edit-req__art a, .msg__files a { cursor: zoom-in; }
/* Posição do logo (embaixo: esquerda, centro, direita). Cada botão é uma mini-arte com o logo no lugar. */
.logo-pos { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.logo-pos > span { margin-right: auto; font-weight: 700; }
.logo-pos__btn { position: relative; width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.logo-pos__btn::after { content: ""; position: absolute; bottom: 5px; width: 10px; height: 4px; border-radius: 2px; background: var(--ink-2); }
.logo-pos__btn--left::after { left: 5px; }
.logo-pos__btn--center::after { left: calc(50% - 5px); }
.logo-pos__btn--right::after { right: 5px; }
.logo-pos__btn:hover { border-color: var(--silver-solid); }
.logo-pos__btn.is-on { background: var(--silver); border-color: transparent; cursor: default; }
.logo-pos__btn.is-on::after { background: var(--on-silver); }
.logo-pos.is-busy .logo-pos__btn { opacity: .5; cursor: progress; }
/* Troca do logo: a arte atual esmaece com um brilho passando enquanto a nova é feita; a nova entra com fade curto */
.art-done__stage { position: relative; }
.art-done__stage.is-relogo img { filter: brightness(.72) saturate(.85); transition: filter .3s var(--ease); }
.art-done__stage.is-relogo::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 14px; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(244, 244, 242, .22) 50%, transparent 70%) 0 0 / 250% 100% no-repeat; animation: relogo-shine 1.1s linear infinite; }
@keyframes relogo-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.msg.no-enter { animation: none; }
.msg.no-enter .art-done__stage img { animation: none; }
.art-done .art-done__stage img.is-relogo-in { animation: relogo-in .45s var(--ease) both; }
@keyframes relogo-in { from { opacity: .4; filter: brightness(.72) blur(3px); } }
@media (prefers-reduced-motion: reduce) { .art-done__stage.is-relogo::after { animation: none; } }
/* Minhas artes: a janela usa o mesmo cartão do chat, um pouco maior e centralizado. */
.sheet--art .sheet__panel { max-width: 460px; }
.sheet--art .sheet__body { align-items: center; }
.art-delete { display: flex; justify-content: center; padding-top: 6px; border-top: 1px solid var(--line); width: 100%; }
.art-delete .btn { color: var(--mute); }
.art-delete .btn:hover { color: var(--bad, #e5484d); }
.art-done--page { margin-top: 0; --thumb: min(300px, calc(100vw - 110px)); justify-items: center; }
.art-done--page.art-done--story { --thumb: min(230px, calc(100vw - 110px)); }
.art-done--page .art-done__caption, .art-done--page > small { width: var(--thumb); box-sizing: border-box; }
/* 👍/👎 da arte (chat e Minhas artes): mesma largura da prévia; no 👎 abre motivos opcionais. */
.rate-box { display: grid; gap: 8px; width: var(--thumb, 100%); max-width: 100%; }
.rate-mini { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.rate-mini > span { margin-right: auto; font-weight: 700; }
.rate-mini__btn { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.rate-mini__btn:hover { border-color: var(--silver-solid); color: var(--ink); }
.rate-mini__btn:active { transform: scale(.94); }
.rate-mini__btn.is-on { background: var(--silver); border-color: transparent; color: var(--on-silver); }
.rate-mini__btn:disabled { opacity: .55; cursor: progress; }
.rate-why { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.rate-why[hidden] { display: none; }
.rate-why strong { font-size: 13px; }
.rate-why em { font-style: normal; font-weight: 500; color: var(--ink-3, var(--ink-2)); font-size: 12px; }
.rate-why .pill span { min-height: 28px; padding: 0 10px; font-size: 12px; }
.rate-why textarea { width: 100%; resize: vertical; min-height: 54px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: inherit; font-size: 13px; }
.rate-why .btn { justify-self: end; }
.art-done__caption { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.art-done__caption > div { display: flex; justify-content: space-between; align-items: center; }
.art-done__caption strong { font-size: 13px; }
.art-done__caption p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.art-done > small { font-size: 12.5px; }
.edit-req { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; padding: 10px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); text-align: left; }
.edit-req__art { position: relative; }
.edit-req__art img { width: 100%; border-radius: 10px; display: block; }
.edit-req__art .pin-dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: 10px; }
.edit-req__text { display: grid; gap: 6px; font-size: 14px; }
.edit-req__text ol { display: grid; gap: 3px; padding-left: 18px; }
.pin-dot { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #e61e28; color: #fff; font-size: 13px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .45); pointer-events: none; }
.pin-sheet { position: fixed; z-index: 90; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .pin-sheet { align-items: center; } }
.pin-sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.pin-sheet__panel { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: 94vh; background: #202226; border: 1px solid var(--line-2); border-radius: 24px 24px 0 0; box-shadow: 0 -20px 80px rgba(0, 0, 0, .55); animation: sheet-in .4s var(--ease); }
@media (min-width: 700px) { .pin-sheet__panel { border-radius: 24px; } }
.pin-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px 10px; }
.pin-sheet__head > div { display: grid; gap: 2px; }
.pin-sheet__head strong { font-size: 18px; }
.pin-sheet__head small { color: var(--mute); font-size: 13px; }
.pin-sheet__body { display: grid; gap: 14px; padding: 4px 18px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; }
/* Carrossel: escolher qual card editar (fileira de miniaturas no topo da janela). */
.pin-sheet__cards { display: flex; justify-content: center; align-items: flex-start; gap: 8px; height: 76px; min-height: 76px; overflow-x: auto; overflow-y: hidden; padding: 2px; scrollbar-width: none; }
.pin-sheet__cards::-webkit-scrollbar { display: none; }
.pin-card { position: relative; flex: none; width: 52px; padding: 0; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card-2); overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.pin-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pin-card span { position: absolute; left: 3px; bottom: 3px; min-width: 16px; height: 16px; border-radius: 5px; background: rgba(22, 23, 26, .78); color: #f3f3f1; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.pin-card:hover { opacity: .85; }
.pin-card.is-on { opacity: 1; border-color: var(--silver-solid); box-shadow: 0 0 0 1px var(--silver-solid); }
.pin-sheet__art { position: relative; justify-self: center; width: fit-content; max-width: 100%; cursor: crosshair; touch-action: manipulation; }
.pin-sheet__art img { display: block; width: auto; max-width: min(100%, 380px); max-height: 52vh; border-radius: 14px; border: 1px solid var(--line-2); user-select: none; -webkit-user-drag: none; }
.pin-sheet__list { display: grid; gap: 8px; padding: 0; list-style: none; counter-reset: pin; }
.pin-sheet__list li { display: flex; align-items: center; gap: 8px; counter-increment: pin; }
.pin-sheet__list li::before { content: counter(pin); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e61e28; color: #fff; font-size: 12px; font-weight: 800; }
.pin-sheet__list input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 15px; }
/* ======================================================================
   CARTÕES DO CHAT: ideias, datas do calendário, situação dos pedidos
   ====================================================================== */
.msg--ideas .msg__content, .msg--dates .msg__content, .msg--orders .msg__content { width: 100%; max-width: 580px; }
.chat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.idea { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); animation: rise .5s var(--ease) both; transition: border-color .2s, transform .25s var(--ease); }
.idea:nth-child(2) { animation-delay: .1s; } .idea:nth-child(3) { animation-delay: .2s; } .idea:nth-child(4) { animation-delay: .3s; } .idea:nth-child(5) { animation-delay: .4s; } .idea:nth-child(6) { animation-delay: .5s; }
.idea:hover { border-color: var(--line-3, #4a4e55); transform: translateY(-2px); }
.idea header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
/* Nada vaza do cartão: etiquetas longas (ex.: "01/10 — Dia Internacional da Pessoa Idosa") quebram a linha */
.idea { min-width: 0; overflow-wrap: anywhere; }
.idea .chip { max-width: 100%; min-height: 28px; height: auto; padding: 5px 11px; white-space: normal; line-height: 1.3; text-align: left; }
.idea .chip .icon { flex: none; }
.idea__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--silver); color: var(--on-silver); font-size: 12px; font-weight: 800; }
.idea strong { font-size: 15.5px; letter-spacing: -.01em; line-height: 1.3; }
.idea p { flex: 1; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.idea .btn { align-self: flex-start; }
.idea .btn.is-picked, .date-item .btn.is-picked { background: var(--silver); border-color: transparent; color: var(--on-silver); }
.date-list, .order-list { display: grid; margin-top: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; }
.date-item, .order-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; animation: rise .45s var(--ease) both; }
.date-item + .date-item, .order-item + .order-item { border-top: 1px solid var(--line); }
.date-item__day { display: grid; place-items: center; align-content: center; flex: none; width: 50px; height: 54px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); line-height: 1; }
.date-item__day strong { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.date-item__day span { margin-top: 3px; color: var(--mute); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.date-item__info, .order-item__info { display: grid; gap: 2px; flex: 1; min-width: 0; }
.date-item__info strong, .order-item__info strong { font-size: 14.5px; overflow-wrap: anywhere; }
.date-item__info small, .order-item__info small { color: var(--mute); font-size: 12.5px; }
.date-item__info p { margin-top: 2px; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.order-item__info a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.order-item__thumb { position: relative; display: grid; place-items: center; flex: none; width: 48px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line-2); color: var(--mute); }
.order-item__thumb a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.order-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item__count { position: absolute; right: 3px; bottom: 3px; padding: 1px 5px; border-radius: 99px; background: rgba(22, 23, 26, .85); color: var(--ink); font-size: 10px; font-weight: 800; pointer-events: none; }
.order-state { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.order-state--done { color: var(--ok); border-color: rgba(143, 214, 168, .35); }
.order-state--bad { color: var(--bad); border-color: rgba(243, 165, 157, .35); }
.order-state--wait { color: var(--ink-2); }
.order-state--wait i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: pulse 1.6s infinite; }
.date-list:not(.is-open) .is-more, .order-list:not(.is-open) .is-more { display: none; }
.list-more { min-height: 42px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; transition: background .2s; }
.list-more:hover { background: var(--card-2); }
.is-open > .list-more { display: none; }
.order-list__all { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.order-list__all:hover { background: var(--card-2); color: var(--ink); }
@media (max-width: 560px) {
  .date-item, .order-item { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; row-gap: 8px; }
  .date-item > .btn, .order-item > .order-state { grid-column: 2; justify-self: start; }
  .order-item { padding: 10px 12px; }
}


/* ============ ADMIN MINIMALISTA (pedido do usuário, 26/09/2026): letras menores, menos peso visual. Só no admin. ============ */
[data-current-role="admin"] { font-size: 14px; line-height: 1.55; }
[data-current-role="admin"] .page { gap: 18px; padding-top: 18px; }
[data-current-role="admin"] .eyebrow { display: none; }
[data-current-role="admin"] .h1 { font-size: clamp(21px, 3.4vw, 25px); font-weight: 800; letter-spacing: -.03em; }
[data-current-role="admin"] .h3 { font-size: 14.5px; font-weight: 750; letter-spacing: -.01em; }
[data-current-role="admin"] .page-head p, [data-current-role="admin"] .muted.small, [data-current-role="admin"] p.muted { font-size: 12.5px; }
[data-current-role="admin"] .card { border-color: rgba(255, 255, 255, .07); border-radius: 16px; }
[data-current-role="admin"] .card--pad { padding: 16px 18px; }
[data-current-role="admin"] .card__head { padding: 12px 16px; }
[data-current-role="admin"] .card__head--flat { padding: 0 0 10px; }
[data-current-role="admin"] .card__empty { padding: 16px; font-size: 13px; }
[data-current-role="admin"] .stats { gap: 8px; }
[data-current-role="admin"] .stat { padding: 12px 14px; border-radius: 14px; gap: 2px; }
[data-current-role="admin"] .stat small { font-size: 11.5px; }
[data-current-role="admin"] .stat strong { font-size: 21px; }
[data-current-role="admin"] .stat span { font-size: 11.5px; }
[data-current-role="admin"] .btn { min-height: 38px; padding: 0 16px; font-size: 13px; }
[data-current-role="admin"] .btn--sm { min-height: 30px; padding: 0 11px; font-size: 12px; gap: 6px; }
[data-current-role="admin"] .icon-btn { width: 32px; height: 32px; border-radius: 9px; }
[data-current-role="admin"] .chip { min-height: 24px; padding: 0 9px; font-size: 11.5px; gap: 5px; }
[data-current-role="admin"] .row { gap: 12px; padding: 10px 16px; min-height: 50px; }
[data-current-role="admin"] .row__main strong { font-size: 13.5px; }
[data-current-role="admin"] .row__main small, [data-current-role="admin"] .row__end small { font-size: 12px; }
[data-current-role="admin"] .row__icon { width: 32px; height: 32px; border-radius: 9px; }
[data-current-role="admin"] .avatar { width: 28px; height: 28px; font-size: 12px; }
[data-current-role="admin"] .avatar--lg { width: 44px; height: 44px; font-size: 17px; }
[data-current-role="admin"] .table { font-size: 13px; }
[data-current-role="admin"] .table th { padding: 9px 14px; font-size: 10.5px; }
[data-current-role="admin"] .table td { padding: 9px 14px; }
[data-current-role="admin"] .form { gap: 13px; }
[data-current-role="admin"] .field { gap: 5px; }
[data-current-role="admin"] .field > span, [data-current-role="admin"] .field > label { font-size: 12.5px; }
[data-current-role="admin"] .field small { font-size: 11.5px; }
[data-current-role="admin"] .field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), [data-current-role="admin"] .field select, [data-current-role="admin"] .field textarea { min-height: 40px; font-size: 13.5px; }
[data-current-role="admin"] .field textarea { min-height: 84px; }
[data-current-role="admin"] .pick span { min-height: 30px; padding: 0 11px; font-size: 12.5px; }
[data-current-role="admin"] .seg a, [data-current-role="admin"] .seg button { min-height: 32px; padding: 0 13px; font-size: 12.5px; }
[data-current-role="admin"] .search { min-height: 40px; }
[data-current-role="admin"] .side__link { min-height: 34px; font-size: 13px; gap: 10px; }
[data-current-role="admin"] .side__label { font-size: 10.5px; }
[data-current-role="admin"] .client-head__facts dd { font-size: 14.5px; }
[data-current-role="admin"] .client-head__facts dt { font-size: 11.5px; }
[data-current-role="admin"] .back { font-size: 12.5px; }
[data-current-role="admin"] .alert { font-size: 13px; padding: 10px 12px; }
[data-current-role="admin"] .sticky-save { padding: 7px; }
[data-current-role="admin"] .upload-row input[type=file] { font-size: 12.5px; }

/* ============ ADMIN — Início em bento grid + busca geral (26/09/2026) ============ */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.bento .tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); color: var(--ink); transition: border-color .2s, transform .2s var(--ease), background .2s; }
.bento a.tile:hover { border-color: var(--line-2); transform: translateY(-1px); }
.bento .tile__label { display: flex; align-items: center; gap: 7px; color: var(--mute); font-size: 12px; font-weight: 700; }
.bento .tile__label small { color: var(--mute-2); font-weight: 600; }
.bento .tile__num { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.bento .tile__sub { color: var(--mute-2); font-size: 12px; }
.bento .tile__empty { color: var(--mute-2); font-size: 12.5px; padding: 6px 0; }
.bento .tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bento .tile__more { color: var(--mute); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bento .tile__more:hover { color: var(--ink); }
.bento .tile__list { display: grid; margin: 2px -8px -6px; }
.bento .tile__row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; min-width: 0; transition: background .2s; }
.bento .tile__row:hover { background: rgba(255, 255, 255, .04); }
.bento .tile__row-main { display: grid; min-width: 0; flex: 1; }
.bento .tile__row-main strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento .tile__row-main small { color: var(--mute); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento .tile--search { grid-column: 1 / -1; padding: 8px; overflow: visible; z-index: 3; }
.bento .tile--hero { grid-column: span 2; grid-row: span 2; }
.bento .tile--hero .tile__num { font-size: 36px; }
.bento .tile--wide { grid-column: span 2; }
.bento .tile--arts { grid-column: span 3; }
.bento .tile--full { grid-column: 1 / -1; }
.bento .tile--bad { border-color: rgba(243, 165, 157, .35); background: linear-gradient(180deg, rgba(243, 165, 157, .08), transparent 70%), var(--card); }
.bento .tile--bad .tile__num, .bento .tile--bad .tile__label { color: var(--bad); }
.bento .tile--bad-soft { border-color: rgba(243, 165, 157, .22); }
.bento .tile--live .tile__label::after { content: ''; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #7fd6a4; box-shadow: 0 0 0 0 rgba(127, 214, 164, .5); animation: tile-live 1.6s ease-out infinite; }
@keyframes tile-live { to { box-shadow: 0 0 0 8px rgba(127, 214, 164, 0); } }
.bars--tile { flex: 1; min-height: 110px; height: auto; margin-top: auto; }
.bento .tile__arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.bento .tile__art { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); cursor: zoom-in; transition: transform .2s var(--ease), border-color .2s; }
.bento .tile__art:hover { transform: translateY(-2px); border-color: var(--line-2); }
.bento .tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento .tile--links a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; font-size: 13px; color: var(--ink-2); }
.bento .tile--links a:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.bento .tile--links a small { margin-left: auto; color: var(--mute-2); font-size: 11.5px; }
.bento .tile--links a .chip { margin-left: auto; }
.bento .tile--links .tile__note { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 0 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile--hero { grid-row: span 1; }
  .bento .tile--arts, .bento .tile--links { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { gap: 8px; }
  .bento .tile { padding: 14px; border-radius: 16px; }
  .bento .tile__num { font-size: 24px; }
  .bento .tile--hero .tile__num { font-size: 30px; }
  .gsearch--big kbd { display: none; }
}
/* Busca geral (topo de todas as telas do admin; no Início, grande dentro do bento). Ctrl + K foca. */
.gsearch { position: relative; width: min(340px, 46vw); }
.gsearch--big { width: 100%; }
.gsearch__field { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px 0 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: var(--mute); transition: border-color .2s; }
.gsearch--big .gsearch__field { min-height: 48px; border-radius: 14px; background: transparent; border-color: transparent; }
.gsearch__field:focus-within { border-color: var(--line-2); color: var(--ink); }
.gsearch__field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 13.5px; }
.gsearch--big .gsearch__field input { font-size: 15px; }
.gsearch__field input::-webkit-search-cancel-button { display: none; }
.gsearch__field kbd { flex: none; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--mute-2); font: 700 10.5px/1.5 inherit; }
.gsearch__results { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: min(420px, 62vh); overflow-y: auto; padding: 6px; border-radius: 14px; background: #1f2024; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.gsearch__group { padding: 8px 10px 4px; color: var(--mute-2); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gsearch__item { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
.gsearch__item strong { font-size: 13px; }
.gsearch__item small { color: var(--mute); font-size: 11.5px; }
.gsearch__item:hover, .gsearch__item.is-active { background: rgba(255, 255, 255, .06); }
.gsearch__none { padding: 12px 10px; color: var(--mute); font-size: 12.5px; }
@media (max-width: 720px) { .stage__actions .gsearch { width: 44vw; } .stage__actions .gsearch kbd { display: none; } }

/* Termos de Uso e Privacidade (/termos): texto longo, largura de leitura, títulos discretos. */
.auth__legal { margin-top: -6px; color: var(--mute); font-size: 12.5px; text-align: center; }
.legal { width: min(760px, 100%); display: grid; gap: 34px; padding-top: 8px; }
.legal__head { display: grid; gap: 12px; }
.legal__head p { color: var(--mute); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.legal__toc a:hover { border-color: var(--accent); color: var(--ink); }
.legal__part { display: grid; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line-2); scroll-margin-top: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.legal__part h3 { margin-top: 12px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.legal__part ul { display: grid; gap: 6px; padding-left: 22px; list-style: disc; }
.legal__part li::marker { color: var(--accent); }
.legal__part strong { color: var(--ink); }

/* Admin → Testes (28/09/2026) */
.diag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.diag { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2, rgba(255,255,255,.02)); }
.diag__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card-3, rgba(255,255,255,.06)); color: var(--mute); font-weight: 800; }
.diag__main { display: grid; gap: 3px; min-width: 0; }
.diag__main strong { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.diag__main span, .diag__main small { color: var(--mute); font-size: 13px; overflow-wrap: anywhere; }
.diag.is-ok .diag__icon { background: rgba(74, 222, 128, .15); color: var(--ok); }
.diag.is-bad { border-color: rgba(248, 113, 113, .35); }
.diag.is-bad .diag__icon { background: rgba(248, 113, 113, .15); color: #f87171; }
.diag.is-bad .diag__main span, .diag.is-bad .diag__main small { color: var(--ink-2, #c3c8cf); }
.diag.is-busy .diag__icon { animation: think-halo 1.2s ease-in-out infinite; }
@media (max-width: 560px) { .diag { grid-template-columns: 28px minmax(0, 1fr); } .diag > .btn { grid-column: 2; justify-self: start; } }