.portal .rhythm-module{--r-ink:#243e34;--r-muted:#52634f;--r-line:#d7dfcf;--r-paper:#fffef9;--r-jade:#254f42;color:var(--r-ink);font-size:15px;line-height:1.7}.portal .rhythm-module *{box-sizing:border-box}.portal .rhythm-module button,.portal .rhythm-module input{font:inherit}.portal .rhythm-module button:disabled{cursor:not-allowed}.portal .rhythm-module h2{font-size:21px;font-weight:600}.portal .rhythm-module h3{font-size:18px;font-weight:600}.portal .rhythm-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.portal .rhythm-small{color:var(--r-muted);font-size:12px}.portal .rhythm-help{color:var(--r-muted);margin-top:10px;font-size:13px;line-height:1.8}.portal .rhythm-model-note{color:#465c40!important;margin-top:12px!important;font-size:12px!important;line-height:1.8!important}.portal .rhythm-summary{border:1px solid var(--r-line);background:#f0f3e9;border-radius:12px;padding:16px 18px}.portal .rhythm-summary h2{align-items:center;gap:8px;font-size:20px;display:flex}.portal .rhythm-summary-empty{color:var(--r-muted);margin:12px 0;font-size:13px;line-height:1.8}.portal .rhythm-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.portal .rhythm-metrics>div{flex-direction:column;gap:3px;display:flex}.portal .rhythm-metrics span{color:var(--r-muted);font-size:12px}.portal .rhythm-metrics strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:19px;font-weight:600}.portal .rhythm-metrics small{font-size:12px}.portal .rhythm-summary-actions{justify-content:space-between;gap:12px;display:flex}.portal .rhythm-summary-actions .p-text-link{min-height:32px;font-size:13px;font-weight:600}.portal .rhythm-heading{justify-content:space-between;align-items:center;gap:16px;margin:22px 0 24px;display:flex}.portal .rhythm-heading h1{letter-spacing:1px;margin:8px 0;font-size:34px}.portal .rhythm-heading p{color:var(--r-muted);font-size:14px}.portal .rhythm-heading>.p-button{flex-shrink:0}.portal .rhythm-detail-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);align-items:start;gap:22px;display:grid}.portal .rhythm-model,.portal .rhythm-feelings{background:var(--r-paper);border:1px solid var(--r-line);border-radius:13px;min-width:0;padding:24px}.portal .rhythm-feelings{background:#f0f3e9;scroll-margin-top:20px}.portal .rhythm-model>.rhythm-model-note{border-top:1px solid var(--r-line);padding-top:14px}.portal .rhythm-empty{text-align:center;min-height:285px;color:var(--r-muted);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:25px 0;display:flex}.portal .rhythm-empty p{font-size:14px}.portal .rhythm-birthday{border:1px solid var(--r-line);background:#edf2e5;border-radius:10px;margin-bottom:20px;padding:18px 20px}.portal .rhythm-birthday>label{margin-bottom:8px;font-weight:600;display:block}.portal .rhythm-birthday-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.portal .rhythm-module input[type=date]{background:var(--r-paper);color:var(--r-ink);border:1px solid #b4c4ab;border-radius:7px;min-width:0;max-width:100%;min-height:42px;padding:8px;font-size:15px}.portal .rhythm-range-controls{flex-direction:column;gap:10px;margin:18px 0 10px;display:flex}.portal .rhythm-range-controls label{justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.portal .rhythm-range-controls>div{justify-content:flex-end;gap:7px;display:flex}.portal .rhythm-range-controls button,.portal .rhythm-confirm button{background:#f7f8f0;border:1px solid #c5d1bb;border-radius:6px;min-height:38px;padding:6px 12px;font-size:13px}.portal .rhythm-range-controls button:hover{background:#e7eedf}.portal .rhythm-legend{flex-wrap:wrap;gap:14px;margin-top:15px;margin-bottom:10px;display:flex}.portal .rhythm-legend button{background:0 0;border:0;align-items:center;gap:5px;min-height:34px;padding:0;font-size:12px;display:inline-flex}.portal .rhythm-legend button[aria-pressed=false]{opacity:.6;text-decoration:line-through}.portal .rhythm-legend span{border-top-width:2px;width:19px}.portal .rhythm-chart{width:100%;min-width:0}.portal .rhythm-chart>svg{touch-action:pan-y;display:block;overflow:visible}.portal .rhythm-chart>svg text{font-family:var(--p-sans,sans-serif);fill:#4b5f44;font-size:12px}.portal .rhythm-scrubber{color:var(--r-muted);margin-top:4px;font-size:13px;display:block}.portal .rhythm-scrubber>span{justify-content:space-between;gap:10px;display:flex}.portal .rhythm-scrubber input{accent-color:#254f42;width:100%;min-height:24px;margin:8px 0}.portal .rhythm-chart-values{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.portal .rhythm-chart-values b{margin-left:3px}.portal .rhythm-date-badge{color:#365832;background:#e0e9d6;border-radius:5px;padding:3px 7px;font-size:12px}.portal .rhythm-score{border:0;margin:18px 0;padding:0}.portal .rhythm-score legend{align-items:center;gap:7px;margin-bottom:8px;font-size:15px;font-weight:600;display:flex}.portal .rhythm-score>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.portal .rhythm-score button{background:var(--r-paper);color:#405c38;border:1px solid #cbd6c1;border-radius:7px;flex-direction:column;align-items:center;gap:1px;min-height:57px;padding:6px 2px;display:flex}.portal .rhythm-score button b{font-size:17px;font-weight:600}.portal .rhythm-score button span{font-size:12px}.portal .rhythm-score button[aria-pressed=true]{background:var(--r-jade);border-color:var(--r-jade);color:#fffef9}.portal .rhythm-text-button{text-underline-offset:3px;color:#52634f;background:0 0;border:0;min-height:40px;padding:7px 0;font-size:13px;text-decoration:underline}.portal .rhythm-form-actions{flex-wrap:wrap;align-items:center;gap:16px;margin-top:17px;display:flex}.portal .rhythm-error{color:#893d2b;overflow-wrap:anywhere;background:#fcf0e9;border:1px solid #e6c9b9;border-radius:8px;margin:14px 0;padding:12px;font-size:13px}.portal .rhythm-error button{color:#713927;background:0 0;border:0;padding:7px 0;font-size:13px;font-weight:600;text-decoration:underline;display:block}.portal .rhythm-success{color:#2a5936;margin:12px 0;font-size:13px}.portal .rhythm-confirm{border-top:1px solid #c5d1bb;border-bottom:1px solid #c5d1bb;margin-top:14px;padding:12px 0;font-size:13px}.portal .rhythm-confirm p{margin-bottom:9px}.portal .rhythm-confirm button{margin-right:8px}.portal .rhythm-history{border-top:1px solid var(--r-line);margin-top:24px;padding-top:18px}.portal .rhythm-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:14px 0;display:grid}.portal .rhythm-days button{color:#49613f;background:0 0;border:1px solid #d3ddc9;border-radius:7px;flex-direction:column;align-items:center;gap:2px;padding:7px 0;display:flex}.portal .rhythm-days button[aria-pressed=true]{background:#dfe8d4;border-color:#819a6f}.portal .rhythm-days span,.portal .rhythm-days small{font-size:12px}.portal .rhythm-days b{font-size:17px}.portal .rhythm-existing-note{white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid #bdcbb0;padding-left:12px;font-size:13px;line-height:1.8}@media (max-width:950px){.portal .rhythm-detail-grid{grid-template-columns:minmax(0,1fr)}.portal .rhythm-model,.portal .rhythm-feelings{padding:22px}}@media (max-width:760px){.portal .rhythm-heading{flex-wrap:wrap;align-items:flex-start;margin:20px 0}.portal .rhythm-heading h1{letter-spacing:.5px;font-size:28px}.portal .rhythm-heading p{font-size:13px}.portal .rhythm-heading>.p-button{min-height:40px;padding:8px 12px}.portal .rhythm-detail-grid{gap:18px}.portal .rhythm-model,.portal .rhythm-feelings{padding:18px 15px}.portal .rhythm-birthday{padding:16px}.portal .rhythm-module input[type=date]{font-size:16px}.portal .rhythm-summary{padding:14px 17px}.portal .rhythm-summary .rhythm-model-note{margin-top:6px!important;font-size:12px!important}.portal .rhythm-summary-actions .p-text-link{min-height:36px;font-size:13px}.portal .rhythm-legend{gap:10px}.portal .rhythm-legend button,.portal .rhythm-range-controls button{min-height:44px}.portal .rhythm-scrubber input{min-height:36px}.portal .rhythm-score>div,.portal .rhythm-history>.rhythm-row{gap:5px}.portal .rhythm-model h2,.portal .rhythm-feelings h2{font-size:22px}}@media (prefers-reduced-motion:reduce){.portal .rhythm-module *{scroll-behavior:auto;transition:none;animation:none}}@media (max-width:760px){.portal .rhythm-heading{margin:15px 0 18px;position:relative}.portal .rhythm-heading>.p-button{min-height:32px;padding:4px 10px;font-size:12px;position:absolute;top:-43px;right:0}.portal .rhythm-empty{gap:8px;min-height:150px;padding:16px 0}.portal .rhythm-empty>svg{width:24px;height:24px}.portal .rhythm-model>.rhythm-model-note{padding-top:10px}.portal .rhythm-model>.rhythm-help:last-child{margin-top:5px}}.portal .rhythm-heading{flex-wrap:nowrap;align-items:center;margin:8px 0 12px}.portal .rhythm-heading h1{margin:0;font-size:26px}.portal .rhythm-heading>.p-button{min-height:32px;padding:5px 10px;font-size:12px;position:static}.portal .rhythm-model,.portal .rhythm-feelings{padding:18px}.portal .rhythm-model h2{font-size:18px}.portal .rhythm-today-metrics{background:#eef3e7;border-radius:8px;margin:12px 0 4px;padding:10px 12px}.portal .rhythm-today-metrics strong{font-size:23px}.portal .rhythm-legend{gap:12px;margin:6px 0 0}.portal .rhythm-legend button{min-height:30px;font-size:11px}.portal .rhythm-chart>svg{height:200px}.portal .rhythm-range-controls{flex-flow:wrap;justify-content:space-between;align-items:center;gap:6px;margin:10px 0 0}.portal .rhythm-range-controls label{gap:5px;font-size:11px}.portal .rhythm-range-controls input[type=date]{min-height:32px;padding:4px;font-size:12px}.portal .rhythm-range-controls button{min-height:32px;padding:4px 7px;font-size:12px}.portal .rhythm-model>.rhythm-help{margin-top:5px;font-size:11px}.portal .rhythm-explanation{color:#52634f;margin-top:6px;font-size:12px}.portal .rhythm-scrubber input{min-height:28px;margin:4px 0}.portal .rhythm-chart-values{gap:12px;font-size:12px}.portal .rhythm-model>.rhythm-model-note{padding-top:8px;margin-top:8px!important}@media (max-width:760px){.portal .rhythm-detail-grid{gap:12px}.portal .rhythm-model,.portal .rhythm-feelings{padding:13px 12px}.portal .rhythm-heading{margin:6px 0 10px}.portal .rhythm-heading h1{font-size:23px}.portal .rhythm-chart>svg{height:185px}.portal .rhythm-today-metrics strong{font-size:21px}}
