/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #f3fbf6;
    --surface: #ffffff;
    --text: #0b1f14;
    --muted: #3b5a47;
    --line: #c7dfd0;
    --brand: #00b129;
    --brand-2: #008f21;
    --brand-hover: #009824;
    --brand-active: #007b1d;
    --focus-ring: rgba(0, 177, 41, 0.24);
    --error: #d92d20;
    --error-ring: rgba(217, 45, 32, 0.2);
    --shadow: 0 14px 36px rgba(16, 24, 40, 0.12);
    --r-lg: 20px;
    --r-md: 14px;
    --font: 'Inter', Arial, sans-serif;
    --container: 1440px;
    --radius: 6px;
    --radius-lg: 25px;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --border: #e0e0e0;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text);
    line-height: 1.5;
    background: radial-gradient(circle at 20% 0%, #dff8e8, transparent 40%), var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Layout === */
.page-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Header === */
.site-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    align-items: center;
}

.site-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.site-header__logo {
    height: 25px;
    width: auto;
    flex: 0 0 auto;
}

.site-header__slogan {
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-height: 25px;
}

.site-header__right {
    text-align: right;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
}

.site-header__phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

/* === Hero (Landing) === */
.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    margin-top: 20px;
    flex: 1;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: 24px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.hero-copy {
    padding: 26px 24px;
}

.hero-copy h1 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.hero-copy .subtitle {
    margin: 0 0 24px;
    max-width: 760px;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.4;
    font-weight: 400;
}

.hero-copy .offer {
    max-width: 760px;
    font-size: 16px;
    color: #3f5a48;
    line-height: 1.5;
    margin: 10px 0 34px;
    padding: 14px 0 16px 16px;
    border-left: 4px solid #89d9a0;
    background: #f4fbf6;
    border-radius: 0 12px 12px 0;
    font-weight: 400;
}

/* === Form Card === */
.form-card {
    background: var(--surface);
    border: 1px solid #c8dfd0;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1);
}

.field-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 8px;
}

/* === Input === */
.input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 16px;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    background: var(--surface);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.input:hover {
    border-color: #9ac8ad;
    background: #fbfefd;
}

.input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--focus-ring);
    background: var(--surface);
}

.input.is-error {
    border-color: var(--error);
    box-shadow: 0 0 0 4px var(--error-ring);
}

/* === Button === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 12px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 177, 41, 0.22);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, opacity 0.18s ease;
}

.btn:hover:not(:disabled) {
    background: linear-gradient(120deg, var(--brand-hover), #007f1f);
    box-shadow: 0 12px 24px rgba(0, 152, 36, 0.28);
    text-decoration: none;
}

.btn:active:not(:disabled) {
    background: linear-gradient(120deg, var(--brand-active), #006417);
    box-shadow: 0 6px 14px rgba(0, 123, 29, 0.24);
    transform: translateY(1px);
}

.btn:disabled {
    background: #b6c5bc;
    box-shadow: none;
    color: #eef3ef;
    cursor: not-allowed;
}

.btn--narrow {
    max-width: 360px;
    box-shadow: 0 14px 26px rgba(0, 177, 41, 0.28);
}

.btn--no-mt {
    margin-top: 0;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
    box-shadow: none;
}

.btn--outline:hover:not(:disabled) {
    background: rgba(0, 177, 41, 0.06);
    box-shadow: none;
}

/* === Under-form hints === */
.under-hints {
    margin-top: 14px;
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    flex-wrap: wrap;
}

.under-hints span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.under-hints span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #49c56a;
    flex-shrink: 0;
}

/* === Lawyer Card === */
.lawyer-card {
    min-height: 520px;
    padding: 16px;
}

.portrait-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid #d9e9e0;
    background: #f7f9fb;
}

.portrait-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    white-space: pre-line;
    background: rgba(7, 43, 18, 0.72);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.portrait-photo {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    filter: saturate(1.03) contrast(1.02);
}

.portrait-caption {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #1e3a2a;
}

/* === Benefits === */
.benefits {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.benefit {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 16px;
    background: #f6faf8;
    display: grid;
    gap: 10px;
    min-height: 118px;
    align-content: start;
}

.benefit__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
}

.benefit__ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #b7e7c8;
    background: #e8f8ee;
    display: grid;
    place-items: center;
    font-size: 15px;
    line-height: 1;
}

.benefit__title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.benefit__desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

/* === Footer === */
.site-footer {
    margin-top: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--brand);
}

.legal-disclaimer {
    margin-top: 6px;
    color: #7b8680;
    font-size: 10px;
    line-height: 1.4;
}

/* === Chat Layout === */
.chat-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 14px;
    align-items: stretch;
    flex: 1;
    min-height: 0;
}

.chat-wrap {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 260px);
    min-height: 400px;
}

.chat-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #f0faf3;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--surface);
    flex: 1;
    overflow-y: auto;
}

.msg {
    width: fit-content;
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.5;
    font-size: 16px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.msg--ai {
    background: #e8f8ee;
    border: 1px solid #b7e7c8;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg--user {
    background: var(--brand);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    max-width: 60%;
}

/* === System Message (lawyer joined) === */
.msg--system {
    align-self: center;
    background: #f0f4f2;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.msg-system__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.msg-system__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 177, 41, 0.2);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.msg-system__btn:hover {
    background: linear-gradient(120deg, var(--brand-hover), #007f1f);
    box-shadow: 0 6px 16px rgba(0, 152, 36, 0.28);
}

/* === Chat Input Area === */
.chat-input-area {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: #f9fcfa;
}

.chat-input-form {
    display: flex;
    gap: 10px;
}

.chat-input-form .input {
    flex: 1;
}

.chat-input-form .btn {
    margin-top: 0;
    width: auto;
    padding: 0 24px;
    border-radius: 12px;
    white-space: nowrap;
}

.chat-counter {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

/* === Limit / Phone Block === */
.limit-block {
    margin-top: 8px;
    border: 1px solid #9ddcb3;
    background: #e8f8ee;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.phone-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 10px;
}

.phone-row .btn {
    margin-top: 0;
    width: auto;
    border-radius: 10px;
    padding: 0 16px;
    height: 52px;
}

/* === Phone Overlay (fallback) === */
.phone-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.phone-overlay.active { display: flex; }

.phone-modal {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--r-lg);
    max-width: 440px;
    width: 90%;
    text-align: center;
}

.phone-modal h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.phone-modal p {
    color: var(--muted);
    margin-bottom: 24px;
}

.phone-modal input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 18px;
    text-align: center;
    outline: none;
    margin-bottom: 16px;
}

.phone-modal input[type="tel"]:focus { border-color: var(--brand); }

/* === Thank You === */
.thank-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-top: 18px;
    flex: 1;
}

.confirm-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f8ee;
    color: var(--brand-2);
    font-size: 20px;
    font-weight: 700;
    border: 1px solid #b7e7c8;
    margin-bottom: 12px;
}

.thank-title {
    font-size: 72px;
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 700;
}

.thank-subtitle {
    font-size: 28px;
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 600;
}

.thank-extra {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 24px;
}

.next-step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.next-step-text {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.4;
    margin: 0 0 12px;
}

.next-step-detail {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* === Referral === */
.referral-block {
    background: #f6faf8;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--line);
}

.referral-block h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.referral-link-row {
    display: flex;
    gap: 8px;
}

.referral-link-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    background: var(--surface);
    outline: none;
}

.referral-link-row input:focus {
    border-color: var(--brand);
}

.referral-link-row .btn {
    margin-top: 0;
    width: auto;
    height: auto;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}

/* === Typing Indicator === */
.typing-indicator {
    display: none;
    align-self: flex-start;
    padding: 14px 16px;
    background: #e8f8ee;
    border: 1px solid #b7e7c8;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.typing-indicator.active { display: block; }

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* === Chat Lawyer Card (stretch) === */
.chat-layout .lawyer-card {
    min-height: 100%;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .page-wrap {
        padding: 16px;
    }

    .hero-copy h1 {
        font-size: 42px;
        line-height: 1.15;
    }

    .hero,
    .chat-layout,
    .thank-layout {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .under-hints {
        flex-direction: column;
        gap: 6px;
    }

    .site-header {
        gap: 8px;
        padding: 10px 12px;
    }

    .site-header__left {
        font-size: 14px;
    }

    .site-header__slogan {
        display: none;
    }

    .site-header__right {
        font-size: 13px;
        line-height: 1.35;
    }

    .site-header__phone {
        font-size: 15px;
        line-height: 1.35;
    }

    .site-header__logo {
        height: 20px;
    }

    .hero-copy .subtitle {
        font-size: 18px;
        line-height: 1.4;
    }

    .hero-copy .offer {
        font-size: 16px;
        line-height: 1.5;
        margin: 8px 0 24px;
        padding: 10px 0 12px 10px;
    }

    .portrait-frame {
        min-height: 310px;
    }

    .portrait-photo {
        min-height: 310px;
        object-position: center 24%;
    }

    .portrait-caption {
        font-size: 15px;
    }

    .chat-body {
        min-height: 0;
    }

    .chat-wrap {
        max-height: none;
    }

    .msg {
        max-width: 92%;
    }

    .msg--user {
        max-width: 76%;
    }

    .phone-row {
        grid-template-columns: 1fr;
    }

    .phone-row .btn {
        width: 100%;
    }

    .thank-title {
        font-size: 52px;
    }

    .thank-subtitle {
        font-size: 22px;
        line-height: 1.35;
    }

    .thank-extra {
        font-size: 16px;
        line-height: 1.5;
    }

    .lawyer-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-copy h1 {
        font-size: 36px;
    }
}

/* === Privacy === */
.privacy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-page h1 { font-size: 28px; margin-bottom: 20px; }
.privacy-page h2 { font-size: 20px; margin: 24px 0 10px; }
.privacy-page p { margin-bottom: 12px; }
.privacy-page ul { margin: 0 0 12px 24px; }

/* === Admin === */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #1a1a2e;
    color: #fff;
    padding: 20px 0;
    flex-shrink: 0;
}

.admin-sidebar-logo {
    padding: 0 20px 20px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
    font-size: 15px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.admin-main {
    flex: 1;
    padding: 30px;
    background: var(--bg-light);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 { font-size: 24px; }

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

.stat-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border-left: 4px solid var(--brand);
}

.stat-card h3 { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 32px; font-weight: 700; color: var(--brand); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-table th {
    background: var(--bg-light);
    font-weight: 500;
    color: var(--text-light);
}

.admin-table tr:hover td { background: #fafafa; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-active { background: #e8f5e9; color: #2e7d32; }
.badge-completed { background: #e3f2fd; color: #1565c0; }
.badge-expired { background: #fff3e0; color: #e65100; }

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

.pagination .active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.admin-form {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
}

.form-group textarea { min-height: 200px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--brand); }

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.login-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    width: 380px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.login-card h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.login-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-error { background: #ffebee; color: #c62828; }

.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.search-form input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    width: 300px;
}

.chat-history {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    max-height: 600px;
    overflow-y: auto;
}

.chat-history .message {
    max-width: 70%;
}

/* Legacy message classes for admin chat history */
.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-user {
    align-self: flex-end;
    background: var(--brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-assistant {
    align-self: flex-start;
    background: #e8f8ee;
    border: 1px solid #b7e7c8;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
}

@media (max-width: 920px) {
    .stats-grid { grid-template-columns: 1fr; }
    .admin-sidebar { width: 200px; }
}

@media (max-width: 768px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-sidebar nav { display: flex; overflow-x: auto; }
    .admin-sidebar nav a { white-space: nowrap; }
}
