@import "https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap";:root{--bg:#0a0c10;--surface:#111418;--surface2:#181c22;--border:#1f242c;--border2:#262d38;--text:#e8ecf0;--muted:#6b7480;--accent:#00d9a3;--accent2:#09f;--accent3:#ff6b35;--accent4:#a855f7;--positive:#00d9a3;--negative:#ff4d6d;--warn:#fbbf24;--mono:"Space Mono", monospace;--sans:"DM Sans", sans-serif;--game-item-color:#9aa3ae;--sticky-bg:var(--surface);--chart-bg:var(--bg);--sidebar-w:220px;--topbar-h:56px}html.light{--bg:#f0f4f8;--surface:#fff;--surface2:#f5f7fa;--border:#dde3ec;--border2:#c8d2de;--text:#111827;--muted:#6b7a90;--accent:#00a87e;--accent2:#0076d6;--accent3:#d94f1a;--accent4:#7c3aed;--positive:#00a87e;--negative:#e02244;--warn:#d97706;--game-item-color:#4a5568;--sticky-bg:#fff;--chart-bg:#f0f4f8}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:var(--sans);min-height:100vh;font-size:13px;line-height:1.5}.layout{height:100vh;display:flex;overflow:hidden}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;width:220px;min-width:220px;display:flex;overflow-y:auto}.sidebar-scroll{flex:1;overflow-y:auto}.main{flex-direction:column;flex:1;min-width:0;display:flex;overflow-y:auto}.logo{font-family:var(--mono);color:var(--accent);letter-spacing:0;text-transform:none;border-bottom:1px solid var(--border);flex-shrink:0;padding:20px 18px 14px;font-size:13px;font-weight:700}.sidebar-section{padding:14px 0 4px}.sidebar-label{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;padding:0 18px 6px;font-size:10px;font-weight:600}.sidebar-stage-select{cursor:pointer;-webkit-user-select:none;user-select:none;transition:opacity .15s,background .15s}.sidebar-stage-select:hover{background:var(--surface2);opacity:.9}.sidebar-stage-select.active{background:#00d9a314}.sidebar-genre-group{margin:1px 0 3px}.sidebar-genre-select{color:var(--muted);cursor:pointer;letter-spacing:.06em;-webkit-user-select:none;user-select:none;border-left:2px solid #0000;align-items:center;gap:6px;margin-left:8px;padding:4px 18px 4px 22px;font-size:9.5px;font-weight:700;transition:background .15s,color .15s,border-color .15s;display:flex}.sidebar-genre-select:hover{background:var(--surface2);color:var(--text)}.sidebar-genre-select.active{color:var(--accent);background:#00d9a312}.sidebar-genre-dot{opacity:.9;border-radius:50%;flex-shrink:0;width:4px;height:4px}.sidebar-genre-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.sidebar-genre-count{background:var(--surface2);min-width:18px;color:var(--muted);font-family:var(--mono);text-align:center;border-radius:3px;margin-left:auto;padding:0 4px;font-size:9px}.sidebar-genre-select.active .sidebar-genre-count{color:var(--accent);background:#00d9a31f}.game-item{cursor:pointer;color:var(--game-item-color);-webkit-user-select:none;user-select:none;align-items:center;gap:8px;padding:6px 18px;font-size:12.5px;transition:background .15s;display:flex}.game-item:hover{background:var(--surface2);color:var(--text)}.game-item.active{color:var(--accent);background:#00d9a314}.sidebar-game-nested{padding-left:36px;font-size:12px}.game-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.all-games-dot{background:linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%)}.all-games-item{font-weight:600}.stage-badge{font-size:9px;font-family:var(--mono);background:var(--surface2);color:var(--muted);letter-spacing:.05em;border-radius:3px;flex-shrink:0;margin-left:auto;padding:1px 5px}.game-item.active .stage-badge{color:var(--accent);background:#00d9a326}.theme-toggle{cursor:pointer;color:var(--muted);border-top:1px solid var(--border);-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:7px;padding:8px 18px 12px;font-size:11px;transition:color .15s;display:flex}.theme-toggle:hover{color:var(--text)}.toggle-track{background:var(--border2);border-radius:9px;flex-shrink:0;width:32px;height:17px;transition:background .2s;position:relative}.toggle-thumb{background:var(--muted);border-radius:50%;width:12px;height:12px;transition:all .2s;position:absolute;top:2.5px;left:2.5px}html.light .toggle-track{background:var(--accent)}html.light .toggle-thumb{background:#fff;left:17.5px}.admin-sidebar-btn{cursor:pointer;text-align:left;width:100%;color:var(--game-item-color);border:0;border-top:1px solid var(--border);-webkit-user-select:none;user-select:none;background:0 0;flex-shrink:0;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:11.5px;transition:all .15s;display:flex;position:relative}.admin-sidebar-btn:hover{color:var(--text);background:var(--surface2)}.admin-sidebar-btn.active{color:var(--accent);background:#00d9a30f}.admin-sidebar-btn:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.admin-sidebar-btn-label{font-family:var(--mono);letter-spacing:.06em;font-size:11px;font-weight:700}.admin-sidebar-badge{min-width:18px;height:18px;color:var(--negative);font-family:var(--mono);background:#ff4d6d29;border:1px solid #ff4d6d59;border-radius:999px;justify-content:center;align-items:center;padding:0 5px;font-size:10px;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:6px;right:8px}.divider{background:var(--border);height:1px;margin:4px 0}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:200;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;display:flex;position:sticky;top:0}.filter-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar-actions{align-items:center;gap:8px;margin-left:auto;display:flex;position:relative}.global-date-trigger{min-height:29px}.filter-chip{background:var(--surface2);border:1px solid var(--border2);color:var(--muted);cursor:pointer;white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:5px 10px;font-size:11.5px;transition:all .15s;display:flex}.filter-chip:hover{border-color:var(--accent2);color:var(--text)}.filter-chip.active{border-color:var(--accent);color:var(--accent);background:#00d9a312}.filter-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:600}.filter-value{color:var(--text);font-weight:500}select{background:var(--surface2);border:1px solid var(--border2);color:var(--text);font-family:var(--sans);appearance:none;cursor:pointer;border-radius:6px;outline:none;padding:5px 28px 5px 10px;font-size:11.5px}select:focus{border-color:var(--accent)}.filter-dropdown{position:relative}.filter-dropdown-trigger{border:1px solid var(--border2);background:var(--surface2);min-width:118px;max-width:190px;height:29px;color:var(--text);font-family:var(--sans);text-align:left;cursor:pointer;border-radius:6px;padding:5px 28px 5px 10px;font-size:11.5px;line-height:1;transition:border-color .15s,color .15s,background .15s;position:relative}.filter-dropdown-trigger:after{content:"▾";color:var(--muted);pointer-events:none;font-size:10px;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.filter-dropdown-trigger:hover,.filter-dropdown-trigger.active{border-color:var(--accent2);color:var(--text)}.filter-reset-button{border:1px solid var(--border2);background:var(--surface2);min-width:88px;height:29px;color:var(--text);font-family:var(--sans);letter-spacing:0;text-transform:none;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:5px 10px;font-size:11.5px;font-weight:500;line-height:1;transition:border-color .15s,color .15s,background .15s;display:inline-flex}.filter-reset-button:hover,.filter-reset-button:focus-visible{border-color:var(--accent2);color:var(--text)}.filter-reset-icon{width:14px;height:14px;color:var(--muted);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;flex:0 0 14px;transition:color .15s}.filter-reset-button:hover .filter-reset-icon,.filter-reset-button:focus-visible .filter-reset-icon{color:var(--accent2)}.filter-dropdown-trigger span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.filter-dropdown-trigger .filter-option-content,.filter-dropdown-option .filter-option-content{align-items:center;gap:7px;min-width:0;display:flex}.filter-dropdown-trigger .filter-option-icon,.filter-dropdown-option .filter-option-icon{width:18px;height:16px;color:var(--muted);flex:0 0 18px;justify-content:center;align-items:center;display:inline-flex;overflow:visible}.filter-dropdown-option.selected .filter-option-icon{color:var(--accent)}.filter-dropdown-trigger .filter-option-label,.filter-dropdown-option .filter-option-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.filter-option-svg{width:15px;height:15px;display:block}.filter-option-flag{border-radius:2px;width:18px;height:12px;display:block;overflow:visible;box-shadow:0 0 0 1px #64748b38}.filter-dropdown-menu{z-index:3000;border:1px solid var(--border2);background:var(--surface2);border-radius:8px;min-width:max(100%,178px);max-height:300px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 14px 32px #00000057}.filter-dropdown-menu.portal{z-index:5000;min-width:0;max-width:calc(100vw - 16px);position:fixed}.filter-dropdown-option{width:100%;color:var(--text);font-family:var(--sans);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;padding:7px 8px;font-size:11.5px;display:flex}.filter-dropdown-option:hover{background:var(--surface)}.filter-dropdown-option.selected{color:var(--accent);background:#00d9a314}.filter-dropdown-check{color:var(--accent);font-family:var(--mono);font-size:10px;font-weight:700}.filter-select-wrap{min-width:0;display:block;position:relative}.filter-select-wrap:after{content:"▾";color:var(--muted);pointer-events:none;font-size:10px;position:absolute;top:50%;right:0;transform:translateY(-50%)}.content{flex:1;padding:20px 24px}.section{margin-bottom:28px}.section-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.section-title{font-family:var(--mono);color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:700}.section-sub{color:var(--muted);margin-top:2px;font-size:11px}.period-label{font-family:var(--mono);color:var(--muted);background:var(--surface2);border:1px solid var(--border2);border-radius:4px;padding:2px 8px;font-size:10px}.kpi-table-section{margin-bottom:28px}.kpi-table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:auto}.kpi-table{border-collapse:collapse;width:100%}.kpi-table thead th{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;background:var(--surface);border-bottom:1px solid var(--border);white-space:nowrap;z-index:2;text-align:right;cursor:pointer;-webkit-user-select:none;user-select:none;padding:9px 14px;font-size:10px;font-weight:600;position:sticky;top:0}.kpi-table thead th:hover{color:var(--text)}.kpi-table thead th:first-child{text-align:left;z-index:3;background:var(--surface);cursor:default;min-width:130px;position:sticky;left:0}.kpi-table thead th.sortable,.cohort-table th.sortable,.admin-table th.sortable,.goal-table th.sortable{cursor:pointer}.sort-header-button{appearance:none;width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:4px;margin:0;padding:0;display:inline-flex}.kpi-table .sort-header-button.has-tooltip{position:relative}.kpi-table .sort-header-tooltip{z-index:20;border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border2));background:color-mix(in srgb, var(--surface) 94%, var(--accent));width:max-content;min-width:220px;max-width:300px;color:var(--text);font-family:var(--sans);letter-spacing:0;text-align:left;text-transform:none;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;border-radius:6px;padding:8px 10px 8px 12px;font-size:11px;font-weight:600;line-height:1.35;transition:opacity 80ms,transform 80ms,visibility 0s linear 80ms;position:absolute;top:calc(100% + 9px);right:0;transform:translateY(-3px);box-shadow:0 10px 28px #00000047}.kpi-table .sort-header-tooltip:before{content:"";border-top:1px solid color-mix(in srgb, var(--accent) 28%, var(--border2));border-left:1px solid color-mix(in srgb, var(--accent) 28%, var(--border2));background:inherit;width:8px;height:8px;position:absolute;top:-5px;right:18px;transform:rotate(45deg)}.kpi-table .sort-header-button.has-tooltip:hover .sort-header-tooltip,.kpi-table .sort-header-button.has-tooltip:focus-visible .sort-header-tooltip{opacity:1;visibility:visible;transition-delay:0s;transform:translateY(0)}.kpi-table thead th:first-child .sort-header-tooltip{left:0;right:auto}.kpi-table thead th:first-child .sort-header-tooltip:before{left:18px;right:auto}.kpi-table .stage-col-header .sort-header-tooltip{left:50%;right:auto;transform:translate(-50%,-3px)}.kpi-table .stage-col-header .sort-header-button.has-tooltip:hover .sort-header-tooltip,.kpi-table .stage-col-header .sort-header-button.has-tooltip:focus-visible .sort-header-tooltip{transform:translate(-50%)}.kpi-table .stage-col-header .sort-header-tooltip:before{left:50%;right:auto;transform:translate(-50%)rotate(45deg)}.kpi-table thead th:first-child .sort-header-button,.cohort-table .game-col .sort-header-button,.admin-table th .sort-header-button,.goal-table th:first-child .sort-header-button{justify-content:flex-start}.stage-col-header .sort-header-button,.cohort-table th:not(.game-col) .sort-header-button,.goal-table th:not(:first-child) .sort-header-button{justify-content:center}.sort-header-button:focus-visible{outline:1px solid var(--accent);outline-offset:2px;border-radius:3px}.sort-icon{color:var(--muted);opacity:.55;font-size:9px}.sort-header-info-icon{width:12px;height:12px;color:var(--accent2);fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 12px}.sort-icon.active{color:var(--accent);opacity:1}.kpi-table tbody tr{border-bottom:1px solid var(--border);transition:background .12s}.kpi-table tbody tr:last-child{border-bottom:none}.kpi-table tbody tr:hover,.kpi-table tbody tr:hover td:first-child{background:var(--surface2)}.kpi-table tbody td{text-align:right;white-space:nowrap;padding:8px 14px}.kpi-table tbody td:first-child{text-align:left;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;background:var(--surface);z-index:1;font-size:11px;font-weight:600;position:sticky;left:0}.game-name-cell{align-items:center;gap:7px;display:flex}.stage-col-header{text-align:center!important}.stage-cell{min-width:56px;text-align:center!important}.stage-text{font-family:var(--mono);letter-spacing:.08em;font-size:11px;font-weight:700;display:inline-block}.stage-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.kpi-cell{flex-direction:column;align-items:flex-end;display:flex}.kpi-val{font-family:var(--mono);color:var(--text);font-size:12.5px}.kpi-delta-cell{font-family:var(--mono);margin-top:1px;font-size:10px}.kpi-delta-cell.pos{color:var(--positive)}.kpi-delta-cell.neg{color:var(--negative)}.kpi-delta-cell.neu{color:var(--muted)}.empty-state{color:var(--muted);font-size:13px;text-align:center!important;padding:40px 14px!important}.kpi-error{color:var(--negative);padding:20px 24px;font-size:12px}.skeleton{background:linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);background-size:200% 100%;border-radius:4px;height:16px;animation:1.4s infinite shimmer}.skeleton-row td{padding:10px 14px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.date-picker-popover{z-index:3000;background:var(--surface2);border:1px solid var(--border2);min-width:260px;font-family:var(--sans);border-radius:10px;padding:16px 18px;font-size:12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 40px #0009}.date-quick-btns{margin-bottom:12px}.date-quick-btns-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;font-size:10px;font-weight:600}.date-quick-row{flex-wrap:wrap;gap:6px;display:flex}.date-quick-btn{background:var(--surface);border:1px solid var(--border2);color:var(--text);cursor:pointer;font-size:11px;font-family:var(--mono);border-radius:5px;padding:4px 10px;transition:all .15s}.date-quick-btn:hover{border-color:var(--accent);color:var(--accent)}.date-custom{align-items:flex-end;gap:10px;display:flex}.date-field{flex:1}.date-field-label{color:var(--muted);margin-bottom:4px;font-size:10px}.date-input{background:var(--surface);border:1px solid var(--border2);width:100%;color:var(--text);font-family:var(--sans);border-radius:5px;outline:none;padding:5px 8px;font-size:11.5px}.date-input:focus{border-color:var(--accent)}.date-apply-btn{background:var(--accent);color:var(--bg);cursor:pointer;white-space:nowrap;font-size:11.5px;font-weight:700;font-family:var(--sans);border:none;border-radius:5px;padding:6px 14px}.date-apply-btn:hover{opacity:.85}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border2);border-radius:3px}html.light select{background:var(--surface2);color:var(--text)}html.light .kpi-table thead th,html.light .kpi-table tbody td:first-child{background:var(--surface)}html.light .kpi-table tbody tr:hover td:first-child{background:var(--surface2)}html.light .sidebar,html.light .topbar{background:var(--surface)}html.light .filter-chip{background:var(--surface2);border-color:var(--border2)}html.light .filter-chip.active{border-color:var(--accent);color:var(--accent);background:#00a87e14}html.light .filter-dropdown-trigger,html.light .filter-dropdown-menu{background:var(--surface2);border-color:var(--border2)}html.light .filter-dropdown-option:hover{background:var(--surface)}html.light .game-item.active{color:var(--accent);background:#00a87e14}html.light .game-item.active .stage-badge{color:var(--accent);background:#00a87e1f}html.light .date-input{background:var(--surface2);color:var(--text)}html.light .metric-toggle-shell{background:var(--surface2)}html.light .metric-tab.active{background:#00a87e14}.login-page{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:16px;width:360px;padding:48px 40px}.login-brand{font-family:var(--mono,monospace);letter-spacing:.15em;color:var(--accent);margin-bottom:8px;font-size:11px}.login-title{color:var(--text);margin-bottom:8px;font-size:22px;font-weight:700}.login-subtitle{color:var(--muted);margin-bottom:32px;font-size:13px}.login-google-btn{border:1px solid var(--border2);background:var(--surface2);width:100%;color:var(--text);cursor:pointer;font-size:14px;font-weight:500;font-family:var(--sans);border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:12px 20px;transition:background .15s;display:flex}.login-google-btn:hover:not(:disabled){background:var(--border)}.login-google-btn:disabled{opacity:.6;cursor:not-allowed}.login-error{color:var(--negative);margin-top:12px;font-size:12px}.access-card{width:min(560px,100vw - 32px);max-width:560px}.auth-loading{justify-content:center;align-items:center;height:100vh;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.access-loading-spinner{animation:none}}.cohort-section{background:var(--surface);border:1px solid var(--border);border-radius:8px;margin-bottom:20px;padding:18px 20px}.section-header-left{align-items:center;gap:8px;display:flex}.section-title-suffix{font-family:var(--mono);letter-spacing:.08em;color:var(--muted);font-size:10px;font-weight:700}.section-header-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex;position:relative}.metric-toggle-shell{border:1px solid var(--border2);background:var(--surface2);border-radius:8px;align-items:center;gap:7px;min-height:32px;padding:3px;display:flex}.metric-toggle-label{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);white-space:nowrap;padding-left:7px;font-size:8.5px;font-weight:700}.metric-tab-group{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.metric-tab{color:var(--muted);min-width:44px;font-family:var(--mono);letter-spacing:.04em;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 9px;font-size:10px;font-weight:700;transition:all .15s}.metric-tab:hover{border-color:var(--accent2);color:var(--text);background:#0099ff14}.metric-tab.active{border-color:var(--accent);color:var(--accent);background:#00d9a314}.outlier-toggle-btn{color:var(--warn);letter-spacing:0;white-space:nowrap;cursor:pointer;background:#fbbf2414;border:1px solid #fbbf2447;border-radius:6px;min-height:30px;padding:0 10px;font-size:11px;font-weight:700;transition:border-color .15s,background .15s,color .15s}.outlier-toggle-btn:hover{color:var(--text);background:#fbbf2424;border-color:#fbbf2475}.outlier-toggle-btn.active{border-color:var(--accent);color:var(--accent);background:#00d9a31a}.metric-badge{font-family:var(--mono);letter-spacing:.1em;color:var(--accent2);background:#0099ff1f;border:1px solid #09f3;border-radius:4px;padding:2px 6px;font-size:9px;font-weight:700}.warning-badge{font-family:var(--mono);letter-spacing:.08em;color:var(--warn);background:#fbbf241f;border:1px solid #fbbf2440;border-radius:4px;padding:2px 6px;font-size:9px;font-weight:700}.section-warning{color:var(--muted);background:#fbbf2414;border:1px solid #fbbf243d;border-radius:6px;margin:10px 0 14px;padding:9px 12px;font-size:12px}.section-warning-outlier{color:var(--text)}.data-source-help-text{border-bottom:1px solid var(--border);color:var(--muted);background:#ffffff05;padding:8px 12px;font-size:11px;line-height:1.4}.cohort-chart-wrap{z-index:10;margin-bottom:16px;position:relative}.chart-empty-help{border:1px dashed var(--border);min-height:220px;color:var(--muted);text-align:center;border-radius:6px;justify-content:center;align-items:center;font-size:12px;line-height:1.4;display:flex}.chart-tooltip{border:1px solid var(--border2);background:var(--surface2);border-radius:8px;min-width:220px;max-width:320px;padding:9px 10px;box-shadow:0 10px 24px #00000038}.chart-tooltip-label{color:var(--muted);font-family:var(--mono);letter-spacing:.04em;margin-bottom:7px;font-size:10px;font-weight:700}.chart-tooltip-list{flex-direction:column;gap:5px;display:flex}.chart-tooltip-row{grid-template-columns:8px minmax(120px,1fr) auto;align-items:center;gap:7px;min-height:18px;display:grid}.chart-tooltip-row-goal{border-bottom:1px solid var(--border);grid-template-columns:14px minmax(120px,1fr) auto;margin-bottom:2px;padding-bottom:4px}.chart-tooltip-stage-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.chart-tooltip-goal-dash{border-top:2px dashed;width:12px;height:0}.chart-tooltip-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:11px;overflow:hidden}.chart-tooltip-value{color:var(--text);font-family:var(--mono);text-align:right;flex-direction:column;align-items:flex-end;gap:2px;font-size:11px;font-weight:700;display:inline-flex}.chart-tooltip-row-adjusted{align-items:flex-start}.chart-tooltip-subvalue{color:var(--muted);font-size:9px;font-weight:600}.project-legend{flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:8px;display:flex}.project-legend-title{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:5px;font-size:9px;font-weight:700}.project-legend-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-legend-chip{appearance:none;border:1px solid var(--border2);background:color-mix(in srgb, var(--surface2) 82%, transparent);max-width:180px;min-height:26px;color:var(--text);font-family:var(--sans);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:5px 8px;font-size:10.5px;transition:opacity .15s,border-color .15s,background .15s;display:inline-flex}.project-legend-chip:hover,.project-legend-chip.selected{border-color:var(--accent2);background:#0099ff14}.project-legend-chip.muted{opacity:.36}.project-legend-chip:focus-visible{outline:1px solid var(--accent);outline-offset:2px}.project-legend-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.project-legend-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.goal-legend{flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:8px;display:flex}.goal-legend-title{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:3px;font-size:9px;font-weight:700}.goal-legend-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.goal-legend-chip{border:1px solid var(--border2);background:color-mix(in srgb, var(--surface2) 82%, transparent);border-radius:999px;align-items:center;gap:8px;padding:5px 8px;display:inline-flex}.goal-legend-line{border-top:2px dashed;flex-shrink:0;width:14px;height:0}.goal-legend-copy{align-items:baseline;gap:6px;min-width:0;display:inline-flex}.goal-legend-label{color:var(--text);white-space:nowrap;font-size:10.5px}.goal-legend-value{color:var(--muted);font-family:var(--mono);white-space:nowrap;font-size:10px}.cohort-skeleton{margin-bottom:16px}.dashboard-metric-skeleton{flex-direction:column;gap:12px;display:flex}.dashboard-chart-skeleton{height:220px}.dashboard-heatmap-skeleton{height:180px}.cohort-empty{text-align:center;color:var(--muted);padding:40px 0;font-size:13px}.cohort-section-guide{color:var(--muted);align-items:center;gap:8px;margin-top:3px;font-size:11px;display:flex}.table-wrap{border:1px solid var(--border);border-radius:6px;overflow-x:auto}.cohort-table{border-collapse:collapse;width:100%;font-size:11.5px}.cohort-table th,.cohort-table td{text-align:center;white-space:nowrap;border-bottom:1px solid var(--border);font-family:var(--mono);padding:7px 12px}.cohort-table th{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;background:var(--surface2);font-size:10px;font-weight:600}.cohort-table tbody tr:last-child td{border-bottom:none}.cohort-table tbody tr:hover{background:var(--surface2)}.cohort-table tbody tr.goal-table-row:hover{background:#fbbf240a}.cohort-table .game-col{text-align:left;min-width:120px;color:var(--text);font-weight:500;font-family:var(--sans);background:var(--surface);z-index:1;font-size:11px;position:sticky;left:0}.cohort-table tbody tr:hover .game-col{background:var(--surface2)}.cohort-table tbody tr.goal-table-row .game-col{background:#fbbf240a}.cohort-table td.missing-data-cell{color:var(--muted);background:0 0!important}.missing-data-value{cursor:help;border-bottom:1px dotted}.cohort-table td.cohort-adjusted-cell{box-shadow:inset 0 0 0 1px #fbbf243d}.cohort-adjusted-value{flex-direction:column;align-items:center;gap:3px;line-height:1.15;display:inline-flex}.cohort-adjustment-badge{width:fit-content;color:var(--warn);font-family:var(--mono);letter-spacing:0;white-space:nowrap;background:#fbbf241f;border:1px solid #fbbf2447;border-radius:4px;align-items:center;padding:1px 4px;font-size:8.5px;font-weight:800;display:inline-flex}.cohort-visual-value{color:var(--muted);font-family:var(--mono);font-size:9px;font-weight:600}.goal-table-row td{background:#fbbf240a;font-size:10.5px}.goal-table-label-cell{font-family:var(--mono);font-size:9.5px;font-weight:700}.goal-table-label{align-items:center;gap:6px;display:inline-flex}.goal-table-badge{color:#fbbf24;height:16px;font-family:var(--mono);text-transform:uppercase;background:#fbbf2414;border:1px solid #fbbf2459;border-radius:4px;align-items:center;padding:0 6px;font-size:9px;font-weight:800;line-height:1;display:inline-flex}.goal-table-dash{border-top:2px dashed;flex-shrink:0;width:14px;height:0}.goal-table-value-cell{font-family:var(--mono);font-size:10.5px}.admin-view{flex-direction:column;flex:1;min-width:0;display:flex;overflow-y:auto}.admin-header{z-index:200;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;position:sticky;top:0}.admin-topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:200;flex-shrink:0;align-items:center;gap:14px;padding:12px 24px;display:flex;position:sticky;top:0}.admin-header>.admin-topbar{z-index:auto;position:static}.admin-back-btn{background:var(--surface2);border:1px solid var(--border2);color:var(--muted);font-size:11px;font-family:var(--mono);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:5px;align-items:center;gap:6px;padding:5px 12px;transition:all .15s;display:flex}.admin-back-btn:hover{border-color:var(--accent);color:var(--accent)}.admin-back-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.admin-topbar-title{font-family:var(--mono);letter-spacing:.06em;color:var(--text);font-size:13px;font-weight:700}.admin-tabs{white-space:nowrap;min-width:0;padding:0 18px;display:flex;overflow-x:auto}.admin-tab{min-height:44px;color:var(--muted);font-family:var(--mono);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:10px 12px 8px;font-size:10.5px;font-weight:700}.admin-tab:hover{color:var(--text)}.admin-tab[aria-selected=true]{border-bottom-color:var(--accent);color:var(--accent)}.admin-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.admin-section{border-bottom:1px solid var(--border);padding:24px 28px}.admin-section-title{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent2);margin-bottom:16px;font-size:10px;font-weight:700}.admin-btn{cursor:pointer;font-size:11px;font-weight:600;font-family:var(--sans);border:none;border-radius:5px;padding:5px 12px;transition:all .15s}.admin-btn-primary{background:var(--accent);color:var(--bg)}.admin-btn-primary:hover{opacity:.85}.admin-btn-danger{color:var(--negative);background:#ff4d6d26;border:1px solid #ff4d6d4d}.admin-btn-danger:hover{background:#ff4d6d40}.admin-btn-ghost{background:var(--surface2);color:var(--text);border:1px solid var(--border2)}.admin-btn-ghost:hover{border-color:var(--accent);color:var(--accent)}.admin-btn-save{color:var(--accent);background:#00d9a31f;border:1px solid #00d9a359}.admin-btn-save:hover{background:#00d9a338}.admin-btn:disabled{opacity:.45;cursor:not-allowed}.admin-toggle-btn{border:1px solid var(--border2);min-width:96px;color:var(--muted);font:inherit;cursor:pointer;background:#94a3b814;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:700;transition:background .15s,color .15s,border-color .15s}.admin-toggle-btn.active{color:var(--accent);background:#00d9a31f;border-color:#00d9a359}.admin-status-chip{border:1px solid var(--border2);min-width:96px;color:var(--muted);background:#94a3b814;border-radius:999px;justify-content:center;align-items:center;padding:6px 12px;font-size:11px;font-weight:700;display:inline-flex}.admin-status-chip.active{color:var(--accent);background:#00d9a31f;border-color:#00d9a359}.admin-table{border-collapse:collapse;width:100%;font-size:12px}.admin-table th{text-align:left;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--border);background:var(--surface);white-space:nowrap;padding:7px 12px;font-size:9.5px;font-weight:600}.admin-table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:7px 12px}.admin-table tr:hover td{background:var(--surface2)}.admin-game-table-wrap{scrollbar-gutter:stable;border:1px solid var(--border);border-radius:8px;max-height:480px;overflow:auto}.admin-game-table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.admin-game-table-wrap .admin-table th{z-index:1;position:sticky;top:0}.admin-input{background:var(--surface2);border:1px solid var(--border2);color:var(--text);font-family:var(--mono);border-radius:4px;outline:none;padding:4px 8px;font-size:11px;transition:border-color .15s}.admin-input:focus{border-color:var(--accent)}.admin-error{color:var(--negative);background:#ff4d6d14;border:1px solid #ff4d6d59;border-radius:6px;margin-bottom:12px;padding:9px 12px}.game-mapping-guide{color:var(--muted);margin:-4px 0 16px;font-size:12px;line-height:1.6}.access-loading-status{min-height:120px;color:var(--game-item-color);justify-content:center;align-items:center;gap:10px;display:flex}.access-loading-spinner{border-width:2px;width:20px;height:20px}.game-mapping-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.game-mapping-filters,.game-mapping-actions{flex-wrap:wrap;gap:6px;display:flex}.game-mapping-filters .admin-btn.active{border-color:var(--accent);color:var(--accent);background:#00d9a314}.game-mapping-count{font-family:var(--mono);color:inherit;margin-left:4px}.game-mapping-search{color:var(--muted);align-items:center;gap:8px;font-size:11px;font-weight:600;display:flex}.game-mapping-search .admin-input{width:min(280px,58vw)}.game-mapping-status{min-height:18px;color:var(--muted);margin-bottom:8px;font-size:11px}.game-mapping-meta{max-width:300px;color:var(--muted);font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;display:block;overflow:hidden}.game-mapping-chip{border:1px solid var(--border2);color:var(--muted);border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.game-mapping-chip.visible{color:var(--accent);background:#00d9a314;border-color:#00d9a359}.game-mapping-chip.unmapped{color:var(--warn);background:#fbbf2414;border-color:#fbbf2459}.game-mapping-empty{color:var(--muted);text-align:center;padding:20px 12px!important}.game-mapping-table td:first-child{min-width:230px}.game-mapping-table{min-width:860px}.game-mapping-table th:last-child,.game-mapping-table td:last-child{min-width:132px;position:sticky;right:0;box-shadow:-10px 0 14px -14px #000000b3}.game-mapping-table th:last-child{z-index:2;background:var(--surface)}.game-mapping-table tbody td:last-child{background:var(--bg)}.game-mapping-table tbody tr:hover td:last-child{background:var(--surface2)}.access-refresh-btn{margin-left:auto}.access-hero{background:linear-gradient(135deg, #00d9a314, transparent 34%), var(--surface);justify-content:space-between;align-items:center;gap:24px;display:flex}.access-hero>div:first-child{min-width:0}.access-hero-kicker{margin-bottom:8px}.access-hero-title{letter-spacing:0;color:var(--text);margin:0;font-size:28px;line-height:1.12}.access-hero-stats{grid-template-columns:repeat(2,minmax(116px,1fr));gap:8px;min-width:280px;display:grid}.access-hero-stats span{border:1px solid var(--border);color:var(--muted);font-family:var(--mono);text-transform:uppercase;background:#94a3b80f;border-radius:6px;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 10px;font-size:10px;display:flex}.access-hero-stats strong{color:var(--text);font-size:17px}.access-list-section{flex-direction:column;gap:10px;display:flex}.access-list-heading,.access-toolbar{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.access-filter-stack{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.access-toolbar-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.access-search-input{width:min(380px,100%);min-width:280px}.access-status-filters{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.access-filter-chip{border:1px solid var(--border2);min-height:30px;color:var(--muted);font-family:var(--mono);cursor:pointer;background:#94a3b814;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:5px 10px;font-size:10.5px;font-weight:700;transition:border-color .15s,color .15s,background .15s;display:inline-flex}.access-filter-chip span{background:var(--surface);min-width:20px;height:20px;color:var(--text);border-radius:999px;justify-content:center;align-items:center;padding:0 6px;display:inline-flex}.access-filter-chip.active{color:var(--accent);background:#00d9a31f;border-color:#00d9a36b}.access-toolbar-select{min-width:148px;height:31px}.access-visible-count{color:var(--muted);font-family:var(--mono);white-space:nowrap;font-size:10.5px}.access-table-wrap{width:100%;max-width:100%;overflow-x:auto}.access-table{table-layout:fixed;min-width:0}.access-role-groups{gap:16px;min-width:0;display:grid}.access-role-group{border:1px solid var(--border);background:linear-gradient(180deg, color-mix(in srgb, var(--surface2) 92%, transparent), transparent);border-radius:12px;min-width:0;padding:14px}.access-role-group:first-child{border-top:1px solid var(--border);padding-top:14px}.access-role-group-header{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:0;display:flex}.access-role-group.collapsed .access-role-group-header{margin-bottom:0}.access-role-group-title{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.access-role-group-name{font-family:var(--mono);text-transform:uppercase;letter-spacing:.08em;font-size:12px}.access-role-group-count{background:var(--surface2);border:1px solid var(--border);min-width:26px;height:26px;font-family:var(--mono);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.access-role-group-count-pending{min-width:18px;height:18px;color:var(--negative);background:#ff4d6d29;border-color:#ff4d6d59;padding:0 5px;font-size:10px;font-weight:700;line-height:1}.access-role-group-toggle{border:1px solid var(--border);background:#94a3b814;border-radius:999px;flex:0 0 26px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex;position:relative}.access-role-group-toggle:before{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:7px;height:7px;transform:translateY(2px)rotate(225deg)}.access-role-group-toggle.collapsed:before{transform:translateY(-2px)rotate(45deg)}.access-table th,.access-table td{text-overflow:ellipsis;white-space:normal;overflow:hidden}.access-table th:first-child,.access-table td:first-child{width:27%;min-width:0}.access-table th:nth-child(2),.access-table td:nth-child(2){width:16%}.access-table th:nth-child(3),.access-table td:nth-child(3){width:10%}.access-table th:nth-child(4),.access-table td:nth-child(4),.access-table th:nth-child(5),.access-table td:nth-child(5),.access-table th:nth-child(6),.access-table td:nth-child(6){width:12%}.access-table th:nth-child(7),.access-table td:nth-child(7){width:11%}.access-user-cell{align-items:center;gap:10px;display:flex}.access-avatar{object-fit:cover;border:1px solid var(--border2);background:var(--surface2);border-radius:50%;flex:0 0 34px;width:34px;height:34px}.access-avatar-fallback{color:var(--text);font-family:var(--mono);letter-spacing:.04em;justify-content:center;align-items:center;font-size:10px;font-weight:700;display:inline-flex}.access-user-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.access-user-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.access-user-copy span{font-family:var(--mono);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:10px;overflow:hidden}.access-status-pill{min-width:72px;font-size:10px;font-family:var(--mono);text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;padding:2px 7px;display:inline-flex}.access-status-pill.pending{color:var(--warn);background:#fbbf241f}.access-status-pill.approved{color:var(--accent);background:#00d9a31f}.access-status-pill.rejected{color:var(--negative);background:#ff4d6d1f}.access-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.access-actions .admin-btn{min-width:68px}.access-role-picker{border:1px solid var(--border);background:var(--surface2);border-radius:999px;align-items:center;width:100%;padding:4px;display:inline-flex}.access-role-picker.changed{border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent)}.access-role-picker.disabled{opacity:.72}.access-role-select{background:0 0;border-color:#0000;border-radius:999px;width:100%;min-width:0;height:28px;padding-left:12px;padding-right:28px}.access-role-help{max-width:220px;margin-top:6px}.access-confirm-backdrop{z-index:120;background:#0000007a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.access-confirm-dialog{border:1px solid var(--border2);background:var(--surface);border-radius:8px;width:min(420px,100%);padding:20px;box-shadow:0 24px 80px #00000052}.access-confirm-eyebrow{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--negative);margin-bottom:8px;font-size:10px;font-weight:700}.access-confirm-title{color:var(--text);margin-bottom:14px;font-size:18px;font-weight:700}.access-confirm-copy{color:var(--text);flex-direction:column;gap:6px;font-size:13px;line-height:1.55;display:flex}.access-confirm-user{border:1px solid var(--border2);background:var(--surface2);border-radius:8px;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.access-confirm-user-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.access-confirm-user-copy strong,.access-confirm-user-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.access-confirm-copy span{font-family:var(--mono);color:var(--muted);font-size:11px}.access-confirm-copy p{color:var(--muted);margin:8px 0 0}.access-confirm-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.admin-select{background:var(--surface2);border:1px solid var(--border2);color:var(--text);font-family:var(--sans);appearance:none;cursor:pointer;border-radius:4px;outline:none;padding:4px 24px 4px 8px;font-size:11.5px;transition:border-color .15s}.admin-select:focus{border-color:var(--accent)}.game-mapping-select{appearance:auto;width:100%;min-width:120px;height:31px;padding-right:4px}.game-mapping-genre-input{flex-direction:column;gap:4px;min-width:160px;display:flex}.game-mapping-field-error{max-width:190px;color:var(--negative);font-size:9px;line-height:1.3}.game-mapping-stage-dropdown,.game-mapping-stage-dropdown .filter-dropdown-trigger{width:100%;min-width:120px;max-width:none}.game-mapping-stage-dropdown .filter-dropdown-trigger{height:31px}html:not(.light) .game-mapping-select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html.light .game-mapping-select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.admin-filter-option-main{align-items:center;gap:8px;display:inline-flex}.admin-filter-stage-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.admin-history-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.admin-history-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-history-count{font-family:var(--mono);color:var(--game-item-color);font-size:11px}.admin-history-summary-wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}.admin-history-summary-table{min-width:520px}.admin-history-summary-table caption{color:var(--game-item-color);font-family:var(--mono);text-align:left;padding:10px 12px;font-size:10.5px}.admin-history-summary-table th[scope=row]{color:var(--text);text-align:left;text-transform:none;letter-spacing:normal;font-size:11.5px;font-weight:600}.admin-history-summary-table td:last-child{color:var(--text);font-family:var(--mono);text-align:right;font-weight:700}.admin-user-ranking-table{min-width:900px}.admin-user-ranking-table caption{color:var(--game-item-color);font-family:var(--mono);text-align:left;padding:10px 12px;font-size:10.5px}.admin-user-ranking-table th[scope=row]{text-align:left;text-transform:none;letter-spacing:normal;min-width:260px}.admin-user-ranking-table td{white-space:nowrap}.admin-user-ranking-table td:nth-child(n+3):nth-child(-n+6),.admin-user-ranking-rank{color:var(--text);font-family:var(--mono);text-align:right;font-weight:700}.admin-history-table-wrap{overflow-x:auto}.admin-history-scroll-wrap{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--border);border-radius:8px;max-height:min(30rem,55vh);overflow:auto}.admin-history-scroll-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.admin-history-scroll-wrap .admin-table thead th{z-index:2;box-shadow:0 1px 0 var(--border);position:sticky;top:0}.admin-history-table td{white-space:nowrap;vertical-align:top}.admin-history-table td:nth-child(2){min-width:260px}.admin-history-table td:nth-child(7){white-space:normal;min-width:280px}.admin-history-panel{margin-bottom:0}.admin-history-admin-table{min-width:1180px}.admin-history-event-row td{border-bottom-color:color-mix(in srgb, var(--border) 82%, transparent)}.admin-history-admin-table td:nth-child(2){min-width:260px}.admin-history-admin-table td:nth-child(4){min-width:140px}.admin-history-admin-table td:nth-child(5){min-width:150px}.admin-history-admin-table td:nth-child(6){white-space:normal;min-width:300px}.admin-history-admin-table td:nth-child(7){white-space:normal;min-width:360px}.admin-history-actor{align-items:center;gap:10px;min-width:0;display:flex}.admin-history-avatar{border:1px solid var(--border2);background:var(--surface2);object-fit:cover;border-radius:50%;flex:0 0 32px;width:32px;height:32px}.admin-history-avatar-fallback{color:var(--accent);font-family:var(--mono);background:#00d9a31a;justify-content:center;align-items:center;font-size:10px;font-weight:700;display:inline-flex}.admin-history-actor-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.admin-history-actor-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.admin-history-actor-copy span,.admin-history-actor-copy em,.admin-history-muted,.admin-history-metadata{font-family:var(--mono);color:var(--muted);font-size:11px}.admin-history-actor-copy em{color:var(--accent2);font-style:normal}.admin-history-target{color:var(--text);font-weight:600}.admin-history-change-digest{gap:7px;display:grid}.admin-history-change-summary{color:var(--text);line-height:1.45}.admin-history-chip-row,.admin-history-field-preview{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.admin-history-mini-chip,.admin-history-field-preview span{border:1px solid var(--border);min-height:20px;font-family:var(--mono);color:var(--muted);background:var(--surface2);border-radius:999px;align-items:center;padding:2px 7px;font-size:10px;display:inline-flex}.admin-history-field-preview span{color:var(--accent);background:#00d9a312;border-color:#00d9a33d}.admin-history-diff-list{gap:6px;display:grid}.admin-history-diff-head{color:var(--muted);font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;grid-template-columns:minmax(132px,1fr) minmax(86px,.8fr) minmax(86px,.8fr);gap:6px;font-size:9.5px;display:grid}.admin-history-diff-rows{gap:5px;display:grid}.admin-history-diff-row{grid-template-columns:minmax(132px,1fr) minmax(86px,.8fr) minmax(86px,.8fr);align-items:center;gap:6px;font-size:11px;display:grid}.admin-history-diff-row span:first-child{color:var(--text);overflow-wrap:anywhere}.admin-history-diff-row code{text-overflow:ellipsis;border:1px solid var(--border);max-width:190px;color:var(--muted);background:var(--surface2);border-radius:4px;padding:2px 5px;overflow:hidden}.admin-history-table td:nth-child(11){white-space:normal;min-width:320px}.admin-history-empty{text-align:center;color:var(--muted);font-size:12px;padding:20px 0!important}.admin-history-user{align-items:center;gap:10px;display:flex}.admin-history-time{color:var(--muted);font-family:var(--mono);font-size:10.5px}.admin-history-action{color:var(--accent2);background:#00a8ff14;border:1px solid #00a8ff4d;border-radius:999px;align-items:center;padding:2px 7px;font-size:10.5px;font-weight:700;display:inline-flex}.admin-history-source{border-radius:999px;align-items:center;padding:2px 7px;font-size:10px;font-weight:700;display:inline-flex}.admin-history-source.access{color:var(--accent2);background:#00a8ff14;border:1px solid #00a8ff4d}.admin-history-source.admin{color:var(--accent);background:#00d9a31a;border:1px solid #00d9a34d}.admin-history-summary-cell{line-height:1.5}.admin-history-user-agent{color:var(--muted);font-family:var(--mono);font-size:10px}.goal-table{border-collapse:collapse;width:100%;font-size:11.5px}.goal-table th{text-align:center;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--border);background:var(--surface);white-space:nowrap;padding:7px 10px;font-size:9px;font-weight:600}.goal-table th:first-child{text-align:left;min-width:80px}.goal-table td{border-bottom:1px solid var(--border);vertical-align:middle;text-align:center;padding:5px 8px}.goal-table td:first-child{text-align:left}.goal-input{background:var(--surface2);border:1px solid var(--border2);color:var(--text);font-family:var(--mono);text-align:right;border-radius:4px;outline:none;width:80px;padding:3px 6px;font-size:11px;transition:border-color .15s}.goal-input:focus{border-color:var(--accent)}.goal-input.is-edited{color:var(--accent);border-color:#00d9a366}.csv-zone{border:2px dashed var(--border2);text-align:center;color:var(--muted);cursor:pointer;border-radius:8px;padding:24px;font-size:12px;transition:border-color .15s}.csv-zone:hover{border-color:var(--accent2);color:var(--text)}@media (width<=1024px){.topbar{padding:12px 16px}.topbar-actions{justify-content:flex-end;width:100%;margin-left:0}.global-date-trigger{flex:1;min-width:0}.section-header{align-items:flex-start;gap:10px}.section-header-right{justify-content:flex-start;width:100%}.metric-toggle-shell{max-width:100%}.metric-tab-group{flex-wrap:nowrap;overflow-x:auto}.date-picker-popover{width:min(100%,320px);left:0;right:auto}.date-custom{flex-wrap:wrap}.date-apply-btn{width:100%}}@media (width<=720px){.layout{flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;width:100%;min-width:0;min-height:54px;max-height:54px;overflow:auto hidden}.logo{border-bottom:0;padding:0 16px}.sidebar-scroll{display:none}.admin-sidebar-btn{border-top:0;border-left:1px solid var(--border);min-height:54px;padding:0 14px}.admin-sidebar-badge{top:6px;right:4px}.theme-toggle{border-top:0;border-left:1px solid var(--border);white-space:nowrap;min-height:54px;padding:0 14px}.main{width:100%;min-height:0}.filter-group{width:100%}.topbar-actions{align-items:stretch}.global-date-trigger{min-height:44px}.admin-topbar,.access-toolbar,.access-toolbar-controls{flex-wrap:wrap}.admin-tabs{padding-inline:8px}.admin-section{padding:20px 16px}.game-mapping-toolbar{flex-direction:column;align-items:stretch}.game-mapping-search,.game-mapping-search .admin-input{width:100%}.access-refresh-btn{margin-left:0}.access-hero{flex-direction:column;align-items:stretch;gap:16px}.access-hero-title{font-size:24px}.access-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.access-toolbar{flex-direction:column;align-items:stretch}.access-toolbar-controls,.access-filter-stack,.access-status-filters,.access-search-input{width:100%;min-width:0}.access-toolbar-controls{justify-content:flex-start}.access-toolbar-select{flex:180px;min-width:0}.access-list-heading{flex-direction:column;gap:6px}.access-role-group-header{flex-wrap:wrap}.access-table-wrap{overflow:visible}.access-table{min-width:0;display:block}.access-table thead{display:none}.access-table tbody,.access-table tr,.access-table td{width:100%;display:block}.access-table td:first-child,.access-table td:nth-child(2),.access-table td:nth-child(3),.access-table td:nth-child(4),.access-table td:nth-child(5),.access-table td:nth-child(6),.access-table td:nth-child(7){width:100%}.access-table tr{border:1px solid var(--border);background:var(--surface2);border-radius:8px;margin-bottom:10px;padding:12px}.access-table td{white-space:normal;border-bottom:0;padding:8px 0}.access-table td:before{content:attr(data-label);color:var(--muted);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:700;display:block}.access-table td:first-child{min-width:0}.access-user-copy strong,.access-user-copy span{white-space:normal;overflow-wrap:anywhere;max-width:100%}.access-role-picker{border-radius:8px;flex-wrap:wrap;width:100%}.access-role-select{flex:120px;min-width:0}.access-actions{flex-wrap:wrap}.access-actions .admin-btn{flex:108px}}@media (width<=520px){.filter-dropdown{flex:140px}.filter-dropdown-trigger{width:100%;max-width:none}.filter-dropdown-menu{min-width:100%}.topbar-actions{flex-direction:column}.date-picker-popover{width:calc(100vw - 32px)}.access-filter-chip{flex:calc(50% - 4px);min-width:0}.access-hero-stats{grid-template-columns:1fr}}
