/* Veltrix workspace. n8n density; Terminal Graphite materials.
   Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 */
:root {
  color-scheme: dark;
  --canvas: #17181b;
  --frame: #202226;
  --panel: #2b2e34;
  --fg: #eceef2;
  --muted: #a9aeb8;
  --subtle: #969da8;
  --accent: #d5dbe6;
  --active: #363a42;
  --terminal: #111215;
  --error: #f6b0ac;
  --success: #9bbfac;
  --white: #fff;
  --black: #000;
  --clear: transparent;
  --stroke: #dce2f014;
  --stroke-strong: #dce2f026;
  --faint: #dceaff08;
  --highlight: #d9e1f00d;
  --shine: #f1f4ff1c;
  --glass: #23262cbd;
  --glass-dark: #17191ee8;
  --field: #131519b8;
  --wash: #42495329;
  --rim: #c7d1e66b;
  --sky: #59657c28;
  --sky-soft: #a9b9dc0c;
  --shadow: #0006;
  --shadow-heavy: #0009;
  --font: 'Segoe UI Variable Text', 'Segoe UI', sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', sans-serif;
  --mono: 'Cascadia Mono', Consolas, monospace;
  --fast: 140ms;
  --normal: 220ms;
  --slow: 360ms;
  --entrance: 700ms;
  --sculpture-entrance: 1100ms;
  --spin: 800ms;
  --ease: cubic-bezier(.2,.82,.18,1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--fg); font: 13px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, summary { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 8px 14px; border: 1px solid var(--clear); border-radius: 9px; background: none; transition: background var(--fast), border-color var(--fast), box-shadow var(--fast), transform var(--fast) var(--ease); }
button:hover { background: var(--highlight); }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: default; }
button[aria-busy=true] { cursor: progress; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1 { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; }
h2 { font-size: 14px; font-weight: 600; }
.muted { color: var(--muted); }
.primary { color: var(--terminal); font-weight: 600; background: linear-gradient(170deg, var(--fg), var(--accent)); border-color: var(--shine); box-shadow: inset 0 1px 0 var(--white), 0 3px 8px var(--shadow); }
.primary:hover { background: linear-gradient(170deg, var(--white), var(--accent)); box-shadow: inset 0 1px 0 var(--white), 0 5px 22px var(--wash); }
.secondary { background: var(--highlight); border-color: var(--stroke); box-shadow: inset 0 1px 0 var(--faint); }
.secondary:hover { border-color: var(--stroke-strong); background: var(--shine); }
.quiet { color: var(--muted); }
.quiet:hover { color: var(--fg); }
.full { width: 100%; }
.icon-button { padding: 8px; width: 38px; }
label { display: block; font-weight: 500; margin: 18px 0 9px; color: var(--accent); }
input { width: 100%; min-height: 44px; border: 1px solid var(--stroke-strong); border-radius: 10px; padding: 11px 13px; background: var(--field); color: var(--fg); outline: none; transition: border-color var(--fast), box-shadow var(--fast), background var(--fast); box-shadow: inset 0 2px 5px var(--faint); }
input::placeholder { color: var(--subtle); }
input:hover { border-color: var(--rim); }
input:focus { border-color: var(--rim); background: var(--glass-dark); box-shadow: 0 0 0 3px var(--highlight); }
.glass { background: var(--glass); backdrop-filter: blur(26px) saturate(115%); -webkit-backdrop-filter: blur(26px) saturate(115%); border: 1px solid var(--stroke-strong); box-shadow: inset 0 1px 0 var(--shine), inset 0 -1px 0 var(--faint), 0 30px 80px -20px var(--shadow-heavy); }
.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; background: radial-gradient(ellipse at 15% 0%, var(--sky), var(--clear) 55%), radial-gradient(ellipse at 92% 100%, var(--wash), var(--clear) 53%), var(--canvas); }
.ambient-light { position: absolute; width: 78vw; height: 120vh; top: -55vh; left: -25vw; border-radius: 50%; transform: rotate(-30deg); background: radial-gradient(ellipse at 50% 50%, var(--sky-soft), var(--clear) 67%); }
.ambient-line { position: absolute; width: 110vw; height: 110vw; left: -48vw; top: -59vw; border-radius: 50%; border: 1px solid var(--stroke); box-shadow: 15px 35px 80px var(--sky-soft), inset -5px -15px 35px var(--sky-soft); transform: rotate(-28deg); }
.auth-view { min-height: 100svh; display: flex; flex-direction: column; }
.auth-top { display: flex; justify-content: space-between; align-items: center; padding: 28px 44px; }
.auth-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 600; letter-spacing: -.55px; }
.auth-brand svg { width: 30px; height: 30px; }
.auth-top-label { color: var(--muted); font-size: 12px; }
.auth-stage { flex: 1; display: grid; place-items: center; padding: 30px 40px 40px; }
.auth-window { display: grid; grid-template-columns: 1.12fr 1fr; width: min(1060px, 100%); min-height: 558px; border-radius: 24px; overflow: hidden; position: relative; animation: surface-enter var(--entrance) var(--ease) both; }
.auth-window:after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--faint); pointer-events: none; }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px 38px; background: radial-gradient(ellipse at 25% 25%, var(--sky), var(--clear) 75%), linear-gradient(135deg, var(--shine), var(--clear) 55%); border-right: 1px solid var(--stroke); }
.art-caption { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--accent); }
.art-line { width: 17px; height: 1px; background: var(--accent); }
.sculpture-stage { flex: 1; display: grid; place-items: center; margin: -4px -44px -28px; min-height: 280px; perspective: 1000px; }
.sculpture { width: 100%; height: auto; max-height: 340px; transform: rotate(-7deg); animation: glass-arrive var(--sculpture-entrance) var(--ease) backwards; transition: transform var(--entrance) var(--ease); }
.art-title { position: relative; z-index: 1; margin-top: 16px; }
.art-title h2 { font: 500 clamp(26px, 2.7vw, 36px)/1.18 var(--display); letter-spacing: -1.2px; }
.art-title h2 span { color: var(--muted); }
.art-title p { margin-top: 13px; color: var(--muted); font-size: 13px; }
.art-edition { position: absolute; right: 32px; top: 33px; font-size: 10px; color: var(--muted); }
.auth-card { padding: 52px 46px 32px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, var(--faint), var(--glass-dark)); }
.auth-emblem { display: grid; place-items: center; width: 42px; height: 42px; background: var(--highlight); border: 1px solid var(--stroke-strong); border-radius: 13px; box-shadow: inset 0 1px 0 var(--shine), 0 4px 10px var(--faint); margin-bottom: 24px; }
.auth-emblem svg { width: 21px; height: 21px; color: var(--accent); }
.auth-card h1 { font-size: 28px; letter-spacing: -.9px; }
.auth-description { color: var(--muted); font-size: 13px; margin-top: 10px; line-height: 1.6; max-width: 270px; }
.auth-card form { margin-top: 30px; }
.auth-card label { margin-top: 0; font-size: 12px; }
.token-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.token-label label { margin-bottom: 0; }
.token-label button { min-height: 44px; padding: 8px 0 8px 12px; font-size: 12px; }
.secret-field { position: relative; }
.secret-field input { height: 48px; padding-left: 41px; padding-right: 43px; font-size: 12px; }
.field-icon { position: absolute; left: 14px; top: 15px; color: var(--subtle); display: flex; pointer-events: none; }
.secret-field button { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; padding: 12px; }
.secret-field button[aria-pressed=true] { color: var(--fg); }
.auth-card .primary { height: 46px; margin-top: 18px; position: relative; font-size: 13px; }
.button-spinner { display: none; width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: var(--clear); border-radius: 50%; animation: spin var(--spin) linear infinite; }
[aria-busy=true] .button-spinner { display: block; }
.login-help { margin-top: 18px; font-size: 11px; color: var(--muted); }
.login-help summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 30px; width: fit-content; transition: color var(--fast); }
.login-help summary:hover { color: var(--fg); }
.login-help summary::-webkit-details-marker { display: none; }
.login-help summary:before { content: ''; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); transition: transform var(--normal) var(--ease); }
.login-help[open] summary:before { transform: rotate(45deg); }
.login-help p { padding-top: 7px; line-height: 1.7; animation: opacity-enter var(--normal) var(--ease); }
.auth-server { display: flex; gap: 11px; align-items: center; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--stroke); color: var(--muted); }
.auth-server div { display: flex; flex-direction: column; gap: 3px; }
.auth-server span { font-size: 10px; color: var(--subtle); }
.auth-server strong { font-weight: 400; font-size: 11px; }
.auth-server>svg:last-child { margin-left: auto; width: 13px; height: 13px; opacity: .6; }
.auth-footer { display: flex; justify-content: space-between; padding: 20px 44px 26px; color: var(--subtle); font-size: 11px; }
.footer-divider { padding: 0 9px; color: var(--stroke-strong); }
#auth-notice:not(:empty) { margin-top: 12px; color: var(--error); font-size: 12px; line-height: 1.6; animation: opacity-enter var(--normal) var(--ease); }
/* Authenticated workspace: translucent outer shell, quiet data surfaces. */
.app-shell { display: grid; grid-template-columns: 222px minmax(0, 1fr); min-height: 100svh; margin: 0; overflow: clip; }
.sidebar { border-right: 1px solid var(--stroke-strong); display: flex; flex-direction: column; position: sticky; top: 0; height: 100svh; padding: 0 12px; background: linear-gradient(150deg,var(--shine),var(--clear) 55%), var(--glass); backdrop-filter: blur(26px) saturate(115%); box-shadow: inset -1px 0 0 var(--faint); }
.brand { display: flex; height: 64px; align-items: center; gap: 9px; padding: 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.brand svg { width: 29px; height: 29px; }
.brand small { font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.workspace { display: flex; align-items: center; gap: 10px; padding: 11px 10px; margin: 4px 0 24px; border: 1px solid var(--stroke-strong); border-radius: 9px; background: linear-gradient(120deg,var(--shine),var(--faint)); box-shadow: inset 0 1px 0 var(--highlight), 0 5px 14px var(--faint); }
.workspace-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--highlight); border: 1px solid var(--stroke); }
.workspace-avatar svg { width: 19px; height: 19px; }
.workspace strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.workspace small { display: block; color: var(--subtle); font-size: 10px; margin-top: 2px; }
nav { display: flex; flex-direction: column; gap: 3px; }
nav button { position: relative; width: 100%; justify-content: flex-start; color: var(--muted); padding: 8px 11px; gap: 10px; font-size: 12px; min-height: 37px; border-radius: 6px; }
nav button svg { width: 17px; height: 17px; opacity: .85; }
nav button.active { color: var(--fg); background: linear-gradient(110deg,var(--shine),var(--highlight)); border-color: var(--stroke-strong); box-shadow: inset 0 1px 0 var(--faint); }
nav button.active:before { content: ''; position: absolute; left: -13px; top: 10px; bottom: 10px; width: 2px; background: var(--accent); animation: opacity-enter var(--normal) var(--ease); }
.nav-label { color: var(--subtle); font-size: 10px; padding: 24px 11px 7px; letter-spacing: .035em; }
.sidebar-bottom { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 20px 10px; color: var(--muted); font-size: 10px; }
.sidebar-bottom small { margin-left: auto; color: var(--subtle); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--highlight); }
.main { min-width: 0; background: var(--canvas); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 57px; border-bottom: 1px solid var(--stroke); padding: 0 32px; background: var(--canvas); }
.breadcrumb { display: flex; align-items: center; gap: 13px; color: var(--subtle); font-size: 12px; }
.breadcrumb strong { font-weight: 400; color: var(--fg); }
.breadcrumb>span { color: var(--muted); opacity: .5; }
.account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.account>span#actor { font-size: 11px; max-width: 150px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.account-avatar { width: 25px; height: 25px; background: var(--highlight); border: 1px solid var(--stroke-strong); border-radius: 50%; position: relative; }
.account-avatar:before { content: ''; position: absolute; width: 5px; height: 5px; left: 9px; top: 5px; border: 1px solid var(--muted); border-radius: 50%; }
.account-avatar:after { content: ''; position: absolute; width: 9px; height: 4px; border: 1px solid var(--muted); border-bottom: 0; border-radius: 6px 6px 0 0; left: 7px; top: 14px; }
.account button { font-size: 11px; margin-left: 6px; }
#content { padding: 31px 32px 20px; max-width: none; margin: 0; }
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-title p { margin-top: 7px; font-size: 12px; }
.page-title button { font-size: 11px; }
#page { min-height: 390px; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--stroke); border-radius: 8px; background: var(--faint); margin-bottom: 31px; overflow: hidden; }
.metric { padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: left; border-radius: 0; min-width: 0; }
.metric+.metric { border-left: 1px solid var(--stroke); }
.metric-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.metric-label svg { width: 16px; height: 16px; }
.metric strong { font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 500; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.metric:hover { background: var(--highlight); }
.overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; }
.overview-block { min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-bottom: 12px; }
.section-head h2 { font-weight: 500; font-size: 13px; }
.section-head .quiet { font-size: 11px; padding-right: 0; min-height: 32px; }
.panel-surface { border: 1px solid var(--stroke); border-radius: 8px; background: var(--faint); overflow: hidden; }
.empty { border: 1px solid var(--stroke); border-radius: 8px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 24px; background: var(--faint); }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--stroke-strong); border-radius: 14px; color: var(--muted); background: var(--highlight); box-shadow: inset 0 1px 0 var(--shine), 0 8px 14px var(--faint); margin-bottom: 21px; }
.empty-icon svg { width: 22px; height: 22px; }
.empty h2 { font-size: 14px; font-weight: 500; }
.empty p { color: var(--muted); font-size: 12px; max-width: 290px; margin-top: 9px; line-height: 1.7; }
.empty button { margin-top: 22px; font-size: 12px; }
.overview-block .empty { min-height: 280px; }
.activity-empty { padding: 30px 26px; min-height: 280px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.activity-empty .empty-icon { width: 37px; height: 37px; border-radius: 11px; margin-bottom: 18px; }
.activity-empty h3 { font-size: 13px; font-weight: 500; margin: 0; }
.activity-empty p { font-size: 12px; color: var(--muted); margin-top: 9px; max-width: 240px; line-height: 1.7; }
.resource-row { display: flex; align-items: center; gap: 14px; padding: 18px; border-bottom: 1px solid var(--stroke); }
.resource-row:last-child { border: 0; }
.resource-row>svg { color: var(--muted); }
.resource-row strong { display: block; font-size: 12px; font-weight: 500; }
.resource-row small { display: block; margin-top: 3px; color: var(--subtle); font: 10px/1.5 var(--mono); }
.resource-row .resource-zone { margin-left: auto; font-size: 10px; padding: 3px 7px; background: var(--highlight); border-radius: 5px; color: var(--muted); }
.activity-list { list-style: none; margin: 0; padding: 4px 20px; }
.activity-list li { position: relative; padding: 16px 0 16px 19px; border-bottom: 1px solid var(--stroke); }
.activity-list li:last-child { border: 0; }
.activity-list li:before { content: ''; width: 5px; height: 5px; background: var(--muted); border-radius: 50%; position: absolute; top: 22px; left: 0; }
.activity-list strong { font-size: 11px; font-weight: 500; display: block; overflow-wrap: anywhere; }
.activity-list p { color: var(--subtle); font-size: 10px; margin-top: 4px; }
.runtime-strip { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--stroke-strong); border-radius: 9px; margin-top: 28px; background: linear-gradient(105deg,var(--highlight),var(--clear)); }
.runtime-strip>svg { color: var(--muted); }
.runtime-strip strong { font-size: 12px; font-weight: 500; }
.runtime-strip p { font-size: 11px; color: var(--subtle); margin-top: 4px; }
.runtime-strip button { margin-left: auto; font-size: 11px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin-bottom: 0; padding: 0 0 13px; }
.catalog-toolbar .section-head { margin: 0; flex: 1; order: -1; }
.catalog-search { width: 230px; min-height: 34px; padding: 7px 11px; font-size: 12px; border-radius: 6px; background: var(--field); }
.table-wrap { width: 100%; overflow: auto; border: 1px solid var(--stroke); border-radius: 7px; background: var(--canvas); scrollbar-width: thin; scrollbar-color: var(--stroke-strong) var(--clear); }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; font-size: 12px; }
th { background: var(--frame); color: var(--muted); font-size: 11px; font-weight: 400; white-space: nowrap; }
th,td { padding: 12px 16px; border-bottom: 1px solid var(--stroke); }
tr:last-child td { border-bottom: 0; }
td { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
tbody tr { transition: background var(--fast); }
tbody tr:hover { background: var(--highlight); }
.mono { white-space: nowrap; font: 11px var(--mono); color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; padding: 3px 7px; border: 1px solid var(--stroke); border-radius: 5px; background: var(--faint); color: var(--success); }
.badge.expired { color: var(--muted); }
.search-empty { padding: 30px; text-align: center; color: var(--muted); border: 1px solid var(--stroke); border-top: 0; border-radius: 0 0 12px 12px; }
.page-foot { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 30px; color: var(--subtle); font-size: 10px; }
.loading { display: flex; align-items: center; gap: 12px; padding: 42px 4px; color: var(--muted); }
.loading:before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--stroke-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin var(--spin) linear infinite; }
#notice:not(:empty), .notice:not(:empty) { color: var(--error); background: var(--faint); border: 1px solid var(--stroke); padding: 12px 16px; border-radius: 9px; margin-bottom: 20px; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 20; background: var(--panel); padding: 12px; }
.skip:focus { top: 16px; }
dialog { color: var(--fg); border-radius: 14px; width: 450px; max-width: calc(100vw - 32px); max-height: calc(100svh - 40px); padding: 29px; }
dialog.glass { background: color-mix(in srgb, var(--frame) 88%, transparent); }
dialog[open] { animation: dialog-enter var(--slow) var(--ease) both; }
dialog::backdrop { background: var(--shadow-heavy); backdrop-filter: blur(8px); animation: opacity-enter var(--normal) var(--ease); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dialog-header h2 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.6px; }
.dialog-header p { font-size: 12px; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.form-note { font-size: 11px; color: var(--muted); margin: 19px 0 24px; }
.notice { margin-top: 12px; }
@keyframes surface-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes glass-arrive { from { opacity: 0; transform: translateY(24px) rotate(-11deg); } to { opacity: 1; transform: translateY(0) rotate(-7deg); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes opacity-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media(min-width:1600px) { .auth-window { width: 1060px; min-height: 570px; }.auth-card { padding: 62px 58px 44px; }.sculpture { max-height: 390px; }#content { padding: 44px 44px 24px; }.topbar { padding: 0 44px; } }
@media(max-width:1100px) { .auth-stage { padding: 18px 28px 30px; }.auth-card { padding: 40px 30px 30px; }.auth-art { padding: 30px; }.art-edition { display: none; }.app-shell { grid-template-columns: 208px minmax(0,1fr); }.overview-grid { gap: 20px; grid-template-columns: minmax(0,1fr) 260px; }#content { padding: 28px 24px 24px; }.topbar { padding: 0 24px; }.metric { padding: 19px 16px; } }
@media(max-width:850px) { .auth-stage { padding: 14px 22px 28px; }.auth-window { grid-template-columns: 1fr 1.1fr; min-height: 540px; }.auth-art { padding: 28px 24px; }.art-title h2 { font-size: 28px; }.art-title p { font-size: 11px; }.auth-card { padding: 36px 26px 28px; }.auth-card h1 { font-size: 25px; }.auth-description { font-size: 12px; }.sculpture-stage { margin-left: -38px; margin-right: -38px; }.overview-grid { grid-template-columns: 1fr; }.activity-empty { min-height: 180px; }.brand small { display: none; }.app-shell { grid-template-columns: 188px minmax(0,1fr); }.metrics { grid-template-columns: repeat(2,1fr); }.metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--stroke); }.metric:nth-child(4) { border-top: 1px solid var(--stroke); }.catalog-toolbar { align-items: stretch; flex-direction: column; }.catalog-search { width: 100%; }.workspace { padding: 12px 8px; gap: 7px; }.workspace strong { font-size: 11px; } }
@media(max-width:640px) {
  .auth-top { padding: 24px; }.auth-brand { font-size: 17px; }.auth-top-label { font-size: 11px; }.auth-stage { padding: 20px 20px 28px; }.auth-window { display: block; max-width: 410px; min-height: 0; border-radius: 22px; }.auth-art { display: none; }.auth-card { padding: 32px 28px 28px; background: linear-gradient(145deg,var(--highlight),var(--glass-dark)); }.auth-card h1 { font-size: 28px; }.auth-emblem { margin-bottom: 22px; }.auth-description { font-size: 13px; }.auth-card form { margin-top: 28px; }.secret-field input { font-size: 12px; }.auth-card .primary { height: 48px; }.login-help { margin-top: 15px; }.login-help summary { min-height: 44px; }.auth-server { margin-top: 23px; }.auth-footer { padding: 15px 24px 22px; font-size: 10px; }
  .app-shell { display: block; margin: 0; min-height: 100svh; }.sidebar { position: relative; top: 0; width: 100%; height: auto; padding: 0 12px; border-right: 0; border-bottom: 1px solid var(--stroke); }.brand { height: 60px; padding: 0 8px; }.brand small { display: inline; font-size: 11px; }.workspace,.sidebar-bottom { display: none; }nav { flex-direction: row; overflow: auto; padding: 0 0 11px; gap: 5px; scrollbar-width: thin; scrollbar-color: var(--stroke-strong) var(--clear); }nav button { width: auto; flex-shrink: 0; min-height: 44px; padding: 8px 13px; font-size: 12px; }nav button svg { display: none; }nav button.active:before,.nav-label { display: none; }.topbar { height: 56px; padding: 0 18px; gap: 10px; }.account { gap: 5px; }.account-avatar { display: none; }.account>span#actor { max-width: 80px; font-size: 10px; }.account button { min-height: 44px; padding: 8px; }.breadcrumb { font-size: 10px; gap: 7px; }#content { padding: 27px 18px 20px; }.page-title { gap: 12px; margin-bottom: 25px; align-items: flex-start; }.page-title h1 { font-size: 26px; }.page-title p { font-size: 12px; line-height: 1.6; }.page-title button { min-width: 44px; min-height: 44px; padding: 10px; }.page-title button span { display: none; }.metrics { margin-bottom: 23px; }.metric { padding: 19px; }.metric-label { font-size: 11px; }.metric strong { font-size: 29px; }.metric-label svg { width: 15px; height: 15px; }.overview-grid { gap: 23px; }.overview-block .empty { min-height: 270px; }.empty { min-height: 280px; padding: 30px 18px; }.empty button,.section-head button { min-height: 44px; }.runtime-strip { gap: 12px; padding: 17px; flex-wrap: wrap; }.runtime-strip div { flex: 1; }.runtime-strip button { margin-left: 30px; min-height: 44px; }.catalog-toolbar .section-head { flex-wrap: wrap; }.catalog-search { min-height: 44px; font-size: 13px; }.page-foot { font-size: 9px; }.activity-empty { min-height: 210px; }dialog { padding: 25px; }.dialog-header button { min-height: 44px; min-width: 44px; }
}
@media(max-width:360px) { .auth-stage { padding: 10px 14px 25px; }.auth-card { padding: 30px 22px 24px; }.secret-field input { font-size: 11px; padding-left: 12px; }.field-icon { display: none; }.auth-card h1 { font-size: 26px; }#content { padding: 24px 14px 20px; }.metric { padding: 17px 14px; }.account>span#actor { display: none; } }
@supports not (backdrop-filter:blur(1px)) { .glass { background: var(--frame); } }
@media(prefers-reduced-transparency:reduce) { .glass { background: var(--frame); backdrop-filter: none; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.sculpture { transform: none; } }

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .auth-art:hover .sculpture { transform: translateY(-7px) rotate(-4deg); }
}
@media (min-width:641px) and (max-height:790px) {
  .auth-top { padding-top:20px; padding-bottom:20px; }
  .auth-stage { padding-top:8px; padding-bottom:18px; }
  .auth-window { min-height:510px; }
  .auth-card { padding-top:32px; padding-bottom:28px; }
  .sculpture { max-height:280px; }
  .sculpture-stage { min-height:240px; }
  .art-title h2 { font-size:30px; }
  .auth-footer { padding-top:14px; padding-bottom:18px; }
}

.auth-window::before { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background-image:url('/grain.svg'); opacity:.025; }


/* Data and controls share the compact rhythm of the reference. */
.page-title h1 { font-size: 26px; font-weight: 600; letter-spacing: -.7px; }
.catalog-toolbar>button { flex-shrink: 0; min-height: 34px; padding: 7px 12px; border-radius: 6px; font-size: 12px; }
.catalog-toolbar h2 { font-size: 12px; color: var(--muted); }
.catalog-toolbar h2 strong { color: var(--fg); font-weight: 500; }
.table-identity { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.table-identity svg { width: 15px; height: 15px; color: var(--subtle); flex: 0 0 auto; }
.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; color: var(--subtle); font-size: 11px; }
.overview-block .table-wrap table { min-width: 460px; }
.zone { display: inline-block; padding: 2px 7px; border: 1px solid var(--stroke-strong); border-radius: 4px; color: var(--muted); font: 10px/1.6 var(--mono); }
.account-menu { position: relative; }
.account-menu>summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 4px 8px; border: 1px solid var(--stroke-strong); border-radius: 7px; background: linear-gradient(130deg,var(--highlight),var(--faint)); }
.account-menu>summary::-webkit-details-marker { display: none; }
.account-menu>summary::after { content: ''; height: 5px; width: 5px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); margin: -3px 1px 0 5px; }
.account-menu[open]>summary { border-color: var(--rim); }
.account-menu .account-popover { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; border-radius: 10px; padding: 8px; z-index: 20; animation: dialog-enter var(--normal) var(--ease); }
.account-popover p { font-size: 11px; color: var(--subtle); padding: 7px 10px 10px; border-bottom: 1px solid var(--stroke); margin-bottom: 5px; }
.account-popover button { width: 100%; margin: 0; justify-content: flex-start; padding: 9px 10px; }
#actor { max-width: 130px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.account-avatar { width: 23px; height: 23px; }
.account-avatar:before { left: 8px; }
.account-avatar:after { left: 6px; }
.brand-tag { border: 1px solid var(--stroke-strong); padding: 2px 5px; border-radius: 4px; font-size: 9px; font-weight: 400; color: var(--subtle); letter-spacing: 0; margin-left: auto; }
.overview-heading-note { color: var(--subtle); font-size: 11px; margin: -4px 0 14px; }
@media(max-width:850px) { .overview-grid { grid-template-columns: 1fr; }.catalog-toolbar { flex-direction: row; flex-wrap: wrap; }.catalog-toolbar .section-head { flex-basis: 100%; }.catalog-search { flex: 1; min-width: 160px; }.account-menu>summary { min-height: 38px; } }
@media(max-width:640px) { .catalog-toolbar>button,.catalog-search { min-height: 44px; }.catalog-search { width: 100%; font-size: 16px; }.account-menu>summary { min-height: 44px; }.account-menu .account-popover { min-width: 205px; }.account-popover button { min-height: 44px; }.page-title h1 { font-size: 25px; }.brand-tag { display: none; }.token-label button { min-height: 44px; } }
@supports not (backdrop-filter:blur(1px)) { .sidebar { background: var(--frame); } }
@media(prefers-reduced-transparency:reduce) { .sidebar { background: var(--frame); backdrop-filter: none; } }
