/* Central Órion · project workspace. Scoped; no changes to other modules. */
:where(.projects-workspace,.project-detail-hero,.project-detail-content){
  --project-paper:#f7f3ec;--project-surface:#fffcf7;--project-ink:#282923;
  --project-muted:#69675d;--project-line:#dcd7cb;--project-soft:#eee9df;
  --project-accent:#984529;--project-accent-soft:#f3e3d6;--project-accent-ink:#fffaf4;
  --project-focus:#8b3c24;--project-ready:#3e6250;--project-ready-soft:#e7eee5;
  --project-blocked:#8d3e2c;--project-blocked-soft:#f5e5dc;
  --ink:var(--project-ink);--muted:var(--project-muted);--line:var(--project-line);
  --surface:var(--project-surface);--subtle:var(--project-soft);--paper:var(--project-paper);
  --teal:var(--project-accent);--petrol:var(--project-accent);--on-accent:var(--project-accent-ink);
  --tint:var(--project-accent-soft);color:var(--project-ink);min-width:0;
}
html[data-theme=medium] :where(.projects-workspace,.project-detail-hero,.project-detail-content){
  --project-paper:#45423b;--project-surface:#504c44;--project-ink:#fffaf0;
  --project-muted:#e0d8c9;--project-line:#817767;--project-soft:#5d574d;
  --project-accent:#ffc4a6;--project-accent-soft:#654735;--project-accent-ink:#30251e;
  --project-focus:#ffcfb2;--project-ready:#d3e9cf;--project-ready-soft:#405448;
  --project-blocked:#ffd0be;--project-blocked-soft:#68473a;
}
html[data-theme=dark] :where(.projects-workspace,.project-detail-hero,.project-detail-content){
  --project-paper:#221f1c;--project-surface:#2d2925;--project-ink:#f4eee4;
  --project-muted:#c6bdae;--project-line:#5a5147;--project-soft:#39332d;
  --project-accent:#efaa87;--project-accent-soft:#493125;--project-accent-ink:#281d17;
  --project-focus:#ffc4a3;--project-ready:#bbd7b7;--project-ready-soft:#2e4234;
  --project-blocked:#f5bfa9;--project-blocked-soft:#492e25;
}
.projects-workspace{container-type:inline-size;max-width:1600px;margin-inline:auto;padding:20px 24px;background:var(--project-paper);border:1px solid var(--project-line);border-radius:3px;overflow-wrap:anywhere}
.projects-workspace :is(h1,h2,h3,h4),.project-detail-hero :is(h1,h2,h3){font-family:var(--display);letter-spacing:-.035em;color:var(--project-ink)}
.projects-workspace h1{font-size:32px;line-height:1.15;max-width:30ch;margin:8px 0}
.projects-workspace h2{font-size:clamp(21px,2vw,27px)}
.projects-workspace p{max-width:72ch}
.projects-workspace :is(button,a,input,select,summary):focus-visible,.project-detail-hero :is(a,button):focus-visible{outline:3px solid var(--project-focus);outline-offset:4px}
.projects-workspace :is(button,.button,select,input[type=search]),.project-detail-hero .button{min-height:44px}
.projects-workspace .button{white-space:normal;line-height:1.35;border-radius:4px;font-weight:600;padding:11px 16px}
.projects-workspace .button-primary{background:var(--project-accent);color:var(--project-accent-ink);border-color:var(--project-accent)}
.projects-workspace .button-secondary{background:var(--project-surface);color:var(--project-ink);border-color:var(--project-line)}
.projects-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:2px solid var(--project-ink);margin-bottom:16px}
.projects-intro>div{min-width:0}.projects-intro p{color:var(--project-muted);margin:8px 0 0;line-height:1.5;font-size:15px}
.projects-intro .eyebrow{color:var(--project-accent);font-size:12px;letter-spacing:.13em;font-weight:700;margin:0 0 12px}
.projects-intro .heading-actions{flex-shrink:0;flex-wrap:wrap}
.projects-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0 12px}
.projects-search{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:14px}
.projects-search input{display:block;width:100%;min-width:0;border:1px solid var(--project-line);border-radius:4px;background:var(--project-surface);padding:11px 14px;color:var(--project-ink);font-weight:400}
.projects-search input::placeholder{color:var(--project-muted);opacity:1}
.projects-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;min-width:0;margin-bottom:16px}
.projects-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1 1 160px;font-size:14px;font-weight:600}
.projects-filters select,.projects-filters input{width:100%;max-width:100%;min-width:0;border:1px solid var(--project-line);border-radius:4px;padding:10px 12px;background:var(--project-surface);color:var(--project-ink);font-weight:400}
.projects-view-switch{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--project-soft);border:1px solid var(--project-line);border-radius:6px;max-width:100%}
.projects-view-switch button{border:1px solid transparent;border-radius:3px;background:transparent;padding:10px 15px;font-weight:600;font-size:14px;color:var(--project-muted);flex:1 1 auto}
.projects-view-switch button[aria-pressed=true],.projects-view-switch button[aria-selected=true]{background:var(--project-surface);border-color:var(--project-line);color:var(--project-ink)}
.projects-view-switch button:hover{color:var(--project-ink)}
.projects-guide{margin:0 0 12px;padding:0 16px;border-left:3px solid var(--project-accent);background:var(--project-accent-soft);border-radius:0 4px 4px 0}
.projects-guide h2,.projects-guide h3{font-size:17px;letter-spacing:-.015em;margin-bottom:8px}
.projects-guide p{margin:0;color:var(--project-ink);font-size:14px;line-height:1.65}
.projects-guide summary{cursor:pointer;min-height:44px;padding:0;display:flex;align-items:center;font-weight:600}
.projects-guide[open]{padding-bottom:12px}.projects-guide[open] summary{margin-bottom:8px}
.projects-guide-step{display:flex;gap:10px;align-items:baseline;min-width:0;font-size:14px;line-height:1.65}
.projects-guide-step strong{color:var(--project-accent)}
.projects-count{color:var(--project-muted);font-size:13px;line-height:1.5;margin:12px 0}
.projects-notice{padding:14px 18px;margin:16px 0;border:1px solid var(--project-line);border-left:3px solid var(--project-accent);background:var(--project-surface);font-size:14px;line-height:1.6;border-radius:3px;overflow-wrap:anywhere}
.projects-notice:empty{display:none}.projects-notice.error{border-left-color:var(--project-blocked);background:var(--project-blocked-soft)}
.projects-notice.warning{background:var(--project-accent-soft)}
.projects-loading,.projects-empty{padding:clamp(26px,5vw,64px) 24px;border:1px dashed var(--project-line);background:var(--project-surface);text-align:center;border-radius:4px}
.projects-loading p,.projects-empty p{margin:12px auto 0;max-width:50ch;line-height:1.7;color:var(--project-muted)}
.projects-empty .button{margin-top:20px}
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:22px;align-items:stretch;min-width:0}
.project-card{display:flex;flex-direction:column;min-width:0;position:relative;border:1px solid var(--project-line);border-radius:5px;background:var(--project-surface);overflow-wrap:anywhere;box-shadow:none;transition:border-color .15s ease}
.project-card:hover,.project-card:focus-within{border-color:var(--project-accent)}
.project-card-main{display:block;min-width:0;text-decoration:none;color:inherit;border-radius:4px 4px 0 0}
.project-cover{display:flex;align-items:center;justify-content:center;position:relative;aspect-ratio:16/9;min-width:0;width:100%;background:var(--project-soft);overflow:hidden;border-bottom:1px solid var(--project-line);border-radius:4px 4px 0 0;text-decoration:none;color:var(--project-ink)}
.project-cover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:100%}
.project-cover.is-fallback{padding:24px;align-items:flex-start;justify-content:center;flex-direction:column;gap:12px}
.project-cover-initials{font-family:var(--display);font-size:clamp(38px,4vw,58px);font-weight:500;letter-spacing:-.06em;line-height:1;color:var(--project-accent)}
.project-cover.is-fallback small,.project-cover.is-fallback .project-cover-label,.project-cover-caption{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--project-muted)}
.project-card-body{padding:16px;display:flex;flex:1;flex-direction:column;gap:10px;min-width:0}
.project-card-main .project-cover{margin-bottom:12px;border:1px solid var(--project-line);border-radius:3px}
.project-card-main:hover .project-card-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.project-card-title{font-size:20px!important;line-height:1.25!important;margin:0;letter-spacing:-.035em!important;overflow-wrap:anywhere}
.project-card-title a{color:var(--project-ink);text-decoration:none;display:block}
.project-card-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.project-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;line-height:1.6;color:var(--project-muted);margin:0}
.project-meta strong{font-weight:600;color:var(--project-ink)}
.project-next-action{margin-top:auto;padding-top:12px;border-top:1px solid var(--project-line);font-size:14px;line-height:1.6;color:var(--project-ink)}
.project-next-action>strong,.project-next-action>span:first-child{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.075em;color:var(--project-muted);margin-bottom:5px}
.project-next-action p{margin:0;font-size:14px;line-height:1.6}
.project-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 19px 17px;margin-top:auto;min-width:0}
.project-card-actions>button,.project-card-actions>.button{flex:1 1 auto}
.project-card .project-card-body>.project-card-actions{padding:0;margin-top:auto}
.project-move-control{min-width:0;max-width:100%;flex:1 1 120px}
.project-move-control .project-move-button{width:100%}
.project-drag-handle{cursor:grab!important}.project-drag-handle:active{cursor:grabbing!important}.project-card.is-dragging{opacity:.55}
.project-save-state{font-size:12px;color:var(--project-accent);line-height:1.5}
.project-move-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--project-line);border-radius:4px;padding:10px 12px;background:var(--project-surface);font-size:13px;font-weight:600;color:var(--project-ink);max-width:100%;white-space:normal}
.project-move-button:hover:not(:disabled){border-color:var(--project-accent);background:var(--project-accent-soft)}
.project-card[draggable=true]{cursor:grab}.project-card[draggable=true]:active{cursor:grabbing}.project-card a,.project-card button,.project-card select{cursor:pointer}
.project-card-pending{border-color:var(--project-accent);cursor:progress!important}.project-card-pending .project-cover{opacity:.65}
.project-status{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;max-width:100%;border:1px solid var(--project-line);background:var(--project-soft);color:var(--project-ink);border-radius:4px;padding:5px 8px;font-size:12px;font-weight:600;line-height:1.4;white-space:normal}
.project-status[data-state=active]{color:var(--project-accent);background:var(--project-accent-soft);border-color:var(--project-accent)}
.project-status[data-state=blocked]{color:var(--project-blocked);background:var(--project-blocked-soft);border-color:var(--project-blocked)}
.project-status[data-state=completed]{color:var(--project-ready);background:var(--project-ready-soft);border-color:var(--project-ready)}
.project-status[data-state=archived]{color:var(--project-muted)}
.project-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start;min-width:0;max-width:100%;overflow:visible}
.project-lane{min-width:0;border:1px solid var(--project-line);border-top:3px solid var(--project-muted);background:var(--project-soft);border-radius:4px;padding:13px}
.project-lane[data-state=active]{border-top-color:var(--project-accent)}.project-lane[data-state=blocked]{border-top-color:var(--project-blocked)}.project-lane[data-state=completed]{border-top-color:var(--project-ready)}
.project-lane-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:3px 2px 14px;min-width:0}
.project-lane-header h2,.project-lane-header h3{font-size:16px;letter-spacing:-.02em;line-height:1.35;margin:0}
.project-lane-header>span,.project-lane-header .count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;border:1px solid var(--project-line);border-radius:3px;background:var(--project-surface);font-size:12px;font-variant-numeric:tabular-nums}
.project-lane-header p,.project-lane-header small{flex-basis:100%;font-size:12px;line-height:1.5;color:var(--project-muted);margin:0}
.project-lane-body{display:flex;flex-direction:column;gap:12px;min-height:100px;min-width:0;border-radius:3px}
.project-lane-body>.projects-empty{padding:20px 12px;font-size:13px;background:transparent;border-style:dashed}
.project-board .project-card-body{padding:14px 12px 12px;gap:10px}.project-board .project-card-title{font-size:17px!important}.project-board .project-card-actions{padding:0 12px 12px;gap:6px}.project-board .project-cover{aspect-ratio:16/9}.project-board .project-cover.is-fallback{min-height:85px;padding:15px}.project-board .project-cover-initials{font-size:34px}.project-board .project-meta{font-size:12px}.project-board .project-next-action{font-size:13px}.project-board .project-move-button{width:100%;font-size:12px;padding:9px 8px}
.project-drop-target{outline:3px solid var(--project-focus);outline-offset:-3px;background:var(--project-accent-soft)}
.projects-pagination{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;margin-top:28px;padding-top:20px;border-top:1px solid var(--project-line)}
.projects-pagination p{margin:0;font-size:14px;color:var(--project-muted)}
.project-detail-hero{display:grid;grid-template-columns:minmax(170px,240px) minmax(0,1fr);gap:28px;padding:24px;background:var(--project-paper);border:1px solid var(--project-line);border-radius:4px;margin-bottom:24px;align-items:start}
.project-detail-hero .project-cover{border:1px solid var(--project-line);border-radius:3px}
.project-detail-content{min-width:0}.project-detail-content h1,.project-detail-content h2{margin:0 0 12px;font-size:26px}.project-detail-content p{line-height:1.7;max-width:70ch;color:var(--project-muted)}
.project-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px 24px;margin:20px 0 0}
.project-detail-content section.project-summary{display:block}.project-detail-content section.project-summary h3,.project-detail-content .project-next-action h3{font-size:14px;line-height:1.5;margin:0 0 6px;color:var(--project-ink)}.project-detail-content section.project-summary p{margin:0;font-size:15px}.project-detail-content .project-next-action{margin-top:20px}
.project-summary>div{min-width:0}.project-summary dt{font-size:12px;color:var(--project-muted);margin-bottom:6px}.project-summary dd{margin:0;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.project-trail{margin:20px 0 0;padding-top:20px;border-top:1px solid var(--project-line);min-width:0}
.project-trail h3{font-size:18px;margin-bottom:10px}.project-trail>p{font-size:14px;line-height:1.7;color:var(--project-muted);max-width:76ch}
.project-trail ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));list-style:none;padding:0;margin:16px 0;gap:12px}
.project-trail li{min-width:0;padding:14px;border:1px solid var(--project-line);border-radius:3px;background:var(--project-surface);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.project-trail li strong{display:block;margin-bottom:6px}.project-trail small{font-size:12px;color:var(--project-muted)}
@media(max-width:1279px){.project-board{grid-template-columns:repeat(2,minmax(0,1fr))}.project-board .project-cover{aspect-ratio:2/1}}
@container(max-width:850px){.project-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.projects-workspace{padding:18px 14px}.projects-intro{align-items:flex-start;flex-direction:column;gap:18px;padding-bottom:20px}.projects-intro .heading-actions{width:100%;justify-content:flex-start}.projects-intro h1{font-size:31px}.projects-toolbar{align-items:stretch;gap:12px}.projects-search{flex-basis:100%}.projects-view-switch{width:100%}.projects-guide{padding:0 14px}.projects-guide[open]{padding-bottom:12px}.project-grid{gap:16px}.project-detail-hero{grid-template-columns:140px minmax(0,1fr);gap:18px;padding:18px}.project-detail-content h1,.project-detail-content h2{font-size:23px}}
@media(max-width:620px){.project-board{grid-template-columns:minmax(0,1fr)}.project-lane{padding:14px}.project-lane-header{padding-bottom:16px}.project-lane-header h2,.project-lane-header h3{font-size:18px}.project-board .project-card-body{padding:16px}.project-board .project-card-actions{padding:0 16px 16px}.project-board .project-cover{aspect-ratio:2/1}.project-grid{grid-template-columns:minmax(0,1fr)}.project-cover{aspect-ratio:16/9}.projects-filters label{flex-basis:100%}.project-detail-hero{grid-template-columns:minmax(0,1fr)}.project-detail-hero .project-cover{max-width:260px}.projects-workspace h1{font-size:31px}}
@container(max-width:490px){.project-board{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.projects-workspace *,.projects-workspace *::before,.projects-workspace *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.project-status,.project-card,.project-lane,.projects-view-switch button{border:1px solid CanvasText}.project-drop-target{outline:3px solid Highlight}.projects-view-switch button[aria-pressed=true]{border:2px solid Highlight}.project-cover-initials{color:CanvasText}}

/* Protected image picker: selection is handed to the existing record editor. */
.project-cover-picker{width:min(860px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:26px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--project-line);border-radius:6px;color:var(--project-ink);background:var(--project-paper)}
.project-cover-picker::backdrop{background:rgb(20 18 16 / .64)}
.project-cover-picker-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-cover-picker-header h2{font-size:26px;margin:0;letter-spacing:-.03em}.project-cover-picker>p{font-size:14px;line-height:1.65;max-width:72ch}
.project-cover-picker-search{display:flex;align-items:flex-end;gap:10px;margin:24px 0 16px}.project-cover-picker-search label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;font-size:14px;font-weight:600}.project-cover-picker-search input{width:100%;min-width:0;border:1px solid var(--project-line);background:var(--project-surface);color:var(--project-ink);padding:10px 12px;border-radius:4px}
.project-cover-picker-status{color:var(--project-muted);min-height:24px}.project-cover-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,175px),1fr));gap:14px;list-style:none;margin:20px 0;padding:0}.project-cover-choices li{min-width:0}.projects-workspace .project-cover-choice{display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%;padding:10px;gap:9px;text-align:left;border:1px solid var(--project-line);background:var(--project-surface);color:var(--project-ink);border-radius:4px;white-space:normal}.projects-workspace .project-cover-choice:hover{border-color:var(--project-accent);background:var(--project-accent-soft)}
.project-cover-choice-image{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:var(--project-soft);color:var(--project-muted);font-size:12px;overflow:hidden;border-radius:2px}.project-cover-choice-image img{height:100%;width:100%;object-fit:contain}.project-cover-choice-name{font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.project-cover-choice-meta{color:var(--project-muted);font-size:12px;margin-top:auto}.project-cover-picker-footer{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--project-line);padding-top:18px;margin-top:18px}
@media(max-width:620px){.project-cover-picker{padding:18px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.project-cover-picker-header{align-items:flex-start}.project-cover-picker-header h2{font-size:23px}.project-cover-picker-search{flex-wrap:wrap}.project-cover-picker-search label{flex-basis:100%}.project-cover-picker-search button{width:100%}.project-cover-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-cover-choice-name{font-size:13px}}

/* Integration with the record shell: project search belongs to this workspace. */
#globalFilters[data-project-mode=true] .global-search,#globalFilters[data-project-mode=true] .global-state{display:none}
#globalFilters[data-project-mode=true] .global-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end}
.project-section-nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 24px}.project-section-nav a,.project-section-nav button{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:4px;text-decoration:none;line-height:1.4}.project-section-nav a:focus-visible,.project-section-nav button:focus-visible{outline:3px solid var(--project-focus,var(--control));outline-offset:3px}
.project-context{padding:22px}.project-context>summary{font-weight:600;font-size:16px;line-height:1.5;min-height:44px;cursor:pointer;padding:10px 0}.project-context p{line-height:1.7;max-width:76ch}
#projectSummary,#filesPanel,#projectPlan,#projectHistory{scroll-margin-top:24px}
@media(max-width:620px){#globalFilters[data-project-mode=true] .global-filter-fields{grid-template-columns:minmax(0,1fr)}.project-context{padding:18px}.project-section-nav a,.project-section-nav button{flex:1 1 140px;justify-content:center}}

.project-scope-filters summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600;gap:8px}.project-scope-filters summary::before{content:"+";font-size:20px}.project-scope-filters[open] summary::before{content:"−"}.project-scope-filters[open] .global-filter-fields{padding-top:12px}#globalFilters[data-project-mode="true"]{margin-bottom:16px;padding-bottom:8px}

/* Ordered imported work plans are read-only context, not operating kanban. */
.legacy-project-flow{margin:24px 0 28px;padding:22px;border:1px solid var(--line);border-radius:5px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.legacy-project-flow h3{font-size:23px;line-height:1.3;margin:6px 0 12px}.legacy-project-flow h4{font-size:17px;margin:22px 0 8px}.legacy-flow-note,.legacy-flow-description,.legacy-flow-source{font-size:14px;line-height:1.65;max-width:78ch}.legacy-flow-note,.legacy-flow-source{color:var(--muted)}.legacy-flow-source{font-size:12px}
.legacy-flow-stages{list-style:none;margin:18px 0;padding:0;display:flex;flex-direction:column;gap:12px;min-width:0}.legacy-flow-stage,.legacy-flow-next{border:1px solid var(--line);border-radius:4px;background:var(--surface);min-width:0}.legacy-flow-stage>summary,.legacy-flow-next>summary{min-height:44px;padding:14px 16px;cursor:pointer;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.legacy-flow-stage>summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.legacy-flow-stage>summary::before{content:'+';font-size:20px;line-height:1;flex:0 0 16px}.legacy-flow-stage[open]>summary::before{content:'−'}.legacy-flow-heading{flex:1 1 240px;display:flex;flex-direction:column;gap:3px;min-width:0}.legacy-flow-heading strong{font-size:16px}.legacy-flow-number{font-size:12px;color:var(--muted)}.legacy-flow-state{font-size:12px;color:var(--muted)}.legacy-flow-current{border:1px solid currentColor;border-radius:3px;padding:4px 7px;font-size:12px;font-weight:600}.legacy-flow-stage.is-source-current{border-color:var(--ink)}.legacy-flow-stage[open]>summary{border-bottom:1px solid var(--line)}.legacy-flow-body{padding:4px 18px 18px}.legacy-flow-field{margin:16px 0 0;min-width:0}.legacy-flow-field h5{font-size:13px;font-weight:700;line-height:1.5;margin:0 0 5px}.legacy-flow-field p,.legacy-flow-field li{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-width:80ch}.legacy-flow-field p{margin:0}.legacy-flow-field ul{padding-left:20px;margin:6px 0 0}.legacy-flow-next{margin:18px 0}.legacy-flow-next[open]{padding-bottom:18px}.legacy-flow-next>.legacy-flow-field{margin-inline:18px}.legacy-project-flow summary:focus-visible{outline:3px solid var(--control);outline-offset:3px}
@media(max-width:620px){.legacy-project-flow{padding:16px}.legacy-flow-stage>summary{padding:12px}.legacy-flow-heading{flex-basis:calc(100% - 40px)}.legacy-flow-state,.legacy-flow-current{margin-left:26px}.legacy-flow-body{padding:2px 14px 16px}}
/* Contextual project workspace: one visible next action, materials a step away. */
.project-primary-visual{min-width:0}.project-primary-visual .project-cover{aspect-ratio:4/3;max-width:none}.project-primary-visual p{font-size:13px;line-height:1.5}.project-primary-visual .button{white-space:normal}
.project-readiness{margin:20px 0}.project-readiness>summary{cursor:pointer;padding:12px 0;font-weight:600;min-height:44px}.project-next-action small{display:block;line-height:1.6;margin-top:8px}.project-next-action h4{margin:18px 0 6px}
#projectImages{scroll-margin-top:24px}.project-visual-gallery{margin:24px 0}.project-visual-gallery>p{max-width:80ch;line-height:1.6}.project-visual-gallery .inline-actions{flex-wrap:wrap}.project-visual-gallery input{min-width:0;max-width:100%;flex:1 1 220px;padding:10px;border:1px solid var(--line);border-radius:4px}.project-visual-grid figure{margin:0;min-width:0}.project-visual-grid figcaption{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere;line-height:1.5;padding:12px 0}.project-visual-grid figcaption span{font-size:13px;color:var(--muted)}.project-visual-grid .project-cover{aspect-ratio:4/3}.project-visual-grid .project-cover img{object-fit:contain}.project-visual-grid a:focus-visible{outline:3px solid var(--control);outline-offset:3px}
@media(max-width:620px){.project-primary-visual{max-width:100%}.project-detail-hero .project-primary-visual .project-cover{max-width:100%;aspect-ratio:16/9}.project-visual-gallery .button{white-space:normal;min-height:44px}}
.files-image-preview{display:block;width:auto;max-width:100%;max-height:560px;object-fit:contain;margin:16px 0}.files-image-preview[hidden]{display:none}.files-materials{margin:18px 0 24px}.project-work-guide{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.project-work-guide>p{line-height:1.65}.enterprise-catalog-help{padding:18px;border:1px solid var(--line);margin:18px 0;border-radius:4px}.enterprise-catalog-help summary{cursor:pointer;min-height:44px;padding:10px 0}.enterprise-process-guide{border-left:3px solid var(--control);padding-left:16px;margin:16px 0}
