@charset "UTF-8";
:root{font-family:"Pretendard","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;color:#242837;background:#f6f7fb;font-synthesis:none;--accent:#3952e8;--line:#e7e9f0;--muted:#858b9c;--panel:#fff}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a9b4ff;outline-offset:3px}button svg,span[data-icon] svg{width:18px;height:18px;display:block;flex-shrink:0}button svg{pointer-events:none}[hidden]{display:none!important}h1,h2,p{margin:0}a{text-decoration:none;color:inherit}
.topbar{height:82px;padding:0 34px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fff;gap:20px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand strong{font-size:22px;letter-spacing:-1px}.brand-sub{font-size:14px;color:#9297a5;border-left:1px solid var(--line);padding-left:14px;margin-left:2px}.brand-mark{height:33px;width:33px;border-radius:10px;background:var(--accent);display:flex;gap:4px;align-items:center;justify-content:center;box-shadow:0 3px 7px #3952e822}.brand-mark i{width:6px;height:16px;background:white;border-radius:2px}.brand-mark i:last-child{height:11px}.header-actions{display:flex;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:42px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.4;transition:background .15s,box-shadow .15s;border:1px solid transparent}.button.primary{background:var(--accent);color:#fff;box-shadow:0 3px 8px #3952e81a}.button.primary:hover{background:#2d43cc}.button.secondary{background:white;border-color:#dfe2eb}.button.secondary:hover{background:#f6f7fc}.button.small{min-height:35px;padding:7px 10px;font-size:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #e2e5ed;border-radius:8px;background:#fff;flex-shrink:0}.icon-button:hover{background:#edf0ff;color:var(--accent)}.text-button{border:0;background:none;padding:5px 0;color:var(--accent);font-size:14px;display:inline-flex;align-items:center;gap:6px}.danger{color:#d45359}.eyebrow{display:block;font-size:12px;letter-spacing:1.5px;font-weight:700;color:#969dae}
.workspace{display:grid;grid-template-columns:274px minmax(330px,1fr) 288px;min-height:calc(100vh - 82px);max-width:1800px;margin:auto;align-items:start}.panel{background:var(--panel)}.settings{border-right:1px solid var(--line);padding:30px 23px;min-height:calc(100vh - 82px)}.panel-heading h1{font-size:24px;letter-spacing:-1.3px;margin-top:9px}.panel-heading p{font-size:14px;color:#8b90a0;line-height:1.6;margin-top:9px}.settings-section{padding-top:25px;margin-top:25px;border-top:1px solid var(--line)}.settings-section h2{font-size:15px;margin-bottom:15px;letter-spacing:-.3px}.segmented{display:flex;background:#f1f3f8;border-radius:8px;padding:4px;gap:3px}.segmented button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;border:0;background:transparent;border-radius:5px;padding:8px 4px;color:#7d8496;font-size:14px;font-weight:600;line-height:1.35}.segmented button.active{color:#3149d9;background:#fff;box-shadow:0 1px 4px #18295812}.field{margin-top:18px}.field>label{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#697084;margin-bottom:8px}.field input:not([type=range]),.field select,.field textarea,.url-input input{width:100%;border:1px solid #dfe3ed;border-radius:8px;background:#fff;color:#303748;padding:10px 11px;min-height:41px;font-size:14px;line-height:1.5}.field input::placeholder,.field textarea::placeholder,.url-input input::placeholder{color:#a4aab8}.field textarea{resize:vertical;min-height:72px;font-size:16px;line-height:1.7}.field input:focus,.field textarea:focus,.field select:focus,.url-input input:focus{border-color:#889aff;outline:2px solid #dce2ff;outline-offset:0}.logo-line{display:flex;align-items:center;gap:9px;margin-top:10px}.logo-line .text-button{font-size:12px;white-space:nowrap}.setting-line{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:32px;font-size:14px;margin-bottom:14px}.switch{display:flex;cursor:pointer;flex-shrink:0}.switch input{position:absolute;opacity:0;width:38px;height:22px}.switch>span{width:37px;height:22px;background:#c9cdd8;border-radius:20px;position:relative;transition:background .15s}.switch>span:after{content:"";width:16px;height:16px;position:absolute;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:after{transform:translateX(15px)}.switch input:focus-visible+span{outline:3px solid #a9b4ff;outline-offset:3px}.background-options{display:flex;gap:8px;margin-bottom:20px}.background-option{flex:1;display:flex;align-items:center;gap:8px;justify-content:center;padding:11px 8px;background:#fff;border:1px solid #dfe3ed;border-radius:8px;font-size:14px}.background-option.active{border-color:#7f93ff;background:#f4f6ff;box-shadow:0 0 0 1px #7f93ff}.swatch{width:16px;height:16px;border:1px solid #ddd;border-radius:50%}.swatch.white{background:#fff}.swatch.black{background:#17191d;border-color:#17191d}.row-count{display:flex;align-items:center;gap:8px}.row-count strong{font-size:16px;color:var(--accent)}.row-count>span{color:#9197a6}.row-count .icon-button{margin-left:5px}.help-note{display:flex;gap:9px;background:#f3f5ff;border-radius:9px;padding:13px 11px;margin-top:23px;color:#5c6baf}.help-note svg{margin-top:2px}.help-note p{font-size:12px;line-height:1.8;letter-spacing:-.15px}kbd{font-family:inherit;white-space:nowrap;background:#fff;border:1px solid #dce1f1;border-radius:4px;padding:0 4px;font-size:11px;color:#64708c}.export-spec{display:flex;gap:10px;margin-top:25px;color:#9aa0af}.export-spec>div{display:flex;flex-direction:column;gap:6px}.export-spec strong{font-size:12px;color:#6e768a;font-weight:600}.export-spec div>span{font-size:12px;line-height:1.6}
.stage{padding:25px 39px 32px;min-width:0}.stage-toolbar{max-width:665px;margin:0 auto 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-label{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}.tag{font-size:11px;color:#9098ab;background:#e9ecf4;padding:3px 5px;border-radius:4px;font-weight:600}.tiny-sheet{display:block;width:12px;height:16px;border:1.5px solid #7c85a0;border-radius:2px}.stage-hint{font-size:12px;color:#9ba1b1}.paper-wrap{max-width:665px;position:relative;margin:auto}.paper{width:100%;position:relative;aspect-ratio:1414/2000;background:#fff;box-shadow:0 8px 40px #323f6812,0 1px 4px #323f6809;border-radius:1px}#sheetCanvas{display:block;width:100%;height:100%}.cell-overlays{position:absolute;inset:0}.cell-hit{position:absolute;padding:0;border:0;border-radius:0;background:transparent;touch-action:none}.cell-hit.selected{outline:2px solid #6980ff;outline-offset:4px;z-index:3}.cell-hit:focus-visible{outline:3px solid #a9b4ff;outline-offset:4px}.cell-hit.dragover{background:#3952e81a;outline:3px dashed #6980ff}.cell-hit .placeholder{position:absolute;inset:5px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;color:#b3b8c5;font-size:clamp(8px,.85vw,13px);line-height:1.35;pointer-events:none}.cell-hit .placeholder svg{width:20px;height:20px;stroke-width:1.4}.cell-hit.selected .placeholder{color:#8190d0}.paper.dark .placeholder{color:#5f6570}.cell-hit.has-image{cursor:grab}.cell-hit.has-image.dragging{cursor:grabbing}.cell-hit .name-placeholder{position:absolute;bottom:-1px;left:0;width:100%;color:#adb3c1;font-size:clamp(8px,.8vw,12px);pointer-events:none}.row-actions{position:absolute;inset:0;pointer-events:none}.remove-row{pointer-events:auto;position:absolute;right:-31px;transform:translateY(-50%);width:24px;height:25px;border:0;border-radius:6px;background:transparent;color:#b6bdce;display:flex;align-items:center;justify-content:center;padding:3px}.remove-row:hover,.remove-row:focus-visible{color:#d45359;background:#ffecee}.remove-row svg{width:15px;height:15px}.add-row{display:flex;align-items:center;justify-content:center;gap:7px;max-width:665px;margin:19px auto 0;width:100%;min-height:41px;border:1px dashed #cdd4e4;border-radius:8px;background:#ffffff65;color:#788298;font-size:14px}.add-row:hover{border-color:#8294ff;color:var(--accent);background:#eef1ff}.stage-footnote{max-width:665px;font-size:12px;color:#a3a9b8;line-height:1.6;text-align:center;margin:12px auto 0}
.editor{border-left:1px solid var(--line);padding:30px 21px;position:sticky;top:0;min-height:calc(100vh - 82px)}.editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.editor-header h2{font-size:21px;letter-spacing:-.8px;margin-top:8px}.selection-dot{width:9px;height:9px;border:2px solid #8ca0ff;background:#eef1ff;border-radius:2px}.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:100%;padding:23px 8px;margin-top:18px;background:#f9faff;border:1px dashed #cbd4ed;border-radius:10px;color:#526ad7}.upload-zone:hover,.upload-zone.dragover{background:#eff2ff;border-color:#8294ff}.upload-zone .upload-icon{width:45px;height:45px;border-radius:11px;background:#eaf0ff;display:flex;align-items:center;justify-content:center;margin-bottom:3px}.upload-zone .upload-icon svg{width:24px;height:24px}.upload-zone strong{font-size:14px}.upload-zone>span:not(.upload-icon){font-size:12px;color:#97a0b7;letter-spacing:-.5px}.upload-zone small{font-size:11px;color:#a6adbe}.paste-note{text-align:center;margin-top:12px;color:#9aa2b4;font-size:11px}.url-details{margin-top:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.url-details summary{font-size:12px;cursor:pointer;color:#8c96ad}.url-input{display:flex;gap:5px;margin-top:10px}.url-input input{min-width:0;font-size:12px;padding:8px}.url-details p{font-size:11px;line-height:1.6;color:#a0a8ba;margin-top:7px}.image-tools{padding-top:1px}.image-tools .field>label{color:#697084}.image-tools .field>label span{font-size:12px;color:#8b96b0}.field input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.two-buttons{display:flex;gap:7px;margin-top:12px}.two-buttons>*{flex:1}.muted{color:#9ba4b9;font-size:12px;line-height:1.6;margin:12px 0}.image-tools>.text-button{font-size:12px}.name-editor{padding-top:18px;border-top:1px solid var(--line);margin-top:21px}.editor-tip{margin-top:30px;padding:16px 14px;border-radius:8px;background:#f6f7fb}.editor-tip strong{font-size:12px;color:#7e889c}.editor-tip p{font-size:12px;color:#a0a7b7;margin-top:8px;line-height:1.8}.text-meta{display:flex;justify-content:space-between;gap:5px;margin-top:7px;font-size:11px;color:#9aa2b4;line-height:1.5}.text-meta>span:last-child{white-space:nowrap}.format-line{display:flex;align-items:center;gap:10px;margin-top:18px}.color-field{display:flex;align-items:center;gap:7px;font-size:14px;color:#697084;white-space:nowrap}.color-field input{border:0;padding:0;width:27px;height:27px;background:transparent;cursor:pointer}.format-line .text-button{font-size:11px;margin-left:auto}.format-button{border:1px solid #dfe3ed;background:white;width:33px;height:33px;border-radius:6px;font-size:17px;flex-shrink:0}.format-button.active{background:#edf0ff;border-color:#8ca0ff;color:var(--accent)}.align-group svg{width:17px;height:17px}
.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);background:#25304a;color:#fff;font-size:14px;padding:13px 20px;border-radius:10px;box-shadow:0 5px 20px #0002;max-width:calc(100vw - 24px);width:max-content;line-height:1.6}.preview-dialog{border:0;padding:0;border-radius:16px;width:min(850px,calc(100vw - 32px));height:min(94vh,1100px);max-height:94vh;box-shadow:0 22px 100px #1115;overflow:hidden}.preview-dialog[open]{display:flex;flex-direction:column}.preview-dialog::backdrop{background:#1f2b4b88;backdrop-filter:blur(3px)}.dialog-header{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-header h2{font-size:19px;letter-spacing:-.6px}.dialog-header p{font-size:12px;color:#9aa2b4;margin-top:6px}.dialog-header .icon-button{border:0}.preview-image-wrap{overflow:auto;background:#e9ecf3;flex:1;padding:25px;min-height:0;text-align:center}.preview-image-wrap img{display:block;width:min(100%,560px);height:auto;margin:auto;box-shadow:0 4px 15px #0001;user-select:auto}.dialog-footer{padding:17px 23px;background:white;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.dialog-footer>span{font-size:12px;color:#98a1b3;max-width:270px;line-height:1.6}.dialog-footer>div{display:flex;gap:8px}
@media(min-width:1600px){.workspace{grid-template-columns:300px minmax(330px,1fr) 310px}.settings{padding:34px 28px}.editor{padding:34px 25px}.stage{padding-top:30px}}
@media(max-width:1180px){.workspace{grid-template-columns:230px minmax(260px,1fr) 245px}.settings{padding:25px 17px}.editor{padding:25px 16px}.stage{padding:25px 32px}.panel-heading h1{font-size:22px}.panel-heading p{font-size:12px}.brand-sub{display:none}.stage-hint{display:none}.logo-line{gap:5px}.logo-line .button{font-size:12px}.format-line{gap:6px}.format-line .text-button{font-size:10px}.color-field{font-size:12px}.button{padding:10px 12px}.help-note{padding:11px 8px}.help-note p{font-size:11px}}
@media(max-width:940px){.workspace{grid-template-columns:240px minmax(260px,1fr);align-items:start}.editor{grid-column:1;grid-row:2;position:static;border-left:0;border-right:1px solid var(--line);min-height:0;border-top:1px solid var(--line)}.settings{min-height:0;grid-column:1;grid-row:1}.stage{grid-column:2;grid-row:1 / span 2;position:sticky;top:0;padding:25px 35px}.settings .help-note,.settings .export-spec{display:none}.cell-hit .placeholder{font-size:11px}.cell-hit .name-placeholder{font-size:10px}.editor-tip{display:none}}
@media(max-width:650px){.topbar{height:auto;min-height:73px;padding:14px 16px;gap:10px;flex-wrap:wrap}.brand{gap:8px}.brand strong{font-size:19px}.brand-mark{width:29px;height:29px;border-radius:8px}.header-actions{gap:6px}.header-actions .button{font-size:12px;min-height:36px;padding:8px 9px;gap:5px}.header-actions svg{width:15px;height:15px}.workspace{display:flex;flex-direction:column}.settings{width:100%;border-right:0;padding:22px 19px 16px;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.panel-heading{grid-column:1 / -1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.panel-heading .eyebrow{display:none}.panel-heading h1{font-size:20px;margin-top:0}.panel-heading p{font-size:12px;margin-top:0}.settings-section{margin-top:15px;padding-top:17px}.settings-section h2{font-size:14px;margin-bottom:12px}.settings .field{margin-top:12px}.settings .field>label,.setting-line{font-size:12px}.settings .field input,.settings .field textarea{font-size:13px;min-height:36px;padding:8px}.segmented button{font-size:12px}.logo-line{flex-wrap:wrap}.logo-line .button{font-size:11px;padding:6px;min-height:31px}.logo-line .text-button{font-size:11px}.background-option{font-size:12px;padding:10px 5px}.background-options{gap:6px}.stage{position:static;width:100%;padding:19px 30px 22px;border-top:1px solid var(--line)}.stage-toolbar{margin-bottom:17px}.stage-hint{display:block;font-size:11px}.paper-wrap{max-width:560px}.remove-row{right:-25px;width:21px}.cell-hit .placeholder{font-size:clamp(7px,2.2vw,12px)}.cell-hit .name-placeholder{font-size:clamp(7px,2.1vw,11px)}.cell-hit .placeholder svg{width:17px;height:17px}.stage-footnote{font-size:11px}.editor{position:static;width:100%;padding:23px 20px;min-height:0;border:0;border-top:1px solid var(--line)}.editor-header{margin-bottom:17px}.editor-header .eyebrow{font-size:11px}.editor-header h2{font-size:20px}.editor .segmented button{font-size:14px}.upload-zone{padding:22px 10px}.upload-zone>span:not(.upload-icon){font-size:14px}.upload-zone small,.paste-note{font-size:12px}.editor-tip{display:none}.format-line .text-button{font-size:12px}.color-field{font-size:14px}.dialog-footer{padding:13px;flex-direction:column}.dialog-footer>span{max-width:none;font-size:11px}.dialog-footer>div{width:100%}.dialog-footer .button{flex:1}.preview-image-wrap{padding:15px}.dialog-header{padding:15px}.preview-dialog{width:calc(100vw - 20px);max-height:95vh;height:95vh}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.cell-hit.empty{background:#f6f7fa}.paper.dark .cell-hit.empty{background:#181b22}.cell-hit .name-placeholder{top:calc(100% + 4px);bottom:auto}.cell-hit.selected{outline-offset:3px}
.paper{aspect-ratio:1/2}.paper-wrap,.stage-toolbar,.add-row,.stage-footnote{max-width:560px}.button:disabled,.icon-button:disabled,.add-row:disabled{cursor:not-allowed;opacity:.45}.add-row:disabled:hover{background:#ffffff65;color:#788298;border-color:#cdd4e4}
