:root{color-scheme:light;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}*{box-sizing:border-box}body{margin:0;color:#0f172a;background:#f8fafc}.portal-shell{min-height:100vh;display:flex;flex-direction:column}.portal-header{padding:1rem;background:#0f172a;color:#f8fafc}.portal-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.portal-header-top h1,.portal-header-top p{margin:0}.portal-header-top p{margin-top:.35rem;color:#cbd5e1}.portal-locale-switcher{display:flex;flex-direction:column;gap:.35rem;align-items:flex-end}.portal-locale-label{font-size:.8rem;color:#cbd5e1}.portal-locale-options{display:inline-flex;gap:.4rem;padding:.25rem;border:1px solid #334155;border-radius:999px;background:rgba(15,23,42,.35)}.portal-locale-button{border:0;border-radius:999px;background:transparent;color:#cbd5e1;padding:.3rem .7rem;cursor:pointer}.portal-locale-button-active{background:#f8fafc;color:#0f172a}.portal-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.portal-link{display:inline-block;padding:.35rem .6rem;border-radius:6px;color:#e2e8f0;border:1px solid #334155;text-decoration:none}.portal-link:hover{border-color:#94a3b8}.portal-main{width:min(960px,100%);margin:0 auto;padding:1rem}.events-page{display:grid;grid-gap:.875rem;gap:.875rem}.events-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:.75rem;gap:.75rem;padding:.875rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.events-filters label{display:grid;grid-gap:.35rem;gap:.35rem;font-size:.9rem}.events-filters input{border:1px solid #cbd5e1;border-radius:6px;padding:.45rem .5rem}.events-filter-actions{display:flex;align-items:flex-end}.events-filter-actions button,.events-pagination button{border:1px solid #334155;border-radius:6px;background:#0f172a;color:#f8fafc;padding:.45rem .7rem;cursor:pointer}.events-filter-actions button:disabled,.events-pagination button:disabled{opacity:.5;cursor:not-allowed}.events-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:.75rem;gap:.75rem}.events-stat-card{margin:0;padding:.875rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.events-stat-card h3{margin:0;font-size:.9rem;color:#334155}.events-stat-card p{margin:.35rem 0 0;font-size:1.5rem;font-weight:700}.events-pagination{display:flex;gap:.5rem}.events-query-preview{margin:0;padding:.75rem;border-radius:8px;background:#e2e8f0;overflow:auto}.events-error{margin:0;color:#b91c1c;font-weight:600}.events-copy-message{margin:0;color:#0f766e;font-weight:600}.events-state-box{border-radius:8px;padding:.875rem}.events-error-state{border:1px solid #fecaca;background:#fef2f2;display:grid;grid-gap:.5rem;gap:.5rem}.events-empty-state{border:1px dashed #94a3b8;background:#f8fafc}.events-empty-state h3{margin:0}.events-empty-state p{margin:.35rem 0 0;color:#475569}.events-table-wrap{overflow-x:auto}.events-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #cbd5e1;border-radius:8px}.events-table td,.events-table th{text-align:left;padding:.65rem;border-bottom:1px solid #e2e8f0;vertical-align:top}.events-table th{font-size:.85rem;color:#334155;background:#f8fafc}.events-table code{font-size:.85rem}.events-trace-actions{margin-top:.4rem;display:flex;flex-wrap:wrap;gap:.35rem}.events-error-state button,.events-trace-actions button{border:1px solid #64748b;border-radius:6px;background:#fff;color:#0f172a;padding:.3rem .55rem;cursor:pointer}.events-error-state button:disabled,.events-trace-actions button:disabled{opacity:.5;cursor:not-allowed}.subscription-page{display:grid;grid-gap:.875rem;gap:.875rem}.subscription-form{display:grid;grid-gap:.75rem;gap:.75rem;max-width:460px;padding:.875rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.subscription-form label{display:grid;grid-gap:.35rem;gap:.35rem;font-size:.9rem}.subscription-form select{border:1px solid #cbd5e1;border-radius:6px;padding:.45rem .5rem}.subscription-actions{display:flex}.subscription-actions button,.subscription-feedback button{border:1px solid #334155;border-radius:6px;background:#0f172a;color:#f8fafc;padding:.45rem .7rem;cursor:pointer}.subscription-actions button:disabled,.subscription-feedback button:disabled{opacity:.5;cursor:not-allowed}.subscription-inline-status{margin:0;color:#0f172a;font-weight:600}.subscription-feedback{max-width:560px;border-radius:8px;padding:.875rem;display:grid;grid-gap:.5rem;gap:.5rem}.subscription-feedback h3,.subscription-feedback p{margin:0}.subscription-feedback-success{border:1px solid #a7f3d0;background:#ecfdf5}.subscription-feedback-error{border:1px solid #fecaca;background:#fef2f2}.subscription-intent-links{margin:0;display:flex;flex-wrap:wrap;gap:.5rem}.subscription-intent-links a{display:inline-flex;align-items:center;border:1px solid #64748b;border-radius:999px;padding:.2rem .55rem;color:#0f172a;text-decoration:none;font-size:.85rem}.subscription-intent-links a:hover{border-color:#0f172a}.account-page{display:grid;grid-gap:.875rem;gap:.875rem;max-width:640px}.account-summary{display:grid;grid-gap:.45rem;gap:.45rem;padding:.875rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.account-summary h3,.account-summary p{margin:0}.account-status-chip{display:inline-flex;width:-moz-fit-content;width:fit-content;border-radius:999px;background:#e2e8f0;color:#0f172a;padding:.2rem .55rem;font-size:.85rem;font-weight:600}.account-actions{display:flex;flex-wrap:wrap;gap:.5rem}.account-action{display:inline-flex;align-items:center;border-radius:6px;border:1px solid #334155;padding:.45rem .7rem;text-decoration:none}.account-action-primary{background:#0f172a;color:#f8fafc}.account-action-secondary{background:#fff;color:#0f172a;border-color:#64748b}.account-flow-hint{margin:0;color:#475569}.store-page{display:grid;grid-gap:1rem;gap:1rem}.store-hero{display:grid;grid-gap:.6rem;gap:.6rem;padding:1rem;border:1px solid #cbd5e1;border-radius:12px;background:radial-gradient(circle at top right,rgba(14,165,233,.12),transparent 32%),linear-gradient(135deg,#fff,#eff6ff)}.store-card h3,.store-card h4,.store-card p,.store-feedback h3,.store-feedback p,.store-hero h2,.store-hero p{margin:0}.store-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0f766e}.store-hero-actions{display:flex;flex-wrap:wrap;gap:.5rem}.store-hero-actions a{display:inline-flex;align-items:center;border-radius:999px;border:1px solid #0f172a;padding:.45rem .75rem;color:#0f172a;background:hsla(0,0%,100%,.88);text-decoration:none}.store-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.store-card,.store-grid{display:grid;grid-gap:.875rem;gap:.875rem}.store-card{padding:1rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(15,23,42,.06)}.store-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.store-card-pack-id,.store-sku{color:#475569;font-size:.85rem}.store-price{font-size:1.2rem;font-weight:700;color:#0f172a}.store-bundle{color:#0f172a;font-weight:600}.store-card-section{display:grid;grid-gap:.45rem;gap:.45rem}.store-card-section ul{margin:0;padding-left:1.1rem;color:#334155;display:grid;grid-gap:.35rem;gap:.35rem}.store-card-actions{display:flex}.store-card-actions button,.store-feedback button{border:1px solid #334155;border-radius:6px;background:#0f172a;color:#f8fafc;padding:.5rem .8rem;cursor:pointer}.store-card-actions button:disabled,.store-feedback button:disabled{opacity:.5;cursor:not-allowed}.store-feedback{display:grid;grid-gap:.5rem;gap:.5rem;padding:.9rem;border-radius:10px;max-width:720px}.store-feedback-success{border:1px solid #a7f3d0;background:#ecfdf5}.store-feedback-error{border:1px solid #fecaca;background:#fef2f2}.store-feedback-actions{display:flex;flex-wrap:wrap;gap:.5rem}.store-feedback-actions a{display:inline-flex;align-items:center;border-radius:6px;border:1px solid #64748b;background:#fff;color:#0f172a;padding:.45rem .7rem;text-decoration:none}.store-inline-status{margin:0;color:#0f172a;font-weight:600}@media (max-width:640px){.portal-header{padding:.875rem}.portal-header-top{flex-direction:column}.portal-locale-switcher{align-items:flex-start}.portal-main{padding:.875rem}.events-table td,.events-table th{min-width:130px}.store-card-header{flex-direction:column}}