/* Scoped to the new public practice library and its dialog. */
.practice-library{padding:36px 0 40px;font-family:Manrope,Arial,sans-serif;color:#1e1b18}
#website .practice-library h2{font:400 clamp(2rem,4vw,3rem)/1.08 'Instrument Serif',Georgia,serif;letter-spacing:-.02em;color:#1e1b18;margin:15px 0}
#website .practice-library>p{font-size:1rem;line-height:1.7;max-width:740px;color:#6b6560}
.practice-notice{background:#ede7fb;border:1px solid #d4c7ed;border-radius:18px;padding:18px 22px;font-size:.875rem;line-height:1.65;color:#514264;margin:24px 0}
.practice-filters{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 14px}
.practice-filters button{font:500 .875rem/1.4 Manrope,Arial,sans-serif;border:1px solid #dcd4e4;background:#fff;border-radius:100px;padding:11px 16px;min-height:44px;color:#514460;cursor:pointer}
.practice-filters button[aria-pressed=true]{background:#62479c;border-color:#62479c;color:#fff}
.practice-count{font-size:.875rem;color:#6b6560;margin:0 0 18px}
.practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.practice-card{padding:27px;border-radius:28px;background:var(--practice-tone,#ede7fb);display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 20px 40px #1e1b180a;min-width:0}
.practice-card[hidden]{display:none}
.practice-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#62479c;margin-bottom:22px}
.practice-icon svg{width:30px;height:30px}
.practice-meta{font-size:.875rem;color:#60576b;line-height:1.5}
#website .practice-card h3{font:400 2rem/1.1 'Instrument Serif',Georgia,serif;letter-spacing:-.02em;color:#1e1b18;margin:12px 0 14px}
#website .practice-card p{font-size:1rem;line-height:1.65;color:#625c57;margin:0 0 22px}
#website .practice-card .button{margin-top:auto;border-radius:100px;min-height:46px;padding:12px 20px;font-size:.9375rem;background:#fff;border:1px solid #d4c9df;color:#513b76;box-shadow:0 4px 12px #1e1b1805;white-space:normal}
#practice-dialog{width:calc(100% - 32px);max-width:820px;max-height:92vh;max-height:92svh;padding:0;border:1px solid #ddd5e7;border-radius:28px;background:#faf8f3;color:#1e1b18;overflow:auto;font:400 1rem/1.65 Manrope,Arial,sans-serif;box-shadow:0 28px 100px #1e1b1840}
#practice-dialog::backdrop{background:#20192e80;backdrop-filter:blur(4px)}
.practice-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 30px 20px;border-bottom:1px solid #e3dce7;background:#faf8f3;position:sticky;top:0;z-index:2}
#practice-dialog h2{font:400 2rem/1.1 'Instrument Serif',Georgia,serif;margin:10px 0 0;color:#1e1b18;letter-spacing:-.02em}
.practice-trial-tag{font-size:.8125rem;font-weight:600;letter-spacing:.08em;color:#62479c;text-transform:uppercase}
.practice-close{border:1px solid #d4c7e1;border-radius:100%;width:44px;height:44px;flex-shrink:0;font:400 1.75rem/1 Arial;background:#fff;color:#513b76;cursor:pointer}
.practice-body{padding:25px 30px 30px}
.practice-privacy{font-size:.875rem;line-height:1.65;color:#665e6e;background:#f0ebf6;padding:14px 18px;border-radius:14px;margin:0 0 23px}
.practice-stage{min-height:220px}
#practice-dialog h3{font:400 2rem/1.15 'Instrument Serif',Georgia,serif;margin:12px 0 20px;color:#1e1b18;letter-spacing:-.01em}
#practice-dialog p{color:#625b68;font-size:1rem;line-height:1.65}
.practice-progress{display:flex;align-items:center;gap:15px;font-size:.875rem;color:#62479c;margin-bottom:18px}
.practice-progress progress{width:100%;height:7px;accent-color:#8b6fd6;border-radius:10px;border:0}
.practice-progress progress::-webkit-progress-bar{background:#e5dcef;border-radius:10px}.practice-progress progress::-webkit-progress-value{background:#8b6fd6;border-radius:10px}.practice-progress progress::-moz-progress-bar{background:#8b6fd6;border-radius:10px}
.practice-progress span{white-space:nowrap}
.practice-fields{display:grid;gap:18px;margin:20px 0}
.practice-fields.columns{grid-template-columns:repeat(2,minmax(0,1fr))}
#practice-dialog label{display:flex;flex-direction:column;gap:7px;font-size:1rem;font-weight:500;color:#45394f;min-width:0}
#practice-dialog :is(input,textarea,select){font:400 1rem/1.5 Manrope,Arial,sans-serif;display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #bfb2cc;border-radius:12px;padding:12px 13px;background:#fff;color:#29212f}
#practice-dialog textarea{min-height:100px;resize:vertical}
#practice-dialog select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2362479c' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
.practice-choices{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
#practice-dialog .practice-choice{font:500 1rem/1.4 Manrope,Arial,sans-serif;background:#fff;border:1px solid #c9b9db;border-radius:16px;padding:13px 17px;min-height:48px;color:#49375e;cursor:pointer;text-align:left}
#practice-dialog .practice-choice[aria-pressed=true]{background:#ede7fb;border:2px solid #62479c;padding:12px 16px;color:#3d2763}
.practice-actions{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 8px}
#practice-dialog .button{font:600 .9375rem/1.5 Manrope,Arial,sans-serif;border-radius:100px;padding:12px 22px;min-height:48px;background:#62479c;border:1px solid #62479c;color:#fff;cursor:pointer;white-space:normal}
#practice-dialog .button.outline{color:#513b76;background:#fff;border-color:#c9b9db}
#practice-dialog .button:disabled{opacity:.5;cursor:not-allowed}
.practice-text-button{background:none;border:0;text-decoration:underline;text-underline-offset:4px;font:500 .875rem/1.5 Manrope,Arial,sans-serif;color:#62479c;min-height:44px;padding:9px 4px;cursor:pointer}
.practice-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:15px;padding-top:18px;border-top:1px solid #ded4e8}
.practice-footnote{font-size:.875rem!important;line-height:1.6!important}
.practice-reference{font-size:.875rem;border-top:1px solid #ded4e8;margin-top:20px;padding-top:15px}
.practice-reference summary{cursor:pointer;color:#62479c;min-height:44px;padding:8px 0}
.practice-reference p{font-size:.875rem!important}.practice-reference a{color:#62479c;text-decoration:underline;text-underline-offset:3px}
.practice-summary{padding:22px;background:#fff;border:1px solid #ded4e8;border-radius:20px;margin:20px 0}
.practice-summary dl{margin:0}.practice-summary dt{font-size:.875rem;color:#62479c;font-weight:600;margin:18px 0 5px}.practice-summary dt:first-child{margin-top:0}.practice-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;color:#342b3b;line-height:1.65}
.practice-summary-row{border-bottom:1px solid #e9e3ef;padding:16px 0}.practice-summary-row:first-child{padding-top:0}.practice-summary-row:last-child{border:0;padding-bottom:0}
.practice-dots{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:28px 0}
.practice-dots button{width:52px;height:52px;border-radius:50%;border:2px solid #ab95ca;background:#fff;color:#62479c;cursor:pointer;font-size:1.125rem}
.practice-dots button[aria-pressed=true]{background:#62479c;border-color:#62479c;color:white}
.practice-illustration{display:grid;place-items:center;width:94px;height:94px;border-radius:30px;background:#ede7fb;margin:20px auto;color:#62479c}
.practice-illustration svg{width:50px;height:50px}
.practice-center{text-align:center}
.practice-error{color:#922d40!important;background:#fff0f2;border-radius:12px;padding:12px 15px;font-size:.9375rem!important}
.practice-status{font-size:.875rem;color:#5b466e;min-height:24px}
.practice-timer{font-size:2.5rem;font-variant-numeric:tabular-nums;color:#62479c;line-height:1.3;margin:15px 0}
.practice-zone-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:20px 0}.practice-zone-row button{border:1px solid #c8b9db;border-radius:100px;background:#fff;color:#62479c;padding:9px 13px;min-height:44px;font:500 .875rem Manrope,Arial,sans-serif;cursor:pointer}.practice-zone-row [aria-current=step]{background:#ede7fb;border:2px solid #62479c;padding:8px 12px}
.sleep-records{display:grid;gap:16px;margin:22px 0}.sleep-record{padding:18px;background:#fff;border:1px solid #ded4e8;border-radius:16px}.sleep-record-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}.sleep-record p{font-size:.875rem!important;margin:8px 0}.sleep-bar{height:8px;background:#eee9f6;border-radius:10px;margin:12px 0}.sleep-bar span{display:block;height:100%;background:#8b6fd6;border-radius:10px}.sleep-record-actions{display:flex;gap:16px}
.practice-library :is(button,a):focus-visible,#practice-dialog :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #62479c;outline-offset:4px}
#practice-dialog [tabindex='-1']:focus{outline:none}
@media(max-width:900px){.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.practice-grid{grid-template-columns:1fr;gap:16px}.practice-card{padding:25px}.practice-library{padding-top:20px}.practice-filters{gap:7px}.practice-filters button{padding:10px 13px}.practice-dialog-head{padding:19px 20px 17px;gap:10px}#practice-dialog{width:calc(100% - 16px);max-height:96svh;border-radius:22px}#practice-dialog h2{font-size:1.75rem}.practice-body{padding:20px}.practice-fields.columns{grid-template-columns:1fr}.practice-actions .button{flex:1 1 140px}.practice-summary{padding:18px}.practice-bottom{display:block}.practice-bottom button{display:block}.practice-dots{gap:9px}.practice-dots button{width:44px;height:44px}.practice-notice{padding:17px}}
@media(prefers-reduced-motion:reduce){.practice-library *,#practice-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
