/* Paleta azul para acceso, instalación y tablero empresarial. */
:root {
  color: #1b2f5f;
  background: #98ddeb;
  --forest: #3456a6;
  --deep: #203f85;
  --muted: #66738e;
  --line: #d7dff2;
}

body {
  background: #98ddeb;
}

.setup-body,
.dashboard-body {
  background: #98ddeb;
}

.eyebrow {
  color: #3456a6;
}

.token-card {
  background: #edf2ff;
}

.token-card code {
  background: #203f85;
}

.brand-panel {
  color: #132653;
  background: #98ddeb;
}

.brand-panel .gold {
  color: #132653;
}

.brand-copy p {
  color: #132653;
}

.video-frame {
  border-color: rgba(52, 86, 166, .2);
  background: #3456a6;
}

.video-frame video {
  mix-blend-mode: screen;
  filter: none;
  transform: scale(1.1);
}

.integration-note i {
  background: #d7e5ff;
  box-shadow: 0 0 0 7px rgba(215, 229, 255, .18);
}

.integration-note small {
  color: #132653;
}

.side-brand {
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding-bottom: 18px;
}

.side-logo {
  display: block;
  width: min(180px, 100%);
  height: 148px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: screen;
  border-radius: 12px;
}

.side-brand span {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .12em;
  text-align: center;
}

.admin-card { margin-top: 22px; }
.admin-form { display: grid; gap: 18px; max-width: 520px; }
.admin-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 750; }
.admin-form input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; }
.admin-form small { color: var(--muted); font-weight: 400; }

.sidebar { overflow-y: auto; }
.portal-report-menu summary { list-style: none; padding: 13px 14px; border-radius: 10px; color: #fff; font-weight: 700; cursor: pointer; user-select: none; }
.portal-report-menu summary::-webkit-details-marker { display: none; }
.portal-report-menu summary::after { content: '⌄'; float: right; transition: transform .18s ease; }
.portal-report-menu[open] summary { background: #fff; color: var(--forest); }
.portal-report-menu[open] summary::after { transform: rotate(180deg); }
.portal-report-menu summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.portal-report-links { display: grid; gap: 4px; margin: 5px 0 0 12px; padding-left: 9px; border-left: 1px solid rgba(255,255,255,.22); }
.portal-report-links a { display: block; padding: 9px 10px!important; font-size: 12px; }
.portal-panel { margin-top: 22px; }
.portal-panel h2 { margin: 0 0 16px; }
.portal-panel p { color: var(--muted); }
.portal-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 900px; }
.portal-form label, .portal-filters label { display: grid; align-content: start; gap: 7px; font-size: 14px; font-weight: 750; }
.portal-form input, .portal-form select, .portal-filters input, .portal-filters select, .portal-inline input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #1b2f5f; }
.portal-form button { align-self: end; }
.portal-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
.portal-filters label { min-width: 160px; flex: 1; }
.portal-filters button { white-space: nowrap; }
.portal-inline { display: grid; gap: 7px; min-width: 150px; }
.portal-inline button { border: 0; border-radius: 8px; padding: 8px; background: #eaf0fd; color: var(--deep); font-weight: 800; cursor: pointer; }
.portal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.portal-actions .primary-button { cursor: pointer; }
.portal-stats { margin-top: 22px; }
.table-card td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.gantt-table { min-width: 960px; }
.gantt-table td { min-width: 145px; }
.gantt-table td:first-child { min-width: 180px; }
.gantt-track { position: relative; height: 24px; border-radius: 5px; background: repeating-linear-gradient(90deg,#eef3fb 0,#eef3fb calc(25% - 1px),#d4dff4 calc(25% - 1px),#d4dff4 25%); }
.gantt-bar { position: absolute; top: 5px; height: 14px; border-radius: 4px; background: #3456a6; }
.gantt-legend { font-size: 12px; }
.portal-offline { color: #8d5b18; background: #fff1d2; }
@media(max-width:700px) { .portal-form { grid-template-columns: 1fr; } .portal-actions { justify-content: stretch; flex-wrap: wrap; } .portal-actions>* { flex: 1; } }
@media print { .sidebar,.portal-filters,.portal-actions,.portal-inline { display:none!important; } .dashboard-main { margin:0; padding:0; } .dashboard-body { background:#fff; } .table-card,.dashboard-header { box-shadow:none; break-inside:avoid; } }
