:root{--ink:#172033;--paper:#f6f8fc;--cream:#eef2ff;--surface:#ffffff;--surface-alt:#f8faff;--muted:#526174;--line:#d9e2ef;--primary:#4f46e5;--primary-strong:#3730a3;--primary-soft:#e0e7ff;--accent:#0891b2;--accent-soft:#cffafe;--sun:#f59e0b;--orange:#ea580c;--teal:#e0e7ff;--shadow-sm:0 8px 20px rgba(23,32,51,.06);--shadow:0 18px 50px rgba(30,41,59,.12)}html[data-theme=dark]{--ink:#ffffff;--paper:#09090b;--cream:#18181b;--surface:#121214;--surface-alt:#27272a;--muted:#a1a1aa;--line:rgba(255,255,255,0.08);--primary:#2563eb;--primary-strong:#1d4ed8;--primary-soft:rgba(37,99,235,0.15);--accent:#60a5fa;--accent-soft:rgba(59,130,246,0.15);--sun:#fbbf24;--orange:#ea580c;--teal:#121214;--shadow-sm:0 10px 24px rgba(0,0,0,.4);--shadow:0 24px 64px rgba(0,0,0,.5)}body{background:radial-gradient(circle at 10% -10%,#e4e9ff 0,transparent 30%),var(--paper);color:var(--ink);line-height:1.5}html[data-theme=dark] body{background:radial-gradient(circle at top,rgba(37,99,235,.06),transparent 50%),var(--paper);color:var(--ink)}body:has(.landing){background:#060a14!important}.landing{background:transparent!important}.landing .faq-section,.landing .feature-section,.landing .hero-section,.landing .how-section,.landing .landing-cta,.landing .template-band,.landing .testimonial-section{background:transparent!important;border-color:rgba(255,255,255,.07)!important}.landing .template-band{padding-top:36px!important;padding-bottom:48px!important}.landing .template-band .section-header{margin-bottom:28px!important}::selection{background:var(--primary);color:#fff}.eyebrow{color:#94a3b8!important;font-weight:600!important;background:transparent!important;padding:0!important;text-transform:uppercase!important;letter-spacing:.1em!important}.lead,.page-header>p:last-child,.workspace-subtitle{color:var(--muted)}.button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:var(--ink);color:var(--paper)!important;border:1px solid var(--ink);border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.1);min-height:40px;padding:8px 16px;font-weight:600;font-size:14px;transition:all .15s ease}.button:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.button-primary{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}.button-secondary{background:transparent!important;color:var(--ink)!important;border-color:var(--line-strong)!important;box-shadow:none!important}.button-secondary:hover{background:var(--surface-alt)!important;opacity:1!important;box-shadow:none!important}.button-quiet{padding:8px 16px;background:transparent;color:var(--ink);border:1px solid transparent;box-shadow:none}.button-quiet:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)!important}html[data-theme=dark] .button{background:linear-gradient(135deg,#9dacff,#7287ff);border-color:#9dacff;color:#0a1020!important;box-shadow:0 14px 26px rgba(76,95,221,.26)}html[data-theme=dark] .button:hover{background:linear-gradient(135deg,#c7d0ff,#8b9cff);color:#0a1020!important}html[data-theme=dark] .button-quiet{background:var(--surface);border-color:var(--line);color:var(--ink)!important}.public-nav-wrap{background:color-mix(in srgb,var(--paper) 82%,transparent);border-bottom:1px solid color-mix(in srgb,var(--line) 80%,transparent);box-shadow:0 4px 24px -4px rgba(0,0,0,.08)}.public-links{color:var(--ink-muted)}.public-links>a:not(.button):not(.button-quiet):hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 6%,transparent)}.bell-button,.menu-trigger,.theme-toggle,.workspace-menu-trigger{background:var(--surface);border-color:var(--line);color:var(--ink-muted);box-shadow:var(--shadow-xs)}.brand span{background:linear-gradient(135deg,var(--primary),#1d4ed8);color:#fff;box-shadow:0 4px 14px rgba(129,140,248,.35)}.hero{min-height:640px}.hero h1,.page-header h1,.workspace-header h1{color:var(--ink)}.hero h1 em,.workspace-header h1 em{color:var(--primary);text-shadow:none}.hero .lead{max-width:530px}.hero-floating-note{background:linear-gradient(135deg,#172033,#25355a);color:#fff;border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow)}.paper{border-color:#dce4f0;box-shadow:0 28px 48px rgba(42,51,83,.16)}.paper-back{background:linear-gradient(145deg,#d8ddff,#c8f0f7)}.paper-front{background:#fff}.paper-kicker{color:#657394}.paper-line.wide{background:#263557}.paper-heading{color:#202d48}.paper-chart span{background:#2563eb}.paper-chart span:last-child{background:#f59e0b}.stats-band{background:linear-gradient(100deg,#eef2ff,#f2f7ff);border-color:var(--line)}.stats-band b{color:var(--primary)}.stats-band span{color:var(--muted)}.feature-section{border-color:var(--line)}.faq-section h2,.feature-section h2,.section-display-title,.testimonial-section h2{color:var(--ink)}.feature-grid article,.student-proof article{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-sm)}.feature-grid article:hover,.student-proof article:hover{border-color:color-mix(in srgb,var(--primary) 50%,var(--line));box-shadow:var(--shadow);transform:translateY(-4px)}.feature-icon{background:linear-gradient(135deg,var(--primary-soft),var(--accent-soft));color:var(--primary)}.feature-grid p,.student-proof p{color:var(--muted)}.testimonial-section{background:transparent;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}.student-proof article>span{color:var(--primary)}.template-band{background:transparent;color:#fff;position:relative;overflow:hidden}.template-band:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-150px;top:-270px;background:rgba(255,255,255,.05);filter:blur(4px)}.template-band .shell{position:relative}.template-band .eyebrow{color:#a5b4fc}.template-band h2{color:#fff}.landing-template-list a{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.landing-template-list a:hover{background:rgba(255,255,255,.14)}.faq-section details{border-color:var(--line)}.faq-section summary{color:var(--ink)}.faq-section summary span{color:var(--primary)}.faq-section p{color:var(--muted)}.landing-cta{border-top:1px solid var(--line)}.site-footer{background:linear-gradient(135deg,#121b33,#202b57);border-top:1px solid rgba(255,255,255,.08)}.site-footer .brand span{box-shadow:none}.site-footer h2{color:#c7d2fe}.site-footer a:not(.brand):hover{color:#fff}.footer-bottom{color:#b9c5da}.auth-page,.onboarding-page{background:radial-gradient(circle at 20% 8%,#e1e8ff 0,transparent 28%),radial-gradient(circle at 82% 92%,#d8f3fb 0,transparent 25%),#f7f9fd!important;color:var(--ink)}.auth-page>.brand{color:var(--ink)}.auth-card,.onboarding-card{background:rgba(255,255,255,.94)!important;border-color:#dbe4f1!important;color:var(--ink)!important;box-shadow:0 26px 60px rgba(30,41,59,.16)}.auth-card h1,.auth-card label,.onboarding-card h1,.onboarding-card label{color:var(--ink)!important}.auth-card label span{color:var(--muted)!important}.auth-card input,.onboarding-card input{background:#fff!important;border-color:#cbd7e6!important;color:var(--ink)!important;box-shadow:inset 0 1px 0 rgba(15,23,42,.04)}.auth-card input::placeholder,.onboarding-card input::placeholder{color:#74839a!important;opacity:1}.auth-card input:focus,.onboarding-card input:focus{border-color:var(--primary)!important;box-shadow:0 0 0 4px rgba(79,70,229,.14)!important}.onboarding-card>p:not(.eyebrow){color:var(--muted)!important}.onboarding-categories button{background:var(--surface-alt)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:0 5px 14px rgba(30,41,59,.05)}.onboarding-categories button:hover{background:var(--primary-soft)!important;border-color:var(--primary)!important}.onboarding-categories button b{color:var(--ink)!important}.onboarding-categories span{color:var(--muted)!important}.onboarding-progress span{background:#d6dfeb!important}.onboarding-progress span.active{background:var(--primary)!important}.text-button{color:var(--primary)!important}html[data-theme=dark] .auth-page,html[data-theme=dark] .onboarding-page{background:radial-gradient(circle at 15% 5%,#1d3065 0,transparent 30%),radial-gradient(circle at 85% 100%,#153d59 0,transparent 28%),#091122!important;color:var(--ink)}html[data-theme=dark] .auth-page>.brand{color:var(--ink)}html[data-theme=dark] .auth-card,html[data-theme=dark] .onboarding-card{background:linear-gradient(145deg,#14213a,#101a2d)!important;border-color:#32435f!important;box-shadow:0 28px 64px rgba(0,0,0,.4)}html[data-theme=dark] .auth-card h1,html[data-theme=dark] .auth-card label,html[data-theme=dark] .onboarding-card h1,html[data-theme=dark] .onboarding-card label{color:#f5f7ff!important}html[data-theme=dark] .auth-card label span,html[data-theme=dark] .onboarding-card>p:not(.eyebrow){color:#b6c2d4!important}html[data-theme=dark] .auth-card input,html[data-theme=dark] .onboarding-card input{background:#0d1729!important;border-color:#3b5275!important;color:#f5f7ff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}html[data-theme=dark] .auth-card input::placeholder,html[data-theme=dark] .onboarding-card input::placeholder{color:#aab8cd!important}html[data-theme=dark] .onboarding-categories button{background:#18263e!important;border-color:#334762!important;color:#f5f7ff!important;box-shadow:none}html[data-theme=dark] .onboarding-categories button:hover{background:#23345a!important;border-color:#8b9cff!important}html[data-theme=dark] .onboarding-categories button b{color:#f5f7ff!important}html[data-theme=dark] .onboarding-categories span{color:#c1cce0!important}html[data-theme=dark] .auth-switch{color:#c5d0df}html[data-theme=dark] .auth-switch a{color:#aebcff}.workspace{background:transparent}.workspace-header{border-color:var(--line)}.sidebar{background:#05030c;box-shadow:8px 0 24px rgba(0,0,0,.4)}.sidebar nav a{color:#b9c5db}.sidebar nav a.active,.sidebar nav a:hover{background:rgba(139,156,255,.16);color:#fff}.sidebar-bottom{border-color:rgba(255,255,255,.13)}.sidebar-bottom p{color:#aebce0}.sidebar-bottom button:hover{color:#fff}.report-bug-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:24px;margin:12px 0 8px;padding:4px 8px;border:1px solid rgba(37,99,235,.4);border-radius:4px;background:rgba(37,99,235,.15);color:#fff!important;font:600 10px var(--sans);letter-spacing:.02em;transition:.2s}.report-bug-button:hover:not(:disabled){background:rgba(139,156,255,.24);border-color:#9dacff;transform:translateY(-1px)}.report-bug-button:focus-visible{outline:3px solid rgba(157,172,255,.42);outline-offset:2px}.report-bug-button:disabled{cursor:wait;opacity:.72}.workspace-drawer footer .report-bug-button{margin:12px 0 8px}.workspace-mobile-bar{background:color-mix(in srgb,var(--paper) 92%,transparent);border-color:var(--line)}.workspace-drawer section{background:linear-gradient(180deg,#1f183d,#110c24)}.auth-card,.document-canvas,.empty-state,.filtered-empty,.modal-card,.onboarding-card,.profile-card,.project-card,.public-template-card,.selected-template-preview,.template-card,.template-choice,.template-sheet,.usage-grid article{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)}.profile-card,.project-card,.public-template-card,.template-choice,.usage-grid article{box-shadow:var(--shadow-sm)}.project-card:hover,.public-template-card:hover,.template-choice:hover{border-color:var(--primary)!important;box-shadow:var(--shadow);transform:translateY(-3px)}.profile-card h2,.project-card h3,.public-template-card h2,.selected-template-preview h2,.template-card h3,.template-choice h3{color:var(--ink)}.profile-help p,.project-card p,.public-template-card p,.selected-template-preview p:not(.eyebrow),.template-card p,.template-choice p{color:var(--muted)}.document-icon{background:var(--primary-soft);color:var(--primary)}.document-icon.report{background:var(--accent-soft);color:var(--accent)}.document-icon.thesis{background:#eff6ff;color:#1e3a8a}.status-badge{background:var(--primary-soft);color:var(--primary)}.status-badge.generating{background:#fff3cd;color:#8a4b00}.status-badge.completed{background:#dcfce7;color:#166534}.choice-page,.template-sheet{background:linear-gradient(180deg,#fff,#f3f6fc)!important;border-color:#dbe3ef!important}.choice-page span,.template-sheet span{color:#64748b!important}.choice-page i,.template-sheet i{background:#d8e0ec!important}.choice-page i:first-of-type,.template-sheet i:first-of-type{background:#42526f!important}.selected-template-sheet,.template-preview-sheet{background:linear-gradient(135deg,#f8faff,#e0e7ff)!important;color:#1e1b4b!important;border-color:#c7d2fe!important;box-shadow:inset 0 2px 4px rgba(255,255,255,.8),0 4px 12px rgba(99,102,241,.1)}.auth-card input,.dashboard-filters input,.dashboard-filters select,.form-panel input,.onboarding-card input,.profile-card input{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}.auth-card input:focus,.dashboard-filters input:focus,.dashboard-filters select:focus,.form-panel input:focus,.onboarding-card input:focus,.profile-card input:focus{outline:3px solid color-mix(in srgb,var(--primary) 20%,transparent);border-color:var(--primary)!important}.form-error{background:#fff1f2;border-color:#fecdd3;color:#a1122b}.activity-list a{border-color:var(--line)}.activity-list a:hover{background:var(--surface-alt)}.activity-list p{color:var(--muted)}.usage-grid b{color:var(--primary)}.usage-grid p,.usage-grid span{color:var(--muted)}.profile-help kbd,.shortcut-card kbd{background:var(--primary-soft);border-color:color-mix(in srgb,var(--primary) 25%,var(--line));color:var(--primary)}.editor-top{border-color:var(--line)}.back-link,.inline-button{color:var(--primary)}.editor-mobile-controls button,.icon-button,.toc-option{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}.document-canvas{box-shadow:var(--shadow);background:var(--surface)!important}.document-meta{border-color:var(--line);color:var(--muted)}.document-canvas>h1{color:var(--ink)}.editable-block:hover{background:var(--surface-alt)}.editable-block textarea{color:var(--ink);font-size:15px}.editable-block textarea:focus{background:var(--surface);border-color:var(--primary)}.outline>span{border-color:var(--line);color:var(--muted)}.add-row button,.outline-add button{color:var(--primary)}.notification-popover{background:var(--surface);box-shadow:var(--shadow)}.notification-popover,.notification-popover a,.notification-popover>div:first-child{border-color:var(--line)}.notification-popover a:hover{background:var(--surface-alt)}.notification-popover a p span,.notification-popover>div span{color:var(--muted)}html[data-theme=dark] .stats-band{background:linear-gradient(100deg,#111d37,#142244);border-color:var(--line)}html[data-theme=dark] .testimonial-section{background:transparent;border-color:transparent}html[data-theme=dark] .feature-grid article,html[data-theme=dark] .student-proof article{background:linear-gradient(150deg,#14213a,#101a2d)!important}html[data-theme=dark] .paper-front{background:#f8fafc}html[data-theme=dark] .paper-back{background:linear-gradient(145deg,#4655a0,#176b88)}html[data-theme=dark] .auth-card,html[data-theme=dark] .document-canvas,html[data-theme=dark] .empty-state,html[data-theme=dark] .filtered-empty,html[data-theme=dark] .modal-card,html[data-theme=dark] .onboarding-card,html[data-theme=dark] .profile-card,html[data-theme=dark] .project-card,html[data-theme=dark] .public-template-card,html[data-theme=dark] .selected-template-preview,html[data-theme=dark] .template-card,html[data-theme=dark] .template-choice,html[data-theme=dark] .usage-grid article{background:var(--surface)!important;color:var(--ink)!important}html[data-theme=dark] .document-canvas>h1,html[data-theme=dark] .empty-state h2,html[data-theme=dark] .profile-card h2,html[data-theme=dark] .project-card h3,html[data-theme=dark] .public-template-card h2,html[data-theme=dark] .template-card h3,html[data-theme=dark] .template-choice h3,html[data-theme=dark] .usage-grid b{color:var(--ink)!important}html[data-theme=dark] .empty-state p,html[data-theme=dark] .profile-help p,html[data-theme=dark] .project-card p,html[data-theme=dark] .public-template-card p,html[data-theme=dark] .template-card p,html[data-theme=dark] .template-choice p,html[data-theme=dark] .usage-grid p,html[data-theme=dark] .usage-grid span{color:var(--muted)!important}html[data-theme=dark] .choice-page,html[data-theme=dark] .selected-template-sheet,html[data-theme=dark] .template-preview-sheet,html[data-theme=dark] .template-sheet{background:linear-gradient(135deg,#2e285a,#1e1b4b)!important;border-color:#4c4585!important;color:#ffffff!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.1),0 8px 24px rgba(0,0,0,.4)}html[data-theme=dark] .choice-page span,html[data-theme=dark] .selected-template-sheet span,html[data-theme=dark] .template-preview-sheet span,html[data-theme=dark] .template-sheet span{color:#a5b4fc!important}html[data-theme=dark] .choice-page i,html[data-theme=dark] .selected-template-sheet i,html[data-theme=dark] .template-preview-sheet i,html[data-theme=dark] .template-sheet i{background:#4338ca!important}html[data-theme=dark] .choice-page i:first-of-type,html[data-theme=dark] .selected-template-sheet i:first-of-type,html[data-theme=dark] .template-preview-sheet i:first-of-type,html[data-theme=dark] .template-sheet i:first-of-type{background:#818cf8!important}html[data-theme=dark] .form-error{background:#3b1520;border-color:#7f1d37;color:#fecdd3}html[data-theme=dark] .status-badge.generating{background:#4d3711;color:#fde68a}html[data-theme=dark] .status-badge.completed{background:#123c2a;color:#bbf7d0}.recent-activity,.section.template-preview,.template-preview,html[data-theme=dark] .recent-activity,html[data-theme=dark] .section.template-preview,html[data-theme=dark] .template-preview{background:transparent!important;border:none!important;box-shadow:none!important}.reveal,.reveal.is-visible,.reveal.js-reveal{opacity:1}.reveal.js-reveal{transform:translateY(14px)}.reveal.is-visible{transform:none}.sidebar,html[data-theme=dark] .sidebar{position:-webkit-sticky!important;position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important;background:linear-gradient(180deg,rgba(13,17,34,.96),rgba(9,13,26,.99))!important;border-right:1px solid rgba(37,99,235,.22)!important;box-shadow:12px 0 40px rgba(0,0,0,.45)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:32px 22px!important}.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:rgba(37,99,235,.2);border-radius:4px}.sidebar::-webkit-scrollbar-thumb:hover{background:rgba(37,99,235,.5)}.sidebar .brand{font-size:22px!important;letter-spacing:-.04em!important;margin-bottom:12px!important;text-shadow:0 0 24px rgba(37,99,235,.5)!important}.sidebar .brand span{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;box-shadow:0 4px 12px rgba(37,99,235,.4)!important}.sidebar nav a{display:flex!important;align-items:center!important;gap:12px!important;color:#94a3b8!important;font-size:14px!important;font-weight:600!important;padding:10px 14px!important;border-radius:10px!important;border:1px solid transparent!important;transition:all .2s ease!important;position:relative}.sidebar nav a:hover{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.15)!important;color:#ffffff!important;transform:translateX(3px)}.sidebar nav a.active{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.2)!important;color:#ffffff!important;box-shadow:0 4px 14px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.1)!important;font-weight:600!important}.sidebar nav a.active:before{content:none!important}.sidebar-bottom{border-top:1px solid rgba(255,255,255,.1)!important;padding-top:22px!important}.sidebar-bottom p{color:#c4b5fd!important;font-weight:700!important;letter-spacing:.12em!important;margin-top:15px!important}.signout-btn{display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important;width:100%!important;margin-top:15px!important;font-weight:500!important;transition:all .2s ease!important}.signout-btn:hover{color:#fff!important;transform:translateX(2px)!important}nextjs-portal{display:none!important}.workspace,html[data-theme=dark] .workspace{background:#0f172a!important;padding:40px 52px!important;min-height:100vh}.workspace-actions{margin-bottom:24px!important;justify-content:flex-end!important}.bell-trigger-button,.workspace-actions{display:flex!important;align-items:center!important}.bell-trigger-button{width:40px!important;height:40px!important;border-radius:10px!important;background:rgba(20,29,53,.85)!important;border:1px solid rgba(37,99,235,.35)!important;color:#c4b5fd!important;justify-content:center!important;box-shadow:0 4px 14px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.15)!important;transition:all .2s ease!important;position:relative!important;cursor:pointer!important}.bell-trigger-button:hover{background:rgba(37,99,235,.25)!important;border-color:#ffffff!important;color:#ffffff!important;box-shadow:0 6px 18px rgba(37,99,235,.4),inset 0 1px 0 rgba(255,255,255,.25)!important;transform:translateY(-2px)!important}.popover-wrapper{position:relative!important}.notification-1-content,html[data-theme=dark] .notification-1-content{width:360px!important;max-width:calc(100vw - 32px)!important;max-height:420px!important;display:flex!important;flex-direction:column!important;background:linear-gradient(145deg,rgba(19,27,49,.98),rgba(10,15,30,.99))!important;border:1px solid rgba(37,99,235,.4)!important;border-radius:16px!important;box-shadow:0 25px 60px rgba(0,0,0,.75),0 0 35px rgba(37,99,235,.2),inset 0 1px 0 rgba(255,255,255,.15)!important;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important;padding:0!important;overflow:hidden!important;z-index:9999!important}.notification-1-content>div:nth-child(2),html[data-theme=dark] .notification-1-content>div:nth-child(2){overflow-y:auto!important;flex:1 1 auto!important;min-height:0!important}.notification-1-content>div:nth-child(2)::-webkit-scrollbar{width:4px}.notification-1-content>div:nth-child(2)::-webkit-scrollbar-track{background:transparent}.notification-1-content>div:nth-child(2)::-webkit-scrollbar-thumb{background:rgba(37,99,235,.35);border-radius:4px}.notification-1-content>div:nth-child(2)::-webkit-scrollbar-thumb:hover{background:rgba(37,99,235,.6)}.notification-header,html[data-theme=dark] .notification-header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:16px 20px!important;border-bottom:1px solid rgba(37,99,235,.22)!important;background:linear-gradient(90deg,rgba(37,99,235,.15),rgba(6,182,212,.08))!important}.notification-header h4,html[data-theme=dark] .notification-header h4{color:#ffffff!important;font-size:15px!important;font-weight:800!important;letter-spacing:-.01em!important;margin:0!important}.notification-badge-pill,html[data-theme=dark] .notification-badge-pill{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px 10px!important;border-radius:999px!important;background:rgba(37,99,235,.25)!important;border:1px solid rgba(37,99,235,.45)!important;color:#e2e8f0!important;font-size:11px!important;font-weight:700!important}.notification-badge-pill.quiet,html[data-theme=dark] .notification-badge-pill.quiet{background:rgba(148,163,184,.15)!important;border-color:rgba(148,163,184,.28)!important;color:#a5b4fc!important}.notification-close-btn,html[data-theme=dark] .notification-close-btn{width:28px!important;height:28px!important;border-radius:8px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.08)!important;color:#e2e8f0!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;transition:all .2s ease!important;padding:0!important}.notification-close-btn:hover,html[data-theme=dark] .notification-close-btn:hover{background:rgba(239,68,68,.25)!important;border-color:#ef4444!important;color:#ffffff!important;transform:scale(1.08)!important}.export-control{margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.05);display:flex;flex-wrap:wrap;gap:12px;align-items:center;-ms-overflow-style:none;scrollbar-width:none}.export-control::-webkit-scrollbar{display:none}.chatgpt-share-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#2d2d3a,#1e1e28);border:1px solid rgba(255,255,255,.1);color:#ececf1;font-family:inherit;font-size:14px;font-weight:500;padding:8px 20px;border-radius:99px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 6px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.05);position:relative;overflow:hidden}.chatgpt-share-btn:after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:conic-gradient(from 0deg,transparent 0,transparent 40%,rgba(37,99,235,.5) 50%,transparent 60%,transparent 100%);animation:rotate-border-glow 3s linear infinite;opacity:0;transition:opacity .3s ease}@keyframes rotate-border-glow{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.chatgpt-share-btn:before{content:"";position:absolute;inset:1px;background:linear-gradient(180deg,#2d2d3a,#1e1e28);border-radius:99px;z-index:1}.chatgpt-share-btn>span,.chatgpt-share-btn>svg{position:relative;z-index:2;transition:color .3s ease}.chatgpt-share-btn:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.2);box-shadow:0 8px 16px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1);color:#fff}.chatgpt-share-btn:hover:after{opacity:1}.chatgpt-share-btn:active{transform:translateY(0)}.notification-1-item,html[data-theme=dark] .notification-1-item{display:flex!important;gap:14px!important;padding:14px 20px!important;border-bottom:1px solid rgba(255,255,255,.06)!important;text-decoration:none!important;transition:all .2s ease!important}.notification-1-item:hover,html[data-theme=dark] .notification-1-item:hover{background:rgba(37,99,235,.14)!important}.notification-1-item p,html[data-theme=dark] .notification-1-item p{color:#94a3b8!important}.notification-1-item div>div>p,html[data-theme=dark] .notification-1-item div>div>p{color:#ffffff!important;font-size:13.5px!important;font-weight:700!important}.notification-footer,html[data-theme=dark] .notification-footer{padding:14px 20px!important;border-top:1px solid rgba(37,99,235,.2)!important;background:rgba(13,19,36,.85)!important;text-align:center!important}.notification-footer-link,html[data-theme=dark] .notification-footer-link{color:#a78bfa!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;text-decoration:none!important;transition:all .2s ease!important}.notification-footer-link:hover,html[data-theme=dark] .notification-footer-link:hover{color:#ffffff!important;transform:translateX(4px)!important}.notification-1-content h5,html[data-theme=dark] .notification-1-content h5{color:#ffffff!important;font-size:15px!important;font-weight:800!important}.notification-1-content p,html[data-theme=dark] .notification-1-content p{color:#94a3b8!important;font-size:13px!important;line-height:1.5!important}.workspace-header{margin-bottom:32px!important;background:linear-gradient(145deg,rgba(20,29,53,.35),rgba(13,19,36,.2))!important;border-radius:16px!important;padding:26px 34px!important;border:1px solid rgba(37,99,235,.22)!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:20px!important}.workspace-header .eyebrow{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px 10px!important;background:rgba(37,99,235,.18)!important;border:1px solid rgba(37,99,235,.4)!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important;color:#93c5fd!important;letter-spacing:.14em!important;margin-bottom:12px!important}.workspace-header h1,html[data-theme=dark] .workspace-header h1{font-size:clamp(30px,3.2vw,42px)!important;font-weight:800!important;color:#ffffff!important;letter-spacing:-.03em!important;line-height:1.15!important;margin:0 0 8px!important}.workspace-header h1 em,html[data-theme=dark] .workspace-header h1 em{background:linear-gradient(135deg,#a78bfa,#38bdf8 50%,#f472b6)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;display:inline-block!important;text-shadow:none!important}.workspace-subtitle{font-size:14.5px!important;color:#a5b4fc!important;max-width:560px!important;line-height:1.6!important;margin:0!important}.button,.workspace-header .button,html[data-theme=dark] .button,html[data-theme=dark] .workspace-header .button{background:linear-gradient(135deg,#1d4ed8,#4f46e5)!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:0 4px 16px rgba(124,58,237,.35)!important;color:#ffffff!important;font-size:14px!important;font-weight:700!important;border-radius:10px!important;padding:12px 22px!important;transition:all .22s ease!important;display:inline-flex!important;align-items:center!important;gap:8px!important}.button:hover,.workspace-header .button:hover,html[data-theme=dark] .button:hover,html[data-theme=dark] .workspace-header .button:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(124,58,237,.5)!important;background:linear-gradient(135deg,#2563eb,#6366f1)!important;border-color:#ffffff!important;color:#ffffff!important}.section-title h2,html[data-theme=dark] .section-title h2{font-size:22px!important;font-weight:800!important;color:#ffffff!important;letter-spacing:-.02em!important}.section-title span,html[data-theme=dark] .section-title span{color:#c4b5fd!important;font-weight:600!important;font-size:13.5px!important}.section-title a,html[data-theme=dark] .section-title a{color:#ffffff!important;font-weight:700!important;font-size:13px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.35)!important;padding:6px 14px!important;border-radius:6px!important;box-shadow:0 2px 10px rgba(0,0,0,.2)!important;transition:all .22s ease!important;display:inline-flex!important;align-items:center!important;gap:6px!important;text-decoration:none!important}.section-title a:hover,html[data-theme=dark] .section-title a:hover{background:linear-gradient(135deg,rgba(37,99,235,.45),rgba(6,182,212,.35))!important;border-color:#ffffff!important;color:#ffffff!important;transform:translateY(-2px)!important;box-shadow:0 6px 18px rgba(37,99,235,.35)!important}.dashboard-filters input,.dashboard-filters select,html[data-theme=dark] .dashboard-filters input,html[data-theme=dark] .dashboard-filters select{background:rgba(15,23,42,.85)!important;border:1px solid rgba(37,99,235,.3)!important;border-radius:10px!important;padding:10px 16px!important;color:#ffffff!important;box-shadow:0 4px 14px rgba(0,0,0,.2)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;font-size:13.5px!important}.dashboard-filters input:focus,.dashboard-filters select:focus,html[data-theme=dark] .dashboard-filters input:focus,html[data-theme=dark] .dashboard-filters select:focus{border-color:#ffffff!important;box-shadow:0 0 0 3px rgba(37,99,235,.3)!important}.empty-state,html[data-theme=dark] .empty-state{background:linear-gradient(145deg,rgba(19,26,48,.75),rgba(12,17,34,.9))!important;border:1px solid rgba(37,99,235,.3)!important;border-radius:14px!important;box-shadow:0 12px 35px rgba(0,0,0,.35),inset 0 0 25px rgba(37,99,235,.06)!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;padding:64px 32px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:14px!important}.empty-state>div{font-size:38px!important;color:#c4b5fd!important;text-shadow:0 0 25px rgba(37,99,235,.8)!important;animation:floatIcon 3.5s ease-in-out infinite alternate!important}@keyframes floatIcon{0%{transform:translateY(0) scale(1)}to{transform:translateY(-8px) scale(1.08)}}.empty-state h2,html[data-theme=dark] .empty-state h2{font-size:24px!important;font-weight:800!important;color:#ffffff!important;margin:0!important}.empty-state p,html[data-theme=dark] .empty-state p{color:#a5b4fc!important;font-size:15px!important;margin:0!important}.empty-state .button,.filtered-empty button{background:linear-gradient(135deg,#1d4ed8,#4f46e5)!important;border:1px solid rgba(255,255,255,.35)!important;color:#ffffff!important;font-size:14px!important;font-weight:700!important;border-radius:10px!important;padding:12px 24px!important;box-shadow:0 6px 20px rgba(124,58,237,.35)!important;transition:all .22s ease!important;margin-top:8px!important;cursor:pointer!important}.empty-state .button:hover,.filtered-empty button:hover{transform:translateY(-2px)!important;box-shadow:0 10px 28px rgba(124,58,237,.5)!important;background:linear-gradient(135deg,#2563eb,#6366f1)!important;border-color:#ffffff!important;color:#ffffff!important}.project-card,html[data-theme=dark] .project-card{background:linear-gradient(145deg,rgba(20,29,53,.85),rgba(13,19,36,.95))!important;border:1px solid rgba(37,99,235,.25)!important;border-radius:14px!important;padding:20px!important;box-shadow:0 6px 22px rgba(0,0,0,.3)!important;transition:all .25s cubic-bezier(.16,1,.3,1)!important}.project-card:hover{border-color:#ffffff!important;box-shadow:0 14px 38px rgba(37,99,235,.4),inset 0 0 18px rgba(37,99,235,.12)!important;transform:translateY(-4px)!important}.document-icon{width:48px!important;height:56px!important;border-radius:10px!important;background:linear-gradient(135deg,rgba(37,99,235,.3),rgba(6,182,212,.2))!important;border:1px solid rgba(255,255,255,.3)!important;color:#ffffff!important;font-size:22px!important;box-shadow:0 4px 14px rgba(37,99,235,.22)!important}.template-card,html[data-theme=dark] .template-card{background:linear-gradient(145deg,rgba(20,29,53,.82),rgba(12,18,35,.94))!important;border:1px solid rgba(37,99,235,.26)!important;border-radius:14px!important;padding:20px!important;box-shadow:0 8px 26px rgba(0,0,0,.32)!important;transition:all .25s cubic-bezier(.16,1,.3,1)!important;position:relative!important;overflow:hidden!important}.template-card:hover{border-color:#ffffff!important;box-shadow:0 16px 42px rgba(37,99,235,.44),inset 0 0 20px rgba(37,99,235,.15)!important;transform:translateY(-5px)!important}.template-sheet,html[data-theme=dark] .template-sheet{background:linear-gradient(180deg,rgba(30,41,75,.92),rgba(15,23,42,.98))!important;border:1px solid rgba(37,99,235,.38)!important;border-radius:10px!important;padding:16px!important;height:140px!important;box-shadow:0 6px 20px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.15)!important;position:relative!important;transition:all .25s ease!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}.template-sheet span,html[data-theme=dark] .template-sheet span{color:#ffffff!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;display:inline-block!important;padding:4px 10px!important;background:rgba(37,99,235,.25)!important;border-radius:6px!important;border:1px solid rgba(255,255,255,.35)!important;width:max-content!important;box-shadow:0 2px 10px rgba(37,99,235,.25)!important;text-transform:uppercase!important}.template-sheet i,html[data-theme=dark] .template-sheet i{height:6px!important;border-radius:4px!important;background:rgba(148,163,184,.28)!important;margin-top:8px!important;transition:all .25s ease!important}.template-sheet i:first-of-type,html[data-theme=dark] .template-sheet i:first-of-type{width:82%!important;height:8px!important;background:linear-gradient(90deg,#ffffff,#38bdf8)!important;box-shadow:0 2px 12px rgba(255,255,255,.45)!important}.template-sheet i:nth-of-type(2),html[data-theme=dark] .template-sheet i:nth-of-type(2){width:100%!important;background:rgba(165,180,252,.4)!important}.template-sheet i:nth-of-type(3),html[data-theme=dark] .template-sheet i:nth-of-type(3){width:65%!important;background:rgba(165,180,252,.25)!important}.template-card:hover .template-sheet{border-color:#ffffff!important;transform:scale(1.02) translateY(-2px)!important;box-shadow:0 12px 30px rgba(37,99,235,.35)!important}.template-card h3,html[data-theme=dark] .template-card h3{font-size:17px!important;font-weight:700!important;color:#ffffff!important;margin:0 0 6px!important}.template-card p,html[data-theme=dark] .template-card p{font-size:13px!important;color:#c4b5fd!important;line-height:1.5!important}.creation-studio-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(400px,.75fr);grid-gap:36px;gap:36px;align-items:start}.studio-left-panel{display:flex;flex-direction:column;gap:24px}.studio-section-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm);transition:all .2s ease}.studio-section-card:hover{border-color:rgba(37,99,235,.4);box-shadow:0 10px 30px rgba(0,0,0,.12)}.ssc-header{gap:16px;padding:20px 24px;background:var(--surface-subtle);border-bottom:1px solid var(--border)}.ssc-header,.ssc-icon{display:flex;align-items:center}.ssc-icon{font-size:26px;width:48px;height:48px;justify-content:center;background:rgba(37,99,235,.14);border-radius:12px;flex-shrink:0}.ssc-title-col h2{font-size:17px;font-weight:800;margin:0 0 4px;color:var(--ink);letter-spacing:-.2px}.ssc-title-col span{font-size:13px;color:var(--muted);line-height:1.4;display:block}.ssc-body{padding:26px 24px}.studio-label,html[data-theme=dark] .studio-label{display:block;font-size:13.5px;font-weight:700;color:#e2e8f0!important;margin-bottom:8px;letter-spacing:.2px}.studio-input,html[data-theme=dark] .studio-input{width:100%;padding:13px 16px;border-radius:12px;background:rgba(15,23,42,.65)!important;border:1px solid rgba(37,99,235,.25)!important;color:#ffffff!important;font-size:14px;font-weight:500;outline:none;transition:all .2s ease;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.studio-input:focus,html[data-theme=dark] .studio-input:focus{border-color:#2563eb!important;background:rgba(15,23,42,.9)!important;box-shadow:0 0 0 3px rgba(37,99,235,.25)!important}.title-input-large{font-size:16.5px!important;padding:15px 18px!important;font-weight:600!important}.studio-select,html[data-theme=dark] .studio-select{width:100%;padding:13px 16px;border-radius:12px;background:rgba(15,23,42,.65)!important;border:1px solid rgba(37,99,235,.25)!important;color:#ffffff!important;font-size:14px;font-weight:600;outline:none;cursor:pointer;transition:all .2s ease}.studio-select:focus,html[data-theme=dark] .studio-select:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.25)!important}.category-picker-chips{display:flex;flex-wrap:wrap;gap:8px}.category-picker-chips .chip{padding:8px 15px;border-radius:20px;border:1px solid var(--border);background:var(--surface-subtle);color:var(--ink);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.category-picker-chips .chip:hover{border-color:#1d4ed8;background:var(--surface)}.category-picker-chips .chip.active{background:linear-gradient(135deg,#1d4ed8,#4f46e5)!important;color:#ffffff!important;border-color:transparent!important;box-shadow:0 4px 14px rgba(124,58,237,.35)!important}.template-cards-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:14px;gap:14px}.template-card-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:16px 18px;border-radius:14px;border:1px solid var(--border);background:var(--surface-subtle);cursor:pointer;transition:all .2s ease;position:relative}.template-card-item:hover{transform:translateY(-2px);border-color:#1d4ed8;box-shadow:var(--shadow)}.template-card-item.selected{border:2px solid #1d4ed8!important;background:rgba(124,58,237,.1)!important;box-shadow:0 8px 25px rgba(124,58,237,.18)!important}.tci-badge{font-size:11px;font-weight:700;color:#a78bfa;background:rgba(124,58,237,.15);padding:3px 8px;border-radius:6px;margin-bottom:10px;text-transform:uppercase}.tci-body h3{font-size:15.5px;font-weight:700;margin:0 0 6px;color:var(--ink)}.tci-body p{font-size:12.5px;color:var(--muted);margin:0;line-height:1.45}.tci-check{position:absolute;top:14px;right:14px;font-size:15px;font-weight:800;color:#1d4ed8}.header-preset-buttons{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:14px;gap:14px}.preset-btn{display:flex;gap:14px;align-items:flex-start;text-align:left;padding:16px;border-radius:14px;border:1px solid var(--border);background:var(--surface-subtle);cursor:pointer;transition:all .2s ease}.preset-btn:hover{border-color:#1d4ed8;transform:translateY(-2px)}.preset-btn.active{border:2px solid #2563eb!important;background:rgba(37,99,235,.12)!important;box-shadow:0 8px 24px rgba(37,99,235,.18)!important}.pb-icon{font-size:24px;line-height:1}.pb-text b{display:block;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:4px}.pb-text small{display:block;font-size:12px;color:var(--muted);line-height:1.35}.studio-header-details-card{background:var(--surface-subtle);border:1px solid rgba(37,99,235,.25);border-radius:16px;padding:22px;margin-top:18px}.studio-logo-uploader{display:flex;align-items:center;gap:18px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border)}.slu-thumb{width:64px;height:64px;object-fit:contain;border-radius:10px;border:1px solid var(--border);background:#ffffff;padding:4px}.slu-placeholder{width:64px;height:64px;border-radius:10px;border:2px dashed rgba(37,99,235,.4);background:rgba(37,99,235,.08);display:flex;align-items:center;justify-content:center;font-size:28px}.slu-info{flex:1 1}.slu-info p{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.4}.studio-upload-btn,html[data-theme=dark] .studio-upload-btn{background:linear-gradient(135deg,#1d4ed8,#4f46e5)!important;color:#ffffff!important;padding:8px 18px!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important;cursor:pointer;border:none!important;box-shadow:0 4px 14px rgba(124,58,237,.3)!important}.studio-remove-btn{background:transparent;border:none;color:#f87171;font-size:13px;font-weight:700;cursor:pointer;padding:4px 8px}.studio-input-grid{gap:16px}.studio-field,.studio-input-grid{display:flex;flex-direction:column}.studio-row-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.border-style-grid,.page-size-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px}.border-card,.size-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-subtle);cursor:pointer;transition:all .2s ease}.border-card:hover,.size-card:hover{border-color:#1d4ed8;transform:translateY(-2px)}.border-card.active,.size-card.active{border:2px solid #2563eb!important;background:rgba(37,99,235,.12)!important}.border-card b,.size-card b{font-size:13.5px;font-weight:700;color:var(--ink);margin:6px 0 2px}.size-card span{font-size:11px;color:var(--muted)}.border-thumb-preview{width:32px;height:38px;margin:4px auto 6px;border-radius:3px;background:#ffffff}.studio-toc-card{background:var(--surface-subtle);border:1px solid rgba(37,99,235,.25);border-radius:12px;padding:16px 18px}.stc-toggle{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:14px;font-weight:700;color:var(--ink)}.stc-checkbox{width:18px;height:18px;accent-color:#2563eb;cursor:pointer}.studio-toc-card p{font-size:12.5px;color:var(--muted);margin:8px 0 0 30px;line-height:1.45}.form-error-banner{background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.35);color:#f87171;padding:14px 18px;border-radius:12px;font-size:14px;font-weight:700;margin-top:16px}.sticky-preview-container{position:-webkit-sticky;position:sticky;top:88px;display:flex;flex-direction:column;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;box-shadow:var(--shadow)}.preview-top-bar{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--border)}.paper-badge{font-size:11.5px;font-weight:700;background:rgba(37,99,235,.15);color:#a78bfa;padding:5px 12px;border-radius:20px}.live-paper-sheet{background:#ffffff!important;color:#0f172a!important;border-radius:6px;padding:30px 36px;min-height:480px;display:flex;flex-direction:column;box-shadow:0 16px 45px rgba(0,0,0,.18)!important;transition:all .25s ease;position:relative;overflow:hidden}.live-paper-header{text-align:center;margin-bottom:24px;width:100%}.live-header-top-row{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:10px}.live-header-placeholder-logo{font-size:32px;line-height:1}.live-header-inst{font-size:15px;font-weight:800;color:#0f172a;text-transform:uppercase;letter-spacing:.3px}.live-header-sub{font-size:12.5px;font-weight:600;color:#334155;margin-top:2px}.live-header-dept{font-size:13px;font-weight:700;color:#1e293b;margin-top:3px}.live-header-rule-double{border-top:3px double #0f172a;margin:8px 0 6px;width:100%}.live-header-bottom-row{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:#0f172a;padding:0 6px}.live-header-rule-single{border-top:1px solid #0f172a;margin:6px 0 16px;width:100%}.live-paper-title{font-size:22px;font-weight:800;color:#0f172a;margin:10px 0 18px;line-height:1.3}.live-paper-toc{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px 18px;margin:16px 0}.toc-heading{font-size:12px;font-weight:800;color:#334155;text-transform:uppercase;margin-bottom:8px;border-bottom:1px solid #cbd5e1;padding-bottom:5px}.toc-line{display:flex;justify-content:space-between;font-size:11.5px;color:#475569;margin-bottom:5px;font-weight:600}.live-paper-body{flex:1 1}.live-paper-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#64748b;border-top:1px solid #cbd5e1;padding-top:12px;margin-top:28px;font-weight:600}.sticky-action-bar{display:flex;flex-direction:column;gap:14px;padding-top:18px;border-top:1px solid var(--border)}.action-meta{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;font-weight:700;color:var(--ink)}.action-meta small{font-size:12px;color:var(--muted);font-weight:600}@media (max-width:1024px){.creation-studio-grid{grid-template-columns:1fr}.sticky-preview-container{position:static}.border-style-grid,.header-preset-buttons,.page-size-grid,.studio-row-2{grid-template-columns:1fr}}@media(max-width:768px){.workspace-mobile-bar{box-shadow:0 5px 20px rgba(15,23,42,.08)}.public-nav-wrap{box-shadow:0 5px 20px rgba(15,23,42,.06)}}.studio-drawer-trigger-btn{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;padding:14px 18px!important;border-radius:12px!important;background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--ink)!important;text-align:left;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 6px rgba(0,0,0,.05)}.studio-drawer-trigger-btn:hover{transform:translateY(-1px)!important;border-color:#2563eb!important;background:var(--surface-subtle)!important;box-shadow:0 4px 12px rgba(37,99,235,.12)!important}.studio-drawer-trigger-btn span{font-size:14px;font-weight:700;color:var(--ink)}.studio-drawer-trigger-btn small{font-size:12px;color:var(--muted);margin-top:3px;font-weight:500}html[data-theme=dark] .studio-drawer-trigger-btn span{color:#ffffff!important}html[data-theme=dark] .studio-drawer-trigger-btn small{color:#a1a1aa!important}.studio-drawer-overlay{position:fixed;inset:0;z-index:99999;background:rgba(10,15,29,.65);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:flex-end;animation:fadeIn .2s ease;cursor:default}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideLeft{0%{transform:translateX(100%)}to{transform:translateX(0)}}.studio-drawer-panel{width:520px;max-width:95vw;height:100vh;background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column;box-shadow:-14px 0 45px rgba(0,0,0,.35);animation:slideLeft .25s cubic-bezier(.16,1,.3,1);overflow:hidden}.studio-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--border);background:var(--surface-subtle)}.studio-drawer-close-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.studio-drawer-close-btn:hover{background:rgba(239,68,68,.15);color:#f87171;border-color:#f87171}.studio-drawer-tabs{display:flex;border-bottom:1px solid var(--border);background:var(--surface)}.studio-drawer-tab{flex:1 1;padding:15px;text-align:center;font-size:13.5px;font-weight:700;color:var(--muted);background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .2s ease}.studio-drawer-tab:hover{color:var(--ink);background:var(--surface-subtle)}.studio-drawer-tab.active{color:#2563eb!important;border-bottom:2px solid #2563eb!important;background:rgba(37,99,235,.08)!important}.studio-drawer-body{flex:1 1;overflow-y:auto;padding:26px}.studio-drawer-footer{padding:18px 26px;border-top:1px solid var(--border);background:var(--surface-subtle)}.studio-templates-dialog-box{max-height:440px;overflow-y:auto;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface-subtle);box-shadow:inset 0 2px 10px rgba(0,0,0,.08)}.studio-templates-dialog-box::-webkit-scrollbar{width:8px}.studio-templates-dialog-box::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:8px}.studio-templates-dialog-box::-webkit-scrollbar-thumb{background:rgba(37,99,235,.35);border-radius:8px}.studio-templates-dialog-box::-webkit-scrollbar-thumb:hover{background:rgba(37,99,235,.6)}.blurred-content{filter:blur(2px) brightness(.92);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:filter .25s cubic-bezier(.16,1,.3,1),brightness .25s ease}.shiny-trigger-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:-moz-fit-content!important;width:fit-content!important;height:auto!important;padding:12px 26px!important;border-radius:50px!important;background:linear-gradient(135deg,#6366f1,#1d4ed8 50%,#3b82f6)!important;background-size:200% 200%!important;animation:shinyGradientShift 4s ease infinite!important;color:#ffffff!important;font-size:14.5px!important;font-weight:800!important;letter-spacing:.3px!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:0 6px 20px rgba(99,102,241,.35),0 0 32px rgba(124,58,237,.28),inset 0 1px 2px rgba(255,255,255,.5)!important;transition:all .25s cubic-bezier(.16,1,.3,1)!important;position:relative!important;overflow:hidden!important;cursor:none!important}.shiny-trigger-btn:before{content:""!important;position:absolute!important;top:0!important;left:-120%!important;width:60%!important;height:100%!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),rgba(255,255,255,.9),rgba(255,255,255,.7),transparent)!important;transform:skewX(-25deg)!important;animation:shinySweep 2.8s infinite!important;pointer-events:none!important}.shiny-trigger-btn:hover{transform:translateY(-2px) scale(1.03)!important;box-shadow:0 10px 26px rgba(99,102,241,.48),0 0 42px rgba(59,130,246,.38),inset 0 1px 3px rgba(255,255,255,.7)!important;border-color:rgba(255,255,255,.6)!important}.shiny-trigger-btn:active{transform:translateY(0) scale(.98)!important;box-shadow:0 4px 14px rgba(99,102,241,.3)!important}.editor-loading,.page-loading{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:100vh!important;width:100%!important;background:linear-gradient(135deg,#090e17,#131b31)!important;color:#f1f5f9!important;font-family:var(--sans),sans-serif!important;font-size:15px!important;font-weight:600!important;letter-spacing:.5px!important;animation:fadeIn .4s ease-out!important;margin:0!important;padding:0!important;box-sizing:border-box!important;position:absolute!important;top:0!important;left:0!important;z-index:99998!important}.outline .eyebrow,.outline-heading .eyebrow{color:#a5b4fc!important;border-radius:20px!important;padding:4px 12px!important;font-size:10px!important}.outline-fmt-summary{background:#f8fafc!important;border-radius:12px!important;padding:16px!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important;border:1px solid rgba(255,255,255,.1)!important}.outline-fmt-summary .eyebrow{background:#2563eb!important;color:#fff!important}.outline-fmt-btn{color:#0f172a!important;text-align:left;width:100%}.outline-fmt-btn span{display:block;color:#0f172a!important;font-weight:600!important;font-size:13px!important;margin-bottom:2px!important}.outline-fmt-btn em{display:block;color:#64748b!important;font-style:normal;font-size:12px;margin-top:8px}.tour-card h2{z-index:99998!important}.editor-loading{position:relative!important;min-height:calc(100vh - 120px)!important;background:transparent!important;z-index:10!important}.editor-loading .loading-mark,.page-loading .loading-mark{display:inline-block!important;width:44px!important;height:44px!important;margin-bottom:24px!important;border-radius:50%!important;border-color:#2563eb #6366f1 rgba(37,99,235,.15) rgba(37,99,235,.15)!important;border-style:solid!important;border-width:3px!important;animation:spinSmooth 1.2s cubic-bezier(.4,0,.2,1) infinite,glowPulse 2s infinite!important;box-shadow:0 0 15px rgba(37,99,235,.4)!important}@keyframes spinSmooth{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes glowPulse{0%,to{box-shadow:0 0 15px rgba(37,99,235,.4)}50%{box-shadow:0 0 30px rgba(99,102,241,.6)}}.editor-layout{background:transparent!important}.document-canvas,html[data-theme=dark] .document-canvas{background:#0f172a!important;border:1px solid rgba(37,99,235,.2)!important;box-shadow:0 24px 60px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05)!important;border-radius:16px!important;position:relative}.document-canvas>h1,html[data-theme=dark] .document-canvas>h1{color:#ffffff!important;font-weight:800!important}.format-note{display:none!important}.selection-fmt-bar{background:rgba(15,23,42,.85)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;border:1px solid rgba(37,99,235,.4)!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.1)!important;padding:12px 16px!important;display:flex!important;align-items:center!important;gap:12px!important;position:-webkit-sticky!important;position:sticky!important;top:16px!important;flex-wrap:nowrap!important;overflow-x:auto!important}.selection-fmt-bar::-webkit-scrollbar{display:none}.sfb-label,.sfb-lang-label{color:#e2e8f0!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;margin:0!important}.sfb-sep{width:1px!important;height:24px!important;background:rgba(255,255,255,.15)!important;margin:0 4px!important;flex-shrink:0!important}.sfb-btn{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;color:#f1f5f9!important;border-radius:8px!important;padding:6px 12px!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;white-space:nowrap!important;transition:all .2s ease!important}.sfb-btn:hover{background:rgba(37,99,235,.2)!important;border-color:rgba(37,99,235,.4)!important}.sfb-select{background:rgba(10,16,32,.8)!important;border:1px solid rgba(37,99,235,.3)!important;color:#f1f5f9!important;padding:6px 10px!important;border-radius:8px!important;font-size:13px!important;cursor:pointer!important;outline:none!important;width:max-content!important;flex-shrink:0!important}.outline{background:transparent!important}.outline-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:20px!important}.outline .eyebrow,.outline-heading .eyebrow{background:rgba(37,99,235,.15)!important;color:#c4b5fd!important;border:1px solid rgba(37,99,235,.3)!important;border-radius:8px!important;padding:6px 12px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.1em!important;margin:0!important}.outline-heading button{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;color:#94a3b8!important;border-radius:6px!important;width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;transition:all .2s ease!important;padding:0!important}.outline-heading button:hover{background:rgba(239,68,68,.1)!important;border-color:rgba(239,68,68,.3)!important;color:#f87171!important}.outline>span{display:block!important;color:#94a3b8!important;font-size:13px!important;line-height:1.5!important;border-left:2px solid rgba(37,99,235,.3)!important;padding-left:14px!important;margin-bottom:24px!important}.outline-add{display:flex!important;flex-direction:column!important;gap:10px!important}.outline-add button{background:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.08)!important;color:#a5b4fc!important;border-radius:8px!important;padding:10px 14px!important;font-size:13px!important;font-weight:600!important;text-align:left!important;cursor:pointer!important;transition:all .2s ease!important}.outline-add button:hover{background:rgba(37,99,235,.15)!important;border-color:rgba(37,99,235,.3)!important;color:#ffffff!important;transform:translateX(2px)!important}.outline-fmt-summary{background:rgba(15,23,42,.65)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;border-radius:16px!important;padding:20px!important;box-shadow:0 12px 30px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05)!important;border:1px solid rgba(37,99,235,.25)!important;margin-top:32px!important}.outline-fmt-summary .eyebrow{background:linear-gradient(135deg,#2563eb,#6366f1)!important;color:#ffffff!important;border:none!important;display:inline-block!important;padding:6px 12px!important;border-radius:8px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.1em!important;margin-bottom:16px!important;box-shadow:0 4px 12px rgba(37,99,235,.4)!important}.outline-fmt-btn{background:transparent!important;border:none!important;text-align:left!important;width:100%!important;padding:0!important;cursor:pointer!important}.outline-fmt-btn span{display:block!important;color:#cbd5e1!important;font-weight:500!important;font-size:14px!important;margin-bottom:6px!important}.outline-fmt-btn span:first-child{font-size:15px!important;color:#ffffff!important;font-weight:700!important}.outline-fmt-btn em{display:inline-block!important;color:#a5b4fc!important;font-style:normal!important;font-size:12px!important;font-weight:600!important;margin-top:10px!important;background:rgba(37,99,235,.15)!important;padding:6px 12px!important;border-radius:6px!important;transition:all .2s ease!important}.outline-fmt-btn:hover em{background:rgba(37,99,235,.3)!important;color:#ffffff!important}.tour-card{background:#0f172a!important;border:1px solid rgba(37,99,235,.3)!important;box-shadow:0 24px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.05)!important;position:relative;overflow:visible!important}.tour-card,.tour-card h2{color:#ffffff!important}.tour-card li span{color:#e2e8f0!important}.tour-card li b{background:rgba(37,99,235,.2)!important;color:#c4b5fd!important;border:1px solid rgba(37,99,235,.4)!important}.custom-scrollbar::-webkit-scrollbar{width:6px}.custom-scrollbar::-webkit-scrollbar-track{background:transparent}.custom-scrollbar::-webkit-scrollbar-thumb{background:rgba(37,99,235,.3);border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:rgba(37,99,235,.6)}body:has(.editor-layout){background:radial-gradient(circle at 80% -10%,#0F172A,transparent 45%),radial-gradient(circle at 10% 40%,#06b6d414,transparent 45%),#090d16!important}.editor-top{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:20px 0!important;background:transparent!important;border-bottom:1px solid rgba(37,99,235,.15)!important;margin:0 auto 24px!important;max-width:1030px!important}.editor-top>div:first-child h1{font-family:var(--font-sans),sans-serif!important;font-size:38px!important;font-weight:800!important;line-height:1.15!important;color:var(--ink)!important;margin:0 0 8px!important}.back-link{color:var(--primary)!important;font-size:13px!important;text-decoration:none!important}.back-link:hover{text-decoration:underline!important}.editor-top p{color:var(--muted)!important;font-size:14.5px!important;display:block!important;margin-top:6px!important;white-space:nowrap!important}.editor-top p span{margin:0 6px!important;color:var(--muted)!important;opacity:.5}.inline-button{color:#c4b5fd!important;font-weight:500!important;background:transparent!important;border:none!important;padding:0!important;font-size:13.5px!important;cursor:pointer!important}.inline-button:hover{color:#ffffff!important;text-decoration:underline!important}.export-control{display:flex!important;align-items:center!important;gap:10px!important;background:rgba(15,23,42,.65)!important;padding:10px!important;border-radius:14px!important;border:1px solid rgba(37,99,235,.25)!important;box-shadow:0 8px 32px rgba(0,0,0,.25)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}.export-control>button,.export-control>label{margin:0!important}.fmt-badge{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important;color:#e2e8f0!important;border-radius:8px!important;padding:0 14px!important;font-size:12.5px!important;font-family:var(--mono)!important;height:40px!important;display:flex!important;align-items:center!important;white-space:nowrap!important}.fmt-badge:hover{background:rgba(255,255,255,.1)!important}.toc-option{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important;color:#e2e8f0!important;border-radius:8px!important;padding:0 14px!important;font-size:13px!important;font-weight:600!important;height:40px!important;display:flex!important;align-items:center!important;gap:8px!important;cursor:pointer!important;white-space:nowrap!important}.toc-option input[type=checkbox]{width:16px!important;height:16px!important;margin:0!important;accent-color:#2563eb!important}.export-control .button{background:linear-gradient(135deg,#27272a,#18181b)!important;color:#fff!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:8px!important;padding:0 20px!important;font-size:14px!important;font-weight:700!important;height:40px!important;min-height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 4px 12px rgba(0,0,0,.3)!important;white-space:nowrap!important}.export-control .button:hover{background:linear-gradient(135deg,#3f3f46,#27272a)!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(0,0,0,.45)!important}.export-control .blackish-btn.button,html[data-theme=dark] .export-control .blackish-btn.button{background:linear-gradient(145deg,#3f3f46,#18181b)!important;color:#f8fafc!important;border:1px solid rgba(255,255,255,.15)!important;box-shadow:0 4px 15px rgba(0,0,0,.4),inset 0 1px 1px rgba(255,255,255,.1)!important;text-shadow:0 1px 2px rgba(0,0,0,.5)!important}.export-control .blackish-btn.button:hover,html[data-theme=dark] .export-control .blackish-btn.button:hover{background:linear-gradient(145deg,#52525b,#27272a)!important;box-shadow:0 6px 18px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,255,255,.15)!important;transform:translateY(-1px)!important}.export-control .icon-button:not(.fmt-badge){background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important;color:#e2e8f0!important;border-radius:8px!important;width:40px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:700!important;padding:0!important}.export-control .icon-button:not(.fmt-badge):hover{background:rgba(255,255,255,.1)!important}.export-control .icon-button[title="Delete document"]{background:rgba(239,68,68,.1)!important;border:1px solid rgba(239,68,68,.2)!important;color:#f87171!important}.export-control .icon-button[title="Delete document"]:hover{background:rgba(239,68,68,.2)!important}.format-panel-footer .button{background:rgba(37,99,235,.15)!important;color:#c4b5fd!important;border:1px solid rgba(37,99,235,.3)!important;box-shadow:0 4px 12px rgba(0,0,0,.2)!important;border-radius:8px!important;padding:0 18px!important;font-size:13.5px!important;font-weight:600!important;height:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:-moz-fit-content!important;width:fit-content!important;transition:all .2s ease!important}.format-panel-footer .button:hover{background:rgba(37,99,235,.25)!important;color:#ffffff!important;border-color:rgba(37,99,235,.4)!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(37,99,235,.2)!important}.format-panel-footer .button:active{transform:translateY(0) scale(.98)!important;box-shadow:0 2px 8px rgba(37,99,235,.15)!important}body{overflow-x:hidden!important}.seamless-block-wrapper{position:relative;border:1px dashed rgba(255,255,255,.1);margin:24px 0 12px;border-radius:8px;padding-top:4px}.insert-between-bar{display:flex!important;align-items:center!important;gap:6px!important;background:linear-gradient(135deg,rgba(22,28,45,.85),rgba(15,23,42,.95))!important;backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:24px!important;padding:6px 8px!important;position:absolute;top:-38px;left:8px;right:auto;z-index:50;opacity:0;pointer-events:none;transform:translateY(8px) scale(.98);transition:all .25s cubic-bezier(.34,1.56,.64,1)!important;box-shadow:0 12px 32px rgba(0,0,0,.4),inset 0 1px 1px rgba(255,255,255,.15),0 0 0 1px rgba(37,99,235,.1)!important}.insert-between-bar:focus-within,.seamless-block-wrapper:hover .insert-between-bar{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.ibb-badge{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;padding:4px 10px!important;border-radius:12px!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:1px!important;box-shadow:0 2px 8px rgba(16,185,129,.3)!important;margin-right:4px!important}.ibb-btn{background:transparent!important;border:none!important;color:#e2e8f0!important;font-size:12px!important;font-weight:600!important;padding:6px 12px!important;border-radius:16px!important;cursor:pointer!important;transition:all .2s ease!important;white-space:nowrap!important}.ibb-btn:hover{background:rgba(255,255,255,.1)!important;color:#fff!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.1)!important}.ibb-icon-btn{background:transparent!important;border:none!important;color:#94a3b8!important;width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;cursor:pointer!important;transition:all .2s ease!important}.ibb-icon-btn:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}.ibb-icon-btn:disabled{opacity:.3!important;cursor:not-allowed!important}.ibb-icon-btn.danger:hover{background:rgba(239,68,68,.15)!important;color:#ef4444!important}.ibb-sep{width:1px!important;height:16px!important;background:rgba(255,255,255,.15)!important;margin:0 4px!important}.modal-layer{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:none;width:100%;height:100%;cursor:pointer}.modal-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;width:100%;max-width:420px;box-shadow:0 20px 40px rgba(0,0,0,.4);animation:modalIn .2s cubic-bezier(.16,1,.3,1)}.modal-card header{display:flex;justify-content:space-between;align-items:flex-start}.modal-card header h2{font-size:20px;margin:4px 0 0;color:var(--ink)}.modal-card header button{background:transparent;border:none;font-size:24px;color:var(--ink-muted);cursor:pointer;line-height:1}@keyframes modalIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.img-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;background:rgba(15,23,42,.4)!important;border:2px dashed rgba(37,99,235,.4)!important;border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:center;margin:8px 0}.img-drop-zone.dragging,.img-drop-zone:hover{background:rgba(37,99,235,.1)!important;border-color:rgba(37,99,235,.8)!important;transform:translateY(-2px)}.img-drop-icon{font-size:32px;margin-bottom:12px;opacity:.9}.img-drop-title{color:#e2e8f0;font-size:16px;font-weight:600;margin:0 0 6px}.img-drop-sub{color:#94a3b8;font-size:13px;margin:0}.seamless-textarea{min-height:1.5em;outline:none!important;cursor:text;word-wrap:break-word;white-space:pre-wrap;padding:8px 12px;border-radius:8px;transition:background .2s ease;position:relative}.seamless-textarea:focus{background:rgba(37,99,235,.05)}.seamless-textarea.is-empty:before{content:attr(data-placeholder);color:var(--ink-muted);opacity:.5;pointer-events:none;position:absolute;font-style:italic;left:12px;top:8px}.img-toolbar{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;background:rgba(15,23,42,.85)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;border:1px solid rgba(37,99,235,.3)!important;border-radius:12px!important;padding:6px 12px!important;width:max-content!important;margin:0 auto 16px!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important;transition:opacity .2s ease,transform .2s ease!important;opacity:.6}.img-block-wrap:hover .img-toolbar,.img-toolbar:focus-within{opacity:1;transform:translateY(-2px)}.img-toolbar-label{font-size:11px!important;font-weight:700!important;color:var(--ink-muted)!important;text-transform:uppercase!important;letter-spacing:.05em!important;margin-right:4px!important;margin-left:4px!important}.img-tb-btn{background:transparent!important;border:1px solid transparent!important;color:#e2e8f0!important;border-radius:6px!important;padding:6px 10px!important;font-size:14px!important;font-weight:500!important;cursor:pointer!important;transition:all .2s ease!important;display:flex!important;align-items:center!important;justify-content:center!important}.img-tb-btn:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}.img-tb-btn.active{background:rgba(37,99,235,.25)!important;border-color:rgba(37,99,235,.5)!important;color:#c4b5fd!important;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)!important}.img-tb-btn.danger:hover{background:rgba(239,68,68,.15)!important;color:#fca5a5!important;border-color:rgba(239,68,68,.4)!important}.img-toolbar-sep{width:1px!important;height:20px!important;background:rgba(255,255,255,.15)!important;margin:0 6px!important}.img-figure{display:flex;width:100%;margin:16px 0;box-sizing:border-box}.img-figure figure{margin:0;display:flex;flex-direction:column;max-width:100%}.img-preview{max-width:100%;height:auto;border-radius:8px;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 12px rgba(0,0,0,.1)}.img-caption-display{display:block;text-align:center;margin-top:8px;font-size:13px;color:var(--ink-muted);cursor:text}.img-caption-display.empty{opacity:.5;font-style:italic}.img-caption-input{display:block;width:100%;text-align:center;margin-top:8px;font-size:13px;color:var(--ink);background:transparent;border:none;outline:none}.mobile-editor-dock{position:fixed!important;bottom:30px!important;left:50%!important;transform:translateX(-50%)!important;gap:4px!important;background:linear-gradient(135deg,rgba(30,41,59,.95),rgba(15,23,42,.98))!important;backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;border:1px solid rgba(255,255,255,.15)!important;padding:6px 8px!important;border-radius:20px!important;box-shadow:0 16px 40px rgba(0,0,0,.4),0 0 0 1px rgba(37,99,235,.1)!important;z-index:100!important}.mobile-editor-dock,.mobile-editor-dock-btn{display:flex!important;align-items:center!important}.mobile-editor-dock-btn{background:transparent!important;border:none!important;color:#cbd5e1!important;width:40px!important;height:40px!important;justify-content:center!important;border-radius:12px!important;font-size:16px!important;cursor:pointer!important;transition:all .2s cubic-bezier(.16,1,.3,1)!important}.mobile-editor-dock-btn:hover{background:rgba(255,255,255,.1)!important;color:#fff!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.15)!important;transform:translateY(-2px)}.mobile-editor-dock-btn b{font-weight:700}.mobile-editor-dock-btn i{font-style:italic;font-family:serif;font-size:18px}.mobile-editor-dock-btn u{text-decoration:underline;text-underline-offset:4px}.mobile-editor-dock-btn.primary-insert{background:linear-gradient(135deg,#2563eb,#6d28d9)!important;color:white!important;margin-left:6px!important;border-radius:14px!important}.mobile-editor-dock-btn.primary-insert:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 4px 12px rgba(37,99,235,.4),inset 0 1px 1px rgba(255,255,255,.2)!important}.editor-message{position:fixed!important;bottom:30px!important;right:30px!important;z-index:100!important;background:linear-gradient(135deg,rgba(22,28,45,.92),rgba(15,23,42,.98))!important;backdrop-filter:blur(16px) saturate(180%)!important;-webkit-backdrop-filter:blur(16px) saturate(180%)!important;border:1px solid rgba(255,255,255,.12)!important;border-left:4px solid #10b981!important;border-radius:12px!important;padding:14px 20px!important;color:#f8fafc!important;font-family:var(--sans)!important;font-size:14px!important;font-weight:500!important;letter-spacing:.3px!important;display:flex!important;align-items:center!important;box-shadow:0 12px 32px rgba(0,0,0,.3),0 0 0 1px rgba(37,99,235,.05)!important;animation:toastSlideUp .35s cubic-bezier(.16,1,.3,1) forwards!important}@keyframes toastSlideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.editor-message button{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:50%!important;width:26px!important;height:26px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#94a3b8!important;font-size:14px!important;margin-left:18px!important;cursor:pointer!important;transition:all .3s cubic-bezier(.34,1.56,.64,1)!important;padding:0!important}.editor-message button:hover{background:rgba(239,68,68,.15)!important;color:#ef4444!important;border-color:rgba(239,68,68,.3)!important;transform:rotate(90deg) scale(1.1)!important}.auth-split-page{display:flex;height:100vh;overflow:hidden;background:#0f172a;font-family:var(--sans)}.auth-split-form{flex:1 1;display:flex;align-items:center;justify-content:center;padding:10px 48px 10px 12%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;background:#0f172a}.auth-split-form::-webkit-scrollbar{display:none}.auth-split-card{width:100%;max-width:380px;margin:auto}.auth-logo-center{display:flex;justify-content:center;margin-bottom:12px}.auth-logo-img{border-radius:10px;box-shadow:0 0 24px rgba(37,99,235,.4);width:38px;height:38px}.auth-title-center{text-align:center;font:700 22px/1.2 var(--sans);color:#ffffff;letter-spacing:-.02em;margin:0 0 4px}.auth-subtitle{text-align:center;color:#64748b;font-size:13px;margin:0 0 16px}.auth-form{gap:12px}.auth-field,.auth-form{display:flex;flex-direction:column}.auth-field{gap:4px}.auth-field-label{font-size:12px;font-weight:600;color:#94a3b8}.auth-input{width:100%;padding:9px 12px;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:8px!important;color:#ffffff!important;font-size:13px!important;font-family:var(--sans)!important;outline:none!important;transition:border-color .2s,box-shadow .2s!important}.auth-input::placeholder{color:#475569!important}.auth-input:focus{border-color:rgba(37,99,235,.55)!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important}.auth-row{justify-content:space-between}.auth-remember,.auth-row{display:flex;align-items:center}.auth-remember{gap:8px;font-size:12px;color:#94a3b8;cursor:pointer}.auth-checkbox{width:14px;height:14px;border-radius:4px;accent-color:#2563eb;cursor:pointer}.auth-forgot{font-size:12px;font-weight:500;color:#2563eb;text-decoration:none}.auth-forgot:hover{color:#a78bfa}.auth-submit-btn{width:100%;padding:10px 20px;background:linear-gradient(135deg,#a78bfa,#7c3aed);border:none;border-radius:8px;color:#ffffff;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;font-family:var(--sans);box-shadow:0 6px 20px rgba(124,58,237,.4);margin-top:2px}.auth-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#c084fc,#8b5cf6);transform:translateY(-1px);box-shadow:0 10px 28px rgba(124,58,237,.6)}.auth-submit-btn:disabled{opacity:.6;cursor:wait}.auth-terms{text-align:center;font-size:11px;color:#475569;margin:10px 0 0;line-height:1.4}.auth-terms-link{color:#2563eb;text-decoration:none}.auth-terms-link:hover{color:#a78bfa}.auth-switch{text-align:center;font-size:12px;color:#64748b;margin:6px 0 0}.auth-switch a{color:#2563eb;font-weight:600;text-decoration:none}.auth-switch a:hover{color:#a78bfa}.auth-divider{display:flex;align-items:center;gap:12px;margin:14px 0 10px;color:#334155;font-size:11px;letter-spacing:.04em}.auth-divider:after,.auth-divider:before{content:"";flex:1 1;height:1px;background:rgba(255,255,255,.08)}.auth-social-group{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px}.auth-social-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#cbd5e1;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:var(--sans);white-space:nowrap}.auth-social-btn:hover{background:rgba(37,99,235,.1);border-color:rgba(37,99,235,.35);color:#ffffff;transform:translateY(-1px)}.auth-split-panel-image{width:45%;min-width:480px;max-width:700px;flex-shrink:0;position:relative;background:transparent;display:flex;align-items:center;justify-content:center;padding:16px}.auth-side-img{width:100%;height:100%;max-height:88vh;object-fit:contain}.top-right-profile{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#20302b;color:#fff;font-weight:700;font-size:16px;text-decoration:none;overflow:hidden;border:2px solid rgba(37,99,235,.2);transition:all .2s ease;margin-left:16px;flex-shrink:0}.top-right-profile:hover{border-color:rgba(37,99,235,.6);transform:translateY(-2px);box-shadow:0 4px 12px rgba(37,99,235,.3)}.top-right-profile img{width:100%;height:100%;object-fit:cover}