/* =============================================================================
   PH World Design System v2.20 — Tech Blue Theme
   Enhances style.css with modern UI patterns, smooth animations, mobile-first
   ============================================================================= */
:root {
    /* Enhanced palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Surface colors */
    --surface-0: #ffffff;
    --surface-50: #f8fafc;
    --surface-100: #f1f5f9;
    --surface-200: #e2e8f0;
    --surface-300: #cbd5e1;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== SMOOTHER SIDEBAR ===== */
.sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    width: 270px;
    transition: transform 0.3s var(--ease-out), width 0.3s var(--ease-out);
}

.sidebar-brand {
    padding: 24px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-menu a {
    padding: 11px 20px;
    font-size: 13.5px;
    margin: 1px 8px;
    border-radius: 8px;
    color: #e2e8f0;
    transition: all 0.15s var(--ease-out);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-menu a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.15s;
}

.sidebar-menu a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.sidebar-menu a:hover i {
    color: #93c5fd;
}

.sidebar-menu a.active {
    background: rgba(59,130,246,0.25);
    color: #93c5fd;
}

.sidebar-menu a.active i {
    color: #93c5fd;
}

.sidebar-menu .menu-label {
    padding: 20px 20px 6px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #e2e8f0;
    text-transform: uppercase;
    font-weight: 700;
}

.sidebar-menu .menu-label i {
    color: #e2e8f0;
}

.menu-label[data-section="my-workspace"],
.menu-label[data-section="my-approvals"] {
    color: #f1f5f9;
    font-weight: 700;
}

.menu-label[data-section="my-workspace"] i,
.menu-label[data-section="my-approvals"] i {
    color: #60a5fa;
}

.sidebar-menu .menu-label:hover {
    color: #fff;
}

/* ===== HEADER REFINEMENTS ===== */
.header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-200);
    height: 60px;
}

.header-left h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-900);
}

/* ===== CARD REFINEMENTS ===== */
.card {
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s var(--ease-out);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 18px 22px;
    background: var(--surface-50);
    border-bottom: 1px solid var(--surface-200);
}

.card-header h5, .card-header h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-900);
}

.card-body {
    padding: 22px;
}

.card-footer {
    padding: 14px 22px;
    background: var(--surface-50);
    border-top: 1px solid var(--surface-200);
}

/* ===== GRADIENT STAT CARDS ===== */
.stat-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-card .stat-label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
    font-weight: 500;
}

.stat-card .stat-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 40px;
    opacity: 0.15;
}

.stat-card-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
.stat-card-success { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; }
.stat-card-warning { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.stat-card-danger { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.stat-card-info { background: linear-gradient(135deg, #0891b2, #0e7490); color: #fff; }
.stat-card.clickable { cursor:pointer; transition:transform .15s,box-shadow .15s; }
.stat-card.clickable:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }

/* Prevent CLS from Font Awesome */
.fas, .far, .fal, .fab { min-width: 1.25em; display: inline-block; text-align: center; }
.stat-card.clickable:active { transform:translateY(0); }

/* ===== GRADIENT METRIC CARDS (proj-metric-card style) ===== */
.metric-card {
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.metric-card .mc-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.metric-card .mc-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  opacity: 0.22;
  color: #fff;
}
.metric-card .mc-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}
.metric-card .mc-label {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.metric-card .mc-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
  position: relative;
  z-index: 1;
}
.metric-grid { display:grid; gap:12px; margin-bottom:20px; }
/* 6-column grid responsive breakpoints */
@media (max-width:1400px){.metric-grid-6{grid-template-columns:repeat(4,1fr)!important;}}
@media (max-width:1200px){.metric-grid-6{grid-template-columns:repeat(3,1fr)!important;}}
@media (max-width:900px){.metric-grid-6{grid-template-columns:repeat(2,1fr)!important;}}
@media (max-width:480px){.metric-grid-6{grid-template-columns:1fr!important;}}
@media (max-width:1200px){.metric-grid-5{grid-template-columns:repeat(3,1fr)!important;}.metric-grid-4{grid-template-columns:repeat(2,1fr)!important;}}
@media (max-width:768px){.metric-grid-5,.metric-grid-4,.metric-grid-3{grid-template-columns:repeat(2,1fr)!important;}}
@media (max-width:480px){.metric-grid-5,.metric-grid-4,.metric-grid-3{grid-template-columns:1fr!important;}}

/* ===== MODERN BUTTONS ===== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    transition: all 0.2s var(--ease-out);
    gap: 8px;
}

.btn-primary {
    background: var(--primary-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn-outline {
    border: 1.5px solid var(--surface-300);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: none;
}
.btn-ghost:hover {
    background: var(--surface-100);
    color: var(--text);
}

.btn-sm { padding: 7px 13px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 10px; }
.btn-xl { padding: 18px 32px; font-size: 17px; border-radius: 12px; }

/* ===== FORM REFINEMENTS ===== */
.form-control {
    border-radius: 8px;
    border: 1.5px solid var(--surface-200);
    padding: 11px 14px;
    font-size: 14px;
    transition: all 0.2s var(--ease-out);
    background: var(--surface-0);
}

.form-control:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

/* ===== BADGE REFINEMENTS ===== */
.badge {
    font-size: 10.5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #e0f2fe; color: #075985; }

/* ===== TABS ===== */
.tab-link {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}
.tab-link:hover {
    color: var(--primary-600);
}
.tab-link.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-500);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 10px 24px;
    background: var(--surface-50);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}
.breadcrumb .breadcrumb-home {
    color: var(--primary);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background .15s;
    font-size: 14px;
}
.breadcrumb .breadcrumb-home:hover {
    background: rgba(37,99,235,.1);
}
.breadcrumb .breadcrumb-link {
    color: var(--primary);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background .15s;
}
.breadcrumb .breadcrumb-link:hover {
    background: rgba(37,99,235,.1);
    text-decoration: underline;
}
.breadcrumb .breadcrumb-sep {
    color: var(--text-lighter);
    font-size: 14px;
    font-weight: 300;
    margin: 0 2px;
}
.breadcrumb .breadcrumb-current {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12.5px;
    padding: 2px 4px;
}

/* ===== PAGE HEADER ===== */
.page-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-900);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 13.5px;
    border: none;
    box-shadow: var(--shadow-xs);
}

/* ===== MOBILE-FIRST GPS CHECK-IN ===== */
.gps-checkin-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(180deg, var(--surface-0) 0%, var(--surface-50) 100%);
}

.gps-checkin-card .gps-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    transition: all 0.3s var(--ease-spring);
}

.gps-checkin-card .gps-icon.ready {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: #fff;
    box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}

.gps-checkin-card .gps-icon.checked-in {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 8px 32px rgba(22,163,74,0.3);
}

.gps-checkin-card .gps-status {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.gps-checkin-card .gps-location {
    font-size: 13px;
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--primary-50);
    border-radius: 8px;
    display: inline-block;
}

.gps-btn {
    width: 100%;
    max-width: 320px;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.gps-btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,99,235,0.35);
}
.gps-btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}
.gps-btn-primary:active {
    transform: scale(0.97);
}

.gps-btn-success {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 6px 24px rgba(22,163,74,0.35);
}
.gps-btn-success:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(22,163,74,0.45);
}

.gps-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* GPS location pulse animation */
.gps-pulse {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.gps-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-500);
    animation: pulse-ring 2s var(--ease-out) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== WEEK VIEW TIMELINE ===== */
.week-timeline {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.week-day {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    background: var(--surface-50);
    border: 1px solid var(--surface-200);
    transition: all 0.2s var(--ease-out);
}

.week-day.today {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.week-day .day-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.week-day .day-date {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 4px 0;
}

.week-day .day-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-block;
}

.week-day .day-status.present { background: #dcfce7; color: #166534; }
.week-day .day-status.late { background: #fef3c7; color: #92400e; }
.week-day .day-status.absent { background: #fee2e2; color: #991b1b; }

/* ===== MOBILE WEEKLY STATS ===== */
.mobile-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.mobile-stat {
    text-align: center;
    padding: 12px 4px;
    background: var(--surface-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-200);
}

.mobile-stat .value {
    font-size: 20px;
    font-weight: 700;
}

.mobile-stat .label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.mobile-stat .value.green { color: var(--success); }
.mobile-stat .value.orange { color: var(--warning); }
.mobile-stat .value.red { color: var(--danger); }
.mobile-stat .value.blue { color: var(--info); }

/* ===== TIMELINE ACTIVITY ===== */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--surface-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-500);
    border: 2px solid var(--surface-0);
}

.timeline-item .time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.timeline-item .desc {
    font-size: 13px;
    color: var(--text);
}

/* ===== LOCATION CARD ===== */
.location-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--surface-0);
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
}

.location-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.location-card .loc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.location-card .loc-info h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
}

.location-card .loc-info small {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== CHART CONTAINER ===== */
.chart-container {
    position: relative;
    width: 100%;
    max-height: 300px;
}

/* ===== GLASS EFFECT ===== */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* ===== EMPTY STATE ===== */
.empty-state-modern {
    text-align: center;
    padding: 60px 24px;
}

.empty-state-modern i {
    font-size: 56px;
    color: var(--surface-300);
    margin-bottom: 16px;
}

.empty-state-modern h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state-modern p {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 360px;
    margin: 0 auto 16px;
}

/* ===== PAGE TRANSITION ===== */
@keyframes page-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-wrapper {
    animation: page-enter 0.25s var(--ease-out);
}

/* ===== MOBILE BOTTOM NAV (Attendance) ===== */
.mobile-att-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-att-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--surface-200);
        z-index: 999;
        padding: 6px 0 env(safe-area-inset-bottom, 6px);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    }

    .mobile-att-nav a {
        flex: 1;
        text-align: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 10px;
        padding: 6px 0;
        transition: color 0.2s;
    }

    .mobile-att-nav a i {
        display: block;
        font-size: 22px;
        margin-bottom: 2px;
    }

    .mobile-att-nav a.active {
        color: var(--primary-600);
    }

    .main-content {
        padding-bottom: 80px;
    }
}

/* ===== GPS Accuracy Indicator ===== */
.gps-accuracy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
}

.gps-accuracy.good { background: #dcfce7; color: #166534; }
.gps-accuracy.fair { background: #fef3c7; color: #92400e; }
.gps-accuracy.poor { background: #fee2e2; color: #991b1b; }

/* ===== Responsive refinements ===== */
@media (max-width: 768px) {
    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card .stat-value {
        font-size: 22px;
    }

    .stat-card .stat-icon {
        font-size: 32px;
    }

    .card-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .stat-value {
        font-size: 18px;
    }
}

/* =============================================
   HELP PANEL — Context-sensitive slide-out drawer
   ============================================= */
.help-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.help-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.help-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--card-bg);
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right .25s ease;
    display: flex;
    flex-direction: column;
}
.help-panel.show {
    right: 0;
}

.help-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.help-panel-header button {
    background: none;
    border: none;
    color: var(--sidebar-text);
    opacity: .7;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
}
.help-panel-header button:hover {
    opacity: 1;
}

.help-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
}
.help-panel-body h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading);
}
.help-panel-body h6 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading);
}
.help-panel-body p {
    margin-bottom: 8px;
}
.help-panel-body ol,
.help-panel-body ul {
    padding-left: 18px;
    margin-bottom: 8px;
}
.help-panel-body li {
    margin-bottom: 4px;
}
.help-panel-body code {
    font-size: 12px;
    background: var(--hover-bg);
    padding: 1px 5px;
    border-radius: 3px;
}
.help-panel-body .badge {
    font-size: 11px;
}

.help-article-list {
    display: flex;
    flex-direction: column;
}
.help-article-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.help-article-item:hover {
    background: var(--hover-bg);
    color: var(--link-hover);
}

.help-trigger {
    cursor: pointer;
    opacity: .4;
    transition: opacity .15s;
    font-size: 11px;
    margin-left: 4px;
}
.help-trigger:hover {
    opacity: 1;
    color: var(--accent);
}
