:root{--brut-black: #1a1a1a;--brut-yellow: #fff94c;--brut-pink: #ff90e8;--brut-blue: #4c97ff;--brut-green: #2ecc71;--card-bg: #fffdf6;--card-inner-bg: #ffffff;--text-primary: var(--brut-black);--text-secondary: #3b3b3b;--border-color: rgba(0,0,0,.08)}html,body,#root{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;background:linear-gradient(180deg,#fffdf6,#f6f4ee);color:var(--text-primary)}.card{background:var(--card-inner-bg);border:3px solid var(--brut-black);box-shadow:6px 6px #0009}:root{--brut-yellow: #fff94c;--brut-pink: #ff90e8;--brut-blue: #4c97ff;--brut-green: #2ecc71;--brut-black: #000000;--radius: 0rem}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;color:#000;background-color:#f3f4f6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-weight:900;line-height:1.1;color:#000;margin-bottom:1rem;text-transform:uppercase;letter-spacing:-.02em}h1{font-size:5rem;line-height:1;letter-spacing:-.04em}h2{font-size:3.5rem;margin-bottom:1.5rem;line-height:1.1}p{margin-bottom:1.25rem;color:#000;font-weight:500}a{color:#000;text-decoration:none;transition:all .2s ease}a:hover{text-decoration:underline;text-decoration-thickness:4px}img{max-width:100%;height:auto;display:block}.container{width:100%;max-width:1280px;margin:0 auto;padding:0 2rem}section{padding:6rem 0;position:relative;overflow:hidden}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:var(--radius);font-weight:600;font-size:1rem;line-height:1.5;cursor:pointer;transition:all .2s ease;border:none;outline:none;text-decoration:none;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;box-shadow:var(--shadow-lg)}.btn-primary:hover{transform:translateY(-2px) scale(1.05);box-shadow:var(--shadow-xl);background:linear-gradient(135deg,var(--primary-light) 0%,var(--primary) 100%)}.btn-secondary{background:#ffffff0d;color:var(--light);border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.btn-secondary:hover{background:#ffffff1a;border-color:#fff3;transform:translateY(-2px) scale(1.05)}.btn-icon{width:1.25rem;height:1.25rem;transition:transform .2s ease}.btn:hover .btn-icon{transform:translate(2px)}.hero{position:relative;padding:8rem 0 12rem;background:linear-gradient(135deg,var(--darker) 0%,var(--dark) 100%);overflow:hidden}.hero:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(99,102,241,.15) 0%,transparent 40%),radial-gradient(circle at 80% 70%,rgba(16,185,129,.15) 0%,transparent 40%),radial-gradient(circle at 50% 50%,rgba(0,0,0,.8) 0%,transparent 100%);pointer-events:none;z-index:1}.hero .container{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}.hero-content{max-width:600px}.badge{display:inline-flex;align-items:center;gap:.5rem;background:#6366f11a;color:var(--primary-light);font-size:.875rem;font-weight:600;padding:.5rem 1rem;border-radius:9999px;margin-bottom:1.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(99,102,241,.2)}.badge span{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;width:1.5rem;height:1.5rem;border-radius:9999px;font-size:.75rem;font-weight:700}.hero h1{font-size:3.5rem;line-height:1.1;margin-bottom:1.5rem;background:linear-gradient(to right,#fff,#a5b4fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.gradient-text{background:linear-gradient(135deg,#818cf8,#60a5fa,#34d399);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;background-size:200% auto;animation:gradient 8s ease infinite}@keyframes gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.lead{font-size:1.25rem;color:var(--gray-300);max-width:90%;margin-bottom:2.5rem;line-height:1.6}.cta-buttons{display:flex;gap:1rem;margin-bottom:3rem}.trust-badges{display:flex;gap:1.5rem;flex-wrap:wrap}.trust-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--gray-400)}.trust-icon{color:var(--success);flex-shrink:0}.hero-image{position:relative;perspective:1000px}.floating-card{background:#0f172a99;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem;width:100%;max-width:360px;margin:0 auto;transform-style:preserve-3d;transform:rotateY(-5deg) rotateX(5deg);box-shadow:var(--shadow-2xl);animation:float 6s ease-in-out infinite}@keyframes float{0%,to{transform:rotateY(-5deg) rotateX(5deg) translateY(0)}50%{transform:rotateY(-5deg) rotateX(5deg) translateY(-10px)}}.card-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.card-avatar{width:3rem;height:3rem;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.card-title{font-weight:600;color:var(--light);margin:0;font-size:1rem}.card-subtitle{font-size:.875rem;color:var(--gray-400);margin:.25rem 0 0}.message-bubble{background:#ffffff0d;border-radius:1rem;padding:1rem;position:relative;border:1px solid rgba(255,255,255,.05);overflow:visible;white-space:normal;word-wrap:break-word;max-width:100%}.message-bubble:before{content:"";position:absolute;top:-.5rem;left:1.5rem;width:1rem;height:1rem;background:inherit;transform:rotate(45deg);border-top:1px solid rgba(255,255,255,.05);border-left:1px solid rgba(255,255,255,.05);z-index:-1}.message-time{font-size:.75rem;color:var(--gray-500);margin-top:.5rem;text-align:right}.wave-shape{position:absolute;bottom:0;left:0;right:0;height:8rem;color:var(--darker);transform:rotate(180deg);z-index:1}.features{background:var(--darker);position:relative;z-index:2}.section-header{text-align:center;max-width:800px;margin:0 auto 4rem}.section-header h2{font-size:2.5rem;margin-bottom:1rem;background:linear-gradient(to right,#fff,#a5b4fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.section-header p{font-size:1.125rem;color:var(--gray-400);max-width:600px;margin:0 auto}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin-top:3rem}.feature-card{background:#0f172a99;border:1px solid rgba(255,255,255,.05);border-radius:1rem;padding:2rem;transition:all .3s ease;position:relative;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.feature-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--accent-color),transparent);opacity:0;transition:opacity .3s ease}.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-xl);border-color:var(--accent-color)}.feature-card:hover:before{opacity:1}.feature-icon-wrapper{width:3.5rem;height:3.5rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;background:linear-gradient(135deg,var(--accent-color) 0%,color-mix(in srgb,var(--accent-color),transparent 70%) 100%);color:#fff;font-size:1.5rem;transition:transform .3s ease}.feature-card:hover .feature-icon-wrapper{transform:rotate(5deg) scale(1.1)}.feature-card h3{font-size:1.25rem;margin-bottom:.75rem;color:var(--light)}.feature-card p{color:var(--gray-400);margin-bottom:1.5rem;font-size:.95rem;line-height:1.6}.feature-link{display:inline-flex;align-items:center;gap:.5rem;color:var(--accent-color);font-weight:500;font-size:.95rem;transition:all .2s ease}.feature-link:hover{color:var(--primary-light);gap:.75rem}.arrow-icon{transition:transform .2s ease}.feature-link:hover .arrow-icon{transform:translate(3px)}.testimonials{background:linear-gradient(to bottom,var(--darker) 0%,var(--dark) 100%);position:relative;overflow:hidden}.testimonials:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 10% 20%,rgba(99,102,241,.1) 0%,transparent 30%),radial-gradient(circle at 90% 80%,rgba(16,185,129,.1) 0%,transparent 30%);pointer-events:none}.testimonials .section-header h2{background:linear-gradient(to right,#fff,#6ee7b7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin-top:3rem}.testimonial-card{background:#0f172a99;border:1px solid rgba(255,255,255,.05);border-radius:1rem;padding:2rem;position:relative;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.testimonial-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-xl);border-color:#10b9814d}.quote-mark{position:absolute;top:1.5rem;right:2rem;font-size:5rem;font-family:Georgia,serif;color:#10b9811a;line-height:1;-webkit-user-select:none;user-select:none}.testimonial-text{font-style:italic;color:var(--gray-300);margin-bottom:1.5rem;line-height:1.7;position:relative;z-index:1}.testimonial-author{display:flex;flex-direction:column;border-top:1px solid rgba(255,255,255,.05);padding-top:1.25rem}.author-name{font-weight:600;color:var(--light);margin-bottom:.25rem}.author-role{font-size:.875rem;color:var(--gray-500)}.cta{background:linear-gradient(135deg,var(--gray-900) 0%,var(--darker) 100%);color:#fff;text-align:center;padding:6rem 0;position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05)}.cta:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.1) 0%,transparent 40%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.1) 0%,transparent 40%);pointer-events:none}.cta .container{position:relative;z-index:1;max-width:800px}.cta h2{color:#fff;font-size:2.5rem;margin-bottom:1.5rem;line-height:1.2}.cta p{color:#ffffffe6;font-size:1.125rem;max-width:600px;margin:0 auto 2.5rem}.cta .cta-buttons{justify-content:center;margin-bottom:0}.cta .btn{min-width:160px}.cta .btn-primary{background:#fff;color:var(--primary);box-shadow:0 4px 20px #00000026}.cta .btn-primary:hover{background:#ffffffe6;transform:translateY(-2px);box-shadow:0 6px 25px #0003}.cta .btn-secondary{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.cta .btn-secondary:hover{background:#ffffff26;border-color:#ffffff4d}@media (max-width: 1024px){.hero .container{grid-template-columns:1fr;gap:3rem;text-align:center}.hero-content{max-width:100%;margin:0 auto}.lead{max-width:100%;margin-left:auto;margin-right:auto}.cta-buttons,.trust-badges{justify-content:center}}@media (max-width: 768px){h1{font-size:2.5rem}h2,.section-header h2{font-size:2rem}.hero{padding:6rem 0 8rem}.hero h1{font-size:2.75rem}.lead{font-size:1.125rem}.cta h2{font-size:2rem}.floating-card{max-width:100%}}@media (max-width: 480px){.container{padding:0 1.25rem}h1{font-size:2rem}h2,.section-header h2{font-size:1.75rem}.hero h1{font-size:2.25rem}.cta-buttons{flex-direction:column;gap:1rem}.btn{width:100%}.features-grid,.testimonials-grid{grid-template-columns:1fr}.testimonial-card{padding:1.5rem}.quote-mark{font-size:4rem;top:1rem;right:1.5rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.animate-fade-in{animation:fadeIn .6s ease-out forwards}.animate-delay-100{animation-delay:.1s}.animate-delay-200{animation-delay:.2s}.animate-delay-300{animation-delay:.3s}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--darker)}::-webkit-scrollbar-thumb{background:var(--primary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--primary-light)}.guild-selection-page{min-height:100vh;background:var(--card-bg);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.guild-selection-header{position:sticky;top:0;z-index:100;background:var(--card-bg);border-bottom:1px solid rgba(0,0,0,.08);padding:24px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000004d}.header-content h1{margin:0 0 8px;font-size:28px;font-weight:700;color:var(--text-primary);display:inline-block;background:var(--brut-yellow);color:var(--brut-black);padding:6px 12px;border:3px solid var(--brut-black);border-radius:6px}.header-content p{margin:0;font-size:14px;color:#8a8f98}.btn-logout{padding:10px 20px;border:none;border-radius:8px;background:#ea4335;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-logout:hover{background:#f55a4e;transform:translateY(-1px)}.guild-selection-container{max-width:1400px;margin:0 auto;padding:48px 24px}.guild-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.guild-card{background:var(--card-inner-bg);border:2px solid rgba(0,0,0,.08);border-radius:16px;padding:24px;cursor:pointer;transition:all .3s ease;display:flex;flex-direction:column;align-items:center;text-align:center}.guild-card:hover{border-color:var(--brut-blue);transform:translateY(-4px);box-shadow:10px 10px #4c97ff1f;background:var(--card-bg)}.guild-card.skeleton{cursor:default;pointer-events:none;animation:pulse 1.5s ease-in-out infinite}.guild-card.skeleton:hover{transform:none;border-color:#00000014;box-shadow:none}.skeleton-icon{background:var(--card-inner-bg);border-radius:50%}.skeleton-text{height:16px;background:var(--card-inner-bg);border-radius:4px;margin:4px 0}.skeleton-title{width:150px;height:20px;margin-bottom:8px}.skeleton-action{width:100px;height:16px}.guild-icon{width:80px;height:80px;border-radius:50%;margin-bottom:16px;overflow:hidden;background:var(--card-inner-bg);display:flex;align-items:center;justify-content:center}.guild-icon img{width:100%;height:100%;object-fit:cover}.guild-icon-placeholder{font-size:36px;font-weight:700;color:#4285f4}.guild-info{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}.guild-info h3{margin:0;font-size:18px;font-weight:700;color:var(--text-primary);display:inline-block;background:var(--card-inner-bg);border:3px solid var(--brut-black);padding:6px 10px;border-radius:8px;word-break:break-word}.guild-action{font-size:14px;color:#4285f4;font-weight:500;opacity:0;transition:opacity .2s ease}.guild-card:hover .guild-action{opacity:1}.guild-action-hover{font-size:14px;color:#4285f4;font-weight:500;opacity:1;transition:opacity .2s ease}.guild-card.bot-not-installed{border-color:#ea4335;opacity:.85;cursor:default}.guild-card.bot-not-installed:hover{border-color:#ea4335;transform:none;box-shadow:0 4px 12px #ea433533;background:var(--card-inner-bg)}.btn-invite-bot{padding:8px 16px;border:none;border-radius:8px;background:#34a853;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-invite-bot:hover{background:#46b963;transform:scale(1.05)}.loading-container,.no-guilds-container{min-height:calc(100vh - 200px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.loading-spinner{width:48px;height:48px;border:4px solid var(--border-color);border-top-color:#4285f4;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.loading-container p,.no-guilds-container p{color:#8a8f98;font-size:16px;margin:8px 0}.no-guilds-icon{font-size:64px;margin-bottom:24px}.no-guilds-container h2{font-size:28px;font-weight:600;color:#fff;margin:0 0 16px}.no-guilds-container .btn-primary{margin-top:24px;padding:12px 24px;border:none;border-radius:8px;background:#4285f4;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.no-guilds-container .btn-primary:hover{background:#5a95f5;transform:translateY(-1px)}@media (max-width: 768px){.guild-selection-header{flex-direction:column;align-items:flex-start;gap:16px}.btn-logout{align-self:flex-end}.guild-grid{grid-template-columns:1fr}.guild-selection-container{padding:24px 16px}}.segment{background:#fff;border:4px solid #000;border-radius:4px;overflow:hidden;box-shadow:8px 8px #0006;transition:transform .2s ease,box-shadow .2s ease}.segment:hover{transform:translate(-2px,-2px);box-shadow:12px 12px #0000004d}.segment-hidden{opacity:.35;border-style:dashed}.segment-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:4px solid #000}.segment-title{margin:0;font-size:18px;font-weight:900;letter-spacing:.08em;color:#000}.segment-controls{display:flex;gap:8px}.segment-body{padding:20px}.segment-content{color:#111}.subsegments-container{display:flex;flex-direction:column;gap:16px}.subsegment{border:3px solid #000;border-radius:4px;padding:16px;background:#fff9f0;box-shadow:6px 6px #00000040}.subsegment-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.subsegment-title{margin:0;font-size:13px;font-weight:900;letter-spacing:.3em;text-transform:uppercase;color:#000}.subsegment-content{color:#111}.btn-icon{width:32px;height:32px;border:3px solid #000;border-radius:4px;background:#fff;color:#000;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;transition:transform .15s ease}.btn-icon:hover{transform:translate(-1px,-1px)}.btn-edit{background:#ff90e8}.btn-add{background:#4c97ff}.btn-delete{background:#ff3b3b}.segment-dragging{opacity:.35;transform:scale(.95);cursor:grabbing!important}.segment-drag-over{border-color:#ff90e8;box-shadow:0 0 0 3px #ff90e873}@media (max-width: 768px){.segment{border-radius:8px}.segment-header{padding:12px 16px}.segment-body{padding:16px}.subsegment{padding:14px}.btn-icon{width:28px;height:28px;font-size:14px}}.layout-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0000000f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.layout-editor-panel{background:var(--card-inner-bg);border-radius:12px;border:1px solid rgba(0,0,0,.08);width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000080}.layout-editor-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid rgba(0,0,0,.06);background:var(--card-bg);border-radius:12px 12px 0 0}.layout-editor-header h2{margin:0;color:var(--text-primary);font-size:22px;font-weight:500}.btn-close{background:transparent;border:none;color:var(--text-secondary);font-size:24px;cursor:pointer;padding:4px 8px;line-height:1;transition:color .2s ease}.btn-close:hover{color:#ea4335}.layout-editor-tabs{display:flex;gap:0;padding:0 24px;background:var(--card-bg);border-bottom:2px solid var(--brut-black)}.layout-editor-tabs .tab{padding:12px 24px;background:var(--card-inner-bg);border:2px solid var(--brut-black);border-bottom:2px solid transparent;color:var(--brut-black);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.layout-editor-tabs .tab:hover{color:var(--brut-blue);background:#fffef5}.layout-editor-tabs .tab.active{color:var(--brut-black);border-bottom-color:var(--brut-blue);background:#fff}.layout-editor-content{flex:1;overflow-y:auto;padding:24px}.editor-section{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:20px;margin-bottom:16px}.editor-section h3{margin:0 0 16px;color:var(--text-primary);font-size:16px;font-weight:500}.empty-message{color:#6c7280;font-size:14px;font-style:italic;margin:12px 0}.form-group label{display:block;color:#e1e1e1;font-size:13px;font-weight:500;margin-bottom:6px}.form-group input,.form-group select{width:100%;padding:10px 12px;background:var(--input-bg);border:1px solid rgba(0,0,0,.08);border-radius:6px;color:var(--text-primary);font-size:14px;transition:border-color .2s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:#4285f4}.form-group input::placeholder{color:#6c7280}.form-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.btn-add{width:100%;padding:10px 16px;background:#4285f4;border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-add:hover{background:#5a95f5;transform:translateY(-1px)}.segment-list,.group-list{display:flex;flex-direction:column;gap:8px}.segment-item,.group-item{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:6px;padding:12px;transition:all .2s ease}.segment-item:hover,.group-item:hover{border-color:#3b82f64d;background:var(--input-bg-focus)}.segment-item-header,.group-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.segment-title,.group-title{color:var(--text-primary);font-size:14px;font-weight:500}.segment-actions,.group-actions{display:flex;gap:6px;align-items:center}.btn-icon{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.06);border-radius:4px;padding:5px 12px;color:var(--text-secondary);font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn-icon:hover:not(:disabled){background:#4285f4;border-color:#4285f4;color:#fff;box-shadow:0 2px 6px #4285f466}.btn-icon:disabled{opacity:.4;cursor:not-allowed;background:var(--card-inner-bg);border-color:#3c3f46}.btn-icon.btn-delete{background:var(--card-inner-bg);color:#ea4335;border-color:#3c3f46}.btn-icon.btn-delete:hover:not(:disabled){background:#ea4335;border-color:#ea4335;color:#fff;box-shadow:0 2px 6px #ea433566}.segment-item-info,.group-item-info{display:flex;gap:16px;font-size:12px;color:#6c7280}.segment-item-info span,.group-item-info span{display:inline-block}.layout-editor-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid rgba(0,0,0,.08);background:var(--card-inner-bg);border-radius:0 0 12px 12px}.btn-save,.btn-cancel{padding:10px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-save{background:#4285f4;color:#fff}.btn-save:hover{background:#5a95f5;transform:translateY(-1px)}.btn-cancel{background:var(--card-inner-bg);color:#e1e1e1}.btn-cancel:hover{background:#3c3f46}.layout-editor-content::-webkit-scrollbar{width:8px}.layout-editor-content::-webkit-scrollbar-track{background:var(--card-inner-bg)}.layout-editor-content::-webkit-scrollbar-thumb{background:var(--card-inner-bg);border-radius:4px}.layout-editor-content::-webkit-scrollbar-thumb:hover{background:#3c3f46}.btn-close-old{width:36px;height:36px;border:none;border-radius:8px;background:#ea4335;color:#fff;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn-close:hover{background:#f55a4e;transform:scale(1.05)}.layout-editor-body{display:flex;flex:1;overflow:hidden}.layout-editor-sidebar{width:320px;background:var(--card-inner-bg);border-right:1px solid rgba(0,0,0,.08);overflow-y:auto;padding:20px}.segment-list{display:flex;flex-direction:column;gap:20px}.segment-list-section h3{margin:0 0 12px;font-size:14px;font-weight:600;color:#b8bcc4;text-transform:uppercase;letter-spacing:.5px}.segment-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;cursor:pointer;transition:all .2s ease;gap:8px}.segment-item:hover{background:var(--input-bg-focus);border-color:var(--brut-blue)}.segment-item.selected{background:var(--card-bg);border-color:var(--brut-blue);box-shadow:0 0 0 2px #4c97ff1f}.segment-item.hidden{opacity:.5;border-style:dashed}.segment-item-title{flex:1;color:#e1e1e1;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.segment-item-controls{display:flex;gap:4px}.btn-add-segment{width:100%;padding:12px;border:2px dashed rgba(0,0,0,.08);border-radius:8px;background:transparent;color:#4285f4;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-add-segment:hover{background:#4285f41a;border-color:#4285f4}.layout-editor-main{flex:1;overflow-y:auto;padding:24px;background:var(--card-inner-bg)}.editor-form{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:20px;margin-bottom:20px}.editor-form h3,.editor-form h4{margin:0 0 16px;color:#fff;font-size:18px;font-weight:500}.form-group label{display:block;margin-bottom:6px;color:#b8bcc4;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.3px}.form-group input,.form-group select{width:100%;padding:10px 12px;background:var(--input-bg);border:1px solid rgba(0,0,0,.08);border-radius:6px;color:#e1e1e1;font-size:14px;transition:all .2s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:#4285f4;box-shadow:0 0 0 2px #4285f433}.form-actions{display:flex;gap:8px;margin-top:16px}.segment-details h3{margin:0 0 16px;color:#fff;font-size:20px;font-weight:500}.segment-info{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:16px;margin-bottom:20px}.segment-info p{margin:8px 0;color:#e1e1e1;font-size:14px}.segment-info strong{color:#b8bcc4;font-weight:500;margin-right:8px}.subsegment-list{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:16px;margin-bottom:16px}.subsegment-list h4{margin:0 0 12px;color:#b8bcc4;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.subsegment-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:6px;margin-bottom:8px;color:#e1e1e1;font-size:14px}.subsegment-item:last-child{margin-bottom:0}.btn-add-subsegment{width:100%;padding:10px;border:2px dashed rgba(0,0,0,.08);border-radius:6px;background:transparent;color:#34a853;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;margin-bottom:16px}.btn-add-subsegment:hover{background:#34a8531a;border-color:#34a853}.editor-placeholder{display:flex;align-items:center;justify-content:center;height:300px;color:#6c7280;font-size:16px;text-align:center}.segment-layout-controls{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:16px;margin-bottom:16px}.segment-layout-controls h4{margin:0 0 12px;color:#fff;font-size:16px;font-weight:500}.layout-hint{margin:12px 0 0;padding:10px;background:#4285f41a;border-left:3px solid #4285f4;border-radius:4px;color:#b8bcc4;font-size:13px;line-height:1.5}.form-group small{display:block;margin-top:4px;color:#6c7280;font-size:12px}.layout-editor-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid rgba(0,0,0,.08);background:var(--card-inner-bg)}.btn-primary{padding:10px 20px;border:none;border-radius:6px;background:#4285f4;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-primary:hover{background:#5a95f5;transform:translateY(-1px);box-shadow:0 2px 8px #4285f44d}.btn-secondary{padding:10px 20px;border:1px solid rgba(0,0,0,.08);border-radius:6px;background:transparent;color:#e1e1e1;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:var(--input-bg-focus);border-color:var(--brut-blue)}.btn-icon-small{width:24px;height:24px;border:none;border-radius:4px;background:var(--card-inner-bg);color:var(--text-primary);font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.btn-icon-small:hover{background:var(--input-bg-focus);transform:scale(1.1)}.btn-icon-small.btn-delete{background:#ea4335}.btn-icon-small.btn-delete:hover{background:#f55a4e}@media (max-width: 768px){.layout-editor{max-height:95vh}.layout-editor-body{flex-direction:column}.layout-editor-sidebar{width:100%;max-height:300px;border-right:none;border-bottom:1px solid rgba(0,0,0,.08)}.layout-editor-main{padding:16px}}.dashboard-menu{position:relative;display:flex;align-items:center;gap:.5rem}.settings-cog{width:40px;height:40px;background:var(--card-inner-bg);border:none;border-radius:8px;cursor:pointer;font-size:1.5rem;display:flex;align-items:center;justify-content:center;transition:all .3s ease;padding:0;color:var(--text-primary);position:relative;z-index:10001;pointer-events:auto}.settings-cog:hover{background:var(--input-bg-focus);transform:scale(1.05) rotate(20deg)}.hamburger-btn{width:40px;height:40px;background:var(--card-inner-bg);border:none;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:all .3s ease;padding:0}.hamburger-btn:hover{background:var(--input-bg-focus);transform:scale(1.05)}.hamburger-btn span{display:block;width:20px;height:2px;background:var(--text-primary);border-radius:2px;transition:all .3s ease}.hamburger-btn.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}.hamburger-btn.open span:nth-child(2){opacity:0}.hamburger-btn.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}.menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:998;animation:fadeIn .2s ease}.menu-panel{position:fixed;top:0;right:0;width:280px;max-width:90vw;height:100vh;background:var(--card-inner-bg);border-left:3px solid var(--border-color);z-index:999;display:flex;flex-direction:column;box-shadow:-4px 0 16px #0000004d;animation:slideIn .3s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.menu-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid rgba(0,0,0,.08);background:var(--card-bg)}.menu-header h3{margin:0;color:var(--text-primary);font-size:18px;font-weight:500}.close-btn{background:transparent;border:none;color:#8a8f98;font-size:24px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.close-btn:hover{background:#ea43350f;color:#ea4335}.menu-items{flex:1;padding:12px;overflow-y:auto}.menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:8px;margin-bottom:8px;cursor:pointer;transition:all .2s ease;color:var(--text-primary);font-size:15px;font-weight:500}.menu-item:hover{background:var(--input-bg-focus);border-color:var(--brut-blue);transform:translate(-2px)}.menu-item.active{background:#4c97ff14;border-color:var(--brut-blue);color:var(--brut-blue)}.menu-item.danger:hover{background:#ea43351a;border-color:#ea4335;color:#ea4335}.menu-icon{font-size:18px;width:24px;text-align:center}.menu-label{flex:1;text-align:left}@media (max-width: 768px){.menu-panel{width:100%;max-width:100%}}.quota-usage-display{background:var(--card-inner-bg);border-radius:12px;padding:24px;box-shadow:6px 6px #0009;color:var(--text-primary);max-width:100%;margin:0 auto;border:3px solid var(--brut-black)}.quota-usage-display{--card-bg: #fffdf6;--card-inner-bg: #ffffff;--text-primary: var(--brut-black);--text-secondary: #3b3b3b;--border-color: rgba(0,0,0,.08);--hover-bg: #f6f4ee}.quota-usage-display .tab-button,.quota-usage-display .billing-tabs .tab-button{background:var(--card-bg);border:3px solid var(--brut-black);color:var(--brut-black);font-weight:700}.quota-usage-display .tab-button:hover{background:var(--card-inner-bg)}.quota-usage-display .tab-button.active{background:var(--card-inner-bg);box-shadow:6px 6px #0006}.quota-usage-display .feature-item{background:var(--card-bg);border:3px solid var(--brut-black)}[data-theme=dark] .quota-usage-display{--card-bg: #fffdf6 !important;--card-inner-bg: #ffffff !important;--text-primary: var(--brut-black) !important;--text-secondary: #3b3b3b !important;--hover-bg: #f6f4ee !important}.quota-usage-display .feature-item,.quota-usage-display .tab-button{background:var(--card-bg)!important;color:var(--text-primary)!important}.quota-usage-display .feature-item:hover{background:var(--card-inner-bg)!important}.quota-usage-display.compact{padding:16px}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;gap:16px}.spinner{width:40px;height:40px;border:4px solid rgba(0,0,0,.06);border-top-color:var(--primary-color, #3498db);border-radius:50%;animation:spin 1s linear infinite}.error-state{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 24px;text-align:center}.error-icon{font-size:48px}.retry-button{padding:8px 16px;background:var(--primary-color, #3498db);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.retry-button:hover{background:var(--primary-hover, #2980b9);transform:scale(1.05)}.quota-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;flex-wrap:wrap;gap:12px}.quota-title-section{display:flex;flex-direction:column;gap:8px}.quota-title-section h3{margin:0;font-size:1.5rem;font-weight:600;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.quota-usage-display.compact .quota-title-section h3{font-size:1.2rem}.tier-badge{padding:4px 12px;border-radius:16px;font-size:.75rem;font-weight:700;letter-spacing:.5px;border:2px solid var(--brut-black)}.tier-free{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff}.tier-premium{background:var(--brut-yellow);color:var(--brut-black)}.tier-enterprise{background:linear-gradient(135deg,#9b59b6,#8e44ad);color:#fff}.trial-badge{padding:6px 12px;background:#efdb0614;border:2px solid rgba(239,219,6,.6);border-radius:6px;font-size:.85rem;color:var(--brut-black);display:inline-flex;align-items:center;gap:6px}.quota-meta{display:flex;gap:12px;align-items:center}.last-updated{font-size:.85rem;color:var(--text-secondary, #a0a0a0);display:flex;align-items:center;gap:4px}.quota-warnings{background:#e74c3c1a;border:1px solid rgba(231,76,60,.3);border-radius:8px;padding:12px 16px;margin-bottom:20px;display:flex;flex-direction:column;gap:8px}.warning-item{display:flex;align-items:center;gap:8px;font-size:.9rem}.warning-icon{font-size:1.2rem;flex-shrink:0}.warning-text{color:var(--warning-color, #f39c12);flex:1}.features-list{display:flex;flex-direction:column;gap:20px;margin-bottom:24px}.quota-usage-display.compact .features-list{gap:16px}.feature-item{background:var(--card-bg);border:3px solid var(--brut-black);border-radius:10px;padding:16px;transition:all .2s}.feature-item:hover{background:var(--card-inner-bg);border-color:#0000001f;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.quota-usage-display.compact .feature-item{padding:12px}.feature-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.feature-info{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0}.feature-icon{font-size:1.5rem;flex-shrink:0;cursor:help}.feature-name-section{display:flex;flex-direction:column;gap:4px;min-width:0}.feature-name{font-weight:600;font-size:1rem;color:var(--text-color, #e0e0e0)}.feature-description{font-size:.85rem;color:var(--text-secondary, #a0a0a0);line-height:1.4}.feature-stats{display:flex;align-items:center;flex-shrink:0}.usage-text{font-size:.95rem;color:var(--text-secondary, #a0a0a0);white-space:nowrap}.usage-text strong{font-size:1.1rem;color:var(--text-color, #e0e0e0);font-weight:700}.unlimited-badge{padding:6px 12px;background:linear-gradient(135deg,#2ecc71,#27ae60);color:#fff;border-radius:20px;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;gap:4px}.progress-bar-container{width:100%;height:10px;background:#0000000f;border-radius:10px;overflow:hidden;margin-bottom:8px;position:relative}.progress-bar-fill{height:100%;border-radius:10px;transition:width .5s ease,background-color .3s;position:relative;overflow:hidden;background:var(--brut-yellow)}.progress-bar-fill:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.feature-stats-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.percentage-badge{padding:4px 10px;border-radius:12px;font-size:.85rem;font-weight:600}.status-healthy{background:#2ecc7126;color:#2ecc71;border:1px solid rgba(46,204,113,.3)}.status-warning{background:#f39c1226;color:#f39c12;border:1px solid rgba(243,156,18,.3)}.status-critical{background:#e74c3c26;color:#e74c3c;border:1px solid rgba(231,76,60,.3);animation:pulse-critical 2s infinite}@keyframes pulse-critical{0%,to{opacity:1}50%{opacity:.7}}.remaining-text{font-size:.85rem;color:var(--text-secondary, #a0a0a0)}.period-info{background:var(--card-bg);border:1px solid rgba(0,0,0,.06);border-radius:8px;padding:16px;margin-bottom:20px;text-align:center}.period-label{font-size:.85rem;color:var(--text-secondary, #a0a0a0);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.period-dates{display:flex;justify-content:center;align-items:center;gap:12px;font-size:1rem;font-weight:600;margin-bottom:8px}.period-separator{color:var(--primary-color, #3498db);font-size:1.2rem}.period-note{font-size:.8rem;color:var(--text-secondary, #a0a0a0);font-style:italic}.upgrade-cta{background:var(--card-bg);border:3px solid var(--brut-black);border-radius:12px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.cta-content{display:flex;align-items:center;gap:16px;flex:1}.cta-icon{font-size:2rem;flex-shrink:0}.cta-text{display:flex;flex-direction:column;gap:4px}.cta-text strong{font-size:1.1rem;color:var(--text-color, #e0e0e0)}.cta-text p{margin:0;font-size:.9rem;color:var(--text-secondary, #a0a0a0)}.cta-button{padding:10px 24px;background:var(--brut-yellow);color:var(--brut-black);border:3px solid var(--brut-black);border-radius:8px;font-weight:700;cursor:pointer;transition:all .2s;white-space:nowrap}.cta-button:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 6px 20px #3498db66}.quota-footer{display:flex;justify-content:center;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.refresh-button{padding:8px 16px;background:var(--card-bg);border:3px solid var(--brut-black);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.9rem;transition:all .2s;display:flex;align-items:center;gap:6px}.refresh-button:hover{background:#ffffff1a;border-color:#fff3;transform:scale(1.05)}.quota-events{margin-top:12px;padding:12px;background:var(--card-bg);border:1px dashed rgba(0,0,0,.06);border-radius:8px}.events-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.event-item{display:flex;gap:8px;align-items:center;font-size:.85rem;color:var(--text-secondary, #7f8c8d)}.event-time{min-width:120px;color:var(--text-secondary, #7f8c8d);font-weight:600}.event-feature{font-weight:700;margin-right:6px}.event-units{color:var(--success-color, #2ecc71);font-weight:700}.event-user{margin-left:auto;color:var(--text-secondary, #7f8c8d)}@media (max-width: 768px){.quota-usage-display{padding:16px}.quota-header{flex-direction:column}.feature-header{flex-direction:column;align-items:flex-start}.feature-stats{width:100%;justify-content:flex-start}.upgrade-cta,.cta-content{flex-direction:column;text-align:center}.cta-button{width:100%}.period-dates{flex-direction:column;gap:4px}.period-separator{transform:rotate(90deg)}}.quota-usage-display *:focus-visible{outline:2px solid var(--primary-color, #3498db);outline-offset:2px}@media print{.quota-usage-display{box-shadow:none;border:1px solid #ccc}.refresh-button,.cta-button,.upgrade-cta{display:none}}.account-security-panel{padding:18px}.account-security-panel h3{margin-top:0}.asp-actions{display:flex;gap:8px;margin-bottom:12px}.asp-table table{width:100%;border-collapse:collapse}.asp-table th,.asp-table td{text-align:left;padding:8px;border-bottom:1px solid rgba(255,255,255,.04)}.current-session{background:#ffffff05}.btn{background:#667eea;color:#fff;padding:8px 12px;border-radius:6px;border:none;cursor:pointer}.btn-secondary{background:#fff;color:#222;padding:8px 12px;border-radius:6px;border:none}.btn-danger{background:#e55353;color:#fff;padding:6px 10px;border-radius:6px;border:none}.asp-error{background:#3b1f1f;color:#ffdede;padding:8px;border-radius:6px;margin-bottom:8px}.asp-loading{color:#ffffffb3}.asp-modal-overlay{position:fixed;left:0;right:0;top:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1200}.asp-modal{background:#0f1720;color:#e6eef8;padding:14px;border-radius:8px;min-width:340px;max-width:92%;box-shadow:0 8px 30px #020617b3;border:1px solid rgba(255,255,255,.03)}.asp-modal-body{padding:6px 4px 12px}.asp-modal-message{font-size:14px;color:#dbe9ff}.asp-modal-actions{display:flex;gap:10px;justify-content:flex-end}.asp-btn{padding:7px 12px;border-radius:6px;border:none;cursor:pointer;font-weight:600}.asp-btn-cancel{background:#3b82f6;color:#fff}.asp-btn-confirm{background:#e53e3e;color:#fff}@media (max-width: 420px){.asp-modal{padding:12px}.asp-btn{flex:1 1 auto}.asp-modal-actions{flex-direction:column-reverse;gap:8px}}.settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000000f;display:flex;align-items:center;justify-content:center;z-index:2500;padding:24px}.settings-modal{width:100%;max-width:1100px;height:78vh;background:var(--card-inner-bg);border-radius:14px;display:flex;overflow:hidden;box-shadow:10px 10px #0003;border:1px solid rgba(0,0,0,.08)}.settings-modal,.settings-right-pane,.settings-content,.subscription-sub-tab,.usage-sub-tab{--card-bg: #fffdf6;--card-inner-bg: #ffffff;--text-primary: var(--brut-black);--text-secondary: #3b3b3b;--border-color: rgba(0,0,0,.08);--input-bg: #ffffff;--hover-bg: #f6f4ee}.settings-left-nav,.settings-leftnav{width:260px;padding:20px 18px;background:#fffdf6;border-right:4px solid var(--brut-black);display:flex;flex-direction:column;gap:12px}.settings-left-nav h4,.settings-leftnav h4{color:var(--text-primary);margin:0 0 8px;font-size:18px}.settings-left-nav ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.settings-left-nav li,.nav-item{background:transparent;color:var(--brut-black);padding:12px;min-height:40px;display:flex;align-items:center;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;transition:background .15s,color .15s,transform .08s}.settings-left-nav li:hover,.nav-item:hover{background:#fffef5;color:var(--brut-blue);transform:translate(2px)}.settings-left-nav li.active,.nav-item.active{background:linear-gradient(90deg,#fff,#fff);color:var(--brut-black);box-shadow:6px 6px #00000040;border-left:6px solid var(--brut-blue)}.billing-sub-item{padding-left:24px!important;font-size:13px!important;opacity:.85;min-height:40px!important;display:flex!important;align-items:center!important}.billing-sub-item .billing-sub-label{display:block}.billing-sub-item:hover{opacity:1;background:#ffffff0a!important}.billing-sub-item.active{opacity:1}.settings-right-pane,.settings-content{padding:22px;flex:1;overflow:auto}.settings-right-pane .placeholder-panel,.settings-panel{background:var(--card-inner-bg);padding:18px;border-radius:10px;border:1px solid rgba(0,0,0,.08)}.settings-right-pane h3{color:var(--text-primary);margin:0 0 12px}.enhanced-billing-embedded{width:100%}.subscription-sub-tab,.usage-sub-tab,.billing-history-sub-tab,.profile-sub-tab{display:flex;flex-direction:column;gap:16px}.subscription-sub-tab h3,.usage-sub-tab h3,.billing-history-sub-tab h3,.profile-sub-tab h3{margin:0;font-size:20px;color:var(--text-primary)}.subscription-info{display:flex;flex-direction:column;gap:12px;background:var(--card-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:16px}.sub-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.04)}.sub-item:last-child{border-bottom:none}.sub-label{font-size:14px;color:var(--text-secondary);font-weight:500}.sub-value{font-size:14px;color:var(--text-primary);font-weight:500}.status-badge{display:inline-block;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:600;background:#3b82f626;color:#3b82f6}.status-badge.trial{background:#f59e0b26;color:#f59e0b}.no-subscription,.no-history{color:var(--text-secondary);font-size:14px;padding:16px;text-align:center;background:var(--card-bg);border-radius:8px}.usage-description{margin:0;font-size:14px;color:var(--text-secondary);line-height:1.5}.history-table-wrapper{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;font-size:14px}.history-table th{padding:12px;text-align:left;color:var(--text-secondary);font-weight:600;border-bottom:1px solid rgba(0,0,0,.06);background:var(--card-bg)}.history-table td{padding:12px;color:var(--text-secondary);border-bottom:1px solid rgba(0,0,0,.04)}.history-table tr:hover{background:var(--input-bg-focus)}.amount-col{font-weight:600;color:var(--text-primary)}.status-pill{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;background:#22c55e26;color:#22c55e}.status-pill.failed{background:#ef444426;color:#ef4444}.status-pill.pending{background:#f59e0b26;color:#f59e0b}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.avatar-column{display:flex;flex-direction:column;gap:12px}.avatar-preview{width:120px;height:120px;border-radius:12px;background:var(--card-inner-bg);border:2px solid rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:8px;flex-shrink:0}.avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}.avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--brut-blue),var(--brut-pink));color:#fff;font-size:48px;font-weight:600}.avatar-input{width:100%;padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-radius:6px;background:var(--input-bg);color:var(--text-primary);font-size:14px}.avatar-input:focus{outline:none;border-color:#3b82f6cc;background:var(--input-bg-focus)}.profile-fields{display:flex;flex-direction:column;gap:12px}.profile-fields label{font-size:14px;color:var(--text-secondary);font-weight:500}.profile-fields input,.profile-fields textarea{padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-radius:6px;background:var(--input-bg);color:var(--text-primary);font-size:14px;font-family:inherit}.profile-fields input:focus,.profile-fields textarea:focus{outline:none;border-color:#3b82f6cc;background:var(--input-bg-focus)}.profile-actions{display:flex;gap:8px;margin-top:8px}.btn-save-profile,.btn-cancel{flex:1;padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}.btn-save-profile{background:linear-gradient(135deg,var(--brut-blue),#2563eb);color:#fff}.btn-save-profile:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:scale(1.05)}.btn-save-profile:disabled{opacity:.5;cursor:not-allowed}.btn-cancel{background:#00000008;color:var(--text-secondary)}.btn-cancel:hover{background:#0000000a;color:var(--text-primary);transform:scale(1.05)}.billing-loading{padding:24px;text-align:center;color:var(--text-secondary);font-size:14px}.radio-row,.checkbox-row{display:flex;flex-direction:column;gap:12px;margin:12px 0}.radio-row label,.checkbox-row label{display:flex;align-items:center;gap:10px;cursor:pointer;color:#bfcbd8;font-size:14px;transition:color .2s ease}.radio-row label:hover,.checkbox-row label:hover{color:#e6eef8}.radio-row input[type=radio],.checkbox-row input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#4285f4}.field-help{color:#8a8f98;font-size:12px;margin:8px 0 0;line-height:1.5}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:20px}.plan-card{border-radius:12px;padding:20px;background:var(--card-inner-bg);border:3px solid var(--brut-black);position:relative;transition:all .2s ease;box-shadow:6px 6px #0009}.plan-card:hover{background:var(--card-bg);transform:translateY(-3px);box-shadow:8px 8px #000000a6}.plan-card.current-plan{border:3px solid var(--brut-yellow);background:#efdb060f}.plan-card-badge{position:absolute;top:10px;right:10px;background:var(--brut-yellow);color:var(--brut-black);padding:4px 12px;border-radius:12px;font-size:12px;font-weight:700;border:3px solid var(--brut-black)}.plan-card h4{font-size:20px;margin-bottom:8px;color:var(--text-primary)}.plan-card-price{font-size:28px;font-weight:700;margin-bottom:8px;color:var(--brut-black)}.plan-card-period{font-size:14px;font-weight:400;color:#8a8f98}.plan-card-description{font-size:14px;color:#bfcbd8;margin-bottom:16px}.plan-card-features{list-style:none;padding:0;margin-bottom:20px}.plan-card-feature{padding:8px 0;font-size:14px;display:flex;align-items:center;color:var(--text-secondary)}.plan-card-feature-icon{color:var(--brut-yellow);margin-right:8px;font-weight:700}.plan-card-button{width:100%;padding:12px;font-size:14px;font-weight:700;background:var(--brut-yellow);color:var(--brut-black);border:3px solid var(--brut-black);border-radius:8px}.cancellation-notice{background:#ff98001a;border:1px solid rgba(255,152,0,.3);border-radius:8px;padding:12px;margin-top:12px}.cancellation-notice .sub-label{color:#ff9800}.cancel-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000}.cancel-modal{background:#1a1d23;border-radius:12px;padding:24px;max-width:500px;width:90%;border:1px solid rgba(255,255,255,.08)}.cancel-modal h3{margin:0 0 20px;color:#e6eef8}.cancel-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.cancel-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#bfcbd8;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.cancel-modal-close:hover{background:#ffffff0d}.cancel-modal-warning{color:#f44336;margin-bottom:20px;padding:12px;background:#f443361a;border-radius:8px;border:1px solid rgba(244,67,54,.3)}.cancel-modal label{display:block;margin-bottom:8px;font-weight:700;color:#e6eef8}.cancel-modal textarea{width:100%;padding:10px;border-radius:6px;border:1px solid rgba(255,255,255,.1);font-size:14px;background:#ffffff05;color:#e6eef8;resize:vertical}.cancel-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.cancel-modal-actions button{padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500}.cancel-modal-actions .btn-secondary{border:1px solid rgba(255,255,255,.1);background:#ffffff05;color:#bfcbd8}.cancel-modal-actions .btn-secondary:hover{background:#ffffff0d}@media (max-width: 860px){.settings-modal{flex-direction:column;height:90vh}.settings-left-nav,.settings-leftnav{width:100%;display:flex;flex-direction:row;gap:8px;padding:10px;overflow:auto}.settings-left-nav ul{flex-direction:row}.plans-grid{grid-template-columns:1fr}}.dashboard-layout{min-height:100vh;background:linear-gradient(180deg,#fffce0,#fff7ca,#fff1a0);color:#050505;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;padding:16px 0 48px}.dashboard-header{position:sticky;top:0;z-index:2000;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border:4px solid #000;box-shadow:10px 10px #000000bf}.dashboard-title h1{margin:0;font-size:22px;font-weight:900;letter-spacing:.12em}@media (min-width: 768px){.dashboard-header{padding:20px 36px}.dashboard-title h1{font-size:26px}}.dashboard-content{display:flex;flex-direction:column;gap:24px;padding:24px;max-width:1400px;margin:0 auto}.segment-group{display:flex;flex-direction:column;gap:14px;margin-bottom:30px}.segment-group-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:#fff;border:4px solid #000;border-radius:4px;box-shadow:10px 10px #000000a6}.segment-group-title{margin:0;font-size:18px;font-weight:700;letter-spacing:.08em}.segments-area{display:flex;flex-direction:column;gap:18px}.segment-row{display:flex;flex-wrap:wrap;gap:16px;width:100%;padding:12px;margin:-12px;border-radius:6px;min-height:70px;align-items:stretch;background:#fffffff2;border:4px solid #000;box-shadow:10px 10px #00000059}.segment-row.drag-over{border-color:#ff90e8;box-shadow:10px 10px #ff90e88c}.segment-row.empty-drop-zone{border:3px dashed #000;justify-content:center;align-items:center;min-height:120px;background:#fff;color:#000}.segment-row.empty-drop-zone:hover{border-color:#ff90e8;background:#fff3f6}.segment-container{min-width:0;flex:1 1 100%;min-width:260px}@media (min-width: 768px){.segment-container{flex:1 1 0;min-width:300px}}.segment-card{background:#fff}@media (max-width: 768px){.segment-group{margin-bottom:16px}.segment-group-header{padding:10px 12px}.segment-group-title{font-size:16px}.segment-row{flex-direction:column}.segment-container{width:100%}}@tailwind base;@tailwind components;@tailwind utilities;:root{--brut-yellow: #fff94c;--brut-pink: #ff90e8;--brut-blue: #4c97ff;--brut-green: #2ecc71;--error-color: #ef4444;--brut-black: #000000;--brut-white: #ffffff;--brut-slate: #1b1c1f;--footer-height: 120px}:root{--card-bg: #fffdf6;--card-inner-bg: #ffffff;--text-primary: var(--brut-black);--text-secondary: #3b3b3b;--border-color: var(--brut-black);--input-bg: #ffffff;--input-bg-focus: #fffef5;--button-bg: var(--brut-yellow);--button-hover-bg: #fff8d9;--card-border-width: 4px;--primary-color: var(--brut-blue);--primary-hover: #3a8eef;--hover-bg: #f6f4ee;--header-bg: #f7f4ee;--details-bg: #fffdf8;--details-border: rgba(0, 0, 0, .08);--disabled-bg: #d1d5db;--warning-color: #dc2626;--success-color: #10b981;--danger-color: #ef4444;--info-color: #3b82f6;--link-color: #4c97ff;--link-hover: #2f6fe0;--tag-bg: rgba(0, 0, 0, .05);--tag-border: rgba(0, 0, 0, .12);--code-bg: #f4f0e9;--card-shadow: 8px 8px 0 rgba(0,0,0,.25)}*{box-sizing:border-box}body{margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(180deg,var(--brut-yellow) 0%,#fff 45%,#fff1c6 100%);color:var(--brut-black)}#root{min-height:100vh;background:transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--card-bg)}::-webkit-scrollbar-thumb{background:#b9b9b9;border-radius:5px;border:2px solid var(--card-bg)}::-webkit-scrollbar-thumb:hover{background:#9e9e9e}::selection{background:#4285f44d;color:#fff}a{color:#4285f4;text-decoration:none;transition:color .2s ease}a:hover{color:#5a95f5;text-decoration:underline}code{font-family:Courier New,Courier,monospace;background:var(--card-inner-bg);padding:2px 6px;border-radius:4px;font-size:.9em;border:1px solid rgba(0,0,0,.06)}input[type=text],input[type=email],input[type=password],textarea,select,button{font-family:inherit}.neo-tab,.tab,.tab-button,.filter-tabs .tab,.promo-tabs .tab,.layout-editor-tabs .tab,.settings-left-nav li,.nav-item,.billing-tabs .tab-button,.menu-panel .menu-item{background:var(--card-inner-bg)!important;color:var(--text-primary)!important;border:3px solid var(--border-color)!important;box-shadow:8px 8px #00000040!important}.neo-tab:hover,.tab:hover,.tab-button:hover,.menu-panel .menu-item:hover{transform:translate(-2px,-2px);background:var(--input-bg-focus)!important}.neo-tab.active,.tab.active,.tab-button.active,.menu-panel .menu-item.active{border-bottom:6px solid var(--brut-blue)!important}.text-center{text-align:center}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.p-1{padding:8px}.p-2{padding:16px}.p-3{padding:24px}.loading-spinner{width:48px;height:48px;border:4px solid rgba(0,0,0,.06);border-top-color:#4285f4;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.site-footer{background:var(--brut-slate);color:#fef6e0;padding:36px 16px;margin-top:auto;border-top:4px solid var(--brut-black)}.footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:220px 1fr 280px;gap:32px;align-items:start}.footer-left{display:flex;flex-direction:column;gap:12px}.footer-logo{display:flex;align-items:center;gap:10px}.footer-logo img{width:36px;height:36px;display:inline-block;border-radius:8px;object-fit:cover}.footer-logo svg{width:36px;height:36px;display:inline-block}.footer-logo img{background:linear-gradient(135deg,#4285f4,#5a95f5);padding:4px}.footer-brand-text{font-weight:800;font-size:18px;color:#d4e3f7;margin-left:8px;display:inline-block}@media (max-width: 560px){.footer-brand-text{display:none}}.footer-socials{display:flex;gap:8px;align-items:center}.footer-socials .social{opacity:.9;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;width:28px;height:28px;line-height:0;transform:translateY(1px)}.footer-socials .social svg{width:20px;height:20px;display:inline-block}.discord-icon,.discord-icon svg{display:inline-flex;align-items:center;justify-content:center;color:#7289da}.footer-socials .social svg{width:20px;height:20px}.discord-icon:hover{color:#99a8e8}.footer-copy{color:#7ea3d8;font-size:13px}.footer-columns{display:flex;gap:24px}.footer-col{min-width:140px}.col-title{font-weight:700;margin-bottom:8px;color:#c9ddf7}.footer-col ul{list-style:none;padding:0;margin:0}.footer-col a{color:#a8c5e8;text-decoration:none;display:block;margin:6px 0}.footer-col a:hover{color:#fff}.footer-form{display:flex;flex-direction:column;gap:10px}.newsletter{display:flex;gap:8px}.newsletter input{flex:1;padding:8px 10px;border-radius:6px;border:1px solid rgba(66,133,244,.15);background:#0f1720;color:#e6eef8}.btn-subscribe{padding:8px 12px;background:#3b82f6;color:#fff;border-radius:6px;border:none}.legal-links{display:flex;gap:10px;margin-top:8px}.legal-links a{color:#7ea3d8;text-decoration:none}.footer-branding{text-align:center;padding-top:20px;margin-top:20px;border-top:1px solid rgba(66,133,244,.15);color:#7ea3d8;font-size:13px}.footer-branding strong{color:#4285f4;font-weight:700;background:linear-gradient(135deg,#4285f4,#5a95f5);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.footer-branding p{margin:0}@media (max-width: 900px){.footer-inner{grid-template-columns:1fr}.footer-form{order:3}}.container{max-width:1100px;margin:0 auto;padding:24px}.app-root{display:flex;flex-direction:column;min-height:100vh}.content-grow,.flex-grow{flex:1 1 auto}.content-grow.with-footer{padding-bottom:0}.card{background:var(--card-bg);border:var(--card-border-width) solid var(--border-color);border-radius:4px;padding:24px;box-shadow:8px 8px #000000a6}.developer-panel{max-width:1200px;margin:0 auto;padding:32px 24px}.developer-panel h1{margin:0 0 24px;color:#e6f7ee;font-size:2rem}.developer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.dev-card{padding:24px;border-radius:12px;background:linear-gradient(180deg,#0d1116,#0a0e12);border:1px solid rgba(255,255,255,.08);transition:all .2s ease;box-shadow:0 4px 16px #0006}.dev-card:hover{border-color:#3b82f64d;box-shadow:0 8px 24px #3b82f626;transform:translateY(-2px)}.dev-card h3{margin:0 0 10px;color:#e6f7ee;font-size:1.1rem}.dev-card p{color:#9fb8a9;font-size:.95rem;margin:0 0 16px;line-height:1.5}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:0;border:3px solid var(--brut-black);cursor:pointer;font-weight:700;transition:all .15s ease;font-size:14px;text-decoration:none;background:var(--brut-yellow);color:var(--brut-black);box-shadow:6px 6px #000c}.btn:hover{transform:translate(-2px,-2px)}.btn-primary{background:var(--brut-black);color:var(--brut-yellow)}.btn-secondary{background:var(--brut-blue);color:#fff;border-color:var(--brut-black)}.btn-danger{background:var(--brut-pink);color:var(--brut-black);border-color:var(--brut-black)}.btn:disabled{opacity:.6;cursor:not-allowed}input[type=text],input[type=email],input[type=password],textarea,select{background:var(--input-bg);color:var(--text-primary);border:1px solid rgba(0,0,0,.12);padding:10px 12px;border-radius:8px;outline:none}textarea{min-height:160px}input:focus,textarea:focus,select:focus{box-shadow:0 6px 18px #3b82f61f;border-color:#3b82f6cc;background:var(--input-bg-focus)}.modal-content,.modal-overlay .modal-content,.policy-editor .modal-content,.enhanced-billing-modal,.settings-modal,.layout-editor-panel,.promo-code-manager,.server-settings-panel,.server-stats-view,.chart-card,.stat-card,.subscription-card,.segment,.segment-card,.plan-card,.plan-card-current{background:var(--card-inner-bg)!important;color:var(--text-primary)!important;border:var(--card-border-width) solid var(--border-color)!important}.card h3,.card h2,.card p,.modal-content h3,.modal-content h2,.segment-title,.segment-subsegment-title,.policy-section h3,.filter-section h3{color:var(--text-primary)!important}input::placeholder,textarea::placeholder{color:#7a8794}label{color:#f0f9ff;font-weight:600;font-size:14px}.admin-legal-editor{display:block;max-width:1400px;margin:0 auto}.admin-legal-editor h2{color:#fff;margin-bottom:20px;font-size:1.75rem}.admin-legal-editor .doc-list{max-height:520px;overflow:auto}.admin-legal-editor .editor{background:transparent}.admin-legal-editor.card{padding:28px;background:#0d1116;border:1px solid rgba(255,255,255,.15);box-shadow:0 8px 32px #0009}.tab,.tab-button,.filter-tabs .tab,.promo-tabs .tab,.layout-editor-tabs .tab,.billing-tabs .tab-button,.settings-left-nav li,.nav-item{background:#eae9e2;border:2px solid var(--brut-black);color:var(--brut-black);font-weight:600}.tab:hover,.tab-button:hover,.filter-tabs .tab:hover,.promo-tabs .tab:hover,.layout-editor-tabs .tab:hover,.settings-left-nav li:hover,.nav-item:hover{background:#fffef5;color:var(--brut-blue)}.tab.active,.tab-button.active,.filter-tabs .tab.active,.promo-tabs .tab.active,.layout-editor-tabs .tab.active,.billing-tabs .tab-button.active,.settings-left-nav li.active,.nav-item.active{background:#fff;border-color:var(--brut-black);color:var(--brut-black);box-shadow:6px 6px #00000059;border-bottom:4px solid var(--brut-blue)}.admin-legal-editor .doc-list select,.admin-legal-editor .doc-list .doc-item{width:100%}.admin-legal-editor .doc-list .doc-item{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px;margin-bottom:8px;background:#ffffff0a;color:#f0f9ff}.admin-legal-editor .editor .textarea{min-height:400px}.admin-legal-editor .editor textarea{min-height:400px;font-family:Monaco,Consolas,monospace;font-size:14px;line-height:1.6;background:#0a0e12;border:1px solid rgba(255,255,255,.15);color:#f0f9ff}.admin-legal-editor .preview{margin-top:24px;padding:24px;background:#0f1419;border:1px solid rgba(255,255,255,.12);border-radius:12px;min-height:200px}.admin-legal-editor .preview h1,.admin-legal-editor .preview h2,.admin-legal-editor .preview h3{color:#fff;font-weight:600}.admin-legal-editor .preview p{color:#e0e7ef;line-height:1.7}.admin-legal-editor .preview a{color:#60a5fa;text-decoration:underline}.admin-legal-editor .preview ul,.admin-legal-editor .preview ol{color:#e0e7ef}.admin-legal-editor .preview li{color:#e0e7ef;margin-bottom:8px}.admin-legal-editor .preview strong{color:#fff;font-weight:600}.admin-legal-editor .preview em{color:#d0dae5}.admin-legal-editor .history-item{background:#0d1116;border:1px solid rgba(255,255,255,.1);padding:16px;border-radius:10px;margin-bottom:12px}.admin-legal-editor .history-item .admin-name{color:#fff;font-weight:600}.admin-legal-editor .history-item .timestamp{color:#94a3b8;font-size:.85rem}.segmented{display:inline-flex;border-radius:8px;overflow:hidden;border:1px solid rgba(255,255,255,.15);background:#0a0e12}.segmented .seg-btn{padding:8px 16px;border:none;cursor:pointer;background:transparent;color:#cbd5e1;transition:all .2s ease;font-weight:500}.segmented .seg-btn:hover{background:#ffffff0d;color:#f0f9ff}.segmented .seg-btn.active{background:linear-gradient(90deg,#3b82f6,#06b6d4);color:#fff;font-weight:600}.admin-legal-editor .preview .prose{max-width:none;color:#e6eef8}@media (max-width: 900px){.admin-legal-editor{grid-template-columns:1fr}.admin-legal-editor .preview{border-left:none;padding-left:0}}.legal-page .hero{border-radius:12px;padding:36px 28px;color:#eaf6ef;background:linear-gradient(135deg,#0f1720,#071417 60%);box-shadow:0 12px 40px #02061799;margin-bottom:18px}.legal-page .hero h1{margin:0;font-size:1.9rem;letter-spacing:-.4px}.legal-page .hero .meta{margin-top:8px;color:#9fb8a9;font-size:.95rem}.legal-page article{background:transparent;padding:18px;line-height:1.8;color:#e6eef8}.legal-page article p{margin-bottom:16px}.legal-page.bg-white .hero{background:#fff!important;color:#0b1220!important;border:1px solid #e6e8eb}.legal-page.bg-white .bg-opacity-90,.legal-page.bg-white .bg-opacity-90 .prose{background:#fff!important;color:#0b1220!important}.legal-page .container{max-width:920px}.legal-page .container>.bg-opacity-90{margin:0 auto}.legal-page .bg-opacity-90{border:1px solid rgba(0,0,0,.04);border-radius:10px}.legal-page .prose{color:inherit}.legal-page .prose a{color:var(--primary, #3b82f6);text-decoration:underline}.legal-page .prose ul,.legal-page .prose ol{margin-left:1.25rem}.legal-page .prose h1,.legal-page .prose h2,.legal-page .prose h3,.legal-page .prose h4{color:inherit}.bg-white .last-updated,.legal-page.bg-white .last-updated{color:#374151}.bg-white .muted,.legal-page.bg-white .muted{color:#6b7280}.bg-white .small,.legal-page.bg-white .small{color:#4b5563}.legal-page.bg-white .prose{color:#111827}.legal-page.bg-white .prose strong,.legal-page.bg-white .prose li strong{color:#0f1720}.bg-white .quota-usage-display{--card-bg: #ffffff;--text-color: #111827;--text-secondary: #374151}.privacy-policy strong,.terms-page strong,.privacy-policy .font-bold,.terms-page .font-bold{color:#0b1220}.last-updated{display:inline-block;background:#ffffff05;color:#cfe4d9;padding:6px 10px;border-radius:8px;font-size:.85rem;border:1px solid rgba(255,255,255,.02)}.muted{color:#94a3b8}.small{font-size:.85rem}.admin-legal-editor>div:first-of-type{color:#f0f9ff}.admin-legal-editor h3{color:#fff;font-size:1.25rem;margin-bottom:16px}.notice-icon{display:inline-flex;align-items:center;justify-content:center}.notice-icon svg{width:2.25rem!important;height:2.25rem!important;max-width:100%;max-height:100%}.dev-card svg,.dev-card .notice-icon svg,.dev-card .icon svg{width:1.25rem!important;height:1.25rem!important}.animate-marquee{display:inline-block;white-space:nowrap;animation:marquee 18s linear infinite;color:#fff!important}@keyframes marquee{0%{transform:translate(100%)}to{transform:translate(-100%)}}.demo-textarea:focus{background:#fff!important;color:#000!important;border-color:#000!important;box-shadow:none!important}:root{--bg-primary: #ffffff;--bg-secondary: #f5f5f5;--bg-own-message: #0084ff;--bg-other-message: #e4e6eb;--bg-admin-message: #ffeaa7;--bg-system-message: #dfe6e9;--bg-internal: #ffe5e5;--text-primary: #050505;--text-secondary: #65676b;--text-own-message: #ffffff;--text-other-message: #050505;--border-color: #e0e0e0;--shadow-sm: 0 1px 2px rgba(0,0,0,.1);--shadow-md: 0 4px 6px rgba(0,0,0,.1);--success-color: #00b894;--danger-color: #d63031;--warning-color: #fdcb6e;--info-color: #0984e3}[data-theme=dark]{--bg-primary: var(--card-bg);--bg-secondary: var(--card-inner-bg);--bg-own-message: var(--brut-blue);--bg-other-message: var(--card-inner-bg);--bg-admin-message: var(--brut-yellow);--bg-system-message: var(--card-inner-bg);--bg-internal: var(--brut-pink);--text-primary: var(--text-primary);--text-secondary: var(--text-secondary);--text-own-message: var(--brut-white);--text-other-message: var(--text-primary);--border-color: var(--border-color)}.appeal-actions-bar{display:flex;gap:12px;padding:16px 20px;background:var(--bg-secondary);border-top:2px solid var(--border-color);border-bottom:1px solid var(--border-color);justify-content:center;flex-shrink:0}.btn-approve,.btn-deny{padding:10px 24px;font-size:14px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.btn-approve{background:#00b894;color:#fff}.btn-approve:hover:not(:disabled){background:#00a383;transform:translateY(-1px);box-shadow:0 4px 8px #00b8944d}.btn-deny{background:#d63031;color:#fff}.btn-deny:hover:not(:disabled){background:#c23030;transform:translateY(-1px);box-shadow:0 4px 8px #d630314d}.btn-approve:disabled,.btn-deny:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0009;z-index:1000}.modal-card{background:var(--bg-primary);color:var(--text-primary);padding:20px;width:560px;max-width:calc(100% - 40px);border-radius:10px;box-shadow:var(--shadow-md)}.modal-card h3{margin:0 0 12px;font-size:18px}.modal-reason{width:100%;min-height:100px;padding:12px;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.btn-primary{padding:8px 14px;background:var(--info-color);color:#fff;border-radius:6px;border:none}.btn-secondary{padding:8px 14px;background:transparent;color:var(--text-primary);border-radius:6px;border:1px solid var(--border-color)}.action-popup{position:fixed;right:24px;bottom:24px;background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color);padding:12px 16px;border-radius:8px;box-shadow:var(--shadow-md);z-index:1100}.action-popup h4{margin:0 0 6px;font-size:14px}.action-popup p{margin:0;font-size:13px;color:var(--text-secondary)}.appeal-status-badge{padding:12px 20px;text-align:center;font-weight:600;font-size:14px;flex-shrink:0}.status-approved{background:#00b89426;color:#00b894;border-bottom:2px solid #00b894}.status-denied{background:#d6303126;color:#d63031;border-bottom:2px solid #d63031}.appeal-conversation{display:flex;flex-direction:column;height:100vh;max-height:100vh;background:var(--bg-primary);border-radius:8px;overflow:hidden;position:relative;--bg-primary: #fffdf6;--bg-secondary: #ffffff;--bg-own-message: var(--brut-blue);--bg-other-message: var(--card-inner-bg);--bg-admin-message: var(--brut-yellow);--bg-system-message: var(--card-inner-bg);--bg-internal: var(--brut-pink);--text-primary: var(--brut-black);--text-secondary: #3b3b3b;--border-color: rgba(0,0,0,.08)}.conversation-loading{display:flex;align-items:center;justify-content:center;height:400px;color:var(--text-secondary);font-size:16px}.messages-container{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:12px}.messages-container::-webkit-scrollbar{width:8px}.messages-container::-webkit-scrollbar-track{background:var(--bg-secondary)}.messages-container::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:4px}.messages-container::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.message{display:flex;flex-direction:column;max-width:70%;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.own-message{align-self:flex-end}.own-message .message-body{background:var(--bg-own-message);color:var(--text-own-message);border-radius:18px 18px 4px}.other-message{align-self:flex-start}.other-message .message-body{background:var(--bg-other-message);color:var(--text-other-message);border-radius:18px 18px 18px 4px}.admin-message .message-body{background:var(--bg-admin-message);border-left:4px solid var(--warning-color)}.system-message{align-self:center;max-width:80%}.system-message .message-body{background:var(--bg-system-message);color:var(--text-secondary);font-size:14px;font-style:italic;text-align:center;border-radius:12px;padding:8px 16px}.internal-message .message-body{background:var(--bg-internal);border:2px dashed var(--danger-color)}.message-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:12px;color:var(--text-secondary)}.message-sender{font-weight:600}.internal-badge{background:var(--danger-color);color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase}.message-time{margin-left:auto}.message-body{padding:10px 16px;line-height:1.5;word-wrap:break-word;white-space:pre-wrap;box-shadow:var(--shadow-sm)}.message-attachments{display:flex;flex-direction:column;gap:4px;margin-top:8px}.attachment-link{color:var(--info-color);text-decoration:none;font-size:14px;padding:4px 8px;background:var(--bg-secondary);border-radius:4px;display:inline-block;transition:background .2s}.attachment-link:hover{background:var(--border-color)}.typing-indicator{display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--bg-other-message);border-radius:18px;max-width:150px;align-self:flex-start}.typing-dots{display:flex;gap:4px}.typing-dots span{width:8px;height:8px;background:var(--text-secondary);border-radius:50%;animation:typingBounce 1.4s infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-10px)}}.typing-text{font-size:12px;color:var(--text-secondary)}.message-input-form{position:sticky;bottom:0;border-top:2px solid var(--border-color);padding:20px;background:var(--bg-secondary);z-index:10;box-shadow:0 -4px 12px #0000001a}.internal-toggle{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.internal-toggle input[type=checkbox]{cursor:pointer;width:16px;height:16px}.internal-toggle:hover{color:var(--text-primary)}.input-row{display:flex;gap:12px;align-items:flex-end}.message-input{flex:1;padding:14px 18px;border:2px solid var(--border-color);border-radius:24px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;resize:none;transition:all .2s ease;line-height:1.4;max-height:120px}.message-input:focus{outline:none;border-color:var(--info-color);box-shadow:0 0 0 3px #0984e31a}.message-input::placeholder{color:var(--text-secondary);opacity:.7}.send-button{padding:12px 24px;background:var(--info-color);color:#fff;border:none;border-radius:24px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap;min-height:48px}.send-button:hover:not(:disabled){background:#0770d1;transform:translateY(-2px);box-shadow:0 4px 12px #0984e34d}.send-button:disabled{background:var(--border-color);cursor:not-allowed;opacity:.5}.message-input:disabled{opacity:.6;cursor:not-allowed}.send-button{padding:12px 20px;background:var(--info-color);color:#fff;border:none;border-radius:20px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,transform .1s;white-space:nowrap}.send-button:hover:not(:disabled){background:#0770cd;transform:translateY(-1px)}.send-button:active:not(:disabled){transform:translateY(0)}.send-button:disabled{opacity:.5;cursor:not-allowed}.message-controls{display:inline-flex;gap:6px;margin-left:8px}.btn-edit,.btn-save-edit,.btn-cancel-edit{background:none;border:1px solid var(--border-color);border-radius:4px;padding:2px 8px;font-size:12px;cursor:pointer;color:var(--text-secondary);transition:all .2s ease}.btn-edit:hover{background:var(--bg-secondary);color:var(--text-primary);border-color:var(--text-secondary)}.btn-save-edit{color:var(--success-color);border-color:var(--success-color)}.btn-save-edit:hover{background:var(--success-color);color:#fff}.btn-cancel-edit{color:var(--text-secondary)}.btn-cancel-edit:hover{background:var(--bg-secondary)}.edit-textarea{width:100%;min-height:60px;padding:8px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-family:inherit;font-size:14px;resize:vertical}.edit-textarea:focus{outline:none;border-color:var(--bg-own-message)}.original-message{padding:8px;margin-bottom:8px;background:#ff00001a;border-left:3px solid #dc3545;border-radius:4px;font-size:13px}.original-label{font-weight:600;color:#dc3545;margin-right:6px}.original-text{color:#dc3545;text-decoration:line-through;opacity:.85}@media (max-width: 768px){.message{max-width:85%}.message-input-form{padding:12px}.input-row{flex-direction:column;align-items:stretch}.send-button{width:100%}}.user-profile-page{max-width:1400px;margin:0 auto;padding:2rem;color:var(--text-primary, #e0e0e0)}.profile-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem}.back-btn{padding:.75rem 1.5rem;border-radius:8px;border:1px solid var(--border-color, #333);background:var(--button-bg, #2a2a2a);color:var(--text-primary, #e0e0e0);cursor:pointer;font-size:.95rem;transition:all .2s}.back-btn:hover{background:var(--button-hover-bg, #3a3a3a);border-color:var(--accent-color, #4a9eff)}.profile-title{margin:0;font-size:2rem;font-weight:700;color:var(--text-primary, #e0e0e0)}.user-info-card{display:flex;align-items:center;gap:2rem;padding:2rem;margin-bottom:2rem;background:var(--card-inner-bg);border-left:4px solid var(--accent-color, #4a9eff)}.user-avatar{flex-shrink:0}.avatar-placeholder{width:120px;height:120px;border-radius:12px;background:linear-gradient(135deg,var(--brut-blue) 0%,var(--brut-pink) 100%);display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;color:#fff;box-shadow:0 4px 12px #0000001f}.user-details{flex:1}.user-id{margin:0 0 1rem;font-size:2rem;font-weight:700;color:var(--accent-color, #4a9eff);font-family:monospace}.user-meta{display:flex;flex-wrap:wrap;gap:1.5rem;font-size:.95rem}.meta-item{color:var(--text-secondary, #a0a0a0)}.meta-item strong{color:var(--text-primary, #e0e0e0);margin-right:.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:var(--card-inner-bg, #252525);border-radius:8px;border-left:4px solid #4a9eff;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.stat-card.flagged{border-left-color:#fb0}.stat-card.toxicity{border-left-color:#f80}.stat-card.warnings{border-left-color:#f44}.stat-card.appeals{border-left-color:#0c6}.stat-icon{font-size:2.5rem;line-height:1}.stat-value{font-size:2rem;font-weight:700;color:var(--text-primary, #e0e0e0);line-height:1;margin-bottom:.25rem}.stat-label{font-size:.85rem;color:var(--text-secondary, #a0a0a0);text-transform:uppercase;letter-spacing:.5px}.stat-subtext{margin-top:.5rem;font-size:.8rem;color:var(--text-secondary, #a0a0a0)}.profile-card{background:var(--card-bg, #1e1e1e);border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.profile-card h3{margin:0 0 1.5rem;font-size:1.3rem;color:var(--text-primary, #e0e0e0);border-bottom:2px solid var(--border-color, #333);padding-bottom:.75rem}.warnings-list{display:flex;flex-direction:column;gap:1rem}.warning-item{padding:1rem;background:var(--card-inner-bg, #252525);border-radius:6px;border-left:4px solid #888}.warning-item.active{border-left-color:#f44;background:#ff44440d}.warning-item.expired{border-left-color:#555;opacity:.7}.warning-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.warning-id{font-family:monospace;font-weight:700;color:var(--warning-color, #ffbb00);font-size:1.1rem}.warning-status{padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:600;text-transform:uppercase}.warning-status.active{background:#f443;color:#f44;border:1px solid #ff4444}.warning-status.expired{background:#8883;color:#888;border:1px solid #888}.warning-reason{color:var(--text-primary, #e0e0e0);margin-bottom:.75rem;line-height:1.6}.warning-footer{display:flex;flex-wrap:wrap;gap:1rem;font-size:.85rem;color:var(--text-secondary, #a0a0a0)}.appeal-status{color:var(--accent-color, #4a9eff);text-transform:capitalize}.messages-list{display:flex;flex-direction:column;gap:1rem}.message-item{padding:1rem;background:var(--card-inner-bg, #252525);border-radius:6px;border-left:4px solid var(--accent-color, #4a9eff)}.message-header{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:.75rem}.message-date{font-size:.85rem;color:var(--text-secondary, #a0a0a0)}.toxicity-badge{display:inline-block;padding:.25rem .5rem;border-radius:4px;font-weight:600;font-size:.85rem;color:#fff}.severity-badge{padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:600;text-transform:capitalize}.severity-badge.critical{background:#f443;color:#f44;border:1px solid #ff4444}.severity-badge.high{background:#f803;color:#f80;border:1px solid #ff8800}.severity-badge.medium{background:#fb03;color:#fb0;border:1px solid #ffbb00}.severity-badge.low{background:#0c63;color:#0c6;border:1px solid #00cc66}.message-content{background:var(--code-bg, #0d0d0d);padding:1rem;border-radius:6px;border-left:3px solid var(--accent-color, #4a9eff);font-family:monospace;white-space:pre-wrap;word-break:break-word;color:var(--text-primary, #e0e0e0);margin-bottom:.75rem}.message-footer{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;font-size:.85rem;color:var(--text-secondary, #a0a0a0)}.message-categories{display:flex;flex-wrap:wrap;gap:.5rem}.category-tag{display:inline-block;padding:.25rem .75rem;border-radius:16px;background:var(--tag-bg, #333);color:var(--tag-color, #4a9eff);font-size:.85rem;border:1px solid var(--tag-border, #4a9eff)}.no-data-small{text-align:center;padding:2rem;color:var(--text-secondary, #a0a0a0);font-size:.95rem}@media (max-width: 768px){.user-profile-page{padding:1rem}.user-info-card{flex-direction:column;text-align:center}.stats-grid{grid-template-columns:1fr}.profile-header{flex-direction:column;align-items:flex-start}}:root{--animation-duration: .6s;--animation-delay: 0ms;--animation-ease: cubic-bezier(.34, 1.56, .64, 1);--animation-ease-smooth: cubic-bezier(.25, .46, .45, .94)}.scroll-animated-element{opacity:0}.scroll-animated-element.fade-in.visible{animation:fadeIn var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}.scroll-animated-element.slide-up.visible{animation:slideUp var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes slideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.scroll-animated-element.slide-down.visible{animation:slideDown var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes slideDown{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}.scroll-animated-element.slide-left.visible{animation:slideLeft var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes slideLeft{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}.scroll-animated-element.slide-right.visible{animation:slideRight var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes slideRight{0%{opacity:0;transform:translate(-40px)}to{opacity:1;transform:translate(0)}}.scroll-animated-element.zoom-in.visible{animation:zoomIn var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes zoomIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.scroll-animated-element.bounce.visible{animation:bounceIn var(--animation-duration) var(--animation-ease) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes bounceIn{0%{opacity:0;transform:scale(.85)}50%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.scroll-animated-element.glow.visible{animation:glowIn var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards!important;animation-play-state:running!important}@keyframes glowIn{0%{opacity:0;filter:brightness(.8);box-shadow:0 0 #6366f100}to{opacity:1;filter:brightness(1);box-shadow:0 0 20px #6366f11a}}.scroll-animated-element{will-change:transform,opacity}.scroll-animated-element.visible{will-change:auto}.parallax-element{position:relative;transform-origin:center}.parallax-element.parallax-slow{transform:translateY(var(--parallax-offset, 0px));transition:transform .3s ease-out}.text-animate{display:inline-block}.text-animate.slide-up{animation:slideUp var(--animation-duration) var(--animation-ease-smooth) var(--animation-delay) forwards}.text-animate.bounce{animation:bounceIn var(--animation-duration) var(--animation-ease) var(--animation-delay) forwards}.icon-animate{display:inline-flex;align-items:center;justify-content:center}.icon-animate.spin{animation:spin var(--animation-duration) linear var(--animation-delay) forwards}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.icon-animate.pulse{animation:pulse var(--animation-duration) ease-in-out var(--animation-delay) infinite}.gradient-text-animate{background:linear-gradient(45deg,#6366f1,#10b981,#f59e0b,#6366f1);background-size:300% 300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:gradientShift 4s ease infinite}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.stagger-list{display:contents}.stagger-list>*{animation-delay:calc(var(--stagger-index, 0) * .1s + var(--animation-delay))}.admin-page-wrapper{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,var(--card-bg) 0%,var(--card-inner-bg) 100%);color:var(--text-primary)}.admin-loading-screen,.admin-access-denied{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--card-bg) 0%,var(--card-inner-bg) 100%);padding:24px}.loading-content,.access-denied-content{text-align:center;max-width:480px;width:100%}.loading-spinner{width:48px;height:48px;border:4px solid rgba(66,133,244,.1);border-top-color:#4285f4;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.loading-text{color:var(--text-secondary);font-size:15px;margin:0}.access-denied-content{background:var(--card-bg);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:48px 32px;box-shadow:0 8px 32px #0009}.access-denied-icon{width:80px;height:80px;background:linear-gradient(135deg,#ef444426,#dc262626);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;border:2px solid rgba(239,68,68,.3)}.shield-icon{width:40px;height:40px;color:#ef4444}.access-denied-title{font-size:28px;font-weight:700;color:#fff;margin:0 0 12px}.access-denied-message{color:#8a8f98;font-size:15px;margin:0 0 32px;line-height:1.6}.btn-return-home{display:inline-flex;align-items:center;gap:10px;padding:14px 28px;background:linear-gradient(90deg,#3b82f6,#2563eb);color:#fff;border-radius:10px;text-decoration:none;font-weight:600;font-size:15px;transition:all .2s ease;box-shadow:0 4px 12px #3b82f640}.btn-return-home:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f659}.btn-icon-left{width:18px;height:18px}.admin-header{position:sticky;top:0;z-index:1000;background:var(--card-bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 2px 6px #00000014}.admin-header-content{max-width:1400px;margin:0 auto;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.header-left,.header-right,.admin-logo{display:flex;align-items:center;gap:16px}.logo-icon{font-size:40px;filter:drop-shadow(0 4px 8px rgba(66,133,244,.3));animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.logo-text{display:flex;flex-direction:column;gap:2px}.admin-title{font-size:26px;font-weight:700;margin:0;background:linear-gradient(135deg,var(--brut-blue) 0%,#5a95f5 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.5px}.admin-subtitle{font-size:13px;color:#8a8f98;margin:0;font-weight:500}.btn-back-to-app{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:#4285f41a;color:#4285f4;border:1px solid rgba(66,133,244,.2);border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;transition:all .2s ease}.btn-back-to-app:hover{background:#4285f426;border-color:#4285f466;transform:translate(-2px)}.btn-icon{width:16px;height:16px}.rotate-180{transform:rotate(180deg)}.admin-main-content{flex:1;padding:48px 24px}.admin-container{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:48px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-title{margin:0;font-size:28px;font-weight:600;color:#fff}.page-subtitle{margin:5px 0 0;color:#9aa0a7;font-size:14px}.admin-notice{background:linear-gradient(135deg,#ef444414,#dc262614);border:1px solid rgba(239,68,68,.25);border-radius:16px;padding:24px;display:flex;gap:20px;box-shadow:0 4px 16px #ef44441a;animation:pulse-border 2s ease-in-out infinite}@keyframes pulse-border{0%,to{border-color:#ef444440}50%{border-color:#ef444466}}.notice-icon-wrapper{flex-shrink:0}.notice-icon{width:28px;height:28px;color:#ef4444;filter:drop-shadow(0 2px 4px rgba(239,68,68,.3))}.notice-content{flex:1}.notice-title{font-size:18px;font-weight:700;color:#fca5a5;margin:0 0 12px}.notice-body{display:flex;flex-direction:column;gap:12px}.notice-text{color:#e1e1e1;font-size:14px;line-height:1.6;margin:0}.notice-code{display:inline-block;padding:3px 8px;background:#ef444426;color:#fca5a5;border-radius:4px;font-family:Courier New,Courier,monospace;font-size:13px;font-weight:600;border:1px solid rgba(239,68,68,.2);margin:0 2px}.notice-disclaimer{color:#8a8f98;font-size:12px;margin:0;font-style:italic}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.stat-card{background:var(--card-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;transition:all .3s ease;box-shadow:0 2px 8px #0000004d}.stat-card:hover{transform:translateY(-4px);border-color:#4285f4;box-shadow:0 8px 24px #4285f433}.stat-icon{width:48px;height:48px;background:linear-gradient(135deg,#4285f426,#5a95f526);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#4285f4;flex-shrink:0}.stat-content{flex:1}.stat-label{font-size:12px;color:#8a8f98;text-transform:uppercase;letter-spacing:.5px;margin:0 0 4px;font-weight:600}.stat-value{font-size:24px;font-weight:700;color:#fff;margin:0}.admin-section{display:flex;flex-direction:column;gap:24px}.section-header{display:flex;flex-direction:column;gap:8px}.section-title{font-size:24px;font-weight:700;color:#fff;margin:0}.plugin-notice{border-radius:12px;margin-bottom:16px;padding:16px;border:1px solid transparent}.notice-success{background:#22c55e1a;border-color:#22c55e66;color:#6ee7b7}.notice-error{background:#ef44441a;border-color:#ef444466;color:#fecaca}.plugin-manager-section{display:flex;flex-direction:column;gap:24px}.plugin-manager-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}.plugin-manager-card,.plugin-card{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:20px;box-shadow:0 12px 32px #00000073}.plugin-manager-card{display:flex;flex-direction:column;gap:16px}.plugin-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.plugin-card-content{flex:1}.plugin-card-main{display:flex;gap:16px;align-items:flex-start}.plugin-card-icon{width:48px;height:48px;border-radius:12px;background:#3b82f61f;display:flex;align-items:center;justify-content:center;color:#3b82f6;font-size:22px}.plugin-card-title{font-size:18px;font-weight:700;margin:0;color:#fff}.plugin-card-subtitle{margin:4px 0;color:#8c92a0;font-size:13px}.plugin-card-description{margin:0;color:#b6bbcf;font-size:14px;line-height:1.5}.plugin-card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.plugin-action-btn{flex:1;padding:10px 14px;background:#3b82f61f;border:1px solid rgba(59,130,246,.35);border-radius:10px;color:#fff;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:600;transition:all .2s ease}.plugin-action-btn:disabled{opacity:.5;cursor:not-allowed}.plugin-load-form{display:flex;flex-direction:column;gap:12px}.plugin-label{font-size:12px;text-transform:uppercase;letter-spacing:.3px;color:#8a8f98}.plugin-input,.plugin-load-form select{background:#ffffff0a;border:1px solid rgba(0,0,0,.08);color:#fff;border-radius:10px;padding:12px;font-size:14px;outline:none}.plugin-load-form select option{background:#0d111f}.plugin-load-form .btn-refresh{justify-content:center;width:fit-content}.btn-refresh{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border:none;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-refresh:hover{transform:translateY(-1px);box-shadow:0 10px 25px #3b82f64d}.btn-refresh:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.section-description{font-size:14px;color:#8a8f98;margin:0}.admin-tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}.admin-tool-card{position:relative;background:var(--card-bg);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:16px;transition:all .3s ease;box-shadow:0 4px 16px #0006;overflow:hidden}.admin-tool-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#4285f4,#5a95f5);opacity:0;transition:opacity .3s ease}.admin-tool-card:hover{transform:translateY(-6px);border-color:#4285f4;box-shadow:0 12px 32px #4285f440}.admin-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:48px}.admin-card-wrapper{width:100%}.admin-card{position:relative;background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:28px 24px;display:flex;flex-direction:column;gap:16px;transition:all .3s ease;overflow:hidden;height:100%}.admin-card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(66,133,244,.1),transparent);transition:left .6s ease}.admin-card:hover{border-color:#4285f4;background:var(--card-bg);transform:translateY(-8px);box-shadow:0 20px 40px #4285f433}.admin-card:hover:before{left:100%}.card-badge{position:absolute;top:16px;right:16px;padding:6px 12px;background:#4285f426;color:#4285f4;border:1px solid rgba(66,133,244,.3);border-radius:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;animation:fadeIn .6s ease-out forwards}.card-badge.badge-legal{background:#3b82f626;color:#3b82f6;border-color:#3b82f64d}.card-badge.badge-security{background:#ef444426;color:#ef4444;border-color:#ef44444d}.card-badge.badge-debug{background:#a855f726;color:#a855f7;border-color:#a855f74d}.card-badge.badge-database{background:#22c55e26;color:#22c55e;border-color:#22c55e4d}.card-badge.badge-premium{background:#ec489926;color:#ec4899;border-color:#ec48994d}.card-icon-wrapper{width:56px;height:56px;background:linear-gradient(135deg,#4285f426,#5a95f526);border:1px solid rgba(66,133,244,.2);border-radius:12px;display:flex;align-items:center;justify-content:center;transition:all .3s ease;flex-shrink:0}.admin-card:hover .card-icon-wrapper{background:linear-gradient(135deg,#4285f440,#5a95f540);border-color:#4285f466;transform:scale(1.1) rotate(5deg)}.card-icon{width:28px;height:28px;color:#4285f4}.card-title{font-size:20px;font-weight:700;color:#fff;margin:0;transition:color .3s ease}.admin-card:hover .card-title{color:#5a95f5}.card-description{color:#8a8f98;font-size:14px;line-height:1.6;margin:0;flex:1}.card-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;background:linear-gradient(90deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px #3b82f640;cursor:pointer;align-self:flex-start}.card-link:hover{background:linear-gradient(90deg,#2563eb,#1d4ed8);transform:translate(4px);box-shadow:0 6px 20px #3b82f659}.btn-icon-right{width:16px;height:16px;display:inline-flex;transition:transform .3s ease}.quick-actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.quick-action-btn{display:flex;align-items:center;gap:16px;padding:20px;background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;cursor:pointer;transition:all .3s ease;text-align:left}.quick-action-btn:hover{background:var(--input-bg-focus);border-color:#4285f4;transform:translateY(-2px);box-shadow:0 8px 16px #4285f426}.action-icon{width:32px;height:32px;color:#4285f4;flex-shrink:0}.action-content{display:flex;flex-direction:column;gap:4px}.action-title{font-size:14px;font-weight:600;color:#fff;display:block}.action-subtitle{font-size:12px;color:#8a8f98;display:block}.system-info-card{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:16px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}.info-row:last-child{border-bottom:none}.info-label{font-size:14px;color:#8a8f98;font-weight:500}.info-value{font-size:14px;color:#fff;font-weight:600}.status-badge{display:inline-block;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.status-operational{background:#22c55e26;color:#22c55e;border:1px solid rgba(34,197,94,.3)}@media (max-width: 768px){.admin-header-content{padding:16px;flex-direction:column;align-items:stretch}.header-left,.header-right{width:100%;justify-content:space-between}.admin-logo{gap:12px}.logo-icon{font-size:32px}.admin-title{font-size:22px}.admin-subtitle{font-size:12px}.admin-main-content{padding:32px 16px}.admin-container{gap:32px}.admin-notice{flex-direction:column;padding:20px}.admin-stats,.admin-tools-grid,.quick-actions-grid{grid-template-columns:1fr}.section-title{font-size:20px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}a:focus-visible,button:focus-visible{outline:2px solid #4285f4;outline-offset:2px}.admin-search-toolbar{display:flex;gap:12px;margin-bottom:24px;align-items:center}.admin-search-toolbar input{flex:1;padding:12px 16px 12px 40px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#e1e1e1;font-size:14px;transition:all .2s ease}.admin-search-toolbar input:focus{outline:none;border-color:#4285f4;background:#ffffff14;box-shadow:0 0 0 3px #4285f41a}.admin-search-toolbar input::placeholder{color:#fff6}.admin-sessions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;margin-bottom:32px}.admin-session-card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;transition:all .2s ease}.admin-session-card:hover{background:#ffffff0d;border-color:#4285f44d;transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.admin-session-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}.admin-session-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#4285f4,#34a853);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;color:#fff}.admin-session-user-info h3{margin:0;font-size:16px;font-weight:600;color:#e1e1e1}.admin-session-user-info p{margin:4px 0 0;font-size:13px;color:#fff9}.admin-session-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:#22c55e26;border:1px solid rgba(34,197,94,.3);border-radius:12px;font-size:11px;font-weight:500;color:#22c55e;margin-top:4px;text-transform:uppercase;letter-spacing:.5px}.admin-session-badge-dot{width:6px;height:6px;background:#22c55e;border-radius:50%;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.admin-session-details{margin:16px 0}.admin-session-detail-item{display:flex;align-items:flex-start;gap:8px;padding:8px 0;font-size:13px}.admin-session-detail-item svg{color:#ffffff80;flex-shrink:0;margin-top:2px}.admin-session-detail-item strong{color:#ffffffb3;margin-right:4px;font-weight:500}.admin-session-detail-item span{color:#e1e1e1}.admin-session-actions{display:flex;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}.admin-session-actions button{flex:1}.admin-content-area{flex:1;padding:48px 24px}.admin-hero-header{padding:32px 24px 12px;background:transparent}.admin-hero-content{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:12px}.admin-hero-top{display:flex;gap:12px;align-items:center}.admin-back-link{display:inline-flex;align-items:center;gap:8px;color:#9aa0a7;text-decoration:none;font-weight:600;padding:6px 10px;border-radius:8px;transition:background .2s ease,transform .15s ease}.admin-back-link:hover{background:#ffffff05;transform:translate(-2px)}.admin-hero-main{display:flex;gap:18px;align-items:center}.admin-hero-icon-wrapper{width:72px;height:72px;border-radius:12px;background:linear-gradient(135deg,#4285f4,#34a853);display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px}.admin-hero-icon{color:#fff;width:34px;height:34px}.admin-hero-title{font-size:34px;font-weight:700;margin:0;color:#e1e1e1}.admin-hero-subtitle{font-size:13px;color:#9aa0a7;margin:6px 0 0}.admin-warning-banner,.admin-notice{background:linear-gradient(135deg,#ef444414,#dc262614);border:1px solid rgba(239,68,68,.25);border-radius:16px;padding:24px;display:flex;gap:20px;box-shadow:0 4px 16px #ef44441a}.admin-warning-icon-wrapper{display:flex;align-items:center;justify-content:center}.admin-warning-icon{color:#ef4444e6;width:20px;height:20px}.admin-warning-content{display:flex;flex-direction:column;gap:6px}.admin-warning-title{margin:0;font-size:16px;color:#e1e1e1}.admin-warning-text{margin:0;color:#cfcfcf}.admin-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:18px 0 24px}.admin-search-wrapper{display:flex;align-items:center;gap:10px;position:relative;flex:1;margin-bottom:20px}.admin-search-icon{position:absolute;left:12px;color:#ffffff73}.admin-search-input{padding:12px 16px 12px 40px;background:#ffffff08;border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#e1e1e1;width:100%}.admin-search-input:focus{outline:none;border-color:#4285f4;box-shadow:0 0 0 3px #4285f40f}.admin-button,button.admin-button{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.06);background:#ffffff08;color:#e1e1e1;font-weight:600;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}.admin-button:hover{transform:translateY(-1px) scale(1.05)}.admin-button-icon{width:16px;height:16px}.admin-button-primary,button.admin-button-primary{background:linear-gradient(135deg,#4285f4,#5a95f5);color:#fff;border:none}.admin-button-danger,button.admin-button-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none}.admin-button-full,button.admin-button-full{width:100%}.admin-empty-state{text-align:center;padding:40px;border-radius:12px;background:#ffffff05;border:1px solid rgba(255,255,255,.03);color:#cfcfcf}.admin-empty-icon-wrapper{display:flex;align-items:center;justify-content:center;margin-bottom:12px}.admin-empty-icon{width:42px;height:42px;color:#ffffffb3}.admin-empty-title{font-size:18px;margin:8px 0 0;color:#e1e1e1}.admin-empty-text{color:#9fa4ab}.admin-info-box{background:#ffffff05;border:1px solid rgba(255,255,255,.04);border-radius:12px;padding:20px;display:flex;gap:16px;align-items:start}.admin-info-icon-wrapper{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:#4285f40f}.admin-info-icon{width:22px;height:22px;color:#4285f4}.admin-info-title{margin:0 0 8px;color:#e1e1e1}.admin-info-text{margin:0;color:#b9bfc8}.admin-info-text-secondary{color:#9fa4ab}.admin-session-protected{display:flex;align-items:center;gap:8px;color:#9aa0a7}.admin-session-protected-icon{color:#9aa0a7}.plugin-manager-container{display:grid;grid-template-columns:1fr 350px;gap:20px;min-height:500px}.plugin-list{display:flex;flex-direction:column;gap:12px}.plugin-card{padding:16px;border:1px solid rgba(0,0,0,.08);border-radius:8px;cursor:pointer;background:var(--card-inner-bg);transition:all .2s;color:var(--text-primary)}.plugin-card:hover{border-color:var(--brut-blue);box-shadow:6px 6px #4c97ff1f}.plugin-card.selected{border:2px solid var(--brut-blue);background:linear-gradient(135deg,var(--card-bg),var(--card-inner-bg))}.plugin-card-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:8px}.plugin-card-title{font-size:15px;font-weight:600;margin:0 0 4px;color:#e1e1e1}.plugin-card-version{font-size:12px;color:#8c92a0;margin-right:10px}.plugin-card-description{margin:0 0 8px;font-size:13px;color:#b6bbcf;line-height:1.4}.plugin-card-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.plugin-badge{font-size:11px;padding:3px 8px;border-radius:3px}.plugin-badge.enabled{background-color:#1a5f1a;color:#d4edda}.plugin-badge.disabled{background-color:#5f1a1a;color:#f8d7da}.plugin-badge.loaded{background-color:#1a3f5f;color:#cce5ff}.plugin-badge.not-loaded{background-color:#3d3d3d;color:#e2e3e5}.plugin-card-path{font-size:12px;color:#9fa4ab;display:flex;align-items:center;gap:4px}.plugin-card-path code{font-size:11px;background-color:#ffffff0d;padding:2px 4px;border-radius:3px;color:#b6bbcf}.plugin-card-error{margin-top:8px;font-size:12px;color:#ef4444;display:flex;gap:4px;align-items:flex-start}.plugin-card-error-icon{margin-top:2px;flex-shrink:0}.plugin-card-chevron{transition:color .2s}.plugin-card.selected .plugin-card-chevron{color:#4285f4}.plugin-card:not(.selected) .plugin-card-chevron{color:#5a5a5a}.details-panel{background:var(--card-inner-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:20px;color:var(--text-primary)}.details-panel h3{margin:0 0 16px;color:#e1e1e1;font-size:18px}.details-section{margin-bottom:20px}.details-section h4{margin:0 0 8px;color:#b6bbcf;font-size:14px;font-weight:600}.details-section p{margin:0;color:#9fa4ab;font-size:14px;line-height:1.5}.details-activity{display:flex;gap:6px;align-items:center;color:#9fa4ab}.details-actions{display:flex;flex-direction:column;gap:12px}.details-toggle{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#ffffff05;border:1px solid rgba(255,255,255,.05);border-radius:8px;cursor:pointer;transition:all .2s}.details-toggle:hover{background:#ffffff0d;border-color:#ffffff1a}.details-toggle input[type=checkbox]{width:16px;height:16px}.details-toggle label{flex:1;cursor:pointer;color:#e1e1e1}.audit-logs{max-height:300px;overflow-y:auto}.audit-log-item{padding:12px;border-bottom:1px solid rgba(255,255,255,.05);font-size:13px}.audit-log-item:last-child{border-bottom:none}.audit-log-timestamp{color:#8c92a0;font-size:11px}.audit-log-action{color:#e1e1e1;font-weight:500}.audit-log-details{color:#b6bbcf;margin-top:4px}.admin-status-message{padding:12px 16px;margin-bottom:20px;border-radius:6px;display:flex;align-items:center;gap:10px;border-left:4px solid}.admin-status-message.success{background:#1987541a;color:#d1e7dd;border-left-color:#198754}.admin-status-message.error{background:#dc35451a;color:#f8d7da;border-left-color:#dc3545}.promo-code-manager{background:var(--card-bg);border:1px solid rgba(0,0,0,.08);border-radius:12px;box-shadow:0 8px 32px #0009;overflow:hidden;max-width:1400px;margin:0 auto}.promo-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.promo-header h1{margin:0 0 8px;font-size:28px;font-weight:600}.promo-header p{margin:0;opacity:.9;font-size:14px}.btn-close{background:#fff3;border:none;color:#fff;font-size:24px;cursor:pointer;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-close:hover{background:#ffffff4d}.promo-tabs{display:flex;border-bottom:2px solid var(--brut-black);background:#f4f4f1}.tab{flex:1;padding:16px 24px;border:2px solid var(--brut-black);background:#eae9e2;color:var(--brut-black);font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;margin-bottom:-1px}.tab:hover{color:var(--brut-blue);background:#fffef5}.tab.active{color:var(--brut-black);border-bottom-color:var(--brut-blue);background:#fff}.promo-content{padding:24px;background:var(--card-inner-bg)}.alert{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;margin-bottom:16px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#ef444426;color:#ff8a8a;border:1px solid rgba(239,68,68,.3)}.alert-success{background:#22c55e26;color:#86efac;border:1px solid rgba(34,197,94,.3)}.alert-warning{background:#fbbf241f;color:#fcd34d;border:1px solid rgba(251,191,36,.3)}.stripe-integration-warning{align-items:flex-start;padding:16px 20px}.stripe-integration-warning .warning-content{flex:1}.stripe-integration-warning strong{display:block;font-size:15px;margin-bottom:8px;color:#fbbf24}.stripe-integration-warning p{margin:6px 0;font-size:13px;line-height:1.5;color:#fde68a}.stripe-integration-warning .warning-action{margin-top:12px;padding-top:12px;border-top:1px solid rgba(251,191,36,.2)}.stripe-integration-warning code{background:#0000004d;padding:2px 6px;border-radius:4px;font-family:Courier New,monospace;font-size:12px;color:#fbbf24}.alert button{margin-left:auto;background:none;border:none;color:inherit;font-size:20px;cursor:pointer;opacity:.7;transition:opacity .2s}.alert button:hover{opacity:1}.promo-filters{display:flex;gap:12px;margin-bottom:20px}.filter-select{padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-radius:6px;font-size:14px;background:var(--input-bg);color:var(--text-secondary);cursor:pointer;transition:all .2s}.filter-select:hover{border-color:#667eea;background:#667eea14}.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea33}.codes-table{overflow-x:auto}.codes-table table{width:100%;border-collapse:collapse;font-size:14px}.codes-table th{background:var(--card-bg);padding:12px;text-align:left;font-weight:600;color:#8a8f98;border-bottom:1px solid rgba(0,0,0,.08)}.codes-table td{padding:12px;border-bottom:1px solid rgba(0,0,0,.04);color:#b8bcc4;vertical-align:middle}.codes-table tr:hover{background:#667eea0d}.codes-table tr.status-revoked{opacity:.6}.code-cell{font-family:monospace;font-weight:600;display:flex;align-items:center;gap:8px}.code-cell code{background:var(--card-inner-bg);padding:4px 8px;border-radius:4px;font-size:13px;color:#667eea;display:inline-flex;align-items:center;line-height:1;height:24px}.stripe-badge{background:linear-gradient(135deg,#00d4ff,#09f);color:#fff;font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px;display:inline-flex;align-items:center;gap:2px;box-shadow:0 2px 8px #0099ff4d;cursor:help;animation:stripeGlow 2s ease-in-out infinite;height:22px;line-height:22px}@keyframes stripeGlow{0%,to{box-shadow:0 2px 8px #0099ff4d}50%{box-shadow:0 2px 12px #09f9}}.btn-copy{background:none;border:none;color:#8a8f98;cursor:pointer;padding:4px;display:inline-flex;align-items:center;height:24px;transition:color .2s}.btn-copy:hover{color:#667eea}.value-cell{font-weight:500;color:#667eea}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.status-badge.status-active{background:#22c55e33;color:#86efac;border:1px solid rgba(34,197,94,.4)}.status-badge.status-inactive{background:#ca8a0433;color:#facc15;border:1px solid rgba(202,138,4,.4)}.status-badge.status-revoked{background:#ef444433;color:#ff8a8a;border:1px solid rgba(239,68,68,.4)}.status-badge.status-expired{background:#8b5cf633;color:#d8b4fe;border:1px solid rgba(139,92,246,.4)}.valid-cell{text-align:center}.badge-valid{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:#22c55e33;color:#86efac;border-radius:12px;font-size:12px;font-weight:600}.badge-invalid{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:#ef444433;color:#ff8a8a;border-radius:12px;font-size:12px;font-weight:600}.actions-cell{display:flex;gap:8px;justify-content:flex-end}.btn-action{background:none;border:none;color:#8a8f98;cursor:pointer;padding:6px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.btn-action:hover{background:#667eea26}.btn-action.btn-view{color:#667eea}.btn-action.btn-pause{color:#facc15}.btn-action.btn-delete{color:#ff8a8a}.promo-form{max-width:600px}fieldset{margin-bottom:24px;padding:0;border:none}legend{font-size:16px;font-weight:600;color:#e1e1e1;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid rgba(0,0,0,.08)}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#b8bcc4;font-size:14px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-radius:6px;font-size:14px;font-family:inherit;background:var(--input-bg);color:var(--text-primary);transition:all .2s}.form-group input::placeholder,.form-group textarea::placeholder{color:#8a8f98}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea33;background:var(--card-inner-bg)}.form-group small{display:block;margin-top:4px;color:#8a8f98;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 640px){.form-row{grid-template-columns:1fr}}.form-actions{margin-top:24px;display:flex;gap:12px}.btn{padding:10px 24px;border:none;border-radius:6px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-cleanup{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;box-shadow:0 4px 12px #e74c3c4d;padding:8px 16px;font-size:13px;margin-left:auto}.btn-cleanup:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #e74c3c66}.btn:disabled{opacity:.5;cursor:not-allowed}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:24px}.analytics-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px;border-radius:12px;box-shadow:0 8px 32px #667eea4d;border:1px solid rgba(102,126,234,.2)}.metric-label{font-size:12px;text-transform:uppercase;opacity:.9;letter-spacing:.5px;margin-bottom:8px}.metric-value{font-size:32px;font-weight:700;margin-bottom:8px}.metric-sub{font-size:13px;opacity:.8}.analytics-info{background:#f0f9ff;border:1px solid #bfdbfe;border-radius:8px;padding:16px;color:#1e40af;font-size:14px}.loading{text-align:center;padding:48px 24px;color:#6b7280;font-size:16px}.empty-state{text-align:center;padding:48px 24px;color:#9ca3af}.empty-state p{margin:0;font-size:16px}@media (max-width: 768px){.promo-header{flex-direction:column;gap:12px}.promo-tabs{flex-direction:column}.tab{border-right:3px solid transparent;border-bottom:none;padding:12px 16px}.tab.active{border-right-color:#667eea;border-bottom:none}.codes-table{font-size:12px}.codes-table th,.codes-table td{padding:8px}.form-row{grid-template-columns:1fr}}.status-page{min-height:100vh;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;transition:background-color .3s ease,color .3s ease}.status-page.light{background-color:#fff;color:#2c2f33}.status-page.dark{background-color:#0f0f0f;color:#fff}.status-header{padding:2rem 1rem;border-bottom:1px solid;border-color:#e3e5e8}.status-page.dark .status-header{border-color:#2f3136}.status-header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.status-header h1{margin:0;font-size:1.875rem;font-weight:600;letter-spacing:-.02em}.status-logo{background:linear-gradient(135deg,#7c3aed,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700}.status-tagline{margin:.5rem 0 0;opacity:.6;font-size:.875rem}.status-header-meta{text-align:right}.last-updated{display:block;font-size:.75rem;opacity:.6;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.status-container{max-width:1200px;width:100%;margin:0 auto;padding:2rem 1rem;flex-grow:1}.status-loading{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:60vh;gap:1rem}.spinner{width:3rem;height:3rem;border:3px solid rgba(124,58,237,.2);border-top-color:#7c3aed;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.status-summary-bar{background:linear-gradient(135deg,#7c3aed0d,#ec48990d);border:1px solid;border-color:#e3e5e8;border-radius:.5rem;padding:1.5rem;margin-bottom:2rem}.status-page.dark .status-summary-bar{border-color:#2f3136;background:linear-gradient(135deg,#7c3aed1a,#ec48991a)}.summary-indicator{display:flex;align-items:center;gap:1rem}.indicator-dot{width:1rem;height:1rem;border-radius:50%;flex-shrink:0;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.summary-text h2{margin:0;font-size:1.25rem;font-weight:600}.summary-text p{margin:.25rem 0 0;opacity:.7;font-size:.875rem}.status-section{margin-bottom:2rem}.status-section h3{margin:0 0 1rem;font-size:1.125rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;opacity:.7}.services-list{display:flex;flex-direction:column;gap:1rem}.service-item{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem;background-color:#fafbfc;border-radius:.375rem;border:1px solid #e3e5e8;transition:all .2s ease}.status-page.dark .service-item{background-color:#2c2f33;border-color:#202225}.service-item:hover{box-shadow:0 2px 8px #0000001a}.status-page.dark .service-item:hover{box-shadow:0 2px 8px #0000004d}.service-status-indicator{flex-shrink:0;width:3rem;display:flex;justify-content:center;align-items:center}.status-dot{width:.75rem;height:.75rem;border-radius:50%;box-shadow:0 0 0 .375rem #0000001a}.status-page.dark .status-dot{box-shadow:0 0 0 .375rem #ffffff1a}.service-info{flex-grow:1;min-width:0}.service-name-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.service-icon{font-size:1.25rem;opacity:.7}.service-name{margin:0;font-size:1rem;font-weight:600}.service-description{margin:.25rem 0;font-size:.875rem;opacity:.7}.service-meta{display:flex;gap:1.5rem;margin-top:.5rem;font-size:.75rem;opacity:.6}.service-status-label{flex-shrink:0;padding:.375rem .75rem;background-color:#f0f0f0;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.status-page.dark .service-status-label{background-color:#1a1a1a}.incidents-list{display:flex;flex-direction:column;gap:1rem}.incident-card{padding:1.25rem;background-color:#fafbfc;border-radius:.375rem;border:1px solid #e3e5e8;cursor:pointer;transition:all .2s ease}.status-page.dark .incident-card{background-color:#2c2f33;border-color:#202225}.incident-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.status-page.dark .incident-card:hover{box-shadow:0 4px 12px #0000004d}.incident-card.active{border-left:4px solid #ff6d6d;padding-left:calc(1.25rem - 3px)}.incident-card.resolved{opacity:.75}.incident-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem}.incident-header h4{margin:0;font-size:1rem;font-weight:600;flex-grow:1}.severity-badge{display:inline-block;padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.severity-badge.severity-minor{background-color:#fff0b3;color:#9b6f1f}.severity-badge.severity-major{background-color:#ffe0b3;color:#9b4c1f}.severity-badge.severity-critical{background-color:#fcc;color:#9b1f1f}.status-page.dark .severity-badge.severity-minor{background-color:#ffc10733;color:#ffc107}.status-page.dark .severity-badge.severity-major{background-color:#ff980033;color:#ff9800}.status-page.dark .severity-badge.severity-critical{background-color:#f4433633;color:#f44336}.resolved-badge{display:inline-block;padding:.25rem .75rem;background-color:#e8f5e9;color:#1b5e20;border-radius:1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.status-page.dark .resolved-badge{background-color:#4caf5033;color:#4caf50}.incident-description{margin:0 0 .75rem;font-size:.9375rem;line-height:1.5}.incident-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;opacity:.6}.incident-status{padding:.25rem .5rem;background-color:#f0f0f0;border-radius:.25rem;font-weight:500}.status-page.dark .incident-status{background-color:#1a1a1a}.no-incidents{padding:2rem;text-align:center;opacity:.6}.incident-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.incident-modal{background-color:#fff;border-radius:.5rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.status-page.dark .incident-modal{background-color:#2c2f33}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.5rem;border-bottom:1px solid #e3e5e8}.status-page.dark .modal-header{border-color:#202225}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;opacity:.6;transition:opacity .2s ease;padding:0}.modal-close:hover{opacity:1}.modal-content{padding:1.5rem}.incident-details{display:flex;flex-direction:column;gap:.75rem;margin:1.5rem 0;padding:1rem;background-color:#f9f9f9;border-radius:.375rem}.status-page.dark .incident-details{background-color:#1a1a1a}.detail-row{display:flex;justify-content:space-between;gap:1rem;font-size:.9375rem}.detail-row strong{opacity:.7}.incident-timeline{margin-top:2rem}.incident-timeline h4{margin:0 0 1rem;font-size:1rem;font-weight:600}.timeline{display:flex;flex-direction:column;gap:1rem}.timeline-item{display:flex;gap:1rem;padding-left:1rem;border-left:2px solid #e3e5e8;position:relative}.status-page.dark .timeline-item{border-color:#202225}.timeline-item:before{content:"";position:absolute;left:-5px;top:0;width:8px;height:8px;background-color:#7c3aed;border-radius:50%;border:2px solid #ffffff}.status-page.dark .timeline-item:before{border-color:#2c2f33}.timeline-time{font-size:.75rem;opacity:.6;min-width:120px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.timeline-content{flex-grow:1}.timeline-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;opacity:.7;margin-bottom:.25rem}.timeline-content p{margin:0;font-size:.9375rem;line-height:1.5}.status-footer{border-top:1px solid;border-color:#e3e5e8;padding:2rem 1rem;margin-top:2rem;opacity:.75}.status-page.dark .status-footer{border-color:#2f3136}.footer-content{max-width:1200px;margin:0 auto 1.5rem;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.footer-brand p{margin:0;font-size:.875rem}.footer-brand p:first-child{font-weight:600;margin-bottom:.25rem}.footer-desc{opacity:.6!important}.footer-links{display:flex;gap:1.5rem}.footer-links a{font-size:.875rem;color:inherit;text-decoration:none;transition:opacity .2s ease}.footer-links a:hover{opacity:.6}.footer-bottom{max-width:1200px;margin:0 auto;text-align:center;font-size:.75rem;opacity:.6}.footer-bottom a{color:inherit;text-decoration:underline}.footer-bottom a:hover{opacity:.8}.error-banner{position:fixed;top:1rem;left:50%;transform:translate(-50%);background-color:#ffebee;color:#c62828;padding:1rem 1.5rem;border-radius:.375rem;box-shadow:0 2px 8px #00000026;max-width:90%;z-index:999}.status-page.dark .error-banner{background-color:#f4433633;color:#ff7043}.error-banner p{margin:0;font-size:.875rem}@media (max-width: 768px){.status-header-content{flex-direction:column;align-items:flex-start;gap:1rem}.status-header-meta{align-self:stretch;text-align:left}.status-header h1{font-size:1.5rem}.footer-content{flex-direction:column;gap:1rem}.footer-links{flex-wrap:wrap}.service-item{flex-direction:column}.service-status-indicator{align-self:flex-start}.detail-row{flex-direction:column}}@media (max-width: 480px){.status-container,.status-header{padding:1rem .75rem}.status-header h1{font-size:1.25rem}.status-tagline{font-size:.75rem}.incident-meta{flex-direction:column;gap:.5rem}.incident-status{align-self:flex-start}.service-meta{flex-direction:column;gap:.5rem}}.session-expired-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.session-expired-dialog{background:#0f1724;border-radius:12px;padding:28px;max-width:420px;text-align:center;box-shadow:0 12px 40px #02061799;animation:slideUp .28s ease-out;color:#e6eef8}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.session-expired-icon{font-size:56px;margin-bottom:12px;animation:pulse 1s ease-in-out infinite;filter:drop-shadow(0 6px 12px rgba(0,0,0,.6))}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.session-expired-dialog h2{color:#e6eef8;font-size:22px;margin-bottom:8px;font-weight:700}.session-expired-dialog p{color:#9fb0c8;font-size:15px;line-height:1.5;margin-bottom:18px}.relogin-button{background:linear-gradient(135deg,#1e293b,#334155);color:#e6eef8;border:1px solid rgba(255,255,255,.04);border-radius:10px;padding:12px 24px;font-size:15px;font-weight:600;cursor:pointer;transition:transform .16s,box-shadow .16s;width:100%}.relogin-button:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 8px 28px #0f172473}.relogin-button:active{transform:translateY(0)}
