@charset "UTF-8";
:root {
  --bg: #f6f7fb;
  --panel: #fff;
  --ink: #20273d;
  --muted: #737d94;
  --line: #e9ecf3;
  --teal: #4f5bd5;
  --teal-dark: #3c46b4;
  --teal-soft: #eef0ff;
  --nav: #202741;
  --radius: 18px;
  --shadow: 0 4px 24px #222a4a04;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #737eeb; outline-offset: 4px; }
svg { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 30px; line-height: 1.4; letter-spacing: -.8px; margin-bottom: 9px; font-weight: 700; overflow-wrap: anywhere; }
h2 { font-size: 17px; line-height: 1.5; margin-bottom: 6px; font-weight: 650; }
h3 { font-size: 15px; margin-bottom: 6px; }
p { margin-bottom: 18px; }
small { font-size: 12px; }
.muted, .subtle { color: var(--muted); }
.eyebrow { display: block; font-size: 10px; letter-spacing: 2px; color: var(--teal); font-weight: 700; margin-bottom: 12px; }
.skip-link { position: fixed; left: 16px; top: -70px; background: var(--nav); padding: 12px 20px; color: #fff; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; font-size: 17px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 8px; letter-spacing: 2px; font-weight: 500; color: var(--muted); margin-top: 5px; }
.brand-mark { display: grid; place-items: center; background: var(--teal); color: #fff; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 5px 12px #4f5bd51a; }
.brand-mark svg { width: 25px; height: 25px; }
.sidebar { width: 248px; position: fixed; inset: 0 auto 0 0; background: #fff; border-right: 1px solid var(--line); padding: 34px 20px 22px; display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.sidebar .brand { margin: 0 6px 46px; }
.sidebar-caption { font-size: 11px; letter-spacing: 1px; color: #9098ab; margin: 0 16px 12px; }
.main-nav { display: flex; flex-direction: column; gap: 7px; }
.main-nav a { display: flex; align-items: center; gap: 13px; color: #68738b; padding: 12px 16px; border-radius: 10px; font-size: 13px; transition: background .18s, color .18s; }
.main-nav a:hover { text-decoration: none; background: #f6f7fc; color: var(--teal); }
.main-nav a[aria-current=page] { background: var(--teal-soft); color: var(--teal); font-weight: 650; }
.main-nav a[aria-current=page]::after { content: ""; margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.main-nav a svg { width: 19px; height: 19px; }
.main-nav .sidebar-caption { margin-top: 28px; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding: 22px 9px 0; }
.identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.identity > div { min-width: 0; }
.identity strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.identity > div > span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.avatar { width: 39px; height: 39px; display: inline-grid; place-items: center; border-radius: 12px; background: #edf0ff; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.avatar.inactive { background: #f0f1f5; color: #8a92a4; }
.avatar.large, .app-icon.large { width: 60px; height: 60px; font-size: 24px; border-radius: 18px; }
.avatar.mini { width: 30px; height: 30px; font-size: 12px; margin-left: 10px; border-radius: 10px; }
.logout-button { border: 0; background: none; color: #798299; display: flex; align-items: center; gap: 10px; padding: 20px 0 0; font-size: 12px; }
.logout-button svg { width: 17px; height: 17px; }
.logout-button:hover { color: #b74754; }
.main-area { margin-left: 248px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { min-height: 78px; background: #ffffffc9; border-bottom: 1px solid var(--line); padding: 0 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.breadcrumb { display: flex; gap: 17px; align-items: center; color: #8b93a5; }
.breadcrumb > span { color: #c3c9d6; }
.breadcrumb strong { font-weight: 500; color: #4e5871; }
.topbar-link { color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: 11px; white-space: nowrap; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2caa89; flex-shrink: 0; box-shadow: 0 0 0 3px #2caa890c; }
.content { width: 100%; max-width: 1440px; padding: 40px 44px; margin: 0 auto; flex: 1; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.greeting-dot { color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 43px; border: 1px solid transparent; border-radius: 9px; padding: 10px 17px; line-height: 1.5; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s, box-shadow .18s; text-decoration: none; }
.button svg { width: 17px; height: 17px; }
.button:hover { text-decoration: none; }
.button.primary { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 4px 9px #4f5bd51c; }
.button.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 5px 14px #4f5bd52b; }
.button.secondary { background: #fff; color: #59637b; border-color: #dfe3ed; box-shadow: 0 2px 3px #222a4a03; }
.button.secondary:hover { background: #f7f8ff; border-color: #bec5ec; color: var(--teal); }
.button.danger-outline { background: #fff; color: #b54d5c; border-color: #eed7db; }
.button.danger-outline:hover { background: #fff4f5; border-color: #dfaeb7; }
.button.small { min-height: 35px; padding: 7px 12px; font-size: 11px; }
.button.full { width: 100%; justify-content: space-between; min-height: 46px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.panel.padded { padding: 30px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 28px; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: 15px; margin-bottom: 5px; }
.panel-header p, .section-title p { font-size: 12px; color: var(--muted); margin: 0; }
.section-title { margin-bottom: 26px; }
.section-title h2 { display: flex; align-items: center; gap: 8px; }
.text-link { font-size: 12px; white-space: nowrap; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--ink); position: relative; box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s; }
.stat-card:hover { text-decoration: none; border-color: #c5cbed; box-shadow: 0 6px 22px #4f5bd508; }
.stat-card > span:not(.stat-icon) { color: var(--muted); font-size: 12px; }
.stat-card strong { font-size: 38px; font-weight: 650; letter-spacing: -1.5px; display: block; margin: 5px 0 10px; line-height: 1.3; }
.stat-card small { display: flex; justify-content: space-between; color: #7d86a0; font-size: 11px; padding-top: 13px; border-top: 1px solid #f0f1f7; }
.stat-icon { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--teal); background: #f0f1ff; }
.stat-icon.mint { background: #eaf7f2; color: #399e83; }
.stat-icon.amber { background: #fff6e7; color: #c69640; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.account-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(110deg, #edf0ff, #f0f4ff 60%, #edf7f9); border: 1px solid #e1e6fb; border-radius: 20px; padding: 32px 38px; margin-bottom: 28px; overflow: hidden; }
.account-banner .eyebrow { font-size: 9px; letter-spacing: 2.5px; margin-bottom: 10px; }
.account-banner h2 { font-size: 24px; letter-spacing: -.5px; }
.account-banner p { font-size: 12px; color: #7b84a2; margin: 10px 0 22px; }
.account-emblem { width: 130px; height: 130px; border-radius: 36px; background: #ffffffb3; border: 1px solid #fff; display: grid; place-items: center; color: #6876da; transform: rotate(9deg); flex-shrink: 0; box-shadow: 0 14px 28px #6774cc0a; margin-right: 15px; }
.account-emblem svg { width: 66px; height: 66px; stroke-width: 1.2; transform: rotate(-9deg); }
.getting-started { padding: 28px; }
.getting-started .eyebrow { font-size: 9px; margin-bottom: 11px; }
.getting-started h2 { font-size: 19px; }
.getting-started > p { font-size: 12px; margin-bottom: 23px; }
.resource-link { display: flex; gap: 13px; align-items: center; padding: 18px 0; border-top: 1px solid #f0f1f6; color: var(--ink); }
.resource-link:last-child { padding-bottom: 0; }
.resource-link:hover { text-decoration: none; color: var(--teal); }
.resource-link > div { flex: 1; min-width: 0; }
.resource-link strong { display: block; font-size: 12px; }
.resource-link div > span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.resource-link > span:last-child { font-size: 17px; color: #a0a8bc; }
.resource-icon { width: 38px; height: 38px; background: #f5f6fc; border-radius: 11px; display: grid; place-items: center; color: #8991b7; flex-shrink: 0; }
.resource-icon svg { width: 18px; height: 18px; }
.app-list { padding: 0 28px; }
.app-row { display: flex; align-items: center; gap: 14px; padding: 23px 0; border-bottom: 1px solid #f0f1f6; }
.app-row:last-child { border: 0; }
.app-icon { height: 44px; width: 44px; border-radius: 13px; display: inline-grid; place-items: center; background: #eef0ff; color: #6873c9; font-size: 18px; font-weight: 650; flex-shrink: 0; }
.app-row:nth-child(3n+2) .app-icon, .client-row:nth-child(3n+2) .app-icon { background: #eaf7f2; color: #39977d; }
.app-row:nth-child(3n) .app-icon, .client-row:nth-child(3n) .app-icon { background: #fff5e8; color: #bd934c; }
.app-row-info { flex: 1; min-width: 0; }
.app-row-info strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.app-row-info > span { font-size: 11px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1.6; padding: 4px 9px; border-radius: 6px; white-space: nowrap; font-weight: 500; }
.badge.good { background: #eaf7f0; color: #36886b; }
.badge.neutral { background: #eff0ff; color: #727ac0; }
.badge.muted-badge { background: #f0f2f6; color: #8b93a5; }
.badges { display: flex; gap: 6px; }
.empty-state { text-align: center; padding: 55px 25px; color: var(--muted); }
.empty-state h3 { color: #535f7a; font-size: 14px; margin-top: 18px; }
.empty-state p { font-size: 12px; max-width: 290px; margin: 9px auto 23px; }
.empty-icon { height: 58px; width: 58px; background: #f3f5fc; color: #a4adcb; border-radius: 18px; display: inline-grid; place-items: center; font-size: 27px; }
.empty-icon svg { width: 27px; height: 27px; }
.empty-state.compact { padding: 34px; }
.empty-state.compact p:last-child { margin-bottom: 0; }
.issuer-strip { display: flex; align-items: center; gap: 10px; padding: 23px 2px; color: #8b94a8; font-size: 11px; flex-wrap: wrap; }
.issuer-strip code { color: #67728b; margin-left: 5px; }
.copy-button { border: 0; background: #f0f2fc; border-radius: 5px; color: var(--teal); font-size: 10px; font-weight: 600; padding: 5px 9px; white-space: nowrap; }
.copy-button:hover { background: #e6e9fc; }
code { font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.app-footer { padding: 20px 44px; color: #949caf; font-size: 10px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: #515c75; }
input:not([type=checkbox]):not([type=hidden]), textarea, select { width: 100%; min-height: 44px; border: 1px solid #e0e4ee; border-radius: 9px; padding: 11px 13px; background: #fff; color: var(--ink); font-size: 12px; outline: none; box-shadow: 0 2px 3px #252c4502; transition: border-color .18s, box-shadow .18s; }
textarea { resize: vertical; line-height: 1.8; }
input::placeholder, textarea::placeholder { color: #a2aabd; font-weight: 400; }
input:focus, textarea:focus, select:focus { border-color: #7b85df; box-shadow: 0 0 0 3px #4f5bd510; }
input[readonly] { background: #f7f8fc !important; color: #8b94a8 !important; }
label small { font-weight: 400; color: #838da4; font-size: 11px; line-height: 1.8; }
input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); flex-shrink: 0; }
input[hidden] { display: none !important; }
.checkbox-label { display: flex; flex-direction: row; align-items: center; gap: 9px; font-size: 12px; font-weight: 400; }
.password-field { position: relative; }
.password-field input { padding-right: 58px !important; }
.reveal { border: 0; background: transparent; color: #8a93a8; position: absolute; right: 5px; top: 5px; height: 34px; padding: 0 10px; font-size: 11px; }
.reveal:hover { color: var(--teal); }
.field-note { font-size: 11px; color: var(--muted); line-height: 1.9; margin: 0; }
.profile-identity { display: flex; gap: 17px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 26px; }
.profile-identity strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.profile-identity .muted { display: block; font-size: 11px; margin-top: 5px; }
#password { scroll-margin-top: 25px; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; margin-bottom: 26px; overflow-wrap: anywhere; }
.notice > span { display: inline-grid; place-items: center; flex-shrink: 0; border: 1px solid currentColor; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; margin-top: 1px; }
.notice.success { background: #eaf7ef; border-color: #d7ecdf; color: #39805b; }
.notice.error { background: #fff1f1; border-color: #f2d8dc; color: #b24c5e; }
.notice.info { background: #f2f4fc; border-color: #e6e9f6; color: #737f9d; font-size: 11px; margin: 0; }
.session-list { padding: 0 28px; }
.session-row { display: flex; align-items: center; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.session-row:last-child { border: 0; }
.device-icon { height: 43px; width: 43px; background: #f1f3fd; color: #8590bb; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.session-info { flex: 1; min-width: 0; }
.session-info strong { font-size: 12px; overflow-wrap: anywhere; }
.session-info .badge { margin-left: 8px; vertical-align: middle; }
.session-info p { font-size: 11px; color: var(--muted); margin: 7px 0 0; }
.session-info p > span { padding: 0 6px; color: #bdc3d1; }
.count-pill { border-radius: 8px; background: #f2f4fc; font-size: 11px; min-width: 28px; text-align: center; color: #7e88aa; padding: 4px 9px; }
.space-top { margin-top: 26px; }
.management-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.heading-count { font-size: 12px; color: #77809a; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; white-space: nowrap; }
.side-stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.user-list { padding: 0 28px; }
.user-entry { padding: 24px 0; border-bottom: 1px solid var(--line); }
.user-entry:last-child { border-bottom: 0; }
.user-entry-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.self-label { display: inline-block; font-weight: 400; font-size: 10px; padding: 0 6px; color: #9099b0; margin-left: 4px; }
.user-entry details { margin-top: 15px; }
.user-entry summary { list-style: none; color: #7d88aa; font-size: 11px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.user-entry summary::-webkit-details-marker { display: none; }
.user-entry details[open] summary { color: var(--teal); padding-bottom: 16px; }
.details-content { background: #f8f9fd; border: 1px solid #edf0f7; border-radius: 12px; padding: 20px; }
.details-content .stack { gap: 16px; }
.check-row { display: flex; gap: 22px; flex-wrap: wrap; }
.reset-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: end; gap: 10px; }
.reset-form > label { flex: 1; min-width: 0; }
.reset-form .button { min-height: 44px; }
.client-list { padding: 0 28px; }
.client-row { display: flex; align-items: center; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.client-row:last-child { border: 0; }
.client-row:hover { text-decoration: none; }
.client-row:hover strong { color: var(--teal); }
.client-info { min-width: 0; flex: 1; }
.client-info strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.client-info > span { display: block; font-size: 11px; color: var(--muted); margin: 4px 0; }
.client-info code { font-size: 10px; color: #9aa2b6; }
.row-arrow { color: #9da7c1; margin-left: 5px; }
.back-link { display: inline-flex; color: #818aa3; font-size: 12px; margin-bottom: 23px; }
.parameter-list { margin: 0 0 28px; }
.parameter-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.parameter-list > div:first-child { padding-top: 0; }
.parameter-list dt { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.parameter-list dd { margin: 0; display: flex; align-items: start; gap: 10px; justify-content: space-between; }
.parameter-list dd code { font-size: 11px; color: #5c688b; }
.parameter-list dd a { font-size: 11px; min-width: 0; }
.danger-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.danger-section p { font-size: 12px; }
.secret-notice { background: #fff9ed; border-color: #eee1c1; color: #9a793c; }
.secret-notice > div { flex: 1; min-width: 0; }
.secret-notice strong { font-size: 13px; }
.secret-notice p { margin: 6px 0 14px; font-size: 12px; }
.copy-value { display: flex; align-items: center; gap: 15px; background: #ffffffb8; border: 1px solid #eee3ca; padding: 12px 14px; border-radius: 8px; justify-content: space-between; }
.copy-value code { font-size: 12px; word-break: break-all; }
.public-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 0 35%, #eef0ff 0, transparent 52%), radial-gradient(ellipse at 100% 85%, #edf5fa 0, transparent 40%), #f9faff; }
.public-header { width: 100%; max-width: 1280px; margin: 0 auto; padding: 30px 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-security { display: flex; align-items: center; gap: 7px; color: #929bb3; font-size: 11px; }
.public-security svg { width: 16px; height: 16px; }
.public-main { width: 100%; max-width: 1280px; padding: 25px 48px 40px; margin: 0 auto; flex: 1; outline: none; }
.public-footer { display: flex; justify-content: center; gap: 18px; padding: 24px; color: #9da6bd; font-size: 10px; }
.public-footer span { color: #aab1c3; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 95px; max-width: 1050px; margin: 28px auto 40px; align-items: center; }
.auth-intro { padding: 15px 0; }
.auth-intro .eyebrow { font-size: 10px; letter-spacing: 2.8px; margin-bottom: 20px; }
.auth-intro h1 { font-size: 43px; line-height: 1.45; letter-spacing: -1.5px; margin-bottom: 20px; font-weight: 650; }
.auth-intro > p { font-size: 13px; line-height: 2; color: #858eaa; }
.intro-note { display: flex; align-items: center; gap: 9px; color: #929ab1; font-size: 11px; margin-top: 12px; }
.identity-art { width: 380px; height: 230px; position: relative; margin-top: 24px; }
.art-orbit { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 1px solid #dde2f5; top: 10px; left: 80px; }
.art-orbit::before { content: ""; position: absolute; inset: 25px; border-radius: 50%; border: 1px dashed #d6ddf5; }
.art-shield { position: absolute; width: 112px; height: 125px; left: 129px; top: 51px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #8a95ee, #5662cb); border: 7px solid #ffffff9e; border-radius: 32px 32px 44px 44px; transform: rotate(-7deg); box-shadow: 0 15px 25px #5966c822; }
.art-shield svg { width: 57px; height: 57px; stroke-width: 1.2; transform: rotate(7deg); }
.art-chip { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #7983a3; padding: 11px 14px; background: #fffffff2; border: 1px solid #edf0fa; border-radius: 12px; box-shadow: 0 10px 22px #5c6a9a08; }
.art-chip svg { width: 16px; height: 16px; color: #929de1; }
.art-chip > span { color: #5ca58e; margin-left: 12px; }
.chip-profile { top: 20px; left: 9px; transform: rotate(-5deg); }
.chip-security { top: 89px; right: 0; transform: rotate(5deg); }
.chip-device { bottom: 11px; left: 28px; transform: rotate(-3deg); }
.auth-card, .center-card, .consent-card { background: #fff; border: 1px solid #e5e9f4; border-radius: 22px; box-shadow: 0 20px 65px #3c497b08; padding: 38px; }
.auth-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--teal); background: #eef0ff; margin-bottom: 24px; }
.card-kicker { font-size: 9px; letter-spacing: 1.8px; color: #9aa2ba; margin-bottom: 8px; }
.auth-card h2 { font-size: 25px; letter-spacing: -.6px; margin-bottom: 9px; }
.auth-card > p { font-size: 12px; margin-bottom: 29px; }
.auth-card .stack { gap: 22px; }
.auth-card .button { margin-top: 5px; }
.auth-switch { text-align: center; font-size: 12px; color: #8b95af; margin: 24px 0 0 !important; }
.auth-switch a { font-weight: 600; margin-left: 7px; }
.form-footnote { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; color: #9aa2b7; text-align: center; font-size: 11px; }
.center-card { max-width: 470px; margin: 14px auto 30px; }
.center-card h1 { font-size: 27px; }
.center-card > p { font-size: 12px; margin-bottom: 28px; }
.center-card .stack { gap: 20px; }
.setup-wrap { max-width: 620px; margin: 5px auto 30px; }
.setup-heading { text-align: center; margin-bottom: 30px; }
.setup-heading p { font-size: 12px; }
.setup-panel { padding: 34px; border-radius: 20px; }
.section-heading { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 26px; }
.section-heading p { margin: 3px 0 0; font-size: 11px; color: var(--muted); }
.step-badge { width: 42px; height: 42px; background: #eef0ff; color: var(--teal); display: grid; place-items: center; border-radius: 12px; font-weight: 650; font-size: 13px; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.consent-card { max-width: 510px; margin: 18px auto 30px; }
.consent-connection { display: flex; align-items: center; justify-content: center; gap: 23px; color: #b0b8d3; margin-bottom: 30px; }
.consent-card > .eyebrow { text-align: center; font-size: 9px; }
.consent-card h1 { text-align: center; font-size: 25px; overflow-wrap: anywhere; }
.consent-card > .muted { text-align: center; font-size: 12px; }
.consent-user { display: flex; align-items: center; gap: 12px; padding: 18px; background: #f7f8fd; border-radius: 12px; margin: 26px 0; }
.consent-user > div { flex: 1; min-width: 0; }
.consent-user strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.consent-user div > span { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.consent-permissions h2 { font-size: 12px; }
.consent-permissions ul { list-style: none; padding: 0; margin: 16px 0 23px; }
.consent-permissions li { font-size: 12px; color: #7e88a2; margin: 13px 0; display: flex; align-items: center; gap: 11px; }
.consent-permissions li > span { color: #6e7bd1; background: var(--teal-soft); height: 20px; width: 20px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 10px; flex-shrink: 0; }
.button-row { display: flex; gap: 12px; margin-top: 27px; }
.button-row > .button:first-child { flex: 1; }
.button-row > .button:last-child { flex: 2; }
.workspace .consent-card { margin-top: 15px; }
.error-page { max-width: 590px; margin: 60px auto; text-align: center; padding: 45px 30px; background: #ffffffab; border: 1px solid #e9ecf7; border-radius: 24px; }
.error-code { font-size: 76px; color: #a9b2df; letter-spacing: -4px; font-weight: 650; line-height: 1.4; }
.error-page h1 { font-size: 24px; }
.error-page p { font-size: 13px; color: var(--muted); margin: 15px 0 30px; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); width: max-content; background: var(--nav); padding: 13px 22px; color: #fff; border-radius: 11px; box-shadow: 0 6px 25px #20274120; z-index: 200; font-size: 12px; }
.toast[hidden] { display: none; }
.guide-section { margin-top: 22px; max-width: 1000px; }
.guide-section h2 { margin-bottom: 16px; }
.guide-section p { font-size: 12px; color: #7b859f; line-height: 2; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section code { color: #6875b3; background: #f2f4fc; padding: 3px 6px; border-radius: 5px; }
.guide-section pre { padding: 18px 20px; background: #252e4c; color: #e0e6ff; border-radius: 10px; font: 12px/1.9 Consolas, monospace; overflow-x: auto; margin: 20px 0; }
.guide-section dl { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 12px 22px; margin: 20px 0 25px; font-size: 12px; }
.guide-section dt { color: #929bb2; }
.guide-section dd { margin: 0; overflow-wrap: anywhere; }
.guide-section a { font-weight: 500; }
@media (min-width: 1500px) {
  .content { padding-top: 48px; }
  .page-heading { margin-bottom: 36px; }
  .auth-layout { margin-top: 50px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 220px; padding-left: 15px; padding-right: 15px; }
  .sidebar .brand { font-size: 15px; gap: 10px; }
  .main-area { margin-left: 220px; }
  .content { padding: 30px; }
  .topbar { padding: 0 30px; }
  .app-footer { padding: 20px 30px; }
  .management-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .panel.padded { padding: 25px; }
  .panel-header { padding: 23px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, 1fr); gap: 20px; }
  .auth-layout { gap: 50px; grid-template-columns: minmax(0, 1fr) 390px; }
  .auth-intro h1 { font-size: 36px; }
  .auth-card { padding: 32px; }
  .identity-art { transform: scale(.88); transform-origin: left center; width: 350px; }
}
@media (max-width: 1000px) {
  .sidebar { width: 200px; padding: 28px 12px 20px; }
  .sidebar .brand { font-size: 13px; }
  .sidebar .brand-mark { width: 33px; height: 33px; border-radius: 10px; }
  .sidebar .brand small { font-size: 7px; letter-spacing: 1.5px; }
  .main-area { margin-left: 200px; }
  .main-nav a { padding: 11px 14px; font-size: 12px; gap: 11px; }
  .management-layout, .two-columns, .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .side-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 27px; }
  .page-heading > .button { margin-top: 20px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 20px; }
  .stat-icon { width: 32px; height: 32px; top: 18px; right: 16px; }
  .stat-icon svg { width: 18px; height: 18px; }
  .account-banner { padding: 28px; }
  .account-emblem { width: 100px; height: 110px; border-radius: 28px; margin-right: 0; }
  .account-emblem svg { width: 55px; height: 55px; }
  .public-header { padding: 26px 32px; }
  .public-main { padding: 25px 32px 35px; }
  .auth-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 360px; }
  .auth-intro h1 { font-size: 31px; }
  .identity-art { transform: scale(.75); width: 290px; height: 200px; }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: 100%; padding: 19px 20px 10px; overflow: visible; }
  .sidebar .brand { font-size: 15px; margin: 0 100px 20px 0; }
  .sidebar .brand-mark { width: 34px; height: 34px; }
  .sidebar > .sidebar-caption, .main-nav .sidebar-caption { display: none; }
  .main-nav { flex-direction: row; gap: 5px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
  .main-nav a { white-space: nowrap; padding: 10px 12px; font-size: 11px; gap: 8px; }
  .main-nav a svg { width: 17px; height: 17px; }
  .main-nav a[aria-current=page]::after { display: none; }
  .sidebar-bottom { position: absolute; right: 22px; top: 26px; margin: 0; padding: 0; border: 0; }
  .sidebar-bottom .identity { display: none; }
  .logout-button { font-size: 11px; gap: 7px; padding: 0; }
  .main-area { margin-left: 0; }
  .topbar { min-height: 54px; padding: 0 22px; font-size: 11px; }
  .topbar-link { font-size: 10px; }
  .avatar.mini { width: 27px; height: 27px; margin-left: 4px; }
  .breadcrumb { gap: 12px; }
  .content { padding: 28px 22px 32px; }
  .app-footer { padding: 18px 22px; font-size: 9px; }
  .page-heading { margin-bottom: 25px; gap: 15px; flex-wrap: wrap; }
  .page-heading p { font-size: 12px; }
  .page-heading .eyebrow { font-size: 9px; }
  .page-heading h1 { font-size: 26px; }
  .page-heading > .button { margin-top: 0; font-size: 11px; }
  .panel.padded, .getting-started { padding: 24px; }
  .panel-header { padding: 22px; }
  .panel-header p { font-size: 11px; }
  .stats-grid { gap: 12px; margin-bottom: 24px; }
  .stat-card { padding: 18px 14px; }
  .stat-card > span:not(.stat-icon) { font-size: 10px; }
  .stat-card strong { font-size: 30px; margin-top: 10px; }
  .stat-card small { font-size: 9px; }
  .stat-icon { display: none; }
  .issuer-strip { font-size: 10px; gap: 8px; }
  .issuer-strip code { font-size: 10px; }
  .side-stack { grid-template-columns: 1fr; }
  .client-list, .user-list, .session-list, .app-list { padding: 0 22px; }
  .client-row { gap: 11px; }
  .client-info > span { font-size: 10px; }
  .client-info code { font-size: 9px; }
  .session-row { gap: 12px; align-items: flex-start; padding: 23px 0; }
  .session-info strong { font-size: 11px; }
  .session-info .badge { margin: 6px 0 0; display: table; }
  .session-info p { font-size: 10px; }
  .session-row .button { font-size: 10px; min-height: 32px; padding: 6px 10px; }
  .device-icon { width: 34px; height: 34px; font-size: 18px; }
  .public-header { padding: 24px; }
  .public-header .brand { font-size: 15px; }
  .public-security { font-size: 10px; }
  .public-main { padding: 20px 22px 30px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; max-width: 430px; margin: 12px auto 25px; }
  .auth-intro { display: none; }
  .auth-card { padding: 32px; }
  .auth-card h2 { font-size: 25px; }
  .auth-card .stack { gap: 23px; }
  .public-footer { font-size: 9px; padding: 20px; }
  .setup-heading { margin-top: 8px; margin-bottom: 26px; }
  .setup-heading h1 { font-size: 25px; }
  .setup-heading p { font-size: 11px; max-width: 310px; margin: auto; }
  .setup-panel { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .center-card { padding: 30px; }
  .consent-card { padding: 28px; margin: 5px auto 20px; }
  .workspace .consent-card { margin-top: 0; }
  .heading-count { font-size: 11px; }
  .user-entry-heading { gap: 10px; }
  .user-entry .badges { flex-wrap: wrap; justify-content: flex-end; }
  .user-entry .identity strong { font-size: 12px; }
  .reset-form { flex-direction: column; align-items: stretch; }
  .reset-form label { width: 100%; }
  .notice { font-size: 11px; padding: 15px; gap: 10px; }
  .error-page { margin: 30px auto; padding: 34px 22px; }
  .error-code { font-size: 65px; }
  .copy-value { flex-direction: column; align-items: start; gap: 9px; }
  .session-info p > span { padding: 0 3px; }
  .guide-section dl { grid-template-columns: 1fr; gap: 5px; }
  .guide-section dd { margin-bottom: 10px; }
  .guide-section pre { font-size: 11px; }
}
@media (max-width: 480px) {
  .public-security { display: none; }
  .account-banner { padding: 26px; }
  .account-banner h2 { font-size: 21px; }
  .account-emblem { display: none; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 16px 11px; }
  .stat-card small { font-size: 9px; }
  .stat-card small > span { display: none; }
  .auth-card { padding: 29px 26px; }
  .app-footer, .public-footer { flex-wrap: wrap; gap: 8px; }
  .user-entry-heading .avatar { width: 33px; height: 33px; }
  .user-entry-heading .identity { gap: 9px; }
  .client-row .app-icon { width: 36px; height: 36px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
