/* =========================================================
   LMS Murabbi - OBE — Design System
   Konsep: "Ledger akademik" — navy tinta + emas capaian,
   serif tegas untuk identitas, sans bersih untuk keterbacaan.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
    --ink:        #16223B;
    --ink-soft:   #2A3B5C;
    --paper:      #F5F3EC;
    --paper-dim:  #EAE7DC;
    --gold:       #B8863B;
    --gold-soft:  #E4C88A;
    --slate:      #5C6B7A;
    --line:       #D9D4C4;
    --success:    #3A6E56;
    --success-bg: #E7F0EA;
    --danger:     #A8402C;
    --danger-bg:  #F6E7E2;
    --white:      #FFFFFF;

    --font-display: 'Fraunces', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 3px;
    --shadow-card: 0 1px 2px rgba(22,34,59,0.06), 0 1px 12px rgba(22,34,59,0.05);
    --shadow-pop: 0 8px 30px rgba(22,34,59,0.18);
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .4em; color: var(--ink); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--ink-soft); text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* -------------------- Eyebrow / labels -------------------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-body); font-weight: 600; font-size: .875rem;
    padding: .6em 1.2em; border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; transition: all .15s ease; line-height: 1.2;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-soft); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a3762f; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.btn-sm { padding: .4em .8em; font-size: .8rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
    margin: -7px 0 0 -7px; border: 2px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: btn-spin .6s linear infinite; color: var(--ink);
}
.btn-gold.btn-loading::after, .btn-primary.btn-loading::after { color: var(--white); }
.btn-outline.btn-loading::after, .btn-danger.btn-loading::after { color: var(--ink); }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* -------------------- Forms -------------------- */
label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35em; color: var(--ink-soft); }
input, select, textarea {
    width: 100%; font-family: var(--font-body); font-size: .9rem;
    padding: .65em .8em; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184,134,59,.15); }
.field { margin-bottom: 1.1em; }
.field-hint { font-size: .75rem; color: var(--slate); margin-top: .3em; }

/* -------------------- Layout: shell with sidebar -------------------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    width: 248px; flex-shrink: 0; background: var(--ink); color: #C9D1E0;
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar-brand {
    padding: 1.4rem 1.3rem; border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: .6rem;
}
.sidebar-brand .mark {
    width: 34px; height: 34px; border-radius: 4px; background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.1rem;
}
.sidebar-brand .name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); line-height: 1.1; }
.sidebar-brand .sub { font-size: .68rem; color: var(--gold-soft); letter-spacing: .06em; text-transform: uppercase; }
.sidebar-nav { flex: 1; padding: 1rem .8rem; overflow-y: auto; }
.sidebar-nav .group-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6E7C97; margin: 1.2em .6em .5em; }
.sidebar-nav a {
    display: flex; align-items: center; gap: .7em; padding: .6em .8em; margin-bottom: .15em;
    border-radius: var(--radius); color: #C9D1E0; font-size: .875rem; font-weight: 500;
}
.sidebar-nav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.sidebar-nav a.active { background: var(--gold); color: var(--ink); font-weight: 600; }
.sidebar-nav a .ico { width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-foot { padding: 1rem 1.3rem; border-top: 1px solid rgba(255,255,255,.08); }
.lang-switcher { text-align: center; margin-top: .7em; font-size: .78rem; }
.lang-switcher a { color: rgba(255,255,255,.5); font-weight: 600; padding: .2em .3em; }
.lang-switcher a.active { color: var(--gold-soft); }
.lang-switcher a:hover { color: #fff; }
.lang-switcher span { color: rgba(255,255,255,.3); }
.sidebar-user { display: flex; align-items: center; gap: .6em; margin-bottom: .8em; }
.sidebar-user .avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); flex-shrink: 0;
}
.sidebar-user .who { min-width: 0; }
.sidebar-user .who .n { font-size: .82rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .who .r { font-size: .7rem; color: #8492AC; text-transform: capitalize; }

.main { flex: 1; min-width: 0; }
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem; border-bottom: 1px solid var(--line); background: var(--white);
    position: sticky; top: 0; z-index: 10;
}
.topbar h1 { font-size: 1.3rem; margin: 0; }
.content { padding: 2rem; max-width: 1180px; }

/* -------------------- Cards -------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card-pad { padding: 1.4rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* -------------------- Stat card -------------------- */
.stat-card { padding: 1.3rem; position: relative; overflow: hidden; }
.stat-card .stat-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.stat-card .stat-value { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; margin: .15em 0; color: var(--ink); }
.stat-card .stat-sub { font-size: .78rem; color: var(--slate); }
.stat-card::after {
    content: ''; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px;
    border-radius: 50%; background: var(--paper-dim); z-index: 0;
}
.stat-card > * { position: relative; z-index: 1; }

/* -------------------- Table -------------------- */
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
    text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
    color: var(--slate); padding: .8em 1rem; border-bottom: 2px solid var(--line); background: var(--paper-dim);
}
tbody td { padding: .8em 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover { background: #FBFAF6; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* -------------------- Badges -------------------- */
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .28em .7em; border-radius: 20px; font-size: .72rem; font-weight: 600; }
.badge-gold { background: #F3E7CE; color: #8A611F; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-slate { background: var(--paper-dim); color: var(--slate); }
.badge-navy { background: #E4E9F2; color: var(--ink-soft); }

/* -------------------- Progress -------------------- */
.progress-track { height: 8px; background: var(--paper-dim); border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 6px; transition: width .3s ease; }

/* -------------------- Weekly module ladder (signature element) -------------------- */
.week-ladder { display: flex; flex-direction: column; gap: 0; }
.week-rung {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); position: relative;
}
.week-rung:last-child { border-bottom: none; }
.week-num {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold);
    width: 46px; height: 46px; border: 1.5px solid var(--gold-soft); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--white);
}
.week-rung.done .week-num { background: var(--gold); color: var(--white); border-color: var(--gold); }
.week-body { flex: 1; min-width: 0; }
.week-body .wt { font-weight: 600; margin-bottom: .2em; }
.week-body .wsub { font-size: .82rem; color: var(--slate); }
.week-meta { display: flex; gap: .5rem; margin-top: .5em; flex-wrap: wrap; }

/* -------------------- Modal -------------------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(22,34,59,.55); display: none;
    align-items: center; justify-content: center; z-index: 100; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--white); border-radius: var(--radius); width: 100%; max-width: 560px;
    box-shadow: var(--shadow-pop); max-height: 90vh; display: flex; flex-direction: column;
}
.modal.modal-lg { max-width: 780px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--slate); line-height: 1; }
.modal-body { padding: 1.4rem; overflow-y: auto; }
.modal-foot { padding: 1rem 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: .6em; }

/* -------------------- Toast -------------------- */
#toast-wrap { position: fixed; top: 1.2rem; right: 1.2rem; z-index: 999; display: flex; flex-direction: column; gap: .6rem; }
.toast {
    background: var(--ink); color: var(--white); padding: .8em 1.1em; border-radius: var(--radius);
    font-size: .85rem; box-shadow: var(--shadow-pop); display: flex; align-items: center; gap: .6em;
    animation: toast-in .2s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* -------------------- Login page -------------------- */
.auth-wrap {
    min-height: 100vh; display: flex; align-items: stretch; background: var(--ink);
}
.auth-visual {
    flex: 1.1; background: linear-gradient(160deg, #16223B 0%, #1E2E4E 60%, #24365A 100%);
    color: var(--white); padding: 3.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.auth-visual::before {
    content: ''; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px;
    border: 1px solid rgba(228,200,138,.25); border-radius: 50%;
}
.auth-visual::after {
    content: ''; position: absolute; right: 10px; bottom: 10px; width: 200px; height: 200px;
    border: 1px solid rgba(228,200,138,.18); border-radius: 50%;
}
.auth-visual .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.auth-visual h1 { font-size: 2.3rem; max-width: 420px; color: var(--white); margin-top: .5em; }
.auth-visual .lede { color: #A9B4CC; max-width: 380px; }
.auth-visual .cpl-strip { display: flex; gap: .6rem; flex-wrap: wrap; position: relative; z-index: 1; }
.auth-visual .cpl-chip { border: 1px solid rgba(228,200,138,.35); color: var(--gold-soft); font-family: var(--font-mono); font-size: 11px; padding: .4em .7em; border-radius: 3px; }
.auth-form-side { flex: 1; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box .eyebrow { margin-bottom: .6em; display: block; }
.role-tabs { display: flex; gap: .4em; margin-bottom: 1.4em; background: var(--paper-dim); padding: .3em; border-radius: var(--radius); }
.role-tabs button { flex: 1; border: none; background: transparent; padding: .55em; font-size: .8rem; font-weight: 600; border-radius: 2px; cursor: pointer; color: var(--slate); }
.role-tabs button.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.auth-demo { margin-top: 1.2em; font-size: .76rem; color: var(--slate); background: var(--white); border: 1px dashed var(--line); padding: .8em 1em; border-radius: var(--radius); }
.auth-error { background: var(--danger-bg); color: var(--danger); padding: .7em 1em; border-radius: var(--radius); font-size: .85rem; margin-bottom: 1em; }

/* -------------------- Empty state -------------------- */
.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--slate); }
.empty-state h3 { color: var(--ink); }

/* -------------------- Utility -------------------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .6rem; }
.mb-2 { margin-bottom: 1.2rem; }
.mt-2 { margin-top: 1.2rem; }
.text-slate { color: var(--slate); }
.text-sm { font-size: .82rem; }
.w-full { width: 100%; }

/* Chat bubble (forum) */
.forum-post { display: flex; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.forum-post .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-dim); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; font-size: .85rem; }
.forum-post .who { font-weight: 600; font-size: .85rem; }
.forum-post .when { font-size: .72rem; color: var(--slate); margin-left: .5em; }
.forum-post .body { font-size: .88rem; margin-top: .2em; }
.forum-reply { margin-left: 3rem; }

/* Materi interaktif — bungkus embed (mis. iframe YouTube) agar responsif
   di layar kecil, terlepas dari atribut width/height yang ditulis dosen. */
.embed-responsive { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-dim); }
.embed-responsive iframe, .embed-responsive object, .embed-responsive embed {
    position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0;
}

/* Lampiran materi bacaan (PDF) */
.file-attachment { display: flex; align-items: center; gap: .7em; padding: .8em 1em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-top: .8em; }
.file-attachment .ico { font-size: 1.3rem; flex-shrink: 0; }
.file-attachment .info { flex: 1; min-width: 0; }
.file-attachment .info .fname { font-size: .85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-attachment .info .fhint { font-size: .74rem; color: var(--slate); }

/* Toggle switch (mis. aktif/nonaktif pengguna) */
.toggle-switch { position: relative; display: inline-flex; align-items: center; gap: .5em; cursor: pointer; border: none; background: none; padding: 0; font-family: inherit; }
.toggle-switch .track { width: 38px; height: 20px; border-radius: 20px; background: var(--paper-dim); border: 1px solid var(--line); position: relative; transition: background .15s ease, border-color .15s ease; flex-shrink: 0; }
.toggle-switch .track::after { content: ''; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s ease; }
.toggle-switch.on .track { background: var(--success); border-color: var(--success); }
.toggle-switch.on .track::after { left: 19px; }
.toggle-switch .label { font-size: .78rem; font-weight: 600; color: var(--slate); }
.toggle-switch.on .label { color: var(--success); }
.toggle-switch:disabled, .toggle-switch.disabled { cursor: not-allowed; opacity: .5; }

/* Tab bar (dipakai di beberapa halaman: detail mata kuliah, manajemen pengguna, dst.) */
.tab-btn { background: none; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: .6em .9em; color: var(--slate); font-weight: 600; }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--gold); }
.tab-btn .count { font-family: var(--font-mono); font-size: .72rem; color: var(--slate); margin-left: .35em; }
.tab-btn.active .count { color: var(--gold); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Hero banner mata kuliah (halaman mahasiswa) */
.course-hero {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    border-radius: var(--radius); padding: 1.8em 1.8em 1.5em; color: #fff; position: relative; overflow: hidden;
}
.course-hero::after {
    content: ''; position: absolute; top: -40%; right: -8%; width: 260px; height: 260px; border-radius: 50%;
    background: rgba(184,134,59,.18); pointer-events: none;
}
.course-hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9em; flex-wrap: wrap; gap: .5em; position: relative; }
.course-hero-badge {
    background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: .3em .85em; border-radius: 20px; display: inline-block;
}
.course-hero-inst { font-size: .74rem; color: rgba(255,255,255,.6); letter-spacing: .03em; }
.course-hero-title { color: #fff; font-size: 1.65rem; margin: 0 0 .25em; position: relative; }
.course-hero-sub { color: rgba(255,255,255,.75); font-size: .82rem; margin: 0; font-family: var(--font-mono); letter-spacing: .03em; position: relative; }
.course-hero-bar {
    background: var(--white); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -1px; padding: 1em 1.8em; display: flex; flex-wrap: wrap; gap: 1.4em 2em; align-items: center;
}
.course-hero-bar-item .lbl { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); margin-bottom: .15em; }
.course-hero-bar-actions { margin-left: auto; display: flex; gap: .5em; flex-wrap: wrap; }
@media (max-width: 640px) {
    .course-hero { padding: 1.4em 1.2em 1.1em; }
    .course-hero-title { font-size: 1.28rem; }
    .course-hero-bar { padding: .9em 1.1em; gap: 1em; }
    .course-hero-bar-actions { margin-left: 0; width: 100%; }
    .course-hero-bar-actions .btn { flex: 1; }
}

/* Kartu kelas yang bisa dipilih mahasiswa (Pilih Kelas) */
.kelas-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.kelas-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.kelas-card-head {
    display: flex; align-items: center; gap: .7em; padding: 1em 1.1em; background: var(--paper-dim);
    border-bottom: 1px solid var(--line);
}
.kelas-card-dosen { display: flex; flex-direction: column; min-width: 0; }
.kelas-card-dosen .lbl { font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.kelas-card-dosen strong { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kelas-card-body { padding: 1.1em; flex: 1; display: flex; flex-direction: column; }
.kelas-card-body h3 { font-size: 1.1rem; margin: .15em 0 .5em; }
.kelas-card-body .btn-block { margin-top: auto; }

/* Combobox pencarian (dipakai untuk field dengan banyak pilihan, mis.
   Mata Kuliah / Dosen Pengampu di form Kelas) */
.searchable-select { position: relative; }
.searchable-select-list {
    display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 50;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-pop); max-height: 220px; overflow-y: auto;
}
.ss-item { padding: .55em .8em; font-size: .875rem; cursor: pointer; }

/* Pemilih rating bintang (penilaian materi modul) */
#starPicker .star { color: var(--line); transition: color .1s ease; }
#starPicker .star.active { color: var(--gold); }
#starPicker .star:hover { color: var(--gold); }
.ss-item:hover, .ss-item.ss-active { background: var(--paper-dim); }
.ss-empty { padding: .6em .8em; font-size: .875rem; color: var(--slate); }

@media (max-width: 860px) {
    .sidebar { position: fixed; left: -260px; z-index: 200; transition: left .2s ease; box-shadow: var(--shadow-pop); }
    .sidebar.open { left: 0; }
    .content { padding: 1.2rem; }
    .auth-visual { display: none; }
    #burgerBtn { display: inline-flex !important; }
}
