*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;color:#e8eaed;background:#0f1419;min-height:100vh}a{color:#7cb7ff}.app-shell{max-width:960px;margin:0 auto;padding:0 2rem}.app-shell.dashboard{max-width:min(1800px,100%);padding-left:clamp(.65rem,2.5vw,2rem);padding-right:clamp(.65rem,2.5vw,2rem)}.card{background:#1a2332;border:1px solid #2a3545;border-radius:10px;padding:1.5rem;max-width:420px}.card h1{margin:0 0 1rem;font-size:1.25rem;font-weight:600}.field{margin-bottom:1rem}.field label{display:block;font-size:.875rem;margin-bottom:.35rem;color:#b8c0cc}.field input{width:100%;padding:.5rem .65rem;border-radius:6px;border:1px solid #3d4a5c;background:#0f1419;color:#e8eaed;font-size:1rem}.field input:focus{outline:2px solid #3d6fb8;outline-offset:0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1rem;border-radius:6px;border:none;font-size:.95rem;font-weight:600;cursor:pointer;background:#2d6cdf;color:#fff}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#2a3545;color:#e8eaed}.error{color:#f2a4a4;font-size:.875rem;margin:0 0 .75rem}.report-panel{background:#1a2332;border:1px solid #2a3545;border-radius:10px;padding:1.5rem}.report-panel pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:.875rem}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.toolbar h1{margin:0;font-size:1.25rem}.toolbar-sub{margin:.25rem 0 0;font-size:.875rem}.main-nav{display:flex;flex-wrap:wrap;gap:.35rem .65rem;align-items:center;margin-top:.5rem}.site-header .main-nav{margin-top:0}.nav-link{color:#8b95a5;text-decoration:none;font-size:.8125rem;font-weight:600;padding:.2rem .35rem;border-radius:4px}.nav-link:hover{color:#c5cdd8}.nav-link.nav-link--active{color:#e8eaed}.page-title{margin:0 0 .35rem;font-size:1.05rem;font-weight:600}.page-lead{margin:0 0 1.25rem;font-size:.875rem}.date-filter{display:flex;flex-wrap:wrap;gap:.75rem 1rem;align-items:flex-end;margin-top:.75rem}.site-header .date-filter{margin-top:0;gap:.4rem .65rem}.site-header .date-filter-field{font-size:.75rem}.site-header .date-filter-field--preset{min-width:0;flex:1 1 min(100%,11rem)}.site-header .date-preset-select,.site-header .date-filter-field input[type=date]{padding:.28rem .45rem;font-size:.8125rem}.date-filter-field{display:flex;flex-direction:column;gap:.25rem;font-size:.8125rem}.date-filter-field input[type=date]{padding:.35rem .5rem;border-radius:6px;border:1px solid #3d4a5c;background:#0f1419;color:#e8eaed;font-size:.875rem}.date-filter-field input[type=date]:focus{outline:2px solid #3d6fb8;outline-offset:0}.date-filter-field--preset{min-width:min(100%,220px)}.date-preset-select{padding:.35rem .5rem;border-radius:6px;border:1px solid #3d4a5c;background:#0f1419;color:#e8eaed;font-size:.875rem;max-width:100%}.date-preset-select:focus{outline:2px solid #3d6fb8;outline-offset:0}.muted{color:#8b95a5}.summary-section{margin-bottom:1.5rem;padding:1rem 1.25rem;background:#141c28;border:1px solid #2a3545;border-radius:10px}.summary-section-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.75rem}.summary-heading{margin:0;font-size:1rem;font-weight:600}.summary-generated{margin:0;font-size:.8125rem}.summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.summary-card{background:#1a2332;border:1px solid #2a3545;border-radius:8px;padding:.65rem .85rem;min-width:0}.summary-card--button{width:100%;text-align:left;cursor:pointer}.summary-card--button:hover{border-color:#3b4f69}.summary-card-value{margin:0;font-size:1.35rem;font-weight:700;font-variant-numeric:tabular-nums;color:#e8eaed;line-height:1.2}.summary-card-label{margin:.35rem 0 0;font-size:.75rem;color:#8b95a5;line-height:1.3}.summary-compare{margin:.4rem 0 0;line-height:1.35}.summary-compare-main{margin:0;font-size:.72rem;font-weight:700}.summary-compare-sub{margin:.12rem 0 0;font-size:.66rem;color:#8b95a5}.summary-compare--positive .summary-compare-main{color:#5ab87a}.summary-compare--negative .summary-compare-main{color:#e27d7d}.summary-compare--neutral .summary-compare-main{color:#c5cdd8}.dashboard{max-width:1200px}.dashboard-report-panels{display:flex;flex-direction:column;gap:1rem}.dashboard-skeleton-panels{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.dashboard-report-row{display:grid;gap:1rem;align-items:start}.dashboard-report-row--three{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-report-row--four{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-report-row--cohorts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-report-row--single{grid-template-columns:minmax(0,1fr)}@media(max-width:1024px){.dashboard-report-row--three,.dashboard-report-row--four,.dashboard-report-row--cohorts{grid-template-columns:1fr}}.report-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}@media(max-width:1024px){.report-panels{grid-template-columns:1fr}}.report-widget.report-section{min-width:0}.report-panels .report-widget--full{grid-column:1 / -1}.report-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#090d12bf;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.report-modal-content{width:min(1200px,100%);max-height:90vh;overflow:auto;background:#0f151d;border:1px solid #2a3545;border-radius:.8rem;padding:1rem}.site-header{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title logout" "nav nav" "filters filters";gap:.4rem .6rem;align-items:center;padding:max(.35rem,env(safe-area-inset-top,0px)) 0 .55rem;margin-bottom:.65rem;border-bottom:1px solid #2a3545;position:sticky;top:0;z-index:30;background:#0f1419}.site-header__title{grid-area:title;margin:0;font-size:clamp(.9rem,2.8vw,1.05rem);font-weight:600;letter-spacing:-.02em;line-height:1.2}.site-header__nav{grid-area:nav}.site-header__filters{grid-area:filters;width:100%}.site-header__logout{grid-area:logout;justify-self:end;white-space:nowrap}@media(max-width:859px){.site-header .nav-link{padding:.45rem .55rem;min-height:2.5rem;display:inline-flex;align-items:center}.site-header__logout{min-height:2.5rem;padding-left:.75rem;padding-right:.75rem}}@media(min-width:860px){.site-header{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"title nav filters logout";gap:.45rem .85rem;padding-bottom:.5rem}.site-header__filters.date-filter{justify-content:flex-end;width:auto;min-width:0}}.report-modal-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;margin-bottom:.75rem}.cohort-chart-stack{display:flex;flex-direction:column;gap:1.25rem}.cohort-subsection{min-width:0}.cohort-subsection-title{margin:0 0 .5rem;font-size:.95rem;font-weight:600;color:#c5cdd8}.cohort-line-chart-wrap{min-width:0}.cohort-chart-caption{margin:0 0 .5rem;font-size:.8125rem}.cohort-heatmap-scroll{max-height:min(70vh,640px)}.cohort-heatmap-table .cohort-label-cell{white-space:nowrap;font-weight:500;background:#141c28}.cohort-heatmap-table .cohort-value-cell{font-variant-numeric:tabular-nums;text-align:right;color:#0f1419;font-weight:600;font-size:.75rem}.cohort-heatmap-table .cohort-value-cell--empty{background:transparent!important;font-weight:400;min-width:2rem}.cohort-heatmap-table th,.cohort-heatmap-table td{padding:.35rem .45rem}.report-section{background:#1a2332;border:1px solid #2a3545;border-radius:10px;padding:1rem 1.25rem 1.25rem}.report-skeleton-card{border-radius:10px;border:1px solid #2a3545;background:linear-gradient(90deg,#141c28 25%,#1c2736 37%,#141c28 63%);background-size:400% 100%;min-height:220px;animation:report-skeleton-shimmer 1.2s ease-in-out infinite}.report-skeleton-card--tall{min-height:320px}@keyframes report-skeleton-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.report-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.report-section h2{margin:0 0 .35rem;font-size:1.05rem;font-weight:600}.report-description{margin:0;font-size:.875rem;color:#8b95a5;max-width:52rem}.row-count{margin:0 0 .5rem;font-size:.8125rem;color:#8b95a5}.btn-small{padding:.35rem .65rem;font-size:.8125rem;flex-shrink:0}.table-scroll{max-height:min(60vh,520px);overflow:auto;border:1px solid #2a3545;border-radius:8px}.data-table{width:100%;border-collapse:collapse;font-size:.8125rem}.data-table th,.data-table td{padding:.45rem .65rem;text-align:left;border-bottom:1px solid #2a3545;vertical-align:top}.data-table th{position:sticky;top:0;z-index:1;background:#141c28;font-weight:600;color:#c5cdd8;white-space:nowrap}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#ffffff08}@media(max-width:768px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cohort-heatmap-table th,.cohort-heatmap-table td{padding:.25rem .35rem;font-size:.7rem}.cohort-heatmap-table .cohort-value-cell{font-size:.68rem}}
