@import"https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap";.site-layout{--brand: #4f46e5;--brand-dark: #4338ca;--brand-light: #e0e7ff;--text: #0f172a;--text-muted: #64748b;--bg: #ffffff;--bg-subtle: #f8fafc;min-height:100vh;display:flex;flex-direction:column;font-family:Outfit,system-ui,sans-serif}.site-layout-designer,.site-layout-admin{height:100vh;overflow:hidden}.site-header-wrap{position:sticky;top:0;z-index:200;background:var(--bg);border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d}.site-header{position:relative;z-index:200;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--bg)}.site-header-left{min-width:0;justify-self:start;display:flex;align-items:center;gap:1rem}.site-header-project-name{font-size:.95rem;font-weight:500;color:var(--text);padding-left:1rem;border-left:1px solid #e2e8f0;display:inline-flex;align-items:center;gap:.6rem}.site-header-access-badge{font-size:.75rem;font-weight:600;color:#0f172a;background:#f1f5f9;border:1px solid #e2e8f0;padding:.15rem .5rem;border-radius:999px}.site-nav-center{display:flex;justify-content:center;align-items:center;min-width:0;padding:0 1rem;justify-self:center}.site-header-right{min-width:0;position:relative;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:.5rem}.site-header-designer-actions{display:inline-flex;align-items:center;gap:.35rem;margin-right:.5rem}.site-header-designer-btn{width:32px;height:32px;border-radius:999px;border:1px solid #e2e8f0;background:#f9fafb;color:#6b7280;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s ease,border-color .15s ease,color .15s ease}.site-header-designer-btn:hover{background:#e5e7eb;border-color:#d1d5db;color:#111827}.site-header-auth-buttons{display:flex;align-items:center;gap:.5rem}.site-header-btn{padding:.5rem 1rem;font-size:.9375rem;font-weight:600;text-decoration:none;border-radius:8px;transition:background .2s,color .2s;white-space:nowrap}.site-header-btn.site-btn-ghost{color:var(--text-muted);background:transparent;border:1px solid #e2e8f0}.site-header-btn.site-btn-ghost:hover{color:var(--brand);border-color:var(--brand);background:var(--brand-light)}.site-header-btn.site-btn-primary{color:#fff;background:var(--brand);border:1px solid var(--brand)}.site-header-btn.site-btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.site-logo{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--text);font-weight:700;font-size:1.25rem}.site-logo-icon{display:inline-flex;flex-shrink:0;width:32px;height:32px;line-height:0}.site-logo-icon svg{display:block;width:100%;height:100%}.site-logo-dot{color:var(--brand)}.site-nav{display:none;align-items:center;gap:.25rem}.site-nav-link{color:var(--text-muted);text-decoration:none;font-weight:500;font-size:.9375rem;padding:.5rem .75rem;border-radius:8px;transition:color .2s,background .2s;border:none;background:none;cursor:pointer;font-family:inherit}.site-nav-link:hover{color:var(--brand);background:var(--brand-light)}.site-profile-trigger{width:40px;height:40px;border-radius:50%;border:2px solid #e2e8f0;background:var(--brand-light);color:var(--brand);font-weight:700;font-size:1rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .2s,background .2s}.site-profile-trigger:hover{border-color:var(--brand);background:var(--brand-light)}.site-profile-avatar{display:block;line-height:1}.site-profile-dropdown{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;max-width:280px;background:var(--bg);border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px #0000001f;padding:.5rem .75rem;z-index:60;display:flex;flex-direction:column;gap:.25rem;box-sizing:border-box}.site-profile-dropdown-user{padding:.5rem 1rem;font-size:.8125rem;font-weight:600;color:var(--text-muted);border-bottom:1px solid #f1f5f9;margin-bottom:.25rem}.site-profile-dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0;padding:.6rem .5rem;border:none;background:none;color:var(--text);font-size:.9375rem;font-weight:500;text-decoration:none;cursor:pointer;font-family:inherit;text-align:left;transition:background .2s;border-radius:8px;margin:0;box-sizing:border-box}.site-profile-dropdown-item:hover{background:var(--brand-light);color:var(--brand)}.site-profile-dropdown-primary{background:var(--brand);color:#fff;justify-content:center;margin-top:.25rem}.site-profile-dropdown-primary:hover{background:var(--brand-dark);color:#fff}.site-mobile-nav-toggle{display:flex;align-items:center;grid-column:3;justify-self:end}.site-mobile-menu{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid #e2e8f0;box-shadow:0 10px 25px #0000001a;padding:1rem;flex-direction:column;gap:.5rem;z-index:99}.site-mobile-menu.open{display:flex}.site-mobile-nav-link{display:block;width:100%;padding:.6rem .75rem;color:var(--text);text-decoration:none;font-weight:500;font-size:.9375rem;border-radius:8px;transition:background .2s;border:none;background:none;cursor:pointer;font-family:inherit;text-align:left}.site-mobile-nav-link:hover{background:var(--brand-light);color:var(--brand)}.site-mobile-btn{width:100%;justify-content:center;margin-top:.25rem}.site-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem 1rem;border-radius:10px;font-weight:600;font-size:.875rem;cursor:pointer;text-decoration:none;border:none;transition:all .2s;font-family:inherit}.site-btn-ghost{background:transparent;color:var(--text);border:1px solid #e2e8f0}.site-btn-ghost:hover{background:var(--bg-subtle);border-color:var(--brand);color:var(--brand)}.site-btn-primary{background:var(--brand);color:#fff}.site-btn-primary:hover{background:var(--brand-dark);color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e566}.site-menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;background:transparent;color:var(--text);border-radius:10px;cursor:pointer;transition:background .2s}.site-menu-toggle:hover{background:var(--bg-subtle)}.site-main{flex:1;overflow-y:auto}.site-layout-designer .site-main,.site-layout-admin .site-main{overflow:hidden;display:flex;flex-direction:column;min-height:0}.site-footer{background:var(--text);color:#94a3b8;padding:3rem 1.5rem 2rem;margin-top:auto}.site-footer-inner{max-width:1200px;margin:0 auto;display:grid;gap:1.5rem;text-align:center}.site-footer-brand .site-logo-text{color:#f1f5f9;font-weight:700;font-size:1.125rem}.site-footer-brand p{margin:.5rem 0 0;font-size:.875rem;max-width:320px;margin-left:auto;margin-right:auto}.site-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem}.site-footer-links a{color:#94a3b8;text-decoration:none;font-size:.875rem}.site-footer-links a:hover{color:var(--brand-light)}.site-footer-copy{font-size:.8125rem;padding-top:1rem;border-top:1px solid #334155}@media(min-width:768px){.site-nav{display:flex}.site-mobile-nav-toggle{display:none}.site-mobile-menu{display:none!important}}@media(max-width:767px){.site-nav-center,.site-header-right{display:none}.site-mobile-nav-toggle{grid-column:3}.site-mobile-menu.open{display:flex}.site-mobile-nav-link{padding:.75rem 1rem}}.home-page{--brand: #4f46e5;--brand-dark: #4338ca;--brand-light: #e0e7ff;--text: #0f172a;--text-muted: #64748b;--bg: #ffffff;--bg-subtle: #f8fafc}.hero{position:relative;min-height:90vh;display:flex;align-items:center;justify-content:center;padding:4rem 1.5rem 5rem;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(145deg,#eef2fff7,#e0e7ffeb 40%,#f8fafcf2);z-index:0}.hero-image-wrap{position:absolute;inset:0;z-index:0;overflow:hidden}.hero-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 35%;opacity:.55}.hero-image-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,255,255,.75) 0%,rgba(255,255,255,.5) 35%,rgba(248,250,252,.85) 70%,var(--bg-subtle) 100%);pointer-events:none}.hero-orbs{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}.hero-orb{position:absolute;border-radius:50%;filter:blur(60px);opacity:.4}.hero-orb-1{width:400px;height:400px;background:#4f46e540;top:-120px;right:-80px}.hero-orb-2{width:320px;height:320px;background:#6366f133;bottom:10%;left:-100px}.hero-orb-3{width:240px;height:240px;background:#818cf833;top:50%;left:50%;transform:translate(-50%,-50%)}.hero-pattern{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.04;background-image:radial-gradient(circle at 1px 1px,var(--text) 1px,transparent 0);background-size:32px 32px}.hero-inner{position:relative;z-index:2;max-width:720px;text-align:center}.hero-badge{display:inline-block;padding:.4rem 1rem;margin-bottom:1.25rem;font-size:.8125rem;font-weight:600;color:var(--brand);background:#4f46e51a;border:1px solid rgba(79,70,229,.2);border-radius:999px}.hero-title{font-size:clamp(2.25rem,5vw,3.5rem);font-weight:800;line-height:1.15;color:var(--text);margin:0 0 1.25rem;letter-spacing:-.02em}.hero-title-accent{color:var(--brand)}.hero-subtitle{font-size:1.125rem;color:var(--text-muted);line-height:1.65;margin:0 0 2rem;max-width:540px;margin-left:auto;margin-right:auto}.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-bottom:1.5rem}.hero-cta,.hero-secondary{padding:.75rem 1.5rem;font-size:1rem}.hero-features{display:flex;flex-wrap:wrap;gap:1.25rem 2rem;justify-content:center;margin-bottom:1.75rem;font-size:.9375rem;color:var(--text-muted)}.hero-features span{display:inline-flex;align-items:center;gap:.35rem}.hero-features svg{color:var(--brand);flex-shrink:0}.hero-scroll{cursor:pointer;color:var(--text-muted);display:inline-flex;transition:color .2s}.hero-scroll:hover{color:var(--brand)}.section{padding:4rem 1.5rem}.section-alt{background:var(--bg-subtle)}.section-inner{max-width:1100px;margin:0 auto}.section-inner-narrow{max-width:560px}.section-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:700;color:var(--text);text-align:center;margin:0 0 .75rem}.section-lead{font-size:1.125rem;color:var(--text-muted);text-align:center;margin:0 0 3rem}.how-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.how-card{background:var(--bg);border-radius:16px;padding:2rem;box-shadow:0 4px 20px #0000000f;border:1px solid #e2e8f0;transition:box-shadow .2s,transform .2s}.how-card:hover{box-shadow:0 12px 40px #4f46e526;transform:translateY(-2px)}.how-card-image{width:100%;height:160px;border-radius:12px;overflow:hidden;margin-bottom:1rem;background:var(--bg-subtle)}.how-card-image img{width:100%;height:100%;object-fit:cover}.how-card-icon{width:56px;height:56px;border-radius:14px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}.how-card h3{font-size:1.25rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.how-card p{font-size:.9375rem;color:var(--text-muted);line-height:1.6;margin:0}.trades-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.25rem}.trade-card{background:var(--bg);border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0;transition:border-color .2s,box-shadow .2s}.trade-card:hover{border-color:var(--brand);box-shadow:0 4px 16px #4f46e51a}.trade-badge{display:inline-block;font-weight:600;font-size:.9375rem;color:var(--brand);margin-bottom:.5rem}.trade-card p{font-size:.875rem;color:var(--text-muted);line-height:1.5;margin:0}.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;margin-bottom:4rem}.why-card{background:var(--bg);border-radius:16px;padding:2rem;border:1px solid #e2e8f0;transition:border-color .2s,box-shadow .2s}.why-card:hover{border-color:var(--brand);box-shadow:0 8px 28px #4f46e51f}.why-icon{color:var(--brand);margin-bottom:1rem}.why-card h3{font-size:1.125rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.why-card p{font-size:.9375rem;color:var(--text-muted);line-height:1.6;margin:0}.people-section{margin-bottom:4rem}.people-section-title{font-size:1.5rem;font-weight:700;color:var(--text);text-align:center;margin:0 0 .5rem}.people-section-lead{font-size:1rem;color:var(--text-muted);text-align:center;margin:0 0 2rem}.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1100px;margin:0 auto}.people-grid-item{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:var(--bg-subtle)}.people-grid-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.people-grid-item:hover img{transform:scale(1.05)}.people-grid-item span{position:absolute;bottom:0;left:0;right:0;padding:1rem 1.25rem;background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;font-weight:600;font-size:.9375rem}.people-grid-item-wide{grid-column:1 / -1;aspect-ratio:21/9}.people-grid-item-wide span{font-size:1.125rem}.google-reviews-section{text-align:center;padding:2rem 0}.google-reviews-title{font-size:1.5rem;font-weight:700;color:var(--text);margin:0 0 .5rem}.google-reviews-lead{font-size:1rem;color:var(--text-muted);margin:0 0 1.5rem}.google-reviews-btn{padding:.75rem 1.5rem;font-size:1rem}.resources-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}.resource-card{display:block;background:var(--bg);border-radius:16px;padding:2rem;border:1px solid #e2e8f0;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s}.resource-card:hover{border-color:var(--brand);box-shadow:0 8px 28px #4f46e51f}.resource-card svg{color:var(--brand);margin-bottom:1rem}.resource-card h3{font-size:1.125rem;font-weight:600;color:var(--text);margin:0 0 .5rem}.resource-card p{font-size:.9375rem;color:var(--text-muted);line-height:1.5;margin:0}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;align-items:start}.pricing-grid-3{grid-template-columns:repeat(3,1fr)}.pricing-grid-4{grid-template-columns:repeat(4,1fr)}@media(max-width:1200px){.pricing-grid-4{grid-template-columns:repeat(2,1fr)}}@media(max-width:1100px){.pricing-grid-3{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.pricing-grid-3,.pricing-grid-4{grid-template-columns:1fr}}.pricing-card{position:relative;background:var(--bg);border-radius:20px;padding:2rem;border:1px solid #e2e8f0;transition:border-color .2s,box-shadow .2s}.pricing-card:hover{border-color:#cbd5e1;box-shadow:0 12px 40px #00000014}.pricing-badge{position:absolute;top:-10px;left:50%;transform:translate(-50%);background:var(--brand);color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem;border-radius:999px}.pricing-card h3{font-size:1.25rem;font-weight:700;color:var(--text);margin:0 0 1rem}.pricing-price{margin-bottom:1rem}.pricing-amount{font-size:2.25rem;font-weight:800;color:var(--text)}.pricing-period{font-size:1rem;font-weight:500;color:var(--text-muted)}.pricing-desc{font-size:.9375rem;color:var(--text-muted);line-height:1.5;margin:0 0 1.5rem}.pricing-features{list-style:none;padding:0;margin:0 0 1.5rem}.pricing-features li{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;color:var(--text);padding:.5rem 0;border-bottom:1px solid #f1f5f9}.pricing-features li:last-child{border-bottom:none}.pricing-features li svg{flex-shrink:0;color:var(--brand)}.pricing-feature-included{opacity:1}.pricing-feature-excluded{opacity:.38;color:#94a3b8}.pricing-feature-excluded span{text-decoration:line-through}.pricing-feature-excluded svg{color:#cbd5e1;opacity:.55}.pricing-btn{width:100%;justify-content:center}.pricing-manage-btn{margin-left:auto;white-space:nowrap}.pricing-active-banner{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#ede9fe,#e0e7ff);border:1px solid #c7d2fe;border-radius:14px;margin-bottom:2rem;font-size:.9375rem;color:#3730a3}.pricing-active-banner svg{flex-shrink:0;color:#6366f1}.pricing-active-banner strong{font-weight:700}.pricing-badge-active{background:linear-gradient(135deg,#22c55e,#16a34a)!important}.contact-form{display:flex;flex-direction:column;gap:1.25rem}.form-row{display:flex;flex-direction:column;gap:.35rem}.form-row label{font-size:.875rem;font-weight:500;color:var(--text)}.form-row input,.form-row textarea{padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit;transition:border-color .2s}.form-row input:focus,.form-row textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.form-row textarea{resize:vertical;min-height:100px}.contact-form .site-btn{align-self:flex-start}.contact-form-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.9375rem}.contact-form-success{padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#166534;font-size:.9375rem}.auth-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem}.auth-card{width:100%;max-width:420px;background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 20px 60px #00000014;border:1px solid #e2e8f0}.auth-card h1{font-size:1.75rem;font-weight:700;color:var(--text);margin:0 0 .35rem}.auth-subtitle{font-size:.9375rem;color:var(--text-muted);margin:0 0 1.75rem}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.auth-form .form-row{display:flex;flex-direction:column;gap:.35rem}.auth-form .form-row label{font-size:.875rem;font-weight:500;color:var(--text)}.auth-form .form-row input{padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit;transition:border-color .2s}.auth-form .form-row input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.auth-form .form-row .password-input-wrapper{position:relative}.auth-form .form-row .password-input-wrapper input{width:100%;padding-right:2.75rem}.auth-form .password-toggle-btn{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;background:none;border:none;padding:.25rem;color:var(--text-muted);cursor:pointer;border-radius:6px}.auth-form .password-toggle-btn:hover{color:var(--text)}.auth-form .password-toggle-btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.auth-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.875rem}.auth-submit{width:100%;justify-content:center;padding:.75rem 1.25rem;margin-top:.25rem}.auth-footer{font-size:.9375rem;color:var(--text-muted);text-align:center;margin:1.5rem 0 0}.auth-footer a{color:var(--brand);font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}.auth-legal{font-size:.8125rem;color:var(--text-muted);text-align:center;margin:1rem 0 0;line-height:1.5}.auth-legal a{color:var(--brand);text-decoration:none}.auth-legal a:hover{text-decoration:underline}.otp-input-row{display:flex;gap:.5rem;justify-content:center}.otp-digit-input{width:2.75rem;height:3rem;padding:0;border:1px solid #e2e8f0;border-radius:10px;font-size:1.25rem;font-weight:600;text-align:center;font-family:inherit;transition:border-color .2s}.otp-digit-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.auth-resend-row{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:1.25rem}.auth-resend-message{margin:0;text-align:center}.auth-resend-btn{width:100%;justify-content:center}.auth-inline-link{font-size:.8rem;color:var(--brand);text-decoration:none}.auth-inline-link:hover{text-decoration:underline}.auth-link-btn{background:none;border:none;padding:0;color:var(--brand);cursor:pointer;font:inherit;text-decoration:underline}.profile-page{min-height:calc(100vh - 200px);padding:2rem 1.5rem 4rem}.profile-inner{max-width:560px;margin:0 auto}.profile-page-title{font-size:1.75rem;font-weight:700;color:var(--text, #0f172a);margin:0 0 2rem}.profile-section{background:#fff;border-radius:16px;padding:1.5rem 1.75rem;margin-bottom:1.5rem;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a}.profile-section-title{display:flex;align-items:center;gap:.5rem;font-size:1.125rem;font-weight:600;color:var(--text, #0f172a);margin:0 0 1.25rem}.profile-section-title svg{color:var(--brand, #4f46e5)}.profile-info{display:flex;flex-direction:column;gap:.75rem}.profile-info-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.profile-info-row:last-child{border-bottom:none}.profile-info-label{font-size:.875rem;color:var(--text-muted, #64748b)}.profile-info-value{font-size:.9375rem;font-weight:500;color:var(--text, #0f172a)}.profile-form{display:flex;flex-direction:column;gap:1rem}.profile-form .form-row{display:flex;flex-direction:column;gap:.35rem}.profile-form .form-row label{font-size:.875rem;font-weight:500;color:var(--text, #0f172a)}.profile-form .form-row input{padding:.65rem .9rem;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit}.profile-form .form-row input:focus,.profile-form .form-row select:focus{outline:none;border-color:var(--brand, #4f46e5);box-shadow:0 0 0 3px #4f46e526}.profile-form .form-row select{padding:.65rem .9rem;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit;background:#fff}.profile-error{padding:.6rem .9rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.875rem}.profile-success{padding:.6rem .9rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#166534;font-size:.875rem}.profile-muted{font-size:.9375rem;color:var(--text-muted, #64748b);margin:0 0 1rem}.profile-cta{display:inline-flex;align-items:center;gap:.35rem}.profile-projects-list{list-style:none;padding:0;margin:0}.profile-project-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #f1f5f9;gap:1rem}.profile-project-item:last-child{border-bottom:none}.profile-project-name{font-size:.9375rem;font-weight:500;color:var(--text, #0f172a)}.profile-project-link{display:inline-flex;align-items:center;gap:.25rem;font-size:.8125rem;font-weight:600;color:var(--brand, #4f46e5);text-decoration:none}.profile-project-link:hover{text-decoration:underline}.profile-messages-list{list-style:none;padding:0;margin:0}.profile-message-item{padding:1rem 0;border-bottom:1px solid #f1f5f9}.profile-message-item:last-child{border-bottom:none}.profile-message-meta{margin-bottom:.5rem}.profile-message-date{font-size:.8125rem;color:var(--text-muted, #64748b)}.profile-message-text{font-size:.9375rem;color:var(--text, #0f172a);margin:0 0 .75rem;white-space:pre-wrap}.profile-message-reply{font-size:.875rem;color:var(--text, #0f172a);background:#f8fafc;padding:.75rem 1rem;border-radius:10px;border-left:3px solid var(--brand, #4f46e5)}.profile-message-replied-at{font-size:.75rem;color:var(--text-muted, #64748b)}.profile-message-pending{margin:0;font-size:.8125rem}.profile-quick-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.profile-quick-link{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#fff;border-radius:14px;border:1px solid #e2e8f0;text-decoration:none;transition:all .2s;box-shadow:0 2px 8px #0000000a}.profile-quick-link:hover{border-color:#c7d2fe;transform:translateY(-1px);box-shadow:0 4px 16px #4f46e51a}.profile-quick-link>svg:first-child{color:#4f46e5;flex-shrink:0}.profile-quick-link>svg:last-child{color:#94a3b8;flex-shrink:0;margin-left:auto}.profile-quick-link div{display:flex;flex-direction:column;min-width:0;flex:1}.profile-quick-link strong{font-size:.9375rem;font-weight:600;color:#0f172a}.profile-quick-link span{font-size:.8125rem;color:#64748b}.privacy-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);padding:3rem 1.5rem;display:flex;align-items:flex-start;justify-content:center}.privacy-inner{width:100%;max-width:640px}.privacy-icon-wrap{display:flex;justify-content:center;margin-bottom:1rem;color:var(--brand)}.privacy-inner h1{font-size:1.75rem;font-weight:700;color:var(--text);text-align:center;margin:0 0 .35rem}.privacy-subtitle{font-size:1rem;color:var(--text-muted);text-align:center;margin:0 0 2rem}.privacy-content{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 60px #00000014;border:1px solid #e2e8f0}.privacy-scroll-box{max-height:400px;overflow-y:auto;padding-right:.5rem;margin-bottom:1.5rem;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;background:#f8fafc}.privacy-scroll-box h3{font-size:.9375rem;font-weight:600;color:var(--text);margin:1.25rem 0 .5rem}.privacy-scroll-box h3:first-child{margin-top:0}.privacy-scroll-box p{font-size:.875rem;color:var(--text-muted);line-height:1.6;margin:0 0 .75rem}.privacy-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.875rem;margin-bottom:1rem}.privacy-checkbox-row{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;margin-bottom:1.5rem;font-size:.9375rem;color:var(--text);line-height:1.4}.privacy-checkbox-row input[type=checkbox]{width:18px;height:18px;margin-top:2px;flex-shrink:0;accent-color:var(--brand)}.privacy-submit{width:100%;justify-content:center;padding:.85rem 1.25rem;font-size:1rem;display:flex;align-items:center;gap:.5rem}.legal-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;--text-body: #334155;--bg: #ffffff;--bg-subtle: #f8fafc;--border: #e2e8f0;background:var(--bg-subtle);min-height:calc(100vh - 200px);padding:3rem 1.5rem 4rem}.legal-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.75rem;max-width:960px;margin:0 auto;align-items:start}@media(min-width:960px){.legal-layout.has-toc{grid-template-columns:220px minmax(0,1fr);max-width:1100px}}.legal-toc{display:none;position:sticky;top:5.5rem;max-height:calc(100vh - 6.5rem);overflow:auto;padding:1.25rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:12px;font-size:.8125rem;line-height:1.4}@media(min-width:960px){.legal-layout.has-toc .legal-toc{display:block}}.legal-toc-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:0 0 .75rem}.legal-toc ol{margin:0;padding:0;list-style:none}.legal-toc li{margin:0 0 .45rem}.legal-toc a{color:var(--text-body);text-decoration:none}.legal-toc a:hover{color:var(--brand)}.legal-inner{max-width:820px;margin:0 auto;width:100%;background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:2.75rem 2.25rem 3rem;box-shadow:0 8px 30px #0f172a0a}.legal-layout.has-toc .legal-inner{max-width:none;margin:0}.legal-eyebrow{display:inline-block;font-size:.8125rem;font-weight:600;color:var(--brand);margin-bottom:.75rem}.legal-inner h1{font-size:clamp(1.75rem,3vw,2.35rem);font-weight:800;color:var(--text);letter-spacing:-.02em;margin:0 0 .5rem;line-height:1.2}.legal-updated{font-size:.875rem;color:var(--text-muted);margin:0 0 1.25rem}.legal-note{font-size:.875rem;line-height:1.55;color:var(--text-muted);background:var(--bg-subtle);border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;margin:0 0 1.75rem}.legal-lead{font-size:1.0625rem;line-height:1.7;color:var(--text-muted);margin:0 0 2rem}.legal-section{margin-bottom:2.25rem;scroll-margin-top:5.5rem}.legal-section h2{font-size:1.2rem;font-weight:700;color:var(--text);margin:0 0 .85rem;padding-bottom:.45rem;border-bottom:1px solid var(--border);line-height:1.35}.legal-section h3{font-size:1.02rem;font-weight:650;color:var(--text);margin:1.35rem 0 .55rem;line-height:1.4}.legal-section p,.legal-section li{font-size:.975rem;line-height:1.7;color:var(--text-body);margin:0 0 .85rem}.legal-section ul,.legal-section ol{margin:0 0 1rem;padding-left:1.35rem}.legal-section li{margin-bottom:.5rem}.legal-section li>ul,.legal-section li>ol{margin-top:.4rem;margin-bottom:.35rem}.legal-section a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}.legal-section strong{color:var(--text);font-weight:650}.legal-footer-nav{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-top:2.75rem;padding-top:1.5rem;border-top:1px solid var(--border);font-size:.875rem}.legal-footer-nav a{color:var(--text-muted);text-decoration:none}.legal-footer-nav a:hover{color:var(--brand)}@media(max-width:600px){.legal-page{padding:2rem 1rem 3rem}.legal-inner{padding:1.75rem 1.25rem 2.25rem;border-radius:12px}.legal-section{margin-bottom:1.85rem}}.subscribe-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);padding:3rem 1.5rem;display:flex;align-items:flex-start;justify-content:center}.subscribe-inner{width:100%;max-width:480px}.subscribe-inner-wide{max-width:960px}.subscribe-header{text-align:center;margin-bottom:2rem}.subscribe-header h1{font-size:1.75rem;font-weight:700;color:var(--text);margin:0 0 .35rem}.subscribe-subtitle{font-size:1rem;color:var(--text-muted);margin:0}.subscribe-plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem}@media(max-width:1100px){.subscribe-plans-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.subscribe-plans-grid{grid-template-columns:1fr}}.subscribe-plan-card{position:relative;background:#fff;border-radius:20px;padding:2rem 1.5rem;box-shadow:0 4px 24px #0000000f;border:2px solid #e2e8f0;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;text-align:center}.subscribe-plan-card:hover{border-color:#c7d2fe;transform:translateY(-2px)}.subscribe-plan-card.selected{border-color:var(--brand);box-shadow:0 4px 24px #4f46e526}.subscribe-plan-card.highlighted{border-color:var(--brand)}.subscribe-plan-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:var(--brand);color:#fff;font-size:.75rem;font-weight:600;padding:.25rem 1rem;border-radius:999px;white-space:nowrap}.subscribe-plan-icon{color:var(--brand);margin-bottom:.75rem}.subscribe-plan-card h3{font-size:1.25rem;font-weight:700;color:var(--text);margin:0 0 .5rem}.subscribe-plan-price{margin-bottom:1.25rem}.subscribe-plan-amount{font-size:2rem;font-weight:700;color:var(--text)}.subscribe-plan-period{font-size:.9375rem;color:var(--text-muted)}.subscribe-plan-features{list-style:none;padding:0;margin:0 0 1.5rem;width:100%;text-align:left}.subscribe-plan-features li{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text);padding:.45rem 0;border-bottom:1px solid #f1f5f9}.subscribe-plan-features li:last-child{border-bottom:none}.subscribe-plan-features li svg{color:#22c55e;flex-shrink:0}.subscribe-feature-excluded{opacity:.38;color:#94a3b8}.subscribe-feature-excluded span{text-decoration:line-through}.subscribe-feature-excluded svg{color:#cbd5e1;opacity:.55}.subscribe-plan-btn{width:100%;justify-content:center;margin-top:auto}.subscribe-card-wrap{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 60px #00000014;border:1px solid #e2e8f0;margin-bottom:1.25rem}.subscribe-form-card .subscribe-form-header{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:1rem;color:var(--text);margin-bottom:1.5rem}.subscribe-form-card .subscribe-form-header svg{color:var(--brand)}.subscribe-secure{margin-left:auto;font-size:.8125rem;font-weight:500;color:var(--text-muted);display:inline-flex;align-items:center;gap:.25rem}.subscribe-form{display:flex;flex-direction:column;gap:1.25rem}.subscribe-form-row label{display:block;font-size:.875rem;font-weight:500;color:var(--text);margin-bottom:.35rem}.subscribe-form-row input{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit;transition:border-color .2s;box-sizing:border-box}.subscribe-form-row input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.subscribe-form-row-group{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.subscribe-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.875rem}.subscribe-email-notice{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;color:var(--text-muted)}.subscribe-email-notice svg{color:var(--brand);flex-shrink:0}.subscribe-coming-soon{margin-left:auto;background:#fef3c7;color:#92400e;font-size:.6875rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.subscribe-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.subscribe-submit{width:100%;justify-content:center;padding:.85rem 1.25rem;font-size:1rem}.subscribe-skip{width:100%;justify-content:center;padding:.65rem 1rem;font-size:.9375rem}.subscribe-back-row{text-align:center;margin-bottom:1rem}.subscribe-note{font-size:.8125rem;color:var(--text-muted);text-align:center;margin:0;line-height:1.5}.subscribe-email-banner{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#fff;border-radius:14px;border:1px solid #e2e8f0;font-size:.9375rem;color:var(--text)}.subscribe-email-banner svg{color:var(--brand);flex-shrink:0}.subscribe-success{text-align:center;max-width:420px;background:#fff;border-radius:20px;padding:3rem 2.5rem;box-shadow:0 20px 60px #00000014;border:1px solid #e2e8f0}.subscribe-success-icon{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:#dcfce7;color:#16a34a;margin-bottom:1.5rem}.subscribe-success h1{font-size:1.5rem;font-weight:700;color:var(--text);margin:0 0 .5rem}.subscribe-success p{font-size:1rem;color:var(--text-muted);margin:0 0 2rem}.subscribe-success-actions{display:flex;flex-direction:column;gap:.75rem}.subscribe-success-actions .site-btn{width:100%;justify-content:center}.subscribe-loading{color:var(--text-muted);font-size:1rem;padding:4rem 0;text-align:center}.manage-plan-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 24px #0000000f;border:2px solid var(--brand);margin-bottom:1.5rem}.manage-plan-header{display:flex;align-items:center;gap:1rem}.manage-plan-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:#ede9fe;color:var(--brand);flex-shrink:0}.manage-plan-info{flex:1}.manage-plan-info h2{font-size:1.25rem;font-weight:700;color:var(--text);margin:0 0 .25rem}.manage-status-badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:999px}.manage-status-badge.active{background:#dcfce7;color:#15803d}.manage-status-badge.cancelled{background:#fef2f2;color:#b91c1c}.manage-status-badge.past_due{background:#fef3c7;color:#92400e}.manage-plan-price{text-align:right}.manage-price-amount{font-size:1.5rem;font-weight:700;color:var(--text)}.manage-price-period{font-size:.875rem;color:var(--text-muted)}.manage-plan-detail{display:flex;align-items:center;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0;font-size:.875rem;color:var(--text-muted)}.manage-plan-detail svg{color:var(--brand);flex-shrink:0}.manage-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}.manage-link-card{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fff;border-radius:14px;border:1px solid #e2e8f0;text-decoration:none;transition:all .2s;box-shadow:0 2px 8px #0000000a}.manage-link-card:hover{border-color:#c7d2fe;transform:translateY(-1px)}.manage-link-card>svg:first-child{color:var(--brand);flex-shrink:0}.manage-link-card>svg:last-child{color:#94a3b8;flex-shrink:0;margin-left:auto}.manage-link-card div{display:flex;flex-direction:column;flex:1;min-width:0}.manage-link-card strong{font-size:.875rem;font-weight:600;color:var(--text)}.manage-link-card span{font-size:.75rem;color:var(--text-muted)}.manage-email-notice{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;color:var(--text-muted);margin-bottom:1.5rem}.manage-email-notice svg{color:var(--brand);flex-shrink:0}.manage-features-card{background:#fff;border-radius:14px;padding:1.25rem;border:1px solid #e2e8f0;margin-bottom:1.5rem}.manage-features-card h3{font-size:.9375rem;font-weight:600;color:var(--text);margin:0 0 .75rem}.manage-features-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.35rem 1rem}.manage-features-list li{display:flex;align-items:center;gap:.4rem;font-size:.8125rem;color:var(--text)}.manage-features-list li svg{color:#22c55e;flex-shrink:0}.manage-actions{display:flex;flex-direction:column;gap:.75rem}.manage-cancel-btn{background:transparent;border:1px solid #e2e8f0;color:#b91c1c;padding:.6rem 1.25rem;border-radius:10px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit;text-align:center}.manage-cancel-btn:hover{background:#fef2f2;border-color:#fecaca}.manage-cancel-confirm{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:12px;font-size:.875rem;color:#92400e}.manage-cancel-confirm svg{flex-shrink:0}.manage-cancel-btns{display:flex;gap:.5rem}.manage-cancel-btns .site-btn{padding:.5rem 1rem;font-size:.8125rem}.team-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);padding:3rem 1.5rem;display:flex;align-items:flex-start;justify-content:center}.team-loading{color:var(--text-muted);font-size:1rem;padding:4rem 0}.team-inner{width:100%;max-width:680px}.team-header{margin-bottom:2rem}.team-header h1{font-size:1.75rem;font-weight:700;color:var(--text);margin:0 0 .35rem;display:flex;align-items:center;gap:.5rem}.team-subtitle{font-size:1rem;color:var(--text-muted);margin:0;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.team-plan-badge{background:#ede9fe;color:var(--brand);font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:999px}.team-section{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 24px #0000000f;border:1px solid #e2e8f0;margin-bottom:1.5rem}.team-section-title{font-size:1rem;font-weight:600;color:var(--text);margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.team-section-title svg{color:var(--brand)}.team-spots-badge{margin-left:auto;font-size:.75rem;font-weight:500;color:var(--text-muted);background:#f1f5f9;padding:.2rem .6rem;border-radius:999px}.team-owner-card{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.team-member-avatar{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;flex-shrink:0}.team-member-avatar.small{width:32px;height:32px;font-size:.875rem}.team-member-info{display:flex;flex-direction:column;min-width:0;flex:1}.team-member-name{font-weight:600;font-size:.9375rem;color:var(--text)}.team-member-email{font-size:.8125rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-role-badge{font-size:.75rem;font-weight:600;padding:.25rem .75rem;border-radius:999px;white-space:nowrap}.team-role-badge.owner{background:#fef3c7;color:#92400e}.team-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;font-size:.875rem;margin-bottom:1rem}.team-success{padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#15803d;font-size:.875rem;margin-bottom:1rem}.team-add-form{display:flex;flex-direction:column;gap:1rem}.team-search-wrap{position:relative}.team-search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}.team-search-input{width:100%;padding:.75rem 1rem .75rem 2.25rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.9375rem;font-family:inherit;box-sizing:border-box;transition:border-color .2s}.team-search-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.team-search-input:disabled{opacity:.5;cursor:not-allowed}.team-search-spinner{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);width:16px;height:16px;border:2px solid #e2e8f0;border-top-color:var(--brand);border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:translateY(-50%) rotate(360deg)}}.team-role-select{display:flex;gap:.5rem}.team-role-option{display:flex;align-items:center;gap:.35rem;padding:.5rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-weight:500;color:var(--text-muted);background:#fff;cursor:pointer;transition:all .2s}.team-role-option:hover{border-color:#c7d2fe}.team-role-option.active{border-color:var(--brand);background:#ede9fe;color:var(--brand)}.team-search-results{display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto}.team-search-result{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.team-result-info{display:flex;flex-direction:column;flex:1;min-width:0}.team-result-name{font-weight:500;font-size:.875rem;color:var(--text)}.team-result-email{font-size:.75rem;color:var(--text-muted)}.team-add-btn{padding:.35rem .75rem!important;font-size:.8125rem!important;gap:.25rem;flex-shrink:0}.team-no-results{font-size:.875rem;color:var(--text-muted);padding:.5rem 0;text-align:center}.team-email-invite{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;color:var(--text-muted)}.team-email-invite-active{justify-content:flex-start;gap:.75rem}.team-email-input{flex:1;min-width:220px;border:1px solid #d1d5db;border-radius:10px;padding:.45rem .65rem;font-size:.92rem;color:#111827;background:#fff}.team-email-invite svg{color:var(--brand);flex-shrink:0}.team-coming-soon{margin-left:auto;background:#fef3c7;color:#92400e;font-size:.6875rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.team-full-notice{padding:.75rem 1rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:10px;color:#92400e;font-size:.875rem;margin-top:1rem}.team-members-list{display:flex;flex-direction:column;gap:.75rem}.team-member-card{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;transition:background .2s}.team-member-card:hover{background:#f1f5f9}.team-member-actions{display:flex;align-items:center;gap:.5rem;margin-left:auto;flex-shrink:0}.team-role-dropdown{padding:.35rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-family:inherit;color:var(--text);background:#fff;cursor:pointer}.team-role-dropdown:focus{outline:none;border-color:var(--brand)}.team-remove-btn{display:flex;align-items:center;justify-content:center;padding:.35rem;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;transition:all .2s}.team-remove-btn:hover{background:#fef2f2;color:#b91c1c}.team-empty{font-size:.9375rem;color:var(--text-muted);text-align:center;padding:2rem 0}.team-footer-actions{display:flex;gap:.75rem;justify-content:center}.team-proj-select{position:relative;display:flex;flex-direction:column;gap:.5rem}.team-proj-select.disabled{opacity:.6}.team-proj-select-label{font-size:.75rem;font-weight:600;color:var(--text-muted)}.team-proj-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.65rem .75rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;color:var(--text)}.team-proj-select-trigger:disabled{cursor:not-allowed}.team-proj-select-trigger:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #4f46e533}.team-proj-select-trigger-text{font-size:.875rem;color:var(--text)}.team-proj-chips{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.team-proj-chip{display:inline-flex;align-items:center;gap:.35rem;max-width:260px;padding:.25rem .5rem;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;color:var(--text)}.team-proj-chip-text{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-proj-chip-x{border:none;background:transparent;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.team-proj-chip-x:hover{color:var(--text)}.team-proj-more{font-size:.75rem;color:var(--text-muted)}.team-proj-clear{font-size:.75rem;color:var(--brand);background:transparent;border:none;cursor:pointer;padding:.15rem .25rem}.team-proj-panel{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:50;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 30px #0000001f;overflow:hidden}.team-proj-panel.inline{position:static;box-shadow:none;border-radius:12px;border:1px solid #e2e8f0;background:#fff;margin-top:.5rem}.team-proj-popover-top{display:flex;align-items:center;gap:.5rem;padding:.6rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.team-proj-search{flex:1;display:flex;align-items:center;gap:.4rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.45rem .6rem}.team-proj-search input{border:none;outline:none;width:100%;font-size:.875rem;font-family:inherit}.team-proj-popover-close{border:none;background:transparent;color:var(--text-muted);cursor:pointer;padding:.35rem;border-radius:8px}.team-proj-popover-close:hover{background:#e2e8f0;color:var(--text)}.team-proj-list{max-height:240px;overflow:auto;padding:.35rem .6rem}.team-proj-row{display:flex;align-items:center;gap:.6rem;padding:.45rem .4rem;border-radius:10px;cursor:pointer}.team-proj-row:hover{background:#f1f5f9}.team-proj-row-name{font-size:.875rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-proj-empty{font-size:.875rem;color:var(--text-muted);padding:1rem .5rem}.team-proj-popover-footer{display:flex;justify-content:space-between;gap:.75rem;padding:.6rem;border-top:1px solid #e2e8f0;background:#fff}.team-projects-modal .modal-body{padding-top:.75rem}.team-projects-modal{position:relative;display:flex;flex-direction:column;gap:0;max-height:90vh}.team-projects-modal .modal-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-right:2.75rem}.team-projects-modal .modal-close{position:absolute;top:1.1rem;right:1.1rem;width:36px;height:36px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease,border-color .15s ease}.team-projects-modal .modal-close:hover{background:#f1f5f9;color:#0f172a;border-color:#cbd5e1}.team-projects-modal .modal-body{flex:1;min-height:0;overflow:auto;padding-bottom:1rem}.team-projects-modal .modal-footer{flex-shrink:0;display:flex;justify-content:flex-end;gap:.5rem;padding-top:.75rem}.team-proj-panel.inline .team-proj-list{max-height:320px}.dataset-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);padding:3rem 1.5rem;display:flex;align-items:flex-start;justify-content:center}.dataset-loading{color:var(--text-muted);font-size:1rem;padding:4rem 0}.dataset-inner{width:100%;max-width:900px}.dataset-header{margin-bottom:2rem}.dataset-header h1{font-size:1.75rem;font-weight:700;color:var(--text);margin:0 0 .35rem;display:flex;align-items:center;gap:.5rem}.dataset-subtitle{font-size:1rem;color:var(--text-muted);margin:0}.dataset-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-bottom:2rem}.dataset-stat-card{background:#fff;border-radius:14px;padding:1rem;box-shadow:0 2px 12px #0000000a;border:1px solid #e2e8f0}.dataset-stat-header{display:flex;justify-content:space-between;align-items:center;border-left:3px solid;padding-left:.75rem;margin-bottom:.75rem}.dataset-stat-name{font-weight:600;font-size:.875rem;color:var(--text)}.dataset-stat-total{font-size:.75rem;color:var(--text-muted)}.dataset-stat-bars{display:flex;flex-direction:column;gap:.35rem}.dataset-stat-bar-row{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--text-muted)}.dataset-stat-bar-value{font-weight:600;color:var(--text)}.dataset-accuracy-bar-wrap{display:flex;align-items:center;gap:.5rem;flex:1;margin-left:.5rem}.dataset-accuracy-bar{height:6px;border-radius:3px;transition:width .3s;min-width:2px}.dataset-accuracy-label{font-weight:600;font-size:.75rem;color:var(--text);white-space:nowrap}.dataset-trades-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.dataset-trade-section{background:#fff;border-radius:14px;box-shadow:0 2px 12px #0000000a;border:1px solid #e2e8f0;overflow:hidden}.dataset-trade-header{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;cursor:pointer;transition:background .2s}.dataset-trade-header:hover{background:#f8fafc}.dataset-trade-color-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.dataset-trade-name{font-weight:600;font-size:.9375rem;color:var(--text)}.dataset-trade-count{font-size:.8125rem;color:var(--text-muted);margin-right:auto}.dataset-trade-actions{display:flex;gap:.5rem}.dataset-upload-btn{display:flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-weight:500;color:var(--brand);background:#fff;cursor:pointer;transition:all .2s}.dataset-upload-btn:hover{background:#ede9fe;border-color:#c7d2fe}.dataset-upload-btn:disabled{opacity:.5;cursor:not-allowed}.dataset-upload-spinner{display:inline-block;width:14px;height:14px;border:2px solid #e2e8f0;border-top-color:var(--brand);border-radius:50%;animation:spin .6s linear infinite}.dataset-trade-content{padding:0 1.25rem 1.25rem}.dataset-empty-trade{text-align:center;padding:2rem 0;color:var(--text-muted)}.dataset-empty-trade svg{margin-bottom:.75rem;opacity:.4}.dataset-empty-trade p{font-size:.875rem;margin:0 0 1rem}.dataset-images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.dataset-image-card{position:relative;border-radius:10px;overflow:hidden;border:1px solid #e2e8f0;background:#f8fafc}.dataset-image-thumb{width:100%;aspect-ratio:4 / 3;object-fit:cover;display:block}.dataset-image-info{padding:.5rem}.dataset-image-label{display:block;font-size:.75rem;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dataset-image-date{font-size:.6875rem;color:var(--text-muted)}.dataset-image-delete{position:absolute;top:.35rem;right:.35rem;display:flex;align-items:center;justify-content:center;padding:.3rem;background:#ffffffe6;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;opacity:0;transition:all .2s}.dataset-image-card:hover .dataset-image-delete{opacity:1}.dataset-image-delete:hover{background:#fef2f2;color:#b91c1c}.dataset-image-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;color:var(--text-muted);min-height:120px;border-style:dashed;transition:all .2s}.dataset-image-add:hover{background:#ede9fe;border-color:#c7d2fe;color:var(--brand)}.dataset-image-add span{font-size:.8125rem;font-weight:500}.dataset-info-banner{display:flex;gap:.75rem;padding:1rem 1.25rem;background:#ede9fe;border-radius:14px;font-size:.875rem;color:var(--text);line-height:1.5;margin-bottom:2rem}.dataset-info-banner svg{color:var(--brand);flex-shrink:0;margin-top:2px}.dataset-info-banner strong{color:var(--text)}.dataset-footer-actions{display:flex;justify-content:center}.client-portal-preview-root{position:fixed;inset:0;z-index:5000;display:flex;flex-direction:column;background:#f8fafc}.client-portal-preview-toolbar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.25rem;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0f172a0f}.client-portal-preview-toolbar-text{display:flex;align-items:flex-start;gap:.65rem;min-width:0;color:#4f46e5}.client-portal-preview-toolbar-text h2{margin:0;font-size:.9375rem;font-weight:700;color:#0f172a;line-height:1.25}.client-portal-preview-toolbar-text p{margin:.15rem 0 0;font-size:.8125rem;color:#64748b;line-height:1.35}.client-portal-preview-close-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .85rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;font-size:.8125rem;font-weight:600;cursor:pointer}.client-portal-preview-close-btn:hover{background:#f8fafc;border-color:#cbd5e1}.client-portal-preview-page{flex:1;min-height:0;overflow:auto;padding:2rem 1.5rem 3rem}.client-portal-preview-page-inner{max-width:880px;margin:0 auto}.client-portal-preview-status{padding:3rem 1rem;text-align:center;color:#64748b;font-size:.9375rem}.client-portal-preview-error{color:#b91c1c;background:#fee2e2;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem}.logbook-page{--brand: #4f46e5;--text: #0f172a;--text-muted: #64748b;min-height:calc(100vh - 200px);padding:3rem 1.5rem;display:flex;align-items:flex-start;justify-content:center}.logbook-inner{width:100%;max-width:1100px}.logbook-header{margin-bottom:1.5rem}.logbook-header h1{font-size:1.75rem;font-weight:700;color:var(--text);margin:0 0 .35rem;display:flex;align-items:center;gap:.5rem}.logbook-subtitle{font-size:1rem;color:var(--text-muted);margin:0}.logbook-filters{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.25rem;align-items:flex-end}.logbook-filter{display:flex;flex-direction:column;gap:.25rem;min-width:140px}.logbook-filter label{font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.logbook-filter select,.logbook-filter input{padding:.5rem .65rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;color:var(--text);background:#fff}.logbook-filter-clear{align-self:flex-end}.logbook-section{background:#fff;border-radius:16px;padding:0;box-shadow:0 4px 24px #0000000f;border:1px solid #e2e8f0;overflow:hidden}.logbook-loading,.logbook-empty,.logbook-error{padding:3rem 1.5rem;text-align:center;color:var(--text-muted)}.logbook-error{color:#dc2626}.logbook-table-wrap{overflow-x:auto}.logbook-table{width:100%;border-collapse:collapse;font-size:.875rem}.logbook-table th{text-align:left;padding:.75rem 1rem;background:#f8fafc;color:var(--text-muted);font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #e2e8f0;white-space:nowrap}.logbook-table td{padding:.85rem 1rem;border-bottom:1px solid #f1f5f9;color:var(--text);vertical-align:top}.logbook-table tbody tr:hover{background:#f8fafc}.logbook-table tbody tr:last-child td{border-bottom:none}.logbook-when{white-space:nowrap;color:var(--text-muted);font-size:.8rem}.logbook-user{font-weight:500}.logbook-user-email{display:block;font-size:.75rem;color:var(--text-muted);font-weight:400}.logbook-action-badge{display:inline-block;font-size:.7rem;font-weight:600;padding:.15rem .5rem;border-radius:999px;background:#ede9fe;color:var(--brand);margin-bottom:.25rem}.logbook-context{font-size:.8rem;color:var(--text-muted)}.logbook-context span+span:before{content:" · "}@media(max-width:768px){.logbook-filters{flex-direction:column;align-items:stretch}.logbook-filter{min-width:0}}.confirm-dialog-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.confirm-dialog{width:100%;max-width:400px;padding:1.35rem 1.4rem 1.15rem;border-radius:14px;background:#fff;box-shadow:0 24px 48px #0f172a2e,0 0 0 1px #0f172a0f}.confirm-dialog-title{margin:0 0 .55rem;font-size:1.05rem;font-weight:600;color:#111827;letter-spacing:-.01em}.confirm-dialog-body{margin:0 0 1.15rem;font-size:.9rem;line-height:1.5;color:#4b5563}.confirm-dialog-body strong{color:#111827;font-weight:600}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:.5rem}.confirm-dialog-btn{border:none;border-radius:8px;padding:.5rem .95rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease,opacity .15s ease}.confirm-dialog-btn:disabled{opacity:.6;cursor:not-allowed}.confirm-dialog-btn.cancel{background:#f3f4f6;color:#374151}.confirm-dialog-btn.cancel:hover:not(:disabled){background:#e5e7eb}.confirm-dialog-btn.danger{background:#dc2626;color:#fff}.confirm-dialog-btn.danger:hover:not(:disabled){background:#b91c1c}.confirm-dialog-btn.primary{background:#2563eb;color:#fff}.confirm-dialog-btn.primary:hover:not(:disabled){background:#1d4ed8}.projects-page{min-height:100vh;background:#f3f4f6}.projects-back-link{display:inline-flex;align-items:center;padding:.4rem .8rem;margin-right:auto;font-size:.875rem;font-weight:500;color:#f9fafb;text-decoration:none;border:1px solid rgba(255,255,255,.3);border-radius:8px;transition:background .2s,border-color .2s}.projects-back-link:hover{background:#ffffff1a;border-color:#ffffff80;color:#fff}.projects-header{background:#111827;color:#fff;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center}.projects-header h1{margin:0;font-size:1.5rem}.btn-primary{background:#4f46e5;color:#fff;border:none;padding:.5rem 1rem;border-radius:999px;cursor:pointer;font-weight:500;box-shadow:0 8px 20px #4f46e559}.btn-primary:hover{background:#4338ca}.btn-primary:disabled{opacity:.7;cursor:default}.projects-toolbar{padding:1rem 2rem;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:1rem;align-items:center}.search-input{flex:1;max-width:400px;padding:.5rem .75rem .5rem 2rem;border:1px solid #d1d5db;border-radius:999px}.filter-select,.sort-select{padding:.5rem;border:1px solid #d1d5db;border-radius:6px}.projects-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:.9rem}.glass-card{background:#fff;border-radius:.9rem;border:1px solid #e5e7eb;box-shadow:0 6px 20px #0f172a0f}.project-card{position:relative;width:100%;padding:.9rem 1rem;cursor:pointer;border:none;color:inherit;text-align:left;display:flex;flex-direction:column;gap:.55rem;background:#fff}.project-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem}.grid-share-link{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .55rem;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#374151;font-size:.8rem;font-weight:600;cursor:pointer;flex-shrink:0}.grid-share-link:hover{background:#f3f4f6}.grid-share-tag{color:#4f46e5}.projects-list-col-shared{justify-content:flex-start;gap:.35rem;display:flex;align-items:center;min-width:0}.shared-count-link{border:1px solid #e5e7eb;background:#fff;color:#111827;font-weight:700;border-radius:10px;padding:.25rem .55rem;cursor:pointer}.shared-count-link:hover{background:#eef2ff;border-color:#c7d2fe}.shared-tag{border:1px solid #c7d2fe;background:#eef2ff;color:#4338ca;font-weight:700;border-radius:999px;padding:.25rem .6rem;cursor:pointer}.shared-tag:hover{background:#e0e7ff}.shared-count-muted{color:#9ca3af}.share-details-modal{max-width:520px;width:calc(100% - 2rem);position:relative}.share-details-modal .team-projects-modal-close,.projects-email-detail-modal .team-projects-modal-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;color:#374151;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1;box-shadow:0 6px 18px #0f172a14;z-index:2}.share-details-modal .team-projects-modal-close:hover,.projects-email-detail-modal .team-projects-modal-close:hover{background:#f3f4f6}.share-details-modal .team-projects-modal-close:focus-visible,.projects-email-detail-modal .team-projects-modal-close:focus-visible{outline:3px solid rgba(99,102,241,.35);outline-offset:2px}.share-details-project-name{font-weight:700;color:#111827;margin:.25rem 0 .75rem;padding:.55rem .7rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-details-user{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff;margin:.75rem 0 .85rem}.share-details-avatar{width:44px;height:44px;border-radius:999px;border:1px solid #e5e7eb;background:#eef2ff;color:#1f2937;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.share-details-meta{min-width:0}.share-details-name{font-weight:700;color:#111827}.share-details-email{font-size:.9rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:420px}.share-details-section-title{font-size:.85rem;font-weight:700;color:#374151;margin-bottom:.35rem}.share-details-projects-list{border:1px solid #e5e7eb;border-radius:12px;background:#fff;max-height:240px;overflow:auto;padding:.25rem}.share-details-person-row{padding:.55rem .65rem;border-radius:10px;color:#111827;display:flex;flex-direction:column;gap:.1rem}.share-details-person-row:hover{background:#f3f4f6}.share-details-person-name{font-weight:700}.share-details-person-email{font-size:.85rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-details-empty{padding:.8rem .75rem;color:#6b7280}.project-card-tags{display:none}.project-card-header h3{margin:0;font-size:1rem;font-weight:600;color:#111827}.project-subtitle{margin:.2rem 0 0;font-size:.8rem;color:#6b7280}.project-badge-star{background:#fef3c7;color:#92400e}.project-badge-archived{background:#e5e7eb;color:#374151}.project-card-body{color:#6b7280;font-size:.9rem}.project-card-actions{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.5rem}.project-card-action-btn{padding:.25rem .6rem;font-size:.75rem;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;color:#374151;cursor:pointer;transition:background .15s,border-color .15s;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-width:auto;width:auto}.project-card-action-btn:hover{background:#e5e7eb;border-color:#d1d5db}.project-card-action-danger{border-color:#e5e7eb;color:#374151;background:#f9fafb}.project-card-action-danger:hover{border-color:#fca5a5;background:#fee2e2;color:#b91c1c}.project-card-action-btn-starred{background:#fef3c7;border-color:#fde68a;color:#92400e}.project-card-action-btn-archived{background:#e0f2fe;border-color:#bae6fd;color:#075985}.project-pages-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .65rem;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;font-size:.75rem;font-weight:500;color:#1d4ed8;white-space:nowrap}.project-date{margin-top:.5rem;font-size:.85rem}.empty-state{grid-column:1 / -1;text-align:center;padding:4rem;color:#6b7280}.loading{text-align:center;padding:4rem}.search-input-wrapper{position:relative;flex:1;max-width:420px}.search-input-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-content h2{margin:0 0 1.5rem}.form-group,.modal-header{margin-bottom:1rem}.modal-header h2{margin:0 0 .35rem;font-size:1.25rem}.modal-subtitle{margin:0;font-size:.85rem;color:#6b7280}.modal-form{display:flex;flex-direction:column;gap:.75rem}.modal-toggle-row{display:inline-flex;padding:.15rem;border-radius:999px;background:#f3f4f6;border:1px solid #e5e7eb;width:fit-content;margin:.25rem auto .9rem}.modal-toggle{border:none;background:transparent;padding:.35rem .9rem;border-radius:999px;font-size:.85rem;font-weight:500;color:#6b7280;cursor:pointer;transition:background .15s ease,color .15s ease}.modal-toggle.active{background:#fff;color:#111827;box-shadow:0 1px 3px #0f172a14}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input[type=text],.form-group input[type=email],.form-group input[type=number],.form-group input[type=file],.form-group select{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.95rem;color:#111827;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.form-group input[type=text]:focus,.form-group input[type=email]:focus,.form-group input[type=number]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-group input::placeholder{color:#9ca3af}.modal-select{position:relative}.modal-select-control{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;font-size:.9rem;color:#111827;cursor:pointer}.modal-select-control:disabled{cursor:default;opacity:.6}.modal-select-placeholder{color:#9ca3af}.modal-select.open .modal-select-control{border-color:#4f46e5;box-shadow:0 0 0 1px #4f46e533;background:#fff}.modal-select-menu{position:absolute;left:0;right:0;margin-top:.4rem;border-radius:.75rem;background:#fff;border:1px solid #e5e7eb;box-shadow:0 14px 30px #0f172a29;max-height:220px;overflow-y:auto;padding:.35rem 0;z-index:10}.modal-select-option{width:100%;padding:.4rem .9rem;border:none;background:transparent;text-align:left;font-size:.9rem;color:#111827;cursor:pointer}.modal-select-option:hover{background:#f3f4f6}.modal-select-option.selected{background:#eef2ff;color:#4338ca}.file-input{display:flex;align-items:center;justify-content:center;width:100%;padding:.5rem 1.1rem;border-radius:999px;border:1px solid #d1d5db;background:#e5e7eb;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.file-input:hover{background:#d4d4d8;border-color:#a1a1aa;box-shadow:0 1px 3px #0f172a14}.file-input input[type=file]{display:none}.file-input-button{display:inline-flex;align-items:center;justify-content:center;width:100%;gap:.4rem;font-size:.85rem;font-weight:500;color:#111827;line-height:1;text-align:center}.modal-actions .btn-secondary{border-radius:999px;padding-inline:1.1rem;min-width:90px}.modal-actions .btn-primary{border-radius:999px;padding-inline:1.3rem;min-width:100px}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.modal-progress{margin-top:1.5rem}.modal-progress-text{margin:0 0 .75rem;font-size:.95rem;color:#374151}.modal-progress-bar-wrap{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden}.modal-progress-bar{height:100%;background:#4f46e5;border-radius:999px;transition:width .2s ease}.btn-secondary{background:#f9fafb;color:#111827;border:1px solid #e5e7eb;padding:.5rem 1rem;border-radius:999px;cursor:pointer;font-weight:500}.btn-secondary:hover{background:#f3f4f6}.btn-danger{background:#dc2626;color:#fff;border:1px solid #b91c1c;padding:.5rem 1rem;border-radius:999px;cursor:pointer;font-weight:500}.btn-danger:hover:enabled{background:#b91c1c;border-color:#991b1b}.projects-page{position:relative;height:100vh;padding:0;background:#f5f5f7;color:#111827;display:flex;flex-direction:column;overflow:hidden}.projects-gradient{display:none}.projects-layout{position:relative;z-index:1;display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;max-width:100%;margin:0;flex:1;min-height:0;overflow:hidden}.projects-sidebar-glass{display:flex;flex-direction:column;padding:.75rem .85rem 4rem;border-radius:0;background:#fff;border:none;border-right:1px solid #e5e7eb;box-shadow:none;height:100%;overflow-y:hidden;box-sizing:border-box}.projects-sidebar-glass{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.projects-sidebar-glass::-webkit-scrollbar{width:6px}.projects-sidebar-glass::-webkit-scrollbar-track{background:transparent}.projects-sidebar-glass::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:999px}.projects-sidebar-glass::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.projects-sidebar-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb;width:100%;position:sticky;top:0;z-index:2;background:#fff}.projects-sidebar-filter-btn{display:flex;align-items:center;justify-content:center;width:100%;height:32px;padding:0 .4rem;border-radius:999px;border:1px solid transparent;background:transparent;color:#6b7280;font-size:.75rem;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease}.projects-sidebar-filter-btn span{line-height:1}.projects-sidebar-filter-btn:hover{background:#f3f4f6;color:#111827}.projects-sidebar-filter-btn.active{border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}.projects-tree{margin-top:.6rem;display:flex;flex-direction:column;gap:.1rem;flex:1;min-height:0;overflow-y:auto}.projects-tree{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.projects-tree::-webkit-scrollbar{width:6px}.projects-tree::-webkit-scrollbar-track{background:transparent}.projects-tree::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:999px}.projects-tree::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.projects-tree-empty{font-size:.8rem;color:#9ca3af;padding:.5rem .2rem}.projects-tree-project{padding:.05rem 0}.projects-tree-project-header{width:100%;display:flex;align-items:center;gap:.35rem;padding:.25rem .35rem;border-radius:.45rem;border:none;background:transparent;font-size:.8rem;color:#4b5563;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.projects-tree-project-header:hover{background:#f3f4f6;color:#111827}.projects-tree-project-header.selected{background:#e0f2fe;color:#0f172a}.projects-tree-project-chevron{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;flex-shrink:0;color:#9ca3af}.projects-tree-project-title{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.8rem;font-weight:500;color:#111827;text-align:left}.projects-tree-base-badge{margin-left:6px;padding:1px 6px;border-radius:4px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#1d4ed8;background:#eff6ff;vertical-align:middle}.projects-tree-project-pages{font-size:.7rem;color:#9ca3af;white-space:nowrap;margin-left:auto;padding-left:.4rem;flex-shrink:0}.projects-tree-plan-list{padding-left:1.2rem;margin-top:.15rem;display:flex;flex-direction:column;gap:.05rem}.projects-tree-plan{display:flex;align-items:center;gap:.35rem;padding:.22rem .3rem;border-radius:.4rem;border:none;background:transparent;font-size:.78rem;color:#6b7280;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.projects-tree-plan:hover{background:#eef2ff;color:#312e81}.projects-tree-email-panel .projects-tree-plan.projects-tree-email-item:hover{background:#f1f2f4;color:#4b5563}.projects-tree-plan.projects-tree-email-item{align-items:flex-start}.projects-tree-plan-bullet{width:6px;height:6px;border-radius:999px;background:#9ca3af;flex-shrink:0}.projects-tree-plan-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;min-width:0}.projects-tree-plan-pages{font-size:.7rem;color:#9ca3af;white-space:nowrap;margin-left:auto;padding-left:.4rem}.projects-tree-plan-empty{padding-left:1.2rem;padding-top:.2rem;font-size:.75rem;color:#9ca3af;font-style:italic}.projects-sidebar-footer{margin-top:auto;padding-top:1rem;border-top:1px solid #e5e7eb}.projects-main{display:flex;flex-direction:column;gap:0;padding:.75rem;min-height:0;overflow:hidden}.projects-content-scroll{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:hidden;overflow-x:hidden;padding-bottom:4rem}.projects-grid-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.projects-grid-scroll{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.projects-grid-scroll::-webkit-scrollbar{width:6px}.projects-grid-scroll::-webkit-scrollbar-track{background:transparent}.projects-grid-scroll::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:999px}.projects-grid-scroll::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.projects-content-scroll{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.projects-content-scroll::-webkit-scrollbar{width:6px}.projects-content-scroll::-webkit-scrollbar-track{background:transparent}.projects-content-scroll::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:999px}.projects-content-scroll::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.projects-stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:.75rem}.projects-stat-card{padding:.65rem .8rem;border-radius:.75rem;background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 4px #0f172a0a;display:flex;flex-direction:column;gap:.2rem}.projects-stat-label{font-size:.75rem;color:#9ca3af}.projects-stat-value{font-size:.95rem;font-weight:600;color:#111827}.projects-header-actions{display:flex;align-items:center;gap:.5rem}.projects-toolbar-row{margin-top:0;margin-bottom:.75rem}.projects-header-icon-btn{width:36px;height:36px;border-radius:8px;border:none;background:transparent;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;padding:0;position:relative}.projects-header-icon-btn:before{content:"";position:absolute;inset:0;border-radius:8px;background:#f3f4f6;opacity:0;transition:opacity .15s ease}.projects-header-icon-btn:hover:before{opacity:1}.projects-header-icon-btn:hover{color:#111827}.projects-header-icon-btn:active{opacity:.7}.projects-header-icon-btn-primary{background:transparent;color:#111827}.projects-header-icon-btn-primary:before{background:#f3f4f6;opacity:1}.projects-header-icon-btn-primary:hover:before{background:#e5e7eb}.projects-header-icon-btn-primary:hover{color:#111827}.projects-header-icon-btn-primary:active{opacity:.7}.projects-header-icon-btn svg{display:block;position:relative;z-index:1;stroke-width:1.5}.projects-toolbar-glass{display:flex;flex-direction:column;gap:.75rem;padding:.6rem .85rem;border-radius:12px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 4px #0f172a0a;position:relative}.projects-toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%}.projects-toolbar-top .search-input-wrapper{flex:1;min-width:0;max-width:320px}.projects-toolbar-main-actions{display:flex;align-items:center;gap:.4rem;flex-shrink:0}.projects-toolbar-filters-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;width:100%}.projects-filter-customize{position:relative;display:flex;align-items:center}.projects-filter-config-btn{width:30px;height:30px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s ease,color .15s ease,border-color .15s ease}.projects-filter-config-btn:hover{background:#f3f4f6;border-color:#d1d5db;color:#111827}.projects-filter-config-menu{position:absolute;top:110%;right:0;min-width:200px;background:#fff;border-radius:.75rem;box-shadow:0 18px 45px #0f172a2e;border:1px solid #e5e7eb;padding:.5rem .75rem;z-index:20}.projects-filter-config-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.2rem 0;font-size:.78rem}.projects-filter-config-row label{display:flex;align-items:center;gap:.35rem}.projects-filter-config-row input[type=checkbox]{width:14px;height:14px}.projects-filter-config-arrows{display:inline-flex;gap:.15rem}.projects-filter-config-arrows button{border:1px solid #e5e7eb;background:#fff;border-radius:4px;width:20px;height:20px;padding:0;font-size:.7rem;cursor:pointer;color:#6b7280}.projects-filter-config-arrows button:disabled{opacity:.35;cursor:default}.search-input{flex:1;min-width:200px;max-width:300px;padding:.45rem .75rem .45rem 2rem;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;color:#111827;font-size:.85rem}.search-input-wrapper{position:relative;flex:0 1 auto}.search-input-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none;z-index:1}.search-input::placeholder{color:#9ca3af}.search-input:focus-visible{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 2px #3b82f61a}.filter-select,.sort-select{padding:.45rem 2rem .45rem .75rem;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:.8rem;min-width:0;white-space:nowrap;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center;background-size:12px}.filter-date-input{padding:.45rem .6rem;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:.8rem;min-width:140px}.filter-date-input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6}.filter-date-input:hover{border-color:#3b82f6}.projects-view-toggle{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem;border-radius:999px;background:#f3f4f6;border:1px solid #e5e7eb;margin-left:auto;flex-shrink:0}.projects-view-toggle-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;border:none;background:transparent;color:#6b7280;cursor:pointer;transition:all .12s ease;padding:0}.projects-view-toggle-btn:hover{background:#e5e7eb;color:#111827}.projects-view-toggle-btn.active{background:#fff;color:#111827;box-shadow:0 1px 2px #0000001a}.filter-select:focus-visible,.sort-select:focus-visible{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.project-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.project-card-header h3{margin:0;font-size:1rem;font-weight:600;color:#111827;line-height:1.3}.project-subtitle{margin:.2rem 0 0;font-size:.8rem;color:#6b7280;font-weight:400}.project-badge{padding:.25rem .6rem;border-radius:999px;background:#f0f9ff;border:1px solid #bae6fd;font-size:.7rem;font-weight:600;color:#0369a1;white-space:nowrap;letter-spacing:.02em}.project-card-body{font-size:.75rem;color:#6b7280}.project-date{margin:0;font-size:.75rem;color:#9ca3af}.project-card-actions{margin-top:.75rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.project-card-actions-left{display:inline-flex;gap:.35rem}.empty-state{grid-column:1 / -1;padding:3rem 2rem;text-align:center;color:#9ca3af;font-size:.9rem}.loading{position:relative;z-index:1;text-align:center;padding:4rem;color:#6b7280}.modal-overlay{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay{background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content.glass-card{max-width:520px;width:92%;max-height:90vh;padding:2rem 2rem 1.75rem;overflow-y:auto;background:#fff;border-radius:1rem;border:1px solid #e5e7eb;box-shadow:0 24px 56px #0f172a33,0 0 0 1px #ffffff80 inset}.modal-content.glass-card h2{margin:0 0 1.5rem;font-size:1.25rem;font-weight:600;color:#111827;letter-spacing:-.02em}.modal-content .form-group{margin-bottom:1.1rem;font-size:.9rem}.modal-content .form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.modal-content .form-group input[type=text],.modal-content .form-group input[type=email],.modal-content .form-group input[type=number]{width:100%;padding:.6rem .75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;color:#111827;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.modal-content .form-group input[type=text]:focus,.modal-content .form-group input[type=email]:focus,.modal-content .form-group input[type=number]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.modal-content .form-group input::placeholder{color:#9ca3af}.form-group-inline{margin-bottom:.25rem}.checkbox-label{display:inline-flex;align-items:center;gap:.45rem;font-size:.9rem;line-height:1.2}.checkbox-label input[type=checkbox]{width:16px;height:16px;border-radius:4px;border:1px solid #d1d5db;background:#fff;appearance:none;cursor:pointer;margin:0;display:inline-block;position:relative;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.checkbox-label input[type=checkbox]:hover{border-color:#9ca3af}.checkbox-label input[type=checkbox]:checked{background:#111827;border-color:#111827;box-shadow:0 0 0 1px #0f172a1a}.checkbox-label input[type=checkbox]:checked:after{content:"";position:absolute;left:4px;top:1px;width:6px;height:10px;border-right:2px solid #f9fafb;border-bottom:2px solid #f9fafb;transform:rotate(45deg)}.projects-list{margin-top:0;border-radius:.75rem;border:1px solid #e5e7eb;background:#fff;overflow:hidden;padding-bottom:0;box-shadow:0 1px 3px #0f172a14;display:flex;flex-direction:column;min-width:0;box-sizing:border-box}.projects-list-header{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,2fr) minmax(100px,1.2fr) minmax(60px,.8fr) minmax(140px,1.6fr);gap:1rem;padding:.75rem 1rem;background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:.75rem;color:#6b7280;font-weight:500;align-items:center}.projects-list-body{flex:1;min-height:0;overflow-y:auto;overflow-x:auto}.projects-list-body{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.projects-list-body::-webkit-scrollbar{width:6px}.projects-list-body::-webkit-scrollbar-track{background:transparent}.projects-list-body::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:999px}.projects-list-body::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.projects-list-header>*{display:flex;align-items:center;min-width:0;cursor:grab;-webkit-user-select:none;user-select:none}.projects-list-header>*:active{cursor:grabbing}.projects-list-header .projects-list-pin-btn,.projects-list-header .projects-list-move-first-btn{cursor:pointer}.projects-list-col-dragging{opacity:.7}.projects-list-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,2fr) minmax(100px,1.2fr) minmax(60px,.8fr) minmax(140px,1.6fr);gap:1rem;padding:.75rem 1rem;border:none;border-bottom:1px solid #f3f4f6;background:transparent;font-size:.85rem;color:#111827;text-align:left;cursor:pointer;transition:background .12s ease;align-items:center;width:100%;box-sizing:border-box;margin:0;outline:none}.projects-list-row>*{display:flex;align-items:center;min-width:0;box-sizing:border-box}.projects-list-row:hover{background:#f9fafb}.projects-list-row:last-child{border-bottom:none}.projects-list-col-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;display:flex;align-items:center;justify-content:flex-start}.projects-list-plan-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%}.projects-list-col-project{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:.35rem}.projects-list-col-pinned{position:sticky;left:0;z-index:1;box-shadow:1px 0 #0f172a0d}.projects-list-header .projects-list-col-pinned{background:#f9fafb}.projects-list-row .projects-list-col-pinned,.projects-list-row:hover .projects-list-col-pinned{background:transparent}.projects-list-pin-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:4px;background:transparent;color:#6b7280;cursor:pointer;transition:background .15s ease,color .15s ease}.projects-list-pin-btn:hover{background:#e5e7eb;color:#374151}.projects-list-pin-btn .pinned{color:#3b82f6}.projects-list-move-first-btn{flex-shrink:0;font-size:.65rem;padding:2px 6px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;color:#6b7280;cursor:pointer;transition:background .15s ease,color .15s ease}.projects-list-move-first-btn:hover{background:#f3f4f6;color:#374151}.projects-list-project-name{color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%}.projects-list-col-date,.projects-list-col-pages{white-space:nowrap;color:#6b7280;font-size:.8rem;display:flex;align-items:center;justify-content:flex-start}.projects-list-col-actions{justify-content:flex-start;gap:.35rem;flex-wrap:nowrap;display:flex;align-items:center;min-width:0;overflow:visible;width:100%}.projects-list-col-actions .project-card-action-btn{flex-shrink:0;width:auto;min-width:auto}.projects-edit-plan-list{list-style:none;padding:0;margin:.35rem 0 0;display:flex;flex-direction:column;gap:.4rem}.projects-edit-plan-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.85rem}.projects-edit-plan-name{font-weight:500;color:#111827}.projects-edit-plan-meta{font-size:.78rem;color:#6b7280;margin-top:.15rem}.projects-edit-upload-section{padding:.75rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.75rem}.projects-edit-upload-submit{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.projects-edit-upload-spin{flex-shrink:0;animation:projects-edit-upload-spin .85s linear infinite}@keyframes projects-edit-upload-spin{to{transform:rotate(360deg)}}.projects-edit-plan-images{display:flex;gap:.3rem;margin-top:.4rem;flex-wrap:wrap}.projects-edit-plan-thumb{width:48px;height:32px;object-fit:cover;border-radius:.3rem;border:1px solid #e5e7eb;cursor:pointer;transition:transform .12s ease,border-color .12s ease}.projects-edit-plan-thumb:hover{transform:scale(1.05);border-color:#3b82f6}.projects-edit-plan-thumb-more{width:48px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:.3rem;border:1px solid #e5e7eb;background:#f3f4f6;color:#6b7280;font-size:.7rem;font-weight:500}.projects-tree-email-panel.projects-tree-email-list{margin:.3rem .2rem 0 .35rem;padding:.32rem .4rem .28rem;border-top:none;background:linear-gradient(180deg,#fafbfc,#f8f9fa);border:1px solid #eceef1;border-radius:.45rem;box-shadow:inset 0 1px #ffffffb3}.projects-tree-email-section-title{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.35rem;font-size:.62rem;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.06em;padding:0 .15rem .3rem;margin:0 0 .2rem;border-bottom:1px solid #e8eaed}.projects-email-sync-btn{display:inline-flex;align-items:center;gap:.22rem;border:1px solid #e2e5e9;border-radius:999px;background:#fff;color:#6b7280;font-size:.62rem;font-weight:600;padding:.1rem .45rem;cursor:pointer;margin-left:auto}.projects-email-sync-btn:hover:not(:disabled){background:#f3f4f6}.projects-email-sync-btn:disabled{opacity:.85;cursor:wait}.projects-email-sync-btn.syncing{border-color:#c7d2fe;background:#eef2ff;color:#4338ca}@keyframes projects-sync-spin{to{transform:rotate(360deg)}}.projects-sync-spin{animation:projects-sync-spin .75s linear infinite}.projects-email-setup-badge{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border-radius:999px;font-size:.58rem;font-weight:700;letter-spacing:.02em}.projects-email-setup-badge.ok{color:#166534;background:#dcfce7;border:1px solid #86efac}.projects-email-setup-badge.warn{color:#9a3412;background:#ffedd5;border:1px solid #fdba74}.projects-email-keywords-textarea{width:100%;box-sizing:border-box;padding:.5rem .65rem;border:1px solid #d1d5db;border-radius:8px;font-size:.85rem;font-family:inherit;resize:vertical;min-height:4rem}.projects-email-keywords-hint{margin:.35rem 0 0;font-size:.75rem;color:#6b7280;line-height:1.35}.projects-tree-email-panel .projects-tree-job-item .projects-tree-plan-name{display:block;white-space:normal;line-height:1.2}.projects-tree-job-title{font-weight:500;font-size:.7rem;color:#4b5563}.projects-tree-job-loc{font-weight:400;font-size:.65rem;color:#9ca3af}.projects-tree-email-list:not(.projects-tree-email-panel){border-top:1px dashed #e5e7eb;margin-top:.2rem;padding-top:.2rem}.projects-tree-email-group{margin-bottom:.05rem}.projects-tree-email-label{display:flex;align-items:center;gap:.22rem;font-size:.58rem;font-weight:600;color:#9ca3af;padding:.2rem 0 .06rem .15rem;text-transform:uppercase;letter-spacing:.04em}.projects-tree-email-panel .projects-tree-plan.projects-tree-email-item{gap:.28rem;padding:.1rem .2rem .1rem .35rem;font-size:.7rem;font-weight:400;color:#6b7280;border-radius:.3rem}.projects-tree-email-item{display:flex;align-items:flex-start;gap:.28rem;font-size:.7rem;color:#6b7280;padding:.1rem .2rem .1rem .35rem;cursor:default}.projects-tree-email-item.projects-tree-email-clickable{cursor:pointer;width:100%;box-sizing:border-box;text-align:left;font:inherit}.projects-tree-email-item.projects-tree-email-clickable:hover{background:#f3f4f6;border-radius:.35rem}.projects-tree-email-subject-wrap{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;word-break:break-word;flex:1;min-width:0;font-size:.7rem}.projects-tree-email-panel .projects-tree-email-item svg{flex-shrink:0;color:#c4c9d1;margin-top:.06rem;opacity:.95}.projects-tree-email-empty{font-size:.65rem;color:#b4b9c2;font-style:normal;padding:.1rem .2rem .15rem .35rem;line-height:1.3}.projects-email-detail-modal{position:relative;max-width:520px;width:calc(100% - 2rem);max-height:min(85vh,640px);overflow:auto}.projects-email-detail-h2{margin:0 0 .35rem;padding-right:2.75rem;font-size:1.15rem}.projects-email-detail-project-name{margin:0 0 1rem;font-size:.9rem;font-weight:600;color:#4f46e5}.projects-email-detail-dl{margin:0;display:grid;grid-template-columns:7rem 1fr;gap:.45rem .75rem;font-size:.88rem}.projects-email-detail-dl dt{margin:0;color:#6b7280;font-weight:600}.projects-email-detail-dl dd{margin:0;color:#111827;word-break:break-word}.projects-email-detail-body{margin-top:1rem}.projects-email-detail-body-label{font-size:.8rem;font-weight:600;color:#374151;margin-bottom:.35rem}.projects-email-detail-pre{margin:0;padding:.65rem .75rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-size:.82rem;line-height:1.45;white-space:pre-wrap;word-break:break-word;max-height:240px;overflow:auto}.projects-email-detail-muted{margin:.75rem 0 0;font-size:.85rem;color:#6b7280}.projects-email-detail-footnote{margin:1rem 0 0;padding-top:.75rem;border-top:1px solid #e5e7eb;font-size:.78rem;color:#6b7280;line-height:1.4}.image-scale-presets{display:flex;gap:6px;flex-wrap:wrap}.image-scale-preset-btn{flex:1 1 0;min-width:0;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;font-size:12px;font-weight:600;padding:6px 10px;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.image-scale-preset-btn:hover{background:#f9fafb;border-color:#9ca3af}.image-scale-preset-btn.active{background:#22c55e1f;border-color:#22c55e;color:#15803d;box-shadow:inset 0 0 0 1px #22c55e33}.image-scale-presets--dark .image-scale-preset-btn{border-color:#334155;background:#1e293b;color:#cbd5e1}.image-scale-presets--dark .image-scale-preset-btn:hover{background:#334155;border-color:#475569}.image-scale-presets--dark .image-scale-preset-btn.active{background:#22c55e24;border-color:#22c55e;color:#4ade80;box-shadow:inset 0 0 0 1px #22c55e40}.count-modal{max-width:500px}.count-modal-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.5rem}.count-modal-header h2{margin:0}.count-modal-close{flex-shrink:0;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:6px}.count-modal-close:hover{background:#f3f4f6;color:#111827}.count-modal-note{width:100%;box-sizing:border-box;resize:vertical;min-height:4.5rem;padding:.5rem .6rem;border:1px solid #d1d5db;border-radius:6px;font:inherit;line-height:1.4}.color-picker{display:flex;flex-direction:column;gap:1rem}.prime-colors{display:grid;grid-template-columns:repeat(6,1fr);gap:.5rem}.color-swatch{width:40px;height:40px;border:2px solid #d1d5db;border-radius:4px;cursor:pointer;padding:0}.color-swatch.selected{border-color:#111827;border-width:3px}.custom-color{display:flex;align-items:center;gap:.5rem}.custom-color input[type=color]{width:50px;height:40px;border:1px solid #d1d5db;border-radius:4px;cursor:pointer}.shape-selector{display:flex;gap:.5rem}.shape-btn{flex:1;padding:.5rem;border:1px solid #d1d5db;background:#fff;border-radius:4px;cursor:pointer;font-size:1.2rem}.shape-btn:hover{background:#f3f4f6}.shape-btn.active{background:#dbeafe;border-color:#3b82f6}.image-upload-row{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.shape-image-options{margin-top:10px;display:grid;gap:10px}.stock-symbol-select{width:100%}.stock-symbol-preview{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.count-marker-upload-preview{width:100%;display:grid;grid-template-columns:auto 1fr;gap:.65rem .85rem;align-items:start}.count-marker-preview-frame{width:72px;height:72px;border:1px dashed #d1d5db;border-radius:8px;background:linear-gradient(45deg,#f3f4f6 25%,transparent 25%),linear-gradient(-45deg,#f3f4f6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f3f4f6 75%),linear-gradient(-45deg,transparent 75%,#f3f4f6 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0;background-color:#fff;display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}.count-marker-preview-img{max-width:100%;max-height:100%;object-fit:contain;display:block;pointer-events:none}.count-marker-scale-control{width:100%;display:grid;gap:.35rem;align-self:center;min-width:0}.count-marker-scale-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.count-marker-scale-header label{font-size:.75rem;font-weight:600;color:#374151;margin:0}.count-marker-scale-value{font-size:.72rem;font-weight:700;color:#15803d;font-variant-numeric:tabular-nums;background:#22c55e1f;padding:.1rem .35rem;border-radius:999px}.count-marker-scale-range{width:100%;accent-color:#22c55e;cursor:pointer}.stock-symbol-preview{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.stock-symbol-preview-frame{width:72px;height:72px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}.stock-symbol-preview-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}.image-upload-label{font-size:.8rem;color:#6b7280;max-width:100%;overflow:hidden;text-overflow:ellipsis}.count-modal-hint{font-size:.8rem;color:#6b7280;margin:.35rem 0 0;line-height:1.35}.form-hint{display:block;font-size:.75rem;color:#6b7280;margin-top:.35rem;line-height:1.35}.scale-control{background:transparent;width:100%;overflow:hidden}.scale-control-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem .6rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease}.scale-control-header:hover{background:#f9fafb}.scale-control-header-left{display:flex;align-items:center;gap:.5rem;flex:1}.scale-control-header-right{display:flex;align-items:center;gap:.4rem}.scale-status-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;flex-shrink:0}.scale-status-icon.calibrated{background:#dcfce7;color:#22c55e}.scale-status-icon.uncalibrated{background:#fef3c7;color:#f59e0b}.scale-status-inline{margin:0 0 .5rem;font-size:.75rem;color:#92400e;display:flex;align-items:center;gap:.4rem}.scale-status-inline.uncalibrated{background:#fffbeb;padding:.4rem .5rem;border-radius:6px}.scale-control-title{margin:0;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#374151}.scale-status-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:.25rem .6rem;border-radius:999px;white-space:nowrap;flex-shrink:0;line-height:1.2}.scale-status-badge.calibrated{color:#22c55e;background:#dcfce7}.scale-status-badge.uncalibrated{color:#f59e0b;background:#fef3c7}.scale-control-expand-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#6b7280;cursor:pointer;padding:0;border-radius:4px;transition:color .12s ease,background .12s ease;flex-shrink:0}.scale-control-expand-btn:hover{background:#f3f4f6;color:#111827}.scale-control-expand-btn svg{stroke-width:2.5}.scale-control-body{padding:0 .55rem .55rem;display:flex;flex-direction:column;gap:.5rem}.scale-calibrated-display{display:flex;flex-direction:column;gap:.5rem}.scale-calibrated-value{font-size:.85rem;font-weight:500;color:#374151;font-variant-numeric:tabular-nums;padding:.4rem .5rem;background:#f3f4f6;border-radius:6px}.scale-recalibrate-btn{padding:.45rem .65rem;background:#111827;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.75rem;font-weight:600;transition:background .12s ease}.scale-recalibrate-btn:hover{background:#1f2937}.scale-mode-capsule{display:flex;background:#f3f4f6;border-radius:999px;padding:.25rem;gap:.25rem}.scale-mode-option{flex:1;padding:.5rem 1rem;border:none;background:transparent;border-radius:999px;font-size:.75rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .15s ease;text-align:center}.scale-mode-option:hover{color:#111827}.scale-mode-option.active{background:#fff;color:#111827;box-shadow:0 1px 2px #0000000d}.scale-mode-content{display:flex;flex-direction:column;gap:.5rem}.scale-instruction-text{font-size:.78rem;color:#4b5563;margin:0;line-height:1.45;padding:.4rem .5rem;background:#f9fafb;border-radius:6px}.scale-header{padding:.6rem .75rem .4rem}.scale-status-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.25rem}.scale-status{display:inline-flex;align-items:center;gap:.3rem;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.scale-status.calibrated{color:#22c55e}.scale-status.uncalibrated{color:#f59e0b}.scale-value-display{padding:.25rem 0}.scale-ratio{font-size:.78rem;font-weight:500;color:#374151;font-variant-numeric:tabular-nums}.scale-actions{padding:0 .75rem .6rem;display:flex;flex-direction:column;gap:.5rem}.scale-select-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;margin-bottom:-.2rem}.scale-select{width:100%;padding:.45rem .55rem;border:1px solid #d1d5db;border-radius:6px;font-size:.8rem;color:#111827;background:#fff;cursor:pointer;transition:border-color .12s ease}.scale-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.scale-select:disabled{opacity:.6;cursor:not-allowed}.scale-info-text{font-size:.7rem;color:#6b7280;line-height:1.4;padding:.3rem .4rem;background:#f9fafb;border-radius:4px;margin-top:-.2rem}.scale-divider{text-align:center;font-size:.7rem;color:#9ca3af;margin:-.2rem 0}.scale-set-btn{width:100%;padding:.45rem .65rem;background:#111827;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.75rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:.4rem;transition:background .12s ease}.scale-set-btn:hover{background:#1f2937}.scale-cal-header{display:flex;align-items:center;gap:.4rem;padding:.6rem .75rem .25rem}.scale-cal-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#374151}.scale-cal-body{padding:.35rem .75rem .65rem;display:flex;flex-direction:column;gap:.4rem}.scale-cal-instruction{font-size:.78rem;color:#4b5563;margin:0;line-height:1.45}.scale-cal-measured{font-size:.78rem;color:#374151;padding:.3rem .5rem;background:#f3f4f6;border-radius:4px}.scale-cal-selected-scale{font-size:.78rem;color:#3b82f6;padding:.3rem .5rem;background:#eff6ff;border-radius:4px;margin-top:.2rem}.scale-cal-arch-select{width:100%;padding:.45rem .55rem;border:1px solid #d1d5db;border-radius:6px;font-size:.8rem;color:#111827;background:#fff;cursor:pointer}.scale-cal-arch-select:focus{outline:none;border-color:#3b82f6}.scale-cal-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#6b7280}.scale-cal-unit-static{align-self:center;font-size:.82rem;color:#6b7280;padding:0 .25rem}.scale-cal-input-row{display:flex;gap:.35rem}.scale-cal-input{flex:1;padding:.45rem .55rem;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;color:#111827;background:#fff;min-width:0}.scale-cal-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.scale-cal-unit{width:52px;padding:.45rem .3rem;border:1px solid #d1d5db;border-radius:6px;font-size:.82rem;color:#111827;background:#fff;cursor:pointer}.scale-cal-actions{display:flex;gap:.35rem;margin-top:.15rem}.scale-cal-save{flex:1;padding:.45rem;background:#22c55e;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.78rem;font-weight:600;transition:background .12s ease}.scale-cal-save:hover:not(:disabled){background:#16a34a}.scale-cal-save:disabled{opacity:.5;cursor:not-allowed}.scale-cal-cancel{padding:.45rem .65rem;background:transparent;color:#6b7280;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:.78rem;font-weight:500;transition:all .12s ease}.scale-cal-cancel:hover{background:#f3f4f6;color:#374151}.scale-cal-cancel.wide{width:100%;text-align:center}.counts-panel{width:260px;flex:1 1 0;min-height:0;background:#f9fafb;border-left:none;display:flex;flex-direction:column}.counts-panel-body{flex:1 1 0;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.section-wrapper{background:#fff;border-top:1px solid #e5e7eb;flex-shrink:0;overflow:hidden}.section-wrapper:first-child{border-top:none}.section-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem .6rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease}.section-header:hover{background:#f9fafb}.section-header-left{display:flex;align-items:center;gap:.5rem;flex:1}.master-eye-btn{display:flex;align-items:center;justify-content:center;padding:.2rem;border:none;background:transparent;color:#374151;border-radius:4px;cursor:pointer;flex-shrink:0}.master-eye-btn:hover{background:#e5e7eb;color:#111827}.master-eye-btn.all-hidden{color:#9ca3af}.count-excel-include{display:flex;align-items:center;margin-right:.15rem}.count-excel-include input{cursor:pointer;width:14px;height:14px}.count-row-header--reorder .count-excel-include{margin-left:.15rem}.section-title{margin:0;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#374151}.section-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 .35rem;font-size:.65rem;font-weight:600;color:#6b7280;background:#f3f4f6;border-radius:999px;line-height:1}.section-header-right{display:flex;align-items:center;gap:.4rem}.section-adjust-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;border-radius:6px;cursor:pointer;padding:0;flex-shrink:0;transition:background .12s ease,color .12s ease,border-color .12s ease}.section-adjust-btn:hover{background:#f3f4f6;color:#111827;border-color:#d1d5db}.section-adjust-btn.active{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.section-add-btn{width:24px;height:24px;border:none;background:#22c55e;color:#fff;border-radius:50%;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .14s ease,transform .1s ease;flex-shrink:0}.section-add-btn:hover{background:#16a34a;transform:scale(1.08)}.section-dataset-btn{display:inline-flex;align-items:center;gap:.3rem;height:24px;padding:0 .55rem;border:1px solid #c7d2fe;background:#eef2ff;color:#3730a3;border-radius:999px;font-size:.7rem;font-weight:600;cursor:pointer;flex-shrink:0;transition:background .12s ease,border-color .12s ease,transform .1s ease}.section-dataset-btn:hover:not(:disabled){background:#e0e7ff;border-color:#a5b4fc;transform:translateY(-1px)}.section-dataset-btn:disabled{opacity:.6;cursor:not-allowed}.section-dataset-btn-label{white-space:nowrap}.counts-section-dataset-row{padding:0 0 .4rem;margin-bottom:.1rem;display:flex;flex-direction:column;align-items:stretch}.section-dataset-btn--block{width:100%;justify-content:center;height:auto;min-height:26px;padding:.28rem .55rem;font-size:.68rem}.section-expand-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#6b7280;cursor:pointer;padding:0;border-radius:4px;transition:color .12s ease,background .12s ease;flex-shrink:0}.section-expand-btn:hover{background:#f3f4f6;color:#111827}.section-ai-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#eef2ff;color:#4f46e5;flex-shrink:0}.section-body{padding:0 .55rem .55rem;display:flex;flex-direction:column}.image-count-row{cursor:pointer}.image-count-row .expand-btn-placeholder{visibility:hidden;pointer-events:none;width:20px;height:20px;flex-shrink:0}.image-count-icon{color:#6b7280;flex-shrink:0}.image-count-row.active .image-count-icon{color:#3b82f6}.count-image-thumb{width:14px;height:14px;border-radius:3px;border:1px solid rgba(0,0,0,.15);flex-shrink:0;display:inline-block;overflow:hidden;background:#e5e7eb}.count-image-thumb img{width:100%;height:100%;object-fit:cover;display:block}.image-row-actions{display:flex;align-items:center;gap:.25rem;flex-shrink:0}.image-row-action-btn{width:22px;height:22px;border:none;background:transparent;cursor:pointer;padding:0;color:#6b7280;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .12s ease,color .12s ease}.image-row-action-btn:hover{background:#0000000f}.image-row-action-btn.danger{color:#dc2626}.image-row-action-btn.danger:hover{background:#dc26261f}.counts-select-actions{display:flex;align-items:center;gap:.5rem;padding:.4rem .75rem;border-bottom:1px solid #e5e7eb;flex-shrink:0;flex-wrap:wrap}.counts-select-all-btn{font-size:12px;color:#3b82f6;background:none;border:none;cursor:pointer;padding:0;text-decoration:underline}.counts-select-all-btn:hover{color:#2563eb}.counts-selected-hint{font-size:11px;color:#6b7280}.counts-list{flex:0 0 auto}.counts-adjust-hint{margin:0;padding:.45rem .75rem;font-size:.68rem;line-height:1.35;color:#6b7280;background:#fafafa;border-bottom:1px solid #eef0f3}.counts-reorder-group{display:flex;flex-direction:column;width:100%}.count-row--reorder{cursor:default}.count-row--reorder-saving{opacity:.65;pointer-events:none}.count-row-header--reorder{flex-wrap:wrap;align-items:center}.count-drag-handle{display:flex;align-items:center;justify-content:center;color:#9ca3af;flex-shrink:0;cursor:grab;touch-action:none}.count-drag-handle:active{cursor:grabbing}.count-row{padding:.38rem .55rem;border-bottom:1px solid #eef0f3;cursor:pointer;background:#fff;transition:background .12s ease,border-color .12s ease}.count-row:hover{background:#f3f4f6}.count-row.active{background:#eff6ff;border-left:2px solid #3b82f6;padding-left:calc(.55rem - 2px)}.count-row.multi-selected:not(.active){background:#f0f9ff;border-left:2px solid #93c5fd;padding-left:calc(.55rem - 2px)}.count-row-checkbox-wrap{display:flex;align-items:center;cursor:pointer;flex-shrink:0;margin:0}.count-row-checkbox{width:16px;height:16px;cursor:pointer;accent-color:#3b82f6}.count-row-header{display:flex;align-items:center;gap:.4rem}.expand-btn{width:18px;height:18px;border:none;background:transparent;cursor:pointer;padding:0;color:#9ca3af;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .12s ease}.expand-btn:hover{color:#4b5563}.eye-btn{width:20px;height:20px;border:none;background:transparent;cursor:pointer;padding:0;color:#6b7280;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:4px;transition:background .12s ease,color .12s ease}.eye-btn:hover{background:#0000000f}.eye-btn.off{color:#9ca3af;opacity:.7}.edit-transform-btn{width:20px;height:20px;color:#9ca3af}.edit-transform-btn:hover{color:#2563eb;background:#2563eb14}.edit-transform-btn.editing{color:#2563eb;background:#2563eb1f;border:1px solid rgba(59,130,246,.35)}.count-info{flex:1;display:flex;align-items:center;gap:.45rem;min-width:0}.count-color-dot{width:14px;height:14px;border-radius:3px;border:1px solid rgba(0,0,0,.15);flex-shrink:0}.count-name-line{flex:1;min-width:0;display:flex;align-items:baseline;gap:.3rem;overflow:hidden;white-space:nowrap}.count-name{flex:0 1 auto;max-width:100%;font-size:.8125rem;font-weight:500;color:#111827;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.count-inline-note{flex:1 1 auto;min-width:0;font-size:.6875rem;font-weight:400;color:#6b7280;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.count-inline-note:before{content:"·";margin-right:.3rem;color:#d1d5db}.count-badge{font-size:.625rem;font-weight:700;background:#f3f4f6;color:#6b7280;padding:.05rem .35rem;border-radius:999px;min-width:18px;text-align:center;flex-shrink:0;line-height:1.35}.count-row.active .count-badge{background:#3b82f6;color:#fff}.count-details{margin-top:.28rem;padding:.3rem .15rem .15rem 1.55rem;font-size:.75rem;color:#4b5563;border-top:1px solid #f3f4f6}.count-type-label{font-size:.625rem;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;margin-bottom:.28rem;display:flex;align-items:center;gap:.35rem;line-height:1.2}.count-trade-badge{font-size:.6rem;font-weight:600;background:#f3f4f6;color:#6b7280;padding:.04rem .32rem;border-radius:999px;text-transform:capitalize;letter-spacing:0}.count-items-list{display:flex;flex-direction:column;gap:0;margin-bottom:.3rem;background:#fafbfc;border:1px solid #eef0f3;border-radius:6px;overflow:hidden}.count-item-row{display:flex;flex-direction:row;align-items:center;gap:0;padding:.12rem .35rem;border-bottom:1px solid #eef0f3;font-size:.7rem;min-height:26px;cursor:pointer;transition:background .1s ease}.count-item-row:last-child{border-bottom:none}.count-item-row:hover{background:#0f172a05}.count-item-main .sub-item-eye{flex-shrink:0;width:18px;height:18px;padding:0;margin-right:.1rem}.count-item-row.selected{background:#3b82f617}.count-item-main{display:flex;align-items:center;gap:.28rem;width:100%;min-width:0}.count-item-label{flex:0 1 auto;min-width:0;color:#4b5563;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.count-item-page-badge{flex-shrink:0;font-size:.58rem;font-weight:600;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:.04rem .28rem;line-height:1.25;white-space:nowrap}.count-item-page-badge--other{color:#1d4ed8;background:#eff6ff}.count-item-measures{display:inline-flex;align-items:center;gap:.3rem;margin-left:auto;flex-shrink:0}.count-item-value{color:#111827;font-weight:500;font-size:.68rem;font-variant-numeric:tabular-nums;white-space:nowrap}.count-item-actions{display:inline-flex;align-items:center;gap:.15rem;flex-shrink:0;margin-left:.15rem}.count-item-action-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;cursor:pointer;transition:background .1s ease,border-color .1s ease,color .1s ease}.count-item-action-btn--nav{color:#2563eb}.count-item-action-btn--nav:hover{background:#eff6ff;border-color:#bfdbfe}.count-item-action-btn--danger{color:#dc2626}.count-item-action-btn--danger:hover{background:#fef2f2;border-color:#fecaca}.count-totals-row{display:flex;align-items:center;gap:.3rem;padding:.22rem .35rem;font-size:.68rem;font-weight:600;background:#f8fafc;border-top:1px solid #e5e7eb}.count-totals-label{flex:1;color:#374151;text-transform:uppercase;letter-spacing:.04em;font-size:.6rem}.count-totals-measures{display:inline-flex;align-items:center;gap:.3rem;flex-shrink:0}.count-totals-value{color:#111827;font-variant-numeric:tabular-nums;white-space:nowrap}.count-empty-hint{font-size:.7rem;color:#9ca3af;font-style:italic;padding:.15rem 0;line-height:1.35}.add-to-dataset-btn{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;width:100%;margin-top:.3rem;padding:.24rem .45rem;font-size:.68rem;font-weight:600;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:6px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.add-to-dataset-btn:hover{background:#e0e7ff;border-color:#a5b4fc}.empty-counts{padding:2rem 1.5rem;text-align:center;color:#9ca3af;font-size:.85rem;line-height:1.6}.context-menu{position:fixed;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 24px #0f172a26,0 2px 6px #0f172a14;z-index:1000;min-width:160px;max-width:min(260px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow-y:auto;padding:.3rem 0;animation:contextFadeIn .12s ease}@keyframes contextFadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.context-menu-item{padding:.45rem .85rem;cursor:pointer;font-size:.82rem;color:#374151;display:flex;align-items:center;gap:.55rem;transition:background .1s ease}.context-menu-item:hover{background:#f3f4f6}.context-menu-item.danger{color:#dc2626}.context-menu-item.danger:hover{background:#fef2f2}.context-menu-divider{height:1px;background:#e5e7eb;margin:.25rem 0}.auto-detect-panel{padding:.15rem 0 0;display:flex;flex-direction:column;gap:.5rem}.auto-detect-label{font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;display:block;margin-bottom:.2rem}.auto-detect-trades{display:flex;flex-direction:column;gap:.12rem}.auto-detect-trade-row{display:flex;align-items:center;gap:.4rem;padding:.22rem .4rem;border-radius:5px;cursor:pointer;font-size:.75rem;color:#374151;transition:background .12s}.auto-detect-trade-row:hover{background:#f1f5f9}.auto-detect-trade-row.selected{background:#ede9fe}.auto-detect-trade-row input[type=checkbox]{accent-color:#4f46e5;width:14px;height:14px}.auto-detect-trade-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.auto-detect-trade-name{font-weight:500}.auto-detect-trade-data{margin-left:auto;font-size:.6875rem;color:#94a3b8}.auto-detect-trade-none{color:#cbd5e1;font-style:italic}.auto-detect-trade-acc{font-size:.6875rem;font-weight:600;color:#22c55e;background:#f0fdf4;padding:.1rem .35rem;border-radius:4px}.auto-detect-run-btn{display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.42rem .55rem;border:none;border-radius:6px;background:#4f46e5;color:#fff;font-size:.75rem;font-weight:600;cursor:pointer;transition:background .2s;font-family:inherit}.auto-detect-run-btn:hover:not(:disabled){background:#4338ca}.auto-detect-run-btn:disabled{opacity:.7;cursor:wait}.auto-detect-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:autoDetectSpin .6s linear infinite}@keyframes autoDetectSpin{to{transform:rotate(360deg)}}.auto-detect-result{margin:2px 0 6px;padding:.3rem .45rem;border-radius:5px;font-size:.68rem;line-height:1.3}.auto-detect-result--highlight{margin:6px 0 0}.auto-detect-result--detect{margin:8px 0 0}.auto-detect-result.success{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d}.auto-detect-result.empty{background:#fef3c7;border:1px solid #fcd34d;color:#92400e}.auto-detect-tip{font-size:.625rem;color:#94a3b8;line-height:1.35;padding:0}.auto-detect-highlights{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.auto-detect-highlights--empty{background:#f8fafc}.auto-detect-highlight-search-btn{display:flex;align-items:center;justify-content:center;gap:.4rem;margin-top:8px;width:100%;padding:.42rem .55rem;border:none;border-radius:6px;background:#4f46e5;color:#fff;font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease}.auto-detect-highlight-search-btn:hover:not(:disabled){background:#4338ca}.auto-detect-highlight-search-btn:disabled{opacity:.7;cursor:wait}.auto-detect-highlight-draw-btn{display:flex;align-items:center;justify-content:center;gap:.35rem;margin-top:8px;width:100%;padding:.4rem .55rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:.75rem;font-weight:550;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease}.auto-detect-highlight-draw-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.auto-detect-highlights-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}.auto-detect-highlights-head .auto-detect-label{margin-bottom:0}.auto-detect-highlight-toggle{display:flex;align-items:center;gap:4px;font-size:.65rem;color:#64748b;white-space:nowrap}.auto-detect-highlight-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:7.5rem;overflow-y:auto}.auto-detect-highlight-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 8px;border-radius:6px;background:#fff;border:1px solid #e2e8f0}.auto-detect-highlight-main{display:flex;flex-direction:column;gap:1px;min-width:0}.auto-detect-highlight-main strong{font-size:.72rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}.auto-detect-highlight-meta{font-size:.6rem;color:#94a3b8;line-height:1.2}.auto-detect-highlight-actions{display:flex;gap:4px;flex-shrink:0}.auto-detect-highlight-actions button{border:1px solid #e2e8f0;background:#f8fafc;color:#475569;border-radius:4px;padding:3px 7px;font-size:.62rem;cursor:pointer;line-height:1.4}.auto-detect-highlight-actions button:hover{background:#e2e8f0;color:#0f172a}.auto-detect-highlight-note{margin:0;font-size:.62rem;color:#94a3b8;line-height:1.35}.viewer-canvas-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:all;transform:translateZ(0);backface-visibility:hidden;isolation:isolate}.viewer-canvas-wrapper[data-cursor=none] canvas{cursor:none!important}.viewer-canvas-wrapper canvas{display:block}.viewer-geom-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}.viewer-geom-overlay--draft,.viewer-geom-overlay--live{z-index:2}.viewer-measure-labels-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}.viewer-measure-label{position:absolute;box-sizing:border-box;pointer-events:none;border-radius:4px;font-weight:700;font-family:Inter,system-ui,-apple-system,sans-serif;text-align:center;white-space:pre;overflow:hidden;display:flex;align-items:center;justify-content:center}.viewer-curve-mode-hint{position:absolute;left:50%;bottom:12px;transform:translate(-50%);z-index:4;pointer-events:none;padding:6px 12px;border-radius:6px;background:#0f172ae0;color:#f8fafc;font-size:12px;font-family:Inter,system-ui,sans-serif;box-shadow:0 2px 8px #0003;max-width:min(520px,92vw);text-align:center}.viewer-curve-mode-hint kbd{display:inline-block;padding:1px 5px;margin:0 2px;border-radius:3px;background:#ffffff26;font-size:11px;font-family:inherit}.highlight-editor-backdrop{position:fixed;inset:0;z-index:1200;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px}.highlight-editor-modal{width:min(380px,100%);background:#fff;border-radius:10px;box-shadow:0 16px 40px #0f172a33;padding:16px 18px 14px}.highlight-editor-title{margin:0 0 6px;font-size:1rem;font-weight:650;color:#0f172a}.highlight-editor-hint{margin:0 0 12px;font-size:.72rem;line-height:1.4;color:#64748b}.highlight-editor-field{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-size:.75rem;color:#334155}.highlight-editor-field input[type=text],.highlight-editor-field select{border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;font-size:.8rem;color:#0f172a;background:#fff}.highlight-editor-field input[type=range]{width:100%}.highlight-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.highlight-editor-actions-right{display:flex;gap:6px;margin-left:auto}.highlight-editor-actions button{border:1px solid #e2e8f0;background:#f8fafc;color:#334155;border-radius:6px;padding:6px 10px;font-size:.75rem;cursor:pointer}.highlight-editor-save{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}.highlight-editor-delete{background:#fef2f2!important;border-color:#fecaca!important;color:#b91c1c!important}.image-scale-overlay{position:fixed;inset:0;background:#0f172a85;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px}.image-scale-modal{width:min(680px,96vw);background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 24px 48px #0f172a3d;padding:22px 24px 20px;display:flex;flex-direction:column;gap:0}.image-scale-header{margin-bottom:14px}.image-scale-title{margin:0 0 4px;font-size:18px;font-weight:600;color:#111827;letter-spacing:-.01em}.image-scale-subtitle{margin:0;font-size:13px;color:#6b7280;line-height:1.45}.image-scale-preview-section{margin-bottom:16px}.image-scale-preview-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.image-scale-preview-fallback{display:block}.image-scale-preview-cell--solo{display:flex;align-items:center;justify-content:center}.image-scale-preview-solo-img{max-width:72%;max-height:72%;object-fit:contain;transform-origin:center center;filter:drop-shadow(0 2px 6px rgba(15,23,42,.18))}.image-scale-preview-pane{display:flex;flex-direction:column;gap:6px;min-width:0}.image-scale-preview-pane-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.image-scale-preview-cell{position:relative;height:220px;border-radius:8px;border:1px solid #e5e7eb;background:linear-gradient(45deg,#f3f4f6 25%,transparent 25%),linear-gradient(-45deg,#f3f4f6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f3f4f6 75%),linear-gradient(-45deg,transparent 75%,#f3f4f6 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;background-color:#f9fafb;overflow:hidden}.image-scale-preview-page,.image-scale-preview-overlay{position:absolute;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.image-scale-preview-page{box-shadow:0 1px 4px #0f172a1f}.image-scale-preview-overlay{z-index:1}.image-scale-preview-marker{filter:drop-shadow(0 1px 3px rgba(15,23,42,.28))}.image-scale-preview-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#9ca3af}.image-scale-preview-hint{margin:8px 0 0;font-size:12px;color:#9ca3af;line-height:1.4}.image-scale-controls{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.image-scale-control{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:8px;background:#f9fafb;border:1px solid #f3f4f6}.image-scale-label{font-size:13px;font-weight:500;color:#374151;min-width:40px}.image-scale-range{flex:1;min-width:0;accent-color:#22c55e}.image-scale-value{font-size:13px;font-weight:600;color:#111827;min-width:52px;text-align:right;font-variant-numeric:tabular-nums}.image-scale-actions{display:flex;justify-content:flex-end;gap:8px}.image-scale-btn{border-radius:6px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;border:1px solid transparent}.image-scale-btn-secondary{background:#fff;border-color:#d1d5db;color:#374151}.image-scale-btn-secondary:hover{background:#f9fafb}.image-scale-btn-primary{background:#111827;color:#fff}.image-scale-btn-primary:hover{background:#1f2937}@media(max-width:560px){.image-scale-preview-compare{grid-template-columns:1fr}.image-scale-preview-cell{height:180px}}.toolbar{display:flex;flex-direction:column;gap:.12rem;align-items:center;padding:.35rem;border-radius:0;background:#fff;border-right:none;box-shadow:none;flex:1 1 auto;min-height:0;height:auto;justify-content:space-evenly;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;box-sizing:border-box}.toolbar-btn{width:28px;height:28px;min-height:24px;flex:0 0 auto;border-radius:999px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.95rem;color:#111827;position:relative;transition:background .14s ease,border-color .14s ease,transform .08s ease,box-shadow .18s ease}.toolbar-btn:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 4px 10px #0f172a1f}.toolbar-btn:hover .toolbar-shortcut{opacity:1;transform:translate(0)}.toolbar-icon{width:15px;height:15px;display:block;flex-shrink:0}.toolbar-shortcut{position:absolute;left:calc(100% + 6px);top:50%;transform:translate(-4px) translateY(-50%);white-space:nowrap;font-size:10px;font-weight:600;color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:3px;padding:1px 4px;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease;z-index:60}.toolbar-btn.active{background:#e5fcef;border-color:#22c55e;box-shadow:0 0 0 1px #22c55e99}.toolbar-btn:disabled{opacity:.4;cursor:not-allowed}.toolbar-btn:disabled:hover{background:#fff;transform:none;box-shadow:none}.toolbar-btn:disabled:hover .toolbar-shortcut{opacity:0}.toolbar-separator{width:1px;height:6px;margin:0;flex-shrink:0;background:linear-gradient(to bottom,transparent,#e5e7eb,transparent);align-self:center}.toolbar-note-wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:.12rem;flex-shrink:0}.toolbar-note-color-btn{width:14px;height:14px;border-radius:999px;border:2px solid #d1d5db;cursor:pointer;padding:0;transition:border-color .14s ease;flex-shrink:0}.toolbar-note-color-btn:hover{border-color:#9ca3af}.toolbar-note-color-picker{position:absolute;left:calc(100% + 8px);top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:6px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 24px #0f172a26;z-index:50}.toolbar-note-color-picker-16{grid-template-columns:repeat(4,1fr)}.toolbar-note-color-swatch{width:22px;height:22px;border-radius:4px;border:2px solid rgba(0,0,0,.2);cursor:pointer;padding:0;box-shadow:0 0 0 1px #ffffffe6,0 0 6px #00000026;transition:border-color .12s ease,transform .08s ease,box-shadow .12s ease}.toolbar-note-color-swatch:hover{transform:scale(1.15);box-shadow:0 0 0 1px #fff,0 0 10px #00000040}.toolbar-note-color-swatch.active{border-color:#111827}.toolbar-bg-toggle{display:flex;gap:1px}.toolbar-bg-toggle .toolbar-btn{width:auto;padding:0 8px;font-size:11px}.toolbar-icon.spin{animation:toolbar-spin .8s linear infinite}@keyframes toolbar-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pages-sidebar{width:100%;height:100%;display:flex;flex-direction:column;background:#0f172a;border-right:1px solid #1e293b;overflow:hidden}.pages-sidebar-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:.6rem .5rem .5rem;gap:.5rem;border-bottom:1px solid #1e293b}.pages-sidebar-title{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.pages-sidebar-view-toggle{display:flex;gap:2px}.pages-sidebar-view-toggle button{width:26px;height:26px;border:none;border-radius:.35rem;background:transparent;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.pages-sidebar-view-toggle button:hover{background:#1e293b;color:#cbd5e1}.pages-sidebar-view-toggle button.active{background:#334155;color:#22c55e}.pages-sidebar-list{flex:1;overflow-y:auto;padding:.4rem;display:flex;flex-direction:column;gap:.35rem}.pages-sidebar-list::-webkit-scrollbar{width:6px}.pages-sidebar-list::-webkit-scrollbar-track{background:transparent}.pages-sidebar-list::-webkit-scrollbar-thumb{background:#334155;border-radius:999px}.pages-sidebar-thumb-wrap{position:relative;flex-shrink:0;display:flex;justify-content:center;width:100%}.pages-sidebar-thumb-wrap:hover .pages-sidebar-thumb-delete,.pages-sidebar-thumb-wrap.active .pages-sidebar-thumb-delete{opacity:1}.pages-sidebar-thumb-delete{position:absolute;top:.45rem;right:.45rem;width:22px;height:22px;border:none;border-radius:.35rem;background:#0f172ae0;color:#fca5a5;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .12s ease,background .12s ease;z-index:1}.pages-sidebar-thumb-delete:hover{background:#7f1d1d;color:#fecaca}.pages-tree-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:.35rem;border-radius:.4rem}.pages-tree-sheet-row:hover{background:#1e293b}.pages-tree-sheet-row.active{background:#22c55e14;box-shadow:0 0 0 1.5px #22c55e73}.pages-tree-sheet-row .pages-sidebar-list-item{flex:1;min-width:0}.pages-tree-sheet-row .pages-sidebar-list-item:hover,.pages-tree-sheet-row .pages-sidebar-list-item.active{background:transparent;box-shadow:none}.pages-tree-sheet-row .pages-tree-action-del{flex-shrink:0;margin-right:.25rem;opacity:0}.pages-tree-sheet-row:hover .pages-tree-action-del,.pages-tree-sheet-row.active .pages-tree-action-del{opacity:1}.pages-sidebar-thumb-item{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.35rem;border:none;border-radius:.5rem;background:transparent;cursor:pointer;transition:background .12s ease}.pages-sidebar-thumb-item:hover{background:#1e293b}.pages-sidebar-thumb-item.active{background:#22c55e14;box-shadow:0 0 0 1.5px #22c55e73;border-radius:.4rem}.pages-sidebar-thumb-item img{width:100%;max-width:120px;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:.35rem;border:1px solid #334155;display:block}.pages-sidebar-thumb-item.active img{border-color:#22c55e80}.pages-sidebar-thumb-placeholder{width:100%;max-width:120px;aspect-ratio:3/2;border-radius:.35rem;background:linear-gradient(135deg,#334155,#1e293b);border:1px solid #475569}.pages-sidebar-thumb-num{font-size:.7rem;font-weight:600;color:#94a3b8}.pages-sidebar-thumb-item.active .pages-sidebar-thumb-num{color:#4ade80}.pages-sidebar-list-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .5rem;border:none;border-radius:.4rem;background:transparent;cursor:pointer;text-align:left;transition:background .12s ease}.pages-sidebar-list-item:hover{background:#1e293b}.pages-sidebar-list-item.active{background:#22c55e14;box-shadow:0 0 0 1.5px #22c55e73;border-radius:.4rem}.pages-sidebar-list-num{flex-shrink:0;font-size:.7rem;font-weight:700;color:#64748b;min-width:1.25rem}.pages-sidebar-list-item.active .pages-sidebar-list-num{color:#4ade80}.pages-sidebar-list-label{font-size:.8rem;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pages-sidebar-list-item.active .pages-sidebar-list-label{color:#dcfce7}.pages-tree-root{display:flex;flex-direction:column;gap:.15rem}.pages-tree-project-btn{display:flex;align-items:center;gap:.35rem;width:100%;padding:.4rem .35rem;border:none;border-radius:.4rem;background:#1e293b;color:#f1f5f9;cursor:pointer;text-align:left}.pages-tree-project-btn:hover{background:#334155}.pages-tree-project-name{font-size:.82rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.pages-tree-project-body{padding-left:.35rem;display:flex;flex-direction:column;gap:.2rem}.pages-tree-folder{display:flex;flex-direction:column}.pages-tree-folder-btn{display:flex;align-items:center;gap:.3rem;width:100%;padding:.32rem .3rem;border:none;border-radius:.35rem;background:transparent;color:#94a3b8;cursor:pointer;text-align:left;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.pages-tree-folder-btn:hover{background:#1e293b;color:#cbd5e1}.pages-tree-folder-icon{display:inline-flex;color:#64748b}.pages-tree-folder-label{flex:1}.pages-tree-folder-count{font-size:.68rem;color:#64748b;font-weight:500}.pages-tree-folder-children{padding-left:1.1rem;display:flex;flex-direction:column;gap:.15rem;margin-bottom:.25rem}.pages-tree-leaf{width:100%}.pages-tree-empty{font-size:.72rem;color:#64748b;padding:.35rem .4rem;line-height:1.35}.pages-tree-view-all-btn{display:inline-flex;align-items:center;gap:.35rem;margin:.15rem 0 .35rem .4rem;padding:.3rem .5rem;border:1px solid #334155;border-radius:.35rem;background:#1e293b;color:#cbd5e1;font-size:.68rem;font-weight:500;cursor:pointer;text-transform:none;letter-spacing:normal}.pages-tree-view-all-btn:hover{background:#334155;color:#f1f5f9}.pages-tree-template-row{display:flex;align-items:center;justify-content:space-between;gap:.35rem;padding:.38rem .4rem;border-radius:.4rem;background:#0f172a59}.pages-tree-template-row:hover{background:#1e293b}.pages-tree-template-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:.1rem}.pages-tree-template-name{font-size:.78rem;font-weight:600;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pages-tree-template-meta{font-size:.68rem;color:#64748b}.pages-tree-template-actions{display:flex;gap:.2rem;flex-shrink:0}.pages-tree-action-btn{width:24px;height:24px;border:none;border-radius:.35rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:#334155;color:#cbd5e1}.pages-tree-action-btn:hover{background:#475569}.pages-tree-action-view:hover{background:#3b82f640;color:#93c5fd}.pages-tree-action-use:hover{background:#22c55e40;color:#4ade80}.pages-tree-action-del:hover{background:#ef444433;color:#f87171}.cg-templates-overlay{position:fixed;inset:0;background:#0f172a73;z-index:1700;display:flex;align-items:center;justify-content:center;padding:16px}.cg-templates-modal{width:min(760px,96vw);max-height:82vh;overflow:auto;background:#fff;border-radius:10px;border:1px solid #e5e7eb;box-shadow:0 24px 44px #0f172a38;padding:16px}.cg-templates-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.cg-templates-header h3{margin:0;font-size:17px;color:#111827}.cg-templates-close{border:none;background:transparent;color:#6b7280;cursor:pointer;padding:4px;border-radius:6px}.cg-templates-close:hover{background:#f3f4f6;color:#111827}.cg-templates-sub{margin:0 0 12px;font-size:13px;color:#6b7280;line-height:1.4}.cg-templates-empty{padding:16px 12px;color:#6b7280;font-size:13px}.cg-templates-list{display:flex;flex-direction:column;gap:12px}.cg-template-card{border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#fafafa}.cg-template-card.focused{border-color:#93c5fd;box-shadow:0 0 0 2px #3b82f626}.cg-template-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.cg-template-name{margin:0;font-size:14px;font-weight:600;color:#111827}.cg-template-meta{margin:2px 0 0;font-size:12px;color:#6b7280}.cg-template-card-actions{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.cg-template-btn{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:12px;color:#334155}.cg-template-btn:hover{background:#f8fafc}.cg-template-btn-primary{border-color:#86efac;background:#f0fdf4;color:#166534}.cg-template-btn-danger{border-color:#fecaca;color:#b91c1c}.cg-template-schematic{width:100%;height:220px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:0}.cg-template-schematic-large{height:min(60vh,540px)}.cg-template-schematic-empty{height:80px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#9ca3af;background:#fff;border:1px dashed #e5e7eb;border-radius:6px;margin-bottom:10px}.cg-template-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.cg-template-items li{display:flex;align-items:center;gap:8px;font-size:12px;color:#374151}.cg-template-swatch{width:10px;height:10px;border-radius:2px;flex-shrink:0}.cg-template-type{margin-left:auto;color:#9ca3af;font-size:11px;text-transform:capitalize}.excel-modal-overlay{position:fixed;inset:0;background:#0f172a6b;-webkit-backdrop-filter:none;backdrop-filter:none;display:flex;align-items:center;justify-content:center;z-index:1000;padding:0;animation:none}@keyframes excel-modal-fade{0%{opacity:0}to{opacity:1}}.excel-modal{background:#fff;border-radius:0;box-shadow:0 24px 64px #02061747;width:100vw;max-width:100vw;height:100vh;max-height:100vh;position:relative;display:flex;flex-direction:column;overflow:hidden;animation:none;transform:translateZ(0)}@keyframes excel-modal-in{0%{opacity:0;transform:scale(.98) translateY(-8px)}to{opacity:1;transform:scale(1) translateY(0)}}.excel-modal-loading,.excel-modal-error{padding:3rem 2rem;text-align:center;color:#64748b}.excel-modal-error p{margin:0 0 1rem;color:#dc2626}.excel-modal-header{flex-shrink:0;display:flex;align-items:center;gap:1rem;padding:.72rem .95rem;border-bottom:1px solid #d1d5db;background:linear-gradient(180deg,#e5e7eb,#dfe3e8)}.excel-modal-title{margin:0;font-size:1rem;font-weight:600;color:#0f172a;flex:1}.excel-modal-title-wrap{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}.excel-modal-subtitle{font-size:.72rem;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.excel-header-version-row{margin-top:.2rem;display:inline-flex;align-items:center;gap:.45rem;min-width:min(520px,50vw)}.excel-header-version-row-inline{margin-top:0;min-width:0;margin-right:0;display:inline-flex;align-items:center}.excel-header-version-select{flex:1;min-width:280px;max-width:520px;height:30px;padding:.24rem .45rem;border:1px solid #cfd8e3;border-radius:7px;font-size:.78rem;color:#0f172a;background:#fff}.excel-version-picker{width:auto;min-width:0;max-width:340px}.excel-header-version-trigger{width:auto;min-width:280px;max-width:340px;min-height:34px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;color:#0f172a;display:inline-flex;align-items:center;justify-content:space-between;gap:.45rem;padding:.38rem .6rem;cursor:pointer;transition:border-color .12s ease,background .12s ease}.excel-header-version-trigger:hover{border-color:#c4d2e5;background:#f1f5f9}.excel-header-version-trigger-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.76rem;font-weight:600;text-align:left;padding-left:.1rem}.excel-version-picker-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:100%;max-width:min(480px,72vw);max-height:340px;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 28px #0f172a24;padding:.4rem;z-index:45;scrollbar-width:thin;scrollbar-color:#94a3b8 #f8fafc}.excel-version-picker-menu::-webkit-scrollbar{width:7px}.excel-version-picker-menu::-webkit-scrollbar-track{background:#f1f5f9;border-radius:999px}.excel-version-picker-menu::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:999px}.excel-version-picker-menu::-webkit-scrollbar-thumb:hover{background:#64748b}.excel-version-picker-delete-all{border:1px solid #fecaca;background:#fff;color:#b91c1c;border-radius:9px;padding:.34rem .72rem;font-size:.73rem;font-weight:600;text-align:center;cursor:pointer;white-space:nowrap;transition:background .12s ease,border-color .12s ease}.excel-version-picker-delete-all:hover{background:#fff1f2;border-color:#fda4af}.excel-version-picker-item{width:100%;text-align:left;border:1px solid #eef2f7;background:#fff;border-radius:10px;padding:.42rem .5rem;cursor:default;display:flex;align-items:center;justify-content:space-between;gap:.46rem;margin-bottom:.34rem}.excel-version-picker-bulk{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.55rem;padding:.15rem .08rem .5rem;border-bottom:1px solid #edf2f8;position:sticky;top:0;background:#fff;z-index:2}.excel-version-picker-select-all{display:inline-flex;align-items:center;gap:.45rem;font-size:.75rem;color:#334155;font-weight:600;white-space:nowrap}.excel-version-picker-check{display:inline-flex;align-items:center;margin-right:.2rem}.excel-version-picker-check input,.excel-version-picker-select-all input{width:14px;height:14px;accent-color:#2563eb}.excel-version-picker-item:hover{background:#f8fafc;border-color:#d9e2ef}.excel-version-picker-item.active{background:#eef6ff;border-color:#bfdbfe}.excel-version-picker-name{font-size:.86rem;font-weight:600;color:#1e293b}.excel-version-picker-main{flex:1;border:none;background:transparent;text-align:left;display:flex;flex-direction:column;gap:.08rem;cursor:pointer;padding:0}.excel-version-picker-meta{font-size:.74rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.excel-version-picker-delete{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:6px;padding:.18rem .4rem;font-size:.68rem;cursor:pointer;white-space:nowrap}.excel-version-picker-delete:hover{background:#ffe4e6;border-color:#fca5a5}.excel-modal-actions{display:flex;align-items:center;gap:.18rem}.excel-save-status{min-width:26px;width:26px;height:26px;margin-right:.45rem;color:#64748b;display:inline-flex;align-items:center;justify-content:center}.excel-save-status.saving{color:#2563eb}.excel-save-status.saved{color:#15803d}.excel-save-status.error{color:#b91c1c}.excel-save-status-spin{animation:excel-save-spin .8s linear infinite}@keyframes excel-save-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.excel-price-preset-row{flex-shrink:0;display:flex;align-items:center;gap:.5rem;padding:.45rem .8rem;background:#eef1f4;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.excel-toolbar-group{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap;padding:0;border:none;border-radius:0;background:transparent}.excel-toolbar-group-formulas{flex-basis:100%;margin-left:0;padding-top:.2rem;border-top:1px solid #eceff4}.excel-price-preset-label{font-size:.72rem;font-weight:600;color:#334155}.excel-price-preset-row label{display:flex;align-items:center;gap:.35rem;font-size:.8rem;color:#334155}.excel-price-preset-row label span{white-space:nowrap}.excel-price-preset-row input[type=number]{width:72px;padding:.25rem .4rem;font-size:.8rem;border:1px solid #cbd5e1;border-radius:6px}.excel-price-preset-row select{max-width:175px;min-width:110px;height:29px;padding:.2rem .34rem;border:1px solid #d6dde7;border-radius:6px;font-size:.72rem;background:#fff;color:#0f172a}.excel-template-search{min-width:120px;max-width:180px;height:29px;padding:.2rem .34rem;border:1px solid #d6dde7;border-radius:6px;font-size:.72rem;color:#0f172a;background:#fff}.excel-formula-eq-btn{flex:0 0 auto;width:29px;height:29px;padding:0;border:1px solid #d6dde7;border-radius:6px;font-size:.85rem;font-weight:700;color:#0f172a;background:#f8fafc;cursor:pointer}.excel-formula-eq-btn:hover:not(:disabled){background:#e8f0fe;border-color:#93b4f5}.excel-formula-eq-btn:disabled{opacity:.45;cursor:not-allowed}.excel-formula-input{min-width:150px;max-width:250px;height:29px;padding:.2rem .34rem;border:1px solid #d6dde7;border-radius:6px;font-size:.72rem;color:#0f172a;background:#fff}.excel-toolbar-group-formulas .excel-template-search{min-width:150px}.excel-toolbar-group-formulas .excel-formula-input{min-width:210px}.excel-minimal-hint{opacity:.9;max-width:520px}.excel-version-meta{opacity:.8;max-width:420px;font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.excel-version-menu-wrap{position:relative}.excel-version-menu-btn{width:24px;height:24px;padding:0;border:1px solid #d7dee8;border-radius:6px;background:#f8fafc;color:#475569;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,border-color .15s ease,color .15s ease}.excel-version-menu-btn svg{display:block}.excel-version-menu-btn:disabled{opacity:.45;cursor:not-allowed}.excel-version-menu-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#334155}.excel-version-menu{position:absolute;top:calc(100% + 4px);right:0;min-width:150px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 20px #0f172a29;z-index:30;padding:.25rem 0}.excel-version-menu-item{width:100%;text-align:left;padding:.4rem .6rem;border:none;background:transparent;color:#334155;font-size:.78rem;cursor:pointer}.excel-version-menu-item:hover{background:#f8fafc}.excel-version-menu-item.danger{color:#b91c1c}.excel-apply-prices-btn{margin-left:.25rem;background:#0f172a;color:#fff;border:1px solid #0f172a;font-weight:600}.excel-apply-prices-btn:hover:not(:disabled){background:#020617;border-color:#020617}.excel-apply-prices-btn:disabled{opacity:.5;cursor:not-allowed}.excel-modal-icon-btn{width:28px;height:28px;border:1px solid #d7dee8;border-radius:7px;background:#f8fafc;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,border-color .15s ease,color .15s ease;box-shadow:none}.excel-modal-icon-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#334155}.excel-modal-icon-btn:disabled{opacity:.4;cursor:not-allowed}.excel-modal-divider{width:1px;height:16px;background:#cbd5e1;margin:0 .25rem}.excel-modal-btn{display:inline-flex;align-items:center;gap:.26rem;padding:.33rem .56rem;min-height:30px;border-radius:7px;font-size:.76rem;font-weight:600;cursor:pointer;transition:all .16s ease;border:1px solid #d7dee8;background:#f8fafc;color:#334155;box-shadow:none}.excel-modal-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}.excel-modal-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.excel-modal-btn.primary{background:#111827;color:#fff;border-color:#111827;box-shadow:none}.excel-modal-btn.primary:hover:not(:disabled){background:#1f2937;border-color:#1f2937;color:#fff}.excel-modal-btn-icon-like{width:28px;height:28px;min-width:28px;padding:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.excel-modal-btn.secondary{background:#fff;color:#0f172a;border-color:#d6dde7}.excel-modal-btn-ghost{flex-shrink:0;font-size:.72rem;padding:.22rem .46rem;border-radius:6px;border:1px solid #d7dee8;background:#f8fafc;color:#475569;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.excel-modal-btn-ghost:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.excel-modal-btn.secondary:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.excel-modal-color-input{width:28px;height:28px;padding:0;border:none;border-radius:6px;cursor:pointer;background:transparent}.excel-modal-color-input::-webkit-color-swatch-wrapper{padding:2px}.excel-modal-color-input::-webkit-color-swatch{border-radius:4px;border:1px solid #cbd5e1}.excel-modal-close{width:28px;height:28px;border:1px solid #dc2626;border-radius:7px;background:#dc2626;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,border-color .15s ease,color .15s ease}.excel-modal-close:hover{background:#b91c1c;border-color:#b91c1c;color:#fff}.excel-modal-close:active{background:#991b1b;border-color:#991b1b}.excel-modal-tabs{flex-shrink:0;display:flex;gap:.25rem;padding:.38rem .72rem 0;border-bottom:1px solid #d8dee6;background:#eceff3;overflow-x:auto}.excel-formula-bar{flex-shrink:0;display:flex;align-items:stretch;gap:.4rem;padding:.32rem .6rem;background:#fff;border-bottom:1px solid #d8dee6}.excel-formula-bar-ref{min-width:64px;padding:0 .5rem;display:inline-flex;align-items:center;justify-content:center;font-family:Consolas,Menlo,monospace;font-size:.78rem;font-weight:600;color:#1f2937;background:#f8fafc;border:1px solid #d8dee6;border-radius:.3rem}.excel-formula-bar-fx{display:inline-flex;align-items:center;justify-content:center;width:28px;font-style:italic;font-weight:600;color:#6b7280;background:#f1f5f9;border:1px solid #d8dee6;border-radius:.3rem;font-size:.85rem}.excel-formula-bar-input{flex:1;padding:.32rem .5rem;font-family:Consolas,Menlo,monospace;font-size:.82rem;border:1px solid #d8dee6;border-radius:.3rem;background:#fff;color:#111827;outline:none}.excel-formula-bar-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.excel-formula-bar-input:disabled{background:#f3f4f6;color:#9ca3af}.excel-formula-bar .excel-formula-eq-btn{align-self:center}.excel-modal-body.excel-formula-building{outline:2px solid rgba(37,99,235,.35);outline-offset:-2px}.excel-modal-body.excel-formula-building .excel-cell{cursor:cell}.excel-quickbar{display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding:.38rem .8rem;border-bottom:1px solid #e2e8f0;background:#f8fafc;flex-wrap:wrap}.excel-quickbar-group{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap}.excel-quickbar-select{height:29px;min-width:170px;max-width:260px;padding:.22rem .36rem;border:1px solid #d6dde7;border-radius:6px;font-size:.73rem;background:#fff;color:#0f172a}.excel-modal-tab{padding:.38rem .72rem;border:none;border-radius:8px 8px 0 0;background:transparent;color:#64748b;font-size:.74rem;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease;white-space:nowrap}.excel-modal-tab:hover{background:#e2e8f0;color:#334155}.excel-modal-tab.active{background:#fff;color:#0f172a;box-shadow:0 -1px #fff}.excel-modal-guide-toggle-row{flex-shrink:0;padding:.35rem 1rem;border-bottom:1px solid #e2e8f0;background:#fafafa}.excel-letter-guide-label{display:inline-flex;align-items:center;gap:.5rem;font-size:.8rem;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.excel-modal-body{flex:1;min-height:0;overflow:hidden;padding:.5rem .75rem .75rem;display:flex;flex-direction:column}.excel-table-wrap{position:relative;overflow:auto;flex:1;min-height:0;max-height:none;width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.excel-table-wrap::-webkit-scrollbar{height:8px;width:8px}.excel-table-wrap::-webkit-scrollbar-track{background:#f8fafc}.excel-table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.excel-table-wrap::-webkit-scrollbar-thumb:hover{background:#94a3b8}.excel-letter-page-guide{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;align-items:flex-start;justify-content:center;padding:.5rem}.excel-letter-page-guide-inner{width:min(100%,55vh);max-width:100%;aspect-ratio:8.5 / 11;max-height:calc(100% - 1rem);border:2px dotted #ef4444;border-radius:4px;box-sizing:border-box;opacity:.88}.excel-preview-table{border-collapse:collapse;font-size:.8rem;table-layout:fixed}.excel-preview-table td{border:1px solid #e2e8f0;padding:.35rem .6rem;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.excel-preview-table thead th,.excel-preview-table tbody th.excel-header-cell{border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-weight:600;font-size:.75rem;text-align:center;-webkit-user-select:none;user-select:none;position:sticky;z-index:3}.excel-preview-table thead th{top:0}.excel-preview-table tbody th.excel-header-cell{left:0;z-index:2}.excel-corner-header{left:0;z-index:4!important;cursor:pointer}.excel-col-header,.excel-row-header{cursor:pointer}.excel-col-header-inner{display:inline-flex;align-items:center;justify-content:center;gap:.2rem;position:relative;width:100%}.excel-col-drag-handle{font-size:.74rem;color:#475569;cursor:grab;-webkit-user-select:none;user-select:none;padding:0 5px;position:relative;z-index:2;border-radius:4px;background:#f1f5f9}.excel-col-drag-handle:active{cursor:grabbing}.excel-col-resize-handle{position:absolute;right:0;top:0;width:10px;height:100%;cursor:col-resize;background:transparent;z-index:6}.excel-col-resize-handle:after{content:"";position:absolute;right:1px;top:10%;bottom:10%;width:2px;background:transparent;border-radius:2px;transition:background .12s ease;pointer-events:none}.excel-col-resize-handle:hover:after{background:#2563eb}.excel-row-header-inner{display:inline-flex;align-items:center;gap:.25rem;position:relative;width:100%;justify-content:center}.excel-row-drag-handle{font-size:.74rem;color:#475569;cursor:grab;-webkit-user-select:none;user-select:none;padding:0 5px;position:relative;z-index:2;border-radius:4px;background:#f1f5f9}.excel-row-drag-handle:active{cursor:grabbing}.excel-row-resize-handle{position:absolute;left:0;bottom:0;width:100%;height:10px;cursor:row-resize;background:transparent;z-index:6}.excel-row-resize-handle:after{content:"";position:absolute;left:10%;right:10%;bottom:1px;height:2px;background:transparent;border-radius:2px;transition:background .12s ease;pointer-events:none}.excel-row-resize-handle:hover:after{background:#2563eb}.excel-col-header.selected,.excel-row-header.selected{background:#dbeafe!important;color:#1d4ed8}.excel-cell-image-wrap{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:26px}.excel-cell-image{max-width:100%;max-height:48px;object-fit:contain;border-radius:4px}.excel-cell{outline:none;background:#fff}.excel-cell:focus{box-shadow:inset 0 0 0 2px #3b82f6;z-index:1;position:relative}.excel-cell[contenteditable=true]{cursor:text}.excel-cell-selected{background:#3b82f626!important;box-shadow:inset 0 0 0 2px #3b82f6}.excel-edit-decision-overlay{position:absolute;inset:0;background:#0f172a52;display:flex;align-items:center;justify-content:center;z-index:30}.excel-edit-decision-card{position:relative;width:min(520px,calc(100% - 2rem));max-width:72vw;background:#fff;border:1px solid #dbe3ee;border-radius:16px;box-shadow:0 20px 44px #0f172a38;padding:1.55rem 1.25rem 1.35rem}.excel-edit-decision-head{padding-right:2rem}.excel-edit-decision-close{position:absolute;top:.72rem;right:.72rem;width:30px;height:30px;border:1px solid #dbe3ee;border-radius:8px;background:#f8fafc;color:#334155;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease}.excel-edit-decision-close:hover{background:#eef2f7;border-color:#cbd5e1;color:#0f172a}.excel-edit-decision-card h4{margin:0;color:#0f172a;font-size:1.06rem}.excel-edit-decision-card p{margin:.75rem 0 0;color:#475569;font-size:.9rem;line-height:1.6}.excel-edit-decision-actions{margin-top:1.35rem;display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}.excel-context-menu{position:fixed;z-index:70;width:fit-content;min-width:170px;max-width:none;background:#111827;border:1px solid #1f2937;border-radius:10px;box-shadow:0 16px 34px #02061759;padding:.3rem}.excel-help-fab{position:absolute;right:.9rem;bottom:.9rem;z-index:41;border:1px solid #cbd5e1;background:#0f172a;color:#fff;border-radius:999px;padding:.45rem .72rem;display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:600;cursor:pointer}.excel-help-fab:hover{background:#1e293b;border-color:#94a3b8}.excel-help-overlay{position:absolute;inset:0;z-index:80;background:#0206176b;display:flex;align-items:flex-end;justify-content:flex-end;padding:1rem}.excel-help-card{position:relative;width:min(760px,calc(100% - 1rem));max-height:min(72vh,680px);overflow:auto;background:#fff;border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 18px 44px #0f172a47;padding:1rem 1rem .9rem}.excel-help-card h4{margin:0;font-size:1rem;color:#0f172a}.excel-help-card p{margin:.35rem 0 0;font-size:.82rem;color:#475569}.excel-help-close{position:absolute;top:.7rem;right:.7rem;width:28px;height:28px;border:1px solid #dbe3ee;border-radius:7px;background:#f8fafc;color:#334155;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.excel-help-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.excel-help-grid section{border:1px solid #e2e8f0;border-radius:10px;padding:.55rem .62rem;background:#f8fafc}.excel-help-grid h5{margin:0;font-size:.8rem;color:#0f172a}.excel-help-grid ul{margin:.38rem 0 0;padding-left:1.05rem}.excel-help-grid li{margin:.18rem 0;font-size:.74rem;line-height:1.35;color:#334155}.excel-help-grid kbd{border:1px solid #cbd5e1;border-bottom-width:2px;background:#fff;border-radius:4px;padding:0 .3rem;font-size:.68rem;color:#0f172a}.excel-context-item{width:100%;min-width:0;border:none;background:transparent;color:#f8fafc;text-align:left;font-size:.78rem;padding:.38rem .5rem;border-radius:7px;cursor:pointer;display:block;white-space:nowrap}.excel-context-item:hover{background:#1f2937}.excel-download-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1200}.excel-download-modal{background:#fff;border-radius:12px;box-shadow:0 20px 50px #00000040;min-width:520px;max-width:92vw;max-height:85vh;display:flex;flex-direction:column}.excel-download-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.excel-download-modal-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#111827}.excel-download-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:6px}.excel-download-modal-close:hover{color:#111827;background:#f3f4f6}.excel-download-modal-hint{margin:0;padding:.75rem 1.25rem 0;font-size:.875rem;color:#6b7280}.excel-download-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:.75rem 1.25rem;min-height:0}@media(max-width:720px){.excel-download-sections{grid-template-columns:1fr}.excel-download-modal{min-width:0;width:92vw}}.excel-download-section{display:flex;flex-direction:column;min-height:0;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.excel-download-section-head{display:flex;align-items:center;justify-content:space-between;padding:.55rem .75rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.excel-download-section-head h4{margin:0;font-size:.875rem;font-weight:600;color:#111827}.excel-download-count{font-size:.75rem;color:#6b7280}.excel-download-filter-label{display:flex;align-items:center;gap:.5rem;padding:.45rem .75rem;font-size:.8125rem;color:#374151;cursor:pointer;border-bottom:1px solid #f3f4f6}.excel-download-list{overflow-y:auto;padding:.45rem .75rem;max-height:240px;display:flex;flex-direction:column;gap:.2rem}.excel-download-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#111827;cursor:pointer;padding:.3rem .45rem;border-radius:6px}.excel-download-row:hover{background:#f9fafb}.excel-download-badge{font-size:.68rem;color:#6b7280;margin-left:auto}.excel-download-actions{padding:.45rem .75rem;display:flex;gap:.5rem;border-top:1px solid #f3f4f6}.excel-download-btn-inline{padding:.4rem .75rem;font-size:.8125rem;border:1px solid #d1d5db;background:#f9fafb;color:#374151;border-radius:8px;cursor:pointer}.excel-download-btn-inline:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.excel-download-btn-inline:disabled{opacity:.6;cursor:not-allowed}.excel-download-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid #e5e7eb}.excel-download-export-btn{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border:none;background:#2563eb;color:#fff;border-radius:8px;cursor:pointer}.excel-download-export-btn:hover:not(:disabled){background:#1d4ed8}.excel-download-export-btn:disabled{opacity:.6;cursor:not-allowed}.export-format-overlay{position:fixed;inset:0;background:#0f172a73;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem}.export-format-modal{background:#fff;border-radius:12px;box-shadow:0 20px 50px #0f172a33;max-width:480px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.export-format-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.15rem;border-bottom:1px solid #e5e7eb}.export-format-modal-header h3{margin:0;font-size:1.05rem;font-weight:600;color:#111827}.export-format-modal-close{border:none;background:#f3f4f6;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:1.1rem;line-height:1;color:#6b7280}.export-format-modal-close:hover{background:#e5e7eb;color:#111827}.export-format-modal-body{padding:1rem 1.15rem;overflow-y:auto;display:flex;flex-direction:column;gap:.85rem}.export-format-field{display:flex;flex-direction:column;gap:.25rem}.export-format-field label{font-size:.78rem;font-weight:600;color:#374151}.export-format-field input,.export-format-field textarea{font-size:.9rem;padding:.45rem .55rem;border:1px solid #d1d5db;border-radius:6px}.export-format-field textarea{min-height:88px;resize:vertical;font-family:inherit}.export-format-field small{font-size:.72rem;color:#6b7280}.export-format-section-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;margin:.25rem 0 0}.export-format-templates{border:1px solid #e5e7eb;border-radius:8px;padding:.65rem;background:#fafafa}.export-format-template-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.5rem}.export-format-template-row:last-child{margin-bottom:0}.export-format-template-row select{flex:1;min-width:0;font-size:.85rem;padding:.35rem .45rem;border-radius:6px;border:1px solid #d1d5db}.export-format-btn-row{display:flex;flex-wrap:wrap;gap:.45rem}.export-format-btn{font-size:.82rem;padding:.4rem .75rem;border-radius:8px;border:1px solid #d1d5db;background:#fff;cursor:pointer;color:#374151}.export-format-btn:hover{background:#f9fafb}.export-format-btn.primary{background:#2563eb;border-color:#2563eb;color:#fff}.export-format-btn.primary:hover{background:#1d4ed8}.export-format-modal-footer{padding:.85rem 1.15rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:.5rem}.export-studio-overlay{position:fixed;inset:0;background:#02061773;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2100;display:flex;align-items:center;justify-content:center;padding:1rem}.export-studio-modal{width:min(980px,96vw);max-height:92vh;background:#fff;border:1px solid #dbe3f0;border-radius:14px;box-shadow:0 24px 60px #0206173d;display:flex;flex-direction:column;overflow:hidden}.export-studio-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1.2rem .7rem;border-bottom:1px solid #edf2f7}.export-studio-header h3{margin:0;font-size:1.08rem;color:#0f172a}.export-studio-header p{margin:.2rem 0 0;font-size:.85rem;color:#64748b}.export-studio-close{border:1px solid #dbe3f0;background:#f8fafc;color:#334155;width:32px;height:32px;border-radius:8px;cursor:pointer}.export-studio-tabs{display:flex;gap:.4rem;padding:.7rem 1.2rem .4rem}.export-studio-tab{border:1px solid #dbe3f0;background:#f8fafc;color:#334155;padding:.45rem .75rem;border-radius:8px;cursor:pointer;font-size:.86rem;font-weight:600}.export-studio-tab.active{background:#e8f0ff;border-color:#9dbbff;color:#1d4ed8}.export-studio-body{padding:.7rem 1.2rem 1.2rem;overflow:auto}.export-studio-pane{display:grid;gap:.8rem}.export-studio-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:.85rem}.export-studio-card h4{margin:0 0 .35rem;color:#0f172a;font-size:.95rem}.export-studio-card p{margin:0;color:#475569;font-size:.83rem}.export-studio-actions{display:flex;gap:.45rem;align-items:center;margin-top:.7rem;flex-wrap:wrap}.export-studio-btn{border:1px solid #d1d9e6;background:#f8fafc;color:#334155;padding:.42rem .75rem;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer}.export-studio-btn.primary{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.export-studio-btn:disabled{opacity:.6;cursor:not-allowed}.export-studio-row{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.65rem}.export-studio-check{display:inline-flex;align-items:center;gap:.45rem;color:#334155;font-size:.82rem}.export-studio-muted{color:#64748b;font-size:.79rem}.export-studio-page-list{max-height:280px;overflow:auto;border:1px solid #e2e8f0;border-radius:10px;padding:.35rem;background:#f8fafc}.export-studio-page{display:flex;align-items:flex-start;gap:.5rem;padding:.45rem;border-radius:8px;cursor:pointer}.export-studio-page.selected{background:#e8f0ff}.export-studio-page-main{display:flex;flex-direction:column;gap:.1rem}.export-studio-page-main strong{font-size:.84rem;color:#0f172a}.export-studio-page-main small{font-size:.74rem;color:#64748b}.export-studio-empty{padding:.8rem;color:#64748b;font-size:.82rem;text-align:center}.plan-viewer-page{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#fff}.viewer-header{height:52px;background:#111827;color:#f9fafb;display:flex;align-items:center;padding:0 1.5rem 0 0;gap:0;border-bottom:1px solid #020617;box-shadow:0 8px 20px #0f172a73}.viewer-header-left{display:flex;align-items:center;gap:0;min-width:200px}.viewer-menu-wrap{position:relative;width:3.25rem;flex:0 0 3.25rem;height:100%;display:flex;align-items:center;justify-content:center;border-right:1px solid #1f2937}.viewer-header-left .viewer-title-group{padding-left:1rem}.viewer-menu-btn{width:36px;height:36px;border:none;border-radius:.5rem;background:transparent;color:#f9fafb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .14s ease,color .14s ease}.viewer-menu-btn:hover{background:#ffffff1f;color:#fff}.viewer-menu-icon{width:20px;height:20px;display:block}.viewer-menu-dropdown{position:absolute;top:calc(100% + 6px);left:0;min-width:200px;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;box-shadow:0 10px 28px #0f172a33;z-index:100;padding:.35rem 0}.viewer-menu-item{display:block;width:100%;padding:.5rem 1rem;border:none;background:transparent;color:#111827;font-size:.875rem;text-align:left;cursor:pointer;transition:background .12s ease}.viewer-menu-item:hover{background:#f3f4f6}.viewer-header-center{flex:1;display:flex;align-items:center;gap:1rem;min-width:0;justify-content:center}.viewer-header-right{display:flex;align-items:center;gap:.45rem}.viewer-export-group{display:inline-flex;align-items:stretch;gap:0;border-radius:.5rem;overflow:hidden;border:1px solid rgba(255,255,255,.2)}.viewer-export-group .viewer-export-pdf-btn,.viewer-export-group .viewer-upload-plans-btn{border-radius:0;border:none}.viewer-export-group .viewer-upload-plans-btn:not(:first-child){border-left:1px solid rgba(255,255,255,.18)}.viewer-upload-plans-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.5rem .72rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;color:#e5e7eb;font-size:.875rem;cursor:pointer;transition:background .14s ease,border-color .14s ease}.viewer-upload-plans-btn:hover:not(:disabled){background:#ffffff2e;border-color:#ffffff4d;color:#fff}.viewer-upload-plans-btn:disabled{opacity:.6;cursor:not-allowed}.viewer-export-format-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;padding:0;background:#ffffff14;border:none;border-left:1px solid rgba(255,255,255,.18);color:#e5e7eb;cursor:pointer;transition:background .14s ease}.viewer-export-format-btn:hover{background:#ffffff29;color:#fff}.viewer-access-badge{display:inline-flex;align-items:center;height:32px;padding:0 .65rem;border-radius:999px;background:#ffffff24;border:1px solid rgba(255,255,255,.22);color:#f9fafb;font-size:.8rem;font-weight:600;white-space:nowrap}.viewer-export-pdf-btn{display:inline-flex;align-items:center;gap:.3rem;padding:.5rem .72rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;color:#f9fafb;font-size:.875rem;cursor:pointer;transition:background .14s ease,border-color .14s ease}.viewer-export-pdf-btn:hover:not(:disabled){background:#ffffff2e;border-color:#ffffff4d}.viewer-export-pdf-btn:disabled{opacity:.6;cursor:not-allowed}.viewer-export-pdf-label{white-space:nowrap}.back-btn{background:#f9fafb;border:1px solid #e5e7eb;color:#111827;padding:.45rem .95rem;border-radius:999px;cursor:pointer;font-size:.85rem;display:inline-flex;align-items:center;gap:.25rem;transition:all .14s ease}.back-btn:hover{background:#e5e7eb;border-color:#d1d5db}.viewer-title-group{display:flex;flex-direction:column;gap:.1rem}.viewer-title-group h2{margin:0;font-size:1rem;font-weight:600;color:#f9fafb}.viewer-subtitle{margin:0;font-size:.75rem;color:#e5e7eb}.viewer-main{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 260px;overflow:hidden;position:relative}.viewer-container{position:relative;background:#fff;overflow:hidden;display:flex;flex-direction:row;gap:0;min-width:0}.viewer-pages-sidebar-wrap{width:0;overflow:hidden;flex-shrink:0;transition:width .2s ease;background:#0f172a}.viewer-pages-sidebar-wrap.visible{width:210px}.viewer-container.sidebar-visible .viewer-toolbar-rail{left:210px}.viewer-toolbar-rail{position:absolute;left:0;top:48px;bottom:0;width:2.75rem;z-index:20;display:flex;flex-direction:column;align-items:stretch;min-height:0;overflow:hidden;transition:left .2s ease;background:#fff;padding:.35rem 0;box-sizing:border-box}.viewer-canvas-wrap{flex:1;min-width:0;min-height:0;padding-left:2.75rem;display:flex;flex-direction:column;overflow:hidden;position:relative}.viewer-template-placement-hint{position:absolute;left:50%;top:56px;transform:translate(-50%);z-index:35;pointer-events:none;padding:8px 14px;border-radius:8px;background:#0f172aeb;color:#f8fafc;font-size:13px;font-weight:500;box-shadow:0 4px 14px #0003;display:flex;flex-direction:column;align-items:center;gap:2px;max-width:min(420px,90%);text-align:center}.viewer-template-placement-hint-sub{font-size:11px;font-weight:400;color:#94a3b8}.viewer-map-type-switch{position:absolute;bottom:12px;right:12px;z-index:30;display:flex;flex-direction:row;align-items:stretch;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000026,0 1px 2px #00000014;border:1px solid rgba(0,0,0,.08);overflow:hidden}.viewer-map-type-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#5f6368;cursor:pointer;transition:background .15s ease,color .15s ease}.viewer-map-type-btn:hover{background:#f1f3f4;color:#202124}.viewer-map-type-btn.active{background:#e8f0fe;color:#1967d2}.viewer-map-type-btn+.viewer-map-type-btn{border-left:1px solid rgba(0,0,0,.08)}.viewer-image-viewport{flex:1;display:flex;align-items:stretch;justify-content:center;padding:18px 18px 22px;background:#f3f4f6;min-height:0}.viewer-image-region{flex:1;width:100%;overflow:auto;margin-top:0;background:#e5e7eb;position:relative;border-radius:14px;box-shadow:0 10px 28px #0f172a14;min-height:0}.viewer-counts-sidebar{display:flex;flex-direction:column;min-width:260px;width:260px;flex-shrink:0;overflow:hidden;min-height:0;background:#f9fafb;border-left:1px solid #e5e7eb}.viewer-image-region::-webkit-scrollbar{width:8px;height:8px}.viewer-image-region::-webkit-scrollbar-track{background:transparent}.viewer-image-region::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.viewer-image-region::-webkit-scrollbar-thumb:hover{background:#9ca3af}.counts-panel-body::-webkit-scrollbar{width:5px}.counts-panel-body::-webkit-scrollbar-track{background:transparent}.counts-panel-body::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.counts-panel-body::-webkit-scrollbar-thumb:hover{background:#9ca3af}.counts-panel-body{scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.viewer-image-wrapper{position:relative;display:flex;min-width:100%;min-height:100%}.viewer-image-sizer{margin:auto;flex-shrink:0;position:relative;overflow:visible}.viewer-image-content{position:absolute;transform-origin:center center}.viewer-image{display:block;max-width:none;max-height:none;box-shadow:0 16px 40px #0f172a2e;border-radius:.6rem;background:#fff;opacity:1}.viewer-sheets-toggle-rail{flex-shrink:0;padding:0 .35rem .35rem;border-bottom:1px solid #e5e7eb;margin-bottom:.25rem}.viewer-sheets-toggle-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:28px;height:28px;padding:0;border:1px solid #d1d5db;border-radius:.5rem;background:#f8fafc;color:#475569;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.viewer-sheets-toggle-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.viewer-nav-controls{display:flex;align-items:center;gap:.5rem;padding:0;border-radius:0;background:transparent;border:none}.viewer-thumbnails-strip{display:flex;align-items:center;gap:.5rem;padding:0;border-radius:0;background:transparent;border:none;overflow-x:auto;scrollbar-width:none;max-width:520px}.viewer-thumbnails-strip::-webkit-scrollbar{display:none}.viewer-thumb-item{border:none;padding:2px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:52px;flex-shrink:0;border-radius:.5rem;transition:background .1s ease;will-change:background;opacity:1}.viewer-thumb-placeholder{width:48px;height:32px;border-radius:.4rem;background:linear-gradient(135deg,#e5e7eb,#d1d5db);border:1px solid #9ca3af}.viewer-thumb-item img{width:48px;height:32px;border-radius:.4rem;object-fit:cover;border:1px solid #9ca3af;display:block;opacity:1!important;transform:translateZ(0);will-change:transform;min-width:0;min-height:0;max-width:48px;max-height:32px}.viewer-thumb-item.active{background:#22c55e;padding:2px}.viewer-thumb-item.active img{border-color:#16a34a;box-shadow:none;opacity:1}.viewer-zoom-controls{display:flex;align-items:center;gap:.4rem;padding:.25rem .6rem;border-radius:999px;background:#fff;border:1px solid #e5e7eb}.viewer-zoom-label{font-size:.75rem;color:#4b5563;font-weight:500}.viewer-sheet-scale-wrap{display:flex;align-items:center;gap:.35rem;min-width:0}.viewer-sheet-scale-label{font-size:.65rem;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.viewer-sheet-scale-range{width:96px;max-width:22vw;cursor:pointer;accent-color:#2563eb}.viewer-sheet-scale-range:disabled{opacity:.45;cursor:not-allowed}.viewer-sheet-scale-step-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border-radius:6px;border:1px solid #d1d5db;background:#f9fafb;color:#111827;font-size:1rem;font-weight:600;line-height:1;cursor:pointer;transition:background .12s ease,border-color .12s ease;-webkit-user-select:none;user-select:none}.viewer-sheet-scale-step-btn:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.viewer-sheet-scale-step-btn:disabled{opacity:.45;cursor:not-allowed}.viewer-lock-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border-radius:999px;border:1px solid #d1d5db;background:#f9fafb;color:#374151;cursor:pointer;transition:background .12s ease,border-color .12s ease}.viewer-lock-btn:hover{background:#e5e7eb;border-color:#9ca3af}.viewer-lock-btn.active{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8}.viewer-view-btn{border:1px solid #d1d5db;border-radius:999px;padding:.15rem .55rem;background:#f9fafb;color:#111827;font-size:.75rem;cursor:pointer;font-weight:500;transition:all .12s ease}.viewer-view-btn:hover{background:#e5e7eb;border-color:#9ca3af}.viewer-view-btn:disabled{opacity:.45;cursor:not-allowed}.viewer-save-status{display:inline-flex;align-items:center;justify-content:center;margin-left:.15rem;padding:0 .2rem;transition:color .2s ease}.viewer-save-idle{color:#9ca3af}.viewer-save-saving{color:#3b82f6}.viewer-save-saved{color:#22c55e}.viewer-save-error{color:#ef4444}@keyframes viewer-save-spin{to{transform:rotate(360deg)}}.viewer-save-spin{animation:viewer-save-spin .9s linear infinite}.viewer-page-nav-btn{width:26px;height:26px;border-radius:999px;border:1px solid #d1d5db;background:#fff;color:#111827;cursor:pointer;font-size:.8rem;display:inline-flex;align-items:center;justify-content:center;transition:all .12s ease}.viewer-page-nav-btn:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.viewer-page-nav-btn:disabled{opacity:.35;cursor:not-allowed}.viewer-page-nav-icon{width:18px;height:18px;display:block}.viewer-page-indicator{display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 .5rem}.viewer-page-index{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#e5e7eb;font-weight:500}.viewer-page-label{font-size:.8rem;color:#f9fafb;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500}.loading{display:flex;align-items:center;justify-content:center;height:100vh;font-size:1.2rem;color:#6b7280}.viewer-shortcuts-fab{position:fixed;right:18px;bottom:18px;width:40px;height:40px;border-radius:999px;border:none;background:#111827;color:#f9fafb;box-shadow:0 14px 32px #0f172a66;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:60;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.viewer-sheet-upload-overlay{position:fixed;inset:0;background:#0f172a73;z-index:1700;display:flex;align-items:center;justify-content:center;padding:1rem}.viewer-sheet-upload-modal{width:min(620px,95vw);background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 16px 40px #0f172a3d;overflow:hidden}.viewer-sheet-upload-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #e5e7eb}.viewer-sheet-upload-header h3{margin:0;font-size:1.1rem;color:#1f2937}.viewer-sheet-upload-close{border:1px solid #d1d5db;background:#f9fafb;color:#374151;border-radius:999px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.viewer-sheet-upload-close:hover:not(:disabled){background:#eef2f7}.viewer-sheet-upload-close:disabled{opacity:.6;cursor:not-allowed}.viewer-sheet-upload-body{margin:1rem;padding:1rem;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;gap:.85rem}.viewer-sheet-upload-field{display:flex;flex-direction:column;gap:.4rem}.viewer-sheet-upload-field label{font-size:.85rem;color:#374151;font-weight:600}.viewer-sheet-upload-field select{border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;font-size:1.05rem;padding:.5rem .65rem}.viewer-sheet-upload-field p{margin:0;font-size:.75rem;color:#6b7280}.viewer-sheet-upload-file-input input{display:none}.viewer-sheet-upload-file-button{width:100%;border:1px solid #d1d5db;border-radius:999px;background:#eef2f7;color:#111827;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.55rem .8rem;font-size:1.05rem;cursor:pointer}.viewer-sheet-upload-submit{align-self:flex-start;border:none;border-radius:999px;background:#6d63f0;color:#fff;font-weight:600;font-size:1rem;padding:.55rem 1rem;cursor:pointer}.viewer-sheet-upload-submit:disabled{opacity:.6;cursor:not-allowed}.viewer-shortcuts-fab:hover{transform:translateY(-1px);box-shadow:0 18px 40px #0f172a80;background:#020617}.viewer-shortcuts-overlay{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:70}.viewer-shortcuts-modal{width:90%;max-width:520px;max-height:90vh;overflow-y:auto;background:#fff;border-radius:1rem;border:1px solid #e5e7eb;box-shadow:0 20px 45px #0f172a59;padding:1.5rem 1.75rem 1.75rem;position:relative}.viewer-shortcuts-close{position:absolute;top:.9rem;right:.9rem;border:none;background:transparent;color:#6b7280;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.viewer-shortcuts-title{margin:0 0 .75rem;font-size:1.1rem;font-weight:600;color:#111827}.viewer-shortcuts-section{margin-top:.75rem}.viewer-shortcuts-section h4{margin:0 0 .25rem;font-size:.9rem;font-weight:600;color:#111827}.viewer-shortcuts-section ul{margin:0;padding-left:1.1rem;font-size:.85rem;color:#4b5563}.viewer-shortcuts-section li+li{margin-top:.15rem}.viewer-shortcuts-section kbd{display:inline-block;padding:.15rem .35rem;font-size:.75rem;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;background:#f3f4f6;border:1px solid #d1d5db;border-radius:.25rem;color:#111827;font-weight:500;box-shadow:0 1px 2px #0000000d;margin:0 .15rem}.viewer-export-pdf-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1700}.viewer-export-pdf-modal{background:#fff;border-radius:12px;box-shadow:0 20px 50px #00000040;min-width:360px;max-width:90vw;max-height:85vh;display:flex;flex-direction:column}.viewer-export-pdf-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.viewer-export-pdf-modal-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#111827}.viewer-export-pdf-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:6px}.viewer-export-pdf-modal-close:hover{color:#111827;background:#f3f4f6}.viewer-export-pdf-link{border:none;background:none;padding:0;color:#2563eb;text-decoration:underline;cursor:pointer;font:inherit}.viewer-export-pdf-link:hover{color:#1d4ed8}.viewer-export-pdf-modal-hint{margin:0;padding:.75rem 1.25rem 0;font-size:.875rem;color:#6b7280}.viewer-export-pdf-filter-label{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;font-size:.875rem;color:#374151;cursor:pointer}.viewer-export-pdf-page-list{overflow-y:auto;padding:.5rem 1.25rem;max-height:280px;display:flex;flex-direction:column;gap:.25rem}.viewer-export-pdf-page-row{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#111827;cursor:pointer;padding:.35rem .5rem;border-radius:6px}.viewer-export-pdf-page-row:hover{background:#f9fafb}.viewer-export-pdf-page-badge{font-size:.7rem;color:#6b7280;margin-left:auto}.viewer-export-pdf-actions{padding:.5rem 1.25rem;display:flex;gap:.5rem}.viewer-export-pdf-btn-inline{padding:.4rem .75rem;font-size:.875rem;border:1px solid #d1d5db;background:#f9fafb;color:#374151;border-radius:8px;cursor:pointer}.viewer-export-pdf-btn-inline:hover{background:#f3f4f6;border-color:#9ca3af}.viewer-export-pdf-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid #e5e7eb}.viewer-export-pdf-export-btn{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border:none;background:#2563eb;color:#fff;border-radius:8px;cursor:pointer}.viewer-export-pdf-export-btn:hover:not(:disabled){background:#1d4ed8}.viewer-export-pdf-export-btn:disabled{opacity:.6;cursor:not-allowed}.viewer-tape-list{position:absolute;left:calc(2.75rem + 12px);bottom:12px;z-index:30;min-width:180px;max-width:260px;background:#ffffffe6;color:#64748b;border:1px solid rgba(148,163,184,.3);border-radius:8px;box-shadow:0 1px 3px #0f172a0f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:12px;pointer-events:auto}.viewer-tape-list.minimized{min-width:auto;max-width:none;background:#ffffffe6;color:#64748b;border:1px solid rgba(148,163,184,.3);box-shadow:0 1px 3px #0f172a0f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.viewer-tape-list.minimized .viewer-tape-list-header{border-bottom:none;padding:4px 6px;gap:4px;font-weight:500}.viewer-tape-list.minimized .viewer-tape-list-toggle{width:18px;height:18px;background:#0f172a0d;color:#64748b}.viewer-tape-list.minimized .viewer-tape-list-toggle:hover{background:#0f172a17}.viewer-tape-list-title{display:inline-flex;align-items:center;gap:4px;line-height:1}.viewer-tape-list-title-text{font-size:11px;letter-spacing:.01em}.viewer-tape-list-header-actions{display:flex;align-items:center;gap:6px}.viewer-tape-list-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:4px;background:#0f172a0d;color:#64748b;cursor:pointer}.viewer-tape-list-toggle:hover{background:#0f172a17}.viewer-tape-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid rgba(148,163,184,.2);font-weight:600;color:#334155}.viewer-tape-list-empty{margin:0;padding:10px;color:#94a3b8}.viewer-tape-list-items{list-style:none;margin:0;padding:4px 0;max-height:160px;overflow-y:auto}.viewer-tape-list-item{display:flex;align-items:center;gap:4px;padding:2px 6px 2px 4px}.viewer-tape-list-item.active{background:#dc26261a}.viewer-tape-list-item.locked-tape .viewer-tape-list-label{opacity:.85}.viewer-tape-list-item-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.viewer-tape-list-label{flex:1;min-width:0;text-align:left;background:none;border:none;color:inherit;padding:6px;border-radius:4px;cursor:pointer;font-size:12px}.viewer-tape-list-label:hover{background:#0f172a0a}.viewer-tape-list-item.hidden-tape .viewer-tape-list-label{opacity:.55}.viewer-tape-list-visibility{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:4px;background:transparent;color:#94a3b8;cursor:pointer;flex-shrink:0}.viewer-tape-list-visibility:hover{background:#0f172a0f;color:#475569}.viewer-tape-list-lock{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:4px;background:transparent;color:#94a3b8;cursor:pointer;flex-shrink:0}.viewer-tape-list-lock:hover{background:#0f172a0f;color:#475569}.viewer-tape-list-lock.active{color:#b91c1c}.viewer-tape-list-delete{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:4px;background:transparent;color:#ef4444;cursor:pointer}.viewer-tape-list-delete:hover:not(:disabled){background:#dc26261a;color:#dc2626}.viewer-tape-list-delete:disabled{opacity:.35;cursor:not-allowed}.gallery-page{position:relative;height:auto;min-height:100vh;background:#f5f5f7;padding:0;color:#111827;display:flex;flex-direction:column;box-sizing:border-box}.gallery-inner{max-width:1440px;margin:0 auto;padding:.75rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:.75rem}.gallery-header{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.25rem}.gallery-back-btn{border-radius:999px;border:1px solid #e5e7eb;background:#fff;padding:.45rem .9rem;font-size:.85rem;cursor:pointer}.gallery-back-btn:hover{background:#f9fafb}.gallery-title-block h1{margin:0;font-size:1.4rem;font-weight:600}.gallery-subtitle{margin:.2rem 0 0;font-size:.85rem;color:#6b7280}.gallery-header-actions{margin-left:auto}.gallery-primary-btn{border-radius:999px;border:none;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;padding:.5rem 1.3rem;font-size:.9rem;cursor:pointer;box-shadow:0 8px 18px #22c55e4d}.gallery-primary-btn:hover{filter:brightness(1.03)}.gallery-main{flex:1;display:flex;flex-direction:column;min-height:0;position:relative;z-index:1}.gallery-sidebar{height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:1rem;padding:1.25rem .85rem}.gallery-sidebar-header h1{margin:0;font-size:1.4rem;font-weight:600}.gallery-sidebar-header .gallery-subtitle{margin-top:.25rem}.gallery-sidebar-card{padding-top:1rem}.gallery-sidebar h3{margin:0 0 .75rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.12em;color:#6b7280}.gallery-sidebar dl{margin:0}.gallery-sidebar dl>div{margin-bottom:.5rem}.gallery-sidebar dt{font-size:.8rem;color:#6b7280}.gallery-sidebar dd{margin:.1rem 0 0;font-size:.9rem}.gallery-grid-section{padding:1.25rem 1.5rem 1.5rem;flex:1;width:100%;position:relative;min-height:calc(100vh - 200px)}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;position:relative}.gallery-sheet-count{position:absolute;bottom:1.5rem;right:1.5rem;font-size:.8rem;color:#6b7280}.gallery-page-card{position:relative;border:1px solid #e5e7eb;border-radius:.9rem;background:#fafafa;padding:.6rem .6rem .8rem;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:.55rem;transition:transform .16s ease,border-color .16s ease,background .16s ease;will-change:transform}.gallery-page-card:hover{box-shadow:0 12px 30px #0f172a14;transform:translateY(-2px);border-color:#cbd5f5;background:#fff}.gallery-thumb-wrapper{border-radius:.7rem;overflow:hidden;background:#e5e7eb;border:1px solid #e5e7eb}.gallery-thumb-wrapper img{display:block;width:100%;height:150px;object-fit:cover;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;will-change:transform;transform:translateZ(0)}.gallery-loading-overlay{position:fixed;inset:0;background:#fffffff2;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center}.gallery-loading-overlay--hidden{display:none}.gallery-loading-spinner{display:flex;flex-direction:column;align-items:center;gap:1rem}.gallery-loading-spinner p{margin:0;color:#6b7280;font-size:.95rem}.spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.gallery-preview-modal{position:fixed;inset:0;background:#000000e6;z-index:2000;display:flex;align-items:center;justify-content:center;padding:2rem;animation:fadeIn .2s ease-in;cursor:pointer}.gallery-preview-content{position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;gap:1rem;cursor:default;background:transparent}.gallery-preview-close{position:absolute;top:.75rem;right:.75rem;background:#000000b3;border:2px solid rgba(255,255,255,.3);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:background .2s ease,border-color .2s ease,transform .1s ease;z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.gallery-preview-close:hover{background:#000000e6;border-color:#ffffff80;transform:scale(1.05)}.gallery-preview-close:active{transform:scale(.95)}.gallery-preview-image-wrapper{background:#fff;border-radius:.5rem;overflow:hidden;max-height:calc(90vh - 80px);display:flex;align-items:center;justify-content:center}.gallery-preview-image-wrapper img{max-width:100%;max-height:calc(90vh - 80px);object-fit:contain;display:block}.gallery-preview-actions{display:flex;justify-content:center;gap:1rem}.gallery-preview-viewer-btn{display:flex;align-items:center;gap:.5rem;padding:.7rem 1.7rem .7rem 1.2rem;background:#4f46e5;color:#fff;border:none;border-radius:999px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .15s ease,transform .1s ease}.gallery-preview-viewer-btn:hover{background:#4338ca;transform:translateY(-1px)}.gallery-preview-viewer-btn:active{transform:translateY(0)}.gallery-page-meta{display:flex;justify-content:space-between;align-items:center}.gallery-page-title{display:flex;flex-direction:column;gap:.15rem}.gallery-page-index{font-size:.75rem;color:#6b7280}.gallery-page-name{font-size:.88rem;font-weight:500}.gallery-loading{padding:4rem;text-align:center;color:#6b7280}.admin-shell{--admin-bg: #f4f6fb;--admin-surface: #ffffff;--admin-border: #e8edf4;--admin-text: #0f172a;--admin-muted: #64748b;--admin-brand: #4f46e5;--admin-sidebar-w: 260px;position:fixed;inset:0;display:flex;overflow:hidden;background:var(--admin-bg);font-family:Outfit,system-ui,sans-serif;z-index:1}.admin-sidebar{width:var(--admin-sidebar-w);flex-shrink:0;height:100%;background:linear-gradient(180deg,#0f172a,#1e1b4b);color:#e2e8f0;display:flex;flex-direction:column;padding:1.5rem 1rem;box-shadow:4px 0 24px #0f172a1f;overflow-x:hidden;overflow-y:auto;z-index:2}.admin-sidebar-brand{display:flex;align-items:center;gap:.65rem;font-weight:700;font-size:1.1rem;padding:0 .5rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:1.25rem;color:#fff}.admin-sidebar-brand svg{color:#a5b4fc}.admin-nav{display:flex;flex-direction:column;gap:.35rem;flex:1}.admin-nav-link{display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;border-radius:10px;color:#94a3b8;text-decoration:none;font-size:.9rem;font-weight:500;transition:all .2s ease}.admin-nav-link:hover{background:#ffffff0f;color:#f1f5f9;transform:translate(2px)}.admin-nav-link.active{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;box-shadow:0 4px 14px #4f46e566}.admin-back-link{display:flex;align-items:center;gap:.5rem;padding:.85rem .5rem;margin-top:1rem;border-top:1px solid rgba(255,255,255,.08);color:#94a3b8;text-decoration:none;font-size:.85rem;transition:color .15s}.admin-back-link:hover{color:#fff}.admin-main{flex:1;min-width:0;min-height:0;height:100%;padding:2rem 2.5rem;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.admin-main::-webkit-scrollbar{width:8px}.admin-main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.admin-page{max-width:1280px;margin:0 auto}.admin-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.admin-page-header-actions{display:flex;gap:.5rem;flex-wrap:wrap}.admin-page-title{font-size:1.65rem;font-weight:700;color:var(--admin-text);margin:0;letter-spacing:-.025em}.admin-page-subtitle{margin:.4rem 0 0;color:var(--admin-muted);font-size:.92rem;line-height:1.5;max-width:52ch}.admin-loading{color:var(--admin-muted);font-size:.9rem;padding:2rem 0}.admin-card{background:var(--admin-surface);border-radius:14px;border:1px solid var(--admin-border);padding:1.25rem 1.35rem;box-shadow:0 1px 2px #0f172a0a}.admin-card h3{margin:0;font-size:.95rem;font-weight:600;color:var(--admin-text)}.admin-card-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;padding-bottom:.85rem;border-bottom:1px solid #f1f5f9}.admin-card-title{margin:0;font-size:.95rem;font-weight:600;color:var(--admin-text)}.admin-card-body{min-height:0}.admin-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:.85rem;margin-bottom:1.25rem}.admin-stat{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:14px;padding:1.1rem 1.15rem;box-shadow:0 1px 2px #0f172a0a;display:flex;flex-direction:column;gap:.65rem}.admin-stat-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.admin-stat-icon{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.admin-stat-icon-indigo{background:#eef2ff;color:#4f46e5}.admin-stat-icon-sky{background:#e0f2fe;color:#0284c7}.admin-stat-icon-emerald{background:#d1fae5;color:#059669}.admin-stat-icon-amber{background:#fef3c7;color:#d97706}.admin-stat-icon-rose{background:#ffe4e6;color:#e11d48}.admin-stat-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--admin-muted);font-weight:600}.admin-stat-value{font-size:1.75rem;font-weight:700;color:var(--admin-text);line-height:1;letter-spacing:-.02em}.admin-stat-meta{font-size:.78rem;color:#94a3b8}.admin-list{list-style:none;margin:0;padding:0}.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid #f1f5f9}.admin-list-item:last-child{border-bottom:none;padding-bottom:0}.admin-list-primary{font-size:.875rem;font-weight:600;color:var(--admin-text)}.admin-list-secondary{font-size:.8rem;color:var(--admin-muted);margin-top:.15rem}.admin-list-badge{flex-shrink:0;font-size:.75rem;font-weight:600;color:#4338ca;background:#eef2ff;padding:.25rem .55rem;border-radius:999px}.admin-empty{color:#94a3b8;font-size:.875rem;text-align:center;padding:1.5rem .5rem}.admin-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.25rem;align-items:center}.admin-toolbar-card{background:#fff;border-radius:14px;padding:1rem 1.15rem;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0f172a0a}.admin-search-wrap{position:relative;flex:1;min-width:220px;max-width:400px}.admin-search-icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}.admin-search-input{width:100%;padding-left:2.5rem!important;min-width:0!important}.admin-input,.admin-select,.admin-textarea{padding:.6rem .85rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.9rem;min-width:180px;background:#fff;transition:border-color .15s,box-shadow .15s}.admin-input:focus,.admin-select:focus,.admin-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.admin-textarea{width:100%;min-width:0;resize:vertical}.admin-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1.1rem;border-radius:10px;border:none;font-size:.875rem;font-weight:600;cursor:pointer;background:#e2e8f0;color:#334155;transition:all .15s}.admin-btn-primary{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;box-shadow:0 2px 8px #4f46e54d}.admin-btn-primary:hover{background:linear-gradient(135deg,#4f46e5,#4338ca);box-shadow:0 4px 14px #4f46e566}.admin-btn-ghost{background:#fff;color:#475569;border:1px solid #e2e8f0}.admin-btn-ghost:hover{background:#f8fafc;border-color:#cbd5e1}.admin-btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.admin-btn-danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c)}.admin-btn-sm{padding:.4rem .75rem;font-size:.8rem}.admin-table-card{background:var(--admin-surface);border-radius:14px;border:1px solid var(--admin-border);box-shadow:0 1px 2px #0f172a0a;overflow:hidden;padding:0}.admin-table-card .admin-table-wrap{padding:0}.admin-table-card .admin-card-header{margin:0;padding:1rem 1.15rem;border-bottom:1px solid #f1f5f9}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:.875rem}.admin-table th,.admin-table td,.admin-table-modern th,.admin-table-modern td{text-align:left;padding:.8rem 1.1rem;border-bottom:1px solid #f1f5f9;vertical-align:middle}.admin-table th,.admin-table-modern th{font-weight:600;color:var(--admin-muted);background:#f8fafc;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.admin-table tbody tr,.admin-table-modern tbody tr{transition:background .12s}.admin-table tbody tr:hover td,.admin-table-modern tbody tr:hover td{background:#fafbff}.admin-table-modern tbody tr.selected td{background:#eef2ff}.admin-table tbody tr:last-child td{border-bottom:none}.admin-cell-user{display:flex;flex-direction:column;gap:.15rem}.admin-cell-user-name{font-weight:600;color:var(--admin-text);font-size:.875rem}.admin-cell-user-email{font-size:.78rem;color:var(--admin-muted)}.admin-cell-muted{color:#94a3b8}.admin-cell-mono{font-family:ui-monospace,Cascadia Code,monospace;font-size:.78rem;color:#475569}.admin-action-pill{display:inline-flex;align-items:center;padding:.22rem .55rem;border-radius:6px;font-size:.72rem;font-weight:600;letter-spacing:.01em;background:#f1f5f9;color:#475569}.admin-action-pill-create{background:#dcfce7;color:#166534}.admin-action-pill-update{background:#dbeafe;color:#1e40af}.admin-action-pill-delete{background:#fee2e2;color:#991b1b}.admin-action-pill-export{background:#ede9fe;color:#5b21b6}.admin-action-pill-auth{background:#fef3c7;color:#92400e}.admin-table-check-col{width:48px;text-align:center!important}.admin-checkbox{width:1.1rem;height:1.1rem;accent-color:#4f46e5;cursor:pointer}.admin-table-empty{text-align:center!important;color:#94a3b8;padding:2.5rem!important}.admin-row-actions{display:flex;gap:.35rem;flex-wrap:wrap}.admin-badge{display:inline-flex;align-items:center;padding:.22rem .6rem;border-radius:999px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.admin-badge-green{background:#dcfce7;color:#166534}.admin-badge-red{background:#fee2e2;color:#991b1b}.admin-badge-blue{background:#dbeafe;color:#1e40af}.admin-badge-gray{background:#f1f5f9;color:#475569}.admin-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:.75rem 1rem;margin-bottom:1rem}.admin-success{color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:.75rem 1rem;margin-bottom:1rem}.admin-modal-overlay{position:fixed;inset:0;background:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.admin-modal{background:#fff;border-radius:16px;max-width:520px;width:100%;max-height:90vh;overflow:auto;padding:1.75rem;box-shadow:0 24px 48px #0f172a33}.admin-modal-lg{max-width:640px}.admin-modal h3{margin:0 0 1.25rem;font-size:1.25rem;font-weight:700}.admin-modal-hint{margin:-.75rem 0 1.25rem;font-size:.85rem;color:var(--admin-muted);line-height:1.5}.admin-form-check{display:flex;align-items:flex-start;gap:.55rem;font-size:.875rem;color:#334155;cursor:pointer}.admin-form-check input{margin-top:.2rem;accent-color:var(--admin-brand)}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem 1rem}.admin-form-row-full{grid-column:1 / -1}.admin-form-row{margin-bottom:.5rem}.admin-form-row label{display:block;font-size:.8rem;font-weight:600;color:#475569;margin-bottom:.35rem}.admin-form-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #f1f5f9}.admin-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem}.admin-plan-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1.5rem;box-shadow:0 4px 20px #0f172a0d;transition:transform .2s,box-shadow .2s}.admin-plan-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #0f172a1a}.admin-plan-card.highlighted{border-color:#a5b4fc;box-shadow:0 4px 24px #6366f126}.admin-plan-card.inactive{opacity:.65}.admin-plan-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.admin-plan-card h3{margin:0;font-size:1.15rem;font-weight:700}.admin-plan-slug{font-size:.75rem;color:#94a3b8;font-family:ui-monospace,monospace}.admin-plan-price{font-size:1.75rem;font-weight:800;color:#4f46e5}.admin-plan-price small{font-size:.85rem;font-weight:500;color:#64748b}.admin-plan-desc{color:#64748b;font-size:.9rem;margin:0 0 1rem;line-height:1.5}.admin-plan-features{margin:0 0 1rem;padding-left:1.1rem;color:#475569;font-size:.85rem;line-height:1.6}.admin-plan-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.8rem;color:#64748b;margin-bottom:1rem}.admin-plan-actions{display:flex;gap:.5rem;padding-top:1rem;border-top:1px solid #f1f5f9}@media(max-width:900px){.admin-shell{flex-direction:column}.admin-sidebar{width:100%;height:auto;max-height:40vh;flex-direction:row;flex-wrap:wrap;padding:1rem;flex-shrink:0}.admin-nav{flex-direction:row;flex-wrap:wrap;width:100%}.admin-main{padding:1.25rem}.admin-grid-2,.admin-form-grid{grid-template-columns:1fr}}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#111827;background-color:#f3f4f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}#app{min-height:100vh}.app-shell{display:flex;flex-direction:column;min-height:100vh}.app-header{height:56px;display:flex;align-items:center;padding:0 1.5rem;background:#111827;color:#fff;font-weight:600;letter-spacing:.02em}.app-main{flex:1;display:grid;grid-template-columns:260px minmax(0,1fr) 260px;gap:0;min-height:0}.app-main.empty{display:flex;align-items:center;justify-content:center}.sidebar{border-right:1px solid #e5e7eb;background:#fff;padding:1rem;overflow-y:auto}.sidebar.right{border-left:1px solid #e5e7eb;border-right:none}.sidebar h3{margin:0 0 .75rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280}.sidebar ul{list-style:none;padding:0;margin:0;font-size:.9rem}.sidebar li{padding:.25rem 0;border-radius:4px}.viewer{position:relative;background:#111827;display:flex;align-items:center;justify-content:center;overflow:auto}.viewer-image{max-width:100%;max-height:100%;box-shadow:0 10px 30px #0006;background:#fff}
