:root{--text:#475569;--text-h:#0f172a;--bg:#f8fafc;--border:#e2e8f0;--code-bg:#f1f5f9;--accent:#ea580c;--accent-hover:#c2410c;--accent-bg:#ea580c0f;--accent-border:#ea580c4d;--social-bg:#fff;--shadow:0 10px 30px -10px #0f172a14, 0 1px 3px #0f172a08;--card-bg:#ffffffd9;--card-border:#ffffffb3;--sans:"Outfit", "Kantumruy Pro", system-ui, -apple-system, sans-serif;--heading:"Outfit", "Kantumruy Pro", system-ui, -apple-system, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/1.6 var(--sans);letter-spacing:.15px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:15px}}[data-theme=dark]{--text:#94a3b8;--text-h:#f8fafc;--bg:#090a0f;--border:#334155;--code-bg:#1e293b;--accent:#f97316;--accent-hover:#fb923c;--accent-bg:#f973161f;--accent-border:#f9731666;--social-bg:#1e293b;--shadow:0 20px 40px -15px #00000080;--card-bg:#0f172aa6;--card-border:#ffffff0d}#root{box-sizing:border-box;-ms-overflow-style:none;scrollbar-width:none;flex-direction:column;width:100%;height:100%;min-height:100svh;display:flex;overflow-y:auto}#root::-webkit-scrollbar{display:none}html,body{-ms-overflow-style:none;scrollbar-width:none;height:100%;margin:0;overflow-y:auto}html::-webkit-scrollbar{display:none}body::-webkit-scrollbar{display:none}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.header{background-color:var(--card-bg);border-bottom:1px solid var(--card-border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10;justify-content:space-between;align-items:center;padding:.85rem 2rem;display:flex;position:sticky;top:0;box-shadow:0 4px 20px #00000005}.header-left{align-items:center;gap:3rem;display:flex}.header-nav{align-items:center;gap:.5rem;display:flex}.logo-link{align-items:center;gap:.5rem;text-decoration:none;display:flex}.logo{object-fit:contain;width:36px;height:36px}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.logo.spin-clicked{animation:.6s cubic-bezier(.4,0,.2,1) logo-spin}.app-name{color:var(--text-h);letter-spacing:-.5px;margin-left:.25rem;font-family:Outfit,sans-serif;font-size:1.35rem;font-weight:700}.header-right{align-items:center;gap:1rem;display:flex}.nav-link{color:var(--text);border-radius:8px;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.95rem;font-weight:600;text-decoration:none;transition:all .2s ease-in-out;display:flex}.nav-link:hover{background-color:var(--accent-bg);color:var(--accent)}.signup-btn{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);padding:.5rem 1.25rem;box-shadow:0 4px 10px #ea580c26;color:#fff!important}.signup-btn:hover{background:linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);transform:translateY(-1px);box-shadow:0 6px 14px #ea580c40}.theme-toggle-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.6rem;transition:all .2s ease-in-out;display:flex}.theme-toggle-btn:active{transform:scale(.9)}@media (hover:hover) and (pointer:fine){.theme-toggle-btn:hover{color:var(--accent);background-color:var(--accent-bg);transform:rotate(15deg)}}@keyframes iconSpinIn{0%{opacity:0;transform:rotate(-90deg)scale(.5)}to{opacity:1;transform:rotate(0)scale(1)}}.theme-toggle-btn svg{animation:.4s cubic-bezier(.175,.885,.32,1.275) forwards iconSpinIn;display:block}.lang-toggle-btn{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.35rem;padding:.4rem .75rem;font-family:Kantumruy Pro,sans-serif;font-size:.85rem;font-weight:600;transition:all .2s ease-in-out;display:flex}.lang-toggle-btn:hover{color:var(--accent);background-color:var(--accent-bg);border-color:var(--accent-border)}.lang-toggle-btn svg{display:block}.nav-dropdown-wrapper{display:inline-block;position:relative}.nav-dropdown-btn{color:var(--text);cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:8px;align-items:center;gap:.35rem;padding:.5rem 1rem;font-family:inherit;font-size:.95rem;font-weight:600;transition:all .2s ease-in-out;display:flex}.nav-dropdown-btn:hover,.nav-dropdown-btn.active{background-color:var(--accent-bg);color:var(--accent)}.chevron-icon{transition:transform .2s ease-in-out}.chevron-icon.rotate{transform:rotate(180deg)}.nav-dropdown-menu{background:var(--social-bg);border:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 10px 30px -10px #00000026, var(--shadow);z-index:100;box-sizing:border-box;border-radius:12px;flex-direction:column;gap:.25rem;min-width:190px;padding:.5rem;animation:.2s cubic-bezier(.16,1,.3,1) dropdownFadeIn;display:flex;position:absolute;top:calc(100% + .5rem);left:0}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{color:var(--text);box-sizing:border-box;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.5rem;width:100%;padding:.6rem .85rem;font-family:inherit;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s ease-in-out;display:flex}.dropdown-item:hover{background-color:var(--accent-bg);color:var(--accent)}.dropdown-item-icon{color:var(--text);flex-shrink:0;transition:color .2s ease-in-out}.dropdown-item:hover .dropdown-item-icon{color:var(--accent)}.header-user-menu-wrapper{display:inline-block;position:relative}.header-avatar-btn{color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;padding:0;font-family:Kantumruy Pro,sans-serif;font-size:1rem;font-weight:700;transition:opacity .2s;display:flex}.header-avatar-btn:hover{opacity:.85}.header-profile-dropdown:before{border-bottom-color:var(--border);border-width:8px;right:0}.header-profile-dropdown:after{border-bottom-color:var(--social-bg);border-width:7px;right:1px}.header-profile-dropdown{background:var(--social-bg);border:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 10px 30px -10px #00000026, var(--shadow);z-index:100;box-sizing:border-box;border-radius:14px;flex-direction:column;gap:.25rem;min-width:230px;padding:.75rem;animation:.2s cubic-bezier(.16,1,.3,1) dropdownFadeIn;display:flex;position:absolute;top:calc(100% + .65rem);right:0}.dropdown-user-info{flex-direction:column;align-items:flex-start;gap:.25rem;padding:.5rem .75rem .75rem;display:flex}.dropdown-username{color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin:0;font-size:.95rem;font-weight:700;overflow:hidden}.dropdown-email{color:var(--text-s);white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin:0;font-size:.8rem;overflow:hidden}.dropdown-badge{text-transform:uppercase;letter-spacing:.5px;border-radius:12px;margin-top:.25rem;padding:.2rem .5rem;font-size:.7rem;font-weight:700}.dropdown-badge.badge-guest{color:#d97706;background-color:#fef3c7;border:1px solid #fde68a}[data-theme=dark] .dropdown-badge.badge-guest{color:#fbbf24;background-color:#d9770626;border-color:#d977064d}.dropdown-badge.badge-user{color:#15803d;background-color:#dcfce7;border:1px solid #bbf7d0}[data-theme=dark] .dropdown-badge.badge-user{color:#4ade80;background-color:#15803d26;border-color:#15803d4d}.dropdown-divider{background-color:#0f172a4d;height:.5px;margin:.375rem 0}[data-theme=dark] .dropdown-divider{background-color:#ffffffe1;height:.5px;margin:.375rem 0}.dropdown-logout-btn:hover{color:#ef4444!important;background-color:#ef444414!important}.dropdown-logout-btn:hover .dropdown-item-icon{color:#ef4444!important}.dropdown-upgrade-item:hover .dropdown-item-icon{color:var(--accent-hover)!important}.text-accent{color:var(--accent)!important}.logout-modal-backdrop{-webkit-backdrop-filter:blur(6px);z-index:999999;box-sizing:border-box;background-color:#0f172a66;justify-content:center;align-items:center;width:100vw;height:100vh;padding:1.5rem;animation:.2s ease-out modalBackdropFadeIn;display:flex;position:fixed;top:0;left:0}[data-theme=dark] .logout-modal-backdrop{background-color:#000000a6}.logout-modal-card{border:1px solid var(--card-border);text-align:center;box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;align-items:center;gap:1.25rem;width:100%;max-width:400px;padding:2.25rem 2rem;animation:.2s cubic-bezier(.16,1,.3,1) modalScaleIn;display:flex;box-shadow:0 20px 30px #00000026,0 4px 6px #0000000d}[data-theme=dark] .logout-modal-card{background:#0f172a;border-color:#ffffff1f;box-shadow:0 20px 35px #00000080}.logout-modal-icon-wrapper{color:#ef4444;background-color:#ef444414;border:1px solid #ef444429;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:.15rem;display:flex}[data-theme=dark] .logout-modal-icon-wrapper{color:#f87171;background-color:#ef44441f;border-color:#ef444433}.logout-modal-title{font-family:"Kantumruy Pro", var(--sans);color:var(--text-h);margin:0;font-size:1.25rem;font-weight:700}.logout-modal-description{color:var(--text);margin:0;font-size:.925rem;line-height:1.5}.logout-modal-buttons{gap:.75rem;width:100%;margin-top:.5rem;display:flex}.logout-modal-btn-cancel{background:var(--bg);color:var(--text-h);border:1px solid var(--border);font-family:"Kantumruy Pro", var(--sans);cursor:pointer;box-shadow:none;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.925rem;font-weight:600;transition:all .2s}.logout-modal-btn-cancel:hover{background:var(--code-bg);color:var(--text-h)}[data-theme=dark] .logout-modal-btn-cancel{color:var(--text-h);background:#ffffff0d;border-color:#ffffff1a}[data-theme=dark] .logout-modal-btn-cancel:hover{color:#fff;background:#ffffff1a;border-color:#ffffff2e}.logout-modal-btn-confirm{color:#fff;font-family:"Kantumruy Pro", var(--sans);cursor:pointer;box-shadow:none;background:#dc2626;border:1px solid #0000;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.925rem;font-weight:600;transition:all .2s}.logout-modal-btn-confirm:hover{box-shadow:none;background:#b91c1c}.logout-modal-btn-confirm:active{opacity:.9;transform:translateY(0)}[data-theme=dark] .logout-modal-btn-confirm{color:#fff;box-shadow:none;background:#dc2626;border:1px solid #0000}[data-theme=dark] .logout-modal-btn-confirm:hover{box-shadow:none;background:#ef4444}@keyframes modalBackdropFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.95)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}.desktop-only-flex{align-items:center;gap:1rem;display:flex}.mobile-menu-btn{color:var(--text-h);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.5rem;transition:all .2s;display:none}.mobile-menu-btn:hover{background:var(--accent-bg);color:var(--accent)}.mobile-sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;opacity:0;visibility:hidden;background:#0f172a66;transition:all .3s;position:fixed;inset:0}[data-theme=dark] .mobile-sidebar-overlay{background:#0009}.mobile-sidebar-overlay.open{opacity:1;visibility:visible}.mobile-sidebar{background:var(--social-bg);z-index:1001;flex-direction:column;width:280px;height:100dvh;transition:right .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;top:0;right:-300px;overflow:hidden;box-shadow:-5px 0 30px #0000001a}[data-theme=dark] .mobile-sidebar{border-left:1px solid var(--border);box-shadow:-5px 0 30px #00000080}.mobile-sidebar.open{right:0}.mobile-sidebar-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.mobile-close-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex}.mobile-close-btn:hover{background:var(--accent-bg);color:var(--accent)}.mobile-sidebar-content{min-height:0;padding:1.5rem;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom));flex-direction:column;flex-grow:1;gap:1.5rem;display:flex;overflow-y:auto}.mobile-nav-links{flex-direction:column;gap:.5rem;display:flex}.mobile-nav-link{color:var(--text-h);border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:1.05rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.mobile-nav-link:hover{background:var(--accent-bg);color:var(--accent)}.mobile-nav-link.sub-link{color:var(--text);padding:.6rem 1rem .6rem 2.5rem;font-size:.95rem}.mobile-nav-group-title{text-transform:uppercase;color:var(--text-h);letter-spacing:.5px;padding:.75rem 1rem .25rem;font-size:.95rem;font-weight:800;display:block}.mobile-sidebar-divider{background:var(--border);flex-shrink:0;width:100%;height:1px;min-height:1px}.mobile-settings{flex-direction:column;gap:.5rem;display:flex}.mobile-setting-btn{border:1px solid var(--border);color:var(--text-h);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:1rem;font-weight:600;transition:all .2s;display:flex}.mobile-setting-btn:hover{background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}.mobile-auth{flex-direction:column;display:flex}.mobile-user-profile{flex-direction:column;gap:.5rem;display:flex}.mobile-user-info{border-bottom:1px solid var(--border);align-items:center;gap:1rem;margin-bottom:.5rem;padding:.5rem .5rem 1rem;display:flex}.mobile-avatar{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.25rem;font-weight:700;display:flex}.mobile-user-text{flex-direction:column;gap:.15rem;min-width:0;display:flex}.mobile-username{color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.05rem;font-weight:700;overflow:hidden}.mobile-email{color:var(--text);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.85rem;overflow:hidden}.mobile-auth-link{color:var(--text-h);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;font-size:1rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.mobile-auth-link:hover{background:var(--accent-bg)}.text-red{color:#ef4444!important}.mobile-auth-link.text-red:hover{background:#ef44441a}.mobile-auth-buttons{flex-direction:column;gap:.75rem;display:flex}.mobile-btn-outline,.mobile-btn-solid{text-align:center;border-radius:8px;padding:.85rem;font-weight:600;text-decoration:none;transition:all .2s}.mobile-btn-outline{border:1px solid var(--accent);color:var(--accent)}.mobile-btn-solid{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);color:#fff}@media (width<=860px){.desktop-only,.desktop-only-flex{display:none!important}.mobile-menu-btn{display:flex}}.footer{background-color:var(--card-bg);border-top:1px solid var(--card-border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-sizing:border-box;z-index:10;width:100%;margin-top:auto;padding:4rem 2rem 2.5rem}.footer-top{grid-template-columns:1.5fr repeat(3,1fr);gap:3rem;max-width:1050px;margin:0 auto 3rem;display:grid}.footer-brand{flex-direction:column;align-items:flex-start;gap:1rem;display:flex}.footer-logo-link{align-items:center;gap:.5rem;text-decoration:none;display:flex}.footer-logo{object-fit:contain;width:32px;height:32px}.footer-app-name{color:var(--text-h);letter-spacing:-.5px;font-family:Outfit,sans-serif;font-size:1.25rem;font-weight:700}.footer-description{color:var(--text);text-align:left;max-width:320px;margin:0;font-size:.9rem;line-height:1.6}.footer-links-grid{display:contents}.footer-links-col{flex-direction:column;align-items:flex-start;gap:.75rem;display:flex}.footer-links-col h4{color:var(--text-h);text-transform:uppercase;letter-spacing:.5px;margin:0 0 .25rem;font-family:Kantumruy Pro,sans-serif;font-size:.95rem;font-weight:700}.footer-links-col a{color:var(--text);font-size:.9rem;font-weight:500;text-decoration:none;transition:color .2s ease-in-out}.footer-links-col a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1050px;margin:0 auto;padding-top:1.5rem;display:flex}.footer-copyright{color:var(--text);margin:0;font-size:.85rem}@media (width<=768px){.footer{padding:3rem 1.5rem 1.5rem}.footer-top{grid-template-columns:1fr;gap:2.5rem;margin-bottom:2.5rem}.footer-brand{text-align:center;align-items:center}.footer-description{text-align:center;max-width:100%}.footer-links-col{align-items:center}.footer-bottom{text-align:center;justify-content:center}}.page-container{box-sizing:border-box;-ms-overflow-style:none;scrollbar-width:none;background-image:linear-gradient(#f8fafc73,#f8fafc73),url(/authBg.png);background-position:50%;background-repeat:no-repeat;background-size:100% 100%;flex:1;justify-content:center;align-items:center;padding:2.5rem 1.5rem;display:flex;position:relative;overflow-y:auto}.page-container::-webkit-scrollbar{display:none}[data-theme=dark] .page-container{background-image:linear-gradient(#090a0fcc,#090a0fcc),url(/authBg.png)}.page-container.home-page{flex-direction:column;justify-content:flex-start;align-items:center;padding:0}.home-page .home-wrapper{padding:2rem 1.5rem 6rem}.backdrop-blob{display:none}.blob-1{background:#ea580c;width:400px;height:400px;animation:20s infinite alternate float-blob;top:-10%;left:-10%}.blob-2{background:#fb923c;width:500px;height:500px;animation:25s infinite alternate-reverse float-blob;bottom:-15%;right:-10%}.blob-3{background:#f97316;width:300px;height:300px;animation:18s infinite alternate float-blob;top:40%;left:60%}@keyframes float-blob{0%{transform:translate(0)scale(1)}50%{transform:translate(40px,30px)scale(1.1)}to{transform:translate(-20px,-40px)scale(.9)}}.home-wrapper{z-index:1;box-sizing:border-box;flex-direction:column;gap:4rem;width:100%;max-width:1050px;padding:2rem 0;animation:.6s cubic-bezier(.16,1,.3,1) cardFadeIn;display:flex}.hero-section{text-align:center;box-sizing:border-box;flex-direction:column;align-items:center;gap:1.5rem;max-width:820px;margin:0 auto;padding:12rem 0 3rem;display:flex}.hero-section h1{color:var(--text-h);letter-spacing:-1.2px;margin:0;font-size:3rem;font-weight:850;line-height:1.15}.hero-section h1.khmer-title{font-family:"Kantumruy Pro", var(--sans);letter-spacing:0;font-size:2.4rem;font-weight:700;line-height:1.35}.hero-subtitle{color:var(--text);max-width:650px;margin:0;font-size:1.2rem;line-height:1.6}.hero-ctas{flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:.75rem;display:flex}.cta-button{cursor:pointer;box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:.85rem 2.25rem;font-size:1.05rem;font-weight:600;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex}.primary-cta{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);color:#fff;box-shadow:0 4px 14px #ea580c33}.primary-cta:hover{color:#fff;transform:translateY(-2px);box-shadow:0 6px 20px #ea580c59}.primary-cta .btn-arrow{transition:transform .2s ease-in-out}.primary-cta:hover .btn-arrow{transform:translate(4px)}.secondary-cta{background:var(--social-bg);border:1px solid var(--border);color:var(--text-h)}.secondary-cta:hover{background:var(--code-bg);border-color:var(--text);color:var(--text-h);transform:translateY(-2px)}.cta-button:active{transform:translateY(0)}.features-section{box-sizing:border-box;flex-direction:column;gap:3rem;width:100%;display:flex}.features-header{text-align:center;max-width:600px;margin:0 auto}.features-header h2{color:var(--text-h);letter-spacing:-.6px;margin:0 0 .5rem;font-size:2.1rem;font-weight:800}.features-header h2.khmer-title{font-family:"Kantumruy Pro", var(--sans);letter-spacing:0;font-size:1.85rem;font-weight:700;line-height:1.4}.features-header p{color:var(--text);margin:0;font-size:1.05rem;line-height:1.5}.features-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;width:100%;display:grid}.feature-card{background:var(--card-bg);border:1px solid var(--card-border);-webkit-backdrop-filter:blur(16px)saturate(120%);backdrop-filter:blur(16px)saturate(120%);box-shadow:var(--shadow);text-align:left;cursor:default;box-sizing:border-box;border-radius:16px;flex-direction:column;align-items:flex-start;gap:.85rem;padding:2.25rem 1.75rem;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex}.feature-card:hover{border-color:var(--border);transform:translateY(-4px);box-shadow:0 12px 30px #0f172a0d}[data-theme=dark] .feature-card:hover{border-color:#fff3}.feature-icon-wrapper{background:var(--accent-bg);color:var(--accent);border-radius:8px;justify-content:center;align-items:center;padding:.75rem;display:flex}.feature-card h3{color:var(--text-h);letter-spacing:-.2px;margin:0;font-size:1.2rem;font-weight:750}.feature-card p{color:var(--text);margin:0;font-size:.925rem;line-height:1.6}.tools-section{box-sizing:border-box;flex-direction:column;gap:3rem;width:100%;display:flex}.tools-grid{box-sizing:border-box;grid-template-columns:1fr;gap:1.5rem;width:100%;display:grid}@media (width>=768px){.tools-grid{grid-template-columns:1fr 1fr}}.tools-container-box{background:var(--code-bg);border:1px solid var(--border);box-sizing:border-box;border-radius:24px;width:100%;padding:2.5rem;box-shadow:inset 0 2px 10px #00000005}@media (width<=768px){.tools-container-box{border-radius:20px;padding:1.5rem}}.tool-card{background:var(--card-bg);border:1px solid var(--card-border);-webkit-backdrop-filter:blur(16px)saturate(120%);backdrop-filter:blur(16px)saturate(120%);box-shadow:var(--shadow);text-align:left;color:inherit;box-sizing:border-box;border-radius:16px;flex-direction:row;align-items:center;gap:1.5rem;padding:2rem;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex}.tool-card:hover{border-color:var(--border);transform:translateY(-4px);box-shadow:0 12px 30px #0f172a0d}[data-theme=dark] .tool-card:hover{border-color:#fff3}.tool-icon-wrapper{background:var(--accent-bg);color:var(--accent);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;padding:1rem;display:flex}.tool-content{flex-direction:column;gap:.5rem;display:flex}.tool-content h3{color:var(--text-h);letter-spacing:-.2px;margin:0;font-size:1.15rem;font-weight:750}.tool-content p{color:var(--text);margin:0;font-size:.875rem;line-height:1.5}.form-container{background:var(--card-bg);border:1px solid var(--card-border);-webkit-backdrop-filter:blur(16px)saturate(120%);backdrop-filter:blur(16px)saturate(120%);box-shadow:var(--shadow);z-index:1;box-sizing:border-box;border-radius:16px;width:100%;max-width:440px;padding:2.5rem 2.25rem;animation:.5s cubic-bezier(.16,1,.3,1) cardFadeIn;position:relative}.card-back-btn{color:var(--text);cursor:pointer;z-index:5;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;text-decoration:none;transition:all .2s ease-in-out;display:flex;position:absolute;top:.3rem;left:0}.card-back-btn:hover{color:var(--accent);background-color:var(--accent-bg);transform:translate(-2px)}.page-container.auth-container{align-items:flex-start;padding-top:6rem}.form-container.legal-container{text-align:left;width:95%;max-width:800px;padding:1.25rem 1.5rem!important}.legal-content{flex-direction:column;gap:1.5rem;display:flex}.legal-section{border-bottom:1px solid var(--border);flex-direction:column;gap:.75rem;padding-bottom:1.25rem;display:flex}.legal-section:last-child{border-bottom:none;padding-bottom:0}.legal-section h2{color:var(--text-h);margin:1rem 0 .25rem;font-size:1.35rem;font-weight:750}.legal-section p{color:var(--text);margin:0;font-size:.95rem;line-height:1.7}.signup-card,.login-card{margin-bottom:3rem}@keyframes cardFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.form-header{text-align:center;margin-bottom:2rem;position:relative}.form-header h1{color:var(--text-h);letter-spacing:-.5px;margin:0;font-size:1.85rem;font-weight:700}.form-header h1.khmer-title{font-family:"Kantumruy Pro", var(--sans);letter-spacing:0;font-size:1.65rem;font-weight:600;line-height:1.4}.form-header .subtitle{color:var(--text);margin-top:.5rem;margin-bottom:0;font-size:.9rem}.subtitle-limit-inline{color:var(--accent);font-weight:500;font-family:"Kantumruy Pro", var(--sans)}.auth-form{flex-direction:column;gap:1.25rem;display:flex}.form-group{flex-direction:column;align-items:flex-start;width:100%;display:flex}.form-group label{color:var(--text-h);margin-bottom:.45rem;font-size:.85rem;font-weight:600}.form-input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);box-sizing:border-box;border-radius:8px;padding:.75rem 1rem;font-size:.95rem;transition:all .2s ease-in-out}.form-input::placeholder{color:#9ca3af}.form-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg);outline:none}.form-input:-webkit-autofill{-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 1000px #e8f0fe!important}.form-input:-webkit-autofill:hover{-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 1000px #e8f0fe!important}.form-input:-webkit-autofill:focus{-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 1000px #e8f0fe!important}.form-input:-webkit-autofill:active{-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 1000px #e8f0fe!important}[data-theme=dark] .form-input:-webkit-autofill{-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;-webkit-box-shadow:inset 0 0 0 1000px #1e2c42!important}[data-theme=dark] .form-input:-webkit-autofill:hover{-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;-webkit-box-shadow:inset 0 0 0 1000px #1e2c42!important}[data-theme=dark] .form-input:-webkit-autofill:focus{-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;-webkit-box-shadow:inset 0 0 0 1000px #1e2c42!important}[data-theme=dark] .form-input:-webkit-autofill:active{-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;-webkit-box-shadow:inset 0 0 0 1000px #1e2c42!important}.password-input-wrapper{width:100%;position:relative}.password-input{padding-right:2.75rem}.password-toggle-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:.25rem;transition:color .2s,background-color .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.password-toggle-btn:hover{color:var(--text-h);background-color:var(--code-bg)}.form-options{justify-content:space-between;align-items:center;width:100%;margin-top:.25rem;font-size:.85rem;display:flex}.remember-me-label{color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:flex}.custom-checkbox{appearance:none;background-color:var(--social-bg);border:1px solid var(--border);cursor:pointer;box-sizing:border-box;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;transition:all .2s ease-in-out;display:inline-flex;position:relative}.custom-checkbox:checked{background-color:var(--accent);border-color:var(--accent)}.custom-checkbox:checked:after{content:"";border:1.8px solid #fff;border-width:0 1.8px 1.8px 0;width:3.5px;height:7.5px;position:absolute;top:1.5px;left:5px;transform:rotate(43deg)}.custom-checkbox:hover{border-color:var(--accent-border)}.custom-checkbox:focus-visible{outline:2px solid var(--accent-border);outline-offset:2px}.terms-text a,.forgot-password-link{color:var(--accent);font-weight:600;text-decoration:none;transition:color .2s}.terms-text a:hover,.forgot-password-link:hover{color:var(--accent-hover);text-decoration:underline}.form-button{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);color:#fff;width:100%;font-family:"Kantumruy Pro", var(--sans);cursor:pointer;box-shadow:none;border:none;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;margin-top:.5rem;padding:.85rem;font-size:.95rem;font-weight:600;transition:opacity .2s,transform .15s;display:flex}.form-button:hover{opacity:.9;transform:translateY(-1px)}.form-button:active{opacity:.85;transform:translateY(0)}.form-button svg{width:24px;height:24px}.btn-arrow{font-size:1.5rem;transition:transform .2s ease-in-out}.form-button:hover .btn-arrow{transform:translate(4px)}.social-divider{text-align:center;color:var(--text);align-items:center;width:100%;margin:1.5rem 0;font-size:.8rem;font-weight:500;display:flex}.social-divider:before,.social-divider:after{content:"";border-bottom:1px solid var(--border);flex:1}.social-divider:before{margin-right:.75rem}.social-divider:after{margin-left:.75rem}.social-login-grid{grid-template-columns:1fr 1fr;gap:.75rem;width:100%;margin-bottom:1.5rem;display:grid}.social-login-btn{background:var(--social-bg);border:1px solid var(--border);cursor:pointer;color:var(--text-h);border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:.65rem;font-size:.85rem;font-weight:600;transition:all .2s ease-in-out;display:flex}.social-login-btn:hover{background:var(--code-bg);border-color:var(--text);transform:translateY(-1px)}.error-alert{color:#ef4444;text-align:left;background-color:#ef44441a;border:1px solid #ef44444d;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.85rem;animation:.4s ease-in-out shake;display:flex}.success-alert{color:#22c55e;text-align:left;background-color:#22c55e1a;border:1px solid #22c55e4d;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.85rem;line-height:1.5;display:flex}.dev-reset-box{color:#3b82f6;text-align:left;word-break:break-all;background:#3b82f61a;border:1px dashed #3b82f666;border-radius:6px;margin-top:1rem;padding:.75rem;font-size:.8rem}.dev-reset-box a{color:#60a5fa;font-weight:600;text-decoration:underline}.auth-state-box{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:2.5rem 1rem;display:flex}.auth-spinner{border:3px solid #ffffff26;border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.form-footer{text-align:center;color:var(--text);margin-top:1.5rem;margin-bottom:0;font-size:.875rem}.form-footer a{color:var(--accent);font-weight:600;text-decoration:none;transition:color .2s}.form-footer a:hover{color:var(--accent-hover);text-decoration:underline}.convert-container{max-width:800px}.upload-dropzone{border:2px dashed var(--border);text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:#ffffff05;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:3rem 1.5rem;transition:all .25s ease-in-out;display:flex}.upload-dropzone *{pointer-events:none}[data-theme=dark] .upload-dropzone{border-color:#fff3}.upload-dropzone:hover,.upload-dropzone.drag-active{border-color:var(--accent);background:var(--accent-bg)}.upload-icon-wrapper{color:var(--accent);margin-bottom:.5rem;transition:transform .2s ease-in-out}.upload-dropzone:hover .upload-icon-wrapper,.upload-dropzone.drag-active .upload-icon-wrapper{transform:translateY(-4px)}.upload-primary-text{color:var(--text-h);margin:0;font-size:1.1rem;font-weight:700}.upload-secondary-text{color:var(--text);margin:0;font-size:.85rem}.upload-limit-badge{color:var(--text-h);background:var(--social-bg);border:1px solid var(--border);font-size:.78rem;font-weight:600;font-family:"Kantumruy Pro", var(--sans);opacity:.85;border-radius:999px;align-items:center;gap:.35rem;margin-top:.25rem;padding:.25rem .75rem;transition:all .2s;display:inline-flex}.upload-dropzone:hover .upload-limit-badge{border-color:var(--accent);color:var(--accent);opacity:1}.upload-size-error{color:#ef4444;font-size:.85rem;font-weight:500;font-family:"Kantumruy Pro", var(--sans);background-color:#ef44441a;border:1px solid #ef44444d;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;animation:.2s fadeIn;display:flex}.file-preview-card{flex-direction:column;gap:1.5rem;width:100%;display:flex}.file-info{background:var(--code-bg);border:1px solid var(--border);box-sizing:border-box;border-radius:8px;align-items:center;gap:1rem;width:100%;padding:1rem;display:flex;position:relative}.pdf-icon{color:#ef4444;flex-shrink:0}.file-details{text-align:left;flex-direction:column;flex:1;align-items:flex-start;display:flex;overflow:hidden}.file-name{color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;width:100%;margin:0;font-size:.95rem;font-weight:600;overflow:hidden}.file-size{color:var(--text);margin:.15rem 0 0;font-size:.825rem}.remove-file-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:.25rem;transition:all .2s;display:flex}.remove-file-btn:hover{color:#ef4444;background:#ef44441a}.progress-container{box-sizing:border-box;flex-direction:column;align-items:center;gap:1rem;width:100%;padding:1.5rem 0;display:flex}.progress-spinner-wrapper{justify-content:center;align-items:center;width:80px;height:80px;display:flex;position:relative}.progress-ring{transform:rotate(-90deg)}.progress-ring-circle{transition:stroke-dashoffset .15s linear}.progress-value{color:var(--text-h);font-size:1.15rem;font-weight:700;position:absolute}.progress-title{color:var(--text-h);margin:0;font-size:1.15rem;font-weight:700}.progress-stage{color:var(--accent);min-height:1.4rem;margin:0;font-size:.9rem;font-weight:600}.success-container{box-sizing:border-box;flex-direction:column;align-items:center;gap:1.5rem;width:100%;padding:1rem 0;display:flex}.success-icon-wrapper{color:#10b981;background:#10b9811a;border-radius:50%;justify-content:center;align-items:center;padding:1.25rem;animation:.3s cubic-bezier(.34,1.56,.64,1) scaleIn;display:flex}@keyframes scaleIn{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.success-container h2{color:var(--text-h);margin:0;font-size:1.45rem;font-weight:750}.file-info-complete{color:var(--text-h);background:var(--accent-bg);border:1px dashed var(--accent-border);box-sizing:border-box;border-radius:8px;align-items:center;gap:.5rem;max-width:100%;padding:.75rem 1.25rem;font-size:.95rem;font-weight:600;display:flex}.file-info-complete span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.word-icon{color:#2b579a;flex-shrink:0}.success-buttons{flex-direction:column;align-items:center;gap:.85rem;width:100%;display:flex}.success-buttons .form-button{width:auto;min-width:220px;max-width:280px;padding-left:1.5rem;padding-right:1.5rem}.reset-btn{color:var(--text);cursor:pointer;font-family:"Kantumruy Pro", var(--sans);background:0 0;border:none;padding:.25rem .5rem;font-size:.9rem;font-weight:600;transition:color .2s}.reset-btn:hover{color:var(--accent)}@media (width<=480px){.form-container{border-radius:12px;padding:2rem 1.5rem}.social-login-grid{grid-template-columns:1fr}}.form-container.contact-container{width:95%;max-width:900px;margin-left:auto;margin-right:auto;padding:1.25rem 1.5rem!important}.contact-wrapper{text-align:left;gap:3rem;margin-top:1.5rem;display:flex}.contact-form-side{flex-direction:column;flex:1.2;gap:1.25rem;display:flex}.contact-info-side{border:1px solid var(--border);background:#0f172a0a;border-radius:12px;flex-direction:column;flex:.8;gap:1.5rem;height:fit-content;padding:2rem;display:flex}[data-theme=dark] .contact-info-side{background:#ffffff0d}.contact-info-side h3{color:var(--text-h);margin:0;font-size:1.25rem;font-weight:700}.contact-info-list{flex-direction:column;gap:1.5rem;display:flex}.contact-info-item{align-items:flex-start;gap:1rem;display:flex}.info-icon{color:var(--text);flex-shrink:0;justify-content:center;align-items:center;margin-top:.2rem;display:flex}.info-icon svg{display:block}.info-details{flex-direction:column;gap:.25rem;display:flex}.info-label{text-transform:uppercase;letter-spacing:.5px;color:var(--text);opacity:.8;font-size:.75rem;font-weight:700}.info-value{color:var(--text-h);word-break:break-all;font-size:.95rem;font-weight:600;text-decoration:none;transition:color .2s}a.info-value:hover{color:var(--accent)}.form-textarea{resize:vertical;min-height:120px;font-family:inherit}.contact-success-card{padding:3rem 2rem}.reset-btn-filled{background:var(--accent);max-width:250px;margin:1.5rem auto 0}.reset-btn-filled:hover{background:var(--accent-hover)}@media (width<=768px){.contact-wrapper{flex-direction:column;gap:2rem}}.page-container.with-footer{flex-direction:column;justify-content:flex-start;align-items:center;padding:0}.page-container.with-footer .form-container{margin-top:6rem;margin-bottom:4rem}.page-container.with-footer .form-header{margin-top:6rem;margin-bottom:4.5rem}.page-container.with-footer .form-header+.form-container{margin-top:0}.underline-title{margin-bottom:.5rem;padding-bottom:.75rem;display:inline-block;position:relative}.underline-title:after{content:"";background:linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);border-radius:2px;width:180px;height:4px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.underline-title.privacy-title:after{width:140px}.faq-content{flex-direction:column;gap:1rem;display:flex}.faq-item{border:1px solid var(--border);background-color:#ffffff03;border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.faq-item:hover,.faq-item.open{border-color:var(--accent-border);background-color:var(--accent-bg)}.faq-question-btn{text-align:left;cursor:pointer;width:100%;color:var(--text-h);background:0 0;border:none;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;font-family:inherit;font-size:1.05rem;font-weight:700;display:flex}.faq-question-text.khmer-title{font-family:"Kantumruy Pro", var(--sans);font-size:1.05rem;font-weight:600;line-height:1.4}.faq-chevron{color:var(--text);flex-shrink:0;transition:transform .3s cubic-bezier(.4,0,.2,1)}.faq-item:hover .faq-chevron,.faq-item.open .faq-chevron{color:var(--accent)}.faq-chevron.rotate{transform:rotate(180deg)}.faq-answer-wrapper{grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1);display:grid;overflow:hidden}.faq-answer-wrapper.open{grid-template-rows:1fr}.faq-answer-inner{overflow:hidden}.faq-answer-inner p{color:var(--text);margin:0;padding:0 1.5rem 1.25rem;font-size:.95rem;line-height:1.6}.profile-page-wrapper{flex-direction:column;justify-content:flex-start;align-items:center;padding-top:2rem;padding-bottom:4rem}.profile-page-header{text-align:left;margin-bottom:2rem}.profile-container{background:var(--card-bg);border:1px solid var(--card-border);width:100%;max-width:1250px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-sizing:border-box;border-radius:16px;padding:2.5rem}.profile-grid-layout{grid-template-columns:300px 1fr;gap:3rem;width:100%;display:grid}@media (width<=768px){.profile-grid-layout{grid-template-columns:1fr;gap:2.5rem}}.profile-card-sidebar{background:var(--social-bg);border:1px solid var(--border);box-sizing:border-box;text-align:center;border-radius:12px;flex-direction:column;align-self:start;align-items:center;padding:2rem;display:flex}.profile-avatar-large{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;margin-bottom:1.25rem;font-family:Outfit,sans-serif;font-size:3rem;font-weight:700;display:flex;box-shadow:0 8px 24px #0000001f}.profile-card-name{color:var(--text-h);margin:0 0 .5rem;font-family:Outfit,sans-serif;font-size:1.5rem;font-weight:700}.profile-badge-type{text-transform:uppercase;letter-spacing:.5px;border-radius:20px;padding:.3rem .75rem;font-size:.75rem;font-weight:700}.badge-guest{color:#d97706;background-color:#fef3c7;border:1px solid #fde68a}[data-theme=dark] .badge-guest{color:#fbbf24;background-color:#d9770626;border-color:#d977064d}.badge-user{color:#15803d;background-color:#dcfce7;border:1px solid #bbf7d0}[data-theme=dark] .badge-user{color:#4ade80;background-color:#15803d26;border-color:#15803d4d}.profile-info-divider{background:var(--border);width:100%;height:1px;margin:1.5rem 0}.profile-details-list{flex-direction:column;gap:1rem;width:100%;display:flex}.profile-detail-item{text-align:left;flex-direction:column;align-items:flex-start;gap:.25rem;display:flex}.detail-label{color:var(--text-s);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;font-weight:600}.detail-value{color:var(--text-h);word-break:break-all;font-size:.95rem;font-weight:600}.profile-guest-warning-card{box-sizing:border-box;background-color:#ef44440d;border:1px solid #ef444426;border-radius:8px;flex-direction:column;align-items:center;gap:.75rem;margin-top:1.5rem;padding:1rem;display:flex}.warning-card-icon{color:#ef4444;flex-shrink:0}.profile-guest-warning-card p{color:var(--text);margin:0;font-size:.8rem;line-height:1.4}.guest-upgrade-link{color:var(--accent);font-size:.85rem;font-weight:700;text-decoration:none;transition:color .2s}.guest-upgrade-link:hover{color:var(--accent-hover);text-decoration:underline}.profile-history-panel{flex-direction:column;align-items:flex-start;width:100%;display:flex}.history-panel-header{justify-content:space-between;align-items:center;width:100%;margin-bottom:1.5rem;display:flex}.history-panel-header .history-panel-title{margin:0}.history-panel-title{color:var(--text-h);margin:0 0 1.5rem;font-size:1.5rem;font-weight:700}.history-refresh-btn{border:1px solid var(--border);color:var(--text);font-size:.82rem;font-weight:600;font-family:"Kantumruy Pro", var(--sans);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border-radius:8px;align-items:center;gap:.4rem;padding:.4rem .75rem;transition:all .2s;display:inline-flex}.history-refresh-btn:hover:not(:disabled),.history-refresh-btn.refreshing{border-color:var(--text);color:var(--text-h);background:0 0}[data-theme=dark] .history-refresh-btn:hover:not(:disabled),[data-theme=dark] .history-refresh-btn.refreshing{color:var(--text-h);background:0 0;border-color:#ffffff4d}.history-refresh-btn:disabled:not(.refreshing){opacity:.5;cursor:not-allowed}.history-refresh-btn .spin-icon{color:var(--text-h);animation:.75s linear infinite spin-rotate}@keyframes spin-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.history-loading-spinner{justify-content:center;align-items:center;width:100%;padding:4rem 0;display:flex}.spinner-loader{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spinner-rotate}@keyframes spinner-rotate{to{transform:rotate(360deg)}}.history-empty-card{background:var(--social-bg);border:1px dashed var(--border);box-sizing:border-box;text-align:center;width:100%;color:var(--text-s);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;display:flex}.empty-card-icon{color:var(--text-s);opacity:.6;margin-bottom:1rem}.history-empty-card p{margin:0 0 1.25rem;font-size:.95rem}.empty-card-cta{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);border-radius:8px;padding:.6rem 1.5rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;box-shadow:0 4px 10px #ea580c33;color:#fff!important}.empty-card-cta:hover{transform:translateY(-1px);box-shadow:0 6px 14px #ea580c4d}.history-list-wrapper{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;gap:.875rem;width:100%;max-height:540px;padding-right:4px;display:flex;overflow-y:auto}.history-list-wrapper::-webkit-scrollbar{width:6px}.history-list-wrapper::-webkit-scrollbar-track{background:0 0}.history-list-wrapper::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.history-list-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.history-item-card{background:var(--social-bg);border:1px solid var(--border);box-sizing:border-box;border-radius:12px;flex-shrink:0;width:100%;transition:all .22s cubic-bezier(.16,1,.3,1);overflow:hidden}.history-item-card:hover{border-color:#cbd5e1;box-shadow:0 4px 16px -4px #0000000f}[data-theme=dark] .history-item-card:hover{border-color:#475569;box-shadow:0 4px 16px -4px #0000004d}.history-item-card.expanded{border-color:#cbd5e1;box-shadow:0 6px 20px -4px #00000012}[data-theme=dark] .history-item-card.expanded{border-color:#475569;box-shadow:0 6px 20px -4px #0006}.history-item-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;justify-content:space-between;align-items:center;padding:1rem 1.25rem;transition:background-color .2s;display:flex}.history-item-header:hover{background-color:#00000005}[data-theme=dark] .history-item-header:hover{background-color:#ffffff08}.history-item-icon-col{color:var(--accent);flex-shrink:0;justify-content:center;align-items:center;margin-right:1rem;display:flex}.doc-row-icon{opacity:.85}.history-item-details-col{text-align:left;flex:1;min-width:0}.history-item-name{color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;margin:0 0 .25rem;font-size:.95rem;font-weight:600;overflow:hidden}.history-item-meta{color:var(--text-s);flex-wrap:wrap;align-items:center;gap:.5rem;margin:0;font-size:.8rem;display:flex}.meta-bullet{opacity:.4}.meta-tag{color:var(--text);font-weight:600}.meta-has-text-badge,.meta-has-docx-badge{border-radius:4px;align-items:center;gap:.25rem;padding:.1rem .45rem;font-size:.72rem;font-weight:600;display:inline-flex}.meta-has-text-badge{color:var(--accent);background:#ea580c1a}.meta-has-docx-badge{color:#2563eb;background:#2563eb1a}[data-theme=dark] .meta-has-docx-badge{color:#60a5fa;background:#3b82f626}.history-item-actions-col{flex-shrink:0;align-items:center;gap:.75rem;margin-left:1rem;display:flex}.history-expand-toggle{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;width:auto;height:auto;padding:6px;transition:color .2s;display:flex}[data-theme=dark] .history-expand-toggle{color:#94a3b8}.history-expand-toggle:hover{color:var(--text-h);background:0 0}.history-item-card:hover .history-expand-toggle{color:var(--text-h)}.history-expand-toggle.open{color:var(--text-h);background:0 0}.history-expand-toggle .chevron-icon{stroke:currentColor;transition:transform .25s cubic-bezier(.16,1,.3,1);display:block}.history-expand-toggle.open .chevron-icon{transform:rotate(180deg)}.history-item-dropdown-content{border-top:1px solid var(--border);background:var(--card-bg);padding:1.25rem;animation:.25s cubic-bezier(.16,1,.3,1) dropdownFadeIn}.history-extracted-section{font-family:"Kantumruy Pro", var(--sans);flex-direction:column;gap:.75rem;display:flex}.history-extracted-header{font-family:"Kantumruy Pro", var(--sans);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.history-extracted-title-group{color:var(--text-h);font-size:.9rem;font-weight:600;font-family:"Kantumruy Pro", var(--sans);align-items:center;gap:.5rem;display:flex}.history-extracted-title-group svg{color:var(--accent)}.history-extracted-label{color:var(--text-h);font-weight:600;font-family:"Kantumruy Pro", var(--sans)}.history-text-stats{color:var(--text);background:var(--code-bg);border:1px solid var(--border);font-size:.75rem;font-weight:500;font-family:"Kantumruy Pro", var(--sans);border-radius:9999px;margin-left:.25rem;padding:.15rem .5rem}[data-theme=dark] .history-text-stats{color:var(--text);background:#ffffff0d;border-color:#ffffff1f}.history-extracted-actions{font-family:"Kantumruy Pro", var(--sans);align-items:center;gap:1.25rem;display:flex}.history-action-btn{color:var(--text);cursor:pointer;font-size:.9rem;font-weight:600;font-family:"Kantumruy Pro", var(--sans);background:0 0;border:none;border-radius:0;align-items:center;gap:.35rem;padding:0;transition:color .2s;display:inline-flex}.history-action-btn:hover,[data-theme=dark] .history-action-btn:hover,.history-action-btn.copy-btn.copied,[data-theme=dark] .history-action-btn.copy-btn.copied{color:var(--accent);background:0 0}.history-text-preview-box{background:var(--bg);border:1px solid var(--border);box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--border) transparent;border-radius:8px;height:180px;max-height:180px;padding:.875rem 1rem;overflow-y:auto}.history-text-preview-box::-webkit-scrollbar{width:6px}.history-text-preview-box::-webkit-scrollbar-track{background:0 0}.history-text-preview-box::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.history-text-preview-box::-webkit-scrollbar-thumb:hover{background:#94a3b8}.history-extracted-pre{white-space:pre-wrap;word-break:break-word;font-family:"Kantumruy Pro", var(--sans);color:var(--text-h);text-align:left;margin:0;font-size:.9rem;line-height:1.65}.history-no-text-notice{background:var(--social-bg);border:1px dashed var(--border);color:var(--text-s);text-align:left;font-size:.85rem;font-family:"Kantumruy Pro", var(--sans);border-radius:8px;align-items:center;gap:.6rem;padding:.85rem 1rem;display:flex}.history-no-text-notice svg{opacity:.7;flex-shrink:0}.history-no-text-notice p{font-family:"Kantumruy Pro", var(--sans);margin:0}.status-pill{border-radius:6px;padding:.25rem .6rem;font-size:.75rem;font-weight:700}.pill-completed{color:#166534;background-color:#dcfce7}[data-theme=dark] .pill-completed{color:#4ade80;background-color:#16653433}.pill-processing{color:#1e40af;background-color:#dbeafe}[data-theme=dark] .pill-processing{color:#60a5fa;background-color:#1e40af33}.pill-unprocessed{color:#4b5563;background-color:#f3f4f6}[data-theme=dark] .pill-unprocessed{color:#9ca3af;background-color:#4b556333}.pdf-filmstrip-slider::-webkit-scrollbar{height:6px}.pdf-filmstrip-slider::-webkit-scrollbar-track{background:0 0}.pdf-filmstrip-slider::-webkit-scrollbar-thumb{background:0 0;border-radius:3px}.pdf-filmstrip-slider:hover::-webkit-scrollbar-thumb{background:var(--border)}.pdf-filmstrip-slider::-webkit-scrollbar-button{display:none}.pdf-nav-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pdf-nav-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pdf-nav-input[type=number]{appearance:textfield}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}
