:root {
  --primary: #0ea89c;
  --primary-dark: #087f78;
  --primary-soft: #e9fbf8;
  --secondary: #b9d900;
  --secondary-soft: #f5fad9;
  --ink: #18323f;
  --muted: #6d808b;
  --line: #e4ecef;
  --surface: #ffffff;
  --canvas: #f4f8f9;
  --danger: #d92d20;
  --warning: #f79009;
  --info: #1570ef;
  --success: #039855;
  --shadow: 0 18px 48px rgba(26, 67, 83, .09);
  --shadow-sm: 0 8px 24px rgba(26, 67, 83, .07);
  --radius: 18px;
  --sidebar: 278px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.icon { flex: 0 0 auto; }

/* Auth */
.auth-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(14,168,156,.16), transparent 34%),
    radial-gradient(circle at 95% 90%, rgba(185,217,0,.18), transparent 28%),
    linear-gradient(135deg, #eef9f8 0%, #f9fbf6 100%);
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(420px, .95fr);
}
.auth-visual {
  padding: 54px clamp(36px, 6vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(150deg, #0b8d84 0%, #10ab9f 60%, #1abaae 100%);
}
.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.auth-visual::before { width: 430px; height: 430px; right: -170px; top: -130px; }
.auth-visual::after { width: 310px; height: 310px; left: -120px; bottom: -100px; }
.auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.auth-brand img {
  width: 230px;
  border-radius: 12px;
  background: white;
  padding: 8px 11px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.auth-hero { position: relative; z-index: 1; max-width: 650px; }
.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.auth-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.06; margin: 22px 0 18px; letter-spacing: -.04em; }
.auth-hero p { max-width: 580px; font-size: 18px; color: rgba(255,255,255,.86); }
.auth-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.auth-feature .feature-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.auth-footer-note { position: relative; z-index: 1; color: rgba(255,255,255,.7); font-size: 13px; }
.auth-form-side { display: grid; place-items: center; padding: 36px; }
.auth-card {
  width: min(100%, 510px);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 28px 80px rgba(31,77,90,.16);
  border-radius: 26px;
  padding: clamp(28px, 5vw, 48px);
  backdrop-filter: blur(14px);
}
.auth-card h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.auth-card .lead { color: var(--muted); margin: 8px 0 28px; }
.auth-switch { text-align: center; color: var(--muted); margin-top: 22px; }
.auth-switch a { color: var(--primary-dark); font-weight: 800; }

/* App shell */
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #0d2e38;
  color: #dcebed;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  box-shadow: 10px 0 34px rgba(16,49,60,.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand img { width: 112px; height: 42px; object-fit: contain; background: #fff; border-radius: 9px; padding: 4px; }
.brand div { min-width: 0; }
.brand strong { display: block; color: #fff; font-size: 16px; letter-spacing: .02em; }
.brand span { display: block; color: #8fb1b8; font-size: 12px; white-space: nowrap; }
.sidebar-nav { padding: 15px 0; overflow-y: auto; flex: 1; }
.nav-caption { padding: 13px 12px 8px; color: #6f949b; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  margin: 3px 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #b9ced2;
  font-size: 14px;
  font-weight: 650;
  transition: .2s ease;
}
.nav-link:hover { color: white; background: rgba(255,255,255,.07); transform: translateX(2px); }
.nav-link.active { color: white; background: linear-gradient(135deg, rgba(14,168,156,.92), rgba(10,137,129,.92)); box-shadow: 0 8px 18px rgba(4,125,119,.26); }
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-user { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.mini-user div:last-child { min-width: 0; }
.mini-user strong, .mini-user span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-user strong { color: #fff; font-size: 13px; }
.mini-user span { color: #88a8ae; font-size: 11px; }
.logout-link { color: #9fb8bd; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; }
.logout-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.avatar {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #2fc3b5);
  color: white; font-weight: 800; box-shadow: 0 8px 18px rgba(14,168,156,.23);
}
.avatar.small { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }
.main-content { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 76px;
  padding: 0 clamp(20px, 3vw, 38px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}
.topbar-title span, .topbar-title strong { display: block; }
.topbar-title span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-title strong { font-size: 18px; margin-top: 1px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.profile-pill { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 13px; }
.profile-pill:hover { background: #f1f6f7; }
.profile-pill strong, .profile-pill span { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-pill strong { font-size: 13px; }
.profile-pill span { font-size: 11px; color: var(--muted); }
.mobile-menu { display: none !important; }
.page-wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(22px, 3vw, 38px); flex: 1; }
.app-footer { padding: 22px 38px 26px; color: #809199; text-align: center; font-size: 12px; }
.sidebar-overlay { display: none; }

/* Layout */
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.page-heading h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; }
.page-heading p { margin: 7px 0 0; color: var(--muted); }
.heading-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, #0c8e85 0%, #12ada1 64%, #31c4b4 100%);
  color: white;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.hero-panel::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -130px; border-radius: 50%; background: rgba(255,255,255,.11); }
.hero-panel::before { content: ""; position: absolute; width: 140px; height: 140px; right: 170px; bottom: -90px; border-radius: 50%; background: rgba(185,217,0,.22); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-panel h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 46px); line-height: 1.12; letter-spacing: -.04em; }
.hero-panel p { margin: 0; color: rgba(255,255,255,.85); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; opacity: .8; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 20px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-header { padding: 20px 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-header h2, .card-header h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.card-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.card-body { padding: 22px; }
.card-footer { padding: 16px 22px; border-top: 1px solid var(--line); background: #fbfdfd; border-radius: 0 0 var(--radius) var(--radius); }
.stat-card { padding: 20px; display: flex; align-items: center; gap: 15px; }
.stat-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: var(--primary-dark); background: var(--primary-soft); }
.stat-icon.warning { color: #b54708; background: #fff4e5; }
.stat-icon.success { color: #027a48; background: #ecfdf3; }
.stat-icon.info { color: #175cd3; background: #eff8ff; }
.stat-icon.lime { color: #667900; background: var(--secondary-soft); }
.stat-card .number { font-size: 28px; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.stat-card .label { color: var(--muted); font-size: 12px; margin-top: 6px; }
.room-card { position: relative; overflow: hidden; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.room-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -34px; top: -34px; border-radius: 50%; background: var(--primary-soft); }
.room-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--primary-dark); background: var(--primary-soft); margin-bottom: 18px; }
.room-card h3 { margin: 0 0 6px; font-size: 18px; }
.room-card p { color: var(--muted); margin: 0; font-size: 13px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 16px 0 0; color: #536973; font-size: 12px; }
.room-meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-actions { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.empty-state { padding: 44px 24px; text-align: center; }
.empty-state .empty-icon { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { margin: 0 auto 18px; max-width: 460px; color: var(--muted); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 750; color: #334e59; }
.required::after { content: " *"; color: var(--danger); }
.form-control, select.form-control, textarea.form-control {
  width: 100%;
  border: 1px solid #d7e2e6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14,168,156,.12); }
.form-control:disabled, .form-control[readonly] { background: #f5f8f9; color: #71838c; }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-hint { color: var(--muted); font-size: 11px; }
.form-error { color: var(--danger); font-size: 12px; }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 90px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--primary-dark); font-size: 12px; font-weight: 800; padding: 7px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.filter-bar .form-group { min-width: 180px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8aa0aa; }
.search-box .form-control { padding-left: 40px; }

/* Buttons and badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 780;
  font-size: 13px;
  transition: .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #0b9189); box-shadow: 0 8px 18px rgba(14,168,156,.22); }
.btn-primary:hover { box-shadow: 0 12px 24px rgba(14,168,156,.28); }
.btn-secondary { color: #4d5e00; background: var(--secondary); }
.btn-light { color: var(--ink); background: #fff; border-color: #dce7ea; }
.btn-light:hover { background: #f7fafb; }
.btn-danger { color: white; background: var(--danger); }
.btn-warning { color: #7a2e0e; background: #ffead5; border-color: #fed7aa; }
.btn-success { color: white; background: var(--success); }
.btn-info { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
.btn-ghost-white { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.btn-ghost-white:hover { background: rgba(255,255,255,.17); }
.btn-sm { min-height: 34px; padding: 6px 10px; border-radius: 9px; font-size: 12px; }
.btn-block { width: 100%; }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); color: var(--ink); background: white; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 850; line-height: 1.2; }
.badge-warning { color: #93370d; background: #fffaeb; border: 1px solid #fedf89; }
.badge-success { color: #05603a; background: #ecfdf3; border: 1px solid #abefc6; }
.badge-danger { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.badge-info { color: #175cd3; background: #eff8ff; border: 1px solid #b2ddff; }
.badge-primary { color: #087f78; background: var(--primary-soft); border: 1px solid #a7e8e1; }
.badge-neutral { color: #475467; background: #f2f4f7; border: 1px solid #e4e7ec; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.active { background: var(--success); box-shadow: 0 0 0 4px rgba(3,152,85,.1); }
.status-dot.inactive { background: #98a2b3; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: #657983; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; background: #fbfdfd; white-space: nowrap; }
td { font-size: 13px; }
tbody tr:hover { background: #fbfefe; }
.table-primary { font-weight: 800; }
.table-secondary { color: var(--muted); font-size: 11px; margin-top: 2px; }
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }
.pagination { display: flex; gap: 6px; justify-content: flex-end; padding-top: 18px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 12px; }
.pagination .current { color: white; background: var(--primary); border-color: var(--primary); }

/* Detail */
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 24px; }
.detail-item { min-width: 0; }
.detail-item.full { grid-column: 1 / -1; }
.detail-item span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.detail-item strong { display: block; font-size: 14px; word-break: break-word; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #e2eaed; }
.timeline-item { position: relative; padding: 0 0 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: white; border: 4px solid var(--primary); }
.timeline-item strong { display: block; font-size: 13px; }
.timeline-item span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.info-box { display: flex; gap: 12px; padding: 14px; border-radius: 13px; background: #f5fbfb; border: 1px solid #d7efec; color: #335c63; }
.info-box.warning { background: #fffaeb; border-color: #fedf89; color: #7a2e0e; }
.info-box.danger { background: #fef3f2; border-color: #fecdca; color: #912018; }
.info-box p { margin: 0; font-size: 12px; }
.schedule-list { display: flex; flex-direction: column; gap: 10px; }
.schedule-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.schedule-item:last-child { border-bottom: 0; }
.schedule-date { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 14px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; text-align: center; line-height: 1.05; }
.schedule-date strong { display: block; font-size: 18px; }
.schedule-date span { display: block; font-size: 9px; text-transform: uppercase; }
.schedule-info { flex: 1; min-width: 0; }
.schedule-info strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-info span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.progress-row { margin: 14px 0; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 12px; }
.progress-track { height: 8px; border-radius: 99px; background: #edf2f4; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), #36c7b7); border-radius: 99px; }

/* Toast */
.toast { position: fixed; right: 24px; top: 92px; z-index: 100; width: min(420px, calc(100vw - 36px)); display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 13px; box-shadow: 0 18px 46px rgba(26,67,83,.18); background: #fff; border-left: 4px solid var(--primary); animation: toast-in .26s ease; }
.toast-error { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast-success { border-left-color: var(--success); }
.toast button { border: 0; background: transparent; font-size: 20px; line-height: 1; color: #7b8c94; }
.toast-hide { opacity: 0; transform: translateX(20px); pointer-events: none; transition: .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Error pages */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: linear-gradient(135deg, #eef9f8, #fbfdf7); }
.error-card { max-width: 600px; padding: 44px; text-align: center; }
.error-code { font-size: 84px; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -.08em; }
.error-card h1 { margin: 14px 0 8px; }
.error-card p { color: var(--muted); }

/* Responsive */
@media (max-width: 1180px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { min-height: 390px; padding: 34px; }
  .auth-hero h1 { font-size: 44px; }
  .auth-footer-note { display: none; }
  .auth-form-side { padding: 24px; }
  .sidebar { transform: translateX(-105%); transition: transform .24s ease; }
  .main-content { margin-left: 0; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; background: rgba(8,31,39,.46); z-index: 45; }
  .sidebar-open .sidebar-overlay { display: block; }
  .mobile-menu { display: inline-grid !important; }
  .topbar { gap: 12px; }
  .topbar-title { flex: 1; }
  .topbar-actions .profile-pill div:last-child { display: none; }
  .page-wrap { padding: 22px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .auth-visual { min-height: 330px; padding: 26px; }
  .auth-brand img { width: 190px; }
  .auth-hero h1 { font-size: 36px; }
  .auth-hero p { font-size: 15px; }
  .auth-feature-grid { grid-template-columns: 1fr; }
  .auth-feature:nth-child(n+3) { display: none; }
  .auth-form-side { padding: 16px; align-items: start; }
  .auth-card { padding: 26px 20px; border-radius: 20px; }
  .topbar { height: 68px; padding: 0 15px; }
  .topbar-title span { display: none; }
  .topbar-title strong { font-size: 15px; }
  .page-wrap { padding: 18px 14px; }
  .page-heading { flex-direction: column; }
  .heading-actions { width: 100%; }
  .heading-actions .btn { flex: 1; }
  .grid-2, .grid-3, .grid-4, .grid-5, .form-grid, .detail-list { grid-template-columns: 1fr; }
  .form-group.full, .detail-item.full { grid-column: auto; }
  .hero-panel { border-radius: 18px; }
  .hero-panel h1 { font-size: 29px; }
  .stat-card { padding: 17px; }
  .card-header, .card-body { padding-left: 17px; padding-right: 17px; }
  .filter-bar { align-items: stretch; }
  .filter-bar .form-group, .search-box { min-width: 100%; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .toast { right: 18px; top: 78px; }
  .profile-pill { padding: 0; }
}
