.breath-records{margin:22px 0 8px;border-top:1px solid #445064;padding-top:18px;color:inherit;font-size:14px;line-height:1.5}.breath-preferences{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.breath-records select,.breath-records button{font:inherit;border:1px solid #4c5672;border-radius:14px;background:#22243a;color:#eaeef2;padding:10px 14px;cursor:pointer;max-width:100%}#breathHistoryToggle{width:100%;text-align:left}#breathRecordsStatus{font-size:12px;color:#aebbd1;margin:10px 0}#breathStats{display:grid;grid-template-columns:1fr auto;gap:6px 14px;margin:16px 0}#breathStats dt,#breathStats dd{margin:0}#breathStats dd{font-variant-numeric:tabular-nums}#breathHistoryList{max-height:360px;overflow:auto}.breath-history-row{display:grid;gap:3px;padding:12px 0;border-top:1px solid #445064}.breath-history-row time,.breath-history-row span{font-size:12px}#breathClearHistory{margin-top:16px}#breathHistoryPanel[hidden]{display:none}
html[data-breath-theme="pearl"] body{background:#e9ecef;color:#253342}html[data-breath-theme="pearl"] .app{background:#f7f5ef;border-color:#cbd2d9;box-shadow:0 12px 40px #23334220}html[data-breath-theme="pearl"] .header h1{background:none;-webkit-text-fill-color:#253342;color:#253342}html[data-breath-theme="pearl"] .header-controls button,html[data-breath-theme="pearl"] .icon-controls button,html[data-breath-theme="pearl"] .mode-btn,html[data-breath-theme="pearl"] .ctrl-btn.secondary{background:#f7f5ef;color:#253342;border:1px solid #c3cdd6}html[data-breath-theme="pearl"] .mode-btn.active,html[data-breath-theme="pearl"] .ctrl-btn.primary{background:#466b8d;color:#fff}html[data-breath-theme="pearl"] .info-panel,html[data-breath-theme="pearl"] .phase-label,html[data-breath-theme="pearl"] .counter,html[data-breath-theme="pearl"] .phase-time{color:#253342}html[data-breath-theme="pearl"] .timer-bar{background:#d8dfe5}html[data-breath-theme="pearl"] .timer-fill{background:#6086a6}html[data-breath-theme="pearl"] .settings-panel,html[data-breath-theme="pearl"] .breath-records{color:#253342;border-color:#c3cdd6}html[data-breath-theme="pearl"] .settings-group label{color:#253342}html[data-breath-theme="pearl"] .settings-group input,html[data-breath-theme="pearl"] .breath-records select,html[data-breath-theme="pearl"] .breath-records button{background:#fffdf8;color:#253342;border-color:#bac6d1}html[data-breath-theme="pearl"] #breathRecordsStatus{color:#526372}html[data-breath-theme="pearl"] .breath-history-row{border-color:#c3cdd6}html[data-breath-theme="pearl"] .site-link,html[data-breath-theme="pearl"] .site-link a{color:#466b8d}
/* Keep the original breathing canvas, image and phase text colors unchanged. */
html[data-breath-theme="pearl"] .modal-content,html[data-breath-theme="pearl"] .help-card,html[data-breath-theme="pearl"] .steps-card,html[data-breath-theme="pearl"] .support-card,html[data-breath-theme="pearl"] .ww-review-dialog{background:#f7f5ef;color:#253342;border-color:#bac6d1}html[data-breath-theme="pearl"] #proContent li,html[data-breath-theme="pearl"] #proContent p,html[data-breath-theme="pearl"] #proTitle,html[data-breath-theme="pearl"] .help-card .content,html[data-breath-theme="pearl"] #wwReviewPrivacy,html[data-breath-theme="pearl"] #wwReviewStatus{color:#253342!important}html[data-breath-theme="pearl"] .wanway-tool-button,html[data-breath-theme="pearl"] .ww-review-dialog button,html[data-breath-theme="pearl"] .ww-review-dialog input{background:#edf0f2;color:#253342;border-color:#bac6d1}
html[data-breath-theme="pearl"] .settings-panel{background:#eeede7}html[data-breath-theme="pearl"] #billingStatus,html[data-breath-theme="pearl"] .help-card .content *,html[data-breath-theme="pearl"] .help-card h2,html[data-breath-theme="pearl"] .steps-card h2,html[data-breath-theme="pearl"] .steps-card p,html[data-breath-theme="pearl"] .support-card h2,html[data-breath-theme="pearl"] .support-card p,html[data-breath-theme="pearl"] #wanwayToolsStatus{color:#253342!important}

/* Optional cycle count stays inside the existing settings panel. */
.breath-cycle-setting{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:14px}.breath-cycle-setting select{font:inherit;color:inherit;background:var(--breath-panel,#24243b);border:1px solid #74829a;border-radius:12px;padding:10px;min-height:44px;max-width:100%}#breathCycleHint,.breath-background-hint{font-size:13px;line-height:1.5;overflow-wrap:anywhere;margin:8px 0}.breath-background-hint{width:100%}
html[data-breath-theme="pearl"] .breath-cycle-setting select{background:#fffdf8;color:#253342;border-color:#bac6d1}
