:root{--ink:#20242c;--muted:#777b84;--line:#e5e3dd;--paper:#fff;--canvas:#f5f4f0;--accent:#e66a2c;--accent-dark:#bd4917;--editor:#20242c;--editor-line:#343944;--mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}html,body{min-height:100%}body{color:var(--ink);background:var(--canvas);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.workspace-shell{flex-direction:column;width:min(100%,1680px);height:100vh;min-height:760px;margin:0 auto;padding:0 28px;display:flex}.workspace-header{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:82px;display:grid}.workspace-brand{align-items:center;gap:12px;display:flex}.workspace-brand-mark{color:#fff;background:var(--ink);border-radius:12px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 7px 18px #20242c29}.workspace-brand-mark svg{width:28px;height:28px}.workspace-brand>div{flex-direction:column;gap:3px;display:flex}.workspace-brand strong{letter-spacing:-.04em;font-size:18px}.workspace-brand div span{color:var(--muted);font-family:var(--mono);letter-spacing:.13em;font-size:9px}.view-switch{border:1px solid var(--line);background:#ebeae5;border-radius:11px;padding:4px;display:flex}.view-switch button{color:#71747c;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;min-width:96px;height:36px;padding:0 16px;font-size:13px;font-weight:650;display:flex}.view-switch button.is-active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #20242c14}.view-switch svg,.file-button svg{width:17px;height:17px}.file-actions{justify-content:flex-end;gap:9px;display:flex}.file-button{border-radius:9px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 15px;font-size:12px;font-weight:700;transition:border-color .15s,background .15s,transform .15s;display:inline-flex}.file-button:hover{transform:translateY(-1px)}.file-button-secondary{color:#4f535c;background:#fff;border:1px solid #d9d7d0}.file-button-secondary:hover{border-color:#b8b5ad}.file-button-primary{border:1px solid var(--ink);color:#fff;background:var(--ink)}.file-button-primary:hover{background:#343944}.document-toolbar{justify-content:space-between;align-items:center;gap:20px;min-height:58px;display:flex}.document-identity,.document-tools{align-items:center;gap:12px;display:flex}.document-identity strong{text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-size:12px;overflow:hidden}.document-identity>span:last-child{color:var(--muted);font-family:var(--mono);font-size:10px}.document-dot{background:var(--accent);border-radius:50%;width:6px;height:6px}.source-toggle{color:#494d56;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:12px;font-weight:650;display:inline-flex}.source-toggle input{width:15px;height:15px;accent-color:var(--accent);margin:0}.save-state{color:var(--muted);padding-left:13px;font-size:10px;position:relative}.save-state:before{content:"";background:#55a58b;border-radius:50%;width:5px;height:5px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.save-state.is-saving:before,.save-state.is-loading:before{background:#d5a249}.save-state.is-error{color:#b4422f}.save-state.is-error:before{background:#b4422f}.file-error{color:#a33b25;background:#fff5f0;border:1px solid #f0c7b9;border-radius:8px;margin:0 0 12px;padding:10px 14px;font-size:12px}.workspace-grid{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;height:calc(100vh - 188px);min-height:540px;display:grid}.workspace-grid.mode-rendered{grid-template-columns:minmax(0,1fr)}.workspace-pane{border:1px solid var(--line);background:var(--paper);border-radius:15px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 8px 30px #20242c09}.source-pane{border-color:var(--editor);background:var(--editor)}.pane-header{border-bottom:1px solid var(--line);color:var(--muted);background:#fafaf8;flex:0 0 47px;justify-content:space-between;align-items:center;gap:16px;padding:0 18px;font-size:10px;display:flex}.source-pane .pane-header{border-color:var(--editor-line);color:#949aa6;background:#252a33}.pane-header>div{align-items:center;gap:9px;display:flex}.pane-header strong{color:#3b4049;font-size:11px}.source-pane .pane-header strong{color:#eef0f4}.pane-index{color:var(--accent);font-family:var(--mono);font-size:9px}.source-editor{color:#e6e9ef;background:var(--editor);caret-color:#ff9b65;width:100%;min-height:0;font-family:var(--mono);resize:none;tab-size:2;white-space:pre-wrap;border:0;border-radius:0 0 14px 14px;outline:none;flex:1;padding:25px 27px 60px;font-size:13px;line-height:1.9;display:block;overflow:auto}.source-editor::placeholder{color:#707786}.source-editor::selection{color:#fff;background:#75503f}.markdown-preview-scroll{scroll-behavior:auto;flex:1;min-height:0;overflow:auto}.markdown-preview{overflow-wrap:break-word;width:min(100%,850px);min-height:100%;margin:0 auto;padding:38px 48px 90px;font-size:15px;line-height:1.8}.mode-split .markdown-preview{padding:30px 34px 80px}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{color:#20242c;letter-spacing:-.035em;margin:1.5em 0 .65em;font-weight:750;line-height:1.28}.markdown-preview h1:first-child,.markdown-preview h2:first-child,.markdown-preview h3:first-child,.markdown-preview p:first-child{margin-top:0}.markdown-preview h1{border-bottom:1px solid var(--line);padding-bottom:.4em;font-size:38px}.mode-split .markdown-preview h1{font-size:32px}.markdown-preview h2{border-bottom:1px solid #efede8;padding-bottom:.35em;font-size:26px}.markdown-preview h3{font-size:20px}.markdown-preview p{margin:0 0 1.15em}.markdown-preview a,.rendered-link{color:#bd4e1d;text-underline-offset:3px;-webkit-text-decoration:underline #e8bca6;text-decoration:underline #e8bca6}.markdown-preview strong{font-weight:750}.markdown-preview p code,.markdown-preview li code,.markdown-preview td code,.markdown-preview th code{color:#b44b20;font-family:var(--mono);background:#fff5ef;border:1px solid #ebe4de;border-radius:5px;padding:.15em .4em;font-size:.88em}.markdown-preview ul,.markdown-preview ol{margin:0 0 1.25em;padding-left:1.55em}.markdown-preview li{margin:.3em 0;padding-left:.2em}.markdown-preview li::marker{color:#9b9da3}.list-item-content>p:first-child,.list-item-content>p:last-child{margin-bottom:.35em}.list-item-content>ul,.list-item-content>ol{margin-top:.35em}.task-list-item{align-items:flex-start;gap:9px;margin-left:-1.4em;list-style:none;display:flex}.task-list-item input{width:15px;height:15px;accent-color:var(--accent);flex:none;margin:.48em 0 0}.task-list-item .list-item-content{flex:1;min-width:0}.markdown-preview blockquote{color:#6f625b;background:#fffaf6;border-left:3px solid #e8a17c;margin:1.4em 0;padding:7px 20px}.markdown-preview blockquote p:last-child{margin-bottom:0}.markdown-preview hr{background:var(--line);border:0;height:1px;margin:2.4em 0}.markdown-preview img{border-radius:9px;max-width:100%;height:auto;margin:1em 0;display:block}.table-scroll{max-width:100%;margin:1.4em 0;overflow-x:auto}.markdown-preview table{border-spacing:0;border-collapse:collapse;width:100%;font-size:13px}.markdown-preview th,.markdown-preview td{border-bottom:1px solid var(--line);vertical-align:top;min-width:80px;padding:10px 13px}.markdown-preview th{color:#3d4149;background:#f7f6f2;font-weight:750}.markdown-preview thead th:first-child{border-radius:7px 0 0}.markdown-preview thead th:last-child{border-radius:0 7px 0 0}.code-block{color:#dfe4ec;font-family:var(--mono);tab-size:2;background:#20242c;border-radius:12px;margin:1.4em 0;padding:40px 20px 18px;font-size:12px;line-height:1.7;position:relative;overflow-x:auto}.code-block:before{color:#848b99;content:attr(data-language);letter-spacing:.1em;text-transform:uppercase;font-size:9px;position:absolute;top:13px;left:20px}.code-block code{font:inherit}.code-line{white-space:pre;min-height:1.7em;padding:0 5px;display:block}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-name,.hljs-tag{color:#ff9c9c}.hljs-string,.hljs-attr,.hljs-attribute,.hljs-template-tag,.hljs-template-variable{color:#b9dba5}.hljs-number,.hljs-symbol,.hljs-bullet,.hljs-link{color:#e8bd83}.hljs-title,.hljs-title.function_,.hljs-title.class_,.hljs-type{color:#8fc9ee}.hljs-comment,.hljs-quote,.hljs-meta{color:#7e8795}.hljs-built_in,.hljs-variable,.hljs-params{color:#d2b6e8}.raw-html-block{color:#875f4c;font-family:var(--mono);white-space:pre-wrap;background:#fffaf7;border:1px dashed #e1c4b5;border-radius:9px;margin:1.3em 0;padding:16px;font-size:12px;overflow:auto}.raw-html-inline{color:#875f4c;font-family:var(--mono);font-size:.9em}.footnote-definition{border-top:1px solid var(--line);color:var(--muted);margin-top:2em;padding-top:1em;font-size:12px}.markdown-preview [data-source-line]{cursor:text}.markdown-preview span.source-line:not(.inline-source-editor):hover,.markdown-preview tr.source-line:hover>td,.markdown-preview tr.source-line:hover>th,.markdown-preview h1.source-line:hover,.markdown-preview h2.source-line:hover,.markdown-preview h3.source-line:hover,.markdown-preview hr.source-line:hover,.markdown-preview img.source-line:hover{background-color:#fff0e6}.markdown-preview .source-line.is-current{box-shadow:inset 2px 0 0 var(--accent);background-color:#fff4ec}.inline-source-editor{color:inherit;box-shadow:none;caret-color:var(--accent);cursor:text;font:inherit;letter-spacing:inherit;white-space:pre-wrap;background:0 0;border:0;outline:none;margin:0;padding:0;display:inline}.inline-source-editor:focus-visible{outline:none}.empty-preview{color:#92959b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:300px;display:flex}.empty-preview strong{color:#62666e;font-size:15px}.empty-preview span{font-size:12px}.mobile-pane-tabs{display:none}.workspace-footer{color:#92938f;justify-content:space-between;align-items:center;gap:20px;min-height:48px;font-size:9px;display:flex}@media (max-width:1050px){.workspace-header{gap:14px}.file-button{padding:0 11px}.mode-split .markdown-preview{padding-left:25px;padding-right:25px}.pane-header>span{display:none}}@media (max-width:800px){.workspace-shell{height:100dvh;min-height:740px;padding:0 14px}.workspace-header{grid-template-columns:1fr auto;gap:12px;padding:14px 0}.view-switch{grid-area:2/1/auto/-1;justify-self:stretch}.view-switch button{flex:1;justify-content:center}.file-button{height:38px}.file-button span{display:none}.document-toolbar{min-height:53px}.document-tools{gap:9px}.save-state{max-width:90px;line-height:1.3}.workspace-grid{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:calc(100vh - 239px);min-height:500px}.workspace-grid.mode-rendered{grid-template-rows:minmax(0,1fr)}.mobile-pane-tabs{gap:6px;display:flex}.mobile-pane-tabs button{border:1px solid var(--line);height:34px;color:var(--muted);background:#ebeae5;border-radius:8px;flex:1;font-size:11px;font-weight:700}.mobile-pane-tabs button.is-active{color:#fff;background:var(--ink)}.workspace-pane.mobile-hidden{display:none}.markdown-preview,.mode-split .markdown-preview{padding:28px 25px 70px}.workspace-footer{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:14px 0}}@media (max-width:480px){.workspace-brand-mark{width:37px;height:37px}.workspace-brand strong{font-size:16px}.workspace-brand div span{display:none}.document-identity{gap:8px}.document-identity strong{max-width:110px}.save-state{display:none}.markdown-preview h1{font-size:30px}.markdown-preview h2{font-size:23px}.source-editor{padding:20px 19px 50px;font-size:12px}}.analytics-consent{z-index:50;background:#fff;border:1px solid #dedbd4;border-radius:13px;align-items:center;gap:24px;width:min(100vw - 28px,620px);padding:18px 20px;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 18px 60px #20242c2e}.analytics-consent strong{font-size:13px}.analytics-consent p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.6}.analytics-consent-actions{flex:none;gap:7px;display:flex}.analytics-consent-actions button{color:#555960;background:#fff;border:1px solid #d9d7d0;border-radius:7px;height:35px;padding:0 14px;font-size:11px;font-weight:700}.analytics-consent-actions .consent-accept{border-color:var(--ink);color:#fff;background:var(--ink)}@media (max-width:600px){.analytics-consent{flex-direction:column;align-items:stretch;gap:14px;bottom:14px;right:14px}.analytics-consent-actions{justify-content:flex-end}}
