/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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-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;--spacing:.25rem;--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{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.italic{font-style:italic}.underline{text-decoration-line:underline}.filter{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{--font-geist-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;--font-geist-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--ink:#17202f;--muted:#7b8190;--line:#dde0e5;--coral:#ff5d3a}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);font-family:var(--font-geist-sans),"PingFang SC",sans-serif;background:#f4f3f0;margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.app{grid-template-columns:250px 500px minmax(560px,1fr);height:100vh;display:grid;overflow:hidden}.history{color:#fff;background:#171f2d;flex-direction:column;min-width:0;padding:24px 16px 16px;display:flex}.history-head{justify-content:space-between;align-items:flex-start;padding:0 8px 20px;display:flex}.history-head div{flex-direction:column;gap:4px;display:flex}.history-head b{font-size:18px}.history-head span{color:#8f98a8;font-size:10px}.history-head button{color:#fff;background:#283243;border:0;border-radius:8px;width:30px;height:30px;font-size:23px}.new-doc{color:#17202f;text-align:left;background:#fff;border:0;border-radius:10px;padding:12px;font-weight:750}.filter{background:#202a39;border-radius:8px;gap:3px;margin:16px 0 12px;padding:3px;display:flex}.filter button{color:#8993a4;background:0 0;border:0;border-radius:6px;flex:1;padding:7px;font-size:11px}.filter .active{color:#fff;background:#384355}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:#8b93a1;margin:12px 6px 8px;font-size:9px;font-weight:750}.doc-list{min-height:0;overflow:auto}.history-item{text-align:left;color:#d9dee7;background:0 0;border:0;border-radius:9px;align-items:flex-start;gap:10px;width:100%;padding:11px 9px;display:flex}.history-item.active{background:#273243}.history-item span:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.history-item b{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.history-item small{color:#8490a2;font-size:9px}.dot{background:#77c8aa;border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.dot.article{background:#f5c852}.history-foot{border-top:1px solid #303a49;flex-direction:column;margin-top:auto;padding-top:10px;display:flex}.history-foot button{color:#8e99aa;text-align:left;background:0 0;border:0;padding:7px;font-size:10px}.history-foot button:hover{color:#fff}.open-history{z-index:5;color:#fff;background:#17202f;border:0;border-radius:0 8px 8px 0;padding:12px 9px;position:fixed;top:50%;left:0}.editor-panel{border-right:1px solid var(--line);background:#fff;flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);align-items:center;gap:16px;height:70px;padding:0 20px;display:flex}.brand{align-items:center;gap:9px;display:flex}.brand-mark{background:var(--coral);color:#fff;border-radius:9px;place-items:center;width:33px;height:33px;font-weight:900;display:grid}.brand>span:last-child{flex-direction:column;display:flex}.brand b{font-size:16px}.brand small{letter-spacing:.14em;color:#9297a0;margin-top:2px;font-size:6px}.mode{background:#f0f1f3;border-radius:8px;margin-left:auto;padding:3px;display:flex}.mode button{color:#969ba4;background:0 0;border:0;border-radius:6px;padding:7px 10px;font-size:10px}.mode .active{color:#17202f;background:#fff;box-shadow:0 1px 3px #d5d6da}.settings-button{border:1px solid var(--line);background:#fff;border-radius:8px;width:31px;height:31px}.doc-meta{padding:21px 28px 15px}.doc-meta input{border:0;outline:none;width:100%;font-size:20px;font-weight:750}.doc-meta div{color:#a0a4ab;gap:13px;margin-top:8px;font-size:9px;display:flex}.save.ok{color:#68a88c}.toolbar{border-block:1px solid var(--line);background:#fbfbfa;align-items:center;gap:2px;height:43px;padding:0 21px;display:flex}.toolbar button{background:0 0;border:0;border-radius:6px;padding:7px;font-size:10px}.toolbar button:hover{background:#eceef0}.toolbar i{background:#ddd;width:1px;height:18px;margin:0 4px}.spacer{flex:1}#editor{resize:none;font:13px/1.9 var(--font-geist-mono),monospace;color:#333b48;background:#fff;border:0;outline:none;flex:1;padding:25px 30px}.editor-foot{border-top:1px solid var(--line);color:#9ca0a8;justify-content:space-between;height:36px;padding:10px 24px;font-size:8px;display:flex}.preview-panel{background:#f1f0ec;padding:30px 34px 60px;overflow:auto}.preview-head{justify-content:space-between;align-items:center;display:flex}.preview-head .eyebrow{margin:0 0 7px}.preview-head h2{margin:0;font-size:21px}.download-all{background:var(--coral);color:#fff;border:0;border-radius:9px;padding:11px 14px;font-size:11px;font-weight:750;box-shadow:0 7px 16px #ff5d3a35}.download-all span{background:#ffffff2b;border-radius:5px;margin-left:5px;padding:2px 6px}.quick-themes{color:#8b9099;align-items:center;gap:7px;margin:22px 0;font-size:10px;display:flex}.quick-themes>button:not(.open-design){border:2px solid #0000;border-radius:50%;width:20px;height:20px;box-shadow:inset 0 0 0 1px #0002}.quick-themes .paper{background:#f5f0e7}.quick-themes .ink{background:#17202f}.quick-themes .sunset{background:#f5c852}.quick-themes .mint{background:#d8eee4}.quick-themes>button.active{border-color:#fff;outline:2px solid #17202f}.open-design{border:1px solid var(--line);color:#38404d;background:#fff;border-radius:8px;margin-left:auto;padding:8px 11px}.cards-grid{grid-template-columns:repeat(2,minmax(270px,360px));gap:22px 18px;display:grid}.card{aspect-ratio:3/4;color:#17202f;background:#f5f0e7;flex-direction:column;padding:28px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 30px #3a3e4812}.theme-ink .card{color:#f7f3e8;background:#17202f}.theme-sunset .card{color:#3c2131;background:#f5c852}.theme-mint .card{color:#14362d;background:#d8eee4}.card:before{content:"";background:var(--accent);width:38px;height:5px;position:absolute;top:0;left:28px}.card-top,.card-bottom{letter-spacing:.08em;justify-content:space-between;align-items:center;font-size:8px;font-weight:750;display:flex}.card-top span:last-child,.card-bottom>span:last-child{opacity:.5}.card-content{font-size:calc(11px * var(--text-scale));flex:1;padding:29px 1px 14px;overflow:hidden}.card-content h1{font-size:calc(23px * var(--text-scale));letter-spacing:-.04em;margin:0 0 19px;line-height:1.28}.card-content h2{font-size:calc(15px * var(--text-scale));margin:16px 0 8px}.card-content p,.card-content li{margin:0 0 10px;font-size:1em;line-height:1.72}.card-content blockquote{border-left:3px solid var(--accent);margin:14px 0;padding:4px 0 4px 11px;font-size:1em;font-weight:650;line-height:1.65}.card-content ol{margin:0;padding-left:17px}.card-content code{background:#ffffff70;border-radius:3px;padding:1px 3px}.fake-link{color:var(--accent);text-decoration:underline}.card-content figure{margin:8px 0 12px}.card-content figure img{object-fit:cover;border-radius:8px;width:100%;max-height:180px;display:block}.card-content figcaption{text-align:center;opacity:.55;margin-top:5px;font-size:8px}.card-bottom{border-top:1px solid;padding-top:11px}.card-bottom>span:first-child{align-items:center;gap:6px;display:flex}.mini-avatar{background:var(--accent);color:#fff;object-fit:cover;border-radius:50%;place-items:center;width:19px;height:19px;font-size:8px;font-style:normal;display:grid}.mini-avatar.image{display:block}.card-actions{color:#8d929b;justify-content:space-between;align-items:center;margin-top:8px;font-size:9px;display:flex}.card-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;width:29px;height:29px}.font-serif .card,.font-serif .long-article{font-family:Songti SC,STSong,serif}.font-rounded .card,.font-rounded .long-article{font-family:Arial Rounded MT Bold,PingFang SC,sans-serif}.font-mono .card,.font-mono .long-article{font-family:var(--font-geist-mono),monospace}.article-stage{max-width:720px}.long-article{color:#242a33;background:#fff;padding:55px 68px;box-shadow:0 12px 35px #3331}.long-article header>span{color:var(--accent);letter-spacing:.13em;font-size:11px;font-weight:800}.long-article header>h1{margin:16px 0 24px;font-size:38px;line-height:1.2}.long-article header>div{border-bottom:1px solid #e4e5e8;align-items:center;gap:10px;padding-bottom:25px;display:flex}.long-article header img,.long-article header i{object-fit:cover;background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:36px;height:36px;font-style:normal;display:grid}.long-article header div>span{flex-direction:column;font-size:12px;display:flex}.long-article header small{color:#999;margin-top:3px;font-size:9px}.long-article section{font-size:calc(16px * var(--text-scale));padding:18px 0;line-height:1.9}.long-article section h1{margin:1.4em 0 .5em;font-size:2em}.long-article section h2{margin:1.6em 0 .5em;font-size:1.35em}.long-article section blockquote{border-left:4px solid var(--accent);background:#f6f6f5;margin:22px 0;padding:12px 18px}.long-article section figure{margin:25px 0}.long-article section figure img{border-radius:10px;max-width:100%}.long-article section figcaption{text-align:center;color:#999;font-size:11px}.long-article footer{color:#aaa;border-top:1px solid #eee;padding-top:20px;font-size:10px}.settings-drawer{z-index:12;background:#fff;width:310px;height:100vh;padding:22px;position:fixed;top:0;right:0;overflow:auto;box-shadow:-15px 0 40px #17202f22}.settings-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;margin-bottom:19px;padding-bottom:18px;display:flex}.settings-title div{flex-direction:column;display:flex}.settings-title b{font-size:18px}.settings-title small{color:#999;margin-top:4px;font-size:9px}.settings-title button{background:#f0f1f3;border:0;border-radius:50%;width:29px;height:29px}.settings-drawer>label,.setting-group{flex-direction:column;gap:7px;margin:17px 0;font-size:10px;font-weight:700;display:flex}.settings-drawer input,.settings-drawer select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px;font-size:11px}.avatar-setting{align-items:center;gap:12px;display:flex}.avatar-setting>button{background:#f6f6f4;border:1px dashed #aaa;border-radius:50%;width:45px;height:45px;padding:0;font-size:9px;overflow:hidden}.avatar-setting img{object-fit:cover;width:100%;height:100%}.avatar-setting label{font-size:10px;font-weight:400}.avatar-setting label input{margin-right:5px}.range-row,.color-row{align-items:center;gap:10px;display:flex}.range-row input{flex:1}.range-row span{font-size:10px}.color-row input[type=color]{width:45px;height:38px;padding:4px}.color-row input:last-child{flex:1}.versions{border-top:1px solid var(--line);margin-top:25px;padding-top:17px}.versions>div{justify-content:space-between;align-items:center;font-size:10px;font-weight:700;display:flex}.versions>div button{color:#fff;background:#17202f;border:0;border-radius:6px;padding:6px 8px;font-size:9px}.versions>button{text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;flex-direction:column;width:100%;padding:10px 3px;display:flex}.versions>button span{font-size:10px}.versions>button small,.versions>p{color:#999;margin-top:3px;font-size:8px}.toast{color:#fff;z-index:20;background:#17202f;border-radius:9px;padding:11px 17px;font-size:11px;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0003}.history-closed{grid-template-columns:0 500px minmax(560px,1fr)}.history-closed .history{display:none}@media (width<=1100px){.app{grid-template-columns:210px 430px minmax(520px,1fr)}.history-closed{grid-template-columns:0 430px minmax(520px,1fr)}.cards-grid{grid-template-columns:minmax(280px,360px)}}@media (width<=760px){.app,.history-closed{height:auto;min-height:100vh;display:block;overflow:visible}.history{display:none}.editor-panel{min-height:100vh}.preview-panel{padding:26px 16px}.cards-grid{grid-template-columns:1fr}.card{max-width:400px;margin:auto}.topbar{padding:0 13px}.brand small{display:none}.doc-meta{padding-inline:19px}#editor{min-height:55vh;padding:22px 19px}.settings-drawer{width:min(310px,100vw)}.article-stage{width:100%}.long-article{padding:38px 25px}.long-article header>h1{font-size:30px}}.settings-button,.cloud-button{border:1px solid var(--line);background:#fff;border-radius:8px;width:31px;height:31px}.cloud-button{margin-left:-9px}.card-top>span:last-child,.card-bottom>span:last-child{opacity:.5}.card-profile{align-items:center;gap:7px;display:flex}.card-profile b{letter-spacing:0;flex-direction:column;font-size:8px;display:flex}.card-profile small{opacity:.45;margin-top:1px;font-size:6px}.profile-avatar{object-fit:cover;border-radius:50%;width:25px;height:25px}.profile-avatar.fallback{background:var(--accent);color:#fff;place-items:center;font-size:10px;font-style:normal;display:grid}.media-figure{cursor:pointer}.media-figure.align-left{margin-right:auto}.media-figure.align-center{margin-left:auto;margin-right:auto}.media-figure.align-right{margin-left:auto}.media-crop{border-radius:8px;overflow:hidden}.media-crop.ratio-1-1{aspect-ratio:1}.media-crop.ratio-4-3{aspect-ratio:4/3}.media-crop.ratio-16-9{aspect-ratio:16/9}.media-crop img{object-fit:cover;transform-origin:50%;width:100%;height:100%;display:block}.media-crop.ratio-auto img{height:auto}.measure-card{visibility:hidden;pointer-events:none;width:360px;height:480px;padding:28px;position:fixed;top:0;left:-10000px}.measure-content{height:360px;font-size:calc(11px * var(--text-scale));width:304px;overflow:hidden}.measure-content h1{font-size:calc(23px * var(--text-scale));margin:0 0 19px;line-height:1.28}.measure-content h2{font-size:calc(15px * var(--text-scale));margin:16px 0 8px}.measure-content p,.measure-content li{margin:0 0 10px;font-size:1em;line-height:1.72}.measure-content blockquote{margin:14px 0;padding:4px 0 4px 11px;font-size:1em;line-height:1.65}.measure-content figure{margin:8px 0 12px}.measure-content img{object-fit:cover;width:100%;max-height:180px}.measure-block{overflow:auto}.segmented{background:#f1f2f4;border-radius:8px;padding:3px;display:flex}.segmented button{background:0 0;border:0;border-radius:6px;flex:1;padding:7px}.segmented .active{background:#fff;box-shadow:0 1px 4px #0001}.image-controls>label{flex-direction:column;gap:7px;margin:16px 0;font-size:10px;font-weight:700;display:flex}.done-image{color:#fff;background:#17202f;border:0;border-radius:8px;width:100%;padding:10px}.modal-backdrop{z-index:30;background:#11182788;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.sync-modal{background:#fff;border-radius:16px;width:min(430px,100%);padding:30px;position:relative;box-shadow:0 30px 80px #0003}.modal-close{background:#eee;border:0;border-radius:50%;width:28px;height:28px;position:absolute;top:15px;right:15px}.cloud-mark{color:#fff;background:#17202f;border-radius:12px;place-items:center;width:44px;height:44px;font-size:20px;display:grid}.sync-modal h3{margin:15px 0 7px;font-size:22px}.sync-modal p{color:#6d7480;font-size:12px;line-height:1.7}.sync-modal label{flex-direction:column;gap:6px;margin:14px 0;font-size:10px;font-weight:700;display:flex}.sync-modal input{border:1px solid var(--line);border-radius:8px;padding:11px}.sync-modal>small{color:#9297a0;font-size:9px;line-height:1.5;display:block}.sync-modal>div{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.sync-modal>div button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 13px;font-size:11px}.sync-modal>div .primary{color:#fff;background:#ff5d3a;border-color:#ff5d3a}@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-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}
