.workspace-menu .ps-entry { position:relative; display:flex; align-items:center; gap:8px; width:100%; min-width:0; margin:8px 0 6px; padding:9px 9px; border:1px solid #d8d9f6; border-radius:8px; background:#f3f3ff; color:#313467; text-align:left; font:inherit; font-weight:600; cursor:pointer; box-shadow:0 1px 2px rgb(51 52 112 / 5%); }
.workspace-menu .ps-entry::before { content:''; position:absolute; left:12px; right:12px; top:-5px; border-top:1px solid #e7e8f6; }
.workspace-menu .ps-entry:hover { background:#ececff; border-color:#bebfea; color:#272a6b; }
.workspace-menu .ps-entry.is-active { background:#e1e3ff; border-color:#8d91dc; color:#24276d; box-shadow:0 0 0 2px rgb(116 120 204 / 12%); }
.workspace-menu .ps-entry:focus-visible { outline:3px solid #9aa2e8; outline-offset:3px; }
.workspace-menu .ps-entry-icon { position:relative; display:grid; place-items:center; width:29px; height:29px; flex:0 0 29px; border:1px solid #c1c4f0; border-radius:7px; background:#e7e8ff; color:#5457b8; }
.workspace-menu .ps-entry-icon i { position:relative; display:block; width:13px; height:17px; border:1.5px solid currentColor; border-radius:2px; background:#fff; transform:translate(-1px,1px); }
.workspace-menu .ps-entry-icon i::after { content:''; position:absolute; left:2px; right:2px; top:5px; height:1px; background:currentColor; box-shadow:0 4px 0 currentColor; opacity:.72; }
.workspace-menu .ps-entry-icon em { position:absolute; right:6px; bottom:5px; width:8px; height:12px; border:1.5px solid #7367c5; border-radius:2px 2px 1px 1px; background:#fff; transform:rotate(42deg); transform-origin:bottom center; }
.workspace-menu .ps-entry-icon em::after { content:''; position:absolute; left:1px; top:1px; width:4px; height:1.5px; background:#7367c5; }
.workspace-menu .ps-entry-icon b { position:absolute; top:1px; right:1px; color:#e3a122; font:700 12px/1 Arial,sans-serif; text-shadow:0 0 0 #fff; }
.workspace-menu .ps-entry-copy { display:grid; gap:1px; min-width:0; flex:1 1 auto; }
.workspace-menu .ps-entry-copy strong { min-width:0; font-size:13px; font-weight:600; line-height:1.25; white-space:nowrap; }
.workspace-menu .ps-entry-copy small { color:#67699d; font-size:11px; font-weight:500; line-height:1.3; white-space:nowrap; }
.workspace-menu .ps-entry.is-active .ps-entry-icon { border-color:#888ed9; color:#3f43a2; background:#d7d9ff; }
.workspace-menu .ps-entry.is-active .ps-entry-copy small { color:#4b4f9c; }
.ps-dialog { box-sizing:border-box; width:min(1080px,calc(100% - 40px)); max-height:90dvh; margin:auto; padding:0; border:1px solid #dce3e1; border-radius:8px; color:#202927; background:#fff; overflow:auto; font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; letter-spacing:0; }
.ps-dialog::backdrop { background:rgb(18 30 27 / 35%); }
.ps-dialog * { box-sizing:border-box; min-width:0; }
.ps-dialog [hidden] { display:none!important; }
.ps-header { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 28px; border-bottom:1px solid #e5e9e7; position:sticky; top:0; z-index:1; background:white; }
.ps-dialog h2 { margin:0; font-size:22px; }
.ps-subtitle { margin:2px 0 3px; color:#5367a6; font-size:13px; line-height:1.5; }
.ps-dialog h3 { margin:0 0 18px; font-size:18px; }
.ps-dialog h4 { margin:0; font-size:15px; }
.ps-header span,.ps-note,.ps-dialog small { color:#63716c; }
.ps-dialog button { border:1px solid #cdd8d3; border-radius:6px; background:white; color:#293e34; min-height:38px; padding:7px 13px; font:inherit; cursor:pointer; white-space:normal; }
.ps-dialog button:disabled { opacity:.5; cursor:not-allowed; }
.ps-dialog button.ps-primary { background:#207457; color:#fff; border-color:#207457; }
.ps-dialog button.ps-danger { color:#a23535; }
.ps-dialog button.ps-close { width:40px; height:40px; font-size:24px; padding:0; flex-shrink:0; }
.ps-dialog :focus-visible { outline:3px solid #70a9e0; outline-offset:3px; }
.ps-message { margin:0; padding:0 28px; color:#934b20; overflow-wrap:anywhere; }
.ps-message:not(:empty) { padding-top:16px; padding-bottom:8px; }
.ps-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.65fr); }
.ps-samples,.ps-profile { padding:24px 28px; }
.ps-samples { border-right:1px solid #e5e9e7; }
.ps-note { font-size:12px; line-height:1.7; margin:12px 0; }
.ps-guide { margin:0 0 22px; padding:16px 17px; border:1px solid #d7e3fb; border-radius:8px; background:#f2f6ff; color:#2d3d69; }
.ps-guide h3 { margin:0 0 7px; color:#334d91; font-size:16px; }
.ps-guide p { margin:0; color:#53627f; font-size:12px; line-height:1.7; }
.ps-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:14px 0 0; }
.ps-steps li { display:flex; align-items:center; gap:6px; min-width:0; color:#3f5792; font-size:12px; white-space:nowrap; }
.ps-steps li span { display:grid; place-items:center; width:20px; height:20px; flex:0 0 20px; border-radius:50%; background:#dce8ff; color:#3d62ad; font-size:11px; font-weight:700; }
.ps-upload { display:block; font-weight:600; }
.ps-upload>span { display:block; margin-bottom:7px; }
.ps-upload input { display:block; width:100%; font:inherit; margin:10px 0; }
.ps-upload input::file-selector-button { padding:8px 12px; border:1px solid #cdd8d3; border-radius:6px; background:#f6f8f7; margin-right:8px; cursor:pointer; }
.ps-file-list { list-style:none; padding:0; margin:18px 0; }
.ps-file-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf0ee; overflow-wrap:anywhere; }
.ps-file-list button { flex-shrink:0; }
.ps-file-list small { display:block; font-size:11px; }
.ps-consent { display:flex; align-items:flex-start; gap:8px; font-size:12px; margin:20px 0; }
.ps-consent input { flex:0 0 16px; width:16px; height:16px; margin-top:3px; }
.ps-dimensions>section { padding:16px 0; border-bottom:1px solid #e5e9e7; }
.ps-dimensions p { margin:8px 0 12px; overflow-wrap:anywhere; }
.ps-dimensions label,.ps-extra { display:block; font-size:12px; color:#4b6055; }
.ps-dialog textarea { display:block; resize:vertical; width:100%; min-height:66px; margin-top:6px; padding:10px; border:1px solid #cdd8d3; border-radius:5px; font-family:inherit; font-size:14px; line-height:1.6; color:#202927; background:#fff; }
.ps-extra { margin-top:20px; }
.ps-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.ps-auth { padding:24px 28px; }
.ps-analysis-tip,.ps-profile-tip { margin:10px 0 0; color:#5b6b86; font-size:12px; line-height:1.7; }
.ps-profile-tip { margin:-8px 0 14px; }
@media(max-width:650px) { .ps-dialog { width:calc(100% - 20px); max-height:94dvh; } .ps-body { grid-template-columns:1fr; } .ps-header,.ps-samples,.ps-profile,.ps-auth { padding:18px; } .ps-samples { border-right:0; border-bottom:1px solid #e5e9e7; } .ps-message { padding-left:18px; padding-right:18px; } .ps-dialog h2 { font-size:20px; } .ps-steps { grid-template-columns:1fr; gap:6px; } .ps-guide { padding:14px; } }
@media(max-width:700px) { .workspace-menu .ps-entry { margin-top:6px; padding:8px 7px; } }
