/* Nexo DTE — panel administrador */
:root {
  --blue: #1A5CFF; --blue-d: #1448CC; --ink: #0B2C55; --text: #1F2A44; --muted: #64748B; --line: #E3EAF5;
  --soft: #F2F6FD; --bg: #F6F8FC; --card: #fff; --green: #0F9D58; --green-bg: #E7F6EE; --amber: #B7791F; --amber-bg: #FFF6E0;
  --red: #C62828; --red-bg: #FDECEC; --gray-bg: #EEF1F6; --radius: 12px; --shadow: 0 1px 2px rgba(11,44,85,.05), 0 4px 16px rgba(11,44,85,.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); margin: 0; }
small { font-size: 12px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .center { text-align: center; } .right { text-align: right; }
.nowrap { white-space: nowrap; } .block { display: block; margin-top: 6px; } .mt { margin-top: 14px; }
.txt-warn { color: var(--amber); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -4px; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 12px; }

/* Layout */
.side { position: fixed; inset: 0 auto 0 0; width: 240px; background: var(--ink); color: #DCE6F8; display: flex; flex-direction: column; padding: 18px 12px; z-index: 30; }
.brand { display: flex; gap: 10px; align-items: center; color: #fff; padding: 4px 8px 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand small { color: #9FB3D6; font-size: 11.5px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: #DCE6F8; background: none; border: 0; font: inherit; width: 100%; text-align: left; cursor: pointer; }
.nav-link:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.nav-link.active { background: var(--blue); color: #fff; }
.nav-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.side-foot form { margin: 0; }
.ver { color: #7F93B8; padding: 6px 12px 0; }
.main { margin-left: 240px; min-height: 100vh; }
.top { display: flex; align-items: center; gap: 12px; padding: 18px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top h1 { font-size: 19px; }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.page { padding: 24px 28px 48px; max-width: 1320px; }
@media (max-width: 900px) {
  .side { transform: translateX(-100%); transition: transform .2s; }
  body.side-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(11,44,85,.35); }
  .main { margin-left: 0; }
  .burger { display: flex; }
  .page { padding: 18px 14px 40px; }
  .top { padding: 14px; }
}

/* Auth */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, #DCE8FF 0, transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 20px; margin: 18px 0 6px; }
.auth-foot { color: var(--muted); font-size: 12px; margin-top: 16px; }
.brand-lg { display: flex; align-items: center; gap: 12px; }
.brand-lg img { width: 44px; height: 44px; }
.brand-lg div { display: flex; flex-direction: column; line-height: 1.25; }
.brand-lg strong { color: var(--ink); font-size: 18px; }
.brand-lg small { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 4px; }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks li.ok .ic { color: var(--green); } .checks li.bad { color: var(--red); }
.checks small { color: var(--muted); margin-left: auto; overflow: hidden; text-overflow: ellipsis; max-width: 45%; white-space: nowrap; }

/* Cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card-t { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-t { font-size: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-2 > .card { margin-bottom: 0; }
.grid-2 { margin-bottom: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.grid-4 > .card { margin-bottom: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 14px; }
@media (max-width: 1000px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.empty { text-align: center; padding: 36px; }
.company { color: var(--text); display: flex; flex-direction: column; gap: 6px; margin: 0; transition: border-color .15s, transform .15s; }
.company:hover { text-decoration: none; border-color: #BFD1F5; transform: translateY(-1px); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.kpis span, .kpi span { display: block; font-size: 20px; font-weight: 700; color: var(--ink); }
.kpi small, .kpis small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--ink); }
.chip-warn { background: var(--amber-bg); border-color: #F5D99A; color: var(--amber); }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv li span { color: var(--muted); }
.kv li strong { font-weight: 600; text-align: right; color: var(--ink); }
.kv.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 800px) { .kv.two { grid-template-columns: 1fr; } }
.link { font-weight: 600; display: inline-block; margin-top: 10px; }
.note { display: flex; gap: 8px; color: var(--muted); font-size: 12.5px; background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; }
.warn-box { display: flex; gap: 8px; align-items: center; color: var(--amber); background: var(--amber-bg); border-radius: 10px; padding: 10px 12px; margin: 0; grid-column: 1 / -1; }
.warn-box[hidden] { display: none; }
.company-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.company-head > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-row form { margin: 0; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-ok { background: var(--green-bg); border-color: #BDE5CF; color: #0B6B3D; }
.alert-error { background: var(--red-bg); border-color: #F5C2C2; color: var(--red); }
.alert-warn { background: var(--amber-bg); border-color: #F5D99A; color: #8A5A0B; }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { padding: 8px 10px 8px 14px; border-left: 3px solid var(--amber); margin-bottom: 6px; background: var(--amber-bg); border-radius: 0 8px 8px 0; }
.alerts li.lvl-error { border-left-color: var(--red); background: var(--red-bg); }
.alerts a { color: var(--text); }
.alerts strong { color: var(--ink); margin-right: 6px; }

/* Badges */
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-blue { background: #E6EEFF; color: var(--blue); }
.badge-gray { background: var(--gray-bg); color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; padding: 10px; border-bottom: 1px solid var(--line); background: #FAFBFE; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.right, .table td.right { text-align: right; }
.row-link { cursor: pointer; }
.row-link:hover td { background: #FAFCFF; }
.w-check { width: 34px; }
.table.compact td { padding: 6px; border: 0; }
.table.items td { padding: 6px; }
.bar { padding-bottom: 10px; }
.pager { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 12px; }
.pager a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.pager a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pre { white-space: pre-wrap; word-break: break-all; font-size: 12px; background: var(--soft); padding: 12px; border-radius: 8px; max-height: 360px; overflow: auto; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }

/* Forms */
label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; color: var(--ink); font-size: 13px; }
label small { font-weight: 400; color: var(--muted); }
label.check { flex-direction: row; align-items: center; font-weight: 500; }
input, select, textarea { font: inherit; color: var(--text); border: 1px solid #CBD6E8; border-radius: 9px; padding: 9px 11px; background: #fff; width: 100%; min-width: 0; }
input[type=checkbox] { width: 16px; height: 16px; padding: 0; accent-color: var(--blue); }
input[type=file] { padding: 7px; background: var(--soft); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(26,92,255,.25); border-color: var(--blue); }
input:user-invalid { border-color: #E9A1A1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.form-grid .span-2, .form-grid .card-t { grid-column: 1 / -1; }
.form-grid .card-t { margin: 6px 0 0; }
@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } }
.actions { display: flex; justify-content: flex-end; gap: 10px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters select, .filters input { width: auto; min-width: 180px; }
.logo-prev { display: flex; align-items: center; gap: 14px; }
.logo-prev img { max-height: 56px; max-width: 220px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.w-xs { width: 70px; } .w-s { width: 110px; } .w-m { width: 130px; } .w-l { min-width: 240px; }
.totals { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.totals .kv { min-width: 280px; }
.kv li.total { font-size: 17px; border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 4px; padding-top: 10px; }
.kv li.total span { color: var(--ink); font-weight: 700; }
.totals-inline { max-width: 320px; margin-left: auto; margin-top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-light { background: #fff; color: var(--ink); border-color: #CBD6E8; }
.btn-light:hover { background: var(--soft); }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: progress; }
.btn.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 8px; width: 30px; height: 30px; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--red); border-color: #F5C2C2; background: var(--red-bg); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(11,44,85,.45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(11,44,85,.3); animation: pop .15s ease-out; }
.modal-box h3 { font-size: 18px; margin-bottom: 8px; }
.modal-box p { color: var(--muted); margin: 0 0 20px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-actions [hidden] { display: none; }
body.modal-open { overflow: hidden; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
label.inline { flex-direction: row; align-items: center; gap: 10px; }
label.inline input { width: auto; }
label[hidden] { display: none; }

/* Selector de formato PDF */
.pdf-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .pdf-formats { grid-template-columns: 1fr; } }
.pdf-card { border: 2px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 400; gap: 6px; position: relative; }
.pdf-card:hover { border-color: #BFD1F5; }
.pdf-card.sel { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,92,255,.12); }
.pdf-card input { position: absolute; opacity: 0; pointer-events: none; }
.pdf-card strong { color: var(--ink); font-size: 14px; }
.pdf-card small { color: var(--muted); }
.pdf-card .link { margin-top: 2px; }
.thumb { display: block; position: relative; height: 150px; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.thumb i { position: absolute; display: block; }
.thumb .t-head { left: 8%; top: 8%; width: 40%; height: 7%; background: #CBD5E1; border-radius: 2px; }
.thumb .t-box { right: 8%; top: 7%; width: 34%; height: 17%; border: 2px solid #CC0000; background: #fff; }
.thumb .t-rec { left: 8%; right: 8%; top: 30%; height: 13%; border: 1px solid #CBD5E1; }
.thumb .t-row { left: 8%; right: 8%; height: 4%; background: #E2E8F0; }
.thumb .t-row:nth-of-type(4) { top: 49%; } .thumb .t-row:nth-of-type(5) { top: 56%; } .thumb .t-row:nth-of-type(6) { top: 63%; }
.thumb .t-ted { left: 8%; bottom: 8%; width: 32%; height: 15%; background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 4px); }
.thumb .t-tot { right: 8%; bottom: 10%; width: 32%; height: 9%; background: #E2E8F0; }
.thumb-moderno::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 27%; background: var(--blue); }
.thumb-moderno .t-head { background: #fff; opacity: .9; }
.thumb-moderno .t-rec { background: #EEF3FF; border-color: #EEF3FF; }
.thumb-moderno .t-row:nth-of-type(4) { background: var(--blue); }
.thumb-moderno .t-tot { background: var(--blue); }
.thumb-minimalista .t-rec { border-left: 0; border-right: 0; }
.thumb-minimalista .t-row { background: none; border-bottom: 1px solid #CBD5E1; }
.thumb-minimalista .t-row:nth-of-type(4) { border-bottom: 2px solid #111; }
.thumb-minimalista .t-tot { background: none; border-top: 2px solid #111; }
.thumb-minimalista .t-head { background: #94A3B8; }
.thumb-clasico .t-row:nth-of-type(4) { background: #CBD5E1; }
.color-input { height: 42px; padding: 4px; width: 120px; }

.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }
.subtabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; }
.subtabs a:hover { text-decoration: none; border-color: #BFD1F5; }
.subtabs a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.subtabs .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 11px; text-align: center; }
.subtabs a.active .count { background: rgba(255,255,255,.2); color: #fff; }
.inline-form { display: inline-block; margin: 0 0 0 6px; vertical-align: middle; }
[data-lookup-msg] { color: var(--green); font-weight: 500; }
section[hidden], button[hidden] { display: none !important; }
.situ select, .situ input { width: auto; }
.situ-fact { display: inline-flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.situ-fact[hidden] { display: none; }
.d-block{display:block;margin-top:4px}
.card-st { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted, #5b6473); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line, #e5e8ee); text-transform: uppercase; letter-spacing: .04em; }
th[hidden], td[hidden], li[hidden] { display: none; }
.mt-xs { margin-top: 6px; }

/* Listas con búsqueda */
.combo { position: relative; }
.combo-native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; height: 100%; }
.combo-in { width: 100%; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2364748B' stroke-width='2.5' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: text; text-overflow: ellipsis; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; max-height: 260px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid #CBD6E8; border-radius: 10px; box-shadow: 0 12px 32px rgba(11,44,85,.16); }
.combo-list[hidden] { display: none; }
.combo-list li { padding: 7px 10px; border-radius: 7px; cursor: pointer; font-size: 13.5px; line-height: 1.3; }
.combo-list li.act { background: var(--soft); }
.combo-list li.sel { font-weight: 600; color: var(--blue); }
.combo-list li.vacio { color: var(--muted); }
.combo-list li.nada { color: var(--muted); cursor: default; }
/* Selector de archivos */
.file-pick { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border: 1.5px dashed #CBD6E8; border-radius: 12px; background: var(--soft); transition: border-color .15s, background .15s; }
.file-pick.drag { border-color: var(--blue); background: #EEF3FF; }
.file-pick.has-file { border-style: solid; border-color: #B8C9E8; background: #fff; }
.file-pick .file-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-pick .file-name { font-size: 13.5px; color: var(--text); overflow-wrap: anywhere; flex: 1 1 200px; }
.file-pick:not(.has-file) .file-name { color: var(--muted); }
.file-pick .file-hint { flex-basis: 100%; color: var(--muted); font-size: 12px; }
/* Validación propia */
.is-invalid, .combo.is-invalid .combo-in, .file-pick.is-invalid { border-color: #D93B3B !important; }
input.is-invalid, select.is-invalid, textarea.is-invalid { box-shadow: 0 0 0 3px rgba(217,59,59,.12); }
.field-err { display: block; color: #C02A2A; font-size: 12.5px; font-weight: 500; margin-top: 4px; }
[hidden] { display: none !important; }

.input-btn { display: flex; gap: 6px; align-items: stretch; }
.input-btn input { flex: 1; min-width: 0; }
.input-btn .btn { flex: none; }

/* Sets de certificación */
progress.progress { width: 140px; height: 8px; border: 0; border-radius: 6px; background: var(--gray-bg); overflow: hidden; vertical-align: middle; }
progress.progress::-webkit-progress-bar { background: var(--gray-bg); border-radius: 6px; }
progress.progress::-webkit-progress-value { background: var(--blue); border-radius: 6px; }
progress.progress::-moz-progress-bar { background: var(--blue); border-radius: 6px; }
progress.progress.wide { width: 100%; height: 10px; }
.warn-card { display: grid; gap: 8px; margin-bottom: 16px; }
pre.code { margin: 0; padding: 10px 12px; background: #0F1B2D; color: #E6EEFF; border-radius: 10px; font-size: 12.5px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.set-card { margin-bottom: 16px; }
.set-card h2 small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.case-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.case-list label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; padding: 8px 10px; border: 1px solid var(--line, #e5e8ee); border-radius: 10px; }
.case-list label small { display: block; color: var(--muted); font-weight: 400; }
.case-list input { margin-top: 3px; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; }
.t-err { color: var(--red); font-size: 12.5px; margin-top: 4px; }
.row-set td { background: var(--soft); font-weight: 600; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions .inline-form { margin: 0; }
.danger-zone { border: 1px solid #F3C4C4; }
.btn-danger { background: #C02A2A; color: #fff; border-color: #C02A2A; }
.btn-danger:hover { background: #A11F1F; }
