@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.h-full{height:100%}.min-h-full{min-height:100%}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--bg:#f4f5f7;--panel:#fff;--border:#e2e5ea;--text:#1f2430;--muted:#6b7280;--accent:#2f6fed;--accent-soft:#e8f0ff;--danger:#d4463a;--warn:#b8860b}*{box-sizing:border-box}html,body{height:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:Noto Sans KR,Pretendard,system-ui,-apple-system,Arial,sans-serif;font-size:14px}.muted{color:var(--muted)}.small{font-size:12px}.btn{border:1px solid var(--border);background:var(--panel);color:var(--text);cursor:pointer;border-radius:7px;align-items:center;gap:4px;padding:7px 12px;font-size:13px;line-height:1;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover{border-color:var(--accent)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:#2358c9}.btn.ghost{background:0 0}.btn.danger{color:var(--danger)}.btn.danger:hover{border-color:var(--danger)}.btn.small{padding:4px 8px;font-size:12px}input,textarea,select{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:7px;width:100%;padding:8px 10px;font-family:inherit;font-size:13px}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.field{flex-direction:column;gap:5px;margin-bottom:12px;display:flex}.field-label{color:#3a4150;align-items:center;gap:5px;font-size:12px;font-weight:600;display:inline-flex}.tip-wrap{outline:none;display:inline-flex;position:relative}.tip-icon{color:#4a5160;cursor:help;background:#d6dbe4;border-radius:50%;justify-content:center;align-items:center;width:15px;height:15px;font-size:10px;font-weight:700;display:inline-flex}.tip-bubble{z-index:50;color:#f3f4f6;background:#1f2430;border-radius:8px;width:240px;padding:8px 10px;font-size:12px;font-weight:400;line-height:1.5;position:absolute;top:130%;left:0;box-shadow:0 6px 18px #0003}.dash{max-width:920px;margin:0 auto;padding:32px 20px 80px}.dash-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dash-header-actions{align-items:center;gap:10px;display:flex}.dash-header h1{margin:0 0 4px;font-size:26px}.card{background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-top:20px;padding:20px}.card h2{margin:0 0 14px;font-size:16px}.type-choice{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.type-choice .seg{width:fit-content}.fxl-size{grid-template-columns:1fr 1fr;gap:8px;display:grid}.create-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.template-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:14px 0;display:grid}.template-pick,.style-pick{text-align:left;border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:9px;flex-direction:column;gap:4px;padding:12px;display:flex}.template-pick.selected,.style-pick.selected{border-color:var(--accent);background:var(--accent-soft)}.style-pick{width:100%;margin-bottom:8px}.project-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.project-item{border:1px solid var(--border);border-radius:10px;gap:14px;padding:12px;display:flex}.project-cover{background:#eef0f3;border-radius:6px;flex:none;justify-content:center;align-items:center;width:64px;height:90px;display:flex;overflow:hidden}.project-cover img{object-fit:cover;width:100%;height:100%}.cover-placeholder{color:var(--muted);text-align:center;font-size:11px}.project-meta{flex-direction:column;gap:4px;display:flex}.project-actions{gap:6px;margin-top:auto;display:flex}.workspace{flex-direction:column;height:100vh;display:flex}.topbar{background:var(--panel);border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:10px 14px;display:flex}.project-title-input{background:0 0;border:1px solid #0000;width:auto;min-width:220px;font-weight:600}.project-title-input:hover{border-color:var(--border)}.spacer{margin-left:auto}.save-status{color:var(--muted);background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:12px}.save-status.saved{color:#1a9c4e}.save-status.saving{color:var(--muted)}.save-status.error{color:#fff;background:var(--danger);cursor:pointer;font-weight:600}.workspace-body{flex:1;grid-template-columns:230px 1fr 320px;min-height:0;display:grid}.left-panel{border-right:1px solid var(--border);background:var(--panel);padding:12px;overflow-y:auto}.left-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.toc-depth{align-items:center;gap:6px;margin-bottom:10px;display:flex}.toc-depth select{flex:1;padding:4px 6px;font-size:12px}.chapter-list{margin:0;padding:0;list-style:none}.chapter-name.toc-excluded{color:var(--muted)}.toc-badge{color:var(--muted);background:#e3e7ee;border-radius:4px;margin-left:6px;padding:1px 4px;font-size:9px}.chapter-item{border-radius:7px;flex-wrap:wrap;align-items:center;margin-bottom:3px;display:flex}.chapter-item.active{background:var(--accent-soft)}.ch-toggle{cursor:pointer;width:20px;height:28px;color:var(--muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:11px;display:flex}.ch-toggle:hover{color:var(--text)}.ch-toggle-placeholder{flex-shrink:0;width:20px}.chapter-name{text-align:left;cursor:pointer;min-width:0;color:var(--text);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;flex:1;padding:8px 8px 8px 0;font-size:13px;overflow:hidden}.sub-count{background:var(--border);color:var(--muted);border-radius:8px;margin-left:4px;padding:0 5px;font-size:10px;font-weight:600}.chapter-controls{flex-shrink:0;gap:2px;width:100%;padding:0 4px 4px;display:none}.chapter-item:hover .chapter-controls,.chapter-item.active .chapter-controls{display:flex}.chapter-controls button{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:5px;padding:4px 5px;font-size:12px}.chapter-controls button:hover:not(:disabled){color:var(--text);background:#e3e7ee}.chapter-controls button:disabled{opacity:.3;cursor:default}.sub-chapter-list{border-left:2px solid var(--accent-soft);margin:0 0 4px 14px;padding:2px 0 2px 10px;list-style:none}.sub-chapter-item .chapter-name{color:var(--muted);padding:4px 8px;font-size:12px}.sub-chapter-item.active .chapter-name{color:var(--text)}.sub-chapter-item .chapter-controls{padding:0 4px 3px}.center-panel{flex-direction:column;padding:18px 22px;display:flex;overflow-y:auto}.chapter-title-row{align-items:center;gap:10px;margin-bottom:12px;display:flex}.chapter-title-row .field-label{white-space:nowrap;flex-shrink:0}.chapter-title-input{font-size:15px;font-weight:600}.inline-warning{color:var(--warn);background:#fff7e6;border:1px solid #f0d294;border-radius:8px;margin-bottom:12px;padding:8px 12px;font-size:12px}.view-toggle{align-items:center;gap:8px;margin-bottom:12px;display:flex}.code-wrap{flex-direction:column;flex:1;min-height:0;display:flex}.code-note{margin:0 0 8px}.code-editor{border:1px solid var(--border);border-radius:10px;flex:1;min-height:320px;overflow:hidden}.editor-shell{border:1px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;flex:1;display:flex;overflow:hidden}.editor-toolbar{border-bottom:1px solid var(--border);z-index:5;background:#fafbfc;flex-wrap:wrap;align-items:center;gap:3px;padding:8px;display:flex;position:sticky;top:0}.tb-btn{cursor:pointer;min-width:30px;height:30px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;padding:0 8px;font-size:13px}.tb-btn:hover{background:#eef0f3}.tb-active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.tb-sep{background:var(--border);width:1px;height:20px;margin:0 4px}.editor-canvas{flex:1;overflow-y:auto}.editor-loading{text-align:center;color:var(--muted);padding:40px}.tiptap-content{outline:none;min-height:360px;padding:24px 28px;line-height:1.75}.tiptap-content:focus{outline:none}.tiptap-content h1{margin:.8em 0 .4em;font-size:1.7em;font-weight:700}.tiptap-content h2{margin:.8em 0 .4em;font-size:1.4em;font-weight:700}.tiptap-content h3{margin:.7em 0 .3em;font-size:1.18em;font-weight:700}.tiptap-content p{margin:0 0 .6em}.tiptap-content blockquote{color:#555;border-left:4px solid #d0d5dd;margin:1em 0;padding:.3em 1em}.tiptap-content img{border-radius:4px;max-width:100%;height:auto}.tiptap-content ul,.tiptap-content ol{margin:.5em 0;padding-left:1.5em}.tiptap-content pre{color:#e6e6e6;background:#1f2430;border-radius:8px;padding:12px;overflow-x:auto}.tiptap-content hr{border:none;border-top:1px solid #ccc;margin:1.5em 0}.tiptap-content a{color:var(--accent)}.tiptap-content table{border-collapse:collapse;table-layout:fixed;width:100%;margin:1em 0}.tiptap-content th,.tiptap-content td{vertical-align:top;border:1px solid #c8cdd6;padding:6px 8px}.tiptap-content th{background:#f2f4f7;font-weight:700}.tiptap-content .selectedCell{background:var(--accent-soft)}.tiptap-content ruby{background:var(--accent-soft);border-radius:3px;padding:0 2px}.tiptap-content .callout{border-left:4px solid #999;border-radius:8px;margin:1em 0;padding:.7em 1em}.tiptap-content .callout-info{background:#eef4ff;border-left-color:#4a90d9}.tiptap-content .callout-tip{background:#eefaf0;border-left-color:#2faa55}.tiptap-content .callout-warning{background:#fff7e6;border-left-color:#d9a441}.tb-color{cursor:pointer;align-items:center;gap:2px;height:30px;padding:0 4px;font-size:13px;display:inline-flex}.tb-color input[type=color]{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:4px;width:20px;height:20px;padding:0}.tiptap-content figure{text-align:center;margin:1.2em 0}.tiptap-content figure img{max-width:100%;height:auto}.tiptap-content figcaption{color:var(--muted);cursor:pointer;margin-top:.4em;font-size:.85em}.fig-resize-wrap,.img-resize-wrap{max-width:100%;display:inline-block;position:relative}.fig-resize-wrap img,.img-resize-wrap img{width:100%;height:auto;display:block}.fig-resize-handle{background:var(--accent);cursor:nwse-resize;opacity:0;border:2px solid #fff;border-radius:3px;width:14px;height:14px;transition:opacity .15s;position:absolute;bottom:-4px;right:-4px}.fig-resize-wrap:hover .fig-resize-handle,.img-resize-wrap:hover .fig-resize-handle,.ProseMirror-selectednode .fig-resize-handle{opacity:1}.img-resize-container{margin:1em 0}.img-controls{align-items:center;gap:8px;padding:4px 0;display:none}.fig-resize-wrap:hover .img-controls,.img-resize-wrap:hover .img-controls,.ProseMirror-selectednode .img-controls{display:flex}.img-ctrl-group{border:1px solid var(--border);background:var(--panel);border-radius:6px;align-items:center;gap:2px;padding:2px 4px;display:flex}.img-ctrl-btn{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:13px}.img-ctrl-btn:hover{color:var(--text);background:#eef0f3}.img-ctrl-btn.active{background:var(--accent-soft);color:var(--accent)}.img-ctrl-input{border:1px solid var(--border);text-align:center;border-radius:4px;width:48px;padding:2px 4px;font-size:12px}.img-ctrl-label{color:var(--muted);font-size:11px;font-weight:600}.panel-divider{border:none;border-top:1px solid var(--border);margin:16px 0}.opt-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;display:flex}.opt-row input[type=range]{flex:1;max-width:130px}.seg.small button{padding:4px 9px;font-size:11px}.opt-color{align-items:center;gap:6px;display:flex}.opt-color input[type=color]{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:5px;width:30px;height:24px;padding:0}.tiptap-content ruby rt{color:var(--muted);font-size:.6em}.tiptap-content audio,.tiptap-content video{max-width:100%;margin:1em auto;display:block}.tiptap-content audio.ProseMirror-selectednode,.tiptap-content video.ProseMirror-selectednode{outline:2px solid var(--accent)}.tiptap-content{counter-reset:footnote}.tiptap-content .footnote-ref{counter-increment:footnote;color:var(--accent);cursor:pointer;padding:0 1px;font-weight:700}.tiptap-content .footnote-ref:after{content:"[" counter(footnote) "]";font-size:.75em}.right-panel{border-left:1px solid var(--border);background:var(--panel);flex-direction:column;min-height:0;display:flex}.panel-tabs{border-bottom:1px solid var(--border);display:flex}.panel-tabs button{cursor:pointer;color:var(--muted);background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:11px 4px;font-size:12px}.panel-tabs button.on{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.panel-body{flex:1;padding:16px;overflow-y:auto}.panel-footer{border-top:1px solid var(--border);padding:12px 16px}.panel-footer .btn.primary{justify-content:center;width:100%}.extra-export{margin-top:10px}.extra-export summary{cursor:pointer;color:var(--muted);-webkit-user-select:none;user-select:none;font-size:12px}.extra-export-grid{grid-template-columns:1fr 1fr;gap:6px;margin:8px 0;display:grid}.extra-export-grid .btn{justify-content:center}.cover-preview{aspect-ratio:2/3;background:#eef0f3;border-radius:8px;justify-content:center;align-items:center;width:100%;margin:10px 0;display:flex;overflow:hidden}.cover-preview img{object-fit:contain;width:100%;height:100%}.cover-panel .btn{justify-content:center;width:100%;margin-bottom:8px}.fonts-panel .btn{justify-content:center;width:100%;margin-bottom:10px}.asset-list{flex-direction:column;gap:8px;margin:8px 0;padding:0;list-style:none;display:flex}.asset-item{border:1px solid var(--border);border-radius:8px;gap:10px;padding:8px;display:flex}.asset-thumb{background:#eef0f3;border-radius:5px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.asset-thumb img{object-fit:cover;width:100%;height:100%}.asset-meta{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.asset-name{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.asset-meta .btn{width:fit-content}.asset-badge{font-weight:600}.asset-badge.unused{color:var(--warn)}.asset-badge.big{color:var(--danger)}.font-list{flex-direction:column;gap:10px;margin:6px 0 10px;padding:0;list-style:none;display:flex}.font-item{border:1px solid var(--border);border-radius:8px;padding:10px}.font-sample{margin-bottom:4px;font-size:16px}.font-meta{word-break:break-all;margin-bottom:8px}.font-roles{gap:6px;display:flex}.font-roles .btn{width:auto;margin-bottom:0}.issue-list{flex-direction:column;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.issue{border:1px solid var(--border);border-radius:8px;gap:8px;padding:10px;display:flex}.issue-tag{border-radius:5px;flex:none;height:fit-content;padding:2px 7px;font-size:11px;font-weight:700}.issue.error .issue-tag{color:var(--danger);background:#fde8e6}.issue.warning .issue-tag{color:var(--warn);background:#fff3d6}.issue.info .issue-tag{color:var(--accent);background:#e6f0fb}.ok-msg{color:#1a9c4e;margin-top:12px;font-weight:600}.preview-page{flex-direction:column;height:100vh;display:flex}.preview-controls{align-items:center;gap:10px;display:flex}.seg{border:1px solid var(--border);border-radius:7px;display:flex;overflow:hidden}.seg button{cursor:pointer;color:var(--muted);background:#fff;border:none;padding:6px 10px;font-size:12px}.seg button.on{background:var(--accent);color:#fff}.font-scale{align-items:center;padding:0 8px;font-size:12px;display:inline-flex}.preview-stage{background:#d9dce2;flex:1;justify-content:center;padding:24px;display:flex;overflow:auto}.preview-frame{background:#fff;border:none;border-radius:10px;height:100%;min-height:500px;box-shadow:0 10px 30px #00000026}.fxl-wrap{align-self:flex-start;position:relative;overflow:hidden}.preview-frame.fxl{border-radius:4px;height:auto;min-height:0;box-shadow:0 10px 30px #00000040}.page-mode{align-items:center;gap:14px;display:flex}.preview-frame.page{border-radius:6px;min-height:0}.page-arrow{border:1px solid var(--border);background:var(--panel);cursor:pointer;width:40px;height:60px;color:var(--text);border-radius:10px;font-size:18px}.page-arrow:hover{border-color:var(--accent);color:var(--accent)}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{background:var(--panel);border:1px solid var(--border);border-radius:14px;width:100%;max-width:380px;padding:28px;box-shadow:0 10px 40px #00000014}.auth-card h1{margin:0 0 18px;font-size:20px}.auth-card .btn.primary{justify-content:center;width:100%;margin-top:4px}.auth-error{color:var(--danger);margin:4px 0;font-size:13px}.modal-backdrop{z-index:100;background:#14182180;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--panel);border-radius:14px;flex-direction:column;width:100%;max-width:560px;max-height:85vh;padding:22px;display:flex;box-shadow:0 20px 60px #0000004d}.modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-head h2{margin:0;font-size:17px}.help-search{margin-bottom:12px}.help-list{flex-direction:column;gap:14px;display:flex;overflow-y:auto}.help-entry h3{margin:0 0 4px;font-size:14px}.help-entry p{margin:0 0 3px;font-size:13px;line-height:1.6}.help-example{background:#f2f4f7;border-radius:6px;margin:4px 0 0;padding:8px 10px;font-size:12px;overflow-x:auto}.cover-designer{max-width:640px}.cover-designer-body{gap:18px;display:flex}.cover-canvas{background:#eee;border-radius:6px;flex:none;width:240px;height:384px;box-shadow:0 6px 18px #0003}.cover-controls{flex:1;min-width:0}.cover-controls .btn.primary{justify-content:center;width:100%;margin-top:6px}.cover-swatches{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cover-swatches .swatch{border:1px solid var(--border);cursor:pointer;border-radius:5px;width:24px;height:24px}.cover-swatches input[type=color]{border:1px solid var(--border);background:0 0;border-radius:5px;width:28px;height:24px;padding:0}.onboarding{max-width:460px}.onboarding h2{margin:8px 0;font-size:18px}.onboarding p{color:#3a4150;line-height:1.7}.onb-progress{gap:6px;display:flex}.onb-progress .dot{background:var(--border);border-radius:50%;width:8px;height:8px}.onb-progress .dot.on{background:var(--accent)}.onb-actions{align-items:center;gap:8px;margin-top:18px;display:flex}.loading-screen{height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
