:root {
  color-scheme: dark;
  --bg: #091321;
  --panel: rgba(18, 31, 50, .88);
  --panel-soft: rgba(22, 38, 60, .72);
  --panel-strong: #14243a;
  --line: rgba(169, 194, 225, .13);
  --line-strong: rgba(169, 194, 225, .22);
  --text: #eef4fc;
  --muted: #9aabc1;
  --muted-2: #71849e;
  --blue: #5aa8ff;
  --blue-strong: #297fe3;
  --cyan: #60d6df;
  --green: #60d2a6;
  --amber: #f2bf69;
  --red: #ef858d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  font-family: "DM Sans", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(39, 127, 227, .12), transparent 36%),
    radial-gradient(ellipse at 95% 85%, rgba(47, 175, 188, .08), transparent 34%),
    var(--bg);
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(96, 214, 223, .82); outline-offset: 2px;
}
.ambient { position: fixed; width: 300px; height: 300px; border-radius: 50%; filter: blur(100px); opacity: .11; pointer-events: none; z-index: -1; }
.ambient-one { background: #287fdf; top: -140px; left: -100px; }
.ambient-two { background: #2ab6b5; bottom: -180px; right: -100px; }
.app-shell { min-height: 100vh; }
.loading-screen { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; color: var(--muted); }
.brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(145deg, #4c9bf0, #1e5fae); color: white; font: 800 17px Manrope, sans-serif; box-shadow: 0 12px 35px rgba(41,127,227,.3); letter-spacing: -.06em; }
.loading-copy { display: grid; gap: 4px; text-align: center; }
.loading-copy strong { color: var(--text); font: 700 17px Manrope, sans-serif; }
.loading-copy span { font-size: 13px; }
.loader { width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.12); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(390px, 520px); align-items: center; gap: clamp(28px, 7vw, 100px); max-width: 1180px; padding: 56px 34px; margin: auto; }
.auth-intro { max-width: 570px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: #9ddde4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.kicker::before { content: ""; width: 23px; height: 1px; background: var(--cyan); }
.auth-intro h1 { max-width: 590px; margin: 22px 0 18px; font: 800 clamp(38px, 5vw, 62px)/1.07 Manrope, sans-serif; letter-spacing: -.055em; }
.auth-intro h1 span { color: #78c8df; }
.auth-intro p { max-width: 500px; margin: 0; color: #a9b9ce; font-size: 16px; line-height: 1.8; }
.auth-points { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.auth-point { padding: 10px 13px; color: #c5d3e5; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); font-size: 12px; }
.auth-card { padding: 31px; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(155deg, rgba(22,39,62,.96), rgba(12,24,40,.97)); box-shadow: var(--shadow); }
.auth-card h2 { margin: 0 0 8px; font: 750 23px Manrope, sans-serif; letter-spacing: -.03em; }
.auth-card .sub { margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-error { display: none; margin: 0 0 16px; padding: 11px 13px; color: #ffc5c8; border: 1px solid rgba(239,133,141,.28); border-radius: 11px; background: rgba(239,133,141,.08); font-size: 12px; line-height: 1.5; }
.auth-error.show { display: block; }
.google-btn, .primary-btn, .secondary-btn, .ghost-btn, .danger-btn, .small-btn {
  min-height: 43px; border: 0; border-radius: 11px; padding: 0 16px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; cursor: pointer; font-weight: 700; font-size: 13px; transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}
.google-btn:hover, .primary-btn:hover, .secondary-btn:hover, .ghost-btn:hover, .danger-btn:hover, .small-btn:hover { transform: translateY(-1px); }
.google-btn { width: 100%; min-height: 48px; color: #182538; background: #f0f5fb; }
.google-g { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; vertical-align: middle; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 21px 0; color: var(--muted-2); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.field { display: grid; gap: 8px; min-width: 0; }
.field + .field { margin-top: 15px; }
.field label, .field-label { color: #cbd7e7; font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea, .search-input {
  width: 100%; min-width: 0; color: var(--text); background: rgba(5,13,24,.58); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 13px; outline: none; font-size: 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input, .field select { min-height: 45px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #62758e; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: rgba(96,214,223,.56); box-shadow: 0 0 0 3px rgba(96,214,223,.08); }
.field select option { background: #13243a; }
.primary-btn { color: #081625; background: linear-gradient(135deg, #7cdae1, #65b7ef); box-shadow: 0 8px 20px rgba(76,185,216,.15); }
.primary-btn:hover { background: linear-gradient(135deg, #9be7e8, #7dc6f5); }
.primary-btn:disabled, .google-btn:disabled, .small-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.full { width: 100%; margin-top: 19px; }
.secondary-btn { color: #dceaff; border: 1px solid rgba(97,165,236,.32); background: rgba(58,126,204,.13); }
.ghost-btn { color: #b8c9dd; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.danger-btn { color: #ffc5c8; border: 1px solid rgba(239,133,141,.26); background: rgba(239,133,141,.1); }
.small-btn { min-height: 34px; padding: 0 11px; font-size: 11px; border-radius: 9px; color: #dceaff; border: 1px solid var(--line-strong); background: rgba(255,255,255,.035); }
.auth-note { margin: 18px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.6; text-align: center; }
.dashboard { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 16px 18px; border-right: 1px solid var(--line); background: rgba(7,16,29,.73); backdrop-filter: blur(20px); }
.brand-row { display: flex; align-items: center; gap: 11px; padding: 0 9px 24px; border-bottom: 1px solid var(--line); }
.brand-row .brand-mark { width: 39px; height: 39px; border-radius: 13px; font-size: 13px; }
.brand-text { min-width: 0; display: grid; gap: 3px; }
.brand-text strong { font: 750 13px Manrope, sans-serif; letter-spacing: -.02em; }
.brand-text span { color: var(--muted-2); font-size: 10px; }
.user-block { display: flex; align-items: center; gap: 10px; padding: 17px 8px; border-bottom: 1px solid var(--line); }
.user-avatar { flex: 0 0 37px; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: #d9faff; background: linear-gradient(145deg, #2e7fc9, #22517e); font: 800 11px Manrope, sans-serif; }
.user-meta { min-width: 0; display: grid; gap: 3px; }
.user-meta strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.user-meta span { color: var(--muted); font-size: 10px; }
.nav-label { margin: 22px 9px 9px; color: #70849e; font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.nav-list { display: grid; gap: 5px; }
.nav-btn { width: 100%; min-height: 41px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 1px solid transparent; border-radius: 10px; color: #9eafc4; background: transparent; text-align: left; cursor: pointer; font-size: 12px; font-weight: 600; transition: .15s ease; }
.nav-btn:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-btn.active { color: #dffaff; border-color: rgba(96,214,223,.17); background: linear-gradient(90deg, rgba(62,149,201,.19), rgba(62,149,201,.06)); }
.nav-icon { width: 20px; text-align: center; color: #7dbfd5; font-size: 15px; }
.sidebar-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.sidebar-bottom .nav-btn { color: #8ea1b9; }
.main-area { min-width: 0; padding: 30px clamp(20px, 4vw, 54px) 50px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; max-width: 1200px; margin: 0 auto 30px; }
.crumb { color: var(--muted); font-size: 11px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.role-pill { padding: 7px 10px; border: 1px solid rgba(96,214,223,.22); border-radius: 999px; color: #a5e4e5; background: rgba(96,214,223,.07); font-size: 10px; font-weight: 700; }
.content { max-width: 1200px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.page-heading h1 { margin: 8px 0 7px; font: 800 clamp(26px, 3vw, 36px)/1.15 Manrope, sans-serif; letter-spacing: -.045em; }
.page-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.eyebrow { color: #7fcbd9; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.welcome-panel { position: relative; overflow: hidden; margin-bottom: 24px; padding: 26px 29px; border: 1px solid rgba(100,174,220,.22); border-radius: 19px; background: linear-gradient(115deg, rgba(34,91,147,.32), rgba(28,69,87,.18) 55%, rgba(18,39,59,.7)); }
.welcome-panel::after { content: "PE"; position: absolute; right: 20px; top: -34px; color: rgba(183,224,255,.045); font: 800 150px Manrope, sans-serif; letter-spacing: -.1em; pointer-events: none; }
.welcome-panel h2 { position: relative; z-index: 1; margin: 0 0 7px; font: 750 20px Manrope, sans-serif; letter-spacing: -.035em; }
.welcome-panel p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: #b1c6dc; font-size: 12px; line-height: 1.7; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-bottom: 22px; }
.stat-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(16,30,48,.62); }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; margin-top: 8px; font: 800 25px Manrope, sans-serif; letter-spacing: -.05em; }
.stat-card small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.action-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(150deg, rgba(23,42,66,.82), rgba(14,27,44,.82)); }
.action-symbol { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid rgba(102,195,213,.22); border-radius: 13px; color: #8bdbe0; background: rgba(89,182,205,.1); font-size: 18px; }
.action-card h3 { margin: 16px 0 6px; font: 750 16px Manrope, sans-serif; }
.action-card p { max-width: 420px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.action-card .secondary-btn { margin-top: auto; }
.panel { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,30,48,.66); }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head h2, .panel-head h3 { margin: 0; font: 750 15px Manrope, sans-serif; letter-spacing: -.025em; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.form-card { max-width: 800px; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: rgba(16,30,48,.7); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.form-grid .field + .field { margin-top: 0; }
.form-grid .span-2 { grid-column: 1 / -1; }
.helper { color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; }
.inline-notice { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(96,214,223,.18); border-radius: 11px; color: #b7dbe3; background: rgba(96,214,223,.06); font-size: 11px; line-height: 1.6; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.filter-chip { min-height: 33px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: #9eb0c5; background: rgba(255,255,255,.02); cursor: pointer; font-size: 10px; font-weight: 700; }
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
.filter-chip.active { color: #dffbff; border-color: rgba(96,214,223,.35); background: rgba(96,214,223,.1); }
.record-list { display: grid; gap: 10px; }
.record-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(11,23,38,.64); transition: border-color .15s ease, background .15s ease; }
.record-card:hover { border-color: rgba(110,180,223,.29); background: rgba(19,37,58,.85); }
.record-main { min-width: 0; }
.record-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--muted-2); font-size: 10px; }
.record-card h3 { margin: 0 0 5px; overflow-wrap: anywhere; font: 700 13px Manrope, sans-serif; }
.record-card p { margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.record-side { display: grid; justify-items: end; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #afc1d6; background: rgba(255,255,255,.03); font-size: 9px; font-weight: 700; white-space: nowrap; }
.badge.status-new { color: #a9d9ff; border-color: rgba(90,168,255,.22); background: rgba(90,168,255,.08); }
.badge.status-analysis { color: #f3ce8b; border-color: rgba(242,191,105,.22); background: rgba(242,191,105,.08); }
.badge.status-good { color: #8fe0bd; border-color: rgba(96,210,166,.22); background: rgba(96,210,166,.08); }
.badge.status-bad { color: #f1a5aa; border-color: rgba(239,133,141,.22); background: rgba(239,133,141,.08); }
.badge.stage-progress { color: #9be0e7; border-color: rgba(96,214,223,.24); background: rgba(96,214,223,.08); }
.badge.stage-final { color: #c0cadd; background: rgba(181,193,211,.08); }
.empty-state { display: grid; justify-items: center; text-align: center; padding: 42px 20px; border: 1px dashed rgba(165,188,215,.2); border-radius: 14px; background: rgba(255,255,255,.015); }
.empty-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 15px; color: #85ceda; background: rgba(96,214,223,.06); font-size: 19px; }
.empty-state strong { font: 700 13px Manrope, sans-serif; }
.empty-state p { max-width: 380px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 16px; }
.detail-main { min-width: 0; }
.detail-summary { margin-bottom: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16,30,48,.72); }
.detail-summary h2 { margin: 9px 0 8px; font: 750 20px Manrope, sans-serif; letter-spacing: -.03em; overflow-wrap: anywhere; }
.detail-summary p { margin: 0; color: #b4c3d6; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--muted); font-size: 10px; }
.thread { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16,30,48,.58); }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.thread-head h3 { margin: 0; font: 750 14px Manrope, sans-serif; }
.message { max-width: min(88%, 620px); padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); }
.message.mine { margin-left: auto; border-color: rgba(96,214,223,.2); background: rgba(60,143,164,.12); }
.message-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; color: #b7c8dc; font-size: 10px; font-weight: 700; }
.message-top time { color: var(--muted-2); font-weight: 500; }
.message p { margin: 0; color: #d8e3ef; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-form { display: grid; gap: 9px; padding-top: 11px; border-top: 1px solid var(--line); }
.message-form textarea { width: 100%; min-height: 82px; padding: 12px; resize: vertical; color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(5,13,24,.58); font: 12px/1.6 "DM Sans", sans-serif; }
.message-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.detail-side { display: grid; gap: 13px; }
.detail-side .panel { padding: 17px; margin: 0; }
.detail-side .field + .field { margin-top: 13px; }
.admin-list-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }
.search-input { max-width: 270px; min-height: 36px; font-size: 11px; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.small-muted { color: var(--muted-2); font-size: 10px; }
.mobile-top { display: none; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); }
.toast { padding: 13px 15px; color: #e5f8f5; border: 1px solid rgba(96,210,166,.25); border-radius: 12px; background: #142d34; box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; animation: toast-in .2s ease-out; }
.toast.error { color: #ffe0e2; border-color: rgba(239,133,141,.27); background: #39232b; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(1,7,14,.72); backdrop-filter: blur(8px); }
.modal-card { width: min(440px, 100%); padding: 24px; border: 1px solid var(--line-strong); border-radius: 17px; background: #14243a; box-shadow: var(--shadow); }
.modal-card h2 { margin: 0 0 9px; font: 750 18px Manrope, sans-serif; }
.modal-card p { margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
@media (max-width: 980px) {
  .dashboard { grid-template-columns: 220px minmax(0,1fr); }
  .detail-layout { grid-template-columns: minmax(0,1fr) 245px; }
  .auth-layout { gap: 35px; }
}
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; max-width: 520px; padding: 38px 18px; gap: 28px; }
  .auth-intro { text-align: center; }
  .auth-intro p { margin: 0 auto; font-size: 14px; }
  .kicker { justify-content: center; }
  .auth-intro h1 { margin: 16px 0 12px; font-size: clamp(34px, 9vw, 48px); }
  .auth-points { justify-content: center; margin-top: 19px; }
  .auth-card { padding: 24px; }
  .dashboard { display: block; padding-bottom: 68px; }
  .sidebar { position: fixed; z-index: 20; inset: auto 0 0; height: 64px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line-strong); background: rgba(7,16,29,.94); backdrop-filter: blur(22px); }
  .brand-row, .user-block, .nav-label, .sidebar-bottom { display: none; }
  .nav-list { display: flex; align-items: stretch; justify-content: space-around; gap: 3px; width: 100%; height: 100%; }
  .nav-btn { min-width: 0; min-height: 47px; flex: 1; flex-direction: column; justify-content: center; gap: 3px; padding: 3px 2px; font-size: 9px; }
  .nav-icon { width: auto; font-size: 16px; }
  .main-area { padding: 20px 15px 25px; }
  .topbar { margin-bottom: 22px; }
  .topbar-actions .role-pill { display: none; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .welcome-panel { padding: 21px; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 13px; }
  .stat-card strong { font-size: 21px; }
  .action-grid { grid-template-columns: 1fr; }
  .action-card { min-height: 170px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { grid-row: 1; }
  .detail-side .panel { padding: 14px; }
  .admin-columns { grid-template-columns: 1fr; }
  .record-card { grid-template-columns: 1fr; }
  .record-side { display: flex; justify-content: space-between; align-items: center; }
}
@media (max-width: 480px) {
  .form-card { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions button { width: 100%; }
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .stat-card span { font-size: 9px; }
  .stat-card strong { font-size: 18px; }
  .stat-card small { font-size: 9px; }
  .search-input { max-width: none; width: 100%; }
  .admin-list-top { align-items: stretch; }
  .message { max-width: 94%; }
  .topbar { align-items: flex-start; }
}
