/* Pro 独立视觉层：只作用于逐页设计，不影响普通版。 */
.pro-mode{--bg:#f5f4f0;--card:#fff;--ink:#252724;--sub:#6c7069;--faint:#767b73;--line:#e2e4dc;--acc:#80643a;--acc-ink:#70532d;--acc-soft:#f0ebdf;--field:#fafbf8;--dark:#252724;background:var(--bg);color:var(--ink)}
.pro-mode .wrap{max-width:1240px;padding:0 40px 48px}
.pro-mode .top{min-height:88px;border:0;gap:24px}
.pro-mode .brand-name{font-weight:650;letter-spacing:1px}
.pro-mode .studio-switch{gap:28px}
.pro-mode .studio-switch .version-link[aria-current=page]{color:var(--ink)}
.pro-mode .studio-switch .version-link[aria-current=page]:after{background:#887044;width:28px;left:calc(50% - 14px);height:2px}
.pro-mode .code-chip{background:transparent;border-color:#d7d9d1;border-radius:7px;color:var(--sub);font-size:12px}
.pro-mode .hero.hero-redesign{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:30px;position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:#202824;color:#f7f6ef;text-align:left;padding:52px 54px;margin:8px 0 28px;min-height:350px}
.pro-mode .hero.hero-redesign:before{content:"";position:absolute;width:650px;height:650px;right:-270px;top:-270px;border:1px solid #ffffff09;border-radius:50%;z-index:-1;box-shadow:0 0 0 70px #ffffff02,0 0 0 140px #ffffff02}
.pro-mode .hero .eyebrow{justify-content:flex-start;color:#c4b68f;font-size:10px;letter-spacing:3px;margin-bottom:24px}
.pro-mode .eyebrow-star{color:#c4b68f}
.pro-mode .hero h1{font-size:clamp(34px,3.7vw,49px);font-weight:550;line-height:1.3;letter-spacing:-1px;color:#f6f6ef;margin:0 0 18px}
.pro-mode .hero h1 span{display:block;color:#d5c59f}
.pro-mode .hero .hero-description{color:#b6beb6;font-size:13px;line-height:1.9;max-width:370px}
.pro-mode .hero-actions{justify-content:flex-start;margin-top:28px}
.pro-mode .studio-cta{background:#dfd3b4;border:1px solid #dfd3b4;border-radius:6px;color:#262c25;gap:35px;padding:11px 20px;min-height:46px;font-size:12px}
.pro-mode .studio-cta:hover{background:#eee4cb;transform:translateY(-1px)}
.pro-mode .hero .hero-meta{justify-content:flex-start;gap:18px;font-size:10px;color:#a8b2a7;margin-top:20px}
.pro-mode .design-composition{position:relative;min-width:0;aspect-ratio:1.3;max-height:275px;width:100%;font-family:inherit}
.pro-mode .design-sheet{position:absolute;inset:10% 0 9% 9%;background:#f0eee4;border:1px solid #fff8;border-radius:3px;box-shadow:0 25px 45px #0003;transform:rotate(-4deg);padding:22px 25px;color:#293c31;overflow:hidden}
.pro-mode .design-sheet:after{content:"";position:absolute;width:130px;height:130px;border:27px solid #798b6b;border-radius:50%;right:-28px;bottom:-34px}
.pro-mode .sheet-top{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.7px;border-bottom:1px solid #293c3128;padding-bottom:9px}
.pro-mode .sheet-headline{font-family:Georgia,serif;font-size:clamp(25px,3vw,40px);font-weight:400;line-height:1.05;letter-spacing:-1px;margin-top:20px}
.pro-mode .sheet-rule{width:38%;height:3px;background:#b29a6e;margin-top:17px}
.pro-mode .sheet-index{position:absolute;bottom:15px;font-size:9px;letter-spacing:2px}
.pro-mode .design-note{position:absolute;bottom:0;left:0;min-width:155px;padding:16px 19px;background:#b9c6ad;border:1px solid #d6dfce;border-radius:3px;box-shadow:0 10px 30px #0002;transform:rotate(5deg);color:#28382b}
.pro-mode .design-note small{display:block;font-size:8px;letter-spacing:1.2px;margin-bottom:8px}
.pro-mode .design-note strong{font-size:14px;font-weight:550;letter-spacing:1px}
.pro-mode .composition-label{position:absolute;right:0;bottom:-12px;font-size:9px;letter-spacing:1px;color:#b2baad}
.pro-mode .workflow{justify-content:flex-start;gap:44px;border:0;margin:0;padding:0 6px 10px;color:var(--sub);font-size:12px}
.pro-mode .workflow b{border:1px solid #d7d8cf;background:transparent;color:#7b725c;border-radius:50%;width:26px;height:26px}
.pro-mode .workflow li{display:flex;align-items:center;gap:10px;list-style:none}
.pro-mode .step{border:1px solid var(--line);background:var(--card);border-radius:12px;padding:30px 34px;margin-top:18px;box-shadow:0 4px 14px #25302402}
.pro-mode .step-h{margin-bottom:22px;gap:12px}
.pro-mode .step-h h2{font-size:18px;font-weight:600;letter-spacing:.3px}
.pro-mode .step-h .num{background:transparent;color:#8a7957;font-family:Georgia,serif;font-size:20px;font-weight:400;width:27px;height:27px;border-radius:0;border-right:1px solid var(--line);padding-right:12px}
.pro-mode .step-h .hint{font-size:12px;color:var(--faint)}
.pro-mode textarea#notes{background:var(--field);border:1px solid #e0e3d9;border-radius:7px;min-height:195px;color:var(--ink);padding:19px 20px}
.pro-mode textarea::placeholder,.pro-mode input::placeholder{color:#82877e;opacity:1}
.pro-mode .material-actions{gap:9px;margin-top:14px}
.pro-mode .material-actions .btn-s{display:inline-flex;align-items:center;min-height:40px;border-radius:6px;padding:9px 13px;background:#fff;color:var(--sub);border:1px solid var(--line)}
.pro-mode .material-actions #btnFile{background:#2d3c31;border-color:#2d3c31;color:#fff}
.pro-mode .row.choice-row{align-items:flex-start;padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #eff0eb;gap:16px}
.pro-mode .choice-row .lbl{min-width:46px;padding-top:10px}
.pro-mode #scene{gap:8px;flex:1 1 500px}
.pro-mode #scene>button,.pro-mode .chips button{background:#fff;border:1px solid #e0e3da!important;border-radius:6px;min-height:39px;padding:8px 13px;font-size:12px;color:#656c61}
.pro-mode #scene>button.on,.pro-mode .chips button.on{background:#eef2e9;color:#30482e;border-color:#8c9d80!important;font-weight:600}
.pro-mode .chips{flex:1;gap:8px}
.pro-mode .seg{border-color:var(--line);border-radius:6px}
.pro-mode .seg button{background:#fff;color:var(--sub);min-height:39px;padding:8px 16px}
.pro-mode .seg button.on{background:#2e4033;color:#fff}
.pro-mode .field input,.pro-mode .field select,.pro-mode .inp{background:var(--field);border:1px solid var(--line);border-radius:6px;min-height:44px;color:var(--ink)}
.pro-mode .field{gap:8px}.pro-mode .grid2{gap:20px;margin-top:22px}
.pro-mode .code-status{border:1px solid var(--line);background:var(--field);border-radius:7px;padding:16px}
.pro-mode .code-status b{font-size:14px;font-weight:550}.pro-mode .code-status .cs-desc{font-size:12px}
.pro-mode .ghost{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--sub);padding:8px 12px;min-height:39px}
.pro-mode .go{background:#2d3c31;border-color:#2d3c31;color:#f5f3e9;border-radius:7px;min-height:54px;font-size:15px;font-weight:550;letter-spacing:1px}
.pro-mode .go:hover{background:#3d5342}.pro-mode .generation-note{color:var(--sub);font-size:12px;margin-top:12px;text-align:center}
.pro-mode .m,.pro-mode .bill{background:var(--field)}
.pro-mode button:focus-visible,.pro-mode a:focus-visible,.pro-mode textarea:focus-visible,.pro-mode input:focus-visible{outline:2px solid #8a7957;outline-offset:3px}
@media(max-width:1000px){.pro-mode .wrap{padding:0 26px 36px}.pro-mode .hero.hero-redesign{padding:38px 34px;gap:24px;min-height:320px}.pro-mode .hero h1{font-size:38px}.pro-mode .design-sheet{padding:18px}.pro-mode .sheet-headline{font-size:30px}.pro-mode .design-note{padding:12px 15px;min-width:140px}.pro-mode .step{padding:26px}}
@media(max-width:700px){.pro-mode .hero.hero-redesign{grid-template-columns:1fr;gap:15px;padding:30px;border-radius:14px}.pro-mode .hero h1{font-size:38px}.pro-mode .design-composition{width:min(100%,340px);max-height:220px;justify-self:center}.pro-mode .hero .hero-meta{flex-wrap:wrap}.pro-mode .workflow{gap:20px;justify-content:space-between;padding:0 0 6px;font-size:11px}.pro-mode .workflow li{gap:7px}.pro-mode .step{padding:24px}.pro-mode .row.choice-row{gap:10px}.pro-mode .chips{flex-basis:100%}.pro-mode .choice-row .lbl{padding-top:4px}.pro-mode #scene{flex-basis:100%}.pro-mode .grid2{grid-template-columns:1fr;gap:16px}.pro-mode .design-sheet:after{width:110px;height:110px;border-width:23px}}
@media(max-width:600px){.pro-mode .wrap{padding:0 16px 28px}.pro-mode .top{gap:12px;min-height:0;padding-top:17px;padding-bottom:8px}.pro-mode .hero.hero-redesign{margin-top:8px;padding:28px 23px 32px}.pro-mode .hero .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:19px}.pro-mode .hero h1{font-size:35px;line-height:1.35}.pro-mode .hero .hero-description{margin:0;max-width:290px;font-size:13px}.pro-mode .hero-actions{margin-top:22px}.pro-mode .hero .hero-meta{gap:13px;font-size:10px}.pro-mode .design-composition{max-height:200px;width:275px;margin-top:8px}.pro-mode .step{padding:22px 17px}.pro-mode .workflow b{width:23px;height:23px;font-size:9px}.pro-mode .step-h{margin-bottom:18px}.pro-mode .step-h h2{font-size:17px}.pro-mode textarea#notes{min-height:180px;font-size:16px;padding:15px}.pro-mode .material-actions{gap:7px}.pro-mode .material-actions .btn-s{padding:9px 10px;font-size:12px;min-height:44px}.pro-mode .count{width:100%}.pro-mode .choice-row #scene{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pro-mode #scene>button{padding:10px 3px;min-height:44px;font-size:12px}.pro-mode .chips button{min-height:44px}.pro-mode .inp{min-width:0;width:100%;font-size:16px}.pro-mode .row>.lbl:empty{display:none}.pro-mode .field input{font-size:16px}.pro-mode .code-status{padding:14px}.pro-mode .code-status .cs-txt{flex:1 1 190px}.pro-mode .code-chip{font-size:11px;max-width:155px}.pro-mode .generation-note{text-align:left;line-height:1.8}.pro-mode .hero h1 span{display:block}}
@media(max-width:360px){.pro-mode .wrap{padding-left:12px;padding-right:12px}.pro-mode .hero.hero-redesign{padding:26px 19px}.pro-mode .hero h1{font-size:31px}.pro-mode .design-composition{width:240px;max-height:185px}.pro-mode .workflow{gap:10px;font-size:10px}.pro-mode .material-actions .btn-s{font-size:11px;padding:9px 7px}.pro-mode .hero .hero-meta{gap:9px;font-size:9px}.pro-mode .code-chip{max-width:140px}}
