.visual-route-panel{padding:20px;margin:0 0 20px;background:#fff;border:1px solid #d9e5de;border-radius:16px}.visual-route-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.visual-route-options button{text-align:left;padding:16px;border:1px solid #d9e5de;border-radius:12px;background:#f8fbf9;color:#243d31}.visual-route-options button[aria-pressed=true]{border:2px solid #367557;background:#edf7f1}.visual-route-options b,.visual-route-options small{display:block}.visual-route-options small{line-height:1.7;margin-top:6px}.visual-route-options button:disabled{cursor:not-allowed;opacity:.75}.visual-phase{padding:16px;background:#edf7f1;border-left:4px solid #367557;border-radius:10px;overflow-wrap:anywhere}.visual-phase p{margin:8px 0}.visual-phase small{line-height:1.7}#sampleReviewPanel button{margin-top:12px;white-space:normal;line-height:1.6}#sampleReviewPanel textarea{width:100%}@media(max-width:700px){.visual-route-options{grid-template-columns:1fr}}
:root{--bg:#f6f7f4;--panel:#fff;--ink:#16201c;--muted:#718078;--line:#e4e8e4;--green:#1f7a55;--green2:#e4f4ec;--orange:#e98142;--red:#c55050;--shadow:0 18px 45px rgba(27,47,37,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}.hidden{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#dff2e8,transparent 33%),radial-gradient(circle at 80% 80%,#f7e5d7,transparent 28%),#f4f6f2}.login-card{width:min(420px,90vw);background:#fff;padding:42px;border-radius:28px;box-shadow:var(--shadow)}.brand-mark,.logo span{display:grid;place-items:center;background:var(--green);color:#fff;font-weight:800}.brand-mark{width:58px;height:58px;border-radius:18px;font-size:26px}.login-card h1{font-size:30px;margin:10px 0}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:var(--green);margin:16px 0 4px}.muted{color:var(--muted);line-height:1.7}.login-card label,.review-panel label{display:grid;gap:8px;font-size:13px;font-weight:700;margin-top:24px}.login-card input,textarea{border:1px solid var(--line);border-radius:13px;padding:13px;background:#fbfcfa;outline:none}.login-card input:focus,textarea:focus{border-color:#77ab90;box-shadow:0 0 0 3px #e5f3eb}.primary{border:0;border-radius:13px;background:var(--green);color:white;font-weight:750;padding:13px 18px;cursor:pointer}.primary:disabled{opacity:.4;cursor:not-allowed}.wide{width:100%;margin-top:16px}.error{color:var(--red);min-height:20px}.app{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:26px 18px;background:#14231c;color:white;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:11px;padding:0 10px 28px}.logo span{width:38px;height:38px;border-radius:12px;background:#55a77e}.logo strong{font-size:19px}.sidebar nav{display:grid;gap:7px}.nav,.ghost{border:0;background:transparent;color:inherit;cursor:pointer}.nav{display:flex;justify-content:space-between;padding:12px 14px;border-radius:12px;text-align:left;color:#b9c7c0}.nav.active,.nav:hover{background:#243a30;color:white}.nav b{background:#385347;padding:1px 7px;border-radius:10px}.sidebar-note{margin-top:auto;background:#1d3028;border:1px solid #2d483c;border-radius:15px;padding:14px;line-height:1.7;font-size:13px}.sidebar-note small{color:#96aaa0}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#58d18c;margin-right:7px}.sidebar>.ghost{padding:13px;margin-top:10px;color:#a9bbb2}main{padding:30px 42px 60px;max-width:1500px;width:100%}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}header h1{font-size:27px;margin:2px 0}.header-actions{display:flex;gap:10px;align-items:center}.header-actions .ghost,.back{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:var(--ink);cursor:pointer}.private-badge{font-size:12px;padding:8px 11px;background:#eef2ef;border-radius:20px}.hero{background:linear-gradient(118deg,#1a6f4e,#2d8c65);color:white;border-radius:25px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.hero h2{margin:0 0 7px;font-size:24px}.hero p{margin:0;color:#d8eee3}.hero-number{display:flex;align-items:baseline;gap:9px;padding-right:18px}.hero-number strong{font-size:50px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 16px}.section-title h3{margin:0;font-size:18px}.section-title span{font-size:12px;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.project-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;cursor:pointer;transition:.2s;box-shadow:0 8px 24px rgba(27,47,37,.04)}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-cover{height:166px;background:linear-gradient(145deg,#dcefe5,#f1e5d8);display:grid;place-items:center;overflow:hidden}.card-cover img{width:100%;height:100%;object-fit:cover}.empty-cover{font-size:38px;opacity:.3}.card-body{padding:18px}.card-meta,.card-footer{display:flex;align-items:center;justify-content:space-between}.card-meta{font-size:12px;color:var(--muted)}.project-card h3{margin:11px 0 8px}.project-card p{font-size:13px;min-height:44px}.progress{height:6px;background:#edf0ed;border-radius:9px;overflow:hidden;margin:16px 0 11px}.progress i{display:block;height:100%;background:linear-gradient(90deg,#2f8d66,#e89b60);border-radius:9px}.status{display:inline-block;padding:6px 10px;border-radius:15px;background:#fff2e8;color:#a95822;font-size:12px;font-weight:750}.card-footer{font-size:12px;color:var(--muted)}.back{margin-bottom:20px}.detail-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.detail-head h2{font-size:27px;margin:4px 0}.stepper{display:grid;grid-template-columns:repeat(7,1fr);margin:20px 0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px}.step{position:relative;text-align:center;font-size:11px;color:var(--muted)}.step:before{content:"";display:block;width:25px;height:25px;border-radius:50%;background:#edf0ed;margin:0 auto 7px;position:relative;z-index:2}.step:not(:last-child):after{content:"";position:absolute;height:2px;background:#edf0ed;width:calc(100% - 23px);top:12px;left:calc(50% + 12px)}.step.done:before,.step.done:after{background:#67aa88}.step.current:before{background:var(--orange);box-shadow:0 0 0 5px #fce9dd}.step.current{color:var(--ink);font-weight:750}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.panel h3,.panel h4{margin:0 0 6px}.panel-head p{font-size:12px;color:var(--muted);margin:0}.upload-btn{padding:10px 12px;background:#eef7f2;color:var(--green);font-size:12px;font-weight:750;border-radius:11px;cursor:pointer}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:20px}.thumb{background:#f1f3ef;border-radius:14px;overflow:hidden;cursor:pointer;border:2px solid transparent}.thumb:hover{border-color:#70a98c}.thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.thumb p{font-size:11px;padding:8px 10px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-sheet-gallery{grid-template-columns:1fr}.contact-sheet-gallery .thumb img{aspect-ratio:auto;max-height:none;object-fit:contain;background:#eef3ef}.gallery-empty{grid-column:1/-1;display:grid;place-items:center;height:260px;border:1px dashed #cbd4ce;border-radius:15px;color:var(--muted);text-align:center}.decision-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:20px}.decision-grid button{border:1px solid var(--line);border-radius:11px;padding:11px 8px;background:#fff;cursor:pointer}.decision-grid button.selected{border-color:var(--green);color:var(--green);background:#eef8f3;font-weight:750}.divider{height:1px;background:var(--line);margin:24px 0}.history{display:grid;gap:10px}.history-item{border-left:3px solid #86af99;background:#f7f9f7;padding:10px 12px;border-radius:0 10px 10px 0}.history-item b{font-size:12px}.history-item p{margin:5px 0 0;font-size:12px;color:var(--muted)}dialog{border:0;border-radius:18px;padding:10px;background:#111;max-width:min(1000px,92vw);box-shadow:0 30px 80px #0008}dialog::backdrop{background:#09110ccc}dialog img{display:block;max-height:75vh;max-width:88vw;border-radius:10px}dialog p{color:#fff;margin:10px 4px 2px}dialog button{position:absolute;right:16px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#111;font-size:22px;cursor:pointer}.toast{position:fixed;right:25px;bottom:25px;background:#13241c;color:#fff;padding:13px 17px;border-radius:12px;box-shadow:var(--shadow);transform:translateY(90px);opacity:0;transition:.25s}.toast.show{transform:none;opacity:1}@media(max-width:1000px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;flex-direction:row;align-items:center;overflow:auto}.sidebar nav{display:flex}.sidebar-note,.sidebar>.ghost{display:none}main{padding:22px}.workspace-grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}}.project-list-title>div:first-child{display:flex;align-items:baseline;gap:12px}.view-switch{display:flex;gap:5px;padding:4px;background:#e9eeeb;border-radius:11px}.view-switch button{border:0;background:transparent;color:var(--muted);padding:7px 11px;border-radius:8px;cursor:pointer;font-size:12px}.view-switch button.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px #1b2f2514}.grid-view{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.list-view{grid-template-columns:1fr}.list-view .project-card{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:142px}.list-view .card-cover{height:100%;min-height:142px}.list-view .card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-content:center}.list-view .card-meta,.list-view .direction-state,.list-view h3,.list-view p,.list-view .progress{grid-column:1}.list-view .card-footer{grid-column:2;grid-row:1/6;min-width:210px;align-self:center;display:grid;justify-items:end;gap:12px}.list-view .project-card p{min-height:0;margin:3px 0 6px}.list-view .progress{margin:8px 0}.direction-state{display:inline-flex;width:max-content;margin-top:10px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:750}.direction-state.confirmed{background:#e9f5ee;color:#2f7958}.direction-state.pending{background:#f3f1ec;color:#8b7965}.form-help{margin:-4px 0 0!important;padding:10px 12px;border-radius:10px;background:#f5f7f5;color:var(--muted)!important;font-size:11px;line-height:1.6}.form-dialog label small{margin-left:6px;color:var(--muted);font-weight:500}.form-dialog{width:min(620px,92vw);max-width:620px;max-height:90vh;overflow-y:auto;background:#fff;color:var(--ink);padding:28px;border-radius:22px}.form-dialog form{display:grid;gap:16px}.form-dialog .dialog-head{display:flex;align-items:flex-start;justify-content:space-between}.form-dialog h2{margin:3px 0}.form-dialog .eyebrow{margin:0}.form-dialog button{position:static;width:auto;height:auto}.form-dialog .dialog-head button{border:0;background:#edf1ee;color:var(--ink);font-size:22px;width:36px;height:36px;border-radius:50%}.form-dialog label{display:grid;gap:7px;font-size:13px;font-weight:750}.form-dialog input,.form-dialog textarea,.stage-text-block textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:13px;background:#fbfcfa;outline:none;color:var(--ink)}.form-dialog input:focus,.form-dialog textarea:focus,.stage-text-block textarea:focus{border-color:#77ab90;box-shadow:0 0 0 3px #e5f3eb}.action-btn{border:1px solid var(--line);border-radius:11px;padding:9px 12px;color:var(--ink);background:#fff}.stage-text-block,.document-block{padding:0 0 22px}.stage-text-block textarea{margin-top:14px;line-height:1.7;resize:vertical}.document-block{border-top:1px solid var(--line);padding-top:22px}.document-list{display:grid;gap:8px;margin-top:14px}.document-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:11px;background:#f5f7f5;color:var(--ink);text-decoration:none;font-size:12px}.document-list a:hover{background:#eaf4ee}.document-list small{color:var(--muted)}.stage-text-block.choice-only{padding-bottom:10px}.choice-only>.panel-head,.choice-only>textarea{display:none}.topic-choices{margin-top:0}.candidate-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.candidate-head h3{margin:10px 0 5px;font-size:20px}.candidate-head p{margin:0;color:var(--muted);font-size:12px}.candidate-head>strong{padding:7px 11px;border-radius:999px;background:#f1f4f2;color:var(--muted);font-size:11px;white-space:nowrap}.candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-option{display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:108px;border:1px solid var(--line);background:linear-gradient(145deg,#fff,#fafbf9);border-radius:15px;padding:14px;text-align:left;cursor:pointer;transition:.18s}.topic-option:hover{transform:translateY(-2px);border-color:#8ab49d;box-shadow:0 8px 20px #1b2f2510}.topic-option.selected{border-color:var(--green);background:linear-gradient(145deg,#eef8f3,#f8fcfa);box-shadow:0 0 0 2px #d9eee3}.candidate-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf1ee;color:#63736a;font-size:12px;font-weight:800}.topic-option.selected .candidate-number{background:var(--green);color:#fff}.candidate-copy{display:grid;gap:6px}.candidate-copy b{font-size:14px;line-height:1.45}.candidate-copy small{color:var(--muted);font-size:11px;line-height:1.55}.candidate-radio{display:grid;place-items:center;width:22px;height:22px;border:1px solid #cbd5cf;border-radius:50%;color:#8a9991;font-size:12px}.topic-option.selected .candidate-radio{border-color:var(--green);background:var(--green);color:#fff}.decision-grid button[data-decision="退回重做"].selected{border-color:#c55050;color:#a63e3e;background:#fff1f1}.detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.manage-btn{border:1px solid var(--line);border-radius:10px;padding:8px 11px;background:#fff;color:var(--ink);font-size:12px;cursor:pointer}.manage-btn:hover{border-color:#96b4a4;background:#f3f8f5}.manage-btn.danger{color:#a33d3d;border-color:#edd0d0}.manage-btn.danger:hover{background:#fff0f0;border-color:#cf7777}.stepper .step{border:0;cursor:default;font-family:inherit}.stepper .step.viewable{cursor:pointer}.stepper .step.viewable:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(31,122,85,.12)}.stepper .step.inspecting{outline:2px solid #2d8a65;outline-offset:2px}.stepper .step small{display:block;font-size:9px;color:#769385;margin-left:auto}.stepper .step:disabled{opacity:.58}.prior-stage-guard{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid #efd2c1;border-radius:14px;background:#fff7f1}.prior-stage-guard strong{color:#9a4d20}.prior-stage-guard p{margin:0}.prior-stage-guard button{width:100%;padding:11px}.production-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.production-summary .eyebrow{margin:0 0 6px}.production-summary h3{font-size:22px}.production-summary p{margin:0}.production-summary>strong{display:grid;place-items:center;min-width:74px;height:74px;border-radius:22px;background:#eaf5ef;color:var(--green);font-size:23px}.production-groups{display:grid;gap:18px;margin-top:20px}.production-group{border:1px solid var(--line);border-radius:16px;overflow:hidden}.production-group-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;background:#f3f7f4}.production-group-head span{font-size:11px;color:var(--muted)}.production-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 15px;border-top:1px solid #edf0ed}.production-index{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#edf1ee;color:#63736a;font-size:11px;font-weight:800}.production-copy{display:grid;gap:5px;min-width:0}.production-copy>b{font-size:13px}.production-copy small{color:var(--muted);font-size:11px;line-height:1.5}.production-copy code{display:block;padding:7px 9px;border-radius:8px;background:#f6f7f6;color:#405148;font-size:10px;white-space:normal;word-break:break-all}.production-badge{padding:5px 8px;border-radius:999px;background:#eef1ef;color:#728078;font-size:10px;font-weight:800}.status-done .production-badge{background:#e3f3ea;color:#2f7958}.status-done .production-index{background:#58a77e;color:#fff}.status-running .production-badge{background:#fff0e5;color:#a95b29}.status-running .production-index{background:#e98142;color:#fff}.status-blocked .production-badge{background:#fff0f0;color:#a33d3d}.delivery-progress-panel{display:grid;gap:13px;margin-top:18px;padding:16px;border-radius:14px;background:#eef7f2;border:1px solid #d2e8dc}.delivery-progress-panel>strong{color:var(--green)}.delivery-progress-panel p{margin:0}.delivery-progress-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.delivery-progress-counts span{display:flex;justify-content:space-between;padding:8px 9px;border-radius:9px;background:#fff;font-size:11px}.card-cover{position:relative}.card-actions{position:absolute;top:10px;right:10px;display:flex;gap:6px;opacity:0;transform:translateY(-4px);transition:.18s}.project-card:hover .card-actions,.archived-card .card-actions{opacity:1;transform:none}.card-actions button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffffaa;border-radius:9px;background:#ffffffea;color:#35453d;box-shadow:0 4px 12px #1a2a2218;cursor:pointer}.card-actions .quick-delete{color:#ad3f3f;font-size:18px}.archived-card{opacity:.82}.archived-card .card-cover{filter:saturate(.45)}.workflow-map.collapsed{padding:14px 20px;margin:16px 0 22px}.workflow-map.collapsed .section-title{margin:0}.workflow-map.collapsed .workflow-list{display:none}.workflow-map{margin:22px 0 30px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.workflow-map .section-title{margin:0 0 16px}.workflow-map .eyebrow{margin:0}.workflow-list{display:grid;grid-template-columns:repeat(7,minmax(135px,1fr));gap:10px;overflow-x:auto;padding-bottom:4px}.workflow-step{position:relative;min-height:200px;padding:16px 14px;border:1px solid var(--line);border-radius:16px;background:#fafbf9}.workflow-step.user-step{background:#fff8f1;border-color:#f0d7c3}.workflow-step.ai-step{background:#f2f8f5;border-color:#cfe6da}.workflow-number{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#dfe8e2;color:var(--green);font-weight:800}.user-step .workflow-number{background:#f8dfcd;color:#b65b28}.workflow-title{margin-top:14px;display:flex;align-items:start;justify-content:space-between;gap:6px}.workflow-title h4{margin:0;font-size:15px}.workflow-title span,.gate-mode{white-space:nowrap;border-radius:999px;background:#e6f3ec;color:var(--green);padding:4px 7px;font-size:10px;font-weight:800}.user-step .workflow-title span{background:#fae5d5;color:#ad592b}.workflow-step p{font-size:12px;line-height:1.65;color:var(--muted);margin:10px 0}.workflow-step small{display:block;font-size:10px;line-height:1.5;color:#53625a}.stepper{gap:8px}.step{display:flex!important;align-items:center;justify-content:flex-start;gap:6px;padding:9px 8px;border-radius:11px;background:#f4f6f4;text-align:left!important}.step:before,.step:not(:last-child):after{display:none!important}.step.done{background:#eaf5ef;color:#357a5d}.step.current{background:#fff0e6;color:#9a4d20}.step b{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:#e0e7e3;font-size:11px}.step.done b{background:#67aa88;color:#fff}.step.current b{background:var(--orange);color:#fff}.current-gate{display:grid;grid-template-columns:1fr minmax(250px,34%);gap:24px;align-items:center;margin:18px 0;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#eef7f2,#fff8f1);border:1px solid #dce9e1}.current-gate h3{margin:10px 0 4px}.current-gate p{margin:0;color:var(--muted);line-height:1.6}.gate-rule{display:grid;grid-template-columns:auto 1fr;gap:7px 12px;padding-left:22px;border-left:1px solid #d7e2dc}.gate-rule small{color:var(--muted)}.gate-rule strong{font-size:12px;line-height:1.5}@media(max-width:1180px){.workflow-list{grid-template-columns:repeat(7,170px)}}@media(max-width:620px){.logo strong,.nav b{display:none}.sidebar{padding:12px}.nav{white-space:nowrap;padding:9px}.hero{padding:20px}.hero-number{display:none}.stepper{overflow-x:auto;grid-template-columns:repeat(7,115px)}.step span{white-space:nowrap}.project-grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.detail-head{display:block}.current-gate{grid-template-columns:1fr}.gate-rule{padding:16px 0 0;border-left:0;border-top:1px solid #d7e2dc}.list-view .project-card{grid-template-columns:1fr}.list-view .card-cover{height:130px;min-height:130px}.list-view .card-body{display:block}.list-view .card-footer{display:flex;min-width:0}.project-list-title{align-items:flex-end}.candidate-grid{grid-template-columns:1fr}.candidate-head{display:block}.candidate-head>strong{display:inline-block;margin-top:10px}}

/* 2026 team brand and visual polish */
:root{--bg:#f3f5f2;--panel:#fff;--ink:#17211c;--muted:#6f7e76;--line:#dfe6e1;--green:#1f7a55;--green-dark:#10281e;--green-soft:#eaf4ee;--orange:#d9783c;--shadow:0 12px 32px rgba(22,45,34,.07)}
body{background:linear-gradient(180deg,#f8faf8 0,#f2f5f2 420px,#f3f5f2 100%)}
button:focus-visible,input:focus-visible,textarea:focus-visible,.project-card:focus-visible{outline:3px solid rgba(31,122,85,.3);outline-offset:3px}
.app{grid-template-columns:250px 1fr}.sidebar{padding:24px 18px;background:linear-gradient(180deg,#10271d,#0d2118);border-right:1px solid rgba(255,255,255,.06)}
.team-logo{align-items:center;gap:12px;padding:0 8px 24px}.team-logo img{width:46px;height:46px;object-fit:cover;border-radius:15px;border:2px solid rgba(255,255,255,.22);box-shadow:0 8px 20px rgba(0,0,0,.18)}.team-logo>div{display:grid;gap:4px;min-width:0}.team-logo strong{font-size:16px;white-space:nowrap}.team-logo small{font-size:10px;color:#8faaa0;letter-spacing:.04em}.logo span{display:none}
.brand-avatar{width:64px;height:64px;object-fit:cover;border-radius:20px;padding:0;background:none;box-shadow:0 12px 28px rgba(16,39,29,.18)}
.sidebar nav{gap:6px}.nav{border:1px solid transparent}.nav.active{border-color:rgba(116,183,151,.18);background:rgba(91,153,124,.18)}.nav:hover{background:rgba(255,255,255,.07)}
.sidebar-note{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.1)}
main{padding:28px 36px 64px;max-width:1560px}header{position:sticky;top:0;z-index:20;margin:-28px -10px 24px;padding:24px 10px 18px;background:rgba(248,250,248,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(223,230,225,.75)}header h1{font-size:26px;letter-spacing:-.03em}.header-actions .ghost,.back,.action-btn,.manage-btn{transition:border-color .18s,background .18s,transform .18s}.header-actions .ghost:hover,.back:hover,.action-btn:hover{border-color:#aac3b5;background:#f6faf7}.primary{box-shadow:0 7px 18px rgba(31,122,85,.16)}
.hero{background:linear-gradient(120deg,#1f7a55,#2b8b65);box-shadow:0 16px 36px rgba(31,122,85,.15);border:1px solid rgba(255,255,255,.16)}.hero h2{font-size:25px;letter-spacing:-.02em}.hero-number strong{font-variant-numeric:tabular-nums}
.workflow-map,.panel,.detail-head,.stepper,.current-gate{box-shadow:0 8px 24px rgba(22,45,34,.045)}.workflow-map{border-color:#dde6e0}.workflow-step{min-height:212px;background:#fbfcfb}.workflow-step.ai-step{background:linear-gradient(180deg,#f1f8f4,#f9fcfa)}.workflow-step-top{display:flex;justify-content:space-between;align-items:center}.workflow-title h4{font-size:14px}.workflow-step p{min-height:58px}
.team-avatar,.workflow-avatar{object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 7px rgba(15,38,27,.16)}.team-avatar{width:24px;height:24px}.workflow-avatar{width:27px;height:27px}.avatar-stack{display:inline-flex;align-items:center;vertical-align:middle}.named-team{gap:6px;max-width:100%}.named-avatar{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.named-avatar small,.team-count{font-size:11px;font-weight:750;color:#3f5d4f}.avatar-stack .workflow-avatar+ .workflow-avatar{margin-left:-8px}.owner-chip{display:inline-flex;align-items:center;gap:6px}.gate-rule>strong,#taskReceipt strong{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gate-rule>strong>.team-avatar,#taskReceipt strong>.team-avatar{flex:0 0 auto}.detail-owner{margin-left:3px;color:var(--green);font-weight:750}.detail-owner .team-avatar{width:22px;height:22px}
.project-grid{gap:20px}.project-card{border-color:#dfe6e1;border-radius:22px;box-shadow:0 8px 22px rgba(22,45,34,.05);background:rgba(255,255,255,.96)}.project-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(22,45,34,.1)}.card-cover{height:178px}.card-cover:after{content:"";position:absolute;inset:auto 0 0;height:42px;background:linear-gradient(transparent,rgba(10,30,21,.14));pointer-events:none}.card-body{padding:18px 19px 19px}.card-meta{min-height:26px}.card-meta .owner-chip{color:#476056}.project-card h3{font-size:19px;letter-spacing:-.02em}.progress{height:5px;background:#e9eeeb}.progress i{background:linear-gradient(90deg,#2f8d66,#69af8e)}.status{white-space:nowrap}
.detail-head{padding:26px 28px}.detail-head h2{font-size:28px;letter-spacing:-.03em}.stepper{padding:14px;gap:7px}.step{min-height:50px;padding:8px 9px}.step>span{min-width:0}.step .avatar-stack{margin-left:auto}.step .workflow-avatar{width:20px;height:20px}.step small{display:none}.step .named-avatar small,.step .team-count{display:inline}.step.done:hover small,.step.inspecting small{display:block}.step.inspecting{outline:2px solid var(--green);outline-offset:0;box-shadow:inset 0 0 0 2px #fff}.current-gate{padding:22px 25px;background:linear-gradient(130deg,#edf7f1,#fffaf5)}.current-gate h3{font-size:22px}.gate-rule strong .avatar-stack{margin-left:9px}.gate-rule .workflow-avatar{width:22px;height:22px}
.workspace-grid{align-items:start}.review-panel{position:sticky;top:106px;max-height:calc(100vh - 130px);overflow:auto}.workspace-grid.direction-review-only{grid-template-columns:minmax(380px,520px);justify-content:end}.direction-review-only .review-panel{width:100%}
.production-summary>strong{border-radius:18px}.production-group{border-color:#dce5df}.production-group-head{background:#f0f6f2}.production-row{padding:14px 15px}.production-row:hover{background:#fbfdfb}.production-copy code{border:1px solid #e7ece9;background:#f6f8f6}
.review-panel{border-top:3px solid #d9ece2}.history-item{border-left-color:#6dab89}.delivery-progress-panel{background:linear-gradient(180deg,#edf7f1,#f6faf7)}
@media(max-width:1000px){.app{grid-template-columns:1fr}.team-logo{padding:0 10px 0 0}.team-logo small{display:none}header{top:0}.review-panel{position:static;max-height:none}.workspace-grid.direction-review-only{grid-template-columns:1fr;justify-content:stretch}}
@media(max-width:620px){main{padding:18px}.team-logo strong{font-size:14px}.stepper .avatar-stack{display:none}.header-actions .private-badge{display:none}.hero h2{font-size:21px}.current-gate{padding:18px}.workflow-step{min-height:185px}}
.production-group-head{cursor:pointer;list-style:none;position:relative;padding-left:38px}.production-group-head::-webkit-details-marker{display:none}.production-group-head:before{content:'›';position:absolute;left:16px;top:50%;transform:translateY(-50%) rotate(0);font-size:21px;color:#638074;transition:transform .18s}.production-group[open]>.production-group-head:before{transform:translateY(-50%) rotate(90deg)}
.workspace-grid.direction-review-only{grid-template-columns:1fr;justify-content:stretch}.direction-review-only .review-panel{position:static;max-height:none;width:100%;display:grid;grid-template-columns:minmax(260px,390px) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:28px;align-items:start}.direction-review-only .review-panel>.eyebrow{grid-column:1;grid-row:1;margin-top:0}.direction-review-only .review-panel>h3{grid-column:1;grid-row:2}.direction-review-only #priorStageGuard,.direction-review-only #reviewControls,.direction-review-only #deliveryProgressPanel{grid-column:1;grid-row:3}.direction-review-only .review-panel>.divider{display:none}.direction-review-only .review-panel>h4{grid-column:2;grid-row:1/3;margin-top:0}.direction-review-only #reviewHistory{grid-column:2;grid-row:3}.direction-review-only .review-panel{border-top-color:#efd3c1}
@media(max-width:760px){.direction-review-only .review-panel{display:block}.direction-review-only .review-panel>.divider{display:block}}
/* Reference image deletion stays secondary to preview. */
.thumb{position:relative}
.reference-delete{position:absolute;right:9px;bottom:9px;z-index:2;border:1px solid #e3aaaa;border-radius:9px;background:rgba(255,247,247,.96);color:var(--red);padding:7px 11px;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 3px 10px rgba(128,35,35,.08)}
.reference-delete:hover{border-color:var(--red);background:#fff0f0}
.reference-delete:disabled{opacity:.5;cursor:not-allowed}
:root{--muted:#5f7067}
.app>main{min-width:0}
.stepper .step small{color:#587064;font-size:10px}
@media(max-width:1000px){.sidebar{height:auto;overflow-x:auto}.sidebar-note{display:none}.sidebar>.ghost{display:block;margin-left:auto;white-space:nowrap;padding:10px 12px}.card-actions{opacity:1;transform:none}.stepper{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:150px;width:100%;max-width:100%;min-width:0;overflow-x:auto}.header-actions{flex-wrap:wrap}header{position:static;margin:0 0 20px;padding:0 0 18px;gap:16px;flex-wrap:wrap;background:transparent;backdrop-filter:none}.list-view .project-card{grid-template-columns:180px minmax(0,1fr)}.list-view .card-footer{min-width:170px}}
@media(max-width:620px){.team-logo strong{display:block;font-size:13px}.team-logo>div{display:block}.team-logo small{display:none}header{align-items:flex-start}.header-actions{width:100%}.header-actions #newProject{flex:1}.header-actions #refresh{padding-inline:12px}.panel-head{flex-wrap:wrap}.upload-btn{min-height:44px;display:flex;align-items:center}.card-actions button{width:38px;height:38px}.production-row{grid-template-columns:28px minmax(0,1fr)}.production-badge{grid-column:2;justify-self:start}.production-copy code{font-size:9px}}
/* AI employee status entrance */
.team-status-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:11px 15px;background:#fff;font-weight:700}
.team-status-link:hover{color:var(--green)}

.candidate-evidence{display:grid;gap:5px;margin-top:9px;padding-top:9px;border-top:1px dashed #d9e4de;text-align:left}
.candidate-evidence em{justify-self:start;padding:3px 8px;border-radius:999px;background:#eef7f2;color:#28714f;font-size:10px;font-style:normal;font-weight:750}
.candidate-evidence small{display:block!important;color:#52665c!important;line-height:1.55!important}
.candidate-evidence strong{color:#294d3c}
.topic-option{align-items:flex-start}
.production-avatar{width:26px;height:26px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 7px rgba(15,38,27,.14);flex:0 0 auto}.production-owner{display:flex;align-items:center;gap:8px;min-width:0}.production-group-meta{display:flex;align-items:center;gap:12px}.production-assignees{display:inline-flex;align-items:center}.production-assignees .production-avatar+.production-avatar{margin-left:-7px}.production-group-head>.production-group-meta>span:last-child{font-variant-numeric:tabular-nums;min-width:24px;text-align:right}.source-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 18px}.source-mode-tabs button{display:grid;gap:4px;text-align:left;padding:14px 16px;border:1px solid #dce5df;border-radius:13px;background:#fafcfb;color:#354a40}.source-mode-tabs button.active{border-color:#3d8566;background:#edf7f1;box-shadow:0 0 0 2px rgba(61,133,102,.1)}.source-mode-tabs b{font-size:14px}.source-mode-tabs small{font-size:11px;color:var(--muted)}.source-fields{display:grid;gap:14px}.file-drop{padding:14px;border:1px dashed #b9cec2;border-radius:12px;background:#f7faf8}.file-drop input{padding:8px 0;border:0;background:transparent}.file-drop>span{font-size:11px;color:var(--muted);font-weight:500}.benchmark-primary-upload{display:grid;gap:8px;border:2px dashed #78a88e;background:#f2faf5}.benchmark-primary-upload>b{font-size:16px;color:#226746}.selected-file-list{display:block;max-height:66px;overflow:auto;padding:9px 11px;border-radius:9px;background:#fff;color:#2f5e48;font-size:11px;line-height:1.55;word-break:break-all}.vision-rule{margin:0;padding:12px 14px;border-left:4px solid #3d8566;border-radius:9px;background:#edf7f1;color:#315f4a;font-size:12px;line-height:1.7}.source-badge{padding:3px 7px;border-radius:999px;background:#fff2df!important;color:#9a5a22!important;border:1px solid #f0d2a8!important}.benchmark-source-panel{margin:0 0 18px;border:1px solid #d9e5de;border-radius:14px;background:#f8fbf9;overflow:hidden}.benchmark-source-panel summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none}.benchmark-source-panel summary::-webkit-details-marker{display:none}.benchmark-source-panel summary>span:first-child{display:grid;gap:3px}.benchmark-source-panel summary small{font-size:11px;color:var(--muted);font-weight:500}.benchmark-source-panel summary>span:last-child{font-size:11px;color:var(--green);font-weight:750}.benchmark-source-meta{display:flex;gap:10px;align-items:center;padding:0 18px 12px}.benchmark-source-meta a,.benchmark-source-meta span{padding:5px 9px;border-radius:999px;font-size:11px;background:#e8f4ed;color:#246a4c}.benchmark-source-panel pre{margin:0;padding:18px;border-top:1px solid #e3ebe6;white-space:pre-wrap;word-break:break-word;font:12px/1.75 'Microsoft YaHei',sans-serif;color:#344a40;background:#fff}.task-receipt{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-12px 0 20px;padding:11px 16px;border:1px solid #cfe1d7;border-radius:12px;background:#f0f8f3;color:#2f5e48;font-size:12px}.task-receipt>span{font-weight:800}.task-receipt code{padding:4px 7px;border-radius:7px;background:#fff;color:#226746}.task-receipt strong{font-size:12px}.task-receipt small{margin-left:auto;color:var(--muted)}.benchmark-recovery-panel{display:grid;gap:18px;margin:0 0 18px;padding:22px;border:1px solid #efcba9;border-radius:16px;background:#fff9f2}.benchmark-recovery-panel h3{margin:8px 0 6px}.benchmark-recovery-panel p{margin:0;color:var(--muted);line-height:1.7}.phone-bridge-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #d9e5de;border-radius:12px;background:#f8fbf9}.phone-bridge-row>span{font-size:12px;font-weight:750;color:#9a5a22}.phone-bridge-row>span.online{color:#25704f}.phone-bridge-row>div{display:flex;align-items:center;gap:8px}.phone-bridge-row a{text-decoration:none}.phone-bridge-row a,.phone-bridge-row button{white-space:nowrap;min-width:108px;text-align:center}.recovery-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px}.recovery-divider:before,.recovery-divider:after{content:"";height:1px;flex:1;background:#eadfd5}.recovery-actions{display:flex;align-items:center;gap:14px}.recovery-actions .error{margin:0}.candidate-working{display:flex;align-items:center;gap:18px;min-height:250px;padding:28px;border:1px solid #d9e7df;border-radius:16px;background:#f5faf7}.candidate-working>img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:4px solid #fff;box-shadow:0 8px 24px rgba(26,83,58,.14)}.candidate-working h3{margin:8px 0 6px}.candidate-working p{margin:0;color:var(--muted);line-height:1.7}.ai-working-panel{padding:18px;border:1px solid #d9e7df;border-radius:14px;background:#f5faf7}.ai-working-panel p{margin:10px 0 0;line-height:1.65}.workspace-grid.direction-edit-only{grid-template-columns:1fr}.direction-edit-panel{padding:30px;border:1px solid var(--line);border-top:3px solid #e1b78e;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(24,45,34,.06)}.direction-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.direction-edit-head h3{margin:5px 0 8px;font-size:23px}.direction-edit-head p{margin-bottom:0;line-height:1.65;color:var(--muted)}.direction-edit-head>img{width:58px;height:58px;object-fit:cover;border-radius:50%;border:4px solid #f0f6f2}.direction-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.direction-edit-form label{display:grid;gap:8px;font-size:13px;font-weight:750;color:#45594f}.direction-edit-form .full{grid-column:1/-1}.direction-edit-form input,.direction-edit-form textarea{width:100%;border:1px solid #dce4df;border-radius:12px;background:#fbfcfb}.direction-edit-form textarea{resize:vertical;line-height:1.65}.direction-edit-actions{display:flex;justify-content:flex-end}.direction-edit-actions .primary{min-width:280px}@media(max-width:620px){.production-avatar{width:24px;height:24px}.production-group-meta{gap:8px}.candidate-working{min-height:190px;align-items:flex-start;padding:22px}.candidate-working>img{width:52px;height:52px}.direction-edit-panel{padding:22px}.direction-edit-form{grid-template-columns:1fr}.direction-edit-form .full{grid-column:1}.direction-edit-actions .primary{width:100%;min-width:0}.direction-edit-head>img{width:48px;height:48px}.phone-bridge-row{align-items:stretch;flex-direction:column}.phone-bridge-row>div{align-items:stretch;flex-direction:column}.phone-bridge-row button,.phone-bridge-row a{width:100%;text-align:center}}
