:root {
  --ink: #0c0c0d;
  --soft-ink: #505052;
  --muted: #858587;
  --canvas: #f6f6f4;
  --panel: #ffffff;
  --line: #dededb;
  --soft-line: #ececea;
  --black-panel: #111112;
  --black-panel-raised: #1c1c1d;
  --shadow: 0 18px 42px rgba(12, 12, 13, 0.07);
  color: var(--ink);
  background: var(--canvas);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--canvas); }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; min-height: 100vh; padding: 27px 14px 16px; color: #bcbcbc; background: var(--black-panel); }
.brand { display: block; height: 46px; margin: 0 10px 41px; overflow: hidden; text-decoration: none; }
.brand-crop { display: block; width: 175px; height: 46px; overflow: hidden; }
.brand-logo { display: block; width: 205px; max-width: none; transform: translate(-1px, -40px); }
.main-nav { display: grid; gap: 3px; }
.nav-button { display: grid; grid-template-columns: 18px 1fr auto; gap: 11px; align-items: center; width: 100%; padding: 11px 12px; color: #9f9f9f; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: 13px; text-align: left; }
.nav-button:hover { color: #fff; background: #19191a; }
.nav-button.is-active { color: #fff; border-color: #323234; background: var(--black-panel-raised); }
.nav-mark { color: #dedede; font: 16px/1 "SFMono-Regular", Consolas, monospace; }
.nav-button b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; color: #111112; border-radius: 9px; background: #f6f6f4; font: 700 9px/1 "SFMono-Regular", Consolas, monospace; }
.sidebar-bottom { display: grid; gap: 15px; margin-top: auto; }
.model-status { display: flex; align-items: center; gap: 7px; padding: 0 11px; color: #868688; font-size: 10px; }
.model-status span { width: 6px; height: 6px; border-radius: 50%; background: #f4f4f0; box-shadow: 0 0 0 3px rgba(244, 244, 240, 0.1); }
.account-button { display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: center; width: 100%; padding: 8px 9px; color: #d6d6d6; border: 0; border-radius: 5px; background: transparent; text-align: left; font-size: 11px; }
.account-button:hover { background: #19191a; }.account-button i { color: #6e6e70; font-style: normal; }.avatar { display: grid; place-items: center; width: 26px; height: 26px; color: #111112; border-radius: 50%; background: #f3f3ef; font: 800 10px/1 "SFMono-Regular", Consolas, monospace; }

.main-area { min-width: 0; }.topbar { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 clamp(23px, 4vw, 62px); border-bottom: 1px solid var(--line); background: rgba(246, 246, 244, 0.88); }.crumbs { display: flex; gap: 8px; color: var(--muted); font: 11px/1 "SFMono-Regular", Consolas, monospace; }.crumbs i { color: #b5b5b4; font-style: normal; }.crumbs strong { color: var(--ink); font-weight: 700; }.top-actions { display: flex; align-items: center; gap: 18px; }.privacy-state { display: inline-flex; align-items: center; gap: 7px; color: var(--soft-ink); font-size: 11px; }.privacy-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }.new-project { padding: 8px 11px; color: white; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); font-size: 11px; font-weight: 700; }.new-project:hover { color: var(--ink); background: transparent; }

.view { display: none; max-width: 1390px; margin: 0 auto; padding: 55px clamp(23px, 4vw, 62px) 72px; }.view.is-visible { display: block; }
.workspace-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }.section-label { margin: 0 0 10px; color: var(--muted); font: 10px/1.25 "SFMono-Regular", Consolas, monospace; letter-spacing: 0.08em; }.workspace h1, .subview h1 { max-width: 760px; margin: 0; color: var(--ink); font-size: clamp(35px, 4.1vw, 58px); line-height: 1.08; letter-spacing: -0.075em; }.workspace h1 span { white-space: nowrap; }.intro-note { max-width: 286px; margin: 0 3px 4px 0; color: var(--soft-ink); font-size: 12px; line-height: 1.7; }

.composer { padding: 20px 21px 13px; border: 1px solid var(--ink); border-radius: 6px; background: var(--panel); box-shadow: var(--shadow); }.composer-topline { display: flex; justify-content: space-between; align-items: center; }.composer-index, .mode-label { font: 10px/1 "SFMono-Regular", Consolas, monospace; }.composer-index { color: var(--ink); font-weight: 800; }.mode-label { padding: 4px 6px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; }.composer textarea { display: block; width: 100%; min-height: 93px; margin: 16px 0 13px; padding: 0; resize: vertical; color: var(--ink); border: 0; outline: none; background: transparent; font-size: clamp(17px, 1.7vw, 21px); font-weight: 650; line-height: 1.48; letter-spacing: -0.035em; }.composer textarea::placeholder { color: #aaa; }.composer-tools { display: flex; justify-content: space-between; gap: 15px; padding-top: 11px; border-top: 1px solid var(--soft-line); }.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }.skill-chip, .attach-button { padding: 6px 8px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 10px; }.skill-chip:hover, .attach-button:hover { color: var(--ink); border-color: var(--ink); }.composer-actions { display: flex; align-items: center; gap: 7px; }.run-button { padding: 8px 11px; color: white; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap; }.run-button:hover { color: var(--ink); background: white; }.run-button:disabled { cursor: wait; opacity: .7; }.run-button span { margin-left: 12px; font-family: "SFMono-Regular", Consolas, monospace; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(305px, .86fr); gap: 16px; margin-top: 16px; }.route-card, .run-card { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }.route-card { padding: 23px 24px 16px; }.run-card { display: flex; flex-direction: column; min-height: 385px; padding: 23px 20px 15px; }.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.card-heading h2, .focus-heading h2, .project-list h2, .approval-list h2 { margin: 0; color: var(--ink); font-size: 17px; letter-spacing: -0.045em; }.route-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; font-size: 10px; font-weight: 700; white-space: nowrap; }.route-state i { width: 5px; height: 5px; border-radius: 50%; background: #aaa; }.route-state.is-working { color: var(--ink); border-color: var(--ink); }.route-state.is-working i { background: var(--ink); animation: blink 1s step-end infinite; }.route-state.is-complete { color: #fff; border-color: var(--ink); background: var(--ink); }.route-state.is-complete i { background: #fff; }.route-state.is-paused { text-decoration: line-through; }.route-summary { display: flex; gap: 14px; margin: 29px 0 25px; padding: 19px 0; border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }.route-number { flex: 0 0 auto; color: var(--ink); font: 800 27px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: -0.11em; }.route-summary p { max-width: 460px; margin: 0; color: var(--soft-ink); font-size: 13px; line-height: 1.65; }.route-summary p b { color: var(--ink); font-weight: 700; }.route-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }.route-steps li { position: relative; min-width: 0; padding: 0 12px 0 0; }.route-steps li + li { padding-left: 14px; border-left: 1px solid var(--line); }.route-steps li > span { display: block; margin-bottom: 10px; color: #9d9d9d; font: 10px/1 "SFMono-Regular", Consolas, monospace; }.route-steps b, .route-steps small { display: block; }.route-steps b { color: var(--soft-ink); font-size: 11px; }.route-steps small { min-height: 30px; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }.route-steps em { color: #a1a1a1; font: normal 9px/1 "SFMono-Regular", Consolas, monospace; }.route-steps li.is-active > span, .route-steps li.is-active b { color: var(--ink); }.route-steps li.is-active em { color: var(--ink); font-weight: 800; }.pause-button { padding: 5px 7px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; background: white; font-size: 10px; }.pause-button:disabled { opacity: .45; cursor: not-allowed; }.run-list { display: grid; gap: 13px; min-height: 214px; max-height: 276px; margin: 23px 0 14px; padding: 0; overflow: auto; list-style: none; }.run-empty { padding: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 3px; font-size: 11px; line-height: 1.6; }.run-list li:not(.run-empty) { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: start; animation: traceIn .25s ease-out; }.run-list li > span { color: #a0a0a1; font: 9px/1.6 "SFMono-Regular", Consolas, monospace; }.run-list p { margin: 0; color: var(--soft-ink); font-size: 11px; line-height: 1.55; }.run-list i { padding: 3px 4px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 2px; font: normal 8px/1 "SFMono-Regular", Consolas, monospace; }.run-list .trace-approval i { color: #fff; border-color: var(--ink); background: var(--ink); }.run-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--soft-line); font-size: 10px; }.run-footer strong { color: var(--ink); font-weight: 700; }

.focus-section { margin-top: 48px; }.focus-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }.focus-heading h2 { font-size: 22px; }.focus-heading > p { max-width: 280px; margin: 0 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }.workflow-card { min-height: 254px; padding: 17px 18px; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: var(--panel); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }.workflow-card:hover, .workflow-card.is-selected { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }.workflow-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 10px/1 "SFMono-Regular", Consolas, monospace; }.workflow-top em { padding: 4px 5px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; font: normal 8px/1 "SFMono-Regular", Consolas, monospace; }.workflow-card h3 { margin: 49px 0 8px; font-size: 21px; letter-spacing: -0.06em; }.workflow-card > p { min-height: 36px; margin: 0; color: var(--soft-ink); font-size: 11px; line-height: 1.58; }.workflow-card ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 23px 0 0; padding: 0; list-style: none; }.workflow-card li { padding: 4px 5px; color: var(--soft-ink); border: 1px solid var(--soft-line); font-size: 9px; }.workflow-card.is-selected { color: #fff; background: var(--ink); }.workflow-card.is-selected .workflow-top, .workflow-card.is-selected > p { color: #d1d1d1; }.workflow-card.is-selected .workflow-top em, .workflow-card.is-selected li { color: #efefec; border-color: #5b5b5d; }.approval-banner { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 5px; background: #eeeeeb; }.approval-symbol { display: grid; place-items: center; width: 26px; height: 26px; color: white; border-radius: 50%; background: var(--ink); font: 700 14px/1 "SFMono-Regular", Consolas, monospace; }.approval-banner strong { font-size: 11px; }.approval-banner p { margin: 3px 0 0; color: var(--soft-ink); font-size: 10px; line-height: 1.45; }.text-button { color: var(--ink); border: 0; background: transparent; font-size: 10px; font-weight: 800; white-space: nowrap; }

.subview { max-width: 1170px; }.subview h1 { margin-bottom: 36px; }.project-list, .approval-list { display: grid; border-top: 1px solid var(--line); }.project-list article { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 20px; align-items: center; padding: 19px 10px; border-bottom: 1px solid var(--line); }.project-id, .approval-code { color: var(--muted); font: 10px/1 "SFMono-Regular", Consolas, monospace; }.project-list h2, .approval-list h2 { font-size: 15px; }.project-list p, .approval-list p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.project-status { padding: 4px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--soft-ink); font: 9px/1 "SFMono-Regular", Consolas, monospace; }.project-status.review { color: white; border-color: var(--ink); background: var(--ink); }.project-list button { color: var(--ink); border: 0; background: transparent; font-size: 11px; font-weight: 700; }.capability-table { border-top: 1px solid var(--line); }.capability-row { display: grid; grid-template-columns: 1.1fr .7fr 1.7fr .8fr; gap: 14px; align-items: center; padding: 16px 10px; border-bottom: 1px solid var(--line); color: var(--soft-ink); font-size: 11px; }.capability-head { color: var(--muted); font: 9px/1 "SFMono-Regular", Consolas, monospace; }.capability-row strong { color: var(--ink); font-size: 12px; }.capability-row em { width: fit-content; padding: 4px 5px; color: var(--soft-ink); border: 1px solid var(--line); border-radius: 3px; font: normal 9px/1 "SFMono-Regular", Consolas, monospace; }.capability-row em.partner { color: white; border-color: var(--ink); background: var(--ink); }.approval-list article { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 15px; align-items: center; padding: 19px 10px; border-bottom: 1px solid var(--line); }.approve, .reject { padding: 8px 9px; border-radius: 3px; font-size: 10px; font-weight: 700; }.approve { color: white; border: 1px solid var(--ink); background: var(--ink); }.approve:hover { color: var(--ink); background: white; }.reject { color: var(--soft-ink); border: 1px solid var(--line); background: white; }.approval-list article.is-approved { opacity: .55; }.approval-list article.is-rejected { opacity: .4; text-decoration: line-through; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 4; padding: 10px 12px; color: white; border-radius: 3px; background: var(--ink); box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }
@keyframes traceIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } @keyframes blink { 50% { opacity: .3; } }
@media (max-width: 980px) { .app-shell { grid-template-columns: 64px minmax(0, 1fr); }.sidebar { align-items: center; padding: 18px 8px; }.brand { width: 33px; margin: 0 0 35px; }.brand-crop { width: 33px; }.brand-logo { width: 205px; transform: translate(-13px, -40px); }.nav-button { grid-template-columns: 1fr; justify-items: center; padding: 11px 4px; }.nav-button span:last-of-type, .nav-button b { display: none; }.sidebar-bottom { display: none; }.work-grid { grid-template-columns: 1fr; }.run-card { min-height: 290px; }.run-list { min-height: 145px; }.workflow-card h3 { margin-top: 34px; }.topbar { padding: 0 25px; } }
@media (max-width: 680px) { .app-shell { display: block; }.sidebar { position: sticky; z-index: 3; top: 0; flex-direction: row; justify-content: space-between; min-height: 58px; padding: 9px 13px; }.brand { width: 36px; height: 35px; margin: 0; }.brand-crop { width: 36px; height: 35px; }.brand-logo { width: 200px; transform: translate(-13px, -38px); }.main-nav { display: flex; gap: 1px; }.nav-button { width: 34px; height: 34px; padding: 7px; }.topbar { height: 55px; padding: 0 17px; }.privacy-state { display: none; }.new-project { padding: 7px 8px; }.view { padding: 34px 17px 48px; }.workspace-intro, .focus-heading { display: block; }.workspace h1, .subview h1 { font-size: 36px; }.intro-note, .focus-heading > p { margin-top: 16px; }.composer { padding: 16px 15px 12px; }.composer textarea { min-height: 112px; font-size: 17px; }.composer-tools { display: block; }.composer-actions { justify-content: space-between; margin-top: 10px; }.work-grid { margin-top: 12px; }.route-card, .run-card { padding: 18px 15px; }.route-summary { margin: 22px 0; }.route-steps { grid-template-columns: 1fr; gap: 12px; }.route-steps li, .route-steps li + li { display: grid; grid-template-columns: 31px 1fr auto; gap: 9px; align-items: start; padding: 0; border: 0; }.route-steps li > span { margin: 1px 0 0; }.route-steps small { min-height: auto; }.workflow-grid { grid-template-columns: 1fr; }.workflow-card { min-height: 200px; }.workflow-card h3 { margin-top: 31px; }.approval-banner { grid-template-columns: 30px 1fr; }.approval-banner .text-button { grid-column: 2; width: fit-content; padding: 0; }.project-list article, .approval-list article { grid-template-columns: 50px 1fr; gap: 9px; }.project-status, .project-list button, .approve, .reject { justify-self: start; }.project-status, .project-list button { grid-row: 2; }.approval-list .approve { grid-column: 2; }.approval-list .reject { grid-column: 2; }.capability-row { grid-template-columns: 1fr 1fr; gap: 8px; }.capability-row span:nth-child(3), .capability-row span:nth-child(4) { grid-column: span 2; }.capability-head { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
