.sg-setup{align-self:start;border:1px solid #40565f;border-top:3px solid #f7a34b;border-radius:10px;background:#17262d;box-shadow:0 14px 35px #07101533;min-width:0;overflow:hidden}
.sg-setup-heading{display:flex;align-items:center;gap:13px;padding:20px;background:linear-gradient(120deg,#283b43,#1b2a31);border-bottom:1px solid #354a54}
.sg-setup-heading .eyebrow{font-size:8px;letter-spacing:1.6px;color:#e1ae74}.sg-setup-heading h3{font-size:22px;letter-spacing:-.5px;margin:6px 0 0;color:#f0f4ef}
.sg-setup-emblem{width:40px;height:42px;display:grid;place-items:center;border:1px solid #956a3b;border-radius:7px;background:#e7a35a12;flex:none;color:#ffbb73}.sg-setup-emblem svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5}
.sg-setup-form{margin:0;min-height:0}.sg-setup-body{padding:0 16px}.sg-setup details{box-shadow:none;border-radius:0;border:0;background:transparent;padding:0;margin:0}
.sg-setup .sg-setup-section{border-bottom:1px solid #344951}.sg-setup-section>summary{display:flex;align-items:center;gap:11px;list-style:none;padding:18px 0;margin:0!important;cursor:pointer}.sg-setup-section>summary::-webkit-details-marker{display:none}
.sg-setup-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #455963;border-radius:6px;flex:none;color:#8eaab7;background:#20323a;font:600 10px/1.2 'Segoe UI',sans-serif;letter-spacing:1px}
.sg-setup-section[open]>.sg-setup-section-title,.sg-setup-section[open]>summary .sg-setup-number{color:#ffbf7a}.sg-setup-section[open]>summary .sg-setup-number{border-color:#95683a;background:#453727}
.sg-setup-section-title{flex:1;min-width:0}.sg-setup-section-title strong{display:block;font-size:14px;line-height:1.4;color:#e3edf0;font-weight:650}.sg-setup-section-title small{display:block;font-size:10px;line-height:1.5;color:#91aebc;margin-top:3px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-setup-section>summary svg{width:14px;height:14px;fill:none;stroke:#9aafba;stroke-width:1.5;flex:none;transition:transform .18s}.sg-setup-section[open]>summary svg{transform:rotate(90deg)}.sg-setup-section>summary:hover .sg-setup-section-title strong{color:#ffbf7a}
.sg-setup-section-body{padding:0 0 18px}.sg-setup label{font-size:12px;font-weight:600;color:#c5d4dc;margin:0 0 14px}.sg-setup select,.sg-setup input:not([type=checkbox]):not([type=radio]){font-size:13px;min-height:43px;padding:10px 11px;background:#101e25;border-color:#455f6b;border-radius:6px}.sg-setup label small{font-size:10px;font-weight:400;color:#92adba;line-height:1.5}.sg-setup label:has(#amount){margin-bottom:0}.sg-setup #amount{font-size:23px;letter-spacing:.5px;font-variant-numeric:tabular-nums;color:#ffc584;background:#111f26;padding:10px 13px}.sg-setup #genLabel{margin-top:14px}
.sg-target-preview{display:flex;align-items:center;gap:11px;border-top:1px solid #354b56;padding-top:12px;margin-top:14px;font-size:11px;color:#a9c3cf}.sg-target-preview img{width:38px;height:38px;object-fit:contain;flex:none}.sg-target-preview span{line-height:1.6}.sg-target-preview strong{color:#eff4ef;display:block;font-size:12px}
.sg-setup .two-fields{grid-template-columns:1fr;gap:12px}.sg-setup .sg-tier-field{border:0;padding:0;margin:0;min-width:0}.sg-tier-field legend{font-size:11px;font-weight:650;color:#acc4cf;margin-bottom:8px;padding:0}.sg-tier-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sg-tier-options[data-tier=pipe]{grid-template-columns:repeat(2,minmax(0,1fr))}
.sg-setup .sg-tier-option{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 4px;margin:0;border:1px solid #3c535e;background:#1b2c35;border-radius:6px;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}.sg-tier-option input{position:absolute;width:1px;height:1px;opacity:0;inset:0;min-height:0;margin:0}.sg-tier-option span{font-size:12px;color:#d3e0e5;line-height:1.3}.sg-tier-option small{display:block;font-size:9px!important;font-weight:500!important;color:#90acbb!important;margin-top:3px;line-height:1.2!important}.sg-tier-option:has(input:checked){background:#f5a64b19;border-color:#edaa60;box-shadow:inset 0 0 0 1px #ffae5322}.sg-tier-option:has(input:checked) span{color:#ffd099}.sg-tier-option:has(input:checked) small{color:#e3be92!important}.sg-tier-option:has(input:focus-visible){outline:2px solid #8ed9eb;outline-offset:2px}.sg-tier-option:hover{border-color:#b98b54;background:#263b45}.sg-tier-option:has(input:disabled){opacity:.55;cursor:not-allowed}
.sg-setup-hint{font-size:10px;line-height:1.5;color:#86a2b0;margin:11px 0 0}
.sg-setup .sg-upgrade-switches .check{display:flex;position:relative;align-items:center;gap:11px;padding:12px 11px;margin:0 0 8px;border:1px solid #344c57;border-radius:7px;background:#1d3038}.sg-upgrade-switches .check>span{order:0;flex:1;font-size:12px;line-height:1.4}.sg-setup .sg-upgrade-switches .check>input{order:1;appearance:none;width:31px;height:18px;border:1px solid #607682;border-radius:20px;min-height:0;padding:0;margin:0;flex:none;background:#0e1e27;cursor:pointer;position:relative;transition:background .15s}.sg-upgrade-switches .check>input::before{content:'';position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#90a8b4;transition:transform .15s}.sg-setup .sg-upgrade-switches .check>input:checked{background:#f6a54e;border-color:#f6a54e}.sg-upgrade-switches .check>input:checked::before{background:#1d2a31;transform:translateX(13px)}.sg-upgrade-switches .check:has(input:checked){border-color:#8e704c;background:#342e25}.sg-upgrade-switches .check small{margin-top:4px}
.sg-setup .upgrade-budget,.sg-setup .recipe-settings{border:1px solid #405761;border-radius:7px;padding:12px;margin:12px 0 0;background:#12232c}.sg-setup .upgrade-budget>summary,.sg-setup .recipe-settings>summary{font-size:11px;line-height:1.5;color:#dfc4a1}.sg-setup .upgrade-budget p,.sg-setup .recipe-settings p{font-size:11px;line-height:1.65}.sg-setup .upgrade-budget a{font-size:10px}.sg-setup .upgrade-budget[open]>summary,.sg-setup .recipe-settings[open]>summary{margin-bottom:14px}.sg-setup .upgrade-budget .two-fields{gap:0}.sg-setup #pins{font-size:11px;overflow-wrap:anywhere}.sg-setup #pins button{font-size:10px}
.sg-setup .combined-controls{padding:14px 0;background:transparent;border:0;border-bottom:1px solid #344951;margin:0}.sg-setup .combined-controls>summary{font-size:12px}.sg-setup .combined-controls .combined-row{grid-template-columns:minmax(0,1fr) 72px 25px}.sg-setup .combined-controls select,.sg-setup .combined-controls input{font-size:11px!important;padding:8px 4px!important}
.sg-setup .sg-setup-notes{padding:12px 0}.sg-setup-notes>summary{font-size:10px;color:#839eac}.sg-setup-notes p{font-size:10px;line-height:1.65;margin:12px 0}.sg-setup-notes #save-status{margin-bottom:0}
.sg-setup-footer{display:block;padding:12px 16px 15px;margin:0;border-top:1px solid #445d68;background:#22343d}.sg-setup-footer p{font-size:10px;color:#acc0cb;line-height:1.4;margin:0 0 9px}.sg-setup-footer .calculate{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0;border-radius:6px;min-height:45px;padding:11px 15px;font-size:14px;box-shadow:0 3px 12px #0002}.sg-setup-footer .calculate span{font-size:21px;font-weight:400}
.sg-setup .sg-setup-calculator{display:flex;align-items:center;gap:12px;width:100%;padding:13px 18px;border:0;border-top:1px solid #3b535f;border-radius:0;font-size:12px;text-align:left;background:#16272f;color:#d2e1e6;flex:none}.sg-setup-calculator>span:nth-child(2){flex:1}.sg-setup-calculator small{display:block;font-size:10px;color:#8fa9b7;font-weight:400;margin-top:3px}.sg-setup-calc-icon{border:1px solid #4a6471;border-radius:4px;padding:3px 6px;line-height:.8;color:#ffc27a;font-size:12px;font-weight:500}.sg-setup .sg-setup-calculator:hover{background:#253b46!important;color:#ffc27a}
@media(min-width:901px){.sg-setup{position:sticky;top:76px;max-height:calc(100dvh - 96px);display:flex;flex-direction:column}.sg-setup-heading{flex:none}.sg-setup-form{display:flex;flex:1;flex-direction:column;overflow:hidden}.sg-setup-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#506c7c transparent}.sg-setup-footer{flex:none}}
@media(max-width:900px){.sg-setup-heading{padding:16px 18px}.sg-setup-heading h3{font-size:21px}.sg-setup-body{padding-inline:16px}.sg-setup-section>summary{padding-block:15px}}
@media(prefers-reduced-motion:reduce){.sg-setup *, .sg-setup *::before{transition:none!important}}
@media print{.sg-setup{display:none!important}}
