/* Project workspace focused on real work and the current design file. */
body.overview-view .oa-pw-workbench{display:grid;gap:14px;color:#20383d}
.oa-pw-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:13px 16px;border:1px solid #e3eaea;border-radius:12px;background:#fff}
.oa-pw-stage{display:flex;align-items:center;gap:10px;min-width:0;padding:5px 7px;border:0;border-radius:6px;background:transparent;text-align:left}
.oa-pw-stage:hover{background:#f5f9f8}
.oa-pw-stage-index{display:grid;place-items:center;width:26px;height:26px;flex:none;border:1px solid #dce5e4;border-radius:50%;color:#829397;font-size:11px}
.oa-pw-stage b,.oa-pw-stage small{display:block;white-space:nowrap}
.oa-pw-stage b{font-size:12px;font-weight:600;color:#4c6265}
.oa-pw-stage small{font-size:10px;color:#98a5a7}
.oa-pw-stage.done .oa-pw-stage-index{border-color:#b9ded4;background:#eaf6f2;color:#168578}
.oa-pw-stage.done small{color:#168578}
.oa-pw-stage.active{background:#f1f5ff}
.oa-pw-stage.active .oa-pw-stage-index{border-color:#7786e6;background:#eef0ff;color:#596bd0}
.oa-pw-stage.active b{color:#263c40}
.oa-pw-work-grid{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(480px,1.55fr);gap:16px;align-items:start}
.oa-pw-work-left{display:grid;gap:12px;min-width:0}
.oa-pw-current,.oa-pw-section,.oa-pw-preview-panel{border:1px solid #e3eaea;border-radius:12px;background:#fff}
.oa-pw-current{padding:16px 18px}
.oa-pw-current>header,.oa-pw-section>header,.oa-pw-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.oa-pw-current>header>div>span{font-size:11px;color:#89999c}
.oa-pw-current h2{margin-top:1px;font-size:17px}
.oa-pw-state{padding:4px 9px;border-radius:5px;background:#e8f5f1;color:#168578;font-size:11px;white-space:nowrap}
.oa-pw-current>p{margin:11px 0 12px;color:#64787b;font-size:12px}
.oa-pw-current-meta{display:flex;gap:22px;padding-top:10px;border-top:1px solid #edf1f1;color:#839296;font-size:11px}
.oa-pw-current-meta b{margin-left:5px;color:#3e575b;font-weight:600}
.oa-pw-section{padding:0 16px 13px}
.oa-pw-section>header{min-height:54px;border-bottom:1px solid #edf1f1}
.oa-pw-section>header h2{font-size:14px}
.oa-pw-section>header p{margin-top:2px;color:#8a999c;font-size:10px}
.oa-pw-link{padding:4px 0;border:0;background:transparent;color:#168578;font-size:11px}
.oa-pw-issue-list{display:grid}
.oa-pw-issue{padding:12px 0;border-bottom:1px solid #edf1f1}
.oa-pw-issue:last-child{border-bottom:0}
.oa-pw-issue-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
.oa-pw-pin{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef5f3;color:#168578;font-size:10px;font-weight:700}
.oa-pw-issue-top strong{font-size:12px;line-height:1.4}
.oa-pw-issue-status{padding:3px 7px;border-radius:5px;background:#fff4e3;color:#9b6b20;font-size:10px;white-space:nowrap}
.oa-pw-issue-status.confirm{background:#eef0ff;color:#596bd0}
.oa-pw-issue-status.done{background:#e8f5f1;color:#168578}
.oa-pw-issue>p{margin:8px 0;color:#697c7f;font-size:11px;line-height:1.55}
.oa-pw-issue-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:#849396;font-size:10px}
.oa-pw-issue-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.oa-pw-issue-foot small{color:#98a4a6;font-size:10px}
.oa-pw-issue-foot button{flex:none;padding:4px 8px;border-color:#dfe8e5;color:#168578;font-size:10px}
.oa-pw-resolved{padding-top:9px;border-top:1px solid #edf1f1}
.oa-pw-resolved summary{cursor:pointer;color:#78898c;font-size:11px}
.oa-pw-activity{padding-bottom:7px}
.oa-pw-event{display:grid;grid-template-columns:7px minmax(0,1fr);gap:8px;width:100%;padding:10px 0;border:0;border-bottom:1px solid #f0f3f2;border-radius:0;background:transparent;text-align:left}
.oa-pw-event:last-child{border-bottom:0}
.oa-pw-event>i{width:6px;height:6px;margin-top:5px;border-radius:50%;background:#168578}
.oa-pw-event b,.oa-pw-event small{display:block}
.oa-pw-event b{overflow:hidden;color:#4a6063;font-size:10px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.oa-pw-event small{margin-top:2px;color:#98a4a6;font-size:9px}
.oa-pw-preview-panel{min-width:0;padding:14px}
.oa-pw-preview-head{padding:0 2px 12px}
.oa-pw-preview-head h2{font-size:15px}
.oa-pw-preview-head p{margin-top:3px;color:#859497;font-size:10px}
.oa-pw-version-state{padding:4px 9px;border-radius:5px;background:#eef1f2;color:#718185;font-size:10px;white-space:nowrap}
.oa-pw-version-state.draft{background:#edf2f5;color:#62747a}
.oa-pw-version-state.review{background:#fff2df;color:#a56c21}
.oa-pw-version-state.rejected{background:#fff0ee;color:#ad6055}
.oa-pw-version-state.done{background:#e8f5f1;color:#168578}
.oa-pw-preview-stage{min-width:0;overflow:hidden;border:1px solid #e7ecec;border-radius:8px;background:#f5f8f7}
.oa-pw-canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #e4eaea;background:#fff;color:#7d9092;font-size:10px}
.oa-pw-canvas-toolbar>div{display:flex;gap:5px;flex:none}
.oa-pw-canvas-toolbar button{min-height:29px;padding:3px 8px;border-color:#dfe7e6;color:#52696b;font-size:10px}
.oa-pw-preview-stage .review-canvas-shell{height:clamp(380px,58vh,720px);min-height:380px;margin:0;overflow:auto;border-radius:0;background:#e9eeee;padding:14px;scrollbar-gutter:stable}
.oa-pw-preview-stage .review-canvas{width:min(100%,760px);max-width:760px;background:#fff}
.oa-pw-preview-stage .review-canvas.fit-width{width:100%;max-width:none}
.oa-pw-preview-stage .review-canvas>img{display:block;width:100%;height:auto}
.oa-pw-preview-stage .review-thumbnails{display:flex;gap:6px;overflow:auto;padding:7px;border-top:1px solid #e2e8e6;background:#fff}
.oa-pw-preview-stage .review-thumbnail{min-width:76px;height:42px;border-color:#dce5e2;background:#f7f9f8;color:#596c6d;font-size:10px}
.oa-pw-preview-stage .review-thumbnail.active{border-color:#5aa393;background:#e8f5f1;color:#16796d}
.oa-pw-canvas-hint{padding:8px 10px;border-top:1px solid #e7eceb;background:#fff;color:#879597;font-size:10px}
.oa-pw-preview-empty{display:grid;place-items:center;align-content:center;gap:9px;min-height:470px;padding:32px;text-align:center;background:#fafcfb}
.oa-pw-preview-empty>span{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#edf5f2;color:#168578;font-size:24px}
.oa-pw-preview-empty>b{color:#40595c;font-size:13px}
.oa-pw-preview-empty p{max-width:410px;color:#849295;font-size:10px;line-height:1.7}
.oa-pw-preview-empty button{margin-top:4px}
.oa-pw-preview-empty small{color:#8b999b;font-size:10px}
.oa-pw-version-strip{display:flex;gap:8px;overflow-x:auto;padding:11px 0 2px;scrollbar-width:thin}
.oa-pw-version{display:grid;gap:3px;min-width:155px;padding:8px 10px;border:1px solid #e3eaea;border-radius:7px;background:#fff;text-align:left}
.oa-pw-version.active{border-color:#69a99b;background:#f4faf8}
.oa-pw-version>span{display:flex;justify-content:space-between;gap:8px}
.oa-pw-version>span b{font-size:11px}
.oa-pw-version>span em{font-style:normal;color:#73868a;font-size:9px}
.oa-pw-version>strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.oa-pw-version>small{color:#8b999b;font-size:9px;white-space:nowrap}
.oa-pw-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding-top:10px}
.oa-pw-preview-actions button{min-height:32px;padding:5px 10px;border-color:#dce6e3;color:#486063;font-size:10px}
.oa-pw-preview-actions button.primary{border-color:#168578;background:#168578;color:#fff}
.oa-pw-action-note{color:#829194;font-size:10px}
.oa-pw-version-meta{margin-top:8px;color:#879598;font-size:9px}
.oa-pw-secondary-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 2px 0;border-top:1px solid #e5ebea}
.oa-pw-secondary-links>span{margin-right:4px;color:#97a2a4;font-size:10px}
.oa-pw-secondary-links button{padding:3px 6px;border:0;background:transparent;color:#74878a;font-size:10px}
.oa-pw-empty{padding:18px 0;color:#91a0a1;font-size:11px}
.oa-pw-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.oa-pw-compare figure{min-width:0;margin:0}
.oa-pw-compare figcaption{margin-bottom:8px;color:#43595c;font-size:12px;font-weight:600}
.oa-pw-compare img{display:block;width:100%;max-height:65vh;object-fit:contain;overflow:auto;background:#eef1f1}
.oa-pw-compare figure>small{display:block;margin-top:7px;color:#879497;font-size:10px}
.oa-pw-compare-empty{display:grid;place-items:center;min-height:170px;padding:22px;border:1px dashed #d8e2df;border-radius:8px;background:#f8faf9;color:#839194;font-size:11px;text-align:center}
.oa-pw-modal-note{margin-bottom:12px;color:#758689;font-size:11px;line-height:1.6}
.oa-pw-submit-list{display:grid;gap:7px}
.oa-pw-submit-issue{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;border:1px solid #e4eae8;border-radius:7px;background:#fbfcfc}
.oa-pw-submit-issue input{width:auto;margin-top:3px}
.oa-pw-submit-issue b,.oa-pw-submit-issue small{display:block}
.oa-pw-submit-issue b{font-size:11px}
.oa-pw-submit-issue small{margin-top:3px;color:#879497;font-size:10px}
.oa-pw-reopen-inline{margin:8px 0;padding:5px 9px;color:#168578;font-size:11px}
.oa-pw-asker-review{margin-top:10px}
.oa-pw-asker-review p{font-size:11px;color:#748689}
.oa-pw-full-empty{margin:18px auto;max-width:1100px;min-height:58vh;border:1px dashed #d7e2de;border-radius:12px}
.oa-pw-full-empty button{min-width:155px}
@media(max-width:1080px){.oa-pw-work-grid{grid-template-columns:minmax(270px,.85fr) minmax(400px,1.15fr)}}
@media(max-width:850px){.oa-pw-stages{grid-template-columns:repeat(5,minmax(95px,1fr));overflow-x:auto}.oa-pw-work-grid{grid-template-columns:1fr}.oa-pw-preview-panel{order:-1}.oa-pw-preview-stage .review-canvas-shell{height:58vh;min-height:330px}.oa-pw-preview-empty{min-height:340px}.oa-pw-compare{grid-template-columns:1fr}}
@media(max-width:520px){.oa-pw-stages{gap:4px;padding:9px}.oa-pw-stage{gap:6px;padding:4px}.oa-pw-stage-index{width:22px;height:22px;font-size:9px}.oa-pw-stage b{font-size:10px}.oa-pw-stage small{font-size:9px}.oa-pw-preview-panel{padding:10px}.oa-pw-canvas-toolbar{align-items:flex-start;flex-direction:column}.oa-pw-canvas-toolbar>div{flex-wrap:wrap}.oa-pw-current-meta{justify-content:space-between;gap:6px}}

/* Less helper text; stronger hierarchy for the project, current work, issues and artwork. */
body.overview-view .oa-project-title h1{font-size:32px!important;line-height:1.2;letter-spacing:-.8px}
body.overview-view .oa-project-title p{margin-top:7px;font-size:13px;color:#65797c}
.oa-pw-workbench{gap:12px}
.oa-pw-stages{padding-top:10px;padding-bottom:10px}
.oa-pw-stage b{font-size:13px}
.oa-pw-current{padding:17px 18px}
.oa-pw-current h2{font-size:20px;line-height:1.3}
.oa-pw-current>header>div>span{font-size:12px}
.oa-pw-current>p{font-size:12px}
.oa-pw-current>p b{color:#455e62;font-weight:650}
.oa-pw-current-meta{font-size:12px}
.oa-pw-section>header{min-height:48px}
.oa-pw-section>header h2{font-size:16px}
.oa-pw-count{margin-left:7px;color:#168578;font-size:12px;font-weight:550;white-space:nowrap}
.oa-pw-issue{padding:10px 0}
.oa-pw-issue-top strong{font-size:14px;line-height:1.4}
.oa-pw-issue-status{font-size:11px}
.oa-pw-issue>p{margin:6px 0;font-size:12px;line-height:1.5}
.oa-pw-issue-meta{font-size:11px}
.oa-pw-issue-foot small{font-size:10px}
.oa-pw-issue-foot button{font-size:11px}
.oa-pw-event b{font-size:11px}
.oa-pw-event small{font-size:10px}
.oa-pw-preview-panel{padding:16px}
.oa-pw-preview-head h2{font-size:18px}
.oa-pw-preview-head p{font-size:11px}
.oa-pw-preview-empty>b{font-size:16px}
.oa-pw-preview-empty p{font-size:12px;line-height:1.5}
.oa-pw-preview-actions button{font-size:11px}
.oa-pw-action-note{font-size:11px}
.oa-pw-version-meta{font-size:10px}
.oa-pw-version>span b{font-size:12px}
.oa-pw-version>strong{font-size:11px}
.oa-pw-version>small{font-size:10px}
.oa-pw-secondary-links{gap:14px}
@media(max-width:520px){body.overview-view .oa-project-title h1{font-size:25px!important}.oa-pw-current h2{font-size:18px}.oa-pw-issue-top strong{font-size:13px}.oa-pw-preview-panel{padding:11px}}

/* Compact chat-style issue panel for the design canvas. */
body.design-review-view .right .oa-chat-panel{display:flex;flex-direction:column;min-height:100%;color:#243a42}
body.design-review-view .right .oa-chat-panel-head{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:8px;padding:4px 0 12px;background:#fff;border-bottom:1px solid #e8edef}
body.design-review-view .right .oa-chat-panel-head>div{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}
body.design-review-view .right .oa-chat-panel-head h2{margin:0;font-size:17px;font-weight:700;color:#20343c}
body.design-review-view .right .oa-chat-panel-head>div>b{font-size:12px;color:#168578;font-weight:650;white-space:nowrap}
body.design-review-view .right .oa-chat-add,body.design-review-view .right .oa-chat-collapse{min-width:30px;width:30px;height:30px;padding:0;border:1px solid #e2e9eb;border-radius:8px;background:#fff;color:#168578;font-size:17px;line-height:1}
body.design-review-view .right .oa-chat-filter{position:relative}
body.design-review-view .right .oa-chat-filter>summary{list-style:none;cursor:pointer;border:1px solid #e2e9eb;border-radius:7px;padding:6px 8px;color:#5f747b;font-size:11px;white-space:nowrap}
body.design-review-view .right .oa-chat-filter>summary::-webkit-details-marker{display:none}
body.design-review-view .right .oa-chat-filter[open]>summary{color:#087f70;border-color:#a9d9d1}
body.design-review-view .right .oa-chat-filter-menu{position:absolute;right:0;top:34px;z-index:6;display:grid;width:132px;filter:drop-shadow(0 8px 12px #20343c16)}
body.design-review-view .right .oa-chat-filter-menu>button{display:block;width:100%;min-height:32px;padding:7px 10px;border:1px solid #e3eaeb;border-radius:0;background:#fff;text-align:left;font-size:11px}
body.design-review-view .right .oa-chat-filter-menu>button:first-child{border-radius:7px 7px 0 0}
body.design-review-view .right .oa-chat-filter-menu>button:last-child{border-radius:0 0 7px 7px}
body.design-review-view .right .oa-chat-list{display:grid;align-content:start}
body.design-review-view .right .oa-chat-thread{border-bottom:1px solid #e9eef0}
body.design-review-view .right .oa-chat-issue-head{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;align-items:center;gap:7px;padding:10px 0}
body.design-review-view .right .oa-chat-issue-title{display:flex;align-items:center;gap:8px;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:inherit}
body.design-review-view .right .oa-chat-issue-title>.oa-pw-pin{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8f4f1;color:#168578;font-size:10px}
body.design-review-view .right .oa-chat-issue-title>span:last-child{display:grid;gap:3px;min-width:0}
body.design-review-view .right .oa-chat-issue-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.35;font-weight:650}
body.design-review-view .right .oa-chat-issue-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#829198}
body.design-review-view .right .oa-chat-issue-head>.oa-issue-status{font-size:10px;padding:4px 7px;background:#fff4e4;color:#9b6b28;border-radius:10px}
body.design-review-view .right .oa-chat-issue-head>.oa-issue-status.confirm{background:#e9f3fa;color:#47778d}
body.design-review-view .right .oa-chat-issue-head>.oa-issue-status.done{background:#e8f5ef;color:#168578}
body.design-review-view .right .oa-chat-collapse{font-size:14px;color:#71848b}
body.design-review-view .right .oa-chat-owner-line{margin:0 0 8px 34px;color:#788990;font-size:10px}
body.design-review-view .right .oa-chat-messages{display:grid;gap:8px;padding:0 0 8px 28px}
body.design-review-view .right .oa-chat-message{position:relative;max-width:96%;padding:8px 9px 6px;border:1px solid #edf0f1;border-radius:4px 11px 11px;background:#f6f8f8}
body.design-review-view .right .oa-chat-message.mine{justify-self:end;background:#eaf5f1;border-color:#d8ece6;border-radius:11px 4px 11px 11px}
body.design-review-view .right .oa-chat-message.origin{border-left:3px solid #168578}
body.design-review-view .right .oa-chat-byline{display:flex;justify-content:space-between;gap:10px;color:#5e737a;font-size:10px}
body.design-review-view .right .oa-chat-byline time{color:#98a4a8;white-space:nowrap}
body.design-review-view .right .oa-chat-message p{margin:5px 0 3px;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#31484f}
body.design-review-view .right .oa-chat-message img{display:block;max-width:145px;max-height:110px;object-fit:contain;border-radius:5px}
body.design-review-view .right .oa-chat-locate{display:block;margin:4px 0 0 auto;padding:2px 0;min-height:22px;border:0;background:transparent;color:#168578;font-size:10px}
body.design-review-view .right .oa-chat-actions{display:flex;gap:7px;justify-content:flex-end;padding:1px 0 8px 34px}
body.design-review-view .right .oa-chat-actions button{min-height:31px;padding:5px 11px;border-radius:7px;font-size:11px}
body.design-review-view .right .oa-chat-actions button.primary{background:#087f70!important;border-color:#087f70!important;color:white!important}
body.design-review-view .right .oa-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) 30px 48px;align-items:center;gap:5px;margin:0 0 9px 28px;padding:5px;border:1px solid #dfe8e9;border-radius:9px;background:#fff}
body.design-review-view .right .oa-chat-composer input[name=reply]{min-width:0;min-height:31px;padding:5px 7px;border:0;background:transparent;font-size:12px;outline:none}
body.design-review-view .right .oa-chat-composer label{display:grid;place-items:center;position:relative;min-height:28px;color:#168578;cursor:pointer;font-size:18px}
body.design-review-view .right .oa-chat-composer label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
body.design-review-view .right .oa-chat-composer>button{min-height:29px;padding:4px 7px;border:0;border-radius:6px;background:#087f70;color:#fff;font-size:11px}
body.design-review-view .right .oa-chat-audit{margin:0 0 10px 28px;color:#7b8b90;font-size:10px}
body.design-review-view .right .oa-chat-audit summary{cursor:pointer;padding:5px 0}
body.design-review-view .right .oa-chat-audit ol{margin:4px 0;padding-left:17px}
body.design-review-view .right .oa-chat-audit li{padding:4px 0;line-height:1.5}
body.design-review-view .right .oa-chat-audit li small{display:block;color:#9aa5a9}
body.design-review-view .right .oa-chat-panel .oa-review-empty{padding:18px 4px;color:#8a999e;font-size:12px}
