:root {
  color-scheme: dark;
  --bg: #0d0d16;
  --surface: #161620;
  --surface-raised: #1d1c29;
  --text: #f0f1fa;
  --muted: #a6a4b8;
  --subtle: #77758c;
  --violet: #a99bff;
  --cyan: #a6ddea;
  --line: #ffffff12;
  --sidebar-width: 228px;
  --topbar-height: 76px;
  --radius: 12px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button, input, textarea { border-radius: 0; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
button svg, a svg { width: 18px; height: 18px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.2; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--cyan); }
::selection { background: #a99bff55; color: var(--text); }
.hidden { display: none !important; }
.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; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 29px 18px 18px; background: #11111c; color: #f0f1fa; border-right: 1px solid #ffffff07; }
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; padding: 0 14px; margin-bottom: 45px; }
.brand img { width: 140px; max-height: 38px; object-fit: contain; object-position: left center; }
.brand > svg { width: 140px; height: auto; }
.brand span { font-family: var(--display); font-size: 27px; letter-spacing: -.8px; }
.nav-section { display: grid; gap: 6px; margin-bottom: 29px; }
.nav-section > p, .nav-section > h2, .nav-section > small, .nav-label { margin: 0 14px 7px; color: #77758c; font-family: var(--font); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 44px; width: 100%; padding: 11px 14px; border: 0; border-radius: 8px; background: transparent; color: #a6a4b8; font-size: 13px; font-weight: 500; text-align: left; transition: background .18s, color .18s; }
.nav-item:hover { background: #ffffff06; color: #f0f1fa; }
.nav-item.active { color: #c2b8ff; background: #a99bff15; }
.nav-icon { display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; flex-shrink: 0; }
.nav-icon svg, .nav-item > svg { width: 18px; height: 18px; stroke-width: 1.6; }
.nav-item .badge { margin-left: auto; padding: 1px 6px; font-size: 10px; }
.sidebar-bottom { display: grid; gap: 14px; margin-top: auto; padding-top: 26px; }
.sidebar-bottom > p, .sidebar-bottom > small { padding: 0 14px; color: #77758c; font-size: 11px; }
.workspace-switch { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 11px; background: #1a1927; border: 1px solid #ffffff09; border-radius: 10px; text-align: left; }
.workspace-switch > div:not(.avatar) { min-width: 0; flex: 1; }
.workspace-switch strong { display: block; color: #e7e5f2; font-size: 12px; font-weight: 500; }
.workspace-switch small, .workspace-switch p { display: block; color: #8d899f; font-size: 10px; margin-top: 2px; }
.workspace-switch > svg { margin-left: auto; width: 15px; color: #8d899f; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; background: #37314e; color: #d4caff; border-radius: 50%; font-size: 11px; font-weight: 600; }
.main-shell { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar { position: sticky; z-index: 30; top: 0; height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 40px; border-bottom: 1px solid var(--line); background: #0d0d16ed; backdrop-filter: blur(16px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); font-size: 12px; }
.breadcrumb svg { width: 15px; height: 15px; color: var(--subtle); }
.breadcrumb strong, .breadcrumb [aria-current] { color: var(--text); font-weight: 400; }
.top-actions { display: flex; align-items: center; gap: 17px; flex-shrink: 0; }
.icon-button, .mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 7px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.icon-button:hover, .mobile-menu:hover { color: var(--text); background: var(--surface-raised); }
.icon-button svg, .mobile-menu svg { width: 18px; height: 18px; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #b1a7cc; background: #a99bff0b; border: 1px solid #a99bff24; border-radius: 5px; font-size: 10px; font-weight: 500; letter-spacing: .25px; }
.demo-pill svg { width: 12px; height: 12px; }
.mobile-menu { display: none; }
.sidebar-overlay { display: none; }
.content { width: 100%; max-width: 1300px; margin: 0 auto; padding: 28px 40px 40px; }

.hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 195px; padding: 12px 0 21px; margin-bottom: 13px; }
.hero-copy { position: relative; z-index: 1; max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--violet); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow svg { width: 13px; height: 13px; }
.hero h1 { max-width: 620px; margin-bottom: 16px; font-size: clamp(31px, 3.1vw, 43px); letter-spacing: -1.6px; line-height: 1.16; }
.hero h1 em, .hero h1 span { color: var(--violet); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 490px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.hero-art { position: relative; width: 290px; height: 183px; flex: 0 0 290px; overflow: visible; pointer-events: none; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-ring { position: absolute; top: 50%; left: 50%; width: 270px; height: 104px; border: 1px solid #a99bff30; border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg); }
.orbit-ring:nth-child(2) { width: 240px; height: 146px; border-color: #a6ddea20; transform: translate(-50%, -50%) rotate(28deg); }
.orbit-ring:nth-child(3) { width: 192px; height: 172px; border-color: #a99bff20; transform: translate(-50%, -50%) rotate(-50deg); }
.orbit-ring::after { content: ""; position: absolute; top: 17%; left: 8%; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 16px #a99bff40; }
.orbit-ring:nth-child(2)::after { top: 74%; left: 88%; width: 5px; height: 5px; background: var(--cyan); }
.orbit-ring:nth-child(3)::after { display: none; }
.orbit-core { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #a99bff48; border-radius: 23px; background: #27223f; color: var(--violet); box-shadow: 0 0 50px #a99bff13; transform: rotate(-9deg); }
.orbit-core img, .orbit-core svg { width: 40px; height: 40px; transform: rotate(9deg); }
.hero-art > svg { width: 100%; height: 100%; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0 15px; }
.section-heading h2 { font-size: 19px; letter-spacing: -.5px; }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; padding: 5px 0; color: var(--violet); background: transparent; font-size: 11px; font-weight: 500; }
.text-button svg { width: 14px; height: 14px; }
.text-button:hover { color: var(--cyan); }
.continue-card { position: relative; display: flex; align-items: center; gap: 21px; padding: 23px 26px; border: 1px solid #a99bff25; border-radius: var(--radius); background: #201c32; color: #f0f1fa; }
.continue-card > .product-icon { width: 48px; height: 48px; flex-basis: 48px; background: #a99bff18; }
.continue-copy { min-width: 0; flex: 1; }
.continue-copy h3 { margin: 5px 0 7px; font-size: 19px; letter-spacing: -.4px; }
.continue-copy > p { color: #b1abc2; font-size: 12px; }
.continue-copy .eyebrow { margin-bottom: 6px; font-size: 9px; letter-spacing: 1.2px; }
.continue-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 10px; color: #aca3c3; font-size: 10px; }
.continue-meta svg { display: inline; width: 12px; height: 12px; vertical-align: middle; }
.continue-card > .btn { margin-left: auto; flex-shrink: 0; }
.progress-track { height: 4px; width: 100%; max-width: 240px; overflow: hidden; border-radius: 99px; background: #ffffff12; }
.progress-fill { width: 36%; height: 100%; border-radius: inherit; background: var(--violet); }
.continue-card .progress-track { margin-top: 12px; }

.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 31px 0 18px; }
.tabs { display: flex; align-items: center; gap: 24px; min-width: 0; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 11px 0 13px; border: 0; background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--violet); border-radius: 2px; }
.tab span, .tab .badge { margin-left: 7px; padding: 2px 6px; border-radius: 4px; background: var(--surface-raised); color: var(--muted); font-size: 10px; }
.tab.active span, .tab.active .badge { background: #a99bff20; color: var(--violet); }
.search-box { display: flex; align-items: center; gap: 9px; width: 246px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--subtle); }
.search-box svg { width: 15px; height: 15px; }
.search-box input { min-width: 0; width: 100%; padding: 0; border: 0; outline-offset: 6px; background: transparent; color: var(--text); font-size: 11px; }
.search-box input::placeholder { color: var(--subtle); opacity: 1; }
.search-box:focus-within { border-color: var(--violet); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-size: 10px; }
.filter-chip svg { width: 12px; height: 12px; }
.filter-chip:hover { background: var(--surface-raised); color: var(--text); }
.filter-chip.active { border-color: #a99bff40; background: #a99bff16; color: #c5baff; }
.filter-row > span, .results-count { margin-left: auto; color: var(--subtle); font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 282px; padding: 22px; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius); background: var(--surface); transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #00000020; }
.product-card.owned { background: #252039; border-color: #a99bff3a; color: #f0f1fa; }
.product-card.locked, .product-card.pending { background: #e8e7ee; color: #282530; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 23px; }
.product-icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 10px; background: #a99bff18; color: var(--violet); }
.product-icon svg { width: 23px; height: 23px; stroke-width: 1.5; }
.product-card.locked .product-icon, .product-card.pending .product-icon { background: #dbd7e6; color: #726681; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 7px; border-radius: 4px; background: #a99bff18; color: #cec4ff; font-size: 9px; font-weight: 500; white-space: nowrap; }
.status-pill svg { width: 11px; height: 11px; }
.locked .status-pill { background: #d9d6e2; color: #625a70; }
.pending .status-pill { background: #dfd5c4; color: #6d552c; }
.card-body { flex: 1; }
.card-body h3 { margin-bottom: 11px; color: inherit; font-size: 20px; letter-spacing: -.55px; }
.card-body > p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.owned .card-body > p { color: #bcb5cb; }
.locked .card-body > p, .pending .card-body > p { color: #676171; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.card-tags > * { padding: 3px 6px; border-radius: 3px; background: #ffffff07; color: #aaa1bc; font-size: 9px; line-height: 1.35; }
.locked .card-tags > *, .pending .card-tags > * { background: #dedbe6; color: #6c6479; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; }
.card-footer > span, .card-footer > small, .card-footer > p { color: #aca3c0; font-size: 10px; }
.locked .card-footer > span, .locked .card-footer > small, .locked .card-footer > p, .pending .card-footer > span, .pending .card-footer > small { color: #70697d; }
.card-footer .btn { padding: 9px 13px; min-height: 35px; font-size: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .18s, color .18s, box-shadow .18s; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--violet); color: #211a35; }
.btn-primary:hover { background: #baafff; box-shadow: 0 3px 15px #a99bff18; }
.btn-secondary { border-color: #a99bff30; background: #a99bff0e; color: var(--violet); }
.btn-secondary:hover { background: #a99bff1f; }
.btn-buy { background: #302b3b; color: #f4f1fa; }
.btn-buy:hover { background: #4c3e66; }
.locked .btn-secondary, .pending .btn-secondary { border-color: #bcb5ca; background: transparent; color: #5c4d76; }
.empty-state { display: grid; justify-items: center; gap: 15px; grid-column: 1 / -1; padding: 65px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state > svg { width: 36px; height: 36px; color: var(--subtle); }
.empty-state h2, .empty-state h3 { font-size: 23px; }
.empty-state p { max-width: 410px; color: var(--muted); font-size: 13px; }
.footer-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 31px; color: var(--subtle); font-size: 10px; text-align: center; }
.footer-note svg { width: 12px; height: 12px; }

.page-heading { margin: 27px 0 27px; }
.page-heading h1 { margin: 11px 0 12px; font-size: clamp(29px, 3vw, 40px); letter-spacing: -1.2px; }
.page-heading > p { max-width: 680px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.back-button { display: inline-flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 19px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.back-button svg { width: 15px; height: 15px; }
.back-button:hover { color: var(--violet); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 27px; align-items: start; }
.detail-main, .detail-aside { min-width: 0; }
.detail-main > section { margin-bottom: 28px; }
.detail-main h2, .detail-aside h2 { margin-bottom: 16px; font-size: 20px; letter-spacing: -.4px; }
.detail-main > p, .detail-main section > p, .detail-aside > p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.detail-aside { position: sticky; top: 100px; padding: 24px; border: 1px solid #a99bff24; border-radius: var(--radius); background: #211d32; color: #f0f1fa; }
.detail-aside .btn { width: 100%; margin-top: 18px; }
.detail-aside .status-pill { margin-bottom: 16px; }
.detail-aside > p { color: #b9b1c9; }
.workflow-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.workflow-step { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 9px; background: var(--surface); }
.workflow-step h3 { margin: 2px 0 5px; font-size: 15px; }
.workflow-step p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #a99bff22; border-radius: 8px; color: var(--violet); font-family: var(--display); font-size: 12px; }
.squad-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.member { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 9px; background: var(--surface); }
.member h3, .member strong { font-family: var(--font); font-size: 12px; font-weight: 500; }
.member p, .member small { color: var(--muted); font-size: 11px; }
.member > svg { width: 24px; height: 24px; color: var(--violet); }
.info-list { display: grid; gap: 13px; margin: 18px 0; padding: 0; list-style: none; }
.info-list > li, .info-list > div { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.info-list svg { width: 15px; height: 15px; margin-top: 2px; color: var(--violet); }
.detail-aside .info-list > li, .detail-aside .info-list > div { color: #c2bbd1; }
.info-list dt { flex: 1; }
.info-list dd { margin: 0; }
.form-field { display: grid; gap: 9px; margin-bottom: 20px; }
.form-field > label, .form-field > span { color: var(--text); font-size: 12px; font-weight: 500; }
.form-field small { color: var(--muted); font-size: 11px; }
.input, .textarea, .form-field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 13px; }
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.input:focus, .textarea:focus, .form-field select:focus { border-color: var(--violet); }
.textarea { min-height: 145px; resize: vertical; line-height: 1.75; }
.work-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 25px; align-items: start; }
.work-sidebar { padding: 20px 16px; border-radius: var(--radius); background: var(--surface); }
.work-sidebar > h2, .work-sidebar > h3 { padding: 0 9px; margin-bottom: 16px; font-size: 13px; }
.work-main { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.work-main > h2 { margin-bottom: 12px; font-size: 24px; letter-spacing: -.6px; }
.work-main > p { margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.work-main > .btn { margin-top: 9px; }
.stepper { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.step-item { display: flex; align-items: center; gap: 9px; padding: 12px 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; text-align: left; }
.step-item .step-number { width: 23px; height: 23px; border-color: var(--line); border-radius: 50%; color: var(--subtle); font-size: 10px; }
.step-item.current { background: #a99bff14; color: var(--violet); }
.step-item.current .step-number { border-color: #a99bff55; color: var(--violet); }
.step-item.complete { color: var(--cyan); }
.step-item.complete .step-number { border-color: #a6ddea30; color: var(--cyan); }
.step-item > svg { width: 17px; height: 17px; }
.delivery-preview { padding: 25px; border: 1px solid #a6ddea25; border-radius: 10px; background: #a6ddea06; }
.delivery-preview h2 { margin-bottom: 18px; font-size: 24px; }
.delivery-preview h3 { margin: 22px 0 9px; font-size: 17px; }
.delivery-preview p, .delivery-preview li { color: var(--muted); font-size: 13px; line-height: 1.8; }
.delivery-preview ul, .delivery-preview ol { padding-left: 20px; }
.delivery-preview pre { overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.8; }
.activity-list { display: grid; gap: 9px; }
.activity-row { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 10px; background: var(--surface); }
.activity-row > div:not(.product-icon) { flex: 1; min-width: 0; }
.activity-row h3 { font-family: var(--font); font-size: 13px; font-weight: 500; }
.activity-row p, .activity-row small, .activity-row time { color: var(--muted); font-size: 11px; }
.activity-row .badge { flex-shrink: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; background: #a99bff17; color: var(--violet); font-size: 10px; font-weight: 500; }

.dialog { position: fixed; width: min(500px, calc(100vw - 36px)); max-height: calc(100dvh - 48px); padding: 32px; overflow-y: auto; border: 1px solid #a99bff30; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 28px 110px #00000070; }
.dialog::backdrop { background: #06060dcc; backdrop-filter: blur(8px); }
.dialog h2 { padding-right: 24px; margin-bottom: 13px; font-size: 27px; letter-spacing: -.7px; }
.dialog > p, .dialog form > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.dialog .eyebrow { margin-bottom: 12px; }
.dialog .product-icon { margin-bottom: 20px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; padding: 7px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.dialog-close:hover { background: var(--surface-raised); color: var(--text); }
.dialog-close svg { width: 16px; height: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.toast { position: fixed; z-index: 100; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 40px); padding: 14px 18px; border: 1px solid #a99bff40; border-radius: 10px; background: #28223b; color: #f0f1fa; box-shadow: 0 10px 50px #00000040; font-size: 12px; }
.toast svg { width: 17px; height: 17px; color: var(--cyan); }

/* Classes used by the navigable prototype and its generated product views. */
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 120; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-180%); border-radius: 7px; background: var(--violet); color: #211a35; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }
.brand { margin-bottom: 29px; }
.sidebar > .workspace-switch { margin-bottom: 31px; }
.workspace-switch > span:not(.workspace-monogram):not(.chevron) { min-width: 0; flex: 1; font-size: 12px; }
.workspace-monogram { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border: 1px solid #a99bff33; border-radius: 8px; background: #a99bff14; color: #baaeef; font-family: var(--display); font-size: 17px; }
.workspace-switch .chevron { color: #8d899f; font-size: 16px; }
.nav-section nav { display: grid; gap: 5px; }
.nav-dot { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #b9aaff; opacity: 0; }
.active .nav-dot { opacity: 1; }
.nav-count { display: grid; place-items: center; min-width: 18px; height: 18px; margin-left: auto; border-radius: 4px; background: #ffffff09; color: #a6a4b8; font-size: 10px; }
.sidebar-note { display: flex; align-items: center; gap: 10px; padding: 15px 12px 22px; }
.sidebar-note p { color: #767187; font-size: 10px; line-height: 1.85; }
.sidebar-note strong { color: #a9a2ba; font-weight: 400; }
.tiny-orbit { color: #a99bff; font-size: 26px; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 17px 11px 0; border: 0; border-top: 1px solid #ffffff0a; background: transparent; color: #d4d0e0; text-align: left; }
.profile-button > span:nth-child(2) { flex: 1; font-size: 11px; }
.profile-button small { display: block; margin-top: 3px; color: #7b748e; font-size: 10px; }
.profile-button > span:last-child svg { width: 13px; height: 13px; color: #777087; }
.avatar-small { width: 30px; height: 30px; flex-basis: 30px; border: 1px solid #a99bff20; font-size: 10px; }
.dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.hero-link { margin-top: 18px; }
.hero-art { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 300px; height: 280px; flex-basis: 300px; overflow: hidden; pointer-events: auto; }
.orbital-stage { position: relative; width: 100%; height: 210px; flex: 0 0 210px; }
.orbital-art { display: block; width: 100%; height: 210px; max-height: 210px; flex: 0 0 210px; object-fit: contain; }
.orbital-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.hero-art.is-rendered .orbital-canvas { opacity: 1; }
.hero-art.is-rendered .orbital-art { visibility: hidden; }
.orbit-motion-toggle { min-height: 28px; padding: 4px 8px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 10px; cursor: pointer; }
.orbit-motion-toggle:hover { color: var(--violet); }
.orbit-core { background: #27223f url("assets/orya-simbolo-violeta.svg") center / 39px 39px no-repeat; }
.orbit-ring { box-shadow: 0 1px 0 #a99bff17; }
.orbit-point { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #a6ddea; }
.point-one { top: 26%; right: 16%; box-shadow: 0 0 14px #a6ddea44; }
.point-two { bottom: 18%; left: 22%; width: 3px; height: 3px; background: #a99bff; }
.art-label { position: static; display: block; flex: 0 0 auto; margin-top: 8px; color: #8c85a2; font-size: 7px; line-height: 1.85; letter-spacing: 1.45px; text-align: center; }
.continue-card { width: 100%; text-align: left; }
.continue-card:hover { background: #262039; border-color: #a99bff42; }
.continue-copy .continue-meta { margin-top: 0; font-size: 9px; letter-spacing: .5px; }
.continue-copy .continue-meta > span { opacity: .45; }
.continue-progress { width: 140px; flex-shrink: 0; margin-left: auto; }
.continue-progress > span { display: block; color: #afa5c3; font-size: 10px; text-align: right; }
.continue-progress .progress-track { margin-top: 8px; }
.continue-arrow { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 10px; border: 1px solid #a99bff2b; border-radius: 50%; color: #b9aaff; }
.continue-arrow svg { width: 15px; height: 15px; }
.catalog-heading { margin-top: 34px; }
.catalog-heading .eyebrow { margin-bottom: 9px; font-size: 8px; letter-spacing: 1.4px; }
.catalog-heading h2 { font-size: 24px; letter-spacing: -.7px; }
.heading-count { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 20px; margin-left: 7px; padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--subtle); font-family: var(--font); font-size: 10px; vertical-align: middle; letter-spacing: 0; }
.catalog-note { align-self: flex-end; padding-bottom: 3px; color: var(--subtle); font-size: 10px; }
.catalog-heading + .section-toolbar { margin-top: 18px; }
.search-box kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--subtle); font: 10px var(--font); }
.card-category { display: block; margin-bottom: 7px; color: #a69abf; font-size: 8px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.locked .card-category, .pending .card-category { color: #777080; }
.card-tags > * { display: inline-flex; align-items: center; gap: 5px; }
.card-tags svg { width: 11px; height: 11px; }
.locked .text-button, .pending .text-button { color: #67537e; }
.locked .text-button:hover, .pending .text-button:hover { color: #402966; }
.locked :focus-visible, .pending :focus-visible { outline-color: #604498; }
.footer-note { justify-content: flex-start; flex-wrap: wrap; }
.footer-demo { margin-left: auto; color: var(--subtle); font-size: 9px; }
.title-dot { color: var(--violet); }
.product-heading { margin-top: 7px; margin-bottom: 33px; }
.product-heading h1 { font-size: 40px; }
.detail-section { padding-bottom: 4px; }
.detail-section .section-heading { margin-top: 0; }
.detail-section .section-heading h2 { margin-bottom: 0; }
.delivery-list { display: grid; gap: 10px; margin-top: 22px; }
.delivery-list > div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.delivery-list svg { width: 15px; height: 15px; color: var(--cyan); }
.squad-members { margin-top: 20px; }
.member { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 5px 11px; }
.member-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: #a99bff12; color: var(--violet); }
.member-avatar svg { width: 17px; height: 17px; }
.member > .member-avatar { grid-row: span 2; }
.member h3 { align-self: center; line-height: 1.55; }
.member p { grid-column: 2; font-size: 10px; line-height: 1.7; }
.detail-aside > .product-icon { margin: 0 9px 18px 0; vertical-align: middle; }
.detail-aside > .status-pill { vertical-align: middle; white-space: normal; text-align: left; font-size: 8px; }
.detail-aside .aside-note { margin-top: 14px; color: #958ca8; font-size: 10px; text-align: center; line-height: 1.7; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 3px; }
.workspace-heading h1 { max-width: 660px; font-size: 32px; line-height: 1.3; }
.workspace-heading > .badge { flex-shrink: 0; }
.step-item > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--subtle); font-size: 10px; }
.step-item > span:first-child svg { width: 12px; height: 12px; }
.step-item.current > span:first-child { border-color: #a99bff55; background: #a99bff14; color: var(--violet); }
.step-item.complete > span:first-child { border-color: #a6ddea30; color: var(--cyan); }
.step-item small { display: block; margin-top: 2px; color: var(--subtle); font-size: 9px; line-height: 1.5; }
.work-squad { margin: 23px 9px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.work-squad .eyebrow { font-size: 8px; letter-spacing: .8px; }
.work-squad p { display: flex; align-items: center; gap: 7px; margin: 10px 0; color: var(--muted); font-size: 10px; }
.work-squad p svg { width: 13px; height: 13px; color: var(--subtle); }
.form-field { color: var(--text); font-size: 12px; font-weight: 500; }
.form-field input, .form-field textarea, .form-field small { font-weight: 400; }
.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.squad-task-list { display: grid; gap: 11px; margin: 24px 0; }
.squad-task { display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.squad-task > div { min-width: 0; flex: 1; }
.squad-task h3 { margin-bottom: 5px; font-family: var(--font); font-size: 12px; font-weight: 500; }
.squad-task p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.squad-task .badge { font-size: 8px; }
.context-preview { margin: 24px 0; padding: 19px; border-left: 2px solid #a99bff55; background: #a99bff07; }
.context-preview .eyebrow { font-size: 9px; }
.context-preview p { color: var(--muted); font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.delivery-preview { margin: 24px 0; }
.document-label { display: block; color: var(--subtle); font-size: 8px; letter-spacing: 1px; }
.delivery-preview h3 { font-size: 22px; letter-spacing: -.4px; }
.delivery-preview h4 { margin: 24px 0 10px; font-size: 14px; }
.completion-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid #a6ddea33; border-radius: 50%; background: #a6ddea0b; color: var(--cyan); }
.completion-icon svg { width: 26px; height: 26px; }
.download-card { display: flex; align-items: center; gap: 14px; padding: 20px; margin: 26px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.download-card > div { min-width: 0; flex: 1; }
.download-card h3 { font-family: var(--font); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.download-card p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.download-card .icon-button { flex-shrink: 0; }
.activity-row { width: 100%; border: 1px solid transparent; text-align: left; }
button.activity-row:hover { border-color: #a99bff30; background: var(--surface-raised); }
.activity-row > svg { width: 17px; height: 17px; color: var(--subtle); }
.demo-notice { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; background: #a99bff08; color: var(--muted); }
.demo-notice > svg { width: 17px; height: 17px; margin-top: 2px; color: var(--violet); }
.demo-notice p { font-size: 11px; line-height: 1.75; }
.demo-notice strong { color: var(--text); font-weight: 500; }
.purchase-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 18px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.purchase-summary span { color: var(--muted); }
.purchase-summary strong { font-weight: 500; text-align: right; }
#modal-content > p { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.help-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.help-card h2 { margin: 15px 0 12px; font-size: 20px; letter-spacing: -.5px; }
.help-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq-list { display: grid; gap: 10px; max-width: 860px; margin-top: 35px; }
.faq-list details { padding: 20px 23px; border-radius: 9px; background: var(--surface); }
.faq-list summary { cursor: pointer; color: var(--text); font-size: 13px; font-weight: 500; }
.faq-list summary::marker { color: var(--violet); }
.faq-list details p { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.toast { visibility: hidden; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.toast.visible { visibility: visible; opacity: 1; transform: translateY(0); }

[data-theme="light"] { color-scheme: light; --bg: #f7f6fb; --surface: #ffffff; --surface-raised: #eeebf5; --text: #282335; --muted: #716980; --subtle: #898198; --violet: #7861c8; --cyan: #297a91; --line: #3c285a13; }
[data-theme="light"] .topbar { background: #f7f6fbed; }
[data-theme="light"] .demo-pill { color: #72608c; }
[data-theme="light"] .filter-chip.active { color: #6b50b7; background: #a99bff20; }
[data-theme="light"] .continue-card, [data-theme="light"] .product-card.owned, [data-theme="light"] .detail-aside { --violet: #a99bff; --cyan: #a6ddea; }
[data-theme="light"] .orbit-ring { border-color: #7861c82e; }
[data-theme="light"] .orbit-ring:nth-child(2) { border-color: #297a912e; }
[data-theme="light"] .orbit-core { background-color: #e9e2fc; border-color: #7861c83a; box-shadow: 0 0 50px #7861c810; }
[data-theme="light"] .product-card.locked, [data-theme="light"] .product-card.pending { background: #e8e7ee; }
[data-theme="light"] .btn-primary { background: #a99bff; }
[data-theme="light"] .btn-primary:hover { background: #9583ef; }

@media (min-width: 1600px) {
  .content { padding-top: 35px; }
  .hero { min-height: 225px; }
  .product-card { min-height: 300px; padding: 25px; }
}
@media (max-width: 1220px) {
  .content { padding-right: 28px; padding-left: 28px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { width: 210px; flex-basis: 210px; transform: scale(.83); transform-origin: right center; }
  .hero h1 { font-size: 35px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  .detail-aside { padding: 21px; }
  .work-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 1000px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 20px 0 70px #00000050; }
  .sidebar-overlay:not(.hidden) { position: fixed; z-index: 40; inset: 0; display: block; border: 0; border-radius: 0; background: #030308a6; backdrop-filter: blur(3px); }
  .main-shell { margin-left: 0; }
  .mobile-menu { display: inline-flex; flex-shrink: 0; }
  .breadcrumb { margin-right: auto; }
  .hero-art { width: 270px; flex-basis: 270px; transform: none; }
  .content { max-width: 940px; }
}
@media (max-width: 700px) {
  :root { --topbar-height: 64px; }
  .topbar { gap: 11px; padding: 0 20px; }
  .top-actions { gap: 8px; }
  .top-actions .avatar { width: 29px; height: 29px; flex-basis: 29px; font-size: 10px; }
  .demo-pill { padding: 4px 6px; font-size: 9px; }
  .breadcrumb { gap: 7px; font-size: 11px; }
  .breadcrumb > svg { display: none; }
  .content { padding: 23px 20px 32px; }
  .hero { position: relative; min-height: 180px; gap: 0; margin-bottom: 0; padding: 10px 0 24px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { max-width: 450px; font-size: 34px; letter-spacing: -1.2px; }
  .hero-copy > p:not(.eyebrow) { max-width: 370px; font-size: 12px; }
  .hero-art { position: absolute; z-index: 0; top: 0; right: -15px; width: 150px; height: 130px; opacity: .18; transform: scale(.65); transform-origin: right top; }
  .eyebrow { margin-bottom: 11px; font-size: 9px; }
  .section-heading { margin-top: 23px; }
  .section-heading h2 { font-size: 18px; }
  .continue-card { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .continue-copy { flex-basis: calc(100% - 65px); }
  .continue-copy h3 { font-size: 17px; }
  .continue-card > .btn { width: 100%; margin: 2px 0 0; }
  .section-toolbar { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 25px; }
  .tabs { gap: 23px; }
  .tab { font-size: 12px; }
  .search-box { width: 100%; padding: 11px 12px; }
  .search-box input { font-size: 12px; }
  .filter-row { gap: 7px; margin-bottom: 19px; }
  .filter-chip { padding: 6px 10px; }
  .filter-row > span, .results-count { width: 100%; margin: 5px 0 0; }
  .product-grid { grid-template-columns: 1fr; gap: 15px; }
  .product-card { min-height: 265px; padding: 22px; }
  .card-body > p { font-size: 12px; }
  .card-footer .btn { min-height: 39px; padding: 10px 14px; font-size: 11px; }
  .detail-grid, .work-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .page-heading { margin-top: 20px; }
  .page-heading h1 { font-size: 31px; }
  .work-sidebar { padding: 15px; }
  .stepper { display: flex; overflow-x: auto; gap: 5px; padding-bottom: 2px; }
  .step-item { flex-shrink: 0; padding: 9px; }
  .work-main { padding: 22px 19px; }
  .work-main > h2 { font-size: 22px; }
  .squad-members { grid-template-columns: 1fr; }
  .activity-row { gap: 11px; flex-wrap: wrap; padding: 16px; }
  .activity-row time { margin-left: 55px; }
  .dialog { padding: 26px 23px; border-radius: 13px; }
  .dialog h2 { font-size: 24px; }
  .toast { right: 20px; bottom: 20px; font-size: 11px; }
  .footer-note { align-items: flex-start; margin-top: 26px; font-size: 9px; }
  .footer-note svg { margin-top: 2px; flex-shrink: 0; }
}
@media (max-width: 390px) {
  .demo-pill { display: none; }
  .top-actions { gap: 5px; }
  .hero h1 { font-size: 31px; }
  .tabs { gap: 18px; }
  .tab { font-size: 11px; }
  .tab span { margin-left: 4px; }
  .section-heading .text-button { font-size: 10px; }
}
@media (max-width: 700px) {
  .hero-art { display: none; }
  .hero { overflow: hidden; }
  .continue-progress { width: calc(100% - 60px); margin-left: 0; }
  .continue-progress > span { text-align: left; }
  .continue-progress .progress-track { max-width: none; }
  .continue-arrow { margin-left: auto; }
  .continue-copy .continue-meta { gap: 6px; font-size: 8px; }
  .catalog-note { display: none; }
  .catalog-heading h2 { font-size: 23px; }
  .art-label { display: none; }
  .footer-note { justify-content: center; }
  .footer-demo { width: 100%; margin-left: 0; }
  .workspace-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .workspace-heading h1 { font-size: 28px; }
  .product-heading h1 { font-size: 33px; }
  .step-item small { display: none; }
  .work-squad { display: none; }
  .squad-task { flex-wrap: wrap; padding: 14px; }
  .squad-task .badge { margin-left: 44px; }
  .squad-task > div { flex-basis: calc(100% - 44px); }
  .form-actions > .btn { width: 100%; }
  .form-actions > .text-button { min-height: 36px; }
  .help-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-card { padding: 23px; }
  .purchase-summary { grid-template-columns: 1fr; gap: 7px; }
  .purchase-summary strong { margin-bottom: 8px; text-align: left; }
  .dialog-actions { flex-direction: column; }
  .dialog-actions .btn { width: 100%; }
  .activity-row .badge { margin-left: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .product-card:hover { transform: none; }
}

/* Keep intrinsic stepper width inside the mobile workspace column. */
.work-layout > *, .detail-grid > * { min-width: 0; }
@media (max-width: 700px) {
  .work-layout, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .stepper { max-width: 100%; }
}
