/* ==========================================================
   CARDON CRM
   Monocromático Cardon Studio 3D · Poppins (títulos) + Inter
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
	--ink: #0a0a0a;
	--ink-2: #1a1a1a;
	--ink-3: #262626;
	--bg: #f4f4f2;
	--card: #ffffff;
	--line: #e7e7e3;
	--line-2: #d9d9d4;
	--muted: #5a5a5a;
	--muted-2: #686868;
	--accent: #0a0a0a;
	--accent-soft: #efefec;
	--on-accent: #ffffff;     /* texto legível sobre a cor de destaque (o PHP recalcula pela cor da marca) */
	--on-ink: #ffffff;        /* texto legível sobre fundos --ink */
	--accent-text: #0a0a0a;   /* destaque usado COMO texto em fundo claro (o PHP recalcula) */
	--ok: #1ab91e;
	--ok-solid: #0f7a14;      /* verde com texto branco */
	--ok-text: #0a6a10;
	--warn-text: #7a4f00;
	--late-text: #b01c1c;
	--ok-soft: #e9f8ea;
	--warn: #d98e04;
	--warn-soft: #fff6e0;
	--late: #dc2626;
	--late-soft: #fdecec;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(10,10,10,.04), 0 4px 16px rgba(10,10,10,.04);
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--head: 'Poppins', 'Inter', -apple-system, sans-serif;
	--side: 244px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

html { -webkit-text-size-adjust: 100%; }
body.lk { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-ok { color: var(--ok-text, #138a17); }
.text-warn { color: var(--warn); }
.text-late { color: var(--late); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.link { font-size: 13px; color: var(--muted); text-decoration: none; }
.link:hover { color: var(--ink); }
.hint { margin-bottom: 18px; max-width: 760px; }
.ic { flex-shrink: 0; }

/* ---------- Botões ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; background: var(--card); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: #333; }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--danger { background: transparent; border-color: #f3c7c7; color: var(--late); }
.btn--danger:hover { background: var(--late-soft); }
.btn--wa { background: #0f7a14; color: #fff; }
.btn--wa:hover { background: #0b6310; }
.btn--sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn--block { width: 100%; min-height: 48px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border: 0; background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: none; }
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn--wa { color: var(--ok); }
.icon-btn--wa:hover { color: var(--ok-text); background: var(--ok-soft); }
.inline-form { display: inline-flex; margin: 0; }

/* ---------- Campos ---------- */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea, .copy-row input, .add-page input, .approve-form input, .toolbar .filter, .comment-box textarea {
	width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea, .comment-box textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .copy-row input:focus, .comment-box textarea:focus, .toolbar .filter:focus, .add-page input:focus, .approve-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.field input[type=color] { padding: 4px; height: 42px; }
.field input:disabled { background: var(--bg); color: var(--muted); }
.field--check { justify-content: flex-end; padding-bottom: 10px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.with-btn { display: flex; gap: 6px; }
.with-btn input { flex: 1; }
.new-client { margin-top: 14px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.form-actions--sticky { position: sticky; bottom: 0; z-index: 5; margin: 0 -4px; padding: 12px 4px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 18px -12px rgba(10,10,10,.18); }
.perms { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.perms legend { padding: 0 6px; font-size: 13px; font-weight: 600; }

/* ---------- Estrutura do painel ---------- */

.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 22px 14px 16px; background: var(--ink); color: #d4d4d4; overflow-y: auto; }
.side-brand { display: block; padding: 4px 10px 6px; }
.side-brand img { height: 30px; width: auto; }
.side-search { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 1px solid #262626; border-radius: 10px; background: #141414; color: #8a8a8a; font-size: 14px; cursor: pointer; text-align: left; }
.side-search:hover { border-color: #3a3a3a; color: #d4d4d4; }
.side-search span { flex: 1; }
.side-search kbd, .search-input kbd { font: 11px var(--font); padding: 2px 6px; border: 1px solid #333; border-radius: 5px; color: #8a8a8a; }
.side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: #a3a3a3; transition: background .15s, color .15s; }
.side-nav a:hover { background: #161616; color: #fff; }
.side-nav a.is-active { background: #1c1c1c; color: #fff; }
.side-nav a.is-active::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-nav a.is-active .ic { color: var(--accent); }
.side-count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 20px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-style: normal; font-weight: 700; text-align: center; }
.side-label { margin: 16px 12px 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #7a7a76; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid #1f1f1f; }
.side-user-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-name small { display: block; font-weight: 400; color: #737373; font-size: 12px; }
.side-out { color: #737373; display: flex; padding: 6px; border-radius: 8px; }
.side-out:hover { color: #fff; background: #1c1c1c; }
.side-backdrop { display: none; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 36px; background: rgba(244,244,242,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-menu { display: none; border: 0; background: none; padding: 6px; margin-left: -6px; cursor: pointer; }
.top-title { flex: 1; min-width: 0; font-size: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.content { padding: 28px 36px 60px; display: flex; flex-direction: column; gap: 20px; }

.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; align-self: flex-start; }
.back:hover { color: var(--ink); }

/* ---------- Avisos ---------- */

.flash { padding: 12px 16px; border-radius: 12px; font-size: 14px; background: var(--ok-soft); color: var(--ok-text); border: 1px solid #c9ecca; transition: opacity .4s, transform .4s; }
.flash--erro { background: var(--late-soft); color: var(--late-text); border-color: #f5caca; }
.flash--warn { background: var(--warn-soft); color: var(--warn-text); border-color: #f3dfa8; }
.flash.is-out { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 16px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.toast--erro { background: var(--late); }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cards ---------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { font-size: 16px; }
.card--accent { border-color: #ffd6c7; background: linear-gradient(180deg, #fff8f5 0%, #fff 70%); }
.card--warn { border-color: #f3dfa8; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 12px; text-align: center; color: var(--muted); }
.empty--big { padding: 60px 20px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty--big h3 { color: var(--ink); font-size: 18px; margin-top: 6px; }
.empty--big .btn { margin-top: 10px; }

/* ---------- Dashboard ---------- */

.hello h2 { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 6px; letter-spacing: -.025em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
a.stat:hover { transform: translateY(-2px); border-color: var(--line-2); }
.stat-label { font-size: 13px; color: var(--muted); }
.stat strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat small { font-size: 12.5px; color: var(--muted); }
.stat--dark { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.stat--dark .stat-label, .stat--dark small { color: #a3a3a3; }
.stat--dark small b { color: #ff8a63; font-weight: 600; }
.stat--dark strong { font-size: 26px; }
.stat--warn { border-color: #f3dfa8; background: var(--warn-soft); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
.mini-list a { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.mini-list strong { font-size: 14px; font-weight: 600; }
.mini-list span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list small { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- Checklist ---------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); transition: background .15s; }
.check-item:first-child { border-top: 0; }
.check-item:hover { background: #fafaf8; }
.check-title { flex: 1; min-width: 0; font-size: 14.5px; text-decoration: none; transition: color .15s; }
.check-title small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.check-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.check-item.is-done [data-send-review] { display: none; }
.check-item.is-done .check-title { color: var(--muted-2); text-decoration: line-through; text-decoration-color: var(--line-2); }
.tick { position: relative; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--card); cursor: pointer; padding: 0; transition: background .2s var(--ease), border-color .2s; }
.tick:hover { border-color: var(--ink); }
.tick::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.is-done > .tick, .tick.is-done { background: var(--ok); border-color: var(--ok); }
.is-done > .tick::after, .tick.is-done::after { transform: rotate(45deg) scale(1); }
.tick--lg { width: 30px; height: 30px; border-radius: 9px; }
.tick--lg::after { left: 10px; top: 5px; width: 7px; height: 13px; }
.checklist--read .tick { cursor: default; }
.flag { display: inline-flex; padding: 4px; border: 0; background: none; border-radius: 6px; color: var(--line-2); cursor: pointer; }
.flag.is-on { color: var(--ink); }
.flag:hover { background: var(--bg); }

.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; user-select: none; }
.group > summary::-webkit-details-marker { display: none; }
.group > summary::before { content: '›'; font-size: 18px; color: var(--muted); transition: transform .2s; margin-right: -4px; }
.group[open] > summary::before { transform: rotate(90deg); }
.group-name { flex: 1; font-weight: 600; font-size: 14.5px; }
.group-count { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.group .checklist { padding: 0 14px 8px; }
.row-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.add-page { display: flex; gap: 8px; align-items: center; }
.add-page input { min-height: 32px; padding: 5px 10px; width: 220px; font-size: 13px; }

/* ---------- Selos ---------- */

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.badge--urgente { background: var(--late); border-color: var(--late); color: #fff; }
.badge--alta { background: var(--accent-soft); border-color: #ffd6c7; color: var(--warn-text); }
.badge--baixa { color: var(--muted); }
.badge--wait { background: var(--warn-soft); border-color: #f3dfa8; color: var(--warn-text); }
.badge--ok { background: var(--ok-soft); border-color: #c9ecca; color: var(--ok-text); }
.badge--btn { cursor: pointer; font-family: inherit; background: var(--card); border-color: var(--ink); color: var(--ink); }
.badge--btn:hover { background: var(--ink); color: var(--on-ink); }
.due { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.due--late { color: var(--late); }
.due--today { color: #c2370b; font-weight: 600; }
.due--soon { color: #8f5a00; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--bg); color: var(--ink-3); white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok-text); }
.pill--warn { background: var(--warn-soft); color: var(--warn-text); }
.pill--late { background: var(--late-soft); color: var(--late-text); }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.avatar--sm { width: 24px; height: 24px; font-size: 10px; }
.side-user .avatar { background: var(--accent); }
.svc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.svc::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.svc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.round-ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--ink-3); flex-shrink: 0; font-weight: 700; }
.round-ic--in { background: var(--ok-soft); color: var(--ok-text); }
.round-ic--out { background: var(--late-soft); color: var(--late-text); }

.progress { height: 6px; border-radius: 6px; background: #efefeb; overflow: hidden; min-width: 60px; }
.progress span { display: block; height: 100%; border-radius: 6px; background: var(--ink); transition: width .5s var(--ease); }
.ring { --p: 0; position: relative; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), #ececea 0); display: grid; place-items: center; flex-shrink: 0; transition: background .5s; }
.ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.ring strong { position: relative; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.ring--lg { width: 104px; height: 104px; }
.ring--lg strong { font-size: 24px; }

/* ---------- Tabelas (linhas) ---------- */

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.toolbar .filter { max-width: 380px; }
.table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; transition: background .15s; }
.table-row:first-child { border-top: 0; }
a.table-row:hover, .table-row[data-open]:hover { background: #fafaf8; cursor: pointer; }
.table-row > span small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.table-head { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: #fafaf8; padding-top: 11px; padding-bottom: 11px; }
.table-row.is-off { opacity: .55; }
.cell-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cell-main > span:last-child { min-width: 0; }
.cell-main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-arrow { color: var(--muted-2); }
.row-btns { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.table--compact .table-row { grid-template-columns: minmax(0, 2fr) auto auto auto auto; padding: 12px 16px; }
.table--projects .table-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr); }
.table--fin .table-row { grid-template-columns: minmax(0, 2.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .8fr) auto; }

/* ---------- Segmentado / abas ---------- */

.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #e9e9e5; }
.seg a, .seg label { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg a.is-active, .seg label:has(input:checked) { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.seg--radio { align-self: flex-start; }
.seg--radio input { display: none; }
.seg--sm a { padding: 4px 10px; font-size: 12.5px; }
.month-nav { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.month-nav strong { min-width: 140px; text-align: center; font-weight: 600; }
.month-nav .icon-btn { font-size: 20px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { position: relative; padding: 10px 14px 12px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.tabs a em { font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-left: 3px; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); }
.tabs a.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.tab-panel { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }

/* ---------- Kanban ---------- */

.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; align-items: start; min-height: calc(100vh - 190px); }
.kcol { display: flex; flex-direction: column; background: #ebebe7; border-radius: var(--radius); min-height: 180px; max-height: calc(100vh - 170px); }
.kcol-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.kcol-head h3 { font-size: 14px; }
.kcount { font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.7); padding: 1px 8px; border-radius: 20px; }
.kcol-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 4px 10px 12px; overflow-y: auto; border-radius: 0 0 var(--radius) var(--radius); transition: background .15s; min-height: 60px; }
.kcol-body.is-over { background: rgba(128,128,128,.07); }
.kcol:last-child, .kcol[data-last] { background: #e7ede7; }
.kcol.kcol--add { background: transparent; }
.kcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); cursor: grab; user-select: none; transition: box-shadow .2s, transform .2s var(--ease), opacity .2s; }
.kcard:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.kcard.is-dragging { opacity: .45; transform: rotate(1.5deg); }
.kcard h4 { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.kcard-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.kcard-sub { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.kcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kcard-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kcard-project { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kcard--task { border-left: 3px solid transparent; }
.kcard--task.prio-alta { border-left-color: var(--accent); }
.kcard--task.prio-urgente { border-left-color: var(--late); }
.kcol--cancelado .kcard h4 { color: var(--muted); text-decoration: line-through; } /* 2.23.0 */
.kcol--standby .kcol-head h3::before { content: '⏸ '; } .kcol--cancelado .kcol-head h3::before { content: '✕ '; }
.kcol--done .kcard h4 { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.sheet { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; background: rgba(0,0,0,.35); }
.sheet-box { width: 100%; background: var(--card); border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; }
.sheet-box strong { padding: 0 6px 6px; }
.sheet-box button { text-align: left; padding: 14px; border: 0; background: var(--bg); border-radius: 12px; font-weight: 500; }

/* ---------- Detalhe (projeto, cliente, tarefa) ---------- */

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.detail-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.side-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.side-actions--end { justify-content: flex-end; }
.stack-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.support-box, .waiting-box { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--bg); }
.waiting-box:has(input:checked) { background: var(--warn-soft); }

.project-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ph-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph-main h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.025em; }
.ph-main h2 a { text-decoration: none; }
.ph-main h2 a:hover { color: var(--accent-text); }
.ph-progress { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; }
.flow-step { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 20px; background: var(--bg); color: var(--muted); }
.flow-step.is-done { color: var(--ink-3); background: #ecece8; }
.flow-step.is-current { background: var(--ink); color: var(--on-ink); }

.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-size: 13px; color: var(--ink-3); background: var(--bg); }
.answers { margin: 0; display: flex; flex-direction: column; }
.answers > div { padding: 14px 0; border-top: 1px solid var(--line); }
.answers > div:first-child { border-top: 0; }
.answers dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.answers dd { margin: 0; font-size: 14.5px; }
.files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.files a { flex: 1; min-width: 0; text-decoration: none; }
.files strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files small { font-size: 12px; color: var(--muted); }
.file-ic { display: inline-flex; padding: 8px; border-radius: 10px; background: var(--bg); color: var(--ink-3); }
.add-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fcfcfb; }
.add-box h4 { font-size: 14px; }
.add-details > summary { list-style: none; display: inline-flex; }
.add-details > summary::-webkit-details-marker { display: none; }
.add-details[open] > summary { margin-bottom: 12px; }
.access-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.access { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.access-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.access-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.access-row > span { width: 46px; color: var(--muted); }
.access-row code { flex: 1; min-width: 0; padding: 5px 9px; background: var(--bg); border-radius: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats > div { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.mini-stats span { font-size: 12.5px; color: var(--muted); }
.mini-stats strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.comment-box { display: flex; flex-direction: column; gap: 10px; }
.project-list { list-style: none; margin: 0; padding: 0; }
.project-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.project-list li:first-child a { border-top: 0; }
.pl-main { flex: 1; min-width: 0; }
.pl-main strong { display: block; font-size: 14.5px; }
.pl-main small { color: var(--muted); font-size: 12.5px; }
.pl-progress { display: flex; align-items: center; gap: 8px; width: 150px; }
.pl-progress .progress { flex: 1; }
.pl-value { font-weight: 600; font-size: 14px; white-space: nowrap; }

.task-view { display: flex; flex-direction: column; gap: 18px; }
.task-title { display: flex; gap: 16px; align-items: flex-start; }
.task-title h2 { font-size: 24px; margin: 4px 0 10px; }
.task-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.task-desc { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.task-desc p { margin: 0 0 10px; }
.task-desc a { color: var(--accent-text); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 16px; padding: 8px 0; }
.timeline .dot { position: relative; z-index: 1; flex-shrink: 0; width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); }
.timeline li.is-comment .dot { border-color: var(--accent); background: var(--accent); }
.timeline li.is-comment > div > p { padding: 10px 14px; background: var(--bg); border-radius: 4px 12px 12px 12px; }
.timeline p { font-size: 14px; }
.timeline small { font-size: 12px; color: var(--muted); }
.timeline small a { color: var(--ink-3); }

/* ---------- Formulários em etapas (novo projeto, serviço, config) ---------- */

.wizard { display: flex; flex-direction: column; gap: 18px; max-width: 1080px; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step-head { display: flex; gap: 16px; align-items: flex-start; }
.step-head h3 { font-size: 17px; margin-bottom: 3px; }
.step-n { font-size: 12px; font-weight: 600; color: var(--accent-text); padding: 5px 9px; border-radius: 8px; background: var(--accent-soft); }
.step code { background: var(--bg); padding: 1px 6px; border-radius: 5px; }

/* ---------- Serviços ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.svc-card-bar { position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); }
.svc-card h3 { font-size: 17px; }
.svc-card-value { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.svc-card ul { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }

/* ---------- Financeiro ---------- */

.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; height: 220px; align-items: end; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.bar-pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.bar { width: 40%; max-width: 26px; min-height: 2px; border-radius: 6px 6px 2px 2px; transition: height .6s var(--ease); }
.bar--in { background: var(--ink); }
.bar--out { background: #f0b9a6; }
.bar-col small { font-size: 12px; color: var(--muted); }
.bar-col.is-current small { color: var(--ink); font-weight: 600; }
.bar-col.is-current .bar--in { background: var(--accent); }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.lg-in { background: var(--ink); }
.lg-out { background: #f0b9a6; }
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cat-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.cat-list .progress { grid-column: 1 / -1; }
.cat-list .progress span { background: var(--accent); }

/* ---------- Janela (modal) ---------- */

.modal { width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.25); color: var(--ink); }
.modal::backdrop { background: rgba(10,10,10,.45); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .25s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 1; }
.modal-head h3 { font-size: 17px; }
.modal-x { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.modal-body { padding: 20px 22px 22px; }

/* ---------- Busca ---------- */

.search { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(10,10,10,.45); backdrop-filter: blur(3px); }
.search-box { width: min(620px, 100%); background: var(--card); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: hidden; animation: modalIn .2s var(--ease); }
.search-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-input input { flex: 1; border: 0; outline: none; font-size: 16px; color: var(--ink); background: none; }
.search-input kbd { border-color: var(--line-2); }
.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-hint { padding: 16px; font-size: 14px; color: var(--muted); }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.search-item:hover, .search-item.is-active { background: var(--bg); }
.search-item em { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); width: 58px; flex-shrink: 0; }
.search-item span { min-width: 0; }
.search-item strong { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item small { font-size: 12.5px; color: var(--muted); }

/* ---------- Login e convite ---------- */

.lk-auth { background: var(--card); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; }
.auth-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 65%); }
.auth-logo { height: 36px; width: auto; align-self: flex-start; position: relative; z-index: 1; }
.auth-side-text { position: relative; z-index: 1; max-width: 440px; }
.auth-side-text .eyebrow { color: #8a8a8a; }
.auth-side-text h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 10px; letter-spacing: -.03em; line-height: 1.12; }
.auth-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #d4d4d4; }
.auth-list li { display: flex; gap: 10px; align-items: center; }
.auth-list .ic { color: var(--accent); }
.auth-copy { position: relative; z-index: 1; font-size: 12px; color: #5c5c5c; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-form { width: min(400px, 100%); display: flex; flex-direction: column; gap: 16px; }
.auth-form--wide { width: min(560px, 100%); }
.auth-form h1 { font-size: 32px; letter-spacing: -.03em; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.auth-row a { color: var(--muted); }

/* ---------- Área do cliente ---------- */

.lk-client { background: var(--bg); }
.preview-bar { padding: 10px 20px; text-align: center; font-size: 13px; background: var(--accent); color: var(--on-accent); }
.preview-bar a { color: #fff; font-weight: 600; margin-left: 8px; }
.ctop { background: var(--ink); color: #fff; }
.ctop-inner { max-width: 1040px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ctop-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.ctop-brand img { height: 28px; width: auto; }
.ctop-brand span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; padding-left: 14px; border-left: 1px solid #333; }
.ctop-nav { display: flex; align-items: center; gap: 4px; }
.ctop-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: #bdbdbd; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ctop-nav a:hover { color: #fff; background: #1c1c1c; }
.cmain { max-width: 1040px; margin: 0 auto; padding: 32px 24px 90px; display: flex; flex-direction: column; gap: 20px; }
.chello h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; margin: 4px 0 8px; }
.cprojects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.cproject { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.cproject:hover { transform: translateY(-3px); }
.cproject-top, .cproject-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.cproject h3 { font-size: 19px; }
.chero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chero h1 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.03em; margin: 8px 0 6px; }
.cflow { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cflow::-webkit-scrollbar { display: none; }
.cflow li { position: relative; flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--muted-2); }
.cflow li::before { content: ''; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.cflow li:first-child::before { display: none; }
.cflow li.is-done::before, .cflow li.is-current::before { background: var(--ink); }
.cflow-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); color: transparent; }
.cflow li.is-done { color: var(--ink-3); }
.cflow li.is-done .cflow-dot { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.cflow li.is-current { color: var(--ink); font-weight: 600; }
.cflow li.is-current .cflow-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(128,128,128,.15); }
.needs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.needs li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #ffe2d7; flex-wrap: wrap; }
.needs li:first-child { border-top: 0; padding-top: 0; }
.needs li > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; min-width: 0; flex: 1; }
.needs li > span .ic { color: var(--accent-text); grid-row: span 2; }
.needs small { color: var(--muted); font-size: 13px; }
.approve-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.approve-form input { width: 220px; min-height: 32px; padding: 5px 10px; font-size: 13px; }
.card--review { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card--review > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.card--review .ic { color: #f5b301; grid-row: span 2; }
.drive { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; }
.drive small { display: block; color: #a3a3a3; font-size: 13px; }
.drive .ic { color: var(--accent); }
.briefing-form { display: flex; flex-direction: column; gap: 14px; }
.bq { display: flex; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.bq .field { flex: 1; }
.bq .field > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.bq-n { font-size: 12px; font-weight: 600; color: var(--accent-text); padding-top: 2px; }
.narrow { max-width: 720px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-solid); color: #fff; box-shadow: 0 10px 30px rgba(26,185,30,.35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

.stats--dash { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.stats--dash .stat strong { font-size: 26px; }
.due-group + .due-group { margin-top: 14px; }
.due-group h4 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.due-group h4 span { padding: 0 7px; border-radius: 20px; background: var(--bg); font-size: 11px; color: var(--ink-3); }
.due-group--late h4 { color: var(--late); }
.due-group--late h4 span { background: var(--late-soft); color: var(--late-text); }
.due-group--today h4 { color: var(--accent-text); }
.due-group--today h4 span { background: var(--accent-soft); color: var(--warn-text); }

/* ---------- Briefing (tipos de pergunta) ---------- */

.bq-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bq-label { font-size: 15px; font-weight: 600; }
.bq-body > input[type=text], .bq-body > textarea, .refs input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); outline: none; }
.bq-body > input:focus, .bq-body > textarea:focus, .refs input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 100px; font-size: 14px; font-weight: 500; background: var(--card); transition: all .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip--multi input:checked + span::before { content: '✓'; font-weight: 700; color: var(--accent-text); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(128,128,128,.25); }
.refs { display: flex; flex-direction: column; gap: 8px; }
.bq-body > .btn { align-self: flex-start; }
.drop { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: 14px; cursor: pointer; background: #fcfcfb; }
.drop:hover { border-color: var(--ink); color: var(--ink); }
.drop input { flex: 1; min-width: 0; font-size: 13px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.thumbs img { width: 88px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.sent-files { margin: 0; padding-left: 18px; font-size: 13px; }
.ref-link { display: block; font-size: 14px; color: var(--accent-text); word-break: break-all; margin-bottom: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Gerador de propostas ---------- */

.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 8px; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.svc-opt, .pf-opt { position: relative; cursor: pointer; }
.svc-opt input, .pf-opt input { position: absolute; top: 14px; left: 14px; width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.svc-opt span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 40px; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s, background .15s; }
.svc-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.svc-opt small { color: var(--muted); font-size: 12.5px; }
.pf-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pf-opt { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.pf-opt input { top: 8px; left: 8px; z-index: 1; }
.pf-opt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; border: 2px solid transparent; opacity: .55; transition: all .15s; }
.pf-opt input:checked ~ img { border-color: var(--accent); opacity: 1; }
.autofill { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: #a3a3a3; font-size: 14px; flex-wrap: wrap; }
.autofill .btn--primary { background: var(--accent); }
.autofill .btn--primary:hover { background: #e84a18; }
.plans-edit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-edit { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfb; }
.plan-edit-head { display: flex; align-items: center; justify-content: space-between; }
.plan-edit-head h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-edit .field input, .plan-edit .field select, .plan-edit .field textarea { min-height: 36px; padding: 7px 10px; font-size: 13.5px; }
.is-flash { animation: lkFlash 1.2s ease; }
@keyframes lkFlash { 0% { background: #ffe6dc; } 100% { background: var(--card); } }
.prop-ready .copy-row input { background: var(--card); }
.accepted-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ok-text); flex-wrap: wrap; }

/* ---------- Aceite e pagamento ---------- */

.auth--accept .auth-side-text h2 { font-size: clamp(26px, 2.6vw, 34px); }
.accept-price { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.accept-price strong { font-size: 36px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.accept-price .per { font-style: normal; font-size: 16px; color: #a3a3a3; margin-left: 4px; }
.accept-price small { color: #a3a3a3; font-size: 14px; }
.accept-back { display: inline-block; margin-top: 26px; font-size: 13px; color: #8a8a8a; text-decoration: none; }
.accept-back:hover { color: #fff; }
.pay-options { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-options legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; top: 18px; left: 16px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.pay-opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s, background .15s; }
.pay-opt small { font-size: 13px; color: var(--muted); }
.pay-opt input:checked + span { border-color: var(--ink); background: #fafaf8; }
.accept-check { font-size: 14px; }
.pay-result { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 32px 18px; background: var(--ink); }
.pay-logo { height: 30px; width: auto; padding: 12px 18px; border-radius: 12px; background: var(--ink); box-sizing: content-box; }
.pay-card { width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 30px; background: var(--card); border-radius: 20px; text-align: center; }
.pay-card h1 { font-size: 26px; letter-spacing: -.02em; }
.pay-card .btn--block { margin-top: 4px; }
.pay-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 4px; }
.pay-ic--ok { background: var(--ok-soft); color: var(--ok-text); }
.pay-ic--warn { background: var(--warn-soft); color: var(--warn-text); }

@media (max-width: 1024px) {
	.plans-edit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.accept-price strong { font-size: 28px; }
	.auth--accept .auth-list { display: none; }
}

/* ---------- Hospedagem e domínio ---------- */

.table--subs .table-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr) auto; }
.mini-list li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.table--renew .table-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .7fr) auto; }
.table-row a { text-decoration: none; }
.table-row a:hover { color: var(--accent-text); }
.renew { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.renew-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.renew-top span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.renew-bar { height: 6px; border-radius: 6px; background: #efefeb; overflow: hidden; }
.renew-bar span { display: block; height: 100%; border-radius: 6px; }
.renew--ok .renew-bar span { background: var(--ok); }
.renew--warn .renew-bar span { background: var(--warn); }
.renew--warn .renew-top span { color: var(--warn); font-weight: 600; }
.renew--late .renew-bar span { background: var(--late); }
.renew--late .renew-top span { color: var(--late); font-weight: 600; }
.renew small { font-size: 11.5px; color: var(--muted); }
.renew-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ps-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 12px; }
.ps-mini div { padding: 10px 12px; border-radius: 10px; background: var(--bg); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.ps-mini strong { font-size: 20px; }
#entrega-card .stack { margin-top: 14px; }

/* ---------- Página de entrega (pública) ---------- */

.lk-delivery { background: var(--card); }
.dv-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.btn--accent { background: var(--accent); color: #05080B; }
.btn--accent:hover { filter: brightness(1.06); }
.btn--light { background: #fff; color: var(--ink); }
.dv-hero { background: var(--ink); color: var(--on-ink); padding: 56px 0 72px; overflow: hidden; position: relative; }
.dv-hero::after { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 65%); }
.dv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.dv-logo { height: 34px; width: auto; margin-bottom: 36px; }
.dv-hero .eyebrow { color: #8a8a8a; }
.dv-hero h1 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.035em; line-height: 1.04; margin: 12px 0 18px; }
.dv-lead { color: #bdbdbd; font-size: 16px; line-height: 1.7; margin-bottom: 26px; max-width: 480px; }
.dv-mockups { position: relative; min-height: 320px; }
.mk-browser { border-radius: 12px; overflow: hidden; background: #1a1a1a; box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid #262626; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1f1f1f; }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.mk-bar span { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #141414; color: #8a8a8a; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-browser img { width: 100%; }
.mk-phone { position: absolute; right: -10px; bottom: -40px; width: 24%; min-width: 110px; padding: 7px; border-radius: 22px; background: #0a0a0a; border: 2px solid #333; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.mk-phone img { border-radius: 16px; width: 100%; }
.dv-main { padding-bottom: 0; }
.dv-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -1px; border-bottom: 1px solid var(--line); }
.dv-numbers div { padding: 34px 20px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dv-numbers div:first-child { border-left: 0; padding-left: 0; }
.dv-numbers strong { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.dv-numbers span { color: var(--muted); font-size: 14px; }
.dv-section { padding-top: 72px; }
.dv-head { max-width: 680px; margin-bottom: 28px; }
.dv-head h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; margin: 8px 0 10px; }
.dv-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.dv-card h3 { font-size: 17px; }
.dv-ps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 6px; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--muted); }
.gauge-ring { --c: var(--ok); position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #efefeb 0); }
.gauge-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.gauge-ring strong { position: relative; font-size: 20px; color: var(--c); }
.gauge--mid .gauge-ring { --c: var(--warn); }
.gauge--bad .gauge-ring { --c: var(--late); }
.dv-metrics { margin: 8px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.dv-metrics div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dv-metrics dt { color: var(--muted); }
.dv-metrics dd { margin: 0; font-weight: 600; }
.dv-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dv-page { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.dv-page small { color: var(--muted); font-size: 12.5px; }
.dv-devices { display: flex; gap: 6px; }
.dv-devices em { font-style: normal; font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: var(--bg); color: var(--muted); }
.dv-devices.is-ok em { background: var(--ok-soft); color: var(--ok-text); }
.dv-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.dv-check li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--muted); }
.dv-check li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e5e5e1; font-size: 12px; flex-shrink: 0; }
.dv-check li.is-ok { color: var(--ink); }
.dv-check li.is-ok span { background: var(--ok-solid); color: #fff; }
.dv-video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; background: var(--ink); }
.dv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dv-access, .dv-renew { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 18px; }
.dv-access code { align-self: flex-start; padding: 4px 9px; background: var(--bg); border-radius: 7px; }
.dv-renew strong { font-size: 24px; letter-spacing: -.02em; }
.dv-renew small { color: var(--muted); }
.dv-final { margin-top: 88px; padding: 72px 0 40px; background: var(--ink); color: var(--on-ink); text-align: center; }
.dv-final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; }
.dv-final p { color: #a3a3a3; margin-top: 10px; }
.dv-final-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dv-copy { margin-top: 48px !important; font-size: 12px; color: #5c5c5c !important; }

/* ---------- Agenda / Google ---------- */

.meetings { list-style: none; margin: 0; padding: 0; }
.meet-day { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 0 6px; }
.meet-day:first-child { padding-top: 0; }
.meet { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.meet-time { width: 56px; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.meet-main { flex: 1; min-width: 0; }
.meet-main strong { display: block; font-size: 14.5px; }
.meet-main small { color: var(--muted); font-size: 12.5px; }
.howto { margin: 12px 0 4px; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.howto li { margin-bottom: 6px; }
.howto code { background: var(--bg); padding: 2px 6px; border-radius: 5px; word-break: break-all; }

/* ---------- Funil de leads ---------- */

.kcol-sum { padding: 0 16px 8px; margin-top: -6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.kcol--won { background: #e7ede7; }
.kcol--lost { background: #efe9e9; }
.kcol--lost .kcard { opacity: .7; }
.kcard-value { font-size: 13px; }
.kcard-next { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); padding: 7px 9px; background: var(--bg); border-radius: 8px; }
.kcard-next span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.reminder-form { display: flex; gap: 8px; flex-wrap: wrap; }
.reminder-form input { min-height: 38px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); }
.reminder-form input[type=text] { flex: 1; min-width: 200px; }
.quick-dates { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lost-form { gap: 6px; }
.lost-form input { min-height: 32px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; }
.mini-list a.icon-btn { flex: 0 0 auto; display: inline-flex; }

/* ---------- Responsivo ---------- */

@media (max-width: 1200px) {
	.detail-grid { grid-template-columns: minmax(0, 1fr) 320px; }
	.stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.app { grid-template-columns: minmax(0, 1fr); }
	.side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 90; width: 270px; transform: translateX(-100%); transition: transform .3s var(--ease); }
	.side-open .side { transform: none; }
	.side-open .side-backdrop { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.4); }
	.top-menu { display: inline-flex; }
	.top { padding: 12px 20px; min-height: 64px; }
	.content { padding: 22px 20px 50px; }
	.detail-grid, .dash-grid { grid-template-columns: minmax(0, 1fr); }
	.detail-side { position: static; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	body.lk { font-size: 14.5px; }
	.top { flex-wrap: wrap; gap: 10px; }
	.top-title { font-size: 19px; }
	.top-actions { width: 100%; order: 3; overflow-x: auto; }
	.top-actions .btn span { display: inline; }
	.content { padding: 18px 14px 40px; gap: 16px; }
	.card { padding: 18px; }
	.grid-2, .grid-3, .grid-4, .perms { grid-template-columns: minmax(0, 1fr); }
	.stats, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.stat { padding: 14px 16px; }
	.stat strong { font-size: 24px; }
	.stat--dark { grid-column: 1 / -1; }
	.table { background: transparent; border: 0; box-shadow: none; display: flex; flex-direction: column; gap: 10px; }
	.table-head { display: none; }
	.table-row, .table--compact .table-row, .table--projects .table-row, .table--fin .table-row { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
	.table-row > .cell-main, .table--compact .table-row > span:first-child { grid-column: 1 / -1; }
	.table-row [data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
	.cell-arrow { display: none; }
	.row-btns { grid-column: 1 / -1; justify-content: flex-start; }
	.kanban { grid-auto-columns: 82vw; scroll-snap-type: x mandatory; min-height: 0; }
	.kcol { scroll-snap-align: start; max-height: none; }
	.project-hero, .chero { flex-direction: column-reverse; align-items: flex-start; padding: 20px; }
	.check-item { flex-wrap: wrap; }
	.check-meta { width: 100%; justify-content: flex-start; padding-left: 34px; }
	.copy-row { flex-wrap: wrap; }
	.copy-row input { flex-basis: 100%; }
	.mini-stats { grid-template-columns: minmax(0, 1fr); }
	.add-page { width: 100%; }
	.add-page input { flex: 1; width: auto; }
	.toolbar { flex-direction: column; align-items: stretch; }
	.toolbar .filter { max-width: none; }
	.month-nav strong { min-width: 0; }
	.bars { height: 170px; gap: 8px; }
	.pl-progress { display: none; }
	.auth { grid-template-columns: minmax(0, 1fr); }
	.auth-side { padding: 28px 22px; gap: 22px; }
	.auth-side-text h2 { font-size: 24px; }
	.auth-list, .auth-copy { display: none; }
	.auth-main { padding: 28px 18px 40px; align-items: flex-start; }
	.ctop-inner { padding: 12px 16px; }
	.ctop-brand span { display: none; }
	.ctop-nav a { padding: 8px; font-size: 13px; }
	.cmain { padding: 22px 14px 90px; }
	.bq { flex-direction: column; gap: 6px; padding: 16px; }
	.approve-form, .approve-form input { width: 100%; }
	.approve-form .btn { flex: 1; }
	.modal { max-height: calc(100vh - 20px); }
	.form-actions--sticky .btn { flex: 1; }
}

@media (max-width: 900px) {
	.dv-hero-grid, .dv-ps { grid-template-columns: minmax(0, 1fr); }
	.dv-mockups { min-height: 0; margin-bottom: 30px; }
	.dv-numbers { grid-template-columns: 1fr 1fr; }
	.dv-numbers div:nth-child(3) { border-left: 0; padding-left: 0; }
	.gauges { grid-template-columns: repeat(2, 1fr); }
	.table--renew .table-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- WhatsApp ---------- */
.side-count--wa { background: #25d366; }
.avatar--brand { background: var(--accent); }
.setup-note p { margin: 0 0 4px; }
.wa-layout { display: grid; grid-template-columns: 320px 1fr; gap: 16px; height: calc(100vh - 150px); min-height: 480px; }
.wa-list { padding: 6px; overflow-y: auto; }
.wa-empty { padding: 14px; }
.wa-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.wa-item:hover { background: var(--bg); }
.wa-item.is-active { background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
.wa-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-item-main strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-item-main small { color: var(--muted, #777); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.wa-item-side small { color: var(--muted, #777); font-size: 11.5px; }
.wa-item-side .side-count { margin-left: 0; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #d0d0d6; }
.wa-dot.is-open { background: #25d366; }
.wa-chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.wa-placeholder { margin: auto; text-align: center; padding: 30px; max-width: 360px; color: var(--muted, #777); }
.wa-placeholder svg { opacity: .35; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line, #eee); }
.wa-head-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-back { display: none; color: inherit; }
.wa-body { flex: 1; overflow-y: auto; padding: 16px; background: #f5f1eb; }
.wa-thread { display: flex; flex-direction: column; gap: 6px; }
.wa-day { align-self: center; margin: 8px 0; padding: 3px 10px; border-radius: 8px; background: var(--card); color: var(--muted); font-size: 11.5px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.wa-msg { max-width: 78%; padding: 7px 10px 5px; border-radius: 10px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.06); font-size: 14px; line-height: 1.45; word-wrap: break-word; }
.wa-msg p { margin: 0; }
.wa-msg small { display: block; margin-top: 2px; text-align: right; color: #8a8f98; font-size: 11px; }
.wa-msg img { display: block; max-width: 260px; max-height: 320px; border-radius: 8px; margin-bottom: 4px; }
.wa-msg audio { max-width: 240px; }
.wa-msg--in { align-self: flex-start; border-top-left-radius: 3px; }
.wa-msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.wa-msg.is-ai { background: #e7f0ff; }
.wa-msg.is-failed { outline: 1px solid #e5484d; }
.wa-msg.is-typing p { color: #8a8f98; font-style: italic; }
.wa-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line, #eee); background: var(--card); }
.wa-compose textarea { flex: 1; resize: none; min-height: 42px; }
.wa-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line, #eee); margin: 0; }
.wa-foot p { margin: 0; flex: 1; min-width: 200px; }
.assistant-log { display: flex; flex-direction: column; gap: 6px; height: 46vh; min-height: 260px; overflow-y: auto; padding: 12px; border-radius: 10px; background: #f5f1eb; margin-bottom: 10px; }
.assistant-log + .wa-compose { border: 1px solid var(--line, #eee); border-radius: 10px; padding: 8px; }
#testar-assistente { width: min(640px, calc(100vw - 32px)); }
.card .wa-thread { max-height: 380px; overflow-y: auto; padding: 10px; border-radius: 10px; background: #f5f1eb; }
@media (max-width: 860px) {
	.wa-layout { grid-template-columns: 1fr; height: auto; }
	.wa-layout.has-chat .wa-list { display: none; }
	.wa-layout:not(.has-chat) .wa-chat { display: none; }
	.wa-chat { height: calc(100vh - 130px); min-height: 420px; }
	.wa-back { display: inline-flex; }
	.wa-msg { max-width: 88%; }
	.wa-head .inline-form .btn { font-size: 12px; padding: 6px 10px; }
}

/* ---------- Redes sociais ---------- */
.net { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 4px; margin-right: 3px; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .02em; color: #fff; background: #6a6a6a; vertical-align: middle; }
.net--instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.net--facebook { background: #1877f2; }
.net--linkedin { background: #0a66c2; }
.net--tiktok { background: #111; }
.net--gbp, .net--gmn { background: #34a853; }
.net--youtube { background: #ff0000; }
.social-conn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.conn-pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.conn-pill.is-on { color: var(--ink); }
.conn-pill:not(.is-on) .net { background: #bbb; }
.tabs--links { margin-bottom: 16px; }
.cal { padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { margin: 0; }
.cal-head .icon-btn { font-size: 22px; text-decoration: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-wd { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0 4px; }
.cal-day { min-height: 110px; padding: 6px; border-radius: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.cal-day.is-empty { background: transparent; }
.cal-day.is-past { opacity: .75; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.cal-num { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; }
.cal-add { visibility: hidden; color: var(--accent-text); text-decoration: none; font-size: 16px; line-height: 1; }
.cal-day:hover .cal-add { visibility: visible; }
.cal-post { display: flex; flex-direction: column; gap: 2px; padding: 5px 6px; border-radius: 7px; background: var(--card); border-left: 3px solid var(--warn); text-decoration: none; color: var(--ink); font-size: 12px; line-height: 1.3; }
.cal-post small { color: var(--muted); font-size: 10.5px; }
.cal-post span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-post em { font-style: normal; }
.cal-post--publicado { border-left-color: var(--ok); }
.cal-post--erro, .cal-post--parcial { border-left-color: var(--late); }
.cal-post--rascunho { border-left-color: #bbb; }
.cal-legend { margin: 12px 0 0; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
.lg--agendado { background: var(--warn); }
.lg--publicado { background: var(--ok); }
.lg--erro { background: var(--late); }
.idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-top: 16px; }
.idea { display: flex; flex-direction: column; gap: 8px; }
.idea h4 { margin: 0; font-size: 16px; }
.idea p { margin: 0; flex: 1; }
.idea-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.idea-top em { font-style: normal; }
.idea-actions { display: flex; gap: 8px; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-list a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: inherit; text-decoration: none; }
.post-list a:hover { background: var(--bg); }
.post-thumb { flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.post-main strong, .post-main small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.post-side em { font-style: normal; }
.badge--st-agendado { background: var(--warn-soft); color: var(--warn-text); }
.badge--st-publicado { background: var(--ok-soft); color: var(--ok-text); }
.badge--st-erro, .badge--st-parcial { background: var(--late-soft); color: var(--late-text); }
.field-row { display: flex; justify-content: space-between; }
.text-late { color: var(--late) !important; }
.ai-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.post-editor .howto { padding-left: 0; }
.post-editor .howto summary { cursor: pointer; font-weight: 500; }
.post-editor .howto textarea { width: 100%; margin-top: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; }
.media-item { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.media-item img, .media-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-rm { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 2px 6px; border-radius: 6px; background: rgba(10,10,10,.7); color: #fff; font-size: 11.5px; display: flex; align-items: center; gap: 4px; }
.checks--nets { flex-direction: column; gap: 8px; }
.checks--nets .check.is-off { opacity: .55; }
.post-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.btn--dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.post-results ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.post-results li { padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.post-results li.is-ok { background: var(--ok-soft); }
.post-results li.is-err { background: var(--late-soft); color: var(--late-text); }
.post-footer-actions { margin-top: 16px; }
.ig-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.ig-head { display: flex; align-items: center; gap: 8px; padding: 10px; font-size: 13px; }
.ig-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(45deg, #f09433, #bc1888); }
.ig-media { position: relative; aspect-ratio: 4 / 5; background: var(--bg); }
.ig-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-count { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 20px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; }
.ig-caption { margin: 0; padding: 10px; font-size: 13px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.conn-rows { display: flex; flex-direction: column; gap: 10px; }
.conn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.conn-row:first-child { border-top: 0; }
.conn-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) {
	.cal { padding: 10px; }
	.cal-grid { gap: 3px; }
	.cal-day { min-height: 64px; padding: 4px; }
	.cal-post { padding: 3px 4px; font-size: 0; border-left-width: 0; background: transparent; }
	.cal-post small, .cal-post span { display: none; }
	.cal-post em .net { font-size: 9px; min-width: 18px; height: 15px; }
	.cal-wd { font-size: 10px; letter-spacing: 0; }
	.post-side small { display: none; }
}

/* ---------- Extrato, sites e alertas ---------- */
.bank-form .card { padding: 0; overflow-x: auto; }
.bank-table { width: 100%; border-collapse: collapse; font-size: 14px; background: none; border: 0; box-shadow: none; }
.bank-table th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bank-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bank-table .num { text-align: right; white-space: nowrap; font-weight: 600; }
.bank-table tr.is-match { background: var(--ok-soft); }
.bank-table tr.is-done { opacity: .5; }
.bank-desc { max-width: 320px; }
.bank-act { display: flex; gap: 6px; flex-wrap: wrap; }
.bank-act select { max-width: 340px; font-size: 13px; }
.small-strong { font-size: 18px !important; }
.site-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: #ccc; }
.site-dot.is-up { background: var(--ok); }
.site-dot.is-warn { background: var(--warn); }
.site-dot.is-down { background: var(--late); box-shadow: 0 0 0 3px var(--late-soft); }
.alert-bar { display: block; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: var(--late-soft); color: var(--late-text); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
	.bank-table thead { display: none; }
	.bank-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
	.bank-table td { padding: 0; border: 0; }
	.bank-table td:last-child { grid-column: 1 / -1; }
	.bank-act select { max-width: 100%; width: 100%; }
}

/* ---------- Segurança ---------- */
.sec-checks { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sec-checks .is-ok { color: var(--ok); }
.sec-checks .is-bad { color: var(--late); font-weight: 600; }
.sec-checks small { font-weight: 400; }
.sec-log { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.code-input { font-size: 26px !important; letter-spacing: 8px; text-align: center; font-weight: 600; }

/* Novo projeto: tipo (novo / em andamento) */
.kind-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.kind-opt { position: relative; display: block; cursor: pointer; }
.kind-opt input { position: absolute; opacity: 0; pointer-events: none; }
.kind-opt > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s var(--ease), background .2s var(--ease); }
.kind-opt small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.kind-opt:hover > span { border-color: var(--muted-2); }
.kind-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.kind-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Relatório mensal (público, imprime como PDF) ---------- */

.rp-toolbar { position: fixed; top: 16px; right: 16px; z-index: 20; }
.rp-hero { padding-bottom: 64px; }
.rp-hero h1 { max-width: 820px; }
.rp-site { display: inline-block; color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.3); text-decoration: none; padding-bottom: 2px; }
.rp-kpis div { gap: 8px; }
.rp-delta { font-style: normal; font-size: 12px; font-weight: 600; }
.rp-delta.is-up { color: #0f8a13; }
.rp-delta.is-down { color: var(--late); }
.rp-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-notes li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.rp-notes li span { font-size: 13px; font-weight: 600; color: var(--accent-text); padding-top: 2px; }
.rp-notes li p { font-size: 15.5px; line-height: 1.6; }
.rp-chart { display: flex; align-items: flex-end; gap: 4px; height: 220px; padding: 20px 20px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.rp-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.rp-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--ink); min-height: 2px; }
.rp-col:hover i { background: var(--accent); }
.rp-col.is-empty i { background: var(--line); }
.rp-col small { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.rp-foot { margin-top: 10px; }
.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.rp-grid h3 { margin-bottom: 6px; }
.rp-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-bars li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.rp-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-bar-track { height: 8px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.rp-bar-track i { display: block; height: 100%; border-radius: 8px; background: var(--accent); }
.rp-bar-n { font-weight: 600; text-align: right; white-space: nowrap; }
.rp-bar-n small { margin-left: 6px; font-weight: 400; color: var(--muted); font-size: 12px; }
.rp-ux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rp-ux strong { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.rp-ux small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.rp-source { margin-top: 28px; }
@media (max-width: 720px) {
	.rp-grid { grid-template-columns: minmax(0, 1fr); }
	.rp-ux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rp-kpis strong { font-size: 30px; }
	.rp-ux strong { font-size: 24px; }
	.rp-chart { gap: 2px; padding: 14px 10px 26px; height: 180px; }
	.rp-bars li { grid-template-columns: minmax(0, 1fr) auto; }
	.rp-bar-track { grid-column: 1 / -1; grid-row: 2; }
	.rp-toolbar { top: auto; bottom: 16px; }
}
@media print {
	@page { size: A4; margin: 12mm; }
	.no-print, .rp-toolbar { display: none !important; }
	body.lk-report { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 12px; }
	.lk-report .dv-hero { padding: 28px 0 32px; }
	.lk-report .dv-hero::after { display: none; }
	.lk-report .dv-hero h1 { font-size: 30px; }
	.lk-report .dv-section { padding-top: 26px; break-inside: avoid; }
	.lk-report .dv-card, .rp-notes li, .rp-chart { break-inside: avoid; }
	.lk-report .dv-final { margin-top: 28px; padding: 28px 0 20px; }
	.lk-report .dv-wrap { padding: 0; max-width: none; }
	.rp-chart { height: 160px; }
}

/* ---------- Relatórios no painel ---------- */
.table--reports .table-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr) auto; }
.report-gen { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.report-preview { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
#clarity-card .stack { margin-top: 12px; }
#clarity-card .stack-btns { margin-top: 10px; }
@media (max-width: 720px) {
	.report-gen { grid-template-columns: minmax(0, 1fr); }
	.table--reports .table-row { grid-template-columns: 1fr 1fr; }
	.report-preview { height: 520px; }
}

/* ---------- Logo do cliente e selo da Eleve ---------- */
.brand-plate { display: flex; width: fit-content; align-items: center; justify-content: center; min-height: 64px; max-width: 240px; padding: 12px 20px; margin-bottom: 32px; border-radius: 14px; background: #fff; }
.brand-plate img { max-height: 48px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.made-by { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 40px; background: var(--ink); color: #9a9a9a; font-size: 11px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.made-by img { height: 18px; width: auto; }
.logo-field { display: flex; gap: 14px; align-items: center; }
.logo-field .field { flex: 1; min-width: 0; }
.logo-plate { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 72px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.logo-plate img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-plate em { font-style: normal; font-weight: 600; color: var(--muted); }
@media (max-width: 720px) {
	.made-by { right: 12px; bottom: 12px; }
	.rp-toolbar { top: 12px; bottom: auto; right: 12px; }
}
@media print {
	.made-by { position: fixed; right: 0; bottom: 0; box-shadow: none; }
}

/* ==========================================================
   Tema escuro (painel e área do cliente). Botão no topo:
   claro → escuro → igual ao sistema. As páginas públicas
   (proposta, entrega, relatório) continuam sempre claras.
   ========================================================== */

.theme-btn { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 13px; }
.theme-btn:hover { border-color: var(--muted-2); }
.theme-ic { display: inline-flex; }
.theme-ic--dark, [data-theme="dark"] .theme-ic--light { display: none; }
[data-theme="dark"] .theme-ic--dark { display: inline-flex; }
.ctop .theme-btn { background: transparent; border-color: rgba(255,255,255,.18); color: #d4d4d4; height: 34px; }
@media (max-width: 720px) { .theme-label { display: none; } .theme-btn { padding: 0 10px; } }

[data-theme="dark"] {
	color-scheme: dark;
	--ink: #f2f2ef;
	--ink-2: #e2e2de;
	--ink-3: #c9c9c4;
	--bg: #0d0d0d;
	--card: #171717;
	--line: #262626;
	--line-2: #333333;
	--muted: #9a9a96;
	--muted-2: #6f6f6b;
	--accent: #f2f2ef;
	--on-accent: #0a0a0a;
	--on-ink: #0a0a0a;
	--accent-text: #f2f2ef;
	--ok-solid: #0f7a14;
	--ok-text: #6ee78a;
	--warn-text: #f5c451;
	--late-text: #ff8f8f;
	--accent-soft: #232323;
	--ok-soft: #0f2410;
	--warn-soft: #2a2008;
	--late-soft: #2c1111;
	--shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35);
}
[data-theme="dark"] body.lk { background: var(--bg); color: var(--ink); }

/* Superfícies escuras que eram "preto" no tema claro continuam escuras. */
[data-theme="dark"] .side { background: #080808; border-right: 1px solid var(--line); }
[data-theme="dark"] .ctop, [data-theme="dark"] .drive, [data-theme="dark"] .autofill, [data-theme="dark"] .toast { background: #080808; }
[data-theme="dark"] .stat--dark { background: #080808; border-color: var(--line-2); color: #fff; }
[data-theme="dark"] .top { background: rgba(13,13,13,.86); border-bottom-color: var(--line); }
[data-theme="dark"] .form-actions--sticky { background: var(--bg); box-shadow: 0 -10px 18px -12px rgba(0,0,0,.6); }

/* Elementos em destaque ficam claros com texto escuro. */
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .btn--dark,
[data-theme="dark"] .flow-step.is-current,
[data-theme="dark"] .chip input:checked + span,
[data-theme="dark"] .badge--btn:hover { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
[data-theme="dark"] .btn--primary:hover { background: #fff; }
[data-theme="dark"] .avatar { background: #2e2e2e; color: #f2f2ef; }
[data-theme="dark"] .cflow li.is-done .cflow-dot { color: #0a0a0a; }

/* Tons claros fixos → versões escuras. */
[data-theme="dark"] .check-item:hover,
[data-theme="dark"] a.table-row:hover,
[data-theme="dark"] .table-row[data-open]:hover,
[data-theme="dark"] .table-head,
[data-theme="dark"] .pay-opt input:checked + span { background: #1e1e1e; }
[data-theme="dark"] .add-box, [data-theme="dark"] .plan-edit { background: #141414; }
[data-theme="dark"] .progress, [data-theme="dark"] .renew-bar { background: #2a2a2a; }
[data-theme="dark"] .kcol:last-child, [data-theme="dark"] .kcol[data-last], [data-theme="dark"] .kcol--won { background: #122014; }
[data-theme="dark"] .kcol.kcol--add { background: transparent; }
[data-theme="dark"] .kcol--lost { background: #221414; }
[data-theme="dark"] .card--accent { border-color: #4a2416; background: linear-gradient(180deg, #24140e 0%, var(--card) 70%); }
[data-theme="dark"] .card--warn, [data-theme="dark"] .stat--warn { border-color: #4a3a12; }
[data-theme="dark"] .flash { color: #7fdc82; border-color: #1e4a20; }
[data-theme="dark"] .flash--warn, [data-theme="dark"] .badge--wait, [data-theme="dark"] .pill--warn { color: #f1c35a; border-color: #4a3a12; }
[data-theme="dark"] .badge--ok, [data-theme="dark"] .pill--ok, [data-theme="dark"] .dv-devices.is-ok em { color: #7fdc82; border-color: #1e4a20; }
[data-theme="dark"] .badge--alta { color: #ff9a74; border-color: #4a2416; }
[data-theme="dark"] .pill--late { color: #ff8a8a; }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea,
[data-theme="dark"] .copy-row input, [data-theme="dark"] .comment-box textarea { background: #111; color: var(--ink); }
[data-theme="dark"] .modal-box, [data-theme="dark"] .search-box, [data-theme="dark"] .sheet-box { background: var(--card); color: var(--ink); }
[data-theme="dark"] .kind-opt input:checked + span { background: var(--accent-soft); }
[data-theme="dark"] .logo-plate { border-color: var(--line-2); }
[data-theme="dark"] .report-preview { border-color: var(--line-2); }
[data-theme="dark"] img.side-logo, [data-theme="dark"] .side-brand img { filter: none; }
[data-theme="dark"] .modal { background: var(--card); }
[data-theme="dark"] .flow-step.is-done { background: #262626; color: var(--ink-3); }
.notes-area { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); line-height: 1.65; resize: vertical; }
.notes-area:focus { outline: none; border-color: var(--ink); }

/* Textos longos (links, códigos) quebram em vez de empurrar a tela para o lado. */
.content code, .cmain code { word-break: break-all; overflow-wrap: anywhere; }
@media (max-width: 720px) {
	.form-actions--sticky { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
	.btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Olhinho: valores em R$ escondidos ---------- */
html[data-hide-money]:not([data-money-ready]) .lk-panel .content { visibility: hidden; }
html[data-hide-money] .lk-panel input[data-money]:not(:focus) { -webkit-text-security: disc; }
html[data-hide-money] .lk-panel .chart, html[data-hide-money] .lk-panel .bars { filter: blur(6px); }
.money-btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.money-ic--off, .money-btn.is-hidden-money .money-ic--on { display: none; }
.money-btn.is-hidden-money .money-ic--off { display: inline-flex; }
.btn--icon { width: 40px; padding: 0; }

/* ---------- Modo foco: escolher ---------- */
.focus-stats .focus-top { grid-column: span 2; }
.focus-top ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.focus-top li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.focus-top li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-filter { width: 100%; min-height: 42px; margin-top: 16px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); }
.focus-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 14px; }
.focus-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 0 8px; }
.focus-group { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin: 14px 0 6px; }
.focus-group em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: 4px; }
.focus-group.is-late { color: var(--late); }
.focus-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; background: var(--card); transition: border-color .15s, background .15s; }
.focus-opt:hover { border-color: var(--line-2); }
.focus-opt input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.focus-opt > span:not(.badge) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.focus-opt strong { font-size: 14px; font-weight: 500; }
.focus-opt small { color: var(--muted); font-size: 12.5px; }
.focus-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.focus-pick .form-actions--sticky { justify-content: space-between; }
@media (max-width: 720px) {
	.focus-cols { grid-template-columns: minmax(0, 1fr); }
	.focus-stats .focus-top { grid-column: 1 / -1; }
}

/* ---------- Modo foco: sessão (relógio à esquerda, tarefas à direita; fundo preto ou branco) ---------- */
body.lk-focus, body.lk-focus[data-fz-theme="escuro"] {
	--fz-bg: #05080B; --fz-surface: #0D1217; --fz-surface-2: #141A20; --fz-line: #222A31;
	--fz-text: #F2F4F5; --fz-muted: #A3ACB4; --fz-accent: #14E9EC; --fz-track: #1A2229;
	--fz-btn-bg: #14E9EC; --fz-btn-fg: #05080B; --fz-break: #4ADE80; --fz-done: #4ADE80; --fz-done-fg: #05080B;
	--fz-glow: rgba(20,233,236,.16);
}
body.lk-focus[data-fz-theme="claro"] {
	--fz-bg: #FFFFFF; --fz-surface: #F5F7F8; --fz-surface-2: #EDF0F2; --fz-line: #DCE1E5;
	--fz-text: #05080B; --fz-muted: #535C64; --fz-accent: #0A7477; --fz-track: #E5E9EC;
	--fz-btn-bg: #05080B; --fz-btn-fg: #FFFFFF; --fz-break: #15803D; --fz-done: #15803D; --fz-done-fg: #FFFFFF;
	--fz-glow: rgba(10,116,119,.10);
}
body.lk-focus { margin: 0; min-height: 100vh; background: var(--fz-bg); color: var(--fz-text); transition: background .3s, color .3s; }
.fz { min-height: 100vh; display: flex; flex-direction: column; }
.fz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; }
.fz-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fz-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; background: var(--fz-surface-2); color: var(--fz-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fz-badge .ic { color: var(--fz-accent); }
.fz-goal { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--fz-muted); }
.fz-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fz-now { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--fz-muted); font-variant-numeric: tabular-nums; }
.fz-icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--fz-line); background: transparent; color: var(--fz-text); cursor: pointer; transition: background .15s, border-color .15s; }
.fz-icon:hover { background: var(--fz-surface-2); }
.fz-icon:focus-visible, .fz-btn:focus-visible, .fz-exit:focus-visible, .fz-item-title:focus-visible, .fz-tick:focus-visible { outline: 2px solid var(--fz-accent); outline-offset: 2px; }
.fz-icon.is-off { color: var(--fz-muted); position: relative; }
.fz-icon.is-off::after { content: ''; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
body[data-fz-theme="escuro"] .fz-ic-moon, body[data-fz-theme="claro"] .fz-ic-sun { display: none; }
.fz-ic-sun, .fz-ic-moon { display: grid; }
.fz-exit { height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--fz-line); background: var(--fz-surface-2); color: var(--fz-text); font-weight: 600; font-size: 14px; cursor: pointer; }
.fz-exit:hover { background: var(--fz-text); color: var(--fz-bg); border-color: var(--fz-text); }

.fz-main { flex: 1; width: min(1200px, 100%); margin: 0 auto; padding: 12px 28px 48px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fz-clock { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fz-phase { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; background: var(--fz-surface-2); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fz-text); }
.fz-phase::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fz-accent); }
.is-break .fz-phase::before { background: var(--fz-break); }
.is-running .fz-phase::before { animation: fz-blink 1.6s infinite; }
@keyframes fz-blink { 50% { opacity: .3; } }
.fz-ring { --p: 0; position: relative; width: min(440px, 78vw); aspect-ratio: 1; margin: 24px 0 28px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--fz-glow), transparent 68%); }
.fz-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fz-track, .fz-bar { fill: none; stroke-width: 5; }
.fz-track { stroke: var(--fz-track); }
.fz-bar { stroke: var(--fz-accent); stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: calc(339.292 * (1 - var(--p) / 100)); transition: stroke-dashoffset .3s linear, stroke .3s; }
.is-break .fz-bar { stroke: var(--fz-break); }
.fz-center { position: relative; display: flex; flex-direction: column; align-items: center; }
.fz-time { font-family: var(--head); font-size: clamp(64px, 9vw, 120px); font-weight: 600; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.fz-meta { margin-top: 14px; font-size: 14px; color: var(--fz-muted); }
.fz-controls { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.fz-btn { min-width: 116px; height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--fz-line); background: var(--fz-surface); color: var(--fz-text); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s, transform .15s; }
.fz-btn:hover { background: var(--fz-surface-2); }
.fz-btn:active { transform: scale(.98); }
.fz-btn--main { min-width: 180px; background: var(--fz-btn-bg); border-color: var(--fz-btn-bg); color: var(--fz-btn-fg); font-size: 16px; }
.fz-btn--main:hover { background: var(--fz-btn-bg); filter: brightness(1.08); }
.is-running .fz-btn--main { background: transparent; color: var(--fz-text); border-color: var(--fz-text); }
.fz-hint { margin-top: 18px; font-size: 13px; color: var(--fz-muted); }
.fz-hint kbd { padding: 2px 7px; border: 1px solid var(--fz-line); border-bottom-width: 2px; border-radius: 6px; font: 600 12px var(--font); color: var(--fz-text); }

.fz-side { align-self: center; padding: 24px; border: 1px solid var(--fz-line); border-radius: 22px; background: var(--fz-surface); }
.fz-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fz-side-head h2 { font-size: 20px; }
.fz-count { font-size: 13.5px; font-weight: 600; color: var(--fz-muted); }
.fz-progress { height: 6px; margin: 14px 0 4px; border-radius: 6px; background: var(--fz-track); overflow: hidden; }
.fz-progress span { display: block; height: 100%; border-radius: 6px; background: var(--fz-done); transition: width .4s var(--ease); }
.fz-list { display: grid; gap: 8px; margin-top: 14px; max-height: min(52vh, 520px); overflow-y: auto; }
.fz-item { padding: 14px; border: 1px solid transparent; border-radius: 16px; background: var(--fz-surface-2); transition: border-color .2s, background .2s; }
.fz-item.is-current { border-color: var(--fz-accent); background: var(--fz-bg); box-shadow: 0 0 0 3px var(--fz-glow); }
.fz-item-head { display: flex; align-items: center; gap: 12px; }
.fz-item-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; border-radius: 6px; }
.fz-item-title strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.fz-item-title small { font-size: 13px; color: var(--fz-muted); }
.fz-item.is-done .fz-item-title strong { text-decoration: line-through; color: var(--fz-muted); }
.fz-now-tag { display: none; padding: 3px 9px; border-radius: 20px; background: var(--fz-accent); color: var(--fz-btn-fg); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; }
body[data-fz-theme="claro"] .fz-now-tag { color: #FFFFFF; }
.fz-item.is-current .fz-now-tag { display: inline-block; }
.fz-open { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--fz-muted); flex-shrink: 0; }
.fz-open:hover { background: var(--fz-surface-2); color: var(--fz-text); }
.fz-dot { width: 10px; height: 10px; margin: 0 7px; border-radius: 50%; background: var(--fz-accent); flex-shrink: 0; }
.fz-tick { position: relative; width: 26px; height: 26px; flex-shrink: 0; border-radius: 9px; border: 2px solid var(--fz-muted); background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.fz-tick:hover { border-color: var(--fz-text); }
.fz-tick.is-done { background: var(--fz-done); border-color: var(--fz-done); }
.fz-tick.is-done::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--fz-done-fg); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fz-tick--sm { width: 20px; height: 20px; border-radius: 6px; }
.fz-tick--sm.is-done::after { left: 5px; top: 1px; width: 5px; height: 9px; }
.fz-sub { list-style: none; margin: 12px 0 0 38px; padding: 0; display: grid; gap: 8px; }
.fz-sub li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fz-sub li.is-done span { text-decoration: line-through; color: var(--fz-muted); }
.fz-tip { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--fz-muted); }
.fz-tip em { font-style: normal; font-weight: 700; color: var(--fz-text); }

/* Chat oculto no foco: some a bolinha e a janela; as ligações continuam chegando. */
body.fz-chat-off .hub-fab, body.fz-chat-off .hub-rail, body.fz-chat-off .hub-win { display: none !important; }

@media (prefers-reduced-motion: reduce) { .fz-bar, .fz-progress span, body.lk-focus { transition: none; } .is-running .fz-phase::before { animation: none; } }
@media (max-width: 960px) {
	.fz-main { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 28px; padding: 4px 16px 110px; }
	.fz-ring { width: min(340px, 80vw); margin: 18px 0 22px; }
	.fz-list { max-height: none; }
}
@media (max-width: 600px) {
	.fz-top { padding: 12px 16px; gap: 8px; }
	.fz-goal, .fz-now, .fz-hide-sm, .fz-hint { display: none; }
	.fz-tools { gap: 6px; }
	.fz-icon, .fz-exit { height: 38px; }
	.fz-icon { width: 38px; }
	.fz-btn { min-width: 0; flex: 1; }
	.fz-btn--main { flex-basis: 100%; }
	.fz-side { padding: 18px; border-radius: 18px; }
}
.focus-new { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }

/* ---------- Ideias e conteúdo ---------- */
.ideas-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.idea-capture-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.idea-kinds input { display: none; }
.idea-kinds { flex-wrap: wrap; }
.card--dark { background: var(--chrome, #0a0a0a); border-color: #1f1f1f; color: #ededeb; }
.card--dark h3 { color: #fff; display: flex; align-items: center; gap: 8px; }
.card--dark h3 .ic { color: var(--accent); }
.card--dark p { color: #b5b5b0; }
.card--dark a { color: #fff; }
.idea-gens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.idea-gen input { position: absolute; opacity: 0; pointer-events: none; }
.idea-gen span { display: block; padding: 10px 12px; border: 1px solid #2c2c2c; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #d4d4d2; cursor: pointer; text-align: center; }
.idea-gen input:checked + span { border-color: var(--accent); background: rgba(128,128,128,.14); color: #fff; }
.idea-gen input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.idea-topic { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #2c2c2c; border-radius: 10px; background: #141414; color: #fff; }
.idea-topic::placeholder { color: #7a7a75; }
.ideas-filters { flex-wrap: wrap; }
.ideas-filters .seg { flex-wrap: wrap; }
.seg a em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 3px; }
.ideas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.idea-card { --k: var(--muted); display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--k); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.idea-card--conteudo { --k: #7c3aed; }
.idea-card--campanha { --k: var(--accent); }
.idea-card--insight { --k: #0891b2; }
.idea-card--oferta { --k: #16a34a; }
.idea-card.is-pinned { box-shadow: 0 0 0 1px var(--k), var(--shadow); }
.idea-card header { display: flex; align-items: center; gap: 8px; }
.idea-kind { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--k); }
.idea-ai-tag { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 20px; background: var(--bg); color: var(--muted); }
.idea-card header .inline-form { margin-left: auto; }
.idea-pin { border: 0; background: none; font-size: 18px; line-height: 1; color: var(--muted-2); cursor: pointer; padding: 2px; }
.idea-pin.is-on, .idea-pin:hover { color: #f5a524; }
.idea-card h4 { font-size: 16px; line-height: 1.35; font-weight: 600; }
.idea-body { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-height: 9.6em; overflow: hidden; position: relative; }
.idea-body.is-open { max-height: none; }
.idea-more { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--accent-text); cursor: pointer; }
.idea-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.idea-actions { display: flex; align-items: center; gap: 6px; }
.menu-more { position: relative; }
.menu-more > summary { list-style: none; cursor: pointer; }
.menu-more > summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30; min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 16px 40px rgba(0,0,0,.16); display: flex; flex-direction: column; }
.menu-pop > button, .menu-pop form button { width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); text-align: left; font-size: 13.5px; cursor: pointer; }
.menu-pop form { display: block; }
.menu-pop > button:hover, .menu-pop form button:hover { background: var(--bg); }
.menu-pop .is-danger { color: var(--late); }
@media (max-width: 900px) {
	.ideas-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.idea-gens { grid-template-columns: 1fr 1fr; }
	.ideas-grid { grid-template-columns: minmax(0, 1fr); }
	.idea-capture-foot .btn { width: 100%; }
}

/* Contraste no escuro: Kanban, abas, contadores, envio de arquivo e anel de progresso. */
[data-theme="dark"] .kcol { background: #151515; border: 1px solid var(--line); }
[data-theme="dark"] .kcol-head h3 { color: var(--ink); }
[data-theme="dark"] .kcount { background: #262626; color: var(--ink-3); }
[data-theme="dark"] .kcard { background: #1e1e1e; border-color: #2c2c2c; }
[data-theme="dark"] .kcard-value, [data-theme="dark"] .kcol-sum { color: var(--ink-3); }
[data-theme="dark"] .kcard-next { background: #151515; color: var(--ink-3); }
[data-theme="dark"] .seg { background: #1e1e1e; }
[data-theme="dark"] .seg a, [data-theme="dark"] .seg label { color: #b3b3ae; }
[data-theme="dark"] .seg a.is-active, [data-theme="dark"] .seg label:has(input:checked) { background: #333; color: #fff; box-shadow: none; }
[data-theme="dark"] .seg a em { color: #9a9a96; }
[data-theme="dark"] .drop { background: #141414; color: var(--ink-3); }
[data-theme="dark"] .ring { background: conic-gradient(var(--accent) calc(var(--p) * 1%), #2a2a2a 0); }
[data-theme="dark"] .ring strong { color: var(--ink); }
[data-theme="dark"] .idea-ai-tag { background: #262626; color: var(--ink-3); }
[data-theme="dark"] .card--dark { background: #080808; border-color: #262626; }
[data-theme="dark"] .text-ok, [data-theme="dark"] .round-ic--in { color: #4ade80; }
[data-theme="dark"] .due--today { color: #ff7a4d; }
[data-theme="dark"] .due--soon { color: #f1c35a; }
.menu-more:not([open]) > .menu-pop { display: none; }

/* Barra lateral: olhinho e tema numa linha própria, acima do usuário. */
.side-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 8px 0; border-top: 1px solid #1f1f1f; }
.side-tools + .side-user { border-top: 0; }
.side-tools .money-btn, .side-tools .theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: transparent; color: #bdbdbd; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.side-tools .money-btn:hover, .side-tools .theme-btn:hover { color: #fff; border-color: rgba(255,255,255,.28); background: #151515; }
.side-tools .theme-label { display: inline !important; }
.side-tools .money-btn.is-hidden-money { color: #fff; border-color: var(--accent); }
.same-date { grid-column: 1 / -1; margin-top: -4px; }
.field.is-locked input { opacity: .55; cursor: not-allowed; }

/* ---------- Saúde do sistema ---------- */
.health-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.health-hero h2 { font-size: 22px; letter-spacing: -.02em; }
.health-hero p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.health-big { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; font-weight: 700; color: #fff; background: var(--ok-solid); }
.health-hero--warn .health-big { background: var(--warn); }
.health-hero--bad { border-color: #f3c2c2; }
.health-hero--bad .health-big { background: var(--late); }
.health-list { display: grid; gap: 10px; }
.health-item { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.health-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; flex-shrink: 0; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.health-item--warn .health-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.health-item--bad { border-color: #f3c2c2; }
.health-item--bad .health-dot { background: var(--late); box-shadow: 0 0 0 4px var(--late-soft); }
.health-item--info .health-dot { background: var(--muted-2); box-shadow: 0 0 0 4px var(--bg); }
.health-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.health-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.health-head h3 { font-size: 15px; }
.health-body p { font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }
.health-fix { padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.health-body .copy-row { margin-top: 4px; }
.health-body .link { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.health-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid #f3c2c2; background: var(--late-soft); color: var(--late-text); text-decoration: none; font-size: 14px; }
.health-banner span { flex: 1; }
[data-theme="dark"] .health-banner { color: #ff9a9a; border-color: #4a1f1f; }
[data-theme="dark"] .health-hero--bad, [data-theme="dark"] .health-item--bad { border-color: #4a1f1f; }
@media (max-width: 720px) { .health-hero { align-items: flex-start; } .health-head { flex-wrap: wrap; } }

/* ---------- Barra de comandos ---------- */
button.search-item { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.search-item--ai em { color: #7c3aed; }
.search-item--ai strong { white-space: normal; }
.cmd-ai { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 12px; }
.cmd-you { align-self: flex-end; max-width: 90%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--card); font-size: 14px; }
.cmd-reply { font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.cmd-reply--err { color: var(--late); }
.cmd-wait { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.cmd-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: cmdspin .8s linear infinite; }
@keyframes cmdspin { to { transform: rotate(360deg); } }
.cmd-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmd-plan label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.cmd-plan input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.cmd-plan--done li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.cmd-plan--done li > span { font-weight: 700; color: var(--ok-text, #138a17); }
.cmd-plan--done li.is-bad > span { color: var(--late); }
.cmd-plan--done small { display: block; color: var(--muted); font-size: 12.5px; }
.cmd-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Telefone com país */
.phone-wrap{display:flex;align-items:stretch;gap:0;width:100%}
.phone-wrap .phone-country{flex:0 0 auto;width:auto;max-width:108px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0;padding-left:10px;padding-right:24px;font-size:14px;background-position:right 8px center}
.phone-wrap input{flex:1 1 auto;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}

/* Quadro de projetos: colunas editáveis */
.kanban--editable .kcol-head{gap:8px;justify-content:flex-start}
.kanban--editable .kcol-title{cursor:text;border-radius:6px;padding:2px 6px;margin:-2px -6px;outline:none;min-width:40px}
.kanban--editable .kcol-title:hover{background:rgba(0,0,0,.05)}
.kanban--editable .kcol-title.is-editing{background:var(--card,#fff);box-shadow:0 0 0 2px var(--accent,#0a0a0a)}
.kanban--editable .kcount{margin-left:auto}
.kcol-tag{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);border:1px dashed currentColor;border-radius:20px;padding:0 6px}
.kcol-tools{display:flex;gap:2px;opacity:0;transition:opacity .2s}
.kcol:hover .kcol-tools,.kcol:focus-within .kcol-tools{opacity:1}
@media (hover:none){.kcol-tools{opacity:1}}
.kcol-btn{width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:15px;line-height:1;cursor:pointer}
.kcol-btn:hover{background:rgba(0,0,0,.07);color:var(--text,#0a0a0a)}
.kcol--internal{background:repeating-linear-gradient(135deg,rgba(0,0,0,.025) 0 8px,transparent 8px 16px),#ebebe7}
.kcol--add{background:transparent;border:2px dashed rgba(0,0,0,.12);min-height:120px;align-items:center;justify-content:center}
.kcol-add-btn{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font:inherit;font-weight:600;cursor:pointer;padding:14px 18px;border-radius:10px}
.kcol-add-btn:hover{color:var(--text,#0a0a0a);background:rgba(0,0,0,.04)}
.choice-list{display:flex;flex-direction:column;gap:8px}
.choice{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line,#e5e5e5);border-radius:10px;padding:12px;cursor:pointer}
.choice input{margin-top:3px}
.choice span{display:flex;flex-direction:column;gap:2px}
.choice small{color:var(--muted);line-height:1.45}
.choice:has(input:checked){border-color:var(--accent,#0a0a0a);background:rgba(128,128,128,.04)}
[data-theme="dark"] .kcol--internal{background:repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 8px,transparent 8px 16px),#151515}
[data-theme="dark"] .kcol--add{border-color:rgba(255,255,255,.14)}
[data-theme="dark"] .kanban--editable .kcol-title:hover,[data-theme="dark"] .kcol-btn:hover{background:rgba(255,255,255,.08)}

.badge--client{background:rgba(26,185,30,.12);color:#15803d;text-decoration:none}
[data-theme="dark"] .badge--client{background:rgba(26,185,30,.18);color:#4ade80}

/* Agenda: ações da reunião e convite */
.meet .meet-btns{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}
.meet .meet-btns .inline-form{display:inline-flex}
.icon-btn--danger:hover{color:#dc2626}
.invite-text{white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.6;background:var(--bg-soft,#f5f5f3);border-radius:10px;padding:14px 16px;margin:0 0 12px}
[data-theme="dark"] .invite-text{background:#1b1b1b}

/* Financeiro: contas recorrentes */
.switch-row{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line,#e5e5e5);border-radius:10px;cursor:pointer}
.switch-row input{position:absolute;opacity:0;pointer-events:none}
.switch-row .switch{flex:0 0 auto;width:38px;height:22px;border-radius:22px;background:#d4d4d4;position:relative;transition:background .2s;margin-top:1px}
.switch-row .switch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .2s}
.switch-row input:checked + .switch{background:var(--accent,#0a0a0a)}
.switch-row input:checked + .switch::after{transform:translateX(16px)}
.switch-row input:focus-visible + .switch{box-shadow:0 0 0 3px rgba(128,128,128,.3)}
.switch-row span:last-child{display:flex;flex-direction:column;gap:2px}
.switch-row small{color:var(--muted);line-height:1.45}
.recur-tag{font-style:normal;font-weight:600;color:var(--accent,#0a0a0a);font-size:12px}
.table--recur .table-row{grid-template-columns:minmax(0,2.2fr) 1fr 1fr 1fr auto}
.table--recur .table-row.is-paused{opacity:.55}
[data-theme="dark"] .switch-row .switch{background:#404040}
@media (max-width: 760px){.table--recur .table-row{grid-template-columns:1fr 1fr;gap:8px 12px;padding:14px 16px;background:var(--card);border:1px solid var(--line);border-radius:12px}.table--recur .table-head{display:none}.table--recur .cell-main,.table--recur .row-btns{grid-column:1/-1}}
.kanban--editable .kcol-title{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.alert-bar--warn{background:#fff7e0;color:#7a5200;border-color:#f3dfa8}
[data-theme="dark"] .alert-bar--warn{background:#2a220e;color:#f5d27a;border-color:#4a3a12}

/* 1.14 · proposta de hospedagem, implantação */
.badge--warn { background: #fff7e6; border-color: #f5d9a3; color: var(--warn-text); }
[data-theme="dark"] .badge--warn { background: #2a2110; border-color: #4a3a1a; color: #f3c56b; }
hr.sep { border: 0; border-top: 1px solid var(--line, #e5e5e5); margin: 16px 0; }
.svc-card-value small { font-size: .6em; font-weight: 500; opacity: .6; margin-left: 2px; }

/* ==========================================================
   CARDON · componentes do estúdio 3D
   ========================================================== */
.side { background: #0a0a0a; }
.side-brand img { height: 24px; }
.hello h2, .top-title { font-family: var(--head); }
.stat strong { font-family: var(--head); }
.btn { border-radius: 999px; }
.btn--sm { border-radius: 999px; }
.btn--link { background: none; border: 0; padding: 0 4px; min-height: 0; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.btn--link:hover { color: var(--ink); }
.money { font-variant-numeric: tabular-nums; }
.sub { font-size: 14px; margin: 18px 0 8px; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; font-size: 14px; }
.kv span { color: var(--muted); }
.kv strong { text-align: right; font-weight: 600; }

/* Layout em duas colunas */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.split-main, .split-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.split .card + .card { margin-top: 0; }

/* Listas simples */
.items-list { display: flex; flex-direction: column; }
.items-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.items-row:last-child { border-bottom: 0; }
.items-row small { display: block; color: var(--muted); font-size: 12px; }
.items-row .money small { text-align: right; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-row > span { flex: 1; min-width: 140px; }
.pay-row small { display: block; color: var(--muted); font-size: 12px; }

/* Fotos */
.thumbs--edit { gap: 10px; }
.thumb-edit { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); cursor: pointer; }
.thumb-edit img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.thumb-file { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; text-decoration: none; }
.thumbs--big img { width: 100%; height: auto; max-width: 260px; aspect-ratio: 1; }
.drop { position: relative; }
.drop span { display: flex; flex-direction: column; gap: 2px; }
.drop span small { font-size: 12px; color: var(--muted); }
.drop--slicer { padding: 22px; justify-content: center; text-align: center; flex-direction: column; border-width: 2px; }
.drop--slicer input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop--slicer.is-over { border-color: var(--ink); background: var(--accent-soft); }
.slicer-status { margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.slicer-status.is-ok { background: var(--ok-soft); color: var(--ok-text, #138a17); }
.slicer-status.is-err { background: var(--late-soft); color: var(--late-text); }

/* Linhas dinâmicas (filamento, insumo, extra) */
.rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.row-line { display: flex; align-items: flex-end; gap: 10px; }
.row-line .field { flex: 1; }
.field--sm { flex: 0 0 110px !important; }
.swatch { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); margin-bottom: 8px; box-shadow: inset 0 0 0 2px var(--card); }
.swatch--sm { display: inline-block; width: 12px; height: 12px; flex-basis: 12px; margin: 0 6px 0 0; border-width: 1px; vertical-align: middle; }

/* Calculadora e orçamento */
.calc-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.calc-form, .quote-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-out { position: sticky; top: 84px; }
.calc-card { display: flex; flex-direction: column; gap: 14px; }
.calc-card .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.calc-lines { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.calc-lines > div { display: flex; justify-content: space-between; gap: 10px; }
.calc-lines > div > span { color: var(--muted); }
.calc-total { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; }
.calc-total > span { color: var(--ink) !important; }
.calc-price strong { display: block; font-family: var(--head); font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.calc-price small { color: var(--muted); font-size: 13px; }
.calc-resale { padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.calc-resale > div { display: flex; justify-content: space-between; }
.calc-warn { padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn-text); font-size: 13px; }
.calc-tiers { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-tiers th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.calc-tiers td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.qitems { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.qitem { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.qitem.is-extra { border-style: dashed; }
.qitem-main { display: flex; gap: 8px; align-items: center; }
.qitem-kind { flex: 0 0 140px; }
.qitem-name { flex: 1; font-weight: 600; }
.qitem input, .qitem select, .qitem textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--card); font-size: 14px; }
.qitem-nums { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.qitem-nums .field--sm { flex: 0 0 120px !important; }
.qitem-sum { margin-left: auto; text-align: right; font-weight: 700; font-size: 15px; }
.qitem-sum small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.qitem-resale { display: none !important; }
.is-resale .qitem-resale { display: flex !important; }
.choice-list--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow: auto; }
.pick { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.pick:hover { border-color: var(--ink); }
.pick img { grid-row: span 2; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.pick small { color: var(--muted); font-size: 12px; }
.freight-out { display: flex; flex-direction: column; gap: 8px; }

/* Kanban de pedidos */
.kcard-thumb { width: calc(100% + 28px); margin: -14px -14px 2px; height: 120px; object-fit: cover; border-radius: 12px 12px 0 0; }
.kcard-wa { margin-top: 4px; }
.kcard-note { font-size: 11px; }
.kcol--ready { background: rgba(126, 226, 168, .12); }
.badge--ship { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.badge--pickup { background: var(--bg); }
.badge--channel { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.badge--late { background: var(--late-soft); border-color: #f3c7c7; color: var(--late-text); }
.badge--prio-alta { background: var(--late-soft); color: var(--late-text); border-color: #f3c7c7; }
.badge--prio-media { background: var(--warn-soft); color: var(--warn-text); border-color: #f3dfa8; }
.badge--q-aceito, .badge--q-pago { background: var(--ok-soft); color: var(--ok-text); border-color: #c9ecca; }
.badge--q-visto { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.badge--q-recusado { color: var(--muted); text-decoration: line-through; }
.ready-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.stage-form select { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; }
.row-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 44px; }
.row-thumb--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--muted); }

/* Estoque */
.spools { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.spool { display: flex; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.spool.is-low { border-color: #f3c7c7; }
.spool-disc { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--c); display: grid; place-items: center; box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .12), 0 0 0 1px var(--line-2); }
.spool-disc span { width: 18px; height: 18px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); }
.spool-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.spool-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.spool-bar { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.spool-bar span { display: block; height: 100%; background: var(--c, var(--ink)); border-radius: 99px; }
.spool-foot { display: flex; justify-content: space-between; align-items: baseline; }
.weigh-form { display: flex; gap: 6px; }
.weigh-form input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: 13px; }
.wish-grid, .printer-grid, .idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wish, .idea { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wish-head, .idea-head { display: flex; gap: 6px; align-items: center; }
.wish-head .icon-btn { margin-left: auto; }
.wish-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.wish-foot b { font-size: 18px; font-family: var(--head); }
.printer.is-due { border-color: #f3dfa8; }

/* Produtos */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.prod { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .2s; }
.prod:hover { transform: translateY(-3px); border-color: var(--ink); }
.prod-img { position: relative; aspect-ratio: 1; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-tag { position: absolute; top: 10px; left: 10px; }
.prod-body { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.prod-nums { display: flex; justify-content: space-between; align-items: baseline; }
.prod-nums .money { font-weight: 700; font-family: var(--head); }
.prod-ch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.channels { display: flex; flex-direction: column; gap: 12px; }
.channel { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.channel-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.channel-foot { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.listing-text { margin-top: 14px; }
.listing-text summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.listing-text[open] { display: flex; flex-direction: column; gap: 10px; }

/* Dashboard */
.dash-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.stage-bars { display: flex; flex-direction: column; gap: 8px; }
.stage-bar { display: grid; grid-template-columns: 130px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; }
.stage-bar div { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.stage-bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; min-width: 2px; }
.stage-bar b { text-align: right; }
.mini-list li { display: flex; align-items: center; gap: 8px; }
.mini-list li > a:first-child { flex: 1; min-width: 0; }
.config-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.config-nav a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; text-decoration: none; background: var(--card); }
.config-nav a:hover { border-color: var(--ink); }

/* Área do cliente */
.cproject-img { width: calc(100% + 44px); margin: -22px -22px 10px; height: 160px; object-fit: cover; }
.csteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.csteps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--muted); }
.csteps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; }
.csteps li.is-done { color: var(--ink); }
.csteps li.is-done span { background: var(--ink); color: var(--card); border-color: var(--ink); }
.csteps li.is-now { background: var(--ink); color: var(--card); font-weight: 600; }
.csteps li.is-now span { background: var(--card); color: var(--ink); border-color: var(--card); }

/* Login com a cara do site */
.auth-side { background: #0a0a0a; }
.auth-side h2 { font-family: var(--head); font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; }
.auth-side h2 strong { font-weight: 700; }
.auth-logo { height: 26px; width: auto; }

/* Tema escuro */
[data-theme="dark"] .qitem, [data-theme="dark"] .stage-bar div, [data-theme="dark"] .spool-bar, [data-theme="dark"] .csteps li, [data-theme="dark"] .prod-img, [data-theme="dark"] .row-thumb--empty, [data-theme="dark"] .slicer-status { background: #111; }
[data-theme="dark"] .qitem input, [data-theme="dark"] .qitem select, [data-theme="dark"] .qitem textarea, [data-theme="dark"] .weigh-form input, [data-theme="dark"] .stage-form select { background: #1b1b1b; border-color: var(--line-2); }
[data-theme="dark"] .badge--ship, [data-theme="dark"] .badge--q-visto { background: #1b1f3a; border-color: #2e3566; color: #b4bcff; }
[data-theme="dark"] .badge--channel { background: #2a1a0c; border-color: #4a2e14; color: #fdba74; }
[data-theme="dark"] .calc-warn, [data-theme="dark"] .badge--prio-media { color: #f1c35a; }
[data-theme="dark"] .calc-resale { background: #0f2410; }
[data-theme="dark"] .csteps li.is-now, [data-theme="dark"] .csteps li.is-done span { background: #f2f2ef; color: #0a0a0a; }
[data-theme="dark"] .kcol--ready { background: rgba(126, 226, 168, .06); }

/* Tablet e celular */
@media (max-width: 1100px) {
	.calc-grid, .quote-grid, .split { grid-template-columns: 1fr; }
	.calc-out { position: static; }
}
@media (max-width: 720px) {
	.choice-list--row, .stats--3 { grid-template-columns: 1fr; }
	.row-line { flex-wrap: wrap; }
	.field--sm { flex: 1 1 90px !important; }
	.qitem-kind { flex-basis: 110px; }
	.qitem-sum { margin-left: 0; width: 100%; text-align: left; }
	.stage-bar { grid-template-columns: 100px 1fr 24px; }
	.items-row { grid-template-columns: 1fr auto; }
	.items-row > :nth-child(2) { grid-column: 1; }
	.kcard-thumb { height: 100px; }
	.calc-price strong { font-size: 32px; }
}

/* Crédito Eleve (discreto) */
.eleve-credit { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; line-height: 1.2; letter-spacing: .01em; text-decoration: none; opacity: .55; transition: opacity .2s; }
.eleve-credit:hover { opacity: 1; }
.eleve-credit img { height: 13px; width: auto; }
.eleve-credit--dark { color: #bdbdbd; }
.eleve-credit--light { color: #6b6b6b; }
.eleve-credit--light img { filter: invert(1) brightness(.35); }
.side > .eleve-credit { margin: 4px 12px 0; flex-wrap: wrap; }
.cfoot { display: flex; justify-content: center; padding: 26px 16px 90px; }
.auth-copy .eleve-credit { margin-left: 10px; }
.pay-result > .eleve-credit { margin-top: 18px; }
[data-theme="dark"] .eleve-credit--light { color: #9a9a9a; }
[data-theme="dark"] .eleve-credit--light img { filter: none; }

/* ==========================================================
   LDK · aprovação, conteúdo, relatório
   ========================================================== */
body.ap-page { background: #05080B; color: #eef2f5; margin: 0; }
.apv { min-height: 100vh; display: flex; flex-direction: column; }
.apv-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.apv-top img { height: 30px; }
.apv-top span { color: #9aa7b2; font-size: 14px; }
.apv-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; max-width: 1180px; width: 100%; margin: 0 auto; padding: 28px 24px; }
.apv-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-radius: 20px; }
.apv-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/5; background: #0e141a; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.apv-slide img, .apv-slide video { width: 100%; height: 100%; object-fit: contain; }
.apv-slide iframe { width: 100%; height: 100%; border: 0; }
.apv-empty { aspect-ratio: 4/5; border: 1px dashed rgba(255,255,255,.2); border-radius: 20px; display: grid; place-items: center; color: #9aa7b2; }
.apv-hint { color: #9aa7b2; font-size: 13px; margin-top: 8px; }
.apv-eyebrow { color: #14E9EC; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.apv-side h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 16px; }
.apv-caption { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.6; white-space: normal; max-height: 360px; overflow: auto; }
.apv-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.apv-btn { flex: 1; min-height: 50px; border: 0; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; background: #fff; color: #05080B; padding: 0 20px; font-family: inherit; }
.apv-btn--ok { background: #14E9EC; }
.apv-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.apv-change { flex-basis: 100%; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); }
.apv-change label { display: inline-flex; gap: 8px; align-items: center; margin-right: 16px; }
.apv-change textarea { border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: #0e141a; color: #fff; padding: 12px; font: inherit; }
.apv-msg { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(20,233,236,.12); border: 1px solid rgba(20,233,236,.35); color: #bff9fa; font-weight: 600; }
.apv-hist { margin-top: 18px; font-size: 13px; color: #9aa7b2; display: flex; flex-direction: column; gap: 6px; }
.apv-foot { padding: 20px; text-align: center; }
@media (max-width: 860px) { .apv-main { grid-template-columns: 1fr; padding: 18px 14px; } .apv-form .apv-btn { flex-basis: 100%; } }
/* Calendário */
.content-filter { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.content-filter select { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.acc-row { display: flex; gap: 6px; flex-wrap: wrap; }
.badge--off { background: var(--bg); color: var(--muted); border-style: dashed; }
.cal-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.cal-head h3 { min-width: 180px; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); padding: 4px 6px; }
.cal-day { min-height: 118px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cal-day.is-out { opacity: .45; }
.cal-day.is-today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cal-day.is-over { background: var(--accent-soft, #e9fdfd); }
.cal-add { visibility: visible; width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 2px 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); cursor: pointer; border-radius: 6px; }
.cal-add i { font-style: normal; opacity: 0; font-size: 16px; }
.cal-day:hover .cal-add i { opacity: .7; }
.cal-post { display: block; padding: 5px 7px; border-radius: 8px; background: var(--bg); border-left: 3px solid var(--c); font-size: 12px; line-height: 1.3; text-decoration: none; cursor: grab; }
.cal-post small { display: block; color: var(--muted); font-size: 10.5px; }
.cal-post.is-dragging { opacity: .4; }
.undated { display: flex; flex-wrap: wrap; gap: 8px; }
.net { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; font-size: 9px; font-style: normal; font-weight: 800; color: #fff; margin-right: 2px; }
.net--instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.net--facebook { background: #1877f2; }
.net--linkedin { background: #0a66c2; }
.pbadges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.badge--cs-pendente { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.badge--cs-aprovado { background: var(--ok-soft); color: var(--ok-text); border-color: #c9ecca; }
.badge--cs-alteracao { background: var(--warn-soft); color: var(--warn-text); border-color: #f3dfa8; }
.flow-card { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.flow-now { display: flex; flex-direction: column; }
.flow-now strong { font-size: 20px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.media-item { margin: 0; background: var(--bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: grab; }
.media-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.media-video { aspect-ratio: 4/5; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--muted); }
.media-item figcaption { padding: 6px 8px; font-size: 11.5px; display: flex; flex-direction: column; gap: 2px; word-break: break-all; }
.nets-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.post-more summary { cursor: pointer; color: var(--muted); }
.post-thread li.is-log { opacity: .7; font-size: 13px; }
/* Sininho da equipe */
.nbell { position: relative; }
.nbell .bell { border: 0; background: none; cursor: pointer; color: inherit; }
.nbell-drop { position: absolute; right: 0; top: 44px; width: 340px; max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); z-index: 50; }
.nbell-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.nitem { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.nitem small { display: block; color: var(--muted); font-size: 11px; }
.nitem.is-new { background: var(--accent-soft, #e9fdfd); }
@media (max-width: 900px) { .cal { grid-template-columns: 1fr; } .cal-dow { display: none; } .cal-day { min-height: 0; } .cal-day.is-out { display: none; } }

/* ==========================================================
   Upload, chat e sininho (vindos do Allprint)
   ========================================================== */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.order-items { display: flex; flex-direction: column; gap: 14px; }
.oitem { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.oitem-head { display: flex; justify-content: space-between; align-items: center; }
.oitem-opts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.oitem-eyelets { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--ink); }
.field--inline { flex-direction: row; align-items: center; gap: 8px; }
.field--inline select { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); }
.oitem-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.oitem-foot strong { font-size: 18px; }
.oitem-warn { padding: 9px 12px; border-radius: 9px; background: var(--late-soft); color: var(--late-text); font-size: 13px; }
.order-sum { position: sticky; top: 90px; }
.order-sum .card { display: flex; flex-direction: column; gap: 12px; }
.order-sum .calc-lines small { display: block; color: var(--muted); font-size: 11.5px; }
.order-eta { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--accent-soft, #fff7d6); font-size: 14px; }
.order-eta small { display: block; color: var(--muted); font-size: 12px; }
.center { text-align: center; }
.drop--file { border-style: dashed; }
.upfiles { display: flex; flex-direction: column; gap: 6px; }
.upfile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.upfile small { color: var(--muted); margin-left: 6px; }
.upfile.is-done { background: var(--ok-soft); }
.upfile.is-err { background: var(--late-soft); }
.upbar { flex: 0 0 40%; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.upbar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.quick-actions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.qa { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); }
.qa small { display: block; color: var(--muted); font-size: 12px; }
.qa--main { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.qa--main small { color: rgba(255,255,255,.7); }
.qa--main .ic { color: var(--accent); }
.ctop-cta { background: var(--accent); color: #15132B !important; padding: 7px 14px; border-radius: 999px; font-weight: 700; }
.price-table .price-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row > span { flex: 1; }
.price-row small { display: block; color: var(--muted); font-size: 12px; }
.price-row.is-off { opacity: .5; }
.price-tag { background: var(--accent); color: #15132B; padding: 6px 12px; border-radius: 8px; font-weight: 800; white-space: nowrap; }
.terms { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.card--warn { border-color: #f3dfa8; background: var(--warn-soft); }
.art-review--ok { border-color: #c9ecca; }
.art-review--late { border-color: #f3c7c7; }
.reup { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
/* Chat */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: inherit; text-decoration: none; }
.bell:hover { background: var(--bg); }
.bell-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--late); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.inbox-item .bell-n { position: static; display: inline-grid; margin-left: 6px; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; }
.chat-list { height: 52vh; min-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px; background: var(--bg); border-radius: 12px; }
.msg { max-width: 78%; align-self: flex-start; display: flex; flex-direction: column; gap: 3px; }
.msg.is-mine { align-self: flex-end; align-items: flex-end; }
.msg-b { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.msg.is-mine .msg-b { background: var(--ink); color: var(--on-ink); border-color: var(--ink); border-radius: 16px 16px 4px 16px; }
.msg small { font-size: 11px; color: var(--muted); }
.msg-ref { display: block; font-style: normal; font-size: 11px; font-weight: 700; opacity: .75; margin-bottom: 3px; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-form select { grid-column: 1 / -1; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); }
.chat-form textarea { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); resize: vertical; }
.inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.inbox-list { display: flex; flex-direction: column; gap: 6px; }
.inbox-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.inbox-item.is-active { border-color: var(--ink); }
.inbox-item small { font-size: 12px; color: var(--ink-3); }
.pick-clients { max-height: 260px; overflow: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
[data-theme="dark"] .msg.is-mine .msg-b, [data-theme="dark"] .qa--main { background: #f2f2ef; color: #0a0a0a; }
@media (max-width: 1000px) { .order-grid, .inbox { grid-template-columns: 1fr; } .order-sum { position: static; } .quick-actions { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .msg { max-width: 92%; } .chat-list { height: 60vh; } .ctop-nav { flex-wrap: wrap; gap: 8px; } }
.order-sum .chk { align-items: flex-start; flex-wrap: wrap; line-height: 1.4; } .order-sum .chk input { margin-top: 2px; } .order-sum .chk small { flex-basis: 100%; padding-left: 24px; }
.apc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 18px; }
.apc-grid--sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.apc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.apc img, .apc-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.apc-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.apc-body small { color: var(--muted); }
.apc-cta { align-self: flex-start; font-style: normal; background: var(--accent); color: #05080B; font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.team-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); }
.team-card.is-late { border-color: #f3c7c7; }
.team-card.is-active { border-color: var(--ink); }
.team-nums { font-size: 13px; color: var(--muted); }
.billing-row { grid-template-columns: minmax(0, 1.4fr) auto auto auto auto !important; }
.report-gen { display: flex; gap: 10px; flex-wrap: wrap; }
.report-gen select, .report-gen input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
.howto summary { cursor: pointer; }
.howto ol { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.pipe-step { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.pipe-step strong { font-size: 22px; }
.pipe-step span { font-size: 12px; color: var(--muted); }
.dash-grid { align-items: start; }
.chat-list--mini { max-height: 240px; }
@media (max-width: 760px) { .billing-row { grid-template-columns: 1fr 1fr !important; } }

/* ==========================================================
   LDK 1.1 · etapas coloridas, miniaturas, pacote, planejamento, briefing
   ========================================================== */
.stg { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.5; white-space: nowrap; background: #eef0f2; color: #4b5563; }
.stg::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stg--planejamento { background: #f1f0fb; color: #5b4bc4; }
.stg--design { background: #fdeefa; color: #b0268f; }
.stg--revisao { background: #e8f1ff; color: #1d5fd1; }
.stg--aprovacao { background: #fff4de; color: #9a5b00; }
.stg--agendado { background: #e2fbfb; color: #086466; }
.stg--publicado { background: #e9f8ea; color: var(--ok-text); }
[data-theme="dark"] .stg { background: rgba(255,255,255,.08); }
[data-theme="dark"] .stg--planejamento { background: #26214d; color: #c9c0ff; }
[data-theme="dark"] .stg--design { background: #3a1534; color: #ff9fe6; }
[data-theme="dark"] .stg--revisao { background: #14284a; color: #a7caff; }
[data-theme="dark"] .stg--aprovacao { background: #3a2a08; color: #ffd98a; }
[data-theme="dark"] .stg--agendado { background: #0b3033; color: #7af3f5; }
[data-theme="dark"] .stg--publicado { background: #0f2c14; color: #8be79b; }
.flow-now .stg { font-size: 15px; padding: 4px 12px; }
.stg-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }

/* Miniaturas */
.cal-thumb { display: block; width: 100%; aspect-ratio: 4/5; max-height: 92px; object-fit: cover; border-radius: 6px; margin-bottom: 4px; background: var(--card); }
.cal-thumb--ph { display: grid; place-items: center; height: 34px; aspect-ratio: auto; color: var(--muted); font-size: 14px; }
.cal-post .stg { margin: 3px 3px 0 0; font-size: 10px; padding: 1px 6px; }
.kcard-thumb--ph { display: grid; place-items: center; height: 60px; background: var(--bg); color: var(--muted); font-size: 20px; }
.row-thumb { flex: 0 0 auto; width: 40px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--bg); display: inline-grid; place-items: center; color: var(--muted); font-size: 14px; }
.row-thumb--ph { width: 10px; height: 40px; border-radius: 99px; }
.table--posts .cell-main { gap: 12px; }
.mini-list a.ml-row { flex-direction: row; align-items: center; gap: 12px; }
.mini-list .ml-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: var(--ink); white-space: normal; overflow: visible; font-size: inherit; }
.ml-txt small { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; white-space: normal; }

/* Pacote de artes */
.quota { position: relative; flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-width: 220px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; font-size: 12px; }
.quota i { position: absolute; inset: 0 auto 0 0; background: var(--ok-soft); }
.quota b { position: relative; font-weight: 700; }
.quota--full i { background: #e2fbfb; }
.quota--over { border-color: #f3c7c7; }
.quota--over i { background: var(--late-soft); }
.quota--over b { color: var(--late); }
.quota-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cal-head .quota { margin-left: auto; }
.toolbar .quota { margin-left: auto; }

/* Planejamento (painel) */
.badge--plan-enviado { background: #fff4de; color: #9a5b00; border-color: #f3dfa8; }
.badge--plan-ajustes { background: var(--late-soft); color: var(--late-text); border-color: #f3c7c7; }
.badge--plan-aprovado { background: var(--ok-soft); color: var(--ok-text); border-color: #c9ecca; }
.plan-bar { margin-bottom: 16px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-item { display: grid; grid-template-columns: 64px auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan-item.is-past { opacity: .75; }
.plan-date { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 12px; background: var(--bg); }
.plan-date b { font-size: 22px; line-height: 1; }
.plan-date small { font-size: 11px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.plan-thumb { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; }
.plan-thumb--ph { display: grid; place-items: center; background: var(--bg); color: var(--muted); }
.plan-item h4 { margin: 6px 0 4px; font-size: 16px; }
.plan-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.plan-caption { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2, inherit); max-height: 7.8em; overflow: hidden; }
.plan-note { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--warn-soft); font-size: 13px; }
.plan-acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
@media (max-width: 720px) {
	.plan-item { grid-template-columns: 52px minmax(0, 1fr); }
	.plan-thumb { display: none; }
	.plan-acts { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
	.quota { min-width: 0; width: 100%; }
	.cal-head { flex-wrap: wrap; }
	.cal-post .stg, .cal-thumb { display: none; }
}

/* Área do cliente */
.plan-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; margin-bottom: 14px; border-radius: var(--radius); background: #05080B; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.plan-cta span { display: flex; flex-direction: column; gap: 3px; }
.plan-cta small { color: #9aa7b2; }
.plan-cta em { font-style: normal; font-weight: 700; color: #14E9EC; white-space: nowrap; }
.plan-cta--soft { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.plan-cta--soft em { color: var(--ink); }
.bell--ap { color: inherit; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.cc-card > img, .cc-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--bg); }
.cc-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.cc-ph b { font-size: 40px; line-height: 1; color: var(--ink); }
.cc-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.cc-body small { color: var(--muted); font-size: 12px; }
.cc-body strong { font-size: 14.5px; }
.cc-body .stg { align-self: flex-start; }
a.cc-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
@media (max-width: 520px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .plan-cta { flex-direction: column; align-items: flex-start; } }

/* Páginas públicas: planejamento e briefing */
.pln-hero, .pln-form, .pln-msg { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.pln-hero { padding: 36px 20px 8px; }
.pln-hero h1 { font-size: clamp(30px, 5vw, 44px); margin: 8px 0 10px; letter-spacing: -.02em; }
.pln-hero p { color: #9aa7b2; margin: 0; line-height: 1.6; }
.pln-msg { margin-top: 18px; width: calc(100% - 40px); }
.pln-form { padding: 20px; }
.pln-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pln-item { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pln-date { display: flex; flex-direction: column; align-items: center; padding: 10px 0; border-radius: 14px; background: rgba(20,233,236,.1); color: #14E9EC; align-self: start; }
.pln-date b { font-size: 18px; }
.pln-date small { font-size: 11px; color: #9aa7b2; margin-top: 2px; white-space: nowrap; }
.pln-meta { font-size: 12px; color: #9aa7b2; text-transform: uppercase; letter-spacing: .06em; }
.pln-item h2 { font-size: 19px; margin: 4px 0 10px; }
.pln-thumb { width: 160px; border-radius: 12px; margin-bottom: 10px; }
.pln-note { margin: 10px 0 0; font-size: 13.5px; color: #d7dee4; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.pln-cm { margin-top: 10px; }
.pln-cm summary { cursor: pointer; color: #14E9EC; font-weight: 600; font-size: 14px; }
.pln-form textarea, .brf-form.pln-form textarea { width: 100%; box-sizing: border-box; margin-top: 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: #0e141a; color: #fff; padding: 12px; font: inherit; }
.pln-end { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.pln-general span { font-weight: 600; }
.pln-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pln-hint { color: #9aa7b2; font-size: 13px; margin: 0; }
.brf-form .bq { display: block; margin-bottom: 18px; }
.brf-form .bq > span { display: block; font-weight: 600; line-height: 1.45; }
.brf-form .bq b { color: #14E9EC; }
.lk-panel .brf-form .bq b, .lk-client .brf-form .bq b { color: var(--accent-text); }
.brf-dl { margin: 10px 0 0; }
.brf-dl dt { font-weight: 700; font-size: 13px; margin-top: 12px; }
.brf-dl dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-2, inherit); line-height: 1.55; }
@media (max-width: 560px) { .pln-item { grid-template-columns: 1fr; } .pln-date { flex-direction: row; gap: 8px; justify-content: center; } .pln-btns .apv-btn { flex-basis: 100%; } .pln-thumb { width: 100%; } }
.toolbar { flex-wrap: wrap; }
.ctop-nav a { white-space: nowrap; }
@media (max-width: 1100px) { .ctop-nav a { padding: 8px; font-size: 13px; } }
@media (max-width: 900px) { .ctop-inner { flex-wrap: wrap; } .ctop-nav { overflow-x: auto; max-width: 100%; scrollbar-width: none; } .ctop-nav::-webkit-scrollbar { display: none; } }
.card > .row-btns, .flow-card .row-btns, .card-head .row-btns { flex-wrap: wrap; }
.card-head:has(.row-btns) { flex-wrap: wrap; gap: 8px; }
.top-actions .btn { white-space: nowrap; flex: 0 0 auto; }

/* ==========================================================
   Bolinha de chat da equipe (presença, conversas, avisos, áudio)
   ========================================================== */
.hub { --hub-online: #1ab91e; --hub-away: #e5a100; --hub-off: #a3a3a3; position: fixed; right: 20px; bottom: 20px; z-index: 110; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.hub > * { pointer-events: auto; }
.hub { color: var(--ink); font: 15px/1.55 var(--font); text-align: left; }
body:has(.form-actions--sticky) .hub { bottom: 86px; }
.hub .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--hub-off); box-shadow: 0 0 0 2px var(--card); flex-shrink: 0; }
.hub .dot--online { background: var(--hub-online); }
.hub .dot--ausente { background: var(--hub-away); }
.hub .dot--offline { background: var(--hub-off); }

.hub-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--ink); color: var(--card); cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .2s var(--ease), box-shadow .2s; }
.hub-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.26); }
.hub-fab:focus-visible { outline: 3px solid var(--hub-online); outline-offset: 3px; }
.hub-n { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--late); color: #fff; font: 700 12px/22px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.hub.is-open .hub-rail { display: none; }

/* Trilho da equipe (lado direito, acima da bolinha) */
.hub-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 6px; margin-right: 7px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hub-rail:empty { display: none; }
.hub-rail-u { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.hub-rail-u .hub-av { width: 34px; height: 34px; font-size: 12px; }
.hub-rail-u .dot { position: absolute; right: -1px; bottom: -1px; }
.hub-rail-u em { position: absolute; top: -4px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--late); color: #fff; font: 700 10px/17px var(--font); font-style: normal; text-align: center; }
.hub-rail-u:hover .hub-av, .hub-rail-u:focus-visible .hub-av { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Janela */
.hub-win { width: 380px; height: min(580px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.22); overflow: hidden; animation: hub-in .22s var(--ease); }
@keyframes hub-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.hub-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.hub-title { flex: 1; min-width: 0; font-family: var(--head); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.hub-ic:hover { background: var(--bg); color: var(--ink); }
.hub-me { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 13px; }
.hub-me select { border: 0; background: transparent; font-size: 13px; font-weight: 600; padding: 2px 2px; cursor: pointer; outline: none; }
.hub-home { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hub-tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
.hub-tabs button { flex: 1; padding: 8px 10px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.hub-tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.hub-tabs em { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--late); color: #fff; font: 700 11px/18px var(--font); font-style: normal; }
.hub-pane { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 8px 12px; }
.hub-sec { margin: 12px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hub-pad { padding: 10px; }
.hub-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: none; text-align: left; text-decoration: none; color: inherit; cursor: pointer; }
.hub-row:hover { background: var(--bg); }
.hub-av { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--card); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.hub-row .hub-av .dot { position: absolute; right: 0; bottom: 0; }
.hub-av--hash { background: var(--accent-soft); color: var(--ink); font-size: 18px; }
.hub-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hub-rt strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-rt small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--late); color: #fff; font: 700 12px/22px var(--font); font-style: normal; text-align: center; }
.hub-more { display: block; margin: 10px 10px 0; font-size: 13px; color: var(--muted); text-decoration: none; }
.hub-more:hover { color: var(--ink); }
.hub-note { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; font-size: 14px; text-decoration: none; color: inherit; }
.hub-note:hover { background: var(--bg); }
.hub-note.is-new { background: var(--accent-soft); }
.hub-note small { font-size: 12px; color: var(--muted); }

/* Conversa */
.hub-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hub-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background: var(--bg); }
.hub-list .msg { max-width: 85%; }
.hub-list .msg-b { overflow-wrap: anywhere; }
.hub-list .msg-b a { color: inherit; }
.msg-b--audio { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.msg-b--audio audio { width: min(220px, 56vw); height: 36px; }
.hub-dur { font-size: 12px; opacity: .75; white-space: nowrap; }
.hub-form { display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-top: 1px solid var(--line); background: var(--card); }
.hub-form textarea { flex: 1; min-width: 0; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); resize: none; font-size: 16px; line-height: 1.35; outline: none; }
.hub-form textarea:focus { border-color: var(--ink); }
.hub-rec { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 4px 0 12px; border-radius: 14px; background: var(--late-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.hub-rec .muted { flex: 1; }
.hub-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--late); animation: hub-blink 1s infinite; }
@keyframes hub-blink { 50% { opacity: .25; } }
.hub-mic { width: 42px; height: 42px; }
.hub-mic.is-rec { background: var(--late); color: #fff; }
.hub-send { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--card); cursor: pointer; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) { .hub-win, .hub-rec-dot { animation: none; } .hub-fab { transition: none; } }
@media (max-width: 1024px) { .hub-rail { display: none; } }
@media (max-width: 720px) {
	.hub { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
	.hub-fab { width: 54px; height: 54px; }
	.hub.is-open { inset: 0; right: 0; bottom: 0; }
	.hub.is-open .hub-fab { display: none; }
	.hub-win { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
	.hub-head { padding-top: calc(12px + env(safe-area-inset-top)); }
	.hub-form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
.pres { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #a3a3a3; vertical-align: 1px; }
.pres--online { background: #1ab91e; }
.pres--ausente { background: #e5a100; }
.inbox-list .hub-sec { margin: 14px 12px 4px; }
.hub-win { order: -1; }
.hub.is-open .hub-fab { box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hub-note-in { display: block; padding: 10px 12px 0; }
.hub-note-in input { width: 100%; padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--bg); font-size: 13.5px; outline: none; }
.hub-note-in input:focus { border-style: solid; border-color: var(--ink); background: var(--card); }
.hub-sec-n { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--hub-online); }
.hub-av--cli { background: var(--accent-soft); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Tela cheia: a janela vira um painel grande no meio da tela */
.hub.is-max.is-open { inset: 0; right: 0; bottom: 0; align-items: center; justify-content: center; background: rgba(0,0,0,.35); pointer-events: auto; }
.hub.is-max.is-open .hub-fab { display: none; }
.hub.is-max .hub-win { width: min(980px, calc(100vw - 48px)); height: calc(100vh - 64px); }
.hub.is-max .hub-win { display: grid; grid-template-columns: 320px 1fr; grid-template-rows: auto 1fr; }
.hub.is-max .hub-head { grid-column: 1 / -1; }
.hub.is-max .hub-home { grid-column: 1; grid-row: 2; border-right: 1px solid var(--line); min-height: 0; }
.hub.is-max .hub-thread { grid-column: 2; grid-row: 2; min-height: 0; }
.hub.is-max .hub-list .msg { max-width: 70%; }
@media (max-width: 720px) { .hub.is-max.is-open { background: none; } .hub.is-max .hub-win { width: 100vw; height: 100dvh; display: flex; } [data-hub-max] { display: none; } }
.hub-row.is-on { background: var(--accent-soft); }
/* Ligação chegando */
.hub-ring { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 160; display: flex; align-items: center; gap: 12px; width: min(420px, calc(100vw - 24px)); padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--ink); color: var(--card); box-shadow: 0 18px 50px rgba(0,0,0,.35); animation: hub-in .25s var(--ease); }
.hub-ring .hub-av { background: var(--card); color: var(--ink); animation: hub-pulse 1.5s infinite; }
.hub-ring .hub-rt small { color: inherit; opacity: .75; }
@keyframes hub-pulse { 0% { box-shadow: 0 0 0 0 rgba(26,185,30,.7); } 70% { box-shadow: 0 0 0 12px rgba(26,185,30,0); } 100% { box-shadow: 0 0 0 0 rgba(26,185,30,0); } }
.hub-ring button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.hub-ring-no { background: rgba(255,255,255,.14); color: inherit; }
[data-theme="dark"] .hub-ring-no { background: rgba(0,0,0,.12); }
.hub-ring-yes { background: var(--ok-solid); color: #fff; }
.hub-call:not([hidden]) { color: var(--ok-text); }
.hub-call:disabled { opacity: .5; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .hub-ring, .hub-ring .hub-av { animation: none; } }
@media (max-width: 720px) { .hub-ring { bottom: calc(12px + env(safe-area-inset-bottom)); } .hub-ring .hub-rt small { display: none; } }
/* Chat dentro do modo foco: acompanha o fundo preto/branco */
body.lk-focus .hub-fab { background: var(--fz-surface-2); color: var(--fz-text); border: 1px solid var(--fz-line); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
body.lk-focus .hub-rail { background: var(--fz-surface); border-color: var(--fz-line); }
body.lk-focus .hub-rail-u .hub-av { background: var(--fz-surface-2); color: var(--fz-text); }
body.lk-focus .hub .dot { box-shadow: 0 0 0 2px var(--fz-surface); }

/* Dashboard: botão Atualizar */
.dash-refresh svg{transition:transform .3s ease}
.dash-refresh.is-loading svg{animation:lkSpin .8s linear infinite}
.dash-refresh[disabled]{opacity:.75;cursor:progress}
@keyframes lkSpin{to{transform:rotate(360deg)}}
.dash-stamp{margin:-6px 0 12px;text-align:right}
.dash-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:10000;background:#141414;color:#fff;padding:10px 16px;border-radius:10px;font-size:14px;box-shadow:0 10px 30px -10px rgba(0,0,0,.4);transition:opacity .4s ease}
.dash-toast.is-out{opacity:0}
@media (max-width:767px){.dash-refresh span{display:none}.dash-stamp{text-align:left;margin-top:0}}
@media (prefers-reduced-motion:reduce){.dash-refresh.is-loading svg{animation:none}}

/* Prazos de entrega por etapa */
.prazos-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.prazos-pick legend { margin-bottom: 6px; font-weight: 500; }
.prazos-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prazo { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 110px; }
.prazo small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.prazo strong { font-size: 14px; font-weight: 600; }
.prazo.is-now { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.prazo.is-late { border-color: var(--late); background: var(--late-soft); color: var(--late-text); }
.prazo--pub { background: var(--bg); }
.flow-now .due { margin-top: 4px; }

/* Chamar atenção (estilo MSN) */
@keyframes lkShake { 0%,100% { transform: translate(0,0) } 10% { transform: translate(-10px,3px) } 20% { transform: translate(9px,-4px) } 30% { transform: translate(-8px,-2px) } 40% { transform: translate(8px,4px) } 50% { transform: translate(-6px,2px) } 60% { transform: translate(6px,-3px) } 70% { transform: translate(-4px,2px) } 80% { transform: translate(3px,-1px) } 90% { transform: translate(-2px,1px) } }
body.lk-shake .app, body.lk-shake .main { animation: lkShake .8s cubic-bezier(.36,.07,.19,.97) both; }
@media (prefers-reduced-motion: reduce) { body.lk-shake .app, body.lk-shake .main { animation: none; } }
.nudge-box { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100000; display: flex; align-items: center; gap: 14px; width: min(460px, calc(100vw - 24px)); padding: 16px 18px; border-radius: 16px; background: #111; color: #fff; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), 0 0 0 3px #ffcc00; animation: nudgeIn .35s cubic-bezier(.2,1.4,.4,1); }
.nudge-box[hidden] { display: none; }
.nudge-box .hub-av { background: #ffcc00; color: #111; flex: none; }
.nudge-t { flex: 1; min-width: 0; }
.nudge-t strong { display: block; font-size: 15px; }
.nudge-t small { color: #ffcc00; font-weight: 600; }
.nudge-t p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #eee; }
.nudge-t p[hidden] { display: none; }
@keyframes nudgeIn { from { opacity: 0; transform: translate(-50%, -20px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.hub-nudge { display: flex; gap: 6px; padding: 8px 12px 0; }
.hub-nudge input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 13px; }
.hub-nudge-btn { flex: none; padding: 0 12px; border: 0; border-radius: 10px; background: #ffcc00; color: #111; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.hub-nudge-btn:disabled { opacity: .7; }

/* Sala de voz: resumo na bolinha */
.hub-voice { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.hub-voice.is-live { border-color: #16a34a; background: rgba(22,163,74,.06); }
.hub-voice-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg); flex: none; }
.hub-voice.is-live .hub-voice-ic { background: var(--ok-solid); color: #fff; }
.hub-voice .hub-rt { flex: 1; min-width: 0; }
.hub-voice-avs { display: flex; }
.hub-voice-avs .hub-av { width: 24px; height: 24px; font-size: 10px; margin-left: -6px; border: 2px solid var(--card); }
.hub-voice-avs .hub-av.is-mic { box-shadow: 0 0 0 2px #16a34a; }
.hub-voice-go { flex: none; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.hub-fab.has-voice::after { content: ''; position: absolute; left: -2px; bottom: -2px; width: 14px; height: 14px; border-radius: 50%; background: #16a34a; border: 2px solid var(--card); }

/* Sala de voz (janelinha) */
.lk-sala { margin: 0; background: #0e1116; color: #e8eaed; min-height: 100vh; }
.sala { display: flex; flex-direction: column; gap: 16px; min-height: 100vh; padding: 18px; box-sizing: border-box; }
.sala-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sala-head strong { display: block; font-size: 18px; }
.sala-head small { color: #9aa0a6; font-size: 13px; }
.sala-x { border: 1px solid #3c4043; background: transparent; color: #f28b82; border-radius: 10px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
.sala-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; align-content: start; flex: 1; }
.sala-u { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; background: #1b1f26; text-align: center; transition: box-shadow .15s; }
.sala-u strong { font-size: 13.5px; line-height: 1.3; }
.sala-u small { font-size: 11.5px; color: #9aa0a6; }
.sala-av { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #2d333b; font-weight: 700; font-size: 20px; transition: box-shadow .12s; }
.sala-av i { position: absolute; right: -4px; bottom: -4px; font-style: normal; font-size: 14px; background: #0e1116; border-radius: 50%; padding: 3px; line-height: 1; }
.sala-u.is-talking .sala-av { box-shadow: 0 0 0 3px #22c55e, 0 0 24px rgba(34,197,94,.55); }
.sala-u.is-mic { background: #1d2a22; }
.sala-tip { margin: 0; font-size: 12.5px; color: #9aa0a6; line-height: 1.5; }
.sala-tip kbd { background: #2d333b; border-radius: 4px; padding: 1px 5px; font-size: 11.5px; }
.sala-bar { display: flex; align-items: center; gap: 10px; position: sticky; bottom: 0; padding-top: 8px; }
.sala-mic { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 14px; background: #3c4043; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.sala-mic.is-on { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.25); }
.sala-mic:disabled { opacity: .5; cursor: not-allowed; }
.sala-vol { display: flex; align-items: center; gap: 4px; }
.sala-vol input { width: 80px; }
.sala-ic { width: 46px; height: 46px; border: 0; border-radius: 12px; background: #2d333b; color: #fff; font-size: 18px; cursor: pointer; }
.sala-err { margin: 0; padding: 10px 12px; border-radius: 10px; background: #3b1d1d; color: #f28b82; font-size: 13px; }
.sala-err[hidden] { display: none; }

/* Aprovação do cliente: prévia do post + botões redondos (estilo mLabs) */
.apx-page { background: #f2f3f5; min-height: 100vh; margin: 0; }
.apx { max-width: 560px; margin: 0 auto; padding: 0 16px 150px; }
.apx-top { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.apx-top img { height: 30px; width: auto; }
.apx-top span { font-weight: 600; color: #5f6368; }
.apx-info { margin-bottom: 14px; }
.apx-info h1 { margin: 8px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.apx-info p { margin: 0; color: #5f6368; font-size: 14px; }
.apx-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff4e5; color: #b45309; }
.apx-status--aprovado { background: #e8f7ee; color: #15803d; }
.apx-status--ajuste, .apx-status--msg { background: #eef2ff; color: #4338ca; }
.apx-nets { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.apx-net { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid #e3e5e8; color: #3c4043; }
.apx-net--instagram { border-color: #f5c3d6; color: #c13584; }
.apx-net--facebook { border-color: #c7d7f5; color: #1877f2; }
.apx-net--linkedin { border-color: #c4dcef; color: #0a66c2; }
.apx-post { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px -18px rgba(0,0,0,.3); }
.apx-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.apx-head strong { font-size: 14px; flex: 1; }
.apx-dots { color: #8e8e8e; letter-spacing: 1px; }
.apx-av { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(45deg, #fa7e1e, #d62976, #4f5bd5); color: #2b1600; font-weight: 700; font-size: 14px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e1306c; }
.apx-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apx-media { position: relative; background: #000; }
.apx-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.apx-slides::-webkit-scrollbar { display: none; }
.apx-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; display: grid; place-items: center; background: #000; }
.apx-slide img, .apx-slide video { width: 100%; height: 100%; object-fit: contain; display: block; }
.apx-slide iframe { width: 100%; height: 100%; border: 0; }
.apx-empty { aspect-ratio: 4 / 5; display: grid; place-items: center; color: #9aa0a6; }
.apx-count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.apx-pager { position: absolute; bottom: -22px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.apx-pager i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; }
.apx-pager i.is-on { background: #0095f6; }
.apx-actions { display: flex; gap: 14px; padding: 12px 14px 6px; color: #262626; }
.apx-save { margin-left: auto; }
.apx-caption { padding: 4px 14px 2px; font-size: 14px; line-height: 1.5; color: #262626; white-space: normal; }
.apx-caption.is-clamp { max-height: 128px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.apx-more { display: block; margin: 0 14px 14px; padding: 0; border: 0; background: none; color: #8e8e8e; font-size: 14px; cursor: pointer; }
.apx-post > :last-child { padding-bottom: 14px; }
.apx-msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e3e5e8; font-weight: 600; text-align: center; }
.apx-hist { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e3e5e8; font-size: 14px; }
.apx-hist-t { font-weight: 700; margin: 0 0 8px; }
.apx-hist p { margin: 6px 0; }
.apx-fab { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 22px; z-index: 50; }
.apx-round { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 78px; height: 78px; border-radius: 50%; background: #fff; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); transition: transform .2s ease, box-shadow .2s ease; }
.apx-round:hover { transform: translateY(-3px); }
.apx-round--edit { border: 3px solid #f59e0b; color: #d97706; }
.apx-round--ok { border: 3px solid #16a34a; color: #16a34a; }
.apx-round--ok.is-go { background: var(--ok-solid); color: #fff; animation: apxPop .5s ease; }
@keyframes apxPop { 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }
.apx-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.4); }
.apx-sheet[hidden] { display: none; }
.apx-sheet-in { width: 100%; max-width: 560px; background: #fff; border-radius: 18px 18px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; animation: apxUp .25s ease; }
@keyframes apxUp { from { transform: translateY(40px); opacity: 0; } }
.apx-seg { display: flex; gap: 8px; }
.apx-seg label { flex: 1; }
.apx-seg input { position: absolute; opacity: 0; }
.apx-seg span { display: block; text-align: center; padding: 10px; border: 1px solid #e3e5e8; border-radius: 10px; font-weight: 600; cursor: pointer; }
.apx-seg input:checked + span { border-color: #f59e0b; background: #fff7e6; color: #b45309; }
.apx-sheet textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #d0d4d9; border-radius: 10px; font: inherit; font-size: 15px; }
.apx-sheet-btns { display: flex; gap: 10px; }
.apx-cancel, .apx-send { flex: 1; min-height: 46px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
.apx-cancel { border: 1px solid #d0d4d9; background: #fff; }
.apx-send { border: 0; background: #111; color: #fff; }
.apx-foot { margin-top: 24px; text-align: center; }
@media (max-width: 480px) { .apx { padding: 0 10px 140px; } .apx-round { width: 70px; height: 70px; } }
.table--redes .table-row { grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)) auto; }
@media (max-width: 900px) { .table--redes .table-row { grid-template-columns: 1fr 1fr; } }

/* Planejamento: tela de trabalho no painel */
.plan-flow { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.plan-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); background: var(--card); }
.plan-step i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.plan-step.is-done { color: var(--ink); } .plan-step.is-done i { background: #16a34a; }
.plan-step.is-now { color: var(--ink); border-color: var(--ink); font-weight: 700; } .plan-step.is-now i { background: #14E9EC; box-shadow: 0 0 0 3px rgba(20,233,236,.3); }
.plan-work { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 14px; }
.plan-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.plan-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan-brief { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.plan-brief dt { font-weight: 600; color: var(--ink-3); margin-top: 8px; }
.plan-brief dd { margin: 0; color: var(--muted); line-height: 1.5; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { border: 1px dashed var(--line-2); background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.plan-nets { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; padding-top: 8px; }
.plan-item.is-adjust { border-left: 3px solid var(--late); }
.plan-start { text-align: center; padding: 40px 20px; }
.plan-start .btn { margin-top: 12px; }
.badge--plan-revisao { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.plan-table .table-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .6fr) auto; }
.plan-table .cell-main { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
@media (max-width: 1024px) { .plan-work { grid-template-columns: 1fr; } .plan-side { position: static; } }

/* Planejamento: página da cliente (visual de proposta) */
.plx-page { margin: 0; background: #010a13; color: #e8f1f6; font-family: var(--font, 'Inter', sans-serif); }
.plx-cover { position: relative; overflow: hidden; padding: 64px 24px 56px; background: radial-gradient(60vmax 60vmax at 90% -10%, rgba(20,233,236,.18), transparent 60%), radial-gradient(40vmax 40vmax at -10% 110%, rgba(0,42,77,.9), transparent 60%), #010a13; border-bottom: 1px solid rgba(20,233,236,.2); }
.plx-cover-in { max-width: 980px; margin: 0 auto; }
.plx-logo { height: 44px; width: auto; margin-bottom: 28px; }
.plx-tag { display: inline-block; background: #14e9ec; color: #002a4d; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.plx-cover h1 { font-size: clamp(44px, 8vw, 92px); line-height: 1; letter-spacing: -.03em; margin: 18px 0 14px; font-weight: 800; }
.plx-cover h1 i { font-style: normal; color: #14e9ec; text-shadow: 0 0 18px rgba(20,233,236,.6); }
.plx-client { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #b4c6d4; }
.plx-client img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #14e9ec; }
.plx-client strong { color: #fff; }
.plx-intro { max-width: 640px; font-size: 17px; line-height: 1.7; color: #b4c6d4; margin: 0 0 26px; }
.plx-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.plx-stats > div { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.plx-stats strong { display: block; font-size: 26px; font-weight: 800; color: #14e9ec; line-height: 1; }
.plx-stats span { font-size: 12.5px; color: #b4c6d4; }
.plx-stats .plx-nets { display: flex; align-items: center; }
.plx-main { max-width: 980px; margin: 0 auto; padding: 24px 20px 140px; }
.plx-msg { margin: 20px 0; padding: 16px 18px; border-radius: 14px; background: rgba(20,233,236,.1); border: 1px solid rgba(20,233,236,.35); font-weight: 600; }
.plx-sec { padding: 40px 0 8px; }
.plx-eye { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6f8799; margin-bottom: 10px; }
.plx-sec h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; margin: 0 0 20px; font-weight: 800; }
.plx-sec h2 mark { background: #14e9ec; color: #002a4d; padding: 0 8px; border-radius: 4px; }
.plx-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.plx-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: rgba(0,42,77,.55); border: 1px solid rgba(20,233,236,.18); font-size: 15px; line-height: 1.5; }
.plx-checks i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #14e9ec; color: #002a4d; font-style: normal; font-weight: 800; }
.plx-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plx-dates li { padding: 12px 16px; border-left: 3px solid #14e9ec; background: rgba(255,255,255,.03); border-radius: 0 10px 10px 0; }
.plx-dates .plx-dates-h { border: 0; background: none; padding: 8px 0 0; font-weight: 700; color: #6f8799; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.plx-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.plx-cal b { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #6f8799; text-align: center; padding-bottom: 4px; }
.plx-cal span, .plx-cal a { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.03); color: #6f8799; font-weight: 600; font-size: 14px; text-decoration: none; }
.plx-cal .is-empty { background: none; }
.plx-cal a.has { background: rgba(20,233,236,.12); color: #fff; border: 1px solid rgba(20,233,236,.5); }
.plx-cal a.has i { position: absolute; top: 3px; right: 5px; font-style: normal; font-size: 10px; color: #14e9ec; }
.plx-help { color: #b4c6d4; margin: -6px 0 18px; }
.plx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plx-post { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: 18px; background: #051525; border: 1px solid rgba(255,255,255,.08); transition: border-color .2s, box-shadow .2s; scroll-margin-top: 20px; }
.plx-post.is-ok { opacity: .75; }
.plx-post.is-picked-ok { border-color: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.plx-post.is-picked-adj { border-color: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.plx-when { text-align: center; padding: 10px 6px; border-radius: 14px; background: rgba(20,233,236,.08); align-self: start; }
.plx-when b { display: block; font-size: 32px; line-height: 1; color: #14e9ec; font-weight: 800; }
.plx-when span { display: block; font-size: 12px; text-transform: capitalize; color: #fff; margin-top: 2px; }
.plx-when small { display: block; font-size: 11px; color: #6f8799; margin-top: 4px; }
.plx-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.plx-fmt, .plx-net, .plx-okb { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: #b4c6d4; }
.plx-net--instagram { color: #f58ac2; } .plx-net--facebook { color: #7fb0ff; } .plx-net--linkedin { color: #6fb3e8; } .plx-net--youtube { color: #ff7a7a; } .plx-net--gmn { color: #7ddc9a; }
.plx-okb { background: rgba(22,163,74,.2); color: #7ddc9a; }
.plx-post h3 { margin: 0 0 8px; font-size: 19px; }
.plx-cap { font-size: 15px; line-height: 1.65; color: #cfdde6; white-space: normal; }
.plx-note { margin: 10px 0 0; font-size: 13.5px; color: #b4c6d4; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.plx-dec { display: flex; gap: 8px; margin-top: 14px; }
.plx-dec label { flex: 1; }
.plx-dec input { position: absolute; opacity: 0; }
.plx-dec span { display: block; text-align: center; padding: 11px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); font-weight: 700; cursor: pointer; transition: all .15s; }
.plx-ok input:checked + span { background: var(--ok-solid); border-color: #16a34a; color: #fff; }
.plx-adj input:checked + span { background: #f59e0b; border-color: #f59e0b; color: #1a1200; }
.plx-dec input:focus-visible + span { outline: 2px solid #14e9ec; outline-offset: 2px; }
.plx-cm, .plx-general textarea { width: 100%; box-sizing: border-box; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); color: #fff; font: inherit; font-size: 15px; }
.plx-cm[hidden] { display: none; }
.plx-general span { font-weight: 600; }
.plx-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 10px; width: min(760px, calc(100vw - 24px)); padding: 10px 10px 10px 18px; border-radius: 18px; background: rgba(5,21,37,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(20,233,236,.3); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.plx-count { flex: 1; font-size: 14px; color: #b4c6d4; }
.plx-all, .plx-send { min-height: 46px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 800; cursor: pointer; border: 0; }
.plx-all { background: rgba(22,163,74,.2); color: #7ddc9a; border: 1px solid rgba(22,163,74,.5); }
.plx-send { background: #14e9ec; color: #002a4d; }
.plx-foot { text-align: center; padding: 0 0 100px; }
@media (max-width: 640px) { .plx-post { grid-template-columns: 1fr; gap: 10px; } .plx-when { display: flex; align-items: baseline; gap: 8px; text-align: left; } .plx-when b { font-size: 24px; } .plx-bar { flex-wrap: wrap; } .plx-count { flex-basis: 100%; } .plx-all, .plx-send { flex: 1; } }
.fix-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--lg { padding: 8px 14px; font-size: 13.5px; border-style: solid; background: var(--card); }
a.side-user-name { text-decoration: none; }

/* Contrato */
.contract-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.contract-text h3 { font-size: 15px; margin: 22px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.contract-text p, .contract-text li { font-size: 14.5px; line-height: 1.7; }
.contract-edit { margin-bottom: 16px; }
.contract-edit summary { cursor: pointer; font-weight: 600; }
.contract-edit textarea { width: 100%; font-size: 13px; }
.sig-box { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sig-box img { max-width: 100%; height: 70px; object-fit: contain; object-position: left; }
.sig-pad { position: relative; border: 1px dashed var(--line-2, #cfd4da); border-radius: 12px; background: #fff; }
.sig-pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; touch-action: none; cursor: crosshair; }
.sig-pad-t { position: absolute; left: 14px; top: 10px; font-size: 12px; color: #8a929a; pointer-events: none; }
.sig-pad.is-signed .sig-pad-t { display: none; }
.sig-clear { position: absolute; right: 10px; top: 8px; border: 0; background: #f1f3f5; border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
@media (max-width: 1024px) { .contract-grid { grid-template-columns: 1fr; } }
.ctr-page { margin: 0; background: #eef1f4; color: #14212b; }
.ctr { max-width: 860px; margin: 0 auto; padding: 0 16px 60px; }
.ctr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
.ctr-top img { height: 34px; width: auto; }
.ctr-st { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff4e5; color: #b45309; }
.ctr-st--assinado, .ctr-st--concluido { background: #e8f7ee; color: #15803d; }
.ctr-print { margin-left: auto; border: 1px solid #cfd4da; background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.ctr-msg { margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #e8f7ee; color: #14532d; font-weight: 600; }
.ctr-msg--err { background: #fdecec; color: #991b1b; }
.ctr-doc, .ctr-sign, .ctr-sigs, .ctr-cert { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); margin-bottom: 16px; }
.ctr-doc h3 { font-size: 14.5px; text-transform: uppercase; letter-spacing: .04em; margin: 24px 0 8px; }
.ctr-doc p, .ctr-doc li { font-size: 15px; line-height: 1.75; }
.ctr-sign h2 { margin: 0 0 8px; }
.ctr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.ctr-grid label, .ctr-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.ctr-grid input { padding: 12px; border: 1px solid #cfd4da; border-radius: 10px; font: inherit; font-size: 15px; }
.ctr-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; margin: 14px 0; font-weight: 500 !important; line-height: 1.5; }
.ctr-btn { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: #0b1b2b; color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.ctr-link { border: 0; background: none; color: #475569; text-decoration: underline; cursor: pointer; margin-top: 10px; font: inherit; font-size: 13px; }
.ctr-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ctr-sigs div { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #14212b; padding-top: 8px; justify-content: flex-end; min-height: 120px; }
.ctr-sigs img { height: 70px; object-fit: contain; object-position: left; }
.ctr-sigs small { color: #64748b; }
.ctr-cert h3 { margin: 0 0 12px; }
.ctr-cert dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; font-size: 13.5px; }
.ctr-cert dt { font-weight: 700; color: #475569; }
.ctr-cert dd { margin: 0; word-break: break-word; }
.ctr-foot { text-align: center; }
@media (max-width: 640px) { .ctr-doc, .ctr-sign, .ctr-sigs, .ctr-cert { padding: 20px; } .ctr-grid, .ctr-sigs, .ctr-cert dl { grid-template-columns: 1fr; } }
@media print { .ctr-top button, .ctr-sign, .ctr-foot, .ctr-msg { display: none !important; } .ctr-page { background: #fff; } .ctr-doc, .ctr-sigs, .ctr-cert { box-shadow: none; padding: 0; } }

/* Novidades, feedback, tutorial */
.side-count--new { background: #14E9EC !important; color: #05080B !important; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.news-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, #05080B, #0b2a3d); color: #fff; text-decoration: none; }
.news-banner strong { font-size: 15px; } .news-banner small { color: #9fb3c2; } .news-banner em { margin-left: auto; font-style: normal; color: #14E9EC; font-weight: 700; font-size: 13px; }
.news { display: flex; flex-direction: column; gap: 14px; }
.news-ver.is-current { border-color: var(--ink); }
.news-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.news-tag { font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--on-ink); }
.news-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news-items li { display: flex; gap: 12px; align-items: flex-start; }
.news-ic { font-size: 20px; line-height: 1.2; }
.news-items strong { display: block; } .news-items small { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.fb-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.fb-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-head .badge { margin-left: auto; }
.fb-reply { padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.fb-answer { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fb-answer textarea { width: 100%; padding: 10px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; background: var(--card); color: var(--ink); }
.fb-toggles { margin-bottom: 12px; flex-wrap: wrap; }
.help { display: flex; flex-direction: column; gap: 10px; }
.help-item summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 16px; }
.help-item summary::-webkit-details-marker { display: none; }
.help-ic { font-size: 22px; }
.help-item ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.6; color: var(--ink-3); }
.focus-client { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.focus-client .field { min-width: 260px; }

/* MSN: emojis animados, "fulano está online" */
.msg-b img.emo { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; margin: 0 1px; }
.msg-b.msg-b--emo { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 2px 0 !important; white-space: nowrap; }
.msg-b--emo img.emo { width: 48px; height: 48px; }
.hub-form { position: relative; }
.hub-emo-box { position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(0,0,0,.35); z-index: 5; }
.hub-emo-box[hidden] { display: none; }
.hub-emo-box button { border: 0; background: none; padding: 4px; border-radius: 8px; cursor: pointer; }
.hub-emo-box button:hover { background: var(--bg); }
.msn-toasts { position: fixed; left: 18px; bottom: 90px; z-index: 99990; display: flex; flex-direction: column; gap: 8px; }
.msn-toast { display: flex; align-items: center; gap: 10px; min-width: 240px; padding: 10px 14px 10px 10px; border-radius: 12px; border: 1px solid #b7d7ef; background: linear-gradient(180deg, #f5fbff, #dcefff); color: #0b3a5b; text-align: left; cursor: pointer; box-shadow: 0 12px 30px -12px rgba(11,58,91,.45); animation: msnIn .35s ease; transition: opacity .5s, transform .5s; font: inherit; }
.msn-toast .hub-av { position: relative; }
.msn-toast .dot { position: absolute; right: -2px; bottom: -2px; }
.msn-toast strong { display: block; font-size: 13.5px; }
.msn-toast small { font-size: 12px; color: #3d6a8a; }
.msn-toast.is-out { opacity: 0; transform: translateY(8px); }
@keyframes msnIn { from { opacity: 0; transform: translateY(16px); } }
body.lk.plx-page { background: #010a13 !important; color: #e8f1f6; }
.plx-page h1, .plx-page h2, .plx-page h3 { color: #fff; }
.plx-page .plx-cover h1 { color: #fff; }

/* Recorte de imagem (media.js) */
.lkcrop { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lkcrop-box { background: var(--card, #fff); color: var(--ink, #111); border-radius: 16px; padding: 18px; width: min(520px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.lkcrop-head { display: flex; flex-direction: column; gap: 2px; }
.lkcrop-ratios { display: flex; flex-wrap: wrap; gap: 6px; }
.lkcrop-ratios .chip { border: 1px solid var(--line-2, #ddd); background: transparent; color: inherit; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.lkcrop-ratios .chip.is-on { background: var(--ink, #111); color: var(--on-ink); border-color: var(--ink, #111); }
.lkcrop-stage { display: flex; justify-content: center; background: #1a1a1a; border-radius: 10px; padding: 10px; }
.lkcrop-stage canvas { cursor: grab; touch-action: none; max-width: 100%; border-radius: 4px; }
.lkcrop-stage canvas:active { cursor: grabbing; }
.lkcrop-zoom { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lkcrop-zoom input { flex: 1; }
.lkcrop-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Gamificação */
.game-card { display: flex; flex-direction: column; gap: 10px; }
.game-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.game-lv { font-size: 20px; font-weight: 700; }
.game-bar { height: 10px; background: var(--line-2, #e5e3de); border-radius: 999px; overflow: hidden; }
.game-bar i { display: block; height: 100%; background: var(--accent, #14e9ec); border-radius: 999px; }
.game-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.game-badge { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 8px 10px; border-radius: 12px; border: 1px dashed var(--line-2, #ddd); font-size: 22px; opacity: .4; filter: grayscale(1); }
.game-badge small { font-size: 11px; margin-top: 2px; }
.game-badge.is-on { opacity: 1; filter: none; border-style: solid; }
.table-row.is-me { background: var(--accent-soft, rgba(20,233,236,.1)); }

/* Mídia, validação de vídeo e apontamentos */
.media-item video.media-play, .media-item img { width: 100%; max-height: 260px; object-fit: contain; background: #111; border-radius: 8px; }
.lkv-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.lkv-ok { color: #127a3a; } .lkv-warn { color: #9a6700; } .lkv-err { color: #b42318; font-weight: 600; }
.note-new { margin: 6px 0 12px; } .note-new summary { display: inline-block; cursor: pointer; list-style: none; }
.note-at { display: flex; gap: 6px; } .note-at input { flex: 1; min-width: 0; }
.notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.note { border: 1px solid var(--line-2, #e5e3de); border-radius: 12px; padding: 10px 12px; }
.note.is-done { opacity: .55; }
.note-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.note p { margin: 6px 0 2px; }
.note-time { border: 0; background: var(--accent-soft, #e8f7f7); border-radius: 999px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
.apx-note summary { cursor: pointer; font-weight: 600; }
.note-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.note-form select, .note-form input, .note-form textarea { width: 100%; box-sizing: border-box; padding: 8px; border-radius: 8px; border: 1px solid #ccc; font: inherit; }

/* Planejamento: feriados, datas, ideia, impressão */
.plx-print { margin: 6px 0 0 12px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; font-size: 13px; }
.plx-hols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.plx-hol { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #ff4d5e22, #ff4d5e08); border: 1px solid #ff4d5e88; }
.plx-hol > b { font-size: 40px; line-height: 1; color: #ff6b79; min-width: 54px; text-align: center; }
.plx-hol span { display: flex; flex-direction: column; gap: 2px; }
.plx-hol i { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #ff8b96; font-weight: 700; }
.plx-hol strong { font-size: 17px; }
.plx-hol small { color: #b4c6d4; font-size: 12px; }
.plx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.plx-chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(20,233,236,.35); font-size: 14px; }
.plx-chips span b { color: #14e9ec; margin-right: 4px; }
.plx-chips--camp span { border-color: rgba(255,255,255,.18); color: #cfdde6; }
.plx-cal .is-hol { background: #ff4d5e33; color: #fff; border: 1px solid #ff4d5e; }
.plx-cal .is-date { box-shadow: inset 0 0 0 1px #14e9ec88; color: #fff; }
.plx-cal a.has.is-hol { background: #ff4d5e33; border-color: #ff4d5e; }
.plx-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #8ea3b3; font-size: 12px; margin-top: 12px; }
.plx-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -2px; }
.plx-legend .is-hol { background: #ff4d5e; } .plx-legend .is-date { border: 1px solid #14e9ec; } .plx-legend .is-post { background: rgba(20,233,236,.4); }
.plx-holb { background: #ff4d5e22; color: #ff8b96; border: 1px solid #ff4d5e66; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.plx-idea { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: rgba(20,233,236,.07); border-left: 3px solid #14e9ec; }
.plx-idea span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #14e9ec; font-weight: 700; }
.plx-idea p { margin: 4px 0 0; color: #e8f1f6; line-height: 1.55; }
.hol-alert { border-left: 4px solid #ff4d5e; }
@media print { .plx-page, .plx-page * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .plx-bar, .plx-print, .plx-dec, .plx-cm, .plx-end { display: none !important; } .plx-post { break-inside: avoid; } }

/* Dashboard moderno */
.dsh { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; --dsh-a: #6c5ce7; --dsh-b: #ff7a90; --dsh-c: #14c8c8; --dsh-d: #f5b83d; --dsh-e: #4f8cff; --dsh-f: #8a94a6; }
.dsh-main, .dsh-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dsh-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 30px; border-radius: 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0, #7c3aed 0, transparent 55%), linear-gradient(135deg, #3b2fa8, #5b46e0); overflow: hidden; }
.dsh-hero h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; color: #fff; }
.dsh-hero p { margin: 0 0 14px; color: #e6e1ff; max-width: 46ch; }
.dsh-prog span { font-size: 13px; color: #e6e1ff; } .dsh-prog i { display: block; height: 8px; background: rgba(255,255,255,.22); border-radius: 99px; margin-top: 6px; max-width: 360px; overflow: hidden; } .dsh-prog i b { display: block; height: 100%; background: #fff; border-radius: 99px; }
.dsh-hero-art { width: 190px; flex-shrink: 0; } .dsh-hero-art .a1 { fill: rgba(255,255,255,.95); } .dsh-hero-art .a2 { fill: rgba(255,255,255,.35); } .dsh-hero-art .a3 { fill: #d9d2ff; } .dsh-hero-art .a4 { stroke: #6c5ce7; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; } .dsh-hero-art .a5 { fill: #ffd166; } .dsh-hero-art .a6 { stroke: #5b46e0; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.dsh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dsh-stat { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.dsh-stat:hover { transform: translateY(-2px); }
.dsh-stat strong { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
.dsh-stat > span:not(.dsh-ic) { font-weight: 600; font-size: 14px; } .dsh-stat small { color: var(--muted); font-size: 12px; }
.dsh-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.dsh-stat--a .dsh-ic { background: linear-gradient(135deg, #6c5ce7, #8b5cf6); } .dsh-stat--b .dsh-ic { background: linear-gradient(135deg, #14c8c8, #4f8cff); } .dsh-stat--c .dsh-ic { background: linear-gradient(135deg, #ff7a90, #ff9a5c); } .dsh-stat--d .dsh-ic { background: linear-gradient(135deg, #f5b83d, #ff9a5c); }
.dsh-stat.is-alert { border-color: #ff7a9088; } .dsh-stat.is-alert strong { color: #e0455e; }
.dsh-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.dsh-card-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; } .dsh-card-head h3 { margin: 0; font-size: 16px; } .dsh-card-head .small, .dsh-range { margin-left: auto; color: var(--muted); font-size: 12px; }
.dsh-legend { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); } .dsh-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 4px; } .dsh-legend .a { background: var(--dsh-a); } .dsh-legend .b { background: var(--dsh-b); }
.dsh-line { width: 100%; height: 230px; display: block; } .dsh-grid { stroke: var(--line); stroke-dasharray: 3 4; } .dsh-axis { fill: var(--muted); font-size: 10px; } .dsh-today { stroke: var(--muted); stroke-dasharray: 2 4; opacity: .6; }
.dsh-stroke { stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; } .dsh-stroke--a { stroke: var(--dsh-a); } .dsh-stroke--b { stroke: var(--dsh-b); }
.dsh-stop--a { stop-color: var(--dsh-a); stop-opacity: .28; } .dsh-stop--b { stop-color: var(--dsh-b); stop-opacity: .22; } .dsh-stop.is-end { stop-opacity: 0; }
.dsh-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.dsh-donut-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .dsh-donut { width: 150px; height: 150px; flex-shrink: 0; }
.dsh-donut-bg { fill: none; stroke: var(--line); stroke-width: 14; } .dsh-donut-seg { fill: none; stroke-width: 14; stroke-linecap: butt; }
.dsh-seg--a { stroke: var(--dsh-a); } .dsh-seg--b { stroke: var(--dsh-b); } .dsh-seg--c { stroke: var(--dsh-c); } .dsh-seg--d { stroke: var(--dsh-d); } .dsh-seg--e { stroke: var(--dsh-e); } .dsh-seg--f { stroke: var(--dsh-f); }
.dsh-donut-n { font-size: 24px; font-weight: 700; fill: currentColor; } .dsh-donut-l { font-size: 9px; fill: var(--muted); }
.dsh-keys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 130px; font-size: 13px; } .dsh-keys li { display: flex; align-items: center; gap: 8px; } .dsh-keys b { margin-left: auto; }
.dsh-keys i { width: 10px; height: 10px; border-radius: 3px; } .dsh-keys .seg-a { background: var(--dsh-a); } .dsh-keys .seg-b { background: var(--dsh-b); } .dsh-keys .seg-c { background: var(--dsh-c); } .dsh-keys .seg-d { background: var(--dsh-d); } .dsh-keys .seg-e { background: var(--dsh-e); } .dsh-keys .seg-f { background: var(--dsh-f); }
.dsh-bars { width: 100%; height: 170px; } .dsh-bar--a { fill: var(--dsh-a); } .dsh-bar.is-zero { fill: var(--line); }
.dsh-profile { text-align: center; } .dsh-profile h3 { margin: 10px 0 0; font-size: 18px; } .dsh-profile p { margin: 2px 0 12px; }
.dsh-av { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6c5ce7, #ff7a90); box-shadow: 0 0 0 5px rgba(108,92,231,.15); }
.dsh-level { display: block; text-decoration: none; color: inherit; text-align: left; margin: 6px 0 12px; font-size: 13px; } .dsh-level i { display: block; height: 8px; border-radius: 99px; background: var(--line); margin: 6px 0 4px; overflow: hidden; } .dsh-level i b { display: block; height: 100%; background: linear-gradient(90deg, #6c5ce7, #ff7a90); border-radius: 99px; } .dsh-level small { color: var(--muted); }
.dsh-quick { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; } .dsh-quick a { padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); font-size: 12px; text-decoration: none; color: inherit; }
.dsh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dsh-pcard { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 130px; padding: 14px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); position: relative; }
.dsh-pcard strong { font-size: 14px; line-height: 1.25; } .dsh-pcard small { opacity: .85; font-size: 11.5px; } .dsh-pcard em { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: 11px; background: rgba(255,255,255,.22); padding: 2px 8px; border-radius: 99px; }
.dsh-clients { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .dsh-clients li { display: flex; align-items: center; gap: 8px; } .dsh-clients li > a:first-child { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: 1; min-width: 0; } .dsh-clients strong { display: block; font-size: 14px; } .dsh-clients small { color: var(--muted); font-size: 12px; }
.dsh-cav { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; background: var(--c, #6c5ce7); overflow: hidden; flex-shrink: 0; } .dsh-cav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dsh-wa { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #25d36622; color: var(--ok-text); }
[data-theme="dark"] .dsh-card, [data-theme="dark"] .dsh-stat { box-shadow: none; }

/* Revisão de texto e hashtags */
.rev-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; }
.rev-out { font-size: 14px; } .rev-out:empty { display: none; }
.rev-out strong { display: block; margin: 8px 0 4px; }
.rev-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rev-list li { padding: 8px 10px; border-radius: 10px; background: var(--accent-soft, #f3f3f0); } .rev-err { color: #b42318; font-weight: 600; } .rev-warn { color: var(--warn-text); } .rev-ok { color: #127a3a; }
.rev-list code { background: rgba(0,0,0,.07); padding: 1px 5px; border-radius: 5px; } .rev-list em { color: #127a3a; font-style: normal; font-weight: 600; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; } .rev-tag { border: 1px solid var(--line-2, #ddd); background: transparent; color: inherit; border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 13px; } .rev-tag:disabled { opacity: .45; }

/* Prospecção */
.pros-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.pros-wrap { overflow-x: auto; } .pros-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pros-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.pros-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .pros-table tr:hover td { background: var(--accent-soft, #f6f6f3); }
@media (max-width: 720px) { .pros-form { grid-template-columns: 1fr; } }

/* Logo do cliente no lugar das iniciais */
.avatar--logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 4px; overflow: hidden; }
.avatar--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dsh-cav.avatar--logo { width: 38px; height: 38px; background: #fff; padding: 3px; }
[data-theme="dark"] .avatar.avatar--logo, .avatar.avatar--logo { background: #fff; color: #111; }

/* Painel do cliente com a logo */
.ctop-who { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 18px; font-size: 14px; }
.ctop-who .avatar--sm.avatar--logo { width: 30px; height: 30px; padding: 2px; border-radius: 8px; }
.chello--logo { display: flex; align-items: center; gap: 18px; } .avatar--xl { width: 72px; height: 72px; font-size: 22px; } .avatar--xl.avatar--logo { width: 76px; height: 76px; padding: 6px; border-radius: 18px; }
.apx-who { display: inline-flex; align-items: center; gap: 8px; } .apx-who .avatar--sm.avatar--logo { width: 28px; height: 28px; padding: 2px; border-radius: 8px; }

/* Simulação do Instagram */
.ig-wrap { max-width: 470px; margin: 0 auto 18px; color: #f5f5f5; }
.ig-note { font-size: 13px; color: #a8a8a8; margin-bottom: 10px; text-align: center; } .ig-note strong { color: #fff; }
.ig-nav { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #a8a8a8; margin-bottom: 8px; } .ig-nav a { color: #8ec9ff; text-decoration: none; font-weight: 600; }
.ig-tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; } .ig-tabs button { background: #1a1a1a; color: #a8a8a8; border: 1px solid #262626; border-radius: 999px; padding: 6px 18px; cursor: pointer; font: inherit; font-size: 13px; } .ig-tabs button.is-on { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.ig-card { background: #000; border: 1px solid #262626; border-radius: 12px; overflow: hidden; color: #f5f5f5; font-size: 14px; }
.ig-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; } .ig-hn { flex: 1; } .ig-hn b { font-size: 14px; } .ig-dots { color: #f5f5f5; display: flex; } .ig-dots svg { fill: currentColor; stroke: none; }
.ig-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; } .ig-av--ring { background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); padding: 2px; }
.ig-av-in { position: relative; width: 100%; height: 100%; border-radius: 50%; background: #262626; border: 2px solid #000; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; overflow: hidden; box-sizing: border-box; } .ig-av-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ig-av--xl { width: 86px; height: 86px; } .ig-av--xl .ig-av-in { font-size: 28px; }
.ig-media { background: #000; } .ig-media .apx-slide { aspect-ratio: auto; min-height: 240px; } .ig-media .apx-slide img, .ig-media .apx-slide video { height: auto; max-height: 78vh; width: 100%; }
.ig-pager { display: flex; justify-content: center; gap: 4px; padding: 8px 0 0; } .ig-pager i { width: 6px; height: 6px; border-radius: 50%; background: #555; } .ig-pager i.is-on { background: #0095f6; }
.ig-acts { display: flex; justify-content: space-between; padding: 10px 12px 4px; } .ig-acts span { display: flex; gap: 14px; } .ig-acts svg { width: 26px; height: 26px; }
.ig-likes, .ig-cap, .ig-com, .ig-date { padding: 2px 12px; } .ig-cap { line-height: 1.45; color: #f5f5f5; padding-top: 4px; } .ig-cap b { font-weight: 600; }
.ig-tag { color: #8ec9ff; } .ig-dim { color: #a8a8a8; } .ig-com { color: #a8a8a8; margin-top: 4px; } .ig-date { color: #a8a8a8; font-size: 11px; letter-spacing: .04em; padding-bottom: 12px; padding-top: 6px; }
.ig-more { background: none; border: 0; color: #a8a8a8; padding: 0 12px; cursor: pointer; font: inherit; }
.ig-empty { padding: 60px 20px; text-align: center; color: #a8a8a8; border: 1px dashed #333; border-radius: 12px; }
.ig-phone { width: min(100%, 340px); margin: 0 auto; padding: 8px; background: #111; border-radius: 34px; border: 1px solid #333; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); }
.ig-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; }
.ig-fill { position: absolute; inset: 0; } .ig-fill img, .ig-fill video, .ig-fill iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.ig-rside { position: absolute; right: 10px; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.6); } .ig-rside small { font-size: 11px; margin-bottom: 8px; } .ig-rside svg { width: 28px; height: 28px; }
.ig-rbot { position: absolute; left: 0; right: 56px; bottom: 44px; padding: 40px 12px 8px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; pointer-events: none; }
.ig-ru { display: flex; align-items: center; gap: 8px; } .ig-ru .ig-av { width: 30px; height: 30px; } .ig-ru em { font-style: normal; border: 1px solid #fff; border-radius: 8px; padding: 1px 10px; font-size: 12px; }
.ig-rcap { margin: 8px 0 6px; font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .ig-rau { display: flex; align-items: center; gap: 6px; font-size: 12px; } .ig-rau svg { width: 14px; height: 14px; }
.ig-bars { position: absolute; top: 8px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 4px; } .ig-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); } .ig-bars i.on { background: #fff; }
.ig-sh { position: absolute; top: 18px; left: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; } .ig-sh .ig-av { width: 32px; height: 32px; } .ig-sh small { opacity: .8; }
.ig-sf { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 12px; color: #fff; pointer-events: none; } .ig-sf span { flex: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 9px 14px; font-size: 13px; }
.ig-hint { text-align: center; font-size: 12px; color: #a8a8a8; margin-top: 10px; }
.ig-profile { background: #000; border: 1px solid #262626; border-radius: 12px; padding: 16px 14px; } .ig-ph { display: flex; align-items: center; gap: 18px; } .ig-stats { display: flex; flex: 1; justify-content: space-around; text-align: center; font-size: 12px; color: #f5f5f5; } .ig-stats b { display: block; font-size: 17px; }
.ig-bio { margin: 12px 0; display: flex; flex-direction: column; font-size: 14px; } .ig-bio span { color: #8ec9ff; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; } .ig-tile { position: relative; aspect-ratio: 3 / 4; background: #1a1a1a; overflow: hidden; } .ig-tile img, .ig-tile video { width: 100%; height: 100%; object-fit: cover; display: block; } .ig-tile i { position: absolute; top: 6px; right: 6px; color: #fff; font-style: normal; font-size: 12px; text-shadow: 0 1px 3px #000; }
.ig-tile.is-new { outline: 3px solid #0095f6; outline-offset: -3px; z-index: 1; } .ig-tile em { position: absolute; left: 6px; bottom: 6px; background: #0077c8; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

.ig-card .apx-pager { position: static; transform: none; left: auto; right: auto; bottom: auto; }

/* Gráfico de linhas: texto em HTML (não estica) */
.dsh-chart { --ch: clamp(150px, 20vw, 230px); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; }
.dsh-y { position: relative; height: var(--ch); } .dsh-y span { position: absolute; right: 0; transform: translateY(-50%); font-size: 11px; color: var(--muted); }
.dsh-plotbox { position: relative; height: var(--ch); } .dsh-plotbox .dsh-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.dsh-x { position: relative; height: 20px; margin-top: 6px; } .dsh-x span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; } .dsh-x span.is-first { transform: none; } .dsh-x span.is-last { transform: translateX(-100%); }
.dsh-grid, .dsh-today { vector-effect: non-scaling-stroke; }

/* Dashboard responsivo pela largura REAL da área (com ou sem menu lateral) */
.dsh-ct { container: dshc / inline-size; }
@container dshc (max-width: 1040px) { .dsh { grid-template-columns: minmax(0, 1fr); } .dsh-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: start; } .dsh-profile { grid-column: auto; } }
@container dshc (max-width: 760px) { .dsh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dsh-row { grid-template-columns: minmax(0, 1fr); } .dsh-hero { padding: 22px; } .dsh-hero-art { display: none; } .dsh-card-head .dsh-range { margin-left: 0; width: 100%; } }
@container dshc (max-width: 480px) { .dsh, .dsh-main, .dsh-side { gap: 12px; } .dsh-stats { gap: 10px; } .dsh-stat { padding: 14px; } .dsh-stat strong { font-size: 24px; } .dsh-hero h2 { font-size: 21px; } .dsh-card { padding: 14px; border-radius: 16px; } .dsh-donut-wrap { justify-content: center; } .dsh-side { grid-template-columns: minmax(0, 1fr); } .dsh-hero { border-radius: 18px; } }

/* Responsivo geral (tablet e celular) */
img, video, canvas { max-width: 100%; }
@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-grid, .apc-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
	.top-actions { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
	.card-head { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 720px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
	input, select, textarea { font-size: 16px; } /* evita o zoom automático do iPhone */
	.content { padding-left: 14px; padding-right: 14px; }
	.btn--sm { min-height: 38px; }
	.form-actions { flex-wrap: wrap; } .form-actions .btn { flex: 1 1 auto; }
	.note-at { flex-wrap: wrap; } .rev-tools { gap: 6px; }
	.pay-row { flex-wrap: wrap; row-gap: 8px; }
	.plx-hols { grid-template-columns: minmax(0, 1fr); } .plx-post { grid-template-columns: 1fr; }
	.ig-wrap { max-width: 100%; }
	.table-row { flex-wrap: wrap; }
	.game-top { flex-direction: column; align-items: flex-start; }
	.lkcrop-box { padding: 14px; } .lkcrop-actions .btn { flex: 1 1 auto; }
}
@media (hover: none) { .btn, .chip, .rev-tag, .note-time { min-height: 36px; } }

/* Metas */
.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 18px; }
.goal-card { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.goal-card.is-hit { border-color: #f5b83d; background: linear-gradient(135deg, rgba(245,184,61,.12), transparent 60%), var(--card); }
.goal-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; } .goal-ring svg { width: 100%; height: 100%; } .goal-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; }
.goal-bg { fill: none; stroke: var(--line); stroke-width: 9; } .goal-fg { fill: none; stroke: url(#none); stroke: #6c5ce7; stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray 1s ease; } .goal-card.is-hit .goal-fg { stroke: #f5b83d; }
.goal-body { min-width: 0; flex: 1; } .goal-body h3 { margin: 0 0 4px; font-size: 16px; } .goal-nums { margin: 0; font-size: 18px; } .goal-body p { margin: 2px 0; } .goal-edit { margin-top: 6px; }
.dsh-goal { margin-bottom: 12px; } .dsh-goal span { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; } .dsh-goal em { font-style: normal; color: var(--muted); } .dsh-goal i { display: block; height: 8px; border-radius: 99px; background: var(--line); margin: 5px 0 3px; overflow: hidden; } .dsh-goal i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6c5ce7, #ff7a90); } .dsh-goal.is-hit i b { background: linear-gradient(90deg, #f5b83d, #ff9a5c); } .dsh-goal small { color: var(--muted); font-size: 12px; }

/* Comemorações (meta batida / subida de nível) */
.cel-canvas { position: fixed; inset: 0; z-index: 100001; pointer-events: none; }
.cel { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(8,8,20,.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.cel.is-in { opacity: 1; }
.cel-card { position: relative; width: min(420px, 100%); text-align: center; padding: 34px 26px 26px; border-radius: 28px; color: #fff; overflow: hidden; background: linear-gradient(160deg, #4a36c9, #7c3aed 60%, #db2777); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); transform: scale(.6) translateY(30px); opacity: 0; }
.cel.is-in .cel-card { animation: cel-pop .7s cubic-bezier(.2,1.3,.4,1) forwards; }
.cel--goal .cel-card { background: linear-gradient(160deg, #d97706, #f59e0b 55%, #fbbf24); color: #2b1600; }
.cel-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.35), transparent 30%); animation: cel-spin 5s linear infinite; }
.cel-emoji { position: relative; font-size: 76px; line-height: 1; animation: cel-bounce 1.2s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); }
.cel-card h2 { position: relative; margin: 10px 0 4px; font-size: 26px; letter-spacing: -.02em; color: inherit; }
.cel-sub { position: relative; font-size: 20px; font-weight: 700; } .cel-card p { position: relative; margin: 10px 0 18px; opacity: .9; font-size: 14px; }
.cel-bar { position: relative; height: 12px; border-radius: 99px; background: rgba(0,0,0,.18); margin: 14px auto 0; max-width: 280px; overflow: hidden; } .cel-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 99px; animation: cel-fill 1.4s .5s ease forwards; }
.cel-lv { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: 18px; } .cel-lv span { opacity: .7; } .cel-lv strong { background: #fff; color: #5b21b6; padding: 4px 16px; border-radius: 99px; animation: cel-pulse 1.2s ease-in-out infinite; }
.cel-btn { position: relative; border: 0; border-radius: 999px; padding: 12px 28px; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: #4a36c9; } .cel--goal .cel-btn { background: #2b1600; color: #fff; }
@keyframes cel-pop { 0% { transform: scale(.6) translateY(30px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes cel-bounce { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes cel-spin { to { transform: rotate(360deg); } }
@keyframes cel-fill { to { width: 100%; } }
@keyframes cel-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .cel-glow, .cel-emoji, .cel-lv strong { animation: none; } .cel.is-in .cel-card { animation: none; transform: none; opacity: 1; } .cel-bar i { animation: none; width: 100%; } }
@media (max-width: 720px) { .goal-grid { grid-template-columns: minmax(0, 1fr); } .goal-card { padding: 14px; } .goal-ring { width: 80px; height: 80px; } .cel-emoji { font-size: 60px; } .cel-card h2 { font-size: 22px; } }

/* Status das redes */
.net-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 4px 0 12px; } .net-sum div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; } .net-sum b { font-size: 22px; } .net-sum span { color: var(--muted); font-size: 12px; margin-left: 4px; } .net-sum i { display: block; height: 6px; border-radius: 99px; background: var(--line); margin-top: 6px; overflow: hidden; } .net-sum u { display: block; height: 100%; background: linear-gradient(90deg, #6c5ce7, #14c8c8); text-decoration: none; }
.net-cli { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; } .net-cli .avatar { width: 34px; height: 34px; }
.net-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.net-pill--ok { background: #12b76a22; color: var(--ok-text); } .net-pill--erro { background: #f0443822; color: var(--late-text); font-weight: 600; } .net-pill--off { background: var(--accent-soft, #f0f0ec); color: var(--muted); }
.net-act { white-space: nowrap; text-align: right; }
@media (max-width: 720px) { .net-act { white-space: normal; } .net-table { min-width: 640px; } }

/* ---- Contraste: ajustes finos (auditoria) ---- */
[data-theme="dark"] .btn--light { background: #fff; color: #0a0a0a; }
[data-theme="dark"] .made-by { background: #080808; color: #b4b4b0; }
.ldkp-prof-av { color: #2b1600; }

.dsh-pcard.is-light { color: #0a0a0a; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 78%, #fff)); } .dsh-pcard.is-light em { background: rgba(0,0,0,.14); }

/* ---- Contraste global ---- */
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.side :focus-visible, .ctop :focus-visible, .auth-side :focus-visible { outline-color: var(--accent); }
[data-theme="dark"] input:-webkit-autofill, [data-theme="dark"] textarea:-webkit-autofill, [data-theme="dark"] select:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); box-shadow: 0 0 0 1000px var(--card) inset; transition: background-color 9999s; }
/* Texto selecionado: sempre legível (cor de destaque + texto que contrasta com ela) */
::selection, ::-moz-selection { background: var(--accent); color: var(--on-accent); }
input::selection, textarea::selection { background: var(--accent); color: var(--on-accent); }
.side ::selection { background: var(--accent); color: var(--on-accent); }

/* Contratos */
.ctr-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.ctr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ctr-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); } .ctr-list li span { color: var(--muted); flex-shrink: 0; } .ctr-list li b { text-align: right; font-weight: 600; word-break: break-word; }
.ctr-list li.is-missing b { color: var(--late-text); } .ctr-list li.is-missing a { color: inherit; text-decoration: underline; }
.ctr-search input { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); min-width: 220px; }
.ctr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; } .ctr-card .row-btns { margin-top: 10px; }
.ctr-saved { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
@media (max-width: 1100px) { .ctr-parties { grid-template-columns: minmax(0, 1fr); } }
@media print { .ctr-saved .btn, .ctop, .cfoot, .wa-float { display: none !important; } }

/* IA */
.ai-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; } .ai-tools select { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
.ai-tag { background: linear-gradient(135deg, #6c5ce7, #ff7a90); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ai-out:empty { display: none; } .ai-out { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ai-opt { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: var(--accent-soft); } .ai-opt p { margin: 6px 0 10px; font-size: 14px; }
.ai-plan-form { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: end; }
.ai-plan-out { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ai-idea { border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ai-idea-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .ai-idea-h .ai-title { flex: 1; min-width: 180px; } .ai-day { width: 64px; }
.ai-idea input[type=text], .ai-idea input[type=number], .ai-idea select, .ai-idea textarea { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); width: 100%; box-sizing: border-box; } .ai-idea .ai-day, .ai-idea select { width: auto; }
.ai-pitch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; } .ai-pitch .ai-out { flex-basis: 100%; } .ai-pitch textarea { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); box-sizing: border-box; }
@media (max-width: 720px) { .ai-plan-form { grid-template-columns: minmax(0, 1fr); } }

/* Personalizar o dashboard */
.dc-zone { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dc-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.dc-mv { display: flex; gap: 4px; } .dc-mv button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: inherit; }
.dc-mv button:hover { background: var(--accent-soft); }

/* Login com arte de redes sociais */
.auth-side { background: radial-gradient(120% 90% at 100% 0, #0a2a44 0, transparent 55%), linear-gradient(160deg, #05080b, #071826 70%, #05080b); gap: 18px; }
.auth-side::after { background: radial-gradient(circle, rgba(20,233,236,.22) 0%, rgba(20,233,236,0) 65%); }
.auth-art { position: relative; z-index: 1; flex: 1; min-height: 240px; display: grid; place-items: center; margin: -8px -24px; }
.auth-art .la { width: 100%; max-width: 560px; max-height: 56vh; height: auto; }
.la-t { font-family: var(--font); }
.auth-side-text .eyebrow { color: var(--accent); letter-spacing: .16em; }
.auth-sub { margin: 12px 0 0; color: #b4c6d4; font-size: 15px; max-width: 38ch; }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-art { display: none; } .auth-side { padding: 28px 24px; min-height: 0; } .auth-sub { display: none; } }

/* Cabeçalho do cliente em duas linhas: marca/ações em cima, menu embaixo */
.ctop-inner { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; padding-top: 10px; padding-bottom: 6px; }
.ctop-brand { flex: 0 0 auto; min-width: 0; }
.ctop-who { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.ctop-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctop-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.ctop-nav { display: block; max-width: 1040px; margin: 0 auto; padding: 0 20px 8px; }
.ctop-nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; }
.ctop-nav-in::-webkit-scrollbar { display: none; }
.ctop-nav-in a { flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; line-height: 1; }
@media (max-width: 640px) { .ctop-who b, .ctop-brand span { display: none; } .ctop-nav { padding: 0 12px 8px; } }

/* Reuniões do CRM (lista no dashboard, Agenda e ficha do cliente) */
.meetings .meet-time { width: auto; min-width: 64px; max-width: 120px; white-space: normal; line-height: 1.25; }
.meetings .meet-main { min-width: 0; flex: 1; }
.meetings .meet-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meet-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* Reuniões: calendário (mês/semana/lista) e escolha de cliente */
.rcal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rcal-nav, .rcal-views { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rcal-title { font-family: var(--head); font-size: 18px; margin-left: 8px; color: var(--ink); }
.rmonth { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rmonth-h { padding: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.rday { position: relative; min-height: 104px; padding: 6px 5px 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; background: var(--card); }
.rday.is-out { background: var(--bg); }
.rday.is-out .rday-n { color: var(--muted); }
.rday.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.rday-n { font-size: 12px; font-weight: 600; color: var(--ink); }
.rday-add { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; }
.rday:hover .rday-add, .rday-add:focus-visible { opacity: 1; }
@media (hover: none) { .rday-add { opacity: .7; } }
.rday-more { font-size: 11px; color: var(--accent-text); text-decoration: none; padding: 0 4px; }
.rm { display: flex; align-items: baseline; gap: 5px; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--accent); border-radius: 5px; padding: 3px 6px; font: inherit; font-size: 11.5px; line-height: 1.25; cursor: pointer; background: var(--accent-soft); color: var(--ink); overflow: hidden; }
.rm b { flex-shrink: 0; }
.rm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm small { display: none; }
.rm--feita { border-left-color: var(--ok-solid); background: var(--ok-soft); color: var(--ok-text); }
.rm--cancelada { border-left-color: var(--muted-2); background: var(--bg); color: var(--muted); text-decoration: line-through; }
.rweek { overflow-x: auto; }
.rweek-head, .rweek-body { display: grid; grid-template-columns: 52px repeat(7, minmax(110px, 1fr)); min-width: 820px; }
.rweek-d { display: flex; flex-direction: column; align-items: center; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.rweek-d small { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.rweek-d b { font-size: 18px; }
.rweek-d.is-today b { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 0 9px; }
.rweek-hours { display: flex; flex-direction: column; }
.rweek-hours span { height: var(--px); font-size: 11px; color: var(--muted); padding: 2px 6px 0 0; text-align: right; box-sizing: border-box; }
.rweek-col { position: relative; border-left: 1px solid var(--line); height: calc(var(--px) * var(--hrs)); }
.rweek-col.is-today { background: var(--accent-soft); }
.rweek-slot { display: block; width: 100%; height: var(--px); border: 0; border-top: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0; }
.rweek-slot:hover { background: var(--accent-soft); }
.rweek-ev { position: absolute; left: 3px; right: 3px; z-index: 2; }
.rweek-ev .rm { height: 100%; flex-wrap: wrap; align-content: flex-start; }
.rweek-ev .rm small { display: block; width: 100%; opacity: .85; }
.rlist-day { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 4px; }
.cpick { display: grid; gap: 6px; }
.cpick-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.cpick-q { width: 100%; }
.cpick-list { list-style: none; margin: 0; padding: 4px; max-height: 188px; overflow: auto; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); }
.cpick-list li[hidden] { display: none; }
.cpick-list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink); padding: 6px 8px; border-radius: 8px; cursor: pointer; font: inherit; }
.cpick-list button:hover { background: var(--accent-soft); }
.cpick-list b { display: block; font-size: 14px; font-weight: 600; }
.cpick-list small { display: block; color: var(--muted); font-size: 12px; }
.cpick-sel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--ok-soft); color: var(--ok-text); font-size: 14px; }
.cpick-sel[hidden] { display: none; }
.cpick-sel button { border: 0; background: transparent; color: var(--accent-text); text-decoration: underline; cursor: pointer; font: inherit; }
.cpick-sel em { font-style: normal; color: var(--warn-text); font-size: 12.5px; }
.cpick.is-picked .cpick-q, .cpick.is-picked .cpick-list { display: none; }
@media (max-width: 720px) { .rday { min-height: 78px; } .rm span { display: none; } .rm { justify-content: center; } }
.rm--google { text-decoration: none; border-left-style: dashed; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.rm--google:hover { background: var(--accent-soft); }

/* Dashboard em quadro: blocos que se movem e redimensionam (12 colunas) */
.dsh-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 18px; align-items: start; --dsh-a: #6c5ce7; --dsh-b: #ff7a90; --dsh-c: #14c8c8; --dsh-d: #f5b83d; --dsh-e: #4f8cff; --dsh-f: #8a94a6; }
.dw { grid-column: span var(--w, 6); min-width: 0; position: relative; display: flex; flex-direction: column; min-height: calc(var(--h, 0) * 44px); container: dw / inline-size; }
.dw > :not(.dw-bar):not(.dw-rs) { flex: 1; min-width: 0; box-sizing: border-box; }
.dw .dsh-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dw-bar, .dw-rs { display: none; }
@container dw (max-width: 620px) { .dsh-hero-art { display: none; } .dsh-hero { padding: 20px; } .dsh-card-head .dsh-range { margin-left: 0; width: 100%; } .dsh-donut-wrap { justify-content: center; } }
@container dw (max-width: 400px) { .dsh-stat { padding: 14px; } .dsh-stat strong { font-size: 24px; } .dsh-card { padding: 14px; } }
@container dshc (max-width: 1040px) { .dw--s { grid-column: span 6; } .dw--l { grid-column: 1 / -1; } }
@container dshc (max-width: 700px) { .dw { grid-column: 1 / -1; } }
.dw-hint { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.dw-hint[hidden] { display: none; }
.is-arranging .dw { outline: 2px dashed var(--line-2); outline-offset: 4px; border-radius: 20px; }
.is-arranging .dw-bar { display: flex; align-items: center; gap: 8px; position: absolute; top: -14px; left: 12px; right: 12px; z-index: 5; padding: 4px 8px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 12px; }
.dw-grip { cursor: grab; touch-action: none; font-size: 16px; line-height: 1; padding: 2px 6px; user-select: none; }
.dw-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-btns { display: inline-flex; gap: 4px; }
.dw-btns button { border: 0; background: rgba(255,255,255,.18); color: var(--on-ink); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.is-arranging .dw-rs { display: block; position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); cursor: nwse-resize; touch-action: none; z-index: 5; }
.is-arranging .dw-rs::after { content: ''; position: absolute; inset: 6px; border-right: 2px solid var(--on-ink); border-bottom: 2px solid var(--on-ink); }
.is-arranging .dw.is-drag { opacity: .55; outline-color: var(--accent); }
.is-arranging .dw.is-resizing { outline: 2px solid var(--accent); }
.is-arranging .dw > :not(.dw-bar):not(.dw-rs) { pointer-events: none; }

/* Ver a arte grande */
.media-item img, img[alt^="Arte "], [data-zoom] { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(5,8,11,.92); display: flex; flex-direction: column; }
.zoom[hidden] { display: none; }
.zoom-stage { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 56px 64px 8px; }
.zoom-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.zoom.is-full .zoom-stage { place-items: start center; }
.zoom.is-full .zoom-stage img { max-width: none; max-height: none; cursor: zoom-out; }
.zoom-x { position: absolute; top: 12px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: none; }
.zoom.has-nav .zoom-nav { display: block; }
.zoom-prev { left: 12px; } .zoom-next { right: 12px; }
.zoom-cap { display: flex; justify-content: center; gap: 16px; padding: 10px 16px 16px; color: #d6e0e7; font-size: 13px; }
.zoom-cap a { color: #fff; }
html.zoom-open { overflow: hidden; }
@media (max-width: 640px) { .zoom-stage { padding: 56px 8px 8px; } .zoom-nav { width: 38px; height: 38px; } }

/* Briefings e pesquisas: modelos, montador, resposta passo a passo e resultados */
.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 12px; }
.fm-card h3, .fm-res h3 { margin: 8px 0 4px; font-size: 16px; color: var(--ink); }
.fm-grid--res { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.fm-avg strong { font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.fm-bar { display: grid; grid-template-columns: minmax(90px, 36%) 1fr 28px; gap: 8px; align-items: center; font-size: 13px; margin: 5px 0; color: var(--ink); }
.fm-bar i { display: block; height: 10px; background: var(--accent-soft); border-radius: 99px; overflow: hidden; }
.fm-bar i b { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.fm-bar em { font-style: normal; text-align: right; color: var(--muted); }
.fm-quote { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--line-2); color: var(--ink); font-size: 14px; background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.fm-quote small { display: block; color: var(--muted); }
.fm-answers h3 { margin: 22px 0 6px; font-size: 15px; color: var(--ink); }
.fm-answers p { margin: 0 0 12px; color: var(--ink); }
.fm-filter { margin: 4px 0 14px; }
.fb-step { margin-bottom: 14px; }
.fb-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fb-step-h input { flex: 1; font-weight: 600; }
.fb-step-n { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); white-space: nowrap; }
.fb-tools { display: inline-flex; gap: 4px; flex-shrink: 0; }
.fb-ic { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; line-height: 1; }
.fb-ic:hover { background: var(--accent-soft); }
.fb-ic--del { color: var(--late-text); }
.fb-q { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; margin-bottom: 10px; display: grid; gap: 8px; background: var(--bg); }
.fb-q-top { display: grid; grid-template-columns: minmax(150px, 230px) 1fr auto; gap: 8px; align-items: center; }
.fb-q-opts { display: flex; gap: 16px; flex-wrap: wrap; }
.fb-send h3 { margin: 0 0 10px; }
.fs-form { max-width: 760px; margin: 0 auto; }
.fs-progress { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.fs-progress i { display: block; height: 8px; background: var(--accent-soft); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.fs-progress i b { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s var(--ease); }
.fs-title { margin: 0 0 14px; font-size: 20px; color: var(--ink); }
.fs-q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.fs-q legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.fs-req { color: var(--late-text); }
.fs-q.is-bad legend { color: var(--late-text); }
.fs-q.is-bad .fs-opt > span { border-color: var(--late); }
.fs-q input[type=text], .fs-q textarea { width: 100%; }
.fs-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.fs-opt { position: relative; display: block; cursor: pointer; }
.fs-opt > input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fs-opt > span { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); transition: border-color .15s, background .15s; }
.fs-opt > input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); font-weight: 600; }
.fs-opt > input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fs-opt--other > span { gap: 8px; }
.fs-opt--other input[type=text] { position: static; opacity: 1; height: auto; width: auto; flex: 1; min-width: 80px; }
.fs-opts--sat { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.fs-opt--sat > span { flex-direction: column; text-align: center; font-size: 13px; padding: 12px 6px; }
.fs-opt--sat em { font-style: normal; font-size: 26px; line-height: 1; }
.fs-opts--num { grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); }
.fs-opt--num > span { justify-content: center; font-weight: 600; }
.fs-scale-l { display: flex; justify-content: space-between; margin-top: 6px; }
.fs-nav { display: flex; gap: 10px; justify-content: space-between; margin: 16px 0 40px; }
.fs-nav [hidden] { display: none; }
.fs-nav .btn:only-of-type { margin-left: auto; }
@media (max-width: 640px) { .fb-q-top { grid-template-columns: 1fr; } .fb-step-h { flex-wrap: wrap; } }

/* Avatares da equipe (bichos e carinhas) */
.avatar--emoji { background: var(--accent-soft); color: var(--ink); font-size: 1.25em; line-height: 1; }
.avatar-btn { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 50%; }
.avatar-btn:hover .avatar { transform: scale(1.08); }
.avatar-btn .avatar { transition: transform .15s var(--ease); }
.online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); vertical-align: middle; margin-left: 4px; }
.avpick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-bottom: 10px; }
.avpick-o { position: relative; cursor: pointer; }
.avpick-o input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.avpick-o span { display: grid; place-items: center; height: 52px; font-size: 28px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); transition: transform .12s var(--ease), border-color .12s; }
.avpick-o:hover span { transform: translateY(-2px) scale(1.06); }
.avpick-o input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.avpick-o input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.welcome { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); animation: welcomeIn .5s var(--ease); transition: opacity .5s, transform .5s; }
.welcome.is-out { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.welcome-av { width: 52px; height: 52px; display: grid; place-items: center; font-size: 30px; border-radius: 50%; background: var(--accent-soft); animation: welcomeWave 1.2s ease .3s 2; }
.welcome small { display: block; color: var(--muted); }
.welcome .link-btn { border: 0; background: none; padding: 0; color: var(--accent-text); text-decoration: underline; cursor: pointer; font: inherit; }
.welcome-x { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
@keyframes welcomeIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes welcomeWave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.08); } 75% { transform: rotate(12deg) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .welcome, .welcome-av { animation: none; } }

/* Tráfego pago: visão geral e relatório do cliente */
.ads-tot { margin-bottom: 16px; }
.ads-demo { margin-bottom: 14px; }
.ads-table td, .ads-table th { white-space: nowrap; }
.ads-table th[data-s]:hover { color: var(--ink); }
.ads-spark { color: var(--ok-text); display: block; }
.ads-spark.is-down { color: var(--late-text); }
.text-ok { color: var(--ok-text); }
.ads-rep { max-width: 880px; margin: 26px auto 10px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.ads-rep-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.ads-rep-h h2 { margin: 4px 0; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.ads-rep-h .avatar { width: 56px; height: 56px; font-size: 18px; }
.ads-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ads-kpi { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.ads-kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ads-kpi strong { font-size: 28px; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.ads-kpi small { color: var(--muted); font-size: 12px; }
.ads-kpi--hl { background: var(--accent); border-color: var(--accent); }
.ads-kpi--hl span, .ads-kpi--hl small, .ads-kpi--hl strong { color: var(--on-accent); }
.ads-say { margin: 16px 0; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.ads-chart { margin: 8px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.ads-chart-h { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--ink); }
.ads-chart svg { width: 100%; height: 110px; color: var(--accent-text); }
.ads-h3 { margin: 22px 0 8px; font-size: 16px; color: var(--ink); }
.ads-camp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 38%); gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ads-camp-n strong { display: block; font-size: 14px; color: var(--ink); }
.ads-camp-b { display: flex; align-items: center; gap: 10px; }
.ads-camp-b i { flex: 1; height: 10px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.ads-camp-b i b { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.ads-camp-b span { font-size: 13px; font-weight: 600; color: var(--ink); min-width: 78px; text-align: right; }
.ads-foot { margin-top: 16px; }
@media (max-width: 640px) { .ads-rep { padding: 18px; } .ads-camp { grid-template-columns: 1fr; } }
.ads-table td, .ads-table th { padding: 11px 9px; font-size: 13px; }
.ads-chart-w { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }

.dw-addlist { display: grid; gap: 8px; }
.dw-add { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.dw-add span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.dw-add:hover { background: var(--accent-soft); border-style: solid; }
.dw-btns button[data-dw-rm] { background: rgba(255, 77, 94, .85); }

/* Login: arte à esquerda (imagem de fundo + LED azul) e acesso à direita (cartão, leitor, formulário) */
body.lk-lobby { margin: 0; background: #02060b; }
.lobby { --led: #2a8cff; --led2: #14E9EC; position: relative; min-height: 100vh; min-height: 100dvh; color: #e8f3fb; font-family: var(--font); background: #02060b; isolation: isolate; }
.lobby[data-state="deny"] { --led: #ff3d55; --led2: #ff8a96; }
.lobby[data-state="ok"] { --led: #2ee59d; --led2: #b6ffe3; }
.lobby.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr); }
.split-art { position: relative; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vw, 72px); background: radial-gradient(120% 90% at 30% 20%, #0a2c4a 0%, #04101c 60%, #02060b 100%); }
.split-art-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; }
.split-art::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(3, 9, 16, .72), rgba(5, 22, 40, .42) 55%, rgba(3, 9, 16, .78)); }
.split-art-svg { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; opacity: .95; }
.split-art-svg svg { width: min(86%, 560px); max-height: 70%; height: auto; }
.split-art > * { position: relative; z-index: 2; }
.split-art > .led, .split-art > .split-art-img, .split-art > .split-art-svg { position: absolute; }
.led { display: block; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--led), var(--led2), var(--led), transparent); box-shadow: 0 0 26px 7px color-mix(in srgb, var(--led) 55%, transparent); animation: ledPulse 3.4s ease-in-out infinite; transition: background .4s, box-shadow .4s; z-index: 2; }
.led--top { top: 3%; left: 8%; right: 8%; height: 3px; }
.led--bot { bottom: 3%; left: 14%; right: 14%; height: 2px; animation-delay: -1.3s; }
.led--v { top: 14%; bottom: 14%; width: 3px; left: 3%; background: linear-gradient(180deg, transparent, var(--led), var(--led2), var(--led), transparent); animation-delay: -.8s; }
@keyframes ledPulse { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
.split-brand img { height: clamp(28px, 3.4vw, 40px); width: auto; display: block; }
.split-brand b { font-size: 22px; letter-spacing: .28em; color: #fff; }
.split-text .eyebrow { color: #14E9EC; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.split-text h2 { margin: 10px 0 8px; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.split-text h2 strong { color: #14E9EC; }
.split-text p { margin: 0; max-width: 46ch; color: #cfe3f0; font-size: 15px; }
.lobby-front { position: relative; z-index: 3; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px clamp(16px, 3vw, 44px); box-sizing: border-box; background: radial-gradient(90% 70% at 50% 40%, #07213a 0%, #030b14 70%); }
.lobby-front::before { content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 3px; border-radius: 99px; background: linear-gradient(180deg, transparent, var(--led), var(--led2), var(--led), transparent); box-shadow: 0 0 22px 5px color-mix(in srgb, var(--led) 45%, transparent); transition: background .4s, box-shadow .4s; }
.lobby-form { --ink: #e8f3fb; --muted: #9db6c7; --line: rgba(255, 255, 255, .16); --line-2: rgba(255, 255, 255, .26); --card: rgba(255, 255, 255, .07); --bg: #041018; --accent-text: #14E9EC; width: min(440px, 100%); color: #e8f3fb; }
.lobby-form h1 { margin: 20px 0 4px; font-size: 24px; color: #fff; }
.lobby-form .muted { color: #9db6c7; }
.lobby-form .field > span, .lobby-form label { color: #cfe3f0; }
.lobby-form input[type=text], .lobby-form input[type=password], .lobby-form input[type=email] { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.lobby-form input::placeholder { color: #86a0b3; }
.lobby-form a { color: #7be9ff; }
.lobby-form .btn--primary { background: #14E9EC; color: #05080B; border-color: #14E9EC; }
.lobby-form .btn--primary:hover { background: #5ff3f5; }
.lobby-form .flash--erro { background: rgba(255, 61, 85, .16); color: #ffd3d8; border: 1px solid rgba(255, 61, 85, .5); }
.lobby-form .flash--warn { background: rgba(255, 194, 77, .14); color: #ffe6b0; border: 1px solid rgba(255, 194, 77, .45); }
.lobby-welcome { display: none; text-align: center; padding: 26px 8px 6px; }
.lobby-welcome strong { display: block; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; color: #fff; letter-spacing: -.02em; }
.lobby-welcome small { display: block; margin-top: 8px; font-size: 16px; color: #cfe3f0; }
.lobby-welcome em { display: block; margin-top: 18px; font: 700 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-transform: uppercase; color: #2ee59d; font-style: normal; }
.lobby[data-state="ok"] .lobby-form > :not(.gate-stage):not(.lobby-welcome) { display: none; }
.lobby[data-state="ok"] .lobby-welcome { display: block; animation: welcomeIn .7s cubic-bezier(.22, 1, .36, 1) both; }
.lobby-loading { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 20; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(5, 14, 26, .92); border: 1px solid rgba(46, 229, 157, .5); color: #d9fff0; font-size: 14px; }
.lobby-loading[hidden] { display: none; }
.lobby-loading i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(46, 229, 157, .3); border-top-color: #2ee59d; animation: lobSpin .8s linear infinite; }
@keyframes lobSpin { to { transform: rotate(360deg); } }
.lobby-copy { position: absolute; z-index: 4; right: 0; bottom: 8px; width: 100%; max-width: 100%; text-align: center; font-size: 11px; color: #7c93a6; pointer-events: none; }
.lobby-copy a { color: #9fc4d6; pointer-events: auto; }

.gate-stage { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
.gate-reader { position: relative; z-index: 3; align-self: end; height: 128px; border-radius: 16px; background: linear-gradient(180deg, #0f2a3d, #091a27); border: 1px solid rgba(20, 233, 236, .35); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 10px 6px; gap: 8px; box-shadow: -10px 0 22px rgba(0, 0, 0, .35); }
.gate-led { width: 14px; height: 14px; border-radius: 50%; background: #14E9EC; box-shadow: 0 0 10px #14E9EC; transition: background .2s, box-shadow .2s; }
.gate-screen { align-self: center; text-align: center; font: 700 9.5px/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; color: #14E9EC; background: #031018; border-radius: 8px; padding: 8px 4px; width: 100%; }
.gate-slot { width: 100%; height: 6px; border-radius: 4px; background: #02070b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.gate-card { position: relative; z-index: 2; height: 128px; border-radius: 16px; padding: 12px 14px 14px; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr auto; column-gap: 12px; background: linear-gradient(135deg, #0c2c40 0%, #08202f 55%, #05131c 100%); border: 1px solid rgba(20, 233, 236, .35); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); color: #fff; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.gate-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #14E9EC; }
.gc-brand { grid-column: 1; grid-row: 1; display: flex; align-items: center; } .gc-brand img { height: 16px; width: auto; }
.gc-brand b { font-weight: 800; letter-spacing: .24em; color: #fff; font-size: 13px; }
.gc-title { grid-column: 2; grid-row: 1; justify-self: end; font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: #14E9EC; font-weight: 700; white-space: nowrap; }
.gc-av { grid-column: 1; grid-row: 2; align-self: center; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; font-weight: 700; background: rgba(20, 233, 236, .14); border: 1px solid rgba(20, 233, 236, .45); color: #fff; }
.gc-info { grid-column: 2; grid-row: 2; align-self: center; display: flex; flex-direction: column; min-width: 0; }
.gc-info strong { font-size: 16px; line-height: 1.15; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-info small { font-size: 12px; color: #9fc4cc; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-chip { grid-column: 1; grid-row: 3; width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, #f1d98a, #b18e34); }
.gc-num { grid-column: 2; grid-row: 3; justify-self: end; align-self: center; font: 600 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: #7fb4bd; }
.lobby[data-kind="cliente"] .gc-title::after { content: ' · cliente'; }
.lobby[data-kind="equipe"] .gc-title::after { content: ' · equipe'; }
.lobby[data-state="swipe"] .gate-led { background: #ffc24d; box-shadow: 0 0 12px #ffc24d; animation: gLed .45s infinite alternate; }
.lobby[data-state="swipe"] .gate-screen { color: #ffc24d; }
.lobby[data-state="swipe"] .gate-card { animation: gSwipe 1.15s cubic-bezier(.5, 0, .3, 1) forwards; }
.lobby[data-state="ok"] .gate-led { background: #2ee59d; box-shadow: 0 0 14px #2ee59d; }
.lobby[data-state="ok"] .gate-screen { color: #2ee59d; }
.lobby[data-state="ok"] .gate-card { border-color: #2ee59d; box-shadow: 0 0 0 2px rgba(46, 229, 157, .35), 0 0 36px rgba(46, 229, 157, .25), 0 10px 24px rgba(0, 0, 0, .4); }
.lobby[data-state="deny"] .gate-led { background: #ff4d5e; box-shadow: 0 0 14px #ff4d5e; animation: gLed .3s 4 alternate; }
.lobby[data-state="deny"] .gate-screen { color: #fff; background: #7a1320; }
.lobby[data-state="deny"] .gate-card { border-color: #ff4d5e; animation: gDeny .7s ease both; }
@keyframes gSwipe { 0% { transform: translateX(0); } 55% { transform: translateX(104px); } 100% { transform: translateX(0); } }
@keyframes gLed { to { opacity: .35; } }
@keyframes gDeny { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .led, .lobby[data-state] .gate-card, .lobby[data-state] .gate-led, .lobby-welcome { animation: none !important; } }

/* Responsivo: tablet em pé e celular em pé = arte em faixa no topo; celular deitado = duas colunas compactas */
@media (max-width: 900px) {
	.lobby.split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.split-art { min-height: 0; height: clamp(150px, 26vh, 260px); padding: 18px 20px; justify-content: center; gap: 10px; }
	.split-text p, .split-art-svg { display: none; }
	.split-text h2 { font-size: clamp(20px, 5vw, 28px); margin: 6px 0 0; }
	.lobby-front { min-height: 0; flex-direction: column; align-items: center; justify-content: flex-start; padding: 22px 16px 40px; }
	.lobby-form { width: 100%; max-width: 460px; }
	.lobby.split { gap: 0; }
	.lobby-front { align-self: stretch; margin: 0; }
	.lobby-front::before { left: 8%; right: 8%; top: 0; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, transparent, var(--led), var(--led2), var(--led), transparent); }
	.lobby-copy { position: static; margin-top: 18px; }
}
@media (max-height: 640px) and (min-aspect-ratio: 5/4) {
	.lobby.split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: none; }
	.split-art { height: auto; min-height: 100vh; padding: 20px; justify-content: space-between; }
	.split-text p { display: none; }
	.split-text h2 { font-size: clamp(18px, 3.4vw, 28px); }
	.lobby-front { align-items: center; padding: 14px 3vw; min-height: 100vh; }
	.lobby-front::before { left: 0; right: auto; top: 8%; bottom: 8%; width: 3px; height: auto; background: linear-gradient(180deg, transparent, var(--led), var(--led2), var(--led), transparent); }
	.lobby-form > .muted { display: none; }
	.lobby-form h1 { margin: 8px 0 4px; font-size: 18px; }
	.gate-card, .gate-reader { height: 100px; }
	.gc-av { width: 42px; height: 42px; font-size: 20px; }
	.gc-info strong { font-size: 14px; }
	.lobby-form .field { margin-bottom: 7px; }
	.lobby-form input[type=text], .lobby-form input[type=password] { padding: 8px 12px; min-height: 0; }
	.lobby-copy { display: none; }
}
@media (max-width: 380px) { .gate-stage { grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; } .gc-info strong { font-size: 14px; } }
.gc-av.is-photo, .gc-av.is-logo { padding: 0; overflow: hidden; }
.gc-av.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-av.is-logo { background: #fff; padding: 5px; border-color: rgba(255, 255, 255, .8); }
.gc-av.is-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.avatar--photo { overflow: hidden; padding: 0; }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.avpick-photo { margin: 6px 0 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }



/* ===== Contraste: revisão geral medida na tela (claro e escuro) ===== */
.eleve-credit { opacity: 1; }
.eleve-credit--dark { color: #c9d6de; }
.eleve-credit--light { color: #52565a; }
[data-theme="dark"] .eleve-credit--light { color: #bcbcbc; }
.apx-page .eleve-credit--dark, .ctr-page .eleve-credit--dark { color: #52565a; }
.lobby-copy .eleve-credit--dark { color: #c4d8e3; }
.preview-bar a { color: var(--on-accent); }
.qa--main small { color: inherit; opacity: .85; }
.avatar--brand, .side-user .avatar { color: var(--on-accent); }
.text-late { color: var(--late-text); }
.text-warn { color: var(--warn-text); }
.btn--danger { color: var(--late-text); }
.sec-checks .is-ok { color: var(--ok-text); }
.sec-checks .is-bad { color: var(--late-text); }
.badge--client { color: #146c34; }
.step-n { background: transparent; border: 1px solid var(--line-2); }
.seg a, .seg a em, .seg a.is-active em { color: var(--ink-3); }
.side-user-name small { color: #8f8f8f; }
.welcome .link-btn { color: var(--accent-text); }
/* itens "feitos/resolvidos" ficam legíveis: nada de opacity no texto */
.note.is-done { opacity: 1; background: var(--bg); }
.note.is-done p { text-decoration: line-through; text-decoration-color: var(--line-2); }
.bank-table tr.is-done { opacity: 1; background: var(--bg); }
.game-badge { opacity: 1; filter: grayscale(1); }
.game-badge small { color: var(--muted); }
.game-badge.is-on { filter: none; }
.game-badge.is-on small { color: var(--ink); }
/* simulação do Instagram e páginas claras */
.apx-page { --ink: #0a0a0a; --ink-3: #262626; --muted: #5a5a5a; --accent-text: #0b6f73; --line: #e5e5e5; --line-2: #cfcfcf; --card: #fff; --bg: #f2f3f5; }
.ig-note { color: var(--muted); } .ig-note strong { color: var(--ink); }
.ig-nav { color: var(--muted); } .ig-nav a { color: var(--accent-text); }
.ig-empty { color: var(--muted); border-color: var(--line-2); }
.ig-hint { color: var(--muted); }
.apx-who .avatar { color: #e8eaed; }
.plx-when small { color: #9fb4c3; }
.sala-x { color: #f6a39b; } .sala-tip { color: #b4bac0; }
.auth-side { background-color: #05080b; }
[data-theme="dark"] .logo-plate em { color: #444; }
[data-theme="dark"] .stg, [data-theme="dark"] .stg--extra { color: #d4d4d0; }
[data-theme="dark"] .btn--danger, [data-theme="dark"] .text-late, [data-theme="dark"] .sec-checks .is-bad { color: #ff8f9c; }
[data-theme="dark"] .game-badge small { color: #b9b9b5; }
.dsh-profile .dsh-av { color: #2b0710; }
.lk-auth .eleve-credit--light, .pay-result .eleve-credit--light { color: #c9d6de; }
[data-theme="dark"] .side-user .avatar { color: #fff; }
[data-theme="dark"] .text-late { color: #ff8f9c !important; }
[data-theme="dark"] .seg a em, [data-theme="dark"] .seg a.is-active em { color: #b9b9b5; }
.side-user .avatar { background: var(--accent); color: var(--on-accent); }
[data-theme="dark"] .side-user .avatar { background: #2e2e2e; color: #f2f2ef; }
[data-theme="dark"] .seg a em, [data-theme="dark"] .seg a.is-active em { color: #b9b9b5 !important; }
.split-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(0deg, rgba(3, 9, 16, .9), transparent); z-index: 1; pointer-events: none; }

.split-center { display: flex; flex-direction: column; gap: clamp(20px, 4vh, 40px); max-width: 520px; }
.split-brand img { height: clamp(46px, 7vw, 84px); width: auto; max-width: 100%; display: block; }
.split-brand b { font-size: clamp(34px, 5vw, 60px); letter-spacing: .3em; }
.split-text h2 { font-size: clamp(30px, 4.4vw, 54px); }
.split-art::after { height: 40%; }
@media (max-width: 900px) { .split-center { flex-direction: row; align-items: center; gap: 18px; max-width: none; } .split-brand img { height: 40px; } .split-brand b { font-size: 26px; } .split-text h2 { font-size: clamp(20px, 5.4vw, 28px); margin: 4px 0 0; } .split-text .eyebrow { font-size: 11px; } }
@media (max-height: 640px) and (min-aspect-ratio: 5/4) { .split-center { gap: 14px; } .split-brand img { height: 36px; } .split-text h2 { font-size: clamp(18px, 3.4vw, 26px); } }

/* Dashboard: perfil + demandas fixos no topo, lado a lado e na mesma altura */
.dsh-top { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.dsh-top > * { min-width: 0; }
.dsh-top .dsh-hero { margin: 0; padding: 20px 26px; min-height: 0; height: 100%; box-sizing: border-box; }
.dsh-top .dsh-hero h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 4px; }
.dsh-top .dsh-hero p { margin: 0 0 10px; }
.dsh-top .dsh-hero-art { width: clamp(110px, 12vw, 150px); }
.dsh-top .dsh-card.dsh-profile { margin: 0; height: 100%; box-sizing: border-box; }
@container dshc (max-width: 860px) { .dsh-top { grid-template-columns: minmax(0, 1fr); } .dsh-top .dsh-hero-art { display: none; } }
.dash-stamp { margin: 0 0 8px; text-align: right; }

/* Vídeo: Reels ou vídeo normal + capa */
.vopts{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.vopts[hidden]{display:none}
.vopts-t{font-weight:700;font-size:.9rem;color:var(--ink)}
.vopts-r{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vopt{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer;background:var(--bg)}
.vopt input{margin-top:3px;accent-color:var(--accent)}
.vopt span{display:flex;flex-direction:column;gap:3px}
.vopt b{font-size:.92rem;color:var(--ink)}
.vopt small{font-size:.78rem;line-height:1.45;color:var(--muted)}
.vopt:has(input:checked){border-color:var(--accent-text);box-shadow:0 0 0 2px var(--accent)}
.vcover{display:grid;gap:10px}
.vcover img{width:96px;aspect-ratio:9/16;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
@media (max-width:640px){.vopts-r{grid-template-columns:1fr}}

/* v1.28: anexo e áudio nos ajustes */
.apx-att,.note-att{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0}
.apx-att button,.note-att button{padding:9px 14px;border-radius:999px;border:1px solid rgba(128,128,128,.4);background:transparent;color:inherit;font:inherit;cursor:pointer}
.apx-att button.is-rec,.note-att button.is-rec{background:#dc2626;color:#fff;border-color:#dc2626;animation:lkRec 1.2s infinite}
.apx-att audio,.note-att audio{max-width:100%;height:36px}
.att{margin-top:6px}.att audio{max-width:100%}
@keyframes lkRec{50%{opacity:.6}}

/* Logo do cliente: círculo perfeito, imagem centralizada, sem margem nem fundo branco */
.avatar.avatar--logo, .dsh-cav.avatar--logo, .ctop-who .avatar--sm.avatar--logo, .apx-who .avatar--sm.avatar--logo, .avatar--xl.avatar--logo, [data-theme="dark"] .avatar.avatar--logo {
	border-radius: 50% !important; padding: 0 !important; background: transparent !important; border: 0 !important; overflow: hidden; aspect-ratio: 1 / 1;
}
.avatar--logo img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center; border-radius: 50%; display: block; }

/* prévia ao subir arquivo e destaque da capa */
.upfile .up-prev{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block;margin-bottom:6px}
.drop.is-pulse{animation:lkPulse 1s 3;border-color:#fc5521}
@keyframes lkPulse{50%{box-shadow:0 0 0 6px rgba(252,85,33,.25)}}

/* Tarefas por prazo */
.tk-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 16px; }
.tk-filters .field--inline { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12px; }
.tk-filters select { min-width: 160px; }
.tk-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 14px; align-items: start; }
.tk-board--one { grid-auto-columns: minmax(280px, 640px); }
.tk-col { background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; min-height: 220px; }
.tk-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tk-head h3 { margin: 0; font-size: 14px; letter-spacing: .01em; }
.tk-col--atrasadas .tk-head { box-shadow: inset 0 3px 0 #e5484d; } .tk-col--hoje .tk-head { box-shadow: inset 0 3px 0 #fc5521; }
.tk-col--amanha .tk-head { box-shadow: inset 0 3px 0 #f5a524; } .tk-col--semana .tk-head { box-shadow: inset 0 3px 0 #2f7bff; } .tk-col--pendentes .tk-head { box-shadow: inset 0 3px 0 #8a8f98; } .tk-col--feitas .tk-head { box-shadow: inset 0 3px 0 #2ee59d; }
.tk-body { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 140px; flex: 1; transition: background .2s; }
.tk-body.is-over { background: rgba(47, 123, 255, .08); }
.tk-card { position: relative; cursor: pointer; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, opacity .3s; }
.tk-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4); }
.tk-card.is-drag { opacity: .45; } .tk-card.is-gone { opacity: 0; transform: scale(.96); }
.tk-card h4 { margin: 6px 0 8px; font-size: 14px; line-height: 1.3; padding-right: 26px; }
.tk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-client { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-done { position: absolute; right: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; opacity: 0; transition: opacity .2s, background .2s, color .2s; }
.tk-card:hover .tk-done { opacity: 1; } .tk-done:hover { background: #2ee59d; color: #021; border-color: #2ee59d; }
.tk-alter { border-left: 3px solid #f5a524; } .tk-post { border-left: 3px solid #2f7bff; }
.tk-empty { text-align: center; padding: 18px 6px; margin: 0; }
.dash-tk { text-decoration: none; color: inherit; }

/* chips por prazo (dashboard e foco) */
.tk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.tk-chip { flex: 1 1 110px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tk-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.tk-chip strong { font-size: 24px; line-height: 1; letter-spacing: -.02em; } .tk-chip span { font-size: 12px; color: var(--muted); }
.tk-chip--atrasadas:not(.is-zero) { border-color: #e5484d; } .tk-chip--atrasadas:not(.is-zero) strong { color: #e5484d; }
.tk-chip--hoje:not(.is-zero) { border-color: #fc5521; } .tk-chip--hoje:not(.is-zero) strong { color: #fc5521; }
.tk-chip.is-zero strong { opacity: .55; }
.focus-agg-col { margin-top: 14px; } .focus-agg-col h4 { margin: 0 0 6px; font-size: 14px; } .focus-agg-col h4 em { font-style: normal; color: var(--muted); font-size: 12px; }

/* recados rápidos de ausência no chat */
.hub-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.hub-quick button { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: inherit; font: inherit; font-size: 12px; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.hub-quick button:hover { transform: translateY(-1px); border-color: var(--accent, #14E9EC); }
.hub-quick .hub-quick-back { background: #2ee59d; color: #021; border-color: #2ee59d; font-weight: 700; }
.pres-note { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* winks do chat */
.hub-wink-box { position: absolute; bottom: 58px; left: 8px; right: 8px; z-index: 6; display: flex; gap: 8px; justify-content: space-around; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.hub-wink-box[hidden] { display: none; }
.hub-wink-box button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: transparent; font-size: 26px; cursor: pointer; padding: 6px 8px; border-radius: 10px; transition: transform .15s, background .15s; color: inherit; }
.hub-wink-box button:hover { transform: scale(1.12); background: var(--bg); }
.hub-wink-box small { font-size: 10px; color: var(--muted); }
.wink-btn { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; padding: 0; }
.wink-msg em { font-size: 11px; opacity: .7; font-style: normal; }
.lk-wink { position: fixed; inset: 0; z-index: 99999; pointer-events: none; overflow: hidden; }
.lk-wink-i { position: absolute; will-change: transform, opacity; }
.lk-wink-i--fall { top: -8vh; animation: lkFall linear forwards; }
.lk-wink-i--rise { bottom: -8vh; animation: lkRiseW ease-in forwards; }
.lk-wink-i--rocket { bottom: -12vh; animation: lkRocket cubic-bezier(.4, 0, .2, 1) forwards; }
.lk-wink-i--pop { transform: scale(0); animation: lkPop .9s ease-out forwards; }
@keyframes lkFall { to { transform: translateY(112vh) rotate(540deg); opacity: .9; } }
@keyframes lkRiseW { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-112vh) scale(1.2) rotate(20deg); opacity: 0; } }
@keyframes lkRocket { 0% { transform: translate(0, 0) rotate(45deg); } 100% { transform: translate(78vw, -116vh) rotate(45deg); } }
@keyframes lkPop { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 35% { transform: scale(1.5) rotate(10deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lk-wink-i { animation-duration: .01s !important; } }

.btn--danger-text { color: #e5484d; } .btn--danger-text:hover { background: rgba(229,72,77,.1); }

/* reunião: linha clicável e janela de detalhes */
li.meet.is-click { cursor: pointer; transition: background .15s, transform .15s; border-radius: 12px; }
li.meet.is-click:hover, li.meet.is-click:focus-visible { background: var(--bg); outline: none; }
.meet-go { margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted); }
.meet-detail h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.meet-when { margin: 0 0 14px; color: var(--muted); }
.meet-dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: 14px; }
.meet-dl dt { color: var(--muted); } .meet-dl dd { margin: 0; word-break: break-word; }
.meet-detail-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.meet-detail-acts .inline-form { display: inline; }

/* Fotos e arquivos do cliente */
.cf-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:14px 0}
.cf-drop{display:grid;gap:4px;place-items:center;text-align:center;padding:28px 18px;border:2px dashed var(--line);border-radius:16px;cursor:pointer;transition:border-color .2s,background .2s}
.cf-drop:hover,.cf-drop.is-over{border-color:var(--accent,#2f6bff);background:rgba(47,107,255,.06)}
.cf-up{display:grid;gap:8px;margin:14px 0}
.cf-file{padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:.88rem;display:grid;gap:6px}
.cf-file.is-done{border-color:rgba(46,160,90,.5)}
.cf-file.is-err{border-color:rgba(214,65,15,.6);color:#d6410f}
.cf-file .upbar{height:5px;border-radius:99px;background:var(--line);overflow:hidden}
.cf-file .upbar i{display:block;height:100%;width:0;background:var(--accent,#2f6bff)}
.cf-link{margin:20px 0;padding:16px;border-radius:14px;background:rgba(128,128,128,.08);display:grid;gap:10px}
.cf-folder{margin:22px 0 10px}
.cf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}
.cf-item{position:relative;display:grid;gap:3px;font-size:.78rem}
.cf-thumb{aspect-ratio:1;border-radius:12px;overflow:hidden;background:rgba(128,128,128,.14);display:grid;place-items:center;font-weight:700;color:var(--muted)}
.cf-thumb img{width:100%;height:100%;object-fit:cover}
.cf-item .inline-form{position:absolute;top:6px;right:6px}
.cf-done{margin-top:14px;color:#0f7a48;font-weight:600}
.cf-grid--pick{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
.cf-pick{cursor:pointer}
.cf-pick input{position:absolute;top:8px;left:8px;z-index:2;width:18px;height:18px}
.cf-pick:has(input:checked) .cf-thumb{outline:3px solid var(--accent,#2f6bff);outline-offset:-3px}
.cf-picker{margin:10px 0}
.cf-picker-body{margin-top:12px;display:grid;gap:12px}

/* Contratos por assunto: menu lateral da própria página */
.ctr-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.ctr-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px; position: sticky; top: 16px; }
.ctr-nav .side-label { margin: 10px 8px 4px; }
.ctr-nav .side-label:first-child { margin-top: 2px; }
.ctr-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 13.5px; }
.ctr-nav a:hover { background: var(--soft, rgba(127,127,127,.1)); }
.ctr-nav a.is-active { background: var(--accent-soft, rgba(127,127,127,.18)); font-weight: 700; }
.ctr-nav em { font-style: normal; font-size: 12px; opacity: .7; }
.ctr-types { border: 1px solid var(--line, rgba(127,127,127,.3)); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.ctr-types legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.ctr-types .check span { display: flex; flex-direction: column; }
.ctr-types .check small { opacity: .7; font-weight: 400; }
@media (max-width: 860px) {
	.ctr-layout { grid-template-columns: 1fr; }
	.ctr-nav { position: static; flex-direction: row; flex-wrap: wrap; }
	.ctr-nav .side-label { width: 100%; }
}

/* Tags de serviço ativo + pagamento */
.svc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -4px 0 4px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 5px; }
.svc-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.6; background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); white-space: nowrap; }
.svc-tag b { font-weight: 700; }
.svc-tag--ok { background: var(--ok-soft); border-color: #c9ecca; color: var(--ok-text); }
.svc-tag--wait { background: var(--warn-soft); border-color: #f3dfa8; color: var(--warn-text); }
.svc-tag--late { background: var(--late-soft); border-color: #f3c7c7; color: var(--late-text); }
.table-row .svc-tags { margin-top: 6px; }

/* Modo gerenciamento: esconde o que é de vincular/postar */
.modo-gestao .config-nav a[href="#redes"], .modo-gestao section#redes, .modo-gestao .nets-pick, .modo-gestao [data-lk-social] { display: none !important; }
.card--mlabs { border-color: var(--accent); }
.mlabs-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }

/* ===== Ficha do cliente: cabeçalho e abas ===== */
.avatar--xl { width: 72px; height: 72px; font-size: 24px; border-radius: 20px; }
.avatar--xl.avatar--logo img { border-radius: 20px; }
.chead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; background: linear-gradient(135deg, var(--card) 0%, var(--accent-soft) 160%); }
.chead-main { flex: 1; min-width: 220px; }
.chead-main h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
.chead-main p { margin: 0; font-size: 13.5px; }
.chead-act { display: flex; gap: 8px; flex-wrap: wrap; }
.ctabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); scrollbar-width: none; position: sticky; top: 72px; z-index: 15; }
.ctabs::-webkit-scrollbar { display: none; }
.ctab-btn { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.ctab-btn:hover { background: var(--bg); color: var(--ink); }
.ctab-btn.is-active { background: var(--ink); color: var(--on-ink); }
.ctab-btn .ic { opacity: .85; }
.ctab-n { font-style: normal; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg); color: var(--ink-3); font-size: 11.5px; font-weight: 700; text-align: center; line-height: 20px; }
.ctab-btn.is-active .ctab-n { background: var(--accent); color: var(--on-accent); }
.ctab-n--warn { background: var(--late-soft); color: var(--late-text); }
.ctab-panel { display: flex; flex-direction: column; gap: 16px; }
.ctab-panel[hidden] { display: none; }
.ov-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ov-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.ov-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.ov-card strong { font-size: 24px; letter-spacing: -.02em; }
.ov-t { font-size: 12.5px; color: var(--muted); }
.ov-ic { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.ov-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform { gap: 16px; }
@media (max-width: 860px) { .ov-grid { grid-template-columns: repeat(2, 1fr); } .ov-cols { grid-template-columns: 1fr; } .ctabs { top: 60px; } }

/* ===== Polimento geral ===== */
.card { border-radius: 18px; transition: box-shadow .2s var(--ease); }
.card-head h3 { font-weight: 700; letter-spacing: -.01em; }
.stat { border-radius: 18px; }
.stat strong { letter-spacing: -.035em; }
.btn { transition: transform .15s var(--ease), background .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { box-shadow: 0 6px 16px -8px rgba(10,10,10,.45); }
.table-row:not(.table-head):hover { background: var(--accent-soft); }
.pay-row:last-child { border-bottom: 0; }
.side-nav a { border-radius: 12px; }

/* Modo sem postar/vincular */
.manage-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--warn-soft, #fff6e0); border: 1px solid #f3dfa8; color: var(--warn-text, #7a4f00); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.manage-pill:hover { background: #ffefc2; }

/* ==========================================================
   v1.39 · formato com ícone e cor, assistente do post, triagem,
   agenda por pessoa, semana e dia de gravação sem login
   ========================================================== */

/* Formato do conteúdo */
.fmt-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--ink); background: color-mix(in srgb, var(--fc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--fc) 45%, transparent); white-space: nowrap; }
.fmt-ic { display: inline-block; margin-right: 3px; font-size: 12px; }
.fmt-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.plan-item { border-left: 4px solid var(--fc, var(--line)); }
.row-thumb--ph { display: grid; place-items: center; font-size: 15px; }

/* Assistente do post (post novo) */
.pw-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 6px; padding: 0; counter-reset: pw; }
.pw-steps li { flex: 1; counter-increment: pw; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.pw-steps li::before { content: counter(pw); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 11px; flex: none; }
.pw-steps li.is-now { color: var(--ink); border-color: var(--ink); }
.pw-steps li.is-now::before { background: var(--ink); color: var(--card); }
.pw-steps li.is-done::before { content: '✓'; background: var(--ok); color: #fff; }
form.is-wizard .pw-step[hidden] { display: none !important; }
form.post-form .pw-step { display: flex; flex-direction: column; gap: 14px; }
form.is-wizard .pw-step { min-height: 220px; }
.fmt-pick-t { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.fmt-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fmt-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.fmt-tile span { font-size: 24px; line-height: 1; }
.fmt-tile b { font-size: 12px; }
.fmt-tile:hover { transform: translateY(-2px); border-color: var(--fc); }
.fmt-tile.is-on { border-color: var(--fc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc) 25%, transparent); background: color-mix(in srgb, var(--fc) 8%, var(--card)); }
form.post-form .fmt-pick .field { display: none; }
.time-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chips button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.time-chips button.is-on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.vid-block { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, #EF4444 6%, var(--card)); border: 1px solid color-mix(in srgb, #EF4444 25%, transparent); }
.vid-h { margin: 4px 0 -4px; font-size: 14px; }
.rec-pick summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.rec-pick[open] summary { margin-bottom: 10px; }
@media (max-width: 640px) {
	.fmt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pw-steps li { font-size: 0; gap: 0; justify-content: center; }
	.pw-steps li::before { font-size: 11px; }
}

/* Triagem dos pedidos do cliente */
.sec-title { font-size: 16px; margin: 18px 0 6px; display: flex; align-items: center; gap: 8px; }
.count-pill { font-size: 12px; background: var(--warn, #f59e0b); color: #fff; border-radius: 999px; padding: 2px 9px; }
.req-card { border-left: 4px solid var(--warn, #f59e0b); }
.req-show { align-self: end; padding-bottom: 10px; }
.plan-note--ins { background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.plan-changes-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.plan-changes-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.plan-changes-list .ins { color: var(--ok); font-weight: 600; }
.filter-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* Dashboard: tudo clicável */
.dsh-keys a { display: contents; color: inherit; text-decoration: none; }
.dsh-keys li { cursor: pointer; border-radius: 8px; }
.dsh-keys li:hover { background: var(--bg); }
a.dsh-goal, a.stat, a.dsh-prog, .dsh-hero-link { display: block; color: inherit; text-decoration: none; }
a.dsh-goal:hover, a.stat:hover { opacity: .85; }
.dsh-card-head h3 a { color: inherit; text-decoration: none; }
.dsh-card-head h3 a:hover { text-decoration: underline; }
a.dsh-stat { cursor: pointer; }

/* Configurações: mapa do fluxo */
.flow-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.flow-col { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.flow-col h4 { margin: 0; font-size: 14px; }
@media (max-width: 900px) { .flow-map { grid-template-columns: 1fr; } }

/* Agenda por pessoa */
.ag-day { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ag-day:first-child { border-top: 0; }
.ag-date { text-align: center; }
.ag-date b { display: block; font-size: 26px; line-height: 1; }
.ag-date small { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.ag-day.is-today .ag-date b { color: var(--ok); }
.ag-list { margin: 0; }
.meet--rec { border-left: 3px solid #EF4444; }

/* Semana sem login e dia de gravação (tablet) */
.wk-list { display: grid; gap: 10px; }
.wk-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #e7e7e3; border-left: 5px solid var(--c, #14E9EC); text-decoration: none; color: #0a0a0a; }
.wk-item--arte { --c: #3B82F6; } .wk-item--carrossel { --c: #F59E0B; } .wk-item--reels { --c: #EF4444; } .wk-item--foto { --c: #10B981; } .wk-item--story { --c: #A855F7; }
.wk-thumb { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: #f3f3f0; display: grid; place-items: center; font-size: 24px; }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wk-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wk-txt small { color: #737373; font-size: 12px; }
.wk-txt strong { font-size: 15px; }
.wk-txt .apx-status { align-self: flex-start; margin-top: 2px; }
.wk-go { font-size: 26px; color: #a3a3a3; padding: 0 6px; }
.rec-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; margin-top: 12px; border-radius: 18px; background: #fff; border: 1px solid #e7e7e3; transition: background .2s, border-color .2s; }
.rec-card.is-done { background: #f0fdf4; border-color: #86efac; }
.rec-check { position: relative; width: 56px; height: 56px; }
.rec-check input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rec-check span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #d4d4d4; font-size: 26px; font-weight: 800; color: transparent; transition: all .2s; }
.rec-check input:checked + span { background: #16a34a; border-color: #16a34a; color: #fff; transform: scale(1.05); }
.rec-body small { color: #737373; font-size: 12px; }
.rec-body h2 { margin: 2px 0 8px; font-size: 18px; }
.rec-body textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.6; padding: 12px; border-radius: 12px; border: 1px solid #e7e7e3; background: #fafaf8; resize: vertical; }
.rec-saved { font-style: normal; font-size: 12px; color: #16a34a; }
@media (max-width: 520px) { .rec-card { grid-template-columns: 1fr; } .wk-item { grid-template-columns: 52px minmax(0, 1fr) auto; } .wk-thumb { width: 52px; height: 65px; } }

/* ==========================================================
   v1.40 · Identidade LDK em vidro azul (tema "Azul", o padrão)
   + menu azul no tema "Branco" + dashboard em quadro + ficha do cliente em blocos
   ========================================================== */

/* ---------- Tema Azul (vidro) ---------- */
[data-theme="dark"] {
	--ink: #eaf4fb;
	--ink-2: #dbe9f3;
	--ink-3: #c6d8e5;
	--bg: #03101c;
	--card: rgba(255,255,255,.065);
	--card-solid: #0a1d2e;
	--line: rgba(255,255,255,.12);
	--line-2: rgba(255,255,255,.2);
	--muted: #a3bccd;
	--muted-2: #8aa5b8;
	--accent: #14E9EC;
	--on-accent: #03222a;
	--accent-text: #5ff3f5;
	--accent-soft: rgba(20,233,236,.12);
	--ok-text: #7cf0c0;
	--warn-text: #ffc77d;
	--late-text: #ff9a9a;
	--ok-soft: rgba(46,229,157,.14);
	--warn-soft: rgba(255,176,72,.14);
	--late-soft: rgba(255,93,93,.14);
	--shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -18px rgba(0,0,0,.7);
}
[data-theme="dark"] body.lk {
	background:
		radial-gradient(900px 520px at 88% -8%, rgba(42,140,255,.30), transparent 62%),
		radial-gradient(760px 480px at 6% 108%, rgba(20,233,236,.16), transparent 62%),
		linear-gradient(160deg, #061c31 0%, #03101c 55%, #02060b 100%) fixed;
	background-color: #03101c;
}
[data-theme="dark"] .card, [data-theme="dark"] .stat, [data-theme="dark"] .kpi, [data-theme="dark"] .dsh-card,
[data-theme="dark"] .ov-card, [data-theme="dark"] .table, [data-theme="dark"] .kcol {
	background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
	border-color: rgba(255,255,255,.14);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}
[data-theme="dark"] .side {
	background: rgba(4,18,31,.72);
	border-right: 1px solid var(--line);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	color: #c6d8e5;
}
[data-theme="dark"] .side-nav a { color: #b9cfdd; }
[data-theme="dark"] .side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
[data-theme="dark"] .side-nav a.is-active { background: linear-gradient(90deg, rgba(20,233,236,.2), rgba(42,140,255,.1)); color: #fff; }
[data-theme="dark"] .side .side-label { color: #8aa5b8; }
[data-theme="dark"] .side-user, [data-theme="dark"] .side-tools { border-top-color: var(--line); }
[data-theme="dark"] .side-tools .money-btn, [data-theme="dark"] .side-tools .theme-btn { border-color: var(--line); color: #c6d8e5; }
[data-theme="dark"] .side-tools .money-btn:hover, [data-theme="dark"] .side-tools .theme-btn:hover { background: rgba(255,255,255,.06); }
[data-theme="dark"] .top { background: rgba(3,16,28,.72); border-bottom-color: var(--line); }
[data-theme="dark"] .ctop, [data-theme="dark"] .toast { background: rgba(4,18,31,.92); }

/* Botão principal em ciano (texto escuro: contraste alto). */
[data-theme="dark"] .btn--primary, [data-theme="dark"] .btn--dark { background: #14E9EC; color: #03222a; border-color: #14E9EC; }
[data-theme="dark"] .btn--primary:hover, [data-theme="dark"] .btn--dark:hover { background: #5ff3f5; border-color: #5ff3f5; }
[data-theme="dark"] .btn--ghost { color: var(--ink); background: rgba(255,255,255,.04); }
[data-theme="dark"] .btn--ghost:hover { border-color: #14E9EC; }
[data-theme="dark"] .chip input:checked + span, [data-theme="dark"] .flow-step.is-current { background: #14E9EC; color: #03222a; border-color: #14E9EC; }
[data-theme="dark"] .avatar { background: rgba(20,233,236,.18); color: #eaf4fb; }

/* Superfícies que precisam ser opacas (janelas, menus, cabeçalhos fixos). */
[data-theme="dark"] .modal, [data-theme="dark"] .modal-box, [data-theme="dark"] .search-box, [data-theme="dark"] .sheet-box,
[data-theme="dark"] .modal-head, [data-theme="dark"] .form-actions--sticky { background: var(--card-solid); color: var(--ink); }
[data-theme="dark"] .modal { border: 1px solid var(--line); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea,
[data-theme="dark"] .copy-row input, [data-theme="dark"] .comment-box textarea, [data-theme="dark"] .notes-area,
[data-theme="dark"] .focus-filter { background: rgba(2,12,22,.55); border-color: var(--line-2); color: var(--ink); }
[data-theme="dark"] .field select option { background: var(--card-solid); color: var(--ink); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { border-color: #14E9EC; box-shadow: 0 0 0 3px rgba(20,233,236,.18); }
[data-theme="dark"] .table-head, [data-theme="dark"] a.table-row:hover, [data-theme="dark"] .table-row[data-open]:hover,
[data-theme="dark"] .check-item:hover { background: rgba(255,255,255,.05); }
[data-theme="dark"] .add-box, [data-theme="dark"] .plan-edit { background: rgba(255,255,255,.03); }
[data-theme="dark"] .progress, [data-theme="dark"] .renew-bar { background: rgba(255,255,255,.12); }
[data-theme="dark"] .badge { background: rgba(255,255,255,.08); border-color: var(--line); color: var(--ink-3); }
[data-theme="dark"] .plan-step { background: rgba(255,255,255,.05); color: var(--muted); }
[data-theme="dark"] .card .wa-thread { background: rgba(255,255,255,.04); }

/* ---------- Tema Branco: menu e topo com a cor da LDK ---------- */
:root:not([data-theme="dark"]) .side {
	background: linear-gradient(170deg, #062038 0%, #041424 60%, #02090f 100%);
	color: #c6d8e5;
}
:root:not([data-theme="dark"]) .side-nav a { color: #b9cfdd; }
:root:not([data-theme="dark"]) .side-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
:root:not([data-theme="dark"]) .side-nav a.is-active { background: linear-gradient(90deg, rgba(20,233,236,.22), rgba(42,140,255,.12)); color: #fff; }
:root:not([data-theme="dark"]) .side .side-label { color: #8aa5b8; }
:root:not([data-theme="dark"]) .side-user, :root:not([data-theme="dark"]) .side-tools { border-top-color: rgba(255,255,255,.12); }

/* ---------- Dashboard em quadro ---------- */
.dsh-board { align-items: stretch; gap: 16px; }
.dw > .card, .dw > .dsh-card { height: 100%; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), border-color .2s; }
.kpi:hover { transform: translateY(-2px); border-color: var(--line-2); }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font: 600 28px/1.15 var(--head); letter-spacing: -.02em; }
.kpi small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi.is-alert strong { color: var(--late-text); }
.stage-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.stage-strip a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
[data-theme="dark"] .stage-strip a { background: rgba(255,255,255,.05); }
.stage-strip a:hover { border-color: var(--accent); }
.stage-strip span { font-size: 12.5px; color: var(--muted); }
.stage-strip b { font: 600 20px/1.2 var(--head); }
.dsh-month { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--muted); font-size: 12.5px; min-width: 200px; }
.dsh-month b { color: var(--ink); }
.dsh-month i { width: 120px; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.dsh-month i b { display: block; height: 100%; background: linear-gradient(90deg, #2a8cff, #14E9EC); }
.dw .card-head { margin-bottom: 12px; }
.dw .card-head h3 { font-size: 15px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 3 cartões por linha até o quadro ficar estreito; depois 2; no celular, 1. */
@container dshc (max-width: 1040px) { .dsh-board .dw--s { grid-column: span var(--w, 6); } }
@container dshc (max-width: 820px) { .dsh-board .dw--s { grid-column: span 6; } }
@container dshc (max-width: 700px) { .dsh-board .dw { grid-column: 1 / -1; } }
@media (max-width: 520px) { .kpis { gap: 10px; } .kpi { padding: 14px; } .kpi strong { font-size: 24px; } .dsh-month i { display: none; } }

/* ---------- Ficha do cliente: blocos com "Editar" (pop-up) ---------- */
.dados-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.dados-card { margin: 0; }
.dados-logo { margin: -4px 0 12px; }
.dados-dl { display: grid; gap: 10px; margin: 0; }
.dados-dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
.dados-dl dt { font-size: 12.5px; color: var(--muted); }
.dados-dl dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.modal .stack { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 520px) { .dados-dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Considerações pós-reunião ---------- */
.consid-card .card-head .muted { flex: 1; }
.consid-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.consid { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.consid:first-child { border-top: 0; padding-top: 0; }
.consid-txt { flex: 1; min-width: 0; font-size: 14px; line-height: 1.55; }
.consid-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.consid-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; justify-content: flex-end; }
.consid.is-used .consid-txt { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.consid-acts .btn.is-on { border-color: var(--ok-text); color: var(--ok-text); }
.chips-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips-field legend { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.chips-field .chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) { .consid { flex-direction: column; } .consid-acts { justify-content: flex-start; } }

/* Botões das janelas: sempre afastados do último campo, com uma linha separando. */
.modal .form-actions { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal .stack > .form-actions { margin-top: 8px; }

/* Contraste (robô de contraste, 11/10): nada de texto desbotado por opacidade; cores de texto com 4,5:1. */
.due--late { color: var(--late-text); }
.plan-item.is-past, .plx-post.is-ok, .cal-day.is-past { opacity: 1; }
.plan-item.is-past { background: var(--bg); }
.cal-day.is-out { opacity: 1; background: transparent; }
.cal-day.is-out .cal-add { color: var(--muted); }
.cal-add { color: var(--ink-3); }
.plan-acts .btn--link { color: var(--ink-3); }
.plan-top .badge--ok { color: var(--ok-text); }
.stg--design { color: #8f1d74; }
.time-chips button.is-on { color: var(--on-ink); }
.ctr-nav .side-label, .ctr-nav .side-label small { color: var(--muted); }
[data-theme="dark"] .stg--design { color: #ffb3ec; }
[data-theme="dark"] .btn.btn--primary, [data-theme="dark"] .inline-form .btn--primary { color: #03222a; }

/* ---------- v1.41 · Resultados da Meta ---------- */
.res-bar { display: flex; flex-direction: column; gap: 16px; }
.res-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.res-filter .field { min-width: 220px; }
.res-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.res-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 14px var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.res-tab:hover { border-color: var(--accent); }
.res-tab.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
[data-theme="dark"] .res-tab.is-on { background: #14E9EC; color: #03222a; border-color: #14E9EC; }
.res-tabs [data-res-fresh] { margin-left: auto; }
.res-body { display: flex; flex-direction: column; gap: 22px; min-height: 120px; }
.res-head { display: flex; align-items: center; gap: 14px; }
.res-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); }
.res-head b { display: block; font-size: 17px; }
.res-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.res-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
[data-theme="dark"] .res-kpi { background: rgba(255,255,255,.05); }
.res-kpi span { font-size: 12.5px; color: var(--muted); }
.res-kpi strong { font: 600 26px/1.15 var(--head); letter-spacing: -.02em; }
.res-kpi em { font-style: normal; font-size: 12.5px; font-weight: 600; }
.res-kpi em.up { color: var(--ok-text); } .res-kpi em.down { color: var(--late-text); }
.res-kpi em small, .res-kpi > small { font-weight: 400; color: var(--muted); font-size: 12px; }
.res-sub { margin: 4px 0 0; font-size: 16px; } .res-sub small { font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.res-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.res-post { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); transition: transform .25s var(--ease), border-color .25s; }
.res-post:hover { transform: translateY(-3px); border-color: var(--accent); }
.res-post .im { position: relative; aspect-ratio: 4 / 5; background: var(--bg); overflow: hidden; }
.res-post .im img { width: 100%; height: 100%; object-fit: cover; }
.res-post .im em { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font: 600 11px var(--font); }
.res-post .tx { padding: 10px 12px 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.res-post .nums { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 12px 12px; font-size: 12px; color: var(--muted); }
.res-post .nums b { font-weight: 600; }
.res-wallet { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.res-wallet span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.res-wallet b { font-size: 14px; } .res-wallet small { color: var(--muted); } .res-wallet strong { font-size: 17px; }
.res-adpick .inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.res-adpick .field { min-width: min(100%, 420px); }
.res-empty { padding: 26px; border-radius: var(--radius); border: 1px dashed var(--line-2); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.res-empty p { margin: 0; }
.res-stamp { margin: 14px 0 0; }
.res-table .table-row { grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)); }
.pub-card .mini-list li { flex-wrap: wrap; }
@media (max-width: 640px) { .res-tabs [data-res-fresh] { margin-left: 0; } .res-kpi strong { font-size: 22px; } }

/* 1.42.0 · contraste no tema escuro: janelas, menus e chat opacos; rostos legíveis */
[data-theme="dark"] .hub-win, [data-theme="dark"] .hub-rail, [data-theme="dark"] .hub-form, [data-theme="dark"] .hub-form textarea,
[data-theme="dark"] .nbell-drop, [data-theme="dark"] .menu-pop, [data-theme="dark"] .hub-emo-box, [data-theme="dark"] .hub-wink-box,
[data-theme="dark"] .season-menu, [data-theme="dark"] .fb-pop, [data-theme="dark"] .fb-bar, [data-theme="dark"] .mention-box { background: var(--card-solid); color: var(--ink); }
[data-theme="dark"] .hub-av, [data-theme="dark"] .hub-fab { background: #14E9EC; color: #03222a; }
[data-theme="dark"] .hub-av--hash { background: #123a4c; color: #eaf4fb; }
[data-theme="dark"] .hub .dot { box-shadow: 0 0 0 2px var(--card-solid); }
.hub-rail[hidden] { display: none; }
.hub-ic.is-on { color: var(--ink); background: var(--accent-soft); }

/* @menção */
.mention-box { position: fixed; z-index: 10050; display: flex; flex-direction: column; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.mention-box[hidden] { display: none; }
.mention-box button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 600 14px var(--font); text-align: left; cursor: pointer; }
.mention-box button.is-on, .mention-box button:hover { background: var(--accent-soft, rgba(20,233,236,.14)); }
.mention-box b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #14E9EC; color: #03222a; font-size: 12px; }

/* Tela do post: texto à esquerda (principal), arte/apontamentos/conversa à direita */
.split--post { grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); }
.split--post .post-form { display: flex; flex-direction: column; gap: 14px; }
.split--post .post-form > [data-pw="3"] { order: 1; }
.split--post .post-form > [data-pw="2"] { order: 2; }
.split--post .post-form > [data-pw="1"] { order: 3; }
.split--post .post-form > [data-pw="4"] { order: 4; }
.split--post .post-form > .form-actions { order: 5; }
.split--post .post-form [name="idea"], .split--post .post-form [name="caption"] { min-height: 170px; }
.split--post .post-form [name="idea"] { font-size: 15px; }
@media (max-width: 1100px) { .split--post { grid-template-columns: minmax(0, 1fr); } }

/* Relatório de tráfego (print da Meta) */
.tr-up { display: grid; gap: 14px; }
.tr-drop { display: flex; align-items: center; gap: 12px; padding: 18px; border: 2px dashed var(--line-2); border-radius: 14px; cursor: pointer; }
.tr-drop small { display: block; color: var(--muted); }
.tr-prev { max-width: 100%; max-height: 260px; border-radius: 10px; border: 1px solid var(--line); }
.tr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tr-table th, .tr-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.tr-table th:first-child, .tr-table td:first-child { text-align: left; }
.tr-table input { width: 100%; min-width: 70px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: inherit; }

/* Imagens coladas na ideia */
.idea-imgs { display: flex; flex-wrap: wrap; gap: 10px; }
.idea-imgs img { display: block; max-width: 180px; max-height: 140px; border-radius: 10px; border: 1px solid var(--line-2); }
.idea-imgs--edit:empty { display: none; }
.idea-imgs--edit figure { position: relative; margin: 0; }
.idea-imgs--edit button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #e11d48; color: #fff; font: 700 15px/24px var(--font); cursor: pointer; }
.pl-idea-imgs { margin-top: 12px; }
.rec-vids { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.rec-vids [hidden] { display: none !important; }

/* Barrinhas de pacote no tema escuro: barra "completo" clara deixava o texto branco ilegível */
[data-theme="dark"] .quota { background: rgba(2,12,22,.7); border-color: var(--line-2); color: #eaf4fb; }
[data-theme="dark"] .quota b { color: #eaf4fb; }
[data-theme="dark"] .quota i { background: rgba(46,229,157,.28); }
[data-theme="dark"] .quota--full i { background: rgba(20,233,236,.38); }
[data-theme="dark"] .quota--over { border-color: rgba(255,93,93,.55); }
[data-theme="dark"] .quota--over i { background: rgba(255,93,93,.28); }
[data-theme="dark"] .quota--over b { color: #ffb4b4; }

/* Roteiros em quadrados */
.rot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 8px 0 6px; }
.rot-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; aspect-ratio: 1 / 1; min-height: 170px; padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .15s var(--ease, ease), border-color .15s; }
.rot-tile:hover, .rot-tile:focus-visible { transform: translateY(-3px); border-color: #14E9EC; }
.rot-tile .badge { align-self: flex-start; }
.rot-tile strong { font-size: 16px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.rot-tile small { color: var(--muted); }
.rot-tile em { font-style: normal; font-size: 13px; color: var(--muted); }
[data-theme="dark"] .rot-tile { background: var(--card-solid); }

/* Tema escuro: fundo "ink" (claro) com texto "card" (transparente) ficava invisível */
[data-theme="dark"] .fbl-tabs a.is-on, [data-theme="dark"] .cmd-you, [data-theme="dark"] .csteps li.is-done span,
[data-theme="dark"] .csteps li.is-now, [data-theme="dark"] .hub-send, [data-theme="dark"] .pw-steps li.is-now::before,
[data-theme="dark"] .time-chips button.is-on { background: #14E9EC; color: #03222a; border-color: #14E9EC; }
[data-theme="dark"] .flash a.btn--primary, [data-theme="dark"] .flash a.btn--primary:hover { color: #03222a; }

/* Pacotes */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 14px 0; }
.pkg-price strong { font-size: 26px; letter-spacing: -.02em; } .pkg-price small { color: var(--muted); }
.pkg-table select, .pkg-table input { width: 100%; min-width: 90px; }
.pkg-table th, .pkg-table td { text-align: left; }

/* Área do cliente no tema escuro: avisos e selos que eram brancos fixos */
[data-theme="dark"] .apx-msg { background: rgba(20,233,236,.1); border-color: rgba(20,233,236,.35); color: var(--ink); }
[data-theme="dark"] .apx-net { background: rgba(255,255,255,.06); border-color: var(--line-2); color: var(--ink); }
.plan-cta--soft small { color: var(--muted); }

/* Páginas públicas claras (aprovação, contrato): logo branca da LDK em placa escura e logo "eleve" escurecida */
.apx-top > img { box-sizing: border-box; height: 44px; padding: 8px 14px; border-radius: 12px; background: #05080B; }
.apx-page .eleve-credit--dark img, .ctr-page .eleve-credit--dark img { filter: invert(1) brightness(.35); }
.ctr-top > img { box-sizing: border-box; height: 46px; padding: 8px 14px; border-radius: 12px; background: #05080B; }
.ldkp-savepkg { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }

/* Equipe na reunião: nomes clicáveis */
.team-pick { border: 0; padding: 0; margin: 4px 0; }
.team-pick legend { margin-bottom: 8px; color: var(--muted); }
.team-pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.team-chip { position: relative; cursor: pointer; }
.team-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.team-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s; }
.team-chip b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 11px; }
.team-chip:hover span { border-color: #14E9EC; }
.team-chip input:checked + span { background: #14E9EC; border-color: #14E9EC; color: #03222a; }
.team-chip input:checked + span b { background: #03222a; color: #14E9EC; }
.team-chip input:focus-visible + span { outline: 3px solid #14E9EC; outline-offset: 2px; }
.team-pick-act { display: flex; gap: 12px; margin-top: 6px; }


/* v1.45.4 · cores dos status do planejamento */
.badge--plan-nao, .stg--pl-nao { background: rgba(239,68,68,.16); color: #b91c1c; border-color: rgba(239,68,68,.45); }
.badge--plan-rascunho, .stg--pl-rascunho { background: rgba(249,115,22,.16); color: #c2410c; border-color: rgba(249,115,22,.45); }
.badge--plan-revisao, .stg--pl-revisao { background: rgba(250,204,21,.2); color: #854d0e; border-color: rgba(250,204,21,.6); }
.badge--plan-pronto, .stg--pl-pronto { background: rgba(14,165,233,.16); color: #0369a1; border-color: rgba(14,165,233,.45); }
.badge--plan-enviado, .stg--pl-enviado { background: rgba(99,102,241,.16); color: #4338ca; border-color: rgba(99,102,241,.45); }
.badge--plan-ajustes, .stg--pl-ajustes { background: rgba(236,72,153,.16); color: #be185d; border-color: rgba(236,72,153,.45); }
.badge--plan-aprovado, .stg--pl-aprovado { background: rgba(34,197,94,.18); color: #15803d; border-color: rgba(34,197,94,.5); }
[data-theme="dark"] .badge--plan-nao, [data-theme="dark"] .stg--pl-nao { color: #fca5a5; }
[data-theme="dark"] .badge--plan-rascunho, [data-theme="dark"] .stg--pl-rascunho { color: #fdba74; }
[data-theme="dark"] .badge--plan-revisao, [data-theme="dark"] .stg--pl-revisao { color: #fde047; }
[data-theme="dark"] .badge--plan-pronto, [data-theme="dark"] .stg--pl-pronto { color: #7dd3fc; }
[data-theme="dark"] .badge--plan-enviado, [data-theme="dark"] .stg--pl-enviado { color: #a5b4fc; }
[data-theme="dark"] .badge--plan-ajustes, [data-theme="dark"] .stg--pl-ajustes { color: #f9a8d4; }
[data-theme="dark"] .badge--plan-aprovado, [data-theme="dark"] .stg--pl-aprovado { color: #86efac; }
.idea-links a, .pl-idea a { color: inherit; text-decoration: underline; word-break: break-all; }

/* v1.46 · painel enxuto do designer/videomaker */
.stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.stat { text-decoration: none; color: inherit; }
@media (max-width: 900px) { .stats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tk-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.wk { margin-bottom: 22px; }
.wk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.wk-head h3 { margin: 0; }
.wk-sum { display: flex; gap: 8px; flex-wrap: wrap; }
.wk-sum span { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: rgba(128,128,128,.14); }
.wk-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 4px; border-top: 1px solid var(--line, rgba(128,128,128,.25)); text-decoration: none; color: inherit; }
.wk-row:first-of-type { border-top: 0; }
.wk-row b { font-size: 13px; }
.wk-row small { display: block; color: var(--muted, #888); font-size: 12px; }
.wk-row.is-late b { color: #ef4444; }
.post-top { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.6fr) auto; gap: 20px; align-items: center; border-left: 4px solid var(--fc, #14E9EC); }
.post-top-client { display: flex; align-items: center; gap: 14px; min-width: 0; }
.post-top-client .avatar--lg { width: 64px; height: 64px; font-size: 1.2rem; flex: none; }
.post-top-client .avatar--lg img { width: 100%; height: 100%; object-fit: contain; }
.post-top-name { display: block; font-size: 1.05rem; line-height: 1.2; }
.post-top-title h1 { margin: 2px 0; font-size: 1.4rem; line-height: 1.2; }
.post-top-type { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.post-fmt { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 2px solid var(--fc, #14E9EC); background: color-mix(in srgb, var(--fc, #14E9EC) 16%, transparent); }
.post-fmt i { font-style: normal; font-size: 1.6rem; }
.post-fmt b { font-size: 1.05rem; letter-spacing: .02em; }
@media (max-width: 900px) { .post-top { grid-template-columns: 1fr; } .post-top-type { min-width: 0; } }

/* v1.48 · página pública de fotos: contraste no fundo escuro */
body.ap-page .cf{background:#0d1217;border:1px solid #2a343c;color:#eef2f5}
body.ap-page .cf .muted,body.ap-page .cf small{color:#b4bec6}
body.ap-page .cf .field>span{color:#eef2f5;font-weight:600}
body.ap-page .cf select,body.ap-page .cf input[type=text]{background:#141a20;color:#eef2f5;border:1px solid #4a5963}
body.ap-page .cf input::placeholder{color:#8e9aa3}
body.ap-page .cf-drop{border-color:#7f8f9a;background:#141a20;color:#eef2f5}
body.ap-page .cf-drop:hover,body.ap-page .cf-drop.is-over{border-color:#14e9ec;background:#10242a}
body.ap-page .cf-file{border-color:#4a5963;color:#eef2f5}
body.ap-page .cf-file.is-err{color:#ff8a66}
body.ap-page .cf-done{color:#4ade80}
.cf-pick-btn{margin:10px 0 0}
.cal-head .icon-btn.is-over{outline:2px solid var(--accent,#2f6bff);background:rgba(47,107,255,.18)}

/* 1.49.0 · Roteiros por cliente e mês + sugestões de stories */
.rot-client-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 30px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.rot-client-head .section-title { margin: 0; }
.rot-day { margin: 16px 0 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.rot-stories { margin: 14px 0 6px; }
.rot-stories textarea { min-height: 150px; }

/* 1.49.4 · Planejamento interno: ideia, briefing e legenda em cada post */
.plan-texts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.plan-txt span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-txt p { margin: 0; font-size: 13.5px; line-height: 1.55; max-height: 9.3em; overflow-y: auto; overscroll-behavior: contain; word-break: break-word; }
.plan-txt .plan-caption { max-height: 9.3em; }
@media (max-width: 1100px) { .plan-texts { grid-template-columns: 1fr; } .plan-txt p, .plan-txt .plan-caption { max-height: 7.8em; } }

/* 1.49.5 · Stories na área do cliente */
.cstories ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.cstories li { line-height: 1.55; word-break: break-word; }

/* 1.50.0 · Calendário de stories (Conteúdo → Stories, equipe e cliente) */
.seg--tipo { margin-right: 4px; }
.cmain .seg--tipo { margin: 0 0 14px; }
.cal-story { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 5px 6px; border: 0; border-left: 3px solid #c13584; border-radius: 7px; background: var(--card); color: var(--ink); font: inherit; font-size: 12px; line-height: 1.3; text-align: left; cursor: pointer; }
.cal-story:hover { filter: brightness(1.06); }
.cal-story small { color: var(--muted); font-size: 10.5px; }
.cal-story.is-done { opacity: .6; border-left-color: var(--ok, #2e9d5b); }
.cc-story .cc-ph { aspect-ratio: auto; padding: 18px 0; background: linear-gradient(135deg, rgba(193,53,132,.16), rgba(253,29,29,.08)); }
.cc-story.is-done { opacity: .7; }
.cc-idea { font-size: 13px; line-height: 1.55; color: var(--ink-2, inherit); word-break: break-word; }

/* 1.50.1 · Texto das telas do carrossel no card do planejamento */
.plan-texts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.plan-slides { margin: 0; padding-left: 18px; max-height: 9.3em; overflow-y: auto; overscroll-behavior: contain; font-size: 13.5px; line-height: 1.5; }
.plan-slides li + li { margin-top: 4px; }

/* 1.50.3 · Conteúdos do cliente: etiqueta da etapa quebra linha e não invade o card do lado */
.cc-body { min-width: 0; }
.cc-body .stg { align-self: flex-start; max-width: 100%; white-space: normal; }
.ctop-tools .season-pick { display: inline-flex; }
.ctop-tools .season-btn { padding: 6px 10px; }

/* 1.50.3 · Ranking dos anúncios (Resultados → Meta Ads) */
@media (min-width: 761px) { .res-ads .table-row { grid-template-columns: minmax(220px, 2.4fr) repeat(5, minmax(80px, 1fr)); } }
.res-ads .is-best { background: var(--ok-soft, rgba(46,157,91,.12)); }
.res-ads .cell-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.res-ads .cell-main small { display: block; color: var(--muted); }

/* 1.50.3 · Financeiro na área do cliente */
.cfin-stats { margin-bottom: 16px; }
.cfin-list { display: grid; gap: 8px; }
.cfin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.cfin-row.is-late { border-color: var(--late-text, #c0392b); }
.cfin-row.is-late small { color: var(--late-text, #c0392b); font-weight: 600; }
.cfin-desc { display: flex; flex-direction: column; min-width: 0; }
.cfin-desc strong { overflow-wrap: anywhere; }
.cfin-desc small { color: var(--muted); }
@media (max-width: 520px) { .cfin-row { grid-template-columns: minmax(0, 1fr) auto; } .cfin-row > :last-child { grid-column: 1 / -1; justify-self: start; } }

/* 1.50.3 · Opções de qualquer seletor legíveis no tema escuro (ex.: Nicho da proposta, fora de .field) */
[data-theme="dark"] select option, [data-theme="dark"] select optgroup { background: var(--card-solid, #0b1b2b); color: var(--ink, #eaf4fb); }

/* 1.51.0 · Acervo de ideias e referências */
.acv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.acv-bar .filter { min-width: 220px; flex: 1 1 220px; max-width: 360px; }
.acv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.acv-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; }
.acv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acv-title { font-size: 15px; line-height: 1.35; }
.acv-notes { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2, inherit); overflow-wrap: anywhere; }
.acv-links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; }
.acv-links a { color: var(--accent-text, var(--accent)); text-decoration: none; }
.acv-links a:hover { text-decoration: underline; }
.acv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acv-tags .chip { font-size: 11.5px; padding: 2px 8px; }
.acv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.acv-plan summary { cursor: pointer; list-style: none; }
.acv-plan summary::-webkit-details-marker { display: none; }
.acv-plan .filter { width: 100%; margin: 4px 0 10px; }
.acv-list { display: grid; gap: 10px; max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
.acv-list .acv-card { padding: 12px; }

/* 1.51.1 · Mensalidades: ativar todas e salvar sozinho */
.billing-head-acts { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.billing-saved { min-width: 60px; }

/* 1.52.0: acervo com cliente (opcional) */
.acv-cfilter select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: inherit; max-width: 240px; }
.acv-top { flex-wrap: wrap; }
.acv-client { font-size: 12px; }
@media (max-width: 600px) { .acv-cfilter, .acv-cfilter select { width: 100%; max-width: none; } .acv-bar .filter { flex: 0 0 auto; width: 100%; max-width: none; } }

/* 1.52.1: observação interna (planejamento e Alterações) */
.badge--int { background: #fff1c2; color: #5c3d00; border: 1px solid #e8c45a; }
.plan-note--int { border-left: 3px solid #e8a900; background: rgba(232, 169, 0, .1); }
.tn-card .plan-note--int { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tn-card .plan-note--int form { margin-left: auto; }
[data-theme="dark"] .badge--int { background: #3a2c00; color: #ffd866; border-color: #6b5200; }
/* 1.52.1: verde do "aprovado" mais escuro no claro (contraste AA) */
html:not([data-theme="dark"]) .badge--plan-aprovado, html:not([data-theme="dark"]) .stg--pl-aprovado { color: #14532d; }

/* 1.52.3: selos do pacote na lista do planejamento cabem na coluna (antes invadiam "Planejamento") */
.plan-table [data-label="Artes e vídeos"] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.plan-table .quota { min-width: 0; max-width: 100%; height: auto; min-height: 28px; padding: 4px 12px; white-space: normal; line-height: 1.3; }
@media (max-width: 760px) {
	/* celular: pacote em linha inteira; planejamento, responsável e botão embaixo, sem encostar */
	.plan-table .table-row:not(.table-head) { grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto !important; gap: 10px 12px; align-items: end; }
	.plan-table [data-label="Artes e vídeos"] { grid-column: 1 / -1; }
	.plan-table .table-row > * { min-width: 0; }
	.plan-table .quota { width: 100%; }
}
/* 1.52.3: contraste no tema claro (selo "montando" e nome do cliente no hover da lista) */
html:not([data-theme="dark"]) .badge--plan-rascunho, html:not([data-theme="dark"]) .stg--pl-rascunho { color: #9a3412; }
html:not([data-theme="dark"]) .plan-table a.cell-main:hover strong { color: #075e60; }

/* 1.52.4: etapas do planejamento clicáveis (mudar o status à mão) */
.plan-flow .inline-form { display: contents; }
.plan-step--btn { font-family: inherit; cursor: pointer; transition: border-color .15s, color .15s; }
.plan-step--btn:hover, .plan-step--btn:focus-visible { border-color: var(--ink); color: var(--ink); }
.plan-flow-hint { margin: -8px 0 14px; }

/* 1.53.0: balão de comentário em aberto nos posts (calendário, kanban e lista) */
.badge.badge--note, [data-theme] .badge.badge--note { background: #FDE047; color: #422006; border-color: #FACC15; font-weight: 700; }

/* 1.53.2 · Vídeo: etapas Gravação e Edição (videomaker) */
.stg--gravacao { background: #fff1e6; color: #b4530a; }
.stg--edicao { background: #efeafe; color: #5b3fc4; }
[data-theme="dark"] .stg--gravacao { background: #3a2410; color: #ffc48f; }
[data-theme="dark"] .stg--edicao { background: #261d45; color: #c7b8ff; }

/* 1.54.0 · Etiquetas do planejamento e mês dos vídeos */
.plan-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 4px; vertical-align: middle; }
.plan-tag { font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.plan-tag--rev { background: #e0f2fe; color: #075985; border-color: #7dd3fc; }
.plan-tag--ok { background: #dcfce7; color: #166534; border-color: #86efac; }
[data-theme="dark"] .plan-tag--rev { background: #0c2d44; color: #bae6fd; border-color: #155e85; }
[data-theme="dark"] .plan-tag--ok { background: #0f3320; color: #bbf7d0; border-color: #166534; }
.flow-now .plan-tags { margin: 4px 0; }
.rec-mes { margin: 6px 0 8px; }
.rec-mes select { min-width: 180px; }
@media (max-width: 600px) { .rec-mes, .rec-mes select { width: 100%; } }

/* 1.55.0 · Designer: posts por semana */
.dw-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dw-week { border-left: 4px solid var(--brand, #14E9EC); min-width: 0; overflow: hidden; }
.dw-week .mini-list small, .dw-week .mini-list strong { white-space: normal; overflow-wrap: anywhere; }
.dw-week.is-soon { border-left-color: #f59e0b; }
.dw-week.is-late { border-left-color: #ef4444; }
.dw-due { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(20,233,236,.14); white-space: nowrap; }
.dw-week.is-soon .dw-due { background: #fef3c7; color: #92400e; }
.dw-week.is-late .dw-due { background: #fee2e2; color: #991b1b; }
.dw-week .card-head { flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .dw-weeks { grid-template-columns: 1fr; } }

/* ======================================================================
 * 2.0.0 (Lud): situação do post com cor, abas, Suas atividades, envio por semana,
 * calendário minimizado e dashboard recolhido.
 * ==================================================================== */
.v2s { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-style: normal; }
.v2s em { font-style: normal; }
.v2s-sit { font-size: 11px; font-weight: 700; line-height: 1.2; padding: 3px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-text); }
.v2s--ok .v2s-sit { background: var(--ok-soft); color: var(--ok-text); }
.v2s--bad .v2s-sit { background: var(--late-soft); color: var(--late-text); }
.v2s-tag { font-size: 11px; font-weight: 600; line-height: 1.2; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.v2s-tag--ok { color: var(--ok-text); border-color: transparent; background: var(--ok-soft); }
.v2s-tag--bad { color: var(--late-text); border-color: transparent; background: var(--late-soft); }
.cal-post:has(.v2s--ok), .kcard:has(.v2s--ok) { box-shadow: inset 0 0 0 2px var(--ok); }
.cal-post:has(.v2s--warn), .kcard:has(.v2s--warn) { box-shadow: inset 0 0 0 2px var(--warn); }
.cal-post:has(.v2s--bad), .kcard:has(.v2s--bad) { box-shadow: inset 0 0 0 2px var(--late); }
.cal-post .v2s { margin-top: 4px; }
.cal-post .v2s-sit { white-space: normal; }

/* Abas (post, Enviar, Reuniões/Gravações) */
.v2-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.v2-tabs button, .v2-tabs a { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.v2-tabs [aria-selected="true"] { background: var(--accent-soft); color: var(--ink); }
.v2-tabs em { font-style: normal; font-size: 11px; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-align: center; }
.v2-panes { display: grid; gap: 14px; }
.v2-more { position: relative; display: inline-block; }
.v2-more > summary { list-style: none; cursor: pointer; }
.v2-more > summary::-webkit-details-marker { display: none; }
.v2-more-body { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; display: grid; gap: 6px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.v2-more-body .btn, .v2-more-body form { width: 100%; justify-content: flex-start; }
.v2-back { display: inline-block; }
.v2-back > summary { list-style: none; }
.v2-back[open] { display: block; width: 100%; margin-top: 8px; }
.v2-ro { display: grid; gap: 12px; margin: 0; }
.v2-ro-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.v2-rob { border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: var(--radius-sm); padding: 12px 14px; overflow-wrap: anywhere; }
.v2-rob h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.v2-rob--idea { border-left-color: #F59E0B; }
.v2-rob--art { border-left-color: #3B82F6; }
.v2-rob--cap { border-left-color: #10B981; }
.v2-rob-slides { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.v2-rob-slides li { border-top: 1px dashed var(--line); padding-top: 8px; }
.v2-rob-slides li:first-child { border-top: 0; padding-top: 0; }
.v2-rob-slides b { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .v2-more-body { left: auto; right: 0; } }

/* Suas atividades: um bloco por setor */
.v2-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0 0 16px; }
.v2-block { font: inherit; text-align: left; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.v2-block[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.v2-block.is-hot .v2-block-s b:first-child { color: var(--late-text); }
.v2-block-t { font-size: 13px; font-weight: 600; color: var(--muted); }
.v2-block-n { font-family: var(--head); font-size: 28px; line-height: 1; }
.v2-block-s { font-size: 12px; color: var(--muted); }
.v2-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-act a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); border-left: 4px solid var(--warn); color: inherit; text-decoration: none; }
.v2-act--ok a { border-left-color: var(--ok); }
.v2-act--bad a { border-left-color: var(--late); }
.v2-act-main { display: grid; min-width: 0; }
.v2-act-main small { color: var(--muted); }
@media (max-width: 640px) { .v2-act a { grid-template-columns: 24px minmax(0, 1fr); } .v2-act a > .v2s, .v2-act a > .btn { grid-column: 2; } }

/* Enviar ao cliente por semana */
.v2-filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.v2-filter-row input[type="search"] { flex: 1 1 200px; }
.v2-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-chips .chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.v2-chips .chip.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.v2-week { border-left: 4px solid var(--warn); }
.v2-week--ok { border-left-color: var(--ok); }
.v2-week--bad { border-left-color: var(--late); }
.v2-week-list summary { cursor: pointer; margin: 4px 0 8px; }
.v2-week .mini-list li { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.v2-send { flex-wrap: wrap; gap: 8px; align-items: center; }

/* Calendário: minimizar posts (só a quantidade; abre ao passar o mouse ou tocar) */
.cal-count { display: none; }
.cal--mini .cal-count { display: grid; gap: 2px; justify-items: start; margin-top: 6px; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: var(--warn-soft); color: var(--warn-text); cursor: pointer; }
.cal--mini .cal-count.v2s--ok { background: var(--ok-soft); color: var(--ok-text); }
.cal--mini .cal-count.v2s--bad { background: var(--late-soft); color: var(--late-text); }
.cal--mini .cal-count small { font-size: 11px; opacity: .85; }
.cal--mini .cal-day { position: relative; }
.cal--mini .cal-day .cal-post { display: none; }
.cal--mini .cal-day:hover, .cal--mini .cal-day:focus-within, .cal--mini .cal-day.is-peek { z-index: 20; }
.cal--mini .cal-day:hover .cal-post, .cal--mini .cal-day:focus-within .cal-post, .cal--mini .cal-day.is-peek .cal-post { display: block; position: relative; z-index: 21; background: var(--card); }
[data-cal-mini][aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

/* Dashboard: cada quadro recolhido mostra só o título e quantos itens tem */
.v2-dash-min > :not(.card-head):not(.dsh-card-head) { display: none !important; }
.v2-dash-min { padding-block: 12px; }
.v2-dash-toggle { cursor: pointer; user-select: none; }
.v2-dash-toggle h3::after { content: attr(data-v2-n); margin-left: 8px; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.v2-dash-toggle h3[data-v2-n="0"]::after { opacity: .5; }

/* Roteiro para gravar: escuro, um por vez */
.v2-reel { background: #0b0f17; color: #eef2f8; border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.v2-reel .muted { color: #9aa6b8; }
.v2-reel-body { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.v2-reel-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.v2-reel .btn--ghost { color: #eef2f8; border-color: #334155; }

/* 2.0.3: Lud IA (robô) e visualização dos blocos de Suas atividades */
.robo-fab { position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right)); bottom: calc(86px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 14px/1 var(--font); box-shadow: var(--shadow); cursor: pointer; }
.robo { position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right)); bottom: calc(140px + env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 180px)); display: flex; flex-direction: column; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.35); overflow: hidden; }
.robo[hidden] { display: none; }
.robo-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.robo-x { margin-left: auto; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.robo-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.robo-m { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.robo-m--lud { align-self: flex-start; background: var(--accent-soft); }
.robo-m--eu { align-self: flex-end; background: var(--ink); color: var(--on-ink); }
.robo-m.is-wait { opacity: .6; }
.robo-sug { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 8px; }
.robo-sug button { font: inherit; font-size: 12px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.robo-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.robo-form textarea { flex: 1; resize: none; min-height: 38px; max-height: 120px; }
.v2-views { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.v2-views button { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.v2-views [aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.v2-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.v2-cal > b { font-size: 12px; color: var(--muted); text-align: center; }
.v2-cal-d { min-height: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 5px; display: grid; align-content: start; gap: 4px; min-width: 0; }
.v2-cal-d > span { font-size: 11px; color: var(--muted); }
.v2-cal-d.is-today { border-color: var(--ink); }
.v2-act.is-mini a { grid-template-columns: minmax(0, 1fr); padding: 5px 6px; font-size: 12px; gap: 2px; }
.v2-act.is-mini .fmt-ic, .v2-act.is-mini small, .v2-act.is-mini .v2s-tag, .v2-act.is-mini .btn { display: none; }
.v2-kan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v2-kan-col { border: 1px solid var(--line); border-top: 4px solid var(--warn); border-radius: var(--radius-sm); padding: 10px; display: grid; align-content: start; gap: 8px; min-width: 0; }
.v2-kan-col--bad { border-top-color: var(--late); }
.v2-kan-col--ok { border-top-color: var(--ok); }
.v2-kan-col h4 { margin: 0; font-size: 14px; }
.v2-kan-col h4 em { font-style: normal; color: var(--muted); }
@media (max-width: 760px) { .v2-kan { grid-template-columns: 1fr; } .v2-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-cal > b { display: none; } }


/* 2.0.3: WhatsApp (uazapi), quadro e robô trazidos do Expresso CRM */
.wa-ai { display: grid; place-items: center; padding: 0; }
.wa-ai .ia-logo { width: 26px; height: 26px; }
.wa[hidden], .wa-board[hidden] { display: none; }
.wa-view { margin-bottom: 14px; }
.wa-view button { padding: 6px 12px; border: 0; border-radius: 8px; background: none; font: 500 13px/1.2 inherit; color: var(--muted); cursor: pointer; white-space: nowrap; }
.wa-view button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.wa-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; min-height: calc(100vh - 230px); scroll-snap-type: x proximity; }
.wa-col { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); scroll-snap-align: start; transition: border-color .15s, box-shadow .15s; }
.wa-col h4 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.wa-col h4 em { margin-left: auto; padding: 1px 8px; border-radius: 20px; background: var(--line); font-style: normal; font-size: 11.5px; color: var(--muted); }
.wa-col--novo h4::before, .wa-col--robo h4::before, .wa-col--atendimento h4::before, .wa-col--aguardando h4::before, .wa-col--resolvido h4::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; }
.wa-col--robo h4::before { background: #E05A00; }
.wa-col--atendimento h4::before { background: #f59e0b; }
.wa-col--aguardando h4::before { background: #8b5cf6; }
.wa-col--resolvido h4::before { background: #22c55e; }
.wa-col.is-over { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wa-col-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px; overflow-y: auto; max-height: calc(100vh - 290px); }
.wa-col-empty { margin: 6px 4px; }
.wa-card { padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: grab; transition: transform .15s var(--ease), box-shadow .15s; }
.wa-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.wa-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wa-card.is-dragging { opacity: .5; }
.wa-card.is-ask { border-color: #ef4444; }
.wa-card.is-new strong { color: var(--accent); }
.wa-card header { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wa-card header .wa-av { width: 30px; height: 30px; flex: none; font-size: 12px; }
.wa-card header strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.wa-card header time { flex: none; font-size: 11px; color: var(--muted); }
.wa-card p { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.wa-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; }
.wa-tag--ask { background: rgba(239, 68, 68, .15); color: #dc2626; }
.wa-move { margin-left: auto; max-width: 130px; padding: 3px 6px; font-size: 11.5px; border-radius: 7px; }
@media (hover: hover) and (pointer: fine) { .wa-move { opacity: .55; } .wa-card:hover .wa-move { opacity: 1; } }
@media (max-width: 767px) { .wa-board { grid-auto-columns: 82%; min-height: 0; } .wa-col-body { max-height: calc(100dvh - 330px); } .wa-move { font-size: 16px; max-width: none; flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .wa-card, .wa-col { transition: none; } }

/* 2.0.4: botão do Lud com o mascote, parado, logo acima da bolinha do chat; a janela abre ao lado (não cobre o chat) */
.robo-fab { right: 20px; bottom: calc(20px + 58px + 12px + env(safe-area-inset-bottom)); width: 58px; height: 58px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #0b1a24; box-shadow: 0 10px 28px rgba(0,0,0,.22); z-index: 111; transition: none; }
.robo-fab img { width: 100%; height: 100%; object-fit: cover; display: block; }
.robo-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.robo { right: calc(20px + 58px + 16px); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 112; }
@media (max-width: 640px) { .robo { left: 16px; right: 16px; width: auto; bottom: calc(20px + 58px + 12px + 58px + 12px + env(safe-area-inset-bottom)); max-height: calc(100vh - 220px); } }
.robo-head { gap: 12px; align-items: center; }
.robo-head > div:nth-child(2) { display: grid; }
.robo-mascot { position: relative; flex: 0 0 auto; width: 84px; height: 100px; border-radius: 12px; overflow: visible; }
.robo-mascot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; transform-origin: 50% 90%; }
.robo-think { position: absolute; top: -6px; right: -10px; display: none; gap: 3px; padding: 4px 6px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.robo-think i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.robo-mascot.is-thinking .robo-think { display: inline-flex; }
@media (prefers-reduced-motion: no-preference) {
	.robo-mascot.is-idle img { animation: lud-respira 3.2s ease-in-out infinite; }
	.robo-mascot.is-typing img { transform: rotate(-7deg) translate(-2px, 3px) scale(1.04); transition: transform .25s var(--ease); }
	.robo-mascot.is-thinking img { animation: lud-pensa 1.6s ease-in-out infinite; }
	.robo-think i { animation: lud-ponto 1.2s ease-in-out infinite; }
	.robo-think i:nth-child(2) { animation-delay: .2s; }
	.robo-think i:nth-child(3) { animation-delay: .4s; }
}
@keyframes lud-respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes lud-pensa { 0%, 100% { transform: rotate(6deg) translateY(-1px); } 50% { transform: rotate(-4deg) translateY(1px); } }
@keyframes lud-ponto { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

/* 2.0.5: Lud animado na janela (o botão continua parado): flutua, brilha, pisca, inclina olhando quando você digita e balança pensando */
.robo-mascot { width: 96px; height: 114px; }
.robo-mascot img { transform: none !important; }
.robo-mascot img:not(.robo-blink) { animation: none !important; }
.robo-body { position: relative; display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; transform-origin: 50% 95%; box-shadow: 0 0 0 1px rgba(20,233,236,.25); }
.robo-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 14px; }
.robo-blink { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.robo:not([hidden]) .robo-mascot .robo-body { animation: lud-flutua 3.4s ease-in-out infinite, lud-brilho 3.4s ease-in-out infinite; }
	.robo:not([hidden]) .robo-blink { animation: lud-pisca 4.2s steps(1, end) infinite; }
	.robo:not([hidden]) .robo-mascot.is-typing .robo-body { animation: lud-olha 1.1s ease-in-out infinite, lud-brilho 1.1s ease-in-out infinite; }
	.robo:not([hidden]) .robo-mascot.is-typing .robo-blink { animation-duration: 2.6s; }
	.robo:not([hidden]) .robo-mascot.is-thinking .robo-body { animation: lud-pensando 1.8s ease-in-out infinite, lud-brilho 1.8s ease-in-out infinite; }
	.robo:not([hidden]) .robo-mascot.is-thinking .robo-blink { animation: lud-cochila 1.8s steps(1, end) infinite; }
}
@keyframes lud-flutua { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-1.5deg); } 75% { transform: translateY(-1px) rotate(1.5deg); } }
@keyframes lud-olha { 0%, 100% { transform: rotate(-8deg) translate(-3px, 4px) scale(1.03); } 50% { transform: rotate(-5deg) translate(-2px, 2px) scale(1.04); } }
@keyframes lud-pensando { 0%, 100% { transform: rotate(7deg) translateY(-2px); } 50% { transform: rotate(-6deg) translateY(1px); } }
@keyframes lud-brilho { 0%, 100% { box-shadow: 0 0 0 1px rgba(20,233,236,.25), 0 0 10px rgba(20,233,236,.15); } 50% { box-shadow: 0 0 0 1px rgba(20,233,236,.45), 0 0 18px rgba(20,233,236,.35); } }
@keyframes lud-pisca { 0%, 92%, 96%, 100% { opacity: 0; } 93% { opacity: 1; } }
@keyframes lud-cochila { 0%, 40%, 100% { opacity: 0; } 41%, 70% { opacity: 1; } }

/* 2.0.6: Lud em PNG sem fundo, de corpo inteiro, ao lado da janela (não é mais ícone no cabeçalho).
   Estados: hello (abre), idle (flutua e pisca), typing (inclina olhando), thinking (balança, olhos fechados, pontinhos), talking (responde) */
.robo-buddy { position: fixed; z-index: 113; right: calc(20px + 58px + 16px + min(380px, 100vw - 32px) - 28px); bottom: calc(14px + env(safe-area-inset-bottom)); width: 163px; height: 200px; pointer-events: none; }
.robo-buddy[hidden] { display: none; }
.robo-buddy .robo-body { position: relative; width: 100%; height: 100%; border-radius: 0; overflow: visible; box-shadow: none; transform-origin: 50% 100%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 0 10px rgba(20,233,236,.25)); }
.robo-buddy .robo-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; border-radius: 0; }
.robo-buddy .robo-blink { opacity: 0; }
.robo-buddy .robo-think { position: absolute; z-index: 2; top: -4px; right: 18px; display: none; }
.robo-buddy.is-thinking .robo-think { display: inline-flex; }
@media (max-width: 640px) { .robo-buddy { right: calc(20px + 58px + 8px); bottom: calc(12px + env(safe-area-inset-bottom)); width: 106px; height: 130px; } }
@media (prefers-reduced-motion: no-preference) {
	.robo-buddy.is-hello .robo-body { animation: lud-chega .9s cubic-bezier(.2, 1.4, .4, 1) both; }
	.robo-buddy.is-idle .robo-body { animation: lud-flutua 3.4s ease-in-out infinite; }
	.robo-buddy.is-idle .robo-blink, .robo-buddy.is-hello .robo-blink { animation: lud-pisca 4.2s steps(1, end) infinite; }
	.robo-buddy.is-typing .robo-body { animation: lud-olha-chat 1.2s ease-in-out infinite; }
	.robo-buddy.is-typing .robo-blink { animation: lud-pisca 2.6s steps(1, end) infinite; }
	.robo-buddy.is-thinking .robo-body { animation: lud-pensando 1.8s ease-in-out infinite; }
	.robo-buddy.is-thinking .robo-blink { animation: lud-cochila 1.8s steps(1, end) infinite; }
	.robo-buddy.is-talking .robo-body { animation: lud-fala .36s ease-in-out infinite; }
	.robo-buddy.is-talking .robo-blink { animation: lud-pisca 1.6s steps(1, end) infinite; }
}
@keyframes lud-chega { 0% { transform: translateY(40px) scale(.6) rotate(-10deg); opacity: 0; } 60% { transform: translateY(-8px) scale(1.05) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes lud-olha-chat { 0%, 100% { transform: rotate(7deg) translateX(4px); } 50% { transform: rotate(4deg) translateX(2px) translateY(-2px); } }
@keyframes lud-fala { 0%, 100% { transform: scale(1, 1) translateY(0); } 50% { transform: scale(1.04, .96) translateY(-6px) rotate(2deg); } }
.robo-head > div { display: grid; gap: 2px; }

/* 2.0.9: filtro por cliente em Suas atividades */
.v2-cfilter { justify-content: flex-start; gap: 8px; margin-bottom: 14px; }
.v2-cfilter select { width: 100%; max-width: 320px; }

/* 2.0.12: Enviar ao cliente: barra e miniaturas das artes da semana */
.v2-wbar { height: 8px; border-radius: 99px; background: var(--line, rgba(127,127,127,.2)); overflow: hidden; margin: 2px 0 10px; }
.v2-wbar span { display: block; height: 100%; background: var(--ok); border-radius: inherit; }
.v2-warts { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 6px; scroll-snap-type: x proximity; }
.v2-wart { flex: 0 0 auto; width: 72px; text-align: center; text-decoration: none; color: inherit; scroll-snap-align: start; }
.v2-wart-img { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; border: 3px solid var(--warn); overflow: hidden; font-size: 24px; background: var(--line, rgba(127,127,127,.12)); }
.v2-wart-img img { width: 100%; height: 100%; object-fit: cover; }
.v2-wart--ready .v2-wart-img { border-color: #2a6df4; }
.v2-wart--sent .v2-wart-img { border-color: var(--ok); opacity: .75; }
.v2-wart small { display: block; margin-top: 4px; font-size: 11px; white-space: nowrap; }
@media (max-width: 600px) { .v2-wart, .v2-wart-img { width: 60px; } .v2-wart-img { height: 60px; } }

/* 2.0.13: Roteiros: escolher e enviar para aprovação */
.rot-pick { margin: 0 0 14px; }
.rot-pick summary { cursor: pointer; list-style: none; }
.rot-pick summary::-webkit-details-marker { display: none; }
.rot-pick[open] summary { margin-bottom: 12px; }
.rot-pick-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rot-pick-list .check { align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }


/* 2.0.17: calendário do Conteúdo com o nome do cliente em cada post e o dia da semana em cada dia */
.cal-post .cal-cli { display: block; font-size: 11px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-add .cal-dw { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 860px) {
	.cal-post .cal-cli { display: block; font-size: 9.5px; line-height: 1.2; }
	.cal-post .pbadges { display: flex; } .cal-post .pbadges > :not(.badge--cap) { display: none; } .cal-post .badge--cap { font-size: 9px; padding: 1px 4px; }
}
.badge--cap { background: var(--ok-soft); color: var(--ok-text); }

/* 2.0.18: Conteúdo · filtro de formato e olho para ocultar as feitas */
.ct-filt { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ct-filt button { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.ct-filt [aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.ct-filt .ct-eye { margin-left: auto; }
body.ct-hide-done [data-done="1"],
body[data-fg="post"] [data-fg]:not([data-fg="post"]),
body[data-fg="carrossel"] [data-fg]:not([data-fg="carrossel"]),
body[data-fg="story"] [data-fg]:not([data-fg="story"]),
body[data-fg="video"] [data-fg]:not([data-fg="video"]) { display: none !important; }
.ct-box { margin-bottom: 14px; }
.ct-box .table { margin: 0; }
/* 2.0.19: designer · Esta semana / Próximas semanas */
.ct-scope { display: inline-flex; flex-wrap: wrap; gap: 6px; padding-left: 8px; border-left: 1px solid var(--line); }
body[data-ct-scope="semana"] [data-ct-scope]:not([data-ct-scope="semana"]),
body[data-ct-scope="proximas"] [data-ct-scope]:not([data-ct-scope="proximas"]) { display: none !important; }
/* 2.0.20: check do designer (verde = feita) */
.ct-check { flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--line); color: transparent; font-weight: 800; font-size: 13px; line-height: 1; vertical-align: middle; }
.ct-check.is-go { border-color: var(--accent, #14E9EC); color: var(--accent, #14E9EC); cursor: pointer; }
.ct-check.is-go:hover, .ct-check.is-go:focus-visible { background: var(--accent, #14E9EC); color: #03101c; outline: none; }
.ct-check.is-done { background: #16a34a; border-color: #16a34a; color: #fff; }
.ct-check.is-busy { opacity: .5; pointer-events: none; }
.kcard-top .ct-check { width: 20px; height: 20px; font-size: 11px; margin-right: 4px; }
[data-done="1"].table-row, [data-done="1"].kcard { box-shadow: inset 4px 0 0 #16a34a; }
/* 2.0.21: Suas atividades · Para aprovar em cartões (Paola e Marília) */
.apr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 4px 0 14px; }
.apr-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-top: 4px solid var(--fc, var(--line)); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); min-width: 0; }
.apr-prev { position: relative; display: block; aspect-ratio: 4 / 5; background: rgba(0,0,0,.25); }
.apr-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apr-img--ph { display: grid; place-items: center; font-size: 42px; }
.apr-play, .apr-n { position: absolute; font-style: normal; font-weight: 700; color: #fff; background: rgba(0,0,0,.6); border-radius: 999px; }
.apr-play { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; }
.apr-n { right: 8px; bottom: 8px; padding: 3px 9px; font-size: 12px; }
.apr-body { display: grid; gap: 4px; padding: 12px; align-content: start; min-width: 0; }
.apr-cli { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apr-t { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.apr-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-top: 8px; }
.apr-btns form, .apr-btns details { margin: 0; }
.apr-btns .v2-back[open] { flex-basis: 100%; }
.apr-more { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .apr-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .apr-body { padding: 10px; } .apr-t { font-size: 14px; } }
/* 2.0.22: ideia da arte no cartão de aprovação */
.apr-idea { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(245, 158, 11, .1); border-left: 3px solid #F59E0B; font-size: 13px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.apr-idea.is-open { display: block; -webkit-line-clamp: unset; }
.apr-idea b { color: #F59E0B; }
/* 2.1.0: Comercial → Apresentação */
.apres-list { display: grid; gap: 10px; }
.apres-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.apres-item p { margin: 4px 0; }
.apres-ai .inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
/* 2.1.0: Banco de currículos */
.cv-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cv-filters input[type=search] { flex: 1; min-width: 200px; }
.cv-table .table-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr) auto; }
.cv-table .table-row.is-new { box-shadow: inset 4px 0 0 var(--accent, #14E9EC); }
/* 2.2.0: WhatsApp → Robô e Grupos */
.robo-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 10px; }
.robo-box legend { font-weight: 700; padding: 0 6px; }
.robo-glist { display: grid; gap: 8px; }
.robo-g { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.robo-g select { min-width: 220px; max-width: 100%; }
.meet-after-what { margin: 0 0 6px; line-height: 1.5; }

/* 2.2.5 · WhatsApp com cara de WhatsApp (bloco trazido do Expresso: lista, conversa, bolhas, abas) */
.wa-setup summary, .wa-me summary { list-style: none; cursor: pointer; }
.wa-setup summary::-webkit-details-marker, .wa-me summary::-webkit-details-marker { display: none; }
.wa-state { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--line); }
.wa-state.is-on { background: rgba(37, 211, 102, .15); color: #128c4a; }
.wa-state.is-off { background: rgba(220, 38, 38, .1); color: var(--late); }
.wa-qr img { width: 240px; max-width: 100%; border-radius: 12px; background: #fff; padding: 10px; }
.wa-code { font: 800 30px var(--head); letter-spacing: .12em; }
.wa-pair { margin: 0; }
.wa { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100vh - 170px); min-height: 520px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden; margin-bottom: 18px; }
.wa-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.wa-list-top { padding: 12px; border-bottom: 1px solid var(--line); }
.wa-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px; border-radius: 12px; background: var(--bg); }
.wa-search input { flex: 1; border: 0; background: transparent; color: var(--ink); font: inherit; outline: 0; }
.wa-tabs { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.wa-tabs button { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 12.5px var(--font); cursor: pointer; }
.wa-tabs button.is-on { background: #25d366; border-color: #25d366; color: #fff; }
.wa-chats { flex: 1; overflow-y: auto; }
.wa-pad { padding: 16px; }
.wa-item { display: flex; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.wa-item:hover, .wa-item.is-active { background: var(--accent-soft); }
.wa-av { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #dfe5ea; color: #54656f; font-weight: 800; overflow: hidden; }
.wa-av img { width: 100%; height: 100%; object-fit: cover; }
.wa-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wa-item-top, .wa-item-bottom { display: flex; align-items: center; gap: 6px; }
.wa-item-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.wa-item-top time { font-size: 11.5px; color: var(--muted); }
.wa-item-top time.is-new { color: #25d366; font-weight: 700; }
.wa-item-last { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.wa-tag { flex-shrink: 0; padding: 1px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 700; background: var(--line); color: var(--muted); }
.wa-tag--client { background: rgba(240, 112, 0, .14); color: var(--accent); }
.wa-tag--driver { background: rgba(43, 89, 255, .12); color: #2b59ff; }
.wa-tag--agent { background: rgba(37, 211, 102, .15); color: #128c4a; }
.wa-unread { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #25d366; color: #fff; font: 800 11px/20px var(--head); font-style: normal; text-align: center; }
.wa-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.wa-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-who small { color: var(--muted); }
.wa-back { display: none; border: 0; background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
.wa-open { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 700; }
.wa-msgs { flex: 1; overflow-y: auto; padding: 18px 6%; display: flex; flex-direction: column; gap: 6px; background: #efeae2; }
[data-theme="dark"] .wa-msgs { background: #0b141a; }
.wa-hello { margin: auto; text-align: center; color: #667781; max-width: 340px; }
.wa-day { align-self: center; margin: 8px 0; }
.wa-day span { padding: 4px 12px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12px; }
[data-theme="dark"] .wa-day span { background: #182229; color: #8696a0; }
.wa-msg { align-self: flex-start; max-width: min(78%, 560px); padding: 7px 10px 5px; border-radius: 10px; background: #fff; color: #111b21; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); word-wrap: break-word; }
.wa-msg.is-me { align-self: flex-end; background: #d9fdd3; }
[data-theme="dark"] .wa-msg { background: #202c33; color: #e9edef; }
[data-theme="dark"] .wa-msg.is-me { background: #005c4b; }
.wa-msg p { margin: 0; }
.wa-msg time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
[data-theme="dark"] .wa-msg time { color: #8696a0; }
.wa-agent { display: block; font-size: 12px; color: #d65f00; margin-bottom: 2px; }
[data-theme="dark"] .wa-agent { color: #ffb06b; }
.wa-tick { font-style: normal; margin-left: 4px; }
.wa-tick.is-read { color: #53bdeb; }
.wa-media { border: 0; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .06); color: inherit; font: inherit; font-size: 13px; cursor: pointer; margin-bottom: 4px; }
.wa-file img, .wa-file video { max-width: 260px; max-height: 320px; border-radius: 8px; display: block; }
.wa-compose { position: relative; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wa-compose textarea { flex: 1; min-width: 0; min-height: 42px; max-height: 180px; padding: 10px 14px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; resize: none; }
.wa-attach { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; font-size: 18px; flex-shrink: 0; }
.wa-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #25d366; color: #fff; font-size: 18px; cursor: pointer; flex-shrink: 0; }
.wa-filename { flex-basis: 100%; color: var(--muted); }
.wa-quick { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 6px); display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .4); z-index: 5; }
.wa-quick button { padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); text-align: left; font: 600 13.5px var(--font); cursor: pointer; }
.wa-quick button:hover { background: var(--accent-soft); }
@media (max-width: 860px) {
	.wa { grid-template-columns: 1fr; height: calc(100vh - 150px); }
	.wa-chat { display: none; }
	.wa.is-open .wa-list { display: none; }
	.wa.is-open .wa-chat { display: flex; }
	.wa-back { display: block; }
	.wa-msgs { padding: 14px 10px; }
}

.wa-tag--group { background: #e7f6ec; color: #11683a; }
[data-theme="dark"] .wa-tag--group { background: rgba(37, 211, 102, .16); color: #7ee2a8; }
.wa-agent--in { color: #1f8a5b; }
[data-theme="dark"] .wa-agent--in { color: #6fd7a0; }

/* 2.2.7 · Desligar WhatsApp / IA */
.wa-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.wa-switch-st { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #e3f7ea; color: #13723a; }
.wa-switch-st.is-off { background: #f1f1ee; color: #6b6b66; }
.wa-switch small { flex-basis: 100%; }
[data-theme="dark"] .wa-switch-st { background: rgba(37,211,102,.16); color: #7be3a4; }
[data-theme="dark"] .wa-switch-st.is-off { background: rgba(255,255,255,.08); color: #b5b5b0; }

/* 2.3.1: trocar formato no topo do post */
.fmt-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fmt-switch select { width: auto; min-width: 140px; padding: 6px 10px; }

/* 2.4.1: etapa direto na lista de conteúdo */
.row-stage { display: block; margin-top: 6px; max-width: 100%; font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card, transparent); color: inherit; cursor: pointer; }

/* 2.6.0: urgência máxima (vibra e fica em destaque) */
.v2s-urg { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: #E11D48; color: #fff; font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .04em; animation: lk-urg-pulse 1.2s ease-in-out infinite; }
.v2-act:has(.v2s-urg), .table-row:has(.v2s-urg), .kcard:has(.v2s-urg), .cal-post:has(.v2s-urg), .apr-card.is-urg { outline: 2px solid #E11D48; outline-offset: -2px; background: rgba(225, 29, 72, .08); animation: lk-urg-shake 2.4s ease-in-out infinite; }
.btn--urg { background: #E11D48; color: #fff; border-color: #E11D48; }
.btn--urg:hover { background: #BE123C; }
@keyframes lk-urg-shake { 0%, 84%, 100% { transform: translateX(0); } 86% { transform: translateX(-3px) rotate(-.4deg); } 88% { transform: translateX(3px) rotate(.4deg); } 90% { transform: translateX(-3px); } 92% { transform: translateX(3px); } 94% { transform: translateX(-2px); } 96% { transform: translateX(1px); } }
@keyframes lk-urg-pulse { 50% { box-shadow: 0 0 0 4px rgba(225, 29, 72, .35); } }
@media (prefers-reduced-motion: reduce) { .v2s-urg, .v2-act:has(.v2s-urg), .table-row:has(.v2s-urg), .kcard:has(.v2s-urg), .cal-post:has(.v2s-urg), .apr-card.is-urg { animation: none; } }

/* 2.7.1: copiar título no quadrinho do roteiro */
.rot-copy { align-self: flex-start; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--ink); background: transparent; cursor: pointer; }
.rot-copy:hover, .rot-copy:focus-visible { border-color: #14E9EC; color: #14E9EC; }

/* 2.8.0: arte aprovada pela cliente em destaque verde no planejamento */
.plan-item.is-approved, .plan-item.is-approved.is-past { background: var(--ok-soft, #e9f8ea); border-color: var(--ok, #1ab91e); border-left: 6px solid var(--ok, #1ab91e); box-shadow: 0 0 0 1px var(--ok, #1ab91e) inset; }
[data-theme="dark"] .plan-item.is-approved, [data-theme="dark"] .plan-item.is-approved.is-past { background: rgba(26, 185, 30, .14); }
.plan-ok-tag { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ok-solid, #0f7a14); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }

/* 2.9.0: apagar arquivo da arte */
.media-del { align-self: flex-start; margin-top: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--late, #d33); background: transparent; color: var(--late, #d33); font-size: 12px; font-weight: 700; cursor: pointer; }
.media-del:hover, .media-del:focus-visible { background: var(--late, #d33); color: #fff; }

/* 2.11.0: lixeira do arquivo no Conteúdo */
.ct-del { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; margin-left: 4px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--late, #d33); background: transparent; color: var(--late, #d33); font-size: 13px; line-height: 1; cursor: pointer; vertical-align: middle; }
.ct-del:hover, .ct-del:focus-visible { background: var(--late, #d33); color: #fff; }
.ct-del:disabled { opacity: .5; cursor: wait; }

/* 2.12.0: X no canto da imagem enviada + apontamentos dentro da aba Arte */
figure.media-item { position: relative; }
.media-x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #fff; background: #d32f2f; color: #fff; font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.media-x:hover, .media-x:focus-visible { background: #a31515; outline: 2px solid #fff; outline-offset: 1px; }
.art-notes { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--late, #d33); border-left: 4px solid var(--late, #d33); border-radius: 12px; background: rgba(211, 47, 47, .06); }
.art-notes h4 { margin: 0 0 8px; font-size: 14px; }

/* 2.14.0: aprovar direto do cartão no Conteúdo + filtro "Para aprovar" */
.apr-mini { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.apr-mini button { font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1.2; padding: 4px 8px; border-radius: 7px; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.apr-mini .apr-mini-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.apr-mini button:hover { filter: brightness(1.08); }
.apr-mini.is-busy { opacity: .5; pointer-events: none; }
.apr-mini-done { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ok); }
.ct-filt .ct-apr { border-color: var(--ok); color: var(--ok); }
.ct-filt .ct-apr b { margin-left: 2px; }
.ct-filt .ct-apr[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
body.ct-only-apr [data-apr="0"] { display: none !important; }
body.ct-only-apr .cal-count { display: none; }

/* 2.14.0: Delegar tarefa em passos */
.dlg-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: dlg; }
.dlg-dots li { flex: 1; counter-increment: dlg; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.dlg-dots li::before { content: counter(dlg) ". "; }
.dlg-dots li.is-on { color: var(--ink); border-top-color: var(--accent); }
.dlg-step h4 { margin: 4px 0 10px; font-size: 17px; }
.dlg-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.dlg-person { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.dlg-person input { position: absolute; opacity: 0; pointer-events: none; }
.dlg-person img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.dlg-person span { display: flex; flex-direction: column; min-width: 0; }
.dlg-person small { color: var(--muted); font-size: 11.5px; }
.dlg-person:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft, transparent); }
.dlg-person:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.dlg-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; }
.dlg-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dlg-file span { font-weight: 700; padding: 8px 12px; border-radius: 9px; background: var(--ink); color: var(--on-ink); }
.dlg-file em { font-style: normal; color: var(--muted); font-size: 13px; word-break: break-all; }
.dlg-file:has(input:focus-visible) { outline: 2px solid var(--accent); }
.dlg-sum { margin-top: 10px; }
.dlg-steps .form-actions [data-dlg-prev] { margin-right: auto; }

/* 2.14.0: Agenda em calendário */
.cal--ag .agc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cal--ag .meet { display: block; padding: 5px 7px; border-radius: 8px; background: var(--bg); border-left: 3px solid var(--accent); font-size: 12px; line-height: 1.3; cursor: pointer; }
.cal--ag .meet--rec { border-left-color: var(--warn); }
.cal--ag .meet a { color: inherit; text-decoration: none; display: block; }
.cal--ag .meet-time { display: block; font-weight: 700; font-size: 11px; color: var(--muted); }
.cal--ag .meet-main strong { display: block; font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal--ag .meet-main small { display: block; color: var(--muted); font-size: 10.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal--ag .meet-go { display: none; }
@media (max-width: 900px) { .cal--ag .cal-day.is-empty:not(.is-today) { display: none; } }

/* 2.14.0: contagem para o recesso (foto de praia) */
.rcs { box-sizing: border-box; width: min(560px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #fff; background: #0b3b4a var(--rcs-img) center 40% / cover no-repeat; }
.rcs::backdrop { background: rgba(3, 16, 28, .6); }
.rcs[open] { animation: rcsIn .5s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes rcsIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.rcs-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 210px 22px 24px; background: linear-gradient(to bottom, rgba(4, 30, 45, 0) 0, rgba(4, 30, 45, 0) 34%, rgba(4, 30, 45, .6) 58%, rgba(4, 30, 45, .9) 100%); }
.rcs h2, .rcs-sub { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.rcs-tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #0b3b4a; }
.rcs h2 { margin: 0; font-size: clamp(22px, 5vw, 30px); line-height: 1.15; text-wrap: balance; }
.rcs-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
.rcs-clock span { display: flex; flex-direction: column; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); }
.rcs-clock b { font-size: clamp(26px, 7vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.rcs-clock small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .9; margin-top: 4px; }
.rcs-sub { margin: 0; font-size: 15px; text-wrap: balance; }
.rcs-go { font: inherit; font-weight: 800; padding: 11px 22px; border: 0; border-radius: 12px; background: #ffb547; color: #0b2230; cursor: pointer; }
.rcs-go:hover { filter: brightness(1.06); }
.rcs-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 520px) { .rcs-in { padding: 150px 14px 20px; } .rcs-clock { gap: 6px; } .rcs-clock span { padding: 8px 2px; } }
@media (prefers-reduced-motion: reduce) { .rcs[open] { animation: none; } }

/* 2.16.0: aviso verde (alteração feita e aprovada) */
.flash--ok { background: var(--ok-soft, #e8f7ec); color: var(--ok-text, #16632b); border-color: var(--ok-solid, #1d8a3a); }

/* 2.18.0: versões anteriores da arte (alteradas) */
.art-cur { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.art-hist { margin-top: 18px; padding: 14px; border: 1px dashed var(--line, #d9dde5); border-radius: 12px; }
.art-hist summary { cursor: pointer; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.art-hist-v { margin-top: 14px; }
.art-hist-v p { margin: 0 0 6px; }
.art-hist-item { position: relative; opacity: .7; }
.art-hist-item img { filter: grayscale(.6); }
.art-hist-item:hover { opacity: 1; }
.art-hist-item:hover img { filter: none; }
.art-hist-tag { position: absolute; top: 6px; left: 6px; z-index: 1; background: #b42318; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; }

/* 2.20.0: mudar a etapa no cartão do post */
.v2-stage-pick { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.v2-stage-pick select { min-height: 36px; }
.rot-pick-off { opacity: .55; }

/* 2.21.0: Aprovar / Pedir alteração com a arte grande aberta */
.zoom-apr { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 16px 18px; }
.zoom-apr .apr-mini { display: inline-flex; gap: 8px; }
.zoom-apr .apr-mini button { font-size: 15px; padding: 10px 18px; border-radius: 999px; }
.zoom-apr .apr-mini-done { color: #fff; font-size: 15px; font-style: normal; font-weight: 700; }

/* 2.21.0: cada versão da arte numa caixa (Versão 01, 02…); a atual em destaque */
.art-ver { border: 1.5px solid var(--line, #d9dde5); border-radius: 14px; padding: 14px; margin-top: 14px; background: var(--card); }
.art-ver--cur { border-color: var(--ok, #12a150); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #12a150) 14%, transparent); margin-top: 0; }
.art-ver-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.art-ver-h b { font-size: 15px; letter-spacing: .02em; }
.art-ver-h .art-newver { margin-left: auto; }
.art-newver[open] { flex-basis: 100%; margin-left: 0; padding: 12px; border: 1px dashed var(--line, #d9dde5); border-radius: 10px; }
.art-hist .art-ver { border-style: dashed; }
.rot-editor { display: inline-flex; }
.rot-editor .field--inline { margin: 0; }
.plan-arts { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.plan-arts img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; cursor: zoom-in; border: 1px solid var(--line, #d9dde5); }
@media (max-width: 600px) { .art-ver { padding: 10px; } .art-ver-h .art-newver { margin-left: 0; } .plan-arts img { width: 60px; height: 75px; } }

/* 2.22.0: dias sem gravação */
.rec-blocks { padding: 12px 16px; }
.rec-blocks-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rec-block-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bad, #d92d20) 14%, transparent); color: var(--ink); font-size: 13px; font-weight: 600; }
.rec-block-chip form { display: inline; margin: 0; }
.rec-block-x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 4px; }
.rec-block-new { margin-left: auto; }
.rec-block-new[open] { flex-basis: 100%; margin-left: 0; }
.rec-block-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 8px; }
.cal-day.is-recblock { background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--bad, #d92d20) 10%, transparent) 8px 16px); }
.cal-day.is-recblock .cal-add span::after { content: ' 🚫'; }
@media (max-width: 600px) { .rec-block-new { margin-left: 0; } .rec-block-form .field--inline { flex-basis: 100%; } }

/* 2.25.0: roteiro atualizado para reenviar */
.rot-resend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 12px;padding:10px 12px;border-radius:10px;background:var(--warn-bg,#fff7e6);border:1px solid var(--warn,#f59e0b)}

/* 2.28.0: Aprovar / Pedir alteração dentro da caixa da versão da arte */
.art-ver-h .art-ver-apr{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-left:auto}
.art-ver-h .art-ver-apr form{margin:0}
.art-ver-h .art-ver-apr .v2-back[open]{flex-basis:100%}

/* 2.28.0: Lista de aprovação (janela em carrossel) */
.apl-open .apl-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--on-accent,#fff);color:var(--accent-text,#0a0a0a);font-size:12px}
dialog.modal.apl{width:min(1100px,96vw);max-height:94vh}
.apl-wrap{display:flex;flex-direction:column;gap:12px}
.apl-msg{padding:10px 14px;border-radius:12px;background:var(--ok-soft);color:var(--ok-text);font-weight:600}
.apl-msg.is-bad{background:var(--late-soft);color:var(--late-text)}
.apl-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.apl-head h4{font-size:20px;margin-top:2px}
.apl-cli{font-weight:800;color:var(--accent-text);letter-spacing:.02em}
.apl-meta{color:var(--muted);font-size:13.5px;margin-top:4px}
.apl-urg{color:var(--late-text)}.apl-alt{color:var(--warn-text)}
.apl-count{flex:none;font-size:12.5px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:2px 10px}
.apl-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;margin-top:12px}
.apl-media{min-width:0}
.apl-strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.apl-strip img,.apl-strip video{flex:0 0 100%;max-width:100%;max-height:62vh;object-fit:contain;border-radius:14px;background:var(--accent-soft);scroll-snap-align:center}
.apl-hint,.apl-empty{color:var(--muted);font-size:13px;margin-top:4px}
.apl-info{min-width:0;display:flex;flex-direction:column;gap:10px;max-height:62vh;overflow-y:auto;padding-right:4px}
.apl-box{border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.apl-box h5{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 4px}
.apl-box div{font-size:14.5px;line-height:1.55;overflow-wrap:anywhere}
.apl-box ul{margin:0;padding-left:18px}
.apl-box--alt{border-color:var(--warn);background:var(--warn-soft)}
.apl-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.apl-act{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;flex:1 1 320px}
.apl-act form{margin:0}.apl-act .v2-back[open]{flex-basis:100%}
.apl-nav{display:flex;justify-content:space-between;align-items:center;gap:10px}
.apl-done{text-align:center;padding:30px 10px;font-size:18px;display:grid;gap:14px;justify-items:center}
@media (max-width:760px){.apl-body{grid-template-columns:1fr}.apl-info{max-height:none}.apl-strip img,.apl-strip video{max-height:52vh}.apl-open span{display:none}}

/* 2.29.0: cores das versões da arte (vermelha = substituída, amarela = alteração esperando aprovação, verde = aprovada) */
.art-ver--cur.art-ver--new{border-color:var(--line-2,#cfd5de);box-shadow:none}
.art-ver--cur.art-ver--alt{border-color:var(--warn,#d98e04);background:color-mix(in srgb,var(--warn,#d98e04) 7%,var(--card));box-shadow:0 0 0 3px color-mix(in srgb,var(--warn,#d98e04) 18%,transparent)}
.art-ver--cur.art-ver--ok{border-color:var(--ok,#12a150);background:color-mix(in srgb,var(--ok,#12a150) 6%,var(--card));box-shadow:0 0 0 3px color-mix(in srgb,var(--ok,#12a150) 16%,transparent)}
.art-hist .art-ver.art-ver--old{border:1.5px solid var(--late,#dc2626);border-style:solid;background:color-mix(in srgb,var(--late,#dc2626) 6%,var(--card))}
.art-ver--old .art-hist-tag{background:var(--late,#dc2626);color:#fff}

/* 2.31.0: ideia só leitura (designer/videomaker) */
.v2-idea-ro { white-space: normal; line-height: 1.55; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; user-select: text; overflow-wrap: anywhere; margin-bottom: 8px; }
.v2-idea-ro a { text-decoration: underline; }
.v2-rob--idea .idea-imgs { margin-bottom: 8px; }

/* 2.32.0: alteração pedida pelo cliente bem visível */
.cal-post[data-alt="1"], .table-row[data-alt="1"] { box-shadow: inset 4px 0 0 #EA580C; background: #FFF4EC; outline: 2px solid #EA580C; outline-offset: -2px; position: relative; }
.cal-post[data-alt="1"]::before { content: "✏️ CLIENTE PEDIU ALTERAÇÃO"; display: block; margin: -2px 0 4px; padding: 2px 6px; border-radius: 4px; background: #C2410C; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.badge--cs-alteracao { background: #C2410C; color: #fff; border-color: #C2410C; font-weight: 700; }
.ct-filt .ct-alt { border-color: #C2410C; color: #C2410C; font-weight: 700; animation: calt-pulse 1.6s ease-in-out infinite; }
.ct-filt .ct-alt[aria-pressed="true"] { background: #C2410C; color: #fff; animation: none; }
body.ct-only-alt [data-alt="0"] { display: none !important; }
body.ct-only-alt .cal-count { display: none; }
@keyframes calt-pulse { 50% { box-shadow: 0 0 0 4px rgba(234, 88, 12, .25); } }
.calt-box { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; padding: 18px 20px; border: 2px solid #EA580C; border-left-width: 8px; border-radius: 12px; background: #FFF4EC; color: #431407; }
.calt-ic { font-size: 30px; line-height: 1; }
.calt-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.calt-tit { font-size: 20px; line-height: 1.25; color: #9A3412; }
.calt-with { font-size: 14px; }
.calt-msg { margin: 6px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid #FDBA74; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.calt-msg small { display: block; margin-top: 4px; color: #7C2D12; font-size: 12px; }
.calt-msg.is-old { opacity: .75; font-size: 13px; }
[data-theme="dark"] .cal-post[data-alt="1"], [data-theme="dark"] .table-row[data-alt="1"] { background: #3B1D0B; }
[data-theme="dark"] .calt-box { background: #2A1408; color: #FED7AA; }
[data-theme="dark"] .calt-tit { color: #FDBA74; }
[data-theme="dark"] .calt-msg { background: #1C0F07; border-color: #9A3412; color: #FFEDD5; }
[data-theme="dark"] .calt-msg small { color: #FDBA74; }
@media (max-width: 600px) { .calt-box { padding: 14px; gap: 10px; } .calt-tit { font-size: 17px; } .calt-ic { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .ct-filt .ct-alt { animation: none; } }

/* ======================================================================
 * 2.33.0 / 2.33.1: cor do post pela etapa (folha de fluxo da LDK). O cartão inteiro fica na cor,
 * no calendário, Kanban, lista e Suas atividades (atributo data-etapa no cartão).
 * Contraste conferido (WCAG AA, texto pequeno >= 4,5:1) e igual nos temas claro, escuro e Natal.
 * ==================================================================== */
[data-etapa="amarelo"],     .v2e--amarelo     { --e-bg: #FACC15; --e-tx: #3B1F02; }
[data-etapa="azul"],        .v2e--azul        { --e-bg: #2563EB; --e-tx: #FFFFFF; }
[data-etapa="vermelho"],    .v2e--vermelho    { --e-bg: #DC2626; --e-tx: #FFFFFF; }
[data-etapa="azulclaro"],   .v2e--azulclaro   { --e-bg: #7DD3FC; --e-tx: #0C4A6E; }
[data-etapa="roxo"],        .v2e--roxo        { --e-bg: #7C3AED; --e-tx: #FFFFFF; }
[data-etapa="verdeclaro"],  .v2e--verdeclaro  { --e-bg: #86EFAC; --e-tx: #14532D; }
[data-etapa="laranja"],     .v2e--laranja     { --e-bg: #C2410C; --e-tx: #FFFFFF; }
[data-etapa="rosa"],        .v2e--rosa        { --e-bg: #F472B6; --e-tx: #500724; }
[data-etapa="salmao"],      .v2e--salmao      { --e-bg: #FA8072; --e-tx: #4C0519; }
[data-etapa="verdeescuro"], .v2e--verdeescuro { --e-bg: #166534; --e-tx: #FFFFFF; }
[data-etapa="neon"],        .v2e--neon        { --e-bg: #39FF14; --e-tx: #052E16; }

/* selo da etapa fora dos cartões (topo do post, listas) */
.v2s.v2e .v2s-sit { background: var(--e-bg); color: var(--e-tx); }

/* o cartão inteiro na cor */
:is(.cal-post, .kcard, .table-row)[data-etapa]:not([data-etapa=""]), .v2-act[data-etapa]:not([data-etapa=""]) > a {
	background: var(--e-bg) !important; color: var(--e-tx) !important;
	border-color: rgba(0, 0, 0, .22) !important; box-shadow: none !important; animation: none;
}
:is(.cal-post, .kcard, .table-row)[data-etapa]:not([data-etapa=""]) :is(h4, b, strong, small, p, .cal-cli, .kcard-sub, .muted, .fmt-ic, .kcard-foot > span),
:is(.cal-post, .table-row)[data-etapa]:not([data-etapa=""]) > span,
.v2-act[data-etapa]:not([data-etapa=""]) > a :is(strong, small, .muted, .v2-act-main) {
	color: var(--e-tx) !important; opacity: 1 !important; text-shadow: none !important;
}
/* selos e botões dentro do cartão: sempre branco com texto preto (lê em qualquer cor e tema) */
:is(.cal-post, .kcard, .table-row)[data-etapa]:not([data-etapa=""]) :is(.badge, .due, .v2s-sit, .v2s-tag, .fmt-badge, .apr-mini button),
.v2-act[data-etapa]:not([data-etapa=""]) > a :is(.badge, .due, .v2s-sit, .v2s-tag, .btn:not(.btn--primary)) {
	background: #FFFFFF !important; color: #111111 !important; border: 1px solid rgba(0, 0, 0, .25) !important; opacity: 1 !important;
}
html body :is(.cal-post, .kcard, .table-row, .v2-act)[data-etapa]:not([data-etapa=""]) :is(.v2s-tag--bad, .badge--late, .due--late) {
	background: #111111 !important; color: #FFFFFF !important; border-color: #111111 !important;
}
/* temas escuros: borda clara para o cartão não sumir no fundo */
:is([data-theme="dark"], html[data-natal]) :is(.cal-post, .kcard, .table-row)[data-etapa]:not([data-etapa=""]),
:is([data-theme="dark"], html[data-natal]) .v2-act[data-etapa]:not([data-etapa=""]) > a { border-color: rgba(255, 255, 255, .4) !important; }
/* calendário minimizado: o cartão que abre ao passar o mouse continua na cor */
.cal--mini .cal-day .cal-post[data-etapa]:not([data-etapa=""]) { background: var(--e-bg) !important; }

/* legenda das cores */
.v2e-legenda { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 12px; font-size: 12px; color: var(--ink-2, var(--ink)); }
.v2e-leg { display: inline-flex; align-items: center; gap: 6px; }
.v2e-leg i { width: 14px; height: 14px; border-radius: 4px; background: var(--e-bg); border: 1px solid rgba(0, 0, 0, .25); }
:is([data-theme="dark"], html[data-natal]) .v2e-leg i { border-color: rgba(255, 255, 255, .45); }

/* prazo da Marília */
.v233-prazo { display: inline-block; }
.v233-prazo > summary { list-style: none; cursor: pointer; }
.v233-prazo > summary::-webkit-details-marker { display: none; }
.v233-prazo[open] { display: block; width: 100%; margin-top: 8px; }
.v233-prazo-body { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); max-width: 460px; }
/* 2.34.0: prazo de entrega do planejamento */
.due--ok { color: #0f7a3d; font-weight: 600; }
[data-theme="dark"] .due--ok { color: #5fe39a; }
.v234-plan-prazo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 12px; }

/* 2.35.0: etapa Alteração (amarelo, um tom diferente do Planejamento) e colunas automáticas do Kanban */
[data-etapa="alteracao"], .v2e--alteracao { --e-bg: #FDE047; --e-tx: #3B1F02; }
.kcol-body[data-fixa] { background-image: repeating-linear-gradient(135deg, transparent 0 10px, rgba(127,127,127,.06) 10px 20px); }

/* ======================================================================
 * 2.36.0: painel profissional. O tema escuro (padrão) deixa o "vidro azul" com luzes e fica sóbrio,
 * só com a identidade da LDK: preto #05080B, superfícies lisas e ciano #14E9EC de destaque.
 * ==================================================================== */
[data-theme="dark"] {
	--ink: #EDEFF2; --ink-2: #DADDE2; --ink-3: #C3C8CF;
	--bg: #05080B; --card: #0D1217; --card-solid: #0D1217;
	--line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
	--muted: #9AA3AD; --muted-2: #7F8893;
	--accent-soft: rgba(20,233,236,.10);
	--shadow: 0 1px 2px rgba(0,0,0,.35);
}
[data-theme="dark"] body.lk { background: #05080B !important; }
[data-theme="dark"] .card, [data-theme="dark"] .stat, [data-theme="dark"] .kpi, [data-theme="dark"] .dsh-card,
[data-theme="dark"] .ov-card, [data-theme="dark"] .table, [data-theme="dark"] .kcol {
	background: #0D1217; border-color: rgba(255,255,255,.08); -webkit-backdrop-filter: none; backdrop-filter: none;
}
[data-theme="dark"] .side { background: #080C10; border-right: 1px solid rgba(255,255,255,.06); -webkit-backdrop-filter: none; backdrop-filter: none; color: #C3C8CF; }
[data-theme="dark"] .side-nav a { color: #B4BBC4; }
[data-theme="dark"] .side-nav a:hover { background: rgba(255,255,255,.04); color: #fff; }
[data-theme="dark"] .side-nav a.is-active { background: rgba(20,233,236,.10); color: #fff; box-shadow: inset 2px 0 0 #14E9EC; }
[data-theme="dark"] .side .side-label { color: #7F8893; }
[data-theme="dark"] .top { background: rgba(5,8,11,.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-theme="dark"] .ctop, [data-theme="dark"] .toast { background: #0D1217; }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea,
[data-theme="dark"] .copy-row input, [data-theme="dark"] .comment-box textarea, [data-theme="dark"] .notes-area,
[data-theme="dark"] .focus-filter { background: #05080B; border-color: rgba(255,255,255,.14); }
[data-theme="dark"] .avatar { background: rgba(20,233,236,.14); color: #EDEFF2; }
