:root{--green:#1d1d1f;--green2:#6e6e73;--cream:#f5f5f7;--ink:#1d1d1f;--muted:#6e6e73;--line:#e5e5ea;--accent:#e5e5ea;--white:#ffffff;--danger:#6e6e73;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--cream)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:var(--green);text-decoration:none}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:10px 16px;line-height:1.4}button:hover{background:#f5f5f7}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:var(--green2)}.quiet{background:transparent}.danger{color:var(--danger)}.small{font-size:12px;padding:6px 10px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted);font-weight:600}.muted{color:var(--muted)}.loading{padding:40px}.layout{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--green);color:#e5e5ea;padding:32px 20px;position:fixed;top:0;bottom:0;width:226px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px}.brand-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #6e6e73;border-radius:10px;font-size:24px}.brand b{display:block;letter-spacing:3px;font-size:20px}.brand small{color:#86868b;font-size:10px;letter-spacing:2px}.nav-caption{font-size:10px;letter-spacing:2px;color:#86868b;margin:40px 12px 16px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{background:transparent;border:0;color:#d2d2d7;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px}.sidebar nav button.active{color:var(--green);background:#e5e5ea;font-weight:600}.nav-icon{font-size:18px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:20px 12px 0}.sidebar-bottom a{display:block;color:#e5e5ea;margin-bottom:18px}.sidebar-bottom p{font-size:11px;color:#86868b;line-height:1.7}.sidebar-bottom button{color:#d2d2d7;border-color:#6e6e73}.workspace{grid-column:2;padding:0 38px 90px;min-width:0}.topbar{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{color:var(--ink);margin-left:15px}.save-tools{display:flex;align-items:center;gap:12px}.save-state{font-size:12px;color:var(--muted)}.save-state.dirty{color:#6e6e73}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:34px 0 24px}.page-head h1{font-size:28px;font-weight:600;margin:8px 0 9px;letter-spacing:1px}.page-head p{margin:0;color:var(--muted);line-height:1.7}.head-actions{display:flex;gap:8px;flex-shrink:0}.welcome{background:#f5f5f7;border:1px solid #e5e5ea;border-radius:12px;display:flex;justify-content:space-between;gap:22px;align-items:center;padding:25px 28px;margin-bottom:24px}.welcome h2{font-size:21px;margin:0 0 10px;font-weight:600}.welcome p{margin:0;color:#6e6e73;line-height:1.8;font-size:13px}.welcome-symbol{font-size:56px;color:#86868b}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{border:1px solid var(--line);border-radius:12px;background:white;padding:22px}.stat .stat-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:32px;font-weight:500;margin:14px 0 7px}.stat small{color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.section-head h2{font-size:17px;font-weight:600;margin:0}.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.item-card{border-radius:12px;background:white;border:1px solid var(--line);overflow:hidden}.item-cover{height:166px;background:#e5e5ea;position:relative;overflow:hidden}.item-cover img{width:100%;height:100%;object-fit:cover}.item-cover .placeholder{display:grid;place-items:center;height:100%;font-size:34px;color:#6e6e73}.status-badge{position:absolute;top:12px;left:12px;font-size:11px;padding:5px 9px;border-radius:5px;background:#f5f5f7;color:var(--green)}.status-badge.hidden{background:#f5f5f7;color:#6e6e73}.item-body{padding:18px 19px}.item-body h3{font-size:16px;margin:0 0 8px;font-weight:600}.item-body p{color:var(--muted);font-size:12px;line-height:1.65;margin:0;min-height:38px}.item-meta{font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);padding:12px 0}.item-ops{display:flex;gap:6px;flex-wrap:wrap;padding-top:12px}.item-ops .edit{margin-right:auto}.toolbar{display:flex;align-items:center;gap:12px;margin:0 0 22px}.toolbar input{max-width:330px}.toolbar .muted{font-size:12px}.field{display:block;margin-bottom:20px}.field>span{display:block;margin-bottom:8px;font-size:13px;font-weight:500}.field small{display:block;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.6}input:not([type=checkbox]),textarea,select{border:1px solid #e5e5ea;border-radius:7px;background:white;padding:11px 12px;color:var(--ink);width:100%;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--green2)}textarea{min-height:94px;resize:vertical;line-height:1.65}.checkbox{display:flex;align-items:center;gap:10px;padding:12px 0;line-height:1.7}.checkbox input{accent-color:var(--green)}.copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.copy-grid .wide{grid-column:1/-1}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.panel h2{font-size:17px;margin:0 0 12px}.tabs{display:flex;gap:7px;margin-bottom:24px;flex-wrap:wrap}.tabs button.active{background:var(--green);color:white}.help-box{font-size:12px;color:#6e6e73;background:#f5f5f7;border-radius:8px;line-height:1.8;padding:14px 18px;margin-bottom:22px}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.image-card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.image-card img{width:100%;height:148px;object-fit:cover;background:#e5e5ea}.image-card .image-info{padding:13px}.image-card p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 8px}.image-card small{display:block;color:var(--muted);font-size:10px;line-height:1.7}.image-card button{margin-top:10px}.empty{padding:48px 20px;text-align:center;color:var(--muted);background:white;border:1px dashed var(--line);border-radius:12px}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:17px 0}.history-row p{margin:0 0 6px;font-size:13px}.history-row small{color:var(--muted)}.history-row .row-actions{display:flex;gap:7px}.draft-banner{margin-top:20px;background:#f5f5f7;border:1px solid #e5e5ea;padding:14px 18px;line-height:1.7;border-radius:9px;display:flex;gap:16px;justify-content:space-between;align-items:center;font-size:12px}.draft-banner button{flex-shrink:0}.auth-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(120deg,#1d1d1f 0,#1d1d1f 44%,#f5f5f7 44%,#f5f5f7 100%);padding:30px}.auth-card{background:white;border-radius:16px;width:420px;max-width:100%;padding:40px;box-shadow:0 24px 90px #1d1d1f26}.auth-card .brand{color:var(--green);margin-bottom:36px}.auth-card .brand small{color:var(--muted)}.auth-card h1{font-size:24px;margin:0 0 12px}.auth-card p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 26px}.auth-card button{width:100%}.auth-error{color:var(--danger);font-size:12px;margin:14px 0}.auth-card footer{font-size:11px;color:var(--muted);margin-top:28px;line-height:1.8}dialog{border:0;border-radius:14px;box-shadow:0 25px 100px #1d1d1f44;padding:0;color:var(--ink);background:white;max-height:90vh;width:720px;max-width:calc(100vw - 32px)}dialog::backdrop{background:#1d1d1f66;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.dialog-header h2{font-size:19px;margin:0}.dialog-header button{padding:5px 10px}.dialog-body{padding:25px 26px}.dialog-footer{position:sticky;bottom:0;background:#ffffff;border-top:1px solid var(--line);padding:17px 26px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-footer small{color:var(--muted);font-size:11px}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.two-fields .field{margin:0}.fact-row{display:grid;grid-template-columns:1fr 2fr auto;gap:8px;margin-bottom:8px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.gallery figure{margin:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.gallery img{width:100%;height:118px;object-fit:cover}.gallery figcaption{padding:7px;font-size:11px;display:flex;justify-content:space-between;align-items:center}.gallery-controls{display:flex;gap:4px;padding:0 6px 8px}.gallery-controls button{padding:4px 8px;font-size:11px}.picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.picker-item{padding:0;text-align:left;overflow:hidden}.picker-item img{width:100%;height:115px;object-fit:cover;display:block}.picker-item span{display:block;padding:9px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-item.selected{border:2px solid var(--green)}.url-row{display:flex;gap:8px;margin:14px 0}.url-row button{flex-shrink:0}#notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:13px 22px;border-radius:10px;box-shadow:0 5px 20px #1d1d1f22;max-width:90vw;z-index:20;display:none;font-size:13px}#notice.visible{display:block}.error{color:var(--danger);line-height:1.7;font-size:12px}.progress{color:var(--green);font-size:12px}.preview-link{background:#ffffff;border:1px solid var(--line);border-radius:8px;padding:10px 16px;display:inline-block;white-space:nowrap}.settings-note{line-height:1.8;font-size:12px;color:var(--muted)}@media(min-width:1500px){.workspace{padding-left:60px;padding-right:60px}.content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1000px){.workspace{padding-left:24px;padding-right:24px}.stats{grid-template-columns:repeat(2,1fr)}.save-state{max-width:130px}.split{grid-template-columns:1fr}.copy-grid{grid-template-columns:1fr}.page-head{align-items:flex-start}.head-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:700px){.layout{display:block}.sidebar{position:static;width:100%;padding:18px 16px}.sidebar .brand{margin-bottom:18px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap;font-size:12px;padding:9px 11px}.sidebar .nav-icon{display:none}.workspace{padding:0 16px 70px}.topbar{height:auto;padding:18px 0;align-items:flex-start}.save-tools{gap:6px;flex-wrap:wrap;justify-content:flex-end}.save-state{width:100%;max-width:none;text-align:right;font-size:10px}.breadcrumb{max-width:90px;line-height:1.8}.breadcrumb span{margin-left:0;display:block}.save-tools button{padding:8px 10px;font-size:12px}.page-head{padding-top:25px;display:block}.page-head h1{font-size:24px}.head-actions{justify-content:flex-start;margin-top:16px}.welcome{padding:20px}.welcome-symbol{display:none}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:28px}.two-fields{grid-template-columns:1fr}.dialog-body{padding:20px}.dialog-header,.dialog-footer{padding:16px 20px}.gallery,.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-banner{display:block}.draft-banner button{margin-top:8px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-row{align-items:flex-start}.history-row .row-actions{flex-direction:column}.auth-wrap{background:var(--green)}.auth-card{padding:30px}.toolbar{flex-wrap:wrap}.copy-grid .wide{grid-column:auto}}
.fact-row.craft-section-editor{grid-template-columns:minmax(0,1fr) 36px;align-items:start}.fact-row.craft-section-editor>input{grid-column:1}.fact-row.craft-section-editor>textarea{grid-column:1;min-height:110px;line-height:1.6;resize:vertical}.fact-row.craft-section-editor>button{grid-column:2;grid-row:1 / span 2}
.team-photo-label{display:block;margin:10px 0;font-size:12px;color:#6e6e73}.team-photo-label input{display:block;width:100%;margin-top:6px;padding:8px;font-size:14px}

/* 保证较矮窗口和手机后台都可以操作退出，不改客户页。 */
.sidebar{overflow-y:auto;overscroll-behavior-y:contain}.sidebar nav,.sidebar-bottom{flex-shrink:0}
@media(max-width:700px){.sidebar-bottom{display:block;padding:12px 0 0}.sidebar-bottom a,.sidebar-bottom p{display:none}}

/* Compatible adapters for the existing brand editors. */
:root{--bg:#f5f5f7;--ink:#1d1d1f;--ink-2:#6e6e73;--ink-3:#6e6e73;--soft:#f5f5f7;--line:#e5e5ea;--line-2:#f5f5f7;--amber:#6e6e73;--amber-d:#1d1d1f;--amber-s:#f5f5f7;--red:#6e6e73;--red-s:#f5f5f7;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
[hidden]{display:none!important}.studio-root{margin:0;padding:0;max-width:none}.studio-old-top,.studio-root>.gridbar,.studio-root>.group-h{display:none}.studio-layout .sidebar .brand b{font-size:20px}.studio-layout .sidebar button{border-radius:8px}.studio-section>#grid-tip{margin-bottom:18px;line-height:1.7}.studio-section>.group-h{display:none}.studio-section .gcards{max-width:none;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.studio-section .gc{border-radius:12px;cursor:default}.studio-section .gc .cv{aspect-ratio:unset;height:188px;object-fit:cover}.studio-section .gc .bd{padding:18px 19px}.studio-section .gc .t{font-size:16px;min-height:2.8em}.studio-section .gc .m{font-size:12px;margin-top:9px}.studio-section .gc .ord{position:static;margin:10px 18px;background:transparent;color:var(--muted);font-size:11px}.studio-section .gc .badges{top:12px;left:12px}.studio-section .gc .ico.mini{top:12px;right:12px;width:32px;height:32px}.studio-card-ops{display:flex;gap:5px;flex-wrap:wrap;padding:12px 18px 18px;border-top:1px solid var(--line)}.studio-card-ops button:first-child{margin-right:auto}.studio-section .btn{background:var(--green);color:white}.studio-section .btn.ghost,.mask .btn.ghost{background:#ffffff;color:var(--ink);border:1px solid var(--line)}.studio-section .home-assets,.studio-section #profile-fields,.studio-section #copy-fields{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:18px}.studio-section .single-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.studio-section .case .thumb{width:72px;height:72px}.studio-section .case .nm{font-size:15px}.studio-section .case{padding:14px;margin-bottom:12px}.studio-section .case .ops{gap:8px}.mask{padding:30px 16px;align-items:center;overflow:hidden;background:#1d1d1f66;backdrop-filter:blur(3px)}.mask>.sheet{background:white;width:760px;max-width:calc(100vw - 32px);max-height:calc(100vh - 60px);overflow:auto;margin:0;padding:0 26px 26px;border-radius:14px;overscroll-behavior:contain}.mask>.sheet>h2{position:sticky;top:0;z-index:3;background:#ffffff;padding:22px 0;margin:0 0 22px;border-bottom:1px solid var(--line);font-size:19px}.mask .btn:not(.ghost):not(.danger){background:var(--green);color:white}.mask .save-actions{position:sticky;bottom:-26px;background:white;border-top:1px solid var(--line);padding:16px 0;margin-bottom:-26px;z-index:3}.mask .imgs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mask .im img{height:148px;aspect-ratio:unset}.mask .field{margin-bottom:20px}.mask .field label{font-size:13px}.mask .field input,.mask .field textarea{padding:11px 12px}.mask .fold{padding:14px}.studio-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}#studio-health{font-size:13px;line-height:1.8;margin:12px 0}.toast{color:white;border-radius:10px;max-width:90vw;white-space:pre-wrap}.studio-section .toolbar input{width:330px;max-width:100%}.studio-root .workspace>.page-head h1{margin:8px 0 9px}.studio-layout .sidebar-bottom p{margin:0 0 14px}.studio-root .workspace .stat span{font-size:12px;color:var(--muted)}.studio-root .workspace .welcome h2{margin:0 0 10px}.studio-root .workspace .panel p{margin:12px 0}#v-login{min-height:100vh;max-width:none;padding:30px;display:grid;background:linear-gradient(120deg,#1d1d1f 0,#1d1d1f 44%,#f5f5f7 44%)}#v-login .login-box{width:420px;max-width:100%;margin:10vh auto;padding:38px;border-radius:16px;box-shadow:0 24px 90px #1d1d1f26}#v-login .login-box h1{font-size:24px;margin-bottom:12px}#v-login .login-box .btn{background:var(--green)}
@media(max-width:700px){.studio-section .gcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-section .gc .cv{height:145px}.studio-section .gc .bd{padding:12px}.studio-section .gc .t{font-size:14px}.studio-card-ops{padding:10px;gap:4px}.studio-card-ops button{padding:6px;font-size:11px}.mask{padding:12px}.mask>.sheet{max-height:calc(100dvh - 24px);padding:0 20px 20px}.mask .imgs{grid-template-columns:repeat(2,minmax(0,1fr))}.mask .save-actions{bottom:-20px;margin-bottom:-20px}.studio-section .case{flex-wrap:wrap}.studio-section .case .ops{width:100%}.studio-section #copy-fields,.studio-section #profile-fields{padding:18px}#v-login{background:var(--green);padding:20px}.studio-layout .sidebar{width:100%;position:static}.studio-layout .sidebar nav{overflow:auto}.studio-layout .sidebar-bottom{display:block;padding:12px 0 0}.studio-layout .sidebar-bottom p{display:none}}

.studio-root>:not(.studio-layout){display:none!important}

/* Fanpin: management content follows the current mini-program display. */

html[data-studio-brand="fanpin"] .studio-section .gc .cv{height:auto;aspect-ratio:3/4;width:100%;object-fit:cover}
html[data-studio-brand="fanpin"] .studio-section .gc .t{height:2.8em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html[data-studio-brand="fanpin"] .studio-section .gc .fp-case-type{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.2em;line-height:1.6;color:#6e6e73}
.fp-case-view{text-align:right;border-top:1px solid #d2d2d7;margin-top:18px;padding-top:9px;font-size:12px;color:#6e6e73}
.fp-copy-editor{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.fp-copy-groups{min-width:0}.fp-copy-preview{position:sticky;top:20px;min-width:0}.fp-copy-preview>b{display:block;margin-bottom:16px}.fp-copy-preview>label{display:block;font-size:12px;color:#6e6e73;margin-bottom:6px}.fp-copy-preview>select{width:100%;padding:10px;border:1px solid #d2d2d7;border-radius:6px;background:white;margin-bottom:18px}
.fp-contact-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:15px 14px;background:#f5f5f7;border:1px solid #e5e5ea;color:#1d1d1f;border-radius:2px;box-sizing:border-box;white-space:pre-line}.fp-contact-left{min-width:0;padding-right:12px}.fp-contact-right{min-width:0;padding-left:14px;border-left:1px solid #d2d2d7;display:flex;flex-direction:column}.fp-contact-title{font-size:13.5px;line-height:1.55;font-weight:500}.fp-contact-left img{display:block;width:110px;max-width:100%;margin-top:12px}.fp-contact-tip{font-size:10px;line-height:1.65;color:#6e6e73;margin-top:9px;overflow-wrap:anywhere}.fp-contact-body{font-size:12px;line-height:1.85;color:#6e6e73;margin:16px 0;overflow-wrap:anywhere}.fp-share-preview-button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;box-sizing:border-box;margin-top:auto;padding:10px 12px;background:#1d1d1f;color:#f5f5f7;border:1px solid #1d1d1f;border-radius:5px;box-shadow:0 2px 6px #1d1d1f1f;font-size:13px;font-weight:500;line-height:1.5}.fp-share-preview-button>span:first-child{min-width:0;overflow-wrap:anywhere}.fp-share-preview-button>span:last-child{flex-shrink:0;font-size:17px}.fp-home-preview-button{background:#1d1d1f;color:white;text-align:center;padding:14px 8px;margin-top:16px;font-size:14px;border-radius:2px}
.fp-global-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px;background:#f5f5f7;border-radius:8px;margin:18px 0 24px}.fp-global-links span{font-size:12px;color:#6e6e73}.fp-global-links button,.fp-preview-tabs button{border:1px solid #d2d2d7;background:white;color:#1d1d1f;border-radius:5px;padding:8px 10px;font-size:12px}.fp-preview-tabs{display:flex;gap:8px;margin:16px 0}.fp-preview-tabs button.active{background:#1d1d1f;color:#f5f5f7}.fp-case-preview-fold #case-live-preview{max-width:375px;margin:0 auto 16px}.fp-card-preview{width:180px;max-width:100%;margin:auto;background:#f5f5f7;color:#1d1d1f}.fp-card-preview>img,.fp-empty-cover{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;background:#e5e5ea}.fp-empty-cover{display:grid;place-items:center;font-size:12px;color:#6e6e73}.fp-card-preview>b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;font-size:16px;line-height:1.4;margin-top:12px}.fp-card-preview>p{min-height:32px;font-size:12px;line-height:1.6;color:#6e6e73;margin:12px 0}.fp-card-preview>div:last-child{text-align:right;border-top:1px solid #d2d2d7;padding-top:8px;font-size:12px;color:#6e6e73}.fp-detail-preview{background:#f5f5f7;white-space:pre-line;color:#1d1d1f;font-size:14px;line-height:1.75}.fp-detail-cover{position:relative;background:#1d1d1f;color:white}.fp-detail-cover>img{display:block;width:100%;height:280px;object-fit:cover;filter:brightness(.75)}.fp-detail-cover>div:last-child{position:absolute;bottom:22px;left:17px;right:17px}.fp-detail-preview h3{font-size:25px;line-height:1.3;margin:24px 0 16px}.fp-detail-preview dl{display:grid;grid-template-columns:90px 1fr;border-top:1px solid #d2d2d7;padding-top:16px}.fp-detail-preview dd{margin:0 0 12px}.fp-detail-preview dt{color:#6e6e73}.fp-detail-preview blockquote{margin:20px 0;padding:20px;background:#1d1d1f;color:white}.fp-detail-preview blockquote small{display:block;margin-top:16px;color:#d2d2d7}.fp-detail-preview>.hint{font-size:12px;color:#6e6e73}
@media(max-width:1200px){.fp-copy-editor{grid-template-columns:minmax(0,1fr)}.fp-copy-preview{position:static;max-width:375px;grid-row:1}.fp-copy-groups{grid-row:2}}


/* 四栏目：白灰工作区、按页面组织、共用字段有明确作用范围。 */
:root{--bg:#fff;--cream:#fff;--ink:#1d1d1f;--ink-2:#6e6e73;--ink-3:#86868b;--soft:#f5f5f7;--line:#e5e5ea;--line-2:#f5f5f7;--green:#1d1d1f;--green2:#333336;--amber:#1d1d1f;--amber-d:#000;--amber-s:#f5f5f7;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-family:var(--sans)}
.sidebar{background:#f5f5f7;color:#1d1d1f;border-right:1px solid var(--line)}.sidebar nav button,.sidebar-bottom button{color:#6e6e73}.sidebar nav button.active{background:#e5e5ea;color:#1d1d1f;font-weight:500}.sidebar .brand-icon{background:#1d1d1f;color:white}.brand b{font-weight:500}.brand small{letter-spacing:2px}.sidebar-bottom>button{display:block;margin-top:10px;border-color:transparent}
.sidebar nav button[hidden],.studio-section[hidden],.case-list-pane[hidden],.case-singles-pane[hidden],.case-settings-pane[hidden],.field[hidden],details[hidden],#copy-empty[hidden]{display:none!important}
.editor-part-title{font-size:16px;font-weight:500;margin:24px 0 14px}.page-head h1{font-size:28px;font-weight:400}.page-head p{font-size:13px}.page-head{padding:28px 0 8px}.topbar{height:76px}.workspace{max-width:1600px;padding-bottom:70px}.studio-section .home-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:none;border:0;padding:0;margin:0 0 28px}.home-asset{min-width:0;display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;background:white;align-items:start}.home-asset>img{width:104px;height:104px;object-fit:cover;border-radius:5px;grid-row:1/3;background:var(--soft)}.home-asset[data-home-key=qr]>img{object-fit:contain}.home-asset-copy b{font-size:14px;font-weight:500}.home-asset-copy span{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}.home-asset>button{justify-self:start;grid-column:2;font-size:12px}
.case-page-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}.case-page-tabs button{border:0;background:var(--soft);color:var(--muted);padding:10px 16px}.case-page-tabs button.active{background:#1d1d1f;color:white}.studio-section #copy-fields{padding:0;background:none;border:0}.fp-copy-editor{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.fp-copy-groups .fold{border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin:0 0 12px;background:white}.fp-copy-groups summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:14px;font-weight:500;list-style:none}.fp-copy-groups summary:after{content:'＋';color:var(--muted);font-weight:300}.fp-copy-groups details[open]>summary:after{content:'－'}.group-count{margin-left:auto;margin-right:12px;color:var(--muted);font-size:11px;font-weight:400}.fp-copy-groups .field{margin:20px 0 0}.fp-copy-groups textarea{font-size:14px;min-height:76px;line-height:1.7}.fp-copy-groups label{font-weight:400;font-size:13px}.field-foot{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.field-foot .hint{font-size:11px}.field-foot button{border:0;color:var(--muted);font-size:11px;padding:4px}.shared-note{font-size:12px;color:var(--muted);margin-top:14px}.fp-copy-preview{position:sticky;top:24px;align-self:start;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}.fp-copy-preview>b{font-size:13px;font-weight:500}.fp-copy-preview>label{display:block;font-size:11px;color:var(--muted);margin-top:16px}.fp-copy-preview select{font-size:12px;margin:6px 0 18px}.fp-contact-preview{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:12px;background:#f5f5f7;color:#1d1d1f;align-items:stretch}.fp-contact-left,.fp-contact-right{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}.fp-contact-left img{width:100%;height:auto;object-fit:contain}.fp-contact-title{font-weight:500;font-size:11px;line-height:1.6}.fp-contact-tip{font-size:9px;line-height:1.6;color:#6e6e73}.fp-contact-body{font-size:10px;line-height:1.7;color:#6e6e73}.fp-share-preview-button{background:#1d1d1f;border-color:#1d1d1f;color:white;width:100%;border-radius:4px;padding:12px 6px;margin-top:auto;display:flex;justify-content:space-between;gap:4px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.fp-share-preview-button>span:first-child{font-size:11px}.fp-home-preview-button{background:#1d1d1f;color:white}.fp-consult-preview{text-align:center;padding:18px;background:#f5f5f7}.fp-consult-preview b{font-size:14px;font-weight:500}.fp-consult-preview img{width:150px;margin:18px auto}.fp-consult-preview p{font-size:11px;color:var(--muted)}
.studio-section #copy-save{position:sticky;bottom:16px;z-index:4;margin:14px 10px 0 0;box-shadow:0 4px 18px #00000010}.studio-section #profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:22px}.studio-section #profile-fields .field{margin:0}.studio-section .gc .cv{aspect-ratio:3/4;height:auto}.studio-section .gc .m{display:block}.studio-section .gc .t{font-weight:400}.fp-case-preview-fold .field{display:block}.fp-detail-preview blockquote{background:#f5f5f7;color:#1d1d1f}.mask{background:#1d1d1f66}.mask .sheet .field{display:block}.mask .field>.hint{display:block;font-size:12px}.studio-root>:not(.studio-layout){display:none!important}#v-login{background:#f5f5f7}#v-login .login-box{box-shadow:none}.topbar .save-tools button{white-space:nowrap}
@media(max-width:1250px){.fp-copy-editor{grid-template-columns:minmax(0,1fr)}.fp-copy-preview{position:static;max-width:370px;grid-row:auto}.fp-copy-groups{grid-row:1}.studio-section .home-assets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.studio-section .home-assets{grid-template-columns:1fr}.studio-section #profile-fields{grid-template-columns:1fr}}
@media(max-width:700px){.studio-layout{display:block}.studio-layout .sidebar{position:static;width:100%;padding:20px}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar nav button{padding:10px 4px;display:flex;justify-content:center;gap:3px;font-size:12px;white-space:nowrap}.sidebar .nav-icon{font-size:14px;width:16px}.sidebar .nav-caption{display:none}.sidebar nav{margin-top:20px}.sidebar-bottom{display:flex!important;padding:8px 0 0}.sidebar-bottom>button{display:inline-block;margin:8px 12px 0 0;font-size:11px;padding:4px 0}.workspace{padding:0 16px 64px}.topbar{height:auto;min-height:64px;align-items:flex-start;flex-direction:column;gap:8px;padding:14px 0}.save-tools{width:100%;justify-content:space-between;gap:6px}.save-tools button{font-size:11px;padding:4px 6px}.case-page-tabs{gap:6px}.case-page-tabs button{font-size:12px;padding:9px 12px}.home-asset{grid-template-columns:90px minmax(0,1fr)}.home-asset>img{width:90px;height:90px}.fp-copy-groups .fold{padding:16px}.fp-copy-preview{max-width:100%;width:100%}.field-foot button{visibility:visible}.page-head h1{font-size:25px}.draft-banner{flex-wrap:wrap;gap:6px}.draft-banner span{width:100%}.mask>.sheet{max-height:calc(100dvh - 24px)}.studio-section .gcards{grid-template-columns:repeat(2,minmax(0,1fr))}}

.fp-copy-groups summary::before{content:none!important}

.fp-preview-content{padding:20px}.fp-preview-content h4{font-size:14px;font-weight:500;margin:24px 0 14px}.fp-preview-content p{font-size:13px;line-height:1.8}.fp-preview-content dl{font-size:12px}.fp-detail-preview blockquote small{color:#6e6e73}.fp-card-preview>p{padding:0 12px}.fp-card-preview>b{margin-left:12px;margin-right:12px}.fp-card-preview>div:last-child{padding:12px}

.case-list-pane #groups,.case-list-pane .gcards{max-width:none;width:100%}.case-list-pane .gcards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.studio-card-ops{gap:5px}.studio-card-ops button{font-size:11px;padding:5px 8px}@media(max-width:700px){.case-list-pane .gcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-card-ops button{padding:5px 6px}}

@media(max-width:700px){.studio-layout .sidebar{padding:16px}.sidebar .brand-icon{width:30px;height:30px;font-size:21px}.sidebar .brand b{font-size:18px}.sidebar nav{margin-top:12px}.sidebar nav button{padding:8px 4px}.sidebar .sidebar-bottom{padding-top:0}.sidebar-bottom>button{margin-top:6px}.breadcrumb{display:flex;gap:10px}.breadcrumb span{margin:0;display:inline}.topbar{padding:10px 0;gap:8px}.save-tools{flex-wrap:nowrap;justify-content:flex-end}.save-tools .save-state{width:auto!important;margin-right:auto;text-align:left!important}.page-head{padding-top:24px}}

@media(max-width:700px){.breadcrumb{max-width:none;width:auto;white-space:nowrap;flex-shrink:0}.breadcrumb span{white-space:nowrap}}

/* 精简版卡片：名称与规格下不再显示分隔线和查看。 */
.fp-card-preview>p { margin-bottom: 0; padding-bottom: 14px; }
