﻿@font-face { font-family: Orbitron; src: url('/static/fonts/orbitron.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Rajdhani; src: url('/static/fonts/rajdhani-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Rajdhani; src: url('/static/fonts/rajdhani-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/static/fonts/jetbrains-mono.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }
:root {
  color-scheme: dark;
  --background: #0b0507;
  --panel: #210910;
  --border: #8b0015;
  --accent: #ff1744;
  --text: #ffffff;
  --muted: #c5a9b1;
  --line: #3c1924;
  --heading: Orbitron, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  font-family: Rajdhani, system-ui, sans-serif;
  font-weight: 600;
  background: var(--background);
  color: var(--text);
  scroll-padding-top: 2rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
button, input { font: inherit; }
a { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--background); }
.skip-link { position: fixed; top: -8rem; left: 1rem; padding: 1rem; background: var(--panel); border: 1px solid var(--accent); z-index: 10; }
.skip-link:focus { top: 1rem; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--heading); font-size: clamp(1.35rem, 4.3vw, 1.9rem); font-weight: 700; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: anywhere; }
.accent { color: var(--accent); }
.muted { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.technical, .eyebrow { font-family: var(--mono); font-weight: 400; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .62rem; letter-spacing: .09em; line-height: 1.6; color: var(--muted); }
.accent-line { display: inline-block; width: 21px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 48px; flex-shrink: 0; }
.brand-mark { width: 37px; height: 37px; color: var(--accent); }
.brand-type { font-family: var(--heading); font-size: .9rem; font-weight: 800; letter-spacing: .1em; }
.brand-type > span { display: block; font-family: var(--mono); color: var(--muted); font-weight: 400; font-size: .48rem; letter-spacing: .17em; margin-top: .35rem; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--accent); box-shadow: 0 0 0 4px #ff174415; flex: 0 0 auto; animation: status-glow 3s ease-in-out infinite; }
@keyframes status-glow { 50% { box-shadow: 0 0 0 5px #ff174408, 0 0 12px #ff17444d; } }
.auth-page { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(ellipse at 10% 40%, #8b001514, transparent 60%); }
.auth-page::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#8b00150d 1px, transparent 1px), linear-gradient(90deg, #8b00150d 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; }
.auth-header, .auth-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.auth-header { border-bottom: 1px solid #3c192480; }
.private-label { display: none; align-items: center; gap: .6rem; color: var(--muted); font: .6rem var(--mono); letter-spacing: .08em; }
.private-label .icon { width: 15px; height: 15px; color: var(--accent); }
.auth-layout { position: relative; display: grid; align-items: center; padding: 2rem 1rem; width: 100%; max-width: 1280px; margin: auto; }
.auth-hero { display: none; }
.login-card { width: 100%; max-width: 440px; margin: auto; padding: 1.4rem; background: linear-gradient(140deg, #210910eb, #12090de8); border: 1px solid #5a1c2b; border-radius: 4px; position: relative; box-shadow: 0 18px 70px #0005; }
.login-card::before, .login-card::after { content: ''; position: absolute; pointer-events: none; width: 25px; height: 25px; }
.login-card::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); border-top-left-radius: 4px; }
.login-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); border-bottom-right-radius: 4px; }
.card-topline, .card-bottomline { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.card-topline { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.card-topline .eyebrow { margin: 0; font-size: .56rem; }
.card-topline .technical { color: var(--accent); font-size: .6rem; }
.login-symbol { width: 52px; height: 52px; display: grid; place-items: center; margin: 1.6rem 0; border: 1px solid #8b001580; background: #ff174408; color: var(--accent); border-radius: 3px; }
.login-symbol .icon { width: 31px; height: 31px; }
.login-welcome { font-size: .57rem; margin-bottom: .6rem; }
.login-card h1 { font-size: clamp(1.3rem, 5vw, 1.65rem); margin-bottom: .4rem; }
.login-card > .muted { margin-bottom: 0; }
.stack { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.field { display: grid; gap: .55rem; min-width: 0; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
label { font-size: 1rem; }
.field-hint { font: .5rem var(--mono); letter-spacing: .08em; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: .9rem; top: 17px; width: 19px; height: 19px; color: #a47180; pointer-events: none; }
input { width: 100%; min-height: 54px; padding: .8rem 1rem .8rem 2.7rem; color: var(--text); background: #0b0507a6; border: 1px solid #5d303f; border-radius: 3px; font-size: 1rem; transition: border-color .2s, background .2s; }
input::placeholder { color: #b38b98; }
input:focus { border-color: var(--accent); background: var(--background); }
.password-wrap input { padding-right: 3.3rem; }
.password-toggle { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 48px; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--muted); border-radius: 2px; }
.password-toggle[aria-pressed='true'] { color: var(--accent); }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; padding: .8rem 1rem; background: var(--accent); color: var(--background); border: 1px solid var(--accent); border-radius: 3px; font-size: 1.1rem; font-weight: 700; box-shadow: 0 5px 25px #ff174422; transition: background .2s, box-shadow .2s; }
.login-note { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); margin-top: 1.3rem; font-size: .85rem; }
.login-note .icon { width: 15px; height: 15px; color: var(--accent); }
.card-bottomline { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font: .45rem var(--mono); letter-spacing: .02em; color: var(--muted); }
.auth-footer { flex-wrap: wrap; color: #b38b98; font: .47rem var(--mono); letter-spacing: .08em; border-top: 1px solid #3c192480; }
.workspace { max-width: 1920px; margin: auto; display: grid; grid-template-areas: 'header' 'sidebar' 'main'; }
.workspace-header { grid-area: header; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: #10080c; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.breadcrumb, .access-badge { display: none; }
.secondary { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem 1rem; background: #21091066; color: var(--text); border: 1px solid #663041; border-radius: 3px; font-weight: 600; font-size: 1rem; transition: background .2s, border-color .2s; }
.logout-button .icon { width: 18px; height: 18px; color: var(--accent); }
.nav-toggle { width: 48px; padding: .7rem; flex: 0 0 48px; }
.nav-toggle[aria-expanded='true'] { border-color: var(--accent); color: var(--accent); background: var(--panel); }
.sidebar { grid-area: sidebar; border-bottom: 1px solid var(--line); background: #10080c; min-width: 0; }
.sidebar-brand, .nav-label, .sidebar-bottom { display: none; }
.navigation { display: flex; flex-direction: column; gap: .5rem; padding: .65rem 1rem; }
.navigation a { display: flex; align-items: center; justify-content: flex-start; gap: .7rem; flex: 1; min-height: 48px; padding: .7rem .8rem; color: var(--muted); text-decoration: none; border: 1px solid transparent; border-radius: 3px; white-space: nowrap; }
.navigation .icon { width: 18px; height: 18px; }
.navigation a { font-size: .95rem; }
.navigation a[aria-current='page'] { color: var(--text); background: linear-gradient(90deg, #8b001534, #8b001510); border-color: #8b00157a; }
.navigation a[aria-current='page'] > .icon { color: var(--accent); }
.nav-index { display: none; }
.content { grid-area: main; min-width: 0; padding: 1.7rem 1rem 0; }
.welcome-section { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.welcome-section h1 { font-size: clamp(1.2rem, 4.3vw, 1.65rem); margin-bottom: .5rem; }
.welcome-section h1 > span { color: var(--accent); }
.welcome-section .muted { margin-bottom: 0; font-size: 1rem; }
.workspace-tag { display: none; }
.welcome-banner { position: relative; overflow: hidden; min-width: 0; background: radial-gradient(ellipse at 100% 100%, #8b00155c, transparent 80%), linear-gradient(110deg, #210910, #14090f); border: 1px solid #6c2032; border-left: 3px solid var(--accent); border-radius: 4px; }
.banner-effects { position: absolute; inset: 0; pointer-events: none; }
.banner-effects::before { content: ''; position: absolute; inset: -32px; background-image: linear-gradient(90deg, #ff174410 1px, transparent 1px), linear-gradient(#ff174410 1px, transparent 1px); background-size: 32px 32px; animation: banner-grid-drift 20s linear infinite; }
.banner-effects::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, #ff17440c 49%, #ff174459 50%, transparent 50.4%, transparent 54%); transform: translate3d(0, -100%, 0); animation: banner-scan 9s linear infinite; }
.banner-border { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 4px #ff174466); }
.banner-border rect { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 86; animation: banner-border-trace 8s linear infinite; }
.banner-copy { position: relative; padding: 1.6rem 1.3rem; z-index: 1; }
.banner-orbit { animation: banner-core-orbit 28s linear infinite; }
.banner-orbit::before { content: ''; position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px #ff17448c; }
.banner-orbit::after { animation: banner-core-orbit 18s linear infinite reverse; }
@keyframes banner-grid-drift { to { transform: translate3d(32px, 32px, 0); } }
@keyframes banner-scan { 0%, 100% { opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translate3d(0, 100%, 0); } }
@keyframes banner-border-trace { to { stroke-dashoffset: -100; } }
@keyframes banner-core-orbit { to { transform: rotate(1turn); } }
.banner-copy .eyebrow { font-size: .5rem; margin-bottom: 1rem; }
.banner-copy h2 { font-family: var(--heading); font-weight: 800; font-size: clamp(1.3rem, 5vw, 2.2rem); line-height: 1.5; letter-spacing: -.015em; margin-bottom: 1rem; }
.banner-copy h2 span { color: var(--accent); }
.banner-copy p { color: var(--muted); line-height: 1.5; font-size: 1rem; margin-bottom: .8rem; overflow-wrap: anywhere; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; text-decoration: none; font-weight: 700; font-size: 1rem; }
.text-link .icon { width: 19px; height: 19px; color: var(--accent); }
.banner-art { display: none; }
.banner-number { position: absolute; bottom: -.6rem; right: 1rem; font: 800 7rem var(--heading); color: #ff174408; pointer-events: none; }
.status-grid { display: grid; gap: .85rem; margin-top: 1.25rem; }
.status-card { min-width: 0; position: relative; padding: 1.25rem; border: 1px solid var(--line); background: linear-gradient(125deg, #21091070, #130a0f); border-radius: 4px; }
.status-card::after { content: ''; position: absolute; right: 0; bottom: 0; width: 16px; height: 2px; background: var(--border); }
.metric-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.15rem; }
.metric-icon { display: grid; place-items: center; color: var(--accent); width: 36px; height: 36px; background: #8b00151c; border: 1px solid #8b00154d; border-radius: 3px; }
.metric-icon .icon { width: 21px; height: 21px; }
.metric-index { font-size: .52rem; color: var(--muted); }
.status-card h2 { font-size: 1rem; font-weight: 600; color: var(--muted); margin: 0 0 .4rem; }
.status-card p { font-family: var(--heading); font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; overflow-wrap: anywhere; }
.status-card .owner-id { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; }
.metric-indicator { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; vertical-align: middle; margin-left: .6rem; }
.metric-description { color: var(--muted); font-size: .9rem; }
.access-section { margin-top: 2rem; scroll-margin-top: 1.5rem; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-heading .eyebrow { font-size: .55rem; margin-bottom: .4rem; }
.section-heading h2 { font-family: var(--heading); font-size: 1rem; font-weight: 700; margin: 0; }
.section-icon { color: var(--muted); }
.access-grid { display: grid; gap: 1rem; }
.terminal-panel { background: #10080c; border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.terminal-header { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: #21091070; border-bottom: 1px solid var(--line); font: .6rem var(--mono); color: var(--muted); }
.terminal-header > .icon { width: 16px; height: 16px; margin-left: auto; }
.terminal-dots { display: flex; gap: 4px; }
.terminal-dots i { display: inline-block; width: 5px; height: 5px; background: #7a3749; border-radius: 50%; }
.terminal-dots i:first-child { background: var(--accent); }
.terminal-data { margin: 0; padding: 1.1rem; font: .75rem/1.8 var(--mono); }
.terminal-data > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .5rem; padding: .35rem 0; }
.terminal-data dt { display: flex; align-items: center; gap: .4rem; color: var(--muted); }
.terminal-data dt .icon { width: 15px; height: 15px; color: var(--accent); }
.terminal-data dd { margin: 0; overflow-wrap: anywhere; }
.terminal-cursor { animation: cursor-blink 1.5s steps(2) infinite; }
@keyframes cursor-blink { to { opacity: .2; } }
.access-note { padding: 1.25rem; border: 1px solid var(--line); background: #21091026; border-radius: 4px; }
.note-icon { display: block; color: var(--accent); margin-bottom: .7rem; }
.access-note h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.access-note p { font-size: .95rem; line-height: 1.6; color: var(--muted); margin-bottom: 0; }
.note-divider { height: 1px; background: var(--line); margin: 1rem 0; }
.note-tip { display: flex; align-items: flex-start; gap: .65rem; }
.note-tip .icon { width: 17px; height: 17px; margin-top: 3px; }
.workspace-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; padding: 1.5rem 0; margin-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font: .48rem var(--mono); letter-spacing: .06em; }
.action-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.welcome-section > .action-link { flex-shrink: 0; }
.account-grid { display: grid; gap: 1rem; }
.account-card, .operation-card { border: 1px solid var(--line); background: linear-gradient(125deg, #21091070, #130a0f); border-radius: 4px; padding: 1.25rem; min-width: 0; }
.account-card-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.account-badge { display: inline-flex; align-items: center; gap: .4rem; font: .55rem var(--mono); color: var(--accent); }
.account-badge .icon { width: 16px; height: 16px; }
.account-card h2, .operation-card h2 { font-family: var(--heading); font-weight: 700; font-size: 1.05rem; line-height: 1.6; overflow-wrap: anywhere; }
.account-card h3, .welcome-section .muted, .job-history-card h3 { overflow-wrap: anywhere; }
.invite-preview { overflow-wrap: anywhere; padding-left: 1.5rem; line-height: 1.8; }
.invite-options { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .75rem; }
.invite-options legend { padding: 0; margin-bottom: .75rem; }
.invite-account-picker { display: grid; gap: .75rem; max-height: 18rem; overflow-y: auto; padding: .75rem; border: 1px solid var(--line); }
.invite-account-picker .checkbox-label { min-height: 48px; overflow-wrap: anywhere; }
.invite-account-picker .checkbox-label span { min-width: 0; }
.invite-sender { overflow-wrap: anywhere; }
.setup-message { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); background: var(--background); font: 400 .9rem/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.account-phone { font-size: .85rem; overflow-wrap: anywhere; color: var(--muted); }
.account-details { margin-block: 1.25rem; font-size: .95rem; }
.account-details > div { display: flex; justify-content: space-between; gap: 1rem; margin-block: .65rem; }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.account-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.account-actions { padding-top: 1rem; border-top: 1px solid var(--line); }
.account-actions .secondary { font-size: .9rem; }
.danger-link { color: #ff8099; }
.danger-link .icon { width: 18px; height: 18px; }
.empty-state { padding: 2rem 1.5rem; border: 1px dashed var(--border); background: var(--panel); text-align: center; }
.empty-state .login-symbol { margin: 0 auto 1rem; }
.empty-state h2 { font: 700 1.2rem/1.6 var(--heading); }
.empty-state .muted { max-width: 34rem; margin-inline: auto; }
.login-workspace { display: grid; gap: 1.25rem; }
.operation-card .error { margin-top: 0; margin-bottom: 1rem; }
.operation-card > .login-symbol { margin-top: 1rem; }
.operation-card > h2 .icon { margin-right: .5rem; vertical-align: middle; color: var(--accent); }
.operation-card > form + .form-actions { margin-top: 1rem; }
.proxy-inline-form { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; }
.proxy-inline-form .field { flex: 1 1 16rem; min-width: 0; }
.operation-card .primary { width: 100%; }
.operation-card .form-actions .primary { width: auto; }
.confirmation-card { max-width: 42rem; }
.checkbox-label { display: flex; align-items: center; gap: .8rem; cursor: pointer; line-height: 1.5; }
.checkbox-label input { width: 22px; min-height: 22px; flex-shrink: 0; accent-color: var(--accent); }
textarea { width: 100%; max-width: 100%; padding: .9rem; font: 400 1rem/1.6 var(--mono); background: var(--background); color: var(--text); border: 1px solid #a36677; border-radius: 3px; resize: vertical; }
textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
textarea::placeholder { color: #b38b98; }
.plain-input { padding: .8rem 1rem; }
select { width: 100%; min-width: 0; min-height: 54px; padding: .8rem; color: var(--text); background: var(--background); border: 1px solid #a36677; border-radius: 3px; font: 600 1rem Rajdhani, sans-serif; }
select:not([multiple]):not([size]), select[size='1']:not([multiple]) { appearance: none; padding-inline: 1rem 3rem; background-image: url('/static/chevron-down.svg'); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.125rem; }
select:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
@media (forced-colors: active) { select:not([multiple]):not([size]), select[size='1']:not([multiple]) { appearance: auto; background-image: none; padding-inline-end: 1rem; } }
input[type='file'] { max-width: 100%; font-size: 1rem; }
.filter-methods { color: var(--muted); line-height: 1.7; }
.filter-methods dt { color: var(--text); margin-top: 1rem; }
.filter-methods dd { margin-left: 0; }
.filter-counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: 1.25rem; }
.filter-counters > div { padding: 1rem; border: 1px solid var(--line); background: var(--panel); border-radius: 4px; }
.filter-counters dt { color: var(--muted); font-size: .9rem; }
.filter-counters dd { margin: .7rem 0 0; font-size: 1.3rem; overflow-wrap: anywhere; }
.filter-downloads { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1rem; }
.filter-downloads a { text-decoration: none; overflow-wrap: anywhere; }
.filter-timing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: 1.2rem; }
.filter-timing > div { min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.filter-timing dt { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
.filter-timing dt .icon { width: 16px; height: 16px; }
.filter-timing dd { margin: .6rem 0 0; font-size: .85rem; overflow-wrap: anywhere; }
@media (min-width: 40rem) { .filter-counters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.otp-input { font-family: var(--mono); letter-spacing: .3em; }
.field-help { font-size: .9rem; }
.queue-skip, .queue-cancel { margin-top: 1rem; }
.queue-skip button, .queue-cancel button { width: 100%; }
.queue-cancel { padding-top: 1rem; border-top: 1px solid var(--line); }
.account-instructions { padding: 1.2rem .3rem; min-width: 0; }
.account-instructions h2 { font: 700 1rem/1.6 var(--heading); }
.account-instructions ol { padding-left: 1.4rem; line-height: 1.8; color: var(--muted); }
.account-instructions .muted { font-size: .95rem; }
.queue-results { padding: 0; list-style: none; }
.queue-results li { display: flex; align-items: flex-start; gap: .7rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.queue-results .icon { color: var(--accent); width: 18px; height: 18px; }
.queue-results .technical { font-size: .75rem; overflow-wrap: anywhere; }
.queue-results p { margin: .3rem 0 0; color: var(--muted); }
.account-task-toolbar { padding: 1.25rem; margin-bottom: 1.25rem; background: #21091055; border: 1px solid var(--line); border-radius: 4px; }
.account-task-toolbar .field-help { margin: .8rem 0 0; }
.account-operation-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.account-operation-buttons .secondary { font-size: .95rem; }
.job-history { display: grid; gap: .85rem; }
.job-history-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 4px; background: #21091055; text-decoration: none; }
.job-history-card > div { flex: 1 1 8rem; min-width: 0; }
.job-history-card h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.job-history-card p { margin: 0; color: var(--muted); }
.job-history-card > .icon { color: var(--accent); }
.job-state { display: inline-flex; align-items: center; min-height: 32px; padding: .3rem .6rem; font: 400 .65rem/1.5 var(--mono); border: 1px solid #80505f; color: var(--text); border-radius: 3px; white-space: nowrap; }
.job-state[data-state='running'], .job-state[data-state='queued'], .job-state[data-state='stopping'] { border-color: var(--accent); color: #ff829b; }
.job-state[data-state='failed'], .job-state[data-state='interrupted'] { background: #8b001533; border-color: #c56378; }
.job-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.job-heading h2, .job-heading h3 { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: 1rem; overflow-wrap: anywhere; min-width: 0; }
.job-heading h2 .icon { color: var(--accent); }
.progress-row { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; }
.progress-row progress { display: block; flex: 1; width: 0; min-width: 0; height: 10px; accent-color: var(--accent); border: 0; border-radius: 2px; overflow: hidden; background: var(--background); }
.progress-row progress::-webkit-progress-bar { background: var(--background); }
.progress-row progress::-webkit-progress-value { background: var(--accent); }
.progress-row progress::-moz-progress-bar { background: var(--accent); }
.progress-row output { font: .8rem var(--mono); min-width: 3rem; text-align: right; }
.job-monitor .poll-status { font-size: .85rem; }
.job-results { margin-top: 2rem; }
.job-result { margin-bottom: 1rem; }
.health-conclusion { font: 700 1rem/1.6 var(--heading); color: var(--text); overflow-wrap: anywhere; }
.health-checks, .activity-logs { padding: 0; list-style: none; margin-bottom: 0; }
.health-checks li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.health-checks h4 { margin: 0 0 .3rem; font-size: 1.05rem; }
.health-checks li > div { min-width: 0; }
.health-checks p { color: var(--muted); margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.check-status { min-width: 4.2rem; text-align: center; font: .6rem var(--mono); padding: .5rem .4rem; border: 1px solid #80505f; border-radius: 3px; }
.check-status[data-check='WARN'], .check-status[data-check='FAIL'] { border-color: var(--accent); color: #ff829b; }
.activity-logs li { padding: .8rem 0; border-top: 1px solid var(--line); font: .75rem/1.8 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.generator-workspace { display: grid; gap: 1.3rem; margin-top: 1.5rem; }
.generator-results { margin-bottom: 2rem; }
.generator-results .section-heading { flex-wrap: wrap; gap: 1rem; }
.generator-results .primary { font-size: 1rem; }
.generator-summary { display: grid; gap: .75rem; margin: 1rem 0; }
.generator-summary > div { padding: 1rem; border: 1px solid var(--line); border-radius: 3px; background: #21091055; min-width: 0; }
.generator-summary dt { color: var(--muted); font-size: .95rem; }
.generator-summary dd { margin: .45rem 0 0; font: 700 1.4rem var(--heading); overflow-wrap: anywhere; }
.generator-summary .technical { font: 500 .9rem var(--mono); }
.preview-panel { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.preview-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem; background: #21091070; border-bottom: 1px solid var(--line); }
.preview-heading h3 { font-size: 1rem; margin: 0; }
.preview-heading .technical { font-size: .55rem; color: var(--muted); }
.preview-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.preview-table .number-column { width: 50%; }
.preview-table .country-column { width: 18%; }
.preview-table .operator-column { width: 32%; }
.preview-table th, .preview-table td { padding: .75rem .6rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.preview-table th { font-size: .8rem; color: var(--muted); background: #21091038; }
.preview-table td { font-size: .9rem; }
.preview-table td.technical { font-size: .75rem; }
.preview-table tbody tr:last-child td { border-bottom: 0; }
.preview-table tbody tr:nth-child(even) { background: #21091026; }
.generator-history { margin-top: 2rem; }
.generated-history-list { display: grid; gap: .75rem; }
.generated-history-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; background: #21091038; }
.generated-history-card > div { min-width: 0; flex: 1; }
.generated-history-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.generated-history-card p { margin: 0; color: var(--muted); font-size: .65rem; overflow-wrap: anywhere; }
.generated-history-card > .icon { width: 17px; height: 17px; color: var(--accent); }
@media (min-width: 40rem) { .generator-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .generator-workspace { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; } }
@media (max-width: 39.99rem) { .logout-button { width: 48px; padding: .7rem; } .logout-button > span { display: none; } }
@media (max-width: 39.99rem) { .welcome-section { flex-wrap: wrap; } }
@media (min-width: 48rem) { .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .login-workspace { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; } .operation-card { padding: 1.75rem; } }
@media (min-width: 40rem) {
  .private-label { display: flex; }
  .auth-header, .auth-footer { padding: 1.5rem 2rem; }
  .auth-layout { padding: 3rem 2rem; }
  .login-card { padding: 2rem; }
  .content { padding: 2rem 1.6rem 0; }
  .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .status-card { padding: 1.15rem; }
  .status-card .owner-id { font-size: clamp(1.1rem, 2.3vw, 1.5rem); }
  .access-badge { display: inline-flex; align-items: center; gap: .6rem; font: .58rem var(--mono); color: var(--muted); }
  .welcome-banner { display: grid; grid-template-columns: minmax(0, 1fr) 220px; }
  .banner-copy { padding: 1.8rem; }
  .banner-art { position: relative; display: grid; place-items: center; align-content: center; }
  .banner-art img { width: 150px; height: 150px; filter: drop-shadow(0 0 18px #ff174433); position: relative; }
  .banner-art > span { position: relative; color: var(--muted); font-size: .48rem; letter-spacing: .08em; margin-top: 1rem; }
  .banner-orbit { position: absolute; width: 210px; height: 210px; border: 1px solid #8b001590; border-radius: 50%; }
  .banner-orbit::after { content: ''; position: absolute; inset: 12px; border: 1px dashed #ff17443d; border-radius: 50%; }
}
@media (min-width: 64rem) {
  .auth-header, .auth-footer { padding-inline: 3rem; }
  .auth-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; padding-block: 2.5rem; }
  .auth-hero { display: block; }
  .auth-hero h2 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.55 var(--heading); letter-spacing: -.03em; margin: 1.2rem 0 .8rem; }
  .auth-hero h2 > span { color: var(--accent); }
  .hero-copy { font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
  .hero-art { position: relative; width: 350px; height: 305px; display: grid; place-items: center; margin: .6rem 0 1rem; }
  .hero-art img { width: 210px; height: 210px; position: relative; filter: drop-shadow(0 0 24px #ff174426); }
  .orbit { position: absolute; width: 285px; height: 285px; border-radius: 50%; }
  .orbit-one { border: 1px solid #8b001570; }
  .orbit-two { width: 315px; height: 315px; border: 1px dashed #8b00154d; transform: rotate(-25deg); }
  .orbit-one::before { content: ''; position: absolute; inset: 20px; border: 1px solid #8b00154d; border-radius: 50%; }
  .orbit-label { position: absolute; color: var(--muted); font: .45rem var(--mono); letter-spacing: .14em; background: var(--background); padding: .35rem .7rem; z-index: 1; }
  .orbit-label-top { top: -2px; }
  .orbit-label-bottom { bottom: -2px; }
  .art-cross { position: absolute; color: var(--accent); font: 1rem var(--mono); }
  .cross-one { left: 15px; top: 45px; }
  .cross-two { right: 15px; bottom: 50px; }
  .hero-caption { display: flex; align-items: center; gap: .8rem; font: .48rem var(--mono); color: var(--muted); letter-spacing: .04em; padding-top: 1rem; }
  .caption-separator { color: var(--accent); }
  .login-card { max-width: 430px; }
  .login-symbol { margin-block: 2rem 1.6rem; }
  .login-card h1 { font-size: 1.6rem; }
  .workspace { grid-template-columns: 224px minmax(0, 1fr); grid-template-rows: 84px 1fr; grid-template-areas: 'sidebar header' 'sidebar main'; min-height: 100vh; }
  .sidebar { border-right: 1px solid var(--line); border-bottom: 0; display: flex; flex-direction: column; padding: 1.5rem 1rem; position: sticky; top: 0; height: 100vh; }
  .sidebar-brand { display: flex; padding: 0 .35rem; margin-bottom: 3rem; }
  .nav-label { display: block; color: var(--muted); font-size: .5rem; letter-spacing: .14em; padding-left: .8rem; margin-bottom: .8rem; }
  .navigation { flex-direction: column; padding: 0; gap: .6rem; }
  .navigation a { justify-content: flex-start; gap: .7rem; padding: .8rem; font-size: 1.05rem; }
  .navigation a[aria-current='page'] { border-left: 2px solid var(--accent); }
  .nav-index { display: inline; margin-left: auto; font: .5rem var(--mono); color: var(--muted); }
  .sidebar-bottom { display: block; margin-top: auto; padding-top: 2rem; }
  .sidebar-status { display: flex; align-items: center; gap: .55rem; color: var(--muted); font: .45rem var(--mono); padding: 1rem .5rem; border-bottom: 1px solid var(--line); }
  .sidebar-user { display: flex; align-items: center; gap: .6rem; padding: 1rem .3rem 0; min-width: 0; }
  .sidebar-user > div { min-width: 0; }
  .sidebar-user strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
  .sidebar-user div > span { display: block; color: var(--muted); font-size: .8rem; }
  .sidebar-user > .icon { width: 18px; height: 18px; color: var(--muted); margin-left: auto; }
  .avatar { display: grid; place-items: center; flex: 0 0 32px; height: 32px; font: 700 .8rem var(--heading); color: var(--accent); background: var(--panel); border: 1px solid var(--border); border-radius: 3px; }
  .avatar .icon { width: 20px; height: 20px; }
  .mobile-brand { display: none; }
  .workspace-header { padding-inline: 2rem; }
  .header-actions { gap: 1.2rem; }
  .breadcrumb { display: flex; align-items: center; gap: .7rem; font: .6rem var(--mono); color: var(--muted); }
  .breadcrumb strong { color: var(--text); font-weight: 400; }
  .breadcrumb .icon { width: 12px; height: 12px; }
  .content { padding: 2rem 2rem 0; }
  .welcome-section { margin-bottom: 1.7rem; }
  .welcome-banner { grid-template-columns: minmax(0, 1fr) 240px; }
  .status-grid { gap: 1.1rem; }
  .status-card { padding: 1.3rem; }
  .access-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .terminal-data { padding: 1.3rem; font-size: .75rem; }
  .terminal-data > div { padding: .5rem 0; }
}
@media (min-width: 80rem) {
  .content { padding: 2.2rem 2.5rem 0; }
  .workspace-header { padding-inline: 2.5rem; }
  .workspace-tag { display: inline-flex; align-items: center; gap: .6rem; font-size: .5rem; color: var(--muted); }
  .workspace-tag .icon { width: 16px; height: 16px; }
  .banner-copy { padding: 2rem 2.2rem; }
  .welcome-banner { grid-template-columns: minmax(0, 1fr) 330px; }
  .banner-art img { width: 185px; height: 185px; }
  .banner-orbit { width: 260px; height: 260px; }
}
@media (hover: hover) {
  .primary:hover { background: #ff4267; box-shadow: 0 5px 35px #ff174438; }
  .secondary:hover { border-color: var(--accent); background: var(--panel); }
  .password-toggle:hover, .text-link:hover { color: var(--accent); }
  .navigation a:hover { color: var(--text); background: #8b00151c; }
}
.notice-modal { color: var(--text); background: var(--panel); border: 1px solid var(--accent); border-radius: 12px; padding: 1.5rem; width: min(28rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; box-shadow: 0 0 60px #ff174421; overflow-wrap: anywhere; }
.notice-modal[open] { display: grid; gap: .8rem; margin: 1rem auto; position: relative; }
.notice-modal:modal { position: fixed; margin: auto; }
.notice-modal::backdrop { background: #0b0507dc; backdrop-filter: blur(6px); }
.notice-symbol { width: 3rem; height: 3rem; display: grid; place-items: center; background: #8b001540; color: var(--accent); border: 1px solid var(--border); border-radius: 8px; }
.notice-symbol .icon { width: 1.5rem; height: 1.5rem; }
.notice-modal h2 { font: 700 1.15rem/1.5 var(--heading); margin: 0; }
.notice-modal p { margin: 0; line-height: 1.6; }
.notice-modal form, .notice-modal button { width: 100%; }
.notice-modal button { justify-content: center; }
.error-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: 1.5rem 1rem; background: radial-gradient(ellipse at 50% 40%, #8b001528, transparent 65%); text-align: center; }
.error-brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; }
.error-card { width: min(100%, 40rem); padding: clamp(1.2rem, 5vw, 3rem); border: 1px solid var(--border); border-radius: 12px; background: #210910a6; overflow-wrap: anywhere; box-shadow: 0 20px 80px #0005; }
.error-code { font: 900 clamp(4.5rem, 20vw, 9rem)/1.2 var(--heading); color: var(--accent); text-shadow: 3px 0 #8b0015, 0 0 40px #ff174433; letter-spacing: -.06em; }
.error-card h1 { font: 700 clamp(1.15rem, 4vw, 1.6rem)/1.5 var(--heading); }
.error-card > p:not(.eyebrow) { line-height: 1.6; color: var(--muted); }
.error-status, .error-footer { font: .6rem/1.8 var(--mono); letter-spacing: .12em; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.error-actions > a { flex: 1 1 13rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
