.header-actions.header-compact{flex-wrap:nowrap;max-width:none;gap:8px}.workspace-account{position:relative;flex:0 0 auto}.workspace-account>#adminAccountToggle{display:flex;align-items:center;gap:8px}.workspace-account>#adminAccountToggle::after{content:'';width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}.workspace-account>#adminAccountToggle[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}.workspace-account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:90;min-width:160px;padding:6px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;box-shadow:0 10px 30px #162d5126;color:#29374c}.workspace-account-menu[hidden]{display:none}.workspace-account-menu button{display:block;width:100%;padding:10px 12px;text-align:left;border:0;border-radius:6px;background:#fff;color:#34435b;font:inherit;font-size:13px}.workspace-account-menu button:hover,.workspace-account-menu button:focus-visible{background:#edf4ff;color:#245cc4}.workspace-account-menu button[onclick="logout()"]{color:#b53939}.workspace-account-menu button+button{margin-top:2px}.workspace-ready #tabJdUnion[hidden]{display:none}.workspace-ready .tabs>button.tab{border:0;font:inherit;font-size:14px}.workspace-ready .tabs .tab:focus-visible,.workspace-card:focus-visible,.workspace-return:focus-visible,.workspace-account button:focus-visible,.header-compact>.header-btn:focus-visible{outline:2px solid #2b6de8;outline-offset:3px}.header-compact>.header-btn:focus-visible,.workspace-account>#adminAccountToggle:focus-visible{outline-color:#fff}.workspace-heading{margin:8px 0 22px}.workspace-heading h2{font-size:23px;font-weight:650;letter-spacing:.2px;color:#243249}.workspace-heading p,.workspace-settings>p{font-size:13px;color:#748198;line-height:1.7;margin-top:8px}.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workspace-card{display:flex;align-items:center;gap:14px;width:100%;min-width:0;min-height:112px;padding:20px;border:1px solid #e1e7f0;border-radius:12px;background:#fff;color:#243249;text-align:left;text-decoration:none;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}.workspace-card:hover{border-color:#9cbae9;box-shadow:0 4px 16px #2448780a}.workspace-card:disabled{opacity:.5;cursor:default}.workspace-icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:11px;background:#edf4ff;color:#376dc4}.workspace-icon svg{width:23px;height:23px}.workspace-card-text{display:grid;gap:7px;min-width:0;flex:1}.workspace-card-text strong{font-size:15px;font-weight:600;line-height:1.5}.workspace-card-text>span{color:#7b8799;font-size:12px;font-weight:400;line-height:1.7;overflow-wrap:anywhere}.workspace-arrow{color:#9baac0;flex:0 0 auto}.workspace-settings>h3{margin-bottom:0}.workspace-settings>.workspace-grid{margin-top:16px}.workspace-settings .workspace-card{background:#fafcff;min-height:96px;padding:16px}.workspace-footnote{font-size:12px;line-height:1.8;margin:20px 0;color:#7b8799}.workspace-footnote a,.workspace-return{color:#3167be;text-decoration:none}.workspace-footnote a:hover,.workspace-return:hover{text-decoration:underline}.workspace-return{display:inline-block;font-size:13px;margin:2px 0 16px}body.union-float-open .workspace-return{display:none}@media(max-width:760px){.workspace-ready .tabs.with-earnings{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-grid{gap:10px}.workspace-card{padding:16px;gap:12px}.workspace-heading{margin:4px 0 18px}.workspace-heading h2{font-size:21px}}@media(max-width:520px){.header-actions.header-compact{width:100%;justify-content:flex-start;gap:8px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-card{min-height:98px}.workspace-settings .workspace-card{min-height:88px}.workspace-account{margin-left:auto}.workspace-heading p{font-size:12px}}@media(prefers-reduced-motion:reduce){.workspace-card{transition:none}}
#workspaceTools{position:fixed;z-index:80;width:60px;height:60px}
#workspaceTools[hidden],#adminToolsPanel[hidden]{display:none}
#adminToolsToggle{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:60px;height:60px;padding:0;border:1px solid #ffffff6b;border-radius:18px;background:#2863c5;color:#fff;font:inherit;font-size:12px;line-height:1;box-shadow:0 5px 20px #18498638;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
#adminToolsToggle svg{width:22px;height:22px;pointer-events:none}
#adminToolsToggle span{pointer-events:none}
#adminToolsToggle:hover,#adminToolsToggle[aria-expanded=true]{background:#1e54ad}
#workspaceTools.is-dragging #adminToolsToggle{cursor:grabbing;box-shadow:0 8px 26px #18498650}
#adminToolsToggle:focus-visible,#adminToolsClose:focus-visible{outline:3px solid #82aff8;outline-offset:3px}
#adminToolsPanel{position:fixed;z-index:1;box-sizing:border-box;width:min(344px,calc(100vw - 16px));max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;padding:18px;border:1px solid #dce5f1;border-radius:16px;background:#fff;color:#243249;box-shadow:0 12px 48px #162d512b}
.workspace-tools-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.workspace-tools-head h2{margin:0;font-size:16px;font-weight:600}
#adminToolsClose{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:#f1f5fa;color:#718096;font:inherit;font-size:23px;cursor:pointer}
#adminToolsClose:hover{background:#e6edf7;color:#243249}
#adminToolsPanel .workspace-grid{grid-template-columns:minmax(0,1fr);gap:8px}
#adminToolsPanel .workspace-card{min-height:76px;padding:12px;gap:12px;border-color:#e6ecf4;border-radius:10px}
#adminToolsPanel .workspace-card:hover{background:#f8fbff;border-color:#a4bee5}
#adminToolsPanel .workspace-icon{flex-basis:36px;width:36px;height:36px;border-radius:9px}
#adminToolsPanel .workspace-icon svg{width:21px;height:21px}
#adminToolsPanel .workspace-card-text{gap:3px}
#adminToolsPanel .workspace-card-text strong{font-size:14px}
#adminToolsPanel .workspace-card-text>span{font-size:11px;line-height:1.6}
#adminToolsPanel .workspace-footnote{margin:12px 0 0;font-size:11px}
@media(max-width:760px){.workspace-ready .tabs.with-earnings{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.workspace-ready .tabs>button.tab{font-size:12px}}
@media(max-width:520px){.header-actions.header-compact{gap:6px}}

/* Visual hierarchy, scoped to the administration shell. */
body.workspace-ready{--workspace-muted:#59677b;--workspace-line:#e1e7f0;--workspace-width:1240px}
body.workspace-ready>main{max-width:var(--workspace-width);padding-top:16px}
body.workspace-ready>.tabs{max-width:var(--workspace-width);margin:0 auto;padding:12px 24px 0;gap:6px}
body.workspace-ready>.tabs>.tab{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 20px;border-radius:8px;background:transparent;color:#526079}
body.workspace-ready>.tabs>.tab.on{background:#e6efff;color:#225dc4;box-shadow:inset 0 0 0 1px #ccddfa}
body.workspace-ready>header{padding-left:max(24px,calc((100% - 1192px)/2));padding-right:max(24px,calc((100% - 1192px)/2))}
body.workspace-ready .hint,body.workspace-ready .editor-action-note,body.workspace-ready .cleanup-preview,body.workspace-ready .settings-qr-status,body.workspace-ready .workspace-card-text>span,body.workspace-ready .workspace-footnote{color:var(--workspace-muted);line-height:1.65}
body.workspace-ready .field label,body.workspace-ready label.field{font-size:13px;color:#526079}
body.workspace-ready .mini-feature-option small{color:#59677b}
body.workspace-ready .mini-feature-status,body.workspace-ready .settings-status{color:#18753b}
body.workspace-ready .mini-feature-status.warn,body.workspace-ready .settings-status.warn{color:#946000}
body.workspace-ready .btn{min-height:36px;padding:8px 16px;border-radius:8px;line-height:1.4;touch-action:manipulation}
body.workspace-ready .btn:focus-visible,body.workspace-ready input:focus-visible,body.workspace-ready select:focus-visible,body.workspace-ready textarea:focus-visible,body.workspace-ready summary:focus-visible{outline:2px solid #2b6de8;outline-offset:3px}
body.workspace-ready input:not([type=checkbox]):not([type=radio]):not([type=file]),body.workspace-ready select{min-height:36px}
body.workspace-ready .btn.ghost{background:#f0f3f8;color:#4c5b70}
body.workspace-ready .editor-layout{grid-template-columns:minmax(0,1fr) 176px;gap:24px}
body.workspace-ready .editor-sidebar{gap:8px;padding:12px;border:1px solid #e5ebf4;border-radius:12px;background:#fbfcff}
body.workspace-ready .editor-action{min-height:42px}
body.workspace-ready #convertBtn{background:#e8f0ff;color:#245fc7;font-weight:600}
body.workspace-ready #cleanBtn{background:#fff;color:#526079;box-shadow:inset 0 0 0 1px #dce4ef}
body.workspace-ready #clearEditorBtn{background:transparent;color:#657186}
body.workspace-ready #clearEditorBtn:hover{color:#b23838;background:#fff1f0}
body.workspace-ready #pubBtn{box-shadow:0 3px 8px #2b6de820}
body.workspace-ready .editor-copy-btn{font-size:12px;padding:6px 10px;min-height:32px}
body.workspace-ready .editor-action-note{font-size:12px;margin-top:4px}
body.workspace-ready .editor-content{min-height:520px}
body.workspace-ready .workspace-settings>p{display:none}
body.workspace-ready .workspace-settings>.workspace-grid{margin-top:12px;gap:12px}
body.workspace-ready .workspace-settings .workspace-card{min-height:76px;padding:12px 16px;gap:12px}
body.workspace-ready .workspace-card-text{gap:3px}
body.workspace-ready .workspace-settings .workspace-icon{width:38px;height:38px;flex-basis:38px}
body.workspace-ready .operations-settings>summary{display:flex;align-items:center;justify-content:space-between;min-height:28px;list-style:none;color:#2f4059;font-weight:600}
body.workspace-ready .operations-settings>summary::-webkit-details-marker{display:none}
body.workspace-ready .operations-settings>summary::after{content:'+';font-size:20px;font-weight:400;color:#687b97}
body.workspace-ready .operations-settings[open]>summary::after{content:'−'}
body.workspace-ready .mini-feature-target{padding:12px;border:1px solid #dae5f6;border-radius:10px;background:#f6f9ff;gap:8px 12px!important}
body.workspace-ready .mini-feature-target>label{font-size:13px;color:#4d607b}
body.workspace-ready .mini-feature-target>select{flex:1;max-width:410px;background:#fff}
body.workspace-ready .mini-feature-target #miniProgramFeatureCurrent{flex-basis:100%;margin:0}
body.workspace-ready #miniProgramFeatureEditing{display:inline-block;padding:4px 9px;border-radius:6px;background:#e9f1ff;color:#2258ae;font-size:12px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}
body.workspace-ready #miniProgramFeatureScope{margin:7px 0 10px}
body.workspace-ready .settings-help{margin:10px 0 14px;font-size:12px;color:#59677b}
body.workspace-ready .settings-help>summary{cursor:pointer;padding:4px 0;color:#4d6a93}
body.workspace-ready .settings-help p{line-height:1.7;margin:6px 0}
body.workspace-ready #miniProgramFeatureBindPanel{padding-top:14px;border-top:1px solid #e8edf4}
body.workspace-ready #publicCouponSettings>h3{margin-bottom:8px}
body.workspace-ready #workspaceTools{width:52px;height:52px}
body.workspace-ready #adminToolsToggle{width:52px;height:52px;border-radius:16px;gap:4px;font-size:11px;box-shadow:0 4px 14px #18498630}
body.workspace-ready #adminToolsToggle svg{width:20px;height:20px}
body.workspace-ready #workspaceTools.is-input-active{visibility:hidden}
@media(min-width:1600px){body.workspace-ready{--workspace-width:1280px}body.workspace-ready>header{padding-left:max(24px,calc((100% - 1232px)/2));padding-right:max(24px,calc((100% - 1232px)/2))}}
@media(max-width:760px){
 body.workspace-ready>.tabs{padding:10px 14px 0;gap:4px}
 body.workspace-ready>.tabs>.tab{padding:8px 4px;min-height:44px;font-size:12px}
 body.workspace-ready>header{padding:12px}
 body.workspace-ready .header-actions .header-btn,body.workspace-ready #adminAccountToggle{min-height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center}
 body.workspace-ready .workspace-account-menu button{min-height:44px}
 body.workspace-ready .btn{min-height:44px}
 body.workspace-ready input:not([type=checkbox]):not([type=radio]):not([type=file]),body.workspace-ready select{min-height:44px}
 body.workspace-ready #adminToolsClose{width:44px;height:44px}
 body.workspace-ready .workspace-settings .workspace-card{min-height:72px;padding:12px}
 body.workspace-ready .mini-feature-target>select{width:100%;flex-basis:100%;max-width:none}
 body.workspace-ready .mini-feature-option{min-height:56px}
 body.workspace-ready #workspaceTools,body.workspace-ready #adminToolsToggle{width:48px;height:48px}
 body.workspace-ready #adminToolsToggle{border-radius:15px;font-size:10px}
 body.workspace-ready #adminToolsToggle svg{width:18px;height:18px}
}
@media(max-width:700px){
 body.workspace-ready .editor-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 body.workspace-ready .editor-sidebar{position:static;order:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
 body.workspace-ready .editor-action-note,body.workspace-ready #editingTip{grid-column:1/-1}
 body.workspace-ready .editor-content{min-height:320px}
 body.workspace-ready .editor-copy-btn,body.workspace-ready .category-auto-btn,body.workspace-ready .title-auto-btn{min-height:44px}
 body.workspace-ready .editor-content-head{gap:6px}
 body.workspace-ready .editor-main>.row:first-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.workspace-ready .editor-main>.row:first-of-type>.field:last-child{grid-column:1/-1}
 body.workspace-ready .editor-main>.row:first-of-type input{width:100%!important}
 body.workspace-ready .editor-main>.publish-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.workspace-ready .editor-main>.publish-row>.hint{grid-column:1/-1;margin-top:0}
 body.workspace-ready .title-edit-row{flex-wrap:nowrap}
 body.workspace-ready .title-edit-row input{flex:1 1 0}
 body.workspace-ready .editor-content-head{flex-wrap:nowrap;align-items:center}
 body.workspace-ready .editor-content-head label{flex:1 1 0;font-size:12px}
}

/* Keep floating launchers clear of their menu and mobile full-screen workspaces. */
body.workspace-ready #adminToolsPanel{z-index:3}
@media(max-width:700px){body.workspace-ready:is(.ai-high-open,.union-float-open,.phw-open,.dock-open) #workspaceTools{visibility:hidden}}


/* A single settings group at a time, retaining the product's existing blue. */
body.workspace-ready #viewSettings .settings-shell{display:grid;grid-template-columns:170px minmax(0,1fr);gap:26px;align-items:start}
body.workspace-ready #viewSettings .settings-navigation{position:sticky;top:20px;padding:5px 0}
body.workspace-ready #viewSettings .settings-navigation>h2{font-size:18px;color:#25344b;font-weight:650;margin:0 12px 18px}
body.workspace-ready #viewSettings .settings-tabs{display:flex;flex-direction:column;gap:5px}
body.workspace-ready #viewSettings .settings-category{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#526079;font:inherit;font-size:13px;text-align:left;white-space:nowrap;cursor:pointer}
body.workspace-ready #viewSettings .settings-category>svg{width:18px;height:18px;flex:none;color:#75849a}
body.workspace-ready #viewSettings .settings-category:hover{background:#edf1f7;color:#284b82}
body.workspace-ready #viewSettings .settings-category[aria-selected=true]{color:#245fc7;background:#e7effe;border-color:#d7e3fa;font-weight:600}
body.workspace-ready #viewSettings .settings-category[aria-selected=true]>svg{color:#2b6de8}
body.workspace-ready #viewSettings .settings-category:focus-visible{outline:2px solid #2b6de8;outline-offset:2px}
body.workspace-ready #viewSettings .settings-nav-note{font-size:11px;color:#657186;line-height:1.5;margin:16px 12px 0}
body.workspace-ready #viewSettings .settings-content,body.workspace-ready #viewSettings .settings-panel{min-width:0}
body.workspace-ready #viewSettings .settings-panel[hidden],body.workspace-ready #viewSettings .settings-reference[hidden]{display:none!important}
body.workspace-ready #viewSettings .settings-panel-head{margin:2px 0 18px}
body.workspace-ready #viewSettings .settings-panel-head h2{font-size:20px;font-weight:650;line-height:1.5;color:#25344b}
body.workspace-ready #viewSettings .settings-panel-head>p{font-size:12px;line-height:1.6;color:#637086;margin-top:4px}
body.workspace-ready #viewSettings .settings-managed{padding:22px;margin:0;border:1px solid #e2e7ef;border-radius:12px;background:#fff;box-shadow:0 2px 6px #22395703;min-width:0}
body.workspace-ready #viewSettings .settings-managed>h3:first-child,body.workspace-ready #viewSettings details.settings-managed>summary{display:none}
body.workspace-ready #viewSettings .settings-managed>.workspace-grid{margin-top:0}
body.workspace-ready #viewSettings .settings-managed :is(input,select,textarea){border-color:#dce3ed;border-radius:7px}
body.workspace-ready #viewSettings .settings-save-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #e8edf4;margin-top:20px!important;margin-bottom:0;padding-top:16px}
body.workspace-ready #viewSettings .settings-save-row :is(.settings-status,.mini-feature-status){flex-basis:100%;font-size:12px;line-height:1.6;margin-top:2px}
body.workspace-ready #viewSettings .settings-reference{margin:16px 0 0;border-top:1px solid #e8edf4;padding-top:12px;color:#5c6b80;font-size:12px;line-height:1.7}
body.workspace-ready #viewSettings .settings-reference>summary{cursor:pointer;min-height:30px;line-height:30px;color:#526b91}
body.workspace-ready #viewSettings .settings-reference p{margin:7px 0}
body.workspace-ready #viewSettings .settings-reference .hint{display:block;margin:8px 0}
body.workspace-ready #viewSettings .settings-reference .hint[id^=ccCapability]::before{font-weight:600;color:#42516a}
body.workspace-ready #viewSettings .settings-reference #ccCapability-jd::before{content:'京东：'}
body.workspace-ready #viewSettings .settings-reference #ccCapability-taobao::before{content:'淘宝：'}
body.workspace-ready #viewSettings .settings-reference #ccCapability-douyin::before{content:'抖音：'}
body.workspace-ready #viewSettings .settings-reference #ccCapability-vipshop::before{content:'唯品会：'}
body.workspace-ready #viewSettings .settings-reference #ccCapability-pdd::before{content:'拼多多：'}
body.workspace-ready #viewSettings #couponCopySettings .cc-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0}
body.workspace-ready #viewSettings #couponCopySettings .cc-grid>.field{display:grid;grid-template-columns:minmax(100px,1fr) 200px;gap:6px 22px;align-items:center;padding:15px 0;border-bottom:1px solid #edf0f5}
body.workspace-ready #viewSettings #couponCopySettings .cc-grid>.field:first-child{padding-top:0}
body.workspace-ready #viewSettings #couponCopySettings .cc-grid>.field:last-child{border-bottom:0;padding-bottom:0}
body.workspace-ready #viewSettings .settings-platform-name{display:flex;align-items:center;gap:10px;color:#33425a;font-size:14px;font-weight:600}
body.workspace-ready #viewSettings .settings-platform-name::before{content:'';width:8px;height:8px;border-radius:3px;background:var(--settings-platform-color);flex:none}
body.workspace-ready #viewSettings [data-platform=jd]{--settings-platform-color:#e33940}
body.workspace-ready #viewSettings [data-platform=taobao]{--settings-platform-color:#ed7d24}
body.workspace-ready #viewSettings [data-platform=vipshop]{--settings-platform-color:#ed3f96}
body.workspace-ready #viewSettings [data-platform=douyin]{--settings-platform-color:#8b5bdb}
body.workspace-ready #viewSettings [data-platform=pdd]{--settings-platform-color:#da3c36}
body.workspace-ready #viewSettings #couponCopySettings [data-cc-preview]{grid-column:1/-1;font-size:11px;line-height:1.6;color:#657186;padding-left:18px}
body.workspace-ready #viewSettings #ccMessage{font-size:12px;line-height:1.7;color:#526079;margin-top:14px;overflow-wrap:anywhere}
body.workspace-ready #viewSettings #publicCouponSettings>.field{max-width:300px}
body.workspace-ready #viewSettings .settings-read-button{float:right;margin-left:12px;font-size:12px}
body.workspace-ready #viewSettings #pcMessage{font-size:12px;color:#59677b;line-height:1.7;min-height:20px;margin-bottom:12px}
body.workspace-ready #viewSettings #pcApplied{padding:10px 12px!important;font-size:12px;line-height:1.7;margin-bottom:16px}
body.workspace-ready #viewSettings #pcForm>label:not(.field){display:flex;align-items:center;gap:9px;padding:11px 12px;background:#f8fafd;border:1px solid #e5ebf4;border-radius:8px;color:#36455c;font-size:13px}
body.workspace-ready #viewSettings #pcForm input[type=checkbox]{width:17px;height:17px;accent-color:#2b6de8}
body.workspace-ready #viewSettings .settings-gift-groups{display:block;margin-top:20px}
body.workspace-ready #viewSettings .settings-field-group{border:0;min-width:0;padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e8edf4}
body.workspace-ready #viewSettings .settings-field-group:last-child{margin-bottom:0}
body.workspace-ready #viewSettings .settings-field-group>legend{font-size:13px;font-weight:600;color:#34445d;padding:0;margin-bottom:12px}
body.workspace-ready #viewSettings .settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
body.workspace-ready #viewSettings .settings-fields>.field{font-size:12px;line-height:1.6;gap:6px;color:#58677e}
body.workspace-ready #viewSettings .settings-fields>.field:has([name=mode]){grid-column:1/-1}
@media(min-width:1001px){body.workspace-ready #viewSettings .settings-field-group:nth-child(2) .settings-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
body.workspace-ready #viewSettings #pcTierSection{padding:12px;margin:12px 0}
body.workspace-ready #viewSettings #pcTierRows .pc-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.workspace-ready #viewSettings #pcExampleField{max-width:360px;margin-top:16px;font-size:12px;gap:7px;color:#526079}
body.workspace-ready #viewSettings #pcPreview{font-size:12px;margin-top:10px}
body.workspace-ready #viewSettings #pcForm>p.hint{line-height:1.7}
body.workspace-ready #viewSettings #pcBudget{flex-basis:100%;line-height:1.7}
body.workspace-ready #viewSettings .settings-records{clear:both;border-top:1px solid #e6ebf2;padding-top:16px;margin-top:20px;min-width:0}
body.workspace-ready #viewSettings .settings-records>summary{font-size:13px;font-weight:600;color:#344963;cursor:pointer;line-height:1.7;min-height:32px}
body.workspace-ready #viewSettings .settings-records #pcRecordHeading{font-size:14px;margin:12px 0 6px}
body.workspace-ready #viewSettings .settings-records .pc-filters{gap:10px}
body.workspace-ready #viewSettings .settings-records .pc-filters label{flex:1 1 130px}
body.workspace-ready #viewSettings .settings-records .pc-filters label input{width:100%}
body.workspace-ready #viewSettings .settings-records>.row{margin:14px 0 0;align-items:center;font-size:12px}
body.workspace-ready #viewSettings .mini-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.workspace-ready #viewSettings .mini-feature-option{padding:12px;min-height:68px;gap:12px;background:#fff;border-color:#e5eaf2;font-size:13px;align-items:center}
body.workspace-ready #viewSettings .mini-feature-option:has(input:checked){background:#f7faff;border-color:#d9e5f8}
body.workspace-ready #viewSettings .mini-feature-option input{appearance:none;order:1;margin-left:auto;flex:0 0 32px;width:32px;height:19px;border:0;border-radius:12px;background:#bdc7d5;position:relative;cursor:pointer}
body.workspace-ready #viewSettings .mini-feature-option input::before{content:'';position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #34445b26;transition:transform .12s}
body.workspace-ready #viewSettings .mini-feature-option input:checked{background:#2b6de8}
body.workspace-ready #viewSettings .mini-feature-option input:checked::before{transform:translateX(13px)}
body.workspace-ready #viewSettings .mini-feature-option input:disabled{opacity:.5;cursor:default}
body.workspace-ready #viewSettings .mini-feature-option span{flex:1;line-height:1.5}
body.workspace-ready #viewSettings .mini-feature-option small{font-size:11px;line-height:1.5;margin-top:3px;color:#657186}
body.workspace-ready #viewSettings .mini-feature-target{background:#f8fafd;padding:12px;margin-bottom:12px!important}
body.workspace-ready #viewSettings #miniProgramFeatureScope{font-size:12px;line-height:1.7}
body.workspace-ready #viewSettings #miniProgramFeatureBindPanel{border-top:0;padding:8px 0 0;margin-top:0!important}
body.workspace-ready #viewSettings #miniProgramFeatureBindPanel>label{font-size:12px}
body.workspace-ready #viewSettings .settings-version-tools{margin-top:18px}
body.workspace-ready #viewSettings #operationsSettings>.settings-grid{gap:20px 18px}
body.workspace-ready #viewSettings .settings-qr{gap:18px}
body.workspace-ready #viewSettings :is(.settings-qr-preview,.settings-qr-empty){width:120px;height:120px;border-radius:8px}
body.workspace-ready #viewSettings .settings-qr>div:last-child{min-width:0;flex:1}
body.workspace-ready #viewSettings #settingsQrUrl{display:block;width:100%!important;margin-bottom:10px!important}
body.workspace-ready #viewSettings .settings-qr .btn{font-size:12px;padding:8px 12px;margin-bottom:4px}
body.workspace-ready #viewSettings .settings-textarea{min-height:108px}
body.workspace-ready #viewSettings .category-add{gap:8px}
body.workspace-ready #viewSettings .workspace-settings .workspace-grid{grid-template-columns:minmax(0,1fr);gap:10px}
body.workspace-ready #viewSettings .workspace-settings .workspace-card{min-height:78px;background:#fff;border-color:#e3e9f1}
@media(max-width:1000px) and (min-width:761px){body.workspace-ready #viewSettings .settings-shell{grid-template-columns:146px minmax(0,1fr);gap:18px}body.workspace-ready #viewSettings .settings-managed{padding:18px}body.workspace-ready #viewSettings .mini-feature-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 body.workspace-ready.settings-page-open #workspaceTools{visibility:hidden}
 body.workspace-ready #viewSettings .settings-shell{grid-template-columns:minmax(0,1fr);gap:16px}
 body.workspace-ready #viewSettings .settings-navigation{position:sticky;top:0;z-index:5;padding:0;background:#f5f6fa;margin:0 -2px}
 body.workspace-ready #viewSettings .settings-navigation>h2,body.workspace-ready #viewSettings .settings-nav-note{display:none}
 body.workspace-ready #viewSettings .settings-tabs{flex-direction:row;gap:4px;overflow-x:auto;padding:3px 2px 8px;scrollbar-width:thin}
 body.workspace-ready #viewSettings .settings-category{flex:0 0 auto;min-height:44px;padding:10px 13px;font-size:12px;gap:6px}
 body.workspace-ready #viewSettings .settings-category>svg{width:16px;height:16px}
 body.workspace-ready #viewSettings .settings-panel-head{margin:0 2px 12px}
 body.workspace-ready #viewSettings .settings-panel-head>h2{font-size:18px}
 body.workspace-ready #viewSettings .settings-panel-head>p{font-size:11px;margin-top:2px}
 body.workspace-ready #viewSettings .settings-managed{padding:16px;border-radius:10px}
 body.workspace-ready #viewSettings .settings-save-row{gap:8px;margin-top:16px!important;padding-top:14px}
 body.workspace-ready #viewSettings .settings-save-row>.btn{font-size:12px;padding:8px 12px}
 body.workspace-ready #viewSettings .settings-save-row>.btn.primary{flex:1}
 body.workspace-ready #viewSettings #couponCopySettings .cc-grid>.field{grid-template-columns:minmax(78px,1fr) 148px;gap:5px 10px;padding:13px 0}
 body.workspace-ready #viewSettings .settings-platform-name{font-size:13px;gap:8px}
 body.workspace-ready #viewSettings #couponCopySettings [data-cc-preview]{font-size:11px;padding-left:16px}
 body.workspace-ready #viewSettings .settings-fields{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.workspace-ready #viewSettings .settings-fields>.field{font-size:11px}
 body.workspace-ready #viewSettings .settings-fields input,body.workspace-ready #viewSettings .settings-fields select{width:100%;font-size:13px}
 body.workspace-ready #viewSettings #pcForm>label:not(.field){font-size:12px}
 body.workspace-ready #viewSettings .settings-read-button{float:none;margin:0 0 10px}
 body.workspace-ready #viewSettings #publicCouponSettings>.field{max-width:none}
 body.workspace-ready #viewSettings .mini-feature-grid{grid-template-columns:minmax(0,1fr)}
 body.workspace-ready #viewSettings .mini-feature-option{padding:10px 12px;min-height:62px}
 body.workspace-ready #viewSettings .mini-feature-target>label{font-size:12px}
 body.workspace-ready #viewSettings .settings-qr{flex-direction:row;flex-wrap:wrap;gap:12px}
 body.workspace-ready #viewSettings .settings-qr>div:last-child{flex:1 1 180px;width:auto}
 body.workspace-ready #viewSettings #operationsSettings>.settings-grid{gap:18px}
 body.workspace-ready #viewSettings .settings-records .pc-filters label{flex:1 1 100px;width:auto}
 body.workspace-ready #viewSettings .settings-records .pc-filters>.btn{flex:1}
}
@media(prefers-reduced-motion:reduce){body.workspace-ready #viewSettings .mini-feature-option input::before{transition:none}}
