*{box-sizing:border-box}html{background:#fbf8fb}body{margin:0;font-family:Inter,ui-rounded,"SF Pro Rounded","SF Pro Display",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#fffafd 0,#faf7fb 45%,#f8f6fa 100%);color:#3d2941;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{max-width:980px;margin:auto;min-height:100vh;padding:env(safe-area-inset-top) 18px calc(96px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 2px 12px;gap:12px}.brand{font-size:.72rem;letter-spacing:.18em;font-weight:900;color:#9a6689}.brand span{color:#df7faf}.topbar h1{font-size:1.65rem;margin:5px 0 2px;letter-spacing:-.035em}.muted,.helper{color:#8a788d;margin:0;font-size:.88rem;line-height:1.45}.top-actions{display:flex;align-items:center;gap:8px}.avatar,.circle-btn{border:0;width:42px;height:42px;border-radius:50%;background:#f3d7e7;color:#724f69;font-weight:900;box-shadow:0 5px 20px #6c355a12}.cloud-dot{font-size:.7rem;color:#c9bdc9}.cloud-dot.online{color:#63b989}.cloud-dot.syncing{color:#e4ad55}.view{display:none}.view.active{display:block}.hero-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#f9d9e9,#e9def9 65%,#f7e7f5);border:1px solid #fff9;border-radius:26px;padding:23px;box-shadow:0 18px 50px #683b5814;margin:5px 0 13px;overflow:hidden;position:relative}.hero-card:after{content:"♡";position:absolute;right:84px;top:-24px;font-size:100px;color:#fff4;transform:rotate(15deg)}.eyebrow{font-size:.68rem;letter-spacing:.14em;font-weight:900;color:#a66b91;margin-bottom:5px}.hero-card h2,.view-title h2{font-size:1.45rem;margin:0 0 5px;letter-spacing:-.03em}.hero-card p{margin:0;max-width:520px;color:#735f75;font-size:.9rem;line-height:1.45}.ring{width:69px;height:69px;border-radius:50%;background:#fff9;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 0 0 5px #ffffff60;z-index:1;flex:none}.ring strong{font-size:1.25rem}.ring span{font-size:.67rem;color:#967f94}.smart-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0}.smart-card{background:#fff;border:1px solid #eee6ef;border-radius:18px;padding:12px;box-shadow:0 7px 24px #613c5710;min-width:0}.smart-card span{display:block;font-size:1.05rem}.smart-card small{display:block;color:#a08d9e;font-size:.68rem;margin:4px 0}.smart-card b{font-size:.82rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0 15px}.quick-grid button,.capture-grid button{border:1px solid #eee3ed;background:#fff;border-radius:19px;padding:13px 6px;color:#51394d;box-shadow:0 8px 22px #5f395510}.quick-grid span,.capture-grid span{display:block;font-size:1.25rem;margin-bottom:3px}.quick-grid b,.capture-grid b{display:block;font-size:.79rem}.quick-grid small,.capture-grid small{display:block;font-size:.65rem;color:#a08c9e;margin-top:2px}.panel{background:#fff;border:1px solid #eee6ef;border-radius:24px;padding:17px;margin:12px 0;box-shadow:0 10px 35px #5e3a5410}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section-head h3{margin:0;font-size:1rem}.section-head p{margin:2px 0 0;color:#9b899a;font-size:.72rem}.text-btn{border:0;background:none;color:#b45e90;font-weight:800}.compact-select{border:1px solid #e9dfe8;background:#fcf9fc;padding:8px;border-radius:12px;color:#694f65;max-width:120px;font-size:.78rem}.timeline,.card-list{display:flex;flex-direction:column;gap:8px}.empty{padding:21px 10px;text-align:center;color:#a492a3;font-size:.85rem;border:1px dashed #eadfea;border-radius:15px;background:#fdfafd}.timeline-item,.item-card,.course-card,.client-card,.candidate{display:flex;gap:11px;align-items:flex-start;border:1px solid #eee5ed;background:#fefcfe;border-radius:17px;padding:11px}.timeline-time{width:53px;flex:none;text-align:right;font-size:.73rem;color:#9b8798;padding-top:4px}.type-dot{width:10px;height:10px;border-radius:50%;margin-top:6px;flex:none;background:#d18bad}.type-dot.class{background:#8f8bd6}.type-dot.gig{background:#e17ba6}.type-dot.homework{background:#d6a45f}.type-dot.project{background:#b583d4}.type-dot.exam{background:#d66e75}.type-dot.study{background:#76a39b}.type-dot.personal{background:#8db77f}.item-main{min-width:0;flex:1}.item-main b{display:block;font-size:.87rem}.item-meta{color:#958394;font-size:.71rem;margin-top:3px;line-height:1.4}.item-notes{font-size:.72rem;color:#745f73;margin-top:5px;white-space:pre-wrap}.item-actions{display:flex;gap:4px;flex:none}.icon-action{border:0;background:#f5edf4;color:#896e84;width:30px;height:30px;border-radius:10px}.done-card{opacity:.55}.done-card .item-main b{text-decoration:line-through}.badge{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:.61rem;font-weight:800;background:#f1e8f0;color:#86637b;margin-right:4px}.badge.high{background:#ffe7e8;color:#b65b63}.badge.unpaid{background:#fff0d8;color:#9e6b27}.badge.paid{background:#e1f3e9;color:#4f8b69}.progress-mini{height:5px;background:#eee6ed;border-radius:99px;margin-top:7px;overflow:hidden}.progress-mini i{display:block;height:100%;background:linear-gradient(90deg,#d986ae,#aa8dd7)}.insight-card{display:flex;gap:12px;background:linear-gradient(135deg,#fff1f7,#f5f0ff);border:1px solid #f0e3ee;border-radius:20px;padding:15px;margin:12px 0}.insight-icon{font-size:1.4rem}.insight-card b{font-size:.84rem}.insight-card p{font-size:.75rem;color:#836f82;margin:3px 0 0;line-height:1.45}.view-title{display:flex;align-items:center;justify-content:space-between;padding:11px 2px 5px}.primary,.secondary,.danger{border:0;border-radius:13px;padding:11px 15px;font-weight:800}.primary{background:linear-gradient(135deg,#d67eaa,#a888d5);color:white;box-shadow:0 8px 22px #aa6b9e25}.secondary{background:#f6eef5;color:#755d71}.danger{background:#fff0f0;color:#b65861}.mini{padding:8px 11px;font-size:.75rem}.wide{width:100%;margin:9px 0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0}.stat{background:#fff;border:1px solid #eee5ed;border-radius:18px;padding:13px;text-align:center}.stat span{display:block}.stat strong{display:block;font-size:1.15rem;margin:3px}.stat small{color:#9b8998;font-size:.66rem}.semester-bar,.week-toolbar,.gig-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.semester-bar{background:#f8eff7;border-radius:18px;padding:12px 14px;margin:8px 0}.semester-bar small{display:block;color:#9f8999;font-size:.65rem}.semester-bar b{font-size:.85rem}.week-toolbar{padding:7px 4px}.week-toolbar button{border:0;background:#f4eaf2;width:34px;height:34px;border-radius:12px;color:#765b70}.week-label{font-size:.8rem}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:7px 0 12px}.day-pill{border:1px solid #ede3ec;background:#fff;border-radius:16px;padding:9px 2px;text-align:center;color:#735c70}.day-pill small{display:block;font-size:.58rem;text-transform:uppercase;color:#a28d9f}.day-pill b{display:block;font-size:.87rem;margin-top:4px}.day-pill.active{background:linear-gradient(145deg,#e9b6d1,#c8b2e7);color:white;border-color:transparent}.day-pill.active small{color:#fff}.gig-actions{justify-content:flex-start;margin:10px 0}.assistant-suggestions{display:flex;gap:7px;overflow:auto;padding:7px 1px 10px;scrollbar-width:none}.assistant-suggestions button{white-space:nowrap;border:1px solid #eadfea;background:#fff;border-radius:999px;padding:8px 11px;color:#765f73;font-size:.72rem}.chat{min-height:420px;max-height:58vh;overflow:auto;background:#fff;border:1px solid #eee6ef;border-radius:22px;padding:13px;display:flex;flex-direction:column;gap:10px}.bubble{max-width:85%;padding:10px 12px;border-radius:16px;font-size:.81rem;line-height:1.48;white-space:pre-wrap}.bubble.bot{background:#f6edf6;align-self:flex-start;border-bottom-left-radius:5px}.bubble.user{background:linear-gradient(135deg,#d986b0,#a98ad6);color:white;align-self:flex-end;border-bottom-right-radius:5px}.assistant-input{display:grid;grid-template-columns:38px 1fr auto;gap:7px;margin-top:9px}.assistant-input input{border:1px solid #eadfea;border-radius:14px;padding:11px;background:#fff;min-width:0}.assistant-input>button:first-child{border:0;border-radius:50%;background:#f0dce9;color:#b0668c}.settings-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.settings-list button,.settings-button{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #eee5ed;background:#fff;padding:13px;border-radius:17px;text-align:left;color:#513d4e}.settings-list span,.settings-button>span{font-size:1.25rem}.settings-list div,.settings-button div{flex:1}.settings-list b,.settings-button b{display:block;font-size:.83rem}.settings-list small,.settings-button small{display:block;color:#9c8999;font-size:.68rem;margin-top:2px}.settings-list i,.settings-button i{font-style:normal;color:#b8a8b6}.about-card{background:#f8f2f7;border:1px solid #eee2ed;border-radius:18px;padding:14px;margin:12px 0}.about-card b{font-size:.82rem}.about-card p{font-size:.72rem;line-height:1.5;color:#826f80;margin:4px 0 0}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(980px,100%);display:grid;grid-template-columns:repeat(6,1fr);background:#fffefef2;border-top:1px solid #eadfea;backdrop-filter:blur(18px);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:30}.bottom-nav button{border:0;background:none;color:#9f8c9d;padding:3px}.bottom-nav span{display:block;font-size:1.17rem}.bottom-nav small{font-size:.61rem;font-weight:700}.bottom-nav button.active{color:#b45f91}.bottom-nav .add-center span{display:grid;place-items:center;margin:-25px auto 2px;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#d97fab,#a98ad6);color:white;font-size:1.6rem;box-shadow:0 8px 24px #97527f55}.sheet{width:min(620px,calc(100% - 18px));max-height:92vh;border:0;border-radius:26px;padding:18px;color:#453342;background:#fff;box-shadow:0 30px 100px #48283f44}.sheet::backdrop{background:#3c24375c;backdrop-filter:blur(3px)}.small-sheet{max-width:500px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.dialog-head h3{margin:0;font-size:1.2rem}.dialog-head>button{border:0;background:#f4edf3;color:#735e70;border-radius:50%;width:34px;height:34px;font-size:1.3rem}.sheet label{display:block;font-size:.71rem;font-weight:800;color:#765f73;margin:10px 0}.sheet input,.sheet textarea,.sheet select{width:100%;border:1px solid #e8dde6;background:#fefcfe;border-radius:12px;padding:10px;color:#463543;margin-top:5px;outline:none}.sheet input:focus,.sheet textarea:focus,.sheet select:focus{border-color:#d69ab9;box-shadow:0 0 0 3px #f5ddea}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}.segmented{display:flex;gap:5px;overflow:auto;padding:4px 0}.segmented button{white-space:nowrap;border:1px solid #eadfe8;background:#faf6f9;color:#7f6a7a;border-radius:12px;padding:8px;font-size:.67rem}.segmented button.active{background:#ecd4e3;border-color:#d49ab9;color:#724d65}.conditional{border-radius:15px;background:#fbf6fa;padding:2px 10px;margin-top:9px}.checks{display:flex;gap:8px;flex-wrap:wrap}.checks label{display:flex;align-items:center;gap:5px;background:#faf5f9;border:1px solid #ebdfE8;padding:7px 9px;border-radius:10px;margin:0;font-size:.68rem}.checks input,.checkline input{width:auto;margin:0}.checkline{display:flex!important;gap:7px;align-items:center}.sheet fieldset{border:1px solid #ebdfE8;border-radius:14px;padding:10px;margin:11px 0}.sheet legend{font-size:.69rem;font-weight:900;color:#775f72;padding:0 5px}.dialog-actions{display:flex;gap:7px;align-items:center;margin-top:13px}.spacer{flex:1}.capture-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.capture-grid button{padding:16px 8px}.or{display:flex;align-items:center;gap:8px;color:#aa97a7;font-size:.68rem;margin:14px 0}.or:before,.or:after{content:"";height:1px;background:#eee4ec;flex:1}.natural-box textarea{width:100%;border:1px solid #e8dde6;border-radius:13px;padding:10px;resize:vertical}.natural-box .primary{width:100%;margin-top:7px}.upload-box{display:flex!important;flex-direction:column;align-items:center;border:1.5px dashed #d8b9ce!important;background:#fcf5fa;border-radius:17px;padding:21px!important;text-align:center}.upload-box b{font-size:.84rem}.upload-box small{font-size:.67rem;color:#a18c9d}.scan-preview{display:none;width:100%;max-height:260px;object-fit:contain;background:#f8f3f7;border-radius:15px;margin:9px 0}.progress-box{background:#f8f2f7;border-radius:13px;padding:10px;margin:8px 0}.progress-box div{display:flex;justify-content:space-between;font-size:.69rem}.progress-box progress{width:100%;margin-top:6px}.candidate-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.candidate{align-items:center}.candidate button{margin-left:auto}.mic-wrap{text-align:center;padding:16px}.mic{width:74px;height:74px;border-radius:50%;border:0;background:linear-gradient(145deg,#f0bfd7,#c8b3e9);color:white;font-size:1.8rem;box-shadow:0 9px 30px #a7659144;margin-bottom:10px}.mic.recording{animation:pulse 1.1s infinite}.mic-wrap b,.mic-wrap small{display:block}.mic-wrap small{color:#9c8999;font-size:.68rem;margin-top:4px}.compact-list{margin-top:12px}.toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,20px);background:#4c3848;color:white;padding:10px 14px;border-radius:999px;font-size:.74rem;opacity:0;pointer-events:none;transition:.25s;z-index:100;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes pulse{50%{transform:scale(1.07);box-shadow:0 10px 38px #c76f9d77}}
@media(min-width:700px){.app-shell{padding-left:28px;padding-right:28px}.quick-grid{grid-template-columns:repeat(4,140px);justify-content:start}.smart-row{grid-template-columns:repeat(3,180px);justify-content:start}.panel{padding:20px}.bottom-nav{max-width:720px;border:1px solid #e8dde6;border-bottom:0;border-radius:22px 22px 0 0}.stats-grid{grid-template-columns:repeat(3,170px);justify-content:start}}
@media(max-width:420px){.app-shell{padding-left:12px;padding-right:12px}.topbar{padding-top:17px}.topbar h1{font-size:1.45rem}.hero-card{padding:18px;border-radius:22px}.hero-card h2{font-size:1.25rem}.hero-card p{font-size:.78rem}.ring{width:60px;height:60px}.quick-grid{gap:6px}.quick-grid button{padding:11px 3px;border-radius:16px}.quick-grid small{font-size:.58rem}.smart-row{gap:6px}.smart-card{padding:9px}.smart-card b{font-size:.72rem}.panel{padding:14px;border-radius:20px}.week-strip{gap:3px}.day-pill{padding:8px 0}.two-col{grid-template-columns:1fr}.sheet{padding:15px}.capture-grid{grid-template-columns:1fr 1fr}}
@media(display-mode:standalone){.topbar{padding-top:18px}}

.scan-mode-result{font-size:.68rem;font-weight:900;color:#9b6687;text-transform:uppercase;letter-spacing:.06em;margin:9px 2px 3px}
.scan-summary{background:linear-gradient(135deg,#fff2f8,#f6f1ff);border:1px solid #eaddea;border-radius:15px;padding:11px 12px;margin:8px 0}
.scan-summary b{display:block;font-size:.82rem;color:#5c4357}.scan-summary small{display:block;margin-top:3px;color:#8e7889;font-size:.69rem;line-height:1.4}
.clean-candidate{display:flex;background:#fff;border:1px solid #eee3ec;border-radius:15px;padding:10px;gap:9px}.candidate-check{display:grid!important;place-items:center;margin:0!important}.candidate-check input{width:auto!important;margin:0!important;accent-color:#c878a4}
.ocr-details{margin-top:10px;border-top:1px solid #eee4ec;padding-top:9px}.ocr-details summary{cursor:pointer;color:#8f7587;font-size:.7rem;font-weight:800}

.free-scan-note{display:flex;gap:11px;align-items:flex-start;background:linear-gradient(135deg,#fff4f9,#f7f1ff);border:1px solid #eadce8;border-radius:17px;padding:12px;margin:3px 0 13px}.free-scan-note>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#9d5f86;font-weight:900;box-shadow:0 5px 16px rgba(119,77,105,.1)}.free-scan-note b{display:block;color:#563c50;font-size:.82rem}.free-scan-note small{display:block;color:#8c7586;font-size:.69rem;line-height:1.45;margin-top:3px}
.scan-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0}.scan-preview-grid img{width:100%;height:105px;object-fit:cover;border:1px solid #eadfe8;border-radius:12px;background:#faf7fa}
.scan-warnings{display:grid;gap:5px;margin:8px 0}.scan-warnings div{font-size:.69rem;line-height:1.35;background:#fff8e8;border:1px solid #f0dfb6;border-radius:12px;padding:8px;color:#765f2f}.candidate-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.scan-confidence{font-size:.55rem;border-radius:999px;padding:3px 6px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.scan-confidence.high{background:#ecf8ef;color:#477b55}.scan-confidence.med{background:#fff4df;color:#8d6930}.scan-confidence.low{background:#fff0f0;color:#9b5050}@media(max-width:520px){.scan-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-preview-grid img{height:115px}}
.neural-options{display:grid;gap:8px;margin:10px 0}.neural-check{display:flex!important;gap:10px;align-items:flex-start;background:#fff;border:1px solid #eadfe8;border-radius:15px;padding:10px 12px}.neural-check input{width:auto!important;margin-top:2px!important;accent-color:#b66d9e}.neural-check span{display:block}.neural-check b{display:block;font-size:.78rem;color:#55404f}.neural-check small{display:block;font-size:.65rem;color:#8b7685;line-height:1.4;margin-top:2px}.engine-status{font-size:.64rem;color:#7b6875;background:#f9f4f8;border-radius:10px;padding:7px 9px}.scan-detection-details{margin-top:10px;border-top:1px solid #eee3eb;padding-top:9px}.scan-detection-details summary{cursor:pointer;font-size:.7rem;font-weight:850;color:#806b7b}.scan-detection-details>small{display:block;color:#8d7b88;font-size:.62rem;line-height:1.4;margin-top:6px}.scan-overlay-wrap{margin-top:8px;overflow:auto;border-radius:14px;background:#f6f2f5;border:1px solid #eadfe8}.scan-overlay-wrap canvas{width:100%;height:auto;display:block}.candidate.scan-rejected{opacity:.65}

/* v6.5 full-month planner */
.month-toolbar{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;padding:8px 3px 7px}
.month-toolbar b{text-align:center;font-size:.92rem;color:#5c4658}
.month-toolbar button{border:0;background:#f4eaf2;width:36px;height:36px;border-radius:12px;color:#765b70;font-size:1.25rem;font-weight:800}
.compact-panel{padding:10px!important;margin-top:2px!important}
.month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:1px 0 5px;text-align:center}
.month-weekdays span{font-size:.57rem;font-weight:900;text-transform:uppercase;letter-spacing:.02em;color:#a18d9e;padding:4px 0}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.month-day{position:relative;min-height:57px;border:1px solid #eee4ed;background:#fff;border-radius:13px;padding:6px 4px 5px;text-align:left;color:#694f64;overflow:hidden}
.month-day>span{display:grid;place-items:center;width:23px;height:23px;border-radius:9px;font-size:.72rem;font-weight:850}
.month-day.outside{background:#fbf8fb;color:#c1b4bf;border-color:#f4edf3}
.month-day.today>span{border:1.5px solid #c779a6;color:#a55583}
.month-day.active{background:linear-gradient(145deg,#f2c9dd,#d9c6ef);border-color:transparent;box-shadow:0 6px 17px rgba(162,104,148,.12)}
.month-day.active>span{background:#fff;color:#9f5e86;box-shadow:0 3px 9px rgba(100,64,90,.08)}
.month-indicators{position:absolute;left:6px;right:5px;bottom:6px;display:flex;align-items:center;gap:3px;min-height:8px}
.month-dot{width:6px;height:6px;border-radius:50%;display:block;background:#ad93a9}
.month-dot.class{background:#7e8fd0}.month-dot.gig{background:#d780aa}.month-dot.homework{background:#d4a34e}.month-dot.project{background:#9d7bc4}.month-dot.exam{background:#cc686d}.month-dot.study{background:#69a292}.month-dot.personal{background:#9f9ba4}
.month-indicators em{margin-left:auto;font-style:normal;font-size:.52rem;font-weight:900;color:#806c7d;background:#f4eaf1;border-radius:999px;padding:1px 4px}
.month-day.active .month-indicators em{background:#ffffffaa;color:#715569}
@media(max-width:390px){.month-grid{gap:3px}.month-day{min-height:52px;border-radius:11px;padding:5px 3px}.month-day>span{width:21px;height:21px;font-size:.67rem}.month-weekdays span{font-size:.52rem}}

/* v7.0 Cycle & Wellness */
.health-view{--rose:#d66f9f;--rose2:#f6cfdf;--violet:#b69bdd;--ink:#533a4d;--soft:#9c8797}
.health-title p{max-width:600px}.health-mode-row,.health-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:5px 1px 8px}.health-mode-row::-webkit-scrollbar,.health-tabs::-webkit-scrollbar{display:none}
.health-mode-row button,.health-tabs button{border:1px solid #eadfe7;background:#fff;border-radius:999px;padding:8px 11px;white-space:nowrap;color:#826c7d;font-size:.69rem;font-weight:800}.health-mode-row button.active,.health-tabs button.active{background:linear-gradient(135deg,#edc4da,#d8c8ef);border-color:transparent;color:#604356}
.health-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:25px;padding:19px 20px;background:linear-gradient(135deg,#fad7e8,#eee0fb 68%,#fdeef5);border:1px solid #fff;box-shadow:0 14px 42px #623d5614;margin:5px 0 9px}.health-hero span{display:inline-block;font-size:.61rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#a55c86}.health-hero h3{font-size:1.35rem;margin:5px 0 3px}.health-hero p{font-size:.76rem;color:#806d7c;margin:0}.health-orbit{font-size:2rem;background:#fff9;width:60px;height:60px;border-radius:50%;display:grid;place-items:center;flex:none}
.health-tab-pane{display:none}.health-tab-pane.active{display:block}.health-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0}.health-stat{border:1px solid #ede3eb;background:#fff;border-radius:18px;padding:12px;text-align:left;color:var(--ink);min-width:0}.health-stat small,.health-stat span{display:block;color:#9d8898;font-size:.62rem}.health-stat b{display:block;font-size:.85rem;margin:4px 0;overflow:hidden;text-overflow:ellipsis}.health-panel{border-radius:21px!important}.health-copy{font-size:.76rem;line-height:1.55;color:#765f72}.health-chip-row{display:flex;gap:5px;flex-wrap:wrap}.health-chip-row span{background:#f5eaf1;border-radius:999px;padding:5px 8px;font-size:.62rem;color:#765f70}.health-chip-row .soft{background:#faf7f9;color:#aa99a6}
.health-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.health-action-grid button,.two-health-tools button{border:1px solid #eadfe8;background:#fefcfe;border-radius:17px;padding:13px;text-align:left;color:#5b4355}.health-action-grid b,.two-health-tools b{display:block;font-size:.78rem;margin:4px 0}.health-action-grid small,.two-health-tools small{display:block;font-size:.62rem;color:#9b8796}.health-disclaimer{font-size:.66rem;line-height:1.5;color:#8e7b89;background:#f9f4f7;border:1px solid #eee3eb;border-radius:13px;padding:10px}
.hc-toolbar{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;margin:8px 0}.hc-toolbar b{text-align:center}.hc-toolbar button{border:0;background:#f3e8ef;border-radius:11px;height:34px;color:#765d70;font-size:1.15rem}.hc-legend{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0 8px}.leg{font-size:.56rem;padding:4px 6px;border-radius:999px}.leg.actual{background:#e88ab3;color:white}.leg.predicted{border:1px dashed #d879a6;color:#b05d87}.leg.fertile{background:#d8f2ec;color:#4b897d}.leg.ovu{border:1px dashed #4ca694;color:#397e72}.hc-weekdays,.hc-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.hc-weekdays span{text-align:center;font-size:.55rem;font-weight:900;color:#a08c9c;padding:3px}.hc-day{position:relative;min-height:48px;border:1px solid #eee5ec;background:white;border-radius:11px;color:#6c5667}.hc-day.outside{opacity:.42}.hc-day span{font-size:.68rem;font-weight:850}.hc-day.actual-period{background:#f4a9c7;color:#6c3453}.hc-day.pred-period:not(.actual-period){border:1.5px dashed #d878a3}.hc-day.fertile{box-shadow:inset 0 -5px #bce8df}.hc-day.ovulation:after{content:"";position:absolute;width:7px;height:7px;border:2px solid #4a9d8d;border-radius:50%;right:5px;top:5px}.hc-day.today span{text-decoration:underline}.hc-day i{position:absolute;width:5px;height:5px;background:#8b75be;border-radius:50%;bottom:5px;left:50%;transform:translateX(-50%)}
.health-history{display:flex;flex-direction:column;gap:6px;margin-top:8px}.health-history>div,.health-history>button{display:flex;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid #f0e8ef;background:none;padding:8px 3px;text-align:left;color:#594253}.health-history span{font-size:.67rem;color:#998494;text-align:right}
.health-log-top,.health-log-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.period-toggle{display:flex!important;align-items:center;gap:8px;background:#fde8f1;border:1px solid #f1cade;border-radius:13px;padding:11px!important}.period-toggle input{width:auto!important;margin:0!important}.symptom-head{margin-top:16px}.mini-search{width:120px!important;margin:0!important;padding:7px!important}.symptom-group{border-top:1px solid #eee5ec;padding:7px 0}.symptom-group summary{font-size:.73rem;font-weight:850;cursor:pointer}.symptom-group summary small{color:#ad8fa3}.symptom-picks{display:flex;flex-wrap:wrap;gap:5px;padding:8px 0}.symptom-picks button{border:1px solid #e9dfe7;background:#fff;border-radius:999px;padding:6px 8px;font-size:.61rem;color:#786273}.symptom-picks button.selected{background:#efd5e3;color:#6d4960;border-color:#dab0c7}
.health-library-tools{display:grid;grid-template-columns:1fr 125px;gap:7px}.health-library-tools input,.health-library-tools select{border:1px solid #e8dde6;border-radius:12px;padding:9px;background:#fefcfe}.health-content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}.health-content-card{border:1px solid #ece2ea;border-radius:18px;padding:12px;text-align:left;background:#fff;color:#543d50}.health-content-card>span{font-size:1.1rem}.health-content-card small{display:block;color:#a18b9c;font-size:.56rem;text-transform:uppercase;margin:4px 0}.health-content-card b{font-size:.78rem}.health-content-card p{font-size:.64rem;line-height:1.4;color:#806d7d}.health-content-card i{font-size:.57rem;color:#af668f}.health-article-body{font-size:.82rem;line-height:1.7}.health-guide-chat{display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto}.guide-bubble{max-width:90%;padding:9px 11px;background:#f5edf3;border-radius:14px;font-size:.72rem;line-height:1.45}.guide-bubble.me{align-self:flex-end;background:#e8d5ef}.health-guide-form{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:9px}.health-guide-form input{border:1px solid #e5d9e3;border-radius:13px;padding:9px}
.bbt-chart,.cycle-bars,.peri-bars{height:120px;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid #eadfe8;padding:8px 4px}.bbt-chart>div,.cycle-bars>div,.peri-bars>div{flex:1;text-align:center;min-width:0}.bbt-chart i,.cycle-bars i,.peri-bars i{display:block;width:70%;margin:auto;background:linear-gradient(#d97eab,#a791d3);border-radius:6px 6px 2px 2px;max-height:95px}.bbt-chart small,.cycle-bars small,.peri-bars small{font-size:.5rem;color:#9c8796}.preg-progress,.timeline-meter{height:9px;background:#f2e9ef;border-radius:999px;overflow:hidden;margin:8px 0}.preg-progress i,.timeline-meter i{display:block;height:100%;background:linear-gradient(90deg,#d976a6,#a88fd6);border-radius:999px}.preg-checks{display:flex;flex-direction:column;gap:7px}.preg-checks label{display:flex;gap:8px;align-items:flex-start;background:#faf6f9;border-radius:12px;padding:9px;font-size:.72rem}.preg-checks input{width:auto}.two-health-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.two-health-tools button{background:#fff}
.peri-score-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.peri-score-grid label{font-size:.67rem}.peri-score-grid select{width:100%;margin-top:4px;border:1px solid #e7dce4;border-radius:10px;padding:8px;background:white}.sym-report>div{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 0;border-bottom:1px solid #f0e7ee}.sym-report b{font-size:.7rem}.sym-report span{font-size:.63rem;color:#9b8797}.sym-report i{grid-column:1/3;height:4px;background:#d88bad;border-radius:999px}
.health-switch{margin:0!important}.health-switch input{display:none}.health-switch i{display:block;width:42px;height:24px;background:#dfd5dd;border-radius:999px;position:relative}.health-switch i:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:white;left:3px;top:3px;transition:.2s}.health-switch input:checked+i{background:#ca7ca5}.health-switch input:checked+i:after{left:21px}.partner-options{display:grid;gap:7px}.partner-options label{display:flex;gap:7px;align-items:center;font-size:.71rem}.partner-options input{width:auto}.pair-card{background:#f7edf4;border:1px solid #eadce6;border-radius:17px;padding:13px;margin:10px 0;text-align:center}.pair-card small,.pair-card span{display:block;color:#9c8596;font-size:.62rem}.pair-card strong{display:block;font-size:1.25rem;letter-spacing:.08em;margin:4px}.pair-card button{margin:5px 3px}.couple-prompts{display:flex;flex-direction:column;gap:6px}.couple-prompts button{border:1px solid #ece1e9;border-radius:13px;background:#faf7f9;padding:10px;text-align:left;color:#715c6c;font-size:.7rem}
.circle-filters{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;margin-top:8px}.circle-filters button{border:1px solid #dfcfda;background:white;border-radius:999px;padding:5px 8px;font-size:.59rem}.circle-post{border:1px solid #eae0e8;background:white;border-radius:17px;padding:12px;margin:8px 0}.circle-meta{display:flex;justify-content:space-between;gap:8px}.circle-meta b{font-size:.72rem}.circle-meta span{font-size:.58rem;color:#a08b9b}.circle-post p{font-size:.73rem;line-height:1.5}.circle-actions{display:flex;gap:5px}.circle-actions button{border:0;background:#f5edf3;border-radius:999px;padding:5px 8px;font-size:.58rem;color:#7e6578}.circle-post summary{font-size:.62rem;color:#947f8f;margin-top:8px}.circle-comments>div{font-size:.66rem;padding:5px;border-bottom:1px solid #f1e9ef}.circle-comment-form{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:6px}.circle-comment-form input{border:1px solid #e8dce5;border-radius:10px;padding:7px}.circle-comment-form button{border:0;background:#e8d6e3;border-radius:10px}.checker-list{display:flex;flex-direction:column;gap:6px;margin:10px 0}.checker-list label{display:flex!important;gap:8px;align-items:flex-start;background:#faf6f9;padding:9px!important;border-radius:11px;margin:0!important}.checker-list input{width:auto!important}.checker-result{background:#f7eff4;border:1px solid #eadde7;border-radius:15px;padding:12px;margin-top:10px}.reminder-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:6px}.reminder-grid label{display:flex!important;gap:6px;align-items:center}.reminder-grid input[type=checkbox]{width:auto!important}.med-row{display:grid;grid-template-columns:1fr 110px 34px;gap:5px;align-items:center}.med-row input{margin-top:4px!important}.med-row button{height:36px;border:0;border-radius:10px;background:#f7e8ef;color:#9d587d}.first-period{background:linear-gradient(135deg,#fff6d9,#fce9f3)}.report-actions{margin:10px 0}
@media(max-width:560px){.health-stat-grid{grid-template-columns:1fr 1fr}.health-stat-grid>*:last-child:nth-child(odd){grid-column:1/3}.health-log-top,.health-log-metrics,.peri-score-grid{grid-template-columns:1fr 1fr}.health-content-grid{grid-template-columns:1fr 1fr}.bottom-nav small{font-size:.54rem}.bottom-nav span{font-size:1.05rem}}
@media(max-width:390px){.health-stat-grid{grid-template-columns:1fr}.health-stat-grid>*:last-child:nth-child(odd){grid-column:auto}.health-log-metrics{grid-template-columns:1fr}.health-content-grid{grid-template-columns:1fr}.bottom-nav{padding-left:2px;padding-right:2px}.bottom-nav button{padding:3px 0}.bottom-nav small{font-size:.5rem}}

.daily-story-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 3px}.daily-story-row::-webkit-scrollbar{display:none}.daily-story{min-width:210px;max-width:245px;border:1px solid #eadfe7;background:linear-gradient(145deg,#fff,#fbf3f8);border-radius:18px;padding:12px;text-align:left;color:#554052}.daily-story>span{font-size:1.25rem}.daily-story b{display:block;font-size:.76rem;margin:4px 0}.daily-story p{font-size:.63rem;line-height:1.42;color:#816e7d;margin:0}
.tracker-choice-list{display:grid;gap:7px}.tracker-choice{display:flex!important;align-items:center;justify-content:space-between;gap:10px;background:#fbf7fa;border:1px solid #eee3eb;border-radius:14px;padding:10px!important;margin:0!important}.tracker-choice span{flex:1}.tracker-choice b,.tracker-choice small{display:block}.tracker-choice small{font-size:.61rem;color:#9d8797}.tracker-choice input{width:auto!important}
.chance-meter{display:grid;grid-template-columns:12px 1fr;gap:4px 8px;align-items:center}.chance-meter i{grid-row:1/3;width:10px;height:42px;border-radius:99px;background:#eadfe7}.chance-meter i.on{background:linear-gradient(#65b6a5,#b7e4da)}.chance-meter b{font-size:.85rem}.chance-meter span{font-size:.64rem;color:#978292}
.preg-size{display:flex;align-items:center;gap:10px;background:#faf5f8;border-radius:15px;padding:10px;margin:10px 0}.preg-size>span{font-size:2rem}.preg-size b,.preg-size small{display:block}.preg-size small{font-size:.6rem;color:#9e8998}
.postpartum-grid,.partner-idea-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.postpartum-grid button,.partner-idea-grid button{border:1px solid #ebdfe8;background:#fff;border-radius:15px;padding:11px;text-align:left;color:#5d4657}.postpartum-grid b{display:block;font-size:.72rem}.postpartum-grid small{display:block;font-size:.59rem;color:#9b8695}.partner-idea-grid button{font-size:.67rem}
.body-patterns,.sym-report{display:grid;gap:4px}.body-pattern-row{display:grid;grid-template-columns:1fr auto;gap:5px;padding:7px 0;border-bottom:1px solid #f0e7ee}.body-pattern-row b{font-size:.7rem}.body-pattern-row span{font-size:.61rem;color:#998594}.body-pattern-row i{grid-column:1/3;height:4px;background:linear-gradient(90deg,#d984ac,#a996d4);border-radius:99px}
.partner-quiz{border:1px solid #eee2ea;border-radius:15px;padding:10px;margin:7px 0}.partner-quiz>b{display:block;font-size:.7rem;margin-bottom:6px}.partner-quiz>div{display:flex;gap:4px;flex-wrap:wrap}.partner-quiz button{border:1px solid #e7d8e3;background:#fbf6f9;border-radius:999px;padding:5px 7px;font-size:.57rem}.partner-quiz small{display:block;color:#9b8595;font-size:.59rem;margin-top:6px}
.circle-image{width:100%;max-height:320px;object-fit:contain;border-radius:13px;background:#f5f1f4;margin:6px 0}.circle-poll{display:grid;gap:5px;margin:7px 0}.circle-poll button{display:flex;justify-content:space-between;border:1px solid #e9dce5;background:#faf5f8;border-radius:11px;padding:8px;color:#674f61}.circle-poll b{font-size:.65rem}.circle-poll span{font-size:.57rem;color:#9b8596}
/* v7.1 narrow-screen overflow fixes */
.health-library-tools{grid-template-columns:minmax(0,1fr) minmax(0,110px);width:100%}
.health-library-tools>*{min-width:0;width:100%;max-width:100%}
.health-guide-form{grid-template-columns:minmax(0,1fr) auto;width:100%}
.health-guide-form input{min-width:0;width:100%;max-width:100%}
.health-tab-pane,.health-panel,.health-content-grid,.health-content-card{min-width:0;max-width:100%}
@media(max-width:340px){.health-library-tools{grid-template-columns:minmax(0,1fr) 92px}.health-guide-form button{padding-left:9px;padding-right:9px}}

/* v8.0 Health Lab */
.health-lab-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fff0f7,#efe9ff)}.health-lab-hero>span{font-size:2rem}.health-lab-hero h3{margin:4px 0}.health-lab-hero p{font-size:.7rem;color:#856f80;line-height:1.45;margin:0}
.forecast-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 0}.forecast-strip::-webkit-scrollbar{display:none}.forecast-card{min-width:205px;border:1px solid #eadfe7;border-radius:16px;padding:11px;background:#fff}.forecast-card small,.forecast-card span{display:block;font-size:.58rem;color:#9b8495}.forecast-card b{display:block;font-size:.82rem;margin:4px 0}.forecast-card i{display:block;height:4px;background:linear-gradient(90deg,#d77ba8,#9e92d5);border-radius:99px;margin-top:8px}
.pattern-flags{display:grid;gap:6px}.pattern-flag{display:flex;gap:9px;padding:9px;border-radius:13px;background:#faf6f9;border:1px solid #eee4eb}.pattern-flag>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eee4eb;font-weight:900}.pattern-flag.good>span{background:#e0f2e8;color:#4f8162}.pattern-flag.review>span{background:#fff0dc;color:#936a35}.pattern-flag.notice>span{background:#f6e4ef;color:#985f80}.pattern-flag b{font-size:.7rem}.pattern-flag p{font-size:.62rem;color:#8c7987;margin:2px 0 0;line-height:1.4}
.correlation-list{display:grid;gap:8px}.correlation-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 8px}.correlation-list b{font-size:.68rem}.correlation-list span{font-size:.58rem;color:#917b8b}.correlation-list i{grid-column:1/3;height:5px;border-radius:99px;background:#d580a8}.correlation-list i.down{background:#7db5a8}
.health-lab-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0}.lab-tool{border:1px solid #eadfe7;background:#fff;border-radius:18px;padding:13px;text-align:left;color:#5a4254}.lab-tool>span{font-size:1.2rem}.lab-tool b,.lab-tool small{display:block}.lab-tool b{font-size:.76rem;margin:4px 0}.lab-tool small{font-size:.6rem;color:#9b8696;line-height:1.35}
.wearable-card{background:#faf6f9;border-radius:15px;padding:11px}.wearable-card>b{font-size:.72rem}.wearable-card>div{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0}.wearable-card span{font-size:.58rem;background:white;border:1px solid #eadfe7;border-radius:999px;padding:5px 7px}.wearable-card small{font-size:.59rem;color:#8d7988;line-height:1.4}
.custom-tracker-list,.support-share-list{display:grid;gap:6px}.custom-tracker-list>div,.support-share-list>div{display:flex;align-items:center;gap:7px;padding:8px;border-bottom:1px solid #f0e8ee}.custom-tracker-list span,.support-share-list span{flex:1}.custom-tracker-list b,.custom-tracker-list small,.support-share-list b,.support-share-list small{display:block}.custom-tracker-list b,.support-share-list b{font-size:.7rem}.custom-tracker-list small,.support-share-list small{font-size:.57rem;color:#998594}.custom-tracker-list button,.support-share-list button{border:0;background:#f5eaf1;border-radius:9px;padding:6px 8px;color:#785e70;font-size:.58rem}
.two-lab-settings{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.two-lab-settings label,.content-pref-grid label{font-size:.66rem;display:flex;gap:7px;align-items:flex-start}.two-lab-settings input,.content-pref-grid input{width:auto}.content-pref-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.advanced-preg-grid,.postpartum-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.advanced-preg-grid button{border:1px solid #eadfe7;background:#fff;border-radius:15px;padding:11px;text-align:left;color:#5c4657}.advanced-preg-grid b,.advanced-preg-grid small{display:block}.advanced-preg-grid b{font-size:.7rem}.advanced-preg-grid small{font-size:.58rem;color:#9a8595}
.body-map{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:7px 0 12px}.body-map button{border:1px solid #eadfe8;background:#fff;border-radius:13px;padding:10px 5px;font-size:.62rem;color:#725b6c}.body-map button.selected{background:linear-gradient(135deg,#f2c9dc,#dcd1ef);border-color:#d7aec5}.advanced-segments{display:flex;gap:5px;margin:7px 0}.advanced-segments button{flex:1;border:1px solid #e5d8e2;background:white;border-radius:999px;padding:8px;color:#816b7b}.advanced-segments button.active{background:#ead7e4}.product-pane{display:none}.product-pane.active{display:block}.custom-log-list{display:grid;gap:6px}.custom-log-row{display:grid!important;grid-template-columns:1fr minmax(85px,120px);gap:8px;align-items:center;background:#fbf7fa;border-radius:12px;padding:8px!important;margin:0!important}.custom-log-row b,.custom-log-row small{display:block}.custom-log-row small{font-size:.56rem;color:#9a8595}.custom-log-row button{border:1px solid #e4d6e1;border-radius:999px;padding:7px;background:#fff;color:#755d6f}.custom-log-row button.selected{background:#ecd4e2}.custom-log-row input{margin:0!important;min-width:0}
.month-dot.health-period{background:#d85f91}.month-dot.health-period-pred{background:#efb6cf;border:1px dashed #bd678f}.month-dot.health-fertile{background:#5fb6a2}
@media(max-width:390px){.health-lab-grid,.content-pref-grid{grid-template-columns:1fr}.two-lab-settings{grid-template-columns:1fr}.body-map{grid-template-columns:repeat(2,1fr)}}

.compare-selects{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}.compare-selects select{min-width:0;border:1px solid #e7dce4;border-radius:11px;background:white;padding:8px;color:#684f61;font-size:.62rem}.compare-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:8px 0}.compare-day{min-height:48px;border:1px solid #eee5ec;border-radius:10px;padding:5px;text-align:center;background:#fff}.compare-day.today{outline:2px solid #d68daf}.compare-day>span,.compare-day>small{display:block}.compare-day>span{font-size:.68rem;font-weight:850}.compare-day>small{font-size:.48rem;color:#a18d9d}.compare-day>div{display:flex;justify-content:center;gap:3px;margin-top:5px}.compare-day i,.compare-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.compare-day i.one,.compare-legend i.one{background:#d46d9d}.compare-day i.two,.compare-legend i.two{background:#8878c4}.compare-day i.three,.compare-legend i.three{background:#56a894}.compare-legend{display:flex;gap:9px;flex-wrap:wrap}.compare-legend span{font-size:.58rem;color:#8d7888;display:flex;gap:4px;align-items:center}.med-cabinet-list{display:grid;gap:6px}.med-cabinet-list>button{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #eae0e8;background:#fff;border-radius:13px;padding:10px;text-align:left;color:#5f4859}.med-cabinet-list>button.low{background:#fff4f2;border-color:#efc5bd}.med-cabinet-list b,.med-cabinet-list small{display:block}.med-cabinet-list small{font-size:.59rem;color:#9a8494}.med-cabinet-list em{font-size:.58rem;font-style:normal;color:#a35d7e}.lab-tool{min-height:110px}@media(max-width:390px){.compare-selects{grid-template-columns:1fr}.compare-grid{gap:3px}.compare-day{min-height:43px;padding:4px}}

/* v8.1 Simple Advanced health UX */
.health-simple-goal-row{margin:4px 0 6px}.health-goal-button{width:100%;min-height:52px;display:grid;grid-template-columns:36px 1fr auto;gap:9px;align-items:center;text-align:left;border:1px solid #eadfe7;background:#fff;border-radius:17px;padding:8px 11px;color:#594454}.health-goal-button>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#faedf4;font-size:1.05rem}.health-goal-button div small,.health-goal-button div b{display:block}.health-goal-button div small{font-size:.52rem;letter-spacing:.08em;color:#a28d9c}.health-goal-button div b{font-size:.76rem;margin-top:1px}.health-goal-button>i{font-style:normal;font-size:.61rem;font-weight:800;color:#af6a92}
.health-tabs-simple{display:grid!important;grid-template-columns:repeat(5,1fr);overflow:visible!important;gap:4px;background:#fff;border:1px solid #eee4ec;border-radius:18px;padding:5px!important;position:sticky;top:5px;z-index:8;box-shadow:0 7px 25px #5c3b5210}.health-tabs-simple button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:0!important;border-radius:13px!important;padding:7px 3px!important;min-width:0!important;background:transparent!important;min-height:44px}.health-tabs-simple button span{font-size:.9rem}.health-tabs-simple button b{font-size:.56rem}.health-tabs-simple button.active{background:#f2dfeb!important;color:#704e63!important}
.simple-for-you{margin-top:8px!important}.simple-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.simple-shortcuts button{border:1px solid #ebdfe8;background:#fff;border-radius:16px;padding:10px 7px;text-align:left;color:#594354;min-height:92px}.simple-shortcuts span{font-size:1.05rem}.simple-shortcuts b,.simple-shortcuts small{display:block}.simple-shortcuts b{font-size:.68rem;margin:4px 0}.simple-shortcuts small{font-size:.56rem;line-height:1.3;color:#998493}.ux-secondary-panel{display:none!important}
.health-more-intro{background:linear-gradient(135deg,#f9e8f1,#f0eafa);border:1px solid #fff;border-radius:22px;padding:16px;margin:8px 0}.health-more-intro h3{margin:4px 0}.health-more-intro p{font-size:.7rem;color:#806d7c;line-height:1.45}.simple-mode-switch{display:flex!important;align-items:center;justify-content:space-between;gap:10px;background:#fff9;border-radius:14px;padding:10px!important;margin:12px 0 0!important}.simple-mode-switch span{flex:1}.simple-mode-switch b,.simple-mode-switch small{display:block}.simple-mode-switch small{font-size:.57rem;color:#9a8695}.simple-mode-switch input{display:none}.simple-mode-switch i{width:42px;height:24px;border-radius:99px;background:#dacfd7;position:relative;flex:none}.simple-mode-switch i:after{content:"";width:18px;height:18px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;transition:.2s}.simple-mode-switch input:checked+i{background:#cb7fa6}.simple-mode-switch input:checked+i:after{left:21px}
.health-more-group{margin:16px 0}.health-more-group>h4{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:#9d8998;margin:0 5px 7px}.health-more-list{display:grid;gap:6px}.health-more-card{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;width:100%;min-height:58px;border:1px solid #ece2e9;background:#fff;border-radius:16px;padding:10px;text-align:left;color:#594354}.health-more-card>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#f8edf3}.health-more-card b,.health-more-card small{display:block}.health-more-card b{font-size:.72rem}.health-more-card small{font-size:.59rem;line-height:1.35;color:#9c8796;margin-top:2px}.health-more-card>i{font-style:normal;color:#b49eae}.health-more-card>em{font-style:normal;font-size:.52rem;background:#f1dbe8;color:#8c5574;padding:4px 6px;border-radius:99px}.secondary-life-stages details{border:1px solid #ece2e9;border-radius:16px;background:#fff;padding:0 10px}.secondary-life-stages summary{font-size:.7rem;font-weight:800;padding:12px 2px;cursor:pointer}.secondary-life-stages .health-more-list{padding-bottom:10px}.secondary-health-back{min-height:44px;border:0;background:transparent;color:#9b6182;font-weight:850;font-size:.68rem;padding:7px 2px;margin:3px 0 6px}
.health-log-disclosure{border:1px solid #eadfe7;border-radius:15px;background:#fbf8fa;margin:10px 0;padding:0 10px}.health-log-disclosure>summary{display:flex;flex-direction:column;gap:1px;padding:11px 1px;cursor:pointer;color:#654c5e}.health-log-disclosure>summary span{font-size:.72rem;font-weight:850}.health-log-disclosure>summary small{font-size:.57rem;color:#9a8795}.health-log-disclosure[open]>summary{border-bottom:1px solid #eee4eb}.quick-symptoms{display:flex;gap:5px;flex-wrap:wrap}.quick-symptoms button{min-height:38px;border:1px solid #e7dbe4;background:#fff;border-radius:999px;padding:7px 9px;font-size:.62rem;color:#755f70}.quick-symptoms button.selected{background:#efd4e3;border-color:#dba9c5;color:#6d455d}.quick-symptom-block{margin:12px 0}.quick-symptom-block .section-head{margin-bottom:5px}#dailyHealthForm .dialog-actions{position:sticky;bottom:-1px;background:linear-gradient(transparent,#fff 22%);padding-top:18px;padding-bottom:max(8px,env(safe-area-inset-bottom));z-index:4}
.health-goal-choices{display:grid;gap:6px}.health-goal-choices button{min-height:54px;display:grid;grid-template-columns:38px 1fr;column-gap:8px;border:1px solid #ebdfe7;background:#fff;border-radius:15px;padding:9px;text-align:left;color:#5c4657}.health-goal-choices span{grid-row:1/3;width:36px;height:36px;display:grid;place-items:center;background:#f8edf3;border-radius:12px}.health-goal-choices b{font-size:.7rem;align-self:end}.health-goal-choices small{font-size:.58rem;color:#9b8796}
.welcome-progress{display:flex;gap:5px;margin:2px 0 14px}.welcome-progress i{height:4px;flex:1;border-radius:99px;background:#eadfe7}.welcome-progress i.active{background:#cc80a7}.welcome-step{text-align:center}.welcome-icon{display:grid;width:58px;height:58px;place-items:center;margin:0 auto 9px;border-radius:20px;background:#fae7f0;font-size:1.6rem}.welcome-step h4{font-size:1rem;margin:3px}.welcome-step>p{font-size:.7rem;color:#826e7d;line-height:1.5;margin:4px auto 12px;max-width:380px}.welcome-goals{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.welcome-goals button,.welcome-layout-choice button{min-height:54px;border:1px solid #eadfe7;background:#fff;border-radius:14px;padding:9px;color:#5c4657}.welcome-goals button.active,.welcome-layout-choice button.active{background:#f2deea;border-color:#dcb1c9}.welcome-goals span,.welcome-goals b{display:block}.welcome-goals span{font-size:1rem}.welcome-goals b{font-size:.62rem}.welcome-layout-choice{display:grid;grid-template-columns:1fr 1fr;gap:7px}.welcome-layout-choice b,.welcome-layout-choice small{display:block}.welcome-layout-choice b{font-size:.72rem}.welcome-layout-choice small{font-size:.58rem;line-height:1.35;color:#968391}.welcome-mini-map{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.welcome-mini-map span{font-size:.55rem;background:#f8f2f6;border-radius:10px;padding:8px 3px}
.health-lab-launcher{background:#fff;border:1px solid #ebe0e8;border-radius:21px;padding:14px;margin:8px 0 12px}.health-lab-launcher h3{margin:3px 0}.health-lab-launcher p{font-size:.66rem;color:#8e7889}.lab-launch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.lab-launch-grid button{min-height:72px;border:1px solid #eadfe7;background:#faf6f9;border-radius:15px;padding:10px;text-align:left;color:#5d4657}.lab-launch-grid span{font-size:1rem}.lab-launch-grid b,.lab-launch-grid small{display:block}.lab-launch-grid b{font-size:.68rem}.lab-launch-grid small{font-size:.56rem;color:#9a8595}.health-lab-launcher.compact .lab-launch-grid,.health-lab-launcher.compact>div:first-child,.health-lab-launcher.compact .lab-show-all{display:none}.lab-menu-back{margin-top:2px}
@media(max-width:390px){.simple-shortcuts{grid-template-columns:1fr 1fr}.simple-shortcuts button:last-child{grid-column:1/3;min-height:70px}.lab-launch-grid{grid-template-columns:1fr}.health-tabs-simple button span{font-size:.82rem}.health-tabs-simple button b{font-size:.5rem}}

/* v8.2 unified starter setup + guided tour */
.starter-dialog{width:min(94vw,580px);max-height:92dvh;border:0;border-radius:28px;padding:0;background:#fffafc;color:#533f4e;box-shadow:0 30px 100px #3b26345e}
.starter-dialog::backdrop{background:rgba(48,31,43,.48);backdrop-filter:blur(4px)}
.starter-shell{padding:18px;max-height:92dvh;overflow:auto}.starter-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.starter-top h2{font-size:1.28rem;margin:3px 0}.starter-top>button{border:0;background:#f5ebf1;width:34px;height:34px;border-radius:12px;color:#765f70;font-size:1.1rem}
.starter-progress{display:flex;gap:5px;margin:10px 0 16px}.starter-progress i{height:4px;flex:1;border-radius:99px;background:#eadfe7}.starter-progress i.active{background:linear-gradient(90deg,#d17da8,#ae95d4)}
.starter-step{min-height:330px}.starter-intro,.starter-question,.starter-finish{text-align:left}.starter-big-icon{width:64px;height:64px;display:grid;place-items:center;background:linear-gradient(145deg,#f8dce9,#eee2fb);border-radius:21px;font-size:1.75rem;margin:4px auto 10px}.starter-intro>h3,.starter-question>h3,.starter-finish>h3{text-align:center;font-size:1.02rem;margin:5px}.starter-intro>p,.starter-question>p{text-align:center;color:#846f7e;font-size:.71rem;line-height:1.5;max-width:450px;margin:4px auto 15px}
.starter-field{display:block!important;margin:9px 0!important}.starter-field>span{display:block;font-size:.63rem;font-weight:850;color:#765f70;margin-bottom:5px}.starter-field input,.starter-field select{width:100%;border:1px solid #e8dce5;background:#fff;border-radius:13px;padding:10px;color:#5c4657}
.starter-trust,.starter-detected{display:flex;gap:9px;align-items:flex-start;background:#f8f2f6;border:1px solid #ecdee7;border-radius:15px;padding:10px;margin:10px 0}.starter-trust>span{color:#5d9a84;font-weight:900}.starter-trust p,.starter-detected small{font-size:.62rem;line-height:1.45;color:#8c7787;margin:0}.starter-detected>span{font-size:1rem}.starter-detected b,.starter-detected small{display:block}.starter-detected b{font-size:.7rem}
.starter-choice-list{display:grid;gap:7px}.starter-choice{display:grid;grid-template-columns:38px 1fr 22px;gap:9px;align-items:center;border:1px solid #eadfe7;background:#fff;border-radius:16px;padding:10px;text-align:left;color:#594354;min-height:60px}.starter-choice.selected{background:#f4e3ed;border-color:#dcb3ca}.starter-choice>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#faf0f5}.starter-choice b,.starter-choice small{display:block}.starter-choice b{font-size:.72rem}.starter-choice small{font-size:.58rem;color:#978393;margin-top:2px;line-height:1.3}.starter-choice>i{font-style:normal;font-weight:900;color:#a95f89}
.starter-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.starter-goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.starter-goal{display:flex;align-items:center;gap:7px;border:1px solid #eadfe7;background:#fff;border-radius:14px;padding:9px;color:#5f4859;min-height:48px;text-align:left}.starter-goal.selected{background:#f1dce8;border-color:#dba9c5}.starter-goal b{font-size:.65rem}.starter-goal span{font-size:1rem}
.starter-optional{border:1px solid #eadfe7;border-radius:15px;padding:0 10px;margin-top:12px;background:#fbf7fa}.starter-optional>summary{font-size:.68rem;font-weight:850;padding:11px 2px;cursor:pointer}.starter-private-note{font-size:.59rem;line-height:1.45;color:#8d7787;background:#f6f0f4;border-radius:11px;padding:8px}
.starter-summary{display:grid;gap:6px;margin:12px 0}.starter-summary>div{display:flex;gap:9px;align-items:center;background:#faf5f8;border-radius:14px;padding:9px}.starter-summary>div>span{font-size:1.05rem}.starter-summary p{margin:0}.starter-summary b,.starter-summary small{display:block}.starter-summary b{font-size:.7rem}.starter-summary small{font-size:.58rem;color:#9a8594;margin-top:2px}
.starter-permission-card{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;border:1px solid #e9dde5;background:#fff;border-radius:16px;padding:10px}.starter-permission-card>span{font-size:1.05rem}.starter-permission-card b{font-size:.69rem}.starter-permission-card p{font-size:.57rem;line-height:1.4;color:#94808f;margin:2px 0}.starter-permission-card button{white-space:nowrap}
.starter-tour-choice{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0!important;background:#f8eef4;border-radius:15px;padding:10px!important}.starter-tour-choice input{width:auto!important;margin-top:2px!important}.starter-tour-choice b,.starter-tour-choice small{display:block}.starter-tour-choice b{font-size:.69rem}.starter-tour-choice small{font-size:.58rem;line-height:1.4;color:#937f8e;margin-top:2px}.starter-tip{text-align:center;font-size:.58rem;color:#9b8796}
.starter-actions{position:sticky;bottom:-18px;display:flex;align-items:center;gap:7px;background:linear-gradient(transparent,#fffafc 22%);padding-top:22px;padding-bottom:max(5px,env(safe-area-inset-bottom));z-index:4}.starter-actions .spacer{flex:1}
#starterTourOverlay{position:fixed;inset:0;z-index:2147483000;pointer-events:none}#starterFocusRing{position:fixed;border:3px solid #fff;border-radius:18px;box-shadow:0 0 0 9999px rgba(42,27,38,.63),0 0 0 5px #d88aad;transition:all .28s ease;pointer-events:none;z-index:1}#starterCoach{position:fixed;background:#fffafc;border:1px solid #eadfe7;border-radius:20px;padding:14px;box-shadow:0 22px 70px rgba(37,21,33,.36);pointer-events:auto;z-index:2;transition:top .25s,left .25s}.starter-coach-top{display:flex;justify-content:space-between;align-items:center}.starter-coach-top>span{font-size:.56rem;font-weight:900;color:#a37390;text-transform:uppercase;letter-spacing:.07em}.starter-coach-top button{border:0;background:#f4eaf0;width:30px;height:30px;border-radius:10px;color:#755e6f}#starterCoach h3{font-size:.93rem;margin:7px 0 4px}#starterCoach p{font-size:.68rem;line-height:1.5;color:#806c7b;margin:0}.starter-coach-actions{display:flex;gap:6px;align-items:center;margin-top:12px}.starter-coach-actions .spacer{flex:1}
#starterTutorialBtn{background:linear-gradient(135deg,#fff,#faf0f6)}
@media(max-width:480px){.starter-dialog{width:calc(100vw - 14px);max-height:95dvh;border-radius:25px}.starter-shell{padding:15px}.starter-step{min-height:300px}.starter-two{grid-template-columns:1fr 1fr}.starter-goal-grid{grid-template-columns:1fr 1fr}.starter-permission-card{grid-template-columns:30px 1fr}.starter-permission-card button{grid-column:1/3;width:100%}#starterCoach{max-width:calc(100vw - 24px)}}
@media(max-width:340px){.starter-two,.starter-goal-grid{grid-template-columns:1fr}.starter-actions{gap:4px}.starter-actions button{padding-left:9px;padding-right:9px}}
