:root {
  color-scheme: light;
  --ink: #222039;
  --muted: #68647b;
  --purple: #5d40ca;
  --purple-deep: #4e33b4;
  --line: #ebe8f1;
  --canvas: #f8f7fb;
  --white: #fff;
  --radius: 17px;
  font: 15px/1.45 "Inter", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #9b83fb; outline-offset: 3px; }
h1, h2, p { margin: 0; }
svg { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
[hidden] { display: none !important; }
.shell { display: grid; min-height: 100vh; grid-template-columns: 244px minmax(0, 1fr); }
#sidebar { display: flex; flex-direction: column; gap: 0; background: #fff; padding: 29px 18px 21px; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100dvh; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 8px 33px; }
.brand-icon { width: 41px; height: 41px; border-radius: 13px; display: grid; place-items: center; color: white; background: var(--purple); box-shadow: 0 3px 8px #5d40ca38; }
.brand-icon svg { width: 23px; height: 23px; }
.brand strong { font-size: 24px; letter-spacing: -.07em; line-height: 1; display: block; font-weight: 750; }
.brand-dot { color: var(--purple); }
.brand small { font-size: 9px; letter-spacing: .17em; margin-top: 4px; display: block; color: var(--muted); font-weight: 750; }
.project-picker { position: relative; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #e9e5f0; border-radius: 12px; padding: 9px; min-width: 0; }
.project-picker label { min-width: 0; flex: 1; }
.project-picker small { display: block; font-size: 11px; color: var(--muted); }
.project-picker select { width: 100%; appearance: none; border: 0; background: transparent; font-size: 13px; font-weight: 700; padding: 0 14px 0 0; text-overflow: ellipsis; }
.project-picker > svg { width: 14px; height: 14px; position: absolute; right: 10px; top: 28px; color: var(--muted); pointer-events: none; }
.project-picker .tile { width: 35px; height: 35px; border-radius: 9px; }
.nav-label { margin: 31px 10px 10px; letter-spacing: .12em; font-size: 10px; color: var(--muted); font-weight: 750; }
nav { display: grid; gap: 4px; }
nav a { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 540; color: #5b576f; min-height: 42px; padding: 8px 10px; border-radius: 9px; }
nav a svg { width: 18px; height: 18px; }
nav a:hover { background: #f7f5fb; }
nav a[aria-current] { color: var(--purple-deep); background: #eee9ff; font-weight: 750; }
nav a b { margin-left: auto; background: #efe9ff; color: var(--purple-deep); min-width: 21px; min-height: 21px; display: grid; place-items: center; padding: 1px 4px; border-radius: 7px; font-size: 11px; }
.sidebar-footer { margin-top: auto; padding: 15px 9px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; color: #413d54; }
.sidebar-footer strong, .sidebar-footer small { display: block; font-size: 11px; }
.sidebar-footer small { color: var(--muted); padding-top: 2px; }
.sidebar-footer .logout { margin-left: auto; font-size: 11px; padding: 5px 8px; }
.login { display: grid; gap: 12px; width: min(380px, 100%); margin: 12vh auto 0; padding: 24px; }
.login input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #46bc88; box-shadow: 0 0 0 3px #46bc8820; flex: 0 0 auto; }
#topbar { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 clamp(20px, 3.4vw, 50px); border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumbs, .top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; }
.breadcrumbs span { color: var(--muted); }
.breadcrumbs strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs > svg { width: 14px; color: #817a91; }
.icon-btn { display: grid; place-items: center; border-radius: 9px; width: 35px; height: 35px; color: #5d5871; background: transparent; flex: 0 0 auto; }
.icon-btn:hover { background: #f0ecf9; color: var(--purple-deep); }
.icon-btn svg { width: 17px; height: 17px; }
.mobile-menu { display: none; }
main { padding: 30px clamp(20px, 3.4vw, 50px) 44px; max-width: 1480px; margin: 0 auto; }
.loading { color: var(--muted); padding: 28px; }
.hero { background: radial-gradient(ellipse at 85% 18%, #eee7ff 0%, transparent 61%), linear-gradient(118deg, #f4efff, #eae3fb); border: 1px solid #e6def9; border-radius: 23px; position: relative; overflow: hidden; min-height: 228px; }
.hero-inner { z-index: 1; position: relative; width: min(100%, 770px); padding: 30px 35px 31px; }
.hero-label { color: #584198; letter-spacing: .13em; font-size: 10px; font-weight: 800; display: flex; gap: 9px; align-items: center; }
.hero-label .online-dot { background: #8a65e2; box-shadow: 0 0 0 3px #8a65e21d; width: 6px; height: 6px; }
.hero h1 { margin: 8px 0 3px; font-size: clamp(34px, 4.3vw, 56px); letter-spacing: -.067em; font-weight: 750; line-height: 1.13; color: #282041; overflow-wrap: anywhere; }
.hero p { color: #615576; font-size: 14px; max-width: 60ch; margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: min(39%, 415px); color: #6a48c4; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; inset: 0; opacity: .7; background: radial-gradient(#a98cdf77 .8px, transparent 1px) 7px 6px / 13px 13px; mask-image: linear-gradient(90deg, transparent, black 48%); }
.orbit { position: absolute; width: 190px; height: 190px; border: 1px solid #b69bede0; border-radius: 50%; left: 55%; top: 51%; transform: translate(-50%, -50%); opacity: .58; }
.orbit-two { width: 238px; height: 238px; opacity: .38; }
.orbit-three { width: 300px; height: 300px; opacity: .23; }
.art-icon { position: absolute; display: grid; place-items: center; background: #f7f2ff; border: 1px solid #fff; box-shadow: 0 10px 26px #67409725; border-radius: 18px; width: 49px; height: 49px; transform: rotate(-13deg); }
.art-icon svg { width: 24px; height: 24px; }
.art-icon.core { top: 51%; left: 55%; transform: translate(-50%, -50%) rotate(-13deg); width: 84px; height: 84px; border-radius: 23px; background: linear-gradient(147deg, #825bf0, #593abf); color: white; border-color: #c2adfc; }
.art-icon.core svg { width: 44px; height: 44px; }
.art-top { top: 13%; left: 70%; transform: rotate(11deg); }
.art-bottom { bottom: 12%; left: 25%; }
.art-dot { position: absolute; width: 8px; height: 8px; background: #a788e9; border-radius: 50%; left: 76%; bottom: 21%; }
.btn { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 8px 13px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .58; cursor: progress; }
.primary { background: var(--purple); color: white; box-shadow: 0 2px 4px #4c2fa82a; }
.primary:hover:not(:disabled) { background: var(--purple-deep); }
.secondary { color: #4f4a63; background: white; border-color: #e5e1ec; }
.secondary:hover, .hero-secondary:hover { background: #f2edfc; }
.hero-secondary { color: #50417a; background: #ffffffa6; border-color: #dbd0ef; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 19px 0; }
.metric { display: flex; align-items: center; gap: 12px; padding: 15px; min-height: 83px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.metric:hover { border-color: #d9cafa; }
.metric > span:nth-child(2) { flex: 1; min-width: 0; }
.metric strong { display: block; font-size: 24px; line-height: 1.15; letter-spacing: -.04em; }
.metric small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.metric > svg { width: 15px; height: 15px; color: #746393; }
.tile { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; }
.tile svg { width: 20px; height: 20px; }
.lilac, .project-mark { color: #6548ba; background: #eee8fd; }
.mint, .green { color: #1d7157; background: #e2f5eb; }
.peach { color: #9b562d; background: #fbeee1; }
.rose { color: #a43b5a; background: #fce9ef; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 18px; }
.panel { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { padding: 17px 18px 14px; display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.panel h2 { font-size: 17px; letter-spacing: -.023em; line-height: 1.25; }
.panel-heading p { color: var(--muted); margin-top: 4px; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--purple-deep); font-size: 12px; font-weight: 750; white-space: nowrap; margin-top: 2px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 14px; height: 14px; }
.rows { padding: 0 17px 5px; }
.panel-subheading { padding: 14px 18px 4px; font-size: 13px; }
.standalone .rows { padding-top: 4px; }
.standalone .data-row:first-child { border-top: 0; }
.data-row { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 1px; width: 100%; min-height: 60px; border-top: 1px solid var(--line); background: transparent; }
.data-row > svg { width: 14px; color: #817a95; }
.decision-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.decision-row > .data-row { flex: 1; min-width: 0; border-top: 0; }
.decision-row > .btn { flex-shrink: 0; }
.data-row .tile { width: 35px; height: 35px; border-radius: 10px; }
.data-row .tile svg { width: 17px; height: 17px; }
.row-main { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; flex: 1; background: transparent; text-align: left; }
.interactive:hover .row-text strong, .row-main:hover .row-text strong { color: var(--purple-deep); }
.row-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.row-text strong, .row-text small { display: block; }
.row-text strong { font-size: 13px; font-weight: 720; }
.row-text small { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.avatar { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; font-weight: 800; font-size: 14px; border-radius: 10px; }
.neutral { color: #5f567c; background: #eeeaf5; }
.avatar.claude, .chip.claude { color: #944b2d; background: #faeae0; }
.avatar.codex, .chip.codex { color: #276650; background: #e0f3e9; }
.avatar.copilot, .chip.copilot { color: #543fa4; background: #eee8fc; }
.chip { display: inline-flex; align-items: center; align-self: center; border-radius: 6px; padding: 4px 7px; font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.chip:not([class*="chip "]), .chip.sample { background: #f0edf6; color: #5f5477; }
.page-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin: 4px 0 23px; }
.page-heading h1 { font-size: clamp(29px, 4vw, 41px); letter-spacing: -.055em; line-height: 1.16; }
.page-heading p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.empty { padding: 26px 17px 30px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.empty p { color: var(--muted); font-size: 13px; max-width: 46ch; }
.switch { display: flex; align-items: center; width: 42px; height: 24px; border-radius: 22px; background: #d5cfdf; padding: 3px; flex-shrink: 0; }
.switch span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.switch[aria-checked="true"] { background: var(--purple); justify-content: end; }
.schedule-run { color: var(--purple-deep); background: #f4efff; width: 30px; height: 30px; flex: 0 0 auto; }
.schedule-run:hover { background: #e7dcff; }
.schedule-run svg { width: 14px; height: 14px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.task-repos { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 8px; margin: 0; padding: 5px 10px 9px; }
.task-repos legend { font-size: 12px; font-weight: 700; }
.task-detail { display: grid; gap: 11px; }
.task-detail h3 { font-size: 14px; margin: 0 0 6px; }
.diff { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.diff summary { cursor: pointer; padding: 9px 11px; background: #f6f3fd; font-size: 12px; font-weight: 700; }
.diff pre { padding: 10px; margin: 0; overflow: auto; max-height: 280px; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.patch-link { margin: 0 10px 10px; }
.issue-link { margin-top: 10px; }
.workflow-body { padding: 0 18px 18px; display: grid; gap: 10px; }
.workflow-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.workflow-steps span { padding: 6px 10px; border-radius: 8px; background: #f0ebfb; color: #4e368b; font-weight: 690; font-size: 12px; }
.workflow-body dl { margin: 1px 0 4px; display: grid; gap: 7px; }
.workflow-body dl div { display: grid; grid-template-columns: minmax(90px, 145px) 1fr; font-size: 13px; }
.workflow-body dt { font-weight: 700; }
.workflow-body dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.panel-cta { display: flex; justify-content: center; padding: 0 15px 16px; }
.panel.standalone:has(.panel-cta) { margin-bottom: 14px; }
.template-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; }
.repo-actions { justify-content: end; }
#sidebar { overflow-y: auto; }
.published-links { display: grid; gap: 5px; justify-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.tabs button { border-radius: 9px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.tabs button[aria-pressed="true"] { color: var(--purple-deep); background: #eee8fc; }
.tabs span { margin-left: 5px; font-size: 11px; opacity: .75; }
.memory { padding: 18px; display: grid; gap: 10px; }
.memory label { font-weight: 700; font-size: 13px; }
.memory textarea, .result { font: 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.discussion { padding: clamp(14px, 3vw, 28px); }
.discussion-turns { margin: 0; padding: 0; list-style: none; }
.discussion-turns li { display: grid; gap: 12px; margin-bottom: 22px; }
.discussion-message { max-width: 76ch; padding: 13px 16px; background: #f6f3fd; border-radius: 12px; overflow-wrap: anywhere; }
.discussion-message.user { justify-self: end; width: fit-content; background: #eef8f3; }
.discussion-message p { white-space: pre-wrap; margin-top: 7px; }
.discussion-form { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.discussion-form label { font-size: 13px; font-weight: 700; }
dialog { width: min(550px, calc(100% - 26px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line); border-radius: 19px; color: var(--ink); box-shadow: 0 20px 90px #2a204038; }
dialog::backdrop { background: #251b45a0; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 15px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { letter-spacing: -.04em; font-size: 23px; line-height: 1.18; }
.dialog-header p { color: var(--muted); margin-top: 6px; font-size: 13px; }
.dialog-content, #action-form { padding: 16px 22px 20px; }
.form-fields { display: grid; gap: 12px; }
.form-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input:not([type="checkbox"]), textarea, .form-fields select { width: 100%; min-width: 0; border: 1px solid #dfd9ea; background: #fdfcff; border-radius: 8px; padding: 9px 10px; font-weight: 500; }
textarea { resize: vertical; }
.form-fields .check-field { display: flex; align-items: center; gap: 7px; }
.check-field input { accent-color: var(--purple); }
.form-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 15px; }
.form-actions.wrap { flex-wrap: wrap; }
.form-error { color: #a43b5a; font-size: 13px; margin-top: 10px; }
.result { white-space: pre-wrap; overflow-wrap: anywhere; background: #f8f6fc; padding: 13px; border-radius: 10px; max-height: 49vh; overflow: auto; }
.note { font-size: 12px; color: var(--muted); margin-top: 12px; }
#toast { position: fixed; right: 18px; bottom: 18px; z-index: 4; max-width: min(420px, calc(100% - 36px)); background: #2f2646; color: white; padding: 11px 15px; border-radius: 9px; box-shadow: 0 9px 24px #251b4534; font-size: 13px; }
#toast.error { background: #8f3350; }
@media (max-width: 1160px) {
  .shell { grid-template-columns: 217px minmax(0, 1fr); }
  .hero-art { width: 35%; }
  .hero-inner { width: 76%; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 196px minmax(0, 1fr); }
  #sidebar { padding-inline: 12px; }
  .metric { padding: 10px; gap: 8px; }
  .metric > svg { display: none; }
  .metric .tile { width: 34px; height: 34px; }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .shell { display: block; }
  #sidebar { position: fixed; z-index: 5; top: 56px; height: calc(100dvh - 56px); left: 0; display: none; width: 232px; box-shadow: 15px 0 32px #2b204131; padding-top: 17px; }
  #sidebar.open { display: flex; }
  #topbar { min-height: 56px; padding-inline: 11px; }
  .mobile-menu { display: grid; }
  .breadcrumbs { gap: 4px; }
  main { padding: 14px 12px 28px; }
  .hero-inner { width: 100%; padding: 23px 16px; }
  .hero p { max-width: 34ch; }
  .hero { min-height: 0; }
  .hero-art { opacity: .26; width: 44%; }
  .hero-art .orbit-three { display: none; }
  .metrics { gap: 6px; margin: 10px 0; }
  .metric { display: grid; min-height: 89px; align-content: space-between; padding: 8px; gap: 4px; }
  .metric .tile { width: 27px; height: 27px; border-radius: 7px; }
  .metric .tile svg { width: 16px; height: 16px; }
  .metric strong { font-size: 20px; }
  .metric small { font-size: 10px; }
  .columns { gap: 10px; margin-bottom: 10px; }
  .page-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .chip.sample { font-size: 9px; }
}
.danger-zone { display: flex; justify-content: flex-start; padding-top: 6px; border-top: 1px solid rgba(0, 0, 0, .06); }
.btn.danger { color: #a43b5a; }
.lesson-row { flex-wrap: wrap; }
.lesson-row .row-text { flex-basis: min(100%, 22rem); }
.lesson-row .row-text strong { white-space: normal; }
.published-links h3 { margin: 0 0 6px; font-size: 13px; }

.quiet { padding: 0 1.4rem 1.2rem; color: var(--muted); }
a.data-row { color: inherit; text-decoration: none; }
.panel.task-detail { padding: clamp(1rem, 3vw, 2rem); }
.timeline { padding-inline-start: 1.4rem; }
.timeline li { margin: .4rem 0; }
.timeline time { font-variant-numeric: tabular-nums; }
.panel + .panel, .panel + .columns { margin-top: 1rem; }
.columns > .panel + .panel { margin-top: 0; }
.panel > a.data-row, .panel > .page-actions, .panel > .result { padding-inline: 1.15rem; }
.panel > .result { padding-bottom: 1rem; }
.panel > .btn, .panel > .note { margin: .5rem 1rem 1rem; }
.applied-memory { padding: 1rem; }
.applied-memory h3 { margin: 12px 0 6px; font-size: 12px; }
.memory-trace { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.memory-trace li { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
.memory-trace .chip { flex: none; }
.chip.memory-match { background: #e0f3e9; color: #276650; }
.avatar.ollama, .chip.ollama { color: #254e67; background: #e2f1fc; }

/* Studio */
.studio-cover { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(180px,1fr); align-items:center; min-height:240px; margin:0 0 22px; overflow:hidden; border-radius:22px; color:#f9f8ff; background:#232139; }
.studio-copy { padding:clamp(24px,4vw,52px); z-index:1; }
.studio-copy h1 { font-weight:740; letter-spacing:-.06em; line-height:1.05; font-size:clamp(34px,4vw,62px); overflow-wrap:anywhere; }
.studio-copy p { margin-top:12px; color:#d9d6e5; max-width:45ch; }
.studio-copy .btn,.studio-copy .text-link { margin-top:22px; background:#cdf597; color:#26371c; border:0; border-radius:10px; padding:11px 16px; font-weight:720; }
.studio-copy .btn:hover,.studio-copy .text-link:hover { background:#dcf9b8; }
.studio-art { position:relative; align-self:stretch; display:grid; place-items:center; min-height:150px; background:radial-gradient(#a79bd647 1px,transparent 1.5px) center/16px 16px; }
.studio-orbit { position:absolute; width:120%; height:72%; border:1px solid #ffffff24; border-radius:50%; transform:rotate(-15deg); }
.crew { display:flex; align-items:center; gap:clamp(12px,2.1vw,40px); transform:rotate(-7deg); }
.pod { display:grid; place-items:center; position:relative; width:clamp(42px,5vw,88px); height:100px; }
.pod::after { content:""; position:absolute; width:90%; height:14%; bottom:8px; border-radius:50%; background:#0a0a1980; }
.robot { --shell:#98e2c3; font-size:10px; display:inline-block; position:relative; flex:none; width:4.2em; height:3.2em; background:var(--shell); border-radius:1.1em 1.1em .85em .85em; box-shadow:inset 0 -.35em #0002; }
.robot.apricot { --shell:#ffc498; border-radius:1.7em 1.7em .65em .65em; }
.robot.iris { --shell:#c4b6ff; border-radius:.6em; }
.robot .antenna { position:absolute; left:46%; bottom:100%; height:.7em; width:.23em; background:var(--shell); }
.robot .antenna::before { content:""; position:absolute; bottom:85%; left:-.21em; width:.65em; height:.65em; border-radius:100%; background:var(--shell); }
.visor { position:absolute; inset:24% 13% 28%; background:#24263e; border-radius:.6em; display:flex; justify-content:space-evenly; align-items:center; }
.visor::before,.visor::after { content:""; width:.43em; height:.64em; border-radius:.4em; background:var(--shell); }
.apricot .visor::after { height:.22em; }
.robot-foot { position:absolute; bottom:-.33em; left:20%; width:.83em; height:.6em; background:var(--shell); box-shadow:1.65em 0 var(--shell); border-radius:.25em; }
.pod .robot { font-size:clamp(10px,1.35vw,18px); }
.pod:nth-child(2) { top:-15px; }
@media (prefers-reduced-motion:no-preference) {
  .pod .robot { animation:crew-float 4s ease-in-out infinite alternate; }
  .pod:nth-child(2) .robot { animation-delay:-1.6s; }
  .pod:nth-child(3) .robot { animation-delay:-3s; }
  @keyframes crew-float { to { transform:translateY(-5px) rotate(3deg); } }
}
.first-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; margin:0; padding:0; gap:14px; }
.first-steps li,.member-card { border:1px solid var(--line); background:white; border-radius:15px; padding:20px; }
.step-icon { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:12px; color:#344e42; background:#dcf4e8; }
.first-steps li:nth-child(2) .step-icon { color:#844725; background:#ffeadc; }
.first-steps li:nth-child(3) .step-icon { color:#53407b; background:#ede8fc; }
.first-steps h2,.deck-head h2 { font-size:18px; letter-spacing:-.035em; }
.first-steps h2 { margin:14px 0 5px; }
.first-steps p,.member-body small { color:var(--muted); font-size:13px; }
.team-deck { margin:0 0 22px; }
.deck-head { display:flex; justify-content:space-between; align-items:center; margin:0 0 10px; }
.team-scroll { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr)); gap:10px; }
.member-card { display:flex; text-align:left; align-items:center; gap:16px; padding:16px; }
.member-card:hover { border-color:#aea1ce; box-shadow:0 3px 10px #2b184410; }
.member-body { min-width:0; display:grid; overflow-wrap:anywhere; }
.presence { font-size:11px; margin-top:6px; color:#426453; }
.presence::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:5px; background:#3f835d; }
.presence.occupied { color:#6a4985; }
.presence.occupied::before { background:#8851b4; }
.lane { margin:16px 0 0; min-width:0; }
.lane .panel { height:100%; }
.lane-count { font:700 13px/27px ui-monospace,monospace; padding:0 10px; border-radius:9px; color:#8c471e; background:#ffead7; }
.lane-active .lane-count { background:#ece5ff; color:#625085; }
.lane-delivered .lane-count { background:#dbf0e4; color:#386047; }
@media(max-width:790px) {
  .first-steps { grid-template-columns:1fr; }
  .first-steps li { display:grid; grid-template-columns:40px 1fr; column-gap:14px; }
  .first-steps .step-icon { grid-row:span 2; }
  .first-steps h2 { margin:0; }
}
@media(max-width:560px) {
  .studio-cover { grid-template-columns:1fr; }
  .studio-art { grid-row:1; min-height:106px; }
  .crew { gap:28px; }
  .pod { height:76px; }
  .studio-copy { padding:18px 22px 24px; }
  .studio-copy .btn,.studio-copy .text-link { margin-top:14px; }
}

.issue-triage { margin-block: 16px; }
.issue-triage h3 { margin: 0 0 5px; }
.issue-triage-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.issue-triage-row .text-link { flex: 1 1 230px; min-width: 0; justify-content: flex-start; white-space: normal; overflow-wrap: anywhere; }
.issue-triage-row select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.issue-triage-row details { flex: 1 1 230px; min-width: 0; overflow-wrap: anywhere; }
.issue-triage-row summary { cursor: pointer; font-weight: 650; }
.review-lines { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12.5px; }
.review-lines code { font-size: 11.5px; }

.comparison-table { overflow-x: auto; }
.comparison-table table { width: 100%; margin-top: 8px; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table td { overflow-wrap: anywhere; }
