.app{grid-template-rows:56px minmax(0,1fr) auto}
.topbar .brand{font-size:13px}.topbar{gap:8px}.topbar .crumbs{max-width:160px}
.topbar .btn{padding:6px 9px}.topbar .save{min-width:75px;max-width:140px}
.state-pill{font-size:12px;white-space:nowrap;padding:5px 9px;border-radius:5px;background:#F1F3F5;color:#596574}
[data-state=completed]{color:#237A57}[data-state=in_progress]{color:#9A6700}
.state-pill[data-state=completed]{background:#EAF4EE}.state-pill[data-state=in_progress]{background:#FBF5E9}
.collaboration-actions{padding:12px 14px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}
.collaboration-actions .btn{margin-top:8px}.collaboration-actions p{margin:0;color:var(--text-2)}
.collaboration-actions label{display:flex;align-items:flex-start;gap:6px;margin-top:8px}.collaboration-actions input{accent-color:var(--brand);margin-top:4px}
.image-queue{background:#fff;border-top:1px solid var(--line);height:154px;min-width:0;display:flex;flex-direction:column}
.queue-toolbar{display:flex;align-items:center;gap:10px;height:46px;flex-shrink:0;padding:0 16px;font-size:12px}.queue-toolbar b{font-weight:600}.queue-toolbar select{border:1px solid var(--line);border-radius:5px;padding:4px 7px;background:#fff}.queue-toolbar .spacer{flex:1}
.queue-toolbar .btn{min-height:29px;padding:4px 9px;font-size:12px}#queueUpdateHint{color:#9A6700}
.queue-list{display:flex;gap:10px;overflow-x:auto;padding:0 16px 10px;min-height:0}
.queue-image{display:grid;grid-template-columns:72px 126px;grid-template-rows:30px 28px;gap:0 10px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:7px;text-align:left;flex-shrink:0;cursor:pointer}
.queue-image.selected{border-color:var(--brand);background:#F6F4FB}.queue-image img{grid-row:1/3;width:72px;height:58px;object-fit:cover;border-radius:3px;background:#EDF0F3}.queue-image>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.queue-image small{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-3)}
.image-queue.collapsed{height:46px}.image-queue.collapsed .queue-list{display:none}
#projectDialog{width:490px;max-width:90vw;border:1px solid var(--line);border-radius:10px;padding:26px;color:var(--text)}#projectDialog::backdrop{background:#18233433}#projectDialog h2{font-size:20px;margin:0 0 8px}#projectDialog .dialog-title{display:flex;justify-content:space-between;gap:20px}#projectDialog p{font-size:13px;color:var(--text-2);line-height:1.8}#projectDialog pre{font-size:12px;line-height:1.8;white-space:pre-wrap;max-height:160px;overflow:auto}
button:disabled{opacity:.45;cursor:not-allowed}#retrySave{font-size:11px;padding:0;border:0;background:none;text-decoration:underline;color:var(--text-2)}
@media(max-width:1300px){.topbar .modality-pill{display:none}.topbar .prototype-label{display:none}.topbar .brand{font-size:12px}.topbar .crumbs{max-width:140px}.topbar .save{max-width:115px}.topbar{gap:6px}}
@media(max-height:850px){.side{padding-top:14px}.preset{padding:9px 10px;margin-bottom:6px}.sec{margin-bottom:12px}.tool-options{padding-top:12px}.local-note{padding-top:10px}.guide{padding-top:10px}.collaboration-actions{padding:9px 14px}}
