/* ═════════ Davalillo Hub tokens ═════════ */
:root {
    --surface-100: #243049;
    --surface-200: #1f2b42;
    --surface-300: #1a233b;
    --surface-400: #151d32;
    --surface-500: #101728;
    --surface-600: #0c1120;
    --text: #e5e7eb;              /* gray-200 */
    --text-dim: #9ca3af;          /* gray-400 */
    --muted: #6b7280;             /* gray-600 */
    --faint: #4b5563;             /* gray-500 */
    --border: rgba(36, 48, 73, 0.35);      /* surface-100/35 aprox */
    --border-soft: rgba(36, 48, 73, 0.2);

    --accent: #d4f01e;
    --accent-light: #dfff4f;
    --accent-dark: #b8d41a;
    --accent-contrast: #0c1120;   /* text sobre acento = surface-600 */

    --danger: #ef4444;
    --ok: #22c55e;
    --warn: #f59e0b;
    --radius: 10px;
    --radius-lg: 16px;
    --glass: rgba(31, 43, 66, 0.55);
    --glass-hover: rgba(36, 48, 73, 0.75);
}
html.dh-classic {
    --accent: #1d4ed8;
    --accent-light: #f97316;
    --accent-dark: #163a9f;
    --accent-contrast: #ffffff;
}
html.dark, body { background: var(--surface-400); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: var(--surface-400);
    color: var(--text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
.mono, .brand-sub, .brand-logo.sm, .nav-sep, code, kbd, pre {
    font-family: "Fira Code", Consolas, monospace;
}

.app-shell { display: flex; min-height: 100vh; height: 100vh; }

/* ═════════ Sidebar ═════════ */
.sidebar {
    width: 250px; flex-shrink: 0; background: var(--surface-500);
    border-right: 1px solid var(--border-soft);
    color: var(--text-dim);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); }
.brand-logo {
    background: var(--accent); color: var(--accent-contrast); font-weight: 700;
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 14px;
    font-family: "Fira Code", Consolas, monospace;
}
.brand-logo.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -.2px; }
.brand-sub { color: var(--faint); font-size: 10px; }
.nav { flex: 1; padding: 10px 8px; overflow-y: auto; }
.nav a {
    display: block; padding: 9px 12px; margin: 2px 0; color: var(--text-dim);
    text-decoration: none; border-radius: 8px; font-size: 13.5px;
    border: 1px solid transparent; transition: all .15s;
}
.nav a:hover { background: var(--glass-hover); color: var(--text); }
.nav a.active {
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent); border-color: color-mix(in srgb, var(--accent) 20%, transparent);
}
.nav-sep { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: var(--faint); padding: 16px 12px 6px; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border-soft); }
.user-chip { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.user-avatar {
    background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent);
    width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; font-size: 12px; font-weight: 600;
}
.user-name { color: var(--text); font-size: 13px; }

/* ═════════ Content ═════════ */
.content { flex: 1; min-width: 0; overflow-y: auto; padding: 28px 36px 0; display: flex; flex-direction: column; }
.page { max-width: 1080px; margin: 0 auto; flex: 1; width: 100%; }
.page-wide { max-width: 1400px; }
.page-narrow { max-width: 460px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-actions { display: flex; gap: 10px; align-items: center; }
h1 { font-size: 22px; margin: 0 0 6px; color: #fff; font-weight: 700; letter-spacing: -.3px; }
h2 { font-size: 15px; margin: 0 0 8px; color: #fff; font-weight: 600; }
h3 { margin: 0 0 6px; font-size: 15px; color: #fff; font-weight: 600; }
.muted { color: var(--muted); }
.muted strong { color: var(--text-dim); }
.small { font-size: 12px; }
p { line-height: 1.6; }
strong { color: var(--text); }

/* ═════════ Cards & panels (glass) ═════════ */
.dashboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; margin-top: 18px; }
.tool-card {
    background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
    padding: 18px; text-decoration: none; color: var(--text-dim); display: block;
    transition: all .2s; position: relative; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tool-card:hover {
    transform: translateY(-2px); color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 25%, transparent);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.glass {
    background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.panel {
    background: var(--glass); border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg); padding: 16px; margin: 14px 0;
}
.chip-secure, .chip-anon {
    position: absolute; top: 14px; right: 14px; font-size: 10px; padding: 2px 8px;
    border-radius: 10px; background: rgba(34,197,94,.12); color: var(--ok); font-weight: 600;
    font-family: "Fira Code", monospace;
}
.chip-anon { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.chip-ai { position: absolute; top: 14px; right: 14px; font-size: 10px; padding: 2px 8px; border-radius: 10px; background: rgba(129,140,248,.15); color: #a5b4fc; font-weight: 600; font-family: "Fira Code", monospace; }

table.grid { width: 100%; border-collapse: collapse; background: var(--glass); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); }
table.grid th { text-align: left; background: rgba(16,23,40,.7); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--faint); font-weight: 600; }
table.grid th, table.grid td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
table.grid tr:last-child td { border-bottom: none; }
td.actions { text-align: right; white-space: nowrap; }
.chip { display: inline-block; padding: 3px 10px; font-size: 11px; border-radius: 12px; background: var(--glass-hover); color: var(--text-dim); }
.chip.small { font-size: 10px; padding: 2px 8px; font-family: "Fira Code", monospace; }
.chip.status-chip { background: rgba(245,158,11,.12); color: var(--warn); }

/* ═════════ Alerts ═════════ */
.alert { padding: 10px 14px; border-radius: var(--radius); margin: 10px 0; border: 1px solid transparent; font-size: 13px; }
.alert-error { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.25); }
.alert-ok { background: rgba(34,197,94,.1); color: #86efac; border-color: rgba(34,197,94,.25); }
.alert.inline { display: inline-block; margin: 0; padding: 6px 10px; }
.form-error { color: #fca5a5; margin: 0 0 10px; }

/* ═════════ Forms ═════════ */
.field { margin-bottom: 12px; }
.field label, label { display: block; font-size: 11px; font-weight: 600; color: var(--text-dim); margin-bottom: 4px; }
input[type=text], input[type=password], input[type=email], textarea:not(.code), select {
    width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 13.5px; font-family: inherit; background: var(--surface-600); color: var(--text);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}
textarea.code, pre.code {
    width: 100%; font-family: "Fira Code", Consolas, monospace; font-size: 12.5px;
    line-height: 1.6; border: 1px solid var(--border-soft); border-radius: 8px;
    background: var(--surface-600); color: #a5d6ff; padding: 12px; resize: vertical;
    white-space: pre-wrap; word-break: break-word;
}
pre.output { min-height: 200px; margin: 0; max-height: 70vh; overflow: auto; color: #a5d6ff; }
pre.reference { height: auto; color: var(--text-dim); }
.fld-title { width: 260px !important; }

.inline-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.inline-form > input, .inline-form > select { width: 100%; }
.inline-form .field { width: 100%; }
.inline-form .grow { flex: 1; }
.chk { font-weight: 400; color: var(--muted); }

/* ═════════ Buttons ═════════ */
button, .btn-primary, .btn-outline, .btn-mini {
    cursor: pointer; border: none; border-radius: 8px; font-family: inherit;
    font-size: 13px; padding: 8px 14px; text-decoration: none; display: inline-block;
    transition: all .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); font-weight: 600; }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { background: transparent; border: 1px solid var(--border-soft); color: var(--text-dim); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-mini { padding: 4px 9px; font-size: 11.5px; background: var(--glass-hover); color: var(--text-dim); }
.btn-mini:hover { color: var(--accent); }
.btn-danger { background: rgba(239,68,68,.12); color: #fca5a5; }
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn-block { width: 100%; text-align: center; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.btn-vote { font-weight: 600; background: var(--glass-hover); color: var(--text-dim); }
.btn-vote.voted { background: var(--accent); color: var(--accent-contrast); }

/* ═════════ Two pane ═════════ */
.two-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.split-50 { align-items: start; }
.pane { background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; }
.pane-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-bottom: 1px solid var(--border-soft);
    font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .7px;
}
.pane-actions { display: inline-flex; gap: 8px; align-items: center; }
.pane textarea.code { border: none; border-radius: 0; min-height: 200px; }
.inline-select { margin-left: 10px; font-size: 12px; }
.inline-select select { width: auto; font-size: 12px; padding: 5px 8px; }

@media (max-width: 980px) {
    .two-pane { grid-template-columns: 1fr; }
    .sidebar { width: 64px; }
    .brand-name, .brand-sub, .nav-sep, .user-name { display: none; }
    .nav a { padding: 10px; text-align: center; font-size: 0; }
}

/* ═════════ Email preview ═════════ */
.email-meta { padding: 8px 0 12px; }
.split-view { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#email-preview { display: block; width: 100%; height: 520px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: #fff; }

/* ═════════ Kanban ═════════ */
.kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; align-items: start; }
.kcol { background: var(--surface-500); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 12px; min-height: 220px; }
.kcol-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.kcol-head h2 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .9px; color: var(--faint); font-family: "Fira Code", monospace; }
.kcard { background: var(--glass-hover); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.kcard.status-discussed { opacity: .6; }
.kcard.status-closed { opacity: .4; }
.kcard.status-movetobacklog { border-left: 3px solid var(--warn); }
.kcard-body { margin: 0 0 8px; white-space: pre-wrap; color: var(--text); }
.kcard-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.kcard-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kc-comments { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.kc-comment { font-size: 12.5px; color: var(--text-dim); background: var(--surface-500); border-radius: 6px; padding: 6px 8px; border: 1px solid var(--border-soft); }
.newcomment { display: flex; gap: 6px; margin-top: 8px; }
.newcomment input { font-size: 12.5px; }
.newcard { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; background: var(--glass-hover); padding: 10px; border-radius: var(--radius); border: 1px solid var(--border-soft); }
.hidden { display: none; }

/* ═════════ Login (DH) ═════════ */
.login-wrap {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background:
        radial-gradient(1000px 500px at 50% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
        linear-gradient(160deg, var(--surface-300) 0%, var(--surface-400) 50%, var(--surface-500) 100%);
    padding: 24px 16px;
}
.login-card { width: 400px; padding: 32px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.login-brand { border-bottom: none; padding: 0; margin-bottom: 22px; }
.login-brand .brand-logo { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; }
h1.login-title { display: none; }
.oauth-buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.btn-oauth {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
    background: var(--surface-600); border: 1px solid var(--border); color: var(--text);
    text-decoration: none; transition: all .15s;
}
.btn-oauth:hover { border-color: var(--accent); color: var(--accent); }
.btn-oauth.disabled { opacity: .45; cursor: not-allowed; }
.btn-oauth.disabled:hover { border-color: var(--border); color: var(--text); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 11px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.register-hint { text-align: center; color: var(--muted); font-size: 12.5px; margin: 18px 0 0; }
.register-hint a { color: var(--accent); text-decoration: none; font-weight: 500; }
.register-hint a:hover { text-decoration: underline; }

/* ═════════ Footer Hub ═════════ */
.hub-footer {
    margin-top: auto; padding: 16px 36px; border-top: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    width: 100%;
}
.hub-footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 12.5px; }
.hub-footer-brand strong { color: #fff; }
.hub-footer-links { display: inline-flex; align-items: center; gap: 12px; color: var(--faint); }
.hub-footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; }
.hub-footer-links a:hover { color: var(--accent); }
.hub-footer.centered { width: 400px; max-width: 92vw; justify-content: space-between; padding: 16px 0 0; border-top: none; }

/* ═════════ JWT ═════════ */
.jwt-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }

/* ═════════ Diagram out ═════════ */
.diagram-out { padding: 12px; overflow: auto; max-height: 75vh; background: var(--surface-600); }
.diagram-out svg { max-width: 100%; height: auto; }

kbd { background: var(--surface-500); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 5px; font-size: 11px; color: var(--text-dim); }

::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-100); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--surface-200); }

/* ═════════ Meeting Intelligence ═════════ */
.chip-ok { color: var(--ok); }
.chip-warn { color: var(--warn); }
.chip-danger { color: var(--danger); }
.status-ready { background: rgba(34,197,94,.12); color: var(--ok); }
.status-analyzing { background: rgba(245,158,11,.12); color: var(--warn); }
.status-error { background: rgba(239,68,68,.12); color: var(--danger); }
.status-uploaded { background: var(--glass-hover); color: var(--text-dim); }

.meeting-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }

/* Upload: dropzone */
.dropzone {
    border: 2px dashed var(--border); border-radius: var(--radius-lg);
    padding: 26px 16px; text-align: center; cursor: pointer; transition: all .15s;
    background: var(--surface-600);
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--surface-600));
}
.dropzone.filled { border-style: solid; border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.dropzone-main { margin: 0 0 6px; color: var(--text-dim); }
.dropzone-main strong { color: var(--text); }
.dropzone-file { min-height: 16px; color: var(--accent); margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Detail: grid dos columnas (transcripción / pestañas) */
.meeting-grid { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.2fr); gap: 14px; align-items: start; }
.meeting-transcript { position: sticky; top: 0; }
.transcript-body {
    max-height: 58vh; overflow-y: auto; padding: 14px;
    font-size: 12.5px; line-height: 1.65; color: var(--text-dim);
    white-space: pre-wrap; word-break: break-word; font-family: "Fira Code", Consolas, monospace;
}
.meeting-right { min-width: 0; }
.tabs { display: flex; gap: 6px; margin: 12px 0 0; flex-wrap: wrap; }
.tab {
    background: var(--surface-500); color: var(--text-dim); border: 1px solid var(--border-soft);
    border-radius: 8px; padding: 8px 12px; font-size: 12.5px; cursor: pointer; transition: all .15s;
}
.tab:hover { color: var(--text); }
.tab.active {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}
.tab-body { display: none; }
.tab-body.active { display: block; }
.analysis-resumen p { margin: 0 0 10px; color: var(--text); }
.analysis-block h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--faint); }
.meeting-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.idea-list, .risk-list { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.idea-list li, .risk-list li {
    background: var(--surface-500); border: 1px solid var(--border-soft); border-radius: var(--radius);
    padding: 10px 12px; color: var(--text); font-size: 13px;
}
.idea-list li strong, .risk-list li strong { color: #fff; }
.risk-list li { border-left: 3px solid var(--warn); }
.idea-list li { border-left: 3px solid var(--accent); }
.step-list { margin: 8px 0 0; padding-left: 20px; color: var(--text); }
.step-list li { margin-bottom: 6px; }
.reveal-form { display: inline; }

/* El chat de reuniones (modal profesional) vive en meeting-extra.css */

@media (max-width: 1200px) {
    .meeting-grid { grid-template-columns: 1fr; }
    .meeting-transcript { position: static; }
    .transcript-body { max-height: 40vh; }
}

/* Resumen enriquecido (HTML de la IA, saneado) */
.analysis-resumen.enriched { line-height: 1.65; }
.analysis-resumen.enriched p { margin: 0 0 12px; color: var(--text); }
.analysis-resumen.enriched ul, .analysis-resumen.enriched ol { margin: 0 0 12px 20px; color: var(--text); }
.analysis-resumen.enriched li { margin-bottom: 6px; }
.analysis-resumen.enriched h3, .analysis-resumen.enriched h4 { margin: 14px 0 8px; color: #fff; font-size: 13.5px; }
.analysis-resumen.enriched table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 12.5px; background: var(--surface-600); border-radius: 8px; overflow: hidden; }
.analysis-resumen.enriched table th, .analysis-resumen.enriched table td { padding: 8px 10px; border-bottom: 1px solid var(--border-soft); text-align: left; }
.analysis-resumen.enriched table th { color: var(--faint); text-transform: uppercase; font-size: 10px; letter-spacing: .6px; }
.analysis-resumen.enriched blockquote { margin: 0 0 12px; padding: 8px 14px; background: var(--surface-500); border-left: 3px solid var(--accent); border-radius: 8px; color: var(--text-dim); }
.analysis-resumen.enriched code { background: var(--surface-500); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 5px; font-size: 11.5px; color: var(--accent); }
.analysis-resumen.enriched pre { background: var(--surface-600); border: 1px solid var(--border-soft); border-radius: 8px; padding: 10px 12px; overflow-x: auto; margin: 0 0 12px; color: #a5d6ff; font-family: "Fira Code", Consolas, monospace; font-size: 12px; line-height: 1.6; }
.analysis-resumen.enriched a { color: var(--accent); text-decoration: none; }
.analysis-resumen.enriched a:hover { text-decoration: underline; }
.analysis-resumen.enriched svg { max-width: 100%; height: auto; display: block; margin: 10px 0 14px; background: var(--surface-600); border: 1px solid var(--border-soft); border-radius: 8px; padding: 8px; }

/* Lanzador del chat (el panel/modal vive en meeting-extra.css) */
.chat-head-actions { display: inline-flex; align-items: center; gap: 8px; }
.chat-launcher {
    position: fixed; right: 24px; bottom: 24px; z-index: 50;
    border-radius: 24px; padding: 10px 18px; font-size: 13px; font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* Modales */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(10, 15, 30, .6); z-index: 90;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none; }
.modal { width: 460px; max-width: 96vw; padding: 22px 24px; box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.modal h3 { margin: 0 0 10px; color: #fff; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.modal .field label { margin-bottom: 6px; }
