:root {
    --ink: #172033;
    --muted: #697386;
    --line: #e6eaf0;
    --surface: #ffffff;
    --canvas: #f5f7fa;
    --primary: #176b5b;
    --primary-dark: #105447;
    --primary-soft: #e7f4f0;
    --wechat: #07c160;
    --warning: #d97706;
    --danger: #c73a45;
    --blue: #2563eb;
    --radius: 16px;
    --shadow: 0 16px 46px rgba(24, 34, 52, .08);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; letter-spacing: -.03em; }
h2 { line-height: 1.3; }

.topbar { height: 72px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 11px; color: #fff; background: var(--primary); font-weight: 800; }
.brand-light { color: #fff; font-size: 18px; }
.brand-light .brand-mark { background: #fff; color: #113d36; }
.user-chip { display: flex; align-items: center; gap: 9px; color: #475269; font-size: 14px; }
.user-chip img, .user-chip .avatar-fallback { width: 34px; height: 34px; border-radius: 50%; }
.user-chip img { object-fit: cover; }
.avatar-fallback { display: inline-grid; place-items: center; color: #fff; background: #83a89f; font-weight: 700; }
.user-nav { min-height: 52px; display: flex; justify-content: center; gap: 34px; background: #fff; border-bottom: 1px solid var(--line); }
.user-nav a { position: relative; padding: 14px 4px 12px; color: var(--muted); font-size: 14px; }
.user-nav a.active { color: var(--primary); font-weight: 700; }
.user-nav a.active::after { content: ""; position: absolute; height: 3px; left: 3px; right: 3px; bottom: 0; border-radius: 3px 3px 0 0; background: var(--primary); }
.page-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 72px; min-height: calc(100vh - 190px); }
.footer { padding: 25px; text-align: center; color: #9aa3b2; font-size: 13px; }

.eyebrow { margin-bottom: 8px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted, .login-copy { color: var(--muted); }
.small { font-size: 13px; }
.hero-row, .admin-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.hero-row p, .admin-welcome p { margin-bottom: 0; }

.button { min-height: 44px; padding: 10px 19px; border: 1px solid transparent; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font-weight: 700; font-size: 14px; transition: transform .15s, background .15s, border .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { background: var(--primary-dark); }
.button-ghost { color: #526077; background: #fff; border-color: var(--line); }
.button-wechat { color: #fff; background: var(--wechat); }
.button-wechat:hover { background: #06ad56; }
.button-disabled { color: #929baa; background: #e9edf1; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.button-wide { width: 100%; }
.button-large { min-height: 52px; padding-inline: 34px; font-size: 16px; }

.alert { margin-bottom: 22px; padding: 13px 16px; border-radius: 11px; font-size: 14px; border: 1px solid; }
.alert-success { color: #106148; background: #e9f7f1; border-color: #c9ebdd; }
.alert-error { color: #9f2934; background: #fff0f1; border-color: #f5c9ce; }
.alert-warning { color: #8f5800; background: #fff7e8; border-color: #f4ddb0; }
.config-alert { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.config-alert a { color: #744700; font-weight: 800; white-space: nowrap; }

.filter-tabs { display: flex; gap: 7px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.filter-tabs a { flex: 0 0 auto; padding: 9px 14px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.filter-tabs a.active { color: var(--primary); background: var(--primary-soft); border-color: #bcded5; font-weight: 700; }
.filter-tabs b { margin-left: 5px; }
.ticket-list { display: grid; gap: 13px; }
.ticket-card { display: block; padding: 23px 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s, box-shadow .15s; }
.ticket-card:hover { transform: translateY(-2px); border-color: #c5d7d3; box-shadow: var(--shadow); }
.ticket-card h2 { margin: 11px 0 6px; font-size: 18px; }
.ticket-card p { margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.ticket-card-top, .ticket-meta { display: flex; align-items: center; gap: 10px; }
.ticket-card-top { justify-content: space-between; }
.ticket-meta { flex-wrap: wrap; color: #8992a2; font-size: 12px; }
.ticket-meta span + span::before { content: "·"; margin-right: 10px; }
.ticket-no { color: #7a8495; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; }
.status, .priority { display: inline-flex; align-items: center; width: max-content; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pending { color: #9a5700; background: #fff2d8; }
.status-processing { color: #b91c1c; background: #fee2e2; }
.status-resolved { color: #177357; background: #def4eb; }
.status-closed { color: #687386; background: #edf0f4; }
.priority-high { color: #b12b39; background: #fdecee; }
.priority-normal { color: #5f6879; background: #eef1f5; }
.priority-low { color: #24705c; background: #e9f5f1; }
.empty-state { padding: 68px 24px; text-align: center; background: #fff; border: 1px dashed #ccd3dd; border-radius: var(--radius); }
.empty-state > div { width: 52px; height: 52px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 22px; }
.empty-state h2 { margin-bottom: 7px; font-size: 20px; }
.empty-state p { margin-bottom: 22px; color: var(--muted); }
.empty-state.compact { padding: 42px 20px; border: 0; }

.form-page-head { max-width: 720px; margin: 0 auto 25px; }
.form-page-head p:last-child { color: var(--muted); }
.form-card { max-width: 720px; margin: 0 auto; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
label { display: block; color: #3f4b61; font-size: 14px; font-weight: 650; }
label > span { color: var(--danger); }
input, textarea, select { width: 100%; margin-top: 7px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #d8dde6; border-radius: 10px; outline: none; transition: border .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,107,91,.1); }
textarea { resize: vertical; line-height: 1.7; }
.form-card label + label, .admin-login-card label + label, .side-panel label + label { margin-top: 20px; }
.char-count { display: block; margin-top: 4px; text-align: right; color: #98a1af; font-weight: 400; }
fieldset { margin: 22px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 9px; color: #3f4b61; font-size: 14px; font-weight: 650; }
.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span { display: block; padding: 10px; text-align: center; color: #657084; border: 1px solid var(--line); border-radius: 10px; }
.radio-card input:checked + span { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }

.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 21px; color: #7d8797; font-size: 13px; }
.breadcrumb a { color: var(--primary); }
.ticket-detail-head { margin-bottom: 22px; padding: 25px; color: #fff; background: linear-gradient(135deg, #183e38, #176b5b); border-radius: var(--radius); }
.ticket-detail-head .ticket-no { color: #c4ddd7; }
.ticket-detail-head h1 { margin: 15px 0 8px; font-size: 27px; }
.ticket-detail-head p { margin: 0; color: #c4ddd7; font-size: 13px; }
.conversation { display: grid; gap: 13px; }
.message { max-width: 88%; padding: 19px 21px; border-radius: 15px; border: 1px solid var(--line); }
.message-user { justify-self: start; background: #fff; }
.message-admin { justify-self: end; background: var(--primary-soft); border-color: #cce5de; }
.message-head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 9px; }
.message-head strong { font-size: 14px; }
.message-head time { color: #8c95a4; font-size: 12px; white-space: nowrap; }
.message-body { color: #435067; font-size: 14px; word-break: break-word; }
.reply-box { margin-top: 25px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.reply-box h2 { margin-bottom: 14px; font-size: 17px; }
.reply-box textarea { margin: 0; }
.closed-note { margin-top: 24px; padding: 18px; text-align: center; color: var(--muted); background: #e9edf2; border-radius: 12px; }
.image-upload { margin-top: 14px; }
.image-upload-button { width: max-content; min-height: 38px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; color: #536176; background: #f7f9fb; border: 1px dashed #cbd3df; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 650; }
.image-upload-button:hover { color: var(--primary); border-color: var(--primary); }
.image-upload-button.hidden { width: 0; min-height: 0; padding: 0; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; border: 0; }
.image-upload > p { margin: 7px 0 0; color: #939baa; font-size: 11px; }
.image-upload-preview { margin-top: 10px; padding: 9px; display: flex; align-items: center; gap: 10px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; }
.image-upload-preview[hidden] { display: none; }
.image-upload-preview img { width: 54px; height: 54px; flex: 0 0 auto; object-fit: cover; border-radius: 7px; cursor: zoom-in; }
.image-upload-preview span { min-width: 0; flex: 1; overflow: hidden; color: #667186; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.image-upload-preview button { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; color: #b42e3b; background: #feecee; border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.message-attachments { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.attachment-thumb { width: 104px; height: 104px; padding: 0; overflow: hidden; background: #eef1f5; border: 1px solid rgba(0,0,0,.08); border-radius: 9px; cursor: zoom-in; }
.attachment-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-viewer { position: fixed; inset: 0; z-index: 2000; padding: 55px 20px 30px; display: flex; align-items: center; justify-content: center; background: rgba(4, 10, 20, .86); }
.image-viewer[hidden] { display: none; }
.image-viewer > img { max-width: min(1100px, 96vw); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.image-viewer-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; font-size: 25px; }
body.image-viewer-open { overflow: hidden; }

.login-card { width: min(440px, calc(100% - 36px)); padding: 42px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.user-login-card { margin: 7vh auto 0; }
.login-symbol { width: 62px; height: 62px; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: var(--primary); border-radius: 19px; font-size: 26px; font-weight: 800; box-shadow: 0 12px 24px rgba(23,107,91,.2); }
.login-symbol.dark { background: #193f39; }
.login-card h1 { font-size: 28px; }
.login-copy { margin-bottom: 26px; font-size: 14px; }
.login-card .button + p { margin: 15px 0 0; }
.admin-login-body { min-height: 100vh; display: grid; place-items: center; padding: 30px 0; background: radial-gradient(circle at 20% 20%, #326c61 0, #173e38 36%, #102b27 100%); }
.admin-login-card { text-align: left; }
.admin-login-card .login-symbol { margin-left: 0; }
.admin-login-card form { margin-top: 25px; }
.admin-login-card button { margin-top: 24px; }

.admin-body { min-height: 100vh; }
.sidebar { width: 238px; position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; flex-direction: column; padding: 25px 17px; color: #bfd2ce; background: #163a35; }
.sidebar .brand { padding: 0 8px 26px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { padding: 11px 14px; border-radius: 10px; font-size: 14px; }
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.sidebar-logout { margin-top: auto; padding: 11px 14px; font-size: 13px; }
.admin-main { min-height: 100vh; margin-left: 238px; }
.admin-topbar { height: 68px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(10px); }
.admin-topbar span { color: var(--muted); font-size: 13px; }
.menu-button { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 9px; }
.admin-content { padding: 31px; }
.admin-welcome { align-items: center; padding: 29px 32px; color: #fff; background: linear-gradient(120deg, #173f38, #1f7767); border-radius: var(--radius); }
.admin-welcome .eyebrow, .admin-welcome p { color: #c8dfda; }
.admin-welcome h1 { margin-bottom: 7px; font-size: 29px; }
.admin-welcome .button { color: #153e37; background: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 22px; }
.stat-card { min-height: 150px; padding: 21px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 18px rgba(20,30,50,.04); }
.stat-card span, .stat-card small { color: var(--muted); }
.stat-card span { font-size: 13px; }
.stat-card strong { margin: 7px 0 auto; font-size: 35px; line-height: 1.2; }
.stat-card small { font-size: 12px; }
.stat-card.warning { border-top: 3px solid #e29a28; }
.stat-card.info { border-top: 3px solid #4d8ee9; }
.stat-card.success { border-top: 3px solid #42a487; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 18px rgba(20,30,50,.035); }
.panel-head { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-head h1, .panel-head h2 { margin: 0 0 3px; font-size: 19px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 12px; }
.panel-head > a { color: var(--primary); font-size: 13px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
th { color: #798396; background: #fafbfc; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
td b { display: block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td small { display: block; margin-top: 3px; color: #939baa; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfd; }
.table-link { color: var(--primary); font-weight: 700; white-space: nowrap; }
.empty-inline { padding: 50px; text-align: center; color: var(--muted); }
.filter-form { padding: 18px 22px; display: grid; grid-template-columns: minmax(230px, 1fr) 160px 150px auto auto; gap: 9px; border-bottom: 1px solid var(--line); }
.filter-form input, .filter-form select { margin: 0; }
.person-cell { display: flex; align-items: center; gap: 10px; }
.person-cell img, .person-cell .avatar-fallback { flex: 0 0 auto; width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.person-cell b { max-width: 160px; }

.ticket-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.ticket-main-panel { padding: 25px; }
.ticket-main-panel h1 { margin: 16px 0 5px; font-size: 25px; }
.ticket-subline { color: var(--muted); font-size: 13px; }
.original-content { margin-top: 20px; padding: 18px; color: #414d62; background: #f7f9fb; border-radius: 11px; font-size: 14px; word-break: break-word; }
.admin-conversation { margin-top: 16px; }
.side-panel { padding: 21px; margin-bottom: 16px; }
.side-panel h2 { margin-bottom: 17px; font-size: 16px; }
.side-panel button { margin-top: 19px; }
.info-list { margin: 0; }
.info-list dt { color: #8992a2; font-size: 11px; }
.info-list dd { margin: 2px 0 14px; font-size: 13px; }
.break-all { word-break: break-all; }

.settings-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.settings-head h1 { margin-bottom: 5px; font-size: 30px; }
.settings-head p:last-child { margin: 0; color: var(--muted); }
.config-state { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.config-state.ready { color: #177357; background: #def4eb; }
.config-state.waiting { color: #9a5700; background: #fff2d8; }
.settings-form { display: grid; gap: 17px; }
.settings-panel { padding: 27px; }
.settings-section-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.settings-section-head > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 9px; font-size: 11px; font-weight: 800; }
.settings-section-head h2 { margin: 0 0 3px; font-size: 18px; }
.settings-section-head p { margin: 0; color: var(--muted); font-size: 12px; }
.settings-panel label small { display: block; margin-top: 6px; color: #8a94a4; font-weight: 400; }
.checkbox-line { width: max-content; margin-top: 18px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-line input { width: 17px; height: 17px; margin: 0; accent-color: var(--primary); }
.checkbox-line span { color: #6b7484; font-weight: 500; }
.proxy-warning { margin: 18px 0 0; padding: 12px 14px; color: #805200; background: #fff8e9; border: 1px solid #f0dfb7; border-radius: 9px; font-size: 12px; }
.callback-box { margin-top: 22px; padding: 17px 19px; background: #f6f8fa; border: 1px solid var(--line); border-radius: 11px; }
.callback-box > span { display: block; margin-bottom: 6px; color: #697386; font-size: 12px; font-weight: 700; }
.callback-box code { display: block; color: var(--primary); font-size: 13px; word-break: break-all; }
.callback-box p { margin: 8px 0 0; color: #929baa; font-size: 11px; }
.settings-actions { display: flex; justify-content: flex-end; }

.install-body { min-height: 100vh; padding: 55px 20px; background: #eff3f5; }
.install-shell { width: min(880px, 100%); margin: 0 auto; }
.install-head { display: flex; align-items: center; gap: 21px; margin-bottom: 30px; }
.install-head .login-symbol { flex: 0 0 auto; margin: 0; }
.install-head h1 { margin-bottom: 3px; font-size: 30px; }
.install-head p:last-child { margin: 0; color: var(--muted); }
.install-form { display: grid; gap: 16px; }
.install-form .panel { padding: 25px; }
.install-form h2 { margin-bottom: 20px; font-size: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.span-two { grid-column: span 2; }
.field-help { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.install-result { padding: 60px 30px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.install-result > div { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 50%; font-size: 26px; }
.install-result .button { margin: 12px 4px 0; }

@media (max-width: 980px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .ticket-admin-grid { grid-template-columns: 1fr; }
    .filter-form { grid-template-columns: 1fr 1fr 1fr; }
    .filter-form input { grid-column: span 3; }
    .form-grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .page-shell { width: min(100% - 28px, 1120px); padding-top: 28px; }
    .topbar { height: 62px; padding: 0 15px; }
    .brand > span:last-child { display: none; }
    .user-nav { gap: 23px; }
    .hero-row, .admin-welcome { align-items: stretch; flex-direction: column; }
    .hero-row .button { align-self: flex-start; }
    .ticket-card { padding: 19px; }
    .ticket-meta { gap: 5px 10px; }
    .ticket-meta span + span::before { display: none; }
    .form-card { padding: 21px; }
    .message { max-width: 96%; }
    .message-head { gap: 10px; }
    .sidebar { transform: translateX(-100%); box-shadow: 12px 0 30px rgba(0,0,0,.18); transition: transform .2s; }
    .sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-topbar { height: 62px; padding: 0 15px; }
    .menu-button { display: inline-grid; place-items: center; }
    .admin-content { padding: 17px 13px 30px; }
    .admin-welcome { padding: 23px; }
    .config-alert { align-items: flex-start; flex-direction: column; }
    .stat-grid { gap: 9px; }
    .stat-card { min-height: 128px; padding: 16px; }
    .stat-card strong { font-size: 29px; }
    th, td { padding: 13px 15px; }
    .filter-form { grid-template-columns: 1fr 1fr; }
    .filter-form input { grid-column: span 2; }
    .ticket-main-panel { padding: 20px; }
    .login-card { padding: 31px 25px; }
    .settings-head { align-items: flex-start; flex-direction: column; }
    .settings-panel { padding: 21px; }
    .install-body { padding: 30px 14px; }
    .form-grid, .form-grid.four { grid-template-columns: 1fr; }
    .span-two { grid-column: span 1; }
}

@media (max-width: 430px) {
    h1 { font-size: 27px; }
    .user-chip span:last-child { display: none; }
    .radio-row { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .filter-form { display: flex; flex-direction: column; }
    .filter-form .button { width: 100%; }
    .install-head { align-items: flex-start; }
    .install-head .login-symbol { width: 50px; height: 50px; border-radius: 15px; }
}
