:root{--ink:#17202b;--muted:#66727d;--line:#d8dfe3;--paper:#f4f6f4;--card:#fff;--primary:#2857e8;--primary-weak:#edf1ff;--navy:#112b45;--success:#2f7a57;--danger:#b42318;--radius:12px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(40,87,232,.28);outline-offset:2px}img{max-width:100%;display:block}.app{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px 18px;gap:25px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--navy);color:#fff;font-weight:700}.brand strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:18px;font-weight:600}.brand small{display:block;color:#87929b;font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-top:3px}.workspace-nav{display:flex;flex-direction:column;gap:5px}.nav-label{padding:0 12px 7px;color:#8b969f;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.nav-item{border:0;background:transparent;color:#687580;text-align:left;padding:11px 12px;border-radius:8px;font-size:13px;display:flex;align-items:center;justify-content:space-between}.nav-item:hover{background:#f0f3f4;color:var(--primary)}.nav-item.active{background:var(--primary-weak);color:var(--primary);font-weight:600}.nav-item .count{color:#9aa6ad;font-size:11px}.project-nav{border-top:1px solid var(--line);padding-top:22px;display:none}.project-nav.show{display:block}.project-nav .project-name{padding:0 12px 10px;color:var(--navy);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-nav .nav-item{font-size:12px;padding:9px 12px}.side-footer{margin-top:auto;border-top:1px solid var(--line);padding:16px 12px 0;color:#8a969d;font-size:11px;line-height:1.7}.side-footer strong{color:#43525d;font-weight:600}.main{min-width:0}.topbar{height:72px;background:rgba(244,246,244,.94);border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink)}.top-actions{display:flex;gap:8px}.top-actions button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 11px;color:#56636e;font-size:11px}.content{max-width:1500px;padding:40px 44px 70px;margin:0 auto}.view{display:none}.view.active{display:block}.eyebrow{color:var(--primary);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:9px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-head h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(32px,4vw,56px);line-height:1.04;margin:0;font-weight:600;letter-spacing:-.03em}.page-head p{color:var(--muted);max-width:640px;line-height:1.7;font-size:13px;margin:12px 0 0}.button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#45535e;padding:11px 15px;font-size:12px}.button:hover{border-color:#9aacb8}.button.primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.button.primary:hover{background:#1d46c8}.button.danger{color:var(--danger);border-color:#efc4c0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.empty{border:1px dashed #b9c5cb;background:#fbfcfc;border-radius:var(--radius);padding:70px 24px;text-align:center}.empty h2{font:600 23px "Playfair Display",Georgia,serif;margin:0 0 10px}.empty p{color:var(--muted);font-size:13px;line-height:1.7;max-width:520px;margin:0 auto 22px}.empty .button{margin:0 4px}.home-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.welcome{padding:30px;min-height:300px;background:var(--navy);color:#fff}.welcome h2{font:600 34px/1.12 "Playfair Display",Georgia,serif;margin:0 0 14px}.welcome p{color:#cbd8e3;max-width:520px;font-size:13px;line-height:1.7}.quick-list{display:grid;gap:10px}.quick-card{padding:20px;display:flex;justify-content:space-between;align-items:flex-start}.quick-card b{font-size:14px}.quick-card span{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.5}.quick-card a{color:var(--primary);font-size:12px;text-decoration:none}.library-tools{display:flex;gap:9px;align-items:center}.search{width:230px;border:1px solid var(--line);border-radius:8px;padding:11px 12px;background:#fff;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{padding:20px;min-height:180px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:border-color .18s ease,transform .18s ease}.project-card:hover{border-color:#9cafbb;transform:translateY(-2px)}.project-card h3{font-size:17px;margin:14px 0 9px}.project-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.project-meta{display:flex;justify-content:space-between;gap:8px;color:#88949c;font-size:10px;margin-top:20px}.status{padding:4px 7px;border-radius:999px;background:#eef2f2;color:#58706a;font-size:10px}.status.draft{background:#f5efe5;color:#846c3e}.section-label{display:flex;justify-content:space-between;align-items:center;margin:28px 0 13px;color:#50606b;font-size:12px}.section-label span{color:#9aa5ab;font-size:11px}.phase-bar{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:25px}.phase-link{border:1px solid var(--line);background:#fff;color:#6a7780;border-radius:7px;padding:9px 12px;font-size:11px}.phase-link:hover{border-color:#91a0ab}.phase-link.active{background:var(--navy);border-color:var(--navy);color:#fff}.project-summary{padding:26px;margin-bottom:18px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.project-summary h2{font:600 32px "Playfair Display",Georgia,serif;margin:0 0 9px}.project-summary p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.summary-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.tag{border-radius:999px;background:#f0f3f4;color:#5d6a72;font-size:10px;padding:6px 9px}.tag.primary{background:var(--primary-weak);color:var(--primary)}.step-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.step-card{padding:18px;min-height:130px}.step-card .step-no{color:var(--primary);font-size:10px;font-weight:700}.step-card h3{font-size:14px;margin:13px 0 7px}.step-card p{color:var(--muted);font-size:11px;line-height:1.55;margin:0}.form-card{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#596771}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);font-size:12px}.field textarea{min-height:120px;resize:vertical;line-height:1.6}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.upload{border:1px dashed #acbbc3;border-radius:10px;padding:24px;text-align:center;background:#fbfcfc;display:block;cursor:pointer}.upload input{display:none}.upload strong{display:block;font-size:13px}.upload span{display:block;color:var(--muted);font-size:11px;margin-top:8px;line-height:1.5}.upload-preview{max-height:320px;margin:16px auto 0;object-fit:contain;border:1px solid var(--line)}.plan-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.preview-card{padding:18px;min-height:420px}.preview-card h3{font-size:14px;margin:0 0 12px}.preview-empty{display:grid;place-items:center;min-height:320px;background:#f7f9f8;border:1px dashed #c0ccd2;border-radius:9px;color:#87939b;font-size:12px;text-align:center;padding:20px}.render-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.render-item{overflow:hidden}.render-item img{width:100%;height:210px;object-fit:cover;background:#f0f2f2}.render-item .render-copy{padding:14px}.render-copy b{font-size:13px}.render-copy span{display:block;color:var(--muted);font-size:10px;margin-top:6px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{padding:18px}.template-card h3{font-size:14px;margin:0 0 8px}.template-card p{color:var(--muted);font-size:11px;line-height:1.6;margin:0 0 14px}.template-card img{width:100%;height:170px;object-fit:cover;background:#f3f5f5;border-radius:8px;margin-bottom:13px}.model-status{padding:18px 20px;background:#f8fbff;border:1px solid #cfdcf8;border-radius:10px;color:#465a74;font-size:12px;line-height:1.7;margin-bottom:18px}.modal-backdrop{display:none;position:fixed;inset:0;background:rgba(17,43,69,.36);z-index:20;padding:20px;align-items:center;justify-content:center}.modal-backdrop.show{display:flex}.modal{width:min(590px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;padding:26px}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.modal h2{font:600 27px "Playfair Display",Georgia,serif;margin:0}.close{border:0;background:transparent;color:#72808a;font-size:24px;line-height:1}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;padding:14px}.choice.active{border-color:var(--primary);background:var(--primary-weak)}.choice b{display:block;font-size:12px}.choice span{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:6px}.toast{position:fixed;right:24px;bottom:24px;z-index:30;max-width:360px;background:var(--navy);color:#fff;border-radius:9px;padding:12px 15px;font-size:12px;transform:translateY(120px);opacity:0;transition:transform .18s ease,opacity .18s ease}.toast.show{transform:translateY(0);opacity:1}.error{color:var(--danger);font-size:11px;margin-top:8px}.hidden{display:none!important}.admin-shell{max-width:1180px;margin:0 auto;padding:44px}.admin-shell .page-head{align-items:flex-start}.admin-shell .page-head h1{font-size:clamp(32px,4vw,52px)}@media (max-width:1100px){.app{grid-template-columns:84px 1fr}.sidebar{padding:22px 10px}.brand{justify-content:center;padding:0}.brand strong,.brand small,.nav-label,.side-footer,.project-nav .project-name{display:none}.nav-item{justify-content:center}.nav-item .count{display:none}.project-nav.show{display:block}.project-nav .nav-item{padding:10px 0;justify-content:center}.content{padding:32px 25px 60px}.step-grid{grid-template-columns:repeat(3,1fr)}.plan-layout{grid-template-columns:1fr}.template-grid,.render-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.app{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 16px}.content{padding:25px 16px 50px}.page-head,.project-summary{display:block}.page-head .button,.library-tools{margin-top:16px}.library-tools{display:flex;flex-wrap:wrap}.search{width:100%}.home-grid,.project-grid,.step-grid,.form-grid,.template-grid,.render-list{grid-template-columns:1fr}.field.full{grid-column:auto}.phase-bar{overflow:auto;flex-wrap:nowrap}.phase-link{white-space:nowrap}.choice-grid{grid-template-columns:1fr}.top-actions button:first-child{display:none}.admin-shell{padding:24px 16px}.admin-shell .page-head{display:block}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
:root{--ink:#17202b;--muted:#66727d;--line:#d8dfe3;--paper:#f4f6f4;--card:#fff;--primary:#2857e8;--primary-weak:#edf1ff;--navy:#112b45;--success:#2f7a57;--danger:#b42318;--radius:12px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(40,87,232,.28);outline-offset:2px}img{max-width:100%;display:block}.app{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px 18px;gap:25px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--navy);color:#fff;font-weight:700}.brand strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:18px;font-weight:600}.brand small{display:block;color:#87929b;font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-top:3px}.workspace-nav{display:flex;flex-direction:column;gap:5px}.nav-label{padding:0 12px 7px;color:#8b969f;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.nav-item{border:0;background:transparent;color:#687580;text-align:left;padding:11px 12px;border-radius:8px;font-size:13px;display:flex;align-items:center;justify-content:space-between}.nav-item:hover{background:#f0f3f4;color:var(--primary)}.nav-item.active{background:var(--primary-weak);color:var(--primary);font-weight:600}.nav-item .count{color:#9aa6ad;font-size:11px}.project-nav{border-top:1px solid var(--line);padding-top:22px;display:none}.project-nav.show{display:block}.project-nav .project-name{padding:0 12px 10px;color:var(--navy);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-nav .nav-item{font-size:12px;padding:9px 12px}.side-footer{margin-top:auto;border-top:1px solid var(--line);padding:16px 12px 0;color:#8a969d;font-size:11px;line-height:1.7}.side-footer strong{color:#43525d;font-weight:600}.main{min-width:0}.topbar{height:72px;background:rgba(244,246,244,.94);border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink)}.top-actions{display:flex;gap:8px}.top-actions button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 11px;color:#56636e;font-size:11px}.content{max-width:1500px;padding:40px 44px 70px;margin:0 auto}.view{display:none}.view.active{display:block}.eyebrow{color:var(--primary);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:9px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-head h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(32px,4vw,56px);line-height:1.04;margin:0;font-weight:600;letter-spacing:-.03em}.page-head p{color:var(--muted);max-width:640px;line-height:1.7;font-size:13px;margin:12px 0 0}.button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#45535e;padding:11px 15px;font-size:12px}.button:hover{border-color:#9aacb8}.button.primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.button.primary:hover{background:#1d46c8}.button.danger{color:var(--danger);border-color:#efc4c0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.empty{border:1px dashed #b9c5cb;background:#fbfcfc;border-radius:var(--radius);padding:70px 24px;text-align:center}.empty h2{font:600 23px "Playfair Display",Georgia,serif;margin:0 0 10px}.empty p{color:var(--muted);font-size:13px;line-height:1.7;max-width:520px;margin:0 auto 22px}.empty .button{margin:0 4px}.home-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.welcome{padding:30px;min-height:300px;background:var(--navy);color:#fff}.welcome h2{font:600 34px/1.12 "Playfair Display",Georgia,serif;margin:0 0 14px}.welcome p{color:#cbd8e3;max-width:520px;font-size:13px;line-height:1.7}.quick-list{display:grid;gap:10px}.quick-card{padding:20px;display:flex;justify-content:space-between;align-items:flex-start}.quick-card b{font-size:14px}.quick-card span{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.5}.quick-card a{color:var(--primary);font-size:12px;text-decoration:none}.library-tools{display:flex;gap:9px;align-items:center}.search{width:230px;border:1px solid var(--line);border-radius:8px;padding:11px 12px;background:#fff;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{padding:20px;min-height:180px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:border-color .18s ease,transform .18s ease}.project-card:hover{border-color:#9cafbb;transform:translateY(-2px)}.project-card h3{font-size:17px;margin:14px 0 9px}.project-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.project-meta{display:flex;justify-content:space-between;gap:8px;color:#88949c;font-size:10px;margin-top:20px}.status{padding:4px 7px;border-radius:999px;background:#eef2f2;color:#58706a;font-size:10px}.status.draft{background:#f5efe5;color:#846c3e}.section-label{display:flex;justify-content:space-between;align-items:center;margin:28px 0 13px;color:#50606b;font-size:12px}.section-label span{color:#9aa5ab;font-size:11px}.phase-bar{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:25px}.phase-link{border:1px solid var(--line);background:#fff;color:#6a7780;border-radius:7px;padding:9px 12px;font-size:11px}.phase-link:hover{border-color:#91a0ab}.phase-link.active{background:var(--navy);border-color:var(--navy);color:#fff}.project-summary{padding:26px;margin-bottom:18px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.project-summary h2{font:600 32px "Playfair Display",Georgia,serif;margin:0 0 9px}.project-summary p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.summary-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.tag{border-radius:999px;background:#f0f3f4;color:#5d6a72;font-size:10px;padding:6px 9px}.tag.primary{background:var(--primary-weak);color:var(--primary)}.step-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.step-card{padding:18px;min-height:130px}.step-card .step-no{color:var(--primary);font-size:10px;font-weight:700}.step-card h3{font-size:14px;margin:13px 0 7px}.step-card p{color:var(--muted);font-size:11px;line-height:1.55;margin:0}.form-card{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#596771}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);font-size:12px}.field textarea{min-height:120px;resize:vertical;line-height:1.6}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.upload{border:1px dashed #acbbc3;border-radius:10px;padding:24px;text-align:center;background:#fbfcfc;display:block;cursor:pointer}.upload input{display:none}.upload strong{display:block;font-size:13px}.upload span{display:block;color:var(--muted);font-size:11px;margin-top:8px;line-height:1.5}.upload-preview{max-height:320px;margin:16px auto 0;object-fit:contain;border:1px solid var(--line)}.plan-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.preview-card{padding:18px;min-height:420px}.preview-card h3{font-size:14px;margin:0 0 12px}.preview-empty{display:grid;place-items:center;min-height:320px;background:#f7f9f8;border:1px dashed #c0ccd2;border-radius:9px;color:#87939b;font-size:12px;text-align:center;padding:20px}.three-viewport{min-height:460px;background:#edf2f3;border:1px solid #c5d1d5;border-radius:9px;overflow:hidden;position:relative}.three-viewport canvas{display:block;width:100%;height:100%;min-height:460px}.render-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.render-item{overflow:hidden}.render-item img{width:100%;height:210px;object-fit:cover;background:#f0f2f2}.render-item .render-copy{padding:14px}.render-copy b{font-size:13px}.render-copy span{display:block;color:var(--muted);font-size:10px;margin-top:6px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{padding:18px}.template-card h3{font-size:14px;margin:0 0 8px}.template-card p{color:var(--muted);font-size:11px;line-height:1.6;margin:0 0 14px}.template-card img{width:100%;height:170px;object-fit:cover;background:#f3f5f5;border-radius:8px;margin-bottom:13px}.model-status{padding:18px 20px;background:#f8fbff;border:1px solid #cfdcf8;border-radius:10px;color:#465a74;font-size:12px;line-height:1.7;margin-bottom:18px}.modal-backdrop{display:none;position:fixed;inset:0;background:rgba(17,43,69,.36);z-index:20;padding:20px;align-items:center;justify-content:center}.modal-backdrop.show{display:flex}.modal{width:min(590px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;padding:26px}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.modal h2{font:600 27px "Playfair Display",Georgia,serif;margin:0}.close{border:0;background:transparent;color:#72808a;font-size:24px;line-height:1}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;padding:14px}.choice.active{border-color:var(--primary);background:var(--primary-weak)}.choice b{display:block;font-size:12px}.choice span{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:6px}.toast{position:fixed;right:24px;bottom:24px;z-index:30;max-width:360px;background:var(--navy);color:#fff;border-radius:9px;padding:12px 15px;font-size:12px;transform:translateY(120px);opacity:0;transition:transform .18s ease,opacity .18s ease}.toast.show{transform:translateY(0);opacity:1}.error{color:var(--danger);font-size:11px;margin-top:8px}.hidden{display:none!important}.admin-shell{max-width:1180px;margin:0 auto;padding:44px}.admin-shell .page-head{align-items:flex-start}.admin-shell .page-head h1{font-size:clamp(32px,4vw,52px)}@media (max-width:1100px){.app{grid-template-columns:84px 1fr}.sidebar{padding:22px 10px}.brand{justify-content:center;padding:0}.brand strong,.brand small,.nav-label,.side-footer,.project-nav .project-name{display:none}.nav-item{justify-content:center}.nav-item .count{display:none}.project-nav.show{display:block}.project-nav .nav-item{padding:10px 0;justify-content:center}.content{padding:32px 25px 60px}.step-grid{grid-template-columns:repeat(3,1fr)}.plan-layout{grid-template-columns:1fr}.template-grid,.render-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.app{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 16px}.content{padding:25px 16px 50px}.page-head,.project-summary{display:block}.page-head .button,.library-tools{margin-top:16px}.library-tools{display:flex;flex-wrap:wrap}.search{width:100%}.home-grid,.project-grid,.step-grid,.form-grid,.template-grid,.render-list{grid-template-columns:1fr}.field.full{grid-column:auto}.phase-bar{overflow:auto;flex-wrap:nowrap}.phase-link{white-space:nowrap}.choice-grid{grid-template-columns:1fr}.top-actions button:first-child{display:none}.admin-shell{padding:24px 16px}.admin-shell .page-head{display:block}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
:root{--workflow-columns:4}
:root{--workflow-columns:4}.workflow-grid{grid-template-columns:repeat(4,1fr)}
:root{--workflow-columns:4}.workflow-grid{grid-template-columns:repeat(4,1fr)}.preset-panel{margin:0 0 16px;padding:14px 16px;border:1px solid #d8e1e6;border-radius:10px;background:#f8fafb}.preset-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.preset-head b{font-size:12px;color:#3b4b56}.preset-head span{font-size:10px;color:#8a969d}.preset-chips{display:flex;flex-wrap:wrap;gap:8px}.preset-chip{border:1px solid #cbd7dd;background:#fff;color:#526572;border-radius:999px;padding:7px 10px;font-size:11px;cursor:pointer}.preset-chip:hover{border-color:#2857e8;color:#2857e8;background:#f1f4ff}.preset-chip.active{border-color:#2857e8;background:#edf1ff;color:#2857e8;font-weight:600}
:root{--workflow-columns:4}.workflow-grid{grid-template-columns:repeat(4,1fr)}.spatial-label-layer{position:absolute;inset:0;pointer-events:none;z-index:2}.spatial-label{position:absolute;transform:translate(-50%,-50%);padding:4px 7px;border-radius:5px;background:rgba(17,43,69,.86);color:#fff;font-size:10px;line-height:1.2;white-space:nowrap;border:1px solid rgba(255,255,255,.35);box-shadow:0 3px 10px rgba(17,43,69,.18)}.spatial-label.camera{background:#2857e8}.spatial-label.entry{background:#2f7a57}
:root{--workflow-columns:4}.workflow-grid{grid-template-columns:repeat(4,1fr)}.plan-editor{position:relative;margin-top:16px;border:1px solid #c6d2d7;border-radius:10px;background:#edf2f3;overflow:hidden}.plan-editor svg{display:block;width:100%;height:420px;touch-action:none}.plan-editor .plan-wall{stroke:#d2493f;stroke-width:.24;vector-effect:non-scaling-stroke;cursor:pointer}.plan-editor .plan-wall.selected{stroke:#2857e8;stroke-width:.36}.plan-editor .wall-handle{fill:#fff;stroke:#d2493f;stroke-width:.18;vector-effect:non-scaling-stroke;cursor:grab}.plan-editor .wall-handle.selected{stroke:#2857e8}.plan-editor .plan-label{font-size:.55px;fill:#263943;pointer-events:none}.plan-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #c6d2d7}.plan-editor-toolbar span{font-size:10px;color:#7a8991}.plan-editor-toolbar .button{padding:7px 10px;font-size:10px}
:root{--workflow-columns:4}.workflow-grid{grid-template-columns:repeat(4,1fr)}.upload-preview[hidden]{display:none!important}
:root{--workflow-columns:4}.plan-editor-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:#f8f5ef;border-bottom:1px solid #ded8ce}.plan-editor-head b{font-size:12px;color:#4f514e}.plan-editor-head span{font-size:10px;color:#8a8983}.plan-editor .plan-wall{stroke:#8e8b83;stroke-width:.38;stroke-linecap:round;vector-effect:non-scaling-stroke;cursor:pointer;transition:stroke .15s ease,stroke-width .15s ease}.plan-editor .plan-wall:hover{stroke:#c7895d;stroke-width:.5}.plan-editor .plan-wall.selected{stroke:#c56f42;stroke-width:.5;stroke-dasharray:.7 .35}.plan-editor .wall-handle{opacity:0;fill:#fff;stroke:#c56f42;stroke-width:.18;vector-effect:non-scaling-stroke;pointer-events:none;transition:opacity .15s ease}.plan-editor .wall-handle.selected{opacity:1;pointer-events:all;cursor:grab}.plan-editor .wall-handle.selected:active{cursor:grabbing}.plan-editor-toolbar{background:#fff}.plan-editor-toolbar span{color:#7b776f}
:root{--workflow-columns:4}.plan-editor .plan-wall.selected{stroke:#f07a43;stroke-width:.82;stroke-dasharray:1 .45;filter:drop-shadow(0 0 2px rgba(240,122,67,.75))}.plan-editor .wall-handle.selected{r:.48;fill:#f07a43;stroke:#fff;stroke-width:.22;filter:drop-shadow(0 1px 2px rgba(17,43,69,.38))}.field-help{display:block;color:#8a969d;font-size:10px;line-height:1.45;margin-top:-2px}
:root{--workflow-columns:4}.plan-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:-8px 0 18px}.plan-flow-step{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #d8dfe3;border-radius:10px;background:#fff;color:#8a969d}.plan-flow-step b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf1f4;color:#78858d;font-size:10px}.plan-flow-step span{font-size:11px}.plan-flow-step.active{border-color:#98ace8;background:#f3f5ff;color:#2857e8}.plan-flow-step.active b{background:#2857e8;color:#fff}.plan-flow-step.done{border-color:#b9d6c8;background:#f5fbf7;color:#397456}.plan-flow-step.done b{background:#397456;color:#fff}.plan-editor-head{padding:14px 16px;background:#f3f6ff;border-bottom:1px solid #d4def8}.plan-editor-head .eyebrow{margin:0 0 5px;font-size:9px}.plan-editor-head b{display:block;font-size:14px;color:#182f63}.plan-editor-head span{display:block;margin-top:5px;color:#65748a;font-size:10px}.plan-wall-count{padding:5px 9px;border-radius:999px;background:#dfe8ff;color:#2857e8;font-size:10px;white-space:nowrap}.plan-editor-stage{background:#f6f8fb}.plan-editor .plan-wall{stroke:#3769d1;stroke-width:.72;stroke-linecap:round;vector-effect:non-scaling-stroke;cursor:pointer;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95));transition:stroke .15s ease,stroke-width .15s ease}.plan-editor .plan-wall:hover{stroke:#1749b5;stroke-width:.92}.plan-editor .plan-wall.selected{stroke:#f0783c;stroke-width:1.25;stroke-dasharray:1.1 .45;filter:drop-shadow(0 0 3px rgba(240,120,60,.8))}.plan-editor .wall-handle{opacity:0;fill:#fff;stroke:#f0783c;stroke-width:.2;vector-effect:non-scaling-stroke;pointer-events:none}.plan-editor .wall-handle.selected{opacity:1;pointer-events:all;cursor:grab;fill:#f0783c;stroke:#fff;stroke-width:.24;filter:drop-shadow(0 1px 2px rgba(17,43,69,.38))}.plan-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#fff}.plan-editor-tools,.plan-editor-actions{display:flex;align-items:center;gap:8px}.plan-editor .button.active{background:#2857e8;border-color:#2857e8;color:#fff}.plan-editor .button.danger{color:#b42318;border-color:#efc4c0}.plan-editor .button:disabled{cursor:not-allowed;opacity:.42}.plan-editor-toolbar span{font-size:10px;color:#6f7c87}
@media (max-width:700px){.plan-flow{grid-template-columns:1fr 1fr}.plan-editor-toolbar{display:block}.plan-editor-tools,.plan-editor-actions{margin-top:8px;flex-wrap:wrap}.plan-editor-actions{justify-content:space-between}}
.generation-camera-panel{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:#f8fafc}.generation-camera-panel h3{margin:0 0 8px}.generation-camera-panel p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 14px}.camera-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.camera-actions .button{min-height:32px}.generation-camera-panel .field-help{font-size:12px;margin:10px 0;line-height:1.5}.generation-camera-panel img{width:100%;aspect-ratio:3/2;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#eaf0f1}.generation-camera-panel img[hidden]{display:none}.generation-camera-panel input,.generation-camera-panel select{min-height:32px}.plan-camera-marker{pointer-events:none;fill:#f0783c;stroke:#fff;stroke-width:2px;vector-effect:non-scaling-stroke}.plan-camera-marker line{stroke:#f0783c;stroke-width:3px;vector-effect:non-scaling-stroke}.plan-camera-marker circle{vector-effect:non-scaling-stroke}.placing-camera{cursor:crosshair}.generation-camera-panel button:disabled{opacity:.5;cursor:not-allowed}
/* 舒适比例与宽屏均衡布局 */
.app{grid-template-columns:224px 1fr}
.app:has(#planView.active){grid-template-columns:168px 1fr}
.app:has(#planView.active) .sidebar{padding:12px 8px}
.app:has(#planView.active) .brand small{display:none}
.sidebar{padding:20px 14px 16px;gap:18px}
.brand{gap:10px;padding:0 8px}
.brand-mark{width:34px;height:34px;border-radius:9px;font-size:15px}
.brand strong{font-size:18px}
.brand small{font-size:10px;margin-top:2px}
.workspace-nav{gap:4px}
.nav-label{padding:0 12px 6px;font-size:10.5px}
.nav-item{padding:10px 12px;border-radius:8px;font-size:13.5px}
.project-nav{padding-top:16px}
.project-nav .project-name{padding:0 12px 8px;font-size:13px}
.project-nav .nav-item{font-size:13px;padding:8px 12px}
.side-footer{padding:14px 12px 0;font-size:12px;line-height:1.6}
.topbar{height:58px;padding:0 32px}
.breadcrumb{font-size:13px}
.top-actions button{padding:7px 14px;border-radius:8px;font-size:13px;min-height:36px}
.content{max-width:1540px;padding:26px 36px 52px}
.content:has(#planView.active){max-width:100%;padding:10px 14px 18px}
.eyebrow{margin-bottom:6px;font-size:11px}
.page-head{gap:20px;margin-bottom:22px;align-items:center}
.page-head h1{font-size:clamp(26px,2.5vw,34px);line-height:1.18}
.page-head p{font-size:13.5px;line-height:1.6;margin-top:6px}
.button{padding:8px 15px;min-height:38px;font-size:13px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.card{border-radius:12px}
.empty{padding:48px 24px}
.empty h2{font-size:21px;margin-bottom:10px}
.empty p{margin-bottom:18px;font-size:13.5px}
/* 首页大卡片与工作流引导区 */
#homeView .page-head{margin-bottom:24px}
#homeView .page-head h1{font-size:36px}
#homeView .page-head p{font-size:14px;margin-top:8px}
.home-grid{gap:20px;grid-template-columns:1.22fr .78fr;align-items:stretch}
.welcome{padding:32px 34px;min-height:360px;border-radius:16px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(140deg,#102942 0%,#183b5f 100%);box-shadow:0 12px 30px rgba(17,43,69,.15)}
.welcome-body{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%}
.welcome-main{flex:1;min-width:0}
.welcome-thumb{width:240px;flex-shrink:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);box-shadow:0 8px 22px rgba(0,0,0,.22)}
.welcome-thumb img{width:100%;height:100%;object-fit:cover}
.welcome h2{font-size:34px;line-height:1.18;margin:0 0 12px}
.welcome p{font-size:14px;line-height:1.65;margin:0 0 16px}
.welcome-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.welcome-tag{padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#e4edf7;font-size:12px}
.welcome .button{align-self:flex-start;padding:10px 20px;min-height:42px;font-size:14px;border-radius:9px;font-weight:600}
.quick-list{gap:14px;display:grid;grid-template-rows:repeat(3,minmax(0,1fr))}
.quick-card{padding:20px 24px;min-height:110px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:14px;box-shadow:0 4px 16px rgba(17,43,69,.04);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.quick-card:hover{border-color:#9cafbb;transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,43,69,.08)}
.quick-card b{font-size:16px;font-weight:650;color:var(--ink)}
.quick-card span{font-size:13px;margin-top:6px;line-height:1.5}
.quick-card a{font-size:13px;font-weight:600;padding:7px 14px;border-radius:8px;background:var(--primary-weak);color:var(--primary);white-space:nowrap}
.quick-card a:hover{background:#dce5ff}
.home-workflow-section{margin-top:24px}
.home-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-workflow-card{padding:18px 20px;display:flex;flex-direction:column;gap:8px;background:#fff}
.home-workflow-card .wf-step{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--primary-weak);color:var(--primary);font-size:12px;font-weight:700}
.home-workflow-card b{font-size:15px;color:var(--ink)}
.home-workflow-card p{margin:0;font-size:12.5px;line-height:1.6;color:var(--muted)}
/* 项目库仪表盘与图文卡片 */
.search{width:240px;padding:8px 12px;min-height:38px;font-size:13px}
.library-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.library-stat-card{padding:16px 20px;display:flex;flex-direction:column;gap:4px;background:#fff}
.library-stat-card span{font-size:12px;color:var(--muted)}
.library-stat-card strong{font-size:28px;line-height:1.15;color:var(--navy);font-weight:700}
.library-stat-card small{font-size:11.5px;color:#7a8691}
.library-filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.library-filter-pills{display:inline-flex;gap:6px}
.filter-pill{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:4px 12px;font-size:12px;transition:all .15s ease}
.filter-pill.active{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:600}
.project-grid,.render-list,.template-grid{gap:18px}
.project-card{padding:0;min-height:280px;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start}
.project-card-cover{position:relative;height:158px;background:#edf1f3;border-bottom:1px solid var(--line);overflow:hidden}
.project-card-cover img{width:100%;height:100%;object-fit:cover;display:block}
.project-card-cover.is-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#eef2f6 0%,#e3e9ef 100%)}
.project-cover-empty{text-align:center;color:#6c7b88}
.project-cover-empty span{display:block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#82919e}
.project-cover-empty small{display:block;margin-top:4px;font-size:12px}
.project-card-cover .status{position:absolute;top:12px;left:12px;font-size:11.5px;padding:4px 10px;box-shadow:0 2px 8px rgba(17,43,69,.12)}
.project-card-body{padding:18px 20px;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.project-card h3{font-size:18px;margin:0;line-height:1.35}
.project-card p{font-size:13px;line-height:1.55}
.project-card-tags{display:flex;flex-wrap:wrap;gap:6px}
.mini-tag{padding:3px 8px;border-radius:6px;background:#f2f4f6;color:#63707a;font-size:11.5px}
.mini-tag.is-done{background:#eef8f2;color:#246a49}
.project-meta{margin-top:4px;padding-top:10px;border-top:1px solid #eef1f3;font-size:12px}
.project-open-link{color:var(--primary);font-weight:600}
.project-card-new{padding:24px;border:1.5px dashed #b9c5ce;background:#fafcfb;align-items:center;justify-content:center;text-align:center;gap:10px;color:var(--ink)}
.project-card-new:hover{border-color:var(--primary);background:#f4f7ff}
.project-new-plus{width:46px;height:46px;border-radius:12px;background:var(--primary-weak);color:var(--primary);display:grid;place-items:center;font-size:26px;font-weight:500;line-height:1}
.project-card-new b{font-size:16px}
.project-card-new span{font-size:13px;color:var(--muted);line-height:1.5;max-width:240px}
.section-label{margin:20px 0 12px;font-size:13px}
.phase-bar{gap:6px;padding-bottom:12px;margin-bottom:16px}
.phase-link{padding:7px 12px;font-size:12.5px;border-radius:7px}
.project-summary{padding:20px 24px;margin-bottom:16px;gap:18px}
.project-summary h2{font-size:26px;margin-bottom:8px}
.project-summary p{font-size:13.5px}
.summary-meta{gap:8px;margin-top:12px}
.tag{padding:4px 10px;font-size:11.5px}
.step-grid{gap:12px}
.step-card{padding:16px;min-height:118px}
.step-card h3{font-size:14.5px;margin:10px 0 6px}
.step-card p{font-size:12px}
.form-card{padding:20px 22px}
.form-grid{gap:14px}
.field{gap:6px}
.field label{font-size:12.5px}
.field input,.field select{padding:8px 12px;min-height:38px;font-size:13.5px;border-radius:8px}
.field textarea{padding:10px 12px;min-height:104px;font-size:13.5px;border-radius:8px;line-height:1.6}
.form-actions{margin-top:16px;gap:10px}
.upload{padding:18px}
.preview-card{padding:16px;min-height:0}
.preview-empty{min-height:240px;padding:18px;font-size:13px}
.template-card{padding:16px}
.template-card h3{font-size:15px}
.template-card p{font-size:12.5px}
.template-card img{height:160px;margin-bottom:12px}
.model-status{padding:12px 16px;margin-bottom:14px;font-size:13px}
.modal{padding:24px;border-radius:14px}
.modal-head{margin-bottom:16px}
.modal h2{font-size:23px}
.preset-panel{margin:0 0 12px;padding:12px 14px}
.preset-head{margin-bottom:8px}
.preset-chips{gap:7px}
.preset-chip{padding:5px 11px;font-size:12px}
@media (max-width:1100px){
  .app{grid-template-columns:180px 1fr}
  .sidebar{padding:16px 10px}
  .brand{justify-content:flex-start;padding:0 4px}
  .brand strong,.nav-label,.side-footer,.project-nav .project-name{display:block}
  .brand small{display:none}
  .nav-item{justify-content:space-between;padding:8px 10px;font-size:13px;white-space:nowrap}
  .nav-item .count{display:inline}
  .project-nav .nav-item{padding:7px 10px;justify-content:flex-start}
  .content{padding:18px 20px 36px}
  .welcome-body{flex-direction:column;align-items:flex-start}
  .welcome-thumb{width:100%;max-width:340px}
  .home-workflow-grid,.library-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .app{display:block}
  .topbar{height:52px;padding:0 14px}
  .content{padding:14px 14px 28px}
  .home-workflow-grid,.library-stats-grid{grid-template-columns:1fr}
}
