:root {
  --blue: #0B4DA2;
  --blue-dark: #093F86;
  --blue-navy: #0B2B52;
  --blue-bg: #EEF4FC;
  --blue-bg-2: #E6EFFA;
  --blue-border: #D5E0EE;
  --green: #2E9B33;
  --green-dark: #26862B;
  --green-bg: #E4F5E5;
  --green-text: #1F7A26;
  --orange: #F2711C;
  --amber: #FBB318;
  --amber-bg: #FDF1E3;
  --amber-text: #A0724A;
  --purple-bg: #EFEAFA;
  --purple-text: #6B4FA0;
  --red: #D33C2E;
  --red-bg: #FBE7E4;
  --red-text: #B02A1E;
  --border: #E1E9F3;
  --border-2: #E4EBF4;
  --text-navy: #0B2B52;
  --text-muted: #5B6B82;
  --text-muted-2: #6B7C93;
  --text-faint: #8494A9;
  --page-bg: #E8EEF6;
  --app-bg: #F7FAFD;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-bg);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text-navy);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

button, input, textarea, select { font-family: inherit; }
button { font: inherit; }
input:focus, textarea:focus { outline: 2px solid #1560C4; outline-offset: 1px; }
::placeholder { color: #9AA8BC; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.screen { animation: slideUp .25s ease both; }

.app-shell {
  min-height: 100vh;
  background: var(--app-bg);
  display: flex;
  flex-direction: column;
}

/* ---------- Header (topbar) ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-2);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-img { height: 48px; width: auto; display: block; }
.topbar-nav { display: none; align-items: center; gap: 8px; }
.navlink {
  border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--blue);
  padding: 10px 14px; border-radius: 10px;
}
.navlink:hover { background: var(--blue-bg); }

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar {
  border-top: 1px solid var(--border-2);
  background: var(--white);
  padding: 9px 12px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  position: sticky;
  bottom: 0;
}
.tabbar button {
  border: 0; background: transparent; cursor: pointer;
  padding: 7px 2px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.tabbar button:hover { background: #F2F6FB; }
.tabbar .icon { font-size: 18px; line-height: 1; }
.tabbar .label { font-size: 11px; font-weight: 700; }

/* ---------- Content ---------- */
.content { flex: 1; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 20px 40px; }

/* ---------- Home ---------- */
.eyebrow {
  margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--green);
}
.hero {
  display: grid; gap: 28px; align-items: center; margin-bottom: 36px;
}
.hero h1 { margin: 0 0 12px; font-weight: 800; color: var(--text-navy); line-height: 1.12; font-size: 28px; text-wrap: pretty; }
.hero p.lead { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 520px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  border: 0; border-radius: 14px; padding: 15px 24px; font-size: 15px; font-weight: 800;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-green { color: var(--white); background: var(--green); box-shadow: 0 8px 18px rgba(46,155,51,0.26); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { color: var(--blue); background: var(--white); border: 1.5px solid var(--blue-border); }
.btn-outline:hover { background: var(--blue-bg); }
.btn-blue { color: var(--white); background: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-block { width: 100%; justify-content: center; }

.stats-card {
  display: none;
  background: var(--blue); border-radius: 26px; padding: 30px 32px; color: var(--white);
}
.stats-card .label { margin: 0 0 18px; font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #A9C8EE; }
.stats-card .row { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.stats-card .row .v { margin: 0; font-size: 27px; font-weight: 800; }
.stats-card .row .k { margin: 2px 0 0; font-size: 13.5px; color: #C9DCF5; }

.section-title { margin: 0 0 18px; font-size: 20px; font-weight: 800; color: var(--text-navy); }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-card {
  text-align: left; border: 1px solid var(--border); background: var(--white); border-radius: 20px;
  padding: 16px 14px 15px; cursor: pointer; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 8px rgba(11,43,82,0.04);
}
.service-card:hover { border-color: #1560C4; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,77,162,0.12); }
.service-card:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.4);
}
.service-card:disabled:hover { border-color: var(--border); transform: none; box-shadow: 0 2px 8px rgba(11,43,82,0.04); }
.service-card .ic { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.service-card .name { display: block; font-size: 15px; font-weight: 700; color: var(--text-navy); line-height: 1.25; }
.service-card .desc { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-muted-2); line-height: 1.35; }
.badge-soon {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--amber-text);
  background: var(--amber-bg); padding: 3px 8px; border-radius: 999px; align-self: flex-start;
}

.dashed-cta {
  width: 100%; border: 1px dashed #B9CBE2; background: var(--blue-bg); border-radius: 18px; padding: 16px;
  cursor: pointer; display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 18px;
}
.dashed-cta:hover { background: #E4EEFA; border-color: #1560C4; }
.dashed-cta .t1 { display: block; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.dashed-cta .t2 { display: block; font-size: 12.5px; color: var(--text-muted-2); }

/* ---------- Forms / cards ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.field-label {
  margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-faint);
}
.input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px; font-size: 15px;
  color: var(--text-navy); background: var(--white);
}
textarea.input { resize: none; line-height: 1.45; }
.grid-gap { display: grid; gap: 10px; }

.tipos-grid { display: grid; gap: 9px; margin-bottom: 22px; }
.tipo-card {
  display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--border);
  background: var(--white); border-radius: 15px; padding: 13px 14px; cursor: pointer; width: 100%;
}
.tipo-card:hover { border-color: #1560C4; }
.tipo-card.active { border-color: var(--blue); background: var(--blue-bg); }
.tipo-card .name { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-navy); }
.tipo-card .desc { display: block; font-size: 12px; color: var(--text-muted-2); }

.toggle-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid var(--border); background: var(--white); border-radius: 15px; padding: 14px;
  cursor: pointer; text-align: left; margin-bottom: 10px;
}
.toggle-row:hover { border-color: #1560C4; }
.toggle-row .name { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-navy); }
.toggle-row .desc { display: block; font-size: 12px; color: var(--text-muted-2); max-width: 300px; line-height: 1.35; }
.switch { width: 46px; height: 27px; border-radius: 999px; padding: 3px; flex: 0 0 auto; display: flex; }
.switch .knob { width: 21px; height: 21px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.25); }

.help-text { margin: 8px 0 0; font-size: 12px; color: var(--text-faint); }
.legal-note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-faint); text-align: center; }

.side-note { background: var(--blue-bg); border-radius: 20px; padding: 22px; margin-bottom: 16px; }
.side-note.warn { background: #FFF8EC; border: 1px solid #F7E0BC; }
.side-note .label { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase; color: var(--blue); }
.side-note.warn .label { color: var(--amber-text); }
.side-note p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #33465F; text-wrap: pretty; }

/* ---------- Confirmation ---------- */
.confirm-card { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 26px; padding: 40px 30px; text-align: center; }
.confirm-check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 999px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.confirm-card h2 { margin: 0 0 8px; font-size: 25px; font-weight: 800; color: var(--text-navy); }
.confirm-card > p { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.protocol-box { background: var(--blue); border-radius: 20px; padding: 22px; color: var(--white); margin-bottom: 18px; }
.protocol-box .label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #A9C8EE; }
.protocol-box .value { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: 1.5px; }
.receipt { text-align: left; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 4px 18px; margin-bottom: 22px; }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0F4F9; font-size: 13.5px; }
.receipt-row:last-child { border-bottom: 0; }
.receipt-row .k { color: var(--text-muted-2); }
.receipt-row .v { color: var(--text-navy); font-weight: 700; text-align: right; }
.confirm-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Consulta / lista ---------- */
.search-row { display: flex; gap: 9px; margin-bottom: 18px; }
.search-row .input { flex: 1; }
.search-row .btn { padding: 0 20px; border-radius: 14px; }

.list-card {
  width: 100%; text-align: left; border: 1px solid var(--border); background: var(--white);
  border-radius: 18px; padding: 15px 16px; cursor: pointer; margin-bottom: 10px; display: block;
}
.list-card:hover { border-color: #1560C4; }
.list-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.protocolo-tag { font-size: 12.5px; font-weight: 800; letter-spacing: 0.5px; color: var(--blue); }
.status-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 9px; border-radius: 999px; }
.list-card .assunto { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-navy); line-height: 1.3; }
.list-card .meta { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: var(--text-muted-2); background: #F0F4F9; }

.empty-note { font-size: 13.5px; color: var(--text-muted-2); background: var(--white); border: 1px dashed var(--border); border-radius: 16px; padding: 16px; text-align: center; }

/* ---------- Detalhe ---------- */
.back-btn { border: 0; background: var(--blue-bg); color: var(--blue); font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.back-btn:hover { background: #E0EAF8; }
.detalhe-head { margin-bottom: 18px; }
.detalhe-head .proto { margin: 14px 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--blue); }
.detalhe-head h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; color: var(--text-navy); line-height: 1.25; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tag.neutral { color: var(--text-muted-2); background: #F0F4F9; }

.prazo-box { background: #FFF8EC; border: 1px solid #F7E0BC; border-radius: 16px; padding: 15px; margin: 18px 0; }
.prazo-box .label { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--amber-text); }
.prazo-box p.value { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-navy); }

.timeline-title { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-faint); }
.timeline-item { display: flex; gap: 14px; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.timeline-dot { width: 13px; height: 13px; border-radius: 999px; margin-top: 4px; }
.timeline-line { flex: 1; width: 2px; background: var(--border); }
.timeline-body { padding-bottom: 20px; }
.timeline-body .t { margin: 0 0 2px; font-size: 14.5px; font-weight: 700; color: var(--text-navy); }
.timeline-body .meta { margin: 0 0 4px; font-size: 12px; color: var(--text-faint); }
.timeline-body .txt { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }

.treat-box { border-top: 1px solid #F0F4F9; padding-top: 20px; margin-top: 8px; }
.treat-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.btn-sm { padding: 13px 22px; font-size: 14px; border-radius: 13px; }

.ficha-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0F4F9; font-size: 13.5px; }
.ficha-row:last-child { border-bottom: 0; }

/* ---------- Login ---------- */
.login-wrap { max-width: 460px; margin: 0 auto; padding: 24px 0 40px; }
.login-badge {
  display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--blue); background: var(--blue-bg); padding: 7px 14px; border-radius: 999px;
}
.login-wrap h1 { margin: 18px 0 12px; font-size: 28px; font-weight: 800; color: var(--text-navy); line-height: 1.15; }
.login-wrap > p { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.login-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 26px; display: grid; gap: 10px; }
.link-btn { border: 0; background: transparent; font-size: 13.5px; font-weight: 700; color: var(--text-muted-2); padding: 8px; cursor: pointer; text-align: center; }
.link-btn:hover { color: var(--blue); }

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 100%; flex: 0 0 auto; background: var(--blue-navy); padding: 20px 18px; display: flex;
  flex-direction: column; gap: 18px;
}
.admin-logo-box { background: var(--white); border-radius: 14px; padding: 10px; max-width: 220px; }
.admin-logo-box img { width: 100%; display: block; }
.admin-modules { display: none; gap: 4px; }
.admin-module { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-radius: 11px; font-size: 14px; font-weight: 700; }
.admin-module .soon { font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #8FB4E4; }
.admin-user-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-user-name { margin: 0 0 2px; font-size: 14.5px; font-weight: 800; color: var(--white); }
.admin-user-role { margin: 0; font-size: 12.5px; color: #8FB4E4; }
.pill-ghost { border: 0; background: rgba(255,255,255,0.16); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 8px 13px; border-radius: 999px; cursor: pointer; }
.pill-ghost:hover { background: rgba(255,255,255,0.28); }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border-2); padding: 18px 20px 0; }
.admin-topbar h1 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--text-navy); }
.admin-topbar p { margin: 0 0 14px; font-size: 13.5px; color: var(--text-muted-2); }
.admin-tabs { display: flex; gap: 18px; overflow-x: auto; }
.admin-tab {
  border: 0; background: transparent; padding: 10px 2px 14px; font-size: 14px; font-weight: 700; cursor: pointer;
  color: var(--text-muted-2); border-bottom: 3px solid transparent; white-space: nowrap;
}
.admin-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

.admin-content { padding: 20px 18px 40px; }

.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 14px 14px; }
.kpi-card .v { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.kpi-card .k { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--text-muted-2); line-height: 1.3; }

.filter-row { display: flex; gap: 7px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.filter-chip { flex: 0 0 auto; border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; background: var(--white); color: var(--text-muted); }
.filter-chip.active { border-color: var(--blue); background: var(--blue); color: var(--white); }

.fila-list { display: block; }
.queue-card {
  width: 100%; text-align: left; border: 1px solid var(--border); border-left: 4px solid var(--border);
  background: var(--white); border-radius: 16px; padding: 14px 16px; cursor: pointer; margin-bottom: 10px; display: block;
}
.queue-card:hover { border-color: #1560C4; }
.queue-table { display: none; background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.queue-table-head {
  display: grid; grid-template-columns: minmax(120px, .8fr) minmax(200px, 2.2fr) minmax(110px, 1fr); gap: 16px;
  padding: 14px 22px; background: #F4F8FD; border-bottom: 1px solid var(--border-2); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-muted-2);
}
.queue-table-row {
  display: grid; grid-template-columns: minmax(120px, .8fr) minmax(200px, 2.2fr) minmax(110px, 1fr); gap: 16px;
  align-items: center; padding: 16px 22px; border-bottom: 1px solid #F0F4F9; border-left: 4px solid var(--border); cursor: pointer;
}
.queue-table-row:hover { background: #F7FAFD; }
.queue-table-row:last-child { border-bottom: 0; }

.faixa-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; margin-bottom: 10px; }
.faixa-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.faixa-top .n { font-size: 14.5px; font-weight: 700; color: var(--text-navy); }
.faixa-top .v { font-size: 14.5px; font-weight: 800; }
.bar-track { height: 9px; border-radius: 999px; background: #EEF2F7; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.faixa-note { margin: 8px 0 0; font-size: 12px; color: var(--text-muted-2); }

.rel-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 18px; margin-bottom: 14px; }
.rel-card h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--text-navy); }
.rel-row { margin-bottom: 12px; }
.rel-row-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.rel-row-top .n { color: var(--text-muted); font-weight: 600; }
.rel-row-top .v { color: var(--text-navy); font-weight: 800; }
.rel-unit-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0F4F9; font-size: 13.5px; }
.rel-unit-row:last-child { border-bottom: 0; }

.avg-note { background: var(--blue-bg); border-radius: 16px; padding: 15px; margin-top: 4px; }
.avg-note .label { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--blue); }
.avg-note p.v { margin: 0; font-size: 15px; color: var(--text-navy); font-weight: 600; }

/* ---------- Desktop breakpoint ---------- */
@media (min-width: 880px) {
  .logo-img { height: 60px; }
  .topbar-nav { display: flex; }
  .tabbar { display: none; }
  .wrap { padding: 44px 40px 60px; }
  .hero { grid-template-columns: 1.25fr 1fr; gap: 40px; margin-bottom: 44px; }
  .hero h1 { font-size: 44px; }
  .hero p.lead { font-size: 17px; }
  .stats-card { display: block; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service-card { border-radius: 22px; padding: 24px; gap: 14px; }
  .service-card .ic { width: 48px; height: 48px; border-radius: 15px; font-size: 23px; }
  .service-card .name { font-size: 18px; }
  .service-card .desc { font-size: 14px; margin-top: 5px; }
  .dashed-cta { display: none; }

  .form-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
  .tipos-grid { grid-template-columns: 1fr 1fr; }

  .confirm-card { padding: 44px; }
  .confirm-actions { flex-direction: row; justify-content: center; }
  .confirm-actions .btn { width: auto; }

  .consulta-split { max-width: 560px; }

  .detalhe-split { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

  .login-split { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; max-width: 1180px; margin: 0 auto; }
  .login-wrap { max-width: none; padding: 60px 0; }
  .login-wrap h1 { font-size: 40px; }

  .admin-shell { flex-direction: row; }
  .admin-sidebar { width: 260px; }
  .admin-modules { display: grid; }
  .admin-topbar { padding: 20px 36px 0; }
  .admin-content { padding: 26px 36px 50px; }
  .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .fila-list { display: none; }
  .queue-table { display: block; }
  .rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
