/* Scoped settings UI. Buyer pages and other console modules keep their styles. */
.settings-design,.settings-preview{--sd-ink:#243335;--sd-muted:#869092;--sd-green:#159775;--sd-green-dark:#087a5b;--sd-tint:#eaf7f1;--sd-line:#e9edeb;--sd-bg:var(--bg,#f5f8f8)}
.settings-design{font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--sd-ink);font-size:13px;-webkit-font-smoothing:antialiased}
.settings-design *,.settings-preview *{box-sizing:border-box}
.settings-design [hidden],.settings-preview [hidden]{display:none!important}
.settings-design button,.settings-design input,.settings-design select,.settings-design textarea{font:inherit}
.settings-design button{cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}
.settings-design button:disabled{opacity:.48;cursor:not-allowed}
.settings-design button:focus-visible,.settings-design input:focus-visible,.settings-design select:focus-visible,.settings-design summary:focus-visible{outline:3px solid #91d7bd;outline-offset:3px}
.settings-design svg,.settings-preview svg{width:18px;height:18px;flex:none;vertical-align:middle}
.settings-design h1,.settings-design h2,.settings-design h3,.settings-design p{margin:0;letter-spacing:0}
.settings-design{max-width:1420px;margin:0 auto}
.sd-scope-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 24px}
.sd-scope-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#fff;border:1px solid var(--sd-line);border-radius:10px;color:var(--sd-ink);text-align:left;min-width:0}
.sd-scope-link strong{font-weight:600;font-size:13px}.sd-scope-link span{font-size:11px;color:var(--sd-muted);white-space:nowrap}.sd-scope-link:hover{border-color:#a8d6c5;background:#f7fcf9}.sd-scope-link.is-active{border-color:#99d1ba;background:var(--sd-tint)}.sd-scope-link.is-active strong{color:var(--sd-green-dark)}
.sd-scope-note{margin:0 0 14px!important;color:#788583;font-size:11px;line-height:1.8}
.sd-basic-preview{padding:25px 17px 26px;background:#fff;border:1px solid #e2ebe5;border-radius:12px;margin:4px 0 20px;overflow-wrap:anywhere}.sd-basic-eyebrow{font-size:8px;letter-spacing:2px;color:#89968d}.sd-basic-preview h3{font-size:23px;margin:13px 0 12px;color:#2c493b;line-height:1.4}.sd-basic-status{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;background:#f2f3f3;color:#83908a;font-size:9px}.sd-basic-status.is-active{background:#e9f6ee;color:#39805b}.sd-basic-preview dl{display:grid;grid-template-columns:minmax(58px,auto) minmax(0,1fr);gap:14px 12px;margin:25px 0 0;font-size:10px;line-height:1.8}.sd-basic-preview dt{color:#87928c}.sd-basic-preview dd{margin:0;color:#415b4c;min-width:0;overflow-wrap:anywhere}
.settings-design[data-settings-mode=basic] .sd-preview-viewport{min-height:420px}.settings-design[data-settings-mode=basic] .sd-preview-brand{margin-bottom:20px}
.settings-design[data-settings-mode=popup] #sd-popup-copy .sd-copy-editor{margin-top:18px}.settings-design[data-settings-mode=popup] #sd-popup-template .sd-template-grid{margin-top:0}
@media(max-width:760px){.sd-scope-nav{gap:7px;margin-bottom:20px}.sd-scope-link{padding:12px 10px;flex-direction:column;align-items:flex-start;gap:6px;border-radius:8px}.sd-scope-link strong{font-size:11px}.sd-scope-link span{font-size:9px}.sd-scope-note{font-size:10px}.sd-basic-preview{padding:23px 19px}.sd-basic-preview dl{font-size:11px}}
.settings-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}
.settings-eyebrow{color:var(--sd-green);font-size:10px;font-weight:650;letter-spacing:2.3px;margin-bottom:9px}
.settings-page-heading h1{font-size:29px;font-weight:650;line-height:1.5;letter-spacing:.6px}
.settings-page-heading p{font-size:12px;line-height:1.8;margin-top:7px;color:var(--sd-muted)}
.sd-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;background:white;color:#52605c;border:1px solid #e0e6e2;border-radius:7px;padding:9px 15px;white-space:nowrap;font-weight:500;line-height:1.3}
.sd-button svg{width:15px;height:15px}
.sd-button:hover{background:#f3f8f5;border-color:#bedccc}
.sd-primary{background:var(--sd-green);color:white;border-color:var(--sd-green);box-shadow:0 3px 6px #168d6c15;min-width:128px}
.sd-primary:hover{background:var(--sd-green-dark);border-color:var(--sd-green-dark)}
.settings-design .sd-help{font-size:12px;color:#6c7973;background:transparent}
.sd-help svg{color:#7e8f85}
.sd-demo-note{display:flex;align-items:center;color:#7d8f87;background:transparent;border-left:2px solid #a7c8b8;padding:0 10px;margin:0 0 22px;font-size:11px;line-height:1.8}
.sd-sitebar{display:flex;align-items:center;gap:19px;padding:23px 25px;background:linear-gradient(110deg,#f0faf5 0%,#fff 70%);border:1px solid #b7dac9;border-left:4px solid var(--sd-green);border-radius:10px;min-height:144px;box-shadow:0 3px 12px #178f6a05}
.sd-sitebar-icon{display:grid;place-items:center;width:48px;height:48px;background:#def2e7;border:1px solid #c9e5d6;border-radius:12px;color:var(--sd-green)}
.sd-sitebar-icon svg{width:21px;height:21px}
.sd-site-select-label{display:block;font-size:13px;font-weight:600;color:#345a47;line-height:1.4;margin:0;min-width:0}
.settings-design .sd-site-select{font-size:15px!important;letter-spacing:.1px;font-weight:600;color:var(--sd-ink);background:#fff!important;border:1px solid #9ecbb4!important;border-radius:7px!important;padding:0 36px 0 14px!important;width:100%!important;min-height:46px;cursor:pointer;box-shadow:0 2px 4px #3b78580a;max-width:none}
.settings-design .sd-site-select:focus{border-color:var(--sd-green)!important;box-shadow:0 0 0 3px #15977512}
.sd-site-picker{flex:1;max-width:600px;min-width:0}
.sd-site-picker-heading{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.sd-site-count{font-size:10px;padding:3px 7px;border-radius:4px;background:#e4f2ea;color:#739884;white-space:nowrap}
.sd-selected-meta{display:flex;align-items:center;gap:10px;margin-top:10px;min-height:20px}
.sd-selected-name{font-size:11px;color:#7c9787;overflow-wrap:anywhere}
.sd-site-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto;max-width:245px}
.sd-site-actions .sd-text-button{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;margin-top:3px}
.sd-site-actions .sd-text-button svg{width:12px;height:12px}
.sd-site-actions a[aria-disabled=true]{background:#edf1ed;border-color:#e1e8e2;color:#a0aba1;cursor:not-allowed;box-shadow:none}
.sd-site-preview-dialog .sd-browser{max-width:310px;margin:18px auto}.sd-site-preview-dialog h2{margin:0 0 10px}
.sd-domain-badge{display:flex;align-items:center;gap:5px;background:#e4f4eb;color:#399672;border-radius:4px;padding:4px 8px;font-size:10px;white-space:nowrap}
.sd-domain-badge:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}
.sd-domain-badge.is-draft{background:#f9f4e8;color:#a88d4e}
.sd-sitebar-hint{margin-left:auto;color:#a0aaa4;font-size:11px}
.sd-tabs{display:flex;align-items:center;gap:33px;padding:0 2px;margin:13px 0 23px;border-bottom:1px solid var(--sd-line)}
.sd-tab{position:relative;display:flex;gap:8px;align-items:center;border:0;padding:17px 1px;background:none;color:#8a9490;font-size:12px!important;white-space:nowrap}
.sd-tab svg{width:15px;height:15px}
.sd-tab:after{content:'';position:absolute;bottom:-1px;height:2px;border-radius:2px;left:0;right:0;background:transparent}
.sd-tab.is-active{color:var(--sd-green);font-weight:600}
.sd-tab.is-active:after{background:var(--sd-green)}
.sd-tab:hover{color:var(--sd-green)}
.sd-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.sd-sections{min-width:0;display:grid;gap:20px}
.sd-card{scroll-margin-top:22px;background:white;border:1px solid var(--sd-line);border-radius:10px;padding:25px 26px 26px;min-width:0;box-shadow:0 2px 3px #253b2b01}
.sd-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}
.sd-card-heading h2{font-size:15px;font-weight:600;line-height:1.4}
.sd-card-heading p{font-size:11px;color:var(--sd-muted);margin-top:7px;line-height:1.7}
.sd-section-number{font-size:11px;color:#bdc9c0;font-family:"Segoe UI",sans-serif;letter-spacing:1px;margin-top:1px}
.sd-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 23px}
.settings-design .sd-field{display:flex;position:relative;flex-direction:column;gap:9px;margin:0;min-width:0;font-weight:400}
.sd-field-label{font-size:12px;color:#4c5a54;line-height:1.2}
.settings-design .sd-input{border:1px solid #e2e7e3;background:#fff;border-radius:6px;width:100%;min-width:0;padding:10px 12px;color:#4e5b55;font:inherit;font-size:12px;line-height:18px;transition:box-shadow .15s,border-color .15s;min-height:40px}
.settings-design .sd-input::placeholder{color:#b1b9b4}
.settings-design .sd-input:focus{outline:none;border-color:#65b596;box-shadow:0 0 0 3px #1597750c}
.settings-design .sd-input:disabled{background:#f8faf8;color:#8e9991;cursor:not-allowed}
.sd-field-hint{font-size:10px;color:#a0aaa3;line-height:1.6}
.sd-activation-mode{margin-bottom:20px;max-width:100%;min-width:0}.sd-activation-mode .sd-input{max-width:100%}
.sd-submission-fields{margin-top:23px;border-top:1px solid #f0f3ef;padding-top:20px}.sd-submission-fields>h3{font-size:13px;margin:0 0 8px}.sd-submission-fields>.sd-field-hint{margin:0 0 10px}
.sd-submission-field{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #f0f3ef}.sd-submission-field>div:first-child{min-width:0}.sd-submission-field strong{display:block;font-size:12px;font-weight:500}.sd-submission-field small{display:block;color:#98a49b;font-size:10px;line-height:1.6;margin-top:4px}.sd-submission-options{display:flex;gap:14px;flex-shrink:0}.sd-submission-options label{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;min-height:36px}.sd-submission-options input{accent-color:var(--sd-green);width:16px;height:16px;margin:0}.sd-submission-options label:has(input:disabled){color:#a0aaa3}
@media(max-width:450px){.sd-submission-field{align-items:flex-start;flex-wrap:wrap;gap:3px}.sd-submission-field>div:first-child{width:100%}.sd-submission-options{gap:24px}.sd-submission-options label{min-height:44px}.sd-activation-mode .sd-input{font-size:12px}}
.sd-language-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}
.sd-language-heading>div:first-child{display:flex;align-items:center;gap:10px}
.sd-language-count{font-size:10px;color:#99a69d;padding:3px 6px;background:#f5f7f5;border-radius:4px}
.sd-text-button{background:none;border:0;color:var(--sd-green);padding:4px 0;font-size:11px!important;white-space:nowrap}
.sd-text-button:hover{color:#076147;text-decoration:underline}
.sd-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.settings-design .sd-language{position:relative;display:flex;flex-direction:row;align-items:center;gap:9px;border:1px solid #e8ece8;border-radius:6px;padding:11px 10px;min-height:59px;cursor:pointer;margin:0;transition:background .15s,border-color .15s;min-width:0;font-weight:400}
.sd-language:hover{border-color:#a5cfba;background:#fbfdfb}
.sd-language.is-selected{border-color:#b3ddc8;background:#f5fbf7}
.sd-language input{position:absolute!important;inset:0;width:100%!important;height:100%;opacity:0;margin:0;padding:0!important;cursor:pointer;z-index:1}
.sd-language:has(input:focus-visible){outline:3px solid #91d7bd;outline-offset:2px}
.sd-language input:disabled{cursor:not-allowed}
.sd-flag{font-size:21px;line-height:1;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;flex:none;filter:saturate(.8)}
.sd-language-text{display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}
.sd-language-text strong{font-weight:500;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.sd-language-text small{font-size:9px;color:#99a29d;white-space:nowrap}
.sd-language-check{display:grid;place-items:center;width:13px;height:13px;border:1px solid #dce4dd;background:white;border-radius:3px;margin-left:auto;flex:none;color:transparent}
.sd-language-check svg{height:11px;width:11px;stroke-width:2.2}
.is-selected .sd-language-check{border-color:var(--sd-green);background:var(--sd-green);color:white}
.sd-language-bottom{display:flex;align-items:center;gap:17px;margin-top:21px;padding-top:20px;border-top:1px solid #f0f3ef}
.sd-language-bottom .sd-field{flex-direction:row;align-items:center;gap:15px;flex:none;max-width:100%}
.sd-language-bottom .sd-input{width:190px;max-width:100%;font-size:11px}
.sd-language-bottom p{color:#a0aaa3;font-size:10px;line-height:1.7}
.sd-copy-editor{margin-top:20px;padding-top:17px;border-top:1px solid #f0f3ef;color:#6a8374;font-size:11px}
.sd-copy-editor summary{cursor:pointer;width:fit-content}
.sd-copy-editor .sd-fields{margin-top:20px}
.sd-copy-locale{display:flex;flex-direction:row;align-items:center;gap:14px;margin:20px 0 0;font-size:12px}
.sd-copy-locale .sd-input{width:240px}
.sd-copy-editor>.sd-field-hint{margin-top:15px}
.settings-design .sd-review-destination{margin-top:22px;padding-top:20px;border-top:1px solid #edf2ed}
.sd-copy-editor textarea{min-height:75px;resize:vertical}
.sd-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #f0f3ef}
.sd-toggle-row:first-of-type{padding-top:0}
.sd-toggle-row h3,.sd-threshold h3{font-size:12px;font-weight:500;margin:0 0 6px}
.sd-toggle-row p,.sd-threshold p{color:#a0aaa3;font-size:10px;line-height:1.8}
.sd-switch{position:relative;width:34px;height:20px;min-width:34px;background:#dce4df;border:0;border-radius:20px;padding:0;flex:none}
.sd-switch:after{content:'';height:14px;width:14px;border-radius:50%;position:absolute;top:3px;left:3px;background:white;box-shadow:0 1px 3px #0001;transition:transform .2s}
.sd-switch.is-on{background:var(--sd-green)}
.sd-switch.is-on:after{transform:translateX(14px)}
.sd-threshold{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:21px}
.sd-threshold .sd-field{flex-direction:row;align-items:center;gap:9px;flex:none}
.sd-threshold .sd-field-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.sd-threshold .sd-input{width:58px;text-align:center;padding:8px}
.sd-threshold-unit{color:#98a49b;font-size:10px}
.sd-inline-note{display:flex;align-items:center;gap:6px;color:#a0aaa3;font-size:10px;margin-top:15px!important;line-height:1.6}
.sd-inline-note svg{width:13px;height:13px;color:#9aaba0}
.sd-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.sd-upload-card{padding:16px;border:1px solid var(--sd-line);border-radius:7px}
.sd-upload-top{display:flex;align-items:center;gap:13px}
.sd-upload-top h3{font-size:11px;font-weight:500;margin:0 0 6px}
.sd-upload-top p{font-size:9px;color:#97a299;line-height:1.7}
.sd-upload-top small{font-size:8px;color:#aeb7af;line-height:1.6;display:block}
.sd-upload-frame{width:65px;height:58px;display:grid;place-items:center;background:#f6f8f5;border:1px dashed #dce5dc;border-radius:5px;flex:none;color:#a7b6aa;padding:8px}
.sd-upload-frame svg{width:23px;height:23px;stroke-width:1.3}
.sd-upload-frame img{max-width:100%;max-height:100%;object-fit:contain}
.sd-upload-frame.is-favicon img{max-width:30px;max-height:30px}
.sd-file-input{display:none}
.sd-upload-actions{display:flex;align-items:center;gap:15px;margin-top:14px}
.sd-upload-actions .sd-button{font-size:10px;min-height:31px;padding:7px 11px}
.sd-upload-actions .sd-button svg{width:12px;height:12px}
.sd-template-title{display:flex;align-items:center;gap:14px;margin:25px 0 15px}
.sd-template-title h3{font-size:12px;font-weight:500}
.sd-template-title span{color:#a6afa8;font-size:10px}
.sd-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.sd-template{display:flex;position:relative;flex-direction:column;text-align:left;background:white;border:1px solid var(--sd-line);border-radius:7px;padding:7px;overflow:hidden;min-width:0}
.sd-template.is-selected{border-color:#69b894;box-shadow:0 0 0 1px #69b8940d}
.sd-template-mini{display:block;position:relative;height:83px;width:100%;background:#f0f5f1;border-radius:3px;overflow:hidden}
.sd-template-mini:before{position:absolute;content:'';background:#fff;box-shadow:0 5px 12px #384e2c07;border-radius:4px;width:66px;height:63px;left:50%;top:10px;transform:translateX(-50%)}
.sd-template-mini i{display:block;position:absolute;left:50%;transform:translateX(-50%)}
.sd-template-mini .mini-window{width:19px;height:19px;top:17px;background:#d8ebde;border-radius:50%}
.sd-template-mini .mini-line{width:38px;height:3px;top:42px;background:#dbe3dc;border-radius:2px}
.sd-template-mini .mini-line.short{top:49px;width:27px;background:#eaf0e9}
.sd-template-mini .mini-button{top:58px;width:39px;height:7px;background:#6eac8b;border-radius:2px}
.sd-template-mini.split{background:#eaf0ee}
.sd-template-mini.split:before{width:96px;background:linear-gradient(90deg,#b9d2bd 42%,white 42%)}
.sd-template-mini.split i{margin-left:19px}
.sd-template-mini.split .mini-window{border-radius:2px;width:17px;height:4px;top:25px;margin-left:19px}
.sd-template-mini.split .mini-line{width:34px;top:36px}
.sd-template-mini.split .mini-line.short{top:43px;width:24px}
.sd-template-mini.split .mini-button{top:54px;width:34px}
.sd-template-mini.minimal{background:#f5f4ee}
.sd-template-mini.minimal .mini-window{height:12px;width:12px;top:19px;background:#e5d6a4}
.sd-template-mini.minimal .mini-button{background:#c6ad68}
.sd-template-caption{display:flex;flex-direction:column;gap:4px;padding:10px 5px 5px}
.sd-template-caption strong{font-size:10px;font-weight:500}
.sd-template-caption small{font-size:8px;color:#a2ada3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-template-tick{position:absolute;right:7px;top:7px;color:white;background:var(--sd-green);border-radius:0 5px 0 5px;padding:1px;display:none}
.sd-template-tick svg{width:12px;height:12px}
.sd-template.is-selected .sd-template-tick{display:block}
.sd-preview-column{position:sticky;top:22px;min-width:0}
.sd-preview-card{padding:18px 16px 0;background:white;border:1px solid var(--sd-line);border-radius:10px}
.sd-preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.sd-preview-heading>span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500}
.sd-preview-heading>span svg{color:#7f9486;width:16px;height:16px}
.sd-devices{display:flex;gap:2px;padding:3px;background:#f4f6f3;border-radius:5px}
.sd-devices button{display:grid;place-items:center;border:0;background:none;border-radius:3px;padding:5px;color:#b1bbb2;line-height:1}
.sd-devices button.is-active{background:white;color:#6c8d77;box-shadow:0 1px 3px #00000008}
.sd-devices svg{width:13px;height:13px}
.sd-browser{background:#f4f8f2;border:1px solid #e5ebe2;border-radius:7px;overflow:hidden;margin:0 auto;transition:max-width .2s;max-width:100%}
.sd-browser-bar{display:flex;align-items:center;gap:7px;padding:10px;background:#f9faf8;border-bottom:1px solid #e8ece5;min-width:0}
.sd-browser-dots{display:flex;gap:3px;flex:none;margin-right:2px}
.sd-browser-dots i{width:4px;height:4px;border-radius:50%;background:#dce3d9}
.sd-browser-bar>svg{width:9px;height:9px;color:#aab6a8}
.sd-browser-address{font-size:8px;letter-spacing:.2px;color:#9ca899;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-preview-favicon{height:10px;width:10px;object-fit:contain}
.sd-preview-viewport{padding:16px 14px 12px;background:radial-gradient(ellipse at top left,#e6efdd 0,transparent 65%),#f5f8f1;min-height:465px}
.sd-preview-brand{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}
.sd-preview-brand-text{font-size:10px;color:#5a7751;font-weight:650;letter-spacing:.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-preview-brand-text img{max-width:90px;height:25px;object-fit:contain}
.sd-preview-language{font-size:8px;color:#8d9d83;flex:none}
.sd-customer-card{text-align:center;background:#ffffffec;border:1px solid #f2f4eb;border-radius:8px;box-shadow:0 4px 15px #68835408;padding:24px 16px 17px;overflow:hidden}
.sd-preview-art{height:77px;position:relative;display:flex;justify-content:center;align-items:center;margin-bottom:12px}
.sd-art-circle{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#edf3e4;border:1px solid #e4edda;box-shadow:0 0 0 8px #f7f9f2;color:#819d66;transform:rotate(-8deg)}
.sd-art-circle svg{width:31px;height:31px;stroke-width:1.3}
.sd-spark{position:absolute;font-style:normal;font-size:23px;font-weight:300;color:#bdc99a;line-height:1}
.spark-one{top:2px;right:42px;font-size:20px}
.spark-two{left:31px;bottom:7px;font-size:25px;color:#d7c791}
.sd-art-dot{position:absolute;width:5px;height:5px;background:#dce6c8;border-radius:50%;right:34px;bottom:13px}
.sd-preview-welcome{display:block;font-size:5px;letter-spacing:1.1px;color:#a6b19a;margin:0 0 10px}
.sd-customer-card h3{font-family:Georgia,"Times New Roman","Microsoft YaHei",serif;font-size:20px;font-weight:400;line-height:1.35;letter-spacing:-.6px;color:#384f35;margin:0 0 10px;overflow-wrap:anywhere}
.sd-customer-card>p{font-size:8px;color:#99a18e;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
.sd-customer-fields{display:grid;gap:11px;text-align:left;margin-top:23px}
.sd-mock-field>span{display:block;font-size:7px;color:#8a9682;margin-bottom:5px}
.sd-mock-field>div{font-size:7px;color:#b5bdae;border:1px solid #e6eadf;background:#fcfdf9;border-radius:4px;padding:9px}
.sd-customer-submit{display:flex;justify-content:center;position:relative;background:#789568;border:1px solid #708e61;border-radius:4px;color:white;font-size:8px;letter-spacing:.2px;padding:10px 15px;margin-top:16px}
.sd-customer-submit>span{position:absolute;right:12px;font-size:11px;top:8px}
.sd-preview-privacy{display:flex;align-items:center;justify-content:center;gap:3px;font-size:5px;color:#b0b9a8;margin-top:11px}
.sd-preview-privacy svg{width:6px;height:6px}
.sd-preview-copyright{text-align:center;color:#a7b19a;font-size:6px;margin:19px 0 0;overflow-wrap:anywhere;line-height:1.5}
.sd-preview-foot{display:flex;align-items:center;justify-content:center;gap:5px;padding:13px 0;font-size:8px;color:#a2ada4;line-height:1.8;text-align:center}
.sd-preview-foot>i{height:4px;width:4px;border-radius:50%;background:#81b59a;flex:none}
.sd-browser.is-mobile{max-width:230px}
.sd-browser.is-mobile .sd-preview-viewport{padding:15px 10px 10px}
.sd-browser.is-mobile .sd-customer-card{padding-left:11px;padding-right:11px}
.sd-browser.is-mobile .sd-customer-card h3{font-size:18px}
.template-split .sd-customer-card{border-left:6px solid #91ae7e}
.template-split .sd-art-circle{border-radius:15px;background:#d7e7c8}
.template-minimal{background:#f7f6f0}
.template-minimal .sd-art-circle{background:#f8f3e4;border-color:#f0e7cc;color:#b49a56;box-shadow:0 0 0 8px #fcfaf4}
.template-minimal .sd-customer-submit{background:#b49a60;border-color:#a98f54}
.template-minimal .sd-customer-card{box-shadow:none;border-color:#eeede4}
.sd-checklist{padding:23px 16px 2px}
.sd-checklist h3{font-size:11px;font-weight:500;margin-bottom:15px}
.sd-checklist p{display:flex;gap:8px;align-items:center;color:#95a096;font-size:10px;line-height:1.6;margin-bottom:11px}
.sd-checklist svg{width:12px;height:12px;color:#8aaf97}
.sd-preview-note{display:flex;align-items:flex-start;gap:8px;padding:16px;background:#f0f5ef;border:1px solid #e5ece2;border-radius:7px;margin-top:12px}
.sd-preview-note svg{width:13px;height:13px;color:#94a48a;margin-top:2px}
.sd-preview-note p{font-size:9px;line-height:1.9;color:#99a58f}
.sd-savebar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fffffff5;border:1px solid var(--sd-line);box-shadow:0 -4px 16px #253b2b03;border-radius:9px;padding:16px 23px;margin-top:25px;position:sticky;bottom:14px;z-index:5;backdrop-filter:blur(12px)}
.sd-save-status{display:flex;align-items:center;gap:8px;font-size:10px;color:#a2ada4}
.sd-save-status>i{width:5px;height:5px;border-radius:50%;background:#a5c4af}
.sd-save-status.is-dirty{color:#ac8b46}
.sd-save-status.is-dirty>i{background:#cca856}
.sd-save-buttons{display:flex;gap:10px}
.sd-save-buttons .sd-button{font-size:11px}
.sd-form-error{font-size:12px;color:#b45a4c;line-height:1.8;margin:18px 0 0!important;overflow-wrap:anywhere}
.sd-form-error:empty{display:none}
.sd-empty{padding:60px;text-align:center;background:white;border:1px solid var(--sd-line);border-radius:10px;line-height:1.8;color:var(--sd-muted)}
.sd-help-dialog{font-family:Inter,"Microsoft YaHei",sans-serif;width:min(480px,calc(100% - 32px));border:1px solid #e6eee6;border-radius:14px;box-shadow:0 20px 80px #17382122;padding:32px;color:#405348;font-size:12px;line-height:1.9}
.sd-help-dialog::backdrop{background:#18322555;backdrop-filter:blur(4px)}
.sd-help-dialog h2{font-size:21px;margin:12px 0 25px}
.sd-help-dialog p{margin-bottom:17px}
.sd-help-dialog .sd-help-footnote{color:#95a08e;font-size:11px;margin:25px 0}
.sd-help-dialog .sd-button{float:right}
/* Full standalone review surface. */
.sd-site-filters{display:grid;grid-template-columns:minmax(180px,1fr) 170px auto;gap:12px;align-items:center;margin-bottom:12px}
.sd-site-filters .sd-input{min-height:40px;font-size:12px}
.sd-filter-favorites,.sd-autosave-label,.sd-risk-acknowledgement{display:flex!important;align-items:center;flex-direction:row!important;gap:8px!important;margin:0!important;white-space:nowrap;font-size:12px!important;color:#62796c}
.sd-filter-favorites input,.sd-autosave-label input,.sd-risk-acknowledgement input{width:15px!important;height:15px;min-height:0;padding:0;accent-color:var(--sd-green);flex:none}
.sd-filter-result{font-size:11px;color:#8b7650;line-height:1.8;margin:0 0 12px!important}
.sd-autosave-bar{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:-10px 0 22px;padding:10px 0}
.sd-autosave-status{font-size:11px;line-height:1.8;color:#87968e}
.sd-recovery{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #e7dcb9;background:#fffaf0;padding:15px 17px;border-radius:8px;margin:0 0 22px}
.sd-recovery p{flex:1;min-width:200px;color:#8d7442;font-size:12px;line-height:1.8}
.sd-full-preview{margin:0 18px 17px;width:calc(100% - 36px);color:var(--sd-green)}
.sd-popup-frequency{padding:0 0 20px;border-bottom:1px solid var(--sd-line)}
.sd-publish-diff{margin:18px 0;display:grid;gap:8px;font-size:12px;line-height:1.8}
.sd-publish-diff dt{font-weight:600}.sd-publish-diff dd{margin:0 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}
.sd-publish-diff del{color:#a3746a;text-decoration:none}.sd-publish-diff ins{color:#2c8666;text-decoration:none}
.sd-dialog-note.is-critical{background:#fff0ed;color:#a04f41;border:1px solid #efd2ca}
.sd-risk-acknowledgement{white-space:normal;margin-top:22px!important;line-height:1.8;font-size:12px!important}
@media(max-width:760px){.sd-site-filters{grid-template-columns:minmax(0,1fr) 145px}.sd-filter-favorites{grid-column:1 / -1}.sd-autosave-bar{margin-top:0;gap:9px}.sd-recovery p{flex-basis:100%}.sd-full-preview{margin-left:15px;margin-right:15px;width:calc(100% - 30px)}}
@media(max-width:450px){.sd-site-filters{grid-template-columns:minmax(0,1fr)}.sd-filter-favorites{grid-column:auto}.sd-autosave-status{width:100%}.sd-site-actions{flex-wrap:wrap}.sd-site-actions .sd-text-button{margin-left:0!important}}
.sd-lifecycle{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 23px;flex-wrap:wrap}
.sd-lifecycle-status{font-size:11px;color:#7b8981;line-height:1.7}
.sd-lifecycle-actions{display:flex;gap:20px;flex-wrap:wrap}
.sd-lifecycle-actions button{display:flex;align-items:center;gap:6px}
.sd-lifecycle-actions svg{width:13px;height:13px}
.sd-completion{border-top:1px solid var(--sd-line);margin-top:24px;padding-top:19px}
.sd-completion-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.sd-completion-chip{border:1px solid #eadfc9;border-radius:5px;background:#fbf8f1;color:#9a7b43;padding:6px 9px;font-size:10px!important}
.sd-completion-chip.is-complete{border-color:#cbe6d9;color:#34856b;background:#f0f8f3}
.sd-lifecycle-dialog{width:620px;max-width:calc(100vw - 30px);max-height:85vh;padding:28px;border:1px solid var(--sd-line);border-radius:12px;overflow:auto;background:white;color:var(--sd-ink)}
.sd-lifecycle-dialog h2{font-size:21px;margin:0 0 9px}
.sd-lifecycle-dialog h3{font-size:13px;margin:0 0 7px}
.sd-lifecycle-dialog p{line-height:1.8}
.sd-lifecycle-dialog .sd-dialog-content{margin-top:23px}
.sd-lifecycle-dialog .sd-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;clear:both}
.sd-lifecycle-dialog .sd-button{float:none}
.sd-publish-summary{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:12px;line-height:1.6}
.sd-publish-summary dt{color:#7b8981}.sd-publish-summary dd{margin:0;overflow-wrap:anywhere}
.sd-dialog-note{padding:13px 15px;background:#faf7ef;color:#8c7342;font-size:12px;border-radius:7px;margin-top:19px!important}
.sd-history-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--sd-line)}
.sd-history-row p{font-size:11px;color:#8a948e;margin-top:3px!important}
.sd-history-row>div{min-width:0;overflow-wrap:anywhere}
.sd-history-diff{font-size:11px;margin-top:10px;color:#63766a}
.sd-history-diff summary{cursor:pointer;color:var(--sd-green)}
.sd-history-diff dl{margin:12px 0 0;display:grid;gap:7px}
.sd-history-diff dt{font-weight:600;overflow-wrap:anywhere}
.sd-history-diff dd{margin:0 0 7px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.sd-history-diff del{color:#a3746b;text-decoration:none}.sd-history-diff ins{color:#338364;text-decoration:none}
@media(max-width:450px){.sd-lifecycle{margin-top:0;gap:9px}.sd-lifecycle-actions{gap:16px}.sd-lifecycle-dialog{padding:22px 18px}.sd-history-row{align-items:flex-start;flex-direction:column;gap:10px}.sd-publish-summary{grid-template-columns:70px minmax(0,1fr)}.sd-save-buttons .sd-button{gap:5px!important;padding:9px 7px!important}.sd-save-buttons svg{width:12px;height:12px}}
.settings-preview{margin:0;background:var(--bg)}
.design-main{min-width:0;display:flex;flex-direction:column}
.design-topbar{height:72px;background:#fff;border-bottom:1px solid var(--sd-line);display:flex;justify-content:space-between;align-items:center;padding:0 39px;color:#969f99;font-size:11px;gap:15px}
.design-topbar>div:first-child{display:flex;align-items:center;gap:15px;white-space:nowrap}
.design-topbar b{font-weight:500;color:#5c6c60}
.topbar-app{color:#6f7c73}
.breadcrumb-divider{color:#d4dad4}
.design-topbar-right{display:flex;align-items:center;gap:13px}
.preview-mode{display:flex;align-items:center;gap:5px;font-size:9px;color:#8eab93;margin-right:13px}
.preview-mode i{width:4px;height:4px;background:#7fb08b;border-radius:50%}
.design-topbar-right button{display:flex;align-items:center;gap:6px;background:none;border:0;color:#9aa49b;font-size:10px;padding:6px 0}
.design-topbar-right button svg{height:14px;width:14px}
.topbar-separator{height:21px;width:1px;background:#edf0ea;margin:0 3px}
.user-avatar{display:grid;place-items:center;width:31px;height:31px;border:3px solid white;box-shadow:0 0 0 1px #e4eade;border-radius:50%;background:#e3ebdb;color:#82966d;font-family:Georgia,serif;font-size:15px}
.design-user{font-size:11px;color:#63755f;line-height:1.3}
.design-user small{display:block;color:#b2baad;font-size:8px;margin-top:4px}
#settings-root{padding:34px 39px 8px;flex:1;width:100%;max-width:1500px;margin:auto}
.design-footer{padding:25px 40px 24px;color:#b2bcb2;font-size:9px;display:flex;justify-content:space-between;gap:15px;letter-spacing:.1px}
.design-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);background:#264d3c;color:white;box-shadow:0 6px 30px #284e3422;border-radius:8px;padding:14px 22px;font-size:12px;line-height:1.7;z-index:100}
.design-toast.is-error{background:#9f5547}
@media(min-width:1600px){.sd-language-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sd-layout{grid-template-columns:minmax(0,1fr) 350px;gap:28px}.sd-customer-card{padding:28px 22px 20px}.sd-preview-viewport{padding:18px 18px 14px}.sd-customer-card h3{font-size:23px}.sd-customer-card>p{font-size:9px}.sd-preview-brand{margin-bottom:26px}.sd-customer-fields{gap:13px}.sd-mock-field>div{padding:11px}.sd-mock-field>span{font-size:8px}.sd-preview-viewport{min-height:520px}}
@media(max-width:1200px){.design-topbar{padding:0 27px}#settings-root{padding:28px 27px 8px}.sd-layout{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.sd-card{padding:22px 20px}.sd-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-language-bottom{align-items:flex-start;flex-direction:column;gap:10px}.sd-upload-grid{grid-template-columns:1fr}.sd-upload-frame{width:80px}.sd-template-grid{gap:8px}.sd-template-mini.split:before{width:76px}.sd-template-mini.split i{margin-left:14px}.sd-template-mini.split .mini-window{margin-left:14px}.sd-template-mini.split .mini-line{width:25px}.sd-template-mini.split .mini-button{width:24px}.sd-preview-viewport{padding-left:10px;padding-right:10px}.sd-customer-card{padding-left:12px;padding-right:12px}.sd-customer-card h3{font-size:18px}.sd-preview-welcome{font-size:4px;letter-spacing:1px}.sd-fields{gap:20px 16px}.sd-sitebar-hint{display:none}.preview-mode{display:none}.design-topbar-right{gap:10px}}
@media(max-width:980px){.sd-layout{grid-template-columns:minmax(0,1fr)}.sd-preview-column{position:static;display:grid;grid-template-columns:minmax(0,330px) minmax(0,1fr);gap:0 22px}.sd-preview-card{grid-row:span 2}.sd-checklist{padding-top:12px}.sd-preview-note{align-self:start}.sd-language-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sd-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-upload-top{gap:10px}.sd-upload-frame{width:60px}.sd-tabs{gap:22px}.design-topbar{padding:0 22px}.topbar-app,.topbar-app+.breadcrumb-divider{display:none}.sd-preview-brand-text{font-size:10px}.sd-preview-welcome{font-size:5px}.sd-customer-card h3{font-size:23px}.sd-fields{gap:20px}.sd-sitebar{padding:17px}.sd-card{padding:24px}.sd-template-mini.split:before{width:96px}.sd-template-mini.split i{margin-left:19px}.sd-template-mini.split .mini-window{margin-left:19px}.sd-template-mini.split .mini-line{width:34px}.sd-template-mini.split .mini-button{width:34px}}
@media(max-width:760px){.design-topbar{padding:0 20px;height:63px;font-size:10px}.design-topbar>div:first-child{gap:10px}.design-topbar-right{gap:9px}.design-topbar-right button>span:last-child,.topbar-separator,.design-user{display:none}.design-topbar-right button svg{width:17px;height:17px}#settings-root{padding:24px 20px 5px}.settings-page-heading{gap:10px;margin-bottom:21px;align-items:flex-start}.settings-page-heading h1{font-size:25px}.settings-page-heading p{font-size:11px;max-width:250px}.settings-eyebrow{font-size:8px;letter-spacing:1.4px}.sd-help{font-size:0;padding:9px}.sd-help svg{width:16px;height:16px}.sd-tabs{justify-content:space-between;gap:8px;margin-bottom:18px}.sd-tab{font-size:11px!important;gap:6px}.sd-tab svg{width:13px;height:13px}.sd-card{padding:22px 19px}.sd-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-upload-grid{grid-template-columns:1fr}.sd-upload-frame{width:65px}.sd-upload-top small{font-size:9px}.sd-preview-column{grid-template-columns:minmax(0,1fr)}.sd-preview-card{max-width:380px;width:100%;margin:auto;grid-row:auto}.sd-checklist{padding-top:24px}.sd-fields{grid-template-columns:1fr;gap:20px}.sd-preview-note{margin-top:5px}.sd-savebar{padding:13px 15px;bottom:8px;flex-wrap:wrap;gap:12px}.sd-save-buttons{margin-left:auto;gap:8px}.sd-save-buttons .sd-button{font-size:10px;padding:9px 11px;min-height:35px}.sd-save-status{font-size:9px}.sd-primary{min-width:104px}.sd-site-select{max-width:220px;font-size:12px!important}.sd-sitebar{gap:10px;padding:14px 13px}.sd-domain-badge{font-size:9px;padding:4px 6px}.sd-sitebar-icon{width:32px;height:32px}.sd-sitebar-icon svg{width:18px;height:18px}.sd-template-title{align-items:flex-start;flex-direction:column;gap:8px}.sd-template-mini{height:79px}.sd-template-mini.split:before{width:76px}.sd-template-mini.split i{margin-left:14px}.sd-template-mini.split .mini-window{margin-left:14px}.sd-template-mini.split .mini-line{width:25px}.sd-template-mini.split .mini-button{width:24px}.sd-template-caption{padding:8px 2px 4px}.sd-template-caption small{display:none}.design-footer{padding:22px 20px;font-size:8px}.design-footer span{display:none}.sd-threshold{align-items:flex-start;gap:10px}.sd-threshold>div:first-child{max-width:190px}.sd-threshold p{font-size:9px}.sd-threshold-unit{font-size:9px}.sd-threshold .sd-input{width:46px}.sd-language-bottom .sd-field{gap:12px}.sd-language-bottom .sd-input{width:170px}.sd-section-number{display:none}}
@media(max-width:450px){.design-topbar{padding:0 18px}.design-topbar-right{gap:14px}#settings-root{padding:23px 16px 5px}.sd-demo-note{font-size:9px;margin-bottom:17px}.sd-card{padding:22px 17px}.sd-language{padding:10px 8px!important;gap:7px!important}.sd-flag{font-size:18px}.sd-language-text strong{font-size:10px}.sd-language-text small{font-size:8px}.sd-site-select{max-width:186px}.sd-sitebar{gap:10px}.sd-domain-badge{margin-left:auto}.sd-sitebar-icon{display:none}.sd-template-grid{gap:8px}.sd-template-mini.split:before{width:73px}.sd-threshold{flex-wrap:wrap;row-gap:13px}.sd-threshold>div:first-child{max-width:none}.sd-toggle-row{gap:12px}.sd-save-status{width:100%;padding-left:2px}.sd-savebar{padding:12px 14px;gap:10px}.sd-save-buttons{width:100%;justify-content:flex-end}.sd-save-buttons .sd-button{flex:1}.sd-language-bottom .sd-field{width:100%;gap:12px}.sd-language-bottom .sd-input{flex:1;min-width:0;width:auto}.sd-language-bottom .sd-field-label{white-space:nowrap}.sd-tab svg{display:none}.sd-tab{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.settings-design *,.settings-preview *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){.settings-design .sd-help{font-size:0;padding:9px}}
@media(max-width:1100px){.sd-sitebar{gap:15px}.sd-sitebar-icon{display:none}.sd-site-actions{max-width:210px}.sd-site-actions .sd-button{font-size:11px;min-width:0;padding:10px 11px}}
@media(max-width:760px){.sd-sitebar{padding:19px 17px;flex-wrap:wrap}.sd-site-picker{flex-basis:100%;max-width:none}.settings-design .sd-site-select{font-size:13px!important;min-height:47px}.sd-site-actions{width:100%;max-width:none;align-items:center;justify-content:flex-start;margin-top:2px}.sd-site-actions .sd-text-button{margin:0 0 0 auto;width:auto}.sd-domain-badge{margin:0}.sd-copy-locale{align-items:flex-start;flex-direction:column;gap:9px}.sd-copy-locale .sd-input{width:100%}}

.settings-design .sd-copy-group-title{grid-column:1/-1;margin:18px 0 0;font-size:14px;color:#334155;border-top:1px solid #e2e8f0;padding-top:16px}

.activation-workflow-preview{display:grid;gap:12px;margin-top:18px;min-width:0;overflow-wrap:anywhere}.activation-workflow-stage{border:1px solid #dce7df;border-radius:10px;padding:14px;background:#f8faf8;min-width:0}.activation-workflow-stage h4{margin:0 0 10px}.activation-workflow-stage p{white-space:pre-line}.activation-workflow-preview code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.activation-workflow-preview ul{padding-inline-start:20px}
