/* =====================================================================
   Dashora — estilos do sistema (Bootstrap 5.3 + ajustes)
   ===================================================================== */
:root {
  --brand: #1F4E79;
  --brand-2: #2E86AB;
  --ink: #1b2430;
  --muted: #6b7785;
  --line: #e4e8ee;
  --surface: #f4f6f9;
  --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
body { background: var(--surface); color: var(--ink); font-size: .95rem; }
a { color: var(--brand); }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; color: #fff; }

.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus, .btn-brand:active { background: color-mix(in srgb, var(--brand) 85%, #000); border-color: color-mix(in srgb, var(--brand) 85%, #000); color: #fff; }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: color-mix(in srgb, var(--brand) 60%, #fff); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-label { font-weight: 600; font-size: .85rem; color: #3a4552; }

.brand-mark { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.brand-mark.sm { width: 34px; height: 34px; border-radius: 9px; font-size: 1rem; }

/* ---------- Login ---------- */
.auth-bg { background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--brand) 14%, #fff), var(--surface) 55%); min-height: 100vh; }
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 8vh 16px; }
.auth-card { border-radius: 18px; }
.auth-logo { max-height: 56px; max-width: 200px; object-fit: contain; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 250px; background: #111c2b; color: #c9d3df; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.offcanvas.admin-side { height: 100%; position: fixed; }
.side-brand { display: flex; align-items: center; gap: .7rem; padding: 1.25rem 1.25rem 1rem; color: #fff; text-decoration: none; }
.side-brand img { max-height: 34px; max-width: 70px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.side-brand small { display: block; color: #8494a7; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.side-nav { padding: .5rem .75rem; gap: 2px; }
.side-nav .nav-link { color: #c9d3df; border-radius: 8px; padding: .6rem .8rem; display: flex; gap: .6rem; align-items: center; font-size: .92rem; }
.side-nav .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav .nav-link.active { background: var(--brand); color: #fff; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: .85rem 1.5rem; position: sticky; top: 0; z-index: 100; }
.admin-content { padding: 1.5rem; max-width: 1400px; }

.stat-card .stat-icon { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-size: 1.3rem; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.card { border-radius: 14px; }
.card-header:first-child { border-radius: 14px 14px 0 0; }
.section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: .75rem; }

.swatch-row { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); display: inline-block; }
.swatch.sm { width: 24px; height: 24px; border-radius: 6px; }

.color-field { display: flex; align-items: center; gap: .5rem; }
.color-field input[type=color] { width: 42px; height: 38px; padding: 3px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-shrink: 0; }
.color-field input[type=text] { font-family: Consolas, monospace; text-transform: uppercase; }
.palette-editor { display: flex; flex-wrap: wrap; gap: .5rem; }
.palette-editor .pal-item { position: relative; }
.palette-editor .pal-item input[type=color] { width: 48px; height: 48px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.palette-editor .pal-item .pal-del { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; font-size: 11px; line-height: 16px; padding: 0; border-radius: 50%; }

.sticky-preview { position: sticky; top: 80px; }
.logo-box { width: 100%; max-width: 280px; height: 120px; border: 2px dashed var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; }
.logo-box img { max-width: 90%; max-height: 90px; object-fit: contain; }

.area-pill { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.list-group-item.active-area { background: color-mix(in srgb, var(--brand) 8%, #fff); border-left: 3px solid var(--brand); }
.table > :not(caption) > * > * { padding: .65rem .75rem; }
.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: #fafbfc; }

/* ---------- App (usuário) ---------- */
.app-nav { background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 0; position: sticky; top: 0; z-index: 1030; }
.app-nav .nav-logo { max-height: 32px; max-width: 120px; object-fit: contain; }
.app-content { padding-top: 1.5rem; padding-bottom: 3rem; }

.project-card { transition: transform .15s, box-shadow .15s; overflow: hidden; }
.project-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(20,30,50,.1) !important; }
.project-card .thumb { background: #eef1f5; padding: 10px; border-bottom: 1px solid var(--line); }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .bi { font-size: 3rem; color: var(--brand); }

/* Assistente (wizard) */
.wizard-head { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.wizard-steps { display: flex; gap: .5rem; margin-top: .9rem; }
.wizard-step { flex: 1; display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--muted); font-size: .86rem; padding: .35rem .25rem; border-radius: 8px; }
.wizard-step .num { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); font-weight: 700; font-size: .8rem; background: #fff; flex-shrink: 0; }
.wizard-step.done { color: var(--ink); }
.wizard-step.done .num { background: color-mix(in srgb, var(--brand) 12%, #fff); border-color: var(--brand); color: var(--brand); }
.wizard-step.current { color: var(--ink); font-weight: 700; }
.wizard-step.current .num { background: var(--brand); border-color: var(--brand); color: #fff; }
.wizard-step.locked { pointer-events: none; opacity: .6; }
.wizard-step:hover:not(.locked) { background: var(--surface); }
.progress.wizard-progress { height: 6px; border-radius: 6px; background: var(--line); }
.progress.wizard-progress .progress-bar { background: var(--brand); transition: width .4s; }
.wizard-foot { position: sticky; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(4px); border-top: 1px solid var(--line); padding: .85rem 0; margin-top: 1.5rem; z-index: 50; }

.choice-card { border: 2px solid var(--line); border-radius: 12px; padding: .9rem; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; height: 100%; display: block; }
.choice-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, #fff); }
.btn-check:checked + .choice-card, .choice-card.selected { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.choice-card .bi { font-size: 1.35rem; }

.layout-mini { display: flex; gap: 4px; height: 70px; background: #eef1f5; border-radius: 8px; padding: 5px; }
.layout-mini .col-main { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.layout-mini span { background: #c9d2dd; border-radius: 3px; flex: 1; }
.layout-mini .side { width: 22%; flex: none; }

.guide-list { font-size: .85rem; color: var(--muted); padding-left: 1.1rem; }
.guide-list li { margin-bottom: .2rem; }
.char-count { font-size: .75rem; color: var(--muted); }

.sec-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: .45rem; }
.sec-row .sec-num { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: #fff; width: 40px; height: 40px; font-size: 1.1rem; }
.stepper button:hover { background: var(--surface); }
.stepper input { width: 54px; border: 0; text-align: center; font-weight: 700; font-size: 1.1rem; }

/* Etapa 2 — faixas arrastáveis */
.row-list { display: flex; flex-direction: column; gap: .5rem; }
.row-card { display: flex; align-items: stretch; gap: .5rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .5rem; transition: box-shadow .15s, border-color .15s; }
.row-card:hover { border-color: color-mix(in srgb, var(--brand) 35%, #fff); }
.row-card .drag-handle { display: flex; align-items: center; justify-content: center; width: 26px; color: var(--muted); cursor: grab; border-radius: 8px; flex-shrink: 0; font-size: 1.1rem; }
.row-card .drag-handle:hover { background: var(--surface); color: var(--brand); }
.row-card .row-body { flex: 1; min-width: 0; }
.row-card .row-meta { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); margin-bottom: .35rem; }
.row-card .row-meta strong { color: var(--ink); font-size: .8rem; }
.row-card .row-actions { display: flex; gap: 2px; margin-left: auto; }
.row-card .row-actions button { border: 0; background: transparent; color: var(--muted); padding: 0 .3rem; border-radius: 6px; }
.row-card .row-actions button:hover { background: var(--surface); color: var(--brand); }
.row-card .row-actions button.del:hover { color: #D64545; }
.row-card.is-side { background: color-mix(in srgb, var(--brand) 5%, #fff); }
.block-chips { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 34px; border-radius: 8px; }
.block-chip { display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid var(--line); background: var(--surface); border-radius: 8px; padding: .3rem .55rem; font-size: .8rem; cursor: grab; max-width: 100%; user-select: none; }
.block-chip .num { background: var(--brand); color: #fff; border-radius: 5px; font-size: .68rem; font-weight: 700; padding: 1px 5px; }
.block-chip .pct { color: var(--muted); font-size: .7rem; }
.block-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.block-chip.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); }
.sortable-ghost { opacity: .35; }
.sortable-chosen { box-shadow: 0 .4rem 1rem rgba(20,30,50,.15); }
.sortable-drag { cursor: grabbing !important; }
.block-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: .75rem; min-height: 52px; font-size: .85rem; }
.block-bar .form-control { max-width: 240px; }
.canvas-edit .dc-scaler { overflow: visible; }

/* Etapa 3 — editor */
.editor-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.editor-panel .panel-head { padding: .9rem 1rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .5rem; }
.editor-panel .panel-body { padding: 1rem; max-height: calc(100vh - 300px); overflow-y: auto; }
.sec-tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .75rem; }
.sec-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .3rem .6rem; font-size: .8rem; }
.sec-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.sec-tabs button .bi-check-circle-fill { color: #2E9E5B; }
.sec-tabs button.active .bi-check-circle-fill { color: #fff; }
.visual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .45rem; }
.visual-opt { border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: .55rem .35rem; text-align: center; font-size: .74rem; line-height: 1.15; cursor: pointer; transition: all .12s; }
.visual-opt .bi { display: block; font-size: 1.25rem; margin-bottom: .25rem; color: var(--brand); }
.visual-opt:hover { border-color: color-mix(in srgb, var(--brand) 45%, #fff); }
.visual-opt.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); font-weight: 600; }
.cat-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin: .75rem 0 .35rem; }
.item-box { border: 1px solid var(--line); border-radius: 10px; padding: .7rem; margin-bottom: .6rem; background: #fbfcfd; }
.item-box .item-head { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; font-weight: 700; font-size: .82rem; }
.item-box .form-control, .item-box .form-select { font-size: .84rem; padding: .3rem .55rem; }
.item-box label { font-size: .72rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.kpi-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.kpi-chip { border: 1px dashed color-mix(in srgb, var(--brand) 50%, #fff); color: var(--brand); background: #fff; border-radius: 20px; padding: .2rem .65rem; font-size: .76rem; cursor: pointer; }
.kpi-chip:hover { background: color-mix(in srgb, var(--brand) 8%, #fff); }

.canvas-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.canvas-toolbar { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-size: .82rem; color: var(--muted); }

.spec-section { border-left: 3px solid var(--brand); padding-left: .9rem; margin-bottom: 1.1rem; }
.spec-section h3 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.spec-section table { font-size: .82rem; }
.briefing-box { white-space: pre-wrap; background: var(--surface); border-radius: 10px; padding: .9rem; font-size: .88rem; }

@media print {
  .app-nav, .wizard-head, .wizard-foot, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
}

/* Etapa 4 — descrição e documentação */
.desc-card { border-top: 4px solid var(--brand) !important; }
.desc-text { font-size: .95rem; line-height: 1.6; color: #2b3644; max-height: 260px; overflow-y: auto; }
.desc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.desc-meta span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.desc-meta strong { font-size: .88rem; }
.doc-panel { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, #fff), #fff 45%); }
.doc-list { display: flex; flex-direction: column; gap: .4rem; max-height: 260px; overflow-y: auto; }
.doc-item { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .55rem; background: #fff; }
.doc-item .btn { padding: .15rem .4rem; }
.doc-ico { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--brand); flex-shrink: 0; }
.doc-ico.ia { background: color-mix(in srgb, #F2A541 20%, #fff); color: #9a6200; }
.min-w-0 { min-width: 0; }
.ia-orb { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex-shrink: 0; }
.ia-orb.pulse { animation: iaPulse 1.6s ease-in-out infinite; }
@keyframes iaPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
.ia-steps { list-style: none; padding: 0; margin: 0 0 1rem; }
.ia-steps li { display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.ia-steps li:last-child { border-bottom: 0; }
.ia-steps li strong { display: block; font-size: .9rem; }
.ia-steps li span { font-size: .78rem; }
.ia-steps li > i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .8rem; }
.ia-steps li.run { color: var(--ink); }
.ia-steps li.run > i { border-color: var(--brand); border-right-color: transparent; animation: iaSpin .8s linear infinite; }
.ia-steps li.ok { color: var(--ink); }
.ia-steps li.ok > i { background: #2E9E5B; border-color: #2E9E5B; color: #fff; }
.ia-steps li.ok > i::before { content: "✓"; }
.ia-steps li.err > i { background: #D64545; border-color: #D64545; color: #fff; }
.ia-steps li.err > i::before { content: "!"; font-weight: 700; }
@keyframes iaSpin { to { transform: rotate(360deg); } }

/* Identidades visuais */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; border: 2px dashed color-mix(in srgb, var(--brand) 40%, #fff); border-radius: 14px; padding: 1.4rem 1rem; text-align: center; cursor: pointer; background: color-mix(in srgb, var(--brand) 4%, #fff); transition: background .15s, border-color .15s; margin: 0; }
.dropzone .bi { font-size: 2rem; color: var(--brand); }
.dropzone span { font-size: .8rem; color: var(--muted); }
.dropzone.over { background: color-mix(in srgb, var(--brand) 12%, #fff); border-color: var(--brand); }
.dropzone.enviando { opacity: .6; pointer-events: none; }
.dropzone.enviando strong::after { content: " — enviando…"; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.ref-item { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.ref-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ref-item:hover img { transform: scale(1.04); }
.ref-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; line-height: 20px; border-radius: 50%; font-size: 14px; }
.analise-card { background: linear-gradient(180deg, color-mix(in srgb, #F2A541 7%, #fff), #fff 40%); }
.trait { display: inline-block; font-size: .76rem; padding: .2rem .6rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.comp-box { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .65rem; background: #fff; height: 100%; }
.estilo-grupo { border: 1px solid var(--line); border-radius: 10px; padding: .7rem; height: 100%; background: #fbfcfd; }
.idt-pick .choice-card { padding: .6rem; }
.idt-pick .swatch-row .swatch { width: 18px; height: 18px; border-radius: 4px; }

/* Etapa 1 — reunião, revisão da IA, tags e frequência */
.reuniao-card { border-left: 4px solid var(--brand) !important; }
.reuniao-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-size: 1.2rem; flex-shrink: 0; }
.arq-list { display: flex; flex-direction: column; gap: .4rem; }
.arq-item { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; background: #fff; }
.arq-item > .bi { font-size: 1.4rem; color: var(--brand); }
.arq-item .btn { padding: .15rem .45rem; }
.reuniao-progresso { border: 1px dashed var(--brand); border-radius: 10px; padding: .7rem .9rem; background: color-mix(in srgb, var(--brand) 5%, #fff); }
.revisao-card { background: linear-gradient(180deg, color-mix(in srgb, #F2A541 9%, #fff), #fff 35%); }
.rev-resumo { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; font-size: .9rem; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rev-item { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; background: #fff; }
.rev-item.wide { grid-column: 1 / -1; }
.rev-item .rev-val { max-height: 160px; overflow-y: auto; }
.rev-list { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; background: #fff; height: 100%; }
.rev-list.pendencias { border-color: #f5d28c; background: #fffaf0; }
.rev-list.riscos { border-color: #f3b4b4; background: #fff7f7; }
@media (max-width: 767px) { .rev-grid { grid-template-columns: 1fr; } }
.tag-input { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; min-height: 40px; padding: .3rem .45rem; border: 1px solid #dee2e6; border-radius: .5rem; background: #fff; cursor: text; }
.tag-input:focus-within { border-color: color-mix(in srgb, var(--brand) 60%, #fff); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.tag-input .tag { display: inline-flex; align-items: center; gap: .25rem; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); border-radius: 20px; padding: .15rem .3rem .15rem .6rem; font-size: .8rem; font-weight: 600; }
.tag-input .tag button { border: 0; background: transparent; color: inherit; line-height: 1; padding: 0 .25rem; font-size: 1rem; border-radius: 50%; }
.tag-input .tag button:hover { background: color-mix(in srgb, var(--brand) 20%, #fff); }
.tag-input .tag-entry { flex: 1; min-width: 140px; border: 0; outline: 0; font-size: .9rem; padding: .2rem; }
.freq-extra { display: none; margin-top: .6rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.freq-extra.show { display: block; }
.hora-chip { min-width: 62px; }
.aplicado { animation: aplicado 1.6s ease; }
@keyframes aplicado { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, .55); background-color: #eafaf1; } 100% { box-shadow: 0 0 0 10px transparent; } }
.reuniao-hint { border: 1px solid #f5d28c; background: #fffaf0; border-radius: 12px; }
.reuniao-hint summary { cursor: pointer; font-weight: 600; font-size: .85rem; padding: .55rem .8rem; list-style: none; }
.reuniao-hint summary::-webkit-details-marker { display: none; }
.reuniao-hint .corpo { padding: 0 .8rem .7rem; font-size: .8rem; }
.kpi-chip.reuniao { border-style: solid; border-color: #e2a400; color: #8a5a00; }
.btn-check:checked + .btn-outline-brand, .btn-outline-brand.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-check:checked + .hora-chip, .btn-check:checked + .btn-outline-secondary { background: #1b2430; border-color: #1b2430; color: #fff; }
