@font-face{font-family:Manrope;src:url('/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('/manrope-bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('/space-grotesk.ttf') format('truetype');font-weight:500 700;font-display:swap}
:root{color-scheme:dark;--bg:#171a1f;--text:#f6f7f8;--muted:#98a0aa;--line:rgba(255,255,255,.1);--soft:rgba(255,255,255,.065);--green:#31e6a1;font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--text);background:radial-gradient(ellipse at 3% 8%,#79304d24,transparent 35%),radial-gradient(ellipse at 95% 5%,#1ccfc121,transparent 38%),linear-gradient(145deg,#15171c,#191d22 48%,#14191b);min-height:100vh}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(#000,transparent 72%)}
button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}
.app{min-height:100vh;padding:14px clamp(14px,3.5vw,46px) 30px}.topbar{max-width:1240px;min-height:76px;margin:0 auto 30px;display:flex;align-items:center;gap:18px}.brand{display:inline-flex;align-items:center;font-family:'Space Grotesk',sans-serif;font-size:30px;font-weight:700;letter-spacing:-1.3px}.brand svg{width:31px;height:31px;fill:var(--green);margin-right:10px}.brand-dot{color:var(--green)}.brand-product{border:1px solid var(--line);background:#ffffff08;border-radius:50px;padding:9px 14px;font-size:12px;color:#bbc3ca}.header-actions{display:flex;gap:10px;margin-left:auto}
.button{min-height:46px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:14px;font-size:14px;font-weight:700;color:#ebedef;background:#ffffff0e;transition:transform .16s,background .16s,box-shadow .16s}.button:hover{transform:translateY(-2px);background:#ffffff16}.button.primary{color:#07120d;border-color:transparent;background:linear-gradient(135deg,#4af0af,#18bc7c);box-shadow:0 12px 26px #18bc7c26}.button.primary:hover{background:linear-gradient(135deg,#60f4bb,#20cb89);box-shadow:0 16px 32px #18bc7c40}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.workspace{max-width:1180px;margin:auto;display:grid;grid-template-columns:minmax(220px,292px) minmax(0,1fr);gap:clamp(20px,3vw,34px);align-items:start}.side-panel{padding:30px 6px 20px 2px}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--green);font-family:'Space Grotesk',sans-serif;font-size:11px;font-weight:700;letter-spacing:.14em}.eyebrow i{width:22px;height:1px;background:currentColor;box-shadow:0 0 14px currentColor}
h1{margin:22px 0 18px;font-family:'Space Grotesk',sans-serif;font-size:clamp(42px,4vw,55px);font-weight:600;line-height:1.04;letter-spacing:-.055em}h1 span{color:var(--green)}.intro-copy{margin:0;color:var(--muted);font-size:14px;line-height:1.85}.features{margin-top:30px;border-top:1px solid var(--soft)}.feature{padding:17px 0;display:grid;grid-template-columns:30px 1fr;gap:10px;border-bottom:1px solid var(--soft)}.feature>span{padding-top:3px;color:var(--green);font-family:'Space Grotesk',sans-serif;font-size:12px}.feature p{margin:0;color:#9099a3;font-size:13px;line-height:1.6}.feature strong{display:block;color:#dfe2e5;font-size:14px;margin-bottom:3px}
.editor-shell{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:linear-gradient(160deg,#ffffff0b,#ffffff05);box-shadow:0 30px 90px #0005,inset 0 1px 0 #ffffff0e;backdrop-filter:blur(18px) saturate(112%)}
.editor-toolbar{min-height:68px;padding:14px 22px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--soft);background:#ffffff05;font-size:12px;color:var(--muted)}.status{display:inline-flex;align-items:center;gap:9px}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px #31e6a114,0 0 16px #31e6a140;flex:none}.status.is-busy:before{background:#f3bd59;animation:pulse 1s infinite}.status.is-error:before{background:#ff7979}.status.is-error{color:#ffb9b9}.document-label{margin-left:auto;color:#87919b}.tool{border:0;background:transparent;color:#aeb7bf;border-radius:8px;padding:8px;font-size:13px}.tool:hover{background:#ffffff10}
.paper{min-height:590px;padding:clamp(30px,4vw,55px) clamp(26px,4.5vw,62px) 28px;display:flex;flex-direction:column;background:linear-gradient(180deg,#090b0e47,#0d10147a)}
.title-input{width:100%;padding:0 0 24px;color:var(--text);background:transparent;border:0;border-bottom:1px solid var(--soft);outline:0;font-family:'Space Grotesk',sans-serif;font-size:clamp(34px,4.5vw,53px);font-weight:600;line-height:1.08;letter-spacing:-.042em}.title-input:focus{border-bottom-color:#31e6a16b}.title-input::placeholder{color:#7a838d;opacity:1}
.body-input{width:100%;min-height:320px;flex:1;margin:28px 0 0;padding:0;resize:vertical;color:#d9dde1;caret-color:var(--green);background:transparent;border:0;outline:0;font-size:18px;line-height:1.78;letter-spacing:-.008em;scrollbar-width:thin;scrollbar-color:#4c555c transparent}.body-input::placeholder{color:#7d8790;opacity:1}
.share-area{margin-top:26px;padding:16px;border:1px solid #31e6a124;border-radius:18px;background:#31e6a10b}.save-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.share-heading{font-size:14px;font-weight:700}.save-row p{font-size:12px;color:#98a5ad;line-height:1.6;margin:5px 0 0}.save-row .button{flex:none}.share-box{display:flex;gap:8px;margin-top:15px}.share-box input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;background:#10181a;color:#dce6e2;padding:10px;font-size:13px}.share-box .button{font-size:13px}.editor-footer{border-top:1px solid var(--soft);padding:15px 22px;display:flex;justify-content:space-between;gap:15px;color:#919ba5;font-size:12px}
.poster{display:block;margin-top:22px;padding:18px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(135deg,#25463866,#17232966)}.ad-label{display:flex;justify-content:space-between;color:#99aaa2;font-size:11px}.poster-brand{font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:1px;color:#b6efd5;margin:15px 0 10px}.poster h3{font-family:'Space Grotesk',sans-serif;font-size:23px;font-weight:500;line-height:1.15;margin:0 0 10px;letter-spacing:-.5px}.poster p{font-size:12px;line-height:1.6;color:#9aaea3;margin:0}.poster-link{display:flex;justify-content:space-between;color:var(--green);font-size:12px;margin-top:14px}.help{font-size:12px;color:#98a0aa;line-height:1.7;margin-top:22px}.help summary{cursor:pointer;display:flex;justify-content:space-between;list-style:none}.help summary::-webkit-details-marker{display:none}.help a{color:var(--green)}.page-footer{max-width:1180px;margin:25px auto 0;display:flex;justify-content:space-between;align-items:center;color:#a0a8b0;font-size:12px}.page-footer>div{display:flex;align-items:center;gap:22px}.page-footer button{font-size:12px;color:inherit;background:none;border:0;padding:8px 0}.muted{color:#78838d}.language{border:1px solid var(--line);border-radius:6px;padding:4px 6px;font-size:11px}
.cookie-banner{position:fixed;left:24px;bottom:22px;z-index:20;width:min(460px,calc(100% - 48px));padding:20px 22px;border:1px solid #ffffff24;border-radius:20px;color:#e7ebee;background:#22282ff5;box-shadow:0 15px 65px #0006;backdrop-filter:blur(18px)}.cookie-copy strong{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:600}.cookie-copy p{font-size:12px;line-height:1.75;color:#b0bac2;margin:8px 0 15px}.cookie-copy a{text-decoration:underline;text-underline-offset:3px}.cookie-actions{display:flex;gap:10px}.cookie-actions .button{flex:1;min-height:40px;font-size:12px;border-radius:10px}.conflict{margin-top:20px;padding:16px;border:1px solid #bf84634a;background:#5f3a232e;border-radius:12px;color:#ffd6bf;font-size:14px}.conflict .button{font-size:12px;margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.focused .workspace{grid-template-columns:1fr;max-width:1080px}.focused .side-panel{display:none}.focused .body-input{min-height:55vh}
.title-input[hidden] ~ .body-input{margin-top:0}
@keyframes pulse{50%{opacity:.35}}
@media(min-width:1500px){.paper{min-height:680px}.body-input{min-height:410px}}
@media(max-width:900px){.workspace{grid-template-columns:1fr;gap:20px}.side-panel{padding:0 5px}.side-panel h1{font-size:34px;margin:13px 0 10px}.side-panel h1 br{display:none}.side-panel h1 br:after{content:" "}.intro-copy,.features,.help,.side-panel .poster{display:none}.side-panel h1 span{margin-left:8px}.paper{min-height:560px}.topbar{margin-bottom:20px}}
@media(max-width:620px){.app{padding:8px 10px 25px}.topbar{min-height:62px;gap:8px;padding:0 5px}.brand{font-size:25px}.brand svg{width:25px;margin-right:7px}.brand-product{display:none}.header-actions{gap:5px}.header-actions .button{min-height:39px;font-size:12px;padding:0 10px}.header-actions .ghost{display:none}.side-panel h1{font-size:28px;letter-spacing:-1px}.eyebrow{font-size:10px;letter-spacing:1px}.editor-shell{border-radius:22px}.editor-toolbar{padding:13px 16px;min-height:56px;gap:8px}.document-label{display:none}.tool{margin-left:auto}.paper{padding:28px 21px 22px;min-height:500px}.title-input{font-size:36px;padding-bottom:18px}.body-input{font-size:16px;min-height:38vh;margin-top:22px}.save-row{align-items:stretch;flex-direction:column}.save-row .button{width:100%}.share-box{flex-direction:column}.editor-footer{padding:14px 16px;font-size:11px}.editor-footer>span:first-child{max-width:55%}.page-footer{padding:0 5px;font-size:11px;gap:10px}.page-footer .muted{display:none}.page-footer>div{gap:14px}.cookie-banner{left:12px;bottom:12px;width:calc(100% - 24px);padding:17px 18px}.cookie-copy p{font-size:12px}.focused .body-input{min-height:60vh}}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
