/* Zentogo × PMS · Vessel Reports
   Colores de marca: PMS azul marino #00325D · Zentogo verde #9DCB32 */

:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --border: #e2e8f0;
  --text: #0f1b2d;
  --muted: #64748b;
  --primary: #00325d;
  --primary-hover: #0a467d;
  --primary-soft: #e6eef7;
  --accent: #9dcb32;
  --accent-soft: #f1f8e3;
  --danger: #d64545;
  --danger-soft: #fdecec;
  --warn: #c98a12;
  --warn-soft: #fdf3dd;
  --ok: #1f9d55;
  --ok-soft: #e3f6ea;
  --side: #00264a;
  --side-text: #c4d3e6;
  --side-active: #0a3b6b;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 4px 16px rgba(15, 27, 45, .04);
  --radius: 12px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #121b2d;
  --surface-2: #172238;
  --border: #243049;
  --text: #e6edf7;
  --muted: #8fa0bb;
  --primary: #5aa2ff;
  --primary-hover: #7ab4ff;
  --primary-soft: #15284a;
  --accent-soft: #233016;
  --danger-soft: #3a1c1f;
  --warn-soft: #3a2d12;
  --ok-soft: #12321f;
  --side: #07101f;
  --side-text: #9fb2cf;
  --side-active: #13284a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #0b1220;
    --surface: #121b2d;
    --surface-2: #172238;
    --border: #243049;
    --text: #e6edf7;
    --muted: #8fa0bb;
    --primary: #5aa2ff;
    --primary-hover: #7ab4ff;
    --primary-soft: #15284a;
    --accent-soft: #233016;
    --danger-soft: #3a1c1f;
    --warn-soft: #3a2d12;
    --ok-soft: #12321f;
    --side: #07101f;
    --side-text: #9fb2cf;
    --side-active: #13284a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.icon { flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt { margin-top: 22px; }
.spacer { flex: 1; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.prewrap { white-space: pre-wrap; }
small.sub { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 244px; flex-shrink: 0; background: var(--side); color: var(--side-text);
  display: flex; flex-direction: column; padding: 16px 14px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30;
}
.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 10px 12px; text-decoration: none !important;
}
.brand img { display: block; flex-shrink: 0; object-fit: contain; }
.brand-zt { height: 27px; width: 108px; }
.brand-pms { height: 38px; width: 63px; }
.brand-sep { width: 1px; height: 30px; background: #d6dde8; }
.brand .brand-mini { display: none; width: 38px; height: 38px; border-radius: 9px; }
.brand-caption { font-size: 11px; text-align: center; opacity: .7; margin: 8px 0 18px; letter-spacing: .3px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px;
  color: var(--side-text); font-weight: 500;
}
.nav-item:hover { background: rgba(255, 255, 255, .06); text-decoration: none; color: #fff; }
.nav-item.active { background: var(--side-active); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.subnav { margin: 4px 0 8px 30px; border-left: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; }
.subnav a { color: var(--side-text); padding: 7px 14px; font-size: 13px; }
.subnav a:hover { color: #fff; text-decoration: none; }
.subnav a.active { color: #fff; font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.sidebar-foot { margin-top: auto; font-size: 11px; opacity: .55; padding: 14px 6px 0; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  min-height: 66px; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px; padding: 10px 26px; position: sticky; top: 0; z-index: 20;
}
.topbar-title { flex: 1; min-width: 0; }
.topbar h1 { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb { color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions form { margin: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.user-meta strong { font-size: 13px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
:root[data-theme="dark"] .avatar { color: #0b1220; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; margin-right: 6px; }
.content { padding: 24px 26px 40px; }

/* ---------- Componentes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 0; }
.card-head h3 { margin: 0 0 12px; }
.section-title { margin: 28px 0 12px; }

.btn {
  height: 38px; padding: 0 15px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none !important;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
:root[data-theme="dark"] .btn.primary { color: #08111f; }
.btn.primary:hover { background: var(--primary-hover); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger-outline { color: var(--danger); border-color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.sm { height: 31px; padding: 0 11px; font-size: 12px; }
.btn.lg { height: 46px; font-size: 14px; }
.btn.block { width: 100%; justify-content: center; }
.iconbtn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.iconbtn:hover { border-color: var(--muted); text-decoration: none; }
.iconbtn.danger { color: var(--danger); }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"],
input[type="date"], input[type="datetime-local"], input[type="url"], select, textarea {
  width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface);
  color: var(--text); padding: 0 12px; font: inherit; font-size: 14px;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
input[disabled] { background: var(--surface-2); color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span:first-child, .field > legend { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 6px; }
fieldset.field > legend { margin-bottom: 8px; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dates-box { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12px; }
.field em { font-style: normal; font-weight: 400; }
.input-group { display: flex; width: 100%; }
.input-group input { flex: 1; min-width: 0; }
.input-addon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
.input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-addon {
  border: 1px solid var(--border); border-left: 0; background: var(--surface-2); color: var(--muted);
  border-radius: 0 9px 9px 0; padding: 0 12px; cursor: pointer;
}
.input-icon { position: relative; display: flex; align-items: center; min-width: 220px; }
.input-icon .icon { position: absolute; left: 12px; color: var(--muted); }
.input-icon input { padding-left: 36px; }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.check-inline input, .check input { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 12px; cursor: pointer; background: var(--surface); min-width: 120px;
}
.check:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.stack { display: flex; flex-direction: column; gap: 14px; }

.form-card { max-width: 920px; }
.form-card.narrow { max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 22px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.form-actions .small { margin-right: auto; }
.dates-box {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 1px dashed var(--border);
  border-radius: 10px; padding: 10px;
}
.date-row { display: inline-flex; align-items: center; gap: 4px; background: var(--primary-soft); border-radius: 9px; padding: 4px; }
.date-row input { width: 160px; height: 34px; }
.meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: var(--surface-2);
  border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--muted);
}
.meta b { display: block; color: var(--text); font-size: 13px; margin-top: 2px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar p { margin: 0; }
.toolbar select { width: auto; min-width: 150px; max-width: 260px; }
.toolbar .grow { flex: 1; }
.toolbar.right-only { justify-content: flex-end; margin-top: -4px; }
.per-page { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-left: 6px; }
.toolbar .per-page select { min-width: 0; width: 72px; height: 32px; padding: 0 8px; }
.date-filter { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.date-filter input { width: 150px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
  background: var(--surface-2); padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table th a { color: inherit; }
.table th.right { text-align: right; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-2); }
.table td.empty { text-align: center; color: var(--muted); padding: 34px; }
.table .strong { font-weight: 600; }
.table .who { font-size: 13px; white-space: nowrap; }
.table td.dates { min-width: 150px; }
.table td.ua { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.details-cell code { font-size: 11.5px; color: var(--muted); word-break: break-all; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 700; color: var(--primary); white-space: nowrap; }
.mono.plain { font-weight: 500; color: var(--text); }
.mono.big { font-size: 24px; margin: 4px 0 8px; }
.actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.actions form { margin: 0; }
.pager {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border);
}
.pages { display: flex; gap: 4px; }
.pages a, .pages .gap {
  min-width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 7px; display: flex;
  align-items: center; justify-content: center; padding: 0 6px; color: var(--text);
}
.pages .gap { border: 0; }
.pages a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pages a:hover { text-decoration: none; border-color: var(--muted); }

.chip {
  display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--surface-2);
  border: 1px solid var(--border); font-size: 12px; margin: 2px 4px 2px 0; white-space: nowrap;
}
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; margin: 1px 3px 1px 0; }
.tag-blue   { background: #e3f0ff; color: #0b5cad; }
.tag-orange { background: #fff0de; color: #b4620b; }
.tag-teal   { background: #dff5f2; color: #0e7d76; }
.tag-green  { background: #eaf6d6; color: #4f7a0e; }
.tag-purple { background: #efe8fd; color: #6b3fc7; }
.tag-red    { background: #fde8e8; color: #c53030; }
.tag-gray   { background: #eef0f4; color: #4b5565; }
.s-on   { background: var(--ok-soft); color: var(--ok); }
.s-off  { background: var(--danger-soft); color: var(--danger); }
.s-exp  { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.s-warn { background: var(--warn-soft); color: var(--warn); }
.s-info { background: var(--primary-soft); color: var(--primary); }
:root[data-theme="dark"] .tag-blue   { background: #12305a; color: #8cc3ff; }
:root[data-theme="dark"] .tag-orange { background: #3d2a12; color: #ffbf73; }
:root[data-theme="dark"] .tag-teal   { background: #0f3a37; color: #6fe0d6; }
:root[data-theme="dark"] .tag-green  { background: #263714; color: #b8e06a; }
:root[data-theme="dark"] .tag-purple { background: #2c1f4d; color: #c5a8ff; }
:root[data-theme="dark"] .tag-red    { background: #3d1a1a; color: #ff9b9b; }
:root[data-theme="dark"] .tag-gray   { background: #262f40; color: #b7c2d4; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .tag-blue   { background: #12305a; color: #8cc3ff; }
  :root[data-theme="system"] .tag-orange { background: #3d2a12; color: #ffbf73; }
  :root[data-theme="system"] .tag-teal   { background: #0f3a37; color: #6fe0d6; }
  :root[data-theme="system"] .tag-green  { background: #263714; color: #b8e06a; }
  :root[data-theme="system"] .tag-purple { background: #2c1f4d; color: #c5a8ff; }
  :root[data-theme="system"] .tag-red    { background: #3d1a1a; color: #ff9b9b; }
  :root[data-theme="system"] .tag-gray   { background: #262f40; color: #b7c2d4; }
  :root[data-theme="system"] .avatar, :root[data-theme="system"] .btn.primary { color: #08111f; }
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; flex-shrink: 0; }
.dot-blue { background: #0b5cad; } .dot-orange { background: #e08a1e; } .dot-teal { background: #12a39a; }
.dot-green { background: #9dcb32; } .dot-purple { background: #7c4ddb; } .dot-red { background: #d64545; } .dot-gray { background: #94a3b8; }

.role { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.role-superuser { background: var(--accent-soft); color: #4f7a0e; }
.role-admin { background: var(--primary-soft); color: var(--primary); }
.role-client { background: var(--warn-soft); color: var(--warn); }

.alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px;
  margin-bottom: 16px; font-size: 13px; border: 1px solid transparent;
}
.alert ul { margin: 0; padding-left: 18px; }
.alert span { flex: 1; }
.alert-success { background: var(--ok-soft); color: var(--ok); border-color: rgba(31, 157, 85, .25); }
.alert-error { background: var(--danger-soft); color: var(--danger); border-color: rgba(214, 69, 69, .25); }
.alert-warning { background: var(--warn-soft); color: var(--warn); border-color: rgba(201, 138, 18, .25); }
.alert-info { background: var(--primary-soft); color: var(--primary); }
.alert-close { background: none; border: 0; color: inherit; cursor: pointer; opacity: .7; padding: 0; }
.banner {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; font-size: 13px;
}
.note {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 20px; padding: 10px 12px; border-radius: 9px;
  background: var(--surface-2); color: var(--muted); font-size: 12px;
}
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lang-switch button {
  border: 0; background: var(--surface); color: var(--muted); padding: 6px 9px; font: inherit;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.lang-switch button.on { background: var(--primary); color: #fff; }

/* ---------- Home ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi { position: relative; }
.kpi-icon {
  position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.kpi-label { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; padding-right: 48px; }
.kpi-value { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.kpi-hint { font-size: 12px; color: var(--muted); }
.kpi-hint.up { color: var(--ok); }
.kpi-hint.down { color: var(--danger); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 230px; padding-top: 12px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.bar { width: 100%; background: var(--primary); border-radius: 6px 6px 0 0; min-height: 2px; }
.bar-col:nth-child(even) .bar { background: var(--accent); }
.bar-value { font-size: 11px; font-weight: 700; color: var(--muted); }
.bar-label { font-size: 11px; color: var(--muted); border-top: 1px solid var(--border); width: 100%; text-align: center; padding-top: 6px; }
.legend { display: flex; flex-direction: column; gap: 8px; }
.legend-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--text); }
.legend-row span { display: flex; align-items: center; }
.legend-row.link:hover { text-decoration: none; color: var(--primary); }
.meter { height: 5px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin: -3px 0 4px; }
.meter i { display: block; height: 100%; border-radius: 4px; }

/* ---------- Reporte ---------- */
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.report-logos { display: flex; align-items: center; gap: 12px; background: #fff; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); }
.report-logos img:first-child { height: 26px; }
.report-logos img:last-child { height: 38px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.details .full { grid-column: 1 / -1; }
.details dt { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; }

/* ---------- Ajustes ---------- */
.themes { display: flex; gap: 12px; flex-wrap: wrap; }
.theme-card { cursor: pointer; border: 2px solid var(--border); border-radius: 12px; padding: 8px; width: 150px; display: flex; flex-direction: column; gap: 8px; }
.theme-card input { display: none; }
.theme-card:has(input:checked) { border-color: var(--primary); }
.theme-preview { height: 70px; border-radius: 8px; display: flex; overflow: hidden; border: 1px solid var(--border); }
.theme-preview i { width: 30%; background: #00264a; }
.theme-preview b { flex: 1; margin: 8px; border-radius: 4px; }
.theme-light { background: #f3f5f9; } .theme-light b { background: #fff; }
.theme-dark { background: #0b1220; } .theme-dark i { background: #07101f; } .theme-dark b { background: #121b2d; }
.theme-system { background: linear-gradient(90deg, #f3f5f9 50%, #0b1220 50%); } .theme-system b { background: transparent; }
.theme-name { font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.pw-meter { margin-top: -6px; }
.strength { display: flex; gap: 4px; }
.strength i { flex: 1; height: 5px; border-radius: 3px; background: var(--border); }
.strength i.on { background: var(--ok); }
.rules { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.rules li::before { content: "○ "; }
.rules li.ok { color: var(--ok); }
.rules li.ok::before { content: "✓ "; }

/* ---------- Login / instalación ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero {
  background: linear-gradient(150deg, #001a33 0%, #00325d 55%, #0b5a5a 100%); color: #fff; padding: 52px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.auth-hero h2 { font-size: 38px; margin-bottom: 14px; }
.auth-hero p { opacity: .82; max-width: 460px; line-height: 1.6; }
.auth-hero small { opacity: .6; position: relative; z-index: 1; }
.auth-logos { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.auth-logo-zt { height: 44px; }
.auth-logo-pms { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-flex; }
.auth-logo-pms img { height: 46px; }
.auth-x { opacity: .5; }
.wave { position: absolute; bottom: -40px; left: -40px; right: -40px; height: 220px; border-radius: 50%; border-top: 2px solid rgba(157, 203, 50, .35); }
.wave.w2 { bottom: -80px; border-top-color: rgba(255, 255, 255, .1); }
.auth-panel { display: flex; align-items: center; justify-content: center; background: var(--surface); padding: 40px 24px; position: relative; }
.auth-lang { position: absolute; top: 20px; right: 20px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 26px; margin-bottom: 6px; }
.auth-box > p { margin: 0 0 24px; }
.auth-box .stack { gap: 16px; }

.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.error-card { text-align: center; max-width: 520px; width: 100%; padding: 36px; }
.error-logo { height: 34px; margin-bottom: 18px; }
.error-code { font-size: 64px; font-weight: 800; color: var(--primary); line-height: 1; }
.debug {
  text-align: left; font-size: 11px; background: var(--surface-2); padding: 12px; border-radius: 8px;
  overflow: auto; max-height: 360px; margin-top: 18px; white-space: pre-wrap;
}

/* ---------- Tabla compacta ---------- */
.table { font-size: 13px; }
.table th, .table td { padding: 10px 10px; }
.table th:first-child, .table td:first-child { padding-left: 16px; }
.table th:last-child, .table td:last-child { padding-right: 16px; }
.table .actions { gap: 4px; }
.table .iconbtn { width: 29px; height: 29px; }
.table td.dates { min-width: 0; max-width: 190px; }
.table td.dates .chip { font-size: 11.5px; padding: 1px 6px; margin: 1px 2px 1px 0; }
.table .who small.sub { font-size: 11px; }
.reports-table .col-trace { display: none; }
.trace-line { display: block; white-space: nowrap; font-size: 12px; }
.trace-line b { display: inline-block; width: 12px; color: var(--muted); }
.trace-line + .trace-line { color: var(--muted); margin-top: 2px; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
}
.filters-toggle, .settings-tabs, .bottom-nav { display: none; }
.hide-phone { }
@media (min-width: 1500px) { .table th, .table td { padding: 11px 14px; } }

/* ---------- Formulario de reporte por secciones ---------- */
.form-section {
  font-size: 14px; color: var(--primary); margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--border);
}
.form-card > .form-section:first-of-type, .form-card > .alert + .form-section { margin-top: 0; padding-top: 0; border-top: 0; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr 180px; gap: 18px; }
.duration-box {
  display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 9px;
  background: var(--surface-2); border: 1px dashed var(--border); font-weight: 700;
}
.duration-box.bad { color: var(--danger); border-color: var(--danger); }
.status-checks .check { min-width: 0; }
.check-completed:has(input:checked) { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.check-partial:has(input:checked) { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
.check-not_done:has(input:checked) { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num-cell .tag { margin-top: 4px; }
.desc-list { margin: 0; white-space: pre-wrap; }

/* ---------- Enlaces (videos en Google Drive) ---------- */
.link-rows { display: flex; flex-direction: column; gap: 8px; }
.link-row { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto; gap: 8px; align-items: center; }
.link-rows [data-row-add] { align-self: flex-start; }
.links-list { display: flex; flex-direction: column; gap: 8px; }
.link-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface-2); color: var(--text); text-decoration: none !important; min-width: 0;
}
.link-btn:hover { border-color: var(--primary); }
.link-btn .link-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.link-btn .link-text { min-width: 0; display: flex; flex-direction: column; }
.link-btn .link-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn .link-text small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.link-btn .icon:last-child { margin-left: auto; color: var(--muted); flex-shrink: 0; }

/* ---------- Imágenes del reporte ---------- */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.img-item { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: var(--surface-2); }
.img-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--surface); }
.img-item input[type="text"] { height: 34px; font-size: 13px; }
.danger-text { color: var(--danger); font-size: 12px; }
.upload-box {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed var(--border); border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; background: var(--surface-2);
}
.upload-box:hover, .upload-box.has-files { border-color: var(--primary); }
.upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.upload-preview { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.upload-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; border: 1px solid var(--border); display: block; }
.gallery figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Facturación ---------- */
.settings-tabs.always { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 4px; scrollbar-width: none; }
.settings-tabs.always a {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.settings-tabs.always a:hover { text-decoration: none; }
.settings-tabs.always a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
:root[data-theme="dark"] .settings-tabs.always a.on { color: #08111f; }
.kpi-link { color: inherit; text-decoration: none !important; transition: border-color .15s; }
.kpi-link:hover { border-color: var(--primary); }
.file-links { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 4px; }
.table .file-links .iconbtn { width: 26px; height: 26px; }
.report-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.report-picker .check { align-items: flex-start; }
.current-file { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 13px; }
.doc-card h3 { margin-bottom: 12px; }
.doc-actions { display: flex; gap: 8px; margin: 14px 0 8px; flex-wrap: wrap; }
.invoice-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.invoice-amount { font-size: 28px; font-weight: 800; margin: 4px 0 6px; }
.zip-include { font-size: 12px; white-space: nowrap; }
input[type="file"] { font: inherit; font-size: 13px; max-width: 100%; }

/* ---------- Selección y descarga en .zip ---------- */
.col-check { width: 36px; }
.table th.col-check, .table td.col-check { padding-right: 0; }
.col-check input, .zip-bar input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; vertical-align: middle; }
.table tbody tr.selected td { background: var(--primary-soft); }
.zip-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 150%); z-index: 45;
  display: flex; align-items: center; gap: 10px; width: min(640px, calc(100% - 32px));
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px 10px 16px;
  box-shadow: 0 12px 34px rgba(15, 27, 45, .22); transition: transform .2s ease; visibility: hidden;
}
.zip-bar.show { transform: translate(-50%, 0); visibility: visible; }
.zip-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.zip-count b { color: var(--text); font-size: 15px; }
.zip-format { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.zip-format select { width: auto; height: 36px; padding: 0 10px; }
body.has-zip-bar .content { padding-bottom: 96px; }
.plain-link { color: inherit; }
.plain-link:hover { color: var(--primary); }

/* ---------- Detalle de barco ---------- */
.vessel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.vessel-id { display: flex; align-items: center; gap: 14px; }
.vessel-id h2 { font-size: 22px; margin: 2px 0 6px; }
.vessel-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vessel-jobs { display: flex; flex-wrap: wrap; gap: 6px; }

/* =====================================================================
   RESPONSIVE
   ≥1600  escritorio grande ........ tabla completa
   1200–1439 laptop / iPad Pro 13 horizontal (1366/1376) · Tab S8 horizontal (1280)
   768–1199  tablets: iPad 10/Air/Pro (820–1194) · Galaxy Tab S8+ (800–1180) → barra de íconos
   <900      tablets verticales y celulares → tablas como tarjetas
   <768 o celular horizontal → navegación inferior
   ===================================================================== */

/* Tabla de reportes: trazabilidad en una sola columna en pantallas medianas */
@media (max-width: 1599px) {
  .reports-table .col-created, .reports-table .col-updated { display: none; }
  .reports-table .col-trace { display: table-cell; }
}

/* Pantallas táctiles: objetivos de toque cómodos y sin zoom automático de iOS */
@media (pointer: coarse) {
  input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"],
  input[type="date"], input[type="datetime-local"], input[type="url"], select, textarea { font-size: 16px; min-height: 44px; }
  .btn { min-height: 42px; }
  .btn.sm { min-height: 36px; }
  .iconbtn, .table .iconbtn { width: 38px; height: 38px; }
  .check { min-height: 44px; }
  .lang-switch button { padding: 9px 11px; }
  .pages a { min-width: 38px; height: 38px; }
}

/* ---------- Tablets (barra lateral de íconos) ---------- */
@media (max-width: 1199px) {
  .sidebar { width: 76px; padding: 14px 10px; align-items: center; }
  .brand { padding: 6px; background: transparent; }
  .brand .brand-zt, .brand .brand-pms, .brand-sep, .brand-caption, .subnav, .sidebar-foot { display: none; }
  .brand .brand-mini { display: block; }
  .nav { width: 100%; margin-top: 14px; }
  .nav-item { justify-content: center; padding: 12px 0; }
  .nav-item span { display: none; }
  .nav-item.active { box-shadow: inset 3px 0 0 var(--accent); }
  .settings-tabs {
    display: flex; gap: 6px; overflow-x: auto; margin: -6px 0 16px; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .settings-tabs::-webkit-scrollbar { display: none; }
  .settings-tabs a {
    flex-shrink: 0; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
    color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap;
  }
  .settings-tabs a:hover { text-decoration: none; }
  .settings-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
  :root[data-theme="dark"] .settings-tabs a.on { color: #08111f; }
  .kpis { gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
  .reports-table .actions { flex-wrap: wrap; width: 82px; justify-content: flex-end; }
  .topbar { padding: 10px 20px; }
  .content { padding: 20px 20px 36px; }
  .toolbar select { min-width: 130px; }
}

/* ---------- Tablets verticales y celulares: tablas como tarjetas ---------- */
@media (max-width: 899px), (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .grid-2-1 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .details { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: 1fr 1fr; }
  .time-grid > .field:last-child { grid-column: 1 / -1; }
  .meta { grid-template-columns: 1fr 1fr; }

  .card.flush:has(.table-cards) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .table-wrap:has(.table-cards) { overflow: visible; }
  .table-cards, .table-cards tbody { display: block; }
  .table-cards thead { display: none; }
  .table-cards tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .table-cards tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; align-items: start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); min-width: 0;
  }
  .table-cards td, .table-cards td:first-child, .table-cards td:last-child {
    display: block; padding: 0; border: 0; min-width: 0; max-width: none; white-space: normal; overflow-wrap: anywhere;
  }
  .table-cards td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .table-cards tbody tr:hover td { background: transparent; }
  .table-cards td.card-title {
    order: -1; grid-column: 1 / -1; padding: 0 0 8px; border-bottom: 1px solid var(--border); font-size: 15px;
  }
  .table-cards td.card-title .mono { font-size: 15px; }
  .table-cards td.card-actions { order: 99; grid-column: 1 / -1; padding: 9px 0 0; border-top: 1px solid var(--border); }
  .table-cards td.card-actions .actions { justify-content: flex-end; width: auto; flex-wrap: nowrap; }
  .table-cards td.details-cell, .table-cards td.ua { grid-column: 1 / -1; }
  .table-cards td.right { text-align: left; }
  .table-cards tr { position: relative; }
  .table-cards td.col-check { position: absolute; top: 12px; right: 14px; width: auto; }
  .table-cards td.col-check::before { content: none; }
  .table-cards td.col-check input { width: 22px; height: 22px; }
  .table-cards tr:has(td.col-check) td.card-title { padding-right: 34px; }
  .table-cards tr.selected { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
  .table-cards tbody tr.selected td { background: transparent; }
  .table-cards td.empty { padding: 26px; text-align: center; grid-column: 1 / -1; }
  .table-cards tr:has(td.empty) { grid-column: 1 / -1; }
  .table-cards td.card-title::before, .table-cards td.card-actions::before, .table-cards td.empty::before { content: none; }
  .table-cards td.ua { max-width: none; white-space: normal; }
  .table-cards td.dates { max-width: none; }
  .reports-table .col-trace { display: none; }
  .reports-table .col-created, .reports-table .col-updated { display: block; }
  .card.flush:has(.table-cards) .pager { border: 0; padding: 14px 2px 0; }
  .card.flush:has(.table-cards) .card-head { padding: 0 2px; }

  .filters-toggle { display: inline-flex; }
  .filters .filter-extra { display: none; }
  .filters.open .filter-extra { display: flex; }
  .filters.open select.filter-extra { display: block; }
  .filters.open .filters-toggle { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
  .toolbar.filters .grow { flex: 1 1 200px; }
  .toolbar.filters select, .toolbar.filters .date-filter { flex: 1 1 calc(50% - 5px); max-width: none; }
  .toolbar.filters .date-filter input { width: 100%; }
  .toolbar.filters .filter-apply { flex: 1 1 auto; justify-content: center; }
  .page-actions .spacer { display: none; }
  .page-actions > .btn, .page-actions > form { flex: 1 1 auto; }
  .page-actions > .btn, .page-actions > form .btn { justify-content: center; width: 100%; }

  .report-head { flex-direction: column-reverse; }
  .report-logos img:first-child { height: 22px; }
  .report-logos img:last-child { height: 32px; }
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 28px 24px 34px; gap: 18px; min-height: auto; }
  .auth-hero h2 { font-size: 26px; }
  .auth-panel { align-items: flex-start; padding-top: 28px; }
}

/* ---------- Celulares (vertical y horizontal): navegación inferior ---------- */
@media (max-width: 767px), (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .sidebar { display: none; }
  .bottom-nav {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    box-shadow: 0 -4px 18px rgba(15, 27, 45, .08);
  }
  .bn-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; min-height: 48px;
    color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none !important; justify-content: center;
  }
  .bn-item.active { color: var(--primary); }
  .bn-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bn-add { justify-content: center; }
  .bn-add-circle {
    width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: flex;
    align-items: center; justify-content: center; margin-top: -22px; box-shadow: 0 6px 16px rgba(0, 50, 93, .35);
    border: 3px solid var(--surface);
  }
  :root[data-theme="dark"] .bn-add-circle { color: #08111f; }

  .main { min-height: 100vh; }
  .topbar {
    min-height: 56px; padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
    padding-top: calc(8px + env(safe-area-inset-top)); gap: 10px;
  }
  .topbar h1 { font-size: 17px; }
  .topbar .crumb, .user-meta, .hide-sm, .hide-phone { display: none; }
  .topbar-actions { gap: 6px; }
  .avatar { width: 34px; height: 34px; }
  .content {
    padding: 14px max(14px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  .card { padding: 14px; border-radius: 12px; }
  .kpis { gap: 10px; margin-bottom: 14px; }
  .kpi { padding: 12px; }
  .kpi-icon { width: 30px; height: 30px; right: 10px; top: 10px; border-radius: 8px; }
  .kpi-icon .icon { width: 16px; height: 16px; }
  .kpi-label { font-size: 10.5px; padding-right: 34px; }
  .kpi-value { font-size: 24px; }
  .kpi-hint { font-size: 11px; }
  .bars { gap: 4px; height: 170px; }
  .bar-label, .bar-value { font-size: 10px; }
  .toolbar { gap: 8px; }
  .toolbar .grow, .input-icon { min-width: 0; }
  .toolbar select { flex: 1 1 calc(50% - 4px); min-width: 0; max-width: none; }
  .toolbar > .btn.primary { margin-left: auto; }
  .list-meta { justify-content: space-between; }
  .list-meta .spacer { display: none; }
  .list-meta > .btn { flex: 1 1 auto; justify-content: center; }
  .per-page { margin-left: 0; }
  .zip-bar { bottom: calc(76px + env(safe-area-inset-bottom)); flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .zip-bar .spacer { display: none; }
  .zip-bar [data-zip-submit] { flex: 1 1 auto; justify-content: center; }
  body.has-zip-bar .content { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
  .vessel-id h2 { font-size: 19px; }
  .vessel-icon { width: 44px; height: 44px; }
  .page-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .page-actions .pa-back { display: none; }
  .page-actions .pa-pdf { order: -2; }
  .page-actions .pa-word { order: -1; }
  .table-cards tbody { grid-template-columns: 1fr; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .btn { flex: 1 1 auto; justify-content: center; }
  .form-actions .small { flex-basis: 100%; }
  .date-row { flex: 1 1 100%; }
  .date-row input { flex: 1; width: auto; }
  .dates-box [data-add-date] { flex: 1 1 100%; justify-content: center; }
  .checks { gap: 8px; }
  .time-grid { grid-template-columns: 1fr; }
  .link-row { grid-template-columns: 1fr auto; }
  .link-row input[type="url"] { grid-column: 1; grid-row: 2; }
  .check { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .theme-card { width: auto; }
  .theme-preview { height: 52px; }
  .meta { grid-template-columns: 1fr 1fr; }
  .pager { justify-content: center; text-align: center; }
  .alert { margin-bottom: 12px; }
  .section-title { margin-top: 22px; }

  .auth-hero { padding: calc(20px + env(safe-area-inset-top)) 20px 24px; justify-content: flex-start; gap: 16px; }
  .auth-hero p, .auth-hero small { display: none; }
  .auth-hero h2 { font-size: 22px; margin: 0; }
  .auth-logo-zt { height: 34px; }
  .auth-logo-pms img { height: 36px; }
  .auth-panel { padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .auth-lang { top: 12px; right: 12px; }
  .auth-box h1 { font-size: 22px; }
  .error-code { font-size: 48px; }
}

/* Celular horizontal: barra superior y gráficos más bajos */
@media (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .topbar { position: static; }
  .bars { height: 140px; }
  .auth { min-height: auto; }
  .auth-hero .wave { display: none; }
}

/* Celulares angostos (≤374px) */
@media (max-width: 374px) {
  .kpis { grid-template-columns: 1fr; }
  .table-cards tr { grid-template-columns: 1fr; }
  .bn-item span { font-size: 10px; }
}

@media print {
  .sidebar, .topbar, .toolbar, .actions, .bottom-nav, .settings-tabs { display: none !important; }
  .content { padding: 0; }
  .card { box-shadow: none; }
}
