.account-page { --console-bg: #0d0c10; --console-panel: #141318; --console-line: #ffffff12; --console-muted: #aaa5b3; --console-accent: #d0bcff; background: var(--console-bg); color: #f2eff7; font-size: 14px; line-height: 1.6; }
.account-page::before { content: none; }
.account-page [hidden] { display: none !important; }
.account-page :is(input, textarea, select, button) { font: inherit; }
.account-page :is(input, textarea, select) { width: 100%; min-width: 0; padding: 12px 14px; color: #f2eff7; border: 1px solid #ffffff21; border-radius: 9px; background: #101014; outline: none; transition: border-color .18s, box-shadow .18s; }
.account-page :is(input, textarea, select):focus { border-color: #c5abfc; box-shadow: 0 0 0 3px #ba9df41a; }
.account-page :is(input, textarea)::placeholder { color: #817b8c; }
.account-page textarea { min-height: 140px; resize: vertical; }
.account-page button { cursor: pointer; }
.account-page button:disabled { cursor: not-allowed; opacity: .5; }
.account-page h1 { max-width: none; white-space: normal; }
.account-page :is(h1,h2,h3) { letter-spacing: -.035em; }
.account-page h2 { font-size: 27px; line-height: 1.25; }
.account-page h3 { font-size: 16px; line-height: 1.4; }
.account-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 44px; }
.account-header .brand { font-size: 22px; gap: 14px; }
.brand-divider { width: 1px; height: 17px; background: #ffffff23; }
.account-header .brand small { color: #a6a0af; font: 10px Consolas, monospace; letter-spacing: .18em; }
.subtle-link { color: #b6b0c0; font-size: 12px; }
.subtle-link:hover { color: #fff; }
.subtle-link span { margin-left: 8px; }
.login-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(64px, 8vw, 140px); width: min(1160px, calc(100% - 88px)); min-height: calc(100svh - 184px); margin-inline: auto; padding: 48px 0 58px; }
.login-page .login-layout { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; width: min(430px, calc(100% - 32px)); }
.login-card h1 { margin: 0 0 25px; font-size: 27px; line-height: 1.25; }
.console-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; color: #b7a6d8; font: 10px Consolas, monospace; letter-spacing: .16em; }
.console-kicker i { width: 5px; height: 5px; border-radius: 50%; background: #d0bcff; box-shadow: 0 0 12px #d0bcff60; }
.login-story h1 { margin: 0 0 25px; font-size: clamp(36px, 3.8vw, 52px); font-weight: 680; line-height: 1.18; letter-spacing: -.055em; }
.login-story h1 span { color: var(--console-accent); }
.story-lede { color: var(--console-muted); font-size: 15px; line-height: 1.9; }
.wire-art { position: relative; max-width: 540px; margin: 30px -18px 25px; padding: 18px 0 6px; background: radial-gradient(ellipse at 50% 50%, #b787f612, transparent 68%); }
.wire-art svg { display: block; width: 100%; height: auto; }
.wire-caption { display: flex; justify-content: space-between; padding-inline: 22px; color: #82798f; font: 9px Consolas, monospace; letter-spacing: .1em; }
.story-features { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 26px; border-top: 1px solid var(--console-line); color: #bbb4c5; font-size: 11px; }
.story-features span { display: flex; align-items: center; gap: 9px; }
.story-features i { width: 11px; height: 11px; border: 1px solid #8d789f; border-radius: 3px; }
.login-card { width: 100%; max-width: 430px; padding: 35px 32px 24px; border: 1px solid #ffffff19; border-radius: 18px; background: linear-gradient(145deg, #1a171fd9, #141217); box-shadow: 0 28px 90px #00000026, inset 0 1px #ffffff03; }
.login-symbol { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 24px; border: 1px solid #d0bcff29; border-radius: 10px; color: #d0bcff; background: #b794fc0c; font-size: 22px; }
.login-card .console-kicker { margin-bottom: 9px; font-size: 9px; }
.login-card h2 { margin-bottom: 10px; }
.login-description { margin-bottom: 25px; color: var(--console-muted); font-size: 12px; line-height: 1.8; }
.account-form { display: grid; gap: 19px; }
.account-form > div { display: grid; gap: 8px; }
.account-form label:not(.setting-row) { display: block; color: #ded8e6; font-size: 13px; font-weight: 550; }
.field-hint { display: block; color: #9b93a6; font-size: 10px; line-height: 1.7; }
.password-input { position: relative; }
.password-input input { padding-right: 60px; }
.password-toggle { position: absolute; right: 5px; top: 5px; height: calc(100% - 10px); padding: 0 9px; color: #bfb4d1; border: 0; border-radius: 5px; background: transparent; font-size: 11px !important; }
.password-toggle:hover { background: #ffffff08; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 62px; padding: 14px 0; border-bottom: 1px solid var(--console-line); }
.setting-row > span { display: grid; gap: 4px; font-size: 13px; }
.setting-row small { color: var(--console-muted); font-size: 11px; font-weight: 400; }
.account-page input[role="switch"] { position: relative; appearance: none; flex: 0 0 34px; width: 34px; height: 20px; padding: 0; border: 1px solid #ffffff25; border-radius: 12px; background: #36313f; cursor: pointer; }
.account-page input[role="switch"]::after { position: absolute; content: ''; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #aaa2b6; transition: translate .18s, background .18s; }
.account-page input[role="switch"]:checked { background: #79609f; border-color: #a88bcf; }
.account-page input[role="switch"]:checked::after { translate: 14px 0; background: #f2e9ff; }
.login-remember { min-height: 45px; padding: 0; border: 0; }
.login-remember > span { font-size: 11px; }
.login-remember small { font-size: 10px; }
.form-message { margin: 0; color: #c9b4ef; font-size: 12px; overflow-wrap: anywhere; }
.form-message:empty { display: none; }
.form-message.is-error { color: #ffb6bc; }
.account-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 9px 15px; color: #e4dfed; border: 1px solid #ffffff21; border-radius: 8px; background: #ffffff05; font-size: 12px !important; font-weight: 600; transition: background .18s, border-color .18s, transform .18s; }
.account-button:hover { background: #ffffff0d; border-color: #ffffff36; }
.account-button.primary { color: #21172f; border-color: #d0bcff; background: #d0bcff; }
.account-button.primary:hover { background: #decfff; }
.account-button.danger { color: #ffc4c9; border-color: #f37c891f; background: #f37c890a; }
.full-width { width: 100%; justify-content: space-between; min-height: 45px; }
.help-button { display: block; margin: 18px auto 0; padding: 4px; color: #b5a7ca; border: 0; background: transparent; font-size: 11px !important; }
.help-button:hover { color: #d0bcff; }
.login-help { margin: 14px 0 0; padding: 12px; color: #c3bbd1; border-radius: 8px; background: #d0bcff09; font-size: 11px; }
.login-boundary { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--console-line); }
.login-boundary p { margin: 0; color: #a59aac; font-size: 10px; }
.login-boundary p span { margin: 0 4px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #a2ccb7; }
.account-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 44px 27px; color: #9b94a6; font: 10px Consolas, 'Microsoft YaHei', sans-serif; }
.noscript-message { position: fixed; z-index: 50; bottom: 20px; left: 20px; right: 20px; padding: 16px; color: #fff; background: #773444; border-radius: 8px; }

.admin-page { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100svh; }
.console-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100svh; padding: 28px 16px 16px; border-right: 1px solid var(--console-line); background: #100f13; }
.console-brand { gap: 14px; padding: 0 12px; margin-bottom: 27px; font-size: 25px; }
.console-brand small { color: #95869f; font: 8px Consolas, monospace; letter-spacing: .15em; }
.workspace-label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; margin: 0 0 29px; color: #a8a2b1; font-size: 11px; }
.workspace-dot { width: 6px; height: 6px; border: 1px solid #b9a3df; border-radius: 2px; }
.workspace-mark { display: grid; place-items: center; width: 29px; height: 29px; color: #d0bcff; border: 1px solid #d0bcff20; border-radius: 7px; background: #d0bcff0e; font-size: 11px; font-weight: 700; }
.workspace-label small { display: block; color: #92899e; font-size: 10px; }
.workspace-arrow { margin-left: auto; color: #817589; }
.sidebar-label { margin: 0 12px 10px; color: #9b92a6; font-size: 10px; }
.console-nav { display: grid; gap: 4px; }
.console-nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 12px; color: #b7aebf; border: 1px solid transparent; border-radius: 8px; font-size: 13px; }
.console-nav a:hover { color: #e4dbef; background: #ffffff04; }
.console-nav a[aria-current="page"] { color: #e7dcfa; border-color: #d0bcff16; background: linear-gradient(90deg, #d0bcff12, #d0bcff07); box-shadow: inset 2px 0 #d0bcff; }
.nav-symbol { display: grid; place-items: center; width: 17px; color: #a897bd; font-size: 18px; line-height: 1; }
.admin-page svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; }
.console-nav a[aria-current="page"] .nav-symbol { color: #d0bcff; }
.console-nav a, .sidebar-website { transition: color .18s, background .18s; }
.sidebar-bottom { margin-top: auto; }
.sidebar-website { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; margin-bottom: 13px; color: #aca0b9; font-size: 11px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 15px 6px 2px; border-top: 1px solid var(--console-line); }
.avatar { display: grid; flex: 0 0 31px; place-items: center; width: 31px; height: 31px; color: #dfcaff; border: 1px solid #d0bcff25; border-radius: 9px; background: #251d30; font-size: 11px; font-weight: 600; }
.sidebar-user > span:nth-child(2) { flex: 1; min-width: 0; }
.sidebar-user strong { display: block; overflow: hidden; color: #e2d9ee; font-size: 11px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: block; color: #93869f; font-size: 9px; }
.icon-button { display: grid; flex: 0 0 32px; place-items: center; min-width: 32px; height: 32px; padding: 0; color: #bcb1c8; border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: 18px !important; }
.icon-button:hover { background: #ffffff06; border-color: #ffffff12; color: #eee4fc; }
.console-main { display: flex; flex-direction: column; min-width: 0; }
.console-topbar { position: sticky; z-index: 40; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; padding: 0 40px; border-bottom: 1px solid var(--console-line); background: #0d0c10eb; backdrop-filter: blur(16px); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: #9e92ac; font-size: 11px; }
.breadcrumb strong { color: #e2d8ed; font-weight: 500; }
.breadcrumb > span:nth-child(2) { color: #62566e; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions .icon-button { width: 36px; height: 36px; }
.local-status { display: flex; align-items: center; gap: 7px; color: #a99cb5; font-size: 10px; }
.local-status i { width: 5px; height: 5px; border-radius: 50%; background: #96cbb0; }
.sidebar-toggle { display: none; }
.console-content { flex: 1; width: 100%; max-width: 1280px; padding: 42px 40px; margin-inline: auto; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.page-heading h1 { margin: 0; font-size: 28px; line-height: 1.3; font-weight: 600; }
.page-heading p:not(:empty) { margin-top: 7px; }
.page-heading p { margin: 0; color: var(--console-muted); font-size: 12px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 20px; }
.console-card { min-width: 0; padding: 26px; border: 1px solid var(--console-line); border-radius: 13px; background: linear-gradient(150deg, #ffffff03, #ffffff01); box-shadow: inset 0 1px #ffffff02; }
.console-card h2 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; font-size: 14px; font-weight: 550; }
.console-card h2 small { color: #9e8dae; font-size: 10px; font-weight: 400; }
.overview-status { color: #9d96a6; font-size: 11px; font-variant-numeric: tabular-nums; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.card-heading h2 { margin: 0; color: #ddd6e6; font-size: 13px; font-weight: 550; }
.card-heading > svg { color: #81798b; width: 16px; height: 16px; }
.quiet-link { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #a89ab9; font-size: 11px; transition: color .18s; }
.quiet-link:hover { color: #e6d6fc; }
.quiet-link svg { width: 14px; height: 14px; }
.user-summary { background: radial-gradient(ellipse at 100% 0, #d0bcff07, transparent 65%), #121115; }
.user-summary { grid-row: span 2; }
.user-number { display: flex; align-items: baseline; gap: 13px; margin: 22px 0 32px; }
.user-number strong { color: #f4eefc; font-size: clamp(52px, 6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.user-number > span { flex-shrink: 0; color: #928a9f; font-size: 12px; }
.user-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 19px; margin: 0; border-top: 1px solid var(--console-line); }
.user-states > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.user-states > div + div { padding-left: 24px; border-left: 1px solid var(--console-line); }
.user-states dt { display: flex; align-items: center; gap: 7px; color: #a69cb3; font-size: 11px; white-space: nowrap; }
.user-states dd { margin: 0; color: #dcd3e8; font-size: 13px; font-variant-numeric: tabular-nums; }
.state-dot { width: 5px; height: 5px; border-radius: 50%; background: #c8acee; }
.state-dot.inactive { background: #756c80; }
.overview-tools .card-heading { margin-bottom: 14px; }
.overview-action-list { display: grid; gap: 5px; }
.overview-action { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 9px 10px; color: #d5cddd; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; font-size: 12px !important; transition: border-color .18s, background .18s; }
.overview-action:hover { border-color: #d0bcff1b; background: #d0bcff06; }
.overview-action > svg { width: 14px; height: 14px; margin-left: auto; color: #82768f; transition: transform .18s; }
.overview-action:hover > svg { transform: translateX(3px); color: #d0bcff; }
.action-symbol { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; color: #c6b0e4; border: 1px solid #d0bcff14; border-radius: 8px; background: #d0bcff05; }
.action-symbol svg { width: 16px; height: 16px; }
.overview-activity { grid-column: 2; }
.overview-tools, .overview-activity { align-self: start; }
.usage-overview { margin-bottom: 23px; }
.usage-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.usage-heading h3, .usage-heading h2 { margin: 0; color: #d8cfe3; font-size: 12px; font-weight: 500; }
.usage-heading p { margin: 5px 0 0; color: #7f758a; font-size: 10px; }
.usage-month-summary { display: grid; justify-items: end; gap: 2px; }
.usage-month-summary time { color: #a99bb9; font-size: 11px; font-variant-numeric: tabular-nums; }
.usage-month-summary .quiet-link { min-height: 28px; }
.client-chart { position: relative; width: 100%; min-width: 0; height: 230px; }
.client-chart > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.usage-grid { stroke: #d0bcff0c; stroke-width: 1; }
.usage-axis { fill: #857b91; font-family: inherit; font-size: 10px; font-variant-numeric: tabular-nums; }
.usage-line { fill: none; stroke: #c8afea; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usage-point { fill: #ddd0f4; stroke: #121115; stroke-width: 1; }
.usage-empty { position: absolute; inset: 26px 15px 34px 42px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #9a8da9; font-size: 11px; pointer-events: none; }
.usage-empty-dot { width: 5px; height: 5px; border: 1px solid #a38bbc; border-radius: 50%; }
.usage-month-picker { display: grid; gap: 6px; color: #908399; font-size: 10px; }
.usage-month-picker input { width: 170px; min-height: 36px; padding: 6px 9px; color: #dfd4eb; border: 1px solid #d0bcff20; border-radius: 7px; background: #ffffff03; font: inherit; font-size: 12px; }
.usage-history-links { display: flex; flex-wrap: wrap; gap: 8px; min-height: 32px; margin: 0 0 17px; color: #918299; font-size: 11px; }
.usage-history-links .account-button { min-height: 32px; padding: 5px 10px; }
.overview-activity .card-heading { margin-bottom: 10px; }
.activity-empty { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 120px; color: #91879e; font-size: 12px; }
.activity-empty svg { width: 17px; height: 17px; color: #72657f; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.activity-list { display: grid; }
.activity { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--console-line); }
.activity:last-child { border: 0; }
.activity-mark { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 7px; border: 1px solid #ad91d6; border-radius: 50%; }
.activity > div { flex: 1; min-width: 0; }
.activity strong { display: block; color: #d8cfe3; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.activity small { color: #a699b1; font-size: 11px; }
.activity time { color: #9d8cac; font-size: 9px; white-space: nowrap; }
.environment-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--console-line); font-size: 12px; }
.environment-row > span { color: #a99ab6; }
.environment-row strong { color: #d4c7df; font-weight: 500; }
.environment-note { margin: 18px 0 0; color: #a69bb2; font-size: 11px; line-height: 1.8; }
.small-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; color: #bcdbca; border: 1px solid #a4d4bd20; border-radius: 5px; background: #a4d4bd08; font-size: 9px; white-space: nowrap; }
.small-badge.muted { color: #bcaecb; border-color: #c8a7f020; background: #c8a7f008; }
.small-badge.inactive { color: #bcafb5; border-color: #ffffff15; background: #ffffff03; }
.filter-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }
.filter-toolbar input { flex: 1; min-width: 150px; max-width: 330px; padding: 9px 12px; font-size: 12px; }
.filter-toolbar select { width: auto; padding: 9px 30px 9px 12px; font-size: 12px; }
.filter-count { margin-left: auto; color: #a799b4; font-size: 10px; }
.table-shell { overflow-x: auto; border: 1px solid var(--console-line); border-radius: 10px; }
.console-table { width: 100%; min-width: 610px; border-collapse: collapse; text-align: left; font-size: 12px; }
.console-table th { padding: 13px 18px; color: #aaa0b6; border-bottom: 1px solid var(--console-line); background: #ffffff03; font-size: 10px; font-weight: 500; }
.console-table td { padding: 16px 18px; border-bottom: 1px solid var(--console-line); }
.console-table tr:last-child td { border: 0; }
.console-table td strong { display: block; max-width: 300px; color: #e2d7ee; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.console-table td small { display: block; color: #a494b2; font-size: 10px; overflow-wrap: anywhere; }
.table-actions { display: flex; gap: 7px; }
.text-button { padding: 4px 6px; color: #cdb3ee; border: 0; border-radius: 4px; background: transparent; font-size: 11px !important; white-space: nowrap; }
.text-button:hover { background: #cdb3ee09; }
.text-button.danger { color: #e9aab5; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 55px 20px; color: #9d8caf; text-align: center; }
.empty-state > span { margin-bottom: 8px; color: #9880b2; font-size: 28px; }
.empty-state h2 { margin: 0; color: #d4c8e1; font-size: 16px; }
.empty-state p { max-width: 420px; margin: 0 0 12px; font-size: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.video-module { display: flex; align-items: center; gap: 13px; }
.video-module img { width: 30px; height: 30px; image-rendering: pixelated; }
.video-module h2 { margin: 0; font-size: 15px; }
.video-module small { color: #a397af; font-size: 10px; }
.video-form { display: grid; gap: 11px; }
.video-form label { color: #b7a9c5; font-size: 11px; }
.video-form input { font-size: 11px; }
.video-form .inline-actions { justify-content: space-between; }
.video-form .form-message { font-size: 10px; }
.settings-card { max-width: 760px; }
.settings-card .account-form { gap: 25px; }
.settings-card .setting-row { margin-top: -8px; }
.section-description { max-width: 700px; margin: 20px 0; color: #a697b3; font-size: 11px; line-height: 1.8; }
.console-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 36px; color: #93859f; font-size: 9px; }
.page-heading p:empty, .login-card .field-hint { display: none; }
.dialog-description:empty { display: none; }
.empty-state p:empty { display: none; }
.environment-row strong { max-width: 70%; text-align: right; overflow-wrap: anywhere; }
.console-loading { display: grid; justify-items: center; gap: 20px; padding: 100px 20px; color: #b9a6cf; font-size: 12px; }
.loading-ring { width: 20px; height: 20px; border: 1px solid #d0bcff33; border-top-color: #d0bcff; border-radius: 50%; animation: console-spin .8s linear infinite; }
@keyframes console-spin { to { rotate: 360deg; } }
.toast { position: fixed; z-index: 80; right: 25px; bottom: 25px; max-width: calc(100vw - 40px); padding: 13px 18px; color: #e9dff5; border: 1px solid #d0bcff32; border-radius: 9px; background: #26202e; box-shadow: 0 15px 45px #0006; font-size: 12px; }
.account-dialog { width: min(500px, calc(100% - 32px)); max-width: none; max-height: calc(100svh - 32px); padding: 27px; color: #ebe3f5; border: 1px solid #d0bcff26; border-radius: 14px; background: #19151e; box-shadow: 0 30px 100px #0008; }
.account-dialog::backdrop { background: #06030bba; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 11px; }
.dialog-heading h2 { margin: 0; font-size: 21px; }
.dialog-description { margin-bottom: 23px; color: #b6a5c8; font-size: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 5px; }
.sidebar-backdrop { position: fixed; z-index: 60; inset: 0; border: 0; background: #0009; }

@media (max-width: 1120px) {
  .login-layout { gap: 60px; grid-template-columns: 1.1fr 1fr; }
  .login-story h1 { font-size: 39px; }
  .login-card { padding: 29px 26px 24px; }
  .console-content { padding: 28px; }
  .console-topbar { padding-inline: 28px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .user-summary { grid-row: auto; }
  .overview-activity { grid-column: auto; }
}
@media (max-width: 800px) {
  .account-header { padding: 22px 25px; }
  .login-layout { width: min(500px, calc(100% - 44px)); min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 35px 0 44px; }
  .login-story h1 { font-size: 35px; }
  .login-story .console-kicker { margin-bottom: 18px; }
  .story-lede { font-size: 13px; }
  .wire-art, .story-features { display: none; }
  .login-card { max-width: none; }
  .account-footer { padding: 16px 25px 25px; font-size: 9px; }
  .admin-page { grid-template-columns: minmax(0, 1fr); }
  .console-sidebar { position: fixed; z-index: 70; left: 0; width: 232px; translate: -100% 0; visibility: hidden; transition: translate .2s ease, visibility .2s; }
  .sidebar-open .console-sidebar { translate: 0 0; visibility: visible; }
  .sidebar-toggle { display: grid; }
  .console-topbar { justify-content: flex-start; min-height: 61px; padding-inline: 18px; }
  .topbar-actions { margin-left: auto; gap: 12px; }
  .console-content { padding: 27px 20px; }
  .console-footer { padding-inline: 20px; }
}
@media (max-width: 480px) {
  .account-header { padding: 22px 20px; }
  .account-header .brand { font-size: 21px; gap: 10px; }
  .account-header .brand small { font-size: 8px; }
  .subtle-link { font-size: 11px; }
  .login-layout { width: calc(100% - 32px); padding-top: 24px; gap: 26px; }
  .login-story { padding-inline: 6px; }
  .login-story h1 { font-size: 31px; margin-bottom: 14px; }
  .login-card { padding: 25px 22px 22px; }
  .login-symbol { margin-bottom: 20px; }
  .account-footer { flex-direction: column; align-items: center; gap: 8px; padding-inline: 15px; }
  .console-content { padding-inline: 16px; }
  .page-heading { gap: 15px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 11px; }
  .console-card { padding: 20px 16px; }
  .overview-grid { gap: 15px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .local-status { font-size: 9px; }
  .console-footer { flex-direction: column; gap: 5px; padding-inline: 16px; }
  .activity time { font-size: 8px; }
  .filter-count { width: 100%; }
  .account-dialog { padding: 23px 20px; }
}
.admin-page .icon-button { min-width: 36px; min-height: 36px; }
.empty-state > span svg { width: 28px; height: 28px; }
.console-table tbody tr { transition: background .18s; }
.console-table tbody tr:hover { background: #d0bcff04; }
.admin-page .filter-toolbar :is(input, select) { min-height: 42px; }
@media (max-width: 800px) {
  .admin-page .icon-button { min-width: 40px; min-height: 40px; }
  .topbar-actions { gap: 4px; }
  .console-topbar { gap: 9px; }
  .breadcrumb { gap: 8px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .user-number { margin: 18px 0 26px; }
  .user-states { gap: 14px; }
  .user-states > div + div { padding-left: 14px; }
  .card-heading { gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .console-content > :not(.console-loading), .account-dialog[open] { animation: console-arrive .22s ease-out both; }
  @keyframes console-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .account-page *, .account-page *::after { transition: none !important; animation: none !important; } }
