:root {
  color-scheme: dark;
  --bg: #101217;
  --sidebar: #13151b;
  --surface: #181b22;
  --surface-raised: #1e222b;
  --surface-hover: #242833;
  --border: #2b303b;
  --border-soft: #242831;
  --text: #e9ebf2;
  --muted: #8d94a5;
  --faint: #636b7e;
  --accent: #a29bff;
  --accent-strong: #897df5;
  --mint: #74d9af;
  --red: #f39297;
  --amber: #e2bc78;
  --radius: 13px;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button { transition: background .16s, border-color .16s, color .16s, transform .16s; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; letter-spacing: -.8px; font-weight: 650; line-height: 1.4; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
h3 { font-size: 14px; font-weight: 600; }
small { font-size: 12px; }
code, pre, .code-editor { font-family: Consolas, "SFMono-Regular", "Cascadia Code", monospace; }
code { font-size: 12px; color: #b7bad5; }
hr { height: 1px; border: 0; background: var(--border); margin: 26px 0; }
[hidden] { display: none !important; }
.icon { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 12px 20px; background: var(--accent); color: #171320; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; padding: 25px 24px 30px; font-size: 23px; font-weight: 700; line-height: 1.1; letter-spacing: -.7px; }
.brand small { display: block; color: var(--faint); font-size: 8px; letter-spacing: 3.5px; margin-top: 7px; font-weight: 650; }
.brand-mark { display: inline-flex; flex-shrink: 0; width: 36px; height: 38px; border-radius: 10px; background: linear-gradient(150deg, #b9b1ff, #7568ce); color: #242038; font-size: 28px; font-weight: 850; line-height: 1; align-items: center; justify-content: center; box-shadow: 0 3px 20px #9a8aff12; }
.app-layout { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; background: var(--sidebar); border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; z-index: 20; }
.workspace-label { display: flex; align-items: center; gap: 11px; margin: 0 17px 23px; padding: 13px 12px; background: #1b1e25; border: 1px solid var(--border); border-radius: 9px; font-size: 12px; font-weight: 550; }
.workspace-label small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.workspace-symbol { display: flex; justify-content: center; align-items: center; width: 29px; height: 29px; border-radius: 7px; background: #303340; color: #c0c3d3; font-size: 12px; }
.sidebar nav { padding: 0 13px; overflow-y: auto; }
.nav-heading { color: #666f83; font-size: 10px; letter-spacing: 1.2px; margin: 17px 13px 10px; font-weight: 600; }
.nav-heading:first-child { margin-top: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; color: #9da4b4; background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 10px 13px; margin: 3px 0; font-size: 12px; text-align: left; position: relative; }
.nav-item .icon { width: 18px; height: 18px; color: #7d8496; }
.nav-item:hover { color: var(--text); background: #1d2029; }
.nav-item.active { color: #c3bdff; border-color: #a79bff14; background: linear-gradient(90deg, #36304e, #252333); }
.nav-item.active .icon { color: #b8acff; }
.nav-item.active::after { position: absolute; right: 11px; top: calc(50% - 2px); content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a798ff; }
.sidebar-bottom { margin-top: auto; padding: 24px 18px 17px; }
.service-note { color: #adb2be; font-size: 10px; padding: 12px; border: 1px solid var(--border-soft); border-radius: 8px; margin-bottom: 18px; background: #171a21; }
.service-note small { display: block; font-size: 9px; color: #677186; margin-top: 5px; padding-left: 13px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6fcaad; margin-right: 7px; flex-shrink: 0; }
.purple-dot { background: var(--accent); }
.user-block { display: flex; gap: 9px; align-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #42354a; color: #d6bfd7; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.user-info { min-width: 0; flex: 1; }
.user-info strong { display: block; font-size: 11px; font-weight: 550; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.user-info small { display: block; color: #747c8e; font-size: 10px; }
.main-shell { margin-left: 238px; }
.topbar { height: 77px; border-bottom: 1px solid var(--border-soft); padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #12141ac9; }
.breadcrumbs { display: flex; gap: 16px; align-items: center; font-size: 11px; color: #7c8496; }
.breadcrumbs .icon { width: 11px; height: 11px; color: #555d6d; }
.breadcrumbs strong { font-weight: 450; color: #c6cbd6; }
.topbar-actions { display: flex; gap: 15px; align-items: center; }
.topbar-actions .mobile-logout { display: none; }
@media (max-width: 600px) { .topbar-actions .mobile-logout { display: inline-flex; } }
.account-picker { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.account-picker .icon { width: 17px; height: 17px; }
.account-select { border: 0; background: transparent; color: #b9bfcd; padding: 8px 20px 8px 4px; max-width: 210px; font-size: 11px; }
.account-select option { background: var(--surface); }
.main-content { max-width: 1610px; margin: 0 auto; padding: 33px 38px 44px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.page-heading .eyebrow { margin-bottom: 7px; }
.eyebrow { font-size: 9px; letter-spacing: 1.9px; font-weight: 650; color: #747d91; }
.page-heading p { margin-top: 8px; font-size: 12px; }
.actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 7px; background: #20242d; border: 1px solid #343a47; color: #d1d5e0; font-size: 11px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.button:hover { background: #2b303b; border-color: #50586b; }
.button .icon { width: 15px; height: 15px; }
.button.primary { background: var(--accent); color: #211d37; border-color: #aea6ff; box-shadow: 0 2px 7px #0002; }
.button.primary:hover { background: #b6afff; border-color: #c3bcff; }
.button.subtle { background: transparent; border-color: #2d333e; }
.button.ghost { background: #ffffff04; border-color: #bba6ff36; color: #c5beda; }
.button.small { padding: 5px 9px; font-size: 10px; gap: 5px; }
.button.small .icon { width: 12px; height: 12px; }
.button.danger { background: #8f353f; border-color: #b6525f; color: #fff0f2; }
.button.danger:hover { background: #a4404b; }
.button.full { width: 100%; padding: 12px 16px; justify-content: space-between; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; padding: 4px 1px; background: transparent; color: #aaa1ec; font-size: 11px; white-space: nowrap; }
.text-button:hover { color: #d3ccff; }
.text-button .icon { width: 13px; height: 13px; }
.danger-text { color: #c9828c; }
.danger-text:hover { color: #ffadb6; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px; border: 0; background: transparent; color: var(--muted); font-size: 10px; border-radius: 6px; }
.icon-button:hover { background: var(--surface-hover); color: var(--text); }
.icon-button .icon { width: 15px; height: 15px; }
.logout-button { font-size: 0; }
.badge { display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 5px; font-size: 10px; padding: 2px 7px; font-weight: 450; line-height: 1.5; white-space: nowrap; }
.badge.purple { color: #c0b6fe; border-color: #8e7dd434; background: #8e7dd414; }
.badge.green { color: #88d4b5; border-color: #60ba9520; background: #4e9e7e15; }
.badge.green::before { content: ''; width: 4px; height: 4px; background: #75cfa7; border-radius: 50%; margin-right: 5px; }
.badge.neutral { color: #9aa2b4; background: #ffffff05; border-color: #5f6b812b; }
.badge.red { color: #ed9ea8; background: #ac4b5815; border-color: #be53652b; }
.welcome-card { background: linear-gradient(110deg, #242231, #232234 65%, #1f2435); border: 1px solid #3d374f; border-radius: var(--radius); min-height: 230px; display: flex; position: relative; overflow: hidden; margin-bottom: 22px; }
.welcome-copy { padding: 27px 29px; z-index: 1; flex: 1; }
.welcome-copy .badge { font-size: 8px; letter-spacing: 1.2px; padding: 3px 7px; }
.welcome-copy h2 { font-size: 25px; line-height: 1.55; font-weight: 550; letter-spacing: -.6px; margin-top: 13px; }
.welcome-copy h2 span { display: inline; color: #b8afd6; margin-left: 8px; }
.welcome-copy p { color: #9490a9; font-size: 11px; margin: 10px 0 20px; }
.welcome-copy .button { font-size: 10px; }
.hero-graphic { position: relative; flex: 0 0 270px; align-self: stretch; overflow: hidden; }
.hero-grid { position: absolute; width: 330px; height: 300px; top: 12px; left: -30px; transform: rotate(-30deg) skew(20deg); background-image: linear-gradient(#ada0ea06 1px, transparent 1px), linear-gradient(90deg, #ada0ea06 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.hero-tile { width: 116px; height: 116px; position: absolute; top: 39px; left: 70px; border-radius: 20px; transform: rotate(-25deg) skew(7deg, 7deg); }
.tile-back { top: 86px; left: 84px; background: linear-gradient(135deg, #453e68, #29293e); border: 1px solid #6d60746b; box-shadow: 15px 24px 24px #0002; }
.tile-mid { top: 62px; left: 76px; background: linear-gradient(130deg, #63518a, #3a3455); border: 1px solid #ad96d44a; box-shadow: 0 10px 12px #0002; }
.tile-front { background: linear-gradient(130deg, #a18ace, #76689f); border: 1px solid #d9c5ff88; display: flex; align-items: center; justify-content: center; box-shadow: inset 2px 2px 13px #fff2, 0 10px 14px #0002; }
.tile-front .icon { width: 57px; height: 57px; color: #e5d6ff; stroke-width: 1; transform: skew(-7deg, -7deg) rotate(25deg); }
.hero-caption { position: absolute; bottom: 24px; left: 49px; font-size: 7px; letter-spacing: 2px; color: #827493; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 25px; }
.stat-card { padding: 17px 20px 16px; border: 1px solid var(--border); border-radius: 10px; background: #181b22; }
.stat-top { display: flex; justify-content: space-between; align-items: center; color: #a0a7b8; font-size: 11px; }
.stat-top .icon { color: #8a82b6; width: 17px; height: 17px; }
.stat-value { display: block; font-size: 31px; line-height: 1.3; font-weight: 500; letter-spacing: -.8px; margin: 11px 0 5px; color: #e5e5ef; }
.stat-note { display: block; color: #626d82; font-size: 9px; }
.stat-card.mint .stat-top .icon { color: #75b9a1; }
.overview-columns { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(240px, 1fr); gap: 21px; margin-bottom: 23px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 21px; }
.overview-columns > .panel, .bottom-grid > .panel { margin-bottom: 0; }
.panel-heading { padding: 19px 21px; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.panel-heading h2 { font-size: 13px; }
.panel-heading p { font-size: 10px; color: #758095; margin-top: 4px; }
.steps { padding: 8px 19px 17px; }
.step { display: flex; align-items: flex-start; gap: 12px; padding-top: 19px; }
.step-number { width: 29px; height: 29px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #9990b8; font-family: Consolas, monospace; font-size: 10px; border: 1px solid #61547147; border-radius: 7px; background: #2c26341c; }
.step-number.done { border-color: #69937d42; color: #8bcbb0; background: #38574720; }
.step-number .icon { width: 14px; height: 14px; }
.step h3 { font-size: 11px; color: #c3c8d5; font-weight: 500; margin: 1px 0 4px; }
.step p { font-size: 10px; color: #757e90; }
.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(240px, 1fr); gap: 21px; }
.security-card { background: linear-gradient(135deg, #1c2127, #1c222c); border: 1px solid #2d3641; border-radius: var(--radius); padding: 22px; }
.security-icon { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; color: #96b5ac; background: #31433f30; border: 1px solid #779e8e28; border-radius: 8px; margin-bottom: 10px; }
.security-icon .icon { width: 16px; height: 16px; }
.security-card h3 { font-size: 12px; color: #c3d0ce; }
.security-card p { font-size: 10px; line-height: 1.9; color: #7d8a96; margin: 8px 0 12px; }
.security-card .text-button { font-size: 10px; color: #9dabbe; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { padding: 11px 21px; background: #161921; font-size: 10px; font-weight: 450; color: #768196; border-bottom: 1px solid var(--border-soft); white-space: nowrap; }
td { padding: 17px 21px; font-size: 11px; color: #abb3c4; border-bottom: 1px solid #282d378c; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #ffffff02; }
.table-identity { display: flex; align-items: center; gap: 11px; min-width: 130px; }
.table-identity strong { font-size: 11px; font-weight: 550; color: #cdd2df; display: block; overflow-wrap: anywhere; }
.table-identity small { color: #667289; display: block; font-size: 9px; margin-top: 2px; overflow-wrap: anywhere; }
.mini-avatar, .resource-symbol { display: flex; align-items: center; justify-content: center; width: 30px; height: 31px; flex-shrink: 0; border: 1px solid #667ba229; border-radius: 7px; color: #91a5c9; background: #3d506322; font-size: 12px; }
.mini-avatar .icon, .resource-symbol .icon { width: 16px; height: 16px; }
.resource-symbol { color: #a99ad2; background: #3f355225; border-color: #8974b42f; }
.row-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.stacked span, .stacked small { display: block; }
.stacked small { color: #6d788e; font-size: 10px; margin-top: 3px; }
.table-footer { padding: 12px 21px; border-top: 1px solid var(--border-soft); color: #6b7487; font-size: 10px; }
.resource-name { border: 0; background: transparent; padding: 0; color: #c9c1f7; font-size: 11px; font-weight: 550; text-align: left; }
.resource-name:hover { color: #e3dcff; text-decoration: underline; }
.empty-state { min-height: 235px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 33px 24px; text-align: center; }
.empty-icon { width: 47px; height: 47px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #5650684d; background: linear-gradient(145deg, #302b3d50, #20232c); color: #8e83ae; margin-bottom: 13px; }
.empty-icon .icon { width: 23px; height: 23px; }
.empty-state h3 { font-size: 13px; color: #b4bdce; font-weight: 500; }
.empty-state p { margin-top: 7px; color: #768095; font-size: 11px; max-width: 490px; line-height: 1.9; }
.empty-state > .button { margin-top: 18px; }
.quiet-empty { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 45px 24px; color: #606d83; min-height: 151px; }
.quiet-empty > .icon { width: 25px; height: 25px; }
.quiet-empty strong { font-size: 12px; color: #939eaf; font-weight: 450; }
.quiet-empty p { font-size: 10px; margin-top: 5px; }
.inline-info { display: flex; align-items: center; gap: 10px; color: #8f9baf; font-size: 11px; margin-bottom: 23px; }
.inline-info .icon { width: 17px; height: 17px; color: #988bb6; }
.notice { padding: 13px 15px; border: 1px solid #4c669045; background: #293b5723; border-radius: 8px; color: #94a6c2; font-size: 11px; line-height: 1.9; margin-bottom: 19px; }
.notice.warning { border-color: #a0803f35; background: #a0803f0b; color: #b8a280; }
.tabs { display: flex; gap: 27px; border-bottom: 1px solid var(--border); margin-bottom: 21px; }
.tab { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 2px 13px; background: transparent; color: #8d95a8; font-size: 12px; }
.tab.active { color: #bdb0f1; border-bottom-color: #a393e1; }
.tab:hover { color: #d1c6fb; }
.context-panel { border: 1px solid var(--border); border-radius: var(--radius); background: #181b22; padding: 19px 21px; margin-bottom: 21px; }
.context-account { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; }
.context-account .icon { color: #8c96b0; width: 17px; height: 17px; }
.context-account strong { font-weight: 500; }
.context-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.context-field { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
.context-field .field { margin-bottom: 0; flex: 1; min-width: 0; }
.context-field .button { height: 36px; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #13161c; border: 1px solid #303745; border-radius: 7px; }
.search-box .icon { color: #637087; width: 14px; height: 14px; }
.search-box input { width: 150px; border: 0; background: transparent; padding: 8px 0; font-size: 10px; }
.operation-list { padding: 0 20px; }
.operation-item { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--border-soft); }
.operation-item:last-child { border: 0; }
.operation-icon { width: 28px; height: 28px; color: #8e81ab; background: #76668c14; border-radius: 8px; display: flex; justify-content: center; align-items: center; }
.operation-icon .icon { width: 16px; height: 16px; }
.operation-content { flex: 1; min-width: 0; }
.operation-content strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.operation-content small { display: block; font-size: 9px; color: var(--faint); margin-top: 3px; }
.hierarchy-tree { padding: 25px 26px; }
.tree-user, .tree-node, .tree-leaf { display: flex; align-items: center; gap: 11px; font-size: 12px; flex-wrap: wrap; }
.tree-user .icon, .tree-node .icon { color: #a79ac3; width: 18px; height: 18px; }
.tree-user { padding: 8px 0 15px; }
.tree-node { min-height: 38px; }
.tree-node strong { font-weight: 500; }
.tree-node .muted { font-size: 10px; }
.tree-branch { border-left: 1px solid #384054; padding-left: 24px; margin-left: 9px; margin-top: 9px; }
.tree-placeholder { font-size: 11px; color: #667389; padding: 9px 0 15px; }
.tree-leaf { padding: 10px 0; font-size: 11px; }
.tree-leaf strong { font-weight: 450; color: #b0b9ca; }
.tree-leaf .icon { width: 16px; height: 16px; color: #807396; }
.tree-leaf code { font-size: 10px; color: #6c7990; }
.permission-list { padding: 20px; display: grid; gap: 15px; }
.permission-card { border: 1px solid var(--border); border-radius: 9px; padding: 18px; background: #14171d; }
.permission-card h3 { margin-bottom: 13px; color: #b0a7ca; }
.permission-group { display: grid; grid-template-columns: 120px 1fr; gap: 15px; margin-top: 13px; font-size: 11px; }
.permission-group strong { font-weight: 500; color: #939fb4; }
.permission-group ul { list-style: none; padding: 0; margin: 0; overflow-wrap: anywhere; }
.permission-group code { color: #b7bed2; line-height: 1.9; font-size: 11px; }
.settings-form { padding: 26px; max-width: 780px; }
.settings-form h3 { margin-bottom: 16px; }
.settings-form p { font-size: 11px; margin: 6px 0 15px; }
.audit-target { max-width: 340px; overflow-wrap: anywhere; }
.architecture-flow { display: flex; align-items: center; justify-content: space-between; gap: 23px; padding: 28px 35px; }
.architecture-flow > .icon { color: #625c7d; }
.flow-node { flex: 1; text-align: center; }
.flow-node > span { display: inline-flex; width: 42px; height: 42px; background: #50426625; border: 1px solid #7e689039; border-radius: 10px; justify-content: center; align-items: center; color: #a897bd; }
.flow-node h3 { margin: 10px 0 5px; font-size: 12px; }
.flow-node p { color: #7a869b; font-size: 10px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.help-card { padding: 23px; margin: 0; }
.help-card-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 17px; }
.help-card-heading span { color: #9383bb; font-size: 11px; font-family: Consolas, monospace; }
.help-card-heading h2 { font-size: 13px; }
.help-card p, .help-list { color: #8d98ad; font-size: 11px; line-height: 1.95; margin-bottom: 12px; }
.help-list { padding-left: 18px; }
.help-list li { margin-bottom: 9px; }
.help-list strong { color: #b0b8cb; font-weight: 550; }
.help-card .notice { font-size: 10px; margin-top: 12px; margin-bottom: 0; }
.help-code { white-space: pre-wrap; background: #11141c; border: 1px solid #29303c; border-radius: 6px; padding: 13px 15px; font-size: 11px; color: #a9a0bf; line-height: 2; margin-bottom: 12px; }
.field { margin-bottom: 19px; }
.field label { display: block; font-size: 11px; color: #b2bbcd; font-weight: 500; margin-bottom: 7px; }
.field small { display: block; margin-top: 7px; color: #6f7c93; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
input:not([type="checkbox"]), select, textarea { color: #c7cede; border: 1px solid #353d4c; background: #12161d; border-radius: 7px; padding: 9px 11px; font-size: 12px; min-width: 0; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; }
input::placeholder, textarea::placeholder { color: #56647a; opacity: 1; }
input[readonly] { color: #79869c; background: #191d25; }
input[type="checkbox"] { accent-color: var(--accent-strong); width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.check-label { display: flex; gap: 9px; align-items: center; color: #aeb8cc; font-size: 11px; margin: 12px 0 19px; cursor: pointer; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-error { border: 1px solid #96445466; color: #efa3b0; background: #98324614; border-radius: 7px; padding: 10px 13px; margin-bottom: 14px; font-size: 12px; overflow-wrap: anywhere; }
.modal { color: var(--text); background: #1a1e27; border: 1px solid #414555; border-radius: 15px; width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; box-shadow: 0 28px 130px #0009; }
.modal::backdrop { background: #080a10b8; backdrop-filter: blur(5px); }
.modal.wide { width: min(900px, calc(100vw - 32px)); }
.modal-header { padding: 23px 25px 19px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid #303644; }
.modal-header h2 { font-size: 17px; }
.modal-header p { color: #7f8ba1; font-size: 11px; margin-top: 7px; }
.modal-header .icon-button { font-size: 0; }
.modal-header .icon { width: 19px; height: 19px; }
.modal-body { padding: 24px 25px 6px; overflow-wrap: anywhere; }
.modal-footer { padding: 17px 25px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid #303644; background: #161b24; }
.modal-footer .button { font-size: 12px; }
.modal-body > .notice:last-child { margin-bottom: 20px; }
.detail-pairs { display: grid; grid-template-columns: 120px 1fr; gap: 9px; padding: 15px 0 24px; font-size: 11px; }
.detail-pairs > span { color: #78869d; }
.detail-pairs strong { font-weight: 450; color: #a8b3c9; }
.code-editor { line-height: 1.65; min-height: 250px; tab-size: 2; }
.json-view { margin: 0 0 20px; background: #10141c; border: 1px solid #303848; border-radius: 9px; padding: 19px; font-size: 12px; color: #acb9ce; line-height: 1.8; overflow: auto; max-height: 62vh; white-space: pre; }
.model-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.model-toolbar small { font-size: 10px; color: #7c89a0; }
.toast-region { position: fixed; right: 23px; bottom: 23px; z-index: 300; display: flex; align-items: flex-end; flex-direction: column; gap: 10px; max-width: min(450px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; background: #253a34; border: 1px solid #46796d; color: #c6e8da; padding: 14px 17px; border-radius: 9px; box-shadow: 0 8px 30px #0005; font-size: 12px; animation: toast-in .18s ease-out; }
.toast span { overflow-wrap: anywhere; }
.toast .text-button { font-size: 10px; padding: 1px 0; color: #a4baae; }
.toast.error { background: #3d2731; border-color: #88505e; color: #f3bdca; }
.toast.error .text-button { color: #d0a0ad; }
.toast.info { background: #263142; border-color: #526786; color: #c2d0e6; }
.toast.info .text-button { color: #a9b7cf; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, 1fr); }
.auth-art { background: radial-gradient(ellipse at 65% 60%, #47375840, transparent 60%), linear-gradient(150deg, #1a1824, #1d2030); border-right: 1px solid #342f44; padding: 8px 6%; position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; }
.auth-brand { padding-left: 0; }
.auth-copy { margin: auto 0; padding: 35px 0 0; z-index: 1; }
.auth-copy > .badge { letter-spacing: 1.2px; font-size: 8px; padding: 4px 8px; }
.auth-copy h1 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.55; letter-spacing: -1.3px; margin: 23px 0 18px; font-weight: 500; color: #ded9ef; }
.auth-copy > p { color: #8d859f; font-size: 12px; line-height: 2.1; max-width: 420px; }
.auth-visual { height: 252px; position: relative; max-width: 460px; margin: 20px auto 6px; }
.visual-core { display: flex; align-items: center; justify-content: center; position: absolute; left: calc(50% - 46px); top: 75px; width: 92px; height: 92px; border: 1px solid #b6a0dd83; border-radius: 24px; transform: rotate(-12deg); background: linear-gradient(135deg, #9981c4, #4c4266); box-shadow: 0 15px 35px #100d22aa, inset 2px 2px 15px #eadcff2e; }
.visual-core .icon { width: 47px; height: 47px; color: #d6c7f5; stroke-width: 1.2; }
.visual-orbit { position: absolute; left: calc(50% - 133px); top: 21px; width: 266px; height: 204px; border: 1px solid #8a78a323; border-radius: 50%; transform: rotate(-20deg); }
.orbit-two { width: 340px; height: 260px; left: calc(50% - 170px); top: -7px; border-style: dashed; border-color: #8a78a319; }
.visual-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #81739447; border-radius: 8px; background: #292535; box-shadow: 0 7px 20px #14101933; color: #a79abc; font-size: 10px; }
.visual-chip .icon { width: 14px; height: 14px; }
.chip-one { top: 32px; left: 14%; }
.chip-two { top: 126px; right: 2%; }
.chip-three { left: 8%; bottom: 13px; }
.auth-footnote { font-size: 10px; color: #625a71; margin: 28px 0; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 45px 9%; background: #11141b; }
.auth-box { width: 100%; max-width: 370px; }
.auth-box > .eyebrow { color: #77708b; margin-bottom: 12px; display: block; font-size: 9px; }
.auth-box > h2 { font-size: 27px; font-weight: 550; margin-bottom: 11px; }
.auth-box > p { font-size: 12px; }
.auth-form { margin-top: 30px; }
.auth-form .field { margin-bottom: 21px; }
.auth-form input { padding: 12px 13px; font-size: 12px; background: #181c25; border-color: #303744; }
.auth-form .button { margin-top: 6px; padding: 12px 16px; font-size: 12px; }
.auth-switch { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 23px; color: #767e90; }
.auth-security { display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid #242a36; padding-top: 22px; margin-top: 34px; font-size: 10px; color: #5d6a80; line-height: 1.9; }
.auth-security .icon { width: 15px; height: 15px; margin-top: 2px; }
@media (min-width: 1600px) { .main-content { padding-top: 40px; } .welcome-card { min-height: 255px; } .welcome-copy { padding: 32px; } .hero-graphic { flex-basis: 320px; } .hero-tile { left: 91px; top: 51px; } .tile-mid { top: 74px; left: 98px; } .tile-back { top: 97px; left: 105px; } .hero-caption { left: 70px; } }
@media (max-width: 1240px) { .sidebar { width: 210px; } .main-shell { margin-left: 210px; } .main-content { padding: 27px 24px; } .topbar { padding: 0 24px; } .brand { padding-left: 21px; } .hero-graphic { flex-basis: 215px; } .hero-tile { left: 43px; } .tile-mid { left: 51px; } .tile-back { left: 58px; } .hero-caption { left: 22px; } .welcome-copy h2 { font-size: 23px; } .welcome-copy h2 span { display: block; margin-left: 0; } th, td { padding-left: 16px; padding-right: 16px; } .stats-grid { gap: 12px; } .stat-card { padding: 15px; } .panel-heading { padding: 17px; } .overview-columns, .bottom-grid { grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr); gap: 16px; } .panel-heading .actions { justify-content: flex-end; } }
@media (max-width: 1050px) { .sidebar { width: 190px; } .main-shell { margin-left: 190px; } .brand { font-size: 20px; padding-left: 18px; } .workspace-label { margin-left: 12px; margin-right: 12px; padding: 10px 8px; font-size: 11px; } .workspace-label small { font-size: 8px; } .nav-item { padding-left: 9px; font-size: 11px; gap: 10px; } .sidebar nav { padding: 0 10px; } .sidebar-bottom { padding: 18px 12px 15px; } .service-note { padding: 10px 8px; } .service-note small { font-size: 8px; } .page-heading { align-items: flex-start; } .page-heading .actions { justify-content: flex-end; } .page-heading .actions .button { font-size: 10px; padding: 8px 10px; } .overview-columns, .bottom-grid { grid-template-columns: 1fr; } .steps { display: flex; gap: 18px; padding: 0 20px 20px; } .step { flex: 1; } .security-card { display: none; } .help-grid { gap: 15px; } .context-grid { grid-template-columns: 1fr; } .context-field { max-width: 100%; } .resource-panel .panel-heading { align-items: flex-start; flex-wrap: wrap; } .resource-panel .panel-heading .actions { justify-content: flex-start; } }
@media (max-width: 800px) { .sidebar { width: 170px; } .main-shell { margin-left: 170px; } .main-content { padding: 24px 18px; } .brand { padding: 22px 15px; font-size: 18px; gap: 8px; } .brand-mark { width: 31px; height: 33px; font-size: 24px; border-radius: 8px; } .brand small { font-size: 7px; letter-spacing: 2.4px; } .workspace-label { gap: 6px; } .workspace-symbol { display: none; } .nav-item { font-size: 10px; gap: 8px; } .nav-item .icon { width: 16px; height: 16px; } .nav-heading { font-size: 9px; } .service-note { display: none; } .user-block { gap: 6px; } .avatar { width: 26px; height: 26px; } .user-info strong { font-size: 10px; } .topbar { padding: 0 18px; gap: 9px; height: 66px; } .breadcrumbs { gap: 8px; } .breadcrumbs > span { display: none; } .breadcrumbs > .icon { display: none; } .topbar-actions { gap: 6px; } .account-select { max-width: 150px; font-size: 10px; } .topbar-actions .button { font-size: 0; padding: 8px; gap: 0; } h1 { font-size: 24px; } .page-heading { flex-wrap: wrap; gap: 16px; margin-bottom: 23px; } .page-heading .actions { justify-content: flex-start; } .page-heading p { font-size: 11px; } .welcome-copy { padding: 22px; } .hero-graphic { display: none; } .welcome-card { min-height: 0; } .welcome-copy h2 { font-size: 23px; } .welcome-copy h2 span { display: inline; margin-left: 6px; } .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .stat-value { font-size: 29px; } .steps { display: block; padding-top: 0; } .help-grid { grid-template-columns: 1fr; } .architecture-flow { gap: 14px; padding: 25px 18px; } .architecture-flow > .icon { width: 15px; height: 15px; } .flow-node p { font-size: 9px; } .flow-node h3 { font-size: 11px; } .auth-layout { grid-template-columns: minmax(0, .95fr) minmax(340px, 1fr); } .auth-art { padding: 8px 9%; } .auth-copy h1 { font-size: 27px; } .auth-copy > p { font-size: 11px; } .auth-visual { transform: scale(.85); margin-left: -18px; margin-right: -18px; } .auth-panel { padding: 40px 8%; } .auth-box > h2 { font-size: 24px; } }
@media (max-width: 600px) { .sidebar { position: relative; inset: auto; width: 100%; border-right: 0; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; padding: 11px 15px; flex-wrap: wrap; gap: 8px; } .sidebar .brand { padding: 0; font-size: 19px; flex: 1; } .sidebar .brand small { display: none; } .sidebar .brand-mark { width: 27px; height: 29px; border-radius: 7px; font-size: 23px; } .workspace-label, .sidebar .nav-heading, .sidebar-bottom { display: none; } .sidebar nav { order: 3; width: 100%; display: flex; overflow-x: auto; padding: 7px 0 0; gap: 5px; } .nav-item { width: auto; flex-shrink: 0; padding: 7px 10px; margin: 0; font-size: 10px; } .nav-item.active::after { display: none; } .nav-item .icon { width: 13px; height: 13px; } .main-shell { margin-left: 0; } .topbar { height: 55px; padding: 0 17px; } .topbar .breadcrumbs { font-size: 10px; } .account-select { max-width: 175px; } .main-content { padding: 25px 17px; } .page-heading .eyebrow { font-size: 8px; } h1 { font-size: 25px; } .page-heading p { font-size: 10px; line-height: 1.9; } .page-heading .actions { width: 100%; } .welcome-copy { padding: 22px; } .welcome-copy h2 { font-size: 22px; } .welcome-copy h2 span { display: block; margin: 0; } .welcome-copy p { font-size: 10px; line-height: 1.9; } .stat-card { padding: 14px 16px; } .stat-top { font-size: 10px; } .stat-note { font-size: 8px; } .panel-heading h2 { font-size: 12px; } .panel-heading p { font-size: 9px; } .panel-heading { padding: 17px; } .empty-state { padding: 30px 19px; min-height: 245px; } .empty-state p { font-size: 10px; } td { padding: 15px; font-size: 10px; } th { padding: 10px 15px; font-size: 9px; } .row-actions { gap: 8px; } .table-identity { gap: 8px; } .table-identity strong { font-size: 10px; } .table-identity small { font-size: 8px; } .overview-columns .table-scroll { overflow-x: auto; } .quiet-empty { align-items: flex-start; padding: 30px 23px; min-height: 130px; } .quiet-empty p { line-height: 1.9; } .inline-info { font-size: 10px; align-items: flex-start; } .tabs { gap: 24px; } .context-panel { padding: 17px; } .context-field { gap: 7px; } .context-field .button { padding: 5px 8px; } .context-account { flex-wrap: wrap; } .operation-item { flex-wrap: wrap; gap: 9px; } .operation-content { min-width: 140px; } .operation-icon { display: none; } .hierarchy-tree { padding: 20px 16px; } .tree-branch { padding-left: 14px; margin-left: 6px; } .tree-node, .tree-leaf { gap: 8px; } .tree-leaf code { display: none; } .architecture-flow { flex-direction: column; gap: 15px; } .architecture-flow > .icon { transform: rotate(90deg); } .flow-node { width: 100%; } .flow-node p { font-size: 10px; } .permission-group { grid-template-columns: 1fr; gap: 5px; } .form-grid { grid-template-columns: 1fr; } .modal { max-height: calc(100dvh - 24px); width: calc(100vw - 20px); border-radius: 11px; } .modal-header { padding: 20px; } .modal-body { padding: 20px 20px 5px; } .modal-footer { padding: 15px 20px; } .modal.wide { width: calc(100vw - 20px); } .model-toolbar { flex-wrap: wrap; } .toast-region { bottom: 15px; right: 15px; } .auth-layout { display: block; min-height: 100dvh; background: #11141b; } .auth-art { display: none; } .auth-panel { min-height: 100dvh; padding: 50px 27px; } .auth-box { max-width: 360px; } .auth-box::before { content: 'F'; display: flex; align-items: center; justify-content: center; width: 44px; height: 45px; color: #282038; background: linear-gradient(140deg, #b9acdd, #80709f); border-radius: 12px; font-size: 33px; font-weight: 800; margin-bottom: 33px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.quota-tier-result { padding: 20px 21px; font-size: 19px; overflow-wrap: anywhere; }

/* VM detail subpage */
.vm-detail-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.vm-detail-nav a { padding: 9px 15px; border: 1px solid var(--border); border-radius: 7px; color: var(--text); text-decoration: none; font-size: 12px; background: var(--surface); }
.vm-detail-nav a:hover { border-color: #a898d0; color: #d1c1f5; }
.vm-detail-section { scroll-margin-top: 24px; min-width: 0; }
.vm-section-content { padding: 4px 21px 22px; min-width: 0; }
.vm-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.vm-summary > div { padding: 18px; background: rgba(155, 137, 192, .06); border: 1px solid var(--border); border-radius: 9px; }
.vm-summary span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.vm-summary strong { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.vm-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 25px; margin: 0; }
.vm-fields > div { padding: 13px 0; min-width: 0; border-bottom: 1px solid var(--border); }
.vm-fields dt { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.vm-fields dd { font-size: 12px; margin: 0; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.vm-resource-card { border: 1px solid var(--border); border-radius: 9px; margin: 16px 0 0; padding: 18px; min-width: 0; }
.vm-resource-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.vm-resource-title h3 { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.vm-attachment, .vm-note { font-size: 12px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.vm-resource-card h4 { margin: 20px 0 12px; font-size: 12px; }
.vm-resource-card .table-scroll { margin-top: 15px; border: 1px solid var(--border); border-radius: 6px; }
.vm-detail-table { min-width: 940px; }
.vm-detail-table td { max-width: 290px; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.vm-detail-table th { white-space: nowrap; }
.vm-rule-description { display: block; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.vm-subheading { font-size: 14px; margin: 25px 0 12px; }
.vm-resource-id, .vm-fold { margin-top: 15px; font-size: 11px; color: var(--muted); }
.vm-resource-id summary, .vm-fold summary { cursor: pointer; padding: 6px 0; }
.vm-resource-id code { display: block; margin-top: 8px; padding: 12px; background: rgba(0, 0, 0, .12); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.vm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.vm-tags span { border: 1px solid var(--border); border-radius: 5px; padding: 5px 9px; font-size: 11px; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .vm-summary, .vm-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vm-summary, .vm-fields { grid-template-columns: 1fr; } .vm-section-content { padding: 0 14px 16px; } .vm-resource-card { padding: 12px; } .vm-detail-nav a { padding: 8px 10px; } }

/* Azure-backed VM creation selectors */
.vm-create-section { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); min-width: 0; }
.vm-create-section h3 { font-size: 14px; margin: 0 0 18px; }
.vm-create-section .form-grid > *, .vm-create-section select { min-width: 0; }
.vm-create-section select { width: 100%; text-overflow: ellipsis; }
.vm-create-note { display: block; font-size: 11px; line-height: 1.8; color: var(--muted); margin: 10px 0 14px; overflow-wrap: anywhere; }

.vm-new-network { margin: 12px 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.vm-new-network > .button { margin: 8px 8px 8px 0; }

/* Durable VM resource-by-resource progress */
.badge.amber { color: #e5c18c; border-color: #b48b4438; background: #b48b4415; }
.vm-job-resources { margin-top: 12px; max-width: 100%; }
.vm-job-resources summary { cursor: pointer; color: var(--text); font-size: 12px; padding: 5px 0; }
.vm-job-resources ul { margin: 6px 0; padding-left: 18px; }
.vm-job-resources li { padding: 7px 0; overflow-wrap: anywhere; }
.vm-job-resources li strong { display: block; font-size: 12px; line-height: 1.6; }
.vm-job-resources li small { display: block; font-size: 11px; line-height: 1.7; color: var(--muted); }

/* Keep all scope labels and selectors aligned; actions sit above the full-width select. */
.context-grid { align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.context-field { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.context-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.context-field-heading > label { color: var(--muted); font-size: 11px; white-space: nowrap; }
.context-buttons { display: flex; gap: 6px; }
.context-field .context-buttons .button { height: 30px; padding: 5px 8px; font-size: 10px; white-space: nowrap; }
.context-field > select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.context-panel > .notice { margin-top: 14px; }

/* Guided model deployment creation. */
.deployment-section { border: 1px solid var(--border); background: #171c25; border-radius: 11px; padding: 20px; margin-bottom: 18px; }
.deployment-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.deployment-step { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #a393e133; border-radius: 9px; background: #a393e110; color: #c4b7fa; font-size: 11px; }
.deployment-section-heading > div { flex: 1; min-width: 0; }
.deployment-section-heading h3 { font-size: 13px; color: #d8dfec; }
.deployment-section-heading p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.deployment-filter-grid { display: grid; grid-template-columns: minmax(140px, .8fr) minmax(0, 1.4fr); gap: 14px; }
.deployment-section .field { min-width: 0; margin-bottom: 14px; }
.model-match-count { display: block; color: var(--muted); font-size: 10px; margin-top: -4px; }
.model-catalog-status .notice { margin: 12px 0 0; }
.model-selection-summary { margin-top: 15px; padding: 13px 15px; border-radius: 8px; background: #11151d; border: 1px solid #a393e126; font-size: 11px; }
.model-selection-summary strong { color: #d2c6ff; font-size: 13px; overflow-wrap: anywhere; }
.model-selection-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.deployment-section > input { width: 100%; }
.deployment-name-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 11px; color: #aeb9cd; }
.deployment-name-heading .text-button { font-size: 10px; }
.deployment-capacity-grid { margin-top: 16px; }
.deployment-capacity-grid .field { margin-bottom: 0; }
.deployment-advanced { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 18px; background: #141922; }
.deployment-advanced > summary { cursor: pointer; padding: 14px 17px; font-size: 11px; color: #a6b3ca; }
.deployment-advanced > div { padding: 0 17px 4px; }
.deployment-advanced .check-label { margin: 0 0 14px; }
.deployment-advanced textarea[readonly] { color: #8e9bb3; }
@media (max-width: 600px) {
  .deployment-section { padding: 14px; }
  .deployment-section-heading { flex-wrap: wrap; }
  .deployment-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .deployment-section-heading p { font-size: 10px; }
  .context-grid { grid-template-columns: minmax(0, 1fr); }
}
