:root{--bg-primary:#fafafa;--bg-secondary:#fff;--bg-tertiary:#f5f5f7;--text-primary:#1d1d1f;--text-secondary:#6e6e73;--text-tertiary:#86868b;--accent-profit:#ff5f1f;--accent-loss:#ff3b30;--accent-info:#7c3aed;--accent-cyan:#06b6d4;--border:#e5e5ea;--border-focus:#ff5f1f;--shadow-card:0 1px 3px rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.06);--shadow-elevated:0 4px 16px rgba(0,0,0,.08);--radius:12px;--radius-sm:8px}*{box-sizing:border-box;margin:0;padding:0}body,html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.section-header{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}.label,.section-header{color:var(--text-secondary)}.label{font-size:13px}.label,.value{font-weight:500}.value{font-size:15px;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.annotation{font-size:12px;color:var(--text-tertiary)}.app-container{display:flex;min-height:calc(100vh - 48px)}.input-panel{width:420px;min-width:420px;background:var(--bg-secondary);border-right:1px solid var(--border);padding:24px}.input-panel,.output-panel{overflow-y:auto;height:calc(100vh - 48px)}.output-panel{flex:1 1;background:var(--bg-primary);padding:32px}.card{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:20px;margin-bottom:16px}.card-elevated{box-shadow:var(--shadow-elevated)}.input-group{margin-bottom:24px}.input-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;min-height:36px}.number-input{width:80px;text-align:right;border:none;border-bottom:1px solid transparent;background:transparent;font-size:15px;font-weight:500;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;padding:4px 0;outline:none;transition:border-color .2s ease}.number-input:hover{border-bottom-color:var(--border)}.number-input:focus{border-bottom-color:var(--border-focus)}.pill-toggle{display:inline-flex;background:var(--bg-tertiary);border-radius:20px;padding:3px;gap:2px}.pill-option{padding:6px 16px;border-radius:17px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:transparent;color:var(--text-secondary);transition:all .2s ease}.pill-option.active{background:var(--accent-profit);color:#fff}.toggle-switch{position:relative;width:44px;height:24px;background:var(--border);border-radius:12px;cursor:pointer;transition:background .2s ease;border:none;padding:0}.toggle-switch.active{background:var(--accent-profit)}.toggle-switch:after{content:"";position:absolute;width:20px;height:20px;background:#fff;border-radius:50%;top:2px;left:2px;transition:transform .2s ease;box-shadow:0 1px 3px rgba(0,0,0,.1)}.toggle-switch.active:after{transform:translateX(20px)}.three-toggle{display:inline-flex;background:var(--bg-tertiary);border-radius:var(--radius-sm);padding:2px;gap:1px}.three-toggle-option{padding:5px 12px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:var(--text-secondary);transition:all .2s ease}.three-toggle-option.active{background:var(--accent-profit);color:#fff}.select-input{border:none;border-bottom:1px solid transparent;background:transparent;font-size:15px;font-weight:500;color:var(--text-primary);padding:4px 0;outline:none;cursor:pointer;transition:border-color .2s ease}.select-input:hover{border-bottom-color:var(--border)}.select-input:focus{border-bottom-color:var(--border-focus)}.profit-hero{text-align:center;padding:32px 20px}.profit-hero .amount{font-size:48px;font-weight:600;transition:color .2s ease;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.profit-hero .amount.positive{color:var(--accent-profit)}.profit-hero .amount.negative{color:var(--accent-loss)}.profit-hero .margin{font-size:24px;font-weight:500;margin-top:4px;transition:color .2s ease}.profit-hero .margin.positive{color:var(--accent-profit)}.profit-hero .margin.negative{color:var(--accent-loss)}.profit-hero .range{font-size:13px;color:var(--text-tertiary);margin-top:8px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:12px;gap:12px}.metric-item{padding:12px;background:var(--bg-tertiary);border-radius:var(--radius-sm)}.metric-item .metric-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);margin-bottom:4px}.metric-item .metric-value{font-size:18px;font-weight:600;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.quick-wins{display:flex;flex-wrap:wrap;gap:8px}.quick-win-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--bg-tertiary);border-radius:20px;font-size:12px;font-weight:500;color:var(--text-secondary);transition:all .2s ease;cursor:default}.quick-win-chip .delta{color:var(--accent-profit);font-weight:600}.collapsible-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:8px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.collapsible-header .chevron{font-size:12px;color:var(--text-tertiary);transition:transform .2s ease}.collapsible-header .chevron.open{transform:rotate(180deg)}.scenario-table{width:100%;border-collapse:collapse;font-size:13px}.scenario-table th{text-align:left;padding:8px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);border-bottom:1px solid var(--border)}.scenario-table td{padding:8px 12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;border-bottom:1px solid var(--bg-tertiary)}.scenario-table tr:last-child td{border-bottom:none}.ai-card{animation:fadeIn .3s ease}.ai-insight{padding:8px 0;font-size:14px;line-height:1.5;color:var(--text-primary)}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.btn-primary{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;background:var(--accent-profit);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-primary:hover{filter:brightness(1.1)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;background:var(--bg-tertiary);color:var(--text-primary);border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:var(--border)}.btn-small{padding:6px 12px;font-size:12px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.schedule-warning{padding:10px 14px;background:#fff3cd;border-left:3px solid #ffc107;border-radius:4px;font-size:13px;color:#856404;margin-top:8px}.computed-tag{display:inline-flex;align-items:center;font-size:12px;color:var(--accent-info);font-weight:500}@media (max-width:1199px){.app-container{flex-direction:column}.input-panel{width:100%;min-width:unset;height:auto;border-right:none;border-bottom:1px solid var(--border)}.output-panel{height:auto}.profit-hero-sticky{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:var(--bg-secondary);box-shadow:var(--shadow-card)}}.chart-container{width:100%;height:300px}.scenario-card{transition:transform .2s ease}.scenario-card:hover{transform:scale(1.02)}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .2s ease}.modal-content{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-elevated);padding:24px;width:400px;max-width:90vw}.modal-input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;outline:none;transition:border-color .2s ease}.modal-input:focus{border-color:var(--border-focus)}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.cost-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}.cost-row .cost-label{color:var(--text-secondary)}.cost-row .cost-value{font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cost-row.total{border-top:1px solid var(--border);margin-top:4px;padding-top:10px;font-weight:600}.revenue-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}.revenue-row .deduction{color:var(--accent-loss)}.helper-text{font-size:10px;color:var(--text-tertiary);margin-top:4px;line-height:1.3}.nav-bar{display:flex;align-items:center;height:48px;padding:0 24px;background:var(--bg-secondary);border-bottom:1px solid var(--border);gap:32px}.nav-brand{font-size:14px;font-weight:700;color:var(--text-primary);letter-spacing:-.01em}.nav-links{display:flex;gap:4px}.nav-link{font-size:13px;font-weight:500;color:var(--text-secondary);text-decoration:none;padding:6px 12px;border-radius:var(--radius-sm);transition:background .15s,color .15s}.nav-link:hover{background:var(--bg-tertiary);color:var(--text-primary)}.nav-link-active{color:var(--accent-profit);background:rgba(255,95,31,.08)}.fb-ads-container{max-width:1280px;margin:0 auto;padding:24px 32px;min-height:calc(100vh - 48px)}.fb-ads-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:20px}.data-quality-banner{border-radius:var(--radius-sm);padding:12px 16px;margin-bottom:16px;display:flex;flex-direction:column;gap:8px}.data-quality-banner.severity-error{background:#fef2f2;border:1px solid #fecaca}.data-quality-banner.severity-warning{background:#fffbeb;border:1px solid #fde68a}.data-quality-banner.severity-info{background:#f0f9ff;border:1px solid #bae6fd}.data-quality-item{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--text-primary)}.data-quality-icon{flex-shrink:0;font-size:14px}.data-quality-dismiss{align-self:flex-end;background:none;border:none;font-size:12px;color:var(--text-tertiary);cursor:pointer;padding:4px 8px}.data-quality-dismiss:hover{color:var(--text-primary)}.dropzone{border:2px dashed var(--border);border-radius:var(--radius);padding:32px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;color:var(--text-secondary);font-size:14px}.dropzone.drag-active,.dropzone:hover{border-color:var(--accent-profit);background:rgba(255,95,31,.04)}.dropzone-loaded{border-style:solid;border-color:#10b981;background:#f0fdf4;color:var(--text-primary)}.dropzone-icon{font-size:32px;margin-bottom:8px}.dropzone-hint{font-size:12px;color:var(--text-tertiary);margin-top:8px}.date-range-row{display:flex;align-items:center;gap:8px}.date-input{font-size:13px;font-family:inherit;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-primary);outline:none}.date-input:focus{border-color:var(--border-focus)}.date-presets{display:flex;gap:4px;flex-wrap:wrap}.date-preset-btn{font-size:11px;font-family:inherit;padding:4px 10px;border:1px solid var(--border);border-radius:20px;background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;transition:all .15s}.date-preset-btn.active,.date-preset-btn:hover{background:var(--accent-profit);color:#fff;border-color:var(--accent-profit)}.breadcrumb{display:flex;align-items:center;gap:4px;font-size:13px;margin-bottom:16px}.breadcrumb-item{color:var(--text-tertiary);cursor:pointer;transition:color .15s}.breadcrumb-item:hover{color:var(--accent-profit)}.breadcrumb-active{color:var(--text-primary);font-weight:600;cursor:default}.breadcrumb-sep{color:var(--text-tertiary);font-size:11px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:12px;gap:12px;margin-bottom:20px}.summary-card{background:var(--bg-secondary);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-card)}.summary-card-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);margin-bottom:6px}.summary-card-value{font-size:24px;font-weight:700;color:var(--text-primary);line-height:1.1}.summary-card-sub{font-size:11px;color:var(--text-tertiary);margin-top:4px}.data-table-wrapper{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);overflow-x:auto;margin-bottom:20px}.data-table-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 0}.data-table-title{font-size:14px;font-weight:600;color:var(--text-primary)}.data-table-actions{display:flex;gap:8px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:10px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);border-bottom:1px solid var(--border);white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.data-table th:hover{color:var(--text-primary)}.data-table th .sort-arrow{margin-left:4px;font-size:10px}.data-table td{padding:10px 12px;border-bottom:1px solid var(--bg-tertiary);white-space:nowrap}.data-table tr.clickable{cursor:pointer;transition:background .15s}.data-table tr.clickable:hover{background:var(--bg-tertiary)}.data-table tr.selected-row{background:rgba(5,150,105,.08)}.data-table tr.selected-row td.name-cell{color:var(--accent-profit)}.data-table tr.clickable.selected-row:hover{background:rgba(5,150,105,.12)}.data-table td.name-cell{font-weight:500;color:var(--text-primary);max-width:200px;overflow:hidden;text-overflow:ellipsis}.expand-toggle{background:none;border:none;cursor:pointer;padding:0 4px;font-size:10px;color:var(--text-tertiary);transition:color .15s;flex-shrink:0}.expand-toggle:hover{color:var(--text-primary)}.expand-arrow{display:inline-block;transition:transform .2s ease}.expand-arrow.expanded{transform:rotate(90deg)}.data-table tr.nested-adset-row{background:rgba(26,26,62,.03)}.data-table tr.nested-adset-row td.name-cell{font-weight:500}.data-table tr.nested-ad-row{background:var(--bg-tertiary)}.data-table tr.nested-ad-row td{font-size:12px;padding:7px 12px;color:var(--text-secondary)}.data-table tr.nested-ad-row td.name-cell{font-weight:400;color:var(--text-secondary)}.metric-good{color:#059669;background:rgba(5,150,105,.06)}.metric-bad{color:#dc2626;background:rgba(220,38,38,.06)}.metric-neutral{color:var(--text-primary)}.sparkline-cell{display:flex;align-items:center;gap:8px}.sparkline-svg{width:60px;height:20px;flex-shrink:0}.btn-export{font-size:12px;font-family:inherit;padding:6px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;transition:all .15s}.btn-export:hover{background:var(--bg-tertiary);color:var(--text-primary)}.empty-state{text-align:center;padding:64px 32px;color:var(--text-tertiary)}.empty-state-icon{font-size:48px;margin-bottom:16px}.empty-state-title{font-size:16px;font-weight:600;color:var(--text-secondary);margin-bottom:8px}.empty-state-text{font-size:13px;max-width:400px;margin:0 auto;line-height:1.5}.charts-section{margin-bottom:20px}.charts-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.charts-section-title{font-size:14px;font-weight:600;color:var(--text-primary)}.btn-toggle-charts{font-size:12px;font-family:inherit;padding:4px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-tertiary);cursor:pointer;transition:all .15s}.btn-toggle-charts:hover{color:var(--text-primary);background:var(--bg-tertiary)}.trend-charts-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px;margin-bottom:20px}.chart-card{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);overflow:hidden}.chart-card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 4px}.chart-card-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary)}.chart-card-total{font-size:12px;font-weight:500;color:var(--text-secondary)}.chart-card-body{padding:4px 8px 8px}.delta-chip{display:inline-block;font-size:11px;font-weight:600;padding:2px 7px;border-radius:10px;margin-left:8px;vertical-align:middle;white-space:nowrap}.delta-good{color:#059669;background:rgba(5,150,105,.1)}.delta-bad{color:#dc2626;background:rgba(220,38,38,.1)}.source-toggle{display:flex;gap:0;margin-bottom:8px;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;width:-moz-fit-content;width:fit-content}.source-toggle-btn{font-size:12px;font-family:inherit;padding:6px 16px;border:none;background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;transition:all .15s}.source-toggle-btn:not(:last-child){border-right:1px solid var(--border)}.source-toggle-btn.active{background:var(--accent-profit);color:#fff;font-weight:600}.source-toggle-btn:hover:not(.active){background:var(--bg-tertiary)}.btn-load-sheets{font-size:13px;font-family:inherit;padding:8px 20px;border:1px solid var(--accent-profit);border-radius:var(--radius-sm);background:var(--accent-profit);color:#fff;cursor:pointer;transition:all .15s}.btn-load-sheets:hover{opacity:.9}.btn-load-sheets:disabled{opacity:.5;cursor:not-allowed}.btn-refresh-sheets{font-size:12px;font-family:inherit;padding:4px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;transition:all .15s}.btn-refresh-sheets:hover{color:var(--accent-profit);border-color:var(--accent-profit)}.sheets-error{margin-top:8px;padding:6px 12px;border-radius:var(--radius-sm);background:#fef2f2;color:#dc2626;font-size:12px}.spend-bar-bg{width:80px;height:8px;background:var(--bg-tertiary);border-radius:4px;overflow:hidden}.spend-bar-fill{height:100%;background:var(--accent-profit);border-radius:4px;transition:width .3s ease}.insights-panel{margin-bottom:20px}.insights-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.insights-panel-title{font-size:14px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:10px}.insights-action-count{font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;background:rgba(220,38,38,.1);color:#dc2626}.insights-list{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:4px 16px;margin-bottom:12px}.insight-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--bg-tertiary);animation:fadeIn .3s ease}.insight-item:last-child{border-bottom:none}.insight-severity{flex-shrink:0;width:8px;height:8px;border-radius:50%;margin-top:6px}.insight-severity-action{background:#dc2626}.insight-severity-watch{background:#f59e0b}.insight-severity-win{background:#059669}.insight-content{flex:1 1;min-width:0}.insight-title-row{display:flex;align-items:center;gap:8px;margin-bottom:2px}.insight-title{font-size:14px;font-weight:600;color:var(--text-primary)}.insight-confidence{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:1px 6px;border-radius:8px}.insight-confidence-high{background:rgba(5,150,105,.1);color:#059669}.insight-confidence-medium{background:rgba(245,158,11,.1);color:#d97706}.insight-confidence-low{background:var(--bg-tertiary);color:var(--text-tertiary)}.insight-why{color:var(--text-secondary);margin-bottom:4px}.insight-action,.insight-why{font-size:13px;line-height:1.5}.insight-action{color:var(--text-primary);font-weight:500}.insight-entity-chip{display:inline-block;font-size:11px;padding:2px 8px;background:var(--bg-tertiary);border-radius:10px;color:var(--text-tertiary);margin-top:6px}.data-completeness{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 0;font-size:11px}.data-completeness-label{color:var(--text-tertiary);font-weight:500;margin-right:2px}.data-completeness-tag{padding:2px 8px;border-radius:10px;font-weight:500}.data-completeness-present{background:rgba(5,150,105,.08);color:#059669}.data-completeness-missing{background:var(--bg-tertiary);color:var(--text-tertiary);text-decoration:line-through}.platform-breakdown{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:16px 20px;margin-bottom:20px}.platform-section{margin-bottom:16px}.platform-section:last-child{margin-bottom:0}.platform-section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);margin-bottom:10px}.platform-cards{display:flex;gap:16px;flex-wrap:wrap}.platform-card{flex:1 1;min-width:200px;padding:14px;background:var(--bg-tertiary);border-radius:var(--radius-sm)}.platform-card-name{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.platform-card-spend{font-size:18px;font-weight:700;color:var(--text-primary);margin-bottom:10px;display:flex;align-items:baseline;gap:6px}.platform-card-share{font-size:12px;font-weight:500;color:var(--text-tertiary)}.platform-card-metrics{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.platform-metric{display:flex;justify-content:space-between;font-size:12px}.platform-metric-label{color:var(--text-tertiary)}.platform-metric-value{font-weight:500;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.placement-table{width:100%;border-collapse:collapse;font-size:13px}.placement-table th{text-align:right;padding:6px 10px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary);border-bottom:1px solid var(--border)}.placement-table td{padding:8px 10px;border-bottom:1px solid var(--bg-tertiary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.placement-name{font-weight:500;color:var(--text-primary)}.heatmap-container{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:16px 20px;margin-bottom:20px}.heatmap-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.heatmap-title{font-size:14px;font-weight:600;color:var(--text-primary)}.heatmap-metric-toggle{display:flex;gap:0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.heatmap-metric-btn{font-size:11px;font-family:inherit;font-weight:600;padding:4px 12px;border:none;background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;transition:all .15s}.heatmap-metric-btn:not(:last-child){border-right:1px solid var(--border)}.heatmap-metric-btn.active{background:var(--accent-profit);color:#fff}.heatmap-grid{display:grid;grid-gap:2px;gap:2px;font-size:10px}.heatmap-hour-label{text-align:center;font-size:9px;padding-bottom:4px}.heatmap-hour-label,.heatmap-label{color:var(--text-tertiary);font-weight:500}.heatmap-label{justify-content:flex-end;padding-right:6px;font-size:11px}.heatmap-cell,.heatmap-label{display:flex;align-items:center}.heatmap-cell{aspect-ratio:1;border-radius:3px;justify-content:center;font-size:9px;color:transparent;transition:all .15s;cursor:default;min-height:20px}.heatmap-cell:hover{outline:2px solid var(--accent-profit);z-index:1;color:var(--text-primary)}.heatmap-cell-insufficient{background:var(--bg-tertiary);color:var(--text-tertiary);font-size:8px}.heatmap-legend{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-top:8px}.heatmap-legend-label{font-size:10px;color:var(--text-tertiary)}.heatmap-legend-gradient{width:80px;height:8px;border-radius:4px}.fatigue-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:middle}.fatigue-dot-red{background:#dc2626}.fatigue-dot-amber{background:#f59e0b}.summary-card-warn-red{border:1px solid rgba(220,38,38,.3);background:rgba(220,38,38,.03)}.summary-card-warn-amber{border:1px solid rgba(245,158,11,.3);background:rgba(245,158,11,.03)}.summary-card-warn-amber .summary-card-sub,.summary-card-warn-red .summary-card-sub{font-weight:600}.summary-card-warn-red .summary-card-sub{color:#dc2626}.summary-card-warn-amber .summary-card-sub{color:#d97706}@media (max-width:1199px){.fb-ads-container{padding:16px}.summary-cards{grid-template-columns:repeat(2,1fr)}.trend-charts-grid{grid-template-columns:1fr}.data-table-wrapper{margin-left:-16px;margin-right:-16px;border-radius:0}.chart-card-header{padding:12px 12px 4px}.platform-cards{flex-direction:column}.heatmap-grid{overflow-x:auto}.insights-list{margin-left:-16px;margin-right:-16px;border-radius:0}}:root{--scheduler-px-per-minute:1.5;--scheduler-ms-bg:#dbeafe;--scheduler-ms-border:#2563eb;--scheduler-ms-text:#1e3a8a;--scheduler-ws-bg:#dbeafe;--scheduler-ws-border:#2563eb;--scheduler-ws-text:#1e3a8a;--scheduler-md-bg:#d1fae5;--scheduler-md-border:#059669;--scheduler-md-text:#065f46;--scheduler-wd-bg:#fef3c7;--scheduler-wd-border:#d97706;--scheduler-wd-text:#78350f;--scheduler-xd-bg:#fce7f3;--scheduler-xd-border:#db2777;--scheduler-xd-text:#831843;--scheduler-squad-bg:#ede9fe;--scheduler-squad-border:#7c3aed;--scheduler-squad-text:#4c1d95;--scheduler-ko-bg:#e5e7eb;--scheduler-ko-border:#6b7280;--scheduler-ko-text:#1f2937;--scheduler-other-bg:#e5e7eb;--scheduler-other-border:#6b7280;--scheduler-other-text:#1f2937;--scheduler-clash-bg:#fee2e2;--scheduler-clash-border:#dc2626;--scheduler-uneven-bg:#fef3c7;--scheduler-uneven-border:#d97706}.scheduler-shell{max-width:1400px;margin:0 auto;padding:24px 24px 48px;display:flex;flex-direction:column;gap:20px}.scheduler-settings{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:14px 20px;box-shadow:var(--shadow-card)}.scheduler-settings-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.scheduler-settings-toggle{border:none;background:transparent;display:inline-flex;align-items:center;gap:12px;cursor:pointer;padding:0;color:inherit;text-align:left}.scheduler-settings-toggle .section-header{margin-bottom:0}.scheduler-settings-summary{font-size:13px;color:var(--text-secondary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scheduler-settings-caret{font-size:12px;color:var(--text-tertiary)}.scheduler-settings-body{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:16px}.scheduler-chips{display:flex;gap:12px;flex-wrap:wrap}.scheduler-chip{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 16px;display:flex;flex-direction:column;gap:4px;min-width:140px;box-shadow:var(--shadow-card)}.scheduler-chip-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary)}.scheduler-chip-value{font-size:20px;font-weight:600;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.1}.scheduler-chip-danger{background:var(--scheduler-clash-bg);border-color:var(--scheduler-clash-border)}.scheduler-chip-danger .scheduler-chip-label,.scheduler-chip-danger .scheduler-chip-value{color:var(--scheduler-clash-border)}.scheduler-two-col{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}@media (max-width:980px){.scheduler-two-col{grid-template-columns:1fr}}.scheduler-panel{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-card)}.scheduler-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.scheduler-panel-header .section-header{margin-bottom:0}.scheduler-list{display:flex;flex-direction:column;gap:10px;max-height:480px;overflow-y:auto}.scheduler-empty{padding:24px 12px;text-align:center}.scheduler-card{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;background:var(--bg-primary)}.scheduler-card-clash{border-color:var(--scheduler-clash-border);background:var(--scheduler-clash-bg)}.scheduler-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.scheduler-card-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.scheduler-card-title{font-weight:600;font-size:14px;color:var(--text-primary)}.scheduler-card-actions{display:flex;gap:2px;flex-shrink:0}.scheduler-icon-btn{border:none;background:transparent;color:var(--text-secondary);font-size:12px;font-weight:500;padding:4px 8px;border-radius:4px;cursor:pointer;transition:background .15s ease,color .15s ease}.scheduler-icon-btn:hover{background:var(--bg-tertiary);color:var(--text-primary)}.scheduler-icon-btn-danger:hover{background:var(--scheduler-clash-bg);color:var(--scheduler-clash-border)}.scheduler-card-meta{margin-top:6px;display:flex;flex-direction:column;gap:2px}.scheduler-card-source{color:var(--text-tertiary);font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px}.scheduler-card-notes{margin-top:8px;padding-top:8px;border-top:1px dashed var(--border)}.scheduler-card-details{margin-top:6px}.scheduler-card-details summary{cursor:pointer;font-size:11px;color:var(--text-tertiary);list-style:none}.scheduler-card-details summary::-webkit-details-marker{display:none}.scheduler-card-details summary:before{content:"▸ "}.scheduler-card-details[open] summary:before{content:"▾ "}.scheduler-card-details .scheduler-distribution-grid{margin-top:6px}.scheduler-event-chip{display:inline-flex;align-items:center;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 8px;border-radius:10px;border:1px solid transparent;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scheduler-clash-badge{background:var(--scheduler-clash-bg);color:var(--scheduler-clash-border);border:1px solid var(--scheduler-clash-border);border-radius:10px}.scheduler-clash-badge,.scheduler-no-courts-badge{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:2px 7px}.scheduler-no-courts-badge{background:var(--scheduler-uneven-bg);color:var(--scheduler-uneven-border);border:1px solid var(--scheduler-uneven-border);border-radius:10px}.scheduler-card-no-courts{border-left:3px solid var(--scheduler-uneven-border)}.scheduler-event-ms{background:var(--scheduler-ms-bg);border-color:var(--scheduler-ms-border);color:var(--scheduler-ms-text)}.scheduler-event-ws{background:var(--scheduler-ws-bg);border-color:var(--scheduler-ws-border);color:var(--scheduler-ws-text)}.scheduler-event-md{background:var(--scheduler-md-bg);border-color:var(--scheduler-md-border);color:var(--scheduler-md-text)}.scheduler-event-wd{background:var(--scheduler-wd-bg);border-color:var(--scheduler-wd-border);color:var(--scheduler-wd-text)}.scheduler-event-xd{background:var(--scheduler-xd-bg);border-color:var(--scheduler-xd-border);color:var(--scheduler-xd-text)}.scheduler-event-squad{background:var(--scheduler-squad-bg);border-color:var(--scheduler-squad-border);color:var(--scheduler-squad-text)}.scheduler-event-ko{background:var(--scheduler-ko-bg);border-color:var(--scheduler-ko-border);color:var(--scheduler-ko-text)}.scheduler-event-other{background:var(--scheduler-other-bg);border-color:var(--scheduler-other-border);color:var(--scheduler-other-text)}.scheduler-uneven-banner{margin-top:8px;padding:6px 10px;background:var(--scheduler-uneven-bg);border-left:3px solid var(--scheduler-uneven-border);border-radius:4px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.scheduler-uneven-tag{font-weight:700;color:var(--scheduler-uneven-border);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.scheduler-distribution{margin-top:4px;background:var(--bg-tertiary);border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:6px}.scheduler-distribution.uneven{background:var(--scheduler-uneven-bg);border-left:3px solid var(--scheduler-uneven-border)}.scheduler-distribution-grid{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--text-secondary)}.scheduler-distribution-cell strong{color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scheduler-distribution-warning{font-size:11px;color:var(--scheduler-uneven-border);font-weight:500}.scheduler-recalc-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.scheduler-dialog{border:1px solid var(--border);border-radius:var(--radius);padding:0;background:var(--bg-secondary);box-shadow:var(--shadow-elevated);width:min(560px,92vw);max-height:86vh;overflow:auto;color:var(--text-primary)}.scheduler-dialog-wide{width:min(760px,94vw)}.scheduler-dialog::-webkit-backdrop{background:rgba(29,29,31,.4)}.scheduler-dialog::backdrop{background:rgba(29,29,31,.4)}.scheduler-form{padding:24px;display:flex;flex-direction:column;gap:16px}.scheduler-form-title{font-size:18px;font-weight:600;color:var(--text-primary);margin:0}.scheduler-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:8px}.scheduler-field{display:flex;flex-direction:column;gap:6px;min-width:0}.scheduler-field-label{font-size:12px;font-weight:500;color:var(--text-secondary)}.scheduler-field-hint{font-size:11px;color:var(--text-tertiary)}.scheduler-field-row{display:flex;gap:12px;flex-wrap:wrap}.scheduler-field-row .scheduler-field{flex:1 1;min-width:120px}.scheduler-input{border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 10px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;outline:none;transition:border-color .15s ease}.scheduler-input:focus{border-color:var(--border-focus)}.scheduler-textarea{resize:vertical;min-height:60px;font-feature-settings:normal;font-variant-numeric:normal}.scheduler-multi-select{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-sm);padding:6px;background:var(--bg-primary)}.scheduler-multi-option{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;font-size:13px;cursor:pointer}.scheduler-multi-option:hover{background:var(--bg-tertiary)}.scheduler-multi-hint{margin-left:auto;font-size:11px;color:var(--text-tertiary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scheduler-court-picker{display:flex;gap:6px;flex-wrap:wrap}.scheduler-court-chip{width:36px;height:36px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-secondary);cursor:pointer;font-weight:600;font-size:13px;color:var(--text-secondary);transition:all .15s ease}.scheduler-court-chip:hover{background:var(--bg-tertiary)}.scheduler-court-chip.active{background:var(--accent-profit);border-color:var(--accent-profit);color:#fff}.scheduler-mode-toggle{display:inline-flex;background:var(--bg-tertiary);border-radius:20px;padding:3px;gap:2px;align-self:flex-start}.scheduler-mode-option{padding:6px 16px;border-radius:17px;font-size:13px;font-weight:500;border:none;background:transparent;cursor:pointer;color:var(--text-secondary);transition:all .15s ease}.scheduler-mode-option.active{background:var(--accent-profit);color:#fff}.scheduler-timetable-wrap{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:12px}.scheduler-timetable-toolbar{display:flex;align-items:center;justify-content:space-between}.scheduler-timetable-toolbar .section-header{margin-bottom:0}.scheduler-timetable-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm)}.scheduler-timetable{display:grid;grid-template-columns:80px calc(var(--scheduler-timetable-minutes) * var(--scheduler-px-per-minute) * 1px);grid-template-rows:36px repeat(var(--scheduler-num-courts),56px);background:var(--bg-secondary);width:max-content}.scheduler-timetable-corner{border-right:1px solid var(--border)}.scheduler-timetable-corner,.scheduler-timetable-time-axis{background:var(--bg-tertiary);border-bottom:1px solid var(--border)}.scheduler-timetable-time-axis{position:relative}.scheduler-timetable-hour-label{position:absolute;left:calc(var(--scheduler-col-offset) * var(--scheduler-px-per-minute) * 1px);bottom:6px;font-size:11px;color:var(--text-secondary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:500;padding-left:4px;white-space:nowrap}.scheduler-timetable-court-label{background:var(--bg-tertiary);border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:8px 10px;display:flex;align-items:center;font-size:12px;font-weight:600;color:var(--text-primary);line-height:1.1}.scheduler-timetable-court-row{position:relative;border-bottom:1px solid var(--border);background-color:var(--bg-secondary);background-image:repeating-linear-gradient(to right,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 1px,transparent 1px,transparent calc(var(--scheduler-px-per-minute) * 60px)),repeating-linear-gradient(to right,rgba(0,0,0,.035) 0,rgba(0,0,0,.035) 1px,transparent 1px,transparent calc(var(--scheduler-px-per-minute) * 30px))}.scheduler-timetable-block-stack{position:absolute;top:3px;bottom:3px;left:calc(var(--scheduler-col-offset) * var(--scheduler-px-per-minute) * 1px);display:flex;flex-direction:row;gap:0}.scheduler-timetable-block{border:1px solid transparent;border-radius:6px;padding:4px 8px;width:calc(var(--scheduler-col-width) * var(--scheduler-px-per-minute) * 1px);overflow:hidden;display:flex;flex-direction:column;justify-content:center;font-size:12px}.scheduler-timetable-block.scheduler-event-ms{border-color:var(--scheduler-ms-border)}.scheduler-timetable-block.scheduler-event-ws{border-color:var(--scheduler-ws-border)}.scheduler-timetable-block.scheduler-event-md{border-color:var(--scheduler-md-border)}.scheduler-timetable-block.scheduler-event-wd{border-color:var(--scheduler-wd-border)}.scheduler-timetable-block.scheduler-event-xd{border-color:var(--scheduler-xd-border)}.scheduler-timetable-block.scheduler-event-squad{border-color:var(--scheduler-squad-border)}.scheduler-timetable-block.scheduler-event-ko{border-color:var(--scheduler-ko-border)}.scheduler-timetable-block.scheduler-event-other{border-color:var(--scheduler-other-border)}.scheduler-timetable-block-clash{background:var(--scheduler-clash-bg)!important;border-color:var(--scheduler-clash-border)!important;color:var(--text-primary)!important;box-shadow:0 0 0 2px rgba(220,38,38,.25)}.scheduler-timetable-block-label{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.scheduler-timetable-block-meta{font-size:10px;font-weight:400;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scheduler-timetable-buffer{margin:4px 0;width:calc(var(--scheduler-col-width) * var(--scheduler-px-per-minute) * 1px);background-image:repeating-linear-gradient(45deg,hsla(240,2%,44%,.18),hsla(240,2%,44%,.18) 3px,transparent 0,transparent 7px);border-top:1px dashed var(--border);border-right:1px dashed var(--border);border-bottom:1px dashed var(--border);border-radius:0 4px 4px 0}.scheduler-timetable-legend{margin-top:4px}.courtsheets-shell{max-width:1100px;margin:0 auto;padding:32px 24px 64px}.courtsheets-controls{display:flex;flex-direction:column;gap:20px}.courtsheets-header{margin-bottom:4px}.courtsheets-title{font-size:28px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.courtsheets-subtitle{font-size:14px;color:var(--text-secondary)}.courtsheets-dropzone{background:var(--bg-secondary);border:2px dashed var(--border);border-radius:var(--radius);padding:32px 20px;text-align:center;cursor:pointer;transition:border-color .2s ease,background .2s ease}.courtsheets-dropzone-active,.courtsheets-dropzone:hover{border-color:var(--accent-profit);background:#fff8f4}.courtsheets-dropzone-title{font-size:15px;font-weight:500;color:var(--text-primary);margin-bottom:6px}.courtsheets-dropzone-hint{font-size:13px;color:var(--text-tertiary)}.courtsheets-file-info{display:flex;align-items:center;justify-content:center;gap:16px}.courtsheets-file-name{font-size:14px;font-weight:500;color:var(--text-primary)}.courtsheets-mapping{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:20px}.courtsheets-mapping-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.courtsheets-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:12px;gap:12px}.courtsheets-mapping-row{display:flex;flex-direction:column;gap:6px}.courtsheets-mapping-label{font-size:12px;font-weight:500;color:var(--text-secondary);display:flex;align-items:center;gap:8px}.courtsheets-auto-tag{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent-profit);background:#fff1e8;padding:2px 6px;border-radius:4px}.courtsheets-link-button{background:none;border:none;color:var(--accent-profit);font-size:13px;font-weight:500;cursor:pointer;padding:0}.courtsheets-link-button:hover{text-decoration:underline}.courtsheets-warning{margin-top:12px;background:#fff3cd;border-left:3px solid #ffc107;color:#856404}.courtsheets-error,.courtsheets-warning{padding:10px 14px;border-radius:4px;font-size:13px}.courtsheets-error{background:#fdecea;border-left:3px solid var(--accent-loss);color:#8a1f19}.courtsheets-empty{padding:24px;text-align:center;color:var(--text-secondary);font-size:14px;background:var(--bg-secondary);border-radius:var(--radius)}.courtsheets-errors-panel{background:#fdecea;border-left:3px solid var(--accent-loss);border-radius:var(--radius-sm);padding:16px 20px}.courtsheets-errors-title{font-size:14px;font-weight:600;color:#8a1f19;margin-bottom:8px}.courtsheets-errors-list{list-style:disc;margin:8px 0 8px 20px;font-size:13px;color:var(--text-primary)}.courtsheets-errors-list li{margin-bottom:4px}.courtsheets-errors-hint{font-size:13px;color:var(--text-secondary)}.courtsheets-clash-panel{background:#fff3cd;border-left:3px solid #ffc107;border-radius:var(--radius-sm);padding:16px 20px}.courtsheets-clash-title{font-size:14px;font-weight:600;color:#856404;margin-bottom:8px}.courtsheets-clash-list{list-style:disc;margin:8px 0 0 20px;font-size:13px;color:var(--text-primary)}.courtsheets-clash-list li{margin-bottom:4px}.courtsheets-clash-clean{background:#e8f5e9;border-left:3px solid #34c759;font-weight:500;color:#1b5e20}.courtsheets-clash-clean,.courtsheets-clash-noids{border-radius:var(--radius-sm);padding:12px 16px;font-size:13px}.courtsheets-clash-noids{background:var(--bg-tertiary);border-left:3px solid var(--text-tertiary);color:var(--text-secondary)}.courtsheets-meta-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:12px;gap:12px;background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:20px}.courtsheets-meta-row{display:flex;flex-direction:column;gap:6px}.courtsheets-text-input{padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;color:var(--text-primary);background:var(--bg-secondary);outline:none;transition:border-color .2s ease}.courtsheets-text-input:focus{border-color:var(--border-focus)}.courtsheets-actions-wrap{display:flex;flex-direction:column;gap:8px}.courtsheets-actions{display:flex;align-items:center;gap:16px}.courtsheets-print-tip{font-size:12px;color:var(--text-tertiary)}.courtsheets-pages{display:flex;flex-direction:column;gap:24px;margin-top:24px}.courtsheets-page{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:32px}.courtsheets-page-header{margin-bottom:16px;border-bottom:2px solid var(--text-primary);padding-bottom:12px}.courtsheets-page-court{font-size:30px;font-weight:700;color:var(--text-primary);letter-spacing:-.01em;margin-bottom:4px}.courtsheets-page-meta{font-size:13px;font-weight:400;color:var(--text-tertiary)}.courtsheets-section{margin-top:20px}.courtsheets-section:first-of-type{margin-top:8px}.courtsheets-section-heading{font-size:16px;font-weight:700;color:var(--text-primary);letter-spacing:.01em;padding-bottom:6px;margin-bottom:10px;border-bottom:1.5px solid var(--text-primary);display:flex;align-items:baseline;justify-content:space-between;gap:12px}.courtsheets-section-count{font-size:12px;font-weight:500;color:var(--text-tertiary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.courtsheets-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.courtsheets-table td,.courtsheets-table th{border:1px solid var(--border);padding:10px 12px;text-align:left;vertical-align:middle}.courtsheets-table th{background:var(--bg-tertiary);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary)}.courtsheets-table tbody tr:nth-child(2n){background:#f7f7f9}.courtsheets-col-match{width:50px;text-align:center}.courtsheets-col-match,.courtsheets-col-time{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.courtsheets-col-time{width:110px;font-weight:500;font-size:15px}.courtsheets-col-teams{word-break:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.35}@media print{@page{size:A4 portrait;margin:14mm 14mm 16mm 14mm}body,html{background:#fff!important;color:#000!important}.courtsheets-controls,.nav-bar{display:none!important}.courtsheets-shell{max-width:none;margin:0;padding:0}.courtsheets-pages{gap:0;margin-top:0}.courtsheets-page{background:#fff!important;box-shadow:none!important;border-radius:0;padding:0;page-break-before:always;break-before:page}.courtsheets-page:first-child{page-break-before:avoid;break-before:avoid}.courtsheets-page-header{border-bottom:2.5px solid #000;margin-bottom:12px;padding-bottom:8px}.courtsheets-page-court{color:#000!important;font-size:26pt;font-weight:700;letter-spacing:-.01em}.courtsheets-page-meta{color:#000!important;font-size:10pt;font-weight:400}.courtsheets-section{margin-top:14pt;page-break-inside:auto;break-inside:auto}.courtsheets-section:first-of-type{margin-top:6pt}.courtsheets-section-heading{color:#000!important;font-size:13pt;font-weight:700;border-bottom:1.5pt solid #000;padding-bottom:4pt;margin-bottom:6pt;page-break-after:avoid;break-after:avoid}.courtsheets-section-count{color:#000!important;font-size:10pt;font-weight:500}.courtsheets-table{font-size:13pt;page-break-inside:auto}.courtsheets-table thead{display:table-header-group}.courtsheets-table tr{page-break-inside:avoid;break-inside:avoid}.courtsheets-table td,.courtsheets-table th{border:1px solid #000!important;color:#000!important;padding:8px 10px}.courtsheets-table tbody tr:nth-child(2n) td{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.courtsheets-table tbody tr:nth-child(odd) td,.courtsheets-table th{background:#fff!important}.courtsheets-table th{font-size:10pt;text-transform:uppercase;letter-spacing:.06em}.courtsheets-col-time{font-size:14pt;font-weight:500}.courtsheets-col-teams{font-size:13pt}}.tlite-shell{--bg-secondary:#fff;--bg-tertiary:#f4ede1;--border:#ece3d3;--text-primary:#1b2a47;--text-secondary:#5a6a85;--text-tertiary:#98a2b5;--accent-profit:#f2691f;--border-focus:#f2691f;--shadow-card:0 1px 2px rgba(27,42,71,.04),0 6px 18px rgba(27,42,71,.05);--tl-navy:#16243d;--tl-orange:#f2691f;--tl-orange-hover:#e25c14;--tl-cream:#faf6ee;--tlite-green-bg:#e8f6ee;--tlite-green-fg:#1f7a4d;--tlite-amber-bg:#fdf3e2;--tlite-amber-fg:#b65c12;--tlite-red-bg:#fdeeec;--tlite-red-fg:#c0392b;position:relative;max-width:1040px;margin:0 auto;padding:40px 24px 96px}.tlite-shell:before{content:"";position:fixed;inset:0;background:var(--tl-cream);z-index:-1}.tlite-title{font-weight:700}.tlite-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px}.tlite-title{font-size:28px;font-weight:600;letter-spacing:-.02em;color:var(--text-primary)}.tlite-subtitle{margin-top:4px;font-size:14px;color:var(--text-tertiary)}.tlite-event{background:var(--bg-secondary);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-card);padding:24px;margin-bottom:28px}.tlite-event-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.tlite-event-name{font-size:21px;font-weight:600;letter-spacing:-.01em;color:var(--text-primary)}.tlite-event-meta{margin-top:6px;font-size:13px;color:var(--text-secondary)}.tlite-dot{margin:0 8px;color:var(--text-tertiary)}.tlite-event-flags{display:flex;gap:8px;flex-wrap:wrap}.tlite-event-sub{margin-top:6px;font-size:12px;color:var(--text-tertiary)}.tlite-stats{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:10px;gap:10px;margin-top:22px}.tlite-stat{background:var(--bg-tertiary);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}.tlite-stat-value{font-size:24px;font-weight:600;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-stat-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-tertiary)}.tlite-stat-warn .tlite-stat-value{color:var(--tlite-amber-fg)}.tlite-tabbar{display:flex;align-items:center;gap:12px;margin-bottom:24px}.tlite-tabs{display:inline-flex;gap:2px;padding:3px;background:var(--bg-tertiary);border-radius:11px}.tlite-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;padding:7px 16px;border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:color .15s ease,background .15s ease}.tlite-tab:hover{color:var(--text-primary)}.tlite-tab-active,.tlite-tab-active:hover{background:var(--bg-secondary);color:var(--text-primary);box-shadow:0 1px 2px rgba(0,0,0,.06)}.tlite-refreshing{font-size:12px;color:var(--text-tertiary)}.tlite-tabpanel{display:block}.tlite-stack{gap:28px}.tlite-section,.tlite-stack{display:flex;flex-direction:column}.tlite-section{gap:12px}.tlite-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tlite-section-label{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-profit)}.tlite-count{margin-left:6px;color:var(--text-secondary);font-weight:500}.tlite-card{background:var(--bg-secondary);border:1px solid var(--border);border-radius:14px;padding:18px}.tlite-card-title{font-size:16px;font-weight:600;color:var(--text-primary)}.tlite-muted{margin-top:4px;font-size:13px;color:var(--text-secondary)}.tlite-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:12px;gap:12px}.tlite-empty{padding:40px 24px;text-align:center;font-size:14px;color:var(--text-tertiary);border:1px dashed var(--border);border-radius:14px}.tlite-btn,.tlite-empty{background:var(--bg-secondary)}.tlite-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-size:13px;font-weight:500;padding:9px 16px;border-radius:10px;border:1px solid var(--border);color:var(--text-primary);cursor:pointer;transition:opacity .15s ease,background .15s ease,transform .05s ease}.tlite-btn:hover{background:var(--bg-tertiary)}.tlite-btn:active{transform:translateY(.5px)}.tlite-btn:disabled{opacity:.5;cursor:default}.tlite-btn-primary{border-color:transparent;background:var(--accent-profit);color:#fff}.tlite-btn-primary:hover{background:#ec5212}.tlite-btn-ghost{border-color:transparent;background:transparent;color:var(--text-secondary)}.tlite-btn-ghost:hover{background:var(--bg-tertiary);color:var(--text-primary)}.tlite-btn-sm{padding:6px 12px;font-size:12px;border-radius:8px}.tlite-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.01em;white-space:nowrap}.tlite-badge-muted{background:var(--bg-tertiary);color:var(--text-secondary)}.tlite-badge-code{background:rgba(124,58,237,.1);color:var(--accent-info)}.tlite-badge-scheduled{background:var(--bg-tertiary);color:var(--text-secondary)}.tlite-badge-completed{background:var(--tlite-green-bg);color:var(--tlite-green-fg)}.tlite-badge-bye{background:var(--bg-tertiary);color:var(--text-tertiary)}.tlite-badge-overflow{background:var(--tlite-amber-bg);color:var(--tlite-amber-fg)}.tlite-msg{margin-top:12px;padding:9px 12px;border-radius:9px;font-size:13px;line-height:1.4}.tlite-msg-compact{margin-top:10px;padding:7px 10px;font-size:12px}.tlite-msg-success{background:var(--tlite-green-bg);color:var(--tlite-green-fg)}.tlite-msg-error{background:var(--tlite-red-bg);color:var(--tlite-red-fg)}.tlite-msg-info{background:var(--bg-tertiary);color:var(--text-secondary)}.tlite-generate-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.tlite-confirm{margin-top:14px;padding:14px;background:var(--tlite-amber-bg);border-radius:12px}.tlite-warn{font-size:13px;line-height:1.5;color:var(--tlite-amber-fg)}.tlite-confirm-actions{margin-top:12px;display:flex;gap:8px;justify-content:flex-end}.tlite-chips{display:flex;flex-wrap:wrap;gap:10px}.tlite-chip{display:flex;flex-direction:column;gap:1px;padding:10px 14px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;min-width:96px}.tlite-chip-label{font-size:11px;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.05em}.tlite-chip-value{font-size:15px;font-weight:600;color:var(--text-primary)}.tlite-cat{display:flex;flex-direction:column;gap:8px}.tlite-cat-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.tlite-cat-name{font-size:15px;font-weight:600;color:var(--text-primary)}.tlite-cat-time{font-size:13px;color:var(--text-secondary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-cat-courts{font-size:12px;color:var(--text-tertiary)}.tlite-cat-stats{display:flex;flex-wrap:wrap;gap:14px;margin-top:2px;font-size:13px;color:var(--text-secondary)}.tlite-cat-stats b{color:var(--text-primary);font-weight:600}.tlite-cat-overflow,.tlite-cat-overflow b{color:var(--tlite-amber-fg)}.tlite-entry{display:flex;flex-direction:column;gap:4px}.tlite-entry-out{opacity:.55}.tlite-entry-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tlite-entry-name{font-size:15px;font-weight:500;color:var(--text-primary)}.tlite-entry-members{font-size:12px;color:var(--text-tertiary)}.tlite-pool{display:flex;flex-direction:column;gap:10px}.tlite-pool-label{font-size:12px;font-weight:600;color:var(--text-secondary)}.tlite-matches{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:12px;gap:12px}.tlite-match{display:flex;flex-direction:column;gap:12px}.tlite-match-done{background:#fcfdfc;border-color:#e3efe8}.tlite-match-bye,.tlite-match-overflow{opacity:.8}.tlite-match-meta{display:flex;align-items:center;gap:10px}.tlite-match-round{font-size:11px;font-weight:700;color:var(--text-tertiary);background:var(--bg-tertiary);padding:2px 7px;border-radius:6px}.tlite-match-where{font-size:12px;color:var(--text-secondary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-match-flex{flex:1 1}.tlite-match-teams{display:flex;align-items:center;gap:10px}.tlite-team{font-size:15px;font-weight:500;color:var(--text-primary);flex:1 1}.tlite-team:last-child{text-align:right}.tlite-team-win{font-weight:600}.tlite-vs{font-size:12px;color:var(--text-tertiary)}.tlite-match-score{display:flex;align-items:center;gap:8px}.tlite-score-input{width:56px;height:40px;text-align:center;font-size:17px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text-primary);background:var(--bg-tertiary);border:1px solid var(--border);border-radius:9px;outline:none}.tlite-score-input:focus{border-color:var(--border-focus);background:var(--bg-secondary)}.tlite-score-sep{color:var(--text-tertiary);font-weight:600}.tlite-match-score .tlite-btn{margin-left:auto}.tlite-lb-scroll{overflow-x:auto}.tlite-lb{width:100%;border-collapse:collapse;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-lb th{text-align:right;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-tertiary);padding:6px 12px 10px;border-bottom:1px solid var(--border)}.tlite-lb th.tlite-lb-th-rank{text-align:center;width:40px}.tlite-lb th:nth-child(2){text-align:left}.tlite-lb td{padding:11px 12px;border-bottom:1px solid rgba(0,0,0,.04);font-size:14px;color:var(--text-secondary)}.tlite-lb tr:last-child td{border-bottom:none}.tlite-lb-rank{text-align:center;font-weight:600;color:var(--text-primary)}.tlite-lb-name{text-align:left;font-weight:500;color:var(--text-primary)}.tlite-lb-num{text-align:right}.tlite-pd-pos{color:var(--tlite-green-fg)}.tlite-pd-neg{color:var(--tlite-red-fg)}.tlite-state{display:flex;flex-direction:column;align-items:center;gap:14px;padding:80px 24px;text-align:center}.tlite-state-title{font-size:17px;font-weight:600;color:var(--text-primary)}.tlite-state-text{font-size:14px;color:var(--text-secondary);max-width:360px}.tlite-spinner{width:26px;height:26px;border-radius:50%;border:2.5px solid var(--border);border-top-color:var(--accent-profit);animation:tlite-spin .7s linear infinite}@keyframes tlite-spin{to{transform:rotate(1turn)}}@media (max-width:720px){.tlite-shell{padding:24px 16px 80px}.tlite-stats{grid-template-columns:repeat(3,1fr)}.tlite-cards,.tlite-matches{grid-template-columns:1fr}}@media (max-width:420px){.tlite-stats{grid-template-columns:repeat(2,1fr)}}.tlite-event{background:var(--tl-navy);border-color:var(--tl-navy);border-radius:20px;box-shadow:0 12px 34px rgba(22,36,61,.18);color:#fff}.tlite-event-name{color:#fff}.tlite-event-meta{color:hsla(0,0%,100%,.72)}.tlite-event .tlite-dot{color:hsla(0,0%,100%,.4)}.tlite-event-sub{color:hsla(0,0%,100%,.6)}.tlite-event .tlite-stat{background:hsla(0,0%,100%,.07)}.tlite-event .tlite-stat-value{color:#fff}.tlite-event .tlite-stat-label{color:hsla(0,0%,100%,.55)}.tlite-event .tlite-stat-warn .tlite-stat-value{color:#ffb98a}.tlite-event .tlite-badge-muted,.tlite-event .tlite-badge-scheduled{background:hsla(0,0%,100%,.13);color:hsla(0,0%,100%,.88)}.tlite-tab-active,.tlite-tab-active:hover{background:var(--tl-navy);color:#fff;box-shadow:0 1px 3px rgba(22,36,61,.22)}.tlite-btn-danger{border-color:transparent;background:var(--tlite-red-bg);color:var(--tlite-red-fg)}.tlite-btn-danger:hover{background:#fbe1dd}.tlite-cards-wide{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.tlite-cat{gap:12px}.tlite-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px 16px;gap:8px 16px}.tlite-cat-grid>div{display:flex;flex-direction:column;gap:1px}.tlite-cat-k{font-size:11px;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.04em}.tlite-cat-v{font-size:14px;font-weight:600;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-cat-actions{display:flex;gap:8px;flex-wrap:wrap}.tlite-modal-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(22,36,61,.42);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.tlite-modal{width:100%;max-width:460px;background:var(--bg-secondary);border-radius:20px;box-shadow:0 24px 60px rgba(22,36,61,.28);overflow:hidden}.tlite-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--tl-navy);color:#fff}.tlite-modal-title{font-size:16px;font-weight:600}.tlite-modal-x{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:hsla(0,0%,100%,.8);font-size:22px;line-height:1;cursor:pointer;padding:0 4px}.tlite-modal-x:hover{color:#fff}.tlite-modal-body{padding:20px;display:flex;flex-direction:column;gap:16px}.tlite-field-row{display:flex;gap:12px;flex-wrap:wrap}.tlite-field{display:flex;flex-direction:column;gap:6px;flex:1 1;min-width:96px}.tlite-field-label{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-tertiary)}.tlite-field-hint{font-size:12px;color:var(--text-tertiary)}.tlite-input{height:40px;padding:0 12px;font-size:15px;color:var(--text-primary);background:var(--bg-secondary);border:1px solid var(--border);border-radius:10px;outline:none}.tlite-input:focus{border-color:var(--border-focus)}.tlite-court-chips{display:flex;flex-wrap:wrap;gap:8px}.tlite-court-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:7px 12px;font-size:13px;font-weight:500;color:var(--text-secondary);background:var(--bg-tertiary);border:1px solid transparent;border-radius:999px;cursor:pointer}.tlite-court-chip-on{background:var(--tl-orange);color:#fff}.tlite-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid var(--border)}@media (max-width:720px){.tlite-cards-wide{grid-template-columns:1fr}}.tlite-topbar-id{min-width:0}.tlite-sync{display:flex;align-items:center;gap:10px}.tlite-synced{font-size:12px;color:var(--text-tertiary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-catnav{display:flex;gap:4px;padding:4px;background:var(--bg-tertiary);border-radius:12px;overflow-x:auto}.tlite-catnav-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;white-space:nowrap;padding:9px 18px;border-radius:9px;font-size:14px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:color .15s ease,background .15s ease}.tlite-catnav-tab:hover{color:var(--text-primary)}.tlite-catnav-tab-active,.tlite-catnav-tab-active:hover{background:var(--tl-navy);color:#fff;box-shadow:0 1px 3px rgba(22,36,61,.18)}.tlite-catsummary{display:flex;flex-direction:column;gap:10px}.tlite-catwindow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--tl-orange);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-catstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));grid-gap:10px;gap:10px}.tlite-catstat{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}.tlite-catstat-value{font-size:22px;font-weight:700;color:var(--tl-navy);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-catstat-label{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-tertiary)}.tlite-catstat-warn .tlite-catstat-value{color:var(--tlite-amber-fg)}.tlite-repair{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px;padding-top:14px;border-top:1px solid var(--border)}.tlite-repair-note{font-size:12px;color:var(--text-tertiary)}@media (max-width:720px){.tlite-sync{width:100%;justify-content:space-between}.tlite-catstats{grid-template-columns:repeat(3,1fr)}}@media (max-width:420px){.tlite-catstats{grid-template-columns:repeat(2,1fr)}}.tlite-lb-th-pts{color:var(--tl-orange)}.tlite-lb-pts{font-weight:700;color:var(--tl-navy)}.tlite-board{display:flex;flex-direction:column;gap:20px}.tlite-board-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--tl-navy);color:#fff;border-radius:18px;padding:22px 24px}.tlite-board-name{font-size:22px;font-weight:700;letter-spacing:-.01em;color:#fff}.tlite-board-meta{margin-top:4px;font-size:13px;color:hsla(0,0%,100%,.62)}.tlite-board-sync{display:flex;align-items:center;gap:10px}.tlite-board-header .tlite-synced{color:hsla(0,0%,100%,.62)}.tlite-board-toggle{display:inline-flex;gap:2px;padding:4px;background:var(--bg-tertiary);border-radius:11px}.tlite-toggle-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;padding:8px 22px;border-radius:9px;font-size:14px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:color .15s ease,background .15s ease}.tlite-toggle-tab:hover{color:var(--text-primary)}.tlite-toggle-tab-active,.tlite-toggle-tab-active:hover{background:var(--tl-orange);color:#fff;box-shadow:0 1px 3px rgba(242,105,31,.25)}.tlite-board-score{font-weight:700;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;padding:0 8px}@media (max-width:720px){.tlite-board-sync{width:auto}}.tlite-auto{color:var(--tlite-green-fg)}.tlite-live{display:flex;flex-direction:column;gap:1px}.tlite-live-top{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#fff}.tlite-live-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;animation:tlite-pulse 1.8s ease-out infinite}@keyframes tlite-pulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)}70%{box-shadow:0 0 0 6px rgba(74,222,128,0)}to{box-shadow:0 0 0 0 rgba(74,222,128,0)}}.tlite-live-sub{font-size:11px;color:hsla(0,0%,100%,.55)}.tlite-refresh-icon{min-width:34px;padding:6px 9px;font-size:14px;line-height:1}.tlite-linkcard{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.tlite-linkcard-body{min-width:0}.tlite-link-url{margin-top:4px;font-size:13px;font-weight:500;color:var(--tl-navy);word-break:break-all}.tlite-subtoggle{display:inline-flex;gap:2px;padding:3px;background:var(--bg-tertiary);border-radius:10px}.tlite-subtoggle-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;padding:7px 16px;border-radius:8px;font-size:13px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:color .15s ease,background .15s ease}.tlite-subtoggle-tab:hover{color:var(--text-primary)}.tlite-subtoggle-tab-active,.tlite-subtoggle-tab-active:hover{background:var(--bg-secondary);color:var(--text-primary);box-shadow:0 1px 2px rgba(0,0,0,.06)}.tlite-board-next{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--tlite-amber-bg);border-radius:12px}.tlite-next-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--tl-orange)}.tlite-next-val{font-size:14px;font-weight:600;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-board-search{width:100%;padding:12px 14px;font-size:15px;color:var(--text-primary);background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;outline:none}.tlite-board-search:focus{border-color:var(--border-focus)}.tlite-board-search::placeholder{color:var(--text-tertiary)}.tlite-search-count{font-size:12px;color:var(--text-tertiary)}.tlite-board-matches{display:grid;grid-template-columns:1fr;grid-gap:12px;gap:12px}@media (min-width:680px){.tlite-board-matches{grid-template-columns:repeat(2,minmax(0,1fr))}}.tlite-pmatch{display:flex;flex-direction:column;gap:12px}.tlite-pmatch-done{background:#fcfdfc;border-color:#e3efe8}.tlite-pmatch-meta{display:flex;align-items:center;gap:8px}.tlite-badge-court{background:rgba(22,36,61,.07);color:var(--tl-navy)}.tlite-pmatch-time{font-size:13px;color:var(--text-secondary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-pmatch-rows{display:flex;flex-direction:column;gap:6px}.tlite-pmatch-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.tlite-pmatch-team{display:inline-flex;align-items:center;gap:6px;font-size:16px;color:var(--text-primary);min-width:0}.tlite-pmatch-score{font-size:18px;font-weight:700;color:var(--text-primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tlite-pmatch-win .tlite-pmatch-team{font-weight:700;color:var(--tl-navy)}.tlite-pmatch-win .tlite-pmatch-score{color:var(--tl-navy)}.tlite-pmatch-lose .tlite-pmatch-score,.tlite-pmatch-lose .tlite-pmatch-team{color:var(--text-tertiary);font-weight:500}.tlite-win-tick{color:var(--tlite-green-fg);font-weight:700}.tlite-login{display:flex;justify-content:center;align-items:flex-start;padding-top:64px}.tlite-login-card{display:flex;flex-direction:column;gap:12px;width:100%;max-width:380px;padding:28px 24px}.tlite-login-title{font-size:20px;font-weight:700;color:var(--tl-navy)}.tlite-login-input{width:100%;padding:12px 14px;font-size:15px;color:var(--text-primary);background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;outline:none}.tlite-login-input:focus{border-color:var(--border-focus)}.tlite-login-err{font-size:13px;color:var(--tlite-red-fg)}.tlite-login-card .tlite-btn-primary{margin-top:4px}