/* ODYSSEY studio: a quiet canvas, precise typography and purposeful motion. */
body.simple-workspace {
  --canvas: #f8f7f4;
  --paper: #ffffff;
  --soft: #efeeea;
  --leaf-paper: #f5f4f0;
  --ink: #252628;
  --ink-soft: #717376;
  --line: #e5e5e0;
  --accent: #292b2e;
  --accent-hover: #46494e;
  --branch: #ccc8be;
  --studio-gold: #c3a16b;
  --studio-shadow: 0 4px 18px #23232306, 0 1px 3px #23232304;
  --studio-ease: cubic-bezier(.22, 1, .36, 1);
  --ui-ink: var(--ink);
  --ui-muted: var(--ink-soft);
  --ui-subtle: var(--ink-soft);
  --ui-line: var(--line);
  --ui-line-strong: #d4d4cf;
  --ui-surface-soft: var(--soft);
  --ui-accent: var(--accent);
  --ui-accent-soft: var(--soft);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.simple-workspace[data-theme="dark"] {
  --canvas: #17181a;
  --paper: #202123;
  --soft: #2b2d30;
  --leaf-paper: #252629;
  --ink: #eeefed;
  --ink-soft: #a2a5aa;
  --line: #343639;
  --accent: #eceeeb;
  --accent-hover: #ffffff;
  --branch: #56534c;
  --studio-gold: #cfb382;
  --studio-shadow: 0 4px 18px #00000018, 0 1px 3px #00000012;
  --ui-line-strong: #4a4c50;
  --warning: #dec598;
}
.simple-workspace :where(button, a, input, textarea, select) {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
    box-shadow 220ms ease, transform 220ms var(--studio-ease);
}
.simple-workspace :where(button, a):focus-visible {
  outline: 2px solid var(--studio-gold);
  outline-offset: 3px;
}
.simple-workspace :where(.button, .icon-button):not(:disabled):active { transform: scale(.97); }
.simple-workspace .button {
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: -.1px;
}
.simple-workspace .button-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.simple-workspace .button-primary:not(:disabled):hover { background: var(--accent-hover); box-shadow: 0 4px 14px #24242414; }
.simple-workspace .button-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.simple-workspace .button-secondary:not(:disabled):hover { background: var(--soft); border-color: var(--ui-line-strong); }
.simple-workspace input, .simple-workspace select, .simple-workspace textarea {
  color: var(--ink);
  background-color: var(--paper);
  border-color: var(--line);
  accent-color: var(--accent);
}
.simple-workspace .topbar {
  height: 62px;
  min-height: 62px;
  flex-basis: 62px;
  background: var(--canvas);
  padding: 0 24px;
}
.simple-workspace .brand-mark { border-radius: 10px; }
.simple-workspace .brand-name { font-size: 15px; font-weight: 650; letter-spacing: -.35px; }
.simple-workspace .brand-subtitle { font-size: 10px; letter-spacing: .3px; }
.simple-workspace .sidebar {
  background: #f3f3f1;
  border-right: 1px solid var(--line);
  padding: 25px 12px 18px;
}
.simple-workspace .sidebar-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.simple-workspace #newRequirementButton {
  width: 37px; height: 37px;
  border-radius: 12px;
  background: #fff;
  color: #26292e;
  border: 1px solid #ffffff80;
  box-shadow: 0 3px 12px #2424240c;
  font-size: 24px;
}
.simple-workspace #newRequirementButton:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #24242417; }
.simple-workspace .requirement-item {
  position: relative;
  padding: 13px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.simple-workspace .requirement-item-title { font-size: 14px; line-height: 1.6; font-weight: 500; }
.simple-workspace .requirement-item.is-active {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--studio-shadow);
}
.simple-workspace .requirement-item:not(.is-active):hover { background: color-mix(in srgb, var(--paper) 65%, transparent); }
.simple-workspace .session-status { border-radius: 6px; padding: 3px 7px; font-size: 10px; font-weight: 500; filter: none; }
.simple-workspace .workbench-header { min-height: 84px; padding: 20px 30px; background: var(--canvas); }
.simple-workspace .workbench-header h1 { font-size: 20px; letter-spacing: -.6px; font-weight: 600; }
.simple-workspace .workbench-header p { font-size: 11px; margin-top: 5px; }
.simple-workspace .pane-heading { min-height: 58px; padding: 16px 28px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.simple-workspace .pane-heading h2 { font-size: 13px; font-weight: 550; letter-spacing: -.2px; }
.simple-workspace .pane-heading > span { font-size: 10px; }
.simple-workspace .conversation-panel { background: var(--canvas); }
.simple-workspace .plan-panel, .simple-workspace .production-panel { background: var(--paper); }
.simple-workspace .conversation-panel .conversation-scroll { padding: 24px 28px 32px; gap: 30px; }
.simple-workspace .message-body { font-size: 14px; line-height: 1.95; letter-spacing: .05px; }
.simple-workspace .message-label { font-size: 10px; font-weight: 500; letter-spacing: .3px; margin-bottom: 8px; }
.simple-workspace .message.assistant > .message-label { display: flex; align-items: center; gap: 7px; }
.simple-workspace .message.assistant > .message-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--studio-gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--studio-gold) 11%, transparent);
}
.simple-workspace .message.student { border-radius: 20px 20px 6px 20px; padding: 16px 20px; background: var(--soft); }
.simple-workspace .message.teacher { border-color: var(--studio-gold); }
.simple-workspace .message-restore { font-size: 10px; color: var(--ink-soft); padding-top: 10px; opacity: .8; }
.simple-workspace .message-restore:hover { color: var(--ink); opacity: 1; }
.simple-workspace .chat-input-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 13px 15px 11px;
  box-shadow: var(--studio-shadow);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.simple-workspace .chat-input-shell:focus-within { border-color: var(--ui-line-strong); box-shadow: 0 5px 24px #20202009; }
.simple-workspace .media-composer .chat-input-shell > textarea,
.simple-workspace .media-composer .chat-input-shell > textarea:focus,
.simple-workspace .media-composer .chat-input-shell > textarea:focus-visible {
  background: transparent; border: 0; outline: 0; box-shadow: none; color: var(--ink);
}
.simple-workspace .chat-input-shell .button-primary { border-radius: 20px; }
.simple-workspace .attachment-add:hover { background: var(--soft); border-radius: 50%; }
.simple-workspace .reply-choices button { border-radius: 12px; border-color: var(--line); background: var(--paper); }
.simple-workspace .reply-choices button:hover { border-color: var(--ui-line-strong); background: var(--leaf-paper); transform: translateX(2px); }
.simple-workspace .plan-panel > .plan-scroll { padding: 24px 30px 48px; }
.simple-workspace .plan-overview > p { font-size: 15px; line-height: 1.95; letter-spacing: -.1px; }
.simple-workspace .plan-overview h3, .simple-workspace .plan-diagram > h3,
.simple-workspace .plan-section-heading { color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 13px; }
.simple-workspace .plan-document .friendly-plan section { padding: 22px 0; }
.simple-workspace .plan-document .friendly-plan h3 { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.simple-workspace .plan-document .friendly-plan p, .simple-workspace .plan-document .friendly-plan li { font-size: 13px; line-height: 1.95; }
.simple-workspace .plan-document .diagram-wrap { border-radius: 14px; border-color: var(--line); background: var(--paper); }
.simple-workspace .diagram-toolbar { padding: 10px 12px; background: var(--leaf-paper); border-color: var(--line); }
.simple-workspace .diagram-toolbar-label { color: var(--ink-soft); font-weight: 500; }
.simple-workspace .diagram-tool { background: var(--paper); color: var(--ink); border-color: var(--line); border-radius: 8px; }
.simple-workspace .diagram-tool:hover { background: var(--soft); border-color: var(--ui-line-strong); color: var(--ink); }
.simple-workspace .diagram-viewport { background: var(--paper); }
.simple-workspace .workflow-progress { padding-bottom: 24px; margin-bottom: 25px; }
.simple-workspace .workflow-progress li.is-current i { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 0 0 4px var(--soft); }
.simple-workspace .workflow-progress li.is-done i { background: var(--soft); color: var(--ink-soft); border-color: var(--soft); }
.simple-workspace .inline-deliveries, .simple-workspace .product-sharing,
.simple-workspace .assessment-notice { border-radius: 14px; }
.simple-workspace .friendly-files > div { padding: 14px 0; }
.simple-workspace .product-message h2 { font-size: 20px; letter-spacing: -.4px; }
.simple-workspace .settings-menu { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 50px #00000013; }
.simple-workspace .settings-trigger { color: var(--ink); background: var(--soft); border-color: var(--line); }
.simple-workspace .theme-options { background: var(--soft); border: 0; border-radius: 9px; padding: 3px; gap: 2px; }
.simple-workspace .theme-options button { color: var(--ink-soft); background: transparent; border: 0; border-radius: 7px; }
.simple-workspace .theme-options button.is-active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 5px #0000000a; }
.simple-workspace dialog, .simple-workspace .calm-dialog, .simple-workspace #ownerPreview {
  color: var(--ink); background: var(--paper); border-color: var(--line); border-radius: 20px;
  box-shadow: 0 24px 100px #00000030;
}
.simple-workspace dialog::backdrop { background: #15171d55; backdrop-filter: blur(6px); }
.simple-workspace .toast { background: var(--paper); border-color: var(--line); border-radius: 13px; box-shadow: 0 8px 30px #00000010; }

/* Authentication is a spacious introduction, not an administrative form. */
.simple-workspace .login-screen { padding: 48px; background: var(--canvas); overflow-y: auto; }
.simple-workspace .login-shell {
  width: min(1200px, 100%); min-height: min(760px, calc(100dvh - 96px));
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr);
  border: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 90px #27221a0b, 0 0 0 1px var(--line);
}
.simple-workspace .login-visual {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 42px 46px 35px; color: var(--ink); background: #eeeae1;
  display: flex; flex-direction: column;
  border-color: var(--line);
}
.simple-workspace .login-brand { color: var(--ink-soft); font-size: 11px; letter-spacing: 1.2px; align-items: center; gap: 11px; }
.simple-workspace .login-brand .brand-mark { width: 29px; height: 29px; min-width: 29px; }
.simple-workspace .login-visual-copy { position: relative; z-index: 2; margin: 55px 0 0; }
.simple-workspace .login-visual-copy > p { font-size: 10px; letter-spacing: 3px; color: #77776f; margin: 0 0 22px; font-weight: 500; }
.simple-workspace .login-visual-copy h2 { color: #292c2e; font-size: clamp(32px, 3.2vw, 48px); font-weight: 500; line-height: 1.45; letter-spacing: -1.8px; margin: 0 0 23px; }
.simple-workspace .hero-period { color: #b89b6e; }
.simple-workspace .login-visual-copy > span { color: #777974; font-size: 13px; line-height: 1.9; }
.simple-workspace .login-flow { margin-top: auto; padding-top: 30px; position: relative; z-index: 2; gap: 25px; border-color: #d6d3c9; }
.simple-workspace .login-flow li { color: #636963; border: 0; background: transparent; gap: 8px; padding: 0; }
.simple-workspace .login-flow li > span { color: #898c82; font-size: 10px; }
.simple-workspace .login-flow strong { font-size: 11px; font-weight: 400; color: #636963; }
.simple-workspace .login-panel { display: flex; justify-content: center; align-items: center; padding: 60px 48px; background: var(--paper); }
.simple-workspace .login-card { width: 100%; max-width: 320px; padding: 0; border: 0; border-radius: 0; }
.simple-workspace .login-card-brand { display: none; }
.simple-workspace .login-card .eyebrow { color: var(--ink-soft); letter-spacing: 1px; font-size: 11px; margin: 0 0 14px; }
.simple-workspace .login-card h1 { font-size: 30px; letter-spacing: -1px; font-weight: 550; margin: 0 0 12px; }
.simple-workspace .login-copy { font-size: 13px; line-height: 1.9; margin-bottom: 36px; color: var(--ink-soft); }
.simple-workspace .login-form { gap: 21px; }
.simple-workspace .login-card .field > span { font-size: 12px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.simple-workspace .login-form input { height: 49px; padding: 12px 15px; font-size: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); }
.simple-workspace .login-form input:focus { outline: 0; border-color: var(--ink-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 5%, transparent); }
.simple-workspace .login-form .button { height: 49px; margin-top: 2px; border-radius: 11px; font-size: 13px; }
.simple-workspace .login-error:empty { display: none; }
.simple-workspace .login-foot { color: var(--ink-soft); font-size: 10px; line-height: 1.9; margin: 22px 0 0; }
.simple-workspace .login-foot a { color: inherit; text-decoration: none; }
.simple-workspace .login-foot a:hover { text-decoration: underline; }
.login-appearance { position: absolute; top: 17px; right: 23px; display: flex; gap: 3px; border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: 3px; z-index: 3; }
.login-appearance button { border: 0; background: transparent; color: var(--ink-soft); border-radius: 50%; width: 29px; height: 29px; font-size: 17px; display: grid; place-items: center; cursor: pointer; }
.login-appearance button.is-active { color: var(--ink); background: var(--soft); }
.odyssey-orbit { position: relative; align-self: center; width: 310px; height: 210px; flex: 0 0 210px; margin: 7px 0 5px; perspective: 800px; }
.orbit-halo { position: absolute; inset: 25px 35px; border-radius: 50%; background: radial-gradient(ellipse, #f9f7f0dd, #dcd6c780 40%, transparent 70%); filter: blur(18px); }
.orbit-ring { position: absolute; left: 21px; top: 17px; width: 268px; height: 176px; border: 1px solid #aaa99e80; border-radius: 50%; box-shadow: inset 0 0 20px #ffffff20, 0 1px 0 #ffffff80; }
.orbit-ring-one { transform: rotate(-26deg) rotateX(48deg); }
.orbit-ring-two { transform: rotate(43deg) rotateX(50deg); border-color: #beb19790; }
.orbit-ring-three { transform: rotate(108deg) rotateX(55deg); border-color: #8f989370; }
.orbit-core { position: absolute; left: 118px; top: 65px; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 23px; background: linear-gradient(145deg, #ffffffcc, #ddd9cc99); border: 1px solid #ffffffb3; box-shadow: 0 12px 35px #81796116, inset 0 1px 0 #fff; transform: rotate(-8deg); }
.orbit-core img { width: 43px; height: 43px; border-radius: 12px; opacity: .92; }
.orbit-point { width: 6px; height: 6px; border-radius: 50%; position: absolute; background: #92968d; box-shadow: 0 0 0 5px #b6b6a416; }
.orbit-point-one { left: 28px; top: 82px; }
.orbit-point-two { right: 24px; top: 110px; background: #bfa271; }
.orbit-caption { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; font-size: 8px; letter-spacing: 3px; color: #96988e; }
body.simple-workspace[data-theme="dark"] .login-visual { background: #222425; }
body.simple-workspace[data-theme="dark"] .login-visual-copy h2 { color: #edeeeb; }
body.simple-workspace[data-theme="dark"] .login-visual-copy > p,
body.simple-workspace[data-theme="dark"] .login-visual-copy > span,
body.simple-workspace[data-theme="dark"] .login-flow li { color: #a4a8a4; }
body.simple-workspace[data-theme="dark"] .orbit-halo { background: radial-gradient(ellipse, #4b4d4360, #383a3820 40%, transparent 70%); }
body.simple-workspace[data-theme="dark"] .orbit-ring { box-shadow: inset 0 0 20px #ffffff03; border-color: #9e9e8740; }
body.simple-workspace[data-theme="dark"] .orbit-core { background: linear-gradient(145deg, #50534b, #2b2e2c); border-color: #8d908240; box-shadow: 0 12px 35px #00000020, inset 0 1px 0 #ffffff0d; }
body.simple-workspace[data-theme="dark"] .session-status { filter: none; }
body.simple-workspace[data-theme="dark"] .session-status.discussing { color: #b4bfce; background: #2c323a; }
body.simple-workspace[data-theme="dark"] .session-status.pending_review { color: #e4c58e; background: #3b3325; }
body.simple-workspace[data-theme="dark"] .session-status.changes_requested { color: #edb0a6; background: #402c2a; }
body.simple-workspace[data-theme="dark"] .session-status.approved { color: #a4c5ee; background: #253345; }
body.simple-workspace[data-theme="dark"] .session-status.building { color: #c8b8f3; background: #342e47; }
body.simple-workspace[data-theme="dark"] .session-status.completed { color: #9bd5db; background: #243c40; }
body.simple-workspace[data-theme="dark"] .session-status.delivered { color: #a2d6be; background: #263b32; }
body.simple-workspace[data-theme="dark"] .chat-input-shell:focus-within { box-shadow: 0 5px 24px #00000018; }
body.simple-workspace[data-theme="dark"] .diagram-wrap svg { filter: invert(.88) hue-rotate(175deg); }
body.simple-workspace[data-theme="dark"] .diagram-stage { background: transparent; }
/* Override old role styles with the same neutral palette in both workspaces. */
body.simple-workspace[data-theme="dark"] .topbar { background: var(--canvas); border-color: var(--line); }
body.simple-workspace[data-theme="dark"] .sidebar { background: #1d1e20; border-color: #303235; }
body.simple-workspace .sidebar .requirement-item.is-active,
body.simple-workspace .sidebar .requirement-item.is-active:hover {
  background: #e7e8e5; border-color: transparent; box-shadow: none;
}
body.simple-workspace .sidebar .requirement-item:not(.is-active):hover { background: #ebebe8; border-color: transparent; }
body.simple-workspace[data-theme="dark"] .sidebar .requirement-item.is-active,
body.simple-workspace[data-theme="dark"] .sidebar .requirement-item.is-active:hover {
  background: #2c2e31; border-color: transparent; box-shadow: none;
}
body.simple-workspace[data-theme="dark"] .sidebar .requirement-item:not(.is-active):hover { background: #252729; border-color: transparent; }
body.simple-workspace .sidebar .requirement-item-title { color: var(--ink); }
body.simple-workspace[data-theme="dark"] .message-body,
body.simple-workspace[data-theme="dark"] .message.student .message-body,
body.simple-workspace[data-theme="dark"] .message.teacher .message-body {
  color: var(--ink); background: transparent; border-color: var(--line);
}
body.simple-workspace[data-theme="dark"] :is(.plan-document, .product-message, .document-page, .dialog-content, .owner-preview-content, .friendly-files) {
  color: var(--ink);
}
body.simple-workspace[data-theme="dark"] :is(.plan-document, .product-message, .document-page, .dialog-content, .owner-preview-content) :where(h1,h2,h3,h4,p,li,td,th) {
  color: inherit;
}
body.simple-workspace .document-page :is(blockquote, pre.code-block, code, .doc-table th) { background: var(--leaf-paper); color: var(--ink); border-color: var(--line); }
body.simple-workspace .document-page :is(.doc-table th, .doc-table td) { border-color: var(--line); }
body.simple-workspace[data-theme="dark"] :is(.diagram-wrap, .diagram-viewport) { background: var(--paper); border-color: var(--line); }
body.simple-workspace[data-theme="dark"] .diagram-toolbar { background: var(--leaf-paper); }
body.simple-workspace[data-theme="dark"] .login-screen { background: var(--canvas); }
body.simple-workspace[data-theme="dark"] .login-flow { border-color: var(--line); }
body.simple-workspace[data-theme="dark"] .login-flow strong { color: #b4b8b3; }
body.simple-workspace[data-theme="dark"] :is(.theme-options, .session-filters) button { color: var(--ink-soft); }
body.simple-workspace[data-theme="dark"] :is(.theme-options, .session-filters) button.is-active { color: var(--ink); background: var(--soft); }

@keyframes studio-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-drift { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes orbit-turn { 0%, 100% { transform: rotate(-26deg) rotateX(48deg); } 50% { transform: rotate(-10deg) rotateX(60deg); } }
@keyframes orbit-turn-two { 0%, 100% { transform: rotate(43deg) rotateX(50deg); } 50% { transform: rotate(66deg) rotateX(38deg); } }
@keyframes studio-breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .simple-workspace .login-brand { animation: studio-arrive .7s var(--studio-ease) both; }
  .simple-workspace .login-visual-copy { animation: studio-arrive .85s .08s var(--studio-ease) both; }
  .simple-workspace .login-card { animation: studio-arrive .8s .14s var(--studio-ease) both; }
  .simple-workspace .login-flow { animation: studio-arrive .8s .24s var(--studio-ease) both; }
  .orbit-core { animation: orbit-drift 8s ease-in-out infinite; }
  .orbit-ring-one { animation: orbit-turn 18s ease-in-out infinite; }
  .orbit-ring-two { animation: orbit-turn-two 22s ease-in-out infinite; }
  .simple-workspace .studio-enter { animation: studio-arrive .42s var(--studio-ease) both; }
  .simple-workspace .studio-message-enter { animation: studio-arrive .35s var(--studio-ease) both; }
  .simple-workspace dialog[open], .simple-workspace .settings-menu:not([hidden]), .simple-workspace .toast { animation: studio-arrive .25s var(--studio-ease) both; }
  .simple-workspace .session-status.building::before { animation: studio-breathe 1.8s ease-in-out infinite; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
}
@media (prefers-reduced-motion: reduce) {
  .simple-workspace *, .simple-workspace *::before, .simple-workspace *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
@media (max-width: 1100px) {
  .simple-workspace .login-screen { padding: 42px 24px 24px; }
  .simple-workspace .login-visual { padding: 34px; }
  .simple-workspace .login-panel { padding: 40px 32px; }
  .simple-workspace .workbench-header { padding-inline: 24px; }
  .simple-workspace .pane-heading { padding-inline: 22px; }
  .simple-workspace .plan-panel > .plan-scroll { padding-inline: 23px; }
}
@media (max-width: 760px) {
  .simple-workspace .login-screen { padding: 68px 20px 28px; align-items: center; }
  .simple-workspace .login-shell { display: block; width: min(440px, 100%); min-height: 0; background: var(--paper); border-radius: 22px; }
  .simple-workspace .login-visual { display: none; }
  .simple-workspace .login-panel { padding: 40px 28px 32px; }
  .simple-workspace .login-card-brand { display: flex; margin-bottom: 32px; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 550; }
  .simple-workspace .login-card h1 { font-size: 28px; }
  .simple-workspace .login-copy { margin-bottom: 30px; }
  .simple-workspace .topbar { padding: 0 18px; }
  .simple-workspace .workbench-header { padding: 17px 18px; }
  .simple-workspace .workbench-header h1 { font-size: 18px; }
  .simple-workspace .pane-heading { padding: 15px 18px; }
  .simple-workspace .plan-panel > .plan-scroll { padding: 20px 18px 35px; }
  .simple-workspace .conversation-panel .conversation-scroll { padding: 20px 18px 28px; }
  .simple-workspace .creator-compose-area, .simple-workspace .owner-compose-area { padding-inline: 15px; }
  .simple-workspace .diagram-toolbar { padding: 8px; gap: 8px; }
}
/* Service onboarding stays readable in the same palette as the workspace. */
body.simple-workspace .setup-dialog {
  width: min(620px, calc(100vw - 32px)); max-height: 88dvh;
  padding: 28px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--paper); color: var(--ink);
}
body.simple-workspace .setup-dialog header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
body.simple-workspace .setup-dialog h2 { margin:0; font-size:21px; color:var(--ink); }
body.simple-workspace .setup-dialog h3 { margin:0 0 12px; color:var(--ink); }
body.simple-workspace .setup-dialog p, body.simple-workspace .setup-dialog li { line-height:1.8; }
body.simple-workspace .setup-providers section { padding:20px 0; border-bottom:1px solid var(--line); }
body.simple-workspace .setup-providers nav { display:flex; gap:16px; flex-wrap:wrap; }
body.simple-workspace .setup-dialog a { color:var(--ink); text-underline-offset:4px; }
body.simple-workspace .setup-download { margin-top:20px; }
body.simple-workspace .setup-download fieldset { border:0; padding:0; }
body.simple-workspace .setup-download label { display:flex; gap:10px; align-items:center; margin:12px 0; color:var(--ink); }
body.simple-workspace .setup-keys > label:not(.setup-consent) { display:grid; }
body.simple-workspace .setup-download input[type=password] { width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--paper); }
body.simple-workspace .setup-download [role=status] { color:var(--muted); }
body.simple-workspace .product-setup { padding:18px 0; border-bottom:1px solid var(--line); }
body.simple-workspace .product-setup p { color:var(--muted); font-size:13px; }
