/* Picart Canvas — one quiet desktop modal system. No native controls or reflective glass. */
#project-dialog{width:min(880px,calc(100vw - 72px));overflow:visible;border:1px solid rgba(226,217,239,.16);border-radius:28px;background:rgba(55,49,72,.98);box-shadow:0 28px 72px rgba(16,13,28,.32);backdrop-filter:blur(26px) saturate(108%)}
#project-dialog::backdrop{background:rgba(20,17,31,.5);backdrop-filter:blur(12px)}
#project-dialog form{gap:18px;overflow:visible;padding:32px 38px 36px;box-sizing:border-box}
#project-dialog>form>small{color:rgba(239,234,246,.58);font-size:12px;line-height:16px;letter-spacing:.12em}
#project-dialog h2{margin:0;color:#faf8fc;font-size:28px;line-height:34px;letter-spacing:-.025em;font-weight:650}
#project-dialog .dialog-close{right:22px;top:22px;width:38px;height:38px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);box-shadow:none;color:rgba(248,245,251,.78);font-size:22px}
#project-dialog .dialog-close:hover{background:rgba(255,255,255,.08)!important;box-shadow:none!important;filter:none!important}

.project-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid rgba(225,215,238,.11);border-radius:15px;background:rgba(255,255,255,.03)}
.project-mode-tabs button{height:40px;border:0;border-radius:11px;background:transparent;box-shadow:none;color:rgba(243,239,248,.62);font-size:14px;font-weight:520}
.project-mode-tabs button.active{background:rgba(205,190,226,.14);box-shadow:none;color:#fbf9fd}
.project-mode-tabs button:hover{background:rgba(255,255,255,.055);box-shadow:none;filter:none}
.project-mode-copy{margin:-8px 2px 0;color:rgba(239,234,246,.66);font-size:13px;line-height:19px}

/* Images are the primary content, not an attachment rail. */
#project-dialog .project-upload{display:flex!important;flex-direction:column;align-items:stretch!important;gap:14px;min-height:238px!important;padding:20px!important;border:1px dashed rgba(226,217,239,.22);border-radius:20px;background:rgba(255,255,255,.03);box-shadow:none;cursor:pointer}
#project-dialog .project-upload:hover{border-color:rgba(226,217,239,.34);background:rgba(255,255,255,.042)}
#project-dialog .project-upload-copy{display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;text-align:left}
#project-dialog .upload-plus{width:44px;height:44px;border:1px solid rgba(226,217,239,.2);border-radius:50%;background:rgba(255,255,255,.04);font-size:23px;flex:0 0 auto}
#project-dialog .project-upload-copy strong{color:#f8f5fb;font-size:16px;line-height:22px;font-weight:600}
#project-dialog .project-upload-copy small{margin-top:3px;color:rgba(238,232,245,.62);font-size:13px;line-height:19px}
#project-dialog .project-upload-preview{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:98px!important;align-content:start;justify-content:stretch!important;width:100%!important;max-height:270px!important;padding:0 7px 0 0!important;gap:10px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin!important;scrollbar-color:rgba(214,200,232,.28) transparent!important}
#project-dialog .project-upload-preview::-webkit-scrollbar{display:block!important;width:7px!important;height:0!important}
#project-dialog .project-upload-preview::-webkit-scrollbar-track{background:transparent!important}
#project-dialog .project-upload-preview::-webkit-scrollbar-thumb{border:2px solid transparent!important;border-radius:99px!important;background:rgba(214,200,232,.3)!important;background-clip:padding-box!important;box-shadow:none!important}
#project-dialog .project-upload-preview:empty{display:none!important}
#project-dialog .project-preview-item,#project-dialog .project-upload-preview img{width:100%!important;height:98px!important}
#project-dialog .project-preview-item{position:relative;overflow:visible}
#project-dialog .project-upload-preview img{border:1px solid rgba(255,255,255,.12);border-radius:11px;object-fit:cover;box-shadow:none}
#project-dialog .project-preview-item button{top:6px!important;right:6px!important;width:22px;height:22px;border:1px solid rgba(255,255,255,.16);background:rgba(35,30,46,.86);box-shadow:none;color:#fff;font-size:15px;opacity:0;transform:scale(.9);transition:opacity .16s ease,transform .16s ease}
#project-dialog .project-preview-item:hover button,#project-dialog .project-preview-item button:focus-visible{opacity:1;transform:none}

/* Analysis is a secondary, compact layer. */
.project-smart-suggestion,.project-manual-fields{padding:20px 22px;border:1px solid rgba(226,217,239,.12);border-radius:20px;background:rgba(255,255,255,.028);box-shadow:none}
.project-smart-suggestion[hidden],.project-manual-fields[hidden]{display:none}
.project-analyzing{display:grid;place-items:center;min-height:112px;color:rgba(240,235,246,.64);font-size:14px;line-height:20px}
.project-analysis-status{--project-core-ink:218,225,238;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;width:min(420px,100%);gap:16px}
.project-analysis-status[data-core-theme="art"]{--project-core-ink:174,255,84}.project-analysis-status[data-core-theme="photography"]{--project-core-ink:222,229,239}.project-analysis-status[data-core-theme="design"]{--project-core-ink:74,202,255}.project-analysis-status[data-core-theme="fashion"]{--project-core-ink:235,48,144}.project-analysis-status[data-core-theme="nature"]{--project-core-ink:207,225,177}.project-analysis-status[data-core-theme="architecture"]{--project-core-ink:205,218,232}.project-analysis-status[data-core-theme="cinema"]{--project-core-ink:245,210,142}
.project-analysis-orb{width:56px;height:56px}
.project-analysis-copy{display:grid;gap:4px;min-width:0}
.project-analysis-status strong{font-size:15px;font-weight:620;color:rgba(250,247,252,.92)}
.project-analysis-status small{font-size:12px;color:rgba(239,233,246,.6)}
.project-analysis-status[data-state="completed"] strong{color:rgba(var(--project-core-ink),.96)}
.project-suggestion-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px;gap:16px}
.project-suggestion-content[hidden]{display:none}
.project-suggestion-content>label{display:grid;gap:8px;min-width:0}
.project-suggestion-content small,.project-suggestion-content>div>small{color:rgba(240,235,246,.68);font-size:13px;line-height:18px;letter-spacing:0}

/* Native select remains data-only. The visible control is fully Picart-owned. */
.project-suggestion-content select[hidden]{display:none!important}
.pica-select{position:relative;display:block;min-width:0}
.pica-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:50px;padding:0 15px;border:1px solid rgba(226,217,239,.14);border-radius:14px;background:rgba(255,255,255,.05);box-shadow:none;color:#fbf9fd;font:inherit;font-size:15px;font-weight:540;text-align:left}
.pica-select-trigger b{font-size:16px;font-weight:400;color:rgba(243,237,248,.55);transform:translateY(-2px);transition:transform .18s ease}
.pica-select.open .pica-select-trigger{border-color:rgba(209,188,238,.42);background:rgba(255,255,255,.065)}
.pica-select-trigger:disabled{opacity:.72;cursor:default}
.pica-select.open .pica-select-trigger b{transform:rotate(180deg) translateY(2px)}
.pica-select-menu{position:absolute;z-index:20;left:0;right:0;top:56px;display:none;padding:6px;border:1px solid rgba(226,217,239,.14);border-radius:14px;background:rgba(58,51,75,.99);box-shadow:0 18px 42px rgba(16,13,28,.3)}
.pica-select.open .pica-select-menu{display:grid}
.pica-select-menu button{height:38px;padding:0 10px;border:0;border-radius:9px;background:transparent;box-shadow:none;color:rgba(248,245,251,.76);font-size:14px;text-align:left}
.pica-select-menu button:hover,.pica-select-menu button[aria-selected="true"]{background:rgba(204,184,229,.13);color:#fff;box-shadow:none;filter:none}

.project-suggestion-count{display:grid;place-items:center;border:1px solid rgba(226,217,239,.11);border-radius:14px;background:rgba(255,255,255,.03)}
.project-suggestion-count strong{font-size:23px;line-height:27px;font-weight:620}.project-suggestion-count small{font-size:12px;letter-spacing:0}
.project-confidence-list,.project-tags-block,.project-style-block,.project-suggestion-actions{grid-column:1/-1}
.project-confidence-list{display:grid;gap:8px}
.project-confidence-list>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.project-confidence-list>div>button{display:flex;align-items:center;justify-content:space-between;gap:8px;height:40px;padding:0 12px;border:1px solid rgba(226,217,239,.1);border-radius:11px;background:rgba(255,255,255,.028);box-shadow:none;color:rgba(246,242,249,.68);font-size:12px}
.project-confidence-list>div>button strong{font-size:13px;font-weight:650;color:rgba(246,240,251,.82)}
.project-confidence-list>div>button.active{border-color:rgba(204,184,229,.3);background:rgba(204,184,229,.12);color:#fff}
.project-confidence-list>div>button:hover{background:rgba(255,255,255,.055);box-shadow:none;filter:none}
.project-mixed-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:2px;padding:11px 12px;border:1px solid rgba(218,199,238,.15);border-radius:12px;background:rgba(190,162,226,.07)}
.project-mixed-notice span{display:grid;gap:2px;color:rgba(241,235,247,.62);font-size:12px}.project-mixed-notice span strong{color:rgba(250,247,252,.88);font-size:13px}
.project-mixed-notice button{height:32px;padding:0 12px;border:1px solid rgba(220,205,240,.16);border-radius:9px;background:rgba(211,192,235,.12);box-shadow:none;color:rgba(249,246,252,.86);font-size:12px;white-space:nowrap}.project-mixed-notice button:hover{background:rgba(211,192,235,.2);box-shadow:none;filter:none}.project-mixed-notice button:disabled{opacity:.55}
.project-mixed-notice>div{display:flex;gap:8px;flex:0 0 auto}
.project-split-plan{display:grid!important;gap:10px!important;margin-top:8px;padding:14px;border:1px solid rgba(218,199,238,.14);border-radius:14px;background:rgba(255,255,255,.025)}
.project-split-plan>header{display:flex;align-items:end;justify-content:space-between}.project-split-plan>header strong{font-size:15px}.project-split-plan>header span{font-size:12px;color:rgba(241,235,247,.58)}
.project-split-plan>div{display:grid!important;gap:7px!important}.project-split-plan article{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;min-height:48px;padding:7px 9px;border-radius:11px;background:rgba(255,255,255,.035)}
.project-split-plan article>span{color:rgba(216,198,238,.55);font-size:11px}.project-split-plan article>div{display:grid}.project-split-plan article strong{font-size:13px}.project-split-plan article small{color:rgba(241,235,247,.55);font-size:11px}
.project-split-plan article button,.project-confirm-organize{border:0;box-shadow:none}.project-split-plan article button{padding:7px 9px;border-radius:8px;background:rgba(204,184,229,.1);color:rgba(248,244,251,.78);font-size:11px}.project-confirm-organize{height:40px;border-radius:11px;background:#c9b4e4;color:#3e344d;font-weight:650}
.project-preview-item.split-dimmed{opacity:.18;filter:saturate(.25)}
.project-organize-stage{position:absolute;z-index:100;inset:0;display:none;place-content:center;justify-items:center;padding:40px;background:rgba(45,39,60,.96);text-align:center}.project-organize-stage.visible{display:grid}.project-organize-stage strong{margin-top:16px;font-size:22px}.project-organize-stage p{color:rgba(244,239,248,.66);font-size:14px}/* Four-dot gathering motion shared with Picart Capture. The organizing surface is dark. */
.project-organize-spinner{position:relative;width:42px;height:42px;--loading-neutral:#a6a6a6;animation:picart-loading-orbit 1.5s linear infinite}
.project-organize-spinner i{position:absolute;left:34%;top:34%;width:32%;height:32%;border-radius:50%;background:#943dff;animation:picart-loading-spread 1.5s ease-in-out infinite;--x:0;--y:0}
.project-organize-spinner i:nth-child(1){--x:19%;--y:-19%}
.project-organize-spinner i:nth-child(2){--x:19%;--y:19%;background:var(--loading-neutral)}
.project-organize-spinner i:nth-child(3){--x:-19%;--y:19%}
.project-organize-spinner i:nth-child(4){--x:-19%;--y:-19%;background:var(--loading-neutral)}
@keyframes picart-loading-orbit{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes picart-loading-spread{0%,100%{translate:calc(var(--x) * .3) calc(var(--y) * .3)}50%{translate:calc(var(--x) * 3) calc(var(--y) * 3)}}
@media(prefers-reduced-motion:reduce){.project-organize-spinner,.project-organize-spinner i{animation:none}.project-organize-spinner i{translate:calc(var(--x) * 3) calc(var(--y) * 3)}}
.project-organize-success{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(205,184,231,.15);color:#e1cef3;font-size:28px}.project-organize-stage ol{display:grid;gap:7px;width:min(440px,80vw);margin:14px 0;padding:0;list-style:none}.project-organize-stage li{display:flex;justify-content:space-between;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.04);font-size:13px}.project-organize-stage li b{color:rgba(244,239,248,.6);font-weight:500}.project-organize-stage>small{color:rgba(244,239,248,.54)}
.category-new-dot{position:absolute;z-index:5;right:12px;top:12px;width:8px;height:8px;border:2px solid rgba(64,54,84,.9);border-radius:50%;background:#ff667a;box-shadow:0 0 0 3px rgba(255,102,122,.12)}

.project-suggestion-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:9px}
.project-suggestion-tags span{padding:7px 12px;border:1px solid rgba(224,214,237,.12);border-radius:999px;background:rgba(200,183,224,.09);color:rgba(249,246,252,.84);font-size:13px;line-height:18px}
.project-suggestion-content p{margin:7px 0 0;color:rgba(246,242,249,.76);font-size:14px;line-height:21px}
.project-ai-preview{grid-column:1/-1;display:grid;gap:10px;padding:13px;border:1px solid rgba(226,217,239,.1);border-radius:14px;background:rgba(255,255,255,.026)}
.project-ai-preview.loading{color:rgba(240,235,246,.58);font-size:13px}
.project-ai-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-ai-preview header strong{font-size:14px;color:rgba(250,247,252,.92)}.project-ai-preview header span{font-size:12px;color:rgba(216,198,238,.76)}
.project-ai-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.project-ai-preview-grid div{display:grid;gap:3px;min-width:0;padding:8px 9px;border-radius:10px;background:rgba(255,255,255,.032)}.project-ai-preview-grid small{font-size:11px!important;color:rgba(240,235,246,.52)!important}.project-ai-preview-grid b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(250,247,252,.86);font-size:12px;font-weight:620}
.project-ai-preview-explanation{margin:0!important;color:rgba(246,242,249,.66)!important;font-size:12px!important;line-height:18px!important}
.project-suggestion-actions{display:flex;align-items:center;gap:10px}
.project-suggestion-actions button{min-height:39px;padding:0 15px;border:1px solid rgba(226,217,239,.12);border-radius:11px;background:transparent;box-shadow:none;color:rgba(247,243,250,.7);font-size:13px;font-weight:540}
.project-suggestion-actions button:first-child{border-color:transparent;background:#c9b4e4;color:#3e344d;font-weight:650}
.project-suggestion-actions button:hover{background:rgba(255,255,255,.065);box-shadow:none!important;filter:none!important;color:#fff}
.project-suggestion-actions button:first-child:hover{background:#d0bae7;color:#382f46}
.project-suggestion-content.accepted #project-accept-suggestion{border-color:rgba(184,216,191,.22);background:rgba(176,213,185,.13);color:#dff0e2}

.project-manual-fields{display:grid;gap:13px}.project-manual-fields>input{height:48px!important;padding:0 15px!important;border:1px solid rgba(226,217,239,.13)!important;border-radius:13px!important;background:rgba(255,255,255,.045)!important;box-shadow:none!important;font-size:15px!important}.project-manual-fields .project-grid{gap:9px}.project-manual-fields .project-grid button{height:40px;border:1px solid rgba(226,217,239,.11);border-radius:11px;background:rgba(255,255,255,.04);box-shadow:none;color:rgba(247,243,250,.76);font-size:13px}.project-manual-fields .project-grid button:hover{box-shadow:none!important;filter:none!important}.project-manual-fields .project-grid button.selected{background:rgba(204,185,229,.18);color:#fff}
#project-dialog .create-project{height:50px;border:0;border-radius:14px;background:#c9b4e4;box-shadow:none;color:#3d334b;font-size:15px;font-weight:680}
#project-dialog .create-project:hover{background:#d0bae7;box-shadow:none!important;filter:none!important}

@media(max-height:900px){#project-dialog form{gap:10px;padding:20px 30px 24px}#project-dialog .project-upload{min-height:174px!important;padding:13px!important}#project-dialog .project-upload-preview{grid-auto-rows:72px!important;max-height:152px!important}#project-dialog .project-preview-item,#project-dialog .project-upload-preview img{height:72px!important}.project-smart-suggestion,.project-manual-fields{padding:13px 16px}.project-suggestion-content{gap:9px}.project-suggestion-content p{line-height:18px}.project-confidence-list>div>button{height:34px}.project-mixed-notice{padding:8px 10px}}
@media(max-width:760px){#project-dialog{width:calc(100vw - 32px)}#project-dialog form{padding:26px 22px}.project-suggestion-content{grid-template-columns:1fr 1fr}.project-suggestion-count{grid-column:1/-1;min-height:50px;grid-template-columns:auto auto;gap:6px;justify-content:center}#project-dialog .project-upload-preview{grid-template-columns:repeat(3,1fr)!important}.project-suggestion-actions{flex-wrap:wrap}}

/* Collection creation uses internal scrolling without browser chrome. */
#project-dialog,#project-dialog form{overflow:hidden!important}
#project-dialog .project-smart-suggestion,#project-dialog .project-manual-fields,#project-dialog .project-upload-preview{scrollbar-width:none!important;-ms-overflow-style:none!important}
#project-dialog .project-smart-suggestion::-webkit-scrollbar,#project-dialog .project-manual-fields::-webkit-scrollbar,#project-dialog .project-upload-preview::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* P1.5 final layout override: do not turn a short result into a needless scroll pane. */
#project-dialog{height:auto!important;max-height:calc(100vh - 48px)}
#project-dialog form{height:auto!important;grid-template-rows:auto auto minmax(184px,auto) auto auto!important;overflow:visible!important}
#project-dialog .project-smart-suggestion{overflow:visible!important}
#project-dialog .project-suggestion-content[data-disclosure-stage="summary"],#project-dialog .project-suggestion-content[data-disclosure-stage="review"]{overflow:visible}
#project-dialog .project-analysis-stage{max-height:min(420px,calc(100vh - 420px))}
@media(max-height:780px){#project-dialog{height:min(760px,calc(100vh - 32px))!important}#project-dialog form{height:100%!important;grid-template-rows:auto auto minmax(142px,.7fr) minmax(180px,1fr) auto!important;overflow:hidden!important}#project-dialog .project-smart-suggestion{overflow-y:auto!important}}


/* P1.6 summary terminal guard: completed analysis never remains as a second task,
   and the card row is allowed to yield space to the persistent decision actions. */
#project-dialog .project-analyzing[hidden]{display:none!important}
#project-dialog[data-classification-stage="summary"] .project-organize-summary{grid-template-rows:auto minmax(104px,1fr) auto!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-organize-distribution{min-height:0!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-summary-card{min-height:0!important;overflow:hidden!important;grid-template-rows:auto minmax(0,1fr) auto 4px!important}
#project-dialog[data-classification-stage="summary"] .project-organize-actions{flex:0 0 auto!important;min-height:40px!important}

/* WebKit compact-window fallback: explicit flex sizing avoids a grid free-space
   calculation collapsing the cards while the dialog is being resized. */
#project-dialog[data-classification-stage="summary"] .project-organize-summary{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;height:100%!important;min-height:0!important}
#project-dialog[data-classification-stage="summary"] .project-organize-summary-head{flex:0 0 auto!important}
#project-dialog[data-classification-stage="summary"] .project-organize-distribution{flex:0 0 clamp(112px,20vh,142px)!important;height:clamp(112px,20vh,142px)!important;grid-auto-rows:1fr!important}
#project-dialog[data-classification-stage="summary"] .project-organize-actions{display:flex!important;flex:0 0 40px!important;margin:0!important}
@media(max-height:700px){#project-dialog[data-classification-stage="summary"] .project-organize-summary{gap:10px!important}#project-dialog[data-classification-stage="summary"] .project-organize-distribution{flex-basis:112px!important;height:112px!important}#project-dialog[data-classification-stage="summary"] .project-organize-actions{flex-basis:38px!important;min-height:38px!important}}

/* The dialog previously used legacy grid tracks from several import iterations.
   Summary owns a single task, so a flex column provides deterministic remaining space
   at every native macOS window height. */
#project-dialog[data-classification-stage="summary"] form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;height:100%!important;min-height:0!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-dialog-head,#project-dialog[data-classification-stage="summary"] .project-mode-copy{flex:0 0 auto!important}
#project-dialog[data-classification-stage="summary"] .project-upload{flex:0 0 120px!important}
#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{display:block!important;flex:1 1 auto!important;min-height:244px!important}
@media(max-height:700px){#project-dialog[data-classification-stage="summary"] form{gap:10px!important}#project-dialog[data-classification-stage="summary"] .project-upload{flex-basis:104px!important}#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{min-height:224px!important}}

/* Native WKWebView resize uses explicit stage anchors instead of nested free-space
   layout. This keeps the decision surface intact while the macOS window changes size. */
#project-dialog[data-classification-stage="summary"] form{position:relative!important;display:block!important;height:100%!important;padding:24px 32px!important}
#project-dialog[data-classification-stage="summary"] .project-dialog-head{position:absolute!important;top:24px;left:32px;right:32px;height:52px}
#project-dialog[data-classification-stage="summary"] .project-mode-copy{position:absolute!important;top:82px;left:34px;right:34px;height:20px}
#project-dialog[data-classification-stage="summary"] .project-upload{position:absolute!important;top:120px;left:32px;right:32px;width:auto!important;height:120px!important}
#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{position:absolute!important;top:252px;left:32px;right:32px;bottom:24px;width:auto!important;height:auto!important;min-height:0!important}
@media(max-height:700px){#project-dialog[data-classification-stage="summary"] form{padding:16px 24px!important}#project-dialog[data-classification-stage="summary"] .project-dialog-head{top:16px;left:24px;right:24px;height:48px}#project-dialog[data-classification-stage="summary"] .project-mode-copy{display:none!important}#project-dialog[data-classification-stage="summary"] .project-upload{top:74px;left:24px;right:24px;height:104px!important}#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{top:190px;left:24px;right:24px;bottom:16px}}

/* P1.6 Step 1: one fixed classification stage. Summary is a decision surface,
   not a vertical report; detail states remain available but hidden until requested. */
#project-dialog[data-classification-stage="summary"]{width:min(900px,calc(100vw - 72px))!important;height:min(720px,calc(100dvh - 56px))!important;max-height:calc(100dvh - 56px)!important}
#project-dialog[data-classification-stage="summary"] form{display:grid!important;grid-template-rows:auto auto 120px minmax(244px,1fr)!important;gap:12px!important;height:100%!important;padding:24px 32px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-upload{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;align-items:center!important;height:120px!important;min-height:120px!important;padding:12px 14px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-upload-copy{justify-content:flex-start!important;min-width:0}
#project-dialog[data-classification-stage="summary"] .project-upload-preview{display:flex!important;grid-column:auto!important;align-items:center!important;gap:8px!important;width:100%!important;height:76px!important;max-height:76px!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
#project-dialog[data-classification-stage="summary"] .project-upload-preview:empty{display:none!important}
#project-dialog[data-classification-stage="summary"] .project-upload-preview::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#project-dialog[data-classification-stage="summary"] .project-preview-item,#project-dialog[data-classification-stage="summary"] .project-upload-preview img{flex:0 0 72px!important;width:72px!important;height:72px!important;border-radius:10px!important}
#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{height:100%!important;min-height:0!important;padding:18px 20px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="summary"] .project-suggestion-content{height:100%!important;min-height:0!important}
#project-dialog[data-classification-stage="summary"] .project-organize-summary{grid-template-rows:auto minmax(0,1fr) auto!important;gap:16px!important;height:100%!important;padding:0!important}
#project-dialog[data-classification-stage="summary"] .project-organize-summary-head{gap:12px}
#project-dialog[data-classification-stage="summary"] .project-organize-summary-head strong{font-size:19px!important;line-height:24px!important}
#project-dialog[data-classification-stage="summary"] .project-organize-distribution{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:10px!important;min-height:0!important}
#project-dialog[data-classification-stage="summary"] .project-summary-card{display:grid;grid-template-rows:auto 1fr auto 4px;align-content:start;gap:5px;min-width:0;padding:14px 14px 12px;border:1px solid rgba(226,217,239,.1);border-radius:14px;background:rgba(255,255,255,.028);color:rgba(247,243,250,.78);transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s ease,border-color .2s ease}
#project-dialog[data-classification-stage="summary"] button.project-summary-card{width:100%;font:inherit;text-align:left;cursor:pointer}
#project-dialog[data-classification-stage="summary"] .project-summary-card.is-leading{background:rgba(203,185,230,.095);border-color:rgba(220,204,241,.2)}
#project-dialog[data-classification-stage="summary"] .project-summary-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.055);border-color:rgba(230,218,245,.25)}
#project-dialog[data-classification-stage="summary"] .project-summary-card small,#project-dialog[data-classification-stage="summary"] .project-summary-card-cn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#project-dialog[data-classification-stage="summary"] .project-summary-card small{font-size:12px!important;line-height:17px!important;color:rgba(242,236,248,.72)!important}
#project-dialog[data-classification-stage="summary"] .project-summary-card strong{align-self:end;color:#fbf9fd;font-size:30px;line-height:33px;font-weight:630;letter-spacing:-.03em}
#project-dialog[data-classification-stage="summary"] .project-summary-card-cn{font-size:12px;line-height:16px;color:rgba(238,231,246,.5)}
#project-dialog[data-classification-stage="summary"] .project-summary-card i{display:block;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.13)}
#project-dialog[data-classification-stage="summary"] .project-summary-card i b{display:block;width:var(--summary-confidence);height:100%;border-radius:inherit;background:rgba(228,217,244,.88)}
#project-dialog[data-classification-stage="summary"] .project-organize-actions{gap:10px}
#project-dialog[data-classification-stage="summary"] .project-organize-actions button{height:40px!important}
#project-dialog[data-classification-stage="summary"] .project-organize-actions #project-view-analysis{margin-left:auto!important}
#project-dialog[data-classification-stage="focus"]{width:min(900px,calc(100vw - 72px))!important;height:min(720px,calc(100dvh - 56px))!important;max-height:calc(100dvh - 56px)!important}
#project-dialog[data-classification-stage="focus"] form{display:grid!important;grid-template-rows:auto auto 120px minmax(244px,1fr)!important;gap:12px!important;height:100%!important;padding:24px 32px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="focus"] .project-upload{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;align-items:center!important;height:120px!important;min-height:120px!important;padding:12px 14px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="focus"] .project-upload-preview{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;height:76px!important;max-height:76px!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
#project-dialog[data-classification-stage="focus"] .project-preview-item,#project-dialog[data-classification-stage="focus"] .project-upload-preview img{flex:0 0 72px!important;width:72px!important;height:72px!important;border-radius:10px!important}
#project-dialog[data-classification-stage="focus"] .project-smart-suggestion{height:100%!important;min-height:0!important;padding:18px 20px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="focus"] .project-suggestion-content{height:100%!important;min-height:0!important}
.project-drilldown-stage{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;height:100%;min-height:0}.project-stage-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-stage-header>span{color:rgba(240,235,246,.56);font-size:12px}.project-machine-selection{min-height:0;overflow-y:auto;scrollbar-width:none}.project-machine-selection::-webkit-scrollbar{display:none}.project-machine-selected{display:grid;gap:3px;margin-bottom:12px;padding:12px 14px;border-bottom:1px solid rgba(226,217,239,.1)}.project-machine-selected strong{font-size:18px;font-weight:630}.project-machine-selected small{color:rgba(240,235,246,.56);font-size:12px}.project-machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.project-machine-tile{display:grid;min-height:72px;padding:12px;border:1px solid rgba(226,217,239,.11);border-radius:12px;background:rgba(255,255,255,.026);color:rgba(248,245,251,.82);text-align:left;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s ease,border-color .2s ease}.project-machine-tile:hover,.project-machine-tile:focus-visible{transform:translateY(-1px);border-color:rgba(220,204,241,.28);background:rgba(203,185,230,.08)}.project-machine-tile.is-recommended{border-color:rgba(220,204,241,.26);background:rgba(203,185,230,.09)}.project-machine-tile strong{overflow:hidden;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.project-machine-tile small{margin-top:3px;overflow:hidden;color:rgba(240,235,246,.52);font-size:11px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}
.project-focus-stage{display:grid;align-content:start;gap:18px;height:100%;min-height:0}.project-stage-back{justify-self:start;border:0;background:transparent;color:rgba(230,214,245,.75);font-size:12px;text-decoration:underline;text-underline-offset:3px}.project-focus-card{display:grid;grid-template-rows:auto auto 5px auto auto;gap:13px;min-height:0;padding:22px;border:1px solid rgba(220,204,241,.2);border-radius:18px;background:rgba(203,185,230,.075);animation:project-focus-enter .22s cubic-bezier(.2,.8,.2,1)}.project-focus-card-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.project-focus-card-heading>div{display:grid;gap:4px;min-width:0}.project-focus-card-heading small{overflow:hidden;color:#fbf9fd;font-size:25px;line-height:30px;font-weight:640;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}.project-focus-card-heading span{color:rgba(238,231,246,.55);font-size:13px}.project-focus-card-heading strong{color:#fbf9fd;font-size:36px;line-height:38px;letter-spacing:-.04em}.project-focus-card>p{margin:0;color:rgba(240,235,246,.58);font-size:12px}.project-focus-card>i{display:block;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.13)}.project-focus-card>i b{display:block;width:var(--summary-confidence);height:100%;border-radius:inherit;background:rgba(228,217,244,.88)}.project-focus-actions{display:flex;flex-wrap:wrap;gap:10px}.project-focus-actions button{height:40px;padding:0 14px;border:1px solid rgba(226,217,239,.13);border-radius:12px;background:rgba(255,255,255,.04);color:rgba(248,245,251,.82);font-size:13px}.project-focus-actions button:first-child{border-color:transparent;background:#c9b4e4;color:#3d334b;font-weight:680}.project-focus-reason{justify-self:start;border:0;background:transparent;color:rgba(230,214,245,.7);font-size:12px;text-decoration:underline;text-underline-offset:3px}@keyframes project-focus-enter{from{opacity:.58;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
@media(max-height:700px){#project-dialog[data-classification-stage="summary"]{height:calc(100dvh - 28px)!important;max-height:calc(100dvh - 28px)!important}#project-dialog[data-classification-stage="summary"] form{grid-template-rows:auto auto 104px minmax(224px,1fr)!important;padding:16px 24px!important}#project-dialog[data-classification-stage="summary"] .project-mode-copy{display:none!important}#project-dialog[data-classification-stage="summary"] .project-upload{height:104px!important;min-height:104px!important}#project-dialog[data-classification-stage="summary"] .project-upload-preview{height:62px!important;max-height:62px!important}#project-dialog[data-classification-stage="summary"] .project-preview-item,#project-dialog[data-classification-stage="summary"] .project-upload-preview img{flex-basis:60px!important;width:60px!important;height:60px!important}#project-dialog[data-classification-stage="summary"] .project-smart-suggestion{padding:14px 16px!important}#project-dialog[data-classification-stage="summary"] .project-organize-summary{gap:10px!important}#project-dialog[data-classification-stage="summary"] .project-summary-card{padding:10px 11px 9px}#project-dialog[data-classification-stage="summary"] .project-summary-card strong{font-size:25px;line-height:28px}}

/* P1.5 progressive disclosure: the completed result is the default, controls are opt-in. */
#project-dialog form{grid-template-rows:auto auto minmax(184px,.82fr) minmax(194px,.76fr) auto}
.project-mode-tabs[hidden]{display:none!important}
.project-mode-copy{display:flex;align-items:center;gap:8px;margin:0 2px;color:rgba(239,234,246,.62);font-size:13px;line-height:19px}
.project-mode-copy button{border:0;background:transparent;color:rgba(234,219,249,.88);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.project-suggestion-content{display:block!important;min-height:0}
.project-suggestion-content[hidden]{display:none!important}
.project-suggestion-content>[hidden]{display:none!important}
.project-organize-summary{display:grid;gap:18px;min-height:0;padding:4px 2px}
.project-organize-summary-head{display:flex;align-items:center;gap:13px}.project-organize-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(202,184,229,.14);color:#dfcef3;font-size:17px}.project-organize-summary-head>div{display:grid;gap:3px}.project-organize-summary-head strong{color:#faf8fc;font-size:18px;font-weight:630;letter-spacing:-.015em}.project-organize-summary-head small{color:rgba(240,235,246,.62);font-size:13px;line-height:18px}
.project-organize-distribution{display:flex;flex-wrap:wrap;gap:8px}.project-organize-distribution span{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(226,217,239,.1);border-radius:999px;background:rgba(255,255,255,.035);color:rgba(247,243,250,.76);font-size:13px;line-height:18px}.project-organize-distribution b{color:#faf8fc;font-size:12px;font-weight:650}
.project-organize-actions{display:flex;align-items:center;gap:10px}.project-organize-actions button{height:42px;padding:0 15px;border:1px solid rgba(226,217,239,.13);border-radius:12px;background:rgba(255,255,255,.04);box-shadow:none;color:rgba(248,245,251,.8);font-size:13px;font-weight:560}.project-organize-actions #project-complete-organizing{border-color:transparent;background:#c9b4e4;color:#3d334b;font-weight:680}.project-organize-actions #project-complete-organizing:disabled{opacity:.42;cursor:not-allowed}.project-organize-actions #project-view-analysis{margin-left:auto;border-color:transparent;background:transparent;color:rgba(230,214,245,.74)}.project-organize-actions button:hover{box-shadow:none!important;filter:none!important;background:rgba(255,255,255,.08)}.project-organize-actions #project-complete-organizing:hover{background:#d0bae7}
.project-review-stage,.project-analysis-stage{display:grid;gap:16px;min-height:0}.project-review-stage>header,.project-analysis-stage>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.project-review-stage header>div,.project-analysis-stage header>div{display:grid;gap:3px}.project-review-stage header small,.project-analysis-stage header small{color:rgba(220,203,239,.58);font-size:11px;letter-spacing:.1em}.project-review-stage header strong,.project-analysis-stage header strong{font-size:16px;line-height:22px;font-weight:620}.project-review-stage>header>button,.project-analysis-stage>header>button{border:0;background:transparent;color:rgba(231,216,246,.72);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.project-analysis-stage{padding-right:2px;overflow-y:auto;overscroll-behavior:contain}.project-analysis-card{display:grid;gap:9px;padding:14px 0;border-top:1px solid rgba(226,217,239,.1)}.project-analysis-card:first-of-type{border-top:0;padding-top:0}.project-analysis-card>small{color:rgba(240,235,246,.58);font-size:12px}.project-hidden-select,.project-analysis-card .pica-select{display:none!important}.project-analysis-card .project-suggestion-count{display:none}.project-analysis-card .project-confidence-list{margin:0}.project-analysis-card .project-suggestion-tags{margin:0}.project-analysis-card .project-style-block p{margin:0}.project-analysis-card .project-ai-preview{display:none!important}
.project-review-complete{margin:0;padding:15px 0;color:rgba(240,235,246,.66);font-size:13px;line-height:20px}
.project-review-stage .project-asset-review{padding-top:0;border-top:0}.project-review-stage .project-asset-review>header{display:none}.project-review-stage .project-asset-review-list{max-height:160px}.project-review-stage .project-asset-inspector{margin-top:2px}
.project-asset-editor{grid-column:2/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-asset-editor[hidden]{display:none}.project-asset-editor label{display:grid;gap:5px;min-width:0}
@media(max-height:780px){#project-dialog form{grid-template-rows:auto auto minmax(150px,.72fr) minmax(174px,.84fr) auto}.project-organize-summary{gap:12px}.project-organize-actions button{height:38px}.project-analysis-stage{gap:10px}}

/* The light summary and a single-item decision belong in one complete surface. */
#project-dialog{height:auto;max-height:calc(100vh - 48px)}
#project-dialog form{height:auto;grid-template-rows:auto auto minmax(184px,auto) auto auto;overflow:visible!important}
#project-dialog .project-smart-suggestion{overflow:visible!important}
#project-dialog .project-suggestion-content[data-disclosure-stage="summary"],#project-dialog .project-suggestion-content[data-disclosure-stage="review"]{overflow:visible}
#project-dialog .project-analysis-stage{max-height:min(420px,calc(100vh - 420px))}
@media(max-height:780px){#project-dialog{height:min(760px,calc(100vh - 32px))}#project-dialog form{height:100%;grid-template-rows:auto auto minmax(142px,.7fr) minmax(180px,1fr) auto;overflow:hidden!important}#project-dialog .project-smart-suggestion{overflow-y:auto!important}}

/* P1.6 terminal overflow policy: a single contained content plane, never native white rails. */
#project-dialog[data-classification-stage]{overflow:hidden!important}
#project-dialog[data-classification-stage] form,#project-dialog[data-classification-stage] .project-smart-suggestion,#project-dialog[data-classification-stage] .project-suggestion-content{min-width:0!important;min-height:0!important;overflow:hidden!important}
#project-dialog[data-classification-stage] .project-analysis-stage,#project-dialog[data-classification-stage] .project-review-stage,#project-dialog[data-classification-stage] .project-drilldown-stage{min-width:0!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:none!important;-ms-overflow-style:none!important}
#project-dialog[data-classification-stage] .project-analysis-stage::-webkit-scrollbar,#project-dialog[data-classification-stage] .project-review-stage::-webkit-scrollbar,#project-dialog[data-classification-stage] .project-drilldown-stage::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}
#project-dialog[data-classification-stage] .project-analysis-card,#project-dialog[data-classification-stage] .project-analysis-card *{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#project-dialog[data-classification-stage] *{scrollbar-width:none!important;-ms-overflow-style:none!important}
#project-dialog[data-classification-stage] *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}
#project-dialog[data-classification-stage="analysis"] .project-analysis-stage{overflow-x:clip!important}

/* Summary cards elevate inside a reserved safety gutter; hover never escapes the fixed stage. */
#project-dialog[data-classification-stage="summary"] .project-organize-distribution{grid-template-columns:repeat(auto-fit,minmax(min(100%,168px),1fr))!important;overflow:visible!important;margin:-4px!important;padding:4px!important}
#project-dialog[data-classification-stage="summary"] .project-summary-card{min-width:0!important;will-change:transform}
#project-dialog[data-classification-stage="summary"] .project-summary-card:hover,#project-dialog[data-classification-stage="summary"] .project-summary-card:focus-visible{transform:translateY(-2px)!important}
@media(max-width:640px){#project-dialog[data-classification-stage="summary"] .project-organize-distribution{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Per-asset review: one unresolved image at a time, no batch-list overload. */
#project-dialog[data-classification-stage="review"]{width:min(900px,calc(100vw - 72px))!important;height:min(720px,calc(100dvh - 56px))!important;max-height:calc(100dvh - 56px)!important}
#project-dialog[data-classification-stage="review"] form{display:grid!important;grid-template-rows:auto auto 120px minmax(244px,1fr)!important;gap:12px!important;height:100%!important;padding:24px 32px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="review"] .project-upload{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;align-items:center!important;height:120px!important;min-height:120px!important;padding:12px 14px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="review"] .project-smart-suggestion,#project-dialog[data-classification-stage="review"] .project-suggestion-content{height:100%!important;min-height:0!important;padding:18px 20px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="review"] .project-review-stage{height:100%!important;overflow:hidden!important}
.project-review-single{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);gap:14px;min-height:0;height:100%}.project-review-single>img{width:100%;height:100%;min-height:170px;border-radius:14px;object-fit:cover}.project-review-decision{display:grid;align-content:center;gap:13px;min-width:0}.project-review-decision>small{overflow:hidden;color:rgba(240,235,246,.58);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.project-review-decision>div{display:grid;gap:4px}.project-review-decision strong{font-size:21px;line-height:26px}.project-review-decision span{color:rgba(240,235,246,.56);font-size:13px}.project-review-decision b{font-size:30px;line-height:34px;letter-spacing:-.04em}.project-review-decision>p{margin:0;color:rgba(240,235,246,.58);font-size:12px}.project-review-actions{display:flex;flex-wrap:wrap;gap:9px}.project-review-actions button{height:38px;padding:0 12px;border:1px solid rgba(226,217,239,.13);border-radius:11px;background:rgba(255,255,255,.04);color:rgba(248,245,251,.82);font-size:12px}.project-review-actions button:first-child{border-color:transparent;background:#c9b4e4;color:#3d334b;font-weight:680}

/* Analysis Inspector v0.1: concise evidence in the same fixed operating stage. */
#project-dialog[data-classification-stage="inspector"]{width:min(900px,calc(100vw - 72px))!important;height:min(720px,calc(100dvh - 56px))!important;max-height:calc(100dvh - 56px)!important}
#project-dialog[data-classification-stage="inspector"] form{display:grid!important;grid-template-rows:auto auto 120px minmax(244px,1fr)!important;gap:12px!important;height:100%!important;padding:24px 32px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="inspector"] .project-upload{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;align-items:center!important;height:120px!important;min-height:120px!important;padding:12px 14px!important;overflow:hidden!important}
#project-dialog[data-classification-stage="inspector"] .project-smart-suggestion,#project-dialog[data-classification-stage="inspector"] .project-suggestion-content,#project-dialog[data-classification-stage="inspector"] .project-inspector-stage{height:100%!important;min-height:0!important;overflow:hidden!important}
.project-inspector-stage{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;min-width:0}.project-inspector-content{display:grid;align-content:start;gap:15px;min-width:0;overflow-y:auto;overscroll-behavior:contain}.project-inspector-content>section{display:grid;gap:9px;padding-bottom:14px;border-bottom:1px solid rgba(226,217,239,.1)}.project-inspector-content>section>small{color:rgba(240,235,246,.58);font-size:12px}.project-inspector-rankings{display:grid;gap:8px}.project-inspector-ranking{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center}.project-inspector-ranking span{overflow:hidden;color:rgba(248,245,251,.86);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.project-inspector-ranking em{color:rgba(240,235,246,.5);font-style:normal}.project-inspector-ranking b{font-size:13px}.project-inspector-ranking i{grid-column:1/-1;display:block;height:4px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.09)}.project-inspector-ranking u{display:block;width:var(--project-inspector-confidence);height:100%;border-radius:inherit;background:rgba(207,185,231,.78);text-decoration:none}.project-inspector-tags{display:flex;flex-wrap:wrap;gap:7px}.project-inspector-tags span{padding:6px 9px;border:1px solid rgba(226,217,239,.12);border-radius:999px;background:rgba(255,255,255,.035);color:rgba(247,243,250,.76);font-size:12px;line-height:16px}.project-inspector-content p{margin:0;max-width:65ch;color:rgba(246,242,249,.76);font-size:13px;line-height:20px}.project-inspector-details{padding-top:2px;color:rgba(240,235,246,.64);font-size:12px}.project-inspector-details summary{cursor:pointer;list-style:none}.project-inspector-details summary::-webkit-details-marker{display:none}.project-inspector-details summary::after{content:"⌄";margin-left:7px}.project-inspector-details[open] summary::after{content:"⌃"}.project-inspector-details dl{display:grid;gap:7px;margin:10px 0 0}.project-inspector-details dl>div{display:flex;justify-content:space-between;gap:16px}.project-inspector-details dt{color:rgba(240,235,246,.5)}.project-inspector-details dd{margin:0;color:rgba(248,245,251,.74);text-align:right}

/* Classification review keeps AI evidence and user decisions separate. */
.project-asset-review{display:grid;gap:12px;padding-top:4px;border-top:1px solid rgba(226,217,239,.1)}
.project-asset-review>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.project-asset-review>header>div:first-child{display:grid;gap:3px}.project-asset-review>header strong{font-size:15px;line-height:20px}.project-asset-review>header small{color:rgba(240,235,246,.58);font-size:12px;line-height:18px}
.project-asset-review-batch{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.project-asset-review-batch button,.project-asset-inspector-actions button{min-height:32px;padding:0 10px;border:1px solid rgba(226,217,239,.14);border-radius:9px;background:rgba(255,255,255,.04);color:rgba(248,245,251,.78);font-size:12px}.project-asset-review-batch button:hover,.project-asset-inspector-actions button:hover{background:rgba(255,255,255,.09);color:#fff}
.project-asset-review-list{display:grid;gap:7px;max-height:184px;padding-right:4px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(214,200,232,.28) transparent}.project-asset-review-list::-webkit-scrollbar{width:7px}.project-asset-review-list::-webkit-scrollbar-track{background:transparent}.project-asset-review-list::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background:rgba(214,200,232,.28);background-clip:padding-box}
.project-asset-review-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px;border:1px solid rgba(226,217,239,.1);border-radius:12px;background:rgba(255,255,255,.022);color:var(--primary);text-align:left}.project-asset-review-row:hover,.project-asset-review-row.active{border-color:rgba(204,184,229,.3);background:rgba(204,184,229,.08)}.project-asset-review-row img{display:block;width:40px;height:40px;border-radius:8px;object-fit:cover}.project-asset-review-row>span{display:grid;min-width:0;gap:2px}.project-asset-review-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:18px}.project-asset-review-row small{overflow:hidden;color:rgba(240,235,246,.58);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.project-asset-review-row em{padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.06);color:rgba(246,242,249,.7);font-size:11px;font-style:normal;white-space:nowrap}.project-asset-review-row em[data-state="confirmed"]{background:rgba(191,243,203,.1);color:#dff0e2}.project-asset-review-row em[data-state="modified"]{background:rgba(204,184,229,.13);color:#eadcf8}.project-asset-review-row em[data-state="unclassified"]{background:rgba(255,183,169,.1);color:#ffd3cb}
.project-asset-inspector{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(120px,.8fr) minmax(120px,.8fr);gap:10px;padding:12px;border:1px solid rgba(226,217,239,.1);border-radius:13px;background:rgba(255,255,255,.025)}.project-asset-inspector>div:first-child{display:grid;align-content:start;gap:4px;min-width:0}.project-asset-inspector small{color:rgba(240,235,246,.58);font-size:11px;line-height:16px}.project-asset-inspector strong{overflow:hidden;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.project-asset-inspector p{margin:0;color:rgba(246,242,249,.65);font-size:12px;line-height:18px}.project-asset-inspector label{display:grid;align-content:start;gap:5px;min-width:0}.project-asset-inspector select{width:100%;min-width:0;height:36px;padding:0 8px;border:1px solid rgba(226,217,239,.14);border-radius:9px;background:rgba(255,255,255,.05);color:#fff;font-size:12px}.project-asset-inspector-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.project-asset-inspector-actions button:first-child{border-color:transparent;background:#c9b4e4;color:#3e344d;font-weight:650}
@media(max-width:760px){.project-asset-review>header{align-items:flex-start;flex-direction:column}.project-asset-review-batch{justify-content:flex-start}.project-asset-inspector{grid-template-columns:1fr}.project-asset-inspector-actions{grid-column:auto}}

/* Fixed desktop shell: only the image grid and result region scroll. */
#project-dialog{width:min(900px,calc(100vw - 72px));height:min(880px,calc(100vh - 48px));max-height:calc(100vh - 48px);overflow:hidden}
#project-dialog form{display:grid;grid-template-rows:auto auto auto minmax(180px,.8fr) minmax(250px,1.2fr) auto;gap:12px;height:100%;overflow:hidden;padding:24px 32px 26px}
.project-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.project-dialog-head>div{display:grid;gap:5px}.project-dialog-head small{color:rgba(239,234,246,.58);font-size:12px;line-height:16px;letter-spacing:.12em}
#project-dialog .dialog-close{position:static;flex:0 0 38px;margin:0}
#project-dialog .project-upload{height:100%;min-height:0!important;padding:12px!important;overflow:hidden}
#project-dialog .project-upload-copy{min-height:44px}
#project-dialog .project-upload-preview{grid-auto-rows:74px!important;min-height:0!important;max-height:none!important}
#project-dialog .project-preview-item,#project-dialog .project-upload-preview img{height:74px!important}
.project-smart-suggestion,.project-manual-fields{min-height:0;padding:16px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(214,200,232,.25) transparent}
.project-smart-suggestion::-webkit-scrollbar,.project-manual-fields::-webkit-scrollbar{width:7px}.project-smart-suggestion::-webkit-scrollbar-track,.project-manual-fields::-webkit-scrollbar-track{background:transparent}.project-smart-suggestion::-webkit-scrollbar-thumb,.project-manual-fields::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background:rgba(214,200,232,.28);background-clip:padding-box}
.project-suggestion-actions{position:sticky;z-index:5;bottom:-16px;margin:4px -18px -16px;padding:11px 18px 16px;background:rgba(55,49,72,.98);border-top:1px solid rgba(226,217,239,.08)}
.project-confirmation-note{margin:0!important;padding:8px 10px;border-radius:10px;background:rgba(224,192,128,.08);color:rgba(244,223,180,.8)!important;font-size:12px!important}
@media(max-height:780px){#project-dialog form{grid-template-rows:auto auto auto minmax(145px,.7fr) minmax(210px,1.3fr) auto;padding:16px 24px 18px}.project-mode-copy{display:none}#project-dialog .project-upload-preview{grid-auto-rows:62px!important}#project-dialog .project-preview-item,#project-dialog .project-upload-preview img{height:62px!important}}

/* Final Collection modal scrollbar policy. */
#project-dialog,#project-dialog form{overflow:hidden!important}
#project-dialog .project-smart-suggestion,#project-dialog .project-manual-fields,#project-dialog .project-upload-preview{scrollbar-width:none!important;-ms-overflow-style:none!important}
#project-dialog .project-smart-suggestion::-webkit-scrollbar,#project-dialog .project-manual-fields::-webkit-scrollbar,#project-dialog .project-upload-preview::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* P1.5 terminal override: compact results use their natural height. */
#project-dialog{height:auto!important;max-height:calc(100vh - 48px)}
#project-dialog form{height:auto!important;grid-template-rows:auto auto minmax(184px,auto) auto auto!important;overflow:visible!important}
#project-dialog .project-smart-suggestion{overflow:visible!important}
#project-dialog .project-suggestion-content[data-disclosure-stage="summary"],#project-dialog .project-suggestion-content[data-disclosure-stage="review"]{overflow:visible}
#project-dialog .project-analysis-stage{max-height:min(420px,calc(100vh - 420px))}
@media(max-height:780px){#project-dialog{height:min(760px,calc(100vh - 32px))!important}#project-dialog form{height:100%!important;grid-template-rows:auto auto minmax(142px,.7fr) minmax(180px,1fr) auto!important;overflow:hidden!important}#project-dialog .project-smart-suggestion{overflow-y:auto!important}}
/* Approved create-category composition: keep the gallery and analysis in two stable columns. */
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])){
  position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;margin:0!important;
  transform:translate(-50%,-50%)!important;box-sizing:border-box;
  width:min(850px,calc(100vw - 44px))!important;
  height:min(630px,calc(100dvh - 48px))!important;
  min-height:min(630px,calc(100dvh - 48px))!important;
  max-height:calc(100dvh - 48px)!important;overflow:hidden!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden]))>form{
  position:relative!important;display:grid!important;
  grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr)!important;
  grid-template-rows:76px 18px minmax(0,1fr)!important;
  gap:8px 12px!important;box-sizing:border-box;width:100%;height:100%!important;
  min-height:0!important;padding:20px!important;overflow:hidden!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-head,
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-mode-copy{
  position:static!important;inset:auto!important;grid-column:1/-1!important;
  width:auto!important;height:auto!important;min-width:0!important;margin:0!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-head{grid-row:1!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-mode-copy{grid-row:2!important;font-size:11px!important;line-height:15px!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-head small{font-size:10px!important;line-height:14px!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-head h2{font-size:21px!important;line-height:25px!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice{
  position:absolute!important;z-index:10;top:0;left:50%;right:auto;
  width:min(600px,calc(100% - 176px))!important;max-width:none!important;min-width:0!important;margin:0!important;
  transform:translate(-50%,-64%) scale(.98)
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice.is-visible{transform:translate(-50%,-52%) scale(1)}
@media(max-width:760px){#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice{top:10px;left:50%;right:auto;width:calc(100% - 40px)!important;max-width:none!important;transform:translate(-50%,0) scale(.98)}#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice.is-visible{transform:translate(-50%,0) scale(1)}}
@media(prefers-reduced-motion:reduce){#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice,#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-dialog-notice.is-visible{transform:translate(-50%,-52%) scale(1)}}
.project-dialog-notice.project-dialog-notice-floating{
  position:fixed!important;z-index:10000!important;top:max(14px,env(safe-area-inset-top))!important;left:50%!important;right:auto!important;
  box-sizing:border-box;width:min(460px,calc(100vw - 32px))!important;max-width:none!important;min-width:0!important;margin:0!important;
  padding:8px 14px!important;border:1px solid rgba(216,199,240,.32)!important;border-radius:999px!important;
  background:rgba(48,41,63,.96)!important;box-shadow:0 12px 34px rgba(23,18,43,.3),inset 0 1px rgba(255,255,255,.12)!important;
  transform:translate(-50%,-10px) scale(.96)!important;pointer-events:auto!important;overflow:hidden!important
}
.project-dialog-notice.project-dialog-notice-floating::backdrop{background:transparent!important}
.project-dialog-notice.project-dialog-notice-floating.is-visible{transform:translate(-50%,0) scale(1)!important}
.project-dialog-notice.project-dialog-notice-floating span{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .dialog-close{
  position:relative!important;display:grid!important;place-items:center!important;
  box-sizing:border-box;padding:0!important;font-size:0!important;line-height:0!important;transform:translateY(-4px)!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .dialog-close::before,
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .dialog-close::after{
  position:absolute;top:50%;left:50%;width:13px;height:1.5px;
  border-radius:2px;background:currentColor;content:"";transform-origin:center
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .dialog-close::before{transform:translate(-50%,-50%) rotate(45deg)}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .dialog-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload,
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-smart-suggestion{
  position:static!important;inset:auto!important;grid-row:3!important;
  box-sizing:border-box;width:auto!important;height:auto!important;
  min-width:0!important;min-height:0!important;overflow:hidden!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload{
  grid-column:1!important;display:grid!important;flex-direction:initial!important;
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:36px minmax(0,1fr)!important;
  align-content:start!important;gap:9px!important;padding:11px!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-copy{
  display:flex!important;justify-content:flex-start!important;align-items:center!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  gap:8px!important;text-align:left!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .upload-plus{
  box-sizing:border-box;flex:0 0 30px!important;width:30px!important;min-width:30px!important;
  height:30px!important;min-height:30px!important;font-size:18px!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-copy strong{font-size:13px!important;line-height:16px!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-copy small{margin-top:0!important;font-size:10px!important;line-height:13px!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-preview{
  grid-column:1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-rows:82px!important;
  align-content:start!important;justify-content:stretch!important;gap:7px!important;
  box-sizing:border-box;width:100%!important;height:100%!important;min-height:0!important;
  max-height:none!important;padding:0 2px 2px 0!important;
  overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-preview::-webkit-scrollbar{display:none!important;width:0!important}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-preview-item{
  position:relative!important;flex:none!important;box-sizing:border-box;
  width:100%!important;height:100%!important;min-width:0!important;
  border-radius:8px!important;overflow:visible!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-preview-item img{
  display:block!important;box-sizing:border-box;width:100%!important;height:100%!important;
  border-radius:8px!important;object-fit:cover
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-preview-item button{
  position:absolute!important;top:4px!important;right:4px!important;bottom:auto!important;left:auto!important;
  display:grid!important;place-items:center!important;box-sizing:border-box!important;
  width:20px!important;min-width:20px!important;max-width:20px!important;
  height:20px!important;min-height:20px!important;max-height:20px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  font-size:11px!important;line-height:1!important;opacity:1!important;
  transform:none!important;translate:none!important;transition:none!important;animation:none!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-smart-suggestion{
  grid-column:2!important;display:block!important;padding:12px!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-suggestion-content{
  display:block!important;box-sizing:border-box;width:100%!important;height:100%!important;
  min-height:0!important;padding:0!important;overflow:hidden!important
}
#project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-suggestion-content[hidden]{display:none!important}
#project-dialog[data-classification-stage="summary"] .project-organize-summary{
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:12px!important;box-sizing:border-box;width:100%;height:100%!important;
  padding:0!important;overflow:hidden!important
}
#project-dialog[data-classification-stage="summary"] .project-organize-distribution{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-auto-rows:58px!important;align-content:start!important;gap:9px!important;
  box-sizing:border-box;width:100%;height:100%!important;min-height:0!important;
  max-height:none!important;margin:0!important;padding:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important
}
#project-dialog[data-classification-stage="summary"] .project-organize-distribution::-webkit-scrollbar{display:none!important;width:0!important}
#project-dialog[data-classification-stage="summary"] .project-summary-card{
  grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:15px 12px 3px!important;
  gap:2px 8px!important;min-height:58px!important;max-height:58px!important;
  padding:8px 9px!important;transform:none!important;transition:none!important
}
#project-dialog[data-classification-stage="summary"] .project-summary-card small{
  grid-column:1!important;grid-row:1!important;color:#fbf9fd!important;
  font-size:11px!important;line-height:15px!important;font-weight:650!important
}
#project-dialog[data-classification-stage="summary"] .project-summary-card .project-summary-card-cn{
  display:block!important;grid-column:1!important;grid-row:2!important;
  box-sizing:border-box;width:auto!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:none!important;color:rgba(238,231,246,.55)!important;
  font-size:9px!important;line-height:12px!important;font-weight:400!important
}
#project-dialog[data-classification-stage="summary"] .project-summary-card strong{
  grid-column:2;grid-row:1/3;align-self:center;font-size:17px!important;line-height:20px!important
}
#project-dialog[data-classification-stage="summary"] .project-summary-card:hover,
#project-dialog[data-classification-stage="summary"] .project-summary-card:focus-visible{transform:none!important}
#project-dialog[data-classification-stage="summary"] .project-organize-actions{
  display:flex!important;flex-wrap:wrap;gap:6px!important;height:auto!important;
  min-height:0!important;margin:0!important;padding-top:9px!important;
  border-top:1px solid rgba(226,217,239,.12)
}
#project-dialog[data-classification-stage="summary"] .project-organize-actions button{
  height:30px!important;min-height:30px!important;padding:0 9px!important;font-size:10px!important
}
#project-dialog[data-classification-stage="review"] .project-review-stage:not([hidden]),
#project-dialog[data-classification-stage="inspector"] .project-inspector-stage:not([hidden]){
  display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;
  gap:9px!important;height:100%!important;overflow:hidden!important
}
#project-dialog[data-classification-stage="review"] #project-review-mount,
#project-dialog[data-classification-stage="review"] .project-asset-review{
  height:100%!important;min-height:0!important;overflow:hidden!important
}
#project-dialog[data-classification-stage="review"] .project-asset-review>header{display:none!important}
#project-dialog[data-classification-stage="review"] .project-asset-review{
  position:relative;display:grid!important;grid-template-rows:minmax(0,1fr)!important
}
#project-dialog[data-classification-stage="review"] .project-review-compact-list{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;gap:6px!important;min-height:0!important;
  overflow-y:auto!important;scrollbar-width:none!important
}
#project-dialog[data-classification-stage="review"] .project-review-compact-list::-webkit-scrollbar{display:none!important;width:0!important}
#project-dialog[data-classification-stage="review"] .project-review-compact-card{
  display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:7px;
  min-width:0;padding:4px;border:1px solid rgba(226,217,239,.1);
  border-radius:10px;background:rgba(255,255,255,.025)
}
#project-dialog[data-classification-stage="review"] .project-review-compact-card>img{
  width:58px!important;height:58px!important;border-radius:7px;object-fit:cover
}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy{
  display:grid;align-content:center;gap:1px;min-width:0
}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy>small{
  overflow:hidden;font-size:8px;line-height:10px;text-overflow:ellipsis;white-space:nowrap
}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy p{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 5px;margin:0
}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy p strong{
  overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap
}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy p span{font-size:8px;line-height:10px}
#project-dialog[data-classification-stage="review"] .project-review-compact-copy p b{
  grid-column:2;grid-row:1/3;align-self:center;font-size:12px;line-height:14px
}
#project-dialog[data-classification-stage="review"] .project-review-compact-card .project-review-actions{
  display:flex;flex-wrap:nowrap;gap:3px
}
#project-dialog[data-classification-stage="review"] .project-review-compact-card .project-review-actions button{
  min-width:0!important;height:20px!important;min-height:20px!important;
  padding:0 7px!important;border-radius:6px!important;font-size:9px!important
}
#project-dialog[data-classification-stage="review"] .project-review-compact-card.is-editing{
  border-color:rgba(211,190,239,.34);background:rgba(201,180,228,.09)
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor{
  position:absolute;z-index:5;top:50%;left:50%;box-sizing:border-box;display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;gap:7px;width:min(250px,calc(100% - 12px));
  max-height:184px;padding:9px;border:1px solid rgba(226,217,239,.2);border-radius:14px;
  background:rgba(52,45,67,.97);box-shadow:0 15px 34px rgba(19,15,29,.3);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translate(-50%,-50%)
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>header,
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>footer{
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>header>div{display:grid;gap:1px;min-width:0}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>header strong{font-size:10px;line-height:13px}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>header span,
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>footer span{
  overflow:hidden;color:rgba(240,235,246,.56);font-size:8px;line-height:11px;text-overflow:ellipsis;white-space:nowrap
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>header>button{
  flex:0 0 auto;width:22px;height:22px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.05);color:rgba(240,235,246,.7);font-size:13px;line-height:22px
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-columns{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:0
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-columns>section{display:grid;grid-template-rows:auto minmax(0,1fr);gap:3px;min-width:0}
#project-dialog[data-classification-stage="review"] .project-review-wheel-columns>section>small{
  padding-left:4px;color:rgba(240,235,246,.58);font-size:8px;line-height:10px
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-frame{
  position:relative;height:78px;min-width:0;overflow:hidden;border-radius:9px;background:rgba(255,255,255,.025)
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-selection{
  position:absolute;z-index:0;top:50%;right:3px;left:3px;height:30px;border-radius:8px;
  background:rgba(255,255,255,.075);transform:translateY(-50%);pointer-events:none
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track{
  position:relative;z-index:1;box-sizing:border-box;display:grid;align-content:start;height:78px;
  padding:24px 3px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scroll-snap-type:y mandatory;scrollbar-width:none;-ms-overflow-style:none;
  cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 27%,#000 73%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 27%,#000 73%,transparent 100%)
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track:is(.is-dragging,.is-gliding,.is-wheel){scroll-snap-type:none}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track.is-dragging{cursor:grabbing}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track::-webkit-scrollbar{display:none;width:0;height:0}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track>button{
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:30px;
  min-width:0;padding:0 7px;border:0;border-radius:7px;background:transparent;
  color:rgba(248,245,251,.42);text-align:center;scroll-snap-align:center
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track>button:is(:hover,:focus-visible){color:rgba(248,245,251,.74);outline:none}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track>button:is(.is-selected,.is-preview){color:#f8f4fc}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track:is(.is-dragging,.is-gliding)>button.is-selected:not(.is-preview){color:rgba(248,245,251,.42)}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track>button strong{
  overflow:hidden;max-width:100%;font-size:9px;line-height:12px;text-overflow:ellipsis;white-space:nowrap
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-track>p{
  margin:0;padding:8px 6px;color:rgba(240,235,246,.5);font-size:8px;line-height:12px;text-align:center
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>footer{
  padding-top:7px;border-top:1px solid rgba(226,217,239,.1)
}
#project-dialog[data-classification-stage="review"] .project-review-wheel-editor>footer>button{
  flex:0 0 auto;height:25px;padding:0 12px;border:0;border-radius:13px;background:#c9b4e4;color:#3d334b;font-size:9px;font-weight:680
}
#project-dialog[data-classification-stage="inspector"] .project-inspector-content{overflow-y:auto!important}
#project-dialog[data-classification-stage="drilldown"] .project-drilldown-stage:not([hidden]){
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  align-content:start!important;gap:7px!important;height:100%!important;overflow:hidden!important
}
#project-dialog[data-classification-stage="drilldown"] .project-machine-selection{
  min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important
}
#project-dialog[data-classification-stage="drilldown"] .project-machine-grid{
  display:flex!important;flex-wrap:wrap!important;align-content:start!important;gap:7px!important
}
#project-dialog[data-classification-stage="drilldown"] .project-machine-tile{
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  box-sizing:border-box;min-width:0!important;min-height:34px!important;height:34px!important;
  padding:0 10px!important;border-radius:18px!important
}
#project-dialog[data-classification-stage="drilldown"] .project-machine-tile strong{font-size:10px!important;line-height:14px!important}
#project-dialog[data-classification-stage="drilldown"] .project-machine-tile small{margin:0!important;font-size:9px!important;line-height:12px!important}
#project-dialog[data-classification-stage="drilldown"] .project-machine-tile.is-selected{border-color:rgba(220,204,241,.68)!important;background:rgba(203,185,230,.2)!important}
#project-dialog[data-classification-stage="drilldown"] .project-machine-tile.project-custom-pill{height:30px!important;min-height:30px!important;padding:0 9px!important;border-style:dashed!important;color:rgba(237,224,249,.83);font-size:10px!important;white-space:nowrap}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry{display:grid;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(226,217,239,.1)}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry label{color:rgba(240,235,246,.72);font-size:11px}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry>div{display:flex;gap:8px}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry input{flex:1;min-width:0;height:34px;padding:0 11px;border:1px solid rgba(226,217,239,.2);border-radius:17px;outline:none;background:rgba(255,255,255,.045);color:#fbf9fd;font:inherit;font-size:11px}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry input:focus-visible{border-color:rgba(220,204,241,.72)}
#project-dialog[data-classification-stage="drilldown"] .project-custom-entry button,#project-dialog[data-classification-stage="drilldown"] .project-drilldown-footer button{height:34px;padding:0 13px;border:1px solid rgba(226,217,239,.25);border-radius:17px;background:rgba(203,185,230,.12);color:#fbf9fd;font:inherit;font-size:11px;white-space:nowrap}
#project-dialog[data-classification-stage="drilldown"] .project-drilldown-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid rgba(226,217,239,.1)}
#project-dialog[data-classification-stage="drilldown"] .project-drilldown-footer span{overflow:hidden;color:rgba(240,235,246,.66);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
#project-dialog[data-classification-stage="drilldown"] .project-drilldown-footer button{border-color:transparent;background:#c9b4e4;color:#3d334b;font-weight:680}
#project-dialog[data-classification-stage="drilldown"] .project-drilldown-footer button:disabled{opacity:.42;cursor:not-allowed}
#project-dialog[data-classification-stage="focus"] .project-focus-stage:not([hidden]){
  height:100%!important;min-height:0!important;overflow-y:auto!important;scrollbar-width:none!important
}
#project-dialog[data-classification-stage="focus"] .project-focus-card{
  grid-template-rows:auto auto 4px auto auto!important;align-content:start!important;gap:10px!important;
  padding:0!important;border:0!important;border-radius:0!important;background:none!important;
  box-shadow:none!important;animation:none!important;transform:none!important
}
#project-dialog[data-classification-stage="focus"] .project-focus-card-heading{align-items:center!important}
#project-dialog[data-classification-stage="focus"] .project-focus-card-heading small{
  overflow:visible!important;color:#fbf9fd!important;font-size:19px!important;
  line-height:23px!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere
}
#project-dialog[data-classification-stage="focus"] .project-focus-card-heading strong{
  flex:none!important;font-size:29px!important;line-height:34px!important
}
#project-dialog[data-classification-stage="focus"] .project-focus-actions{flex-wrap:nowrap!important;gap:5px!important}
#project-dialog[data-classification-stage="focus"] .project-focus-actions button{
  min-width:0!important;height:32px!important;min-height:32px!important;
  padding:0 7px!important;font-size:10px!important;white-space:nowrap!important
}
@media(max-width:720px){
  #project-dialog:has(> form > .project-smart-suggestion:not([hidden]))>form{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;padding:16px!important
  }
  #project-dialog:has(> form > .project-smart-suggestion:not([hidden])) .project-upload-preview{
    grid-auto-rows:64px!important
  }
}
