/* ============ Identidade My MCP aplicada a todas as telas ============
   Mesma linguagem da página inicial: papel e azul-marinho, títulos serifados,
   cantos arredondados, botões em pílula, vidro e aurora sutil.
   Carregado depois de styles.css. A cor de cada empresa continua em --brand. */

:root {
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --navy: #0a1730; --navy-2: #10284a; --navy-3: #1d3f74; --sky: #7ea6ff;
  --bg: #f5f4f0; --surface: #ffffff; --surface-2: #ecebe5; --surface-3: #d9d6ce;
  --text: #0b1220; --text-2: #2a3342; --muted: #5f6877; --border: #e3e1db; --border-2: #d3d0c8;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 18px 40px -30px rgba(11,18,32,.35);
  --shadow-lg: 0 40px 90px -40px rgba(11,18,32,.55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050c1a; --surface: #0d1a30; --surface-2: #132440; --surface-3: #1b3052;
    --text: #eef2f8; --text-2: #c9d3e3; --muted: #8ea3c4; --border: #1b2c48; --border-2: #263a5c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -30px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --bg: #050c1a; --surface: #0d1a30; --surface-2: #132440; --surface-3: #1b3052;
  --text: #eef2f8; --text-2: #c9d3e3; --muted: #8ea3c4; --border: #1b2c48; --border-2: #263a5c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -30px rgba(0,0,0,.7);
}

/* ---------- Tipografia ---------- */
.topbar h1, .card-head h3, .page-head h2, .hero h2, .auth-brand h2, .wizard h2, .modal h3, .drawer-head h3,
.landing h1, .org strong, .kpi strong, .ring-text strong, .meta-grid strong, .review-card h3, .empty strong, .callout strong {
  font-family: var(--serif); letter-spacing: -0.015em;
}
.topbar h1 { font-size: 20px; font-weight: 600; }
.card-head h3 { font-size: 17px; font-weight: 600; }
.hero h2 { font-size: 26px; }
.kpi strong { font-size: 30px; font-weight: 600; }
.ring-text strong { font-weight: 600; }

/* ---------- Formas ---------- */
.card, .kpi, .tenant-card, .provider, .answer, .result, .chunk, .file-row, .empty, .callout, .endpoint, .code, .diff > div, .meta-grid div, .option, .analysis-mini { border-radius: var(--radius); }
.card { box-shadow: var(--shadow); }
.kpi { box-shadow: var(--shadow); }
.diff > div, .meta-grid div, .option, .file-row, .endpoint { border-radius: 14px; }
.btn { border-radius: 999px; height: 40px; padding: 0 18px; font-weight: 600; }
.btn.sm { border-radius: 999px; height: 32px; padding: 0 14px; }
.btn.primary { box-shadow: 0 10px 24px -14px rgba(11,18,32,.55); }
.icon-btn { border-radius: 999px; }
.input, select.input, textarea.input, .input-group { border-radius: 12px; }
.input, select.input { height: 42px; }
.input-group input, .input-group .addon { height: 42px; }
.pill, .issue, .src, .kbd { border-radius: 999px; }
.issue { padding: 1px 9px; }
.seg { border-radius: 999px; } .seg button { border-radius: 999px; }
.modal { border-radius: 28px; padding: 26px; }
.menu { border-radius: 18px; }
.palette .box { border-radius: 22px; }
.drawer { border-radius: 28px 0 0 28px; }
.toast { border-radius: 999px; padding: 11px 18px; background: var(--navy); color: #fff; }
.toast .i { color: #8fd6b0; }
.avatar { border-radius: 12px; }
.avatar.round { border-radius: 50%; }

/* ---------- Telas de entrada: azul-marinho com aurora ---------- */
.center-screen { position: relative; overflow: hidden; background: #050c1a; color: #eef2f8; min-height: 100vh; min-height: 100svh; }
.center-screen::before, .center-screen::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; -webkit-filter: blur(80px); filter: blur(80px); }
.center-screen::before { width: 60vw; height: 60vw; left: -10vw; top: -20vw; background: radial-gradient(circle, rgba(52,104,214,.5), transparent 65%); animation: brand-drift 20s ease-in-out infinite alternate; }
.center-screen::after { width: 50vw; height: 50vw; right: -12vw; bottom: -22vw; background: radial-gradient(circle, rgba(126,166,255,.28), transparent 65%); animation: brand-drift 26s ease-in-out infinite alternate-reverse; }
@keyframes brand-drift { to { -webkit-transform: translate(6vw, 4vh) scale(1.08); transform: translate(6vw, 4vh) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .center-screen::before, .center-screen::after { animation: none; } }
.center-screen > * { position: relative; z-index: 1; }
.center-screen .landing > h1, .center-screen .landing > p, .center-screen .auth-foot, .center-screen .nav-label,
.center-screen .wizard > .row strong, .center-screen .steps-bar span { color: #eef2f8; }
.center-screen .landing > p, .center-screen .auth-foot, .center-screen .steps-bar span { color: #a9b8d0; }
.center-screen .steps-bar .on span { color: #fff; }
.center-screen .steps-bar i { background: rgba(255,255,255,.16); }
.center-screen .steps-bar .on i { background: var(--sky); }
.center-screen .auth-foot a, .center-screen .landing > .row a { color: #cddcff; }
.center-screen .landing > .row strong { color: #fff; }
.center-screen .landing > .row .btn.ghost { color: #dfe7f5; }
.center-screen .landing > .row .btn.ghost:hover { background: rgba(255,255,255,.08); }
.center-screen .card, .center-screen .tenant-card { border-radius: 28px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 100px -40px rgba(0,0,0,.75); }
.center-screen .tenant-card.new { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.28); color: #c9d3e3; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.center-screen .tenant-card.new strong { color: #fff !important; }
.center-screen .landing h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.025em; }
.center-screen .lp-mark { color: #fff; }
.auth .card, .wizard .card { padding: 32px; }
.auth-brand .avatar { border-radius: 16px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.secret-box { border-radius: 14px; }
.warn-box { border-radius: 14px; }

/* ---------- Painel das empresas ---------- */
/* Barra lateral: acompanha o tema (clara no claro, azul-marinho no escuro) */
:root { --side-bg: #ffffff; --side-text: #2a3342; --side-strong: #0b1220; --side-muted: #5f6877; --side-label: #8a919c; --side-hover: rgba(11,18,32,.05); --side-active: rgba(29,63,116,.09); --side-chip: rgba(11,18,32,.07); --side-line: #e3e1db; --side-track: #e3e1db; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --side-bg: linear-gradient(180deg, #0a1730 0%, #0d1f3d 100%); --side-text: #c3cfe2; --side-strong: #ffffff; --side-muted: #8ea3c4; --side-label: #6f84a6; --side-hover: rgba(255,255,255,.07); --side-active: rgba(255,255,255,.12); --side-chip: rgba(255,255,255,.14); --side-line: rgba(255,255,255,.1); --side-track: rgba(255,255,255,.14); }
}
:root[data-theme="dark"] { --side-bg: linear-gradient(180deg, #0a1730 0%, #0d1f3d 100%); --side-text: #c3cfe2; --side-strong: #ffffff; --side-muted: #8ea3c4; --side-label: #6f84a6; --side-hover: rgba(255,255,255,.07); --side-active: rgba(255,255,255,.12); --side-chip: rgba(255,255,255,.14); --side-line: rgba(255,255,255,.1); --side-track: rgba(255,255,255,.14); }
.sidebar { background: var(--side-bg); border-right: 1px solid var(--side-line); color: var(--side-text); }
.sidebar .org strong { color: var(--side-strong); }
.sidebar .org span { color: var(--side-muted); }
.sidebar .nav-label { color: var(--side-label); }
.sidebar .nav a { color: var(--side-text); border-radius: 999px; padding: 8px 14px; }
.sidebar .nav a:hover { background: var(--side-hover); color: var(--side-strong); }
.sidebar .nav a.active { background: var(--side-active); color: var(--side-strong); box-shadow: inset 3px 0 0 var(--brand); }
.sidebar .nav .count { background: var(--side-chip); color: var(--side-strong); }
.sidebar .nav .count.warn { background: var(--warn-soft); color: var(--warn); }
.sidebar-foot { border-top-color: var(--side-line); }
.sidebar .analysis-mini { background: var(--side-hover); color: var(--side-text); border-radius: 16px; }
.sidebar .analysis-mini .bar { background: var(--side-track); }
.sidebar .analysis-mini .bar > i { background: var(--brand); }
.sidebar .isolation { color: var(--side-muted); }
.topbar { background: rgba(245,244,240,.78); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border-bottom-color: var(--border); height: 64px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topbar { background: rgba(5,12,26,.72); } }
:root[data-theme="dark"] .topbar { background: rgba(5,12,26,.72); }
.search-trigger { border-radius: 999px; padding: 0 14px; }
.content { padding: 28px; }
.page-head p { font-size: 15px; }
.hero.card { padding: 26px 28px; }
.ring .fg { stroke: var(--brand); }
.feed .mark { background: rgba(126,166,255,.18); }
.callout { background: linear-gradient(120deg, #0a1730, #16325f); color: #fff; border: 0; }
.callout p { color: #b9c5d8; }
.callout .icon-box { background: rgba(255,255,255,.12); border-radius: 12px; }
.callout .btn { background: #fff; color: #0a1730; border-color: #fff; }
.t th { background: var(--surface-2); font-weight: 600; letter-spacing: .02em; }
.table-wrap { border-radius: 0 0 var(--radius) var(--radius); }
.code { background: #0a1730; }
.subnav a { border-radius: 999px; }
.subnav a.active { box-shadow: var(--shadow); }
.review-card { border-left-width: 4px; }
.diff .after { border-radius: 14px; }

@media (max-width: 760px) {
  .content { padding: 18px 16px; }
  .sidebar { border-radius: 0 24px 24px 0; }
  .drawer { border-radius: 0; }
}

/* Dentro dos cartões das telas de entrada, volta a cor normal do texto */
.center-screen .card, .center-screen .tenant-card:not(.new), .center-screen .card h2, .center-screen .card h3, .center-screen .tenant-card:not(.new) strong { color: var(--text); }
.center-screen .card .muted, .center-screen .tenant-card .addr, .center-screen .card .lead, .center-screen .card .hint { color: var(--muted); }
.center-screen .landing > .row .btn.ghost { border-color: rgba(255,255,255,.2); }

/* A animação de opacidade com a aurora desfocada deixava o cartão esmaecido em alguns navegadores */
.center-screen .fade { animation: none; }

/* Símbolo do logo em qualquer tela */
/* Logo do My MCP: # branco num quadrado azul-marinho (igual ao ícone do site) */
.lp-mark { flex: none; width: 26px; height: 26px; border-radius: 7px; background: #1c355e; border: 1px solid rgba(255,255,255,.28); display: inline-grid; place-items: center; box-sizing: border-box; }
.lp-mark::after { content: ""; width: 64%; height: 64%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 12 44 40'%3E%3Cpath d='M26 15 22 49M42 15 38 49M15 26h36M13 38h36' stroke='%23000' stroke-width='5.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 12 44 40'%3E%3Cpath d='M26 15 22 49M42 15 38 49M15 26h36M13 38h36' stroke='%23000' stroke-width='5.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.center-screen .landing > .row a { color: #fff; }
.hero h2 { line-height: 1.2; margin-bottom: 6px; }

/* ---------- Área de envio de arquivos ---------- */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 190px; padding: 30px 22px; cursor: pointer;
  border: 2px dashed var(--border-2); border-radius: 22px; background: var(--surface-2); text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.dropzone:hover { border-color: var(--brand); background: var(--brand-soft); }
.dropzone.over { border-color: var(--brand); background: var(--brand-soft); -webkit-transform: scale(1.01); transform: scale(1.01); }
.dropzone .i { width: 22px; height: 22px; padding: 14px; box-sizing: content-box; border-radius: 50%; background: var(--surface); color: var(--brand); box-shadow: var(--shadow); margin-bottom: 6px; }
.dropzone strong { display: block; margin: 0; font-size: 15.5px; color: var(--text); }
.dropzone span { color: var(--muted); font-size: 13px; }
.dropzone:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.file-list { margin-top: 16px; }
.file-row { padding: 9px 14px; }

/* ---------- Progresso dos arquivos ---------- */
.prog { padding: 22px 24px; }
.prog-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.prog-head > div:first-child { flex: 1; min-width: 0; }
.prog-head strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.prog-head span { color: var(--muted); font-size: 13.5px; }
.prog-pct { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.prog-pct small { font-size: 20px; color: var(--muted); margin-left: 2px; }
.prog-bar { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; position: relative; }
.prog-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .6s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.prog:not(.is-done) .prog-bar:not(.sm) i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); -webkit-transform: translateX(-100%); transform: translateX(-100%); animation: prog-shine 1.6s ease-in-out infinite; }
@keyframes prog-shine { to { -webkit-transform: translateX(100%); transform: translateX(100%); } }
.prog.is-done .prog-bar i { background: var(--good); }
.prog-bar.sm { height: 5px; }
.prog-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 6px; }
.prog-step { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); opacity: .6; transition: opacity .3s, box-shadow .3s; }
.prog-step.on { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--brand); }
.prog-step.done { opacity: 1; }
.prog-step.done .prog-bar i { background: var(--good); }
.prog-step-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.prog-step-head span { display: inline-flex; gap: 6px; align-items: center; }
.prog-step-head .i { width: 14px; height: 14px; color: var(--good); }
.prog-step-head b { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.prog-files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 14px; }
.prog-file .pill { flex: none; white-space: nowrap; }
.prog-file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; }
.prog-file .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; }
.prog-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--muted); flex: none; }
.prog-ico .i { width: 13px; height: 13px; }
.prog-ico.ready, .prog-ico.unchanged { background: var(--good-soft); color: var(--good); }
.prog-ico.error { background: var(--bad-soft); color: var(--bad); }
.prog-ico.processing { background: var(--brand-soft); color: var(--brand-text); animation: pulse 1.1s infinite; }
@media (max-width: 680px) { .prog-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; } .prog-pct { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .prog-bar i::after, .prog-ico.processing { animation: none !important; } }

/* ---------- Envio de arquivos e assistente no celular ---------- */
.center-screen { grid-template-columns: minmax(0, 1fr); }
.wizard, .auth, .landing { min-width: 0; }
.dropzone .dz-alt { font: inherit; color: inherit; }
.dropzone .dz-touch { display: none; }
@media (hover: none), (max-width: 680px) {
  .dropzone .dz-desk { display: none; }
  .dropzone .dz-touch { display: inline; }
}
@media (max-width: 680px) {
  .center-screen { padding: 20px 12px; place-items: start center; }
  .auth .card, .wizard .card { padding: 20px 16px; }
  .wizard h2 { font-size: 21px; }
  .steps-bar { gap: 6px; }
  .steps-bar span { font-size: 11px; line-height: 1.25; display: block; }
  .dropzone { min-height: 150px; padding: 22px 14px; }
  .dz-samples { flex-wrap: wrap; gap: 6px; }
  .dz-samples .btn { flex: 1 1 140px; justify-content: center; }
  .wizard-foot { flex-wrap: wrap; }
  .wizard-foot .btn { flex: 1 1 auto; justify-content: center; }
  .prog-head { gap: 12px; }
  .prog-head strong { font-size: 15px; }
  .prog-file { gap: 8px; font-size: 13px; }
  .prog-file { padding: 8px 10px; }
  .prog-file .name { font-size: 12px; }
}
@media (max-width: 680px) {
  .t-files th:nth-child(2), .t-files td:nth-child(2), .t-files th:nth-child(4), .t-files td:nth-child(4) { display: none; }
  .t-files th, .t-files td { padding: 10px 12px; }
  .t-files td:first-child { width: 64%; overflow-wrap: anywhere; }
  .t-files td:last-child { width: 40px; padding-left: 0; }
  .t-files td:first-child .mono, .t-files td:first-child small { font-size: 11.5px; }
}

/* ---------- Conectores (Fontes) ---------- */
.conn-provider { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: var(--surface-2); }
.conn-head { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.conn-head .provider { flex: 1 1 260px; min-width: 0; }
.conn-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.conn-main { display: grid; gap: 4px; min-width: 0; }
.conn-main .pill { margin-right: 4px; }
.conn-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.conn-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.danger-text { color: var(--bad); }
@media (max-width: 680px) { .conn-actions { width: 100%; } .conn-actions .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- Arquivos na base: grupos por origem e pasta ---------- */
.files { display: grid; gap: 10px; min-width: 0; }
.fgroup, .ffolder { min-width: 0; }
.fgroup { border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.fgroup > summary, .ffolder > summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; flex-wrap: wrap; min-width: 0; }
.fgroup > summary::-webkit-details-marker, .ffolder > summary::-webkit-details-marker { display: none; }
.fgroup > summary { padding: 14px 16px; }
.fgroup > summary .i, .ffolder > summary .i { width: 18px; height: 18px; flex: none; color: var(--muted); }
.fgroup > summary::after, .ffolder > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); margin-left: 4px; transition: transform .15s; flex: none; order: -1; }
.fgroup[open] > summary::after, .ffolder[open] > summary::after { transform: rotate(45deg); }
.fname { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
.fcount { color: var(--muted); font-size: 13px; }
.fstat { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.fnote { margin: 0 16px 8px; font-size: 12.5px; color: var(--muted); }
.ffolder { border-top: 1px solid var(--border); }
.ffolder > summary { padding: 11px 16px 11px 28px; font-size: 14px; }
.frows { display: grid; padding: 0 12px 10px 28px; }
.frow { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-top: 1px solid var(--border); min-width: 0; }
.frow:first-child { border-top: 0; }
.fmain { display: grid; gap: 2px; min-width: 0; flex: 1; }
.fmain strong, .fmain .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmain .mono { font-size: 12px; color: var(--muted); }
.fside { display: flex; align-items: center; gap: 6px; flex: none; }
@media (max-width: 680px) {
  .fgroup > summary { padding: 12px; }
  .ffolder > summary { padding: 10px 12px 10px 18px; }
  .frows { padding: 0 8px 8px 18px; }
  .fgroup > summary .fstat { margin-left: 0; width: 100%; }
  .ffolder > summary { flex-wrap: nowrap; }
  .ffolder > summary .fname { flex: 1 1 auto; }
}

/* ---------- Escolher o que importar ---------- */
.selcard { display: grid; gap: 14px; }
.seltools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seltools .input { flex: 1 1 240px; min-width: 0; }
.seltree { display: grid; gap: 8px; min-width: 0; max-height: 62vh; overflow-y: auto; padding-right: 4px; }
.selnode { min-width: 0; }
.selnode > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-width: 0; }
.selnode > summary::-webkit-details-marker { display: none; }
.selnode > summary:hover, .selfile:hover { background: var(--surface-2); }
.selnode > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; flex: none; }
.selnode[open] > summary::before { transform: rotate(45deg); }
.selnode > summary .i { width: 17px; height: 17px; color: var(--muted); flex: none; }
.selrepo { border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.selrepo > summary .fname { font-weight: 700; }
.selkids { padding-left: 22px; display: grid; min-width: 0; }
.selfile { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 27px; border-radius: 10px; cursor: pointer; min-width: 0; }
.selfile .fname { font-weight: 400; flex: 1; }
.selbox { width: 17px; height: 17px; accent-color: var(--brand); flex: none; margin: 0; cursor: pointer; }
.selcount { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.selfoot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--surface); }
@media (max-width: 680px) {
  .selkids { padding-left: 12px; }
  .selfile { padding-left: 17px; }
  .selfoot .btn { flex: 1 1 auto; justify-content: center; }
  .selfoot #sel-summary { width: 100%; }
}
.provider .logo.gh { background: #24292f; color: #fff; }
:root[data-theme="dark"] .provider .logo.gh { background: #f0f3f6; color: #24292f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .provider .logo.gh { background: #f0f3f6; color: #24292f; } }

/* ---------- Aviso sobre dados sensíveis ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); background: var(--warn-soft); color: var(--text); margin-bottom: 12px; }
.notice > .i { width: 20px; height: 20px; flex: none; color: var(--warn); margin-top: 2px; }
.notice p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; }
.notice-t { font-size: 14.5px; }
.notice.compact { padding: 10px 14px; background: var(--surface-2); border-color: var(--border); }
.notice.compact p { margin: 0; font-size: 12.5px; color: var(--muted); }
.notice.compact strong { color: var(--text); font-weight: 600; }
.notice.compact > .i { width: 16px; height: 16px; color: var(--muted); }
.notice-ack { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.notice-ack label { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 600; flex: 1 1 260px; cursor: pointer; }
.notice-ack input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.dropzone.locked { opacity: .45; filter: grayscale(.4); cursor: not-allowed; }
.provider .logo.gd { background: #fff; border: 1px solid var(--border); }

/* Conteúdo fixo da página inicial (antes do JavaScript carregar) */
.static-home { max-width: 760px; margin: 0 auto; padding: 48px 20px; color: #eef2f8; background: #050c1a; font: 16px/1.7 Inter, system-ui, sans-serif; }
.static-home h1 { font: 600 32px/1.2 "Source Serif 4", Georgia, serif; margin: 12px 0 16px; }
.static-home h2 { font: 600 20px/1.3 "Source Serif 4", Georgia, serif; margin: 28px 0 8px; }
.static-home a { color: #9fb8ff; }
.static-brand { display: flex; gap: 10px; align-items: center; font-weight: 700; margin: 0; }
body:has(.static-home) { background: #050c1a; }
