:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{text-align:center;padding:2rem 0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px;margin-bottom:2rem}.app-header h1{font-size:2.5rem;margin:0 0 .5rem;font-weight:700}.app-header p{font-size:1.1rem;margin:0;opacity:.9}.app-main{flex:1;display:flex;flex-direction:column;gap:2rem;max-width:800px;margin:0 auto;width:100%}.input-section,.analysis-section,.trends-section,.privacy-section{width:100%}.app-footer{text-align:center;padding:2rem 0;margin-top:2rem;border-top:1px solid #e9ecef;color:#6c757d;font-size:.9rem}@media(max-width:768px){#root{padding:1rem}.app-header{padding:1.5rem 1rem;margin-bottom:1.5rem}.app-header h1{font-size:2rem}.app-main{gap:1.5rem}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes progress{0%{transform:translate(-100%)}50%{transform:translate(0)}to{transform:translate(100%)}}@keyframes indeterminate{0%{transform:translate(-100%)}50%{transform:translate(0)}to{transform:translate(100%)}}.trend-visualization{max-width:600px;margin:2rem auto;padding:1.5rem;background:#f8f9fa;border-radius:12px;text-align:left;box-shadow:0 2px 8px #0000001a}.trend-visualization h3{color:#2c3e50;margin-bottom:1rem;text-align:center}.trend-visualization h4{color:#34495e;margin:1.5rem 0 .75rem;font-size:1.1rem}.trend-summary{background:#fff;padding:1rem;border-radius:8px;margin-bottom:1.5rem;text-align:center}.date-range{color:#666;font-size:.9rem;margin-top:.5rem}.trend-indicator{margin-bottom:1.5rem}.trend-badge{display:inline-block;padding:.5rem 1rem;border-radius:20px;font-weight:500;font-size:.9rem}.trend-badge.improving{background:#d4edda;color:#155724}.trend-badge.declining{background:#f8d7da;color:#721c24}.trend-badge.stable{background:#d1ecf1;color:#0c5460}.trend-badge.insufficient_data{background:#e2e3e5;color:#383d41}.emotion-frequencies{margin-bottom:1.5rem}.emotion-bars{background:#fff;padding:1rem;border-radius:8px}.emotion-bar{margin-bottom:1rem}.emotion-bar:last-child{margin-bottom:0}.emotion-label{display:flex;justify-content:space-between;margin-bottom:.25rem;font-size:.9rem}.emotion-name{font-weight:500;text-transform:capitalize}.emotion-count{color:#666}.bar-container{width:100%;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden}.bar{height:100%;border-radius:4px;transition:width .3s ease}.bar.emotion-0{background:#3498db}.bar.emotion-1{background:#2ecc71}.bar.emotion-2{background:#f39c12}.bar.emotion-3{background:#e74c3c}.bar.emotion-4{background:#9b59b6}.tone-distribution{margin-bottom:1.5rem}.tone-summary{display:flex;gap:1rem;flex-wrap:wrap;background:#fff;padding:1rem;border-radius:8px}.tone-item{display:flex;flex-direction:column;align-items:center;padding:.75rem;border-radius:8px;min-width:80px;flex:1}.tone-item.positive{background:#d4edda;color:#155724}.tone-item.negative{background:#f8d7da;color:#721c24}.tone-item.neutral{background:#e2e3e5;color:#383d41}.tone-item.mixed{background:#fff3cd;color:#856404}.tone-label{font-size:.8rem;text-transform:capitalize;margin-bottom:.25rem}.tone-count{font-weight:700;font-size:1.2rem}.trend-encouragement{background:#e8f4fd;padding:1rem;border-radius:8px;border-left:4px solid #3498db;margin-top:1.5rem}.trend-encouragement p{margin:0;color:#2c3e50;font-size:.9rem}.single-entry .encouragement-message{background:#fff;padding:1.5rem;border-radius:8px;text-align:center}.single-entry-summary{background:#f8f9fa;padding:1rem;border-radius:6px;margin-top:1rem}.single-entry-summary p{margin:.5rem 0;color:#495057}.no-entries{text-align:center;color:#6c757d}@media(max-width:768px){.trend-visualization{margin:1rem;padding:1rem}.tone-summary{flex-direction:column;gap:.5rem}.tone-item{min-width:auto}}.privacy-info{max-width:700px;margin:2rem auto;padding:1.5rem;background:#f8f9fa;border-radius:12px;text-align:left;box-shadow:0 2px 8px #0000001a}.privacy-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #dee2e6}.privacy-header h3{color:#2c3e50;margin:0;font-size:1.4rem}.toggle-details{background:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s ease}.toggle-details:hover{background:#0056b3}.toggle-details:disabled{background:#6c757d;cursor:not-allowed}.privacy-details{margin-top:1rem}.privacy-section{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #007bff}.privacy-section:last-child{margin-bottom:0}.privacy-section h4{color:#2c3e50;margin:0 0 1rem;font-size:1.1rem;display:flex;align-items:center;gap:.5rem}.privacy-section ul{margin:0;padding-left:1.5rem}.privacy-section li{margin-bottom:.5rem;line-height:1.5}.privacy-section li:last-child{margin-bottom:0}.disclaimer{background:#fff3cd;padding:1rem;border-radius:6px;border-left:4px solid #ffc107;margin-top:1rem}.disclaimer p{margin:0 0 .75rem;color:#856404;font-weight:500}.disclaimer ul{margin:0;color:#856404}.storage-info{background:#e9ecef;padding:1rem;border-radius:6px;margin-top:1rem}.storage-info p{margin:.25rem 0;color:#495057}.clear-data-section{margin-top:1rem;padding:1rem;background:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.clear-data-button{background:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .2s ease;margin-bottom:1rem}.clear-data-button:hover:not(:disabled){background:#c82333}.clear-data-button:disabled{background:#6c757d;cursor:not-allowed}.confirmation-message{background:#d4edda;color:#155724;padding:.75rem;border-radius:6px;border:1px solid #c3e6cb;font-weight:500;margin-top:.5rem}.no-data-message{color:#6c757d;font-style:italic;margin:0}.privacy-summary{background:#fff;padding:1rem;border-radius:8px;border-left:4px solid #28a745;margin-top:1rem}.privacy-summary p{margin:0;color:#2c3e50;line-height:1.5}@media(max-width:768px){.privacy-info{margin:1rem;padding:1rem}.privacy-header{flex-direction:column;gap:1rem;align-items:stretch}.privacy-header h3{text-align:center}.privacy-section{padding:1rem}.toggle-details{width:100%}}
