:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-muted: #f8fafb;
  --border: #dce2e7;
  --border-strong: #c8d0d7;
  --text: #182026;
  --muted: #65717c;
  --primary: #166534;
  --primary-hover: #14532d;
  --primary-soft: #e8f5ec;
  --orange: #b45309;
  --orange-soft: #fff4e6;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --shadow: 0 14px 40px rgba(24, 32, 38, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-size: 14px; letter-spacing: 0; }
button, input { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.topbar {
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: #132019;
  color: #fff;
  border-bottom: 1px solid #26362c;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand, .topnav, .topbar-actions, .title-row, .search-form { display: flex; align-items: center; }
.brand { gap: 10px; font-weight: 700; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
}
.brand-mark.small { width: 30px; height: 30px; font-size: 12px; }
.topnav { align-self: stretch; gap: 4px; margin-left: 24px; }
.topnav a { height: 100%; display: flex; align-items: center; padding: 0 14px; color: #bdc9c1; border-bottom: 2px solid transparent; font-weight: 650; }
.topnav a:hover { color: #fff; }
.topnav a.active { color: #fff; border-bottom-color: #4ade80; }
.topbar-actions { gap: 10px; margin-left: auto; }
.sync-meta { color: #c4d0c8; font-size: 11px; }
.topbar .button.secondary { background: #24352a; border-color: #405146; color: #fff; }
.topbar .button.secondary:hover { background: #304438; }
.topbar .button.primary { background: #2a8b4a; border-color: #3fa45d; }
.topbar .button.primary:hover { background: #23763f; }
.global-sync-button { width: 156px; }

.button, .icon-button {
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.button { min-height: 36px; padding: 8px 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; }
.button.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.button.primary:hover { background: var(--primary-hover); }
.button.secondary { background: #fff; color: #26343d; border-color: var(--border-strong); }
.button.secondary:hover { background: #f4f7f8; border-color: #aeb8c0; }
.button:disabled, .icon-button:disabled { opacity: .55; cursor: wait; }
.button.wide { width: 100%; }
.icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: transparent;
  color: inherit;
}
.icon-button:hover { background: rgba(127, 127, 127, .14); }
.icon-button.danger { border-color: #efcac5; color: var(--danger); background: var(--danger-soft); }

.app-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.sidebar { background: #edf1f3; border-right: 1px solid var(--border); overflow: auto; }
.summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid var(--border); }
.summary-strip.four { grid-template-columns: repeat(4, 1fr); }
.summary-strip div { padding: 14px 6px; text-align: center; border-right: 1px solid var(--border); }
.summary-strip div:last-child { border-right: 0; }
.summary-strip strong { display: block; font-size: 16px; line-height: 1.25; }
.summary-strip span { color: var(--muted); font-size: 11px; }
.section-label { display: flex; justify-content: space-between; padding: 18px 14px 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.account-list { padding: 0 8px; }
.account-item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 9px; border: 1px solid transparent; border-radius: 5px; margin-bottom: 3px; }
.account-item:hover { background: rgba(255, 255, 255, .72); }
.account-item.active { background: #fff; border-color: var(--border-strong); box-shadow: 0 1px 2px rgba(24,32,38,.04); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa4ac; }
.status-dot.active { background: #22a45a; box-shadow: 0 0 0 3px #dff4e7; }
.status-dot.syncing { background: #d97706; animation: pulse 1.2s infinite; }
.status-dot.auth_failed, .status-dot.connection_failed, .status-dot.sync_failed { background: #d13b30; }
@keyframes pulse { 50% { opacity: .42; } }
.account-copy { min-width: 0; }
.account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { font-size: 13px; }
.account-copy small { color: var(--muted); margin-top: 2px; font-size: 11px; }
.account-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.account-name-line strong { min-width: 0; }
.restriction-tag { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 18px; padding: 2px 6px; border-radius: 3px; color: #fff; background: #465159; font-size: 10px; font-weight: 750; line-height: 1; }
.account-copy .account-sync-line { margin-top: 4px; color: #748089; font-size: 10px; }
.account-sync-line span { font-weight: 750; }
.account-sync-line.active span { color: #148344; }
.account-sync-line.syncing span { color: #c46a08; }
.account-sync-line.auth_failed span, .account-sync-line.connection_failed span, .account-sync-line.sync_failed span { color: var(--danger); }
.account-sync-line.pending span { color: #69757e; }
.unread-badge { min-width: 22px; padding: 2px 6px; border-radius: 10px; color: #fff; background: var(--primary); font-size: 11px; text-align: center; }
.account-badges { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.recent-unread-badge { min-width: 22px; padding: 2px 6px; border-radius: 10px; color: #fff; background: #d92d20; font-size: 11px; font-weight: 750; text-align: center; box-shadow: 0 0 0 2px #ffe4e1; }
.sidebar-add { display: block; width: calc(100% - 16px); margin: 10px 8px 20px; padding: 10px; border: 1px dashed #aeb8c0; color: #4c5a64; background: transparent; border-radius: 5px; cursor: pointer; text-align: center; }
.sidebar-add:hover { background: #fff; }
.sidebar-empty { padding: 20px 12px; text-align: center; color: var(--muted); }
.sidebar-empty strong, .sidebar-empty span { display: block; }
.sidebar-empty strong { color: var(--text); margin-bottom: 5px; }

.content { min-width: 0; background: var(--surface); }
.content-toolbar { min-height: 56px; display: flex; align-items: center; padding: 9px 20px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.search-form { width: min(760px, 100%); gap: 8px; }
.search-box { height: 36px; min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 11px; background: #fff; border: 1px solid var(--border-strong); border-radius: 5px; color: var(--muted); }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.text-link { color: var(--primary); font-weight: 650; }
.mailbox-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.mailbox-header.compact { min-height: 80px; }
.mailbox-header.compact h1 { margin: 0; font-size: 20px; }
.mailbox-header.compact p { margin: 5px 0 0; color: var(--muted); }
.mailbox-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mailbox-avatar { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: #e8edf0; color: #35434c; font-size: 18px; font-weight: 800; }
.mailbox-title h1 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.mailbox-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.mailbox-email { color: #2d3a42; font-weight: 720; }
.mailbox-counts { margin-left: 5px; color: var(--muted); font-weight: 400; }
.mailbox-title .status-error { color: var(--danger); max-width: 620px; }
.mailbox-title .mailbox-note { max-width: 760px; white-space: pre-wrap; }
.title-row { gap: 8px; }
.status-pill { padding: 3px 7px; border-radius: 4px; background: #edf0f2; color: #5e6972; font-size: 11px; font-weight: 700; }
.status-pill.active { background: var(--primary-soft); color: var(--primary); }
.status-pill.syncing { background: var(--orange-soft); color: var(--orange); }
.status-pill.auth_failed, .status-pill.connection_failed { background: var(--danger-soft); color: var(--danger); }
.status-pill.managed_only { background: #eef1f4; color: #4f5d67; }
.status-dot.managed_only { background: #7a8790; }
.mailbox-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.mailbox-sync-time { margin-right: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; }

.message-section { background: #fff; }
.message-section-head { height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--border); }
.message-section-head div { display: flex; align-items: baseline; gap: 8px; }
.message-section-head h2 { margin: 0; font-size: 14px; }
.message-section-head span { color: var(--muted); font-size: 11px; }
.local-note { padding: 5px 8px; background: #f1f4f5; border-radius: 4px; }
.message-list { overflow-x: auto; }
.message-row { width: 100%; min-width: 760px; min-height: 66px; display: grid; grid-template-columns: 104px minmax(360px, 2.8fr) minmax(180px, 1fr); gap: 18px; align-items: center; padding: 9px 20px; border: 0; border-bottom: 1px solid #e7ebee; background: #fff; color: var(--text); text-align: left; cursor: pointer; }
.message-row:hover { background: #f8faf9; }
.message-row.unread { background: #f2f8f4; }
.message-row.unread:hover { background: #eaf4ed; }
.message-row.unread .message-summary strong { font-weight: 760; }
.message-row.message-head { min-height: 34px; color: var(--muted); background: #f7f9fa; font-size: 11px; font-weight: 700; cursor: default; }
.sender, .account-tag, .message-time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-summary { min-width: 0; }
.message-summary strong, .message-summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-summary strong { font-size: 13px; font-weight: 600; }
.message-summary small { color: var(--muted); margin-top: 4px; font-size: 12px; }
.message-summary em { display: inline-block; margin-top: 5px; padding: 2px 5px; color: #4e5a63; background: #eef2f3; border-radius: 3px; font-size: 10px; font-style: normal; }
.account-tag { color: #4e5a63; font-size: 11px; }
.message-time { color: var(--muted); font-size: 11px; text-align: left; }
.alert-keyword { padding: 0; color: var(--danger); background: transparent; font-weight: 850; }
.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); }
.empty-state h3 { color: var(--text); margin: 12px 0 5px; }
.empty-state p { margin: 0; }
.empty-icon { width: 42px; height: 34px; display: grid; place-items: center; margin: 0 auto; border: 2px solid #b8c1c8; color: #78848d; border-radius: 4px; font-size: 22px; }

.dialog { width: min(600px, calc(100vw - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--border-strong); border-radius: 7px; box-shadow: var(--shadow); color: var(--text); overflow: auto; }
.dialog::backdrop { background: rgba(18, 25, 29, .48); }
.dialog.narrow { width: min(540px, calc(100vw - 28px)); }
.dialog.message-dialog { width: min(900px, calc(100vw - 28px)); }
.dialog > form, .dialog > div, .dialog > dl, .dialog > pre { margin-left: 22px; margin-right: 22px; }
.dialog > form { margin: 0; padding: 0 22px; }
.dialog-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.dialog-head h2 { margin: 2px 0 0; font-size: 18px; }
.eyebrow { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.dialog-copy { color: var(--muted); line-height: 1.6; margin: 18px 0; }
.dialog code { padding: 2px 4px; background: #f1f4f5; border-radius: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 100px; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid.single { grid-template-columns: 1fr; }
.stack-form, .form-grid label { display: grid; gap: 7px; }
.form-grid label span, .stack-form label span { color: #43515a; font-size: 12px; font-weight: 650; }
input, textarea { min-height: 40px; width: 100%; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 5px; outline: 0; background: #fff; resize: vertical; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.form-grid label em { color: var(--muted); font-weight: 400; font-style: normal; }
.dialog-actions { min-height: 70px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 20px; border-top: 1px solid var(--border); }
.dialog-actions.split { justify-content: space-between; }
.form-error { margin-top: 14px; padding: 10px; background: var(--danger-soft); color: var(--danger); border: 1px solid #f2c5c0; border-radius: 5px; }
.credential-field { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.credential-field:first-of-type { margin-top: 10px; }
.credential-field > span { color: var(--muted); }
.credential-field code { overflow-x: auto; padding: 8px; font-size: 13px; }
.small-button { min-height: 32px; padding: 5px 9px; }
.audit-note { color: var(--muted); font-size: 11px; }
.message-dialog-heading { min-width: 0; }
.message-dialog-heading h2 { max-width: 740px; overflow-wrap: anywhere; }
.message-meta { margin-top: 18px; margin-bottom: 18px; padding: 12px 14px; background: #f6f8f9; border: 1px solid var(--border); border-radius: 5px; }
.message-meta div { display: grid; grid-template-columns: 70px minmax(0, 1fr); padding: 4px 0; }
.message-meta dt { color: var(--muted); }
.message-meta dd { margin: 0; overflow-wrap: anywhere; }
.message-body { min-height: 240px; max-height: 55vh; margin-top: 0; margin-bottom: 22px; padding: 18px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--border); border-radius: 5px; font-family: inherit; line-height: 1.7; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 100; transform: translate(-50%, 20px); padding: 10px 14px; background: #17221b; color: #fff; border-radius: 5px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8f241b; }
.toast.warning { background: #8a4a08; }

.management-page { min-height: calc(100vh - 58px); background: var(--bg); }
.management-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px 22px; background: #fff; border-bottom: 1px solid var(--border); }
.management-head h1 { margin: 5px 0 6px; font-size: 22px; }
.management-head p { margin: 0; color: var(--muted); }
.management-summary { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); border-bottom: 1px solid var(--border); background: #fff; }
.management-summary div { padding: 16px 28px; border-right: 1px solid var(--border); }
.management-summary div:last-child { border-right: 0; }
.management-summary strong, .management-summary span { display: block; }
.management-summary strong { font-size: 20px; }
.management-summary span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.account-table-wrap { margin: 20px 28px 36px; overflow-x: auto; background: #fff; border: 1px solid var(--border); }
.account-table { min-width: 1420px; display: grid; grid-template-columns: 150px minmax(210px, 1.2fr) minmax(160px, .8fr) minmax(170px, 1fr) 108px 108px 155px 100px; gap: 14px; align-items: center; padding: 12px 14px; }
.account-table-head { min-height: 38px; color: var(--muted); background: #f5f7f8; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; }
.account-table-row { min-height: 72px; border-bottom: 1px solid var(--border); }
.account-table-row:last-child { border-bottom: 0; }
.managed-name, .managed-email, .managed-password, .row-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.managed-name strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.managed-email span, .managed-password code, .managed-notes { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.managed-email span, .managed-password code { white-space: nowrap; }
.managed-password code { padding: 6px 7px; background: #f1f4f5; border-radius: 4px; }
.managed-notes { max-height: 50px; white-space: pre-wrap; color: #52606a; line-height: 1.5; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 700; cursor: pointer; }
.managed-status { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.managed-status small { max-width: 100%; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.managed-status .status-error { color: var(--danger); }
.toggle-field { display: inline-flex; align-items: center; gap: 7px; min-width: 0; cursor: pointer; }
.toggle-field input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.toggle-track { position: relative; width: 34px; height: 19px; flex: 0 0 auto; border-radius: 10px; background: #a4adb3; transition: background .18s; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(24,32,38,.24); transition: transform .18s; }
.toggle-field input:checked + .toggle-track { background: #18864b; }
.toggle-field input:checked + .toggle-track::after { transform: translateX(15px); }
.toggle-field input:focus-visible + .toggle-track { outline: 2px solid var(--primary); outline-offset: 2px; }
.toggle-field input:disabled + .toggle-track { background: #d1d6da; }
.toggle-field:has(input:disabled) { color: #8a949b; cursor: not-allowed; }
.toggle-field em { overflow: hidden; color: #4f5b63; font-size: 11px; font-style: normal; white-space: nowrap; }
.restriction-toggle input:checked + .toggle-track { background: #465159; }
.row-actions { justify-content: flex-end; }
.user-summary { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
.user-table-wrap { max-width: 1100px; }
.user-table { min-width: 760px; display: grid; grid-template-columns: 180px minmax(260px, 1fr) 150px 100px; gap: 16px; align-items: center; padding: 12px 14px; }
.user-table-head { min-height: 38px; color: var(--muted); background: #f5f7f8; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; }
.user-table-row { min-height: 68px; border-bottom: 1px solid var(--border); }
.user-table-row:last-child { border-bottom: 0; }
.login-account-name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.login-account-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-account-name span { flex: 0 0 auto; padding: 2px 5px; color: var(--primary); background: var(--primary-soft); border-radius: 3px; font-size: 10px; font-weight: 700; }
.danger-button { color: var(--danger); border-color: #efcac5; }
.danger-button:hover { background: var(--danger-soft); }
.danger-button:disabled { color: #8b959c; border-color: var(--border); background: #f3f5f6; cursor: not-allowed; }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #edf1f2; }
.login-shell { width: min(860px, 100%); min-height: 500px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--border-strong); border-radius: 7px; box-shadow: var(--shadow); overflow: hidden; }
.login-brand { padding: 44px; display: flex; align-items: flex-end; gap: 14px; color: #fff; background: #14251b; }
.login-brand h1 { margin: 0; font-size: 26px; }
.login-brand p { margin: 6px 0 0; color: #c5d2ca; }
.login-panel { padding: 54px 44px; display: flex; flex-direction: column; justify-content: center; }
.login-heading h2 { margin: 8px 0 7px; font-size: 24px; }
.login-heading p { margin: 0 0 25px; color: var(--muted); line-height: 1.5; }
.stack-form { gap: 16px; }
.alert { margin-bottom: 16px; padding: 10px 12px; border-radius: 5px; }
.alert.error { color: var(--danger); background: var(--danger-soft); border: 1px solid #f2c5c0; }

@media (max-width: 920px) {
  .app-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .mailbox-header { align-items: flex-start; flex-direction: column; }
  .sync-meta { display: none; }
  .account-table-wrap { margin-left: 16px; margin-right: 16px; }
}

@media (max-width: 680px) {
  .topbar { min-height: 104px; height: auto; flex-wrap: wrap; padding: 8px 10px 0; }
  .topnav { order: 3; width: 100%; height: 44px; margin-left: 0; justify-content: flex-start; }
  .topnav a { height: 44px; }
  .global-sync-button { width: 132px; min-height: 34px; padding: 6px 9px; font-size: 12px; }
  .app-layout { display: block; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); max-height: 330px; }
  .summary-strip.four { grid-template-columns: repeat(4, 1fr); }
  .summary-strip div { padding: 10px 3px; }
  .summary-strip strong { font-size: 14px; }
  .summary-strip span { font-size: 9px; }
  .section-label { padding-top: 12px; }
  .content-toolbar, .mailbox-header, .message-section-head { padding-left: 12px; padding-right: 12px; }
  .search-form { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .mailbox-title { align-items: flex-start; }
  .mailbox-avatar { width: 38px; height: 38px; }
  .mailbox-actions { width: 100%; justify-content: flex-start; }
  .mailbox-sync-time { flex-basis: 100%; margin-right: 0; }
  .message-section-head .local-note { display: none; }
  .message-row { min-width: 700px; grid-template-columns: 92px minmax(350px, 2.6fr) minmax(170px, 1fr); }
  .login-body { padding: 0; }
  .login-shell { min-height: 100vh; display: block; border: 0; border-radius: 0; }
  .login-brand { padding: 22px; align-items: center; }
  .login-panel { padding: 42px 24px; }
  .form-grid { display: grid; grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .credential-field { grid-template-columns: 1fr auto; }
  .credential-field > span { grid-column: 1 / -1; }
  .dialog-actions.split { align-items: stretch; flex-direction: column; padding: 14px 0; }
  .management-page { min-height: calc(100vh - 104px); }
  .management-head { align-items: flex-start; padding: 20px 16px; }
  .management-head p { max-width: 230px; }
  .management-summary { grid-template-columns: repeat(2, 1fr); }
  .user-summary { grid-template-columns: repeat(2, 1fr); }
  .management-summary div { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .account-table-wrap { margin: 14px 10px 28px; }
}
