:root {
  --bg:#f3f1ea; --paper:#fffefa; --ink:#202622; --muted:#60695e; --line:#d7dacd;
  --orange:#b74b22; --orange-soft:#ffeddc; --green:#365843; --red:#9f392e;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink); background:var(--bg); font-size:14px; line-height:1.65;
}
.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}
.studio-nav{display:flex;align-items:center;gap:9px;margin-left:auto;min-width:0}.studio-nav select{max-width:230px;min-width:120px;padding:9px 11px;border:1px solid #cdc8df;border-radius:9px;background:#fffdf9;font-size:12px}.nav-button{border:0;background:transparent;font-size:12px;padding:9px 8px;min-height:40px;white-space:nowrap}.nav-button:hover{background:#eee8f9;border-radius:8px}.demo-badge{font-size:9px;color:#775320;background:#f7e8ba;border:1px solid #dfcd92;padding:3px 6px;border-radius:20px;white-space:nowrap}.welcome-note{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px;padding:18px 21px;border:1px solid #c9bfe4;border-radius:13px;background:#f0eafb}.welcome-note strong{font-size:15px}.welcome-note p{font-size:12px;line-height:1.8;color:#695d80;margin-top:5px}.help-dialog{width:min(600px,calc(100vw - 30px));max-height:85vh;overflow:auto;border:1px solid #c5bbd8;border-radius:15px;padding:27px;background:#fffdf9;color:var(--ink)}.help-dialog::backdrop{background:#27203466}.help-dialog p,.help-dialog li{font-size:13px;line-height:1.9}.help-dialog ol{padding-left:21px;margin:17px 0 22px}.project-library{padding:30px 0}.library-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.library-header h1{font-size:28px}.library-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.project-filter{border:1px solid #d4ccdf;background:transparent;border-radius:20px;font-size:12px;padding:6px 13px;min-height:35px}.project-filter.is-active{color:white;background:#51416b;border-color:#51416b}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-tile{padding:20px;background:#fffaf0;border:1px solid #ddd1b6;border-radius:5px 16px 16px 16px;box-shadow:3px 4px 0 #ded5e6;min-width:0}.project-tile:nth-child(3n+2){background:#eef1ff;border-color:#c6ccdf}.project-tile:nth-child(3n){background:#f5eafa;border-color:#d8c2dd}.project-tile h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere;margin:13px 0 8px}.project-tile p{font-size:12px;color:#6e6478;overflow-wrap:anywhere}.project-tile .actions{margin-top:17px;padding-top:13px;border-color:#d7cbdc}.project-tile small{font-size:10px;color:#7c7088}.project-form{background:#fffefa;border:1px solid #d8ccdf;border-radius:12px;padding:24px;margin:18px 0 24px}.project-form>h2{font-size:20px;margin-bottom:18px}.project-form .details-fields{margin-top:18px}.project-form .details-fields>summary{font-size:12px;font-weight:600;padding:10px 0;cursor:pointer}.project-form .details-fields .field-grid{margin-top:10px}.project-detail-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 22px;font-size:12px;margin:17px 0}.project-detail-copy dt{font-size:11px;color:#7e708c}.project-detail-copy dd{margin:0;overflow-wrap:anywhere}.choice-field{display:flex;align-items:center;gap:8px;font-size:12px}.choice-field input{width:17px;height:17px}.job-options{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px}
* { box-sizing:border-box }
body { margin:0 }
h1,h2,h3,p { margin:0 }
a { color:inherit; text-underline-offset:4px }
button,input,textarea,select { font:inherit; color:inherit }
button,select,summary { cursor:pointer }
button { touch-action:manipulation }
button:disabled,input:disabled,textarea:disabled,select:disabled { opacity:.55; cursor:wait }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible {
  outline:3px solid #ac561f; outline-offset:4px
}
[hidden] { display:none!important }
.skip-link { position:fixed; top:-60px; left:20px; z-index:20; background:var(--ink); color:white; padding:10px 20px; opacity:0; pointer-events:none }
.skip-link:focus { top:8px; opacity:1; pointer-events:auto }
.environment-banner { display:flex; justify-content:center; align-items:center; gap:10px; padding:5px 16px; min-height:30px; font-size:11px; background:#e9e7dc; color:#5d624d; border-bottom:1px solid #d9dbcc }
.environment-dot { width:6px; height:6px; border-radius:50%; background:var(--orange) }
.topbar { padding:18px 4vw; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--ink) }
.brand { display:flex; align-items:center; gap:20px }
.brand-geometry { width:129px; height:auto; flex-shrink:0 }
.brand-divider { border-left:1px solid #b4b9a8; padding-left:20px }
.brand-name { display:block; font-size:11px; letter-spacing:.14em; font-weight:700 }
.brand-subtitle { display:block; font-size:12px; color:var(--muted) }
.brand-subtitle small { margin-left:8px; font-size:10px }
.role-toolbar { display:grid; grid-template-columns:auto 210px; align-items:center; gap:2px 12px }
.role-toolbar label { font-size:11px; color:var(--muted) }
.role-toolbar select { min-height:36px; border:1px solid #bcc2b2; border-radius:6px; background:transparent; padding:6px 10px; font-size:12px }
.role-caption { grid-column:2; font-size:10px; color:var(--muted) }
.app-shell { max-width:1440px; margin:auto }
.workspace { padding:0 4vw 30px; min-width:0 }
.work-shelf { display:flex; align-items:center; gap:24px; padding:21px 0; border-bottom:1px solid var(--line) }
.shelf-label { flex-shrink:0; font-size:13px; font-weight:700 }
.shelf-label span { display:block; font-size:8px; letter-spacing:.1em; font-weight:500; color:var(--muted) }
.instance-list { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; flex:1 }
.shelf-toggle { display:none }
.instance-button { max-width:320px; min-height:45px; text-align:left; border:1px solid var(--line); border-radius:7px; padding:7px 13px; background:transparent }
.instance-button strong { display:block; font-size:12px; font-weight:550; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.instance-button small { display:block; font-size:10px; color:var(--muted) }
.instance-button.is-active { border-color:var(--ink); background:var(--paper); box-shadow:2px 2px 0 #d4d9c7 }
.instance-list>.history-group { width:200px; background:transparent; margin:0 }
.instance-list>.history-group[open] { width:100%; max-width:500px }
.instance-list>.history-group>summary { padding:10px 13px; font-size:12px }
.instance-list .history-list { padding:14px }
.workspace-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 0 23px }
.eyebrow { font-size:10px; color:var(--muted); letter-spacing:.12em; margin-bottom:7px }
h1 { font-size:clamp(24px,2.8vw,40px); line-height:1.3; letter-spacing:-.035em; font-weight:650; overflow-wrap:anywhere }
.muted { color:var(--muted); font-size:12px }
.workspace-heading p { margin-top:8px }
.button { border:1px solid transparent; border-radius:6px; padding:9px 17px; min-height:43px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; background:var(--ink); color:white; transition:background .15s,box-shadow .15s; max-width:100% }
.button:hover:not(:disabled) { background:#354538; box-shadow:0 2px 0 #1112 }
.button-secondary { border-color:#b9bfad; background:var(--paper); color:var(--ink) }
.button-secondary:hover:not(:disabled) { background:#e5eadc }
.button-quiet { color:var(--muted); background:transparent; padding-inline:0 }
.button-quiet:hover:not(:disabled) { background:transparent; box-shadow:none; text-decoration:underline }
.button-accent { background:var(--orange) }
.button-accent:hover:not(:disabled) { background:#933b1c }
.button-danger { background:#fff0e9; border-color:#d7a59a; color:var(--red) }
.button-danger:hover:not(:disabled) { background:#f5dbd1 }
.flow-canvas { position:relative; border:1px solid #b8c1a8; border-radius:12px; padding:23px 26px 16px; background-color:#e7ecd9; background-image:radial-gradient(#8d9b6840 .7px,transparent .7px); background-size:12px 12px; overflow:hidden }
.canvas-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:23px }
.canvas-heading h2 { font-size:15px; font-weight:600 }
.canvas-heading>div { display:flex; gap:8px; align-items:center; font-size:10px; color:#4b5941 }
#path-counter { font-size:14px; font-variant-numeric:tabular-nums; font-weight:700 }
.canvas-legend { display:flex; gap:5px; align-items:center }
.canvas-legend i { width:6px; height:6px; border-radius:50%; background:#436240 }
.node-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; padding:7px 3px 15px; position:relative }
.node-button { position:relative; border:1px solid #b7c0a7; border-radius:8px; text-align:left; padding:17px 19px 12px; min-width:0; background:#f9faef; box-shadow:0 4px 0 #a4b18b1f; transition:transform .2s,border-color .2s,box-shadow .2s }
.node-button::after { content:"→"; position:absolute; width:36px; right:-37px; top:45%; text-align:center; color:#657252; font-size:22px; font-weight:400 }
.node-button:last-child::after { display:none }
.node-button:hover { transform:translateY(-3px); border-color:#5d704d; box-shadow:0 7px 0 #a4b18b26 }
.node-button.is-active { background:#fffef7; border:2px solid #283a2a; padding:16px 18px 11px; box-shadow:4px 5px 0 #bcc6a8; transform:translateY(-4px) }
.node-button.is-complete { background:#edf2e2 }
.node-top { display:flex; align-items:center; justify-content:space-between; gap:8px }
.node-number { font-size:11px; letter-spacing:.08em; color:#687558; font-variant-numeric:tabular-nums }
.status-badge { display:inline-block; background:#e9ebdf; color:#555e49; border:1px solid #d7ddcb; border-radius:20px; padding:3px 9px; font-size:10px; white-space:nowrap; line-height:1.5 }
.status-badge.working { background:#ffe9d5; color:#963e1b; border-color:#edc4a9 }
.status-badge.pending_internal,.status-badge.awaiting_dispatch { background:#edf0d1; color:#676122; border-color:#d5d39f }
.status-badge.pending_external { background:#e1e9ee; color:#3f5666; border-color:#bdcdd6 }
.status-badge.complete { background:#dceace; color:#3b5d32; border-color:#b8cba7 }
.node-copy { display:block; margin-top:18px }
.node-copy strong { display:block; font-size:23px; line-height:1.35; font-weight:600; letter-spacing:-.03em }
.node-copy small { display:block; font-size:10px; color:#58684e; margin-top:8px; overflow-wrap:anywhere }
.node-glyph { width:25px; height:25px; display:block; margin-bottom:12px; background:#324b36 }
.glyph-0 { clip-path:polygon(0 0,50% 50%,100% 0,100% 100%,0 100%) }
.glyph-1 { clip-path:polygon(0 0,100% 0,50% 50%,100% 100%,0 100%,50% 50%) }
.glyph-2 { border-radius:0 0 10px 10px }
.node-foot { border-top:1px solid #d8decd; display:flex; justify-content:space-between; gap:12px; margin-top:18px; padding-top:10px }
.node-owner { display:flex; flex-direction:column; min-width:0 }
.node-owner small { font-size:9px; color:#58684e }
.node-owner>span { font-size:11px; overflow-wrap:anywhere }
.node-versions { font-size:10px; color:#58684e; text-align:right; max-width:44%; overflow-wrap:anywhere }
.node-versions strong { font-size:13px; font-weight:550; display:block }
.node-versions small { font-size:9px; display:block }
.node-selection { display:block; font-size:10px; color:#56674a; margin-top:12px; text-align:right }
.node-button.is-active .node-selection { color:#273c29; font-weight:700 }
.canvas-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; font-size:10px; color:#536246; padding-top:7px }
.canvas-jump { font-weight:600; flex-shrink:0; text-decoration:none; border-bottom:1px solid #536246; min-height:25px }
.guardrail { margin:15px 0 30px; display:flex; align-items:flex-start; gap:10px; font-size:11px; color:var(--muted); padding:0 3px }
.guardrail-label { white-space:nowrap; font-weight:650 }
.guardrail strong { color:#595e3c; font-weight:600 }
.node-card { margin:0 auto; padding-top:3px; scroll-margin-top:20px }
.node-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px }
.node-kicker { font-size:9px; letter-spacing:.14em; color:var(--orange); margin-bottom:4px }
.node-header h2 { font-size:25px; line-height:1.35; font-weight:600 }
.node-meta { display:flex; flex-wrap:wrap; gap:6px 17px; margin-top:8px; font-size:11px; color:var(--muted) }
.node-meta strong { margin-left:6px; font-weight:550; color:var(--ink) }
.stage-rail { margin:0 0 19px; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:10px 22px }
.stage-rail li { display:flex; align-items:center; gap:6px; font-size:10px; color:var(--muted) }
.stage-dot { height:19px; width:19px; border:1px solid #bdc4b1; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; font-size:10px }
.stage-rail .is-current { color:#9c3e1b; font-weight:600 }
.stage-rail .is-current .stage-dot { background:var(--orange); border-color:var(--orange); color:white }
.stage-rail .is-done { color:#3b603c }
.stage-rail .is-done .stage-dot { background:#dbe6cc; border-color:#c1ceae }
.node-body { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start }
.has-version .node-body { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) }
.action-sheet,.artifact-sheet { min-width:0; border:1px solid #d0d4c6; background:var(--paper); border-radius:7px; padding:25px 27px; box-shadow:3px 4px 0 #dedfd3; position:relative }
.artifact-sheet { background:#fcf9ef; border-top:3px solid #a1ab88 }
.action-sheet { border-top:3px solid #344938 }
.sheet-kicker { font-size:9px; letter-spacing:.13em; color:var(--muted); margin-bottom:15px }
.action-heading { margin-bottom:21px }
.action-heading h3 { font-size:19px; font-weight:600; letter-spacing:-.02em }
.action-heading p { color:var(--muted); font-size:12px; margin-top:6px; line-height:1.85 }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px 20px }
.field { display:flex; flex-direction:column; gap:7px; min-width:0 }
.field.full-width,.full-width { grid-column:1/-1 }
.field-label { font-size:12px; font-weight:600 }
.required-mark { color:var(--orange); margin-left:4px }
.field input,.field textarea,.field select { display:block; width:100%; min-width:0; padding:10px 12px; border:1px solid #c9cfbe; border-radius:4px; background:#fffefa; font-size:14px; line-height:1.65 }
.field textarea { resize:vertical; min-height:115px }
.field input::placeholder,.field textarea::placeholder { color:#78816f }
.field input:hover,.field textarea:hover,.field select:hover { border-color:#8e9e7d }
.field input:read-only { background:#eff0e8 }
.field-hint { color:var(--muted); font-size:11px }
.field-helper { display:flex; align-items:center; flex-wrap:wrap; gap:13px; margin-top:8px; font-size:11px; color:var(--muted) }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-top:22px; padding-top:18px; border-top:1px solid #e2e4d7 }
.action-note { font-size:10px; color:var(--muted); margin-left:auto }
.current-version-title { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:9px; margin-bottom:17px }
.current-version-title h3 { font-size:18px; line-height:1.5; overflow-wrap:anywhere }
.current-version-title>span { color:var(--muted); font-size:11px }
.deliverable-list { display:grid; grid-template-columns:85px minmax(0,1fr); gap:12px 16px; margin:0 }
.deliverable-list dt { font-size:11px; color:var(--muted); padding-top:2px }
.deliverable-list dd { margin:0; font-size:13px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere }
.archive-label { border-top:1px dashed #d4d6c5; padding-top:12px; margin-top:21px; font-size:10px; color:var(--muted) }
.dependency-note,.rejection-note { grid-column:1/-1; font-size:12px; padding:12px 16px; border-left:3px solid #8c9a72; background:#e9eddf }
.rejection-note { background:#ffeadf; color:#863d25; border-color:#b95836 }
.waiting-state { padding:9px 0 6px }
.waiting-state h3 { font-size:18px; font-weight:600 }
.waiting-state p { font-size:13px; color:var(--muted); line-height:1.85; margin-top:8px }
.waiting-state .button { margin-top:19px }
.complete-state h3 { color:#3b603c }
.notice { background:#e5eedc; color:#3b5834; border:1px solid #bfcea9; border-radius:6px; padding:12px 16px; font-size:12px; margin-top:20px }
.notice.error { background:#fff0e8; color:#943922; border-color:#d9a590 }
.notice.warning { background:#f9eed3; color:#72571e; border-color:#d7c597 }
.notice .button { margin:8px 0 0 12px }
.history-section { border-top:1px solid #bcc3ae; padding-top:27px; margin-top:38px }
.section-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin-bottom:18px }
.section-heading h2 { font-size:20px; font-weight:600 }
.subtle-badge { padding:4px 9px; border:1px solid #c4cbb9; border-radius:4px; color:var(--muted); font-size:10px }
.history-content { display:grid; gap:10px }
.history-group { border:1px solid #ccd2c0; border-radius:6px; background:#f7f7ee; min-width:0 }
.history-group>summary { padding:15px 18px; font-size:12px; font-weight:550; list-style:none; display:flex; justify-content:space-between; gap:12px }
.history-group>summary::-webkit-details-marker { display:none }
.history-group>summary::after { content:"+"; font-size:16px; color:#647254 }
.history-group[open]>summary::after { content:"−" }
.history-group[open]>summary { border-bottom:1px solid #d5dbca }
.history-list { padding:20px 25px; display:grid; gap:14px }
.history-entry { border-left:2px solid #bdc7a9; padding:0 0 14px 18px; position:relative }
.history-entry::before { content:""; position:absolute; left:-5px; top:7px; width:8px; height:8px; border-radius:50%; background:#7d9062 }
.history-entry-header { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:7px }
.history-entry-header strong { font-size:12px; overflow-wrap:anywhere }
.history-entry-header time { font-size:10px; color:var(--muted); flex-shrink:0 }
.history-entry p { font-size:12px; line-height:1.8; color:var(--muted); overflow-wrap:anywhere }
.history-entry .deliverable-list { margin-top:10px }
.history-empty { font-size:12px; color:var(--muted) }
.workspace-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:25px; margin-top:28px; border-top:1px solid var(--line); font-size:10px; color:var(--muted) }
.empty-state { padding:40px; text-align:center; background:var(--paper); border:1px dashed #b6c0a4; border-radius:8px }
.empty-symbol { font-size:32px; color:#677e53 }
.empty-state h2 { font-size:22px }
.empty-state p { margin-top:8px; color:var(--muted) }
.loading-placeholder,.noscript-warning { padding:20px; color:var(--muted); font-size:12px }
@media(max-width:1000px) {
  .workspace { padding-inline:24px }.topbar { padding-inline:24px }
  .node-list { gap:22px }.node-button::after { width:22px; right:-23px; font-size:18px }
  .node-button { padding:15px 13px 12px }.node-button.is-active { padding:14px 12px 11px }
  .node-copy strong { font-size:21px }.node-copy small { font-size:9px }
  .node-foot { gap:8px }.flow-canvas { padding-inline:19px }
  .has-version .node-body { grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
  .action-sheet,.artifact-sheet { padding:22px }.field-grid { grid-template-columns:minmax(0,1fr) }
  .deliverable-list { grid-template-columns:minmax(0,1fr); gap:4px }.deliverable-list dd { margin-bottom:13px }
}
@media(max-width:680px) {
  .environment-banner { font-size:10px; gap:7px; padding:6px 10px }
  .topbar { padding:17px 20px; gap:14px; align-items:center }
  .brand { display:block }.brand-geometry { width:101px }
  .brand-divider { border:0; padding:0; margin-top:7px; display:flex; align-items:baseline; gap:7px }
  .brand-name { font-size:9px }.brand-subtitle { font-size:10px }.brand-subtitle small { display:none }
  .role-toolbar { display:block; max-width:185px; min-width:0 }
  .role-toolbar label { display:block; margin-bottom:3px; font-size:10px }
  .role-toolbar select { width:100%; font-size:12px; padding:7px 6px; min-height:36px }
  .role-caption { display:block; font-size:9px; margin-top:3px }
  .workspace { padding-inline:19px }
  .work-shelf { display:block; padding:17px 0 }
  .shelf-label { margin-bottom:9px; font-size:12px }.shelf-label span { display:inline; margin-left:12px; font-size:8px }
  .instance-list { flex-wrap:wrap; gap:8px }
  .shelf-toggle { display:inline-flex; order:2; background:transparent; color:var(--muted); border:1px dashed #abb69b; padding:5px 10px; min-height:36px; width:100%; font-size:11px }
  .shelf-toggle:hover:not(:disabled) { background:#e4e9d8 }
  .instance-list.is-collapsed>.instance-button:not(.is-active),.instance-list.is-collapsed>.create-job { display:none }
  .instance-list>.create-job { order:3 }
  .instance-button { width:100%; max-width:none; padding:9px 12px }
  .instance-list>.history-group { width:100% }
  .workspace-heading { padding:22px 0 20px; align-items:flex-start; gap:12px }
  .workspace-heading .button { padding:7px 10px; min-height:36px; font-size:10px; flex-shrink:0 }
  h1 { font-size:25px }.eyebrow { font-size:9px; letter-spacing:.04em }
  .workspace-heading p { font-size:11px }
  .flow-canvas { padding:17px 0 13px; border-radius:9px; margin-inline:-3px }
  .canvas-heading { padding-inline:16px; margin-bottom:13px; align-items:flex-start }
  .canvas-heading h2 { max-width:65%; font-size:13px }.canvas-heading>div { display:block; text-align:right }
  .canvas-legend { font-size:9px; margin-top:3px }#path-counter { font-size:12px }
  .node-list { display:flex; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding:8px 18px 17px; gap:27px; scrollbar-width:thin }
  .node-button { flex:0 0 238px; scroll-snap-align:center; padding:15px 17px 11px }
  .node-button.is-active { padding:14px 16px 10px; transform:none }
  .node-button::after { width:27px; right:-28px }
  .node-copy { margin-top:15px }.node-copy strong { font-size:23px }.node-copy small { font-size:10px }
  .node-glyph { width:22px; height:22px; margin-bottom:11px }
  .node-foot { margin-top:15px }.node-selection { margin-top:9px }
  .canvas-footer { padding-inline:16px; display:block; font-size:10px }.canvas-jump { display:inline-block; margin-top:8px; padding-block:3px }
  .guardrail { margin-block:14px 25px; font-size:10px; gap:8px }
  .node-header h2 { font-size:24px }.node-meta { gap:5px 12px; font-size:10px }
  .stage-rail { gap:9px 14px; margin-bottom:17px }.stage-rail li { font-size:11px }
  .has-version .node-body { grid-template-columns:minmax(0,1fr) }
  .action-sheet,.artifact-sheet { padding:20px 18px; box-shadow:2px 3px 0 #dedfd3 }
  .action-heading h3 { font-size:18px }.action-heading p { font-size:12px }
  .field input,.field textarea,.field select { font-size:16px }
  .field-hint { font-size:11px }.field-label { font-size:12px }.field-helper { gap:6px 12px; font-size:10px }
  .field-grid { gap:17px }.action-note { width:100%; margin:0; font-size:10px }
  .actions { gap:9px }.button { min-height:44px }
  .deliverable-list { display:block }.deliverable-list dt { margin-bottom:5px }.deliverable-list dd { font-size:13px }
  .current-version-title { display:block }.current-version-title>span { display:block; margin-top:5px }
  .dependency-note,.rejection-note { font-size:12px }
  .section-heading h2 { font-size:19px }.history-section { padding-top:22px; margin-top:30px }
  .history-entry-header { display:block }.history-entry-header time { display:block; margin-top:4px }
  .history-list { padding:18px 16px }.history-entry { padding-left:14px }
  .history-group>summary { padding:14px; font-size:12px }
  .workspace-footer { display:block; font-size:9px }.workspace-footer span { display:block; margin-top:4px }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important }
}

/* Studio v2: quiet daily navigation, project library, first-visit guidance. */
:root{--bg:#f5f2f8;--paper:#fffcf6;--ink:#29213b;--muted:#6b607a;--line:#dcd3e4;--orange:#78449c;--orange-soft:#f0e2fb;--green:#356647}
.topbar{padding:15px 3vw;gap:20px;border-bottom:1px solid #c9bed5}.brand{gap:13px}.brand-geometry{width:107px}.brand-divider{padding-left:13px}.brand-subtitle small{display:none}.role-toolbar{grid-template-columns:auto 150px;gap:0 8px}.role-toolbar label{font-size:10px}.role-toolbar select{font-size:12px;border-radius:8px;border-color:#c7bdd3;background:#fffaf5}.studio-nav{flex:1;justify-content:flex-end}.studio-nav select{max-width:210px}.workspace{padding-inline:3vw}.work-shelf{padding-block:16px}.workspace-heading{padding:24px 0 20px}h1{font-size:clamp(25px,2.4vw,33px)}.brand-geometry{color:#514064}.button-accent{background:#75409a}.button-accent:hover:not(:disabled){background:#5b2d7b}.button-secondary{background:#fffcf6;border-color:#c9bed6}.button-secondary:hover:not(:disabled){background:#eee5f7}.node-card{margin-top:27px}.history-section{margin-top:28px;padding-top:22px}.workspace-footer{font-size:9px}.instance-button.is-active{box-shadow:2px 3px 0 #d5c6e5;border-color:#7b628f;background:#fbf5ff}.notice{color:#3d654a;background:#e6f0df;border-color:#c3d4b8}.notice .button{font-size:11px}.project-library .library-header .library-tools{margin-bottom:0}.project-tile h2{font-size:20px}.project-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.topbar{flex-wrap:wrap}.studio-nav{order:3;width:100%;justify-content:flex-start;border-top:1px solid #ded5e6;padding-top:11px}.studio-nav select{flex:1;max-width:none}.role-toolbar{margin-left:auto}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.topbar{padding:15px 18px;gap:11px}.brand-geometry{width:100px}.brand-divider{padding:6px 0 0}.studio-nav{gap:5px;padding-top:10px}.studio-nav select{min-width:80px;max-width:150px;font-size:12px;padding:8px}.nav-button{font-size:11px;padding:8px 5px}.demo-badge{font-size:8px;padding:3px 5px}.role-toolbar{max-width:175px}.role-toolbar select{font-size:12px;min-height:38px}.workspace{padding-inline:17px}.welcome-note{display:block;padding:16px;margin-top:17px}.welcome-note strong{font-size:14px}.welcome-note p{font-size:11px}.welcome-note .button{margin-top:12px;font-size:11px}.project-grid{grid-template-columns:1fr;gap:14px}.project-form{padding:18px}.project-form .field-grid,.project-detail-copy{grid-template-columns:1fr}.library-header{gap:12px;align-items:flex-start}.library-header h1{font-size:26px}.library-header .library-tools{gap:5px;justify-content:flex-end}.library-header .button{font-size:10px;padding:8px 10px;min-height:38px}.project-filter{font-size:11px;min-height:34px;padding:5px 11px}.project-tile{padding:18px}.project-library{padding-top:22px}.help-dialog{padding:21px}.help-dialog p,.help-dialog li{font-size:12px}.field input,.field textarea,.field select{font-size:16px}.studio-nav select,.role-toolbar select{font-size:16px}.role-toolbar{max-width:186px}.studio-nav .demo-badge{display:none}}

/* Grouped production lanes: compact, readable, and directly driven by the template. */
.flow-canvas{background:#eae5f0;border:1px solid #d5c9df;background-image:none;border-radius:16px;padding:19px 18px 12px}.canvas-heading{margin-bottom:15px;padding-inline:3px}.canvas-heading h2{font-size:16px}.canvas-heading>div{color:#756182}.node-list{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 3px 14px;scrollbar-width:thin;scrollbar-color:#baa3cb transparent}.flow-lane{flex:1 0 214px;min-width:214px;max-width:310px;--lane:#f2d99a;--lane-ink:#7b5c1f;border-radius:12px;background:var(--lane);padding:10px 9px 9px}.lane-color-1{--lane:#cdddff;--lane-ink:#426296}.lane-color-2{--lane:#e7cdf0;--lane-ink:#834e94}.lane-color-3{--lane:#cde7d8;--lane-ink:#40775c}.lane-color-4{--lane:#f3caca;--lane-ink:#9c5358}.lane-heading{display:flex;align-items:center;gap:8px;width:100%;background:transparent;border:0;text-align:left;padding:3px 3px 11px;color:var(--lane-ink)}.lane-label{min-width:0;flex:1}.lane-label strong{display:block;font-size:13px;font-weight:700}.lane-label small{font-size:9px;display:block;margin-top:1px}.lane-toggle{font-size:17px;font-weight:400}.lane-mascot{position:relative;display:block;flex-shrink:0;width:29px;height:29px;background:var(--lane-ink);border-radius:10px 10px 13px 13px;transform:rotate(-6deg)}.lane-color-1 .lane-mascot{border-radius:7px;transform:rotate(5deg)}.lane-color-2 .lane-mascot{border-radius:50% 50% 8px 8px}.lane-color-3 .lane-mascot{border-radius:15px 5px 15px 5px;transform:rotate(0)}.lane-color-4 .lane-mascot{border-radius:50%;transform:rotate(8deg)}.lane-mascot::before,.lane-mascot::after{content:"";position:absolute;top:10px;width:3px;height:5px;background:#fffcf4;border-radius:4px}.lane-mascot::before{left:8px}.lane-mascot::after{right:8px}.lane-nodes{display:grid;gap:8px}.node-button{width:100%;padding:11px 11px 8px;border:1px solid #ffffff90;border-radius:9px;background:#fffcf5;box-shadow:0 2px 0 #44354d14;transition:border-color .15s,box-shadow .15s;transform:none;min-height:0}.node-button::after{display:none!important}.node-button:hover{transform:none;border-color:var(--lane-ink);box-shadow:0 3px 0 #44354d20}.node-button.is-active{padding:10px 10px 7px;border:2px solid var(--lane-ink);box-shadow:2px 3px 0 #51405530;background:white;transform:none}.node-button.is-complete{background:#f5fcf3}.node-button.is-skipped{opacity:.58;background:#ffffff9c;box-shadow:none}.node-top{gap:5px}.node-number{font-size:9px;color:#948099}.status-badge{font-size:8px;padding:3px 6px}.node-copy{margin-top:9px}.node-copy strong{font-size:15px;line-height:1.45;font-weight:650;color:#352b41;letter-spacing:0;overflow-wrap:anywhere}.node-copy small{font-size:9px;margin-top:4px;color:#897493}.node-foot{gap:7px;padding-top:8px;margin-top:9px;border-color:#eee6ef}.node-owner small{font-size:8px;color:#95809d}.node-owner>span{font-size:9px;color:#776181}.node-versions{max-width:45%;color:#776181}.node-versions strong{font-size:9px;font-weight:550}.node-versions small{font-size:8px;margin-top:2px}.node-selection{font-size:8px;color:#a58bad;margin-top:6px}.node-button.is-active .node-selection{color:var(--lane-ink)}.status-badge.working{background:#ffebc4;color:#87601f;border-color:#e7d2a4}.status-badge.pending_internal,.status-badge.awaiting_dispatch{background:#eeddfa;color:#7e5196;border-color:#d8bee7}.status-badge.pending_external{background:#dfeafb;color:#416c91;border-color:#c1d5eb}.status-badge.complete{background:#e1f2dd;color:#416e42;border-color:#c1dabc}.canvas-footer{padding:3px 3px 0;color:#87718f}.canvas-jump{border-color:#ad96b7}.canvas-legend i{background:#689969}#job-timing{font-size:10px;margin-right:8px;color:#8a7295}#path-counter{font-size:12px}.node-meta strong{color:#62506f}.action-sheet{border-top-color:#a480b7}.artifact-sheet{border-top-color:#d0ad63;background:#fffcf4}.stage-rail{gap:8px 17px}.stage-rail li{font-size:10px}.node-kicker{color:#9a70ac}.node-header h2{font-size:25px}.dependency-note{background:#eee6f6;border-color:#baa0cc;color:#756083}.history-group{background:#f8f4fc;border-color:#ddcfe8}.history-group[open]>summary{border-color:#e0d3e9}.history-entry{border-color:#cab0d8}.history-entry::before{background:#a07ab4}.work-shelf{border-color:#e0d5e8}.current-version-title h3{font-size:17px}
@media(max-width:1000px){.flow-lane{flex-basis:218px}.node-copy strong{font-size:15px}.node-button{padding:11px 11px 8px}.node-button.is-active{padding:10px 10px 7px}.node-copy small{font-size:9px}.node-foot{gap:7px}.node-list{gap:12px}}
@media(max-width:680px){.flow-canvas{padding:16px 0 10px;border-radius:12px}.canvas-heading{padding-inline:14px;margin-bottom:12px}.canvas-heading>div{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end;max-width:65%}.canvas-heading h2{font-size:15px}.canvas-legend{font-size:9px;margin:0}#job-timing{font-size:9px;width:100%;margin:0}.node-list{display:flex;gap:12px;padding:3px 14px 14px;scroll-snap-type:x proximity}.flow-lane{flex:0 0 235px;min-width:235px;scroll-snap-align:center;padding:11px 9px 9px}.lane-heading{padding:3px 3px 11px}.lane-label strong{font-size:14px}.lane-label small{font-size:10px}.node-button{flex:none;padding:12px 12px 9px;min-height:0;scroll-snap-align:none}.node-button.is-active{padding:11px 11px 8px}.node-copy{margin-top:10px}.node-copy strong{font-size:16px}.node-copy small{font-size:10px}.status-badge{font-size:9px}.node-number{font-size:10px}.node-foot{margin-top:10px;padding-top:8px}.node-owner small{font-size:9px}.node-owner>span{font-size:10px}.node-versions strong{font-size:10px}.node-versions small{font-size:9px}.node-selection{font-size:9px;margin-top:8px}.canvas-footer{display:flex;padding-inline:14px;font-size:9px;gap:8px}.canvas-footer>span{max-width:170px}.canvas-jump{font-size:10px;margin:0}.stage-rail li{font-size:10px}.current-version-title h3{font-size:16px}}
.action-disclosure>summary{display:flex;align-items:center;justify-content:space-between;font-size:17px;font-weight:650;cursor:pointer;list-style:none;min-height:44px;color:#66407f}.action-disclosure>summary::-webkit-details-marker{display:none}.action-disclosure>summary::after{content:"＋";font-size:21px;font-weight:400}.action-disclosure[open]>summary::after{content:"−"}.action-disclosure[open]>summary{border-bottom:1px solid #e4d5ec;padding-bottom:15px;margin-bottom:19px}.action-disclosure .action-heading{margin-bottom:17px}.action-disclosure .action-heading h3{font-size:16px}.action-disclosure .action-heading p{font-size:11px}.timing-detail{margin:-4px 0 16px;font-size:11px;color:#85718f}.timing-detail>summary{cursor:pointer;display:inline-block;list-style:none;border-bottom:1px dotted #b29cbd;min-height:28px}.timing-detail>summary::after{content:"  ⌄"}.timing-detail .muted{font-size:10px;margin:8px 0 12px;line-height:1.7}.timing-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px 14px;padding:12px 16px;background:#f0e9f7;border-radius:8px;margin:7px 0}.timing-grid dt{font-size:10px;grid-row:1;color:#90789d}.timing-grid dd{margin:0;font-size:12px;color:#654c75;grid-row:2}.client-waiting{display:flex;align-items:center;gap:12px;grid-column:1/-1;background:#e4eefc;border:1px solid #cadcf3;border-radius:10px;padding:13px 17px;color:#4a6d91}.client-waiting strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.client-waiting p{font-size:10px;line-height:1.8;margin-top:3px}.waiting-face{display:inline-flex;align-items:center;justify-content:center;border-radius:50% 50% 8px 8px;background:#86acd5;color:white;font-size:30px;font-weight:800;width:32px;height:33px;line-height:1;flex-shrink:0;letter-spacing:2px;padding-bottom:12px}.node-body>.action-sheet:only-child{max-width:820px;width:100%}.project-form h2,.project-detail-copy dd,.instance-button strong,.node-header h2{overflow-wrap:anywhere}.role-banner strong{font-weight:550}
@media(max-width:680px){.timing-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding:11px 10px;gap:3px 7px}.timing-grid dt{font-size:9px}.timing-grid dd{font-size:10px;line-height:1.6}.timing-detail{font-size:11px}.client-waiting{padding:12px 14px;gap:10px}.client-waiting strong{font-size:12px}.client-waiting p{font-size:10px}.action-disclosure>summary{font-size:17px}.studio-nav{flex-wrap:wrap}.studio-nav .demo-badge{display:inline-block}.node-body>.action-sheet:only-child{max-width:none}}
.shelf-toggle{display:none}.dependency-note{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;padding:9px 12px;font-size:11px}.button-dependency{font-size:11px;min-height:28px;padding:3px 8px;background:#fffbff;border:1px solid #d3bee0;color:#79528f;border-radius:5px;font-weight:500}.button-dependency:hover:not(:disabled){background:#f4e9fb;box-shadow:none}.node-button.is-skipped .node-copy small{display:none}.node-button.is-skipped .node-selection{margin-top:8px}.node-button.is-skipped .node-copy{margin-top:7px}.node-button.is-skipped .node-copy strong{font-size:13px}.node-title:focus{outline:none}.node-card{scroll-margin-top:22px}
@media(max-width:680px){.shelf-toggle{display:inline-flex}.studio-nav .demo-badge{display:inline-block}.button-dependency{font-size:11px;min-height:34px}.node-button.is-skipped .node-copy strong{font-size:14px}.demo-badge{line-height:1.5}}

/* Reserve a complete second header row; long project names must not expand it. */
@media(max-width:1100px){.topbar{flex-wrap:wrap}.studio-nav{order:3;flex:0 0 100%;width:100%;min-width:0;margin-left:0}.studio-nav select{flex:1 1 0;min-width:0;max-width:none}.role-toolbar{flex:0 1 auto;min-width:0}.studio-nav .nav-button,.studio-nav .demo-badge{flex:0 0 auto}}
@media(max-width:680px){.topbar{column-gap:10px;row-gap:11px}.brand{flex:0 0 105px;min-width:0}.role-toolbar{flex:0 1 186px;max-width:calc(100% - 115px);margin-left:auto}.role-toolbar select{max-width:100%;min-width:0}.studio-nav{display:flex;flex-wrap:nowrap;flex:0 0 100%;width:100%;gap:5px}.studio-nav select{flex:1 1 0;min-width:0;width:0;max-width:none}.studio-nav .nav-button{font-size:11px;padding-inline:5px}.studio-nav .demo-badge{font-size:8px;white-space:nowrap}}

/* Playful studio: saturated accents on an otherwise quiet paper workspace. */
:root {
  --bg:#fff9ed; --paper:#ffffff; --ink:#20232c; --muted:#62636b; --line:#d9d4c8;
  --orange:#254cff; --orange-soft:#e9edff; --green:#256348;
  --studio-blue:#254cff; --studio-yellow:#ffe14b; --studio-coral:#ff806e;
  --studio-mint:#78dfb6; --studio-purple:#c2a2ff;
}
::selection { background:#ffe14b; color:#20232c }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible { outline-color:var(--studio-blue) }
.topbar { background:#fffdf7; border-bottom:2px solid var(--ink) }
.brand-geometry { color:var(--ink) }
.brand-divider { border-color:#a6a39b }
.brand-name { letter-spacing:.11em }
.studio-nav select,.role-toolbar select { background:white; border:1.5px solid var(--ink); border-radius:7px }
.nav-button { font-weight:650 }
.nav-button:hover { background:var(--studio-yellow); color:var(--ink) }
.demo-badge { color:var(--ink); background:var(--studio-yellow); border:1px solid var(--ink); border-radius:4px; transform:rotate(-3deg); font-weight:700 }
.work-shelf { border-color:#bfb9ad; gap:22px }
.shelf-label { font-weight:800 }
.shelf-label span { letter-spacing:.04em; color:#62636b }
.instance-button { position:relative; border:1px solid #98948a; border-radius:2px; background:#fffdf7; padding:9px 15px 9px 20px }
.instance-button::before { content:""; position:absolute; left:8px; top:9px; bottom:9px; border-left:2px dotted #bbb5a8 }
.instance-button strong { font-weight:650 }
.instance-button small { color:#62636b }
.instance-button:hover { border-color:var(--ink); background:white }
.instance-button.is-active { background:var(--studio-yellow); border-color:var(--ink); box-shadow:3px 3px 0 var(--ink) }
.instance-button.is-active::before { border-color:#7f702d }
.instance-list>.history-group { border-style:dashed; border-color:#8b8c91; border-radius:3px }
.shelf-toggle { border-color:#8b8c91; color:var(--ink) }
.workspace-title { flex:1; min-width:0 }
.workspace-heading { padding-block:27px 24px }
.workspace-heading h1 { font-weight:850; font-size:clamp(27px,2.9vw,39px); letter-spacing:-.055em; line-height:1.26 }
.workspace-heading .eyebrow { color:#52545c; font-size:10px; font-weight:750; letter-spacing:.13em }
.workspace-heading p { max-width:780px }
.heading-tools { display:flex; flex:0 0 auto; align-items:center; gap:15px }
.button { border:1.5px solid var(--ink); border-radius:5px; font-weight:700; background:var(--ink); color:white }
.button:hover:not(:disabled) { background:#363b48; box-shadow:2px 2px 0 #a9a49a }
.button-secondary { background:white; color:var(--ink) }
.button-secondary:hover:not(:disabled) { background:var(--studio-yellow); box-shadow:2px 2px 0 var(--ink) }
.button-accent { background:var(--studio-blue); border-color:var(--ink); box-shadow:3px 3px 0 var(--ink) }
.button-accent:hover:not(:disabled) { background:#173cdf; box-shadow:1px 1px 0 var(--ink) }
.button-quiet { background:transparent; color:#5c5d64; border-color:transparent; box-shadow:none }
.button-quiet:hover:not(:disabled) { background:transparent; box-shadow:none; color:var(--ink) }
.button-danger { color:#862a22; border-color:#bd675a; background:#fff0ea; box-shadow:none }
.button-danger:hover:not(:disabled) { background:#ffddcf; box-shadow:2px 2px 0 #bd675a }
.welcome-note { background:#fff2a9; border:1.5px solid var(--ink); border-radius:5px 18px 5px 5px; box-shadow:4px 4px 0 var(--ink) }
.welcome-note p { color:#5e5333 }
.flow-canvas { background:#f6f3e9; border:1.5px solid var(--ink); border-radius:10px; padding:19px 18px 12px; box-shadow:4px 4px 0 #ded8c9 }
.canvas-heading h2 { font-size:17px; font-weight:800 }
.canvas-heading>div,#job-timing,.canvas-footer { color:#5d5b55 }
.canvas-heading #path-counter { color:var(--ink); font-size:15px; font-weight:800 }
.canvas-legend i { background:#20794f }
.canvas-jump { border-color:var(--ink); color:var(--ink) }
.node-list { gap:14px; padding:4px 3px 15px; scrollbar-color:#969184 transparent }
.flow-lane { --lane:var(--studio-yellow); --lane-ink:#25262b; --lane-label:#25262b; background:var(--lane); border:1.5px solid var(--ink); border-radius:9px; padding:10px 9px 9px; box-shadow:2px 3px 0 #20232c24 }
.lane-color-1 { --lane:var(--studio-blue); --lane-label:#ffffff }
.lane-color-2 { --lane:var(--studio-coral) }
.lane-color-3 { --lane:var(--studio-mint) }
.lane-color-4 { --lane:var(--studio-purple) }
.lane-heading { color:var(--lane-label); padding:2px 2px 10px; gap:8px }
.lane-label strong { font-size:14px; font-weight:800; letter-spacing:-.03em }
.lane-label small { font-size:10px; opacity:.88; color:inherit }
.lane-toggle { font-size:21px; font-weight:500 }
.lane-mascot { flex-shrink:0; width:31px; height:31px; border:1.5px solid var(--ink); background:#fffef4; color:var(--ink); border-radius:9px 9px 12px 12px; box-shadow:1px 2px 0 #20232c33; transform:rotate(-5deg) }
.lane-color-1 .lane-mascot { background:var(--studio-yellow); border-radius:6px; transform:rotate(5deg) }
.lane-color-2 .lane-mascot { background:#fff7eb; border-radius:50% 50% 8px 8px; transform:rotate(-4deg) }
.lane-color-3 .lane-mascot { background:#fff9ed; border-radius:13px 5px 13px 5px; transform:rotate(3deg) }
.lane-color-4 .lane-mascot { background:var(--studio-coral); border-radius:50%; transform:rotate(-5deg) }
.lane-mascot::before,.lane-mascot::after { background:var(--ink); width:3px; height:5px; top:9px; border-radius:3px }
.lane-mascot::before { left:8px }.lane-mascot::after { right:8px }
.mascot-mouth { position:absolute; left:11px; top:17px; width:7px; height:4px; border-bottom:1.5px solid var(--ink); border-radius:0 0 6px 6px }
.lane-mascot[data-mood="idle"]::before,.lane-mascot[data-mood="idle"]::after { top:11px; height:2px; width:4px }
.lane-mascot[data-mood="idle"] .mascot-mouth { height:0; border-radius:0; width:5px; left:12px }
.lane-mascot[data-mood="waiting"] { transform:rotate(8deg) }
.lane-mascot[data-mood="waiting"] .mascot-mouth { height:5px; width:4px; left:13px; border:1.5px solid var(--ink); border-radius:50% }
.lane-mascot[data-mood="review"]::before,.lane-mascot[data-mood="review"]::after { width:7px; height:7px; background:transparent; border:1.5px solid var(--ink); border-radius:50%; top:8px }
.lane-mascot[data-mood="review"]::before { left:5px }.lane-mascot[data-mood="review"]::after { right:5px }
.lane-mascot[data-mood="review"] .mascot-mouth { border-radius:0; height:0; width:6px; left:11px; top:19px }
.lane-mascot[data-mood="complete"]::after { width:6px; height:4px; background:transparent; border-top:2px solid var(--ink); border-radius:50%; right:6px; top:10px }
.lane-mascot[data-mood="complete"] .mascot-mouth { background:var(--ink); height:6px; width:9px; left:10px }
.lane-progress { display:flex; gap:5px; padding:0 3px 10px; min-height:17px }
.lane-progress>span { display:block; height:6px; width:16px; border:1px solid var(--lane-label); border-radius:2px; opacity:.6 }
.lane-progress>.is-done { background:var(--lane-label); opacity:1 }
.lane-progress>.is-live { background:#fffef6; border-color:var(--ink); box-shadow:1px 1px 0 var(--ink); opacity:1 }
.lane-progress>.is-skipped { opacity:.45; background:linear-gradient(155deg,transparent 42%,var(--lane-label) 43%,var(--lane-label) 54%,transparent 55%) }
.lane-nodes { gap:9px }
.node-button { background:#fffef8; border:1px solid #20232c70; border-radius:6px; padding:11px 11px 9px; box-shadow:1px 2px 0 #20232c20; transition:background .15s,border-color .15s,box-shadow .15s }
.node-button:hover { background:white; border-color:var(--ink); transform:none; box-shadow:3px 3px 0 #20232c80 }
.node-button.is-active { background:white; border:2px solid var(--ink); padding:10px 10px 8px; box-shadow:3px 4px 0 var(--ink); transform:none }
.node-button.is-complete { background:#f3fff7 }
.node-button.is-skipped { opacity:1; background:#f1efe7; border-color:#77766e; border-style:dashed; box-shadow:none }
.node-number { display:inline-flex; align-items:center; justify-content:center; flex:0 0 23px; width:23px; height:23px; border:1px solid var(--ink); border-radius:50%; font-size:10px; letter-spacing:-.03em; font-weight:850; color:var(--ink); background:var(--lane); transform:rotate(-8deg); box-shadow:1px 1px 0 var(--ink) }
.lane-color-1 .node-number { background:#e9edff; color:#1935b0 }
.node-button.is-active .node-number { transform:rotate(8deg) }
.node-button[data-status="complete"] .node-number { background:var(--studio-mint); color:var(--ink) }
.node-button[data-status="not_applicable"] .node-number { background:#f3efe6; border-style:dashed; box-shadow:none }
.status-badge { color:#505057; background:#f1f0ec; border-color:#ceccc4; font-weight:600; font-size:10px; padding:3px 6px }
.status-badge.working { background:#fff0aa; color:#665016; border-color:#d6b93d }
.status-badge.pending_internal { background:#eedfff; color:#5a307b; border-color:#bfa0d8 }
.status-badge.awaiting_dispatch { background:#ffe3d8; color:#833d29; border-color:#dca68e }
.status-badge.pending_external { background:#e1e8ff; color:#234591; border-color:#a6b7e4 }
.status-badge.complete { background:#d7f5e2; color:#215b3e; border-color:#93c9a8 }
.node-copy strong { font-weight:750; color:var(--ink); font-size:15px }
.node-copy small,.node-owner small,.node-owner>span,.node-versions,.node-selection { color:#63636a }
.node-copy small { font-size:10px }
.node-foot { border-color:#dedbd2; margin-top:10px }
.node-owner small,.node-owner>span,.node-versions strong,.node-versions small { font-size:10px }
.node-selection { font-size:10px }
.node-button.is-active .node-selection { color:#20232c; font-weight:750 }
.node-kicker { color:var(--studio-blue); font-size:10px; font-weight:750 }
.node-header h2 { font-weight:800; font-size:27px; letter-spacing:-.04em }
.node-meta strong { color:var(--ink) }
.stage-rail { gap:8px 17px }
.stage-rail li { font-size:11px }
.stage-dot { background:#fffdf7; border-color:#c5c1b8; border-radius:4px; color:#65656b }
.stage-rail .is-current { color:#2344b9; font-weight:750 }
.stage-rail .is-current .stage-dot { background:var(--studio-blue); color:white; border-color:var(--ink); box-shadow:1px 1px 0 var(--ink); transform:rotate(-5deg) }
.stage-rail .is-done { color:#276445 }
.stage-rail .is-done .stage-dot { background:#d7f5e2; border-color:#87bda0; color:#276445 }
.action-sheet,.artifact-sheet { background:white; border:1.5px solid var(--ink); border-top:4px solid var(--studio-blue); border-radius:6px; box-shadow:3px 4px 0 #d9d4c7 }
.artifact-sheet { border-top-color:var(--studio-yellow) }
.action-disclosure>summary { color:var(--ink); font-size:18px; font-weight:800 }
.action-disclosure[open]>summary { border-color:#ddd9cf }
.action-disclosure>summary::after { color:var(--studio-blue) }
.field input,.field textarea,.field select { background:white; border-color:#b4b3ad; border-radius:4px }
.field input:hover,.field textarea:hover,.field select:hover { border-color:#6f7380 }
.field input:read-only { background:#f4f3ee }
.field input::placeholder,.field textarea::placeholder { color:#74777c }
.action-heading h3,.waiting-state h3,.current-version-title h3 { font-weight:750 }
.dependency-note { color:#4a5165; background:#edf0fb; border-color:#5d74bb; border-radius:3px }
.button-dependency { color:#294ba4; background:white; border-color:#b0bad6; font-weight:550 }
.button-dependency:hover:not(:disabled) { background:#e6ecff; box-shadow:none }
.rejection-note { color:#822f25; background:#ffebe4; border-color:#d6614d }
.client-waiting { background:#eaf0ff; border:1px solid #89a2dc; color:#294f8f; border-radius:6px }
.waiting-face { border:1px solid #20232c; background:#ffe14b; color:#20232c; box-shadow:2px 2px 0 #20232c; transform:rotate(-5deg) }
.timing-detail,.timing-detail .muted { color:#63636b }
.timing-detail>summary { border-color:#94949a }
.timing-grid { background:#f0f2f6; border-radius:5px }
.timing-grid dt { color:#626771 }.timing-grid dd { color:#333b4c }
.notice { background:#e4f8eb; color:#215a39; border-color:#96c9a7; border-radius:4px }
.notice.error { background:#ffebe4; color:#8a3028; border-color:#d4a196 }
.notice.warning { background:#fff1b9; color:#6b531d; border-color:#cbb472 }
.history-section { border-color:#b2aea4 }
.section-heading h2 { font-weight:800; letter-spacing:-.03em }
.history-group { background:#fffdf6; border-color:#c7c2b6; border-radius:4px }
.history-group[open]>summary { border-color:#dad4c7 }
.history-group>summary::after { color:var(--studio-blue) }
.history-entry { border-color:#b7c1e3 }.history-entry::before { background:var(--studio-blue); border:1px solid var(--ink) }
.subtle-badge { border-color:#b6b4aa; color:#5f626b; background:#fffef8 }
.project-filter { background:#fffdf6; color:var(--ink); border:1px solid #a6a296; border-radius:20px; box-shadow:none; font-weight:600 }
.project-filter:hover:not(:disabled) { background:#ffeeb0; color:var(--ink); box-shadow:none }
.project-filter.is-active { color:var(--ink); background:var(--studio-yellow); border-color:var(--ink); box-shadow:2px 2px 0 var(--ink) }
.project-tile { background:white; border:1.5px solid var(--ink); border-top:7px solid var(--studio-yellow); border-radius:3px 15px 3px 3px; box-shadow:4px 4px 0 #d9d1bd }
.project-tile:nth-child(3n+2) { background:white; border-color:var(--ink); border-top-color:var(--studio-blue) }
.project-tile:nth-child(3n) { background:white; border-color:var(--ink); border-top-color:var(--studio-coral) }
.project-tile h2 { font-weight:800 }.project-tile p,.project-tile small { color:#62636b }
.project-tile .actions { border-color:#d9d5cc }
.project-form { background:white; border:1.5px solid var(--ink); border-radius:5px; box-shadow:4px 4px 0 #e0dacb }
.project-detail-copy dt { color:#64656c }
.help-dialog { border:1.5px solid var(--ink); border-radius:8px; background:#fffdf7; box-shadow:7px 7px 0 var(--ink) }
.help-dialog::backdrop { background:#20232c66 }
.workspace-footer { border-color:#c5bfae; color:#66635c }

/* A small geometric teammate. Expressions reflect API state; nothing idles in a loop. */
.studio-buddy { --buddy-color:var(--studio-yellow); position:relative; display:block; width:86px; height:82px; flex:0 0 86px; pointer-events:none }
.buddy-body { position:absolute; display:block; width:64px; height:60px; left:10px; top:11px; border:2px solid var(--ink); border-radius:20px 17px 13px 18px; background:var(--buddy-color); transform:rotate(-9deg); box-shadow:4px 4px 0 var(--ink) }
.buddy-body::before,.buddy-body::after { content:""; position:absolute; width:11px; height:5px; background:var(--ink); bottom:-9px; border-radius:2px }
.buddy-body::before { left:10px; transform:rotate(-7deg) }.buddy-body::after { right:9px; transform:rotate(10deg) }
.buddy-eye { position:absolute; top:20px; width:5px; height:9px; border-radius:5px; background:var(--ink) }
.buddy-eye:first-child { left:17px }.buddy-eye:nth-child(2) { right:17px }
.buddy-mouth { position:absolute; left:24px; top:35px; width:12px; height:7px; border-bottom:2px solid var(--ink); border-radius:0 0 10px 10px }
.buddy-spark { position:absolute; color:var(--studio-blue); font-size:18px; font-weight:900; line-height:1; left:0; top:2px; transform:rotate(-12deg) }
.buddy-spark:last-child { color:#d64339; left:auto; right:0; top:52px; font-size:16px }
.studio-buddy[data-mood="idle"] { --buddy-color:#e7e4dc }
.studio-buddy[data-mood="idle"] .buddy-eye { height:3px; width:7px; top:25px }
.studio-buddy[data-mood="idle"] .buddy-mouth { height:0; width:8px; left:26px; border-radius:0 }
.studio-buddy[data-mood="idle"] .buddy-spark { opacity:.25 }
.studio-buddy[data-mood="waiting"] { --buddy-color:#aac8ff }
.studio-buddy[data-mood="waiting"] .buddy-body { transform:rotate(10deg); border-radius:24px 24px 13px 13px }
.studio-buddy[data-mood="waiting"] .buddy-eye { top:21px; height:7px }
.studio-buddy[data-mood="waiting"] .buddy-mouth { width:7px; height:8px; left:27px; top:34px; border:2px solid var(--ink); border-radius:50% }
.studio-buddy[data-mood="waiting"] .buddy-spark:last-child { transform:rotate(20deg); color:var(--studio-blue) }
.studio-buddy[data-mood="review"] { --buddy-color:var(--studio-purple) }
.studio-buddy[data-mood="review"] .buddy-body { transform:rotate(-3deg); border-radius:13px 13px 22px 22px }
.studio-buddy[data-mood="review"] .buddy-eye { top:18px; width:15px; height:15px; border:2px solid var(--ink); background:transparent; border-radius:50% }
.studio-buddy[data-mood="review"] .buddy-eye:first-child { left:11px }.studio-buddy[data-mood="review"] .buddy-eye:nth-child(2) { right:11px }
.studio-buddy[data-mood="review"] .buddy-mouth { height:0; width:10px; left:25px; top:40px; border-radius:0 }
.studio-buddy[data-mood="review"] .buddy-spark { color:#823fb7 }
.studio-buddy[data-mood="complete"] { --buddy-color:var(--studio-mint) }
.studio-buddy[data-mood="complete"] .buddy-body { transform:rotate(6deg); border-radius:22px 16px 20px 14px }
.studio-buddy[data-mood="complete"] .buddy-eye:nth-child(2) { width:10px; height:7px; border-top:3px solid var(--ink); background:transparent; border-radius:50%; right:13px; top:23px }
.studio-buddy[data-mood="complete"] .buddy-mouth { background:var(--ink); height:10px; width:15px; left:22px; top:35px; border-radius:2px 2px 10px 10px }
.studio-buddy[data-mood="complete"] .buddy-spark { color:#13784d; font-size:22px }
.heading-tools:hover .buddy-body { animation:buddy-nod .45s ease-out 1 }
.lane-heading:hover .lane-mascot { animation:mascot-greet .35s ease-out 1 }
@keyframes buddy-nod { 0%,100%{translate:0 0} 45%{translate:0 -5px} 70%{translate:0 1px} }
@keyframes mascot-greet { 0%,100%{translate:0 0} 50%{translate:0 -3px} }
.completion-pop { position:fixed; right:26px; bottom:25px; width:103px; height:103px; pointer-events:none; z-index:50; animation:completion-arrive 1s ease both }
.pop-check { position:absolute; left:19px; top:19px; width:63px; height:63px; display:flex; justify-content:center; align-items:center; font-size:38px; font-weight:900; line-height:1; color:var(--ink); background:var(--studio-mint); border:2px solid var(--ink); border-radius:20px; box-shadow:4px 4px 0 var(--ink); transform:rotate(-12deg) }
.pop-star { position:absolute; left:0; top:0; color:var(--studio-blue); font-size:30px; line-height:1; transform:rotate(-15deg) }
.pop-star:last-child { left:auto; top:auto; right:0; bottom:0; color:#d34b35; font-size:27px; transform:rotate(14deg) }
@keyframes completion-arrive { 0%{opacity:0;transform:translateY(12px) scale(.6) rotate(-8deg)} 22%{opacity:1;transform:translateY(-3px) scale(1.08) rotate(3deg)} 38%,75%{opacity:1;transform:translateY(0) scale(1) rotate(0)} 100%{opacity:0;transform:translateY(-8px) scale(.94)} }

@media(max-width:1100px) {
  .studio-nav { border-top-color:#cbc6b8; flex:0 0 100%; min-width:0 }
  .studio-nav select { flex:1 1 0; min-width:0 }
  .heading-tools { gap:11px }
}
@media(max-width:680px) {
  .topbar { padding:15px 18px; column-gap:10px; row-gap:11px }
  .studio-nav { flex:0 0 100%; width:100%; min-width:0; flex-wrap:nowrap }
  .studio-nav select { flex:1 1 0; width:0; min-width:0; max-width:none }
  .studio-nav .demo-badge { display:inline-block; font-size:8px; padding:3px 5px }
  .workspace-heading { align-items:center; gap:10px; padding-block:23px 22px }
  .workspace-heading h1 { font-size:28px; line-height:1.25 }
  .workspace-heading .eyebrow { font-size:8px; letter-spacing:.06em }
  .workspace-heading p { font-size:11px }
  .heading-tools { flex-direction:column; gap:8px; width:72px; flex-basis:72px }
  .heading-tools .button { font-size:10px; padding-inline:8px; min-height:34px; white-space:nowrap }
  .studio-buddy { width:64px; height:63px; flex-basis:63px; scale:.78; transform-origin:center bottom; margin-top:-12px }
  .buddy-body { left:0; top:3px }.buddy-spark { left:-8px; top:-6px }.buddy-spark:last-child { right:-10px; top:44px }
  .flow-canvas { padding:16px 0 11px; box-shadow:3px 3px 0 #ded8c9; border-radius:8px }
  .canvas-heading { padding-inline:14px }
  .canvas-heading h2 { font-size:16px }
  .canvas-heading #path-counter { font-size:14px }
  .node-list { padding:4px 14px 15px; gap:12px }
  .flow-lane { flex:0 0 235px; min-width:235px; padding:11px 9px 9px }
  .lane-label strong { font-size:15px }.lane-label small { font-size:10px }
  .node-button { padding:12px 12px 9px }.node-button.is-active { padding:11px 11px 8px }
  .node-copy strong { font-size:16px }.node-copy small { font-size:10px }
  .status-badge { font-size:10px }
  .node-selection { font-size:10px }
  .node-header h2 { font-size:25px }
  .stage-rail li { font-size:10px }
  .field input,.field textarea,.field select { font-size:16px }
  .action-sheet,.artifact-sheet { padding:20px 18px }
  .completion-pop { right:17px; bottom:22px; scale:.8; transform-origin:right bottom }
  .shelf-toggle { display:inline-flex }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important }
  .completion-pop { display:none }
}

/* Collaboration hub: physical cartridge language, local working entrances. */
#home-brand { border:0; background:transparent; color:var(--ink); padding:0; text-align:left; flex-shrink:0 }
#home-brand:hover .hub-brand-icon { transform:rotate(-7deg) }
.hub-brand-icon { display:block; width:53px; height:53px; flex:0 0 53px; transition:transform .18s ease }
#home-brand .brand-divider { padding-left:13px }
#home-brand .brand-name { font-size:15px; letter-spacing:.13em; font-weight:850 }
#home-brand .brand-subtitle { font-size:12px; margin-top:1px; color:#4e5058 }
.studio-nav { gap:4px }
.studio-nav .nav-button { font-size:12px; padding-inline:8px }
.studio-nav .nav-button[aria-current="page"] { background:var(--studio-yellow); border-radius:4px; box-shadow:inset 0 -2px 0 var(--ink) }
.hub-home { padding:32px 0 36px }
.hub-heading { display:flex; align-items:center; gap:23px; padding:9px 0 29px; border-bottom:1px solid #bfb8a9; margin-bottom:33px }
.hub-title { min-width:0; flex:1 }
.hub-title h1 { font-size:clamp(35px,4vw,60px); line-height:1.1; font-weight:900; letter-spacing:-.065em; color:var(--ink) }
.hub-title h1 span { display:block; font-size:21px; font-weight:700; letter-spacing:-.03em; line-height:1.4; margin-top:13px }
.hub-title .eyebrow { font-size:10px; font-weight:750; color:#565852; margin-bottom:9px; letter-spacing:.14em }
.hub-subtitle { font-size:13px; color:#606059; margin-top:14px; line-height:1.75 }
.hub-symbol { position:relative; flex:0 0 100px; width:100px; height:100px; margin:4px 8px 3px 1px; transform:rotate(-8deg); background:linear-gradient(var(--ink),var(--ink)) center/65px 3px no-repeat,linear-gradient(var(--ink),var(--ink)) center/3px 65px no-repeat }
.hub-symbol span { position:absolute; display:block; border:2px solid var(--ink); box-shadow:3px 3px 0 var(--ink) }
.hub-symbol span:nth-child(1) { width:36px; height:36px; left:32px; top:32px; background:var(--studio-blue); border-radius:5px; z-index:2 }
.hub-symbol span:nth-child(1)::after { content:""; position:absolute; inset:9px; border:3px solid #fffdf7; border-radius:50% }
.hub-symbol span:nth-child(2) { width:25px; height:25px; left:38px; top:0; background:var(--studio-yellow); border-radius:50% }
.hub-symbol span:nth-child(3) { width:25px; height:25px; right:0; top:38px; background:var(--studio-coral); border-radius:4px 13px 4px 4px }
.hub-symbol span:nth-child(4) { width:25px; height:25px; left:38px; bottom:0; background:var(--studio-mint); border-radius:5px; transform:rotate(45deg) }
.hub-symbol span:nth-child(5) { width:25px; height:25px; left:0; top:38px; background:var(--studio-purple); border-radius:50% 50% 3px 3px }
.portal-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:26px 20px; padding:6px 5px 10px 0; align-items:start }
.portal-card { --portal-color:var(--studio-yellow); --portal-color-ink:#282619; --portal-tilt:-1.5deg; position:relative; display:block; width:100%; min-width:0; background:transparent; color:var(--ink); border:0; padding:0; text-align:left; text-decoration:none; cursor:pointer; outline-offset:9px }
.portal-card:nth-child(2) { --portal-color:var(--studio-blue); --portal-color-ink:#fff; --portal-tilt:1.5deg }
.portal-card:nth-child(3) { --portal-color:var(--studio-mint); --portal-color-ink:#143d2d; --portal-tilt:-1deg }
.portal-card:nth-child(4) { --portal-color:var(--studio-purple); --portal-color-ink:#382149; --portal-tilt:1.4deg }
.portal-card:nth-child(5) { --portal-color:var(--studio-coral); --portal-color-ink:#44221a; --portal-tilt:-1deg }
.cartridge-shell { position:relative; display:flex; flex-direction:column; min-height:297px; padding:11px 11px 0; border:2px solid #20232c; border-radius:10px 22px 7px 7px; background:#343640; box-shadow:3px 4px 0 #14171e,5px 6px 0 #6c6b6b,7px 9px 0 #14171e; transform:rotate(var(--portal-tilt)); transition:transform .2s ease,box-shadow .2s ease; isolation:isolate }
.cartridge-shell::before { content:""; position:absolute; top:34px; right:-2px; width:5px; height:24px; background:var(--bg); border:1px solid #20232c; border-right:0; border-radius:3px 0 0 3px }
.cartridge-shell::after { content:""; position:absolute; top:6px; left:8px; width:5px; height:5px; border:1px solid #6d6f74; border-radius:50%; box-shadow:0 0 0 1px #1a1c22 }
.cartridge-rim { display:flex; align-items:center; justify-content:space-between; gap:5px; color:#e6e3d8; font-size:9px; font-weight:700; letter-spacing:.06em; min-height:20px; padding:1px 3px 6px; white-space:nowrap }
.cartridge-label { position:relative; display:flex; flex-direction:column; flex:1; min-width:0; min-height:181px; padding:13px 12px 58px; background:var(--portal-color); color:var(--portal-color-ink); border:1px solid #191b22; border-radius:3px 3px 0 0; overflow:hidden }
.portal-kicker { font-size:9px; letter-spacing:.07em; font-weight:650; opacity:.92; line-height:1.5; overflow-wrap:anywhere; margin-bottom:13px }
.cartridge-label h2,.portal-name { display:block; position:relative; z-index:1; font-size:clamp(20px,1.95vw,29px); font-weight:900; letter-spacing:-.06em; line-height:1.17; overflow-wrap:anywhere; word-break:normal; max-width:100% }
.portal-card[data-portal="guide"] .portal-name { word-break:keep-all; overflow-wrap:normal }
.portal-glyph { position:absolute; display:block; width:37px; height:37px; right:12px; bottom:11px; color:var(--portal-color-ink); border:2px solid currentColor; border-radius:50%; transform:rotate(-12deg); font-size:0; line-height:0 }
.portal-glyph::before { content:""; position:absolute; left:8px; right:8px; top:11px; height:4px; border-left:3px solid currentColor; border-right:3px solid currentColor }
.portal-glyph::after { content:""; position:absolute; left:12px; top:20px; width:10px; height:6px; border-bottom:2px solid currentColor; border-radius:0 0 10px 10px }
.portal-card:nth-child(2) .portal-glyph { border-radius:9px; transform:rotate(10deg) }
.portal-card:nth-child(2) .portal-glyph::before { height:8px; border:1.5px solid currentColor; border-radius:50%; top:7px; left:5px; right:5px; background:linear-gradient(currentColor,currentColor) center/2px 8px no-repeat }
.portal-card:nth-child(2) .portal-glyph::after { width:8px; left:13px; top:23px; height:0; border-radius:0 }
.portal-card:nth-child(3) .portal-glyph { border-radius:4px; width:43px; height:34px }
.portal-card:nth-child(3) .portal-glyph::before { height:2px; width:29px; left:5px; top:8px; border:0; background:currentColor; box-shadow:0 8px 0 currentColor }
.portal-card:nth-child(3) .portal-glyph::after { width:3px; height:3px; left:31px; top:23px; border:0; background:currentColor; border-radius:50% }
.portal-card:nth-child(4) .portal-glyph { border-radius:3px 12px 3px 3px; transform:rotate(-8deg) }
.portal-card:nth-child(4) .portal-glyph::before { height:22px; width:2px; left:15px; top:6px; background:currentColor; border:0 }
.portal-card:nth-child(4) .portal-glyph::after { width:7px; height:2px; left:21px; top:11px; border:0; border-radius:0; background:currentColor; box-shadow:0 6px 0 currentColor }
.portal-card:nth-child(5) .portal-glyph { border-radius:6px; transform:rotate(8deg) }
.portal-card:nth-child(5) .portal-glyph::before { width:19px; height:3px; left:7px; top:9px; background:currentColor; border:0; box-shadow:0 8px 0 currentColor }
.portal-card:nth-child(5) .portal-glyph::after { width:5px; height:5px; left:11px; top:8px; border:0; border-radius:50%; background:var(--portal-color); box-shadow:9px 8px 0 var(--portal-color) }
.cartridge-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:3px 5px; min-height:30px; padding:7px 10px; background:#fffdf4; color:#383a3f; border:1px solid #191b22; border-top:0; border-radius:0 0 3px 3px; font-size:10px; font-weight:700; line-height:1.35 }
.portal-card[data-state="ready"] .cartridge-footer { background:#f5ffed; color:#22563b }
.portal-card[data-state="building"] .cartridge-footer { background:#fff1c5; color:#735119 }
.portal-card[data-state="pending"] .cartridge-footer { background:#efedf2; color:#595363 }
.cartridge-contacts { display:flex; align-items:stretch; justify-content:center; height:22px; gap:4px; overflow:hidden; margin:9px 12px 0; border:2px solid #1c1e26; border-bottom:0; padding:3px 6px 0; background:#23252c }
.cartridge-contacts i { display:block; flex:1; max-width:10px; border:1px solid #3b3526; border-bottom:0; background:#d4b967; border-radius:1px; box-shadow:inset 2px 0 0 #f1d78a; min-width:3px }
.portal-meta { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; padding:21px 2px 0; min-width:0; line-height:1.7 }
.portal-meta p,.portal-meta small,.portal-meta>span:first-child { font-size:11px; color:#65635d; overflow-wrap:anywhere }
.portal-meta strong { display:block; font-size:12px; font-weight:750; color:var(--ink) }
.portal-meta>span:last-child { font-size:22px; line-height:1.2; color:var(--ink); flex-shrink:0 }
.portal-card:hover .cartridge-shell,.portal-card:focus-visible .cartridge-shell { transform:translateY(-7px) rotate(0); box-shadow:2px 4px 0 #14171e,4px 6px 0 #6c6b6b,6px 9px 0 #14171e }
.portal-card:active .cartridge-shell { transform:translateY(-2px) rotate(0) }
.content-project-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:22px 0 16px; border-bottom:1px solid #bfb8a9 }
.content-section-title { font-size:18px; font-weight:800; letter-spacing:-.04em }
.content-section-title .eyebrow { display:block; font-size:9px; margin-bottom:3px }
.content-section-title h2 { font-size:21px; font-weight:800; line-height:1.3 }
.project-switch { display:flex; align-items:center; gap:12px; max-width:100%; min-width:0; flex:0 1 410px }
.project-switch>span { font-size:11px; white-space:nowrap; color:#66635e }
.content-project-bar #project-select { width:min(350px,100%); min-width:0; padding:9px 11px; border:1.5px solid var(--ink); border-radius:5px; background:white; font-size:13px; flex:0 1 350px }
#content-refresh { min-height:38px; font-size:11px; padding:7px 13px; flex:0 0 auto }
.hub-footnote { display:flex; justify-content:space-between; flex-wrap:wrap; gap:7px 20px; margin-top:29px; padding-top:20px; border-top:1px solid #bfb8a9; font-size:10px; font-weight:600; color:#6b685e; letter-spacing:.035em }
.module-page { padding:48px 0 55px; max-width:920px; margin:0 auto }
.module-page>h1,.module-page h1 { font-size:clamp(30px,4vw,49px); font-weight:850; letter-spacing:-.05em; line-height:1.2; margin:18px 0 13px }
.module-page p { color:#60616a; max-width:660px; line-height:1.9; font-size:14px }
.module-page .module-status+p { margin:17px 0 24px }
.module-page .actions { margin-top:27px; border-color:#cac4b7 }
.module-illustration { position:relative; display:flex; align-items:center; justify-content:center; width:95px; height:95px; border:2px solid var(--ink); background:var(--studio-purple); border-radius:20px 20px 8px 20px; box-shadow:5px 5px 0 var(--ink); transform:rotate(-5deg); font-size:39px; font-weight:900; color:var(--ink); margin-bottom:30px }
.module-illustration::after { content:""; position:absolute; top:-11px; right:-12px; width:23px; height:23px; background:var(--studio-yellow); border:2px solid var(--ink); border-radius:50% }
.module-page .module-status,.module-page .status-badge { display:inline-flex; font-size:11px; font-weight:750; background:#fff0ba; color:#6b501d; border:1px solid #a28c54; border-radius:4px; padding:4px 9px }
.intake-section { margin:19px 0 7px }
.intake-section>.create-job { background:white; border:1.5px solid var(--ink); border-radius:5px; box-shadow:3px 3px 0 #ded8c9 }
.intake-section>.create-job>summary { padding:15px 18px; font-size:13px; font-weight:750; cursor:pointer; display:flex; justify-content:space-between; align-items:center; list-style:none }
.intake-section>.create-job>summary::-webkit-details-marker { display:none }
.intake-section>.create-job>summary::after { content:"＋"; font-size:20px; color:var(--studio-blue) }
.intake-section>.create-job[open]>summary::after { content:"−" }
.intake-section>.create-job[open]>summary { border-bottom:1px solid #d9d5cb }
.intake-form { padding:22px; display:grid; gap:23px }
.intake-group { min-width:0; padding:0 0 23px; border:0; border-bottom:1px solid #e0ddd4; margin:0 }
.intake-group:last-of-type { border-bottom:0; padding-bottom:0 }
.intake-group>legend { display:block; float:left; width:100%; padding:0; margin-bottom:15px; font-size:15px; font-weight:800; color:var(--ink) }
.intake-group>legend::before { content:""; display:inline-block; width:9px; height:9px; margin-right:8px; border:1px solid var(--ink); background:var(--studio-yellow); transform:rotate(-9deg) }
.intake-group:nth-child(2)>legend::before { background:var(--studio-mint) }.intake-group:nth-child(3)>legend::before { background:var(--studio-coral) }.intake-group:nth-child(4)>legend::before { background:var(--studio-purple) }
.intake-group>.field-grid { clear:both }
.intake-form .actions { margin-top:0 }
.intake-scope { font-size:11px; color:#465d78; background:#eff3fc; border-left:3px solid #899fc5; padding:8px 11px }
.intake-scope:empty { display:none }
.intake-form details>summary { font-size:13px; font-weight:700; padding:6px 0; cursor:pointer }
.intake-form details[open]>summary { margin-bottom:13px }
#intake-summary { margin:16px 0; padding:0 }
#intake-summary:empty { display:none }
#intake-summary>.intake-record { border:1px solid #b8bbcc; border-radius:5px; background:#f4f6ff }
#intake-summary .intake-record>summary { cursor:pointer; font-size:12px; font-weight:700; padding:12px 17px }
#intake-summary .intake-record[open]>summary { border-bottom:1px solid #d5daeb }
#intake-summary .project-detail-copy { margin:16px 17px }
#intake-summary .intake-record>p { margin:14px 17px 17px; font-size:11px; line-height:1.8 }
.intake-section .create-job>p { margin:17px 18px 12px }
.intake-section .create-job>.button { margin:0 18px 18px }
.service-config { margin:20px 0 10px; border-top:1px solid #d9d5cc; padding-top:9px }
.service-config>summary { cursor:pointer; padding:10px 0; font-size:13px; font-weight:750 }
.service-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(130px,.6fr) auto auto; align-items:end; gap:9px 12px; padding:11px 0; border-bottom:1px solid #e1ddd4 }
.service-row input:not([type="checkbox"]),.service-row select { width:100%; min-width:0; border:1px solid #b4b3ad; padding:8px 10px; border-radius:4px; background:white; font-size:13px }
.service-row input[type="checkbox"] { width:17px; height:17px; accent-color:var(--studio-blue) }
.service-row label { font-size:12px }
.service-row .choice-field { min-height:39px }
.service-row .button { min-height:36px; padding:6px 11px; font-size:11px }
.service-config>.button { margin-top:13px }
.service-config>.muted { margin-top:10px }
@media(max-width:1100px) {
  .portal-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:29px 27px }
  .cartridge-shell { min-height:310px }
  .cartridge-label h2,.portal-name { font-size:29px }
  .hub-title h1 { font-size:46px }
  .studio-nav { justify-content:flex-start; gap:8px }
  .studio-nav .nav-button { padding-inline:9px }
}
@media(max-width:680px) {
  #home-brand.brand { display:flex; flex:0 0 136px; align-items:center; gap:8px }
  .hub-brand-icon { width:41px; height:41px; flex-basis:41px }
  #home-brand .brand-divider { display:block; border:0; padding:0; margin:0 }
  #home-brand .brand-name { font-size:12px }.brand-subtitle { white-space:nowrap }
  #home-brand .brand-subtitle { font-size:10px; margin-top:0 }
  .role-toolbar { max-width:calc(100% - 146px); flex:1 1 150px }
  .studio-nav { gap:3px; flex-wrap:wrap; flex:0 0 100%; justify-content:space-between }
  .studio-nav .nav-button { font-size:11px; padding:8px 4px; min-height:37px }
  .studio-nav .demo-badge { font-size:8px; padding-inline:4px; margin-left:auto }
  .hub-home { padding:23px 0 23px }
  .hub-heading { gap:15px; padding:6px 0 24px; margin-bottom:25px; align-items:center }
  .hub-symbol { flex-basis:100px; width:100px; height:100px; scale:.66; transform-origin:left center; margin:-17px -25px -17px 0; background-size:65px 3px,3px 65px; background-position:center }
  .hub-symbol span:nth-child(3) { right:auto; left:75px }.hub-symbol span:nth-child(4) { bottom:auto; top:75px }
  .hub-title h1 { font-size:32px; line-height:1.14 }
  .hub-title h1 span { font-size:16px; margin-top:10px }
  .hub-title .eyebrow { font-size:8px; letter-spacing:.05em; margin-bottom:7px }
  .hub-subtitle { font-size:11px; margin-top:10px }
  .portal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 17px; padding:3px 5px 7px 0 }
  .cartridge-shell { min-height:249px; padding:8px 8px 0; border-radius:8px 18px 5px 5px; box-shadow:2px 3px 0 #14171e,4px 5px 0 #6c6b6b,5px 7px 0 #14171e }
  .cartridge-rim { font-size:8px; padding:1px 1px 5px; min-height:19px; letter-spacing:0 }
  .cartridge-label { padding:10px 9px 48px; min-height:164px }
  .portal-kicker { font-size:8px; margin-bottom:10px; letter-spacing:0 }
  .cartridge-label h2,.portal-name { font-size:21px; line-height:1.2; letter-spacing:-.06em }
  .portal-glyph { right:9px; bottom:8px; scale:.8; transform-origin:right bottom }
  .cartridge-footer { font-size:10px; padding:6px 7px; min-height:30px; gap:3px }
  .cartridge-contacts { height:18px; margin:7px 5px 0; gap:3px; padding:2px 3px 0 }
  .cartridge-contacts i { max-width:8px }
  .portal-meta { padding:18px 1px 0; gap:4px }
  .portal-meta p,.portal-meta small,.portal-meta>span:first-child { font-size:10px }.portal-meta strong { font-size:11px }
  .portal-meta>span:last-child { font-size:19px }
  .content-project-bar { padding-block:20px 14px; gap:10px }
  .content-section-title { font-size:16px }
  .project-switch { flex:1 1 100%; width:100%; gap:10px; order:3 }
  #content-refresh { margin-left:auto; order:2 }
  .content-project-bar #project-select { flex:1 1 0; width:0; max-width:100%; font-size:16px }
  .hub-footnote { margin-top:22px; font-size:8px; padding-top:17px; gap:5px 9px }
  .module-page { padding:31px 0 39px }
  .module-page h1 { font-size:32px }.module-page p { font-size:13px }
  .module-illustration { width:78px; height:78px; margin-bottom:25px; font-size:33px }
  .intake-section { margin-top:15px }
  .intake-section>.create-job>summary { padding:13px 14px; font-size:12px }
  .intake-form { padding:17px 15px; gap:19px }
  .intake-group { padding-bottom:20px }
  .intake-group>legend { font-size:14px }
  .intake-form .field-grid { grid-template-columns:minmax(0,1fr) }
  #intake-summary { padding:0 }
  .service-row { grid-template-columns:minmax(0,1fr) auto; gap:9px; padding-block:13px }
  .service-row>.field { grid-column:1/-1 }
  .service-row input:not([type="checkbox"]) { grid-column:1/-1 }
  .service-row input:not([type="checkbox"]),.service-row select { font-size:16px }
  .service-row .button { justify-self:end }
}
@media(prefers-reduced-motion:reduce) {
  .cartridge-shell,.portal-card:hover .cartridge-shell,.portal-card:focus-visible .cartridge-shell,.portal-card:active .cartridge-shell,#home-brand:hover .hub-brand-icon { transform:none!important; transition:none!important }
}

/* Selected A: display the original artwork without regenerating its letterforms.
   The source sheet is retained intact; this viewport frames only A's primary mark. */
#home-brand.brand { flex:0 1 350px; padding:0; min-width:200px; gap:0 }
.brand-art { position:relative; display:block; width:100%; aspect-ratio:944 / 140; overflow:hidden; mix-blend-mode:multiply }
.brand-art img { position:absolute; max-width:none; width:108.4746%; height:auto; left:-4.2373%; top:-145.7143% }
.role-toolbar { display:flex; flex-direction:column; align-items:flex-end; gap:3px; flex:0 0 auto; max-width:205px }
.profile-trigger { border:0; background:transparent; display:flex; align-items:center; gap:9px; padding:3px 0; min-height:44px; max-width:100%; font-size:12px; font-weight:700 }
.profile-name { max-width:130px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.profile-avatar { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; flex:0 0 36px; border:1px solid #253130; border-radius:50%; background:#91e3c0; color:#182822; overflow:hidden; font-size:14px }
.profile-avatar img { display:block; width:100%; height:100%; object-fit:cover }
.role-toolbar select { width:auto; max-width:100%; min-height:27px; padding:2px 5px; font-size:10px; border:0; background:transparent }
.profile-dialog { width:min(510px,calc(100vw - 28px)); max-height:90vh; overflow:auto; padding:26px; border:1px solid #262a2d; border-radius:18px; background:#fffdf7; box-shadow:7px 7px 0 #2227 }
.profile-dialog::backdrop { background:#20263266; backdrop-filter:blur(3px) }
.profile-dialog h2 { font-size:23px }
.profile-identity { display:flex; align-items:center; gap:20px; padding:22px 0 17px }
.profile-avatar-large { width:80px; height:80px; flex-basis:80px; font-size:28px }
.profile-avatar-actions .actions { margin:0 0 7px; padding:0; border:0; gap:12px }
.profile-avatar-actions .muted { font-size:10px }
.profile-form { display:grid; gap:15px; margin-top:22px }
.profile-form .field { min-width:0 }.profile-form input,.profile-form textarea { width:100%; border:1px solid #c7c6be; border-radius:8px; padding:11px; background:white; font-size:14px }.profile-form textarea { min-height:80px }
.profile-error { color:#a63131; font-size:12px; line-height:1.6 }.profile-error:empty { display:none }
.project-labels { display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap }.project-type,.opportunity-tag { font-size:10px; padding:4px 9px; border-radius:20px; background:#d9efdf; color:#305440 }.opportunity-tag { background:#fff0b5; color:#73530c }
.project-tile .project-lineage { font-size:11px; line-height:1.8; color:#4c596b; margin-bottom:8px }
.source-note { font-size:11px; color:#68635e; line-height:1.7; margin-top:12px; padding:12px; border-left:3px solid #a9b9e4; background:#f2f4fc }
.content-references { margin:23px 0 }.content-references>h2 { font-size:18px; margin-bottom:6px }.reference-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px }
.reference-card { background:#fff8e7; border:1px solid #d9c99d; border-radius:12px; padding:19px; min-width:0 }.reference-card:nth-child(even) { background:#eff9f1; border-color:#b7d6bd }.reference-card h3 { font-size:18px; line-height:1.55; margin:7px 0 12px }.reference-card small { font-size:10px; color:#606953 }.reference-status { display:inline-block; font-size:11px; color:#725a24; line-height:1.6 }.reference-card details { font-size:11px; margin:14px 0 }.reference-card details p { line-height:1.8; margin-top:8px }.reference-card .button { margin-top:5px }
@media(max-width:1100px) { #home-brand.brand { flex-basis:360px }.role-toolbar { margin-left:auto }.topbar .studio-nav { order:3; flex-basis:100% } }
@media(max-width:680px) {
  #home-brand.brand { flex:1 1 0; min-width:0; max-width:280px; margin:0; align-self:flex-start; margin-top:4px }
  .topbar { gap:9px }.role-toolbar { position:relative; flex:0 0 38px; margin-left:auto; max-width:38px; order:2; padding-bottom:27px; align-items:flex-end }
  .role-toolbar select { position:absolute; top:42px; right:0; width:170px; max-width:170px; font-size:10px; min-height:25px }.profile-trigger { font-size:11px; gap:3px }.profile-avatar { width:30px; height:30px; flex-basis:30px }.profile-name { display:none }
  .topbar .studio-nav { order:3; flex-basis:100% }.profile-dialog { padding:20px }.profile-identity { gap:13px }.profile-avatar-large { width:70px; height:70px; flex-basis:70px }.profile-form input,.profile-form textarea { font-size:16px }
  .reference-grid { grid-template-columns:minmax(0,1fr) }
}
/* Daily workbench: compact identity and spacious work cards. */
.profile-trigger .profile-name, .profile-trigger > span:last-child:not(.profile-avatar) { display: none; }
.role-toolbar > select { display: none; }
.profile-trigger { padding: 4px; border: 0; background: transparent; }
.profile-avatar { border-radius: 50%; border: 3px solid transparent; background: linear-gradient(#f9f5ee,#f9f5ee) padding-box, conic-gradient(#64dcae,#8575ed,#ffc852,#64dcae) border-box; overflow: visible; }
.profile-avatar img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
.avatar-pet { position: relative; display: grid; place-items: center; width: 75%; height: 75%; background: #c4b3f4; border-radius: 46%; color: #252438; font-size: 17px; }
.avatar-pet::before,.avatar-pet::after { content: ''; position: absolute; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #c4b3f4; }
.avatar-pet::before { left: 0; } .avatar-pet::after { right: 0; }
.profile-roles { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 14px; border: 1px solid #ddd6ca; border-radius: 16px; }
.work-shelf .instance-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); width: 100%; gap: 16px; }
.work-shelf .instance-button { display: flex; flex-direction: column; align-items: stretch; gap: 8px; white-space: normal; text-align: left; padding: 22px; }
.instance-button progress { width: 100%; height: 8px; accent-color: #8070eb; }
.work-handlers { color: #4d4379; }
.work-platform { display:flex; gap:10px; align-items:center; }
.platform-icon { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:9px; color:white; font-size:9px; letter-spacing:-1px; }
.platform-red { background:#ff2442; font-weight:900; }
.platform-wechat { background:#07c160; position:relative; font-size:24px; line-height:1; }
.platform-wechat::after { content:'••'; position:absolute; color:#07c160; font-size:9px; top:9px; left:7px; letter-spacing:2px; }
.feishu-document-card { display:flex; flex-direction:column; gap:8px; padding:18px; border:1px solid #b9ccf5; border-radius:14px; background:#eef4ff; color:#254780; overflow-wrap:anywhere; text-decoration:none; }

/* Work shelf: collectible studio cards, not a compressed administration list. */
.content-project-controls { display:flex; align-items:center; justify-content:flex-end; flex:1 1 610px; min-width:0; gap:10px; }
.content-project-controls .project-switch { flex:0 1 420px; gap:10px; order:0; }
.content-project-controls .project-switch>span { font-size:12px; font-weight:650; color:var(--ink); }
.content-project-controls #project-select { flex:1 1 0; width:0; border-radius:10px; min-height:42px; }
.content-project-controls #work-filter { flex:0 0 auto; width:auto; max-width:100%; min-height:42px; padding:8px 32px 8px 13px; border:1.5px solid var(--ink); border-radius:24px; background:#e5f5c9; font-size:12px; font-weight:650; }
.content-project-controls #content-refresh { flex:0 0 auto; min-height:42px; border-radius:10px; }
.work-shelf { display:block; padding:28px 0 35px; border-bottom:0; }
.shelf-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 24px; }
.shelf-heading .shelf-label { display:flex; align-items:center; gap:12px; font-size:25px; line-height:1.2; letter-spacing:-.05em; font-weight:850; }
.shelf-heading .shelf-label::before { content:""; flex:0 0 20px; width:20px; height:23px; background:var(--studio-yellow); border:1.5px solid var(--ink); border-radius:5px 5px 3px 3px; box-shadow:3px 3px 0 var(--ink); transform:rotate(-9deg); }
.shelf-heading .shelf-label span { display:inline; font-size:10px; color:#73716a; letter-spacing:.08em; font-weight:650; }
.shelf-count { color:#575a61; font-size:12px; font-variant-numeric:tabular-nums; text-align:right; }
.work-shelf #instance-list.instance-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:25px; width:100%; min-width:0; padding:0 5px 7px 0; }
.work-card {
  --card-accent:#b5eccb; --card-wash:#f2fcf0; --card-dark:#315b40;
  position:relative; isolation:isolate; display:flex; flex-direction:column; min-width:0;
  padding:22px; border:1.5px solid var(--ink); border-radius:20px 20px 13px 13px;
  background:linear-gradient(180deg,var(--card-wash),#fffef8 62%);
  box-shadow:4px 5px 0 var(--ink); transition:transform .18s ease,box-shadow .18s ease;
}
.work-card[data-tone="peach"] { --card-accent:#ffb4a0; --card-wash:#fff0e7; --card-dark:#7e3d30; }
.work-card[data-tone="lilac"] { --card-accent:#cdb5f8; --card-wash:#f3edff; --card-dark:#594079; }
.work-card[data-tone="lemon"] { --card-accent:#f3dc67; --card-wash:#fff9d9; --card-dark:#726013; }
.work-card::before { content:""; position:absolute; z-index:-1; top:0; right:19px; width:43px; height:8px; border:1.5px solid var(--ink); border-top:0; border-radius:0 0 5px 5px; background:var(--card-accent); }
.work-card:hover,.work-card:focus-within { transform:translateY(-4px); box-shadow:5px 9px 0 var(--ink); }
.work-card:has(.work-open:focus-visible) { outline:3px solid var(--studio-blue); outline-offset:6px; }
.work-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:35px; margin-bottom:18px; }
.work-card .work-platform { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.work-card .platform-icon { display:block; width:31px; height:31px; object-fit:contain; border-radius:8px; flex:0 0 31px; letter-spacing:0; background:transparent; }
.work-platform-name,.work-platform .platform-name { font-size:11px; font-weight:650; color:#57545a; }
.work-serial { display:inline-flex; align-items:center; font-size:10px; font-weight:750; letter-spacing:.07em; color:#74716a; font-variant-numeric:tabular-nums; }
.work-open { display:block; width:100%; min-width:0; padding:0; border:0; background:transparent; text-align:left; color:var(--ink); }
.work-open::after { content:""; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.work-open:focus-visible { outline:none; }
.work-card .work-open:hover:not(:disabled),.work-card .work-open:active { background:transparent; color:var(--ink); box-shadow:none; }
.work-card button { -webkit-tap-highlight-color:transparent; }
.work-card-title { min-height:62px; font-size:21px; font-weight:800; line-height:1.48; letter-spacing:-.045em; overflow-wrap:anywhere; text-wrap:pretty; }
.work-current { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:7px; margin:19px 0 15px; }
.work-stage { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:7px; min-width:0; padding:9px 10px 9px 8px; border:1px solid var(--ink); border-radius:10px; background:var(--card-accent); color:var(--ink); line-height:1.45; }
.work-stage b { display:flex; justify-content:center; align-items:center; width:27px; height:27px; border-radius:7px; background:#fffdf2; border:1px solid #20232c; font-size:13px; font-weight:850; font-variant-numeric:tabular-nums; }
.work-stage strong { min-width:0; font-size:13px; font-weight:750; overflow-wrap:anywhere; }
.work-stage small { max-width:72px; padding:3px 5px; color:#383c39; font-size:9px; line-height:1.4; text-align:right; overflow-wrap:anywhere; }
.work-current>small,.work-current>span:not(.work-stage) { font-size:12px; color:var(--card-dark); font-weight:650; }
.work-progress-row { display:flex; align-items:center; gap:10px; margin-top:auto; padding:1px 0 18px; min-width:0; }
.work-progress-row progress { appearance:none; -webkit-appearance:none; display:block; flex:1 1 0; width:0; min-width:0; height:8px; border:1px solid #222832; border-radius:20px; overflow:hidden; background:#f1efe9; accent-color:var(--card-dark); }
.work-progress-row progress::-webkit-progress-bar { background:#f1efe9; border-radius:20px; }
.work-progress-row progress::-webkit-progress-value { background:var(--card-dark); border-radius:20px; }
.work-progress-row progress::-moz-progress-bar { background:var(--card-dark); border-radius:20px; }
.work-progress-row small { flex:0 0 auto; font-size:10px; color:#62615f; font-variant-numeric:tabular-nums; }
.work-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; padding:15px 0; border-top:1px dashed #a7a59a; }
.work-dates>div { min-width:0; }
.work-dates dt { font-size:10px; color:#6b6b65; margin-bottom:4px; }
.work-dates dd { margin:0; font-size:12px; font-weight:650; color:#363b39; font-variant-numeric:tabular-nums; line-height:1.7; overflow-wrap:anywhere; }
.work-dates dd small { display:block; font-size:10px; font-weight:500; color:#6b6b65; }
.work-card-footer { display:flex; justify-content:space-between; align-items:center; gap:14px; min-height:52px; padding-top:13px; border-top:1px solid #e1ded3; }
.work-elapsed { color:#676861; font-size:11px; line-height:1.4; }
.work-elapsed strong,.work-elapsed b { display:inline-block; margin:0 3px; font-size:25px; font-weight:850; line-height:1; color:var(--ink); letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
.work-handlers { position:relative; z-index:2; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:5px; min-width:0; max-width:65%; color:#5d6364; }
.work-handlers>small { font-size:10px; margin-right:4px; }
.work-handlers:empty { display:none; }
.work-card[data-complete="true"] { --card-accent:#e4e7dc; --card-wash:#f8f8f0; --card-dark:#6a755f; box-shadow:3px 4px 0 #8c9083; border-color:#868d7e; }
.work-card[data-complete="true"]::before { background:#e4e7dc; border-color:#868d7e; }
.work-card[data-complete="true"] .work-card-title { color:#626a5c; }
.work-card[data-complete="true"] .work-stage { border-color:#a5ad9b; color:#56614a; }
.work-card[data-complete="true"]:hover,.work-card[data-complete="true"]:focus-within { box-shadow:4px 8px 0 #8c9083; }
.work-shelf .shelf-empty { grid-column:1 / -1; padding:45px 25px; border:1.5px dashed #b7b3a5; border-radius:20px; background:#fffcf5; text-align:center; }

/* One avatar language across work cards, the header and person details. */
.person-avatar { position:relative; display:inline-flex; flex:0 0 38px; align-items:center; justify-content:center; width:38px; height:38px; padding:2px; border:0; border-radius:50%; background:conic-gradient(#7bddb0 0deg 115deg,#aa93ed 115deg 235deg,#f9d450 235deg 360deg); box-shadow:0 0 0 1px #31332c; overflow:visible; vertical-align:middle; color:var(--ink); }
.person-avatar img { display:block; width:100%; height:100%; object-fit:cover; border:2px solid #fffdf4; border-radius:50%; background:#fffdf4; }
.person-avatar .profile-avatar { width:100%; height:100%; flex-basis:auto; border:2px solid #fffdf4; background:#fffdf4; }
.person-avatar .avatar-pet { width:76%; height:76%; flex-shrink:0; }
button.person-avatar.profile-avatar { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:2px; border:0; background:conic-gradient(#7bddb0 0deg 115deg,#aa93ed 115deg 235deg,#f9d450 235deg 360deg); }
button.person-avatar { cursor:pointer; transition:transform .15s ease; }
button.person-avatar:hover,button.person-avatar[aria-expanded="true"] { transform:translateY(-2px); }
.person-avatar:focus-visible { outline:3px solid var(--studio-blue); outline-offset:4px; }
.person-card { position:fixed; inset:auto; margin:0; z-index:160; width:290px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow:auto; padding:20px; border:1.5px solid var(--ink); border-radius:18px 18px 12px 12px; background:#fffdf5; color:var(--ink); box-shadow:5px 6px 0 #20232c; overscroll-behavior:contain; }
.person-card::before { content:""; position:absolute; inset:0 0 auto; height:7px; background:linear-gradient(90deg,#8be2b4 0 35%,#c7b1f3 35% 70%,#f3d568 70%); }
.person-card-header { display:flex; align-items:center; gap:13px; min-width:0; margin:3px 20px 16px 0; }
.person-card-header .person-avatar,.person-card-header>.profile-avatar,.person-card-avatar { flex:0 0 48px; width:48px; height:48px; }
.person-card-name { font-size:18px; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
.person-card-header small { display:block; font-size:10px; color:#77746d; margin-top:4px; }
.person-card-close { position:absolute; top:14px; right:10px; display:flex; align-items:center; justify-content:center; width:32px; height:32px; min-height:32px; padding:0; border:0; border-radius:50%; background:transparent; font-size:20px; color:#5b5f56; }
.person-card-close:hover { background:#eeeadd; }
.person-card-meta { display:grid; gap:9px; padding-top:13px; border-top:1px dashed #c7c5b8; font-size:12px; overflow-wrap:anywhere; }
.person-card-meta dt { font-size:10px; color:#77746d; }
.person-card-meta dd { margin:2px 0 0; color:#3d4439; }
.person-card-meta p { margin:0; font-size:12px; line-height:1.65; }
.person-card-meta small { font-size:10px; color:#77746d; }
.person-card-roles { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; }
.person-role { display:inline-flex; margin:2px 4px 2px 0; padding:4px 8px; border:1px solid #b5cba9; border-radius:20px; background:#e9f4df; color:#43533b; font-size:10px; font-weight:650; }

@media(max-width:1150px) {
  .content-project-controls { flex-basis:100%; justify-content:flex-start; }
  .content-project-controls .project-switch { flex:1 1 350px; max-width:530px; }
  .work-shelf #instance-list.instance-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; }
}
@media(max-width:680px) {
  .content-project-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; width:100%; }
  .profile-trigger .avatar-pet { font-size:12px; }
  .content-project-controls .project-switch { grid-column:1 / -1; width:100%; max-width:none; flex-basis:auto; order:0; gap:10px; }
  .content-project-controls #project-select { font-size:16px; min-height:44px; border-radius:10px; }
  .content-project-controls #work-filter { justify-self:start; min-height:42px; max-width:100%; font-size:13px; }
  .content-project-controls #content-refresh { justify-self:end; }
  .work-shelf { padding-top:24px; }
  .shelf-heading { margin-bottom:20px; gap:12px; }
  .shelf-heading .shelf-label { font-size:23px; gap:10px; }
  .shelf-heading .shelf-label span { display:none; }
  .shelf-count { font-size:10px; max-width:46%; }
  .work-shelf #instance-list.instance-list { grid-template-columns:minmax(0,1fr); gap:24px; padding-right:5px; }
  .work-card { padding:21px; }
  .work-card-title { min-height:0; font-size:23px; }
  .work-stage strong { font-size:13px; }
  .work-dates dd { font-size:13px; }
  .work-handlers { max-width:67%; }
  .person-avatar { width:40px; height:40px; flex-basis:40px; }
  .person-card { width:290px; padding:20px; box-shadow:4px 5px 0 #20232c; }
}
@media(hover:none) {
  .work-card:hover { transform:none; box-shadow:4px 5px 0 var(--ink); }
  .work-card[data-complete="true"]:hover { box-shadow:3px 4px 0 #8c9083; }
}
@media(prefers-reduced-motion:reduce) {
  .work-card,button.person-avatar { transition:none; }
  .work-card:hover,.work-card:focus-within,button.person-avatar:hover,button.person-avatar[aria-expanded="true"] { transform:none; }
}

/* Formal adapter. Everything above is the unchanged accepted D021 stylesheet.
   Keep production identities/forms separate from the local demo's controls. */
.formal-brand { display:block; width:220px; max-width:40vw; height:auto; }
.formal-workbench .studio-nav a { font-size:12px; text-decoration:none; white-space:nowrap; }
.formal-workbench .content-section-title h1 { font-size:21px; font-weight:800; line-height:1.3; }
.content-project-controls #project { flex:1 1 0; width:0; min-width:0; padding:9px 11px; border:1.5px solid var(--ink); border-radius:10px; background:white; min-height:42px; font-size:13px; }
.content-project-controls #filter { width:auto; max-width:100%; min-height:42px; padding:8px 32px 8px 13px; border:1.5px solid var(--ink); border-radius:24px; background:#e5f5c9; font-size:12px; font-weight:650; }
.content-project-controls #reload { border-radius:10px; min-height:42px; }
.work-shelf #shelf.instance-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:25px; width:100%; min-width:0; padding:0 5px 7px 0; }
.shelf-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.formal-workbench .note { font-size:11px; color:var(--muted); padding:18px 0; border-top:1px solid var(--line); }
.formal-workbench footer { max-width:1440px; margin:auto; padding:22px 3vw; font-size:11px; color:var(--muted); }
.formal-workbench #status:empty { display:none; }
.formal-workbench #status { margin:16px 0; }
.avatar-initial { display:flex; width:100%; height:100%; border:2px solid #fffdf4; border-radius:50%; align-items:center; justify-content:center; background:#fffdf4; font-size:14px; font-weight:700; }
.formal-workbench dialog { width:min(600px,calc(100vw - 30px)); max-height:calc(100dvh - 40px); overflow:auto; padding:28px; border:1.5px solid var(--ink); border-radius:18px 18px 12px 12px; background:#fffdf5; box-shadow:5px 6px 0 var(--ink); color:var(--ink); }
.formal-workbench dialog.wide-dialog { width:min(820px,calc(100vw - 30px)); }
.formal-workbench dialog::backdrop { background:#20232c66; }
.formal-workbench dialog>h2 { padding-right:32px; margin-bottom:14px; }
.formal-workbench dialog .close { position:absolute; top:12px; right:12px; min-height:32px; width:32px; padding:0; border-radius:50%; }
.formal-workbench form label { display:block; font-size:12px; margin:12px 0; }
.formal-workbench form input,.formal-workbench form textarea,.formal-workbench form select { display:block; width:100%; padding:10px; border:1px solid #b4b3ad; border-radius:4px; background:white; margin-top:6px; font-size:14px; }
.formal-workbench form textarea { min-height:115px; resize:vertical; }
.formal-workbench .fields,.formal-workbench .assignment { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.formal-workbench .assignment { border-top:1px solid var(--line); padding-top:8px; }
.formal-workbench .assignment h4 { grid-column:1/-1; margin:4px 0; }
.formal-workbench form label.check { display:flex; align-items:center; gap:8px; }
.formal-workbench .check input { width:auto; }
.formal-workbench dialog button,.formal-workbench #nodes button,.formal-workbench [data-retry] { padding:9px 17px; min-height:43px; border:1.5px solid var(--ink); border-radius:5px; background:white; font-size:12px; font-weight:700; margin:5px 6px 5px 0; }
.formal-workbench dialog button.primary { background:var(--studio-blue); color:white; box-shadow:3px 3px 0 var(--ink); }
.formal-workbench dialog button:hover:not(:disabled),.formal-workbench #nodes button:hover:not(:disabled) { background:var(--studio-yellow); color:var(--ink); }
.formal-workbench pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:360px; overflow:auto; font-size:12px; padding:12px; border:1px solid var(--line); }
.formal-workbench details { margin:16px 0; }
.formal-workbench summary { font-size:12px; font-weight:650; }
.formal-workbench #detail { padding:24px 0; }
.formal-workbench #content-title { font-size:clamp(24px,2.8vw,40px); line-height:1.3; overflow-wrap:anywhere; }
.formal-workbench #nodes .node-card { padding:24px; background:white; border:1.5px solid var(--ink); border-top:4px solid var(--studio-blue); border-radius:8px; box-shadow:3px 4px 0 #d9d4c7; margin-top:24px; }
.formal-workbench #nodes .node-card h3 { font-size:24px; margin-bottom:16px; }
.formal-workbench #nodes .node-card p { margin:8px 0; font-size:13px; }
.formal-workbench [role="status"] { white-space:pre-wrap; }
@media(max-width:1150px) { .work-shelf #shelf.instance-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; } }
@media(max-width:680px) {
  .formal-workbench .topbar { padding:16px 17px; gap:12px; flex-wrap:wrap; }
  .formal-brand { width:180px; max-width:48vw; }
  .formal-workbench .studio-nav { gap:12px; flex-wrap:wrap; }
  .content-project-controls #project { font-size:16px; min-height:44px; }
  .content-project-controls #filter { font-size:13px; }
  .content-project-controls #reload { justify-self:end; }
  .work-shelf #shelf.instance-list { grid-template-columns:minmax(0,1fr); gap:24px; padding-right:5px; }
  .formal-workbench .fields,.formal-workbench .assignment { grid-template-columns:minmax(0,1fr); }
  .formal-workbench form input,.formal-workbench form textarea,.formal-workbench form select { font-size:16px; }
  .formal-workbench dialog { padding:22px; }
}

/* Accepted node sheets and readable records; no JSON wall in the work area. */
.formal-workbench #nodes .node-header h2 { font-size:25px; }
.formal-workbench #nodes .current-version-title h3,.formal-workbench #nodes .waiting-state h3 { font-size:17px; margin:0; }
.formal-workbench #nodes .node-body>.dependency-note,.formal-workbench #nodes .node-body>.rejection-note { grid-column:1/-1; }
.formal-workbench #nodes .button-accent { background:var(--studio-blue); color:white; box-shadow:3px 3px 0 var(--ink); }
.formal-workbench #nodes .button-danger { color:#9f392e; background:#fff0e9; }
.formal-workbench #nodes .button-dependency { min-height:32px; padding:3px 8px; font-size:11px; }
.formal-workbench .deliverable-list dd,.formal-workbench #intake-record dd,.formal-workbench .history-entry p { white-space:pre-wrap; overflow-wrap:anywhere; }
.formal-workbench .feishu-document-card { white-space:normal; }
.formal-workbench #intake-record { padding:8px 20px 20px; }
.formal-workbench #intake-form { display:grid; gap:22px; }
.formal-workbench #intake-form .intake-group>.field-grid { clear:both; }
.formal-workbench #intake-form .field-grid label { margin:0; }
.formal-workbench #intake-form .job-options label { display:flex; align-items:center; gap:8px; }
.formal-workbench #intake-form .job-options input { width:auto; margin:0; }
.formal-workbench .field-hint { display:block; margin-top:7px; }
.formal-workbench #command-fields .button-quiet { background:transparent; border:0; min-height:32px; padding:3px 0; font-weight:500; }
/* 2026-10-05 annual candidate: append-only, approved shelf assets stay intact. */
.authenticated-portal { --ink:#24262f; --paper:#fff9ed; background:#fff9ed; }
.authenticated-portal #hub-main { display:block; max-width:none; padding:0 3vw; margin:0; }
.authenticated-portal .hub-title h1 span { background:none; }
.authenticated-portal .hero-copy,.authenticated-portal .welcome-intro { display:none; }
.authenticated-portal #welcome { margin:0; width:100%; }
.authenticated-portal .hub-header { padding:18px 3vw; gap:20px; }
.authenticated-portal .hub-header { width:100%; margin:0; }
.authenticated-portal .hub-title h1 { margin-top:0; margin-bottom:0; }
.authenticated-portal footer { border-top:1px solid #bfb8a9; margin:10px 3vw 0; padding:25px 0; display:flex; justify-content:space-between; }
.authenticated-portal .wordmark { display:block; flex:0 1 370px; width:370px; }
.authenticated-portal .studio-nav { display:flex; flex:1; justify-content:flex-end; }
.authenticated-portal .nav-button.is-active { background:var(--studio-yellow); box-shadow:0 3px 0 var(--ink); }
.authenticated-portal .portal-card { text-decoration:none; background:transparent; border:0; padding:0; }
.authenticated-portal .portal-card button { color:var(--ink); }
.authenticated-portal .portal-grid { margin-top:40px; }
.authenticated-portal .portal-name { white-space:normal; }
.formal-workbench .workspace-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.formal-workbench .heading-tools { display:flex; align-items:center; gap:16px; }
.formal-workbench .studio-buddy { --buddy-color:var(--studio-mint); }
.formal-workbench .split-datetime { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.formal-workbench .time-field,.formal-workbench .reference-field { min-width:0; border:1px solid #ccc6b9; border-radius:9px; padding:12px; margin:12px 0; }
.formal-workbench .time-field legend,.formal-workbench .reference-field legend { font-size:13px; font-weight:750; padding:0 5px; }
.formal-workbench .upload-list { display:grid; gap:10px; }
.formal-workbench .artifact-images { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.formal-workbench .artifact-images img { max-width:100%; width:240px; height:auto; object-fit:contain; border:1px solid #c8c6be; border-radius:6px; }
.formal-workbench .role-summary { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px; margin:18px 0; }
.formal-workbench .decision-paddles { display:flex; gap:20px; border:0; padding:15px 0; }
.formal-workbench .decision-paddle { min-width:125px; border:2px solid var(--ink); border-radius:22px; padding:18px 22px; box-shadow:3px 4px 0 var(--ink); background:#fffdf7; font-weight:850; font-size:17px; }
.formal-workbench .decision-paddle.approved[aria-pressed="true"] { background:var(--studio-mint); transform:rotate(-3deg); }
.formal-workbench .decision-paddle.rejected[aria-pressed="true"] { background:var(--studio-coral); transform:rotate(3deg); }
.formal-workbench .winner-table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
.formal-workbench .winner-table td,.formal-workbench .winner-table th { padding:6px; text-align:left; vertical-align:top; }
.formal-workbench .winner-table input { min-width:110px; }
@media(max-width:680px) {
  .authenticated-portal .wordmark { flex:0 1 210px; width:210px; }
  .authenticated-portal .studio-nav { justify-content:flex-start; }
  .formal-workbench .workspace-heading { align-items:flex-start; flex-wrap:wrap; }
  .formal-workbench .heading-tools { margin-left:auto; }
  .formal-workbench .split-datetime { grid-template-columns:minmax(0,1fr); }
  .formal-workbench .decision-paddle { min-width:0; padding:13px 16px; font-size:16px; }
}
@media(max-width:680px) {
  .formal-workbench #nodes .node-card { padding:18px; }
  .formal-workbench #nodes .has-version .node-body,.formal-workbench #intake-form .field-grid { grid-template-columns:minmax(0,1fr); }
  .formal-workbench .history-entry-header { flex-wrap:wrap; }
}
/* Remains above the accepted full-card open target; only test tasks expose it. */
.work-delete-test{position:relative;z-index:2;align-self:flex-start}
.assist-panel{margin:14px 0;padding:16px;border:2px solid #292b35;border-radius:14px;background:#e5f7ee;overflow-wrap:anywhere}
.assist-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.assist-heading>.button{min-height:44px;padding:11px 18px;border:2px solid var(--ink);border-radius:9px;color:var(--ink);line-height:1.4;box-shadow:3px 3px 0 var(--ink);flex-shrink:0}
.assist-heading>.assist-check-button{background:#fffef6}
.assist-heading>.assist-ai-button{background:var(--studio-yellow)}
.assist-heading>.assist-ai-button::before{content:'✦';margin-right:8px;font-size:18px;vertical-align:middle}
.assist-heading>.button:hover:not(:disabled){background:#fff2a9;box-shadow:1px 1px 0 var(--ink)}
.assist-heading>.button:focus-visible{outline:3px solid var(--studio-blue);outline-offset:5px}
.assist-heading>.button:disabled{opacity:1;color:#4c4e56;background:#ecece4;border-color:#656772;box-shadow:none;cursor:wait}
.assist-heading>.button[aria-busy='true']::after{content:' · 核对中';font-size:12px}
@media(max-width:560px){.assist-heading>.button{width:100%;text-align:center}}
.assist-coverage,.assist-panel small{font-size:13px;line-height:1.6;display:block}
.assist-finding{margin:10px 0;padding:12px;background:#fffaf0;border:1px solid #292b35;border-radius:10px}
.assist-finding blockquote{margin:8px 0;white-space:pre-wrap;border-left:3px solid #75ddbb;padding-left:10px}
.assist-warning{border-left:4px solid #e99537;padding-left:10px}
.assist-submit-dialog{width:min(520px,calc(100vw - 32px));padding:26px;border:2px solid var(--ink);border-radius:16px;background:#fffdf5;box-shadow:5px 6px 0 var(--ink);color:var(--ink);max-height:85dvh;overflow:auto}
.assist-submit-dialog::backdrop{background:#20232c88}
.assist-submit-dialog h2{font-size:21px;line-height:1.4;margin:0 0 14px}
.assist-submit-dialog p{margin:12px 0;line-height:1.7}
.assist-submit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.formal-workbench .assist-submit-dialog .assist-submit-actions .button{min-height:44px;padding:10px 16px;margin:0;color:var(--ink);border:2px solid var(--ink);background:#fffdf5}
.formal-workbench .assist-submit-dialog .assist-submit-actions .button-accent{background:var(--studio-yellow);box-shadow:3px 3px 0 var(--ink)}
.formal-workbench .assist-submit-dialog .assist-submit-actions .button:focus-visible{outline:3px solid var(--studio-blue);outline-offset:4px}
@media(max-width:560px){.assist-submit-actions .button{width:100%}}

.permission-board-scroll{overflow:auto;margin:12px 0 24px}
.permission-board{width:100%;min-width:600px;border-collapse:collapse;font-size:14px;text-align:left}
.permission-board th,.permission-board td{padding:12px;border:1.5px solid #30333c;vertical-align:top}
.permission-board th{background:#ffe54a}.permission-board td{background:#fffaf0}
.project-test-toggle{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#ffe54a;border:2px solid #30333c;border-radius:9px;box-shadow:3px 3px 0 #30333c;font-weight:700}
.project-test-toggle[hidden]{display:none}.project-test-toggle input{width:20px;height:20px;accent-color:#2449ff}

/* Quiet checks: one collapsible explanation; version-bound, text-only badge. */
.ai-check-badge{display:inline-block;width:fit-content;max-width:100%;margin:8px 0;padding:5px 10px;border:1px solid #21734d;border-radius:7px;background:#e5f7ee;color:#175839;font-size:12px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}
.ai-version-checks{display:flex;flex-wrap:wrap;gap:0 8px}
.ai-check-badge[hidden],.ai-version-checks[hidden]{display:none!important}
.assist-scope-note{margin:10px 0;font-size:12px;line-height:1.7;color:#50535d}
.assist-scope-note summary{cursor:pointer;padding:6px 0;width:fit-content}
.assist-scope-note summary:focus-visible{outline:2px solid var(--studio-blue);outline-offset:3px}
.assist-scope-note p{margin:6px 0;overflow-wrap:anywhere}
