:root{
  --ink:#151515;
  --muted:#6f6b64;
  --gold:#d5a13e;
  --gold-dark:#8d5d14;
  --cream:#f6f2ea;
  --paper:#fff;
  --line:#dfd8cc;
  --green:#166534;
  --danger:#a61b1b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#efebe4;color:var(--ink);font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif}
button,input,textarea,select{font:inherit}
button,a{touch-action:manipulation}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
.sd-site-header{position:sticky;top:0;z-index:40;display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:24px;padding:14px max(24px,calc((100% - 1320px)/2));background:#10100f;color:#fff;border-bottom:1px solid #3a3328}
.sd-brand{font-size:1.12rem;font-weight:950;letter-spacing:.08em;white-space:nowrap}
.sd-brand b{color:var(--gold);font-size:.68rem;margin-left:5px;letter-spacing:.12em}
.sd-site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:22px;font-size:.88rem;font-weight:750}
.sd-site-header nav a:hover,.sd-site-header nav a:focus-visible{color:var(--gold);outline:none}
.sd-phone{border:1px solid #5d4b30;border-radius:999px;padding:9px 14px;color:#f4ca7b}
.sd-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);min-height:560px;background:radial-gradient(circle at 82% 25%,#4f3b1f 0,#1d1a16 28%,#10100f 72%);color:#fff;overflow:hidden}
.sd-hero-copy{align-self:center;width:min(710px,100%);padding:72px 48px 72px max(30px,calc((100vw - 1320px)/2))}
.sd-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#e9bc65;font-size:.77rem;font-weight:900;letter-spacing:.17em}
.sd-eyebrow::before{content:"";width:34px;height:2px;background:var(--gold)}
.sd-hero h1{margin:18px 0 20px;font-size:clamp(2.5rem,4.6vw,4.7rem);line-height:1.07;letter-spacing:-.055em}
.sd-hero-copy>p{max-width:650px;margin:0;color:#c9c5be;font-size:1.05rem;line-height:1.78;word-break:keep-all}
.sd-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0}
.sd-primary-link,.sd-secondary-link{display:inline-flex;min-height:48px;align-items:center;justify-content:center;border-radius:9px;padding:12px 19px;font-weight:900}
.sd-primary-link{background:linear-gradient(135deg,#e2b45a,#b87c1c);color:#15110b}
.sd-secondary-link{border:1px solid #655b4c;background:#ffffff0d;color:#fff}
.sd-primary-link:hover,.sd-primary-link:focus-visible{filter:brightness(1.08);outline:2px solid #fff;outline-offset:2px}
.sd-secondary-link:hover,.sd-secondary-link:focus-visible{border-color:var(--gold);color:var(--gold);outline:none}
.sd-price-lead{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;color:#d3cdc3}
.sd-price-lead small{font-size:.78rem}
.sd-price-lead strong{color:#fff;font-size:1.65rem}
.sd-price-lead span{font-size:.78rem}
.sd-hero-art{position:relative;display:grid;place-items:center;min-height:520px;padding:48px}
.sd-hero-art::before,.sd-hero-art::after{content:"";position:absolute;border-radius:50%;border:1px solid #d8a44642}
.sd-hero-art::before{width:510px;height:510px}
.sd-hero-art::after{width:390px;height:390px;background:#d6a0440d}
.sd-stand{position:relative;z-index:1;display:grid;place-items:center;width:260px;filter:drop-shadow(0 30px 32px #0008)}
.sd-banner-demo{position:relative;z-index:2;width:230px;height:430px;padding:37px 26px;background:linear-gradient(155deg,#fff 0 42%,#e6b653 42% 100%);color:#111;overflow:hidden}
.sd-banner-demo::before{content:"";position:absolute;right:-48px;top:80px;width:160px;height:160px;border:26px solid #171717;border-radius:50%;opacity:.08}
.sd-banner-demo small{font-size:.58rem;font-weight:900;letter-spacing:.18em}
.sd-banner-demo strong{display:block;margin-top:34px;font-size:2.25rem;line-height:1.08;letter-spacing:-.07em}
.sd-banner-demo strong em{font-style:normal;color:#b27314}
.sd-banner-demo span{position:absolute;left:26px;bottom:27px;font-size:.55rem;font-weight:900;letter-spacing:.13em}
.sd-stand>i{width:4px;height:90px;background:#d4d0ca}
.sd-stand>b{display:block;width:160px;height:16px;border-radius:50%;background:#24211d;box-shadow:0 7px 0 #080808}
.sd-step-strip{display:grid;grid-template-columns:repeat(4,1fr);max-width:1320px;margin:-26px auto 36px;position:relative;z-index:3;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 18px 48px #3e2c111a;overflow:hidden}
.sd-step-strip div{display:flex;align-items:center;gap:12px;min-height:72px;padding:15px 22px;border-right:1px solid var(--line)}
.sd-step-strip div:last-child{border-right:0}
.sd-step-strip b{color:#b77b1e;font-size:1.18rem}
.sd-step-strip span{font-size:.9rem;font-weight:850}
.sd-studio{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;width:min(960px,calc(100% - 32px));margin:0 auto 88px}
.sd-preview-panel,.sd-control-panel{min-width:0}
.sd-preview-panel{position:relative;border:1px solid #2c2924;border-radius:18px;background:#141311;color:#fff;padding:22px;box-shadow:0 22px 60px #2f210f26}
.sd-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.sd-panel-title small,.sd-how-heading small{color:var(--gold);font-size:.68rem;font-weight:900;letter-spacing:.16em}
.sd-panel-title h2{margin:3px 0 0;font-size:1.5rem}
.sd-side-tabs{display:flex;border:1px solid #4b463e;border-radius:9px;padding:3px;background:#0a0a09}
.sd-side-tabs button{min-width:58px;border:0;border-radius:6px;background:transparent;color:#aaa;padding:7px 10px;font-size:.8rem;font-weight:800}
.sd-side-tabs button.active{background:var(--gold);color:#17120a}
.sd-canvas-stage{display:grid;place-items:center;min-height:520px;max-height:690px;border:1px solid #38342e;border-radius:14px;background:repeating-conic-gradient(#24221e 0 25%,#201e1b 0 50%) 50%/20px 20px;padding:18px;overflow:hidden}
#designCanvas{display:block;max-width:100%;max-height:650px;background:#fff;box-shadow:0 12px 40px #0009}
.sd-preview-meta{display:flex;justify-content:space-between;gap:16px;margin-top:14px;color:#a9a49d;font-size:.76rem}
.sd-preview-meta span:first-child{color:#e9bc65;font-weight:850}
.sd-preview-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px}
.sd-preview-actions button,.sd-text-button{border:1px solid #4a453d;border-radius:8px;background:#23211e;color:#e6e2dc;padding:9px 12px;font-size:.8rem;font-weight:800}
.sd-preview-actions button:hover,.sd-preview-actions button:focus-visible,.sd-text-button:hover,.sd-text-button:focus-visible{border-color:var(--gold);color:#f5c66e;outline:none}
.sd-control-panel{display:grid;gap:18px}
.sd-control-section{border:1px solid var(--line);border-radius:18px;background:#fff;padding:24px;box-shadow:0 12px 36px #3e2c1110}
.sd-section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}
.sd-section-heading>b{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#171717;color:var(--gold);font-size:.86rem}
.sd-section-heading h2{margin:0;font-size:1.28rem}
.sd-section-heading p{margin:4px 0 0;color:var(--muted);font-size:.83rem;line-height:1.5}
.sd-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}
.sd-type-card{display:flex;min-height:74px;align-items:center;gap:11px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:11px;text-align:left}
.sd-type-card i{position:relative;display:block;flex:0 0 32px;width:32px;height:46px;border:2px solid #7b7266;background:#f1e8d9}
.sd-type-card i::after{content:"";position:absolute;left:50%;bottom:-8px;width:36px;height:7px;border-radius:50%;background:#bcb3a5;transform:translateX(-50%)}
.sd-type-card[data-sides="2"] i{box-shadow:5px 0 0 #cf9d42}
.sd-type-card span{min-width:0}
.sd-type-card b{display:block;font-size:.88rem;line-height:1.3}
.sd-type-card small{display:block;margin-top:3px;color:var(--muted);font-size:.69rem;line-height:1.35}
.sd-type-card.active{border-color:#b77b1e;background:#fff8e9;box-shadow:0 0 0 1px #b77b1e}
.sd-type-card.active i{border-color:#171717;background:var(--gold)}
.sd-type-card:focus-visible{outline:2px solid #171717;outline-offset:2px}
.sd-control-section>label,.sd-select-grid>label,.sd-color-grid>label{display:grid;gap:7px;margin:0 0 14px;color:#3e3932;font-size:.83rem;font-weight:850}
.sd-select-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.sd-control-section input,.sd-control-section textarea,.sd-control-section select{width:100%;min-width:0;border:1px solid #d8d1c6;border-radius:9px;background:#fff;padding:12px;color:#181818}
.sd-control-section input:focus,.sd-control-section textarea:focus,.sd-control-section select:focus{border-color:#ad741c;outline:2px solid #e9c98666}
.sd-control-section textarea{resize:vertical;line-height:1.55}
.sd-quantity{position:relative}
.sd-quantity>span{display:flex;gap:6px;margin-bottom:0}
.sd-quantity>span button{flex:1;border:1px solid var(--line);border-radius:8px;background:#f8f5ef;padding:8px;font-size:.78rem;font-weight:800}
.sd-quantity>span button:hover,.sd-quantity>span button:focus-visible{border-color:#b77b1e;background:#fff5df;outline:none}
.sd-selected-summary{margin:4px 0 12px;border-radius:9px;background:#f7f3ec;padding:12px;color:#625b52;font-size:.78rem;line-height:1.55}
.sd-price-box{display:grid;grid-template-columns:1fr auto;gap:5px 18px;border-radius:13px;background:#151515;color:#fff;padding:19px}
.sd-price-box>div{grid-row:1/3}
.sd-price-box span{display:block;font-size:.82rem;font-weight:850}
.sd-price-box small{display:block;margin-top:6px;color:#9d9890;font-size:.68rem}
.sd-price-box strong{align-self:end;color:#f0bd5c;font-size:1.8rem;text-align:right;letter-spacing:-.04em}
.sd-price-box em{color:#aaa;font-size:.75rem;font-style:normal;text-align:right}
.sd-ai-assistant{margin-bottom:20px;border:1px solid #d7bb84;border-radius:14px;background:linear-gradient(145deg,#fffaf0,#f6eee0);padding:18px}
.sd-ai-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.sd-ai-heading strong{display:block;font-size:1.08rem}
.sd-ai-heading small{display:block;margin-top:5px;color:var(--muted);font-size:.76rem;line-height:1.5}
.sd-ai-heading>span{flex:0 0 auto;border-radius:999px;background:#171717;color:#f0bd5c;padding:6px 10px;font-size:.68rem;font-weight:900}
.sd-ai-assistant>label{display:grid;gap:7px;color:#3e3932;font-size:.83rem;font-weight:850}
.sd-ai-assistant textarea{margin:0}
.sd-ai-help{display:block;margin:8px 0 12px;color:#756e64;font-size:.7rem;line-height:1.55}
.sd-ai-generate{width:100%;min-height:48px;border:0;border-radius:9px;background:linear-gradient(135deg,#171717,#3b3328);color:#f3c66e;font-weight:950}
.sd-ai-generate:hover,.sd-ai-generate:focus-visible{filter:brightness(1.12);outline:2px solid #bd8125;outline-offset:2px}
.sd-ai-status{min-height:0;margin:10px 0 0;color:#6e6252;font-size:.78rem;font-weight:800;line-height:1.5}
.sd-ai-status.error{color:var(--danger)}
.sd-ai-status.success{color:var(--green)}
.sd-ai-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}
.sd-ai-card{display:grid;grid-template-rows:240px auto;min-width:0;border:1px solid #d8cfbf;border-radius:11px;background:#fff;padding:8px;text-align:left}
.sd-ai-card-preview{display:grid;place-items:center;border-radius:7px;background:repeating-conic-gradient(#ebe6dd 0 25%,#e4ded4 0 50%) 50%/16px 16px;overflow:hidden}
.sd-ai-card canvas{display:block;max-width:94%;max-height:226px;filter:drop-shadow(0 5px 8px #0004)}
.sd-ai-card span{display:block;margin-top:8px;color:#2e2922;font-size:.75rem;font-weight:950}
.sd-ai-card small{display:block;margin-top:3px;color:var(--muted);font-size:.65rem;font-weight:750}
.sd-ai-card:hover,.sd-ai-card:focus-visible{border-color:#ad741c;outline:none;box-shadow:0 0 0 1px #ad741c}
.sd-ai-card.active{border-color:#171717;background:#fff4dc;box-shadow:0 0 0 2px #d19a3b}
.sd-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 14px}
.sd-size-grid label{display:grid;gap:7px;border:1px solid #e0d9ce;border-radius:10px;background:#faf7f2;padding:11px;color:#4b443b;font-size:.76rem;font-weight:850}
.sd-size-grid label>span{display:flex;justify-content:space-between;gap:8px}
.sd-size-grid output{color:#9a6515;font-weight:950}
.sd-size-grid input[type="range"]{height:22px;border:0;background:transparent;padding:0;accent-color:#b77b1e}
.sd-template-toolbar{display:grid;gap:9px;margin-bottom:12px}
.sd-industry-filters{display:flex;gap:6px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin;scrollbar-color:#cbb58e transparent}
.sd-industry-filters button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#f8f5ef;padding:8px 12px;color:#5d554b;font-size:.74rem;font-weight:850;white-space:nowrap}
.sd-industry-filters button:hover,.sd-industry-filters button:focus-visible{border-color:#a96d12;color:#7c4e09;outline:none}
.sd-industry-filters button.active{border-color:#171717;background:#171717;color:#f0bd5c}
.sd-template-count{color:var(--muted);font-size:.7rem;text-align:right}
.sd-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.sd-template-card{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px;overflow:hidden;text-align:left}
.sd-template-card i{position:relative;display:block;height:62px;border-radius:6px;background:var(--thumb-bg,#171717);margin-bottom:7px;overflow:hidden}
.sd-template-card i::before,.sd-template-card i::after{content:"";position:absolute;background:var(--thumb-accent,#d8a342)}
.sd-template-card[data-layout="opening"] i::before{inset:58% 0 0;clip-path:polygon(0 35%,100% 0,100% 100%,0 100%)}
.sd-template-card[data-layout="event"] i::before{width:24px;height:24px;right:10px;top:8px;border-radius:50%;box-shadow:-37px 13px 0 color-mix(in srgb,var(--thumb-accent) 35%,transparent)}
.sd-template-card[data-layout="event"] i::after{left:10%;right:10%;height:3px;bottom:11px}
.sd-template-card[data-layout="menu"] i::before{inset:0 auto 0 0;width:20%}
.sd-template-card[data-layout="menu"] i::after{left:20%;right:0;bottom:0;height:35%;opacity:.24}
.sd-template-card[data-layout="diagonal"] i::before{inset:57% 0 0;clip-path:polygon(0 48%,100% 0,100% 100%,0 100%)}
.sd-template-card[data-layout="diagonal"] i::after{width:42%;height:45%;right:-8%;top:-12%;transform:rotate(22deg);opacity:.24}
.sd-template-card[data-layout="split"] i::before{inset:0 0 0 65%;opacity:.55}
.sd-template-card[data-layout="split"] i::after{left:10%;right:10%;height:3px;bottom:10px}
.sd-template-card[data-layout="wave"] i::before{left:-10%;right:-10%;bottom:-28px;height:58px;border-radius:50% 50% 0 0}
.sd-template-card[data-layout="wave"] i::after{width:28px;height:28px;right:8px;top:5px;border-radius:50%;opacity:.2}
.sd-template-card[data-layout="arch"] i::before{width:58px;height:34px;left:50%;top:8px;border:3px solid var(--thumb-accent);border-bottom:0;border-radius:38px 38px 0 0;transform:translateX(-50%);background:transparent}
.sd-template-card[data-layout="arch"] i::after{width:24px;height:3px;left:50%;bottom:10px;transform:translateX(-50%)}
.sd-template-card[data-layout="blocks"] i::before{width:38%;height:42%;right:0;top:0;opacity:.35}
.sd-template-card[data-layout="blocks"] i::after{width:26%;height:34%;left:0;bottom:0}
.sd-template-card[data-layout="stripes"] i::before{width:12px;height:95px;right:25px;top:-18px;transform:rotate(24deg);box-shadow:20px 0 0 color-mix(in srgb,var(--thumb-accent) 45%,transparent),-20px 0 0 color-mix(in srgb,var(--thumb-accent) 45%,transparent)}
.sd-template-card[data-layout="rays"] i::before{width:42px;height:42px;left:50%;top:-18px;border-radius:50%;transform:translateX(-50%);box-shadow:0 0 0 12px color-mix(in srgb,var(--thumb-accent) 18%,transparent)}
.sd-template-card[data-layout="rays"] i::after{left:15%;right:15%;height:3px;bottom:10px}
.sd-template-card[data-layout="border"] i::before{inset:7px;border:2px solid var(--thumb-accent);background:transparent}
.sd-template-card>span{display:block;overflow:hidden;text-overflow:ellipsis;color:#2e2a25;font-size:.72rem;font-weight:900;white-space:nowrap}
.sd-template-card>small{display:block;margin-top:2px;color:var(--muted);font-size:.62rem;font-weight:700}
.sd-template-card.active{border-color:#a96d12;background:#fff6e5;box-shadow:0 0 0 1px #a96d12}
.sd-template-card:focus-visible{outline:2px solid #171717;outline-offset:1px}
.sd-editing-side{margin-bottom:14px;border-left:3px solid var(--gold);background:#fff8e9;padding:10px 12px;color:#80510d;font-size:.79rem;font-weight:850}
.sd-color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.sd-color-grid input[type="color"]{height:48px;padding:5px;cursor:pointer}
.sd-file-control{border:1px dashed #c9b899;border-radius:10px;background:#fbf7ef;padding:13px}
.sd-file-control small{color:var(--muted);font-weight:500}
.sd-file-control input{background:#fff}
#imageControls{border-left:3px solid #d3a14c;padding:12px 0 0 13px}
#imageControls input[type="range"]{padding:10px 0;border:0}
.sd-order-section{border-top:4px solid #171717}
.sd-privacy{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;color:var(--muted)!important;font-weight:650!important;line-height:1.45}
.sd-privacy input{width:18px!important;height:18px;margin:2px 0 0;padding:0}
.sd-privacy a{color:#875710;text-decoration:underline}
.sd-submit{width:100%;min-height:54px;border:0;border-radius:10px;background:linear-gradient(135deg,#dfae50,#ad7017);color:#16110a;font-weight:950;box-shadow:0 10px 24px #b67d2233}
.sd-submit:hover,.sd-submit:focus-visible{filter:brightness(1.06);outline:2px solid #171717;outline-offset:2px}
.sd-submit:disabled{cursor:wait;filter:grayscale(.5);opacity:.65}
.sd-result{min-height:0;margin:12px 0 0;font-size:.86rem;font-weight:850;line-height:1.55}
.sd-result.success{border-radius:9px;background:#e8f7ed;color:var(--green);padding:12px}
.sd-result.error{border-radius:9px;background:#fff0f0;color:var(--danger);padding:12px}
.sd-how{background:#fff;padding:90px max(24px,calc((100% - 1320px)/2))}
.sd-how-heading{max-width:700px}
.sd-how-heading h2{margin:8px 0;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.05em}
.sd-how-heading p{color:var(--muted);line-height:1.7}
.sd-how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px}
.sd-how-grid article{min-height:210px;border:1px solid var(--line);border-radius:14px;background:var(--cream);padding:22px}
.sd-how-grid article b{color:#b87a1b;font-size:1.5rem}
.sd-how-grid article h3{margin:28px 0 9px;font-size:1.03rem}
.sd-how-grid article p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.7}
.sd-file-guide{display:grid;grid-template-columns:280px 1fr;gap:28px;margin-top:18px;border-radius:14px;background:#171717;color:#fff;padding:25px}
.sd-file-guide h3{margin:0;font-size:1.25rem}
.sd-file-guide ul{margin:0;padding-left:21px;color:#c7c2ba;font-size:.86rem;line-height:1.75}
.sd-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#0d0d0c;color:#9d9890;padding:36px max(24px,calc((100% - 1320px)/2));font-size:.82rem}
.sd-footer b{color:#fff}
.sd-footer p{margin:6px 0 0}
.sd-footer>div:last-child{display:flex;gap:16px}
.sd-footer a:hover{color:var(--gold)}
[hidden]{display:none!important}

@media(max-width:1050px){
  .sd-hero{grid-template-columns:1fr minmax(310px,.7fr)}
  .sd-studio{grid-template-columns:minmax(0,1fr);width:min(900px,calc(100% - 32px))}
  .sd-how-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .sd-site-header{position:relative;align-items:flex-start;padding:16px 18px}
  .sd-site-header nav{flex-wrap:wrap;gap:10px 15px;font-size:.8rem}
  .sd-site-header nav a:first-child,.sd-site-header nav a:nth-child(2){display:none}
  .sd-hero{grid-template-columns:1fr;min-height:0}
  .sd-hero-copy{padding:54px 25px 25px}
  .sd-hero-art{min-height:400px;padding:26px 30px 54px}
  .sd-stand{transform:scale(.83)}
  .sd-step-strip{grid-template-columns:repeat(2,1fr);margin:-22px 16px 30px}
  .sd-step-strip div:nth-child(2){border-right:0}
  .sd-step-strip div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .sd-studio{grid-template-columns:1fr;width:min(720px,calc(100% - 24px))}
  .sd-preview-panel{position:relative;top:auto}
  .sd-canvas-stage{min-height:430px;max-height:600px}
  #designCanvas{max-height:560px}
  .sd-file-guide{grid-template-columns:1fr;gap:10px}
}
@media(max-width:560px){
  .sd-site-header{min-height:64px}
  .sd-brand{font-size:1rem}
  .sd-brand b{display:block;margin:2px 0 0}
  .sd-site-header nav a:not(.sd-phone){display:none}
  .sd-phone{padding:8px 11px}
  .sd-hero-copy{padding:45px 20px 18px}
  .sd-hero h1{font-size:2.45rem}
  .sd-hero-copy>p{font-size:.93rem}
  .sd-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .sd-primary-link,.sd-secondary-link{padding:11px 10px;font-size:.84rem}
  .sd-hero-art{min-height:330px;padding:10px 20px 44px}
  .sd-hero-art::before{width:330px;height:330px}
  .sd-hero-art::after{width:260px;height:260px}
  .sd-stand{transform:scale(.68);margin:-40px 0}
  .sd-step-strip div{min-height:61px;padding:12px 14px}
  .sd-step-strip span{font-size:.78rem}
  .sd-studio{width:calc(100% - 16px);gap:10px;margin-bottom:60px}
  .sd-preview-panel,.sd-control-section{border-radius:13px;padding:15px}
  .sd-panel-title{margin-bottom:12px}
  .sd-canvas-stage{min-height:360px;max-height:500px;padding:10px}
  #designCanvas{max-height:470px}
  .sd-preview-meta{display:grid;gap:4px}
  .sd-preview-actions{justify-content:stretch}
  .sd-preview-actions button{flex:1}
  .sd-type-grid{grid-template-columns:1fr 1fr;gap:6px}
  .sd-type-card{min-height:66px;padding:9px 8px}
  .sd-type-card i{flex-basis:26px;width:26px;height:38px}
  .sd-type-card i::after{width:30px}
  .sd-type-card small{display:none}
  .sd-select-grid{grid-template-columns:1fr}
  .sd-ai-suggestions{display:flex;overflow-x:auto;padding-bottom:7px;scroll-snap-type:x mandatory}
  .sd-ai-card{flex:0 0 78%;scroll-snap-align:start}
  .sd-size-grid{grid-template-columns:1fr 1fr}
  .sd-template-grid{grid-template-columns:repeat(2,1fr)}
  .sd-template-grid button i{height:50px}
  .sd-color-grid{grid-template-columns:repeat(3,1fr)}
  .sd-color-grid>label{font-size:.72rem}
  .sd-price-box{padding:16px}
  .sd-price-box strong{font-size:1.55rem}
  .sd-how{padding:65px 16px}
  .sd-how-grid{grid-template-columns:1fr}
  .sd-how-grid article{min-height:0}
  .sd-how-grid article h3{margin-top:18px}
  .sd-footer{display:block;padding:30px 18px}
  .sd-footer>div:last-child{margin-top:18px;flex-wrap:wrap}
}
@media(max-width:370px){
  .sd-hero h1{font-size:2.1rem}
  .sd-type-grid{grid-template-columns:1fr}
  .sd-step-strip{grid-template-columns:1fr}
  .sd-step-strip div{border-right:0!important;border-bottom:1px solid var(--line)}
  .sd-step-strip div:last-child{border-bottom:0}
}



/* v1.9.62 layered AI editor */
.sd-ai-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,1fr);gap:12px;align-items:end;margin-top:11px}
.sd-ai-options>label{display:grid;gap:7px;color:#3e3932;font-size:.8rem;font-weight:850}
.sd-ai-options select{margin:0}
.sd-ai-process{display:flex;align-items:center;justify-content:center;gap:7px;min-height:47px;border:1px solid #e0d4c0;border-radius:9px;background:#fff;padding:8px;color:#62584b;font-size:.7rem}
.sd-ai-process b{white-space:nowrap}.sd-ai-process span{color:#b77b1e;font-size:1rem}
.sd-ai-usage{margin:9px 0 0;color:#766b5c;font-size:.7rem;line-height:1.5}.sd-ai-usage a{color:#875710;font-weight:900;text-decoration:underline}
.sd-ai-generate:disabled{cursor:wait;filter:saturate(.45);opacity:.78}
.sd-ai-status a{color:#875710;font-weight:950;text-decoration:underline}
.sd-ai-card small{line-height:1.35}
.sd-open-editor{border-color:#d5a34c!important;background:#f1bd5d!important;color:#1a140b!important;box-shadow:0 7px 18px #0004}
.sd-open-editor:hover,.sd-open-editor:focus-visible{filter:brightness(1.08);color:#090704!important}

body.sd-editor-open{overflow:hidden}
.sd-editor-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(10,9,8,.86);padding:12px;backdrop-filter:blur(7px)}
.sd-editor-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1500px,98vw);height:min(940px,96vh);overflow:hidden;border:1px solid #49433a;border-radius:18px;background:#efede9;box-shadow:0 34px 100px #000b}
.sd-editor-header{display:flex;align-items:center;gap:18px;min-height:76px;border-bottom:1px solid #37332e;background:#171614;color:#fff;padding:13px 18px}
.sd-editor-header>div:first-child{margin-right:auto}.sd-editor-header small{display:block;color:#e8b95d;font-size:.62rem;font-weight:900;letter-spacing:.14em}.sd-editor-header h2{margin:3px 0 0;font-size:1.16rem}
.sd-editor-history{display:flex;gap:7px}.sd-editor-history button,.sd-editor-close{border:1px solid #49443d;border-radius:8px;background:#26231f;color:#e6e1d9;padding:9px 12px;font-size:.74rem;font-weight:850}
.sd-editor-history button:disabled{opacity:.35}.sd-editor-history button:not(:disabled):hover,.sd-editor-history button:not(:disabled):focus-visible{border-color:#d5a34c;color:#f2c56d;outline:none}
.sd-editor-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;font-size:1.5rem;line-height:1}
.sd-editor-workspace{display:grid;grid-template-columns:170px minmax(0,1fr) 310px;min-height:0}
.sd-editor-elements{min-width:0;overflow:auto;border-right:1px solid #d0cbc3;background:#f8f6f2;padding:15px 11px}
.sd-editor-elements h3{margin:2px 7px 13px;color:#625b52;font-size:.75rem}
.sd-editor-elements button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:9px;background:transparent;padding:9px;color:#4e4840;text-align:left;font-size:.77rem;font-weight:850}
.sd-editor-elements button i{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:8px;background:#e8e3db;color:#5a5145;font-size:.9rem;font-style:normal;font-weight:950}
.sd-editor-elements button:hover,.sd-editor-elements button:focus-visible{border-color:#c8b28d;background:#fff;outline:none}
.sd-editor-elements button.active{border-color:#b77b1e;background:#fff7e7;color:#754807;box-shadow:0 0 0 1px #dfb96f}
.sd-editor-elements button.active i{background:#171614;color:#f1bd5d}
.sd-editor-center{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;background:#24211e;padding:18px}
.sd-editor-stage{display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;border:1px solid #403b35;border-radius:12px;background:repeating-conic-gradient(#302d29 0 25%,#292622 0 50%) 50%/22px 22px;padding:14px}
#editorCanvas{display:block;max-width:100%;max-height:calc(96vh - 160px);background:#fff;box-shadow:0 14px 48px #000b;cursor:move;touch-action:none;user-select:none}
.sd-editor-center>p{margin:10px 0 0;color:#bbb3a8;font-size:.7rem;line-height:1.45;text-align:center}
.sd-editor-properties{min-width:0;overflow:auto;border-left:1px solid #d0cbc3;background:#fff;padding:18px}
.sd-editor-property-title{margin-bottom:15px;border-bottom:1px solid #ece8e2;padding-bottom:13px}.sd-editor-property-title small{color:#8a8175;font-size:.65rem;font-weight:850}.sd-editor-property-title h3{margin:3px 0 0;font-size:1.08rem}
.sd-editor-property-group{display:grid;gap:13px}
.sd-editor-property-group>label,.sd-editor-property-grid>label{display:grid;gap:7px;color:#4a443d;font-size:.76rem;font-weight:850}
.sd-editor-property-group label>span{display:flex;justify-content:space-between;gap:10px}.sd-editor-property-group output{color:#96600f;font-weight:950}
.sd-editor-property-group input,.sd-editor-property-group textarea,.sd-editor-property-group select{width:100%;min-width:0;border:1px solid #d7d0c6;border-radius:8px;background:#fff;padding:10px;color:#181716}
.sd-editor-property-group input:focus,.sd-editor-property-group textarea:focus,.sd-editor-property-group select:focus{border-color:#ad741c;outline:2px solid #e9c98666}
.sd-editor-property-group textarea{resize:vertical;line-height:1.5}.sd-editor-property-group input[type="range"]{height:24px;border:0;padding:0;accent-color:#b77b1e}.sd-editor-property-group input[type="color"]{height:44px;padding:4px}
.sd-editor-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.sd-editor-subtle{border:1px solid #d5cec3;border-radius:8px;background:#f7f4ef;color:#625a50;padding:10px;font-size:.73rem;font-weight:850}.sd-editor-subtle:hover,.sd-editor-subtle:focus-visible{border-color:#a96d12;color:#7a4a03;outline:none}.sd-editor-subtle:disabled{opacity:.42}
.sd-editor-upload{border:1px dashed #c4aa7c;border-radius:9px;background:#fff9ee;padding:11px}
.sd-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:66px;border-top:1px solid #cac4bb;background:#f8f6f2;padding:11px 18px}
.sd-editor-footer span{color:#71695f;font-size:.76rem;font-weight:850}.sd-editor-footer button{min-width:210px;border:0;border-radius:9px;background:linear-gradient(135deg,#e0ac4b,#b06f12);color:#16110a;padding:13px 20px;font-weight:950;box-shadow:0 8px 22px #b67d2233}
.sd-editor-footer button:hover,.sd-editor-footer button:focus-visible{filter:brightness(1.06);outline:2px solid #171717;outline-offset:2px}

@media(max-width:980px){
  .sd-ai-options{grid-template-columns:1fr}
  .sd-editor-modal{padding:0}
  .sd-editor-shell{width:100vw;height:100dvh;border:0;border-radius:0}
  .sd-editor-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(260px,1fr) minmax(200px,32vh)}
  .sd-editor-elements{display:flex;gap:6px;overflow-x:auto;border-right:0;border-bottom:1px solid #d0cbc3;padding:8px}
  .sd-editor-elements h3{display:none}.sd-editor-elements button{flex:0 0 auto;width:auto;padding:7px 10px}.sd-editor-elements button i{flex-basis:28px;height:28px}
  .sd-editor-center{padding:9px}.sd-editor-stage{padding:8px}#editorCanvas{max-height:48vh}
  .sd-editor-properties{border-top:1px solid #d0cbc3;border-left:0;padding:13px 15px}
  .sd-editor-property-title{margin-bottom:10px;padding-bottom:8px}.sd-editor-property-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}.sd-editor-property-group>label:first-child{grid-column:1/-1}.sd-editor-property-group>.sd-editor-subtle{align-self:end}
}
@media(max-width:560px){
  .sd-ai-process{justify-content:flex-start;overflow-x:auto}
  .sd-editor-header{min-height:62px;gap:8px;padding:9px 10px}.sd-editor-header small{display:none}.sd-editor-header h2{font-size:.93rem}
  .sd-editor-history{gap:4px}.sd-editor-history button{padding:7px 8px;font-size:.64rem}.sd-editor-close{width:34px;height:34px;font-size:1.25rem}
  .sd-editor-workspace{grid-template-rows:auto minmax(220px,1fr) minmax(220px,35vh)}
  .sd-editor-elements button{gap:6px;padding:6px 8px;font-size:.68rem}.sd-editor-elements button i{display:none}
  .sd-editor-center>p{margin-top:6px;font-size:.62rem}#editorCanvas{max-height:43vh}
  .sd-editor-properties{padding:11px}.sd-editor-property-title{display:flex;align-items:baseline;justify-content:space-between}.sd-editor-property-title h3{font-size:.92rem}
  .sd-editor-property-group{grid-template-columns:1fr 1fr}.sd-editor-property-group>label:first-child,.sd-editor-property-group>label:nth-child(2){grid-column:1/-1}
  .sd-editor-footer{min-height:56px;padding:8px 10px}.sd-editor-footer button{min-width:0;flex:1;padding:11px}.sd-editor-footer span{display:none}
}
