*,:before,:after{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;color:#333;background:#f5f5f8;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}a{color:#4a6cf7}h1,h2,h3{line-height:1.3}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{color:#fff;background:#1a1a2e;border-bottom:1px solid #2a2a4a;justify-content:space-between;align-items:center;height:60px;padding:0 2rem;display:flex}.app-logo{color:#fff;letter-spacing:.1em;font-size:1.5rem;font-weight:700;text-decoration:none}.app-nav{align-items:center;gap:1.5rem;display:flex}.app-nav a{color:#b0b0d0;font-size:.9rem;text-decoration:none}.app-nav a:hover{color:#fff}.user-email{color:#808090;font-size:.85rem}.app-main{background:#f5f5f8;flex:1}.btn-primary{color:#fff;cursor:pointer;text-align:center;background:#4a6cf7;border:none;border-radius:6px;padding:.75rem 1.5rem;font-size:.95rem;text-decoration:none;display:inline-block}.btn-primary:hover{background:#3a5ce5}.btn-primary:disabled{cursor:not-allowed;background:#888}.btn-secondary{color:#4a6cf7;cursor:pointer;background:0 0;border:1px solid #4a6cf7;border-radius:6px;padding:.75rem 1.5rem;font-size:.95rem;text-decoration:none;display:inline-block}.btn-text{color:#b0b0d0;cursor:pointer;background:0 0;border:none;font-size:.9rem}.btn-text:hover{color:#fff}.btn-danger{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:4px;padding:.4rem .8rem;font-size:.85rem}.btn-small{color:#fff;cursor:pointer;background:#4a6cf7;border:none;border-radius:4px;padding:.4rem .8rem;font-size:.85rem}.auth-page{justify-content:center;align-items:center;min-height:calc(100vh - 60px);padding:2rem;display:flex}.auth-card{background:#fff;border-radius:12px;width:100%;max-width:400px;padding:2.5rem;box-shadow:0 2px 12px #00000014}.auth-card h1{color:#1a1a2e;margin:0 0 1.5rem;font-size:1.5rem}.form-field{margin-bottom:1rem}.form-field label{color:#555;margin-bottom:.4rem;font-size:.85rem;font-weight:500;display:block}.form-field input,.form-field select,.form-field textarea{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;width:100%;padding:.6rem .8rem;font-size:.95rem}.form-field textarea{resize:vertical;min-height:80px}.auth-card .btn-primary{width:100%;margin-top:.5rem}.auth-links{justify-content:space-between;margin-top:1rem;font-size:.85rem;display:flex}.auth-links a{color:#4a6cf7;text-decoration:none}.error-message{color:#dc2626;background:#fef2f2;border-radius:6px;margin-bottom:1rem;padding:.75rem;font-size:.85rem}.home-dark{background:#08081a;min-height:calc(100vh - 60px)}.hero-dark{position:relative;overflow:hidden}.hero-banner{object-fit:cover;width:100%;height:auto;min-height:400px;display:block}.hero-overlay{text-align:center;background:radial-gradient(#08081a4d 0%,#08081ab3 70%);flex-direction:column;justify-content:center;align-items:center;padding:2rem;display:flex;position:absolute;inset:0}.hero-title{color:#fff;letter-spacing:.2em;text-shadow:0 0 40px #4a6cf780,0 0 80px #4a6cf733;margin:0;font-size:5rem;font-weight:800}.hero-tagline{color:#b0b0d0;letter-spacing:.05em;margin:.5rem 0 1rem;font-size:1.4rem;font-weight:300}.hero-desc{color:#7070a0;max-width:550px;margin:0 0 2rem;font-size:1rem;line-height:1.7}.btn-glow{color:#fff;cursor:pointer;letter-spacing:.03em;background:linear-gradient(135deg,#4a6cf7,#9333ea);border:none;border-radius:8px;padding:.9rem 2.5rem;font-size:1rem;font-weight:600;text-decoration:none;transition:box-shadow .3s,transform .2s;display:inline-block;box-shadow:0 0 20px #4a6cf766,0 0 60px #4a6cf726}.btn-glow:hover{transform:translateY(-1px);box-shadow:0 0 30px #4a6cf799,0 0 80px #9333ea4d}.features-dark{max-width:1000px;margin:0 auto;padding:4rem 2rem}.feature-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem;display:grid}.feature-card{text-align:center;background:linear-gradient(135deg,#1a1a3ccc,#101028cc);border:1px solid #4a6cf726;border-radius:12px;padding:1.5rem;transition:border-color .3s,transform .2s}.feature-card:hover{border-color:#4a6cf766;transform:translateY(-2px)}.feature-icon{color:#4a6cf7;margin-bottom:1rem}.feature-card h3{color:#e0e0f0;margin:0 0 .5rem;font-size:1rem;font-weight:600}.feature-card p{color:#7070a0;margin:0;font-size:.85rem;line-height:1.5}.providers-dark{text-align:center;padding:3rem 2rem 4rem}.providers-dark h2{color:#e0e0f0;letter-spacing:.05em;margin:0 0 1.5rem;font-size:1.3rem;font-weight:600}.provider-row{flex-wrap:wrap;justify-content:center;gap:2rem;display:flex}.provider-badge{background:#1a1a3c99;border:1px solid #4a6cf71f;border-radius:10px;flex-direction:column;align-items:center;gap:.3rem;padding:1rem 2rem;display:flex}.provider-name{color:#c0c0e0;font-size:.95rem;font-weight:600}.provider-detail{color:#5a5a8a;font-size:.8rem}.home-footer{text-align:center;border-top:1px solid #4a6cf714;padding:2rem}.home-footer p{color:#4a4a6a;margin:0;font-size:.8rem}.loading,.spinner{color:#888;justify-content:center;align-items:center;min-height:200px;display:flex}.admin-layout{min-height:calc(100vh - 60px);display:flex}.admin-sidebar{background:#1a1a2e;width:220px;padding:1.5rem 0}.admin-sidebar a{color:#b0b0d0;padding:.7rem 1.5rem;font-size:.9rem;text-decoration:none;display:block}.admin-sidebar a:hover,.admin-sidebar a.active{color:#fff;background:#2a2a4a}.admin-content{flex:1;padding:2rem;overflow-y:auto}.admin-content h1{color:#1a1a2e;margin:0 0 1.5rem;font-size:1.5rem}.card-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-bottom:2rem;display:grid}.card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 1px 6px #0000000f}.card h3{color:#888;text-transform:uppercase;margin:0 0 .5rem;font-size:.8rem}.card .value{color:#1a1a2e;font-size:1.8rem;font-weight:700}.data-table{border-collapse:collapse;background:#fff;border-radius:8px;width:100%;overflow:hidden;box-shadow:0 1px 6px #0000000f}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #eee;padding:.75rem 1rem;font-size:.9rem}.data-table th{color:#555;text-transform:uppercase;background:#f8f8fc;font-size:.8rem;font-weight:600}.studio-page{grid-template-columns:1fr 1fr;gap:2rem;max-width:1200px;margin:0 auto;padding:2rem;display:grid}.studio-controls,.studio-result{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 1px 6px #0000000f}.studio-controls h2{color:#1a1a2e;margin:0 0 1rem;font-size:1.2rem}.studio-result img{border-radius:6px;width:100%;margin-bottom:1rem}.result-meta{color:#555;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1rem;font-size:.85rem;display:grid}.result-actions{gap:.5rem;display:flex}.dimension-presets{flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;display:flex}.preset-btn{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;padding:.3rem .6rem;font-size:.8rem}.preset-btn:hover,.preset-btn.active{color:#4a6cf7;border-color:#4a6cf7}.dimension-inputs{align-items:center;gap:.5rem;display:flex}.dimension-inputs input{border:1px solid #ddd;border-radius:4px;width:80px;padding:.4rem}.history-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.5rem;margin-top:1rem;display:grid}.history-thumb{aspect-ratio:1;object-fit:cover;cursor:pointer;border:2px solid #0000;border-radius:4px}.history-thumb:hover{border-color:#4a6cf7}.form-section{background:#fff;border-radius:8px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 1px 6px #0000000f}.form-section h2{color:#1a1a2e;margin:0 0 1rem;font-size:1.1rem}.form-row{gap:1rem;margin-bottom:.75rem;display:flex}.form-row .form-field{flex:1;margin-bottom:0}.chart-container{background:#fff;border-radius:8px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 1px 6px #0000000f}.chart-container h3{color:#1a1a2e;margin:0 0 1rem;font-size:1rem}.status-active{color:#16a34a;font-weight:600}.status-revoked,.status-inactive{color:#dc2626;font-weight:600}@media (width<=768px){.feature-grid{grid-template-columns:1fr 1fr}.hero-title{font-size:3rem}.studio-page{grid-template-columns:1fr}.admin-layout{flex-direction:column}.admin-sidebar{width:100%;padding:0;display:flex;overflow-x:auto}.admin-sidebar a{white-space:nowrap}}@media (width<=480px){.feature-grid{grid-template-columns:1fr}.hero-title{font-size:2.5rem}.provider-row{flex-direction:column;align-items:center}}
