/* ============================================================
   HVT Client Manager — Design System
   ============================================================ */
:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: #e7ebf2;
    --text: #0f172a;
    --text-soft: #64748b;
    --text-faint: #94a3b8;
    --primary: #15a3aa;
    --primary-600: #0f8389;
    --primary-soft: #e4f6f7;
    --accent: #f5921e;
    --accent-soft: #fff2e2;
    --gradient: linear-gradient(135deg, #15a3aa 0%, #1ec2c0 100%);
    --gradient-accent: linear-gradient(135deg, #f5921e 0%, #f7a93f 100%);
    --success: #10b981;
    --success-soft: #ecfdf5;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --info: #0ea5e9;
    --info-soft: #f0f9ff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
    --shadow: 0 4px 16px rgba(15,23,42,.06);
    --shadow-lg: 0 18px 48px rgba(15,23,42,.14);
    --sidebar-w: 260px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: #0f1424;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
}
.sidebar__brand {
    display: flex; align-items: center; gap: 12px;
    padding: 22px 22px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand__logo {
    width: 40px; height: 40px; border-radius: 11px;
    background: var(--gradient);
    display: grid; place-items: center;
    font-weight: 800; color: #fff; font-size: 15px;
    box-shadow: 0 6px 16px rgba(245,146,30,.45);
}
.brand__img { width: 40px; height: 31px; object-fit: contain; }
.brand__name { font-weight: 700; color: #fff; font-size: 15px; }
.sidebar__nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.nav__item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: var(--radius-sm);
    color: #94a3b8; font-weight: 500;
    transition: all .15s ease;
}
.nav__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav__item.is-active { background: var(--gradient); color: #fff; box-shadow: 0 6px 18px rgba(21,163,170,.42); }
.nav__icon { display: grid; place-items: center; width: 20px; height: 20px; }
.nav__icon svg { width: 19px; height: 19px; }
.sidebar__footer { padding: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.userchip { display: flex; align-items: center; gap: 11px; }
.userchip__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: grid; place-items: center; font-weight: 700;
}
.userchip__name { color: #fff; font-weight: 600; font-size: 13.5px; }
.userchip__role { color: #64748b; font-size: 12px; }

.main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-width: 0; }
.topbar {
    height: 66px; background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 16px;
    padding: 0 26px; position: sticky; top: 0; z-index: 30;
}
.topbar__title { font-size: 18px; flex: 1; }
.topbar__toggle { display: none; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.langswitch { display: flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.langswitch a { padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-soft); }
.langswitch a.is-active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.iconbtn {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: 10px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-soft); cursor: pointer;
    transition: all .15s;
}
.iconbtn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.content { padding: 26px; max-width: 1340px; width: 100%; }

/* ---------- Page header ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head__titles h2 { font-size: 22px; }
.page-head__sub { color: var(--text-soft); margin-top: 3px; font-size: 13.5px; }
.breadcrumb { display: flex; gap: 7px; align-items: center; color: var(--text-faint); font-size: 13px; margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; cursor: pointer;
    border: 1px solid transparent; background: var(--surface-2);
    color: var(--text); transition: all .15s; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px rgba(21,163,170,.32); }
.btn--primary:hover { box-shadow: 0 10px 24px rgba(21,163,170,.42); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text-soft); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--danger { background: var(--danger-soft); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.btn--success { background: var(--success); color: #fff; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Cards ---------- */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card__head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__head h3 { font-size: 15.5px; }
.card__body { padding: 22px; }
.card__body--flush { padding: 0; }

/* ---------- Stat grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden;
}
.stat__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.stat__icon svg { width: 24px; height: 24px; }
.stat__icon--primary { background: var(--primary-soft); color: var(--primary); }
.stat__icon--success { background: var(--success-soft); color: var(--success); }
.stat__icon--warning { background: var(--warning-soft); color: var(--warning); }
.stat__icon--danger { background: var(--danger-soft); color: var(--danger); }
.stat__icon--info { background: var(--info-soft); color: var(--info); }
.stat__value { font-size: 27px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat__label { color: var(--text-soft); font-size: 13px; margin-top: 5px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; }
.table th {
    text-align: left; padding: 13px 18px; font-size: 11.5px;
    text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint);
    font-weight: 700; border-bottom: 1px solid var(--border); background: var(--surface-2);
    white-space: nowrap;
}
.table td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--surface-2); }
.table a.link { color: var(--primary); font-weight: 600; }
.table a.link:hover { text-decoration: underline; }
.cell-strong { font-weight: 600; }
.cell-soft { color: var(--text-soft); font-size: 13px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: var(--surface-2); color: var(--text-soft);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--active, .badge--online, .badge--closed { background: var(--success-soft); color: #059669; }
.badge--inactive, .badge--offline { background: #f1f5f9; color: #64748b; }
.badge--prospect, .badge--maintenance, .badge--on_hold, .badge--in_progress { background: var(--warning-soft); color: #b45309; }
.badge--open { background: var(--info-soft); color: #0284c7; }
.badge--low { background: #f1f5f9; color: #64748b; }
.badge--medium { background: var(--info-soft); color: #0284c7; }
.badge--high { background: var(--warning-soft); color: #b45309; }
.badge--urgent { background: var(--danger-soft); color: #dc2626; }
.badge--overdue { background: var(--danger-soft); color: #dc2626; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 13px; color: var(--text); }
.field label .muted { color: var(--text-faint); font-weight: 400; }
.input, .select, .textarea {
    width: 100%; padding: 10px 13px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
    font-family: inherit; font-size: 14px; transition: all .15s;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.textarea { resize: vertical; min-height: 90px; }
.input-group { display: flex; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border: 1px solid var(--border); border-left: none; }
.form-section-title {
    grid-column: 1 / -1; font-weight: 700; font-size: 13px; text-transform: uppercase;
    letter-spacing: .04em; color: var(--primary); margin-top: 8px;
    padding-top: 14px; border-top: 1px dashed var(--border);
    display: flex; align-items: center; gap: 8px;
}
.form-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.fieldhint { font-size: 12px; color: var(--text-faint); }
.checkbox { display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 500; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--primary); }

/* ---------- Alerts ---------- */
.alert { padding: 13px 17px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; font-size: 14px; border: 1px solid transparent; }
.alert--success { background: var(--success-soft); color: #047857; border-color: #a7f3d0; }
.alert--error, .alert--danger { background: var(--danger-soft); color: #b91c1c; border-color: #fecaca; }
.alert--info { background: var(--info-soft); color: #0369a1; border-color: #bae6fd; }
.alert--warning { background: var(--warning-soft); color: #b45309; border-color: #fde68a; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.empty__icon svg { width: 30px; height: 30px; }
.empty h3 { font-size: 17px; margin-bottom: 6px; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .search { flex: 1; min-width: 200px; position: relative; }
.toolbar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-faint); width: 18px; height: 18px; }
.toolbar .search .input { padding-left: 40px; }
.toolbar .select { width: auto; min-width: 150px; }

/* ---------- Two column detail ---------- */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-row dt { color: var(--text-soft); font-size: 13px; }
.detail-row dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }

/* credential row with reveal */
.cred { display: flex; align-items: center; gap: 8px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; }
.cred__val { background: var(--surface-2); padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border); }
.minibtn { border: 1px solid var(--border); background: var(--surface); border-radius: 7px; padding: 4px 8px; font-size: 11px; cursor: pointer; color: var(--text-soft); font-weight: 600; }
.minibtn:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Comments ---------- */
.comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.comment__meta { font-size: 12px; color: var(--text-faint); margin-bottom: 3px; }
.comment__author { font-weight: 600; color: var(--text); }

/* ---------- Attachments / screenshots ---------- */
.dropzone {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 2px dashed var(--border); border-radius: 12px; padding: 26px 18px;
    text-align: center; color: var(--text-soft); cursor: pointer; transition: all .15s;
    background: var(--surface-2);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.dropzone__status { font-size: 12.5px; font-weight: 600; color: var(--primary); margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb {
    position: relative; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1 / 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .2s; }
.thumb img:hover { transform: scale(1.05); }
.thumb--sm { width: 84px; height: 84px; aspect-ratio: auto; }
.thumb__del-wrap { position: absolute; top: 5px; right: 5px; }
.thumb__del {
    width: 24px; height: 24px; border-radius: 7px; border: none; cursor: pointer;
    background: rgba(15,23,42,.62); color: #fff; font-size: 12px; line-height: 1;
    display: grid; place-items: center; backdrop-filter: blur(2px); opacity: 0; transition: opacity .15s;
}
.thumb:hover .thumb__del { opacity: 1; }
.thumb__del:hover { background: var(--danger); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,12,22,.86); backdrop-filter: blur(3px); display: none; place-items: center; z-index: 80; padding: 28px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 12px; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,.26); }

/* ---------- Login ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__aside { background: var(--gradient); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth__aside .brand__logo { width: 52px; height: 52px; font-size: 18px; background: rgba(255,255,255,.16); box-shadow: none; }
.auth__tagline { font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; max-width: 420px; }
.auth__features { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.auth__feature { display: flex; gap: 12px; align-items: center; opacity: .92; font-size: 14.5px; }
.auth__feature svg { width: 20px; height: 20px; flex-shrink: 0; }
.auth__main { display: grid; place-items: center; padding: 30px; }
.auth__form { width: 100%; max-width: 380px; }
.auth__form h1 { font-size: 26px; margin-bottom: 8px; }
.auth__form .sub { color: var(--text-soft); margin-bottom: 28px; }
.auth__langswitch { display: flex; justify-content: flex-end; margin-bottom: 16px; }

/* ---------- Pills row / mini grid ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; }
.tile { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--surface); box-shadow: var(--shadow-sm); transition: all .15s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #bfeaec; }
.tile__title { font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile__meta { color: var(--text-soft); font-size: 13px; margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.tile__meta a { color: var(--primary); }

.spacer { flex: 1; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-gap { margin-top: 26px; }
.muted { color: var(--text-soft); }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.flex { display: flex; align-items: center; gap: 10px; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(2px); z-index: 60; display: none; place-items: center; padding: 20px; }
.modal-backdrop.is-open { display: grid; }
.modal { background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); animation: pop .18s ease; }
.modal__head { padding: 20px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal__body { padding: 22px; }
.modal__foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* progress bar (duration vs estimate) */
.progress { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress__bar { height: 100%; background: var(--gradient); border-radius: 999px; }

/* ---------- Activity calendar ---------- */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cal__nav { display: flex; align-items: center; gap: 8px; }
.cal__title { font-size: 16px; font-weight: 700; min-width: 170px; text-align: center; text-transform: capitalize; }
.cal__legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-soft); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cal__dot--opened { background: var(--primary); }
.cal__dot--closed { background: var(--success); }
.cal__dot--deadline { background: var(--accent); }
.cal__dot--overdue { background: var(--danger); }

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__wd { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); padding: 4px 0 2px; }
.cal__day {
    min-height: 100px; border: 1px solid var(--border); border-radius: 10px;
    padding: 6px; background: var(--surface); display: flex; flex-direction: column; gap: 3px;
    cursor: pointer; transition: all .12s; overflow: hidden;
}
.cal__day:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.cal__day--out { background: var(--surface-2); opacity: .45; }
.cal__day--today { border-color: var(--primary); background: var(--primary-soft); }
.cal__day--sel { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.cal__daynum { font-size: 12px; font-weight: 700; color: var(--text-soft); display: flex; justify-content: space-between; align-items: center; min-height: 20px; }
.cal__today-badge { background: var(--gradient); color: #fff; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; }
.cal__chip {
    font-size: 11px; line-height: 1.4; padding: 2px 7px; border-radius: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
    display: flex; gap: 5px; align-items: center; text-decoration: none;
}
.cal__chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cal__chip:hover { filter: brightness(.96); }
.cal__chip--opened { background: var(--primary-soft); color: var(--primary-600); }
.cal__chip--closed { background: var(--success-soft); color: #047857; }
.cal__chip--deadline { background: var(--accent-soft); color: #b45309; }
.cal__chip--overdue { background: var(--danger-soft); color: #b91c1c; }
.cal__more { font-size: 10px; color: var(--text-faint); font-weight: 700; padding-left: 3px; }

.cal__detail { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; }
.cal__detail-head { font-weight: 700; margin-bottom: 12px; text-transform: capitalize; }
.cal__event { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cal__event:last-child { border-bottom: none; }
.cal__event-time { font-size: 12px; color: var(--text-faint); width: 42px; flex-shrink: 0; font-weight: 600; }
.cal__event-main { flex: 1; min-width: 0; }
.cal__event-title { font-weight: 600; }
.cal__event-meta { font-size: 12px; color: var(--text-soft); }
.cal__skeleton { height: 680px; border-radius: 10px; background: linear-gradient(90deg, var(--surface-2) 25%, #eef2f7 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

@media (max-width: 760px) {
    .cal__day { min-height: 64px; }
    .cal__chip { font-size: 0; padding: 4px; gap: 0; }
    .cal__chip::before { width: 7px; height: 7px; }
    .cal__more { font-size: 9px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; }
    .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
    .auth { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
}
@media (max-width: 760px) {
    .sidebar { transform: translateX(-100%); transition: transform .2s; }
    .sidebar.is-open { transform: translateX(0); }
    .main { margin-left: 0; }
    .topbar__toggle { display: grid; }
    .content { padding: 18px; }
}
