/* Módulo Simples Nacional — isolado do restante do sistema pelo prefixo snx-. */
.snx-shell {
    --snx-navy-950: #081326;
    --snx-navy-900: #10203d;
    --snx-navy-800: #172e57;
    --snx-blue: #2459b8;
    --snx-gold: #c79a32;
    --snx-gold-soft: #f5e9ca;
    --snx-ink: #172033;
    --snx-muted: #6f7d95;
    --snx-line: #dce3ed;
    --snx-surface: #ffffff;
    margin-top: 1.5rem;
    color: var(--snx-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snx-shell *, .snx-modal * { box-sizing: border-box; }

.snx-hero {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background:
        radial-gradient(circle at 86% 0%, rgba(57, 107, 201, .46), transparent 30%),
        radial-gradient(circle at 14% 130%, rgba(199, 154, 50, .18), transparent 34%),
        linear-gradient(132deg, var(--snx-navy-950), var(--snx-navy-800));
    box-shadow: 0 22px 50px rgba(15, 29, 55, .18);
    color: #fff;
}

.snx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, transparent, #000 68%);
    pointer-events: none;
}

.snx-hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr .8fr; gap: 30px; align-items: end; }
.snx-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #dbe6fa; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.snx-eyebrow-mark { width: 26px; height: 2px; border-radius: 999px; background: var(--snx-gold); box-shadow: 0 0 14px rgba(199,154,50,.65); }
.snx-hero h2 { max-width: 760px; margin: 0; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.snx-hero p { max-width: 700px; margin: 14px 0 0; color: #becce2; font-size: 13px; line-height: 1.65; }
.snx-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.snx-hero-tag { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.075); color: #e8eef8; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.snx-hero-tag i { color: #e3bd64; }
.snx-engine-card { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-height: 188px; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(7,17,34,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.snx-engine-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.snx-engine-label { color: #91a5c4; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.snx-engine-name { margin-top: 6px; font-size: 14px; font-weight: 800; }
.snx-engine-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(52,211,153,.22); border-radius: 999px; background: rgba(16,185,129,.1); color: #83efca; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.snx-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.1); animation: snxPulse 2s ease-in-out infinite; }
.snx-engine-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.snx-engine-meta div { padding: 11px; border-radius: 11px; background: rgba(255,255,255,.06); }
.snx-engine-meta small { display: block; color: #7f92b0; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.snx-engine-meta strong { display: block; margin-top: 4px; color: #eef4ff; font-size: 11px; }

.snx-kpis { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -25px 22px 0; }
.snx-kpi { min-height: 92px; padding: 17px; border: 1px solid var(--snx-line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(20,38,72,.08); }
.snx-kpi-head { display: flex; justify-content: space-between; align-items: center; color: var(--snx-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.snx-kpi-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #eef3fb; color: var(--snx-blue); }
.snx-kpi strong { display: block; margin-top: 6px; overflow: hidden; color: var(--snx-navy-900); font-size: 19px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.snx-kpi span { display: block; margin-top: 3px; color: #9aa6b8; font-size: 9px; }

.snx-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr); gap: 18px; margin-top: 22px; }
.snx-card { border: 1px solid var(--snx-line); border-radius: 17px; background: var(--snx-surface); box-shadow: 0 10px 28px rgba(20,38,72,.055); }
.snx-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px 0; }
.snx-card-kicker { color: var(--snx-gold); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.snx-card-title { margin: 4px 0 0; color: var(--snx-navy-900); font-size: 16px; font-weight: 800; }
.snx-card-subtitle { margin: 5px 0 0; color: var(--snx-muted); font-size: 10px; line-height: 1.5; }
.snx-model-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 9px; background: #f2f6fb; color: #4b5e7c; font-size: 9px; font-weight: 800; white-space: nowrap; }

.snx-upload { position: relative; margin: 18px 22px 20px; padding: 27px 22px; border: 1.5px dashed #afbdd1; border-radius: 14px; background: linear-gradient(180deg, #fbfcfe, #f6f9fd); text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.snx-upload:hover, .snx-upload.is-dragging { border-color: var(--snx-blue); background: #f1f6ff; transform: translateY(-1px); }
.snx-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.snx-upload-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 12px; place-items: center; border: 1px solid #d8e1ee; border-radius: 14px; background: #fff; color: var(--snx-blue); font-size: 19px; box-shadow: 0 8px 16px rgba(31,72,139,.08); }
.snx-upload strong { display: block; color: var(--snx-navy-900); font-size: 13px; }
.snx-upload p { margin: 6px 0 0; color: var(--snx-muted); font-size: 10px; }
.snx-upload-types { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.snx-upload-types span { padding: 4px 7px; border: 1px solid #dce4ef; border-radius: 6px; background: #fff; color: #708099; font-size: 8px; font-weight: 800; }

.snx-files { display: grid; gap: 8px; margin: 0 22px 18px; }
.snx-file { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #e1e7ef; border-radius: 11px; background: #fbfcfe; }
.snx-file-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #edf3fc; color: var(--snx-blue); }
.snx-file-name { overflow: hidden; color: #33415b; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.snx-file-size { margin-top: 2px; color: #9aa5b7; font-size: 8px; }
.snx-file-remove { width: 29px; height: 29px; border: 0; border-radius: 8px; background: transparent; color: #a3adbb; cursor: pointer; }
.snx-file-remove:hover { background: #fff0f0; color: #dc3f4a; }

.snx-process-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 22px 18px; overflow: hidden; border: 1px solid #e2e7ef; border-radius: 11px; background: #e2e7ef; }
.snx-process-item { padding: 11px 9px; background: #f9fbfd; text-align: center; }
.snx-process-item i { color: #6f82a0; font-size: 11px; }
.snx-process-item span { display: block; margin-top: 5px; color: #71809a; font-size: 8px; font-weight: 700; }

.snx-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 22px 22px; }
.snx-safe { display: flex; align-items: center; gap: 7px; color: #8290a5; font-size: 9px; }
.snx-safe i { color: #2ba67b; }
.snx-btn { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 10px; font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .18s; }
.snx-btn:hover { transform: translateY(-1px); }
.snx-btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.snx-btn-primary { background: linear-gradient(135deg, #1d3f79, #2459b8); color: #fff; box-shadow: 0 9px 18px rgba(36,89,184,.19); }
.snx-btn-gold { background: linear-gradient(135deg, #b78320, #d1a648); color: #fff; box-shadow: 0 9px 18px rgba(183,131,32,.2); }
.snx-btn-ghost { border: 1px solid #d9e1ec; background: #fff; color: #4e607c; }

.snx-side-stack { display: grid; gap: 18px; align-content: start; }
.snx-side-body { padding: 17px 20px 20px; }
.snx-assurance { display: grid; gap: 12px; }
.snx-assurance-item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.snx-assurance-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #f0f4fa; color: var(--snx-navy-800); font-size: 11px; }
.snx-assurance-item strong { display: block; color: #34425a; font-size: 10px; }
.snx-assurance-item p { margin: 3px 0 0; color: #8a96a8; font-size: 9px; line-height: 1.45; }
.snx-divider { height: 1px; margin: 15px 0; background: #edf0f5; }
.snx-history { display: grid; gap: 8px; }
.snx-history-empty { padding: 19px 8px; color: #98a3b2; font-size: 9px; line-height: 1.55; text-align: center; }
.snx-history-item { padding: 11px; border: 1px solid #e4e9f0; border-radius: 10px; background: #fafbfd; }
.snx-history-top { display: flex; justify-content: space-between; gap: 8px; }
.snx-history-item strong { color: #3f4e67; font-size: 9px; }
.snx-history-item time { color: #9ca6b5; font-size: 8px; }
.snx-history-item p { margin: 5px 0 0; color: #7d8ba1; font-size: 8px; }

.snx-preview { margin-top: 20px; overflow: hidden; }
.snx-preview.is-hidden { display: none; }
.snx-preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 22px; border-bottom: 1px solid #e3e8ef; background: linear-gradient(180deg, #fff, #fbfcfe); }
.snx-preview-title-wrap { display: flex; gap: 12px; align-items: flex-start; }
.snx-preview-logo { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--snx-navy-900); color: #e2b958; font-size: 15px; }
.snx-preview-title { color: var(--snx-navy-900); font-size: 16px; font-weight: 850; }
.snx-preview-company { margin-top: 5px; color: #78869c; font-size: 9px; }
.snx-preview-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.snx-preview-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 15px 22px; border-bottom: 1px solid #e7ebf1; background: #f8fafc; }
.snx-summary-item { min-width: 0; padding-right: 8px; border-right: 1px solid #e0e6ee; }
.snx-summary-item:last-child { border: 0; }
.snx-summary-item small { display: block; color: #8a97aa; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.snx-summary-item strong { display: block; margin-top: 4px; overflow: hidden; color: #2b3d59; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.snx-establishments { display: flex; align-items: center; gap: 7px; padding: 13px 22px; overflow-x: auto; border-bottom: 1px solid #e8ecf2; }
.snx-estab-label { margin-right: 4px; color: #909caf; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.snx-estab-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 0 10px; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; color: #63728a; font-size: 8px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.snx-estab-btn.active { border-color: #1d3f79; background: #132b50; color: #fff; box-shadow: 0 6px 12px rgba(19,43,80,.14); }
.snx-estab-btn em { padding: 2px 5px; border-radius: 4px; background: rgba(199,154,50,.16); color: #c2912e; font-size: 7px; font-style: normal; }
.snx-estab-btn.active em { color: #f0ca72; }

.snx-table-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 22px; }
.snx-table-meta p { margin: 0; color: #78869b; font-size: 9px; }
.snx-table-meta strong { color: #374862; }
.snx-legend { display: flex; gap: 11px; color: #8d98a9; font-size: 8px; }
.snx-legend span { display: inline-flex; align-items: center; gap: 5px; }
.snx-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--snx-gold); }
.snx-table-wrap { max-height: 485px; overflow: auto; border-top: 1px solid #edf0f4; }
.snx-table { width: 100%; min-width: 1450px; border-collapse: separate; border-spacing: 0; font-size: 8px; }
.snx-table th { position: sticky; top: 0; z-index: 3; min-width: 92px; padding: 10px 8px; border-right: 1px solid #263b60; border-bottom: 1px solid #263b60; background: #132847; color: #dce6f5; font-size: 7px; line-height: 1.35; letter-spacing: .035em; text-align: right; text-transform: uppercase; }
.snx-table th:first-child { left: 0; z-index: 5; min-width: 72px; text-align: left; }
.snx-table th.snx-accent-head { background: #8f6b20; color: #fff7e4; }
.snx-table td { padding: 9px 8px; border-right: 1px solid #edf0f4; border-bottom: 1px solid #e8ecf1; color: #48566d; text-align: right; white-space: nowrap; }
.snx-table td:first-child { position: sticky; left: 0; z-index: 2; background: #f7f9fc; color: #31435f; font-weight: 800; text-align: left; }
.snx-table tbody tr:nth-child(even) td { background: #fafbfd; }
.snx-table tbody tr:nth-child(even) td:first-child { background: #f3f6fa; }
.snx-table tbody tr:hover td { background: #fffaf0; }
.snx-table tbody tr:hover td:first-child { background: #fff5df; }
.snx-table td.snx-mono { color: #9b6d13; font-weight: 800; }
.snx-table td.snx-total { color: #183f78; font-weight: 800; }
.snx-table td.snx-empty { color: #b9c1cd; text-align: center; }
.snx-table tfoot td { position: sticky; bottom: 0; z-index: 2; border-top: 2px solid #d3dbe7; background: #edf2f8 !important; color: #233b60; font-weight: 900; }
.snx-table tfoot td:first-child { z-index: 4; }

.snx-warnings { display: grid; gap: 7px; padding: 13px 22px 18px; }
.snx-warning { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid #efdfb5; border-radius: 9px; background: #fffaf0; color: #80611f; font-size: 8px; line-height: 1.45; }
.snx-warning i { margin-top: 1px; color: #c69732; }

.snx-modal { position: fixed; inset: 0; z-index: 99999; display: grid; padding: 20px; place-items: center; background: rgba(5,13,27,.72); backdrop-filter: blur(7px); animation: snxFade .18s ease-out; }
.snx-modal-panel { width: min(520px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 19px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.34); animation: snxRise .25s ease-out; }
.snx-modal-top { position: relative; overflow: hidden; padding: 24px 26px; background: linear-gradient(135deg, #0b172d, #183668); color: #fff; }
.snx-modal-top::after { content: ""; position: absolute; width: 170px; height: 170px; right: -60px; top: -70px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.018); }
.snx-modal-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.snx-modal-brand-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.08); color: #e0b95f; }
.snx-modal-top h3 { margin: 0; font-size: 15px; font-weight: 850; }
.snx-modal-top p { margin: 4px 0 0; color: #9fb1ce; font-size: 9px; }
.snx-modal-body { padding: 22px 26px 25px; }
.snx-progress-row { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.snx-progress-ring { position: relative; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: conic-gradient(var(--snx-blue) var(--snx-progress, 7%), #e8edf4 0); }
.snx-progress-ring::before { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.snx-progress-ring strong { position: relative; color: #1d3e73; font-size: 10px; }
.snx-progress-copy strong { display: block; color: #263650; font-size: 11px; }
.snx-progress-copy span { display: block; margin-top: 4px; color: #8c98aa; font-size: 9px; line-height: 1.4; }
.snx-stage-list { display: grid; gap: 7px; }
.snx-stage { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; min-height: 38px; padding: 7px 9px; border: 1px solid #e9edf2; border-radius: 10px; background: #fafbfd; color: #8290a4; font-size: 9px; transition: .25s; }
.snx-stage-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #eef2f7; font-size: 8px; }
.snx-stage-state { color: #a3adbb; font-size: 8px; font-weight: 800; }
.snx-stage.active { border-color: #cbd9ee; background: #f4f8ff; color: #31517f; }
.snx-stage.active .snx-stage-icon { background: #dce9fb; color: #2459b8; animation: snxBreathe 1.3s ease-in-out infinite; }
.snx-stage.done { color: #2c735d; }
.snx-stage.done .snx-stage-icon { background: #dff5ec; color: #17966f; }
.snx-stage.done .snx-stage-state { color: #1b9a73; }
.snx-stage.error { border-color: #f1c8cd; background: #fff6f7; color: #a53a48; }
.snx-modal-note { display: flex; gap: 7px; margin-top: 15px; color: #97a1b1; font-size: 8px; line-height: 1.45; }
.snx-modal-note i { margin-top: 2px; color: #c69732; }

@keyframes snxPulse { 0%,100% { opacity: 1; } 50% { opacity: .42; } }
@keyframes snxBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(.88); } }
@keyframes snxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes snxRise { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
    .snx-hero-content, .snx-grid { grid-template-columns: 1fr; }
    .snx-engine-card { min-height: 150px; }
    .snx-preview-summary { grid-template-columns: repeat(3, 1fr); }
    .snx-summary-item:nth-child(3) { border-right: 0; }
}

@media (max-width: 760px) {
    .snx-hero { padding: 22px; border-radius: 15px; }
    .snx-kpis { grid-template-columns: repeat(2, 1fr); margin: 12px 0 0; }
    .snx-grid { margin-top: 12px; }
    .snx-card-head, .snx-preview-head, .snx-actions { flex-direction: column; align-items: stretch; }
    .snx-model-badge { align-self: flex-start; }
    .snx-upload, .snx-files, .snx-process-strip { margin-left: 15px; margin-right: 15px; }
    .snx-actions { padding-left: 15px; padding-right: 15px; }
    .snx-process-strip { grid-template-columns: repeat(2,1fr); }
    .snx-preview-summary { grid-template-columns: repeat(2,1fr); }
    .snx-summary-item { border-right: 0; }
    .snx-preview-actions { justify-content: stretch; }
    .snx-preview-actions .snx-btn { flex: 1; }
    .snx-table-meta { align-items: flex-start; flex-direction: column; }
}

/* Acabamento institucional: leitura técnica, compacta e alinhada ao sistema. */
.snx-sidebar-entry:not(.hidden) {
    position: relative;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.snx-sidebar-entry:not(.hidden)::before {
    content: "";
    position: absolute;
    left: -3px;
    width: 3px;
    height: 20px;
    border-radius: 0 4px 4px 0;
    background: #c79a32;
    opacity: .72;
}
.snx-sidebar-entry.active-nav {
    border-color: #cbd8eb;
    background: #eaf1fb !important;
    color: #173967 !important;
    box-shadow: inset 0 0 0 1px rgba(36, 89, 184, .03);
}
.snx-sidebar-entry.active-nav::before { height: 28px; background: #2459b8; opacity: 1; }

.snx-shell { margin-top: 18px; }
.snx-hero {
    min-height: 0;
    padding: 21px 23px;
    overflow: hidden;
    border: 1px solid #d9e1ec;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18, 37, 67, .055);
    color: var(--snx-ink);
}
.snx-hero::after {
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    opacity: 1;
    background: linear-gradient(90deg, #173967 0 23%, #c79a32 23% 31%, #e7ecf3 31% 100%);
    mask-image: none;
}
.snx-hero-content {
    display: grid;
    grid-template-columns: 54px minmax(230px, 1fr) minmax(330px, 430px);
    gap: 16px;
    align-items: center;
}
.snx-section-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 11px;
    background: #112947;
    box-shadow: inset 0 -3px 0 rgba(199, 154, 50, .65);
    color: #e4bd61;
    font-size: 17px;
}
.snx-hero-copy { min-width: 0; }
.snx-eyebrow {
    display: block;
    margin: 0 0 4px;
    color: #9b711f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
}
.snx-hero h2 {
    margin: 0;
    color: #142742;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 21px;
    line-height: 1.18;
    letter-spacing: -.025em;
}
.snx-hero p { margin: 5px 0 0; color: #718097; font-size: 12px; line-height: 1.5; }
.snx-hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.snx-meta-card {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e1e7ef;
    border-radius: 9px;
    background: #f8fafc;
}
.snx-meta-card span {
    display: block;
    color: #8a96a8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.snx-meta-card strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #32445f;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.snx-meta-card i { margin-right: 5px; color: #287e5c; }

.snx-kpis { gap: 10px; margin: 12px 0 0; }
.snx-kpi {
    min-height: 86px;
    padding: 14px 15px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(18, 37, 67, .04);
}
.snx-kpi-head { font-size: 10px; letter-spacing: .055em; }
.snx-kpi-icon { width: 27px; height: 27px; border-radius: 8px; }
.snx-kpi strong { margin-top: 7px; font-size: 18px; }
.snx-kpi span { font-size: 10px; }

.snx-grid { gap: 15px; margin-top: 15px; }
.snx-card { border-radius: 12px; box-shadow: 0 6px 20px rgba(20, 38, 72, .045); }
.snx-card-head { padding: 18px 19px 0; }
.snx-card-kicker { font-size: 10px; letter-spacing: .1em; }
.snx-card-title { font-size: 16px; }
.snx-card-subtitle { font-size: 11px; }
.snx-client-separator { margin: 0 6px; color: #bdc5d1; }
.snx-model-badge { padding: 7px 10px; font-size: 10px; }

.snx-upload {
    margin: 16px 19px 17px;
    padding: 23px 20px;
    border-color: #aebdd1;
    border-radius: 11px;
    background: #f8fafc;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.snx-upload:hover, .snx-upload.is-dragging {
    border-color: #2459b8;
    background: #f3f7fd;
    box-shadow: inset 0 0 0 1px rgba(36, 89, 184, .08);
    transform: none;
}
.snx-upload-icon { width: 46px; height: 46px; border-radius: 11px; box-shadow: none; }
.snx-upload strong { font-size: 13px; }
.snx-upload p { font-size: 11px; }
.snx-upload-types span { font-size: 9px; }
.snx-files { margin: 0 19px 16px; }
.snx-file-name { font-size: 11px; }
.snx-file-size { font-size: 9px; }
.snx-process-strip { margin: 0 19px 17px; border-radius: 9px; }
.snx-process-item { padding: 10px 8px; }
.snx-process-item span { font-size: 9px; }
.snx-actions { padding: 0 19px 19px; }
.snx-safe { font-size: 10px; line-height: 1.4; }
.snx-btn { min-height: 40px; border-radius: 9px; font-size: 11px; }
.snx-btn-primary { background: #173f78; box-shadow: 0 7px 16px rgba(23, 63, 120, .16); }
.snx-btn-gold { background: #a97c24; box-shadow: 0 7px 16px rgba(169, 124, 36, .16); }

.snx-side-stack { gap: 15px; }
.snx-side-body { padding: 16px 19px 19px; }
.snx-assurance { gap: 14px; }
.snx-assurance-item strong { font-size: 11px; }
.snx-assurance-item p { font-size: 10px; }
.snx-history-empty { font-size: 10px; }
.snx-history-item strong { font-size: 10px; }
.snx-history-item time, .snx-history-item p { font-size: 9px; }

.snx-preview { margin-top: 15px; }
.snx-preview-head { padding: 19px; background: #fff; }
.snx-preview-title { font-size: 16px; }
.snx-preview-company { font-size: 10px; }
.snx-preview-summary { padding: 14px 19px; }
.snx-summary-item small { font-size: 9px; }
.snx-summary-item strong { font-size: 12px; }
.snx-establishments, .snx-table-meta { padding-left: 19px; padding-right: 19px; }
.snx-estab-label, .snx-estab-btn, .snx-table-meta p, .snx-legend { font-size: 9px; }
.snx-warning { font-size: 9px; }

.snx-modal { background: rgba(7, 16, 30, .67); backdrop-filter: blur(4px); }
.snx-modal-panel { width: min(510px, 100%); border-radius: 14px; }
.snx-modal-top { padding: 20px 22px; background: #102746; }
.snx-modal-top::after { display: none; }
.snx-modal-brand-icon { border-radius: 9px; }
.snx-modal-top h3 { font-size: 16px; }
.snx-modal-top p { color: #bdc9da; font-size: 10px; }
.snx-modal-body { padding: 20px 22px 22px; }
.snx-progress-copy strong { font-size: 12px; }
.snx-progress-copy span { font-size: 10px; }
.snx-stage { min-height: 40px; border-radius: 8px; font-size: 10px; }
.snx-stage-state { font-size: 9px; }
.snx-modal-note { display: none; }

@media (max-width: 1100px) {
    .snx-hero-content { grid-template-columns: 50px 1fr; }
    .snx-hero-meta { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .snx-shell { margin-top: 12px; }
    .snx-hero { padding: 18px; border-radius: 12px; }
    .snx-hero-content { grid-template-columns: 44px 1fr; gap: 12px; }
    .snx-section-mark { width: 42px; height: 42px; font-size: 15px; }
    .snx-hero h2 { font-size: 18px; }
    .snx-hero p { font-size: 11px; }
    .snx-hero-meta { grid-template-columns: 1fr; }
    .snx-kpis { margin-top: 10px; }
    .snx-card-head, .snx-preview-head, .snx-actions { flex-direction: column; align-items: stretch; }
    .snx-upload, .snx-files, .snx-process-strip { margin-left: 15px; margin-right: 15px; }
    .snx-actions { padding-left: 15px; padding-right: 15px; }
}

/* Experiência operacional PGDAS-D v3 */
.snx-live-modal *, .snx-shell-pro * { box-sizing: border-box; }
body.snx-live-opened { overflow: hidden; }
.snx-shell-pro { margin-top: 16px; }
.snx-workspace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 86px;
    padding: 17px 20px;
    border: 1px solid #dce3ed;
    border-left: 4px solid #173f78;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(20, 38, 72, .045);
}
.snx-workspace-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.snx-workspace-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: #102a4d;
    color: #d5ab4d;
    box-shadow: inset 0 -3px 0 rgba(199, 154, 50, .55);
    font-size: 17px;
}
.snx-workspace-title h2 { margin: 3px 0 0; color: #142742; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.snx-workspace-title p { margin: 4px 0 0; color: #718097; font-size: 11px; line-height: 1.45; }
.snx-workspace-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.snx-workspace-tools span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #dde4ed;
    border-radius: 8px;
    background: #f8fafc;
    color: #52627a;
    font-size: 10px;
    font-weight: 750;
}
.snx-workspace-tools i { color: #267557; }
.snx-kpis-pro { margin-top: 11px; }
.snx-kpis-pro .snx-kpi { min-height: 82px; box-shadow: none; }

.snx-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(310px, .72fr);
    gap: 14px;
    margin-top: 14px;
}
.snx-import-card { overflow: hidden; }
.snx-card-head-pro { align-items: center; padding: 18px 19px 0; }
.snx-files-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid #dde5ef;
    border-radius: 8px;
    background: #f7f9fc;
    color: #718097;
    font-size: 10px;
    white-space: nowrap;
}
.snx-files-count b { color: #173f78; font-size: 12px; }
.snx-upload-pro {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 93px;
    margin: 16px 19px 15px;
    padding: 16px;
    border: 1px dashed #aebed2;
    text-align: left;
}
.snx-upload-pro .snx-upload-icon { width: 46px; height: 46px; margin: 0; }
.snx-upload-copy { min-width: 0; }
.snx-upload-copy strong { color: #253b5c; font-size: 13px; }
.snx-upload-copy p { color: #7c899d; font-size: 10px; }
.snx-upload-action {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #d6e0ec;
    border-radius: 8px;
    background: #fff;
    color: #274d84;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.snx-upload-pro:hover .snx-upload-action { border-color: #9eb6d7; background: #f7faff; }
.snx-upload-pro.is-disabled { cursor: not-allowed; opacity: .6; }
.snx-process-rail {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 0 19px 17px;
    padding: 13px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.snx-process-rail > div { display: grid; grid-template-columns: 27px auto; column-gap: 8px; align-items: center; }
.snx-process-rail > div > span {
    grid-row: 1 / 3;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 7px;
    background: #e7eef8;
    color: #244c83;
    font-size: 9px;
    font-weight: 900;
}
.snx-process-rail strong { color: #354761; font-size: 10px; line-height: 1.15; }
.snx-process-rail small { color: #8b98aa; font-size: 8px; }
.snx-process-rail > i { display: block; height: 1px; background: #ccd7e5; }
.snx-actions-pro { padding: 0 19px 19px; }
.snx-btn-analyze { min-width: 158px; }
.snx-operations { display: grid; align-content: start; gap: 14px; }
.snx-control-list { display: grid; gap: 0; padding: 12px 18px 17px; }
.snx-control-list > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border-bottom: 1px solid #edf0f4;
}
.snx-control-list > div:last-child { border-bottom: 0; }
.snx-control-list > div > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #edf3fb; color: #204d88; font-size: 11px; }
.snx-control-list p { margin: 0; min-width: 0; }
.snx-control-list p strong { display: block; color: #34465f; font-size: 10px; }
.snx-control-list p small { display: block; margin-top: 2px; color: #8b97a8; font-size: 9px; line-height: 1.3; }
.snx-control-list > div > b { padding: 4px 6px; border-radius: 5px; background: #e8f6f0; color: #218160; font-size: 7px; letter-spacing: .06em; }
.snx-history-card .snx-side-body { padding-top: 13px; }
.snx-history-button { width: 100%; font-family: inherit; text-align: left; cursor: pointer; }
.snx-history-button:hover { border-color: #c9d7e8; background: #f6f9fd; }
.snx-text-success { color: #24805f; }
.snx-text-danger { color: #c84b58; }

/* Resumo permanente na própria tela */
.snx-live-summary {
    display: grid;
    grid-template-columns: 42px minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin-top: 11px;
    padding: 13px 15px;
    border: 1px solid #cfdced;
    border-radius: 11px;
    background: linear-gradient(90deg, #f6f9fe, #fff);
    box-shadow: 0 4px 15px rgba(25, 61, 111, .055);
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.snx-live-summary:hover { border-color: #aebfd8; box-shadow: 0 7px 20px rgba(25, 61, 111, .09); transform: translateY(-1px); }
.snx-live-summary.is-complete { border-color: #bddfd2; background: linear-gradient(90deg, #f3fbf8, #fff); }
.snx-live-summary.is-error { border-color: #efc6cb; background: linear-gradient(90deg, #fff7f8, #fff); }
.snx-live-summary-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 10px; background: #163d73; color: #fff; font-size: 13px; }
.snx-live-summary.is-complete .snx-live-summary-icon { background: #23775b; }
.snx-live-summary.is-error .snx-live-summary-icon { background: #b84250; }
.snx-live-summary-main { display: block; min-width: 0; }
.snx-live-summary-top { display: flex; justify-content: space-between; gap: 10px; }
.snx-live-summary-top strong { overflow: hidden; color: #293f5f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-summary-top em { color: #244f89; font-size: 10px; font-style: normal; font-weight: 850; }
.snx-live-summary-sub { display: block; margin-top: 3px; overflow: hidden; color: #79879b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-track { display: block; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e0e7f0; }
.snx-live-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1e4d8c, #3c78c8); transition: width .45s ease; }
.snx-live-summary.is-complete .snx-live-track i { background: #2c8a68; }
.snx-live-summary.is-error .snx-live-track i { background: #c94b59; }
.snx-live-counters { display: flex; align-items: center; gap: 12px; }
.snx-live-counters > span { color: #8290a3; font-size: 8px; white-space: nowrap; }
.snx-live-counters strong { display: block; color: #354966; font-size: 11px; }
.snx-live-counter-ok strong { color: #23795b; }
.snx-live-counter-warning strong { color: #a77518; }
.snx-live-counter-error strong { color: #ba4050; }
.snx-live-open { display: inline-flex; align-items: center; gap: 7px; color: #1e4a83; font-size: 9px; font-weight: 850; white-space: nowrap; }

/* Painel detalhado: fecha pelo X, Escape ou clique no fundo */
.snx-live-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 15, 29, .64);
    backdrop-filter: blur(7px);
    animation: snxFade .18s ease-out;
}
.snx-live-modal-panel {
    width: min(1060px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: #f6f8fb;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .38);
    animation: snxRise .22s ease-out;
}
.snx-live-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    background: linear-gradient(125deg, #0d213e, #183d70);
    color: #fff;
}
.snx-live-modal-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.snx-live-modal-title > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.08); color: #e2b95e; }
.snx-live-modal-title small { color: #91a7c6; font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.snx-live-modal-title h3 { margin: 3px 0 0; overflow: hidden; color: #fff; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-modal-title p { margin: 4px 0 0; color: #b7c5d9; font-size: 10px; line-height: 1.4; }
.snx-live-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: rgba(255,255,255,.07); color: #dce6f4; cursor: pointer; }
.snx-live-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.snx-live-modal-progress { padding: 14px 22px 13px; border-bottom: 1px solid #dce3ec; background: #fff; }
.snx-live-modal-track { height: 6px; overflow: hidden; border-radius: 999px; background: #e1e7ef; }
.snx-live-modal-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1b477f, #3673c6); transition: width .45s ease; }
.snx-live-modal-stats { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 10px; color: #8793a5; font-size: 9px; }
.snx-live-modal-stats b { color: #334964; font-size: 10px; }
.snx-live-modal-stats .ok b { color: #207a5a; }
.snx-live-modal-stats .warning b { color: #9c711f; }
.snx-live-modal-stats .error b { color: #b53c4a; }
.snx-live-modal-grid { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.3fr); gap: 0; min-height: 430px; }
.snx-live-queue { border-right: 1px solid #dce3ec; background: #fff; }
.snx-live-inspector { position: relative; padding-bottom: 16px; background: #f7f9fc; }
.snx-live-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 13px 17px; border-bottom: 1px solid #e2e7ee; }
.snx-live-section-head small { display: block; color: #9b711f; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.snx-live-section-head strong { display: block; margin-top: 3px; overflow: hidden; color: #30445f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-section-head > span { padding: 5px 7px; border-radius: 6px; background: #eef2f7; color: #708098; font-size: 8px; font-weight: 800; }
.snx-live-files { max-height: 454px; overflow: auto; padding: 9px; }
.snx-live-file { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 52px; padding: 8px 9px; border: 1px solid transparent; border-radius: 9px; }
.snx-live-file + .snx-live-file { margin-top: 4px; }
.snx-live-file.is-active { border-color: #bbcae0; background: #f3f7fd; box-shadow: 0 3px 10px rgba(28,64,112,.06); }
.snx-live-file-state { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: #eef2f6; color: #8793a4; font-size: 9px; }
.snx-live-file.success .snx-live-file-state { background: #e4f5ee; color: #21815f; }
.snx-live-file.warning .snx-live-file-state { background: #fff4da; color: #a7761d; }
.snx-live-file.error .snx-live-file-state { background: #ffeaed; color: #bc4050; }
.snx-live-file.running .snx-live-file-state { background: #e4eefc; color: #245da6; }
.snx-live-file-copy { min-width: 0; }
.snx-live-file-copy strong { display: block; overflow: hidden; color: #3a4d67; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-file-copy small { display: block; margin-top: 3px; overflow: hidden; color: #929dad; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-file-label { color: #8995a6; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.snx-live-file.success .snx-live-file-label { color: #26775d; }
.snx-live-file.warning .snx-live-file-label { color: #986d1a; }
.snx-live-file.error .snx-live-file-label { color: #b53c4b; }
.snx-live-file.running .snx-live-file-label { color: #265a9c; }
.snx-live-inspector-status { display: grid; grid-template-columns: 44px 1fr; gap: 12px; margin: 16px; padding: 15px; border: 1px solid #dfe6ef; border-radius: 11px; background: #fff; }
.snx-live-inspector-status > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: #edf3fb; color: #265891; }
.snx-live-inspector-status small { color: #8f9bad; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.snx-live-inspector-status strong { display: block; margin-top: 2px; color: #30455f; font-size: 12px; }
.snx-live-inspector-status p { margin: 4px 0 0; color: #7e8b9e; font-size: 9px; line-height: 1.45; }
.snx-live-inspector-status.success > span { background: #e4f5ee; color: #21815f; }
.snx-live-inspector-status.warning > span { background: #fff4da; color: #a7761d; }
.snx-live-inspector-status.error > span { background: #ffeaed; color: #bc4050; }
.snx-live-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 16px; }
.snx-live-data-grid > div { min-width: 0; padding: 12px; border: 1px solid #e1e7ef; border-radius: 9px; background: #fff; }
.snx-live-data-grid small { display: block; color: #909cad; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.snx-live-data-grid strong { display: block; margin-top: 4px; overflow: hidden; color: #344861; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.snx-live-note { display: flex; align-items: flex-start; gap: 8px; margin: 13px 16px 0; padding: 10px 11px; border: 1px solid #dbe4ef; border-radius: 9px; background: #eef4fb; color: #65758b; font-size: 9px; line-height: 1.45; }
.snx-live-note i { margin-top: 1px; color: #2a5f9e; }
.snx-live-final { margin: 13px 16px 0; padding: 13px; border: 1px solid #cbe4da; border-left: 3px solid #27815f; border-radius: 9px; background: #f4fbf8; }
.snx-live-final.is-error { border-color: #efcbd0; border-left-color: #be4351; background: #fff7f8; }
.snx-live-final small { color: #788899; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.snx-live-final strong { display: block; margin-top: 3px; color: #2e4a41; font-size: 11px; }
.snx-live-final p { margin: 4px 0 0; color: #74867f; font-size: 9px; }
.snx-live-empty { padding: 36px 15px; color: #8d99a9; font-size: 10px; text-align: center; }
.snx-live-empty-inspector { display: grid; min-height: 270px; place-items: center; align-content: center; padding: 25px; color: #8795a8; text-align: center; }
.snx-live-empty-inspector i { margin-bottom: 10px; color: #90a3be; font-size: 27px; }
.snx-live-empty-inspector strong { color: #475b77; font-size: 12px; }
.snx-live-empty-inspector p { margin: 5px 0 0; font-size: 9px; }

@media (max-width: 1120px) {
    .snx-workspace-head { align-items: flex-start; flex-direction: column; }
    .snx-workspace-tools { justify-content: flex-start; }
    .snx-workbench { grid-template-columns: 1fr; }
    .snx-operations { grid-template-columns: 1fr 1fr; }
    .snx-live-summary { grid-template-columns: 42px minmax(220px, 1fr) auto; }
    .snx-live-counters { grid-column: 2 / 3; }
    .snx-live-open { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 760px) {
    .snx-workspace-head { padding: 15px; }
    .snx-workspace-tools { display: grid; width: 100%; grid-template-columns: 1fr; }
    .snx-workspace-tools span { justify-content: flex-start; }
    .snx-upload-pro { grid-template-columns: 44px 1fr; margin-left: 15px; margin-right: 15px; }
    .snx-upload-action { grid-column: 1 / -1; justify-content: center; }
    .snx-process-rail { grid-template-columns: 1fr 1fr; margin-left: 15px; margin-right: 15px; }
    .snx-process-rail > i { display: none; }
    .snx-actions-pro { padding-left: 15px; padding-right: 15px; }
    .snx-operations { grid-template-columns: 1fr; }
    .snx-live-summary { grid-template-columns: 38px minmax(0, 1fr); }
    .snx-live-counters { grid-column: 1 / -1; padding-left: 51px; flex-wrap: wrap; }
    .snx-live-open { grid-column: 1 / -1; justify-content: flex-end; }
    .snx-live-modal { padding: 9px; }
    .snx-live-modal-panel { max-height: calc(100vh - 18px); border-radius: 12px; }
    .snx-live-modal-head { padding: 16px; }
    .snx-live-modal-title > span { display: none; }
    .snx-live-modal-title h3 { white-space: normal; }
    .snx-live-modal-progress { padding: 13px 16px; }
    .snx-live-modal-grid { grid-template-columns: 1fr; }
    .snx-live-queue { border-right: 0; border-bottom: 1px solid #dce3ec; }
    .snx-live-files { max-height: 245px; }
    .snx-live-data-grid { grid-template-columns: 1fr; }
}
