@font-face{font-family:Pretendard;src:url('assets/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--paper:#F6F4EF;--ink:#202422;--muted:#81837C;--line:#DDDCD4;--accent:#996846;--canvas:#E8E5DD;--white:#FDFCF9}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.4}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,select{min-width:0}button{color:inherit}p,h1,h2,figure{margin:0}a{text-decoration:none;color:inherit}svg{display:block}button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.button{border:1px solid var(--line);background:transparent;min-height:42px;padding:11px 17px;display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:5px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s}.button:hover:not(:disabled){background:#E4E1D8}.button.primary:hover:not(:disabled){background:#383E38}.button.subtle{background:var(--white)}.eyebrow,.small-caps{font-size:10px;letter-spacing:1.8px;font-weight:600}.eyebrow{color:var(--muted)}.header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);background:var(--paper);gap:20px}.brand{display:flex;align-items:center;gap:23px}.brand img{width:105px;height:60px;object-fit:contain}.brand-divider{height:35px;width:1px;background:var(--line)}.brand h1{font-size:21px;font-weight:650;letter-spacing:-.6px;margin-top:5px}.header-actions{display:flex;align-items:center;gap:11px}.save-status{font-size:12px;color:var(--muted);margin-right:10px}.save-status:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#75876B;margin:0 7px 2px 0}.icon-button{border:1px solid var(--line);width:36px;height:36px;background:transparent;border-radius:50%;font-size:22px;line-height:1}.icon-button:hover:not(:disabled){background:#E4E1D8}.studio{display:grid;grid-template-columns:336px minmax(0,1fr);min-height:calc(100vh - 94px)}.editor{border-right:1px solid var(--line);padding:31px 26px 30px;background:var(--paper)}.editor-intro{padding-bottom:24px}.editor-intro .small-caps{color:var(--accent)}.editor-intro p{font-size:20px;line-height:1.45;letter-spacing:-.6px;margin-top:12px;font-weight:500}.section{border-top:1px solid var(--line)}.section summary{list-style:none;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:650;padding:21px 0;cursor:pointer}.section summary::-webkit-details-marker{display:none}.section-number{font-size:10px;font-weight:450;color:var(--muted);letter-spacing:1px}.chevron{font-size:18px;color:var(--muted);margin-left:auto;transition:transform .2s}.section[open] .chevron{transform:rotate(180deg)}.section-content{display:grid;gap:16px;padding:0 0 23px}label{display:grid;gap:7px;font-size:11px;color:#71746D;font-weight:500}input:not([type=checkbox]):not([type=color]):not([type=range]),select{width:100%;border:1px solid #D8D7CE;background:var(--white);color:var(--ink);border-radius:4px;height:39px;padding:9px 11px;font-size:13px;font-weight:450;transition:border-color .15s}input:hover,select:hover{border-color:#A5A696}input:focus,select:focus{outline:none;border-color:#9F785B!important;box-shadow:0 0 0 2px #99684612}input[aria-invalid=true]{border-color:#BB4C3E!important}input:read-only{background:#EEEBE3!important;color:#858880!important}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field-help{font-size:11px;line-height:1.7;color:var(--muted);font-weight:400}.field-help.error{color:#A34235}.check-row{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:11px;font-weight:400;line-height:1.4}.check-row input{width:13px;height:13px;accent-color:#333B35;cursor:pointer;margin:0}.inline-options{display:flex;align-items:center;justify-content:space-between;gap:10px}.text-link{border:0;padding:0;background:none;font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:4px;color:#61665A}.text-link:hover{color:var(--accent)}.text-link[aria-disabled=true]{pointer-events:none;color:#ABAFA3}.preset-list{display:grid;gap:5px}.palette{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:4px;background:var(--white);padding:10px 12px;font-size:12px;text-align:left}.palette:hover{border-color:#99856E}.swatches{display:flex}.swatches i{display:block;width:16px;height:16px;border:1px solid #00000018;border-radius:50%;margin-right:-3px}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px;margin:4px 0}.color-grid label{display:flex;align-items:center;gap:9px;cursor:pointer}.color-grid input{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;background:none;padding:2px;cursor:pointer}.color-grid input::-webkit-color-swatch-wrapper{padding:0}.color-grid input::-webkit-color-swatch{border:none;border-radius:50%}.color-grid input::-moz-color-swatch{border:none;border-radius:50%}.range-label>span{display:flex;align-items:center;justify-content:space-between}.range-label output{font-size:11px;color:#61695C}.range-label input{width:100%;margin:0;accent-color:#4C584A;height:19px;cursor:pointer}.font-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:15px}.label-text{font-size:10px;color:var(--muted)}.font-row p{font-size:13px;font-weight:550;margin-top:4px;max-width:155px;overflow-wrap:anywhere}.font-row .button{padding:8px 11px;font-size:11px;min-height:35px;white-space:nowrap}.settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:23px;border-top:1px solid var(--line)}.settings-actions .button{font-size:11px;padding:10px 5px}.settings-actions .muted-link{grid-column:1/-1;justify-self:start;color:var(--muted);margin-top:12px}.workspace{padding:30px 42px 20px;background:var(--canvas);min-width:0}.workspace-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.orientation-tabs{display:flex;border:1px solid #CBCABF;border-radius:5px;padding:3px;background:#DDDBD1}.orientation-tabs button{border:0;border-radius:3px;padding:9px 15px;background:transparent;font-size:12px;color:#73776D;display:flex;align-items:center;gap:7px}.orientation-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 3px #00000012;font-weight:650}.orientation-tabs svg{width:16px;height:16px}.guide-toggle{margin-left:auto}.dimensions{font-size:11px;color:#868A7E;border-left:1px solid #C9CCBF;padding-left:15px}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:43px 0 38px;gap:20px}.workspace-heading .eyebrow{color:#7C8375}.workspace-heading h2{font-size:31px;font-weight:550;letter-spacing:-1.2px;line-height:1.3;margin:10px 0}.workspace-heading>div>p:last-child{font-size:13px;color:#828678}.edition-tag{font-size:10px;line-height:1.8;letter-spacing:1.8px;color:#8E9187;text-align:right;padding-bottom:4px}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:1190px;margin:0 auto}.card-figure{min-width:0;max-width:570px}.card-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:9px;letter-spacing:1px;color:#929686}.card-label strong{color:#72786A;font-size:11px;font-weight:500;letter-spacing:0;margin-left:8px}.card-view{box-shadow:8px 10px 0 #00000008,0 8px 30px #00000007;width:100%;background:#F4F1E8;aspect-ratio:9/5;position:relative}.card-view>svg{width:100%;height:100%;display:block;overflow:hidden}.card-view [data-group]{cursor:grab;touch-action:none;outline:none}.card-view [data-group]:hover .hit-area{stroke:#A86C4566;stroke-width:.15;stroke-dasharray:1 .5}.card-view [data-group]:focus-visible .hit-area{stroke:#A86C45;stroke-width:.3;stroke-dasharray:1 .5}.card-view.dragging [data-group]{cursor:grabbing}.preview-grid.portrait{max-width:735px;gap:70px}.preview-grid.portrait .card-view{aspect-ratio:5/9}.preview-note{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;font-size:11px;color:#929787;max-width:1190px;margin:28px auto 0}.preview-note>span{display:flex;gap:7px;align-items:center}.preview-note svg{width:14px;height:14px;stroke:#899079;stroke-width:1.1;fill:none}.preview-note button{color:#919783;font-size:10px}.sample-notice{display:flex;align-items:center;gap:9px;border-top:1px solid #D1D2C5;border-bottom:1px solid #D1D2C5;padding:14px 0;margin-top:28px;color:#878C7E;font-size:11px;line-height:1.6}.notice-dot{background:#AB8B61;width:5px;height:5px;border-radius:50%;flex-shrink:0}.warnings{margin-top:20px;padding:12px 16px;color:#945B38;background:#F4EEE2;border:1px solid #DACAAD;border-radius:4px;font-size:11px;line-height:1.7}.export-panel{border-top:1px solid #D1D2C5;padding-top:27px;margin-top:33px}.export-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.export-heading h2{font-size:23px;font-weight:550;letter-spacing:-.8px;margin:8px 0}.export-heading p:last-child{font-size:11px;color:#89907F;line-height:1.6}.export-heading>.small-caps{color:#969B8B;white-space:nowrap;font-size:9px}.export-actions{display:grid;grid-template-columns:1fr 1fr .9fr;gap:14px}.export-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #D1D2C5;border-radius:5px;background:#F3F2EC;padding:19px 21px;text-align:left;min-height:132px;transition:transform .15s,background .15s}.export-card:hover:not(:disabled){background:#FAF9F4;transform:translateY(-2px)}.export-card.dark{background:#2C352F;color:#F4F2E8;border-color:#2C352F}.export-card.dark:hover:not(:disabled){background:#414D41}.file-type{font-size:11px;font-weight:650;letter-spacing:1.5px;margin-bottom:5px}.file-type>span{font-size:7px;border:1px solid #677364;border-radius:2px;padding:2px 4px;margin-left:5px;color:#AEB9A4;letter-spacing:1px}.export-card strong{font-size:14px;font-weight:550}.export-card small{font-size:10px;color:#969E8D}.export-card.dark small{color:#A4B09D}.download-arrow{font-size:19px;position:absolute;right:18px;top:16px;font-weight:300;color:#9EA893}.export-secondary{display:grid;gap:8px;align-content:start}.export-secondary .button{min-height:35px;padding:7px 10px;font-size:11px;justify-content:flex-start;background:#F3F2EC}.export-secondary p{font-size:10px;line-height:1.6;color:#92998A;margin-top:2px}.export-footnote{margin-top:16px;font-size:10px;line-height:1.7;color:#999E8F}.workspace-footer{display:flex;justify-content:space-between;margin-top:34px;padding-top:16px;border-top:1px solid #D1D2C5;font-size:9px;letter-spacing:1.5px;color:#A1A696}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:#94988B}.loading span{width:13px;height:13px;border:1px solid #DDDCD4;border-top-color:#8A947F;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);padding:14px 20px;background:#283128;color:#F6F5EB;font-size:12px;border-radius:5px;box-shadow:0 6px 30px #0002;max-width:min(500px,90vw);z-index:40;line-height:1.6}.toast.error{background:#7F4437}[hidden]{display:none!important}dialog{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:32px;max-width:430px;width:90vw;color:var(--ink)}dialog::backdrop{background:#1117;backdrop-filter:blur(3px)}dialog h2{font-size:21px;font-weight:600;margin:12px 0}dialog p{font-size:12px;line-height:1.8;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
@media(min-width:1680px){.studio{grid-template-columns:360px minmax(0,1fr)}.workspace{padding:30px 65px 25px}.editor{padding-left:34px;padding-right:34px}.workspace-heading{margin-bottom:45px}.preview-grid{gap:45px}}
@media(max-width:1180px){.studio{grid-template-columns:300px minmax(0,1fr)}.editor{padding:28px 21px}.workspace{padding:28px}.preview-grid{gap:22px}.preview-grid.portrait{gap:30px}.export-actions{grid-template-columns:1fr 1fr}.export-secondary{grid-column:1/-1;grid-template-columns:1fr 1fr;align-items:start}.export-secondary p{grid-column:1/-1}.export-secondary br{display:none}.header{padding:0 25px}.brand{gap:16px}.save-status{margin-right:0}.workspace-heading h2{font-size:27px}}
@media(max-width:870px){.header{height:82px;padding:0 20px}.brand img{width:85px;height:54px}.brand .eyebrow{font-size:8px;letter-spacing:1.2px}.brand h1{font-size:18px}.header-actions .save-status{display:none}.header-actions{gap:7px}.header-actions .button{padding:9px 12px}.header-actions .button svg{display:none}.studio{grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 82px)}.editor{padding:24px 17px}.workspace{padding:25px 22px}.preview-grid{grid-template-columns:1fr;max-width:480px;gap:35px}.preview-grid.portrait{max-width:275px;gap:40px}.edition-tag{display:none}.workspace-heading{margin:32px 0}.workspace-heading h2{font-size:24px}.orientation-tabs button{padding:8px 12px}.guide-toggle{margin-left:0}.dimensions{margin-left:auto}.export-heading>.small-caps{display:none}.export-card{padding:15px}.export-card strong{font-size:12px}.export-card small{font-size:9px}}
@media(max-width:600px){.header{height:76px;padding:0 16px;gap:10px}.brand{gap:11px}.brand img{width:63px;height:45px}.brand-divider{height:28px}.brand h1{font-size:16px;margin-top:4px}.brand .eyebrow{font-size:7px;letter-spacing:1px}.header-actions .icon-button{width:30px;height:30px;font-size:19px}.header-actions .button{font-size:10px;padding:8px 10px;min-height:33px}.header-actions{gap:5px}.studio{display:flex;flex-direction:column}.workspace{order:0;padding:22px 21px 27px}.editor{order:1;border-right:0;border-top:1px solid var(--line);padding:27px 25px}.editor-intro p{font-size:19px}.editor-intro p br{display:none}.section summary{padding:18px 0}.section-content{grid-template-columns:1fr}.workspace-toolbar{gap:10px}.orientation-tabs button{font-size:11px;padding:8px 12px}.dimensions{font-size:9px;padding-left:9px}.guide-toggle{font-size:10px}.workspace-heading{margin:29px 0}.workspace-heading h2{font-size:24px;margin:8px 0}.workspace-heading>div>p:last-child{font-size:11px}.preview-grid{gap:30px}.preview-grid.portrait{grid-template-columns:1fr 1fr;max-width:100%;gap:18px}.card-label{font-size:7px;letter-spacing:.5px;margin-bottom:10px}.card-label strong{font-size:10px;margin-left:4px}.preview-grid.portrait .card-label>span:last-child{display:none}.preview-note{font-size:10px;margin-top:20px;gap:12px}.sample-notice{margin-top:19px;font-size:10px}.export-panel{margin-top:25px;padding-top:23px}.export-heading{margin-bottom:18px}.export-heading h2{font-size:21px}.export-heading p:last-child{font-size:10px}.export-actions{gap:10px}.export-card{min-height:125px;padding:16px 13px}.export-card strong{font-size:12px}.export-card small{font-size:9px;line-height:1.4}.file-type{font-size:10px;letter-spacing:1px}.download-arrow{right:12px;top:13px}.export-secondary p{display:none}.workspace-footer{margin-top:25px}.font-row p{max-width:230px}.settings-actions .button{font-size:12px}.settings-actions{margin-top:5px}.save-status{font-size:10px}.toast{bottom:19px}}
.alignment-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.alignment-buttons .button{min-height:35px;padding:8px 3px;font-size:11px;white-space:nowrap}
.alignment-buttons button[aria-pressed=true]{background:#E9DFD2;border-color:#AB8C6E;color:#65482F}
.component-control{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:7px 10px;align-items:center}
.component-control>label{line-height:1.5}
.component-control>input[type=range]{grid-column:1/-1;width:100%;height:19px;margin:0;accent-color:#4C584A;cursor:pointer}
.percent-input{display:flex;align-items:center;border:1px solid #D8D7CE;border-radius:4px;background:var(--white);padding-right:8px;gap:2px}
.component-control .percent-input input[type=number]{height:31px;min-height:0;padding:5px 4px 5px 7px;border:0;border-radius:4px;background:transparent;text-align:right;font-size:12px}
.percent-input>span{font-size:10px;color:var(--muted)}
.percent-input:focus-within{border-color:#9F785B}
.percent-input input:focus{box-shadow:none}
/* Keep the editor and canvas in separate scroll areas on two-column screens. */
@media(min-width:601px){
  body{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
  .header{flex-shrink:0}
  .studio{flex:1;min-height:0;overflow:hidden}
  .editor,.workspace{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
}
.editor:focus-visible,.workspace:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media print{.suite-return{display:none!important}}
