/*
 * Nemesis — Design System CSS
 * Inspirado en Gentelella v4 (colorlib.com)
 * Compatible con Bootstrap 5
 * ============================================================
 */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties (Light Theme) ───────────────────── */
:root {
    --primary:        #1ABB9C;
    --primary-dk:     #138f76;
    --primary-lt:     #e8f8f5;
    --azure:          #206bc4;
    --blue:           #4da3ff;
    --green:          #2fb344;
    --yellow:         #f59f00;
    --red:            #d63939;
    --purple:         #ae3ec9;
    --orange:         #f76707;

    --sidebar-bg:     #1a2332;
    --sidebar-width:  240px;
    --sidebar-text:   rgba(255,255,255,.75);
    --sidebar-hover:  rgba(255,255,255,.08);
    --sidebar-active: rgba(26,187,156,.15);
    --sidebar-active-text: #1ABB9C;
    --sidebar-border: rgba(255,255,255,.06);
    --brand-color:    #1ABB9C;

    --topbar-bg:      #ffffff;
    --topbar-border:  #e8ecf0;
    --topbar-h:       60px;

    --bg:             #f0f2f5;
    --surface:        #ffffff;
    --border-color:   #e5e9f0;
    --text:           #1a2332;
    --text-muted:     #6b7280;
    --text-secondary: #4b5563;

    --radius:         10px;
    --radius-sm:      6px;
    --shadow:         0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
    --shadow-md:      0 4px 12px rgba(0,0,0,.10);
    --transition:     all .2s ease;
    --font:           'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Dark Theme ─────────────────────────────────────────────── */
[data-theme="dark"] {
    --topbar-bg:      #1e2a3b;
    --topbar-border:  #2d3a4e;
    --bg:             #141c26;
    --surface:        #1a2332;
    --border-color:   #2d3a4e;
    --text:           #e2e8f0;
    --text-muted:     #94a3b8;
    --text-secondary: #cbd5e1;
    --shadow:         0 1px 3px rgba(0,0,0,.2), 0 4px 16px rgba(0,0,0,.15);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* ── Shell Layout ───────────────────────────────────────────── */
.shell {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1040;
    transition: transform .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}
.sidebar-inner::-webkit-scrollbar { width: 4px; }
.sidebar-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px 18px;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}
.brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    letter-spacing: -.5px;
    flex-shrink: 0;
}
.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px;
}
.brand-name small {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,.4);
    margin-left: 4px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Nav */
.sidebar-nav {
    padding: 12px 0;
    flex: 1;
}
.nav-group { margin-bottom: 4px; }
.nav-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 16px 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover {
    background: var(--sidebar-hover);
    color: #fff;
}
.nav-link.active {
    background: var(--sidebar-active);
    color: var(--sidebar-active-text);
}
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
}
.nav-link .icon {
    flex-shrink: 0;
    opacity: .7;
}
.nav-link.active .icon,
.nav-link:hover .icon {
    opacity: 1;
}
.nav-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}
.nav-badge-primary { background: rgba(26,187,156,.2); color: var(--primary); }
.nav-badge-warning  { background: rgba(245,159,0,.2);  color: var(--yellow); }
.nav-badge-danger   { background: rgba(214,57,57,.2);  color: var(--red); }

/* Sub-menu (collapsible) */
.nav-tree .nav-sub {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
}
.nav-tree.open .nav-sub { max-height: 500px; }
.nav-sublink {
    display: block;
    padding: 7px 16px 7px 44px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}
.nav-sublink:hover,
.nav-sublink.active { color: #fff; background: var(--sidebar-hover); }
.nav-chev {
    flex-shrink: 0;
    transition: transform .2s;
}
.nav-tree.open .nav-chev { transform: rotate(90deg); }

/* Sidebar Footer / User */
.sidebar-footer {
    border-top: 1px solid var(--sidebar-border);
    padding: 12px 16px;
    flex-shrink: 0;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-user .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--azure));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.sidebar-user .online {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    border: 2px solid var(--sidebar-bg);
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-info .name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user-info .role {
    font-size: 11px;
    color: rgba(255,255,255,.4);
}
.sidebar-user-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}
.sidebar-user-btn:hover { color: #fff; background: var(--sidebar-hover); }

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--topbar-h);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    z-index: 1030;
    transition: left .28s cubic-bezier(.4,0,.2,1);
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hamburger toggle */
.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--bg); color: var(--text); }

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border-color); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* Topbar buttons */
.tb-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 7px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}
.tb-btn:hover { background: var(--bg); color: var(--text); }

/* Notification dot */
.tb-btn .dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--topbar-bg);
}

/* Avatar button */
.tb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--azure));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.tb-avatar:hover { opacity: .85; }

/* Theme toggle */
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark  { display: block; }

/* ── Main Content Area ──────────────────────────────────────── */
.main {
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-h);
    flex: 1;
    min-width: 0;
    transition: margin-left .28s cubic-bezier(.4,0,.2,1);
}

.page-wrapper {
    padding: 24px;
    /* max-width: 1600px; */
}

/* Page header */
.page-header { margin-bottom: 24px; }
.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.page-pretitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -.4px;
}
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    gap: 12px;
}
.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}
.card-body {
    padding: 20px;
}
.card-body.p-0 { padding: 0; }
.card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg);
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Grid Rows ──────────────────────────────────────────────── */
.grid-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}
.col-4    { grid-template-columns: repeat(4, 1fr); }
.col-3    { grid-template-columns: repeat(3, 1fr); }
.col-2    { grid-template-columns: repeat(2, 1fr); }
.col-8-4  { grid-template-columns: 1fr 380px; }
.col-full { grid-template-columns: 1fr; }

/* ── Stat Cards ─────────────────────────────────────────────── */
.stat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
}
.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon.teal   { background: rgba(26,187,156,.12); color: var(--primary); }
.stat-icon.blue   { background: rgba(77,163,255,.12); color: var(--blue); }
.stat-icon.green  { background: rgba(47,179,68,.12);  color: var(--green); }
.stat-icon.yellow { background: rgba(245,159,0,.12);  color: var(--yellow); }
.stat-icon.red    { background: rgba(214,57,57,.12);  color: var(--red); }
.stat-icon.purple { background: rgba(174,62,201,.12); color: var(--purple); }
.stat-icon.azure  { background: rgba(32,107,196,.12); color: var(--azure); }

.stat-content { flex: 1; min-width: 0; }
.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 4px;
}
.stat-value-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    letter-spacing: -.8px;
}
.stat-change {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}
.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }
.stat-subtext {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Sparkline bars */
.stat-spark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 36px;
    flex-shrink: 0;
    padding: 4px 0;
}
.stat-spark .bar {
    width: 5px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    opacity: .5;
    transition: opacity .2s;
}
.stat-spark .bar:last-child { opacity: 1; }

/* Progress thin */
.progress-thin {
    height: 4px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}
.progress-thin .bar {
    height: 100%;
    border-radius: 4px;
    transition: width .5s ease;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-sm  { padding: 5px 12px; font-size: 12px; }
.btn-lg  { padding: 10px 22px; font-size: 15px; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color);
}
.btn-outline:hover { background: var(--bg); color: var(--text); }

.btn-danger  { background: var(--red);    color: #fff; border-color: var(--red); }
.btn-success { background: var(--green);  color: #fff; border-color: var(--green); }
.btn-warning { background: var(--yellow); color: #fff; border-color: var(--yellow); }

/* ── Tables ─────────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.table th {
    padding: 11px 16px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    background: var(--bg);
}
.table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text);
    vertical-align: middle;
    background: var(--surface);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--bg); }

.cell-mono  { font-family: monospace; font-size: 12px; color: var(--text-muted); }
.cell-strong { font-weight: 600; }
.cell-customer { display: flex; align-items: center; gap: 8px; }
.cell-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Status / Badge Pills ───────────────────────────────────── */
.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}
.status::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.status-green  { background: rgba(47,179,68,.12);  color: var(--green); }
.status-blue   { background: rgba(77,163,255,.12); color: var(--blue); }
.status-yellow { background: rgba(245,159,0,.12);  color: var(--yellow); }
.status-red    { background: rgba(214,57,57,.12);  color: var(--red); }
.status-gray   { background: rgba(107,114,128,.12);color: var(--text-muted); }
.status-purple { background: rgba(174,62,201,.12); color: var(--purple); }
.status-teal   { background: rgba(26,187,156,.12); color: var(--primary); }

/* ── Activity Feed ──────────────────────────────────────────── */
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.activity-item:last-child { border-bottom: none; }
.activity-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.activity-body { font-size: 13px; color: var(--text); }
.activity-time { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 13.5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.alert-success { background: rgba(47,179,68,.1);  border-color: rgba(47,179,68,.3);  color: var(--green); }
.alert-danger  { background: rgba(214,57,57,.1);  border-color: rgba(214,57,57,.3);  color: var(--red); }
.alert-warning { background: rgba(245,159,0,.1);  border-color: rgba(245,159,0,.3);  color: var(--yellow); }
.alert-info    { background: rgba(77,163,255,.1); border-color: rgba(77,163,255,.3); color: var(--blue); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: block;
}
.form-check-label {
    color: var(--text);
}
.form-control, .form-select {
    width: 100%;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
    appearance: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,187,156,.12);
}
.form-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.invalid-feedback { font-size: 12px; color: var(--red); margin-top: 4px; }
.is-invalid { border-color: var(--red) !important; }

/* ── Sidebar collapsed (mobile) ─────────────────────────────── */
body.sidebar-collapsed .sidebar { transform: translateX(calc(-1 * var(--sidebar-width))); }
body.sidebar-collapsed .topbar  { left: 0; }
body.sidebar-collapsed .main    { margin-left: 0; }

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1039;
    backdrop-filter: blur(2px);
}
body.sidebar-open .sidebar-overlay { display: block; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .col-8-4   { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .col-4     { grid-template-columns: repeat(2, 1fr); }
    .col-3     { grid-template-columns: repeat(2, 1fr); }
    .page-wrapper { padding: 16px; }
    .stat-value { font-size: 22px; }
}
@media (max-width: 991px) {
    /* On tablet/mobile: sidebar is off-canvas */
    body:not(.sidebar-open) .sidebar {
        transform: translateX(calc(-1 * var(--sidebar-width)));
    }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .topbar { left: 0 !important; }
    .main   { margin-left: 0 !important; }
}
@media (max-width: 480px) {
    .col-4 { grid-template-columns: 1fr; }
    .col-3 { grid-template-columns: 1fr; }
    .col-2 { grid-template-columns: 1fr; }
    .page-header-row { flex-direction: column; align-items: flex-start; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-muted   { color: var(--text-muted) !important; }
.text-primary  { color: var(--primary) !important; }
.text-success  { color: var(--green) !important; }
.text-danger   { color: var(--red) !important; }
.text-warning  { color: var(--yellow) !important; }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.mb-0          { margin-bottom: 0; }
.mb-1          { margin-bottom: 4px; }
.mb-2          { margin-bottom: 8px; }
.mb-3          { margin-bottom: 16px; }
.mb-4          { margin-bottom: 24px; }
.gap-2         { gap: 8px; }
.gap-3         { gap: 16px; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat-value { animation: countUp .4s ease both; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.card { animation: fadeIn .3s ease both; }

/* ── Skip link (accessibility) ──────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 13px;
    transition: top .2s;
}
.skip-link:focus { top: 8px; }
