:root {
    --bg: #f3f6fb;
    --bg-soft: #f8fbff;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-tint: #eef4ff;
    --sidebar: #0f1e3a;
    --sidebar-2: #10264a;
    --line: #dbe5f2;
    --line-strong: #c8d6ea;
    --text: #0f172a;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --radius: 28px;
    --radius-sm: 18px;
    --shadow-card: 0 18px 50px -30px rgba(15, 23, 42, .24);
    --shadow-shell: 0 30px 80px -35px rgba(15, 23, 42, .22);
    --shadow-button: 0 14px 30px -14px rgba(37, 99, 235, .45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
    color: var(--text);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.page-bg { position: fixed; inset: 0; pointer-events: none; }
.site-frame { max-width: 1600px; margin: 0 auto; padding: 22px; }

/* AUTH */
body.auth-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}
.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
}
.auth-side, .auth-card { padding: 54px; }
.auth-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 46%, #e9f0ff 100%);
}
.auth-badge, .badge, .user-pill, .demo-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
}
.auth-badge {
    padding: 10px 16px;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 24px -18px rgba(37, 99, 235, .5);
    margin-bottom: 18px;
    width: fit-content;
    font-weight: 600;
}
.auth-side h1 {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -.03em;
}
.auth-side p { color: #475569; font-size: 18px; max-width: 620px; line-height: 1.8; }
.feature-list { padding-left: 18px; color: #334155; line-height: 2; }
.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(200,214,234,.7);
}
.auth-panel {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 34px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow-shell);
}
.auth-card h2 { margin: 0 0 6px; font-size: 32px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.demo-box {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    border-radius: 16px;
    color: #334155;
    display: block;
}
.demo-box strong { color: var(--text); }
.form-grid { display: grid; gap: 14px; }
label span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}
input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
    background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.btn {
    border: 0;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    padding: 13px 18px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow-button);
    transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { filter: brightness(.98); transform: translateY(-1px); }
.btn-light {
    background: #fff;
    box-shadow: none;
    border: 1px solid var(--line);
    color: #334155;
}
.btn-danger {
    background: linear-gradient(135deg, var(--danger), #ef4444);
    box-shadow: 0 14px 30px -14px rgba(220, 38, 38, .35);
}
.btn-small { padding: 10px 12px; border-radius: 14px; font-size: 13px; }
.btn-block { width: 100%; }
.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-weight: 500;
}
.alert-success { background: rgba(5,150,105,.08); border-color: rgba(5,150,105,.18); color: #047857; }
.alert-danger { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.18); color: #b91c1c; }

/* APP SHELL */
.app-shell {
    position: relative;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: calc(100vh - 44px);
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-shell);
}
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, .4);
    z-index: 35;
}
.sidebar {
    background: linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-2) 100%);
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 22px;
    position: sticky;
    top: 0;
    height: calc(100vh - 44px);
    color: #e2e8f0;
    z-index: 40;
}
.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #0f172a;
    background: #fff;
}
.menu { display: grid; gap: 10px; margin-top: 26px; }
.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #cbd5e1;
    border: 1px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.menu-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.menu-link.active {
    background: #fff;
    color: #0f172a;
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 10px 30px -20px rgba(0,0,0,.45);
}
.menu-icon {
    width: 18px;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
}
.sidebar-card {
    margin-top: 28px;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.08);
}
.sidebar-chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}
.sidebar-card h3 {
    margin: 14px 0 8px;
    font-size: 20px;
    color: #fff;
}
.sidebar-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #cbd5e1;
}
.main-area { padding: 24px; min-width: 0; background: var(--surface); }
.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 6px 2px 8px;
    margin-bottom: 18px;
}
.topbar-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.topbar h1 {
    margin: 8px 0 6px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: var(--primary);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}
.topbar-desc { max-width: 760px; line-height: 1.75; }
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.search-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted-2);
    box-shadow: 0 10px 20px -18px rgba(15,23,42,.2);
}
.user-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
}
.user-card strong { display: block; font-size: 14px; }
.content { display: grid; gap: 22px; }
.hero-card {
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 46%, #e9f0ff 100%);
    padding: 28px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 22px;
    align-items: center;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid #dbeafe;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px -20px rgba(37,99,235,.45);
}
.hero-card h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em;
}
.hero-card p {
    margin: 0;
    max-width: 720px;
    color: #475569;
    line-height: 1.85;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.hero-side {
    display: grid;
    gap: 14px;
}
.hero-mini {
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.9);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-card);
}
.hero-mini .label { color: var(--muted); font-size: 14px; }
.hero-mini strong {
    display: block;
    margin-top: 6px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.03em;
}
.hero-mini-note {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.hero-mini-note.success { background: #ecfdf5; color: #047857; }
.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.stat-card, .panel-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}
.stat-card {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.stat-copy { min-width: 0; }
.stat-card span, .meta-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.03em;
}
.stat-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.7;
}
.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #dbeafe;
    font-weight: 800;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.grid-main-aside {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 20px;
}
.align-start { align-items: start; }
.panel-card { padding: 22px; }
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.panel-head h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.panel-head p { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.panel-sub { color: var(--muted); margin-top: 4px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0 10px; min-width: 680px; }
.table-wrap.compact table { min-width: 100%; }
.table-wrap thead tr,
.table-head-row {
    background: var(--surface-soft);
    border: 1px solid var(--line);
}
th, td {
    padding: 16px 14px;
    text-align: left;
    vertical-align: middle;
}
th {
    color: var(--muted-2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
}
tbody tr {
    background: var(--surface-soft);
}
.table-wrap tbody tr td:first-child,
.table-wrap thead tr th:first-child { border-top-left-radius: 18px; border-bottom-left-radius: 18px; }
.table-wrap tbody tr td:last-child,
.table-wrap thead tr th:last-child { border-top-right-radius: 18px; border-bottom-right-radius: 18px; }
.table-company {
    font-weight: 700;
    color: var(--text);
}
.table-muted { color: var(--muted); font-size: 14px; }
.badge {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}
.badge-success { background: rgba(5,150,105,.10); color: #047857; border-color: rgba(5,150,105,.15); }
.badge-muted { background: rgba(148,163,184,.10); color: #475569; border-color: rgba(148,163,184,.14); }
.badge-plain { background: rgba(37,99,235,.08); color: var(--primary); border-color: rgba(37,99,235,.12); }
.badge-warning { background: rgba(217,119,6,.10); color: #b45309; border-color: rgba(217,119,6,.15); }
.actions-inline, .inline-filter {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.actions-inline form { margin: 0; }
.stats-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.note-card {
    padding: 18px;
    border-radius: 24px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}
.note-card h4 { margin: 0 0 10px; font-size: 18px; }
.note-list { display: grid; gap: 12px; }
.note-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #475569;
    line-height: 1.75;
}
.note-bullet {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
}
.metric-grid {
    display: grid;
    gap: 4px;
}
.metric-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
}
.inline-progress {
    margin-top: 16px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--line);
}
.inline-progress > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
}
.form-card {
    padding: 26px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.form-card .form-grid { gap: 16px; }
.split-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.company-list {
    display: grid;
    gap: 14px;
}
.company-item {
    padding: 20px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}
.company-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.company-item h4 {
    margin: 0;
    font-size: 20px;
}
.company-item p {
    margin: 6px 0 0;
    color: var(--muted);
}
.company-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #edf2f7;
}
.company-meta .meta {
    display: grid;
    gap: 6px;
}
.company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.simple-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}
.simple-card {
    width: min(90vw, 480px);
    padding: 30px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-shell);
}
.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 10px 20px -18px rgba(15,23,42,.2);
    cursor: pointer;
    flex: 0 0 46px;
}
.menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #334155;
    border-radius: 999px;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.chart-placeholder {
    min-height: 290px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(37,99,235,.08) 0%, rgba(37,99,235,.02) 100%),
        linear-gradient(90deg, rgba(203,213,225,.6) 1px, transparent 1px),
        linear-gradient(0deg, rgba(203,213,225,.6) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
    border: 1px solid #dbe5f2;
    position: relative;
    overflow: hidden;
}
.chart-line {
    position: absolute;
    inset: auto 20px 44px 20px;
    height: 140px;
}
.chart-line svg { width: 100%; height: 100%; }
.empty-state {
    padding: 26px;
    border-radius: 24px;
    background: var(--surface-soft);
    border: 1px dashed var(--line-strong);
    text-align: center;
    color: var(--muted);
}

@media (max-width: 1280px) {
    .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid,
    .grid-main-aside,
    .grid-2,
    .auth-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    .site-frame { padding: 14px; }
    .app-shell { grid-template-columns: 1fr; min-height: calc(100vh - 28px); }
    .sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        bottom: 0;
        width: min(86vw, 320px);
        height: 100vh;
        transition: left .25s ease;
    }
    .sidebar.open { left: 0; }
    .mobile-overlay.open { display: block; }
    .menu-toggle { display: inline-block; }
    .topbar { align-items: flex-start; }
    .topbar-right { width: 100%; justify-content: flex-start; }
}

@media (max-width: 820px) {
    .grid-cards,
    .stats-note-grid,
    .split-fields { grid-template-columns: 1fr; }
    .topbar h1 { font-size: 38px; }
    .search-pill { width: 100%; justify-content: flex-start; }
    .user-card { max-width: 100%; }
}

@media (max-width: 640px) {
    .auth-side, .auth-card, .main-area { padding: 18px; }
    .auth-panel { padding: 24px; border-radius: 26px; }
    .hero-card, .panel-card, .stat-card, .form-card, .simple-card { border-radius: 24px; }
    .topbar { gap: 16px; }
    .topbar h1 { font-size: 32px; }
    .hero-card h2 { font-size: 28px; }
    .hero-mini strong, .metric-value, .stat-card strong { font-size: 28px; }
    .topbar-right { flex-direction: column; align-items: stretch; }
    .company-meta { grid-template-columns: 1fr; }
    table { min-width: 620px; }
}


.topbar-left > div,
.panel-head > div,
.hero-grid > div,
.hero-side,
.stat-copy,
.note-list-item > span,
.company-item,
.company-item-head > div {
    min-width: 0;
}

.grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid-main-aside { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }

@media (max-width: 1080px) {
    .main-area { padding: 20px; }
}

/* v2 cleanup */
body {
    background: #eaf0f7;
}
.site-frame {
    max-width: 1480px;
    padding: 18px;
}
.app-shell {
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 36px);
    background: #f7fafe;
}
.sidebar {
    padding: 18px;
    overflow-y: auto;
}
.brand-sub {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 2px;
}
.main-area {
    background: #f7fafe;
    padding: 26px;
}
.topbar {
    margin-bottom: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.topbar h1 {
    margin-top: 10px;
    font-size: clamp(28px, 3vw, 40px);
}
.topbar-desc {
    max-width: 620px;
    line-height: 1.6;
}
.search-pill {
    display: none;
}
.hero-card-clean {
    background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid #dbe5f2;
    box-shadow: var(--shadow-card);
}
.hero-grid-clean {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: stretch;
}
.hero-card-clean h2 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: clamp(24px, 2.3vw, 34px);
}
.quick-links .btn {
    box-shadow: none;
}
.summary-stack {
    display: grid;
    gap: 14px;
}
.summary-box {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}
.summary-box span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}
.summary-box strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.03em;
}
.summary-box small {
    display: block;
    margin-top: 8px;
    color: #475569;
}
.grid-cards-tight {
    gap: 14px;
}
.compact-stat {
    border-radius: 24px;
    padding: 20px;
}
.compact-stat strong {
    font-size: 28px;
}
.note-card {
    background: #fff;
}
.table-wrap.compact table {
    min-width: 0;
}
.table-wrap.compact {
    overflow-x: auto;
}
.table-wrap.compact th,
.table-wrap.compact td {
    white-space: nowrap;
}
@media (max-width: 1080px) {
    .hero-grid-clean,
    .grid-main-aside,
    .grid-2,
    .grid-cards {
        grid-template-columns: 1fr;
    }
    .site-frame {
        padding: 12px;
    }
    .main-area {
        padding: 18px;
    }
}
@media (max-width: 640px) {
    .table-wrap.compact th,
    .table-wrap.compact td {
        white-space: normal;
    }
    .summary-box strong,
    .compact-stat strong {
        font-size: 24px;
    }
}
