:root {
  color-scheme: dark;
  --bg: #060817;
  --panel: rgba(12, 15, 37, .72);
  --panel-raised: rgba(21, 25, 55, .68);
  --line: rgba(169, 180, 255, .16);
  --line-bright: rgba(223, 228, 255, .34);
  --text: #f8f7ff;
  --muted: #9da4c6;
  --accent: #9aa8ff;
  --cyan: #70e7ff;
  --pink: #ff78be;
  --violet: #8d6bff;
  --good: #57e6ac;
  --warn: #ffc46b;
  --bad: #ff7289;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(82, 72, 203, .28), transparent 36rem),
    radial-gradient(circle at 5% 45%, rgba(255, 74, 175, .09), transparent 28rem),
    linear-gradient(145deg, #070918 0%, #090b20 42%, #050713 100%);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid rgba(150, 221, 255, .72); outline-offset: 2px; }
[hidden] { display: none !important; }
.ambient { position: fixed; z-index: -2; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(100px); opacity: .13; pointer-events: none; }
.ambient-a { top: 9%; left: -12rem; background: #fe5bad; }
.ambient-b { right: -11rem; bottom: 7%; background: #5367ff; }
.dashboard-shell { min-height: 100vh; padding: 18px; transition: opacity .42s ease, transform .42s cubic-bezier(.2,.8,.2,1), filter .42s ease; }
body.booting { overflow: hidden; }
body.booting .dashboard-shell { opacity: .45; transform: scale(.994); filter: blur(4px); }
.glass-frame {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(25, 28, 63, .68), rgba(9, 12, 31, .72));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 20px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(24px) saturate(140%);
}
.app-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1660px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 20px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-lockup > span:last-child { display: grid; gap: 3px; }
.brand-lockup small { color: #9299c2; font-size: .63rem; letter-spacing: .19em; }
.brand-lockup strong { font-size: .98rem; letter-spacing: .05em; }
.brand-mark {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 28% 20%, #fff 0 2%, transparent 22%), linear-gradient(145deg, #ffa5d6, #7b63ff 55%, #61d9ff);
  box-shadow: inset 0 1px 4px rgba(255,255,255,.7), 0 0 26px rgba(145, 100, 255, .34);
}
.brand-mark::before, .brand-mark::after, .brand-mark i { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; }
.brand-mark::before { inset: 8px; }
.brand-mark::after { inset: 14px; }
.brand-mark i { inset: 19px; background: #fff; box-shadow: 0 0 10px #fff; }
.header-meta { display: flex; align-items: center; gap: 10px; }
.platform-progress, .health, .system-clock {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}
.platform-progress { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; }
.platform-progress strong { color: #ffc6e9; font-size: .92rem; }
.health { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .72rem; }
.health-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.system-clock { display: grid; place-items: center; color: #cdd1e9; font-size: .76rem; letter-spacing: .08em; }
.badge { display: inline-flex; width: fit-content; align-items: center; color: var(--muted); font-size: .66rem; font-weight: 700; }
.badge-good { color: var(--good); }
.badge-warn { color: var(--warn); }
.badge-bad { color: var(--bad); }
.badge-info { color: var(--cyan); }
.app-main { display: grid; gap: 18px; width: min(1660px, 100%); margin: 18px auto 0; }
.hero-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(390px, 1.3fr) minmax(230px, .72fr);
  min-height: 490px;
  padding: clamp(28px, 4vw, 64px);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}
.hero-console::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .62;
  background:
    radial-gradient(circle at 52% 47%, rgba(103, 92, 255, .22), transparent 24rem),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 90px 100%;
}
.hero-console::after {
  position: absolute;
  right: 12%;
  bottom: -55%;
  z-index: -1;
  width: 45%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: rgba(255, 90, 182, .09);
  filter: blur(80px);
}
.hero-copy { align-self: center; max-width: 470px; }
.eyebrow { margin: 0 0 9px; color: #99a8e7; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 520px; margin-bottom: 18px; font-size: clamp(2rem, 2.65vw, 3.45rem); font-weight: 520; line-height: 1.14; letter-spacing: -.045em; text-wrap: balance; }
h2 { margin-bottom: 0; font-size: clamp(1.35rem, 2vw, 2rem); }
h3 { margin: 0; font-size: 1.08rem; }
.hero-description { max-width: 440px; color: var(--muted); font-size: .83rem; line-height: 1.75; }
.project-meta { display: grid; gap: 10px; margin: 28px 0 0; }
.project-meta div { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.project-meta dt { color: #777fa8; font-size: .66rem; letter-spacing: .08em; }
.project-meta dd { min-width: 0; margin: 0; overflow: hidden; color: #e7e7f5; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.progress-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.progress-orb {
  --liquid-top: 100%;
  position: relative;
  z-index: 3;
  width: clamp(250px, 24vw, 350px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 30px 65px rgba(25, 23, 82, .55));
}
.progress-ring { position: absolute; inset: -7%; z-index: 4; width: 114%; height: 114%; overflow: visible; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: .7; }
.progress-ring-track { stroke: rgba(255,255,255,.08); stroke-dasharray: 1 4; }
.progress-ring-value { stroke: url("#none"); stroke: #f8a4db; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(255,126,198,.8)); transition: stroke-dashoffset 1s cubic-bezier(.16,1,.3,1); }
.orb-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 27% 20%, rgba(255,255,255,.72) 0 1.2%, rgba(255,255,255,.16) 13%, transparent 29%),
    radial-gradient(circle at 68% 78%, rgba(113,207,255,.32), transparent 38%),
    linear-gradient(148deg, rgba(255,157,215,.3), rgba(98,86,214,.24) 52%, rgba(71,202,234,.14));
  box-shadow:
    inset 14px 16px 30px rgba(255,255,255,.12),
    inset -18px -24px 42px rgba(10,7,45,.55),
    inset 0 0 50px rgba(179,102,255,.22),
    0 0 0 7px rgba(255,255,255,.02),
    0 0 70px rgba(105,80,255,.26);
  backdrop-filter: blur(18px);
}
.orb-surface::after {
  position: absolute;
  inset: 7%;
  content: "";
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.orb-liquid {
  position: absolute;
  top: var(--liquid-top);
  left: -12%;
  width: 124%;
  height: 115%;
  border-radius: 43% 47% 0 0;
  background: linear-gradient(145deg, rgba(255,109,186,.72), rgba(133,91,255,.68) 54%, rgba(81,206,255,.54));
  box-shadow: inset 0 16px 25px rgba(255,255,255,.18), 0 -8px 25px rgba(255,119,198,.38);
  transition: top 1s cubic-bezier(.16,1,.3,1);
  animation: liquid-drift 8s ease-in-out infinite alternate;
}
.orb-liquid::before {
  position: absolute;
  top: -8px;
  left: 2%;
  width: 96%;
  height: 18px;
  content: "";
  border-radius: 50%;
  background: rgba(255,202,233,.5);
  filter: blur(3px);
}
.orb-glare { position: absolute; top: 10%; left: 18%; width: 30%; height: 13%; border-radius: 50%; background: linear-gradient(90deg, rgba(255,255,255,.8), transparent); filter: blur(5px); transform: rotate(-28deg); }
.orb-particles { position: absolute; inset: 8%; opacity: .35; border-radius: 50%; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.5px); background-size: 18px 18px; mask-image: linear-gradient(to bottom, #000, transparent 72%); animation: particle-turn 28s linear infinite; }
.orb-content { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; text-shadow: 0 4px 20px rgba(17,8,50,.7); }
.orb-content strong { font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 520; line-height: .92; letter-spacing: -.065em; }
.orb-content span { margin-top: 13px; color: #f6eefa; font-size: .76rem; letter-spacing: .15em; }
.orb-content small { margin-top: 9px; color: rgba(255,255,255,.55); font-size: .58rem; letter-spacing: .18em; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(163,174,255,.11); border-radius: 50%; }
.orbit-outer { width: min(390px, 90%); aspect-ratio: 1; animation: orbit-spin 24s linear infinite; }
.orbit-inner { width: min(310px, 74%); aspect-ratio: 1; border-style: dashed; animation: orbit-spin-reverse 18s linear infinite; }
.orbit-outer i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fd9fd6; box-shadow: 0 0 12px #fd9fd6; }
.orbit-outer i:nth-child(1) { top: 11%; left: 21%; }
.orbit-outer i:nth-child(2) { top: 53%; right: -2px; background: #79deff; box-shadow: 0 0 12px #79deff; }
.orbit-outer i:nth-child(3) { bottom: 5%; left: 38%; }
.progress-caption { position: absolute; bottom: -5px; margin: 0; color: #777fa5; font-size: .64rem; letter-spacing: .04em; text-align: center; }
.progress-caption span { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 9px var(--good); }
.system-rail { align-self: center; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(5,8,24,.33); }
.rail-heading { display: flex; justify-content: space-between; padding-bottom: 13px; color: #b6bbd5; font-size: .68rem; letter-spacing: .1em; border-bottom: 1px solid rgba(255,255,255,.08); }
.rail-heading b { color: #fdaddc; }
.system-rail ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.system-rail li { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px; color: #8d94b3; font-size: .72rem; border-radius: 10px; }
.system-rail li i { width: 5px; height: 5px; border-radius: 50%; background: #4e536e; }
.system-rail li small { color: #666d8d; font-size: .58rem; }
.system-rail li.is-ready { color: #fff; background: linear-gradient(90deg, rgba(255,110,190,.1), rgba(101,102,255,.06)); }
.system-rail li.is-ready i { background: var(--good); box-shadow: 0 0 9px var(--good); }
.system-rail li.is-ready small { color: var(--good); }
.module-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.glass-button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.24), transparent 31%),
    linear-gradient(140deg, rgba(255,119,193,.18), rgba(115,92,235,.16) 48%, rgba(91,197,242,.09));
  box-shadow: inset 0 1px rgba(255,255,255,.23), inset 0 -10px 28px rgba(20,8,55,.25), 0 12px 35px rgba(0,0,0,.18);
  backdrop-filter: blur(20px) saturate(150%);
}
.glass-button::before { position: absolute; top: -120%; left: -45%; width: 38%; height: 320%; content: ""; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); transform: rotate(24deg); transition: left .7s ease, opacity .25s ease; }
.glass-button:hover::before { left: 125%; opacity: .8; }
.module-card { min-height: 118px; padding: 17px; border-radius: 19px; color: #969dbd; text-align: left; cursor: default; transition: transform .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease; }
.module-card:not([aria-disabled="true"]) { cursor: pointer; }
.module-card:not([aria-disabled="true"]):hover { transform: translateY(-3px); border-color: rgba(255,185,226,.52); }
.module-card.is-active { color: #fff; border-color: rgba(255,177,221,.5); background: radial-gradient(circle at 16% 0%, rgba(255,255,255,.34), transparent 31%), linear-gradient(140deg, rgba(255,105,185,.34), rgba(124,91,240,.3) 52%, rgba(74,192,234,.16)); box-shadow: inset 0 1px rgba(255,255,255,.42), inset 0 -12px 30px rgba(25,8,60,.28), 0 18px 45px rgba(81,49,176,.25), 0 0 34px rgba(255,100,183,.1); }
.module-index { position: absolute; top: 13px; right: 14px; color: rgba(255,255,255,.36); font-size: .6rem; letter-spacing: .12em; }
.module-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #ffd0e9; background: rgba(255,255,255,.06); box-shadow: inset 0 1px rgba(255,255,255,.18); }
.module-card strong, .module-card small { display: block; }
.module-card strong { overflow: hidden; margin-bottom: 6px; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.module-card small { overflow: hidden; color: #737a9e; font-size: .53rem; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.module-card.is-active small { color: #d4c5ec; }
.module-view { padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(18,21,49,.72), rgba(8,11,29,.72)); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 22px 70px rgba(0,0,0,.22); }
.module-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.module-state { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(87,230,172,.24); border-radius: 99px; color: var(--good); background: rgba(87,230,172,.06); font-size: .68rem; }
.module-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.automation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.panel { position: relative; min-width: 0; padding: 21px; border-radius: 20px; }
.liquid-panel { border: 1px solid rgba(255,255,255,.1); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 16px 36px rgba(0,0,0,.18); }
.panel-topline { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #656d93; font-size: .58rem; letter-spacing: .13em; }
.panel-topline i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.14), transparent); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.panel-tag { padding: 5px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; color: #727999; font-size: .52rem; letter-spacing: .08em; }
.lookup-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, .55fr) 84px; gap: 12px; align-items: end; }
.field-wide { grid-column: span 2; }
.preprocess-form .primary-action, .workspace-form .primary-action { grid-column: 1 / -1; justify-self: end; min-width: 220px; }
label { display: grid; gap: 7px; min-width: 0; color: #999fbd; font-size: .67rem; font-weight: 600; letter-spacing: .03em; }
input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; color: var(--text); background: rgba(4,7,22,.54); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input:hover { border-color: rgba(255,255,255,.2); background: rgba(8,10,31,.72); }
input:focus { border-color: rgba(255,144,208,.52); box-shadow: 0 0 0 3px rgba(255,116,190,.08); }
input::file-selector-button { height: 30px; margin-right: 10px; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #e9e7f6; background: rgba(255,255,255,.06); cursor: pointer; }
.optional { grid-column: span 2; align-self: center; margin: 2px 0 0; color: #69708f; font-size: .62rem; font-weight: 400; line-height: 1.6; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; padding: 10px 16px; border-radius: 13px; color: #fff; font-size: .7rem; font-weight: 700; cursor: pointer; }
.primary-action span { font-size: 1rem; transition: transform .2s ease; }
.primary-action:hover span { transform: translateX(3px); }
button:disabled { cursor: wait; opacity: .58; }
.notice-area { display: grid; gap: 7px; max-height: 260px; margin-top: 14px; overflow: auto; }
.notice { margin: 0; padding: 9px 11px; border: 1px solid rgba(255,196,107,.16); border-radius: 10px; color: #f0c98d; background: rgba(255,196,107,.055); font-size: .68rem; line-height: 1.5; }
.notice-ok { color: #9eecc9; border-color: rgba(87,230,172,.14); background: rgba(87,230,172,.045); }
.request-error { margin: 14px 0 0; padding: 10px 12px; border: 1px solid rgba(255,114,137,.28); border-radius: 10px; color: #ffacba; background: rgba(255,114,137,.07); font-size: .7rem; }
.summary-grid { display: grid; grid-template-columns: repeat(5,minmax(120px,1fr)); gap: 10px; }
.summary-item, .field, .state-card { border: 1px solid var(--line); background: var(--panel-raised); }
.summary-item { padding: 12px; border-radius: 11px; }
.field-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .64rem; }
.field-value { overflow-wrap: anywhere; font-size: .75rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .75rem; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.state-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.state-card { padding: 15px; border-radius: 13px; }
.state-card-header { display: flex; justify-content: space-between; gap: 8px; }
.fields { display: grid; gap: 8px; }
.field { padding: 8px; border-radius: 8px; }
.boot-screen { position: fixed; inset: 0; z-index: 1000; display: none; overflow: hidden; place-items: center; color: #edf3ff; background: #040512; isolation: isolate; }
.boot-screen.boot-active { display: grid; }
.boot-screen.boot-exit { animation: boot-exit .3s ease forwards; pointer-events: none; }
.boot-atmosphere { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 44%, rgba(123,91,255,.24), transparent 25%), repeating-linear-gradient(0deg, rgba(255,255,255,.013) 0 1px, transparent 1px 4px); }
.boot-skip { position: absolute; top: 22px; right: 24px; min-width: 64px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; color: #939abc; background: rgba(255,255,255,.04); cursor: pointer; }
.boot-brand { position: absolute; top: 8%; left: 50%; opacity: 0; color: #9199bc; font-size: .63rem; letter-spacing: .28em; white-space: nowrap; transform: translateX(-50%); animation: boot-in .4s .1s forwards; }
.boot-core { position: absolute; top: 26%; left: 50%; width: 128px; aspect-ratio: 1; opacity: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%,-50%); animation: boot-in .5s .6s forwards; }
.boot-core::before, .boot-core-ring { position: absolute; inset: 12%; content: ""; border: 1px dashed rgba(184,157,255,.36); border-radius: 50%; animation: orbit-spin 9s linear infinite; }
.boot-core-ring-inner { inset: 27%; border-style: solid; animation-direction: reverse; }
.boot-core > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .65rem; letter-spacing: .16em; }
.boot-system-panel { position: absolute; top: 40%; left: 50%; width: min(480px,calc(100vw - 36px)); color: #8790b0; font-size: .58rem; transform: translateX(-50%); }
.boot-system-panel > p { letter-spacing: .14em; }
.boot-rail { display: none; }
.boot-nodes { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.boot-nodes li { display: flex; justify-content: space-between; min-height: 24px; padding: 6px 9px; opacity: 0; border-left: 1px solid rgba(151,132,255,.3); animation: boot-in .25s forwards; }
.boot-nodes li:nth-child(1) { animation-delay: .35s; } .boot-nodes li:nth-child(2) { animation-delay: .45s; } .boot-nodes li:nth-child(3) { animation-delay: .55s; } .boot-nodes li:nth-child(4) { animation-delay: .65s; } .boot-nodes li:nth-child(5) { animation-delay: .75s; }
.boot-nodes strong { color: #74ddbc; font-size: .53rem; }
.boot-title { position: absolute; top: 72%; left: 50%; width: calc(100% - 32px); opacity: 0; text-align: center; transform: translate(-50%,-50%); animation: boot-in .55s 1.25s forwards; }
.boot-title p { color: #8d95b4; font-size: .6rem; letter-spacing: .28em; }
.boot-title h2 { font-size: clamp(1.7rem,4vw,3.2rem); letter-spacing: .1em; }
.boot-title div, .boot-ready { color: #727b9d; font-size: .59rem; letter-spacing: .18em; }
.boot-title strong, .boot-ready { color: #83e2c2; }
.boot-ready { position: absolute; bottom: 8%; left: 50%; opacity: 0; transform: translateX(-50%); animation: boot-in .35s 1.7s forwards; }
@keyframes liquid-drift { to { transform: translate3d(2%,-2%,0) rotate(1.5deg); } }
@keyframes particle-turn { to { transform: rotate(360deg); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes boot-in { to { opacity: 1; } }
@keyframes boot-exit { to { opacity: 0; transform: scale(1.012); filter: blur(6px); } }
@media (max-width: 1180px) {
  .hero-console { grid-template-columns: 1fr 1fr; }
  .system-rail { grid-column: 1 / -1; }
  .system-rail ol { grid-template-columns: repeat(5,1fr); }
  .system-rail li { grid-template-columns: 8px 1fr; }
  .system-rail li small { display: none; }
  .module-nav { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 820px) {
  .dashboard-shell { padding: 10px; }
  .app-header { position: static; align-items: flex-start; }
  .header-meta { flex-wrap: wrap; justify-content: flex-end; }
  .platform-progress { display: none; }
  .hero-console { grid-template-columns: 1fr; padding: 26px 20px; }
  .hero-copy { max-width: none; }
  .progress-stage { min-height: 350px; }
  .system-rail { grid-column: auto; }
  .module-nav { grid-template-columns: 1fr 1fr; }
  .automation-grid { grid-template-columns: 1fr; }
  .lookup-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .lookup-form .primary-action { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 540px) {
  .brand-lockup small, .system-clock { display: none; }
  .brand-lockup strong { font-size: .8rem; }
  .header-meta { gap: 5px; }
  .health { padding-inline: 8px; }
  h1 { font-size: 2rem; }
  .module-nav { grid-template-columns: 1fr; }
  .module-card { min-height: 92px; }
  .system-rail ol { grid-template-columns: 1fr; }
  .lookup-form { grid-template-columns: 1fr; }
  .field-wide, .optional { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
}

.path-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.folder-picker-trigger {
  min-width: 96px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #f1d8eb;
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,.24), transparent 35%),
    linear-gradient(145deg, rgba(255,118,191,.2), rgba(105,92,224,.18));
  box-shadow: inset 0 1px rgba(255,255,255,.18);
  cursor: pointer;
}
.folder-picker-trigger:hover {
  border-color: rgba(255,174,221,.48);
  background: linear-gradient(145deg, rgba(255,118,191,.3), rgba(105,92,224,.25));
}
.folder-picker-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(219,207,255,.25);
  border-radius: 24px;
  color: var(--text);
  background: rgba(10,12,31,.91);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 35px 100px rgba(0,0,0,.62), 0 0 70px rgba(116,78,255,.2);
  backdrop-filter: blur(34px) saturate(150%);
}
.folder-picker-dialog::backdrop {
  background: rgba(2,3,12,.7);
  backdrop-filter: blur(9px);
}
.folder-picker-dialog[open] { animation: dialog-enter .22s cubic-bezier(.16,1,.3,1); }
.folder-picker-shell { display: grid; grid-template-rows: auto auto auto minmax(180px,1fr) auto; max-height: min(760px, calc(100vh - 28px)); }
.folder-picker-shell > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(255,126,197,.07), rgba(103,94,232,.08));
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  color: #c9c9df;
  background: rgba(255,255,255,.045);
  font-size: 1.2rem;
  cursor: pointer;
}
.folder-toolbar {
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr);
  gap: 8px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.folder-toolbar button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  color: #cdd0e4;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.folder-toolbar button:hover:not(:disabled) { border-color: rgba(255,169,217,.4); }
.folder-toolbar button:disabled, .folder-picker-dialog button:disabled { cursor: not-allowed; opacity: .38; }
#folder-picker-current {
  min-width: 0;
  overflow: hidden;
  padding-left: 5px;
  color: #9299b9;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-picker-dialog .request-error { margin: 12px 18px 0; }
.folder-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 220px;
  max-height: 430px;
  padding: 14px 18px;
  overflow-y: auto;
}
.folder-item {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #e2e1ef;
  background: rgba(255,255,255,.026);
  text-align: left;
  cursor: pointer;
}
.folder-item:hover {
  border-color: rgba(255,160,215,.35);
  background: linear-gradient(90deg, rgba(255,104,188,.09), rgba(94,102,234,.07));
}
.folder-item-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,211,235,.16);
  border-radius: 8px;
  color: #ffc2e3;
  background: rgba(255,139,204,.06);
}
.folder-item strong {
  min-width: 0;
  overflow: hidden;
  font-size: .74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-item small { color: #646b8c; font-size: .58rem; }
.folder-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: #6f7696;
  font-size: .7rem;
  text-align: center;
}
.folder-picker-shell > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.folder-picker-shell > footer p { margin: 0; color: #707795; font-size: .62rem; }
.folder-picker-shell > footer .primary-action { flex: 0 0 auto; min-width: 180px; border: 1px solid rgba(255,255,255,.18); }
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
  .path-input-row { grid-template-columns: 1fr; }
  .folder-picker-trigger { min-height: 40px; }
  .folder-toolbar { grid-template-columns: 1fr 1fr; }
  #folder-picker-current { grid-column: 1 / -1; grid-row: 1; padding: 0 0 4px; }
  .folder-picker-shell > footer { align-items: stretch; flex-direction: column; }
  .folder-picker-shell > footer .primary-action { width: 100%; }
}

.api-settings-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  color: #efe9ff;
  background:
    radial-gradient(circle at 28% 0%, rgba(255,255,255,.24), transparent 42%),
    linear-gradient(145deg, rgba(255,122,191,.16), rgba(103,93,231,.18));
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 8px 22px rgba(52,35,127,.16);
  cursor: pointer;
}
.api-settings-trigger:hover { border-color: rgba(255,177,222,.45); }
.api-settings-trigger.has-configured { border-color: rgba(87,230,172,.28); }
.api-settings-trigger small {
  padding: 3px 6px;
  border-radius: 8px;
  color: #aeb7e3;
  background: rgba(4,7,24,.36);
  font-size: .57rem;
}
.api-settings-dialog {
  width: min(1080px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(219,207,255,.26);
  border-radius: 26px;
  color: var(--text);
  background: rgba(8,10,28,.93);
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 38px 110px rgba(0,0,0,.68), 0 0 90px rgba(119,79,255,.2);
  backdrop-filter: blur(36px) saturate(155%);
}
.api-settings-dialog::backdrop {
  background: rgba(2,3,12,.76);
  backdrop-filter: blur(10px);
}
.api-settings-dialog[open] { animation: dialog-enter .22s cubic-bezier(.16,1,.3,1); }
.api-settings-shell {
  display: grid;
  grid-template-rows: auto auto auto minmax(0,1fr);
  max-height: min(820px, calc(100vh - 28px));
}
.api-settings-shell > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 4% 0%, rgba(255,126,197,.13), transparent 38%),
    linear-gradient(135deg, rgba(255,126,197,.05), rgba(103,94,232,.1));
}
.api-settings-shell > header h2 { margin-bottom: 8px; }
.api-settings-shell > header p:last-child {
  max-width: 650px;
  margin: 0;
  color: #939abc;
  font-size: .69rem;
  line-height: 1.55;
}
.api-security-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 20px 0;
  padding: 11px 13px;
  border: 1px solid rgba(112,231,255,.15);
  border-radius: 12px;
  color: #a5aecf;
  background: rgba(112,231,255,.045);
  font-size: .67rem;
  line-height: 1.5;
}
.api-security-note strong {
  flex: 0 0 auto;
  color: #8eead1;
  font-size: .65rem;
  letter-spacing: .06em;
}
.api-settings-shell > .request-error { margin: 12px 20px 0; }
.api-provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  gap: 12px;
  min-height: 320px;
  padding: 18px 20px 22px;
  overflow-y: auto;
}
.api-settings-loading {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #737b9e;
  font-size: .72rem;
}
.api-provider-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: max-content;
  align-self: start;
  overflow: hidden;
  padding: 18px;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.075), transparent 37%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.075), 0 18px 42px rgba(0,0,0,.18);
}
.api-provider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.api-provider-heading { display: grid; gap: 7px; }
.api-provider-capability {
  color: #7f88ad;
  font-size: .56rem;
  letter-spacing: .08em;
}
.api-provider-status {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  color: #8d95b5;
  background: rgba(255,255,255,.035);
  font-size: .55rem;
}
.api-provider-status.is-ready { color: var(--good); border-color: rgba(87,230,172,.24); }
.api-provider-status.is-warn { color: var(--warn); border-color: rgba(255,196,107,.24); }
.api-provider-status.is-error { color: var(--bad); border-color: rgba(255,114,137,.26); }
.api-provider-description {
  min-height: 44px;
  margin: 15px 0 12px;
  color: #959cbc;
  font-size: .67rem;
  line-height: 1.6;
}
.api-provider-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  color: #737b9e;
  font-size: .59rem;
}
.api-key-form { display: grid; gap: 12px; margin-top: 0; }
.api-key-form input { min-height: 41px; }
.api-card-actions {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7px;
}
.api-card-button {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  color: #bec3dd;
  background: rgba(255,255,255,.035);
  font-size: .61rem;
  cursor: pointer;
}
.api-card-button.is-primary {
  color: #fff;
  border-color: rgba(255,188,226,.22);
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(145deg, rgba(255,119,192,.24), rgba(96,89,220,.26));
}
.api-card-button.is-danger { color: #d79aaa; }
.api-card-button.is-danger:last-child { grid-column: 1 / -1; }
.api-card-button:hover:not(:disabled) { border-color: rgba(255,174,221,.42); }
.api-card-button:disabled { cursor: not-allowed; opacity: .38; }
.api-card-message { margin: 12px 0 0; color: #f0c98d; font-size: .61rem; line-height: 1.45; }
.api-card-message.is-ok { color: #9eecc9; }
@media (max-width: 900px) {
  .api-provider-list { grid-template-columns: 1fr; }
  .api-provider-card { min-height: 0; }
}
@media (max-width: 540px) {
  .api-settings-trigger span { display: none; }
  .api-settings-trigger { padding-inline: 8px; }
  .api-settings-shell > header { padding: 19px; }
  .api-security-note {
    align-items: flex-start;
    flex-direction: column;
    margin-inline: 14px;
  }
  .api-provider-list { padding: 14px; }
}

[hidden] { display: none !important; }

.local-tool-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 12px;
}
.secondary-action {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: #c9cce0;
  background: rgba(255,255,255,.035);
  font-size: .62rem;
  cursor: pointer;
}
.secondary-action:hover:not(:disabled) {
  border-color: rgba(255,171,220,.42);
  background: rgba(255,126,197,.08);
}
.secondary-action.is-warn { color: #f0c98d; }
.module-state.is-guarded {
  color: #f0c98d;
  border-color: rgba(255,196,107,.24);
}
.comparison-panel { max-width: 900px; }
.comparison-form { grid-template-columns: minmax(0,1fr) 110px 110px; }
.comparison-form .primary-action { grid-column: 1 / -1; justify-self: end; min-width: 240px; }

.api-model-list {
  display: grid;
  gap: 8px;
  margin: 0 0 15px;
}
.api-model-field {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(170px,1.1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(4,7,22,.3);
}
.api-model-field select {
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  color: #ecebf7;
  background: #101329;
  font-size: .62rem;
}
.api-model-field select:disabled { opacity: .45; }

.pet-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255,202,232,.28);
  border-radius: 99px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 0%, rgba(255,255,255,.3), transparent 36%),
    linear-gradient(145deg, rgba(255,113,190,.3), rgba(91,88,223,.34));
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 16px 44px rgba(39,27,104,.42);
  backdrop-filter: blur(20px) saturate(150%);
  cursor: pointer;
}
.pet-toggle > span:last-child {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.pet-orb {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.9), transparent 13%),
    radial-gradient(circle at 35% 28%, #ff9bd2, transparent 46%),
    linear-gradient(145deg, #7ce5ff, #9b75ff 52%, #ff78bd);
  box-shadow: inset -5px -8px 16px rgba(60,28,130,.28), 0 0 20px rgba(255,112,193,.28);
}
.pet-eye {
  position: absolute;
  top: 16px;
  width: 4px;
  height: 6px;
  border-radius: 50%;
  background: #15142c;
}
.pet-eye-left { left: 11px; }
.pet-eye-right { right: 11px; }
.pet-orb b {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 9px;
  height: 4px;
  border-bottom: 1.5px solid #221a41;
  border-radius: 50%;
  transform: translateX(-50%);
}
.pet-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 81;
  width: min(390px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgba(225,211,255,.26);
  border-radius: 24px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,113,190,.12), transparent 35%),
    rgba(9,11,30,.94);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 30px 90px rgba(0,0,0,.6);
  backdrop-filter: blur(32px) saturate(150%);
}
.pet-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pet-panel h2 { font-size: 1rem; }
.pet-policy {
  margin: 12px 15px;
  color: #8f96b7;
  font-size: .62rem;
  line-height: 1.5;
}
.pet-quick-actions {
  display: flex;
  gap: 6px;
  padding: 0 15px 12px;
}
.pet-quick-actions button {
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #bbbfd7;
  background: rgba(255,255,255,.035);
  font-size: .58rem;
  cursor: pointer;
}
.pet-messages {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 170px;
  max-height: 310px;
  padding: 12px 15px;
  overflow-y: auto;
  border-block: 1px solid rgba(255,255,255,.065);
  background: rgba(2,5,18,.27);
}
.pet-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  color: #d7d8e7;
  background: rgba(255,255,255,.055);
  font-size: .67rem;
  line-height: 1.55;
}
.pet-message.is-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,116,190,.2), rgba(100,92,225,.24));
}
.pet-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  padding: 13px 15px 15px;
}
.pet-form textarea {
  min-height: 54px;
  resize: vertical;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: var(--text);
  background: rgba(4,7,22,.56);
  font: inherit;
  font-size: .68rem;
}
.pet-form .primary-action { min-width: 68px; }

@media (max-width: 820px) {
  .comparison-form { grid-template-columns: 1fr 1fr; }
  .comparison-form .field-wide { grid-column: 1 / -1; }
  .api-provider-list { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .local-tool-actions { flex-direction: column; }
  .comparison-form { grid-template-columns: 1fr; }
  .comparison-form .field-wide { grid-column: auto; }
  .pet-toggle { right: 12px; bottom: 12px; }
  .pet-panel { right: 14px; bottom: 76px; }
  .api-model-field { grid-template-columns: 1fr; }
}


.account-trigger {
  min-width: 118px;
  padding: 9px 14px;
  border: 1px solid rgba(170,151,255,.26);
  border-radius: 14px;
  color: #eef0ff;
  background: linear-gradient(135deg,rgba(246,196,255,.2),rgba(89,107,255,.12));
  box-shadow: inset 0 1px rgba(255,255,255,.16),0 10px 28px rgba(36,21,91,.2);
  backdrop-filter: blur(18px) saturate(145%);
}
.account-trigger span,.account-trigger small { display:block; }
.account-trigger small { margin-top:2px;color:#9ca8dc;font-size:.58rem; }
.account-dialog {
  width:min(960px,calc(100vw - 28px));
  max-height:min(760px,calc(100vh - 28px));
  padding:0;
  overflow:hidden;
  color:#eef0ff;
  border:1px solid rgba(184,164,255,.3);
  border-radius:24px;
  background:rgba(8,10,32,.9);
  box-shadow:0 36px 120px rgba(0,0,0,.62);
}
.account-dialog::backdrop {
  background:rgba(2,3,16,.78);
  backdrop-filter:blur(12px);
}
.account-shell { padding:24px;overflow:auto;max-height:calc(100vh - 28px); }
.account-shell>header {
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:24px;padding-bottom:20px;border-bottom:1px solid rgba(153,165,235,.16);
}
.account-shell h2 { margin:5px 0 7px;font-size:1.65rem; }
.account-shell header p:last-child { margin:0;color:#9ca6d0;font-size:.78rem; }
.account-tabs { display:flex;gap:8px;margin:22px 0 14px; }
.account-tabs button,.account-identity button {
  padding:9px 14px;border:1px solid rgba(156,165,224,.2);
  border-radius:12px;color:#abb4dc;background:rgba(255,255,255,.04);
}
.account-tabs button.is-active {
  color:#fff;border-color:rgba(230,172,255,.42);
  background:linear-gradient(135deg,rgba(231,171,255,.24),rgba(100,119,255,.2));
}
.account-form { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.account-form label { color:#aeb7e3;font-size:.68rem; }
.account-form input,.account-inline-form select {
  width:100%;margin-top:7px;padding:12px;border:1px solid rgba(149,158,219,.2);
  border-radius:12px;color:#fff;background:rgba(4,7,24,.5);
}
.account-form .primary-action { align-self:end;min-height:42px; }
.account-identity {
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:20px 0;padding:15px 17px;border:1px solid rgba(155,166,230,.18);
  border-radius:16px;background:rgba(255,255,255,.035);
}
.account-identity strong,.account-identity small { display:block; }
.account-identity small { margin-top:3px;color:#9fa9d3;font-size:.65rem; }
.account-console-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.account-console-grid article {
  min-height:180px;padding:16px;border:1px solid rgba(151,164,228,.16);
  border-radius:16px;background:rgba(255,255,255,.025);
}
.account-console-grid h3 { margin:0 0 12px;font-size:.86rem; }
.account-list { display:grid;gap:8px; }
.account-list-row {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 10px;border-radius:10px;background:rgba(3,6,24,.34);
}
.account-list-row strong { overflow:hidden;text-overflow:ellipsis;font-size:.7rem; }
.account-list-row small { flex:none;color:#8f9ac9;font-size:.56rem; }
.account-inline-form { display:flex;align-items:end;gap:12px;margin-top:16px; }
.account-inline-form output { color:#8ff1d2;font-size:.72rem; }
