@import url('data:text/css,');

:root {
  color-scheme: dark;
  --bg: #0b1020;
  --sidebar: #0c1121;
  --surface: #12192c;
  --surface-raised: #182039;
  --line: #263049;
  --text: #eff1fb;
  --muted: #a0abc4;
  --violet: #a695ff;
  --teal: #6bdaca;
  --danger: #ffaaaa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: #c6bcff; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.25; letter-spacing: -.035em; }
h1 { font-size: clamp(27px, 3vw, 35px); font-weight: 650; margin-bottom: 12px; }
h2 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 12px; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.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; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 18px; border-radius: 10px; background: var(--text); color: var(--bg); z-index: 100; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.row, .actions { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.full { width: 100%; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; margin-bottom: 10px; }
.button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; min-height: 43px; font-size: 12px; font-weight: 600; line-height: 1.4; transition: background .18s, border-color .18s, transform .18s; text-decoration: none; }
.button:not(:disabled):active { transform: translateY(1px); }
.button.primary { background: #8164eb; color: white; box-shadow: 0 3px 15px #7656db22, inset 0 1px #ffffff15; border-color: #a18af14d; }
.button.primary:not(:disabled):hover { background: #9678fd; color: white; }
.button.secondary { background: #1b2339; border-color: #34405d; color: #e2e6f6; }
.button.secondary:not(:disabled):hover { background: #26314d; border-color: #5a6382; color: white; }
.button.ghost { background: transparent; color: #b8b7d9; }
.button.ghost:not(:disabled):hover { background: #ffffff09; }
.button.light { background: #f0ebff; color: #423570; box-shadow: 0 4px 20px #0002; }
.button.light:hover { background: white; }
.button.danger { background: #ac354c; border-color: #e06173; color: white; }
.button.danger:not(:disabled):hover { background: #c3415a; }
.button.compact { padding: 9px 13px; min-height: 38px; font-size: 11px; }
.icon-button { width: 35px; min-height: 35px; flex-shrink: 0; border: none; background: transparent; color: var(--muted); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.icon-button:hover { background: #ffffff0b; color: var(--text); }
.text-link { border: none; background: none; padding: 0; color: var(--violet); font-size: 12px; cursor: pointer; text-align: left; }
.text-link:hover { color: #cec6ff; text-decoration: underline; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 650; color: #f3f1ff; letter-spacing: -.07em; }
.brand:hover { color: white; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; background: linear-gradient(145deg, #b4a0ff, #6b4bd6); color: white; font-size: 23px; font-weight: 750; letter-spacing: -.13em; padding-right: 3px; border-radius: 12px 12px 12px 4px; box-shadow: 0 0 25px #9f7efe24; }
.brand-suffix { display: block; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; color: #a39ab8; font-weight: 450; margin-top: -4px; }
.workspace { display: flex; min-height: 100vh; }
.sidebar { width: 236px; flex-shrink: 0; position: fixed; inset: 0 auto 0 0; padding: 29px 18px 16px; display: flex; flex-direction: column; border-right: 1px solid #202940; background: var(--sidebar); z-index: 30; overflow-y: auto; }
.sidebar .brand { margin-left: 11px; margin-bottom: 37px; }
.organization { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #29314a; border-radius: 9px; background: #ffffff03; margin-bottom: 30px; }
.org-avatar { width: 31px; height: 33px; border-radius: 7px; display: grid; place-items: center; color: #c6bcff; background: #9e7bff18; border: 1px solid #a88aff26; font-weight: 600; flex-shrink: 0; }
.organization > div { min-width: 0; }
.organization strong { display: block; font-weight: 500; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.organization span:not(.org-avatar) { font-size: 9px; color: #8e99b1; }
.nav-label { font-size: 9px; letter-spacing: .17em; color: #78849f; margin: 0 13px 12px; }
.nav-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; color: #a4afc8; border-radius: 8px; margin-bottom: 6px; font-size: 12px; border: 1px solid transparent; }
.nav-item:hover { background: #ffffff04; color: white; }
.nav-item[aria-current="page"] { color: #c5b7ff; background: linear-gradient(90deg, #9271ff20, #9271ff0a); border-color: #9d7ffe20; }
.nav-item[aria-current="page"]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #ac95ff; margin-left: auto; box-shadow: 0 0 8px #a88aff55; }
.nav-small { margin-left: auto; font-size: 9px; color: #9fabc4; background: #ffffff08; padding: 0 6px; border-radius: 4px; }
.nav-item[aria-current="page"] .nav-small { display: none; }
.sidebar-bottom { margin-top: auto; padding-top: 45px; }
.sidebar-note { margin: 0 4px 26px; border: 1px solid #776fa126; border-radius: 11px; padding: 20px 16px; background: radial-gradient(ellipse at 5% 0, #65508b30, transparent 80%); overflow: hidden; }
.sidebar-note h3 { font-size: 12px; letter-spacing: -.02em; margin-top: 17px; }
.sidebar-note p { font-size: 11px; color: #939db7; margin: 0; line-height: 1.8; }
.note-orbit { display: block; width: 29px; height: 22px; border: 1px solid #aa95e6; border-radius: 50%; transform: rotate(-35deg); position: relative; }
.note-orbit::after { content: ''; position: absolute; width: 18px; height: 30px; border: 1px solid #736894; border-radius: 50%; top: -5px; left: 4px; }
.user-block { display: flex; align-items: center; gap: 10px; border-top: 1px solid #242c41; padding: 20px 3px 0; }
.avatar { background: linear-gradient(140deg, #536374, #766781); color: #fff; border: 1px solid #ffffff20; border-radius: 50%; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.user-info { flex: 1; min-width: 0; }
.user-info strong { font-size: 11px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-info span { color: #8996b1; font-size: 9px; text-transform: capitalize; }
.main-column { margin-left: 236px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 76px; padding: 0 38px; border-bottom: 1px solid #202940; background: #0d1324; }
.breadcrumb { color: #8b97b1; font-size: 11px; }
.breadcrumb span { margin: 0 13px; color: #59667f; }
.breadcrumb strong { font-weight: 500; color: #d6dcec; }
.topbar-meta { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #a8b3c9; }
.topbar-avatar { width: 29px; height: 29px; font-size: 10px; margin-left: 15px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b399ff; flex-shrink: 0; box-shadow: 0 0 0 3px #b399ff09; }
.status-dot.live { background: #65d6bb; box-shadow: 0 0 0 3px #65d6bb09; }
.main-content { width: 100%; max-width: 1580px; margin: 0 auto; padding: 35px 38px 46px; flex: 1; outline: none; }
.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 26px; }
.page-heading .eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 11px; }
.page-heading .muted { margin: 0; font-size: 12px; }
.page-heading .actions { flex-shrink: 0; }
.workspace-footer { padding: 18px 38px; display: flex; justify-content: space-between; border-top: 1px solid #202940; color: #76839d; font-size: 10px; }
.mobile-menu { display: none; }
.overview-hero { position: relative; border: 1px solid #6c579550; border-radius: 14px; min-height: 300px; padding: 31px 34px; overflow: hidden; background: radial-gradient(ellipse at 96% 0%, #385b694d, transparent 54%), radial-gradient(ellipse at 75% 95%, #9970d536, transparent 50%), linear-gradient(110deg, #252043, #201f39 45%, #222743); display: flex; }
.overview-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#fff02b05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; width: 56%; }
.label-pill { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #b19bff33; background: #a18cee0e; color: #c6b9f5; border-radius: 5px; letter-spacing: .1em; font-size: 8px; line-height: 1.4; }
.hero-copy h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; font-weight: 600; margin: 17px 0 12px; letter-spacing: -.045em; }
.hero-copy h2 span { color: #c3b5ed; }
.hero-copy p { color: #aea9c8; font-size: 11px; line-height: 1.9; max-width: 345px; margin-bottom: 22px; }
.hero-copy .button { font-size: 10px; min-height: 38px; }
.hero-art { width: 40%; position: absolute; right: 22px; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; }
.hero-window { width: 265px; background: linear-gradient(135deg, #25283f, #252a41); border: 1px solid #78859e66; border-radius: 10px; box-shadow: 0 24px 45px #0004; transform: perspective(800px) rotateY(-15deg) rotateZ(4deg); position: relative; }
.hero-window-bar { border-bottom: 1px solid #6c748633; display: flex; justify-content: space-between; padding: 8px 12px; font-size: 7px; color: #8793ac; letter-spacing: .04em; }
.hero-window-bar > span:first-child { color: #9a94b0; letter-spacing: 2px; }
.hero-window-body { padding: 17px 25px 21px; }
.abstract-logo { background: linear-gradient(135deg, #9f88e6, #507e7d); color: #efeafa; border-radius: 8px; width: 29px; height: 29px; padding: 0 8px; font-size: 21px; font-weight: 650; margin-bottom: 12px; }
.hero-art-title { font-size: 22px; letter-spacing: -.045em; color: #e8e7f5; line-height: 1.2; margin-bottom: 12px; }
.mini-line { height: 4px; width: 85%; background: #7f809d3d; border-radius: 3px; margin-bottom: 6px; }
.mini-line.short { width: 58%; }
.mini-button { width: 65px; height: 17px; border-radius: 4px; background: linear-gradient(90deg, #9a82dd, #728da8); margin-top: 13px; }
.hero-tag { position: absolute; bottom: 34px; right: 5px; border: 1px solid #6e7e8866; border-radius: 7px; background: #24363fe8; color: #c8e0dd; box-shadow: 0 8px 20px #0002; padding: 9px 12px; font-size: 9px; display: flex; align-items: center; gap: 8px; transform: rotate(-4deg); }
.orbit { position: absolute; width: 360px; height: 225px; border: 1px solid #a29ac226; border-radius: 50%; transform: rotate(-34deg); }
.orbit-two { width: 270px; height: 350px; transform: rotate(45deg); border-color: #93c1ba1c; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 23px; margin-bottom: 28px; }
.metric { text-align: left; padding: 18px; display: flex; flex-direction: column; align-items: stretch; transition: background .2s, border-color .2s; }
.metric:hover { background: #171f34; border-color: #6c5b9455; }
.metric-label { font-size: 11px; font-weight: 500; color: #b8c1d8; }
.metric-icon { width: 30px; height: 30px; border-radius: 8px; background: #ab8afc12; color: #b29ae4; display: grid; place-items: center; }
.metric-icon svg { width: 16px; height: 16px; }
.metric:nth-child(2) .metric-icon { background: #7094ef15; color: #93afea; }
.metric:nth-child(3) .metric-icon { background: #6bddbc10; color: #76c9b6; }
.metric:nth-child(4) .metric-icon { background: #d6b77910; color: #d4be93; }
.metric-value { font-size: 30px; font-weight: 550; letter-spacing: -.045em; margin: 5px 0 3px; line-height: 1.3; }
.metric .small { font-size: 9px; }
.overview-bottom { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr); gap: 21px; align-items: start; }
.card-heading { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-heading h2 { margin-bottom: 0; font-size: 16px; }
.card-heading .eyebrow { font-size: 8px; margin-bottom: 6px; }
.card-footnote { border-top: 1px solid var(--line); padding: 14px 22px; color: #8593b0; font-size: 10px; }
.workspace-pulse { padding: 23px; }
.workspace-pulse > .eyebrow { font-size: 8px; }
.workspace-pulse > h2 { font-size: 16px; margin-bottom: 23px; }
.pulse-item { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.pulse-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #8b8ca52e; border-radius: 8px; font-size: 10px; color: #b8b3d0; flex-shrink: 0; }
.pulse-item strong { font-size: 10px; font-weight: 550; }
.pulse-item p { font-size: 9px; margin: 2px 0 0; color: #909eb9; }
.connection-dot { background: #6f7a91; width: 5px; height: 5px; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
.connection-dot.connected { background: #6acbb2; }
.pulse-note { border-top: 1px solid var(--line); padding-top: 20px; }
.pulse-note h3 { font-size: 12px; letter-spacing: -.015em; }
.pulse-note p { font-size: 10px; color: #98a5bd; line-height: 1.8; }
.pulse-note .text-link { font-size: 10px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 27px 0 17px; }
.section-heading h2 { margin: 0; }
.section-block { margin-top: 30px; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; background: #ffffff08; color: #aeb5ce; font-size: 11px; border-radius: 5px; margin-left: 6px; padding: 0 5px; vertical-align: middle; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-art { height: 150px; background: radial-gradient(ellipse at top right, #526d7766, transparent), linear-gradient(135deg, #382d58, #222945); display: flex; justify-content: center; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.site-card:nth-child(3n+2) .site-art { background: linear-gradient(140deg, #263c4b, #1c3c36); }
.site-card:nth-child(3n+3) .site-art { background: linear-gradient(140deg, #453448, #33304e); }
.mini-browser { width: 65%; min-width: 120px; height: 126px; padding: 10px 16px; border: 1px solid #a995e357; border-radius: 7px 7px 0 0; background: #171c30c7; transform: translateY(11px) rotate(-4deg); box-shadow: 0 10px 30px #0003; }
.mini-dots { color: #a7a0b9; font-size: 10px; letter-spacing: 2px; }
.mini-heading { width: 55%; height: 14px; background: #d2c4ec; opacity: .7; border-radius: 3px; margin: 13px 0 10px; }
.site-card-body { padding: 22px; }
.site-card-body h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.site-card-body .clamp { margin-top: 12px; min-height: 42px; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.site-path { color: #a695d5; font-size: 11px; overflow-wrap: anywhere; }
.site-meta { border-top: 1px solid var(--line); display: flex; gap: 18px; padding: 16px 0; font-size: 10px; color: #8f9db7; }
.site-meta strong { display: block; font-weight: 550; color: #d4dded; font-size: 12px; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; font-size: 9px; font-weight: 500; white-space: nowrap; text-transform: capitalize; border: 1px solid #9da7bf29; background: #9da7bf0c; color: #aebad2; letter-spacing: .01em; }
.badge.production, .badge.approved, .badge.implemented { color: #8fe2c9; border-color: #7de1b52b; background: #71dcb50c; }
.badge.tested, .badge.in_progress { color: #d2b5ff; border-color: #c093ff30; background: #c093ff0c; }
.badge.staged { color: #98c4ff; border-color: #8fb7ff30; background: #8fb7ff0c; }
.notice { padding: 15px 19px; border: 1px solid #5a88b82e; background: #5a88b80b; color: #acbed8; font-size: 11px; border-radius: 9px; line-height: 1.85; margin-bottom: 22px; }
.notice strong { color: #d0dbee; }
.notice.warning { border-color: #d6b87730; background: #d6b87709; color: #c5b9a2; }
.notice.warning strong { color: #ead6b0; }
.back-link { border: none; background: none; padding: 0; margin-bottom: 22px; font-size: 11px; color: #a995ea; }
.release-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; border: 1px solid var(--line); border-radius: 9px; padding: 17px 20px; background: var(--surface); margin-bottom: 18px; font-size: 11px; }
.release-strip > div { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.release-strip > div > span:not(.status-dot) { color: #97a4be; }
.release-strip strong { font-weight: 550; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.editor-card { padding: 25px; }
.editor-card .card-heading { padding: 0 0 15px; }
.studio-aside { display: grid; gap: 20px; }
.ai-card, .integration-card { padding: 25px; }
.ai-card { background: radial-gradient(ellipse at top right, #9b70eb13, transparent 70%), var(--surface); }
.ai-card h2, .integration-card h2 { font-size: 18px; }
.ai-card > p { font-size: 12px; }
.ai-card .notice { font-size: 10px; padding: 12px; }
.feature-icon { width: 35px; height: 35px; background: #9d7bea16; border: 1px solid #9d7bea38; border-radius: 9px; margin-bottom: 22px; position: relative; }
.feature-icon::before, .feature-icon::after { content: ''; position: absolute; background: #b8a2f1; width: 15px; height: 2px; left: 9px; top: 16px; }
.feature-icon::after { transform: rotate(90deg); }
.integration-label { font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: #a09bb7; }
.stack-form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { color: #cbd3e4; font-size: 11px; font-weight: 500; }
.field label > span { color: #aa9ad2; }
input, textarea, select { background: #0d1425; border: 1px solid #33405a; color: #e9ecf6; border-radius: 7px; min-height: 43px; padding: 10px 12px; width: 100%; font-size: 12px; transition: border-color .18s; }
input:hover, textarea:hover, select:hover { border-color: #657094; }
input:focus, textarea:focus, select:focus { border-color: #a695ed; outline: 2px solid #a695ed33; outline-offset: 1px; }
input::placeholder, textarea::placeholder { color: #74829e; opacity: 1; }
input[type="color"] { width: 76px; padding: 6px; cursor: pointer; }
input[type="checkbox"] { width: 17px; min-height: 17px; height: 17px; accent-color: #9b82f5; flex-shrink: 0; margin-top: 4px; }
textarea { resize: vertical; min-height: 90px; line-height: 1.7; }
.field-help { color: #8e9bb5; font-size: 10px; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-error { color: #ffc0c0; background: #e4696910; border: 1px solid #e4696940; padding: 12px; border-radius: 7px; font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.check-field { display: flex; gap: 11px; font-size: 12px; color: #c6cce0; align-items: flex-start; }
.version-list { display: grid; gap: 13px; }
.version-card { display: flex; align-items: center; padding: 20px; gap: 18px; }
.version-number { width: 41px; height: 41px; border-radius: 9px; background: #aa95d90e; border: 1px solid #aa95d930; color: #bdaadd; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.version-info { flex: 1; min-width: 0; }
.version-info h3 { margin: 0; font-size: 13px; }
.version-info p { font-size: 11px; margin: 7px 0 3px; overflow-wrap: anywhere; color: #b7c0d5; }
.version-info .small { font-size: 9px; }
.version-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.current-label { font-size: 9px; color: #a9b6ce; }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
th { color: #8190ad; text-transform: uppercase; letter-spacing: .07em; font-size: 8px; font-weight: 550; background: #0f1627; padding: 12px 20px; border-top: 1px solid #2630499c; border-bottom: 1px solid #2630499c; }
td { color: #a6b2cb; padding: 16px 20px; border-bottom: 1px solid #2630498c; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #ffffff02; }
td strong { font-weight: 500; color: #d1d8ea; overflow-wrap: anywhere; }
.resource-id { display: block; max-width: 170px; overflow-wrap: anywhere; color: #7585a4; margin-top: 3px; font-size: 9px; }
.event-details summary { font-size: 9px; color: #9588bd; margin-top: 5px; }
summary { cursor: pointer; color: #aa99df; font-size: 10px; padding: 5px 0; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 350px; font-size: 10px; color: #a9b4cc; background: #0c1322; border-radius: 6px; padding: 10px; }
.card-padding { padding: 0 23px 22px; font-size: 12px; }
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rule-card { padding: 24px; display: flex; flex-direction: column; }
.rule-card h2 { margin-top: 19px; font-size: 19px; overflow-wrap: anywhere; }
.rule-description { color: #a9b5cc; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rule-owner { display: flex; align-items: center; gap: 10px; margin: auto 0 15px; padding-top: 16px; }
.rule-owner .small { font-size: 9px; }
.rule-owner p { font-size: 11px; margin: 0; }
.small-avatar { width: 28px; height: 28px; font-size: 10px; background: #45415e; }
.card-actions { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; gap: 10px; }
.controls-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.segmented, .auth-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #0d1426; gap: 4px; }
.segmented button, .auth-switch button { border: 0; border-radius: 6px; padding: 8px 22px; background: transparent; font-size: 11px; color: #95a2bb; min-height: 36px; }
.segmented button[aria-pressed="true"], .auth-switch button[aria-pressed="true"] { color: #dbd2ff; background: #29213f; box-shadow: 0 1px 3px #0002; }
.control-list { display: grid; gap: 15px; }
.control-card { display: flex; align-items: flex-start; gap: 22px; padding: 25px; }
.control-code { min-width: 70px; text-align: center; padding: 7px 10px; font-size: 11px; background: #a68bef0c; border: 1px solid #a68bef2b; border-radius: 6px; color: #c6b4ec; }
.control-info { flex: 1; min-width: 0; }
.control-info h2 { font-size: 15px; margin: 0; }
.control-info > p { font-size: 12px; margin: 10px 0; }
.control-info details p { font-size: 11px; }
.control-meta { display: flex; flex-wrap: wrap; gap: 20px; color: #90a0bc; font-size: 10px; }
.control-meta strong { color: #bdc6dd; font-weight: 450; }
.control-actions { display: grid; gap: 8px; flex-shrink: 0; }
.empty-state { padding: 55px 25px; text-align: center; display: flex; flex-direction: column; align-items: center; border: 1px dashed #68719544; border-radius: 11px; background: radial-gradient(ellipse at top, #7c5eba08, transparent 80%); }
.card .empty-state { border: none; }
.empty-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #9478d63d; color: #ac91e1; background: #9578d611; border-radius: 13px; font-size: 27px; margin-bottom: 20px; }
.empty-state h3 { font-size: 17px; }
.empty-state p { max-width: 420px; color: #91a0bc; font-size: 12px; margin-bottom: 20px; }
.empty-state p:last-child { margin-bottom: 0; }
.loading-state { min-height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #a6b0c8; gap: 18px; font-size: 12px; }
.loading-state p { margin: 0; }
.spinner { display: block; width: 27px; height: 27px; border-radius: 50%; border: 2px solid #a58cdb29; border-top-color: #b69bee; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { min-height: 100vh; padding: 50px 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.boot h1 { margin-top: 20px; }
.boot > p { color: var(--muted); }
.boot .empty-state { max-width: 550px; }
.modal { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; background: #141b2e; color: var(--text); border: 1px solid #46516d; border-radius: 14px; box-shadow: 0 25px 100px #0008; padding: 0; overflow-y: auto; }
.modal::backdrop { background: #020612b8; backdrop-filter: blur(5px); }
.dialog-form { padding: 28px; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dialog-header h2 { font-size: 22px; overflow-wrap: anywhere; }
.dialog-header .eyebrow { font-size: 9px; }
.dialog-form > .muted { font-size: 12px; margin-bottom: 24px; }
.dialog-fields { display: grid; gap: 19px; }
.dialog-fields > p { font-size: 12px; }
.dialog-fields .notice { margin-bottom: 0; }
.dialog-form .form-error { margin-top: 20px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.evidence-list { padding: 0; margin: 0; list-style: none; max-height: 270px; overflow-y: auto; }
.evidence-list li { border-bottom: 1px solid var(--line); padding: 13px 0; }
.evidence-list li:last-child { border-bottom: 0; }
.evidence-list p { font-size: 11px; margin: 6px 0; }
.evidence-list .text-link { overflow-wrap: anywhere; }
.notifications { position: fixed; right: 22px; bottom: 22px; display: grid; gap: 12px; width: min(430px, calc(100% - 32px)); z-index: 90; pointer-events: none; }
.notification { display: flex; align-items: flex-start; padding: 16px; border-radius: 10px; border: 1px solid #6cc9ad55; background: #182c31; box-shadow: 0 10px 35px #0005; gap: 12px; pointer-events: auto; }
.notification p { margin: 0; font-size: 12px; flex: 1; color: #d7e9e7; }
.notification .icon-button { width: 22px; min-height: 22px; font-size: 18px; }
.notification-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; background: #74d1b3; flex-shrink: 0; }
.notification.error { border-color: #e47d8566; background: #36242e; }
.notification.error .notification-dot { color: #ffb3b3; background: transparent; margin-top: 0; width: 12px; height: auto; }
.auth-layout { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 100vh; }
.auth-story { position: relative; padding: 40px 10%; background: radial-gradient(ellipse at 100% 70%, #3d5c6255, transparent 60%), radial-gradient(ellipse at 0 0, #684aa244, transparent 65%), #14172e; display: flex; flex-direction: column; border-right: 1px solid #393346; overflow: hidden; }
.auth-story::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 65px 65px; pointer-events: none; }
.auth-story .brand { position: relative; }
.auth-story .brand-suffix { display: inline; margin-left: 5px; font-size: 10px; text-transform: none; letter-spacing: .02em; }
.auth-story-content { padding: 64px 0 45px; max-width: 490px; margin: auto 0; position: relative; }
.auth-story-content > .eyebrow { font-size: 9px; }
.auth-story h1 { font-size: clamp(35px, 4.2vw, 60px); letter-spacing: -.055em; font-weight: 600; margin: 22px 0; line-height: 1.15; }
.gradient-text { background: linear-gradient(110deg, #bba2f7, #b2d4d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-intro { font-size: 13px; line-height: 1.9; max-width: 360px; color: #aea9c4; }
.auth-preview { position: relative; border: 1px solid #7e769f6b; margin-top: 42px; width: 91%; max-width: 370px; background: linear-gradient(120deg, #28243d, #27313f); border-radius: 10px; box-shadow: 0 30px 50px #03031044; transform: rotate(-3deg); }
.preview-top { display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; border-bottom: 1px solid #7c788633; color: #9e96b3; font-size: 7px; letter-spacing: .08em; }
.preview-content { padding: 22px 28px 28px; }
.preview-pill { font-size: 7px; padding: 4px 7px; border: 1px solid #a68cd933; border-radius: 4px; color: #c6b5e7; }
.preview-title { font-size: 30px; color: #e4dbf4; line-height: 1.18; letter-spacing: -.04em; margin: 15px 0; }
.preview-bars i { display: block; width: 75%; height: 4px; background: #a199b740; margin-bottom: 7px; border-radius: 3px; }
.preview-bars i:last-child { width: 55%; }
.preview-cta { display: inline-flex; padding: 7px 13px; background: #bca3e5; color: #302543; font-size: 8px; border-radius: 4px; margin-top: 9px; }
.preview-float { position: absolute; bottom: 15px; right: -35px; padding: 12px 15px; border: 1px solid #81b5ac4d; border-radius: 8px; box-shadow: 0 8px 20px #0002; background: #233c40; font-size: 9px; color: #bfd9d1; transform: rotate(7deg); }
.preview-float .status-dot { margin-right: 7px; }
.auth-footer { font-size: 10px; color: #8886a3; margin: 0; position: relative; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 45px 40px; background: radial-gradient(ellipse at top right, #44346b0c, transparent 60%), #0c1222; }
.auth-form-wrap { width: 100%; max-width: 360px; }
.auth-form-wrap > .label-pill { font-size: 8px; margin-bottom: 24px; }
.auth-form-wrap h2 { font-size: 29px; letter-spacing: -.05em; }
.auth-form-wrap > .muted { font-size: 12px; margin-bottom: 28px; }
.auth-switch { display: flex; margin-bottom: 27px; width: 100%; }
.auth-switch button { flex: 1; padding: 8px; }
.auth-submit { margin-top: 4px; min-height: 46px; }
.auth-note { font-size: 10px; color: #8693ad; line-height: 1.8; text-align: center; margin-top: 22px; }
.server-status { font-size: 9px; color: #949eb3; text-align: center; margin-top: 30px; }
.server-status.available::before { content: ''; width: 5px; height: 5px; background: #6ccdb2; border-radius: 50%; display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 1600px) {
  .overview-hero { min-height: 335px; }
  .hero-window { width: 310px; }
  .hero-window-body { padding: 23px 29px 28px; }
  .hero-art-title { font-size: 28px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 212px; padding-left: 13px; padding-right: 13px; }
  .main-column { margin-left: 212px; }
  .main-content { padding: 30px 25px 40px; }
  .topbar { padding: 0 25px; }
  .overview-hero { padding: 28px; }
  .hero-window { width: 215px; }
  .hero-art-title { font-size: 20px; }
  .hero-tag { font-size: 8px; right: -7px; bottom: 46px; }
  .metrics { gap: 12px; }
  .metric { padding: 15px; }
  .metric-label { font-size: 10px; }
  .metric-icon { width: 25px; height: 25px; }
  .overview-bottom { grid-template-columns: minmax(0, 1fr); }
  .workspace-pulse { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .workspace-pulse > .eyebrow, .workspace-pulse > h2, .workspace-pulse .pulse-note { grid-column: 1 / -1; }
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .version-card { flex-wrap: wrap; }
  .version-actions { width: 100%; padding-left: 59px; }
  .control-card { gap: 16px; padding: 20px; }
  .control-code { min-width: 60px; }
}
@media (max-width: 960px) {
  .page-heading { align-items: flex-start; }
  .page-heading .actions .button { font-size: 10px; padding: 10px 12px; }
  .hero-copy { width: 65%; }
  .hero-art { right: -25px; width: 35%; opacity: .7; }
  .hero-window { min-width: 180px; }
  .hero-tag { display: none; }
  .hero-copy h2 { font-size: 27px; }
  .hero-copy p { max-width: 275px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding: 18px; }
  .metric .small { font-size: 10px; }
  .editor-grid { grid-template-columns: 1fr; }
  .studio-aside { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .rule-grid { grid-template-columns: 1fr; }
  .control-card { flex-wrap: wrap; }
  .control-info { min-width: 65%; }
  .control-actions { display: flex; width: 100%; justify-content: flex-end; }
  .auth-story { padding: 35px 8%; }
  .auth-story h1 { font-size: 39px; }
  .auth-story .brand-suffix { display: block; font-size: 8px; text-transform: uppercase; }
  .auth-panel { padding: 35px 28px; }
  .auth-form-wrap h2 { font-size: 26px; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; width: 240px; }
  .menu-open .sidebar { transform: translateX(0); box-shadow: 10px 0 40px #0006; }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 25; border: 0; background: #030814ab; backdrop-filter: blur(2px); }
  .main-column { margin-left: 0; }
  .mobile-menu { display: inline-flex; }
  .mobile-menu::before { content: ''; width: 17px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
  .topbar { min-height: 64px; padding: 0 18px; }
  .topbar .row { gap: 8px; }
  .main-content { padding: 28px 22px 36px; }
  .topbar-meta > span:not(.topbar-avatar) { display: none; }
  .page-heading { gap: 16px; }
  .overview-hero { min-height: 290px; }
  .hero-art { right: 10px; width: 35%; opacity: .8; }
  .hero-window { width: 195px; }
  .hero-copy { width: 63%; }
  .site-grid { gap: 15px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-story { padding: 25px 28px; border-right: 0; border-bottom: 1px solid #393346; }
  .auth-story-content { padding: 25px 0 0; margin: 0; }
  .auth-story-content > .eyebrow, .auth-preview, .auth-footer { display: none; }
  .auth-story h1 { font-size: 33px; margin: 8px 0 12px; }
  .auth-story h1 br { display: none; }
  .auth-intro { margin-bottom: 0; max-width: 520px; font-size: 11px; }
  .auth-panel { padding: 34px 28px; }
  .auth-form-wrap { max-width: 450px; }
  .auth-form-wrap > .label-pill { display: none; }
  .server-status { margin-bottom: 0; }
  .workspace-footer { padding: 17px 22px; }
}
@media (max-width: 520px) {
  .main-content { padding: 25px 16px 30px; }
  .page-heading { flex-direction: column; margin-bottom: 22px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading .actions:empty { display: none; }
  .page-heading .actions .button { font-size: 11px; }
  .hero-copy { width: 100%; }
  .hero-copy h2 { font-size: 29px; }
  .hero-copy p { max-width: 285px; }
  .overview-hero { padding: 25px; }
  .hero-art { display: none; }
  .metrics { gap: 10px; margin-top: 17px; }
  .metric { padding: 14px; }
  .metric .small { font-size: 9px; }
  .metric-value { font-size: 29px; }
  .metric .row { gap: 4px; }
  .metric-icon { width: 22px; height: 24px; }
  .metric-icon svg { width: 14px; height: 14px; }
  .workspace-pulse { display: block; }
  .card-heading { padding: 19px; }
  .card-heading .text-link { font-size: 10px; }
  .site-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 19px; }
  .site-art { height: 165px; }
  .mini-browser { width: 58%; }
  .editor-card, .ai-card, .integration-card { padding: 20px; }
  .studio-aside { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .version-card { padding: 17px; gap: 13px; }
  .version-actions { padding-left: 0; }
  .version-actions .button { flex: 1; padding: 9px; }
  .release-strip { display: grid; gap: 14px; padding: 16px; }
  .controls-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .control-card { display: block; }
  .control-code { display: inline-block; margin-bottom: 16px; }
  .control-actions { justify-content: flex-start; margin-top: 18px; }
  .control-info .row { gap: 8px; }
  .control-meta { gap: 12px; }
  .rule-card { padding: 20px; }
  .dialog-form { padding: 22px; }
  .dialog-footer .button { padding: 10px 12px; }
  .notifications { bottom: 16px; right: 16px; }
  .workspace-footer { font-size: 9px; padding: 15px 16px; gap: 15px; }
  .auth-story { padding: 23px; }
  .auth-story h1 { font-size: 28px; }
  .auth-panel { padding: 30px 23px; }
  .auth-form-wrap h2 { font-size: 26px; }
  .auth-form-wrap > .muted { margin-bottom: 20px; }
  .auth-story .brand { font-size: 22px; }
  .auth-story .brand-mark { width: 32px; height: 32px; font-size: 20px; border-radius: 9px 9px 9px 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
.activity-list{display:grid;gap:12px;margin:16px 0;max-height:420px;overflow:auto}.activity-item{padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.03)}.activity-item strong{display:block;margin-bottom:6px}.activity-item p{margin:0;white-space:pre-wrap}.resource-list{display:grid;gap:10px;margin:0 0 18px}.resource-list div{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12)}.resource-list dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.resource-list dd{margin:0;overflow-wrap:anywhere}
