* { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; }
        body { background: #f4f7fb; color: #1e293b; min-height: 100vh; transition: background 0.3s, color 0.3s; }
        .wrapper { max-width: 720px; margin: 0 auto; padding: 30px 20px 60px; }
        .back-link { display: inline-flex; align-items: center; gap: 6px; color: #0b63e5; font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-bottom: 30px; transition: 0.2s; }
        .back-link:hover { color: #1a4fc3; text-decoration: underline; }
        .page-header { text-align: center; margin-bottom: 36px; }
        .page-header h1 { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #0b63e5, #0e7490); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
        .page-header p { color: #475569; font-size: 1rem; }
        .card { background: white; border-radius: 20px; padding: 32px 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid #eef2f6; margin-bottom: 24px; }
        .card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: #1e293b; }
        .card p, .card li { color: #475569; font-size: 0.95rem; line-height: 1.7; margin-bottom: 12px; }
        .card ul { padding-left: 20px; margin-bottom: 12px; }
        .card li { margin-bottom: 6px; }
        .form-group { margin-bottom: 18px; }
        .form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: #475569; }
        .form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1rem; outline: none; transition: 0.2s; background: #f8fafc; }
        .form-group input:focus, .form-group textarea:focus { border-color: #0b63e5; background: white; }
        .form-group textarea { resize: vertical; min-height: 60px; }
        .btn-primary { width: 100%; padding: 14px; background: #0b63e5; color: white; border: none; border-radius: 14px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
        .btn-primary:hover { background: #1a4fc3; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(11,99,229,0.3); }
        .btn-secondary { padding: 10px 20px; background: #f1f5f9; color: #1e293b; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .btn-secondary:hover { background: #e2e8f0; }
        .btn-danger { padding: 10px 20px; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 12px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .btn-danger:hover { background: #fee2e2; }
        .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
        .stat-box { text-align: center; padding: 16px 10px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f6; }
        .stat-box .stat-value { font-size: 1.5rem; font-weight: 800; color: #0b63e5; }
        .stat-box .stat-label { font-size: 0.78rem; color: #94a3b8; font-weight: 600; margin-top: 4px; }
        .stat-box .stat-change { font-size: 0.85rem; font-weight: 700; margin-top: 2px; }
        .change-positive { color: #22c55e; }
        .change-negative { color: #ef4444; }
        .change-neutral { color: #94a3b8; }
        .progress-wrap { margin-bottom: 16px; }
        .progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
        .progress-bar { width: 100%; height: 14px; border-radius: 7px; background: #e2e8f0; overflow: hidden; }
        .progress-fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, #0b63e5, #0e7490); transition: width 0.6s ease; }
        .water-glasses { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
        .water-glass { width: 48px; height: 56px; border-radius: 8px 8px 14px 14px; border: 2px solid #e2e8f0; background: #f8fafc; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
        .water-glass.filled { background: #0b63e5; border-color: #0b63e5; color: white; }
        .water-glass:hover { border-color: #0b63e5; transform: translateY(-2px); }
        .chart-container { width: 100%; overflow-x: auto; margin: 16px 0; }
        .chart-container canvas { display: block; }
        .weekly-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; margin: 12px 0; }
        .weekly-day { padding: 10px 4px; border-radius: 10px; background: #f8fafc; border: 1px solid #eef2f6; font-size: 0.75rem; }
        .weekly-day .day-name { font-weight: 700; color:#475569; margin-bottom: 4px; }
        .weekly-day .day-weight { font-weight: 600; color: #1e293b; }
        .weekly-day .day-water { color: #0b63e5; font-size: 0.7rem; margin-top: 2px; }
        .weekly-day .day-score { font-size: 0.65rem; margin-top: 2px; }
        .score-good { color: #22c55e; }
        .score-ok { color: #f97316; }
        .score-bad { color: #ef4444; }
        .actions-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 20px; }
        .byline { text-align: center; font-size: 0.82rem; color: #94a3b8; margin-bottom: 30px; }
        .byline strong { color:#475569; }
        details { margin-bottom: 8px; }
        details summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; padding: 10px 14px; background: #f8fafc; border-radius: 10px; border: 1px solid #eef2f6; transition: 0.2s; }
        details summary:hover { background: #f1f5f9; }
        details[open] summary { border-radius: 10px 10px 0 0; border-color: #0b63e5; }
        details .faq-answer { padding: 14px; border: 1px solid #eef2f6; border-top: none; border-radius: 0 0 10px 10px; font-size: 0.9rem; color: #475569; line-height: 1.7; }
        .theme-toggle { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #e2e8f0; background: white; color: #1e293b; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.1); z-index: 100; transition: 0.2s; }
        .theme-toggle:hover { border-color: #0b63e5; }
        .footer { margin-top: 30px; padding: 20px 0; border-top: 1px solid #e2e8f0; text-align: center; font-size: 0.85rem; color: #475569; }
        .footer a { color: #475569; text-decoration: underline; text-decoration-color: #cbd5e1; margin: 0 10px; font-weight: 500; }
        .footer a:hover { color: #0b63e5; text-decoration: underline; }
        a.rlink { color: #0b63e5; font-weight: 600; text-decoration: none; }
        a.rlink:hover { text-decoration: underline; }
        body.dark { background: #0f172a; color: #f1f5f9; }
        body.dark .card { background: #1e293b; border-color: #334155; }
        body.dark .card h2 { color: #f1f5f9; }
        body.dark .card p, body.dark .card li, body.dark .card label { color: #e2e8f0; }
        body.dark .form-group input, body.dark .form-group textarea { background: #0f172a; border-color: #334155; color: #f1f5f9; }
        body.dark .form-group input:focus, body.dark .form-group textarea:focus { border-color: #38bdf8; background: #0f172a; }
        body.dark .stat-box { background: #0f172a; border-color: #334155; }
        body.dark .stat-box .stat-value { color: #38bdf8; }
        body.dark .stat-box .stat-label { color: #94a3b8; }
        body.dark .btn-secondary { background: #334155; color: #f1f5f9; border-color: #475569; }
        body.dark .btn-secondary:hover { background: #475569; }
        body.dark .btn-danger { background: #451a1a; color: #fca5a5; border-color: #7f1d1d; }
        body.dark .btn-danger:hover { background: #7f1d1d; }
        body.dark .water-glass { background: #0f172a; border-color: #334155; }
        body.dark .water-glass.filled { background: #0284c7; border-color: #0284c7; }
        body.dark .weekly-day { background: #0f172a; border-color: #334155; }
        body.dark .weekly-day .day-name { color: #b0bec5; }
        body.dark .weekly-day .day-weight { color: #e2e8f0; }
        body.dark .weekly-day .day-water { color: #38bdf8; }
        body.dark .progress-bar { background: #334155; }
        body.dark details summary { background: #0f172a; border-color: #334155; color: #f1f5f9; }
        body.dark details summary:hover { background: #1e293b; }
        body.dark details .faq-answer { border-color: #334155; color: #e2e8f0; }
        body.dark .theme-toggle { background: #1e293b; color: #fbbf24; border-color: #334155; }
        body.dark .footer { border-color: #334155; }
        body.dark .footer a { color: #b0bec5; text-decoration-color: #475569; }
        body.dark .back-link { color: #38bdf8; }
        body.dark .byline { color: #94a3b8; }
        body.dark .byline strong { color: #b0bec5; }
        body.dark a.rlink { color: #38bdf8; }
        body.dark a.rlink:hover { color: #7dd3fc; }
        body.dark .progress-label { color: #e2e8f0; }
        .water-label { color: #0b63e5; }
        body.dark .water-label { color: #38bdf8; }
        body.dark .water-hint { color: #b0bec5; }
        body.dark .consistency-label { color: #b0bec5; }
        body.dark .page-header p { color: #b0bec5; }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
        @media (max-width: 550px) { .stats-grid { grid-template-columns: 1fr; } .weekly-row { grid-template-columns: repeat(2, 1fr); } .stat-box .stat-value { font-size: 1.2rem; } }
