/* ==========================================================================
   Tool Đăng Ký Nghỉ Phép
   Apple Minimalist Premium Design System (With User Guide Modal)
   ========================================================================== */

:root {
    --apple-bg: #f8fafc;
    --apple-card-bg: #ffffff;
    --apple-text: #0f172a;
    --apple-muted: #64748b;
    --apple-border: rgba(0, 0, 0, 0.06);
    
    /* Blue Card (Chưa Đăng Ký) */
    --blue-card-bg: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --blue-card-border: #bae6fd;
    --blue-date-color: #0369a1;
    --blue-day-color: #0284c7;
    
    /* Green Card (Đã Đăng Ký) */
    --green-card-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --green-card-border: #86efac;
    --green-date-color: #15803d;
    --green-day-color: #16a34a;
    --green-name-color: #14532d;
    
    /* Red Card (Chủ Nhật) */
    --red-card-bg: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    --red-card-border: #fecdd3;
    --red-date-color: #e11d48;
    --red-day-color: #f43f5e;

    --radius-apple: 14px;
    --radius-pill: 30px;
    --shadow-apple: 0 4px 14px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.apple-theme {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--apple-bg);
    color: var(--apple-text);
    line-height: 1.4;
    min-height: 100vh;
    padding-top: 34px;
    -webkit-font-smoothing: antialiased;
}

/* FIXED TOP STATUS BANNER */
.top-status-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.top-status-banner.open {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.top-status-banner.closed {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.position-relative {
    position: relative;
}

/* Header Section */
.apple-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--apple-border);
    padding: 14px 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 34px;
    z-index: 90;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apple-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.brand-text h1 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #0f172a;
}

.brand-text .subtitle {
    font-size: 11px;
    color: #0284c7;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-guide-btn {
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    border-color: #bae6fd;
    background: #f0f9ff;
}

.header-guide-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

.apple-key-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.apple-key-btn:hover {
    background: #f59e0b;
    color: #ffffff;
    transform: scale(1.05);
}

/* Filter Bar */
.apple-panel {
    background: #ffffff;
    border: 1px solid var(--apple-border);
    border-radius: var(--radius-pill);
    padding: 6px 10px 6px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-apple);
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-box input {
    width: 100%;
    padding: 7px 12px 7px 34px;
    border-radius: var(--radius-pill);
    background: #f8fafc;
    border: 1px solid transparent;
    color: var(--apple-text);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.filter-options {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-pill);
}

.filter-btn {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--apple-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background: #0284c7;
    color: #ffffff;
}

.filter-btn:hover:not(.active) {
    color: var(--apple-text);
    background: #e2e8f0;
}

/* Grid Header & Legend */
.days-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #334155;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.section-title i { color: #0284c7; }

.legend {
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
}

.legend-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-available { background-color: #0284c7; }
.dot-registered { background-color: #16a34a; }
.dot-sunday { background-color: #e11d48; }

/* ULTRA-COMPACT CALENDAR GRID (85PX) */
.days-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.compact-card {
    border-radius: var(--radius-apple);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
    box-shadow: var(--shadow-apple);
    transition: var(--transition);
    position: relative;
}

.compact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.card-date-badge {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.card-day-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body-text {
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.2;
}

/* 🔵 BLUE CARD */
.compact-card.card-blue {
    background: var(--blue-card-bg);
    border: 1.5px solid var(--blue-card-border);
    cursor: pointer;
}

.compact-card.card-blue:hover {
    border-color: #38bdf8;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.compact-card.card-blue:active { transform: scale(0.98); }
.compact-card.card-blue .card-date-badge { color: var(--blue-date-color); }
.compact-card.card-blue .card-day-name { color: var(--blue-day-color); }
.compact-card.card-blue .card-body-text { color: #0284c7; font-weight: 500; font-size: 12px; }

/* 🟢 GREEN CARD */
.compact-card.card-green {
    background: var(--green-card-bg);
    border: 1.5px solid var(--green-card-border);
}

.compact-card.card-green .card-date-badge { color: var(--green-date-color); }
.compact-card.card-green .card-day-name { color: var(--green-day-color); }
.compact-card.card-green .card-body-text {
    color: var(--green-name-color);
    font-weight: 700;
    font-size: 13px;
}

/* 🔴 RED CARD */
.compact-card.card-red {
    background: var(--red-card-bg);
    border: 1.5px solid var(--red-card-border);
}

.compact-card.card-red .card-date-badge { color: var(--red-date-color); }
.compact-card.card-red .card-day-name { color: var(--red-day-color); }

/* CUSTOM COLORFUL EMPLOYEE CARD SELECTOR GRID */
.emp-grid-label { font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 8px; display: block; }

.emp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px; max-height: 260px; overflow-y: auto; padding: 4px;
}

.emp-select-card {
    padding: 10px 12px; border-radius: 12px; border: 2px solid transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 8px; font-size: 12px; font-weight: 700; transition: var(--transition); user-select: none;
}

.emp-select-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.emp-info-wrapper { display: flex; align-items: center; gap: 8px; }
.emp-avatar-badge {
    width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.6);
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}
.emp-check-icon { display: none; font-size: 14px; }
.emp-select-card.selected {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25), 0 6px 16px rgba(2, 132, 199, 0.2);
    transform: scale(1.02);
}
.emp-select-card.selected .emp-check-icon { display: block; }

.emp-theme-0 { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.emp-theme-1 { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.emp-theme-2 { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.emp-theme-3 { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.emp-theme-4 { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.emp-theme-5 { background: #f0fdfa; color: #0f766e; border-color: #99f6e4; }
.emp-theme-6 { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 7px 16px; border-radius: var(--radius-pill); font-size: 13px;
    font-weight: 700; cursor: pointer; border: none; transition: var(--transition); text-decoration: none;
}

.btn-primary { background: #0284c7; color: #ffffff; }
.btn-primary:hover { background: #0369a1; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
.btn-secondary { background: #e2e8f0; color: #334155; }
.btn-secondary:hover { background: #cbd5e1; }
.btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #475569; }
.btn-outline:hover { background: #f1f5f9; color: #0f172a; }
.btn-danger { background: #e11d48; color: #ffffff; }
.btn-danger:hover { background: #be123c; }
.btn-sm { padding: 4px 10px; font-size: 12px; width: auto; }

/* COUNTDOWN OVERLAY & USER GUIDE BUTTON */
.countdown-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    min-height: 480px; z-index: 50;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 30px;
}

.frosted-glass-curtain {
    position: absolute; inset: 0;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-apple);
}

.countdown-card.apple-card {
    position: relative; z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    max-width: 520px; width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.lock-icon-badge {
    width: 50px; height: 50px;
    margin: 0 auto 12px auto;
    background: #fff1f2; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #e11d48; border: 1px solid #fecdd3;
}

.countdown-card h2 { font-size: 19px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.cd-desc { font-size: 12px; color: #64748b; margin-bottom: 16px; }

.clock-container { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.clock-unit { background: #f0f9ff; border: 1px solid #bae6fd; padding: 10px 12px; border-radius: 12px; min-width: 60px; }
.clock-num { display: block; font-size: 24px; font-weight: 800; color: #0284c7; line-height: 1; font-family: monospace; }
.clock-label { display: block; font-size: 9px; font-weight: 700; color: #0369a1; margin-top: 3px; }
.clock-colon { font-size: 20px; font-weight: 800; color: #0284c7; margin-bottom: 8px; }

.cd-guide-box { margin-top: 10px; }
.cd-guide-btn {
    padding: 9px 22px;
    font-size: 13px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}

/* ==========================================================================
   USER GUIDE MODAL STYLING (HƯỚNG DẪN 3 BƯỚC VỚI HÌNH MINH HỌA)
   ========================================================================== */
.guide-welcome-banner {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.guide-banner-icon {
    width: 42px; height: 42px; background: #0284c7; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #ffffff; flex-shrink: 0;
}

.guide-welcome-banner h4 { font-size: 15px; font-weight: 800; color: #0369a1; margin-bottom: 2px; }
.guide-welcome-banner p { font-size: 12px; color: #334155; }

.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.guide-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    position: relative;
}

.step-badge {
    position: absolute; top: 10px; left: 10px;
    background: #0284c7; color: #ffffff;
    padding: 2px 8px; border-radius: var(--radius-pill);
    font-size: 10px; font-weight: 800; text-transform: uppercase;
}

.step-illustration {
    height: 80px;
    margin: 14px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 8px;
}

.illus-card-mock {
    width: 100%; max-width: 130px;
    background: #f0f9ff; border: 1.5px solid #bae6fd;
    border-radius: 8px; padding: 6px; text-align: left;
    font-size: 11px;
}

.mock-top { display: flex; justify-content: space-between; font-weight: 800; color: #0369a1; margin-bottom: 4px; font-size: 10px; }
.mock-body { font-size: 10px; color: #0284c7; display: flex; align-items: center; gap: 4px; }

.mock-green { background: #f0fdf4 !important; border-color: #86efac !important; }
.mock-green .mock-top { color: #15803d !important; }
.mock-green .mock-body { color: #14532d !important; font-weight: 700; }

.mock-emp-chip {
    background: #f0f9ff; border: 1.5px solid #0284c7;
    border-radius: var(--radius-pill); padding: 4px 10px;
    display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.mock-avatar { width: 18px; height: 18px; background: #0284c7; color: #ffffff; border-radius: 50%; font-size: 9px; display: flex; align-items: center; justify-content: center; }

.guide-step-card h5 { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.guide-step-card p { font-size: 11px; color: #64748b; line-height: 1.3; }

.guide-rules-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    font-size: 12px;
}

.guide-rules-card h5 { font-size: 13px; font-weight: 800; color: #334155; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.guide-rules-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; color: #475569; }
.guide-rules-card li { display: flex; align-items: center; gap: 8px; }

/* MODALS */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease; padding: 20px;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content.apple-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    width: 100%; max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-small { max-width: 380px; }
.modal-large { max-width: 740px; }

.modal-header { background: #f8fafc; padding: 14px 18px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 15px; font-weight: 800; color: #0f172a; }
.close-btn { background: transparent; border: none; font-size: 20px; color: #94a3b8; cursor: pointer; }
.close-btn:hover { color: #0f172a; }

.modal-body { padding: 18px; max-height: 80vh; overflow-y: auto; }

.apple-tab-bar {
    background: #f1f5f9; padding: 3px; border-radius: 10px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
    margin-bottom: 16px; border: 1px solid rgba(0, 0, 0, 0.04);
}

.apple-tab-bar .tab-btn {
    padding: 7px 4px; border-radius: 7px; border: none; background: transparent;
    font-size: 11px; font-weight: 600; color: #64748b; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap;
}

.apple-tab-bar .tab-btn.active { background: #ffffff; color: #0284c7; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.pass-input-wrapper { position: relative; margin-top: 6px; }
.pass-input-wrapper i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #d97706; }
.pass-input-wrapper input { padding-left: 36px !important; }
.pass-error-msg { color: #e11d48; font-size: 12px; margin-top: 6px; }

.selected-day-banner {
    background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px;
    padding: 10px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}

.selected-day-banner i { font-size: 18px; color: #0284c7; }
.selected-date-title { font-weight: 700; font-size: 13px; color: #0369a1; }
.selected-date-sub { font-size: 11px; color: #475569; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 4px; }
.form-group .required { color: #e11d48; }

.form-control {
    width: 100%; padding: 7px 10px; border-radius: 8px; background: #ffffff;
    border: 1px solid #cbd5e1; color: #0f172a; font-size: 13px; outline: none; transition: var(--transition);
}

.form-control:focus { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12); }

.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.add-emp-card, .config-card { background: #f8fafc; padding: 14px; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 14px; }
.section-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 130px; }
.flex-2 { flex: 2; min-width: 160px; }
.btn-align-bottom { display: flex; align-items: flex-end; }

.table-responsive { overflow-x: auto; margin-top: 6px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.data-table th { background: #f8fafc; font-weight: 700; color: #475569; }

.config-desc { font-size: 12px; color: #64748b; margin-bottom: 12px; }
.time-quick-set { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11px; }
.btn-chip { background: #e0f2fe; color: #0369a1; border: none; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; cursor: pointer; }

.margin-top { margin-top: 14px; }
.text-danger { color: #e11d48; }
.danger-zone { border-color: #fecdd3; background: #fff1f2; }

/* Toast */
.toast-container { position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 2000; }
.toast { background: #0f172a; color: #ffffff; padding: 10px 14px; border-radius: 8px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.12); max-width: 340px; }
.toast-success { border-left: 3px solid #16a34a; }
.toast-error { border-left: 3px solid #e11d48; }
.toast-warning { border-left: 3px solid #d97706; }

@media (max-width: 640px) {
    .days-grid-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .apple-tab-bar { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .emp-card-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .guide-steps-grid { grid-template-columns: 1fr; }
}
