/* Mist-Light Operations Console theme */
:root {
  --ink: #122027;
  --muted: #5d6870;
  --line: #ccd7dc;
  --line-soft: #dfe7ea;
  --paper: #f2f6f9;
  --surface: rgba(255, 255, 255, .92);
  --surface-muted: rgba(242, 246, 248, .78);
  --sidebar: rgba(248, 250, 251, .72);
  --green: #169a87;
  --green-dark: #117965;
  --green-soft: rgba(27, 170, 134, .11);
  --blue: #2f79a5;
  --blue-soft: rgba(52, 133, 178, .1);
  --amber: #d77c16;
  --amber-soft: rgba(255, 150, 46, .12);
  --coral: #d94045;
  --coral-soft: rgba(239, 78, 82, .1);
  --cyan: #5acce2;
  --purple: #6558c8;
  --shadow-sm: 0 2px 5px rgba(22, 43, 53, .05), 0 9px 22px rgba(22, 43, 53, .08);
  --shadow: 0 4px 9px rgba(22, 43, 53, .06), 0 12px 28px rgba(22, 43, 53, .1);
  --shadow-lg: 0 24px 60px rgba(18, 32, 39, .16);
}

html { background: #f2f6f9; }
body {
  color: var(--ink);
  background: #f2f6f9;
  font-family: Inter, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 27%, rgba(56, 184, 209, .25) 0, rgba(56, 184, 209, 0) 28%),
    radial-gradient(circle at 17% 52%, rgba(22, 139, 132, .16) 0, rgba(22, 139, 132, 0) 25%),
    radial-gradient(circle at 20% 47%, rgba(252, 118, 72, .09) 0, rgba(252, 118, 72, 0) 12%),
    radial-gradient(circle at 83% 13%, rgba(116, 214, 227, .12) 0, rgba(116, 214, 227, 0) 31%),
    radial-gradient(circle at 58% 91%, rgba(103, 185, 225, .14) 0, rgba(103, 185, 225, 0) 34%),
    radial-gradient(circle at 95% 91%, rgba(85, 207, 202, .12) 0, rgba(85, 207, 202, 0) 28%),
    linear-gradient(135deg, #f6f9fa 0%, #f2f6f9 58%, #edf6f8 100%);
}
button, input, select, textarea { letter-spacing: 0; }
input::placeholder, textarea::placeholder { color: #7e8a92; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(52, 133, 178, .16) !important;
}
::selection { color: #122027; background: rgba(90, 204, 226, .28); }

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 27%, rgba(56, 184, 209, .25) 0, rgba(56, 184, 209, 0) 28%),
    radial-gradient(circle at 17% 52%, rgba(22, 139, 132, .16) 0, rgba(22, 139, 132, 0) 25%),
    radial-gradient(circle at 20% 47%, rgba(252, 118, 72, .09) 0, rgba(252, 118, 72, 0) 12%),
    radial-gradient(circle at 83% 13%, rgba(116, 214, 227, .12) 0, rgba(116, 214, 227, 0) 31%),
    radial-gradient(circle at 58% 91%, rgba(103, 185, 225, .14) 0, rgba(103, 185, 225, 0) 34%),
    radial-gradient(circle at 95% 91%, rgba(85, 207, 202, .12) 0, rgba(85, 207, 202, 0) 28%),
    linear-gradient(135deg, #f6f9fa 0%, #f2f6f9 58%, #edf6f8 100%);
  background-attachment: fixed;
}
.sidebar {
  width: 270px;
  color: #2a3b43;
  background: rgba(248, 250, 251, .72);
  border-right: 1px solid rgba(104, 123, 132, .1);
  box-shadow: none;
  backdrop-filter: blur(24px) saturate(.96);
}
.sidebar::before { background: rgba(255, 255, 255, .08); }
.brand {
  height: 100px;
  padding: 20px 22px;
  align-items: center;
  border-bottom: 0;
}
.brand-wordmark strong {
  color: #122027;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  line-height: 30px;
  font-weight: 750;
}
.brand-wordmark { width: 100%; min-width: 0; display: flex; align-items: center; gap: 14px; }
.brand-shell-copy { min-width: 0; flex: 1; display: block; }
.brand-shell-copy strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-shell-logo { width: 56px; height: 56px; flex: 0 0 56px; display: none; place-items: center; overflow: hidden; border: 0; border-radius: 10px; color: #117965; background: transparent; font-size: 20px; font-weight: 750; }
body.user-dashboard-active .brand-shell-logo { display: grid; }
.brand-shell-logo:not(.has-image) { border: 1px solid rgba(47,121,165,.18); background: rgba(255,255,255,.82); }
.brand-shell-logo.is-default-logo { font-size: 11px; font-weight: 800; }
.brand-shell-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-wordmark.brand-setup-pending { width: auto; }
.brand-wordmark.brand-setup-pending .brand-shell-copy { display: none; }
.brand-wordmark .word-oasis, .brand-wordmark .word-wks { color: #122027; font-weight: 750; }
.brand-wordmark small { margin-top: 2px; color: #5d6870; font: 500 9px/14px Inter, sans-serif; letter-spacing: 0; }
.main-nav { padding: 14px 15px 18px; }
.nav-label { margin: 20px 12px 8px; color: #7e8a92; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.nav-item {
  height: 45px;
  padding: 0 12px;
  border-radius: 8px;
  color: #5d6870;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
}
.nav-item:hover { color: #2a3b43; background: rgba(225, 232, 235, .45); }
.nav-item.active {
  color: #122027;
  background: rgba(210, 220, 224, .62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  font-weight: 500;
}
.nav-item svg { width: 20px; height: 20px; stroke-width: 1.7; }
.brand-library-nav { height: 46px; padding-left: 12px; }
.nav-item .brand-library-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  color: #2f79a5;
  background: rgba(52, 133, 178, .1);
  border-color: rgba(52, 133, 178, .16);
  box-shadow: none;
}
.brand-library-nav:hover .brand-library-mark, .brand-library-nav.active .brand-library-mark {
  color: #2f79a5;
  background: rgba(52, 133, 178, .14);
  box-shadow: none;
}
.nav-item em { color: #5d6870; background: rgba(93, 104, 112, .09); font-family: Inter, sans-serif; }
.sidebar-foot { padding: 14px 15px; border-color: rgba(104, 123, 132, .1); }
.system-health {
  border-color: rgba(109, 126, 135, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}
.system-health strong { color: #2a3b43; }
.system-health small { color: #7e8a92; font-family: Inter, sans-serif; }
.pulse-dot { background: #169a87; box-shadow: 0 0 0 4px rgba(22, 154, 135, .1); }
.profile-button { color: #2a3b43; }
.profile-button:hover { background: rgba(225, 232, 235, .45); }
.avatar { width: 32px; height: 32px; color: #2f79a5; background: linear-gradient(145deg, #e4f3f6, #cfe4e9); }

.main-wrap { margin-left: 270px; }
.topbar {
  height: 62px;
  padding: 0 36px 0 41px;
  background: rgba(249, 252, 253, .55);
  border-bottom: 1px solid rgba(83, 105, 115, .14);
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.tenant-scope > span { color: #5d6870; }
.tenant-scope button { font-weight: 500; }
.tenant-scope button:hover { background: rgba(225, 232, 235, .45); }
main { min-height: calc(100vh - 95px); padding: 40px 38px 48px 42px; }
.site-record { min-height: 33px; border-color: rgba(83, 105, 115, .12); background: rgba(249, 252, 253, .56); }

.icon-button {
  width: 40px;
  height: 40px;
  color: #2a3b43;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.icon-button:hover { border-color: transparent; background: rgba(225, 232, 235, .58); box-shadow: none; transform: none; }
.icon-button svg { width: 19px; height: 19px; stroke-width: 1.7; }
.primary-button, .secondary-button, .quiet-button {
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.primary-button {
  border-color: #2f79a5;
  background: linear-gradient(90deg, #2f79a5, #3485b2);
  box-shadow: 0 3px 8px rgba(23, 72, 92, .14);
}
.primary-button:hover { border-color: #3485b2; background: linear-gradient(90deg, #3485b2, #3b8bb5); box-shadow: 0 5px 12px rgba(23, 72, 92, .18); }
.secondary-button { color: #2a3b43; border-color: #ccd7dc; background: rgba(255, 255, 255, .78); }
.secondary-button:hover { border-color: #aebfc7; background: rgba(255, 255, 255, .94); }
.quiet-button { color: #2f79a5; }
.global-search, .filter-input {
  height: 40px;
  border-color: rgba(104, 120, 128, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}
.global-search:focus-within, .filter-input:focus-within {
  border-color: #3485b2;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 3px rgba(52, 133, 178, .12);
}
.global-search kbd { color: #7e8a92; border-color: #dfe7ea; background: rgba(255, 255, 255, .82); font-family: Inter, sans-serif; }
.filter-select, .user-agent-toolbar select {
  height: 40px;
  border-color: rgba(104, 120, 128, .26);
  border-radius: 8px;
  color: #2a3b43;
  background-color: rgba(255, 255, 255, .82);
}

.page-head { align-items: flex-end; margin-bottom: 32px; }
.page-head h1, .workspace-page-head h1 {
  margin: 8px 0 4px;
  color: #2f79a5;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
}
.page-head p, .workspace-page-head p { color: #5d6870; font-size: 14px; line-height: 24px; }
.eyebrow { color: #5d6870; font: 500 11px/18px Inter, sans-serif; letter-spacing: 0; }

.panel, .metric-card, .agent-card, .workspace-page-head, .workspace-agent-row,
.brand-profile-panel, .brand-assets-panel {
  border: 1px solid rgba(109, 126, 135, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.panel-head { min-height: 64px; padding: 16px 18px; border-color: #dfe7ea; }
.panel-title h2 { color: #122027; font-size: 14px; line-height: 22px; font-weight: 600; }
.panel-title p { color: #5d6870; font-size: 11px; line-height: 18px; }
.metric-grid { gap: 16px; margin-bottom: 20px; }
.metric-card {
  min-height: 150px;
  padding: 16px;
  border-top: 1px solid rgba(109, 126, 135, .16);
  overflow: hidden;
}
.metric-card:nth-child(n) { border-top-color: rgba(109, 126, 135, .16); }
.metric-card:hover, .agent-card:hover { border-color: rgba(52, 133, 178, .26); box-shadow: var(--shadow); transform: translateY(-1px); }
.metric-card header { color: #5d6870; font-size: 12px; }
.metric-card header span:first-child {
  color: #122027;
  font-size: 14px;
  font-weight: 600;
}
.metric-card header span:first-child svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: #2f79a5;
  border-radius: 8px;
  background: rgba(52, 133, 178, .1);
}
.metric-card:nth-child(2) header span:first-child svg { color: #5acce2; background: rgba(90, 204, 226, .12); }
.metric-card:nth-child(3) header span:first-child svg { color: #169a87; background: rgba(22, 154, 135, .11); }
.metric-card:nth-child(4) header span:first-child svg { color: #6558c8; background: rgba(101, 88, 200, .1); }
.metric-value { margin: 16px 0 6px; color: #122027; font: 600 28px/34px Inter, sans-serif; }
.metric-foot { color: #5d6870; font-size: 11px; }
.delta { color: #168a6c; background: rgba(27, 170, 134, .11); border-radius: 999px; font-family: Inter, sans-serif; }
.delta.down { color: #d94045; background: rgba(239, 78, 82, .1); }
.dashboard-grid { gap: 16px; margin-bottom: 20px; }
.health-icon { width: 34px; height: 34px; border-radius: 8px; }
.health-icon.green { color: #169a87; background: rgba(22, 154, 135, .11); }
.health-icon.blue { color: #2f79a5; background: rgba(52, 133, 178, .1); }
.health-icon.amber { color: #d77c16; background: rgba(255, 150, 46, .12); }
.health-info strong { color: #2a3b43; font-size: 13px; font-weight: 500; }
.health-info small { color: #5d6870; font-size: 11px; }
.capacity { background: rgba(242, 246, 248, .74); border-radius: 7px; }
.progress { height: 9px; border-radius: 999px; background: #e9eef1; }
.progress span { background: linear-gradient(90deg, #2f79a5, #5acce2); }
.spark polyline, .chart-line { stroke: #2f79a5; }
.chart-line.secondary { stroke: #5acce2; }
.chart-dot { stroke: #2f79a5; }
.grid-line { stroke: rgba(118, 135, 143, .12); }

.segmented { border-color: transparent; border-radius: 8px; background: #eaf0f2; }
.segmented button { border-radius: 6px; }
.segmented button.active { color: #122027; background: #fff; box-shadow: 0 1px 3px rgba(22, 43, 53, .08); }
.toolbar { border-color: #dfe7ea; }
.data-table th {
  height: 42px;
  color: #5d6870;
  background: rgba(238, 244, 246, .65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.data-table td { height: 52px; border-color: #dfe7ea; color: #2a3b43; font-size: 12px; }
.data-table tbody tr:hover { background: rgba(52, 133, 178, .04); }
.summary-strip { border-color: #dfe7ea; }
.summary-item { border-color: #dfe7ea; }
.summary-item span { color: #5d6870; font-size: 11px; }
.summary-item strong { font-family: Inter, sans-serif; }
.status { min-height: 23px; padding: 2px 10px; font-size: 11px; font-weight: 500; }
.status.success { color: #168a6c; background: rgba(27, 170, 134, .11); }
.status.warning { color: #d77c16; background: rgba(255, 150, 46, .12); }
.status.neutral { color: #5d6870; background: rgba(93, 104, 112, .09); }
.status.danger { color: #d94045; background: rgba(239, 78, 82, .1); }
.entity-logo { border-radius: 8px; background: #2f79a5; }
.entity-logo.blue { background: #3485b2; }
.entity-logo.gold { background: #d77c16; }
.entity-logo.coral { background: #d94045; }

.agent-group-head h2 { color: #1a2a32; font-size: 18px; font-weight: 600; }
.agent-card { border-radius: 11px; }
.agent-card-foot { border-color: #dfe7ea; background: rgba(255, 255, 255, .92); }
.agent-list-panel { border-color: rgba(109, 126, 135, .16); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); }
.agent-list-table th { color: #5d6870; background: rgba(238, 244, 246, .65); }
.agent-list-table td { color: #2a3b43; }
.agent-list-table tbody tr { background: transparent; }
.agent-list-table tbody tr:hover { background: rgba(52, 133, 178, .04); }
.agent-category { color: #2f79a5; border-color: rgba(52, 133, 178, .18); background: rgba(52, 133, 178, .08); }
.entry-button { color: #2f79a5; }
.favorite-agent-button:hover, .favorite-agent-button.active { color: #d77c16; background: rgba(255, 150, 46, .12); }
.user-agent-brand-title h1 { color: #2f79a5; gap: 12px; }
.user-agent-brand-title h1 strong { color: #2f79a5; font-size: 42px; font-weight: 700; }
.user-agent-brand-title h1 span { color: #1a2a32; font-size: 22px; font-weight: 500; }
.user-agent-brand-title::after { display: none; }
.user-agent-toolbar, .admin-agent-toolbar {
  min-height: 62px;
  padding-top: 11px;
  padding-bottom: 11px;
  border: 0;
  border-bottom: 1px solid rgba(83, 105, 115, .14);
  border-radius: 0;
  background: rgba(249, 252, 253, .78);
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.user-agent-toolbar { top: 0; }
.admin-agent-toolbar { top: 62px; }
body.user-dashboard-active #appMain, body.admin-agent-center-active #appMain { background: transparent; }

.workspace-page-head { padding: 0 0 28px; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.workspace-page-icon { width: 48px; height: 48px; color: #2f79a5; border-radius: 8px; background: rgba(52, 133, 178, .1); }
.workspace-agent-row { min-height: 68px; }
.workspace-empty {
  border-color: rgba(89, 108, 117, .3);
  border-radius: 11px;
  background: rgba(244, 248, 249, .66);
}
.workspace-empty > div > span { color: #2f79a5; background: rgba(52, 133, 178, .1); }
.brand-profile-form { padding: 18px; }
.brand-profile-grid { gap: 17px 18px; }
.brand-profile-grid label { color: #1a2a32; font-size: 13px; font-weight: 500; }
.brand-profile-grid input, .brand-profile-grid textarea,
.profile-fields input, .modal input, .modal select {
  border-color: rgba(104, 120, 128, .26);
  border-radius: 7px;
  color: #2a3b43;
  background: rgba(255, 255, 255, .86);
}
.brand-profile-grid input:focus, .brand-profile-grid textarea:focus, .profile-fields input:focus,
.modal input:focus, .modal select:focus {
  border-color: #3485b2;
  box-shadow: 0 0 0 3px rgba(52, 133, 178, .12);
}
.brand-asset-icon { color: #2f79a5; background: rgba(52, 133, 178, .1); }

.modal-backdrop { background: rgba(16, 31, 38, .24); backdrop-filter: blur(5px); }
.modal {
  border: 1px solid rgba(109, 126, 135, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
}
.modal > header { border-color: #dfe7ea; }
.modal h2 { color: #122027; font-weight: 600; }
.isolation-choice label > span { border-color: #ccd7dc; border-radius: 7px; }
.isolation-choice input:checked + span { color: #2f79a5; border-color: #3485b2; background: rgba(52, 133, 178, .08); box-shadow: inset 0 0 0 1px #3485b2; }
.isolation-choice svg { color: #2f79a5; }
.toast { color: #2a3b43; border: 1px solid rgba(109, 126, 135, .16); border-radius: 10px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); }
.toast svg { color: #169a87; }
.profile-tabs button.active { color: #2f79a5; background: rgba(52, 133, 178, .1); }
.profile-avatar-camera { background: #2f79a5; }

.admin-auth-shell {
  background:
    radial-gradient(circle at 12% 26%, rgba(56, 184, 209, .24), transparent 29%),
    radial-gradient(circle at 35% 72%, rgba(22, 139, 132, .13), transparent 28%),
    radial-gradient(circle at 19% 68%, rgba(252, 118, 72, .08), transparent 15%),
    radial-gradient(circle at 86% 18%, rgba(116, 214, 227, .12), transparent 30%),
    linear-gradient(135deg, #f6f9fa, #f2f6f9 62%, #edf6f8);
}
.admin-auth-shell::before { display: none; }
.admin-auth-brand {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-auth-brand::before, .admin-auth-brand::after { display: none; }
.admin-auth-brand .eyebrow { color: #2f79a5; }
.admin-auth-brand h1 { color: #2f79a5; font-size: 42px; line-height: 50px; letter-spacing: 0; }
.admin-auth-brand p { color: #5d6870; font-size: 14px; line-height: 24px; }
.admin-auth-brand-rule span { background: #5acce2; }
.admin-auth-brand-code, .admin-auth-brand-year, .admin-auth-brand-foot { color: #5d6870; letter-spacing: 0; }
.admin-auth-form {
  border-color: rgba(109, 126, 135, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.admin-auth-form-icon { color: #2f79a5; background: rgba(52, 133, 178, .1); border-radius: 8px; }
.admin-auth-form h2 { color: #122027; font-size: 28px; font-weight: 600; }
.admin-auth-form-head small, .entry-form-label { letter-spacing: 0; }
.auth-mode-switch { border-color: transparent; background: #eaf0f2; }
.auth-mode-switch button.active { color: #2f79a5; }
#adminLoginForm input, #cloudLoginForm input, #cloudRegisterForm input {
  height: 40px;
  border-color: rgba(104, 120, 128, .26);
  background: rgba(255, 255, 255, .84);
}
#adminLoginForm input:focus, #cloudLoginForm input:focus, #cloudRegisterForm input:focus { border-color: #3485b2; box-shadow: 0 0 0 3px rgba(52, 133, 178, .12); }
.admin-auth-form .entry-submit {
  min-height: 40px;
  border-color: #2f79a5;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f79a5, #3485b2);
  box-shadow: 0 3px 8px rgba(23, 72, 92, .14);
}
.admin-auth-form .entry-submit:hover { background: linear-gradient(90deg, #3485b2, #3b8bb5); box-shadow: 0 5px 12px rgba(23, 72, 92, .18); }
.auth-secondary-action { color: #2f79a5; border-radius: 8px; }
.auth-secondary-action:hover { color: #2f79a5; background: rgba(52, 133, 178, .08); }
.auth-error { color: #d94045; border-color: #ef4e52; background: rgba(239, 78, 82, .1); }

@media (max-width: 1279px) and (min-width: 1024px) {
  .sidebar { width: 240px; }
  .main-wrap { margin-left: 240px; }
  .topbar { padding-right: 30px; padding-left: 31px; }
  main { padding-right: 30px; padding-left: 31px; }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .sidebar { width: 72px; }
  .main-wrap { margin-left: 72px; }
  .brand { height: 72px; padding: 15px; justify-content: center; overflow: hidden; }
  .brand-shell-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 8px; }
  .brand-wordmark strong { font-size: 18px; }
  .brand-shell-copy, .brand-wordmark .word-wks, .brand-wordmark small, .nav-label, .nav-item > span,
  .nav-item > em, .nav-item > b, .system-health, .profile-button > span:nth-child(2),
  .profile-button > svg { display: none !important; }
  .main-nav { padding: 12px 9px; }
  .nav-item { justify-content: center; padding: 0; }
  .brand-library-nav { padding: 0; }
  .sidebar-foot { display: grid; place-items: center; }
  .profile-button { width: 40px; grid-template-columns: 32px; justify-content: center; padding: 4px; }
  .topbar { padding: 0 28px; }
  main { padding: 32px 28px 44px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .sidebar { width: 270px; transform: translateX(-100%); box-shadow: 18px 0 48px rgba(18, 32, 39, .16); }
  .sidebar.open { transform: translateX(0); }
  .main-wrap { margin-left: 0; }
  .mobile-menu { display: grid; }
  .topbar { height: 62px; padding: 0 16px; }
  main { min-height: calc(100vh - 62px); padding: 24px 16px 40px; }
  .page-head { align-items: stretch; flex-direction: column; }
  .page-head-actions { margin-top: 14px; justify-content: flex-start; }
  .page-head h1, .workspace-page-head h1 { font-size: 31px; line-height: 39px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .user-agent-toolbar, .admin-agent-toolbar {
    position: static;
    min-height: auto;
    margin-right: -16px;
    margin-left: -16px;
    padding: 12px 16px;
  }
  .user-agent-brand-title h1 { flex-wrap: wrap; gap: 8px; }
  .user-agent-brand-title h1 strong { font-size: 31px; }
  .user-agent-brand-title h1 span { font-size: 20px; }
  .admin-auth-shell { padding: 0 16px 32px; }
  .admin-auth-brand { min-height: 210px; padding: 28px 8px 24px; }
  .admin-auth-form { width: 100%; padding: 26px 20px; border: 1px solid rgba(109, 126, 135, .16); border-radius: 12px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
