/* ============================================================
   Millenium — Painel administrativo
   Reaproveita tokens/botões de styles.css.
   Cores de status são reservadas e sempre acompanhadas de texto.
   ============================================================ */
:root {
  --surface: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #242424;
  --line: rgba(255, 255, 255, .09);
  --text-2: #b9b5ad;
  --text-3: #85827b;
  --st-pendente: #f0a03c;
  --st-confirmado: #6aa6f5;
  --st-concluido: #46bf82;
  --st-faltou: #ef5d52;
  --st-cancelado: #6f6c66;
  --side-w: 248px;
}

body.adm { background: var(--ink); font-size: 15px; }
body.adm.modal-open { overflow: hidden; }

/* ---------- login ---------- */
.login { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(50% 50% at 50% 30%, rgba(201,162,39,.14), transparent 70%), var(--ink); }
.login__card { width: min(420px, 100%); text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px 28px; }
.login__card img { margin: 0 auto 18px; border-radius: 50%; }
.login__card h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 34px; margin: 0; }
.login__card > p { color: var(--text-2); margin: 8px 0 26px; }
.login__card .btn { width: 100%; }
.login__note { font-size: 13px; color: var(--text-3); margin: 18px 0 0; line-height: 1.5; }

/* ---------- estrutura ---------- */
.shell { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100svh; }
.side { position: sticky; top: 0; height: 100svh; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px; overflow-y: auto; z-index: 40; }
.side__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 20px; }
.side__brand img { border-radius: 50%; }
.side__brand span { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; line-height: 1; display: flex; flex-direction: column; }
.side__brand small { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--brass-2); font-weight: 800; margin-top: 4px; }
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-weight: 600; transition: background .15s, color .15s; }
.side__nav a i { font-style: normal; width: 20px; text-align: center; opacity: .8; }
.side__nav a:hover { background: var(--surface-2); color: var(--bone); }
.side__nav a.is-active { background: var(--bone); color: var(--ink); }
.side__sep { margin: 18px 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.pill { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--st-pendente); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.pill--red { background: var(--st-faltou); color: #fff; }
.side__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
.side__foot a, .side__foot button { background: none; border: 0; color: var(--text-2); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px; }
.side__foot a:hover, .side__foot button:hover { color: var(--bone); }
.side__backdrop { display: none; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 16px; padding: 22px clamp(16px, 3vw, 36px) 14px; }
.top__burger { display: none; background: var(--surface-2); border: 1px solid var(--line); color: var(--bone); width: 42px; height: 42px; border-radius: 10px; font-size: 18px; flex: none; }
.top__title { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.top__sub { margin: 4px 0 0; color: var(--text-3); font-size: 14px; }
.top__sub::first-letter, .cal-date::first-letter { text-transform: uppercase; }
.top__actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.demo-bar { margin: 0 clamp(16px, 3vw, 36px); padding: 7px 12px; border-radius: 8px; background: rgba(240,160,60,.1); color: var(--st-pendente); font-size: 12.5px; font-weight: 700; }
.view { padding: 20px clamp(16px, 3vw, 36px) 60px; outline: none; }

/* ---------- blocos ---------- */
.grid { display: grid; gap: 16px; }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--2 { grid-template-columns: 1.4fr 1fr; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-width: 0; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__title { margin: 0; font-size: 15px; font-weight: 800; }
.card__link { background: none; border: 0; color: var(--brass-2); font-weight: 700; font-size: 13px; text-decoration: none; padding: 0; }
.stack { display: grid; gap: 16px; }
.mt { margin-top: 16px; }

.kpi__label { margin: 0; color: var(--text-3); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kpi__value { margin: 8px 0 2px; font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__foot { margin: 0; color: var(--text-2); font-size: 13px; }

.empty { color: var(--text-3); text-align: center; padding: 28px 10px; margin: 0; }

/* lista de itens */
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows__time { font-family: var(--font-display); font-size: 20px; width: 56px; flex: none; font-variant-numeric: tabular-nums; }
.rows__main { min-width: 0; flex: 1; }
.rows__main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows__main span { color: var(--text-3); font-size: 13px; }
.rows__act { display: flex; gap: 6px; flex: none; }

/* status */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--surface-3); color: var(--bone); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--text-3)); }
.st-pendente { --c: var(--st-pendente); }
.st-confirmado { --c: var(--st-confirmado); }
.st-concluido { --c: var(--st-concluido); }
.st-faltou, .st-atrasado { --c: var(--st-faltou); }
.st-cancelado { --c: var(--st-cancelado); }
.st-ativo { --c: var(--st-concluido); }
.badge--plan { background: rgba(201,162,39,.15); color: var(--brass-2); }
.badge--plan::before { background: var(--brass); }

/* botões pequenos */
.ibtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--bone); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.ibtn:hover { background: var(--surface-3); border-color: rgba(255,255,255,.2); }
.ibtn--ok { border-color: rgba(70,191,130,.45); color: var(--st-concluido); }
.ibtn--wa { border-color: rgba(37,211,102,.45); color: #3fdc7d; }
.ibtn--danger { color: var(--st-faltou); }
.ibtn--brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.ibtn--brass:hover { background: var(--brass-2); }

/* ---------- gráfico ---------- */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--text-3); font-size: 11px; font-family: var(--font-body); }
.chart .bar { fill: var(--brass); transition: opacity .15s; }
.chart .bar.is-today { fill: var(--brass-2); }
.chart .bar-label { fill: var(--bone); font-size: 11px; font-weight: 800; font-family: var(--font-body); }
.chart .hit { fill: transparent; cursor: default; }
.chart:hover .bar { opacity: .45; }
.chart .bar.is-hover { opacity: 1; }
.tip { position: absolute; pointer-events: none; background: var(--bone); color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.4); transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; opacity: 0; transition: opacity .12s; z-index: 2; }
.tip.is-on { opacity: 1; }
.tip strong { font-size: 15px; display: block; }
.chart-table { margin-top: 10px; font-size: 13px; }
.chart-table summary { cursor: pointer; color: var(--text-3); font-weight: 700; }

/* ---------- tabela ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.search { min-width: 220px; flex: 1; max-width: 380px; background: var(--surface); border: 1px solid var(--line); color: var(--bone); border-radius: 10px; padding: 10px 14px; font: inherit; }
.search:focus { outline: none; border-color: var(--brass); }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255,255,255,.02); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .acts { text-align: right; white-space: nowrap; }
.tbl .acts .ibtn + .ibtn { margin-left: 6px; }
.tbl .sub { display: block; color: var(--text-3); font-size: 13px; }
.tbl tr.is-clickable { cursor: pointer; }

/* ---------- agenda ---------- */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.cal-date { font-weight: 800; font-size: 17px; min-width: 190px; }
.cal-date input { background: transparent; border: 0; color: var(--text-3); font: inherit; font-size: 13px; color-scheme: dark; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font-weight: 700; font-size: 13px; }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); margin: 0 0 12px; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

.blocks-note { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.blocks-note span { display: inline-flex; align-items: center; gap: 8px; background: rgba(239,93,82,.1); color: #ff8f86; border-radius: 10px; padding: 6px 6px 6px 12px; font-size: 13px; font-weight: 700; }
.blocks-note button { background: none; border: 0; color: inherit; font-weight: 800; padding: 2px 8px; }

.cal { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.cal__grid { display: grid; position: relative; min-width: max-content; }
.cal__head { position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 10px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cal__head .avatar-sm { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; flex: none; }
.cal__head small { display: block; color: var(--text-3); font-weight: 600; font-size: 12px; }
.cal__times { position: relative; border-right: 1px solid var(--line); }
.cal__times span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cal__times span:first-child { transform: translateY(4px); }
.cal__col { position: relative; border-right: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); }
.cal__col:last-child { border-right: 0; }
.cal__col.is-blocked { background-color: rgba(239,93,82,.05); background-image: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(239,93,82,.08) 10px 11px); }
.cal__slot { position: absolute; left: 0; right: 0; background: none; border: 0; padding: 0; color: transparent; font-size: 12px; font-weight: 700; }
.cal__slot:hover { background: rgba(201,162,39,.08); color: var(--brass-2); }
.cal__now { position: absolute; left: 0; right: 0; height: 2px; background: var(--st-faltou); z-index: 2; pointer-events: none; }
.cal__now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--st-faltou); }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 5px 8px 5px 11px; background: var(--surface-3); border: 0; color: var(--bone); text-align: left; overflow: hidden; z-index: 1; box-shadow: 0 0 0 2px var(--surface); transition: transform .12s; font-size: 12.5px; line-height: 1.3; }
.ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.ev:hover { transform: scale(1.015); z-index: 2; }
.ev strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.ev span { display: block; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .06em; }
.ev.st-cancelado { opacity: .5; }
.ev.st-cancelado strong { text-decoration: line-through; }
.ev.st-concluido { background: #1c2520; }
.ev.st-faltou { background: #2a1c1b; }
.closed-day { padding: 40px; text-align: center; color: var(--text-3); }

/* ---------- formulários ---------- */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-weight: 700; font-size: 13px; color: var(--text-2); }
.f input, .f select, .f textarea { width: 100%; background: var(--ink); color: var(--bone); border: 1px solid var(--surface-3); border-radius: 10px; padding: 10px 12px; font: inherit; color-scheme: dark; }
.f textarea { resize: vertical; min-height: 70px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--brass); }
.f small { color: var(--text-3); font-size: 12px; }
.f .err { color: #ff8f86; }
.f input[aria-invalid="true"] { border-color: var(--st-faltou); }
.fcheck { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--brass); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.checks label { display: flex; align-items: center; gap: 8px; background: var(--ink); border: 1px solid var(--surface-3); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--brass); background: rgba(201,162,39,.08); }
.checks input, .f .checks input { accent-color: var(--brass); width: 16px; height: 16px; padding: 0; flex: none; margin: 0; }
.checks b { margin-left: auto; color: var(--text-3); font-weight: 700; }
.warn { background: rgba(240,160,60,.1); color: var(--st-pendente); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 700; margin: 0; }
.totalbox { display: flex; justify-content: space-between; align-items: baseline; background: var(--ink); border-radius: 10px; padding: 10px 14px; }
.totalbox strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.status-row { display: flex; flex-wrap: wrap; gap: 6px; }
.status-row button { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--bone); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.status-row button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.status-row button[aria-pressed="true"] { background: var(--surface-3); border-color: var(--c); }

/* horários */
.hours-tbl td { padding: 10px 16px; }
.hours-tbl input[type="time"] { background: var(--ink); color: var(--bone); border: 1px solid var(--surface-3); border-radius: 8px; padding: 6px 8px; font: inherit; color-scheme: dark; }
.hours-tbl input:disabled { opacity: .3; }

/* lista ordenável de cadastros */
.items { display: grid; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.item__main { flex: 1; min-width: 0; }
.item__main strong { display: flex; align-items: center; gap: 8px; }
.item__main span { color: var(--text-3); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__price { font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
.item__acts { display: flex; gap: 6px; }

/* ---------- modal ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--bone); width: min(640px, 100% - 24px); max-height: calc(100svh - 24px); }
.modal::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.modal__box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; max-height: calc(100svh - 24px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 24px; }
.modal__x { background: none; border: 0; color: var(--text-2); font-size: 18px; width: 36px; height: 36px; border-radius: 8px; }
.modal__x:hover { background: var(--surface-2); }
.modal__body { padding: 20px 22px; overflow-y: auto; display: grid; gap: 14px; }
.modal__foot { display: flex; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal__foot .spacer { flex: 1; }
.modal .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--bone); color: var(--ink); font-weight: 800; padding: 12px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- login real ---------- */
.login__card { display: grid; gap: 14px; }
.login__card .f { text-align: left; }
.login__erro { min-height: 1.2em; margin: 0; color: #ff8f86; font-size: 14px; font-weight: 700; }
.side__foot { flex-wrap: wrap; align-items: center; }
.side__user { width: 100%; padding: 0 8px; color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill--green { background: #25d366; color: var(--ink); }
.st-aguardando { --c: var(--st-pendente); }
.muted-p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.f input[readonly] { color: var(--text-2); }
.err-txt { color: #ff8f86 !important; max-width: 260px; }
.msg-cell { max-width: 420px; }
.msg-cell .sub { white-space: normal; }

/* ---------- abas ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; scrollbar-width: none; }
.tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-2); font-weight: 700; padding: 10px 14px; margin-bottom: -1px; }
.tab:hover { color: var(--bone); }
.tab[aria-selected="true"] { color: var(--bone); border-color: var(--brass); }

/* ---------- balão de WhatsApp (prévia) ---------- */
.wa-bubble { position: relative; background: #144d37; color: #e9f5ee; border-radius: 4px 14px 14px 14px; padding: 10px 14px 20px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; max-width: 460px; }
.wa-bubble small { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #8fd3ff; }

/* ---------- cartões de automação ---------- */
.group-title { margin: 6px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.autos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.auto { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; align-content: start; transition: opacity .2s; }
.auto.is-off { opacity: .55; }
.auto__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.auto__head h3 { margin: 0 0 6px; font-size: 16px; }
.auto__quando { margin: 0; color: var(--text-3); font-size: 13px; }
.auto__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.auto__foot code, .tbl code { font-size: 12px; color: var(--brass-2); background: var(--ink); padding: 3px 8px; border-radius: 6px; overflow-wrap: anywhere; }

/* chave liga/desliga */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-3); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bone); transition: transform .2s var(--ease); }
.switch input:checked + span { background: #25d366; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--brass-2); outline-offset: 2px; }

/* caixa de entrada */
.inbox { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.inbox li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.inbox li.is-new { border-color: rgba(37,211,102,.5); }
.inbox__who { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.inbox__who span { color: var(--text-3); font-size: 13px; }
.inbox__txt { margin: 0; white-space: pre-wrap; }
.inbox__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.steps-list { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 14px; display: grid; gap: 6px; }
.ideas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--text-2); font-size: 14px; }
.ideas strong { color: var(--bone); }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .side.is-open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.5); }
  .side__backdrop.is-on { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 35; }
  .top__burger { display: grid; place-items: center; }
  .top { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr; }
  .top__actions { width: 100%; justify-content: stretch; }
  .top__actions > * { flex: 1; }
  .item { flex-wrap: wrap; }
  .item__acts { width: 100%; }
  .item__acts .ibtn { flex: 1; }
  .rows__act .ibtn span { display: none; }
  .kpi__value { font-size: 28px; }
  .grid--kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid--kpi .card { padding: 14px; }
  .kpi__label { font-size: 10.5px; letter-spacing: .08em; }
  .kpi__foot { font-size: 12px; }
}
