.metric-picker{position:relative}.metric-picker-input{width:100%;padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.875rem;color:#1f2937;min-height:38px;box-sizing:border-box}.metric-picker-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a;outline:none}.metric-picker-input::placeholder{color:#9ca3af}.metric-picker-dropdown{position:absolute;top:100%;left:0;right:0;margin:.25rem 0 0;padding:.25rem 0;list-style:none;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 4px 12px #0000001a;max-height:240px;overflow-y:auto;z-index:50}.metric-picker-group-header{padding:.375rem .75rem .25rem;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;cursor:default}.metric-picker-option{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;cursor:pointer;font-size:.875rem}.metric-picker-option:hover,.metric-picker-option.highlighted{background:#f3f0ff}.metric-picker-option.selected{font-weight:500}.metric-option-label{color:#1f2937}.metric-option-key{font-family:monospace;font-size:.75rem;color:#9ca3af;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(prefers-color-scheme:dark){.metric-picker-input{background:#111827;border-color:#4b5563;color:#f9fafb}.metric-picker-input::placeholder{color:#6b7280}.metric-picker-dropdown{background:#1f2937;border-color:#4b5563;box-shadow:0 4px 12px #0000004d}.metric-picker-group-header{color:#6b7280}.metric-picker-option:hover,.metric-picker-option.highlighted{background:#374151}.metric-option-label{color:#f9fafb}.metric-option-key{color:#6b7280}}.add-data-page{max-width:600px;margin:0 auto;padding:2rem}.add-data-page h1{font-size:1.75rem;margin-bottom:1.5rem}.add-data-tabs{display:flex;gap:0;margin-bottom:1.5rem;border-bottom:2px solid #e5e7eb}.add-data-tab{padding:.625rem 1.25rem;font-size:.9rem;font-weight:500;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;color:#6b7280;transition:all .15s ease}.add-data-tab:hover{color:#374151}.add-data-tab.active{color:#673ab8;border-bottom-color:#673ab8}.add-form{display:flex;flex-direction:column;gap:1rem}.add-form .form-field{display:flex;flex-direction:column;gap:.375rem}.add-form .form-field label{font-weight:500;font-size:.9rem;color:#374151}.add-form .form-field input,.add-form .form-field select,.add-form .form-field textarea{padding:.5rem;font-size:.95rem;border:1px solid #d1d5db;border-radius:6px;background:transparent;color:inherit;font-family:inherit}.add-form .form-field input:focus,.add-form .form-field select:focus,.add-form .form-field textarea:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 2px #673ab833}.add-form .form-field textarea{resize:vertical;min-height:60px}.add-form .form-row{display:flex;gap:1rem}.add-form .form-row .form-field{flex:1}.add-form-actions{display:flex;gap:.75rem;margin-top:.5rem}.add-form-actions .btn-primary{padding:.5rem 1.5rem;font-size:.9rem;background:#673ab8;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500}.add-form-actions .btn-primary:hover:not(:disabled){background:#5e35b1}.add-form-actions .btn-primary:disabled{opacity:.5;cursor:not-allowed}.add-form .form-hint{font-size:.8rem;color:#9ca3af;margin-top:-.125rem}.add-form .form-check{display:flex;align-items:center;gap:.5rem}.add-form .form-check input[type=checkbox]{width:auto}.add-form .form-check label{font-weight:400}.add-success{padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;color:#166534;font-size:.9rem;margin-bottom:1rem}.add-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-size:.9rem;margin-bottom:1rem}@media(prefers-color-scheme:dark){.add-data-tabs{border-color:#374151}.add-data-tab{color:#9ca3af}.add-data-tab:hover{color:#d1d5db}.add-data-tab.active{color:#a78bfa;border-bottom-color:#a78bfa}.add-form .form-field label{color:#d1d5db}.add-form .form-field input,.add-form .form-field select,.add-form .form-field textarea{border-color:#4b5563}.add-form .form-field input:focus,.add-form .form-field select:focus,.add-form .form-field textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf64d}.add-form .form-hint{color:#6b7280}.add-success{background:#052e16;border-color:#166534;color:#86efac}.add-error{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}}@media(max-width:639px){.add-data-page{padding:1rem}.add-form .form-row{flex-direction:column;gap:1rem}}.admin-settings-page{max-width:600px;margin:0 auto;padding:2rem}.admin-settings-page h1{font-size:1.75rem;margin-bottom:1.5rem}.admin-settings-page .loading{text-align:center;padding:2rem}.form-field select{padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;width:100%;max-width:400px;background:#fff}.stat-value{font-size:1.5rem;font-weight:600;color:#333;margin:0}.connected-status{color:#4caf50;font-weight:500;margin:0 0 .5rem}.api-key-input-row{display:flex;gap:.5rem;max-width:400px}.api-key-input-row input{flex:1;padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px}.clear-button{padding:.5rem 1rem;font-size:.875rem;background:#f44336;color:#fff;border:none;border-radius:4px;cursor:pointer;white-space:nowrap}.clear-button:hover{background:#d32f2f}.toggle-row{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400}.toggle-row input[type=checkbox]{width:1.1rem;height:1.1rem;cursor:pointer}.generate-button{padding:.75rem 1.5rem;font-size:1rem;background:#673ab8;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-bottom:1rem}.generate-button:hover:not(:disabled){background:#5e35b1}.generate-button:disabled{opacity:.6;cursor:not-allowed}.invitation-result{margin-top:1rem;padding:1rem;background:#f5f5f5;border-radius:8px}.invitation-url{display:flex;gap:.5rem}.invitation-url input{flex:1;padding:.5rem;font-size:.875rem;border:1px solid #ccc;border-radius:4px;font-family:monospace;background:#fff}.copy-button{padding:.5rem 1rem;font-size:.875rem;background:#2196f3;color:#fff;border:none;border-radius:4px;cursor:pointer;white-space:nowrap}.copy-button:hover{background:#1976d2}.invitation-expiry{color:#666;font-size:.875rem;margin-top:.5rem;margin-bottom:0}@media(prefers-color-scheme:dark){.settings-section{border-bottom-color:#444}.section-description,.field-description{color:#aaa}.form-field select,.api-key-input-row input{background:#333;border-color:#555;color:#fff}.stat-value{color:#fff}.invitation-result{background:#333}.invitation-url input{background:#222;border-color:#555;color:#fff}}@media(max-width:639px){.admin-settings-page{padding:1rem}.admin-settings-page h1{font-size:1.5rem}.invitation-url{flex-direction:column}}.correlations-page{max-width:1000px;margin:0 auto;padding:2rem}.correlations-page .correlations-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.correlations-page h1{font-size:2rem;margin:0;color:#1f2937}.correlations-page h2{font-size:1.25rem;margin:0 0 1rem;color:#374151;border-bottom:2px solid #673ab8;padding-bottom:.5rem}.correlations-page h3{font-size:1rem;margin:0 0 .75rem;color:#6b7280}.correlations-page .intro-text{color:#6b7280;margin-bottom:1.5rem;font-size:.95rem}.correlations-page .period-select{padding:.5rem 1rem;font-size:.9rem;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;cursor:pointer}.correlations-page .period-select:hover{border-color:#673ab8}.correlations-page .loading{text-align:center;padding:2rem;color:#6b7280}.correlations-page .baseline-section{margin-bottom:2rem}.correlations-page .baseline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.correlations-page .baseline-card{background:#f9fafb;border-radius:12px;padding:1rem;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.25rem}.correlations-page .baseline-label{font-size:.85rem;color:#6b7280}.correlations-page .baseline-value{font-size:1.5rem;font-weight:600}.correlations-page .baseline-value.hrv{color:#10b981}.correlations-page .baseline-value.hr{color:#ef4444}.correlations-page .impact-section{margin-bottom:2rem;background:#f9fafb;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb}.correlations-page .impact-section h2{border:none;padding:0;margin-bottom:.5rem}.correlations-page .impact-meta{font-size:.85rem;font-weight:400;color:#6b7280;margin-left:.75rem}.correlations-page .impact-chart-container{width:100%;overflow:hidden}.correlations-page .impact-legend{display:flex;gap:1.5rem;margin-top:.75rem;flex-wrap:wrap;font-size:.85rem;color:#6b7280}.correlations-page .impact-legend .dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.25rem}.correlations-page .impact-legend .dot.hrv{background:#10b981}.correlations-page .impact-legend .dot.hr{background:#ef4444}.correlations-page .impact-legend .zone{display:inline-block;width:20px;height:10px;background:#3b82f633;margin-right:.25rem}.correlations-page .table-section{margin-bottom:2rem}.correlations-page .table-container{overflow-x:auto}.correlations-page .correlations-table{width:100%;border-collapse:collapse;font-size:.9rem}.correlations-page .correlations-table th{background:#f3f4f6;padding:.75rem .5rem;text-align:left;font-weight:500;color:#374151;border-bottom:2px solid #e5e7eb}.correlations-page .correlations-table td{padding:.75rem .5rem;border-bottom:1px solid #e5e7eb}.correlations-page .correlations-table tbody tr{cursor:pointer;transition:background .15s}.correlations-page .correlations-table tbody tr:hover{background:#f9fafb}.correlations-page .correlations-table tbody tr.selected{background:#ede9fe}.correlations-page .name-cell{font-weight:500}.correlations-page .name-cell .name{display:block}.correlations-page .name-cell .extra{display:block;font-size:.75rem;color:#9ca3af;font-weight:400}.correlations-page .type-cell{color:#6b7280;font-size:.8rem}.correlations-page .value-cell{font-variant-numeric:tabular-nums}.correlations-page .delta-cell{font-variant-numeric:tabular-nums;font-weight:500}.correlations-page .delta-cell.positive{color:#059669}.correlations-page .delta-cell.negative{color:#dc2626}.correlations-page .samples-cell{color:#6b7280;font-size:.8rem}.correlations-page .info-section{background:#f9fafb;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb}.correlations-page .info-section ul{margin:0;padding-left:1.25rem;color:#6b7280;font-size:.9rem}.correlations-page .info-section li{margin-bottom:.5rem}@media(prefers-color-scheme:dark){.correlations-page h1{color:#f3f4f6}.correlations-page h2{color:#d1d5db;border-color:#8b5cf6}.correlations-page .intro-text{color:#9ca3af}.correlations-page .period-select{background:#1f2937;border-color:#374151;color:#d1d5db}.correlations-page .period-select:hover{border-color:#8b5cf6}.correlations-page .baseline-card,.correlations-page .impact-section,.correlations-page .info-section{background:#1f2937;border-color:#374151}.correlations-page .baseline-label{color:#9ca3af}.correlations-page .correlations-table th{background:#111827;color:#d1d5db;border-color:#374151}.correlations-page .correlations-table td{border-color:#374151}.correlations-page .correlations-table tbody tr:hover{background:#1f2937}.correlations-page .correlations-table tbody tr.selected{background:#312e81}.correlations-page .type-cell,.correlations-page .samples-cell{color:#9ca3af}.correlations-page .name-cell .extra{color:#6b7280}.correlations-page .delta-cell.positive{color:#34d399}.correlations-page .delta-cell.negative{color:#f87171}.correlations-page .info-section ul{color:#9ca3af}}@media(max-width:768px){.correlations-page{padding:1rem}.correlations-page .correlations-header{flex-direction:column;align-items:flex-start;gap:1rem}.correlations-page h1{font-size:1.5rem}.correlations-page .correlations-table{font-size:.8rem}.correlations-page .correlations-table th,.correlations-page .correlations-table td{padding:.5rem .25rem}}.day-view{margin:0 auto;padding:2rem;width:100%}.day-view h1{font-size:2rem;margin:0 0 1.5rem;color:#1f2937}.day-view-controls{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:.75rem 1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.day-view-nav{display:flex;align-items:center;gap:.25rem}.day-view-nav .nav-btn{background:transparent;border:1px solid #d1d5db;border-radius:4px;padding:.375rem .625rem;font-size:.875rem;font-weight:600;cursor:pointer;color:#374151;transition:background .15s,border-color .15s;min-width:2rem;text-align:center}.day-view-nav .nav-btn:hover{background:#e5e7eb;border-color:#9ca3af}.day-view-nav .nav-btn:active{background:#d1d5db}.day-view-nav .nav-today{padding:.375rem .75rem;font-weight:500}.day-view-date-label{font-size:.9rem;color:#374151;font-weight:500}.day-view-fetching{font-size:.8rem;color:#6b7280;animation:dayview-pulse 1.5s ease-in-out infinite}@keyframes dayview-pulse{0%,to{opacity:1}50%{opacity:.4}}.day-view-legend{display:flex;flex-wrap:wrap;gap:.75rem;padding:.75rem 1rem;margin-bottom:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;font-size:.85rem}.day-view-legend .legend-item{display:flex;align-items:center;gap:.375rem;cursor:pointer;background:none;border:none;padding:.25rem .5rem;border-radius:4px;font:inherit;font-size:.85rem;color:inherit;transition:opacity .15s,background .15s}.day-view-legend .legend-item:hover{background:#0000000d}.day-view-legend .legend-item-hidden{opacity:.4;text-decoration:line-through}.day-view-legend .legend-dot{width:12px;height:12px;border-radius:3px;flex-shrink:0}.day-view-chart-container{position:relative;overflow:hidden}.day-view-chart-container svg{display:block;cursor:grab}.day-view-chart-container svg:active{cursor:grabbing}.day-view-chart-container svg [data-clickable]{cursor:pointer}.day-view-tooltip{position:absolute;pointer-events:none;background:#000000e6;color:#fff;padding:.625rem .875rem;border-radius:6px;font-size:.8rem;line-height:1.5;max-width:300px;z-index:1000;white-space:pre-line;box-shadow:0 4px 12px #0003}.day-view-tooltip .tooltip-title{font-weight:600;margin-bottom:.25rem}.day-view-tooltip .tooltip-time{color:#9ca3af;font-size:.75rem}.day-view-tooltip .tooltip-detail{color:#d1d5db;margin-top:.25rem}.day-view-tooltip .tooltip-music{color:#ec4899;margin-top:.375rem;font-style:italic}.day-view-tooltip .hr-zone-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;margin-top:.375rem}.day-view-tooltip .hr-zone-bar span{display:block;height:100%}.day-view-help{font-size:.8rem;color:#9ca3af;margin-top:.5rem;text-align:center}.day-view .loading,.day-view .error{text-align:center;padding:2rem;color:#6b7280}.day-view .error{color:#dc2626}.day-view-list{display:none}.day-view-list-item{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #e5e7eb;text-decoration:none;color:inherit}.day-view-list-item.clickable{cursor:pointer}.day-view-list-item.clickable:hover{background:#f9fafb}.day-view-list-item .list-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0;margin-top:.375rem}.day-view-list-item .list-time{font-size:.8rem;color:#6b7280;min-width:90px;flex-shrink:0}.day-view-list-item .list-content{flex:1}.day-view-list-item .list-title{font-weight:500;color:#374151}.day-view-list-item .list-detail{font-size:.85rem;color:#6b7280}.day-view-column-headers{display:flex;font-size:.8rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem;padding:0 0 .5rem;border-bottom:1px solid #e5e7eb}@media(prefers-color-scheme:dark){.day-view h1{color:#f3f4f6}.day-view-controls{background:#1f2937;border-color:#374151}.day-view-nav .nav-btn{color:#d1d5db;border-color:#4b5563;background:transparent}.day-view-nav .nav-btn:hover{background:#374151;border-color:#6b7280}.day-view-nav .nav-btn:active{background:#4b5563}.day-view-date-label{color:#d1d5db}.day-view-fetching{color:#9ca3af}.day-view-legend{background:#1f2937;border-color:#374151}.day-view-legend .legend-item:hover{background:#ffffff14}.day-view-tooltip{background:#111827f2}.day-view-column-headers{color:#9ca3af;border-color:#374151}.day-view-list-item{border-color:#374151}.day-view-list-item .list-title{color:#d1d5db}.day-view-list-item .list-detail{color:#9ca3af}.day-view-list-item.clickable:hover{background:#1f2937}}@media(max-width:768px){.day-view{padding:1rem}.day-view h1{font-size:1.5rem}.day-view-chart-container,.day-view-column-headers,.day-view-help{display:none}.day-view-list{display:block}}.md-editor{border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.md-editor-tabs{display:flex;border-bottom:1px solid #d1d5db;background:#f9fafb}.md-editor-tab{padding:.5rem 1rem;border:none;background:transparent;font-size:.85rem;font-weight:500;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.md-editor-tab:hover{color:#374151}.md-editor-tab.active{color:#673ab8;border-bottom-color:#673ab8;background:#fff}.md-editor-textarea{width:100%;padding:.75rem;border:none;resize:vertical;font-family:inherit;font-size:.9rem;line-height:1.6;min-height:80px;box-sizing:border-box}.md-editor-textarea:focus{outline:none}.md-editor-preview{padding:.75rem;font-size:.9rem;line-height:1.6;min-height:80px}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3{margin:.5em 0 .25em}.md-editor-preview h1{font-size:1.25rem}.md-editor-preview h2{font-size:1.1rem}.md-editor-preview h3{font-size:1rem}.md-editor-preview p{margin:.5em 0}.md-editor-preview ul,.md-editor-preview ol{margin:.5em 0;padding-left:1.5em}.md-editor-preview code{background:#f3f4f6;padding:.15em .4em;border-radius:3px;font-size:.85em}.md-editor-preview pre{background:#f3f4f6;padding:.75em;border-radius:4px;overflow-x:auto}.md-editor-preview pre code{background:none;padding:0}.md-editor-preview a{color:#673ab8}.md-editor-preview blockquote{margin:.5em 0;padding-left:.75em;border-left:3px solid #d1d5db;color:#6b7280}@media(prefers-color-scheme:dark){.md-editor{border-color:#4b5563}.md-editor-tabs{border-color:#4b5563;background:#1f2937}.md-editor-tab{color:#9ca3af}.md-editor-tab:hover{color:#d1d5db}.md-editor-tab.active{color:#a78bfa;border-bottom-color:#a78bfa;background:#111827}.md-editor-textarea{background:#111827;color:#f3f4f6}.md-editor-preview{color:#f3f4f6}.md-editor-preview code,.md-editor-preview pre{background:#374151}.md-editor-preview blockquote{border-left-color:#4b5563;color:#9ca3af}}.entity-detail-page{max-width:1200px;width:100%;margin:0 auto;padding:2rem}.entity-detail-header{margin-bottom:1.5rem}.back-link{color:#673ab8;text-decoration:none;font-size:.9rem;font-weight:500}.back-link:hover{text-decoration:underline}.back-link-btn{background:none;border:none;padding:0;cursor:pointer;font:inherit}.deleted-banner{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;margin-bottom:1.5rem;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-size:.9rem}.btn-restore{padding:.375rem .75rem;font-size:.8rem;background:#673ab8;color:#fff;border:none;border-radius:4px;cursor:pointer;white-space:nowrap}.btn-restore:hover:not(:disabled){background:#5e35b1}.btn-restore:disabled{opacity:.5;cursor:not-allowed}.entity-info{margin-bottom:1.5rem}.entity-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.entity-type-badge{display:inline-block;padding:.2rem .6rem;background:#673ab8;color:#fff;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.entity-source{font-size:.8rem;color:#6b7280}.entity-info h2{margin:0 0 1rem;font-size:1.5rem}.entity-fields{display:flex;flex-direction:column;gap:.5rem}.field-row{display:flex;gap:1rem;font-size:.9rem}.field-label{min-width:80px;color:#6b7280;font-weight:500}.field-value{color:#374151}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;margin-top:1.5rem}.detail-grid-full{grid-column:1 / -1}.metric-cards{display:flex;flex-wrap:wrap;gap:.75rem}.metric-card{padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;min-width:100px;text-align:center}.metric-card-label{font-size:.75rem;color:#6b7280;font-weight:500;margin-bottom:.25rem}.metric-card-value{font-size:1.25rem;font-weight:700;color:#374151}.metric-card-unit{font-size:.8rem;font-weight:400;color:#9ca3af}.merged-indicator{display:inline-block;padding:.25rem .75rem;margin-bottom:1rem;background:#ede9fe;color:#5b21b6;border-radius:999px;font-size:.8rem;font-weight:500}.source-records{margin-top:1.5rem;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.source-records h3{font-size:1rem;margin:0 0 .75rem}.source-record{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:.5rem;text-decoration:none;color:inherit;transition:background .15s ease}.source-record:last-child{margin-bottom:0}.source-record:hover{background:#f3f4f6}.source-record-source{font-weight:500;font-size:.85rem;min-width:100px}.source-record-time{font-size:.8rem;color:#6b7280}.source-record-title{font-size:.8rem;color:#6b7280;margin-left:auto}.activity-chart-container{position:relative}.chart-toggles{display:flex;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.chart-toggle{display:flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border:1px solid #d1d5db;border-radius:999px;background:transparent;cursor:pointer;font-size:.8rem;color:#6b7280;transition:all .15s ease}.chart-toggle.active{background:#f3f4f6;border-color:#9ca3af;color:#374151}.chart-toggle-dot{width:8px;height:8px;border-radius:50%}.chart-svg-container{position:relative;width:100%;overflow:hidden}.chart-tooltip{display:none;position:absolute;padding:.375rem .5rem;background:#fffffff2;border:1px solid #d1d5db;border-radius:4px;font-size:.75rem;line-height:1.4;white-space:pre;pointer-events:none;z-index:10;color:#374151}.chart-svg-container svg{display:block}.music-playlist{border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;padding:1rem}.music-playlist h3{font-size:1rem;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.music-playlist-list{display:flex;flex-direction:column;gap:.375rem;max-height:300px;overflow-y:auto}.music-playlist-item{display:flex;align-items:baseline;gap:.5rem;font-size:.85rem;line-height:1.4}.music-playlist-time{font-size:.75rem;color:#9ca3af;white-space:nowrap;min-width:40px}.music-playlist-track{color:#374151}.music-playlist-artist{font-weight:500}.music-playlist-album{font-size:.75rem;color:#9ca3af}.detail-section{border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.detail-section h3{font-size:1rem;margin:0 0 .75rem}.hr-zones-detail{margin-top:1.25rem}.hr-zones-detail h3{font-size:1rem;margin:0 0 .5rem}.hr-zone-visual-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;margin-bottom:.5rem}.hr-zone-segment{display:block;height:100%}.hr-zone-legend{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.8rem;color:#6b7280}.hr-zone-entry{display:flex;align-items:center;gap:.25rem}.hr-zone-dot{width:8px;height:8px;border-radius:2px}.entity-actions{display:flex;gap:.5rem;margin-bottom:1.5rem;padding-top:1rem;border-top:1px solid #e5e7eb}.btn-danger{padding:.5rem 1rem;font-size:.85rem;background:transparent;border:1px solid #ef4444;color:#ef4444;border-radius:4px;cursor:pointer}.btn-danger:hover:not(:disabled){background:#ef4444;color:#fff}.btn-danger:disabled{opacity:.5;cursor:not-allowed}.notes-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.notes-section h3{font-size:1.1rem;margin:0 0 1rem}.notes-loading{color:#6b7280;font-size:.9rem}.notes-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.note-item{padding:.75rem;border:1px solid #e5e7eb;border-radius:6px}.note-content{font-size:.9rem;line-height:1.6}.note-content p:first-child{margin-top:0}.note-content p:last-child{margin-bottom:0}.note-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #f3f4f6}.note-date{font-size:.75rem;color:#9ca3af}.note-actions{display:flex;gap:.5rem}.note-action-btn{padding:.2rem .5rem;font-size:.75rem;background:transparent;border:1px solid #d1d5db;border-radius:3px;cursor:pointer;color:#6b7280}.note-action-btn:hover{border-color:#9ca3af;color:#374151}.note-action-btn.danger{border-color:#fca5a5;color:#ef4444}.note-action-btn.danger:hover{background:#ef4444;color:#fff;border-color:#ef4444}.note-edit-form{display:flex;flex-direction:column;gap:.5rem}.note-edit-actions{display:flex;gap:.5rem}.note-add-form{display:flex;flex-direction:column;gap:.5rem}.btn-primary{padding:.5rem 1rem;font-size:.85rem;background:#673ab8;color:#fff;border:none;border-radius:4px;cursor:pointer;align-self:flex-start}.btn-primary:hover:not(:disabled){background:#5e35b1}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{padding:.5rem 1rem;font-size:.85rem;background:transparent;border:1px solid #d1d5db;color:#374151;border-radius:4px;cursor:pointer}.btn-secondary:hover{background:#f3f4f6}.btn-edit{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem;cursor:pointer;color:#6b7280;transition:all .2s;display:flex;align-items:center}.btn-edit:hover:not(:disabled){background:#673ab8;border-color:#673ab8;color:#fff}.btn-edit:disabled{opacity:.4;cursor:not-allowed}.edit-title-input{display:block;width:100%;margin:0 0 1rem;padding:.375rem .5rem;font-size:1.5rem;font-weight:600;border:1px solid #d1d5db;border-radius:6px;background:transparent;color:inherit;box-sizing:border-box}.edit-title-input:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 2px #673ab833}.edit-datetime-input{padding:.25rem .5rem;font-size:.9rem;border:1px solid #d1d5db;border-radius:4px;background:transparent;color:inherit}.edit-datetime-input:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 2px #673ab833}.edit-notes-block{margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem}.edit-notes-input{width:100%;padding:.375rem .5rem;font-size:.9rem;border:1px solid #d1d5db;border-radius:4px;background:transparent;color:inherit;resize:vertical;font-family:inherit;box-sizing:border-box}.edit-notes-input:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 2px #673ab833}.entity-detail-page .loading,.entity-detail-page .error{text-align:center;padding:2rem;color:#6b7280}.entity-detail-page .error{color:#dc2626}@media(prefers-color-scheme:dark){.back-link{color:#a78bfa}.deleted-banner{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}.entity-source{color:#9ca3af}.entity-info h2{color:#f3f4f6}.field-label{color:#9ca3af}.field-value{color:#d1d5db}.entity-actions,.notes-section,.note-item{border-color:#374151}.note-footer{border-color:#1f2937}.note-action-btn{border-color:#4b5563;color:#9ca3af}.note-action-btn:hover{color:#d1d5db;border-color:#6b7280}.btn-secondary{border-color:#4b5563;color:#d1d5db}.btn-secondary:hover{background:#374151}.hr-zone-legend{color:#9ca3af}.metric-card{background:#1f2937;border-color:#374151}.metric-card-value{color:#f3f4f6}.metric-card-label{color:#9ca3af}.music-playlist{background:#1f2937;border-color:#374151}.music-playlist-track{color:#d1d5db}.detail-section{border-color:#374151}.merged-indicator{background:#2e1065;color:#c4b5fd}.source-records,.source-record{border-color:#374151}.source-record:hover{background:#1f2937}.source-record-source{color:#d1d5db}.source-record-time,.source-record-title{color:#9ca3af}.btn-edit{background:#374151;border-color:#4b5563;color:#9ca3af}.btn-edit:hover:not(:disabled){background:#8b5cf6;border-color:#8b5cf6;color:#fff}.edit-title-input{border-color:#4b5563}.edit-title-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf64d}.edit-datetime-input{border-color:#4b5563}.edit-datetime-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf64d}.edit-notes-input{border-color:#4b5563}.edit-notes-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf64d}.chart-toggle{border-color:#4b5563;color:#9ca3af}.chart-toggle.active{background:#374151;border-color:#6b7280;color:#d1d5db}.chart-tooltip{background:#1f2937f2;border-color:#4b5563;color:#d1d5db}}@media(max-width:639px){.entity-detail-page{padding:1rem}.entity-info h2{font-size:1.25rem}.field-row{flex-direction:column;gap:.125rem}.field-label{min-width:auto}.detail-grid{grid-template-columns:1fr}.metric-cards{gap:.5rem}.metric-card{min-width:80px;padding:.5rem .75rem}}.goals-page{max-width:600px;margin:0 auto;padding:1rem}.goals-page h1{margin-bottom:1.5rem}.goals-page .loading{color:#888}.goals-page .no-goals{color:#888;font-style:italic}.goals-page .no-goals a{color:#673ab8}.goals-list{display:flex;flex-direction:column;gap:1.5rem}.goal-progress{background:var(--bg-secondary, #f5f5f5);border-radius:8px;padding:1rem}.goal-progress.loading{opacity:.6}.goal-header{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.goal-label{font-weight:600;font-size:1rem}.goal-window{font-weight:400;font-size:.85rem;color:#888}.losing-tomorrow{color:#888;font-size:.85rem}.goal-value{margin-left:auto;font-weight:600;font-size:1.1rem}.progress-container{position:relative;height:24px;background:#ddd;border-radius:12px;overflow:hidden;margin-bottom:.25rem}.progress-container.overflow{height:16px;margin-top:4px;opacity:.8}.progress-bar{height:100%;border-radius:12px;transition:width .3s ease}.progress-bar.below-min{background:linear-gradient(90deg,#9e9e9e,#757575)}.progress-bar.in-range,.progress-bar.met{background:linear-gradient(90deg,#4caf50,#45a045)}.progress-bar.over-max{background:linear-gradient(90deg,#f44336,#d32f2f)}.progress-bar.neutral{background:linear-gradient(90deg,#2196f3,#1976d2)}.progress-bar.loading{background:#ccc}.min-marker{position:absolute;top:0;bottom:0;width:3px;background:#fff;opacity:.8;box-shadow:0 0 4px #0000004d}.goal-targets{display:flex;gap:1rem;font-size:.8rem;color:#666}.target-label{font-weight:500}.goals-footer{margin-top:2rem;font-size:.9rem;color:#888;text-align:center}.goals-footer a{color:#673ab8}@media(prefers-color-scheme:dark){.goal-progress{background:var(--bg-secondary, #2a2a2a)}.goal-window,.losing-tomorrow{color:#aaa}.progress-container{background:#444}.goal-targets,.goals-footer{color:#aaa}}@media(max-width:639px){.goal-header{flex-direction:column;align-items:flex-start}.goal-value{margin-left:0}}.help-page{width:100%;max-width:1200px;margin:0 auto;padding:2rem;box-sizing:border-box}.help-page .page-header{margin-bottom:2rem}.help-page h1{font-size:1.75rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.help-page .page-subtitle{color:#4b5563;font-size:1rem;line-height:1.6;max-width:700px}.help-page h2{font-size:1.25rem;font-weight:600;color:#374151;margin:0 0 1.5rem;padding-bottom:.5rem;border-bottom:2px solid #673ab8}.help-page .loading{text-align:center;padding:2rem;color:#6b7280}.help-page .login-prompt{color:#6b7280;margin-bottom:1rem}.help-page .login-link{display:inline-block;padding:.625rem 1.5rem;background:#673ab8;color:#fff;border-radius:6px;text-decoration:none;font-weight:500}.help-page .login-link:hover{background:#5b32a3}.help-page .data-sources{margin-bottom:3rem}.help-page .sources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.help-page .data-source-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;transition:box-shadow .2s}.help-page .data-source-card:hover{box-shadow:0 4px 12px #00000014}.help-page .data-source-card.has-data{border-color:#86efac;background:#f0fdf4}.help-page .data-source-card.no-data{border-color:#fcd34d;background:#fffbeb}.help-page .card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.help-page .card-header h3{font-size:1.1rem;font-weight:600;color:#1f2937;margin:0}.help-page .status-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%}.help-page .status-icon.connected{background:#dcfce7;color:#16a34a}.help-page .status-icon.missing{background:#fef3c7;color:#d97706}.help-page .card-description{font-size:.9rem;color:#4b5563;margin:0 0 1rem;line-height:1.5}.help-page .setup-section{padding-top:1rem;border-top:1px solid #e5e7eb}.help-page .setup-section h4{font-size:.9rem;font-weight:600;color:#374151;margin:0 0 .75rem}.help-page .setup-steps{margin:0 0 1rem;padding-left:1.25rem;font-size:.875rem;color:#4b5563;line-height:1.6}.help-page .setup-steps li{margin-bottom:.5rem}.help-page .links{display:flex;flex-wrap:wrap;gap:.75rem}.help-page .links a{display:inline-block;padding:.375rem .75rem;background:#673ab8;color:#fff;font-size:.8rem;font-weight:500;border-radius:6px;text-decoration:none;transition:background .2s}.help-page .links a:hover{background:#5b32a3}.help-page .quick-tips{background:#f9fafb;border-radius:12px;padding:1.5rem;border:1px solid #e5e7eb}.help-page .quick-tips h2{border-bottom:none;margin-bottom:1rem;padding-bottom:0}.help-page .quick-tips ul{margin:0;padding-left:1.25rem;color:#4b5563;line-height:1.7}.help-page .quick-tips li{margin-bottom:.75rem}.help-page .quick-tips li:last-child{margin-bottom:0}.help-page .quick-tips strong{color:#1f2937}@media(prefers-color-scheme:dark){.help-page h1{color:#f9fafb}.help-page .page-subtitle{color:#9ca3af}.help-page h2{color:#e5e7eb;border-color:#8b5cf6}.help-page .data-source-card{background:#1f2937;border-color:#374151}.help-page .data-source-card:hover{box-shadow:0 4px 12px #0000004d}.help-page .data-source-card.has-data{border-color:#166534;background:#052e16}.help-page .data-source-card.no-data{border-color:#854d0e;background:#422006}.help-page .card-header h3{color:#f9fafb}.help-page .status-icon.connected{background:#166534;color:#4ade80}.help-page .status-icon.missing{background:#854d0e;color:#fbbf24}.help-page .card-description{color:#9ca3af}.help-page .setup-section{border-color:#374151}.help-page .setup-section h4{color:#e5e7eb}.help-page .setup-steps{color:#9ca3af}.help-page .links a{background:#7c3aed}.help-page .links a:hover{background:#6d28d9}.help-page .quick-tips{background:#1f2937;border-color:#374151}.help-page .quick-tips ul{color:#9ca3af}.help-page .quick-tips strong{color:#f9fafb}.help-page .login-prompt{color:#9ca3af}}@media(max-width:800px){.help-page .sources-grid{grid-template-columns:1fr}}@media(max-width:639px){.help-page{padding:1rem}.help-page h1{font-size:1.5rem}.help-page .page-subtitle{font-size:.9rem}}.dashboard-editor-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.dashboard-editor-modal{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:1.25rem;color:#111827}.close-btn{background:none;border:none;cursor:pointer;padding:.25rem;color:#6b7280;border-radius:4px;transition:background-color .2s}.close-btn:hover{background:#f3f4f6;color:#111827}.modal-content{flex:1;overflow-y:auto;padding:1.5rem}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e5e7eb}.widget-picker{display:flex;flex-direction:column;gap:.75rem}.widget-template{display:flex;flex-direction:column;align-items:flex-start;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;text-align:left;transition:all .2s}.widget-template:hover{border-color:#673ab8;background:#faf5ff}.template-label{font-weight:600;color:#111827;margin-bottom:.25rem}.template-description{font-size:.875rem;color:#6b7280}.widget-config{display:flex;flex-direction:column;gap:1rem}.back-btn{display:flex;align-items:center;gap:.5rem;background:none;border:none;cursor:pointer;color:#673ab8;font-size:.875rem;padding:0;margin-bottom:.5rem}.back-btn:hover{text-decoration:underline}.config-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.375rem}.form-group label{font-size:.875rem;font-weight:500;color:#374151}.form-group input,.form-group select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#111827;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 3px #673ab81a}.form-group input[type=color]{height:2.5rem;padding:.25rem;cursor:pointer}.btn-primary{background:#673ab8;color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-primary:hover{background:#5b32a3}.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db;padding:.625rem 1.25rem;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f3f4f6;border-color:#9ca3af}@media(prefers-color-scheme:dark){.dashboard-editor-modal{background:#1f2937}.modal-header{border-color:#374151}.modal-header h3{color:#f9fafb}.close-btn{color:#9ca3af}.close-btn:hover{background:#374151;color:#f9fafb}.modal-footer{border-color:#374151}.widget-template{background:#111827;border-color:#374151}.widget-template:hover{border-color:#8b5cf6;background:#1e1b4b}.template-label{color:#f9fafb}.template-description{color:#9ca3af}.back-btn{color:#a855f7}.form-group label{color:#d1d5db}.form-group input,.form-group select{background:#111827;border-color:#374151;color:#f9fafb}.form-group input:focus,.form-group select:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf633}.btn-secondary{background:#374151;color:#f9fafb;border-color:#4b5563}.btn-secondary:hover{background:#4b5563;border-color:#6b7280}}.dashboard{width:100%;padding:2rem;box-sizing:border-box}.dashboard .dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.dashboard h1{font-size:2rem;margin:0;color:#333}.dashboard .dashboard-actions{display:flex;gap:.75rem}.dashboard .btn-edit{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem;cursor:pointer;color:#6b7280;transition:all .2s}.dashboard .btn-edit:hover{background:#673ab8;border-color:#673ab8;color:#fff}.dashboard .btn-primary{background:#673ab8;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .2s}.dashboard .btn-primary:hover{background:#5b32a3}.dashboard .btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db;padding:.5rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.dashboard .btn-secondary:hover{background:#f3f4f6;border-color:#9ca3af}.dashboard .section-header{display:flex;align-items:center}.dashboard .collapse-indicator{font-size:.75rem;margin-left:.5rem;color:#9ca3af}.dashboard h2{font-size:1.25rem;margin:0 0 1rem;color:#555;border-bottom:2px solid #673ab8;padding-bottom:.5rem}.dashboard h3{font-size:1.1rem;margin:0 0 1rem;color:#666}.dashboard .loading{text-align:center;padding:2rem;color:#888}.dashboard .sections-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:2rem;margin-bottom:2rem}.dashboard .metrics-section{min-width:0}.dashboard .metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.dashboard .metric-card{background:#f9fafb;border-radius:12px;padding:1rem;border:1px solid #e5e7eb;transition:box-shadow .2s}.dashboard .metric-card:hover{box-shadow:0 4px 12px #00000014}.dashboard .metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.dashboard .metric-title{font-size:.85rem;color:#6b7280;font-weight:500}.dashboard .metric-value{font-size:1.75rem;font-weight:600;color:#111827;margin-bottom:.25rem}.dashboard .metric-value .unit{font-size:1rem;font-weight:400;color:#6b7280;margin-left:.25rem}.dashboard .metric-value .no-data{font-size:1rem;color:#9ca3af;font-weight:400}.dashboard .metric-subtitle{font-size:.75rem;color:#9ca3af}.dashboard .metric-sparkline{margin-top:.75rem;display:flex;justify-content:center}.dashboard .sparkline-placeholder{font-size:.75rem;color:#9ca3af;text-align:center;padding:.5rem}.dashboard .trend-indicator{font-size:.75rem;font-weight:500;padding:.125rem .375rem;border-radius:4px}.dashboard .trend-positive{background:#d1fae5;color:#065f46}.dashboard .trend-negative{background:#fee2e2;color:#991b1b}.dashboard .trend-neutral{background:#f3f4f6;color:#6b7280}.dashboard .activity-summary{background:#f9fafb;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb}.dashboard .activity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.dashboard .activity-item{display:flex;flex-direction:column;align-items:center;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.dashboard .activity-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:.75rem}.dashboard .exercise-icon{background:#dcfce7;color:#22c55e}.dashboard .sleep-icon{background:#dbeafe;color:#3b82f6}.dashboard .meditation-icon{background:#f3e8ff;color:#a855f7}.dashboard .activity-details{text-align:center}.dashboard .activity-value{font-size:1.5rem;font-weight:600;color:#111827;display:block}.dashboard .activity-label{font-size:.85rem;color:#6b7280}.dashboard .activity-sub{font-size:.75rem;color:#9ca3af;margin-top:.25rem}.dashboard .quick-links{background:#f9fafb;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb}.dashboard .links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}.dashboard .quick-link{display:flex;flex-direction:column;align-items:center;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb;text-decoration:none;color:#374151;transition:all .2s}.dashboard .quick-link:hover{border-color:#673ab8;background:#faf5ff;transform:translateY(-2px);box-shadow:0 4px 12px #673ab826}.dashboard .link-icon{width:48px;height:48px;border-radius:12px;background:#f3e8ff;color:#673ab8;display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.dashboard .quick-link:hover .link-icon{background:#673ab8;color:#fff}.dashboard .link-text{font-size:.9rem;font-weight:500}@media(prefers-color-scheme:dark){.dashboard h1{color:#f3f4f6}.dashboard h2{color:#d1d5db;border-color:#8b5cf6}.dashboard h3{color:#9ca3af}.dashboard .metric-card{background:#1f2937;border-color:#374151}.dashboard .metric-title{color:#9ca3af}.dashboard .metric-value{color:#f9fafb}.dashboard .metric-value .unit{color:#9ca3af}.dashboard .activity-summary,.dashboard .quick-links{background:#1f2937;border-color:#374151}.dashboard .activity-item{background:#111827;border-color:#374151}.dashboard .activity-value{color:#f9fafb}.dashboard .activity-label{color:#9ca3af}.dashboard .exercise-icon{background:#064e3b;color:#34d399}.dashboard .sleep-icon{background:#1e3a5f;color:#60a5fa}.dashboard .meditation-icon{background:#3b0764;color:#c084fc}.dashboard .quick-link{background:#111827;border-color:#374151;color:#d1d5db}.dashboard .quick-link:hover{border-color:#8b5cf6;background:#1e1b4b}.dashboard .link-icon{background:#3b0764;color:#a855f7}.dashboard .quick-link:hover .link-icon{background:#8b5cf6;color:#fff}.dashboard .trend-positive{background:#064e3b;color:#34d399}.dashboard .trend-negative{background:#7f1d1d;color:#fca5a5}.dashboard .trend-neutral{background:#374151;color:#9ca3af}}@media(max-width:639px){.dashboard{padding:1rem}.dashboard h1{font-size:1.5rem}.dashboard .metrics-grid{grid-template-columns:repeat(2,1fr)}.dashboard .activity-grid{grid-template-columns:1fr}.dashboard .links-grid{grid-template-columns:repeat(2,1fr)}.dashboard .dashboard-header{flex-direction:column;align-items:flex-start;gap:.75rem}}.dashboard .widget-editing-wrapper{position:relative;border:2px dashed #d1d5db;border-radius:8px;padding:.25rem}.dashboard .widget-editing-wrapper:hover{border-color:#673ab8}.dashboard .widget-edit-controls{position:absolute;top:-12px;right:4px;display:flex;gap:4px;z-index:10}.dashboard .widget-move-btn,.dashboard .widget-remove-btn{background:#fff;border:1px solid #e5e7eb;border-radius:4px;padding:4px;cursor:pointer;color:#6b7280;transition:all .2s}.dashboard .widget-move-btn:hover{background:#673ab8;border-color:#673ab8;color:#fff}.dashboard .widget-remove-btn:hover{background:#dc2626;border-color:#dc2626;color:#fff}.dashboard .add-widget-placeholder{display:flex;align-items:center;justify-content:center;min-height:100px;border:2px dashed #d1d5db;border-radius:8px;background:#f9fafb}.dashboard .add-widget-btn{background:none;border:none;color:#6b7280;font-size:.875rem;cursor:pointer;padding:.5rem 1rem;transition:color .2s}.dashboard .add-widget-btn:hover{color:#673ab8}.dashboard .charts-grid{display:grid;grid-template-columns:1fr;gap:1rem}.dashboard .trend-chart-widget,.dashboard .correlation-widget{background:#f9fafb;border-radius:12px;padding:1rem;border:1px solid #e5e7eb}.dashboard .trend-chart-widget h4,.dashboard .correlation-widget h4{margin:0 0 .75rem;font-size:1rem;color:#374151}.dashboard .chart-loading,.dashboard .chart-error{text-align:center;padding:2rem;color:#9ca3af;font-size:.875rem}.dashboard .correlation-summary{margin-bottom:.5rem}.dashboard .correlation-summary .occurrences{font-size:.75rem;color:#6b7280}.dashboard .loading-placeholder{color:#9ca3af}.dashboard .add-section-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;border:2px dashed #d1d5db;border-radius:12px;background:#f9fafb;padding:2rem}.dashboard .add-section-btn{background:none;border:2px dashed #d1d5db;border-radius:8px;color:#6b7280;font-size:.875rem;cursor:pointer;padding:1rem 1.5rem;transition:all .2s;display:flex;align-items:center;gap:.5rem}.dashboard .add-section-btn:hover{border-color:#673ab8;color:#673ab8;background:#faf5ff}.dashboard .section-edit-controls{display:flex;gap:.5rem;margin-left:auto}.dashboard .section-delete-btn{background:none;border:none;color:#9ca3af;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s}.dashboard .section-delete-btn:hover{color:#dc2626;background:#fee2e2}@media(prefers-color-scheme:dark){.dashboard .btn-edit{background:#374151;border-color:#4b5563;color:#9ca3af}.dashboard .btn-edit:hover{background:#8b5cf6;border-color:#8b5cf6;color:#fff}.dashboard .widget-editing-wrapper{border-color:#4b5563}.dashboard .widget-editing-wrapper:hover{border-color:#8b5cf6}.dashboard .widget-move-btn,.dashboard .widget-remove-btn{background:#374151;border-color:#4b5563;color:#9ca3af}.dashboard .widget-move-btn:hover{background:#8b5cf6;border-color:#8b5cf6}.dashboard .widget-remove-btn:hover{background:#dc2626;border-color:#dc2626}.dashboard .add-widget-placeholder{background:#111827;border-color:#4b5563}.dashboard .add-widget-btn{color:#9ca3af}.dashboard .add-widget-btn:hover{color:#a855f7}.dashboard .trend-chart-widget,.dashboard .correlation-widget{background:#1f2937;border-color:#374151}.dashboard .trend-chart-widget h4,.dashboard .correlation-widget h4{color:#d1d5db}.dashboard .add-section-placeholder{background:#111827;border-color:#4b5563}.dashboard .add-section-btn{border-color:#4b5563;color:#9ca3af}.dashboard .add-section-btn:hover{border-color:#8b5cf6;color:#a855f7;background:#1e1b4b}.dashboard .section-delete-btn:hover{color:#f87171;background:#7f1d1d}}.home{max-width:800px;margin:0 auto;padding:2rem;text-align:left}.home .hero{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;justify-content:left}.home .hero-logo{width:120px;height:120px;flex-shrink:0}.home .hero-text{text-align:left}.home h1{font-size:2.5rem;margin:0 0 .25rem;text-align:left}.home .subtitle{font-size:1.25rem;color:#666;margin:0;text-align:left}.home section{margin-bottom:2rem}.home .intro p,.home .name p{line-height:1.6;margin-bottom:1rem}.home .intro ul{margin-bottom:1rem}.home .screenshots{display:flex;gap:1.5rem;margin:1.5rem 0;flex-wrap:wrap;justify-content:center}.home .screenshots figure{margin:0;text-align:center}.home .screenshots img{max-width:280px;height:auto;border-radius:8px;box-shadow:0 4px 12px #00000026}.home .screenshots figcaption{font-size:.875rem;color:#666;margin-top:.5rem}@media(prefers-color-scheme:dark){.home .screenshots figcaption{color:#aaa}.home .screenshots img{box-shadow:0 4px 12px #0006}}.home a{color:#673ab8;text-decoration:underline}.home a:hover{color:#8b5cf6}.home h2{font-size:1.5rem;margin-bottom:.75rem;border-bottom:2px solid #673ab8;padding-bottom:.25rem}.home h3{font-size:1.1rem;margin:1rem 0 .5rem;color:#555}@media(prefers-color-scheme:dark){.home h3{color:#bbb}}.home ul{list-style:disc;margin-left:1.5rem}.home li{margin-bottom:.5rem;line-height:1.4}.home .downloads .note,.home .intro .note{font-size:.875rem;color:#666;margin-top:.5rem}.home .quickstart h3{margin-top:1.25rem}.home .quickstart p{margin:.5rem 0}.home .quickstart code{background:#f0f0f0;padding:.15rem .4rem;border-radius:3px;font-size:.9rem}.home .code-block{background:#1e1e1e;color:#d4d4d4;padding:1rem;border-radius:6px;overflow-x:auto;font-size:.85rem;line-height:1.4;margin:.75rem 0}.home .user-actions{background:#f5f3ff;padding:1.5rem;border-radius:.5rem;border:1px solid #673ab8}.home .user-actions a{font-weight:500}@media(max-width:639px){.home{padding:1rem}.home .hero{gap:1rem}.home .hero-logo{width:80px;height:80px}.home h1{font-size:1.75rem}.home .subtitle{font-size:1rem}}@media(prefers-color-scheme:dark){.home .subtitle,.home .downloads .note,.home .quickstart .note{color:#aaa}.home .quickstart code{background:#2d2d2d}.home .user-actions{background:#1a1a2e;border-color:#8b5cf6}}.hr-zones-page{max-width:600px;margin:0 auto;padding:2rem}.hr-zones-page h1{font-size:1.75rem;margin-bottom:.5rem}.hr-zones-page .description{color:#666;margin-bottom:1.5rem;line-height:1.5}.hr-zones-page .loading,.hr-zones-page .error{text-align:center;padding:2rem}.hr-zones-page .error{color:#f44336}.hr-zones-list{display:flex;flex-direction:column;gap:.75rem}.hr-zone-bar{padding:.75rem 0}.hr-zone-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.hr-zone-label,.hr-zone-time{font-weight:500}.hr-zone-progress-container{display:flex;align-items:center;gap:.5rem}.hr-zone-progress-track{flex:1;height:8px;border-radius:4px;overflow:hidden}.hr-zone-progress-bar{height:100%;border-radius:4px;transition:width .3s ease}.hr-zone-percent{width:3rem;text-align:right;font-size:.875rem;color:#666}@media(prefers-color-scheme:dark){.hr-zones-page .description,.hr-zone-percent{color:#aaa}}@media(max-width:639px){.hr-zones-page{padding:1rem}.hr-zones-page h1{font-size:1.5rem}}.login-page{max-width:400px;margin:0 auto;padding:2rem}.login-page h1{font-size:1.75rem;margin-bottom:1.5rem;text-align:center}.login-form{display:flex;flex-direction:column;gap:1rem}.login-form .form-field{display:flex;flex-direction:column;gap:.5rem}.login-form .form-field label{font-weight:500}.login-form .form-field input{padding:.75rem;font-size:1rem;border:1px solid #ccc;border-radius:4px}.login-form .error{color:#f44336;margin:0}.login-form button{padding:.75rem 1.5rem;font-size:1rem;border-radius:4px;cursor:pointer;margin-top:.5rem}.login-form button.primary{background:#673ab8;color:#fff;border:none}.login-form button.primary:hover:not(:disabled){background:#5e35b1}.login-form button:disabled{opacity:.5;cursor:not-allowed}.signup-link{text-align:center;margin-top:1.5rem}.signup-link a{color:#673ab8}.signup-link a:hover{text-decoration:underline}@media(prefers-color-scheme:dark){.login-form .form-field input{background:#333;border-color:#555;color:#fff}.signup-link a{color:#b39ddb}}@media(max-width:639px){.login-page{padding:1rem}.login-page h1{font-size:1.5rem}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.places-page{display:flex;flex-direction:column;height:100%;padding:1rem}.places-header{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1rem}.places-header h1{margin:0;font-size:1.5rem;color:#1f2937}.date-nav{display:flex;align-items:center;gap:.5rem}.date-nav button{padding:.375rem .75rem;border:1px solid #d1d5db;border-radius:4px;background:#fff;cursor:pointer;font-size:1rem}.date-nav button:hover{background:#f3f4f6;border-color:#3b82f6}.date-nav input[type=date]{padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.9rem}.places-content{display:flex;flex:1;gap:1rem;min-height:0;overflow:hidden}.places-list{display:flex;flex-direction:column;width:400px;min-width:280px;max-width:100%;border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:hidden}.places-list-scroll{flex:1;overflow-y:auto;padding:.5rem}.places-list-footer{border-top:1px solid #e5e7eb;padding:.5rem 1rem;font-size:.85em;color:#6b7280;background:#f9fafb}.place-item{padding:.75rem;margin-bottom:.25rem;border-radius:6px;cursor:pointer;transition:background .15s}.place-item:hover{background:#f3f4f6}.place-item.selected{background:#e0f2fe}.place-item-header{display:flex;gap:.5rem;align-items:baseline}.place-time{color:#6b7280;font-size:.9em;min-width:100px}.place-name{font-weight:500}.place-name.unnamed{font-weight:400;font-style:italic}.place-address{color:#6b7280;font-size:.85em;margin-top:.25rem}.place-duration{color:#9ca3af;font-size:.8em;margin-top:.25rem}.transit-item{border-left:2px dashed #d1d5db;margin-left:.5rem;padding:.25rem .5rem;color:#9ca3af;font-size:.9em}.map-container{flex:1;min-width:300px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f5f5f5}.map-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#9ca3af}.map-container .leaflet-container{height:100%;width:100%}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;padding:1.5rem;width:90%;max-width:400px;box-shadow:0 20px 25px -5px #0000001a}.modal-content h3{margin:0 0 1rem;color:#1f2937}.modal-address{color:#6b7280;margin-bottom:1rem;font-size:.9em}.modal-field{margin-bottom:1rem}.modal-field label{display:block;margin-bottom:.25rem;font-weight:500;color:#374151}.modal-field input{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:4px;font-size:1rem;box-sizing:border-box}.modal-field input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.modal-actions{display:flex;gap:.5rem;justify-content:flex-end}.modal-actions button{padding:.5rem 1rem;border-radius:4px;font-size:.9rem;cursor:pointer}.modal-actions button:first-child{background:#fff;border:1px solid #d1d5db}.modal-actions button:first-child:hover{background:#f3f4f6}.btn-primary{background:#3b82f6;border:none;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-primary:disabled{background:#93c5fd;cursor:not-allowed}.loading,.error{text-align:center;padding:2rem;color:#6b7280}.error{color:#dc2626}@media(prefers-color-scheme:dark){.places-header h1{color:#f3f4f6}.date-nav button{background:#374151;border-color:#4b5563;color:#e5e7eb}.date-nav button:hover{background:#4b5563}.date-nav input[type=date]{background:#374151;border-color:#4b5563;color:#e5e7eb}.places-list{background:#1f2937;border-color:#374151}.places-list-footer{background:#111827;border-color:#374151;color:#9ca3af}.place-item:hover{background:#374151}.place-item.selected{background:#1e3a5f}.map-container{border-color:#374151;background:#1f2937}.modal-content{background:#1f2937}.modal-content h3{color:#f3f4f6}.modal-field label{color:#e5e7eb}.modal-field input,.modal-actions button:first-child{background:#374151;border-color:#4b5563;color:#e5e7eb}}@media(max-width:768px){.places-page{padding:.5rem}.places-header{flex-direction:column;align-items:flex-start}.places-content{flex-direction:column}.places-list{width:100%;max-height:40vh;flex-shrink:0}.map-container{min-height:300px;flex:1}}.goals-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.goals-section .section-header h2{margin:0}.add-goal-button{background:#673ab8;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem}.add-goal-button:hover{background:#7c4dcc}.save-status{font-size:.85rem;margin:.5rem 0;padding:.25rem 0}.save-status.saving{color:#888}.save-status.saved{color:#4caf50}.save-status.error{color:#f44336}.no-goals{color:#888;font-style:italic;padding:1rem 0}.goals-list{display:flex;flex-direction:column;gap:.75rem}.goal-row{display:flex;gap:.75rem;align-items:flex-end;padding:.75rem;background:var(--bg-secondary, #f5f5f5);border-radius:8px;flex-wrap:wrap;position:relative}.goal-row.invalid{border:2px solid #f44336}.goal-row.new{border:2px dashed #673ab8}.goal-row.dragging{opacity:.5}.goal-row.drag-over{border-top:2px solid #673ab8}.drag-handle{cursor:grab;padding:.5rem .25rem;color:#888;font-size:1rem;letter-spacing:-2px;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.drag-handle:active{cursor:grabbing}.goal-row.new .drag-handle{visibility:hidden}.field-error input{border-color:#f44336!important;background-color:#f443360d}.validation-error{width:100%;color:#f44336;font-size:.8rem;margin-top:.25rem}.goal-field{display:flex;flex-direction:column;gap:.25rem}.goal-field label{font-size:.75rem;color:#666;font-weight:500}.metric-field{flex:2;min-width:120px}.metric-field select{padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.9rem;width:100%;background:#fff}.min-field,.max-field{flex:1;min-width:80px}.window-field{flex:1;min-width:70px}.window-field input{width:100%;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.9rem}.input-with-unit{display:flex;align-items:center;gap:.25rem}.input-with-unit input{width:100%;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.9rem}.input-with-unit .unit{font-size:.8rem;color:#666;min-width:2rem}.info-button{background:#888;color:#fff;border:none;border-radius:50%;width:1.2em;height:1.2em;font-size:.7rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:.25rem}.info-button:hover{background:#666}.delete-goal-button{background:transparent;border:none;cursor:pointer;font-size:1.2rem;padding:.5rem;opacity:.6;transition:opacity .2s}.delete-goal-button:hover{opacity:1}.duration-help{background:var(--bg-secondary, #f5f5f5);border-radius:8px;padding:1rem;margin-top:1rem;font-size:.85rem}.duration-help p{margin:0 0 .5rem}.duration-help ul{margin:.5rem 0;padding-left:1.5rem}.duration-help li{margin:.25rem 0}.duration-help code{background:#e0e0e0;padding:.1rem .3rem;border-radius:3px;font-family:monospace}@media(prefers-color-scheme:dark){.goal-row{background:var(--bg-secondary, #2a2a2a)}.goal-field label{color:#aaa}.metric-field select,.input-with-unit input,.window-field input{background:#333;color:#fff;border-color:#555}.input-with-unit .unit{color:#aaa}.duration-help{background:var(--bg-secondary, #2a2a2a)}.duration-help code{background:#444}.drag-handle{color:#666}.goal-row.drag-over{border-top-color:#9c77db}.field-error input{background-color:#f4433626}}@media(max-width:639px){.goal-row{flex-direction:column;align-items:stretch}.goal-field{width:100%}.delete-goal-button{align-self:flex-end}}.lastfm-rules-section .loading{color:#666;font-style:italic}.rules-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.rule-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border:1px solid #e0e0e0;border-radius:4px;gap:1rem}.rule-info{display:flex;flex-direction:column;overflow:hidden}.rule-name{font-weight:500}.rule-details{font-size:.875rem;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-rule-button{padding:.25rem .5rem;font-size:.8rem;background:transparent;border:1px solid #f44336;color:#f44336;border-radius:4px;cursor:pointer;flex-shrink:0}.remove-rule-button:hover{background:#f44336;color:#fff}.add-rule-form{border:1px solid #e0e0e0;border-radius:4px;padding:1rem;background:#fafafa}.add-rule-form h3{margin:0 0 1rem;font-size:1rem}.form-row{display:flex;gap:1rem;margin-bottom:.5rem}.form-row .form-field{flex:1}.add-rule-form .form-field{margin-bottom:.75rem}.add-rule-form .form-field label{display:block;font-weight:500;margin-bottom:.25rem;font-size:.875rem}.add-rule-form .form-field input,.add-rule-form .form-field select{padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;width:100%}.artist-names-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.artist-name-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:#e3f2fd;border-radius:16px;font-size:.875rem}.remove-artist-button{background:transparent;border:none;cursor:pointer;font-size:.75rem;color:#666;padding:0 .15rem;line-height:1}.remove-artist-button:hover{color:#f44336}.artist-input-row{display:flex;gap:.5rem}.artist-input-row input{flex:1}.add-artist-button{padding:.5rem .75rem;font-size:1rem;background:transparent;border:1px solid #ccc;border-radius:4px;cursor:pointer;flex-shrink:0}.add-artist-button:hover{background:#e0e0e0}.field-help{font-size:.75rem;color:#888;margin:.25rem 0 0}.rule-merge-info{color:#1976d2;font-size:.8rem}.add-rule-form .connect-button{margin-top:.5rem}@media(prefers-color-scheme:dark){.lastfm-rules-section .loading{color:#aaa}.rule-item{border-color:#444}.rule-details{color:#aaa}.add-rule-form{border-color:#444;background:#2a2a2a}.add-rule-form .form-field input,.add-rule-form .form-field select{background:#333;border-color:#555;color:#fff}.artist-name-chip{background:#1e3a5f;color:#e0e0e0}.remove-artist-button{color:#aaa}.add-artist-button{border-color:#555;color:#ccc}.add-artist-button:hover{background:#444}.field-help{color:#777}.rule-merge-info{color:#64b5f6}}@media(max-width:639px){.form-row{flex-direction:column;gap:0}.rule-item{flex-direction:column;align-items:flex-start;gap:.5rem}.remove-rule-button{align-self:flex-end}}.tag-mappings-section .section-header{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.tag-mappings-section .section-header h2{margin:0}.unmapped-badge{background:#f0ad4e;color:#fff;padding:.2rem .6rem;border-radius:12px;font-size:.85rem;font-weight:500}.tag-mappings-section .section-description{color:#666;margin-bottom:1rem}.tag-mappings-section .no-tags{color:#888;font-style:italic;padding:1rem;text-align:center;background:#f8f8f8;border-radius:4px}.tag-mappings-section .loading{color:#888;font-style:italic}.tag-mappings-list{display:flex;flex-direction:column;gap:.5rem}.tag-mapping-row{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f8f8f8;border-radius:4px;border:1px solid #e0e0e0}.tag-mapping-row.unmapped{background:#fff8e6;border-color:#f0ad4e}.tag-info{display:flex;flex-direction:column;gap:.2rem;min-width:80px}.tag-count{font-weight:600;color:#333}.tag-latest{font-size:.8rem;color:#888}.tag-name-field{flex:1;position:relative;display:flex;align-items:center;gap:.5rem}.tag-name-field input{flex:1;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.tag-name-field input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a}.tag-name-field input:disabled{opacity:.6}.tag-name-field input.unmapped{border-color:#f0ad4e}.tag-name-field input.unmapped::placeholder{color:#c09853}.row-status{width:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.status-saving{display:inline-block;width:14px;height:14px;border:2px solid #d1d5db;border-top-color:#8b5cf6;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.status-saved{color:#22c55e;font-weight:700;font-size:1.1rem}.status-error{color:#dc2626;font-weight:700;font-size:1.1rem}.tag-uuid{font-family:monospace;font-size:.8rem;color:#888;min-width:90px;text-align:right}@media(max-width:600px){.tag-mapping-row{flex-wrap:wrap}.tag-info{flex-direction:row;gap:.5rem;min-width:auto}.tag-name-field{order:3;width:100%}.tag-uuid{min-width:auto}}.settings-page{max-width:600px;margin:0 auto;padding:2rem}.settings-page h1{font-size:1.75rem;margin-bottom:1.5rem}.settings-page .loading,.settings-page .error{text-align:center;padding:2rem}.settings-page .error{color:#f44336}.settings-page .success{color:#4caf50;margin-bottom:1rem}.settings-section{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e0e0e0}.settings-section h2{font-size:1.25rem;margin-bottom:.5rem}.section-header-row{display:flex;align-items:baseline;gap:1rem;margin-bottom:.5rem}.section-header-row h2{margin-bottom:0}.save-indicator{font-size:.85rem}.save-indicator.saving{color:#888}.save-indicator.saved{color:#4caf50}.save-indicator.error{color:#f44336}.section-description{color:#666;margin-bottom:1rem;line-height:1.5}.form-field{margin-bottom:1rem}.form-field label{display:block;font-weight:500;margin-bottom:.5rem}.field-header-row{display:flex;align-items:baseline;gap:.75rem;margin-bottom:.5rem}.field-header-row label{margin-bottom:0}.form-field input[type=date],.form-field input[type=password],.form-field input[type=text]{padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;width:100%;max-width:300px}.form-field input[type=date]{max-width:200px}.connected-status{color:#4caf50;font-weight:500;margin:0}.connect-button{padding:.5rem 1rem;font-size:.875rem;background:#673ab8;color:#fff;border:none;border-radius:4px;cursor:pointer}.connect-button:hover:not(:disabled){background:#5e35b1}.connect-button:disabled{opacity:.5;cursor:not-allowed}.field-description{color:#666;font-size:.875rem;margin-top:.5rem;line-height:1.4}.field-description.warning{color:#f57c00}.calendars-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.calendar-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border:1px solid #e0e0e0;border-radius:4px;gap:1rem}.calendar-info{display:flex;flex-direction:column;overflow:hidden}.calendar-name{font-weight:500}.calendar-url{font-size:.8rem;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-calendar-button{padding:.25rem .5rem;font-size:.8rem;background:transparent;border:1px solid #f44336;color:#f44336;border-radius:4px;cursor:pointer;flex-shrink:0}.remove-calendar-button:hover{background:#f44336;color:#fff}.add-calendar-form{margin-bottom:.5rem}.add-calendar-form .form-field input[type=text],.add-calendar-form .form-field input[type=url]{padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;width:100%}.hr-zones-form{display:flex;flex-direction:column;gap:.75rem}.zone-input{display:flex;align-items:center;gap:1rem}.zone-input label{min-width:120px;font-weight:500}.input-with-unit{display:flex;align-items:center;gap:.5rem}.zone-input input[type=number]{width:80px;padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;text-align:center}.zone-input .unit{color:#666}.activitywatch-token-section{margin-top:.75rem}.token-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.5rem}.token-display{flex:1;min-width:0;padding:.5rem;font-size:.8rem;font-family:monospace;border:1px solid #ccc;border-radius:4px;background:#f5f5f5;color:#333;cursor:text}.reset-zones-button{margin-top:1rem;padding:.5rem 1rem;font-size:.875rem;background:transparent;border:1px solid #ccc;border-radius:4px;cursor:pointer}.reset-zones-button:hover{background:#f5f5f5}.custom-metrics-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.custom-metric-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .75rem;border:1px solid #e0e0e0;border-radius:4px}.custom-metric-item.editing{flex-direction:column;align-items:stretch}.custom-metric-fields{display:flex;flex-wrap:wrap;gap:.5rem;align-items:baseline}.custom-metric-name{font-weight:600;font-family:monospace;font-size:.9rem}.custom-metric-unit{font-size:.85rem;color:#6b7280;padding:.125rem .5rem;background:#f3f4f6;border-radius:4px}.custom-metric-desc{font-size:.85rem;color:#6b7280}.custom-metric-range{font-size:.8rem;color:#9ca3af}.custom-metric-actions{display:flex;gap:.375rem;flex-shrink:0}.custom-metric-edit-row{display:flex;gap:.5rem;margin-top:.5rem}.custom-metric-input{padding:.375rem .5rem;font-size:.875rem;border:1px solid #d1d5db;border-radius:4px;background:transparent;color:inherit;min-width:0;flex:1}.custom-metric-input.wide{flex:2}.custom-metric-input:focus{outline:none;border-color:#673ab8;box-shadow:0 0 0 2px #673ab833}.custom-metric-add-form{margin-top:.75rem}.custom-metric-add-form h3{font-size:.95rem;margin:0 0 .5rem}.custom-metric-add-row{display:flex;gap:.5rem;margin-bottom:.5rem}.custom-metric-error{color:#ef4444;font-size:.85rem;margin:.25rem 0}@media(prefers-color-scheme:dark){.settings-section{border-bottom-color:#444}.custom-metric-item{border-color:#444}.custom-metric-unit{background:#374151;color:#9ca3af}.custom-metric-input{border-color:#4b5563}.custom-metric-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf64d}.section-description,.field-description,.zone-input .unit{color:#aaa}.calendar-item{border-color:#444}.calendar-url{color:#aaa}.add-calendar-form .form-field input[type=text],.add-calendar-form .form-field input[type=url],.form-field input[type=date],.form-field input[type=password],.form-field input[type=text],.zone-input input[type=number]{background:#333;border-color:#555;color:#fff}.form-field input[type=password]::placeholder,.form-field input[type=text]::placeholder{color:#888}.reset-zones-button{border-color:#555;color:#fff}.reset-zones-button:hover{background:#444}.token-display{background:#2a2a2a;border-color:#555;color:#ddd}}@media(max-width:639px){.settings-page{padding:1rem}.settings-page h1{font-size:1.5rem}.zone-input{flex-direction:column;align-items:flex-start;gap:.25rem}.zone-input label{min-width:auto}}.signup-page{max-width:400px;margin:0 auto;padding:2rem}.signup-page h1{font-size:1.75rem;margin-bottom:1.5rem;text-align:center}.signup-page .not-available{text-align:center;color:#666}.signup-page .invitation-notice{text-align:center;color:#4caf50;font-weight:500;margin-bottom:1rem;padding:.75rem;background:#4caf501a;border-radius:4px}.signup-form{display:flex;flex-direction:column;gap:1rem}.signup-form .form-field{display:flex;flex-direction:column;gap:.5rem}.signup-form .form-field label{font-weight:500}.signup-form .form-field input{padding:.75rem;font-size:1rem;border:1px solid #ccc;border-radius:4px}.signup-form .field-hint{font-size:.875rem;color:#666;margin:0}.signup-form .error{color:#f44336;margin:0}.signup-form button{padding:.75rem 1.5rem;font-size:1rem;border-radius:4px;cursor:pointer;margin-top:.5rem}.signup-form button.primary{background:#673ab8;color:#fff;border:none}.signup-form button.primary:hover:not(:disabled){background:#5e35b1}.signup-form button:disabled{opacity:.5;cursor:not-allowed}.login-link{text-align:center;margin-top:1.5rem}.login-link a{color:#673ab8}.login-link a:hover{text-decoration:underline}@media(prefers-color-scheme:dark){.signup-page .not-available,.signup-form .field-hint{color:#aaa}.signup-page .invitation-notice{background:#4caf5033}.signup-form .form-field input{background:#333;border-color:#555;color:#fff}.login-link a{color:#b39ddb}}@media(max-width:639px){.signup-page{padding:1rem}.signup-page h1{font-size:1.5rem}}.sleep-page{max-width:900px;margin:0 auto;padding:2rem}.sleep-page .sleep-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.sleep-page h1{font-size:2rem;margin:0;color:#1f2937}.sleep-page h2{font-size:1.25rem;margin:0 0 1rem;color:#374151;border-bottom:2px solid #3b82f6;padding-bottom:.5rem}.sleep-page .days-select{padding:.5rem 1rem;font-size:.9rem;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;cursor:pointer}.sleep-page .days-select:hover{border-color:#3b82f6}.sleep-page .loading{text-align:center;padding:2rem;color:#6b7280}.sleep-page .stats-section{margin-bottom:2rem}.sleep-page .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.sleep-page .stat-card{background:#f9fafb;border-radius:12px;padding:1rem;border:1px solid #e5e7eb}.sleep-page .stat-label{font-size:.85rem;color:#6b7280;margin-bottom:.25rem}.sleep-page .stat-value{font-size:1.75rem;font-weight:600;color:#111827}.sleep-page .stat-value .stat-unit{font-size:1rem;font-weight:400;color:#6b7280;margin-left:.125rem}.sleep-page .stat-value .no-data{color:#9ca3af;font-size:1.25rem}.sleep-page .stat-trend{font-size:.75rem;font-weight:500;margin-top:.25rem}.sleep-page .stat-trend.trend-positive{color:#059669}.sleep-page .stat-trend.trend-negative{color:#dc2626}.sleep-page .stat-trend.trend-neutral{color:#6b7280}.sleep-page .stat-description{font-size:.75rem;color:#9ca3af;margin-top:.25rem}.sleep-page .chart-section{margin-bottom:2rem;background:#f9fafb;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb}.sleep-page .chart-container{width:100%;overflow:hidden}.sleep-page .chart-container svg{display:block}.sleep-page .chart-placeholder{text-align:center;padding:2rem;color:#9ca3af;font-size:.9rem}.sleep-page .duration-legend{display:flex;gap:1.5rem;margin-bottom:1rem;flex-wrap:wrap}.sleep-page .legend-item{display:flex;align-items:center;gap:.375rem;font-size:.8rem;color:#6b7280}.sleep-page .legend-color{width:12px;height:12px;border-radius:2px}.sleep-page .legend-color.green{background:#22c55e}.sleep-page .legend-color.yellow{background:#f59e0b}.sleep-page .legend-color.red{background:#ef4444}.sleep-page .info-section{text-align:center;padding:1rem;color:#6b7280;font-size:.9rem}@media(prefers-color-scheme:dark){.sleep-page h1{color:#f3f4f6}.sleep-page h2{color:#d1d5db;border-color:#60a5fa}.sleep-page .days-select{background:#1f2937;border-color:#374151;color:#d1d5db}.sleep-page .days-select:hover{border-color:#60a5fa}.sleep-page .stat-card,.sleep-page .chart-section{background:#1f2937;border-color:#374151}.sleep-page .stat-label{color:#9ca3af}.sleep-page .stat-value{color:#f9fafb}.sleep-page .stat-trend.trend-positive{color:#34d399}.sleep-page .stat-trend.trend-negative{color:#f87171}.sleep-page .legend-item{color:#9ca3af}}@media(max-width:639px){.sleep-page{padding:1rem}.sleep-page .sleep-header{flex-direction:column;align-items:flex-start;gap:1rem}.sleep-page h1{font-size:1.5rem}.sleep-page .stats-grid{grid-template-columns:repeat(2,1fr)}.sleep-page .stat-value{font-size:1.5rem}}.timeline{max-width:1100px;margin:0 auto;padding:2rem}.timeline h1{font-size:2rem;margin:0 0 1.5rem;color:#1f2937}.timeline-controls{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:.75rem 1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.timeline-nav{display:flex;align-items:center;gap:.25rem}.timeline-nav .nav-btn{background:transparent;border:1px solid #d1d5db;border-radius:4px;padding:.375rem .625rem;font-size:.875rem;font-weight:600;cursor:pointer;color:#374151;transition:background .15s,border-color .15s;min-width:2rem;text-align:center}.timeline-nav .nav-btn:hover{background:#e5e7eb;border-color:#9ca3af}.timeline-nav .nav-btn:active{background:#d1d5db}.timeline-nav .nav-today{padding:.375rem .75rem;font-weight:500}.timeline-fetching{font-size:.8rem;color:#6b7280;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.timeline-layers{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.timeline-layers label{display:flex;align-items:center;gap:.375rem;font-size:.9rem;cursor:pointer}.timeline-layers input[type=checkbox]{width:1rem;height:1rem;cursor:pointer}.timeline-legend{display:flex;flex-wrap:wrap;gap:.75rem;padding:.75rem 1rem;margin-bottom:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;font-size:.85rem}.timeline-legend strong{color:#374151}.timeline-legend .legend-item{display:flex;align-items:center;gap:.375rem}.timeline-legend .legend-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.timeline-chart-container{position:relative;overflow-x:auto}.timeline-chart-container svg{display:block}.timeline-tooltip{position:absolute;pointer-events:none;background:#000000d9;color:#fff;padding:.5rem .75rem;border-radius:6px;font-size:.8rem;line-height:1.4;max-width:250px;z-index:1000;white-space:nowrap;box-shadow:0 4px 12px #00000026}.timeline-tooltip .tooltip-title{font-weight:600;margin-bottom:.25rem}.timeline-tooltip .tooltip-time{color:#9ca3af;font-size:.75rem}.timeline-tooltip .tooltip-value{color:#60a5fa}.timeline .loading,.timeline .error{text-align:center;padding:2rem;color:#6b7280}.timeline .error{color:#dc2626}.timeline-help{font-size:.8rem;color:#9ca3af;margin-top:.5rem;text-align:center}@media(prefers-color-scheme:dark){.timeline h1{color:#f3f4f6}.timeline-controls,.timeline-legend{background:#1f2937;border-color:#374151}.timeline-controls label{color:#d1d5db}.timeline-nav .nav-btn{color:#d1d5db;border-color:#4b5563;background:transparent}.timeline-nav .nav-btn:hover{background:#374151;border-color:#6b7280}.timeline-nav .nav-btn:active{background:#4b5563}.timeline-fetching{color:#9ca3af}.timeline-legend strong{color:#d1d5db}.timeline-tooltip{background:#111827f2}}@media(max-width:768px){.timeline{padding:1rem}.timeline h1{font-size:1.5rem}.timeline-controls{flex-direction:column;align-items:flex-start}.timeline-chart-container{margin:0 -1rem}}.tag-picker{position:relative}.tag-picker-input-area{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;cursor:text;min-height:38px}.tag-picker-input-area:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.tag-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;background:#ede9fe;color:#6d28d9;border-radius:4px;font-size:.8125rem;font-weight:500;white-space:nowrap}.tag-badge-remove{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;color:#7c3aed;cursor:pointer;font-size:1rem;line-height:1;padding:0;margin-left:.125rem;opacity:.7}.tag-badge-remove:hover{opacity:1}.tag-picker-input{flex:1;min-width:80px;border:none;outline:none;font-size:.875rem;padding:.125rem 0;background:transparent;color:#1f2937}.tag-picker-input::placeholder{color:#9ca3af}.tag-picker-dropdown{position:absolute;top:100%;left:0;right:0;margin:.25rem 0 0;padding:.25rem 0;list-style:none;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 4px 12px #0000001a;max-height:200px;overflow-y:auto;z-index:50}.tag-picker-option{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;cursor:pointer;font-size:.875rem}.tag-picker-option:hover,.tag-picker-option.highlighted{background:#f3f0ff}.tag-option-display{color:#1f2937}.tag-option-raw{font-family:monospace;font-size:.75rem;color:#9ca3af;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(prefers-color-scheme:dark){.tag-picker-input-area{background:#111827;border-color:#4b5563}.tag-badge{background:#3b2d60;color:#c4b5fd}.tag-badge-remove{color:#a78bfa}.tag-picker-input{color:#f9fafb}.tag-picker-input::placeholder{color:#6b7280}.tag-picker-dropdown{background:#1f2937;border-color:#4b5563;box-shadow:0 4px 12px #0000004d}.tag-picker-option:hover,.tag-picker-option.highlighted{background:#374151}.tag-option-display{color:#f9fafb}.tag-option-raw{color:#6b7280}}.trends-page{width:100%;padding:2rem;box-sizing:border-box}.page-header{margin-bottom:2rem;max-width:800px}.page-header h1{font-size:1.75rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.page-description{color:#6b7280;font-size:.9rem;line-height:1.6;margin:0}.saved-trends{margin-bottom:3rem}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.section-header h2{font-size:1.25rem;font-weight:600;color:#374151;margin:0}.section-actions{display:flex;gap:.5rem}.add-trend-btn{padding:.5rem 1rem;background:#8b5cf6;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.add-trend-btn:hover{background:#7c3aed}.reset-btn{padding:.5rem 1rem;background:transparent;color:#6b7280;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s}.reset-btn:hover{background:#f3f4f6;color:#374151}.trends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1.5rem}.trend-widget{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000000d}.trend-widget-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.trend-widget h3{font-size:1rem;font-weight:600;color:#374151;margin:0}.trend-widget-actions{display:flex;gap:.5rem}.edit-btn{padding:.25rem .75rem;background:transparent;color:#6b7280;border:1px solid #d1d5db;border-radius:4px;font-size:.75rem;cursor:pointer;transition:all .2s}.edit-btn:hover{background:#f3f4f6;color:#374151}.remove-btn{padding:.25rem .5rem;background:transparent;color:#9ca3af;border:1px solid transparent;border-radius:4px;font-size:1rem;line-height:1;cursor:pointer;transition:all .2s}.remove-btn:hover{color:#dc2626;background:#fef2f2}.trend-widget.loading,.trend-widget.error{min-height:250px;display:flex;flex-direction:column}.loading-spinner{flex:1;display:flex;align-items:center;justify-content:center;color:#9ca3af}.error-message{flex:1;display:flex;align-items:center;justify-content:center;color:#dc2626}.trend-value-card{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;padding:.75rem;background:#f9fafb;border-radius:8px}.trend-current{display:flex;align-items:baseline;gap:.25rem}.trend-number{font-size:2rem;font-weight:700;color:#1f2937}.trend-unit{font-size:.875rem;color:#6b7280}.trend-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.trend-pattern{font-size:.75rem;color:#374151;font-family:monospace;background:#e5e7eb;padding:.125rem .375rem;border-radius:4px}.trend-config{font-size:.75rem;color:#9ca3af}.trend-chart-container{position:relative;width:100%;height:200px}.trend-chart-tooltip{position:absolute;pointer-events:none;background:#000000d9;color:#fff;padding:.375rem .625rem;border-radius:4px;font-size:.75rem;white-space:nowrap;z-index:10;display:none}.trend-chart-container svg{display:block}.chart-placeholder{height:200px;display:flex;align-items:center;justify-content:center;color:#9ca3af;background:#f9fafb;border-radius:8px}.add-trend-form-container,.edit-trend-form-container{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.add-trend-form-container h3,.edit-trend-form-container h3{font-size:1rem;font-weight:600;color:#374151;margin:0 0 1rem}.trend-config-form{display:flex;flex-direction:column;gap:1rem}.form-row{display:flex;flex-wrap:wrap;gap:1rem}.trend-config-form label{display:flex;flex-direction:column;gap:.375rem;font-size:.875rem;font-weight:500;color:#374151;flex:1;min-width:120px}.trend-config-form label.name-input{flex:1;min-width:200px;max-width:400px}.trend-config-form label.pattern-input{flex:2;min-width:200px}.trend-config-form select,.trend-config-form input{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#1f2937;background:#fff}.trend-config-form select:focus,.trend-config-form input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.form-actions{display:flex;gap:.75rem}.form-actions button{padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.form-actions button[type=submit]{background:#8b5cf6;color:#fff;border:none}.form-actions button[type=submit]:hover:not(:disabled){background:#7c3aed}.form-actions button[type=submit]:disabled{background:#d1d5db;cursor:not-allowed}.form-actions .cancel-btn{background:transparent;color:#6b7280;border:1px solid #d1d5db}.form-actions .cancel-btn:hover{background:#f3f4f6;color:#374151}.no-trends{text-align:center;padding:3rem 2rem;background:#f9fafb;border-radius:12px;border:2px dashed #e5e7eb}.no-trends p{color:#6b7280;margin:0 0 1rem}.no-trends button{padding:.625rem 1.5rem;background:#8b5cf6;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer}.no-trends button:hover{background:#7c3aed}.login-prompt{text-align:center;padding:4rem 2rem}.login-prompt h2{font-size:1.25rem;color:#374151;margin-bottom:1rem}.login-prompt a{display:inline-block;padding:.625rem 1.5rem;background:#8b5cf6;color:#fff;border-radius:6px;text-decoration:none;font-weight:500}.login-prompt a:hover{background:#7c3aed}@media(prefers-color-scheme:dark){.page-header h1{color:#f9fafb}.page-description{color:#9ca3af}.section-header h2{color:#e5e7eb}.reset-btn{color:#9ca3af;border-color:#4b5563}.reset-btn:hover{background:#374151;color:#e5e7eb}.trend-widget{background:#1f2937;border-color:#374151}.trend-widget h3{color:#e5e7eb}.edit-btn{color:#9ca3af;border-color:#4b5563}.edit-btn:hover{background:#374151;color:#e5e7eb}.remove-btn:hover{background:#450a0a}.trend-value-card{background:#111827}.trend-number{color:#f9fafb}.trend-pattern{background:#374151;color:#e5e7eb}.chart-placeholder{background:#111827;color:#6b7280}.trend-chart-tooltip{background:#111827f2}.add-trend-form-container,.edit-trend-form-container{background:#1f2937;border-color:#374151}.add-trend-form-container h3,.edit-trend-form-container h3,.trend-config-form label{color:#e5e7eb}.trend-config-form select,.trend-config-form input{background:#111827;border-color:#4b5563;color:#f9fafb}.form-actions .cancel-btn{color:#9ca3af;border-color:#4b5563}.form-actions .cancel-btn:hover{background:#374151;color:#e5e7eb}.no-trends{background:#1f2937;border-color:#374151}.no-trends p{color:#9ca3af}.login-prompt h2{color:#e5e7eb}}@media(max-width:900px){.trends-grid{grid-template-columns:1fr}}@media(max-width:639px){.trends-page{padding:1rem}.section-header{flex-direction:column;align-items:stretch}.section-actions{justify-content:stretch}.section-actions button{flex:1}.form-row{flex-direction:column}.trend-config-form label{min-width:100%}.trend-config-form label.name-input,.trend-config-form label.pattern-input{min-width:100%;max-width:none}.trend-value-card{flex-direction:column;gap:.75rem}.trend-meta{align-items:flex-start}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#222;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0}#app{display:flex;flex-direction:column;min-height:100vh}header{background-color:#673ab8}header nav{display:flex}header nav .spacer{flex:1}header a{color:#fff;padding:.75rem;text-decoration:none}header a.active{background-color:#0005}header a:hover{background-color:#0008}main{flex:auto;display:flex;width:100%;text-align:left}@media(max-width:639px){main{margin:2rem}}.site-footer{text-align:right;font-size:.75rem;padding:.5rem 1rem;color:#888}.site-footer a{color:#888}.site-footer a:hover{color:#673ab8}@media(prefers-color-scheme:dark){:root{color:#ccc;background-color:#1a1a1a}.site-footer,.site-footer a{color:#666}.site-footer a:hover{color:#8b5cf6}}
