:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#e8e8e8;background-color:#000;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--color-primary-bg: #1a4d4d;--color-primary-bg-lighter: #1f5757;--color-primary-bg-dark: #0d2626;--color-primary-gold: #f2c94c;--color-primary-gold-light: #f7d76e;--color-primary-text: #e8dcc4;--color-aurora-green: #00ff88;--color-aurora-blue: #4d9fff;--color-aurora-purple: #b366ff;--color-aurora-pink: #ff6bb3;--color-aurora-teal: #00d4aa;--color-status-ahead: #44cc52;--color-status-due-soon: #f2db48;--color-status-due-today: #ebcb00;--color-status-overdue-light: #ff5722;--color-status-overdue-dark: #d32f2f;--color-status-critically-overdue: #8b0000;--color-status-neutral: #888888;--color-trend-improving: var(--color-aurora-green);--color-trend-declining: var(--color-aurora-pink);--color-trend-stable: var(--color-aurora-blue);--color-trend-insufficient: var(--color-status-neutral);--color-card-bg: rgba(26, 77, 77, .12);--color-card-bg-hover: rgba(26, 77, 77, .2);--color-border: #555;--color-border-subtle: #444;--color-border-active: var(--color-aurora-teal);--color-text-primary: #e8e8e8;--color-text-secondary: #b8b8b8;--color-text-muted: #888888}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#0d0d0d;cursor:pointer;transition:border-color .25s}input,select,textarea{font-size:16px}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(max-width:768px){h1{font-size:2em}button{min-height:44px}}@keyframes aurora-glow{0%,to{box-shadow:0 0 10px #0f83}50%{box-shadow:0 0 20px #4d9fff4d}}@keyframes aurora-glow-green{0%,to{box-shadow:0 0 15px #00ff884d}50%{box-shadow:0 0 25px #00ff8880}}@keyframes aurora-glow-pink{0%,to{box-shadow:0 0 15px #ff6bb34d}50%{box-shadow:0 0 25px #ff6bb380}}@keyframes gentle-float{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff;color-scheme:light;--color-primary-bg: #e8f4f4;--color-primary-bg-lighter: #f0f8f8;--color-primary-bg-dark: #d0e8e8;--color-primary-gold: #c29d1a;--color-primary-gold-light: #d4af2c;--color-primary-text: #2c2416;--color-aurora-green: #00b366;--color-aurora-blue: #2277dd;--color-aurora-purple: #8844dd;--color-aurora-pink: #dd4488;--color-aurora-teal: #00a088;--color-status-ahead: #2d9939;--color-status-due-soon: #c2ab00;--color-status-due-today: #b89d00;--color-status-overdue-light: #d94422;--color-status-overdue-dark: #b92a26;--color-status-critically-overdue: #880000;--color-status-neutral: #666666;--color-trend-improving: var(--color-aurora-green);--color-trend-declining: var(--color-aurora-pink);--color-trend-stable: var(--color-aurora-blue);--color-trend-insufficient: var(--color-status-neutral);--color-card-bg: rgba(26, 77, 77, .05);--color-card-bg-hover: rgba(26, 77, 77, .1);--color-border: #cccccc;--color-border-subtle: #dddddd;--color-border-active: var(--color-aurora-teal);--color-text-primary: #213547;--color-text-secondary: #4a5568;--color-text-muted: #718096}a:hover{color:#747bff}button{background-color:#f9f9f9;color:#213547}}.app{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:flex-start;justify-content:center;padding-top:5vh;overflow-y:auto}.container{width:80%;max-width:1200px;min-height:95vh;display:flex;flex-direction:column;border:1px solid var(--color-border);border-bottom:none;background-color:#0d0d0d}.header{height:120px;min-height:120px;max-height:120px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--color-border);background-color:#0a0a0a;flex-shrink:0;position:relative;padding:0 2rem}.header-banner{width:100%;height:100%;object-fit:contain}.main{flex:1;display:flex;flex-direction:column}.tabs{display:flex;gap:0;border-bottom:1px solid var(--color-border);background-color:#0a0a0a}.tabs button{flex:1;padding:1rem;background:none;border:none;color:var(--color-text-secondary);cursor:pointer;font-size:1rem;border-right:1px solid var(--color-border);transition:all .2s;font-weight:500}.tabs button:last-child{border-right:none}.tabs button.active{background-color:var(--color-card-bg-hover);color:var(--color-primary-gold);border-bottom:2px solid var(--color-primary-gold)}.tabs button:hover{background-color:var(--color-card-bg);color:var(--color-text-primary)}.content{flex:1;padding:2rem;overflow-y:auto;min-height:0}.content h2{margin:0}.loading{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem}.profile-view{display:flex;flex-direction:column;gap:2rem}.profile-info{display:flex;flex-direction:column;gap:1rem;max-width:500px}.info-row .label{font-weight:600;min-width:100px}.info-row .value{flex:1}.signout-btn{padding:.75rem 1.5rem;background-color:#ff6b6b;color:#fff;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s;max-width:200px}.signout-btn:hover{background-color:#ee5a52;border-color:#ee5a52}.divider{height:1px;background-color:var(--color-border);margin:2rem 0}@media(max-width:768px){.app{padding-top:0}.container{width:100%;min-height:100vh;border-left:none;border-right:none}.header{height:70px;min-height:70px;max-height:70px;padding:0 1rem}.header-banner{width:100%;height:100%;object-fit:contain}.tabs button{padding:.75rem .5rem;font-size:.85rem}.content{padding:1rem}.info-row{flex-direction:column;gap:.5rem;padding:.5rem}.info-row .label{min-width:auto;font-weight:700}}@media(prefers-color-scheme:light){.container{background-color:#fff}.header,.tabs{background-color:#f8f8f8}.tabs button{color:var(--color-text-secondary)}.tabs button.active{color:var(--color-primary-gold)}.tabs button:hover{color:var(--color-text-primary)}}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background-color:#0d0d0d;padding:2rem;border-radius:8px;border:1px solid var(--color-border);width:90%;max-width:400px;position:relative;display:flex;flex-direction:column;gap:1.5rem}.modal-close{position:absolute;top:.5rem;right:.5rem;background:none;border:none;color:inherit;font-size:2rem;cursor:pointer;padding:.25rem .5rem;line-height:1}.modal-close:hover{color:#646cff}.modal-content h2{margin:0;text-align:center;color:var(--color-text-primary);font-weight:600}.modal-content form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:500;color:var(--color-text-secondary)}.form-group input{padding:.75rem;border:1px solid var(--color-border);border-radius:4px;background:#0a0a0a;color:var(--color-text-primary);font-size:1rem}.form-group input:focus{outline:2px solid #646cff}.error{color:#f55;padding:.5rem;background-color:#ff505033;border-radius:4px;border:1px solid rgba(255,80,80,.4);text-align:center}.submit-btn{padding:.75rem;background-color:#646cff;color:#fff;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.submit-btn:hover{background-color:#535bf2;border-color:#535bf2}.toggle-btn{padding:.5rem;background:none;border:none;color:#646cff;cursor:pointer;text-decoration:underline;font-size:.9rem}.toggle-btn:hover{color:#535bf2}@media(max-width:768px){.modal-content{width:95%;padding:1.5rem;gap:1rem}.modal-content h2{font-size:1.5rem}.modal-close{font-size:1.75rem}}@media(prefers-color-scheme:light){.modal-content{background-color:#fff;box-shadow:0 4px 6px #0000001a;border-color:var(--color-border)}.form-group input{background:#f9f9f9;border-color:var(--color-border)}}.activity-types-manager{display:flex;flex-direction:column;gap:1rem;padding-bottom:4rem}.activity-types-header{display:flex;justify-content:flex-end;align-items:center}.add-btn{padding:.5rem 1rem;background-color:#646cff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.add-btn:hover{background-color:#535bf2}.add-form{display:flex;gap:.5rem;padding:1rem;background-color:#646cff26;border-radius:4px;border:1px solid rgba(100,108,255,.3)}.add-form input{padding:.5rem;border:1px solid #666;border-radius:4px;background-color:#0a0a0a;color:#e8e8e8;font-size:.9rem}.add-form input[type=text]{flex:2}.add-form input[type=number]{flex:1}.activity-types-loading{text-align:center;padding:2rem;color:#b8b8b8}.activity-types-table{width:100%;border-collapse:collapse;border:1px solid #555;background-color:#0a0a0a}.activity-types-table th,.activity-types-table td{padding:.75rem;text-align:left;border-bottom:1px solid #444}.activity-types-table th{text-align:center}.activity-types-table th{background-color:#0d0d0d;font-weight:600;color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none}.activity-types-table th.sortable:hover{background-color:#646cff33}.activity-types-table tbody tr:hover{background-color:#646cff1a}.activity-types-table tbody .actions-cell{text-align:right}.activity-types-table tbody td:nth-child(2){text-align:center}.edit-btn,.delete-btn,.save-btn-inline,.cancel-btn-inline{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.25rem .5rem;transition:transform .1s}.edit-btn:hover,.delete-btn:hover,.save-btn-inline:hover,.cancel-btn-inline:hover{transform:scale(1.2)}.edit-btn,.save-btn-inline{margin-right:.5rem}.save-btn-inline{color:#4caf50;font-size:1.4rem}.cancel-btn-inline{color:#f55;font-size:1.4rem}.activity-types-table .editable-cell{width:100%;padding:.5rem;border:1px solid transparent;border-radius:4px;background-color:#0a0a0a;color:#e8e8e8;font-size:.9rem;box-sizing:border-box}.activity-types-table .editable-cell:focus{outline:none;border-color:#646cff;background-color:#646cff26}.activity-types-table .editable-cell:hover{border-color:#555}.save-btn{background-color:#4caf50;color:#fff}.save-btn:hover{background-color:#45a049}.cancel-btn{background-color:#666;color:#fff}.cancel-btn:hover{background-color:#555}@media(max-width:768px){.add-form{flex-direction:column}.add-form input[type=text],.add-form input[type=number]{flex:none;width:100%}.activity-types-table{font-size:.85rem}.activity-types-table th,.activity-types-table td{padding:.5rem .3rem}.edit-btn,.delete-btn,.save-btn-inline,.cancel-btn-inline{font-size:1rem;padding:.2rem .3rem}}@media(prefers-color-scheme:light){.add-form input{border:1px solid #ccc;background-color:#fff;color:#213547}.activity-types-table{background-color:#fff;border:1px solid #ddd}.activity-types-table th{background-color:#f5f5f5;color:#213547}.activity-types-table td{color:#213547}.activity-types-table th,.activity-types-table td{border-bottom:1px solid #ddd}.activity-types-table th.sortable:hover{background-color:#646cff1a}.activity-types-table tbody tr:hover{background-color:#646cff0d}.activity-types-table .editable-cell{background-color:#fff;color:#213547;border:1px solid #ccc}.activity-types-table .editable-cell:focus{border-color:#646cff;background-color:#646cff0d}.activity-types-table .editable-cell:hover{border-color:#999}.empty-state{color:#00000080}.activity-types-loading{color:#0009}}.activities-manager{display:flex;flex-direction:column;gap:1rem;padding-bottom:4rem}.add-activity-form{display:flex;gap:.5rem;align-items:center;padding:1rem;background-color:#646cff26;border-radius:4px;border:1px solid rgba(100,108,255,.3)}.activity-type-select,.activity-date-input,.activity-time-input{padding:.5rem;border:1px solid #666;border-radius:4px;background-color:#0a0a0a;color:#e8e8e8;font-size:.9rem;cursor:pointer}.activity-type-select{flex:2}.activity-date-input{flex:1}.activity-time-input{flex:.8}.activity-type-select:focus,.activity-date-input:focus,.activity-time-input:focus{outline:none;border-color:#646cff}.add-activity-btn{padding:.5rem 1rem;background-color:#646cff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;white-space:nowrap}.add-activity-btn:hover{background-color:#535bf2}.cancel-edit-btn{padding:.5rem 1rem;background-color:#666;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;white-space:nowrap}.cancel-edit-btn:hover{background-color:#555}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-size:.9rem;color:#b8b8b8}.type-filter{padding:.5rem;border:1px solid #666;border-radius:4px;background-color:#0a0a0a;color:#e8e8e8;font-size:.9rem;cursor:pointer}.type-filter:focus{outline:none;border-color:#646cff}.error-message{padding:.75rem;background-color:#ff505033;color:#f55;border-radius:4px;border:1px solid rgba(255,80,80,.4)}.activities-loading{text-align:center;padding:2rem;color:#b8b8b8}.activities-table{width:100%;border-collapse:collapse;border:1px solid #555;background-color:#0a0a0a}.activities-table th,.activities-table td{padding:.75rem;text-align:left;border-bottom:1px solid #444}.activities-table th{text-align:center}.activities-table th{background-color:#0d0d0d;font-weight:600;color:#fff}.activities-table tbody tr:hover{background-color:#646cff1a}.actions-cell{white-space:nowrap}.activities-table tbody .actions-cell{text-align:right}.activities-table tbody td:nth-child(2){text-align:center}.edit-btn,.delete-btn{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.25rem .5rem;transition:transform .1s}.edit-btn:hover,.delete-btn:hover{transform:scale(1.2)}.edit-btn{margin-right:.5rem}.delete-btn:hover{filter:brightness(1.2)}.empty-state{text-align:center;padding:2rem;color:#888;font-style:italic}.table-footer{text-align:center;padding:.5rem;color:#888;font-size:.85rem;font-style:italic}.pagination-container{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-top:1px solid #555;margin-top:1rem}.pagination-info{font-size:.9rem;color:#b8b8b8}.pagination-controls{display:flex;align-items:center;gap:.5rem}.pagination-btn{padding:.5rem .75rem;background:#1a1a1a;color:#e8e8e8;border:1px solid #666;border-radius:4px;font-size:.9rem;cursor:pointer;transition:background .2s,border-color .2s}.pagination-btn:hover:not(:disabled){background:#2a2a2a;border-color:#646cff}.pagination-btn:disabled{background:#0a0a0a;color:#555;cursor:not-allowed;border-color:#444}.pagination-pages{font-size:.9rem;color:#e8e8e8;padding:0 .5rem}@media(max-width:768px){.add-activity-form{flex-direction:column;align-items:stretch}.activity-type-select,.activity-date-input,.activity-time-input{flex:none;width:100%}.filter-group{flex-direction:column;align-items:stretch}.activities-table{font-size:.85rem}.activities-table th,.activities-table td{padding:.5rem .3rem}.pagination-container{flex-direction:column;gap:1rem;padding:.75rem}.pagination-info{order:2}.pagination-controls{order:1;flex-wrap:wrap;justify-content:center}.pagination-btn{font-size:.8rem;padding:.4rem .6rem}.edit-btn,.delete-btn{font-size:1rem;padding:.2rem .3rem}}@media(prefers-color-scheme:light){.activity-type-select,.activity-date-input,.activity-time-input{background-color:#fff;color:#213547;border:1px solid #ccc}.activities-table{background-color:#fff;border:1px solid #ddd}.activities-table th{background-color:#f5f5f5;color:#213547}.activities-table td{color:#213547}.activities-table th,.activities-table td{border-bottom:1px solid #ddd}.activities-table tbody tr:hover{background-color:#646cff0d}.type-filter{border:1px solid #ccc;background-color:#fff;color:#213547}.filter-group label{color:#000000b3}.empty-state{color:#00000080}.pagination-info{color:#000000b3}.pagination-pages{color:#213547}.pagination-btn{background-color:#fff;color:#213547;border:1px solid #ccc}.pagination-btn:hover:not(:disabled){background-color:#f5f5f5;border-color:#646cff}.pagination-btn:disabled{background-color:#f5f5f5;color:#0000004d;border-color:#ddd}.pagination-container{border-top:1px solid #ddd}.activities-loading{color:#0009}}.profile-container{display:flex;flex-direction:column;gap:1rem;padding-bottom:4rem}.profile-header{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.profile-info{display:flex;flex-direction:column;gap:1rem;flex:1;max-width:600px}.info-row{display:flex;gap:1rem;padding:.75rem;border-bottom:1px solid var(--color-border-subtle)}.info-row .label{font-weight:600;min-width:100px;color:var(--color-text-secondary)}.info-row .value{flex:1;color:var(--color-text-primary)}.timezone-selector{display:flex;align-items:center;gap:.75rem;flex:1}.timezone-dropdown{flex:1;padding:.5rem;border:1px solid var(--color-border);border-radius:4px;font-size:1rem;background:#0a0a0a;color:var(--color-text-primary);cursor:pointer}.timezone-dropdown:focus{outline:none;border-color:#646cff}.timezone-dropdown option{background:#0a0a0a;color:#e8e8e8}.save-timezone-btn{padding:.5rem 1rem;background:#646cff;color:#fff;border:1px solid #646cff;border-radius:4px;font-size:.9rem;cursor:pointer;transition:background .2s,border-color .2s}.save-timezone-btn:hover:not(:disabled){background:#535bf2;border-color:#535bf2}.save-timezone-btn:disabled{background:#333;border-color:#333;color:#666;cursor:not-allowed}.auto-sync-section{flex:1}.auto-sync-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#646cff}.auto-sync-checkbox:disabled{cursor:not-allowed;opacity:.5}.save-message{padding:.75rem;border-radius:4px;font-size:.9rem;border:1px solid var(--color-border)}.save-message.success{background:#4ade8033;color:#5eff5e;border-color:#4ade8080}.save-message.error{background:#ff505033;color:#f55;border-color:#ff505080}.strava-row{flex-direction:column;gap:.5rem}.strava-section{display:flex;flex-direction:column;gap:.75rem;width:100%}.strava-connected{display:flex;align-items:center;gap:.75rem}.strava-status{color:#4ade80;font-size:.9rem;flex:1}.connect-strava-btn{padding:.5rem 1rem;background:#fc5200;color:#fff;border:1px solid #fc5200;border-radius:4px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}.connect-strava-btn:hover{background:#e04700;border-color:#e04700}.disconnect-strava-btn{padding:.5rem 1rem;background:#444;color:#fff;border:1px solid #666;border-radius:4px;font-size:.9rem;cursor:pointer;transition:background .2s,border-color .2s}.disconnect-strava-btn:hover{background:#555;border-color:#555}.strava-sync{display:flex;align-items:center;gap:.75rem;padding:.75rem;background-color:#fc52001a;border-radius:4px;border:1px solid rgba(252,82,0,.3)}.strava-sync label{font-size:.9rem;color:var(--color-text-secondary);white-space:nowrap}.sync-date-input{padding:.5rem;border:1px solid var(--color-border);border-radius:4px;background-color:#0a0a0a;color:var(--color-text-primary);font-size:.9rem;cursor:pointer;flex:1;max-width:200px}.sync-date-input:focus{outline:none;border-color:#fc5200}.sync-btn{padding:.5rem 1.5rem;background-color:#fc5200;color:#fff;border:1px solid #fc5200;border-radius:4px;font-size:.9rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}.sync-btn:hover:not(:disabled){background-color:#e04700;border-color:#e04700}.sync-btn:disabled{background-color:#444;border-color:#444;color:#888;cursor:not-allowed}.strava-auto-sync{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background-color:#fc52001a;border-radius:4px;border:1px solid rgba(252,82,0,.3)}.strava-auto-sync label{color:var(--color-text-primary);font-size:.9rem;cursor:pointer}.notification-settings-row{flex-direction:column;gap:.5rem}.notification-settings{display:flex;flex-direction:column;gap:.75rem;width:100%}.notification-enable{display:flex;align-items:center;gap:.5rem}.notification-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#646cff}.notification-checkbox:disabled{cursor:not-allowed;opacity:.5}.notification-label{color:var(--color-text-primary);font-size:.95rem}.notification-time{display:flex;align-items:center;gap:.75rem;padding-left:1.75rem}.notification-time label{color:var(--color-text-secondary);font-size:.9rem;min-width:50px}.time-input{padding:.5rem;border:1px solid var(--color-border);border-radius:4px;font-size:1rem;background:#0a0a0a;color:var(--color-text-primary);cursor:pointer}.time-input:focus{outline:none;border-color:#646cff}.save-time-btn{padding:.5rem 1rem;background:#646cff;color:#fff;border:1px solid #646cff;border-radius:4px;font-size:.9rem;cursor:pointer;transition:background .2s,border-color .2s}.save-time-btn:hover:not(:disabled){background:#535bf2;border-color:#535bf2}.save-time-btn:disabled{background:#333;border-color:#333;color:#666;cursor:not-allowed}@media(max-width:768px){.profile-header{flex-direction:column;gap:1rem}.profile-info{max-width:none}.timezone-selector{flex-direction:column;align-items:stretch}.timezone-dropdown{width:100%}.strava-section,.strava-connected,.strava-sync{flex-direction:column;align-items:stretch}.strava-sync label{white-space:normal}.sync-date-input{max-width:none}}@media(prefers-color-scheme:light){.timezone-dropdown{background-color:#fff;color:#213547;border-color:var(--color-border)}.timezone-dropdown option{background-color:#fff;color:#213547}.save-timezone-btn:disabled{background-color:#e0e0e0;border-color:#d0d0d0;color:#999}.sync-date-input{background-color:#fff;color:#213547;border-color:var(--color-border)}.sync-btn:disabled{background-color:#e0e0e0;border-color:#d0d0d0;color:#999}.time-input{background-color:#fff;color:#213547;border-color:var(--color-border)}.save-time-btn:disabled{background-color:#e0e0e0;border-color:#d0d0d0;color:#999}.disconnect-strava-btn{background-color:#e0e0e0;border-color:#d0d0d0;color:#213547}.disconnect-strava-btn:hover{background-color:#d0d0d0;border-color:silver}}.status-badge{display:inline-flex;align-items:center;gap:.5rem;border-left-width:4px;border-left-style:solid;padding-left:.75rem;transition:all .3s ease}.status-badge-small{border-left-width:3px;padding-left:.5rem}.status-badge-large{border-left-width:5px;padding-left:1rem}.status-badge-label{font-size:.875rem;font-weight:500;color:var(--status-color)}.status-badge:hover{filter:brightness(1.2)}.activity-card{background-color:var(--color-card-bg);border-left:4px solid var(--border-color);border-radius:4px;padding:1.25rem;transition:all .3s ease;animation:slide-in .3s ease-out}.activity-card:hover{background-color:var(--color-card-bg-hover);transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.activity-card-overdue{box-shadow:0 0 20px #dc262699,0 0 40px #dc26264d;animation:pulse-glow 2s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:0 0 20px #dc262699,0 0 40px #dc26264d}50%{box-shadow:0 0 30px #dc2626cc,0 0 60px #dc262680}}.activity-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.activity-card-title{margin:0;font-size:1.25rem;font-weight:600;color:var(--text-color-dark);flex:1}.activity-card-body{display:flex;flex-direction:column;gap:.75rem}.activity-card-info{display:flex;justify-content:space-between;align-items:center;gap:1rem}.activity-card-label{font-size:.875rem;color:#fff;font-weight:600}.activity-card-value{font-size:.9375rem;color:#fff;font-weight:600}.activity-card-footer{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--color-border-subtle)}.activity-card-description{font-size:.875rem;color:var(--color-text-muted);font-style:italic}.activity-card-detailed-stats{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border-subtle);display:flex;flex-direction:column;gap:.5rem}.activity-card-stat-row{display:flex;justify-content:space-between;gap:2rem}.activity-card-stat{display:flex;align-items:center;gap:.5rem}.activity-card-stat:last-child{margin-left:auto}.activity-card-stat-full{display:flex;flex-direction:column;gap:.5rem}.streak-info{display:flex;justify-content:space-between;align-items:center}.stat-label,.stat-value{font-size:.875rem;color:#fff;font-weight:600}.activity-card-compact{padding:1rem}.activity-card-detailed{padding:1.5rem}@media(prefers-color-scheme:light){.activity-card:hover{box-shadow:0 4px 12px #0000001a}.activity-card-overdue{box-shadow:0 0 20px #dc26264d,0 0 40px #dc262626}@keyframes pulse-glow{0%,to{box-shadow:0 0 20px #dc26264d,0 0 40px #dc262626}50%{box-shadow:0 0 30px #dc262666,0 0 60px #dc262640}}.activity-card-title{color:var(--text-color-light)}.activity-card-label{color:#000000b3}.activity-card-value{color:#000000e6}.stat-label{color:#000000b3}.stat-value{color:#000000e6}}@media(max-width:768px){.activity-card{padding:1rem}.activity-card-title{font-size:1.125rem}.activity-card-info{flex-direction:column;align-items:flex-start;gap:.25rem}}.recommendations-container{max-width:1200px;margin:0 auto;padding-bottom:4rem;height:100%;display:flex;flex-direction:column}.recommendations-section{margin-bottom:3.5rem;padding-bottom:2rem;border-bottom:1px solid var(--color-border-subtle)}.recommendations-section:last-of-type{border-bottom:none}.recommendations-section h3{margin:0 0 1rem;font-weight:600;font-size:1.5rem}.section-title-today{color:#44cc52}.section-title-tomorrow{color:#4a9eff}.section-title-other{color:#a66fff}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.section-count{background-color:#ffffff1a;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.section-count-today{color:#44cc52}.section-count-tomorrow{color:#4a9eff}.section-count-other{color:#a66fff}.activity-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-bottom:1rem}.no-recommendations{text-align:center;padding:1rem;color:#888;font-style:italic}.recommendations-header{margin-bottom:2rem}.recommendations-header h2{margin:0 0 .5rem;color:#fff;font-weight:600}.recommendations-description{color:#b8b8b8;margin:0;font-size:.95rem}.recommendations-loading,.recommendations-error,.recommendations-empty{text-align:center;padding:2rem;color:#b8b8b8}.recommendations-error{color:#ff6b6b}.recommendations-table-wrapper{overflow-x:auto;margin-bottom:2rem;border-radius:8px;border:1px solid #555;background:#0a0a0a}.recommendations-table{width:100%;border-collapse:collapse;background:#0a0a0a;table-layout:fixed}.recommendations-table thead{background:#0d0d0d}.recommendations-table th{padding:.75rem;text-align:center;font-weight:600;color:#fff;border-bottom:2px solid #555}.recommendations-table tbody tr{border-left:4px solid var(--row-border-color, transparent);transition:all .3s ease}.recommendations-table tbody tr:hover{background-color:var(--color-card-bg)}.recommendations-table td{padding:.75rem;border-bottom:1px solid var(--color-border-subtle)}.recommendations-table tbody tr:last-child td{border-bottom:none}.activity-name{width:40%}.days-since,.desired-frequency,.trend-cell{width:20%}.activity-name strong{display:block;margin-bottom:.25rem;color:#fff;overflow-wrap:break-word}.activity-description{font-size:.85rem;color:#888;font-style:italic}.days-since,.desired-frequency,.average-frequency,.trend-cell{text-align:center;font-weight:500}.trend-icon{font-size:1.2rem;margin-right:.5rem}.trend-text{font-size:.9rem}.trend-improving{color:#4ade80}.trend-declining{color:#f87171}.trend-stable{color:#94a3b8}.trend-insufficient_data{color:#64748b}.difference{text-align:center;font-weight:700;font-size:1.1rem}.recommendations-legend{background:#0a0a0a;border:1px solid #555;border-radius:8px;padding:1.5rem;margin-top:2rem}.recommendations-legend h3{margin:0 0 1rem;color:#fff;font-size:1.1rem;font-weight:600}.legend-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.75rem}.legend-item{display:flex;align-items:center;gap:.75rem;color:#d0d0d0;font-size:.9rem}.legend-color{width:40px;height:24px;border-radius:4px;border:1px solid #666;flex-shrink:0}.legend-color.status-dark-green{background-color:#00b300}.legend-color.status-light-green{background-color:#4db84d}.legend-color.status-yellow{background-color:gold}.legend-color.status-red{background-color:#d00c}.legend-color.status-dark-red{background-color:#6f0000cc}.legend-color.status-grey{background-color:#888}@media(prefers-color-scheme:light){.section-title-today{color:#2d9e3a!important}.section-title-tomorrow{color:#2b7dd6!important}.section-title-other{color:#7c3fd9!important}.no-recommendations{color:#00000080}.recommendations-header h2{color:#213547}.recommendations-description,.recommendations-loading,.recommendations-empty{color:#0009}.recommendations-table-wrapper{border-color:#ddd}.recommendations-table{background:#fff}.recommendations-table thead{background:#f5f5f5}.recommendations-table th{color:#213547;border-bottom-color:#ddd}.recommendations-table td{border-bottom-color:#eee}.activity-name strong{color:#213547}.activity-description{color:#00000080}.recommendations-legend{background:#f9f9f9;border-color:#ddd}.recommendations-legend h3{color:#213547}.legend-item{color:#000c}.legend-color{border-color:#ccc}.trend-improving{color:#16a34a}.trend-declining{color:#dc2626}.trend-stable{color:#64748b}.trend-insufficient_data{color:#94a3b8}}.recommendations-preferences{margin-top:3rem;padding:1.5rem;background:var(--color-card-bg);border-radius:8px;border:1px solid var(--color-border-subtle)}.preferences-title{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--color-text-primary)}.preferences-controls{display:flex;flex-direction:column;gap:1rem}.preference-item{display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:opacity .2s ease}.preference-item:hover{opacity:.8}.preference-item input[type=checkbox]{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:var(--color-primary-gold)}.preference-label{font-size:1rem;color:var(--color-text-primary);-webkit-user-select:none;user-select:none}@media(max-width:768px){.activity-cards-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-wrap:wrap}.recommendations-section h3{font-size:1.25rem}.recommendations-table{font-size:.85rem}.recommendations-table th,.recommendations-table td{padding:.5rem .3rem}.trend-icon{font-size:1rem;margin-right:.25rem}.trend-text{font-size:.8rem}.activity-name strong{font-size:.9rem}.activity-description{font-size:.75rem}.legend-items{grid-template-columns:1fr}}.activity-chart{background-color:var(--color-card-bg);border:1px solid var(--color-border);border-radius:8px;padding:1.5rem;margin-bottom:2rem;animation:slide-in .4s ease-out}.chart-title{margin:0 0 1rem;font-size:1.125rem;font-weight:600;color:var(--color-primary-gold)}.chart-wrapper{width:100%;min-height:200px}@media(max-width:768px){.activity-chart{padding:1rem}.chart-title{font-size:1rem}}.analytics-container{max-width:1200px;margin:0 auto;padding-bottom:4rem;height:100%;display:flex;flex-direction:column}.analytics-loading,.analytics-error,.analytics-empty{text-align:center;padding:2rem;color:#b8b8b8}.analytics-error{color:#ff6b6b}.analytics-table-wrapper{overflow-x:auto;margin-bottom:2rem;border-radius:8px;border:1px solid #555;background:#0a0a0a}.analytics-table{width:100%;border-collapse:collapse;background:#0a0a0a}.analytics-table thead{background:#0d0d0d}.analytics-table th{padding:.75rem;text-align:center;font-weight:600;color:#fff;border-bottom:2px solid #555}.analytics-table td{padding:.75rem;text-align:center;border-bottom:1px solid #444;color:#e8e8e8}.analytics-table td:first-child{text-align:left;color:#fff;font-weight:500}.analytics-table tbody tr:last-child td{border-bottom:none}h2{margin:2rem 0 1rem;color:var(--color-primary-gold);font-weight:600;font-size:1.5rem}.analytics-details{margin-bottom:2rem;border:1px solid var(--color-border);border-radius:8px;background-color:var(--color-card-bg);overflow:hidden}.analytics-summary{padding:1rem 1.25rem;font-weight:600;color:var(--color-text-primary);cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.analytics-summary:hover{background-color:var(--color-card-bg-hover);color:var(--color-primary-gold-light)}.analytics-summary:before{content:"▸";display:inline-block;transition:transform .3s ease;color:var(--color-aurora-teal);font-size:.875rem}.analytics-details[open] .analytics-summary:before{transform:rotate(90deg)}.analytics-details[open] .analytics-table-wrapper{border-top:1px solid var(--color-border-subtle);border-radius:0;border-left:none;border-right:none;border-bottom:none}.status-dark-green{background-color:#0b6000cc}.status-light-green{background-color:#14ad00cc}.status-yellow{background-color:#ffdd004d}.status-red{background-color:#d00c}.status-dark-red{background-color:#6f0000cc}.status-grey{background-color:#8883}@media(max-width:768px){.analytics-table{font-size:.8rem}.analytics-table th,.analytics-table td{padding:.5rem .25rem}.analytics-container h2{font-size:1.3rem}}@media(prefers-color-scheme:light){h2{color:#213547}.analytics-loading,.analytics-empty{color:#0009}.analytics-table-wrapper{border-color:#ddd}.analytics-table{background:#fff}.analytics-table thead{background:#f5f5f5}.analytics-table th{color:#213547;border-bottom-color:#ddd}.analytics-table td{color:#213547;border-bottom-color:#eee}.analytics-table td:first-child{color:#213547}.status-dark-green{background-color:#0b6000cc}.status-light-green{background-color:#14ad00cc}.status-yellow{background-color:#ffdd0040}.status-red{background-color:#d00c}.status-dark-red{background-color:#6f0000cc}.status-grey{background-color:#88888826}}
