/* Shared P0 visual layer. Workflow state, visibility and billing controls stay in their own styles. */
:root{--studio-paper:#f8f8f4;--studio-ink:#182534;--studio-muted:#637079;--studio-line:#deded7;--studio-gold:#896a42}
body.workspace-nav-ready,body.p0-auth,body.p0-xiaohua{color:var(--studio-ink);background:var(--studio-paper);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--brand-navy:#182534;--brand-navy-soft:#26394a;--color-primary:#182534;--color-secondary:#967548;--color-text:#182534;--color-text-secondary:#637079;--color-bg:#f8f8f4;--color-border:#deded7;--color-gradient:linear-gradient(110deg,#182534,#26394a);--shadow-md:0 4px 18px #18253408;--shadow-lg:0 10px 28px #1825340a}
body.workspace-nav-ready :is(button,input,select,textarea),body.p0-auth :is(button,input,select,textarea){font-family:inherit}
body.workspace-nav-ready{background:#f8f8f4!important}
body.workspace-nav-ready .container.app-shell{max-width:1432px;margin:28px auto 0;padding:0 24px 48px}
body.workspace-nav-ready .flow-main{padding:12px 0}
body.workspace-nav-ready .workbench-mode-switch{background:#edf0e8!important;border-color:#dde3d9!important;padding:15px 18px}
body.workspace-nav-ready .upload-area{background:#fafaf6!important;border:1px dashed #c7cbbb!important;border-radius:8px;box-shadow:none}
body.workspace-nav-ready #uploadArea .upload-title{font-weight:550}
body.workspace-nav-ready #intentFormSection .section-title,body.workspace-nav-ready #uploadStepSection .section-title{font-weight:550}
body.workspace-nav-ready .guided-decision-card{background:#fffefa;border-color:#deded7}
body.workspace-nav-ready .guided-decision-card strong{font-weight:600}
body.workspace-nav-ready .guided-plan-guide,body.workspace-nav-ready .guided-receipt-summary{background:#f5f6f1!important;box-shadow:none}
body.workspace-nav-ready .guided-plan-guide :is(strong,b){font-weight:600}
body.workspace-nav-ready .phase34-works-badge{display:none}
.workspace-global-nav{width:100%;margin:0;border:0;border-bottom:1px solid var(--studio-line);border-radius:0;background:#fffefa;color:var(--studio-ink);box-shadow:none}
.workspace-nav-row{max-width:1512px;margin:auto;grid-template-columns:145px minmax(0,1fr) auto;gap:22px;min-height:80px;padding:14px 28px}
.workspace-brand img{width:125px;height:42px;object-fit:contain;background:#182534;border-radius:5px;padding:6px 10px;box-sizing:border-box}
.workspace-brand-copy{display:none!important}
.workspace-nav-link{color:#586672;font-weight:500;font-size:14px;border-radius:6px;min-height:44px}
.workspace-nav-link:hover{color:var(--studio-ink);background:#f1f2ec}
.workspace-nav-link.is-active{color:var(--studio-ink);background:#edf0e8;font-weight:650}
.workspace-nav-link.is-active::after{background:var(--studio-gold);height:2px}
.workspace-credit-pill,.workspace-account summary,.workspace-notifications summary,.workspace-locale,.workspace-recharge-link,.workspace-menu-button{border-color:var(--studio-line);color:var(--studio-ink);background:transparent;border-radius:6px;min-height:40px;font-weight:500}
.workspace-credit-pill{color:#375c4c;font-weight:600}
.workspace-recharge-link{background:#182534;color:#fff;border-color:#182534}
.workspace-recharge-link:hover{background:#2b4050;color:#fff}
.workspace-account-menu,.workspace-notification-panel{color:var(--studio-ink);background:#fffefa;border:1px solid var(--studio-line);box-shadow:0 10px 30px #18253412;border-radius:10px}
.workspace-account-menu :is(a,button),.workspace-notification-head,.workspace-notification-empty,.workspace-notification-item,.workspace-notification-item :is(strong,span,small){color:var(--studio-ink)}
.workspace-account-menu :is(a,button):hover{color:var(--studio-ink);background:#edf0e8}
.workspace-context-row{border-top-color:var(--studio-line);color:var(--studio-muted);background:#f8f8f4}
.workspace-context-row a{color:var(--studio-ink)}
.workspace-mobile-panel.is-open,.workspace-mobile-utilities{border-top-color:var(--studio-line)}
.workspace-mobile-action{border-color:var(--studio-line);color:var(--studio-ink);background:#fff}
body.workspace-nav-ready .container.app-shell{margin-top:28px}
body.workspace-nav-ready :is(.card,.panel,.workbench-mode-switch,.guided-decision-card,.guided-review-section){box-shadow:none;border-color:var(--studio-line)}
body.workspace-nav-ready :is(.section-title,.panel-title,.card-title){font-weight:600;letter-spacing:-.02em;color:var(--studio-ink)}
body.workspace-nav-ready .btn-primary{background:#182534;border-color:#182534;color:#fff;box-shadow:none}
body.workspace-nav-ready .btn-primary:hover{background:#2b4050;border-color:#2b4050;box-shadow:none}
body.workspace-nav-ready .btn-primary:disabled{opacity:.5}
body.workspace-nav-ready :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus-visible,body.p0-auth :is(input,button,select,a):focus-visible,.workspace-global-nav :is(a,button,summary,select):focus-visible{outline:2px solid #8b704a;outline-offset:3px}
body.p0-auth .auth-ai-bg{background:#f8f8f4}
body.p0-auth .auth-ai-bg>*,body.p0-auth .auth-ai-bg::before,body.p0-auth .auth-ai-bg::after,body.p0-auth .auth-copy::before{display:none}
body.p0-auth .auth-shell{max-width:1130px;gap:clamp(40px,7vw,96px);padding:64px 30px;grid-template-columns:minmax(0,1fr) minmax(380px,440px)}
body.p0-auth .auth-copy{padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none}
body.p0-auth .auth-kicker{padding:0;border:0;background:none;color:#7d623d;font-weight:500;font-size:11px;letter-spacing:.12em}
body.p0-auth .auth-brand-title{font-size:42px;line-height:1.38;font-weight:550;letter-spacing:-.035em;color:#182534;gap:24px}
body.p0-auth .auth-title-logo{width:154px;height:50px;background:#182534;padding:6px 13px;border-radius:5px;box-sizing:border-box}
body.p0-auth .auth-brand-title>span{width:100%}
body.p0-auth .auth-lead{font-size:16px;line-height:1.9;font-weight:400;color:#637079}
body.p0-auth .welcome-line{padding:20px 0;border:0;border-bottom:1px solid #deded7;border-radius:0;background:transparent;color:#465761;font-size:14px;font-weight:400;line-height:1.9}
body.p0-auth .auth-feature-grid{gap:0;margin-top:16px}
body.p0-auth .auth-feature{border:0;background:none;box-shadow:none;padding:10px 0;min-height:0;font-weight:400;font-size:13px;color:#637079;gap:14px}
body.p0-auth .auth-feature b{color:#967548;font-weight:500;background:none}
body.p0-auth .auth-card{border:1px solid #deded7;border-radius:14px;background:#fffefa;box-shadow:0 12px 48px #18253406;backdrop-filter:none;padding:32px}
body.p0-auth .auth-card-header h2{font-size:25px;font-weight:600;color:#182534}
body.p0-auth .auth-card-header p,body.p0-auth .form-note{font-weight:400;color:#637079;line-height:1.7}
body.p0-auth .auth-card :is(label,.tab-btn,.mode-btn){font-weight:500}
body.p0-auth .auth-card input:not([type=checkbox]){border-color:#d9ddd7;background:#fff;border-radius:7px;min-height:46px;font-weight:400}
body.p0-auth .auth-card button[type=submit]{background:#182534!important;border-color:#182534!important;box-shadow:none;border-radius:7px;font-weight:550;min-height:46px}
body.p0-auth .entry-mode{display:none}
body.p0-auth .auth-locale-select{border-color:#deded7;color:#637079;background:#fffefa}
body.p0-auth .auth-tabs{border-bottom-color:#deded7}
body.p0-auth .tab-btn.active{color:#182534;border-color:#967548;background:#f1f2ec}
body.p0-auth .auth-footer{color:#637079}
body.p0-auth .auth-footer a{color:#637079}
body.p0-xiaohua{--ce-navy:#182534;--ce-navy-2:#26394a;--ce-paper:#f8f8f4;--ce-card:#fffefa;--ce-ink:#182534;--ce-gold:#967548;--ce-line:#deded7;--ce-shadow:0 8px 28px #18253408;--ce-muted:#637079}
body.p0-xiaohua .ce-topbar{background:#fffefa;border-bottom:1px solid #deded7;color:#182534;box-shadow:none}
body.p0-xiaohua .ce-brand{color:#182534}
body.p0-xiaohua .ce-brand img{background:#182534;border-radius:5px;padding:6px 10px;box-sizing:border-box}
body.p0-xiaohua .ce-brand small{color:#637079}
body.p0-xiaohua .ce-dialog-shell{box-shadow:none;border-color:#deded7;border-radius:14px}
body.p0-xiaohua .ce-dialog-head{background:#fffefa}
body.p0-xiaohua .ce-quiet-button,body.p0-xiaohua .ce-locale-control{color:#465761;border-color:#deded7;background:#fffefa}
body.p0-xiaohua .ce-topbar :is(a,button,select){min-height:44px}
body.p0-recharge{--ink:#182534;--muted:#637079;--line:#deded7;--card:#fffefa}
body.p0-recharge .topbar{color:#182534}
body.p0-recharge .brand h1,body.p0-recharge .brand p{color:#182534}
body.p0-recharge .card{box-shadow:none;border-radius:14px}
body.p0-recharge :is(.card h2,.package strong,.payment-method strong){color:#182534;font-weight:600}
body.p0-recharge .payment-method.active,body.p0-recharge .package.active,body.p0-recharge .package:hover{box-shadow:none;transform:none}
body.p0-recharge .site-footer{color:#637079}
@media(min-width:1041px) and (max-width:1380px){html:lang(en) .workspace-nav-row,html:lang(ja) .workspace-nav-row,html:lang(ko) .workspace-nav-row{grid-template-columns:125px minmax(0,1fr) auto;gap:12px}.workspace-nav-row{gap:12px;padding:14px 20px}.workspace-nav-link{padding:0 9px}}
@media(max-width:1040px){.workspace-nav-row{grid-template-columns:minmax(0,1fr) auto;min-height:72px;padding:12px 20px}.workspace-global-nav{border-radius:0;width:100%;margin:0}.workspace-primary-nav{display:none}.workspace-mobile-links .workspace-nav-link{min-height:46px;font-size:14px}.workspace-mobile-action{min-height:44px}}
@media(max-width:760px){body.p0-auth .auth-shell{grid-template-columns:1fr;min-height:100dvh;padding:30px 20px;gap:24px;max-width:520px}body.p0-auth .auth-copy{display:block;order:0}body.p0-auth .auth-brand-title{font-size:26px;margin-top:10px;gap:12px}body.p0-auth .auth-brand-title>span{width:auto}body.p0-auth .auth-title-logo{width:104px;height:38px}body.p0-auth .auth-copy :is(.auth-lead,.welcome-line,.auth-feature-grid){display:none}body.p0-auth .auth-card{padding:24px;order:1}body.p0-auth .auth-kicker{font-size:10px}body.p0-xiaohua .ce-dialog-shell{border-radius:10px}}
@media(max-width:520px){.workspace-global-nav{width:100%;margin:0;border-radius:0;box-shadow:none}.workspace-nav-row{padding:10px 16px;min-height:65px;gap:8px}.workspace-brand img{width:109px;height:39px}.workspace-notifications summary,.workspace-menu-button{width:44px;min-height:44px;border-radius:6px}.workspace-notification-panel{top:65px}body.workspace-nav-ready .container.app-shell{margin-top:16px;padding:0 14px 32px}body.workspace-nav-ready .flow-main{padding:0}.workspace-nav-row .workspace-works-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){.workspace-global-nav *,body.p0-auth *{animation:none!important;transition:none!important}}
