/* mewday-health-v39.css */
:root{--mx:#40574e;--mx-soft:#eef3f0;--mx-line:#dce5e0;--mx-text:#26332e;--mx-muted:#6c7973}
.mx-visit-card{margin:18px 0;padding:20px;border:1px solid var(--mx-line);border-radius:22px;background:linear-gradient(180deg,#fff,#f8faf8);box-shadow:0 8px 24px rgba(42,63,54,.06)}
.mx-visit-card h2,#mewday-ext-modal h2{margin:4px 0 8px;color:var(--mx-text)}.mx-kicker{font-size:11px;letter-spacing:.15em;font-weight:800;color:#7b8a83}.mx-helper,#mewday-ext-modal p{color:var(--mx-muted);line-height:1.55}.mx-primary,.mx-secondary,.mx-staff-top-btn,.mx-row-actions button{appearance:none;border:0;border-radius:14px;padding:11px 15px;font-weight:750;cursor:pointer}.mx-primary{background:var(--mx);color:#fff}.mx-primary:disabled{opacity:.45}.mx-secondary,.mx-row-actions button{background:var(--mx-soft);color:var(--mx)}.mx-actions,.mx-row-actions{display:flex;gap:8px;flex-wrap:wrap}.mx-status{padding:14px;border-radius:16px;background:#f4f7f5;margin:12px 0}.mx-status b,.mx-status span,.mx-status small{display:block}.mx-status.ok{background:#edf6f0}.mx-status.warn{background:#fff7e8}.mx-status p{margin-bottom:0}
#mewday-ext-bg{position:fixed;z-index:100000;inset:0;background:rgba(20,30,26,.46);display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto}#mewday-ext-modal{position:relative;width:min(720px,100%);max-height:min(92vh,900px);overflow:auto;background:#fff;border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.25);color:var(--mx-text)}.mx-close{position:absolute;right:14px;top:12px;border:0;background:#f0f3f1;width:36px;height:36px;border-radius:50%;font-size:22px}.mx-form label,.mx-report-modal label{display:grid;gap:6px;margin:13px 0;font-size:13px;font-weight:700}.mx-form input,.mx-form select,.mx-form textarea,.mx-report-modal select{width:100%;box-sizing:border-box;border:1px solid var(--mx-line);border-radius:12px;padding:11px;background:#fff;font:inherit}.mx-form textarea{min-height:90px}.mx-form .mx-primary{width:100%;margin-top:8px}.mx-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mx-inline{margin:8px 0 16px}.mx-loading,.mx-empty{padding:18px;border-radius:14px;background:#f6f8f6;color:var(--mx-muted)}
.mx-staff-top-btn{margin-left:auto;background:#eef3f0;color:#34473f}.mx-staff-modal{width:min(900px,100%)!important}.mx-staff-row{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;border:1px solid var(--mx-line);border-radius:16px;padding:14px;margin:10px 0}.mx-staff-row b,.mx-staff-row span,.mx-staff-row small,.mx-staff-row em{display:block}.mx-staff-row small{color:var(--mx-muted);margin-top:3px}.mx-staff-row em{font-style:normal;color:#a26828;font-size:12px;margin-top:4px}
.mx-doc-select{border:1px solid var(--mx-line);border-radius:15px;overflow:hidden;margin-bottom:16px}.mx-doc-select label{display:grid!important;grid-template-columns:auto 1fr;gap:8px!important;margin:0!important;padding:11px 12px;border-bottom:1px solid var(--mx-line);font-weight:600!important}.mx-doc-select label:last-child{border-bottom:0}.mx-doc-select small{grid-column:2;color:var(--mx-muted);font-weight:400}.mx-report-preview{background:#e9eeeb;padding:15px;border-radius:14px}.mx-preview-modal{width:min(900px,100%)!important}.mx-render-host{position:fixed;left:-10000px;top:0;width:794px;background:#fff;z-index:-1}
.vr-report{width:794px;max-width:100%;background:#fff;color:#26332e;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang HK",Arial,sans-serif}.vr-page{padding:38px;box-sizing:border-box;background:#fff}.vr-page header{display:flex;justify-content:space-between;gap:15px;border-bottom:2px solid #40574e;padding-bottom:16px}.vr-page header p{font-size:10px;letter-spacing:.12em;font-weight:800;color:#61716a}.vr-page h1{font-size:28px;margin:5px 0}.vr-page h2{font-size:18px;margin:24px 0 10px}.vr-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.vr-grid div,.vr-overview div{border:1px solid #dfe5e1;padding:10px}.vr-grid span,.vr-overview span{display:block;font-size:11px;color:#68756f}.vr-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vr-graph{width:100%;height:auto}.vr-report table{border-collapse:collapse;width:100%;font-size:12px}.vr-report th,.vr-report td{border-bottom:1px solid #dfe5e1;text-align:left;padding:8px}.vr-timeline article{border-left:3px solid #a8b8b0;padding:0 0 14px 12px}.vr-timeline strong{display:block}.vr-timeline p{margin:4px 0;color:#59665f}.vr-doc{padding:10px;border:1px solid #dfe5e1;margin:6px 0}.vr-doc span{display:block;font-size:12px;color:#59665f}.vr-report footer{margin-top:30px;border-top:1px solid #cbd4cf;padding-top:15px;font-size:11px;color:#58645f}.vr-empty,.vr-note{padding:12px;background:#f5f7f5;color:#637069}
#mewday-ext-toast{position:fixed;z-index:100001;left:50%;bottom:28px;transform:translateX(-50%);max-width:min(90vw,520px);border:0;border-radius:14px;padding:12px 18px;background:#30463d;color:#fff;font-weight:700;box-shadow:0 12px 34px rgba(0,0,0,.2)}#mewday-ext-toast.bad{background:#8d433b}
@media(max-width:640px){#mewday-ext-modal{padding:20px 16px;border-radius:20px}.mx-form-row{grid-template-columns:1fr}.mx-staff-row{grid-template-columns:1fr}.vr-report{width:760px;transform-origin:top left}.mx-report-preview{overflow:auto}.mx-actions>*{flex:1 1 42%}.mx-staff-top-btn{padding:8px 10px;font-size:12px}}
.mx-report-modal input[type="date"]{width:100%;box-sizing:border-box;border:1px solid var(--mx-line);border-radius:12px;padding:11px;background:#fff;font:inherit}
.mx-report-check{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:#f6f8f6;margin:8px 0 16px}.mx-report-check span{color:var(--mx-muted);font-size:12px}
.vr-profile{display:grid;grid-template-columns:130px 1fr;gap:18px;align-items:start}.vr-cat-photo{width:130px;height:130px;object-fit:cover;border-radius:16px;margin-top:22px;border:1px solid #dfe5e1}.vr-profile .vr-grid{margin-top:22px}
@media(max-width:640px){.vr-profile{grid-template-columns:110px 1fr}.vr-cat-photo{width:110px;height:110px}.mx-report-check{align-items:flex-start;flex-direction:column}}
.mx-medical-latest{margin:8px 0 18px}.mx-medical-latest h3{margin:8px 0 10px}.mx-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mx-latest-grid article{border:1px solid var(--mx-line);border-radius:15px;padding:12px;background:#fff}.mx-latest-grid b,.mx-latest-grid span,.mx-latest-grid small{display:block}.mx-latest-grid span{margin-top:4px}.mx-latest-grid small{color:var(--mx-muted);min-height:18px;margin:2px 0 10px}@media(max-width:640px){.mx-latest-grid{grid-template-columns:1fr}}


/* Homepage shortcuts */
.mx-home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}
.mx-home-shortcut{appearance:none;width:100%;text-align:left;border:1px solid var(--mx-line);background:#fff;border-radius:17px;padding:16px;display:flex;flex-direction:column;gap:5px;cursor:pointer;color:var(--mx-text);font:inherit;box-shadow:0 6px 18px rgba(42,63,54,.04)}
.mx-home-shortcut span{font-size:12px;color:var(--mx-muted);font-weight:700}.mx-home-shortcut b{font-size:17px}.mx-home-shortcut small{font-size:12px;line-height:1.45;color:var(--mx-muted);font-weight:500}.mx-home-shortcut i{font-style:normal;font-size:12px;color:var(--mx);font-weight:800;margin-top:5px}
.mx-vet-shortcut{background:linear-gradient(180deg,#fff,#f6f9f7)}
.mx-home-visit-modal .mx-visit-card{margin:0;border:0;box-shadow:none;padding:0;background:#fff}
@media(max-width:640px){.mx-home-shortcuts{grid-template-columns:1fr 1fr;gap:9px}.mx-home-shortcut{padding:13px;border-radius:15px}.mx-home-shortcut b{font-size:15px}.mx-home-shortcut small{font-size:11px}}


/* Health summary callout */
.mx-health-summary-card{margin:14px 0 18px;padding:18px;border:1px solid #efc4c0;border-radius:18px;background:#fff1f0;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 7px 20px rgba(138,71,66,.07)}
.mx-health-summary-copy{min-width:0}.mx-health-summary-copy span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#a15d58;margin-bottom:5px}.mx-health-summary-copy h3{margin:0 0 5px;font-size:17px;color:#513431}.mx-health-summary-copy p{margin:0;line-height:1.5;font-size:12px;color:#775f5c}.mx-health-summary-btn{appearance:none;flex:0 0 auto;border:0;border-radius:13px;padding:11px 14px;background:#b96b64;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.mx-health-summary-btn:active{transform:translateY(1px)}
@media(max-width:640px){.mx-health-summary-card{align-items:stretch;flex-direction:column;padding:16px}.mx-health-summary-btn{width:100%}}


/* v7 regression fixes */
.mx-native-pickup-ready{background:#40574e!important;color:#fff!important;border-color:#40574e!important;opacity:1!important}
.mx-pickup-managed> :not(.mx-pickup-v7){display:none!important}
.mx-pickup-v7{display:block!important;padding:4px 0 20px;color:var(--mx-text)}
.mx-pickup-v7 h2{margin:4px 0 8px}.mx-pickup-v7>p{color:var(--mx-muted);line-height:1.55}
.mx-pickup-day{border:1px solid var(--mx-line);border-radius:16px;padding:13px;margin:10px 0;background:#fff}
.mx-pickup-day>b{display:block;margin-bottom:9px}.mx-pickup-day>div{display:flex;gap:8px;flex-wrap:wrap}
.mx-pickup-slot{appearance:none;border:1px solid var(--mx-line);background:#f7f9f8;color:var(--mx-text);border-radius:12px;padding:10px 13px;font:inherit;font-weight:750;cursor:pointer}
.mx-pickup-slot.active{background:#40574e;color:#fff;border-color:#40574e}
.mx-pickup-v7>.mx-primary{width:100%;margin-top:12px}
#mx-slot-list{margin-top:16px}
@media(max-width:640px){.mx-pickup-day>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.mx-pickup-slot{width:100%}}


/* v8 Staff handover feeding plan */
#mx-staff-feeding-btn.mx-has-plan{border-color:#9bb8aa!important;background:#f0f7f3!important}
.mx-feeding-modal .mx-meal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}
.mx-meal-row{position:relative;border:1px solid var(--mx-line);border-radius:16px;padding:16px;margin:10px 0;background:#fbfcfb}
.mx-meal-row legend{padding:0 7px;font-weight:800;color:var(--mx-text)}
.mx-remove-meal{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#8b655e;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.mx-remove-meal:disabled{opacity:.35;cursor:default}
.mx-feed-foot{display:block;color:var(--mx-muted);font-size:11px;line-height:1.5;margin-top:10px}
@media(max-width:640px){.mx-feeding-modal .mx-meal-row{padding:14px 12px}.mx-feeding-modal .mx-form-row{grid-template-columns:1fr}.mx-meal-head{align-items:flex-start!important}}

/* Multi-cat household overview */
.mx-multicat-overview{margin:16px 0 20px;padding:17px;border:1px solid rgba(52,68,62,.12);border-radius:20px;background:rgba(255,255,255,.78);box-shadow:0 10px 30px rgba(52,68,62,.05)}
.mx-multicat-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.mx-multicat-head span{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#84908a}.mx-multicat-head h3{margin:3px 0 0;font-size:18px;color:#34443e}.mx-multicat-head small{font-size:11px;color:#7d8782;text-align:right}.mx-multicat-list{display:grid;gap:8px}.mx-multicat-card{width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid rgba(52,68,62,.1);border-radius:15px;background:#fff;text-align:left;color:#34443e}.mx-multicat-card.active{border-color:rgba(52,68,62,.34);background:#f5f7f5}.mx-multicat-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#eef1ed;font-weight:800;font-size:16px}.mx-multicat-copy{min-width:0;display:grid;gap:2px}.mx-multicat-copy b{font-size:14px}.mx-multicat-copy small{font-size:11px;color:#7d8782}.mx-multicat-copy em{font-size:11px;font-style:normal;color:#65716b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mx-multicat-copy em.pre{color:#8b735c}.mx-multicat-copy em.due{color:#8b5e54}.mx-multicat-card>i{font-size:11px;font-style:normal;color:#7d8782}.mx-multicat-card.active>i{font-weight:700;color:#34443e}@media(max-width:560px){.mx-multicat-overview{margin:12px 0 16px;padding:14px;border-radius:18px}.mx-multicat-head{align-items:center}.mx-multicat-head h3{font-size:17px}.mx-multicat-card{grid-template-columns:38px minmax(0,1fr) auto;padding:10px}.mx-multicat-avatar{width:38px;height:38px}}


/* v11 Staff appointment push setup */
.mx-staff-push-card{margin:14px 0 22px;padding:17px 18px;border:1px solid #ddd9cf;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 8px 24px rgba(39,49,43,.04)}
.mx-staff-push-card.ready{border-color:#b8cbbf;background:#f8fbf8}.mx-staff-push-copy{min-width:0}.mx-staff-push-copy>span{display:block;font-size:9px;letter-spacing:.15em;font-weight:850;color:#8a7460}.mx-staff-push-copy h2{font:600 20px/1.2 Georgia,serif;margin:4px 0 5px;color:#27312b}.mx-staff-push-copy p{margin:0 0 7px;color:#737c75;font-size:11px;line-height:1.5}.mx-staff-push-copy small{display:block;color:#55635b;font-size:11px;font-weight:650;line-height:1.45}.mx-staff-push-actions{display:flex;gap:7px;flex:0 0 auto}.mx-staff-push-actions button{border:0;border-radius:10px;padding:10px 12px;background:#34443e;color:#fff;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.mx-staff-push-actions button.secondary{color:#34443e;background:#eeeee8}.mx-staff-push-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){.mx-staff-push-card{align-items:stretch;flex-direction:column;padding:15px}.mx-staff-push-actions{display:grid;grid-template-columns:1fr 1fr}.mx-staff-push-actions button{width:100%;padding:11px 8px}}

/* v11 Contract important-points guide */
.mx-contract-guide{margin:14px 0 18px;padding:17px;border:1px solid #e4ddd1;border-radius:18px;background:#fffdf9;color:#342f2b;white-space:normal;font-family:Inter,"Noto Sans TC",sans-serif}.mx-contract-guide-head>span{font-size:9px;letter-spacing:.16em;font-weight:850;color:#9a7c61}.mx-contract-guide-head h3{margin:4px 0 5px;font:600 20px/1.25 Georgia,"Noto Serif TC",serif}.mx-contract-guide-head p{margin:0 0 13px;color:#746b63;font-size:11px;line-height:1.55}.mx-contract-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mx-contract-guide-grid article{display:grid;grid-template-columns:29px 1fr;gap:9px;padding:11px 12px;border:1px solid #ebe4da;border-radius:13px;background:#fff}.mx-contract-guide-grid article:last-child{grid-column:1/-1}.mx-contract-guide-grid i{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f0e9df;color:#715c49;font-size:9px;font-style:normal;font-weight:900}.mx-contract-guide-grid b{display:inline;font-size:12px}.mx-contract-guide-grid small{margin-left:7px;color:#9a7c61;font-size:9px;font-weight:800}.mx-contract-guide-grid p{margin:4px 0 0;color:#655d56;font-size:10.5px;line-height:1.55}.contract-terms>.mx-contract-guide+ h3{margin-top:18px}
@media(max-width:640px){.mx-contract-guide{padding:14px;margin:12px 0 16px}.mx-contract-guide-grid{grid-template-columns:1fr}.mx-contract-guide-grid article:last-child{grid-column:auto}.mx-contract-guide-head h3{font-size:18px}.mx-contract-guide-grid p{font-size:11px}}


/* V12 UX consolidation */
.public-landing .landing-copy .mx-handover-primary{display:inline-flex;align-items:center;justify-content:center;width:min(100%,420px);padding:15px 20px;margin:14px 0 9px;border:0;border-radius:16px;background:#34443e;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 10px 28px rgba(52,68,62,.16)}
.public-landing .landing-copy .hero-cta.mx-free-secondary{background:transparent;color:#34443e;border:1px solid rgba(52,68,62,.2);box-shadow:none;margin-top:0}
.mx-first-week-home .home-welcome>button{opacity:.72}
.mx-first-week-home .daily-care-panel{border:1px solid rgba(52,68,62,.13);box-shadow:0 12px 30px rgba(52,68,62,.08)}
.mx-first-week-home .home-summary-strip{opacity:.82}
.mx-health-tools{margin:14px 0 2px;border:1px solid rgba(52,68,62,.13);border-radius:16px;background:rgba(255,255,255,.72);overflow:hidden}
.mx-health-tools>summary{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none}
.mx-health-tools>summary::-webkit-details-marker{display:none}.mx-health-tools>summary span{font-weight:800}.mx-health-tools>summary small{grid-column:1;color:#6e7772;font-size:12px}.mx-health-tools>summary i{grid-column:2;grid-row:1/3;font-style:normal;font-size:20px;color:#60716a}
.mx-health-tools[open]>summary i{transform:rotate(45deg)}
.mx-health-tools-body{padding:0 12px 12px;display:grid;gap:10px}.mx-health-tools-body .health-summary-actions{margin:0}.mx-health-tools-body .mx-health-summary-card,.mx-health-tools-body .health-review-entry{margin:0;width:100%}
.mx-handover-missing-note{display:grid;gap:3px;padding:12px 14px;margin-bottom:12px;border-radius:14px;background:#f6f1e8;border:1px solid #eadfc9}.mx-handover-missing-note b{font-size:14px}.mx-handover-missing-note span{font-size:12px;line-height:1.5;color:#6f675b}.mx-secondary-plan-action{background:transparent!important;color:#53635d!important;border:1px solid rgba(52,68,62,.18)!important;box-shadow:none!important}
.mx-diary-modal{max-width:720px}.mx-staff-diary-form{display:grid;gap:12px;margin:16px 0 22px}.mx-staff-diary-form>label:not(.mx-diary-photo){display:grid;gap:6px;font-size:13px;font-weight:700}.mx-staff-diary-form textarea{min-height:100px;resize:vertical}.mx-diary-photo{display:flex;align-items:center;justify-content:center;min-height:78px;border:1px dashed rgba(52,68,62,.28);border-radius:15px;background:#faf8f3;font-weight:800;cursor:pointer}.mx-diary-photo input{position:absolute;opacity:0;pointer-events:none}.mx-diary-history{display:grid;gap:10px}.mx-diary-history-row{padding:12px 14px;border:1px solid rgba(52,68,62,.1);border-radius:13px;background:#fff}.mx-diary-history-row>div{display:grid;gap:4px}.mx-diary-history-row small{color:#78817c}.mx-diary-history-row p{margin:0;color:#59615d;line-height:1.5}
@media(max-width:640px){.public-landing .landing-copy .mx-handover-primary{width:100%}.mx-health-tools-body .health-summary-actions{grid-template-columns:1fr}.mx-diary-modal{max-width:none}.mx-first-week-home .daily-care-panel{margin-top:4px}}

/* V13 single-entry vaccine workflow */
.mx-staff-vaccine-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 16px;padding:12px 14px;border:1px solid rgba(52,68,62,.13);border-radius:14px;background:#f8faf8}.mx-staff-vaccine-tools span{font-size:11px;line-height:1.45;color:#66736d}.mx-staff-vaccine-tools .mx-primary{flex:0 0 auto}.mx-vaccine-modal{max-width:720px}.mx-staff-vaccine-form{display:grid;gap:12px;margin-top:16px}.mx-staff-vaccine-form label{display:grid;gap:6px;font-size:13px;font-weight:700}.mx-staff-vaccine-form input,.mx-staff-vaccine-form select,.mx-staff-vaccine-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--mx-line);border-radius:12px;padding:11px;background:#fff;font:inherit}.mx-staff-vaccine-form textarea{min-height:90px;resize:vertical}.mx-staff-vaccine-form>small{font-size:11px;line-height:1.45;color:var(--mx-muted)}
@media(max-width:640px){.mx-staff-vaccine-tools{align-items:stretch;flex-direction:column}.mx-staff-vaccine-tools .mx-primary{width:100%}.mx-vaccine-modal{max-width:none}}

.mx-groom-check>span:last-child{display:flex;align-items:center;gap:8px;min-height:42px}.mx-groom-check input[type="checkbox"]{width:18px;height:18px}.mx-grooming-modal .mx-staff-vaccine-form{margin-top:14px}


/* =========================================================
   V16 MOBILE UI REDESIGN
   Reference lock: Home B · Confirm A · Switcher C · Diary A
   Presentation only; existing data/business logic remains intact.
   ========================================================= */
.mewday-v16{--v16-ink:#283129;--v16-muted:#646b64;--v16-green:#34483a;--v16-line:#ddd9cf;--v16-cream:#f8f4ec;--v16-card:#fffdf9}
.mewday-v16 .real-app,.mewday-v16 .profile-confirm-card,.mewday-v16 .first-week-welcome-card{color:var(--v16-ink);font-family:Inter,"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-weight:500}
.mewday-v16 .real-app button,.mewday-v16 .real-app input,.mewday-v16 .real-app select,.mewday-v16 .real-app textarea,.mewday-v16 .profile-confirm-card button{font-family:inherit}
.mewday-v16 .wordmark span,.mewday-v16 .auth-logo span{font-family:Georgia,"Noto Serif TC",serif;font-weight:700}
.mewday-v16 .real-app .v16-eyebrow{display:none!important}
.mewday-v16 .real-app h1,.mewday-v16 .real-app .section-title h2,.mewday-v16 .real-app .subpage h2{font-family:Inter,"Noto Sans TC","PingFang TC",sans-serif;font-weight:750;color:var(--v16-ink)}
.mewday-v16 .real-app p,.mewday-v16 .real-app small{color:var(--v16-muted)}
.mewday-v16 .real-app button{font-weight:650}

/* Cat photo: one master image everywhere */
.v16-photo-fallback{background:#f0eee8!important;overflow:hidden!important}
.v16-photo-fallback .v16-fallback-logo{width:48%!important;height:48%!important;object-fit:contain!important;opacity:.68!important}
.v16-cat-avatar{overflow:hidden!important;padding:0!important}
.v16-cat-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important}
.v16-cat-avatar.no-photo img{object-fit:contain!important;padding:5px!important;box-sizing:border-box!important;background:#f1eee8}

/* Staff master photo */
.mx-master-photo-modal{max-width:620px}.mx-master-photo-preview{width:100%;aspect-ratio:4/3;margin:16px 0;border-radius:18px;overflow:hidden;background:#f2efe8;display:grid;place-items:center}.mx-master-photo-preview img{width:100%;height:100%;object-fit:cover}.mx-master-photo-preview img.fallback{width:120px;height:120px;object-fit:contain;opacity:.7}
.mx-diary-optional{border:1px solid rgba(52,68,62,.12);border-radius:13px;padding:0 12px;background:#fff}.mx-diary-optional summary{cursor:pointer;padding:12px 0;font-size:12px;font-weight:750;color:#53635c}.mx-diary-optional[open]{padding-bottom:12px}.mx-diary-optional label{display:grid;gap:6px;margin-top:10px;font-size:12px;font-weight:700}.mx-diary-optional textarea{min-height:75px}

@media(max-width:800px){
  .mewday-v16 body{background:#f8f5ef}
  .mewday-v16 .app-frame{padding:0 16px 92px}
  .mewday-v16 .topbar{height:62px;border-bottom:0;background:#f8f5eff5}
  .mewday-v16 .wordmark span{font-size:22px;color:var(--v16-green)}
  .mewday-v16 .top-actions .avatar{width:38px;height:38px;border:1px solid #d9d4ca;background:#fff;color:var(--v16-green);font-weight:750}
  .mewday-v16 .real-app p:not(.eyebrow),.mewday-v16 .real-app .task-copy p,.mewday-v16 .real-app .notification-note{font-size:15px!important;line-height:1.58!important}
  .mewday-v16 .real-app small{font-size:13px!important;line-height:1.5!important}
  .mewday-v16 .real-app .section-title h2{font-size:19px!important;line-height:1.3!important}
  .mewday-v16 .bottom-nav{height:70px;padding:0 12px;background:#fffdfaf5;border-color:#dedbd3}
  .mewday-v16 .bottom-nav button{min-width:54px;min-height:58px;color:#777c76;font-weight:600}
  .mewday-v16 .bottom-nav span{font-size:12px;font-weight:650}
  .mewday-v16 .bottom-nav button.active{color:var(--v16-green);font-weight:800}

  /* Home B — photo hero + tasks first */
  .mewday-v16 .dashboard-grid.v16-home-b{display:flex!important;flex-direction:column!important;gap:0!important}
  .mewday-v16 .v16-home-b>*{margin-bottom:15px!important}
  .mewday-v16 .v16-home-b .home-welcome{order:0!important;display:block!important;position:relative!important;min-height:0!important;height:225px!important;border:0!important;border-radius:20px!important;background:#eae6dd!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(44,49,42,.06)}
  .mewday-v16 .v16-home-b .home-welcome .cat-portrait{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#ece8df!important;display:grid!important;place-items:center!important}
  .mewday-v16 .v16-home-b .home-welcome .cat-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 42%!important}
  .mewday-v16 .v16-home-b .home-welcome .cat-photo-empty{width:100%!important;height:100%!important;border-radius:0!important;display:grid!important;place-items:center!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-copy{position:absolute!important;inset:auto 0 0!important;padding:62px 18px 17px!important;background:linear-gradient(180deg,transparent,rgba(24,30,25,.78))!important;color:#fff!important}
  .mewday-v16 .v16-home-b .home-welcome .date-line,.mewday-v16 .v16-home-b .home-welcome .hero-copy>p:not(.date-line),.mewday-v16 .v16-home-b .home-welcome .hero-memory-link{display:none!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-copy h2{margin:0 0 6px!important;font:700 29px/1.08 Georgia,"Noto Serif TC",serif!important;color:#fff!important;max-width:none!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-pet-meta{margin:0!important;gap:6px!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-pet-meta span{padding:4px 8px!important;border:1px solid rgba(255,255,255,.24)!important;background:rgba(255,255,255,.14)!important;color:#fff!important;font-size:12px!important;font-weight:650!important;backdrop-filter:blur(5px)}
  .mewday-v16 .v16-home-b .daily-care-panel{order:1!important;border:0!important;background:transparent!important;padding:4px 0 0!important;box-shadow:none!important;border-radius:0!important}
  .mewday-v16 .v16-home-b .daily-care-panel .section-title{margin-bottom:10px!important;align-items:center!important}
  .mewday-v16 .v16-home-b .daily-care-panel .section-title>span{font-size:13px!important;color:#777d77!important;font-weight:600}
  .mewday-v16 .v16-home-b .daily-checklist{grid-template-columns:1fr!important;gap:8px!important}
  .mewday-v16 .v16-home-b .daily-checklist button,.mewday-v16 .v16-home-b .today-action-list button{min-height:58px!important;border:1px solid #e0ddd5!important;border-radius:14px!important;background:#fff!important;padding:11px 13px!important;box-shadow:none!important}
  .mewday-v16 .v16-home-b .daily-checklist button span,.mewday-v16 .v16-home-b .today-action-list button span{font-size:15px!important;font-weight:650!important}
  .mewday-v16 .v16-home-b .daily-checklist button small,.mewday-v16 .v16-home-b .today-action-list small{font-size:12px!important;font-weight:500!important;color:#707771!important}
  .mewday-v16 .v16-home-b .daily-care-panel>.quiet-disclaimer{display:none!important}
  .mewday-v16 .v16-home-b .next-important-card{order:2!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px 10px!important;border:1px solid #dedbd2!important;border-radius:16px!important;background:#fff!important;padding:15px 16px!important;box-shadow:none!important}
  .mewday-v16 .v16-home-b .next-important-card>div:first-child{grid-column:1/-1!important}
  .mewday-v16 .v16-home-b .next-important-card h2{margin:0!important;font:750 19px/1.3 Inter,"Noto Sans TC",sans-serif!important}
  .mewday-v16 .v16-home-b .next-important-card section{gap:3px!important}
  .mewday-v16 .v16-home-b .next-important-card section span{font-size:12px!important;color:#7d6755!important}
  .mewday-v16 .v16-home-b .next-important-card section b{font-size:15px!important}
  .mewday-v16 .v16-home-b .next-important-card section p{font-size:13px!important}
  .mewday-v16 .v16-home-b .next-important-actions{align-self:center!important}
  .mewday-v16 .v16-home-b .next-important-actions button{min-height:40px!important;border-radius:11px!important;padding:8px 10px!important;font-size:12px!important}
  .mewday-v16 .v16-home-b .next-important-actions button:nth-child(2){display:none!important}
  .mewday-v16 .v16-home-b .next-important-card>.quiet-disclaimer{display:none!important}
  .mewday-v16 .v16-home-b .home-summary-strip{order:3!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #dedbd3!important;border-bottom:1px solid #dedbd3!important;background:transparent!important}
  .mewday-v16 .v16-home-b .home-summary-strip button{border:0!important;border-right:1px solid #e4e1da!important;border-radius:0!important;background:transparent!important;padding:13px 9px!important;min-height:70px!important}
  .mewday-v16 .v16-home-b .home-summary-strip button:last-child{border-right:0!important}
  .mewday-v16 .v16-home-b .home-summary-strip span{font-size:11px!important;margin-bottom:5px!important;color:#777d77!important}
  .mewday-v16 .v16-home-b .home-summary-strip b{font-size:13px!important;font-weight:750!important;white-space:normal!important;line-height:1.35!important}
  .mewday-v16 .v16-home-b .quick-panel{order:4!important;border:0!important;border-radius:0!important;background:transparent!important;padding:5px 0!important}
  .mewday-v16 .v16-home-b .handover-home-banner{order:5!important;border-radius:15px!important;padding:14px!important;box-shadow:none!important}
  .mewday-v16 .v16-home-b .caregiver-card,.mewday-v16 .v16-home-b .public-health-card{border-radius:16px!important;box-shadow:none!important}

  /* Confirm A — real cat photo is the visual anchor */
  .mewday-v16 .profile-confirm-shell{padding:12px!important;background:#f8f5ef!important;align-items:flex-start!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a{width:100%!important;max-width:520px!important;padding:18px 16px 24px!important;border-radius:22px!important;background:#fffdf9!important;box-shadow:0 8px 24px rgba(45,49,43,.05)!important;text-align:left!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a>.eyebrow{display:none!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .auth-logo{margin-bottom:18px!important;text-align:left!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a h1{font:750 25px/1.25 Inter,"Noto Sans TC",sans-serif!important;margin:0 0 6px!important;color:var(--v16-ink)!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .setup-intro{font-size:14px!important;line-height:1.55!important;color:var(--v16-muted)!important;margin-bottom:14px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet{display:block!important;margin:12px 0 0!important;padding:0!important;background:transparent!important;border-radius:0!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet>div{width:100%!important;height:auto!important;aspect-ratio:4/3!important;border-radius:18px!important;background:#ece9e2!important;margin:0 0 12px!important;overflow:hidden!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet>div img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 42%!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet section b{font:700 24px/1.2 Georgia,"Noto Serif TC",serif!important;color:var(--v16-ink)!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet section p{font-size:14px!important;color:var(--v16-muted)!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts{grid-template-columns:1fr!important;gap:0!important;margin:10px 0!important;border-top:1px solid #e0ddd5!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts>div{display:flex!important;justify-content:space-between!important;align-items:center!important;border:0!important;border-bottom:1px solid #e0ddd5!important;border-radius:0!important;padding:13px 2px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts dt{font-size:13px!important;color:#6d746e!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts dd{font-size:14px!important;margin:0!important;font-weight:750!important;color:#323832!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin:12px 0 14px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid article{padding:11px 12px!important;border:1px solid #e2ded5!important;border-radius:13px!important;background:#faf8f3!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid span{font-size:11px!important}.mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid b{font-size:13px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .primary-wide{min-height:50px!important;border-radius:14px!important;background:var(--v16-green)!important;font-size:15px!important;font-weight:750!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .data-correction-link{text-align:center!important;font-size:12px!important;font-weight:650!important}

  /* Switcher C — compact top avatar + bottom-sheet feeling */
  .mewday-v16 .top-cat-switcher.v16-switcher-c{position:fixed!important;top:auto!important;left:12px!important;right:12px!important;bottom:82px!important;width:auto!important;max-height:min(66vh,520px)!important;overflow:auto!important;padding:14px!important;border-radius:20px!important;background:#fffdfb!important;border:1px solid #dedbd3!important;box-shadow:0 18px 60px rgba(35,39,34,.2)!important;z-index:80!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>b{font-size:15px!important;font-weight:800!important;margin:2px 4px 10px!important;display:block!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button{min-height:58px!important;border-radius:13px!important;padding:8px 9px!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button.active{background:#f0f3ed!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button>span{width:42px!important;height:42px!important;border-radius:50%!important;overflow:hidden!important;background:#eeeae3!important;display:grid!important;place-items:center!important;font-weight:750!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button>span img{width:100%!important;height:100%!important;object-fit:cover!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c strong{font-size:14px!important;font-weight:750!important}.mewday-v16 .top-cat-switcher.v16-switcher-c small{font-size:12px!important}
  .mewday-v16 #mx-multicat-overview{display:none!important}

  /* Diary A — photo first, caption optional */
  .mewday-v16 .memory-diary.v16-photo-diary{padding-top:4px!important}
  .mewday-v16 .v16-photo-diary .memory-intro{padding:8px 0 14px!important;margin:0!important}
  .mewday-v16 .v16-photo-diary .memory-intro .eyebrow{display:none!important}
  .mewday-v16 .v16-photo-diary .memory-intro h2{font:750 25px/1.25 Inter,"Noto Sans TC",sans-serif!important;margin:0 0 5px!important}
  .mewday-v16 .v16-photo-diary .memory-intro>p:last-child{font-size:14px!important;line-height:1.5!important;color:var(--v16-muted)!important}
  .mewday-v16 .v16-photo-diary .memory-composer{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:0!important;border-bottom:1px solid #dedbd3!important;border-radius:0!important;background:transparent!important;padding:0 0 18px!important;margin-bottom:18px!important;box-shadow:none!important}
  .mewday-v16 .v16-photo-diary .memory-photo-picker{min-height:116px!important;border:1px dashed #bfc5bc!important;border-radius:15px!important;background:#fff!important}
  .mewday-v16 .v16-photo-diary .memory-photo-picker b{font-size:15px!important}.mewday-v16 .v16-photo-diary .memory-photo-picker small{font-size:12px!important}
  .mewday-v16 .v16-photo-diary .memory-fields{gap:10px!important}
  .mewday-v16 .v16-photo-diary .memory-fields .v16-hide-title{display:none!important}
  .mewday-v16 .v16-photo-diary .memory-fields label{font-size:13px!important;font-weight:700!important}
  .mewday-v16 .v16-photo-diary .memory-fields textarea{min-height:64px!important;border-radius:12px!important;font-size:14px!important}
  .mewday-v16 .v16-photo-diary .memory-fields>button{min-height:47px!important;border-radius:13px!important;background:var(--v16-green)!important;font-size:14px!important;font-weight:750!important}
  .mewday-v16 .v16-photo-diary .memory-feed .section-title{margin-bottom:9px!important}.mewday-v16 .v16-photo-diary .memory-feed .section-title .eyebrow{display:none!important}
  .mewday-v16 .v16-photo-diary .memory-feed{display:grid!important;gap:18px!important}
  .mewday-v16 .v16-photo-diary .memory-feed>article{border:0!important;border-bottom:1px solid #dedbd3!important;border-radius:0!important;background:transparent!important;padding:0 0 17px!important;overflow:visible!important;box-shadow:none!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:5px!important;margin:0 0 9px!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos img{width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:cover!important;border-radius:10px!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos img:only-child{grid-column:1/-1!important;aspect-ratio:4/3!important}
  .mewday-v16 .v16-photo-diary .memory-feed article>div:last-child>span{font-size:12px!important;color:#727872!important;font-weight:650!important}
  .mewday-v16 .v16-photo-diary .memory-feed article h3{font-size:14px!important;font-family:inherit!important;margin:5px 0!important;font-weight:750!important}
  .mewday-v16 .v16-photo-diary .memory-feed article p{font-size:14px!important;margin:5px 0!important;line-height:1.5!important}
  .mewday-v16 .v16-photo-diary .memory-append{font-size:12px!important;font-weight:650!important;color:#667269!important}

  /* Health: denser, more native-app and readable */
  .mewday-v16 .health-hub .health-summary{border:0!important;border-bottom:1px solid #ddd9d0!important;border-radius:0!important;background:transparent!important;padding:10px 0 16px!important;margin-bottom:10px!important;display:block!important}
  .mewday-v16 .health-hub .health-summary h2{font-size:24px!important;font-weight:750!important}.mewday-v16 .health-hub .health-summary>div:first-child>p:last-child{font-size:14px!important}
  .mewday-v16 .health-hub .health-mini-stats{grid-template-columns:repeat(3,1fr)!important;gap:7px!important;margin-top:12px!important}
  .mewday-v16 .health-hub .health-mini-stats span{padding:11px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e0ddd5!important}
  .mewday-v16 .health-hub .health-mini-stats b{font-size:16px!important}.mewday-v16 .health-hub .health-mini-stats small{font-size:11px!important}
  .mewday-v16 .health-hub .health-record-card{border:0!important;border-radius:0!important;background:transparent!important;padding:12px 0!important}
  .mewday-v16 .health-hub .health-category-list>button{min-height:58px!important;border-bottom:1px solid #e0ddd5!important;border-radius:0!important;padding:10px 2px!important}
  .mewday-v16 .health-hub .health-category-list>button>span>span b{font-size:14px!important;font-weight:750!important}

  /* More/Profile: use list rhythm instead of nested-card visual */
  .mewday-v16 .profile-real{display:block!important}.mewday-v16 .profile-real>.profile-card{border:0!important;border-bottom:1px solid #ddd9d0!important;border-radius:0!important;background:transparent!important;padding:16px 0 22px!important}
  .mewday-v16 .profile-real .large-pet{width:112px!important;height:112px!important;border-radius:50%!important;overflow:hidden!important}.mewday-v16 .profile-real .large-pet img{width:100%!important;height:100%!important;object-fit:cover!important}
  .mewday-v16 .profile-real .record-card,.mewday-v16 .profile-real .membership-card{border-radius:16px!important;box-shadow:none!important}

  /* General card/reading cleanup */
  .mewday-v16 .real-app .page-heading{padding:18px 0 12px!important}.mewday-v16 .real-app .page-heading h1{font-size:23px!important;font-weight:750!important}
  .mewday-v16 .real-app input,.mewday-v16 .real-app select,.mewday-v16 .real-app textarea{font-size:16px!important;color:#303630!important}
}
/* V16 core photo fallback / immediate avatar rendering */
@media(max-width:800px){
  .mewday-v16 .top-actions .avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
  .mewday-v16 .home-welcome .cat-photo-empty>img{width:44%!important;height:44%!important;object-fit:contain!important;opacity:.68!important}
  .mewday-v16 .health-pet-photo>img[src*="app-icon-192"]{width:64%!important;height:64%!important;object-fit:contain!important;opacity:.7!important;margin:auto!important}
}

/* =========================================================
   V17 FINAL DESIGN LOCK
   Approved direction: Home B · Confirm A · Switcher C · Diary A
   Keep original Mewday icon meanings; use thicker B-style strokes.
   ========================================================= */
.mewday-v16{
  --v16-ink:#2d2925;
  --v16-muted:#6f675f;
  --v16-green:#405238;
  --v16-line:#e4dbd1;
  --v16-cream:#fbf7ef;
  --v16-card:#fffdf9;
  --v16-warm:#f2e5d9;
  --v16-soft-green:#e7ecdf;
}
.mewday-v16 .real-app,
.mewday-v16 .profile-confirm-card,
.mewday-v16 .first-week-welcome-card{font-weight:540;color:var(--v16-ink)}
.mewday-v16 .real-app p,
.mewday-v16 .real-app small{color:var(--v16-muted)}
.mewday-v16 .real-app button{font-weight:680}

/* Original Mewday icon semantics, B-style visual weight */
.mewday-v16 .app-icon{
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.4px!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mewday-v16 .bottom-nav button{color:#726c65!important}
.mewday-v16 .bottom-nav button.active{color:var(--v16-green)!important}
.mewday-v16 .bottom-nav span{font-weight:700!important;color:inherit!important}

.mx-photo-guide{display:grid;gap:4px;margin:10px 0 14px;padding:12px 13px;border-radius:13px;background:#f4f0e9;color:#4d5148}
.mx-photo-guide b{font-size:12px}.mx-photo-guide span{font-size:11px;line-height:1.5;color:#737169}

@media(max-width:800px){
  .mewday-v16 body{background:var(--v16-cream)}
  .mewday-v16 .app-frame{padding-left:15px!important;padding-right:15px!important}
  .mewday-v16 .topbar{background:#fbf7eff5!important;height:64px!important}
  .mewday-v16 .wordmark span{font-size:23px!important;color:#34452f!important}
  .mewday-v16 .top-actions .avatar{width:38px!important;height:38px!important;border:1px solid #ded7ce!important;background:#fff!important}
  .mewday-v16 .real-app p:not(.eyebrow){font-size:15px!important;line-height:1.55!important}
  .mewday-v16 .real-app small{font-size:13px!important;line-height:1.45!important}

  /* Home B: photo is the emotional anchor */
  .mewday-v16 .v16-home-b .home-welcome{
    height:244px!important;
    border-radius:18px!important;
    box-shadow:0 8px 24px rgba(43,35,29,.08)!important;
  }
  .mewday-v16 .v16-home-b .home-welcome .cat-portrait img{object-position:center 42%!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-copy{
    padding:78px 18px 16px!important;
    background:linear-gradient(180deg,transparent,rgba(36,28,23,.76))!important;
  }
  .mewday-v16 .v16-home-b .home-welcome .hero-copy h2{font-size:30px!important;margin-bottom:7px!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-pet-meta{gap:7px!important}
  .mewday-v16 .v16-home-b .home-welcome .hero-pet-meta span{
    padding:0!important;border:0!important;background:transparent!important;backdrop-filter:none!important;
    font-size:12px!important;font-weight:700!important
  }
  .mewday-v16 .v16-home-b .home-welcome .hero-pet-meta span+span:before{content:' · ';opacity:.8}

  /* Today card: one strong card, rows inside it */
  .mewday-v16 .v16-home-b .daily-care-panel{
    order:1!important;
    margin-top:12px!important;
    padding:14px 14px 4px!important;
    border:1px solid var(--v16-line)!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.82)!important;
    box-shadow:none!important;
  }
  .mewday-v16 .v16-home-b .daily-care-panel .section-title{margin:0 0 5px!important}
  .mewday-v16 .v16-home-b .daily-care-panel .section-title h2{font-size:19px!important;font-weight:800!important}
  .mewday-v16 .v16-home-b .daily-care-panel .section-title>span{font-weight:680!important}
  .mewday-v16 .v16-home-b .daily-checklist,
  .mewday-v16 .v16-home-b .today-action-list{gap:0!important}
  .mewday-v16 .v16-home-b .daily-checklist button,
  .mewday-v16 .v16-home-b .today-action-list button{
    min-height:62px!important;
    border:0!important;
    border-top:1px solid var(--v16-line)!important;
    border-radius:0!important;
    background:transparent!important;
    padding:11px 2px!important;
  }
  .mewday-v16 .v16-home-b .daily-checklist button:first-child,
  .mewday-v16 .v16-home-b .today-action-list button:first-child{border-top:0!important}
  .mewday-v16 .v16-home-b .daily-checklist button i,
  .mewday-v16 .v16-home-b .today-action-list button i{
    min-width:34px!important;width:34px!important;height:34px!important;border-radius:50%!important;
    display:grid!important;place-items:center!important;background:var(--v16-warm)!important;color:#6a5040!important;
    font-size:11px!important;font-weight:800!important;font-style:normal!important
  }
  .mewday-v16 .v16-home-b .daily-checklist button.done i,
  .mewday-v16 .v16-home-b .today-action-list button.done i{background:var(--v16-green)!important;color:#fff!important}
  .mewday-v16 .v16-home-b .daily-checklist button span,
  .mewday-v16 .v16-home-b .today-action-list button span,
  .mewday-v16 .v16-home-b .today-action-list button b{font-size:14px!important;font-weight:750!important}

  /* Important date: warm secondary card exactly like selected B */
  .mewday-v16 .v16-home-b .next-important-card{
    order:2!important;
    border:0!important;
    border-radius:16px!important;
    background:var(--v16-warm)!important;
    padding:14px 15px!important;
    grid-template-columns:1fr auto!important;
  }
  .mewday-v16 .v16-home-b .next-important-card h2{font-size:16px!important;font-weight:800!important}
  .mewday-v16 .v16-home-b .next-important-card section span{font-size:11px!important;font-weight:700!important;color:#7b6756!important}
  .mewday-v16 .v16-home-b .next-important-card section b{font-size:14px!important;font-weight:780!important}
  .mewday-v16 .v16-home-b .next-important-actions button{background:var(--v16-green)!important;color:#fff!important;border:0!important;border-radius:999px!important}

  /* Recent photo strip is injected from real diary records */
  .mewday-v16 .v16-home-recent{order:3!important;margin:0 0 16px!important}
  .mewday-v16 .v16-recent-head{display:flex;align-items:center;justify-content:space-between;margin:0 2px 9px}
  .mewday-v16 .v16-recent-head h2{margin:0;font-size:18px;font-weight:800}
  .mewday-v16 .v16-recent-head button{border:0;background:transparent;color:var(--v16-muted);font-size:12px;font-weight:700;padding:4px}
  .mewday-v16 .v16-recent-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .mewday-v16 .v16-recent-photos button{position:relative;padding:0;border:0;background:transparent;border-radius:12px;overflow:hidden;aspect-ratio:4/3}
  .mewday-v16 .v16-recent-photos img{width:100%;height:100%;object-fit:cover;display:block}
  .mewday-v16 .v16-recent-photos small{position:absolute;left:7px;bottom:6px;color:#fff!important;font-size:10px!important;font-weight:800!important;text-shadow:0 1px 4px rgba(0,0,0,.7)}

  /* Secondary metrics no longer compete with main hierarchy */
  .mewday-v16 .v16-home-b .home-summary-strip{order:4!important;margin-top:2px!important}
  .mewday-v16 .v16-home-b .quick-panel{order:5!important}
  .mewday-v16 .v16-home-b:has(.v16-home-recent) .quick-panel.compact-quick-panel{display:none!important}

  /* Confirm A: big round real photo, then concise facts */
  .mewday-v16 .profile-confirm-shell{background:var(--v16-cream)!important;padding:10px 14px 28px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a{
    max-width:480px!important;padding:17px 12px 24px!important;border:0!important;background:transparent!important;box-shadow:none!important
  }
  .mewday-v16 .profile-confirm-card.v16-confirm-a .auth-logo{margin-bottom:14px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a h1{font-size:25px!important;font-weight:800!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet{
    display:flex!important;flex-direction:column!important;align-items:center!important;margin:15px 0 10px!important
  }
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet>div{
    width:220px!important;height:220px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;
    margin:0 auto 11px!important;background:#eee8df!important
  }
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet>div img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 42%!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet section{text-align:center!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-pet section b{font-size:23px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts{border:0!important;background:#f3eee8!important;border-radius:14px!important;padding:0 10px!important;overflow:hidden!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .confirm-facts>div{padding:12px 2px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid{display:block!important;margin:9px 0 14px!important;border:1px solid var(--v16-line)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid article{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;border:0!important;border-bottom:1px solid var(--v16-line)!important;border-radius:0!important;background:#fff!important;padding:12px!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid article:last-child{border-bottom:0!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid span{font-size:12px!important;color:var(--v16-muted)!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .handover-preview-grid b{font-size:12px!important;text-align:right!important}
  .mewday-v16 .profile-confirm-card.v16-confirm-a .primary-wide{border-radius:999px!important;background:var(--v16-green)!important;font-weight:800!important}

  /* Switcher C: floating modal below header with dimmed page */
  .v16-switcher-backdrop{position:fixed;inset:0;z-index:70;border:0;background:rgba(31,26,22,.40);padding:0;margin:0}
  .mewday-v16 .top-cat-switcher.v16-switcher-c{
    top:78px!important;bottom:auto!important;left:18px!important;right:18px!important;max-height:min(60vh,500px)!important;
    border-radius:22px!important;padding:14px!important;background:#fffdfb!important;z-index:80!important;
    box-shadow:0 24px 60px rgba(35,28,23,.24)!important
  }
  .mewday-v16 .top-cat-switcher.v16-switcher-c:before{content:'';display:block;width:46px;height:4px;border-radius:999px;background:#d5ccc2;margin:0 auto 10px}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>b{font-size:17px!important;margin:0 5px 10px!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]{min-height:78px!important;border-radius:14px!important;padding:9px 10px!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]>span{width:56px!important;height:56px!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c strong{font:700 17px/1.2 Georgia,"Noto Serif TC",serif!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c small{font-size:11px!important;line-height:1.35!important}
  .mewday-v16 .top-cat-switcher.v16-switcher-c .v16-photo-fallback .v16-fallback-logo{width:70%!important;height:70%!important}

  /* Diary A: date first, big photo, optional caption */
  .mewday-v16 .v16-photo-diary .memory-intro{padding-bottom:10px!important}
  .mewday-v16 .v16-photo-diary .memory-intro h2{font-size:24px!important;font-weight:800!important}
  .mewday-v16 .v16-photo-diary .memory-composer{border-bottom:1px solid var(--v16-line)!important}
  .mewday-v16 .v16-photo-diary .memory-feed{gap:20px!important}
  .mewday-v16 .v16-photo-diary .memory-feed>article{display:flex!important;flex-direction:column!important;padding-bottom:18px!important;border-bottom:1px solid var(--v16-line)!important}
  .mewday-v16 .v16-photo-diary .v16-entry-date{order:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 2px 8px!important;font-size:12px!important;color:#5f5750!important;font-weight:720!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos{order:1!important;margin:0 0 8px!important;gap:6px!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos img{border-radius:14px!important;aspect-ratio:1/1!important}
  .mewday-v16 .v16-photo-diary .memory-entry-photos img:only-child{aspect-ratio:4/3!important}
  .mewday-v16 .v16-photo-diary .memory-feed>article>div:last-child{order:2!important}
  .mewday-v16 .v16-photo-diary .v16-original-date{display:none!important}
  .mewday-v16 .v16-photo-diary .memory-feed article h3{display:none!important}
  .mewday-v16 .v16-photo-diary .memory-feed article p{font-size:13px!important;font-weight:550!important;margin:3px 2px 7px!important}
  .mewday-v16 .v16-photo-diary .memory-append{font-size:11px!important;color:#777067!important}

  /* Health + food retain old icon language, with the new stronger type rhythm */
  .mewday-v16 .health-hub .health-summary h2,
  .mewday-v16 .food-page h2,
  .mewday-v16 .feeding-page h2{font-weight:800!important}
}

@media(max-width:800px){.mewday-v16 .topbar.v16-switcher-open{z-index:90!important}}

/* ===== V19 HEALTH APPROVED MOCKUP ===== */
.health-hub.mx-health-v19-overview{padding-top:0!important;display:block!important;background:#fbf8f1}
.health-hub.mx-health-v19-overview>.health-summary,.health-hub.mx-health-v19-overview>.health-record-card{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.health-hub.mx-health-v19-overview .weight-trend-card{display:none!important}
.mx-health-v19{display:grid;gap:14px;padding:6px 14px 92px;color:#292a27;font-family:Inter,"Noto Sans TC","PingFang HK","Microsoft JhengHei",sans-serif;font-weight:540}
.mx-health-v19 button,.mx-health-v19 a{font:inherit}.mxh-title{padding:2px 2px 0}.mxh-title h1{margin:0;font:800 28px/1.2 Inter,"Noto Sans TC",sans-serif;letter-spacing:-.5px;color:#233827}
.mxh-profile{display:grid;grid-template-columns:64px 1fr 16px;gap:11px;align-items:center;padding:10px 12px;background:#fffdf9;border:1px solid #e7ded2;border-radius:17px;box-shadow:0 8px 20px rgba(65,51,38,.045)}
.mxh-profile-photo{width:64px;height:64px;border-radius:12px;overflow:hidden;background:#eee8df}.mxh-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block}.mxh-profile h2{margin:0 0 2px;font:750 20px/1.15 Georgia,"Noto Serif TC",serif;color:#2d2b27}.mxh-profile p{margin:0 0 3px;font-size:12.5px;color:#665f57}.mxh-profile small{font-size:11.5px;color:#766e66}.mxh-profile>span{font-size:21px;color:#786f65}
.mxh-status{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;padding:15px 16px;border-radius:18px;border:1px solid rgba(68,89,57,.09);background:linear-gradient(135deg,#eff2e6,#faf8ef)}.mxh-status.needs-follow{background:linear-gradient(135deg,#f8e9e0,#fff8f0)}.mxh-status-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#4d6c3d;color:#fff;font-size:22px;font-weight:900}.mxh-status.needs-follow .mxh-status-icon{background:#9b4e38}.mxh-status h2{margin:0 0 4px;font-size:19px;color:#31512e}.mxh-status.needs-follow h2{color:#783a2c}.mxh-status p{margin:0;color:#5e655c;font-size:12.5px;line-height:1.45}.mxh-status b{display:block;margin-top:5px;font-size:12px;color:#536448}
.mxh-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e7ded2;border-radius:18px;overflow:hidden}.mxh-facts button{min-width:0;border:0;border-right:1px solid #eee6dc;background:#fff;padding:12px 5px 11px;text-align:center;color:#2f302d}.mxh-facts button:last-child{border-right:0}.mxh-facts button>i{width:28px;height:28px;margin:0 auto 6px;border-radius:50%;display:grid;place-items:center;background:#eef2e8;color:#315a36;font-style:normal}.mxh-facts button>i .mxh-ico{width:18px;height:18px;stroke-width:2.35}.mxh-facts span,.mxh-facts small{display:block;color:#80786f;font-size:10.5px}.mxh-facts b{display:block;margin:5px 0 3px;font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.mxh-section{background:#fffdf9;border:1px solid #e7ded2;border-radius:19px;padding:15px;box-shadow:0 10px 25px rgba(69,55,41,.04)}.mxh-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.mxh-head h2{margin:0;font-size:19px;letter-spacing:-.2px}.mxh-head button{border:0;background:transparent;padding:0;color:#876f60;font-size:12px;font-weight:700}.mxh-sub{margin:-5px 0 12px;color:#777066;font-size:12px;line-height:1.45}
.mxh-list{display:grid}.mxh-list>button{display:grid;grid-template-columns:40px 1fr auto 14px;gap:9px;align-items:center;border:0;border-top:1px solid #eee5dc;background:transparent;padding:11px 0;text-align:left;color:#2d2d2a}.mxh-list>button:first-child{border-top:0}.mxh-list>button>i{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#f3eadf;color:#6e4b39;font-style:normal;font-size:16px}.mxh-list>button span b,.mxh-list>button span small{display:block}.mxh-list>button span b{font-size:14px}.mxh-list>button span small{font-size:11px;color:#7d756c;margin-top:2px}.mxh-list>button em{font-style:normal;font-size:11px;font-weight:750;color:#4d653d;background:#edf1e5;border-radius:999px;padding:6px 9px;white-space:nowrap}.mxh-list>button strong{font-size:18px;color:#8a8178}.mxh-empty{display:grid;gap:4px;padding:12px 0;color:#6f675f}.mxh-empty b{font-size:14px}.mxh-empty span{font-size:12px;line-height:1.45}
.mxh-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mxh-tool-grid button{min-height:88px;border:1px solid #e9e1d7;border-radius:15px;background:#fff;padding:12px;text-align:left;color:#292c27}.mxh-tool-grid i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef1e6;color:#355733;font-style:normal;font-size:17px;margin-bottom:8px}.mxh-tool-grid b,.mxh-tool-grid small{display:block}.mxh-tool-grid b{font-size:14px;margin-bottom:3px}.mxh-tool-grid small{font-size:10.5px;line-height:1.35;color:#797168}
.mxh-weight-top{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 7px}.mxh-weight-top b{display:block;font:800 29px/1 Inter,"Noto Sans TC",sans-serif}.mxh-weight-top small{display:block;margin-top:4px;color:#7d756c;font-size:11px}.mxh-weight-svg{width:100%;height:auto;overflow:visible}.mxh-weight-svg line{stroke:#ded9d0;stroke-width:1}.mxh-weight-svg polyline{fill:none;stroke:#405d35;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.mxh-weight-svg circle{fill:#405d35;stroke:#fff;stroke-width:1.5}.mxh-weight-svg text{font-size:9px;fill:#7c756c}.mxh-chart-empty{display:grid;place-items:center;min-height:92px;border-radius:13px;background:#f5f1ea;color:#7c756c;font-size:12px}
.mxh-help{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:16px;background:#f8e8df;border-radius:18px}.mxh-help h2{margin:0 0 4px;font-size:18px;color:#6e3529}.mxh-help p{margin:0;font-size:12px;line-height:1.45;color:#735d52}.mxh-help a{display:inline-grid;place-items:center;min-height:42px;padding:0 15px;border-radius:13px;background:#315b35;color:#fff;text-decoration:none;font-size:12px;font-weight:750;white-space:nowrap}
@media(max-width:380px){.mxh-facts{grid-template-columns:repeat(2,1fr)}.mxh-facts button:nth-child(2){border-right:0}.mxh-facts button:nth-child(-n+2){border-bottom:1px solid #eee6dc}.mxh-profile{grid-template-columns:58px 1fr 12px;gap:9px;padding:9px 10px}.mxh-profile-photo{width:58px;height:58px}.mxh-profile h2{font-size:19px}.mxh-status{grid-template-columns:42px 1fr}.mxh-help{grid-template-columns:1fr}.mxh-help a{width:100%}}

.mxh-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block}.mxh-recent .mxh-extra-recent{display:none}.mxh-recent.expanded .mxh-extra-recent{display:grid}

/* V19 Health final status + warm-care copy */
.mx-health-v19 .mxh-status.ok{background:linear-gradient(135deg,#eef3e5,#faf8ef);border-color:rgba(68,89,57,.10)}
.mx-health-v19 .mxh-status.ok .mxh-status-icon{background:#4d6c3d}.mx-health-v19 .mxh-status.ok h2{color:#31512e}
.mx-health-v19 .mxh-status.caution{background:linear-gradient(135deg,#fbf0d8,#fff9ef);border-color:rgba(161,119,48,.12)}
.mx-health-v19 .mxh-status.caution .mxh-status-icon{background:#b9822f}.mx-health-v19 .mxh-status.caution h2{color:#75531f}.mx-health-v19 .mxh-status.caution b{color:#82662f}
.mx-health-v19 .mxh-status.alert{background:linear-gradient(135deg,#f8e3de,#fff7f2);border-color:rgba(143,70,54,.14)}
.mx-health-v19 .mxh-status.alert .mxh-status-icon{background:#9b4e38}.mx-health-v19 .mxh-status.alert h2{color:#783a2c}.mx-health-v19 .mxh-status.alert b{color:#8a4937}
.mx-health-v19 .mxh-list>button em.overdue{background:#f9e1dc;color:#9a4838}
.mx-health-v19 .mxh-care-tip{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:14px 15px;border-radius:17px;background:linear-gradient(135deg,#f4f1dc,#fbf7ec);border:1px solid rgba(102,96,50,.08)}
.mx-health-v19 .mxh-care-tip span{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:#e5ead6;color:#4d633e;font-size:11px;font-weight:800;white-space:nowrap}
.mx-health-v19 .mxh-care-tip p{margin:1px 0 0;color:#655f53;font-size:12.5px;line-height:1.55}
@media(max-width:380px){.mx-health-v19 .mxh-care-tip{grid-template-columns:1fr}.mx-health-v19 .mxh-care-tip span{justify-self:start}}

/* V21 Health: approved mock only; legacy tools stay in core routes, not extra tiles */
.mx-health-v19 .mxh-status[role="button"]{cursor:pointer}
.mx-health-v19 .mxh-help-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mx-health-v19 .mxh-help-actions a.secondary{background:#fff;color:#6e4b39;border:1px solid #d8c8bc}
@media(max-width:420px){.mx-health-v19 .mxh-help{grid-template-columns:1fr}.mx-health-v19 .mxh-help-actions{justify-content:stretch}.mx-health-v19 .mxh-help-actions a{flex:1}}


/* ===== V22 HEALTH FINAL POLISH ===== */
.mx-health-v19{gap:12px!important;padding-bottom:82px!important}
.mx-health-v19 .mxh-help{margin-bottom:0!important}
.mx-health-v19 .mxh-section,.mx-health-v19 .mxh-help,.mx-health-v19 .mxh-care-tip{min-height:0!important}
.mx-health-v19 .mxh-chart-empty{min-height:76px!important}
.mx-health-v19 .mxh-empty{min-height:0!important}
.mx-health-v19 .mxh-tools .mxh-tool-grid i{background:#edf2e7;color:#2f5b35}
.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(2) i{background:#edf2e7;color:#2f5b35}
.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(3) i{background:#f3eee4;color:#6a5337}
.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(4) i{background:#eef1e8;color:#355733}
.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(5) i{background:#eef1e8;color:#355733}
.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(6) i{background:#eef1e8;color:#355733}

/* Report section selector */
.mx-report-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}
.mx-report-section-head h3{margin:0;font-size:16px;color:#26362f}
.mx-report-section-head>div{display:flex;gap:6px}
.mx-report-section-head button{border:1px solid var(--mx-line);background:#fff;border-radius:999px;padding:6px 10px;font:inherit;font-size:11px;font-weight:750;color:#52635b;cursor:pointer}
.mx-report-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}
.mx-report-options label{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;margin:0!important;padding:11px 12px;border:1px solid var(--mx-line);border-radius:13px;background:#fbfcfb;font-weight:600!important;cursor:pointer}
.mx-report-options input{width:18px;height:18px;flex:0 0 auto;margin:1px 0 0;accent-color:#3d6247}
.mx-report-options label>span{display:grid;gap:2px}
.mx-report-options b{font-size:13px;color:#2d3833}
.mx-report-options small{font-size:11px;color:#748078;font-weight:500;line-height:1.35}
.mx-doc-block{transition:opacity .15s ease}
.mx-doc-block.disabled{opacity:.48}
.mx-doc-block.disabled .mx-doc-select{pointer-events:none}
.mx-report-helper{margin:-4px 0 9px!important;font-size:11px!important;color:var(--mx-muted)}
.mx-doc-select label{grid-template-columns:auto 1fr!important}
.mx-doc-select label>span{font-size:12px}
.mx-doc-select label input{width:17px;height:17px;accent-color:#3d6247}
@media(max-width:640px){
  .mx-report-options{grid-template-columns:1fr}
  .mx-report-section-head{align-items:flex-start}
}


/* ===== V35 Home weight card contrast repair ===== */
.mewday-v16 .v16-home-b .quick-panel .weight-card{
  background:#eee8dd!important;
  color:#3f3a35!important;
}
.mewday-v16 .v16-home-b .quick-panel .weight-card span{
  color:#776f67!important;
  opacity:1!important;
}
.mewday-v16 .v16-home-b .quick-panel .weight-card strong{
  color:#3f3a35!important;
}
.mewday-v16 .v16-home-b .quick-panel .weight-card p,
.mewday-v16 .v16-home-b .quick-panel .weight-chart-empty{
  color:#776f67!important;
  opacity:1!important;
}
.mewday-v16 .v16-home-b .quick-panel .weight-sparkline{
  color:#8b6e5e!important;
}


/* V39 merged unified booking home — sourced from approved booking build */
/* Pawceful website booking requests */
.mx-paw-top-btn{position:relative}.mx-paw-top-btn.has-pending{background:#34473f;color:#fff}.mx-paw-top-btn b{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;border-radius:999px;background:#fff;color:#34473f;font-size:11px}.mx-paw-modal{width:min(780px,100%)!important}.mx-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.mx-close{border:0;background:#f0eee8;border-radius:999px;width:38px;height:38px;font-size:22px;cursor:pointer}.mx-paw-card{border:1px solid var(--mx-line);background:#fff;border-radius:18px;padding:16px;margin:12px 0}.mx-paw-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mx-paw-card h3{margin:5px 0 0;color:var(--mx-text)}.mx-paw-card-head small{color:#718079;font-size:10px;font-weight:800;letter-spacing:.08em}.mx-paw-card time{color:var(--mx-muted);font-size:11px;white-space:nowrap}.mx-paw-card p{margin:8px 0!important}.mx-paw-slots{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.mx-paw-slots button{border:1px solid #cdd8d2;background:#f4f7f5;border-radius:14px;padding:12px;text-align:left;cursor:pointer}.mx-paw-slots button:hover{border-color:#718079}.mx-paw-slots small,.mx-paw-slots b{display:block}.mx-paw-slots small{font-size:10px;color:var(--mx-muted);margin-bottom:4px}.mx-paw-alert{padding:10px 12px;border-radius:12px;background:#fff4e4;color:#825b27!important}.mx-paw-photos{display:flex;gap:8px;overflow:auto;margin:10px 0}.mx-paw-photo{flex:0 0 86px;height:86px;border-radius:12px;overflow:hidden;border:1px solid var(--mx-line)}.mx-paw-photo img{width:100%;height:100%;object-fit:cover;display:block}.mx-paw-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.mx-paw-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.mx-paw-empty{display:grid;gap:5px;padding:30px 18px;text-align:center;color:var(--mx-muted)}.mx-paw-empty b{color:var(--mx-text)}.mx-paw-done{display:grid;gap:12px;text-align:center}.mx-paw-done .mx-primary,.mx-paw-done .mx-secondary{text-decoration:none;display:flex;align-items:center;justify-content:center}.pg-submit-error{color:#a84435!important;font-size:11px!important;margin-top:10px!important}
@media(max-width:640px){.mx-paw-slots{grid-template-columns:1fr}.mx-paw-card-head{display:grid}.mx-paw-actions>*{flex:1 1 44%}}

/* V29 Staff home — unified daily bookings + pending requests */
.mx-staff-today-bookings{margin:14px 0 22px;padding:18px;border:1px solid #d9ddd8;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(39,49,43,.04)}
.mx-today-booking-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.mx-today-booking-head span{display:block;font-size:9px;letter-spacing:.15em;font-weight:850;color:#8a7460}.mx-today-booking-head h2{margin:4px 0 0;font:600 23px/1.2 Georgia,serif;color:#27312b}.mx-today-booking-head>b{padding:6px 9px;border-radius:999px;background:#fff1dc;color:#855e2e;font-size:10px}
.mx-today-request-block,.mx-today-confirmed-block{display:grid;gap:8px}.mx-today-request-block{margin-bottom:16px}.mx-today-request-block>h3,.mx-today-confirmed-block>h3{margin:0;color:#778079;font-size:10px;letter-spacing:.05em;text-transform:uppercase}
.mx-today-request-row,.mx-today-booking-row{border:1px solid #e4e4df;border-radius:15px;background:#fbfbf8}.mx-today-request-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:13px 14px}.mx-today-request-row h3,.mx-today-booking-row h3{margin:5px 0 3px;color:#2f3934;font-size:14px}.mx-today-request-row p{margin:0 0 5px;color:#67716b;font-size:11px}.mx-today-request-row>button{border:0;border-radius:10px;background:#34443e;color:#fff;padding:10px 12px;font-size:10px;font-weight:800;cursor:pointer}
.mx-today-booking-row{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px}.mx-today-time b{display:block;color:#26332d;font-size:18px}.mx-today-time small{display:block;margin-top:2px;color:#7a837e;font-size:9px;line-height:1.35}.mx-today-booking-main{min-width:0}.mx-today-type{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;background:#eef2ef;color:#52655b;font-size:9px;font-weight:850}.mx-today-type.grooming{background:#f3e9df;color:#7b5b42}.mx-today-type.visit{background:#eaf1f7;color:#526b7f}.mx-today-type.pickup{background:#edf3e5;color:#5f7049}
.mx-today-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#78817c;font-size:10px}.mx-today-phone{color:#34443e;font-weight:850;text-decoration:underline;text-underline-offset:2px}.mx-today-phone.muted{text-decoration:none;color:#949994}.mx-today-booking-actions{display:flex;align-items:center}.mx-today-confirm{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#34443e;color:#fff!important;text-decoration:none;padding:10px 12px;font-size:10px;font-weight:850;white-space:nowrap}.mx-today-empty{display:grid;gap:5px;padding:24px 12px;text-align:center;border:1px dashed #d7dbd7;border-radius:15px;background:#fafaf7}.mx-today-empty b{color:#36423c;font-size:15px}.mx-today-empty span{color:#7b837f;font-size:11px;line-height:1.45}
@media(max-width:700px){.mx-staff-today-bookings{padding:14px}.mx-today-request-row{grid-template-columns:1fr}.mx-today-request-row>button{width:100%}.mx-today-booking-row{grid-template-columns:58px minmax(0,1fr)}.mx-today-booking-actions{grid-column:1/-1}.mx-today-confirm{width:100%}.mx-today-booking-head{align-items:flex-start}}

/* mewday-food-current.css */
:root{--mxf-cream:#fbf7f0;--mxf-card:#fffdf9;--mxf-line:#e8ddd0;--mxf-ink:#27241f;--mxf-muted:#786f66;--mxf-green:#1f5d38;--mxf-soft:#edf4e8;--mxf-peach:#fff0e7;--mxf-blue:#eaf4fb}
html.mxf-food-active .page-heading{display:none!important}html.mxf-food-active .food-section-nav,html.mxf-food-active .today-feeding-page{display:none!important}.mxf-food-v23{padding:10px 10px 110px;color:var(--mxf-ink);font-family:inherit}.mxf-food-v23 button{font:inherit}.mxf-top{display:grid;grid-template-columns:1fr auto;align-items:center;margin:0 2px 14px}.mxf-top h1{font-size:27px;margin:0;font-weight:850}.mxf-top button{border:0;background:transparent;width:36px;height:36px;padding:6px;color:#3e4e40}.mxf-top svg,.mxf-food-v23 svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mxf-cat{display:grid;grid-template-columns:68px 1fr auto;gap:10px;align-items:center;padding:10px;background:linear-gradient(135deg,#fff8f1,#ffece3);border:1px solid #f0e1d5;border-radius:18px;margin-bottom:12px}.mxf-cat-photo{width:68px;height:68px;border-radius:13px;overflow:hidden;background:#eee}.mxf-cat-photo img{width:100%;height:100%;object-fit:cover}.mxf-cat h2{font-size:18px;margin:0 0 4px}.mxf-cat h2 span{font-size:18px}.mxf-cat p,.mxf-cat small{display:block;margin:0;color:var(--mxf-muted);font-size:12px}.mxf-cat>button{border:0;background:#fff;border-radius:999px;padding:8px 10px;color:#2d6a46;font-weight:800;font-size:11px}.mxf-handover{width:100%;display:grid;grid-template-columns:36px 1fr 14px;gap:10px;align-items:center;text-align:left;border:0;background:var(--mxf-peach);border-radius:16px;padding:13px 14px;margin-bottom:16px;color:#713424}.mxf-handover i{width:32px;height:32px;display:grid;place-items:center}.mxf-handover span{display:grid;gap:3px}.mxf-handover b{font-size:14px}.mxf-handover small{color:#7f6f65;font-size:11px;line-height:1.45}.mxf-handover strong{font-size:22px}.mxf-section{background:var(--mxf-card);border:1px solid var(--mxf-line);border-radius:18px;padding:14px;margin:0 0 14px}.mxf-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}.mxf-section-head h2,.mxf-tools>h2{font-size:18px;margin:0;font-weight:850}.mxf-section-head>span,.mxf-section-head button,.mxf-section-head small{border:0;background:transparent;color:#796b60;font-size:11px;font-weight:750}.mxf-timeline{position:relative}.mxf-timeline:before{content:"";position:absolute;left:10px;top:17px;bottom:17px;width:1.5px;background:#d8d4c8}.mxf-timeline article{position:relative;display:grid;grid-template-columns:22px 44px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #f0ebe4}.mxf-timeline article:last-child{border-bottom:0}.mxf-dot{z-index:1;width:19px;height:19px;border:2px solid #4b8b6a;border-radius:50%;background:#fff;display:grid;place-items:center;color:#237b4c}.mxf-dot svg{width:13px;height:13px;stroke-width:3}.mxf-timeline time{font-size:12px;font-weight:800}.mxf-meal{display:grid;grid-template-columns:44px 1fr;gap:9px;align-items:center;min-width:0}.mxf-meal img{width:44px;height:36px;object-fit:contain;border-radius:9px;background:#faf6ef}.mxf-meal div{min-width:0}.mxf-meal b,.mxf-meal small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mxf-meal b{font-size:12px}.mxf-meal small{font-size:11px;color:var(--mxf-muted)}.mxf-timeline article>button{border:0;background:#1e5c37;color:#fff;border-radius:9px;padding:8px 9px;font-size:11px;font-weight:800}.mxf-timeline article>em{font-style:normal;color:#2e7a4b;background:#edf6ec;border-radius:999px;padding:6px 8px;font-size:10px;font-weight:800}.mxf-extra,.mxf-no-target{width:100%;border:1px solid #dce8d7;background:#f3f8ef;color:#285b38;border-radius:12px;padding:11px;font-weight:800;margin-top:9px}.mxf-intake{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mxf-intake>div{position:relative;background:#fbfaf7;border-radius:14px;padding:12px}.mxf-intake span{display:inline-grid;color:#ea7d35;margin-right:3px}.mxf-intake>div:nth-child(2) span{color:#4c90dd}.mxf-intake b{font-size:12px}.mxf-intake strong{display:block;font-size:17px;margin:7px 0}.mxf-intake strong small{font-size:10px;color:#857c74}.mxf-bar{height:7px;background:#efe7de;border-radius:999px;overflow:hidden}.mxf-bar i{display:block;height:100%;background:#efab58;border-radius:999px}.mxf-bar.water i{background:#6eadeb}.mxf-intake em{display:block;text-align:right;font-style:normal;font-size:10px;color:#857c74;margin-top:3px}.mxf-observe{width:100%;display:grid;grid-template-columns:auto 1fr 10px;gap:10px;align-items:center;border:0;background:transparent;padding:12px 0 0;text-align:left}.mxf-observe>span b,.mxf-observe>span small{display:block}.mxf-observe>span b{font-size:13px}.mxf-observe>span small{font-size:10px;color:var(--mxf-muted)}.mxf-observe>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mxf-observe i{background:#f8f6f1;border-radius:10px;padding:7px 5px;text-align:center;font-style:normal}.mxf-observe i strong,.mxf-observe i em{display:block;font-size:9px;font-style:normal}.mxf-observe i em{color:#2a6f45;margin-top:2px}.mxf-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.mxf-tool-grid button{min-height:116px;text-align:left;border:1px solid var(--mxf-line);background:#fff;border-radius:15px;padding:12px;display:grid;align-content:start;gap:7px}.mxf-tool-grid i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ecf3e6;color:#25603a}.mxf-tool-grid button:nth-child(2) i{background:#eaf3fb;color:#296f98}.mxf-tool-grid button:nth-child(3) i{background:#efebff;color:#544aa5}.mxf-tool-grid button:nth-child(4) i{background:#fff0df;color:#a45b1e}.mxf-tool-grid b{font-size:14px}.mxf-tool-grid small{font-size:11px;color:var(--mxf-muted);line-height:1.4}.mxf-target .mxf-section-head{align-items:flex-start}.mxf-target-top{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.mxf-target-top>div{background:#fff9f4;border-radius:13px;padding:12px}.mxf-target-top>div:nth-child(2){background:#f3f8fc}.mxf-target-top span{color:#e86f2b}.mxf-target-top>div:nth-child(2) span{color:#3f86d6}.mxf-target-top b,.mxf-target-top em{display:block}.mxf-target-top b{font-size:18px}.mxf-target-top b small,.mxf-target-top em{font-size:10px;color:var(--mxf-muted);font-style:normal}.mxf-target-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mxf-target-mini div{background:#faf7f2;border-radius:12px;padding:9px;text-align:center}.mxf-target-mini b,.mxf-target-mini strong{display:block;font-size:11px}.mxf-target-mini strong{font-size:13px;margin-top:4px}.mxf-recent article{display:grid;grid-template-columns:48px 42px 1fr 10px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #f0ebe4}.mxf-recent article:last-child{border-bottom:0}.mxf-recent time{font-size:10px;color:#7c7067}.mxf-recent time small{display:block}.mxf-recent img{width:42px;height:36px;object-fit:contain}.mxf-recent b,.mxf-recent small{display:block;font-size:11px}.mxf-recent small{color:var(--mxf-muted)}.mxf-refill{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:linear-gradient(135deg,#fff0e9,#ffe8e5);border-radius:16px;padding:14px}.mxf-refill b{font-size:15px}.mxf-refill p{margin:4px 0 0;color:#786c63;font-size:11px}.mxf-refill button{border:0;background:#185b36;color:#fff;border-radius:10px;padding:10px 12px;font-weight:800;font-size:11px}.mxf-empty{padding:24px 12px;text-align:center;color:#82776e;font-size:12px;background:#f8f5ef;border-radius:12px}
.mxf-modal-bg{position:fixed;inset:0;background:#1f261f88;z-index:99999;display:grid;place-items:end center;padding:20px 12px}.mxf-obs-modal{position:relative;width:min(100%,520px);background:#fffdf9;border-radius:24px;padding:20px;max-height:90dvh;overflow:auto}.mxf-close{position:absolute;right:14px;top:12px;border:0;background:#f1f2ed;border-radius:50%;width:36px;height:36px;font-size:24px}.mxf-kicker{letter-spacing:.18em;color:#728076;font-size:10px;font-weight:850}.mxf-obs-modal h2{font-size:24px;margin:5px 0}.mxf-obs-modal>p:not(.mxf-kicker){color:#776e66;font-size:12px}.mxf-obs-modal fieldset{border:0;padding:0;margin:16px 0}.mxf-obs-modal legend{font-weight:850;margin-bottom:7px}.mxf-obs-modal fieldset{display:flex;gap:7px;flex-wrap:wrap}.mxf-obs-modal fieldset legend{width:100%}.mxf-obs-modal fieldset label input{display:none}.mxf-obs-modal fieldset label span{display:block;border:1px solid #ded8cf;border-radius:999px;padding:8px 12px;font-size:12px}.mxf-obs-modal fieldset label input:checked+span{background:#e9f2e4;border-color:#8baa7f;color:#215f37;font-weight:850}.mxf-note{display:grid;gap:7px;font-weight:800}.mxf-note textarea{border:1px solid #ddd6cc;border-radius:12px;padding:10px;min-height:80px;font:inherit}.mxf-save{width:100%;border:0;background:#1e5d38;color:#fff;border-radius:12px;padding:13px;font-weight:850;margin-top:14px}#mxf-toast{position:fixed;z-index:100000;left:50%;bottom:90px;transform:translateX(-50%);background:#214e33;color:#fff;padding:10px 14px;border-radius:999px;font-size:12px}#mxf-toast.bad{background:#8f3f35}
.mx-master-photo-crop{width:100%;aspect-ratio:1/1;margin:16px 0;border-radius:22px;overflow:hidden;background:#f1eee8;cursor:grab;touch-action:none}.mx-master-photo-crop:active{cursor:grabbing}.mx-master-photo-crop img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.mx-photo-focus-readout{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;margin:-5px 0 14px;color:#736b62;font-size:11px}.mx-photo-focus-readout span{background:#f6f3ed;border-radius:999px;padding:6px 9px}.mx-photo-focus-readout button{border:1px solid #ded7cc;background:#fff;border-radius:999px;padding:6px 10px}
html.mxf-food-detail .food-section-nav{display:none!important}.mxf-detail-head{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;margin:4px 0 12px}.mxf-detail-head button{border:0;background:transparent;font-size:32px;text-align:left}.mxf-detail-head h1{text-align:center;font-size:19px;margin:0}.food-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.food-grid article{display:grid!important;grid-template-columns:68px 1fr auto!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important;padding:10px!important}.food-grid .food-photo{grid-row:1/3!important;width:68px!important;height:68px!important}.food-grid article h3,.food-grid article>p{grid-column:2!important;margin:0!important}.food-grid article details{grid-column:2!important}.food-grid article>button{grid-column:3!important;grid-row:1/3!important;padding:8px!important}.food-count{font-size:11px!important}.food-toolbar{border-radius:16px!important}.feeding-plan-modal{border-radius:24px!important}.feeding-plan-modal .meal-editor-list fieldset{border-radius:16px!important}.food-calculator-page .calculator-hero{border-radius:18px!important;background:#fff7ef!important}.food-calculator-page .calculator-step-section{border-radius:16px!important}
@media(max-width:390px){.mxf-cat{grid-template-columns:60px 1fr}.mxf-cat-photo{width:60px;height:60px}.mxf-cat>button{grid-column:1/-1;justify-self:end;margin-top:-4px}.mxf-intake{grid-template-columns:1fr 1fr}.mxf-tool-grid button{min-height:110px}.mxf-timeline article{grid-template-columns:22px 40px 1fr}.mxf-timeline article>button,.mxf-timeline article>em{grid-column:3;justify-self:start}.mxf-refill{grid-template-columns:1fr}.mxf-refill button{width:100%}}
/* V23 approved calculator/database details */
.food-intro{display:none!important}.food-count{display:none!important}.food-toolbar>div{display:none!important}.mxf-db-tabs{display:flex;gap:7px;margin:8px 0 10px;overflow:auto}.mxf-db-tabs button{border:0;background:transparent;border-radius:999px;padding:8px 13px;font-weight:800;color:#6f685f;white-space:nowrap}.mxf-db-tabs button.active{background:#1f5d38;color:#fff}.food-grid article[hidden]{display:none!important}.food-grid article .food-meta{grid-column:2!important;grid-row:1!important;align-self:end!important}.food-grid article h3{grid-column:2!important;grid-row:1!important;align-self:start!important;padding-top:3px!important}.food-grid article>p{grid-column:2!important;grid-row:2!important;align-self:start!important}.food-grid article details{display:none!important}.food-grid article>button{border:0!important;background:transparent!important;color:#726a61!important;font-size:24px!important;width:34px!important;min-width:34px!important}.food-grid .food-photo img{object-fit:contain!important}.mxf-calc-mock{display:grid;gap:12px}.mxf-calc-result-mode>.calculator-hero,.mxf-calc-result-mode>.calculator-form{display:none!important}.mxf-calc-result-mode.mxf-calc-input-mode>.mxf-calc-mock>*:not(.mxf-calc-tabs){display:none!important}.mxf-calc-result-mode.mxf-calc-input-mode>.calculator-hero,.mxf-calc-result-mode.mxf-calc-input-mode>.calculator-form{display:block!important}.mxf-calc-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2ede5;border-radius:999px;padding:3px}.mxf-calc-tabs button{border:0;background:transparent;border-radius:999px;padding:9px;color:#756d64;font-weight:800}.mxf-calc-tabs button.active{background:#fff;color:#2d2a26;box-shadow:0 1px 4px #5e4a3215}.mxf-calc-cat{display:grid;grid-template-columns:58px 1fr auto;gap:9px;align-items:center;background:#fff;border:1px solid var(--mxf-line);border-radius:16px;padding:10px}.mxf-calc-cat img{width:58px;height:58px;object-fit:cover;border-radius:12px}.mxf-calc-cat b,.mxf-calc-cat small,.mxf-calc-cat em{display:block}.mxf-calc-cat small,.mxf-calc-cat em{font-size:10px;color:#7d746b;font-style:normal}.mxf-calc-cat>button{border:0;background:transparent;color:#2b6c43;font-weight:800}.mxf-calc-title{font-size:17px;margin:4px 0 -3px}.mxf-calc-big{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mxf-calc-big article{background:#fffaf5;border:1px solid #f1e7dc;border-radius:14px;padding:14px}.mxf-calc-big article:nth-child(2){background:#f4f9fd}.mxf-calc-big span{color:#ed732d}.mxf-calc-big article:nth-child(2) span{color:#448cd8}.mxf-calc-big b,.mxf-calc-big small{display:block}.mxf-calc-big b{font-size:21px}.mxf-calc-big small{font-size:10px;color:#7b7269}.mxf-calc-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mxf-calc-mini article{background:#fff;border:1px solid var(--mxf-line);border-radius:14px;padding:10px;text-align:center}.mxf-calc-mini img,.mxf-calc-mini i{width:48px;height:42px;object-fit:contain;margin:auto;display:grid;place-items:center}.mxf-calc-mini i svg{width:28px;height:28px;fill:none;stroke:#7a4a2c;stroke-width:2}.mxf-calc-mini b,.mxf-calc-mini strong{display:block;font-size:10px}.mxf-calc-mini strong{font-size:13px;margin-top:3px}.mxf-calc-tip{background:#fff2d9;border-radius:13px;padding:11px;font-size:11px;color:#746657;line-height:1.5}.mxf-calc-target{border:0;background:#1d5d38;color:#fff;border-radius:12px;padding:12px;font-weight:850}.mxf-calc-target:disabled{opacity:1}.mxf-calc-history{background:#fff;border:1px solid var(--mxf-line);border-radius:16px;padding:12px}.mxf-calc-history article{display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #eee8df}.mxf-calc-history article:last-child{border-bottom:0}.mxf-calc-history article>i{width:18px;height:18px;border:1px solid #b9c7b4;border-radius:50%;display:grid;place-items:center;color:#217041;font-style:normal;font-size:11px}.mxf-calc-history b,.mxf-calc-history small{display:block;font-size:11px}.mxf-calc-history small{color:#786f66}.mxf-calc-history em{font-style:normal;background:#eaf2e6;color:#24613a;border-radius:999px;padding:5px 7px;font-size:9px}

/* v24 exact-reference subpages */
.mxf-subpage-bg{position:fixed;inset:0;background:#faf7f1;z-index:99999;overflow:auto;padding:0}.mxf-page-head{position:sticky;top:0;z-index:2;height:66px;background:#fffdf9ee;backdrop-filter:blur(10px);display:grid;grid-template-columns:42px 1fr 52px;align-items:center;border-bottom:1px solid #eee8df;padding:0 14px}.mxf-page-head h1{font-size:18px;text-align:center;margin:0}.mxf-page-head button{border:0;background:transparent;font:inherit;font-weight:800;color:#285d3b}.mxf-page-head .mxf-back{font-size:34px;text-align:left;color:#2b2a27}.mxf-obs-page,.mxf-plan-page{min-height:100dvh;background:#fffdf9;color:#2c2925;padding-bottom:38px}.mxf-obs-page form,.mxf-plan-page>:not(.mxf-page-head){margin-left:18px;margin-right:18px}.mxf-obs-intro{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center;margin:18px!important;padding:14px;background:linear-gradient(135deg,#edf4e8,#f8f6e8);border-radius:16px}.mxf-obs-intro i{width:40px;height:40px;display:grid;place-items:center;color:#1f6a3e}.mxf-obs-intro svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2}.mxf-obs-intro b,.mxf-obs-intro small{display:block}.mxf-obs-intro small{margin-top:3px;color:#756f67;font-size:11px}.mxf-obs-rows{background:#fff;border:1px solid #eee6dd;border-radius:18px;padding:0 14px}.mxf-obs-rows fieldset{border:0;margin:0;padding:15px 0;display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #eee8df}.mxf-obs-rows fieldset:last-child{border-bottom:0}.mxf-obs-label{display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center}.mxf-obs-label i{width:32px;height:32px;display:grid;place-items:center;color:#dc6e2f}.mxf-obs-label svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}.mxf-obs-label span b,.mxf-obs-label span small{display:block}.mxf-obs-label span b{font-size:14px}.mxf-obs-label span small{font-size:9px;color:#857c73;margin-top:2px}.mxf-segments{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mxf-segments input{display:none}.mxf-segments span{display:block;border:1px solid #dcd5cc;border-radius:999px;padding:7px 11px;font-size:11px;white-space:nowrap}.mxf-segments input:checked+span{background:#edf5e8;border-color:#43805b;color:#1d6439;font-weight:850}.mxf-obs-page .mxf-note{margin-top:16px;position:relative}.mxf-obs-page .mxf-note>span{font-weight:850}.mxf-obs-page .mxf-note>span small{font-weight:500;color:#8c837a}.mxf-obs-page .mxf-note textarea{min-height:105px;background:#fff;border-radius:15px;padding:13px}.mxf-obs-page .mxf-note em{position:absolute;right:10px;bottom:8px;font-style:normal;font-size:10px;color:#928980}.mxf-obs-page .mxf-save{margin-top:14px;font-size:14px;padding:14px}.mxf-obs-tip{margin-top:12px;background:#fff3df;border-radius:14px;padding:13px;color:#6e655d;font-size:11px;line-height:1.5}.mxf-plan-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1ece4;border-radius:999px;padding:3px;margin-top:15px!important}.mxf-plan-tabs button{border:0;background:transparent;border-radius:999px;padding:9px;font-weight:800;color:#7a7269}.mxf-plan-tabs button.active{background:#fff;color:#2d2a26;box-shadow:0 1px 4px #5e4a3215}.mxf-plan-banner{display:grid;grid-template-columns:36px 1fr;gap:9px;background:#fff1df;border-radius:15px;padding:13px;margin-top:14px!important}.mxf-plan-banner i{display:grid;place-items:center;color:#a34b28}.mxf-plan-banner svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2}.mxf-plan-banner b,.mxf-plan-banner small{display:block}.mxf-plan-banner small{font-size:10px;color:#756d64;margin-top:3px}.mxf-plan-timeline{position:relative;margin-top:14px!important}.mxf-plan-timeline:before{content:"";position:absolute;left:9px;top:22px;bottom:22px;width:1.5px;background:#d8d4c8}.mxf-plan-timeline article{position:relative;display:grid;grid-template-columns:20px 72px 1fr;gap:9px;align-items:start;padding:10px 0}.mxf-plan-dot{width:18px;height:18px;border:2px solid #4a8c69;border-radius:50%;background:#fff;z-index:1}.mxf-plan-timeline time{font-size:12px;font-weight:800;padding-top:9px}.mxf-plan-timeline time b{margin-left:4px}.mxf-plan-meal{display:grid;grid-template-columns:48px 1fr 12px;gap:9px;align-items:center;background:#fff;border:1px solid #eee7dd;border-radius:14px;padding:9px}.mxf-plan-meal img{width:48px;height:42px;object-fit:contain}.mxf-plan-meal b,.mxf-plan-meal small{display:block;font-size:11px}.mxf-plan-meal small{color:#7d756d;margin-top:2px}.mxf-add-meal{width:calc(100% - 36px);margin:10px 18px 0!important;border:1px solid #d9d4cb;background:#fff;border-radius:12px;padding:11px;color:#27603c;font-weight:850}.mxf-meal-tip{margin-top:18px!important}.mxf-meal-tip h2{font-size:16px}.mxf-meal-tip img{width:100%;height:120px;object-fit:contain;background:#f5eee4;border-radius:16px}.mxf-meal-tip ul{list-style:none;padding:0;margin:10px 0}.mxf-meal-tip li{font-size:11px;padding:4px 0;color:#655f58}.mxf-meal-tip li:before{content:"✓";color:#247146;font-weight:900;margin-right:8px}.mxf-db-custom{display:grid;gap:9px;background:#fff2d8;border-radius:16px;padding:14px;margin-top:14px}.mxf-db-custom b,.mxf-db-custom small{display:block}.mxf-db-custom small{font-size:10px;color:#786e64;margin-top:3px}.mxf-db-custom button{border:1px solid #9fb99f;background:#f4faef;color:#205d37;border-radius:12px;padding:10px;font-weight:850}.mxf-calc-target:not(:disabled){cursor:pointer}.mxf-calc-target:disabled{background:#37644a}.mxf-master-photo-crop{touch-action:none}

/* v26.1 safe category icon normalization */
.mxf-target-mini img,.mxf-target-mini i{width:50px;height:40px;object-fit:contain;display:grid;place-items:center;margin:0 auto 4px}.mxf-target-mini i svg{width:28px;height:28px;fill:none;stroke:#7a4a2c;stroke-width:2}.mxf-target-mini div{display:grid;justify-items:center}.mxf-calc-mini img{object-fit:contain!important}
/* V27 final icon normalization */
.mxf-calc-big span,.mxf-target-top span{width:34px;height:34px;display:grid;place-items:center;margin-bottom:6px}
.mxf-calc-big span svg,.mxf-target-top span svg{width:30px!important;height:30px!important;display:block;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round;stroke-linejoin:round}
.mxf-calc-big article:nth-child(1) span,.mxf-target-top>div:nth-child(1) span{color:#ea702d}
.mxf-calc-big article:nth-child(2) span,.mxf-target-top>div:nth-child(2) span{color:#3f86d6}

/* v29: match Health icon language across food tools */
.mxf-tool-grid i{width:38px!important;height:38px!important;border-radius:50%!important;background:#eef2e8!important;color:#315a36!important;display:grid!important;place-items:center!important}.mxf-tool-grid button:nth-child(2) i,.mxf-tool-grid button:nth-child(3) i,.mxf-tool-grid button:nth-child(4) i{background:#eef2e8!important;color:#315a36!important}.mxf-tool-grid i .mxh-ico{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important}.mxf-top .mxh-ico,.mxf-handover .mxh-ico,.mxf-target .mxh-ico,.mxf-calc-mock .mxh-ico,.mxf-plan-page .mxh-ico,.mxf-obs-page .mxh-ico{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.mxf-target-mini img,.mxf-calc-mini img{background:transparent!important;border-radius:0!important}.mxf-target-mini i,.mxf-calc-mini i{background:#eef2e8!important;color:#315a36!important;border-radius:50%!important;width:44px!important;height:44px!important}.mxf-target-mini i .mxh-ico,.mxf-calc-mini i .mxh-ico{width:22px!important;height:22px!important;stroke:#315a36!important;stroke-width:2.4!important}.mxf-target-top span,.mxf-calc-big span{border-radius:50%;background:#eef2e8!important;color:#315a36!important}.mxf-target-top>div:nth-child(2) span,.mxf-calc-big article:nth-child(2) span{background:#eef2e8!important;color:#315a36!important}.mxf-target-top span .mxh-ico,.mxf-calc-big span .mxh-ico{width:21px!important;height:21px!important;stroke-width:2.4!important}

/* v32 — food icons genuinely share Health visual language */
.mxf-food-v23 .mxf-tool-grid i,
.mxf-food-v23 .mxf-food-glyph,
.mxf-calc-mock .mxf-food-glyph,
.mxf-plan-page .mxf-food-glyph{
  width:38px!important;height:38px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;
  background:#eef2e8!important;color:#315a36!important;
  font-style:normal!important;flex:0 0 38px;
}
.mxf-food-v23 .mxf-tool-grid i .mxh-ico,
.mxf-food-v23 .mxf-food-glyph .mxh-ico,
.mxf-calc-mock .mxf-food-glyph .mxh-ico,
.mxf-plan-page .mxf-food-glyph .mxh-ico{
  width:20px!important;height:20px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:2.4!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
.mxf-food-v23 .mxf-tool-grid button:nth-child(n) i{background:#eef2e8!important;color:#315a36!important}
.mxf-food-v23 .mxf-intake span,
.mxf-food-v23 .mxf-target-top span,
.mxf-calc-mock .mxf-calc-big span{
  width:34px!important;height:34px!important;border-radius:50%!important;
  display:inline-grid!important;place-items:center!important;
  background:#eef2e8!important;color:#315a36!important;margin:0 5px 0 0!important;
}
.mxf-food-v23 .mxf-intake span .mxh-ico,
.mxf-food-v23 .mxf-target-top span .mxh-ico,
.mxf-calc-mock .mxf-calc-big span .mxh-ico{
  width:19px!important;height:19px!important;stroke:currentColor!important;
  stroke-width:2.4!important;fill:none!important;
}
.mxf-food-v23 .mxf-intake>div:nth-child(2) span,
.mxf-food-v23 .mxf-target-top>div:nth-child(2) span,
.mxf-calc-mock .mxf-calc-big article:nth-child(2) span{background:#eef2e8!important;color:#315a36!important}
.mxf-target-mini .mxf-food-glyph,.mxf-calc-mini .mxf-food-glyph{margin:0 auto 6px!important;width:42px!important;height:42px!important}
.mxf-target-mini .mxf-food-glyph .mxh-ico,.mxf-calc-mini .mxf-food-glyph .mxh-ico{width:21px!important;height:21px!important}
.mxf-meal .mxf-food-glyph{width:42px!important;height:42px!important;border-radius:12px!important}
.mxf-recent .mxf-food-glyph{width:40px!important;height:40px!important;border-radius:12px!important}
.mxf-plan-meal .mxf-food-glyph{width:44px!important;height:44px!important;border-radius:12px!important}
.mxf-tip-visual{min-height:104px;border-radius:16px;background:#f4f6ef;display:grid;place-items:center;align-content:center;gap:9px;color:#315a36;margin:8px 0 10px}
.mxf-tip-visual .mxh-ico{width:38px!important;height:38px!important;stroke-width:2.2!important}
.mxf-tip-visual span{font-size:11px;font-weight:800;color:#64705f}

/* v33: exact Health icon proportions — no category colours, no oversized glyphs */
.mxf-food-v23 .mxf-tool-grid i{width:36px!important;height:36px!important;background:#eef2e8!important;color:#315a36!important}
.mxf-food-v23 .mxf-tool-grid i .mxh-ico{width:19px!important;height:19px!important;stroke-width:2.25!important}
.mxf-food-v23 .mxf-intake span,.mxf-food-v23 .mxf-target-top span,.mxf-calc-mock .mxf-calc-big span{width:32px!important;height:32px!important}
.mxf-food-v23 .mxf-intake span .mxh-ico,.mxf-food-v23 .mxf-target-top span .mxh-ico,.mxf-calc-mock .mxf-calc-big span .mxh-ico{width:18px!important;height:18px!important;stroke-width:2.25!important}
.mxf-target-mini .mxf-food-glyph,.mxf-calc-mini .mxf-food-glyph{width:38px!important;height:38px!important}
.mxf-target-mini .mxf-food-glyph .mxh-ico,.mxf-calc-mini .mxf-food-glyph .mxh-ico{width:19px!important;height:19px!important;stroke-width:2.25!important}

@media(max-width:380px){html.mewday-v16 .real-app .mxf-food-v23 .mxf-observe{grid-template-columns:minmax(0,1fr) 12px!important}.mxf-observe>div{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}.mxf-observe>b{grid-column:2;grid-row:1}.mxf-observe i strong,.mxf-observe i em{white-space:nowrap!important}}

/* mewday-ui-current.css */
/* V27 final UI cleanup: top cat switcher + More pages. */
:root{--m27-bg:#fbf8f2;--m27-card:#fffdf9;--m27-line:#ebe4da;--m27-ink:#26231f;--m27-muted:#7b736b;--m27-green:#195b36;--m27-softgreen:#edf5ec;--m27-peach:#fff0e7;--m27-blue:#e8f5fb;--m27-purple:#f0ebff;--m27-beige:#f7f1e8}

/* Fix the broken switch-cat sheet from the older V16 override. */
.mewday-v16 .top-cat-switcher.v16-switcher-c{
  position:fixed!important;top:76px!important;bottom:auto!important;left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;width:min(400px,calc(100vw - 28px))!important;max-height:min(62dvh,520px)!important;
  overflow:auto!important;padding:13px!important;border-radius:22px!important;background:#fffdf9!important;border:1px solid #ded7ce!important;
  box-shadow:0 22px 60px rgba(41,32,27,.22)!important;z-index:1001!important
}
.mewday-v16 .top-cat-switcher.v16-switcher-c:before{content:''!important;display:block!important;width:42px!important;height:4px!important;border-radius:99px!important;background:#d8d0c7!important;margin:0 auto 10px!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>b{display:block!important;margin:0 4px 10px!important;padding:0!important;font:800 18px/1.25 Inter,"Noto Sans TC",sans-serif!important;color:#443c35!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]{
  display:grid!important;grid-template-columns:58px minmax(0,1fr) 28px!important;gap:11px!important;align-items:center!important;
  min-height:76px!important;width:100%!important;padding:9px 10px!important;border:0!important;border-top:1px solid #eee7de!important;
  border-radius:14px!important;background:#fff!important;text-align:left!important;color:#2d2925!important
}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id].active{background:#f0f4ee!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]>span{width:56px!important;height:56px!important;border-radius:16px!important;background:#eee9e1!important;overflow:hidden!important;display:block!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]>span img{width:100%!important;height:100%!important;object-fit:cover!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]>div{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font:800 17px/1.2 Inter,"Noto Sans TC",sans-serif!important;color:#342f2a!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font:500 12px/1.35 Inter,"Noto Sans TC",sans-serif!important;color:#7b736b!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c>button[data-cat-id]>i{justify-self:end!important;font-style:normal!important;font-size:21px!important;color:#725849!important}
.mewday-v16 .top-cat-switcher.v16-switcher-c .cat-profile-link{display:block!important;width:100%!important;min-height:50px!important;margin:10px 0 0!important;padding:14px 12px!important;border:0!important;border-radius:14px!important;background:#6e503f!important;color:#fff!important;text-align:center!important;font:800 15px/1.3 Inter,"Noto Sans TC",sans-serif!important}
.v16-switcher-backdrop{z-index:1000!important;background:rgba(38,30,25,.28)!important}

/* More home replaces old visual only; original controls stay mounted underneath for proxy actions. */
.profile-real.m27-more-mounted{position:relative!important;max-width:620px!important;margin:0 auto!important;padding:0 10px 105px!important}
.profile-real.m27-more-mounted>.profile-card,.profile-real.m27-more-mounted>.record-card,.profile-real.m27-more-mounted>.caregiver-manager{display:none!important}
.m27-more-home{color:var(--m27-ink);font-family:inherit}
.m27-more-title{font-size:29px;font-weight:900;letter-spacing:-.03em;margin:4px 2px 12px}
.m27-cat-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:12px;align-items:center;background:linear-gradient(135deg,#fff9f3,#ffede5);border:1px solid #f1ded2;border-radius:20px;padding:11px;margin-bottom:18px}
.m27-cat-card img{width:78px;height:78px;border-radius:14px;object-fit:cover;background:#eee7df}
.m27-cat-card h2{font-size:18px;margin:0 0 5px}.m27-cat-card h2 span{font-size:17px;margin-left:3px}.m27-cat-card p,.m27-cat-card small{display:block;margin:0;color:#756d65;font-size:12px}.m27-cat-card small{margin-top:3px}
.m27-cat-card button{border:0;background:#fff;border-radius:999px;padding:9px 12px;color:#2b6943;font-weight:850;white-space:nowrap}
.m27-group{margin:0 0 18px}.m27-group>h3{font-size:16px;margin:0 0 9px;font-weight:850}.m27-list{display:grid;gap:9px}
.m27-row{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 16px;gap:11px;align-items:center;border:1px solid var(--m27-line);border-radius:17px;background:#fff;padding:12px;text-align:left;color:inherit;font:inherit}
.m27-row .ico{width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.m27-row .ico svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.m27-row .ico.peach{background:#fff1e5;color:#9a512c}.m27-row .ico.green{background:#edf5ec;color:#21613c}.m27-row .ico.blue{background:#e8f5fb;color:#177d9b}.m27-row .ico.beige{background:#f8f1e6;color:#6a5c4b}.m27-row .ico.purple{background:#f0ebff;color:#6851a5}.m27-row .copy b,.m27-row .copy small{display:block}.m27-row .copy b{font-size:15px}.m27-row .copy small{font-size:11px;color:var(--m27-muted);line-height:1.4;margin-top:3px}.m27-row .arrow{font-size:21px;color:#71675f}

/* Full-screen More subpages */
.m27-sheet{position:fixed;inset:0;z-index:1100;background:var(--m27-bg);overflow:auto;color:var(--m27-ink);font-family:inherit}
.m27-sheet-head{position:sticky;top:0;z-index:2;height:64px;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;background:#fffdf9ec;backdrop-filter:blur(12px);border-bottom:1px solid var(--m27-line);padding:0 14px}
.m27-sheet-head h1{text-align:center;font-size:18px;margin:0;font-weight:850}.m27-sheet-head button{border:0;background:transparent;font-size:32px;text-align:left;color:#292622;padding:0}.m27-sheet-body{max-width:620px;margin:0 auto;padding:14px 18px 110px}.m27-search{display:flex;align-items:center;gap:8px;border:1px solid #e5ddd3;border-radius:14px;background:#fff;padding:0 12px;margin-bottom:14px}.m27-search svg{width:20px;height:20px;fill:none;stroke:#777067;stroke-width:2}.m27-search input{width:100%;border:0;outline:0;background:transparent;padding:12px 0;font:inherit;font-size:13px}
.m27-guide-hero{position:relative;min-height:172px;background:linear-gradient(135deg,#fae8dc,#f4e7db);border-radius:22px;overflow:hidden;padding:22px 46% 18px 18px;margin-bottom:18px}.m27-guide-hero h2{font-size:24px;line-height:1.15;margin:0}.m27-guide-hero p{font-size:13px;color:#675d55;line-height:1.55;margin:8px 0 14px}.m27-guide-hero img{position:absolute;right:0;bottom:0;width:48%;height:100%;object-fit:cover;object-position:center}.m27-guide-hero a{display:inline-block;position:relative;z-index:1;background:#1c5d38;color:#fff;border-radius:999px;padding:10px 15px;text-decoration:none;font-size:12px;font-weight:850}
.m27-block{margin-top:18px}.m27-block-title{font-size:17px;font-weight:850;margin:0 0 10px}.m27-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.m27-topic{border:1px solid var(--m27-line);background:#fff;border-radius:16px;padding:12px 9px;text-align:center;color:inherit;text-decoration:none}.m27-topic .ticon{width:42px;height:42px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:#fff2e3;color:#a45a2b}.m27-topic:nth-child(2) .ticon{background:#fff4ec}.m27-topic:nth-child(3) .ticon{background:#fff4ec}.m27-topic:nth-child(4) .ticon{background:#eef6ee;color:#2b6c43}.m27-topic:nth-child(5) .ticon{background:#fff0e8;color:#a54a27}.m27-topic:nth-child(6) .ticon{background:#fff0ec;color:#a84c48}.m27-topic .ticon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}.m27-topic b,.m27-topic small{display:block}.m27-topic b{font-size:13px}.m27-topic small{font-size:9px;color:var(--m27-muted);line-height:1.4;margin-top:4px}
.m27-article-list{display:grid;gap:8px}.m27-article{display:grid;grid-template-columns:58px 1fr 12px;gap:10px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:14px;padding:8px;text-decoration:none;color:inherit}.m27-article img{width:58px;height:52px;border-radius:10px;object-fit:cover;background:#eee}.m27-article b,.m27-article small{display:block}.m27-article b{font-size:13px}.m27-article small{font-size:10px;color:var(--m27-muted);margin-top:3px;line-height:1.35}
.m27-care-hero{display:grid;grid-template-columns:1fr 125px;gap:12px;align-items:center;background:linear-gradient(135deg,#fff6f0,#ffeee5);border-radius:20px;padding:18px;margin-bottom:15px}.m27-care-hero h2{font-size:18px;margin:0 0 7px}.m27-care-hero p{font-size:12px;color:var(--m27-muted);line-height:1.5;margin:0}.m27-care-hero img{width:125px;height:106px;object-fit:cover;border-radius:16px}.m27-care-list{display:grid;gap:9px}.m27-care-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:16px;padding:11px 12px}.m27-care-item .cicon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff0e7;color:#a14424}.m27-care-item svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}.m27-care-item b,.m27-care-item small{display:block}.m27-care-item b{font-size:14px}.m27-care-item small{font-size:10px;color:var(--m27-muted);margin-top:2px}.m27-care-item button{border:1px solid #ddd6cd;background:#fff;border-radius:999px;padding:8px 13px;font-weight:800;color:#4c443d}.m27-promo{display:grid;gap:10px;margin-top:14px}.m27-promo button{display:flex;align-items:center;justify-content:space-between;border:0;border-radius:17px;padding:14px;text-align:left;background:#edf5e8;color:inherit}.m27-promo button:nth-child(2){background:#fff0e7}.m27-promo b,.m27-promo small{display:block}.m27-promo small{font-size:10px;color:var(--m27-muted);margin-top:3px}
.m27-map{position:relative;height:260px;border-radius:20px;overflow:hidden;background:#dcecf6;margin-bottom:12px}.m27-map:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 0 26%,rgba(255,255,255,.8) 26% 29%,transparent 29% 59%,rgba(255,255,255,.8) 59% 62%,transparent 62%),linear-gradient(0deg,transparent 0 22%,rgba(255,255,255,.85) 22% 25%,transparent 25% 55%,rgba(255,255,255,.85) 55% 58%,transparent 58%);opacity:.85}.m27-map .water{position:absolute;left:-12%;top:0;width:38%;height:100%;background:#bfe0f4;transform:skewX(-10deg)}.m27-pin{position:absolute;width:21px;height:21px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#205e3a;box-shadow:0 2px 6px #0002}.m27-pin:after{content:'';position:absolute;inset:6px;border-radius:50%;background:#fff}.m27-pin.red{background:#be3e32}.m27-map-label{position:absolute;left:53%;top:38%;background:#fff;border-radius:14px;padding:9px 12px;box-shadow:0 6px 18px #0002}.m27-map-label b,.m27-map-label small{display:block}.m27-map-label small{font-size:10px;color:var(--m27-muted);margin-top:2px}.m27-filters{display:flex;gap:7px;overflow:auto;margin-bottom:12px}.m27-filters button{border:0;border-radius:999px;background:#f0ede7;padding:8px 12px;white-space:nowrap;font:inherit;font-size:11px}.m27-filters button.active{background:#1f5d38;color:#fff}.m27-vet-list{display:grid;gap:8px}.m27-vet-row{display:grid;grid-template-columns:66px 1fr auto;gap:10px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:14px;padding:8px}.m27-vet-row .thumb{width:66px;height:58px;border-radius:10px;background:linear-gradient(135deg,#dbe2de,#f5e7dc)}.m27-vet-row b,.m27-vet-row small{display:block}.m27-vet-row small{font-size:10px;color:var(--m27-muted);margin-top:3px}.m27-vet-row a{border:0;background:#edf5e8;color:#27633e;border-radius:999px;padding:8px 10px;font-size:11px;font-weight:850;text-decoration:none}
.m27-setting-list{display:grid;gap:9px}.m27-setting-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:15px;padding:12px}.m27-setting-row .sicon{color:#a3472b}.m27-setting-row svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}.m27-setting-row b,.m27-setting-row small{display:block}.m27-setting-row b{font-size:14px}.m27-setting-row small{font-size:10px;color:var(--m27-muted);margin-top:2px}.m27-switch{position:relative;width:44px;height:27px}.m27-switch input{display:none}.m27-switch span{position:absolute;inset:0;background:#d8d9d8;border-radius:999px}.m27-switch span:after{content:'';position:absolute;width:21px;height:21px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0002;transition:.18s}.m27-switch input:checked+span{background:#1b5d38}.m27-switch input:checked+span:after{left:20px}.m27-notice-link{display:block;width:100%;margin-top:14px;border:0;background:#1d5d38;color:#fff;border-radius:13px;padding:12px;font-weight:850}
.m27-caregiver-hero{text-align:center;background:linear-gradient(135deg,#fff9f4,#fff0e8);border-radius:22px;padding:20px;margin-bottom:18px}.m27-cats-illustration{font-size:52px;line-height:1;margin-bottom:10px}.m27-caregiver-hero h2{font-size:19px;line-height:1.35;margin:0}.m27-caregiver-hero p{font-size:11px;color:var(--m27-muted);line-height:1.5}.m27-caregiver-hero button{border:0;background:#1d5d38;color:#fff;border-radius:12px;padding:11px 16px;font-weight:850}.m27-caregiver-list{display:grid;gap:8px}.m27-caregiver-row{display:grid;grid-template-columns:42px 1fr 20px;gap:10px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:14px;padding:10px}.m27-caregiver-row .avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eee8e0;font-weight:850}.m27-caregiver-row b,.m27-caregiver-row small,.m27-caregiver-row em{display:block}.m27-caregiver-row small{font-size:10px;color:var(--m27-muted)}.m27-caregiver-row em{font-size:10px;color:#2d7548;font-style:normal;margin-top:2px}.m27-empty{border:1px dashed #d8d1c8;border-radius:15px;padding:22px;text-align:center;color:var(--m27-muted);font-size:12px}
.m27-faq{display:grid;gap:9px}.m27-faq details{border:1px solid var(--m27-line);background:#fff;border-radius:14px;padding:13px}.m27-faq summary{font-weight:850;cursor:pointer}.m27-faq p{font-size:12px;color:var(--m27-muted);line-height:1.6;margin:9px 0 0}
@media(max-width:430px){.m27-topic-grid{grid-template-columns:repeat(2,1fr)}.m27-guide-hero{padding-right:42%}.m27-guide-hero img{width:43%}.m27-cat-card{grid-template-columns:70px minmax(0,1fr) auto}.m27-cat-card img{width:70px;height:70px}.m27-cat-card button{font-size:11px;padding:8px 9px}}
html.m27-more-mode .real-app>.topbar,html.m27-more-mode .real-app>.page-heading{display:none!important}
.m27-more-home,.m27-sheet{font-family:Inter,"Noto Sans TC",Arial,sans-serif}
.m27-cats-illustration{height:72px;display:grid;place-items:center;margin-bottom:8px}.m27-cats-illustration svg{width:180px;max-width:80%;height:72px}

/* V28 — health-style icon system + real functions */
.m27-row .ico.health{background:#edf5ec;color:#21613c}
.m27-row .ico.health svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.m27-guide-live{display:grid;grid-template-columns:46px 1fr 14px;gap:12px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:17px;padding:13px;text-decoration:none;color:inherit;margin-bottom:16px}.m27-live-icon,.m27-real-article .article-icon,.m27-caregiver-icon,.m27-notice-intro>span,.m27-app-settings .app-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#edf5ec;color:#21613c}.m27-live-icon svg,.m27-real-article .article-icon svg,.m27-caregiver-icon svg,.m27-notice-intro>span svg,.m27-app-settings .app-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.m27-guide-live b,.m27-guide-live small{display:block}.m27-guide-live small{font-size:10px;color:var(--m27-muted);margin-top:3px}.m27-real-articles{display:grid;gap:9px}.m27-real-article{display:grid;grid-template-columns:46px 1fr 14px;gap:11px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:16px;padding:11px;text-decoration:none;color:inherit}.m27-real-article b,.m27-real-article small,.m27-real-article em{display:block}.m27-real-article b{font-size:14px}.m27-real-article small{font-size:10px;color:var(--m27-muted);line-height:1.45;margin-top:3px}.m27-real-article em{font-size:9px;color:#2d7548;font-style:normal;margin-top:4px}.m27-real-article .arrow{font-size:20px;color:#746b63}

/* Care icons use the same health visual language. */
.m27-care-item .cicon,.m27-setting-row .sicon{background:#edf5ec!important;color:#21613c!important;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}.m27-setting-row .sicon{width:34px;height:34px}.m27-care-item svg,.m27-setting-row svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Real nearby-vet search. */
.m27-vet-tools{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:stretch}.m27-vet-tools .m27-search{margin:0}.m27-locate{border:0;border-radius:14px;background:#1d5d38;color:#fff;padding:0 13px;font:inherit;font-size:11px;font-weight:850;display:flex;align-items:center;gap:6px;white-space:nowrap}.m27-locate svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.m27-locate:disabled{opacity:.6}.m27-location-note{font-size:10px;color:var(--m27-muted);margin:8px 2px 12px}.m27-real-map{height:270px;border:1px solid var(--m27-line);border-radius:20px;overflow:hidden;background:#eef2ec;margin-bottom:12px;position:relative}.m27-map-loading{height:100%;display:grid;place-items:center;text-align:center;padding:22px;color:#746d65;font-size:12px;background:linear-gradient(135deg,#edf5ec,#f8f3eb)}.m27-real-map .leaflet-control-container{font-size:10px}.m27-real-map .leaflet-pane,.m27-real-map .leaflet-control{z-index:1!important}.m27-real-map .leaflet-top,.m27-real-map .leaflet-bottom{z-index:2!important}.m27-vet-status{font-size:11px;color:#5f584f;margin:6px 2px 10px;min-height:16px}.m27-vet-skeleton{border:1px solid var(--m27-line);background:#fff;border-radius:14px;padding:20px;text-align:center;color:var(--m27-muted);font-size:12px}.m27-vet-row{grid-template-columns:46px minmax(0,1fr) auto!important;padding:10px 11px!important}.m27-vet-row .vet-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf5ec;color:#21613c}.m27-vet-row .vet-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.m27-vet-row small{line-height:1.45}.m27-vet-row em{display:block;font-style:normal;font-size:9px;color:#2d7548;margin-top:4px;overflow-wrap:anywhere}.m27-osm-credit{font-size:9px;line-height:1.5;color:#8a827a;margin:12px 2px 0}.m27-filters{margin-top:2px}

/* Reminder category preferences. */
.m27-notice-intro{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;background:#f2f7ef;border:1px solid #dce8da;border-radius:17px;padding:13px;margin-bottom:13px}.m27-notice-intro b,.m27-notice-intro small{display:block}.m27-notice-intro b{font-size:14px}.m27-notice-intro small{font-size:10px;line-height:1.45;color:var(--m27-muted);margin-top:3px}

/* Shared care: no decorative/fake cat illustration. */
.m27-caregiver-hero{padding:24px 20px}.m27-caregiver-icon{margin:0 auto 12px}.m27-cats-illustration{display:none!important}

/* App settings no longer routes to privacy/offers. */
.m27-app-settings{display:grid;gap:10px}.m27-app-settings section{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--m27-line);background:#fff;border-radius:16px;padding:12px}.m27-app-settings b,.m27-app-settings small{display:block}.m27-app-settings b{font-size:14px}.m27-app-settings small{font-size:10px;line-height:1.45;color:var(--m27-muted);margin-top:3px}.m27-app-settings button{border:0;background:transparent;color:#28643e;font-weight:850;font-size:11px}

@media(max-width:430px){.m27-vet-tools{grid-template-columns:1fr}.m27-locate{min-height:42px;justify-content:center}.m27-real-map{height:235px}}

/* v29: use the same icon language as Health + in-app article reader + caregiver spacing */
.m27-row .ico,.m27-live-icon,.m27-real-article .article-icon,.m27-caregiver-icon,.m27-notice-intro>span,.m27-app-settings .app-icon,.m27-care-item .cicon,.m27-setting-row .sicon,.m27-vet-row .vet-icon{
  background:#eef2e8!important;color:#315a36!important;border-radius:50%;display:grid;place-items:center;
}
.m27-row .ico{width:40px;height:40px}.m27-row .ico .mxh-ico{width:21px;height:21px}
.m27-live-icon,.m27-real-article .article-icon,.m27-caregiver-icon,.m27-notice-intro>span,.m27-app-settings .app-icon{width:42px;height:42px}
.m27-care-item .cicon{width:38px;height:38px}.m27-setting-row .sicon{width:36px;height:36px}.m27-vet-row .vet-icon{width:38px;height:38px}
.m27-row .mxh-ico,.m27-live-icon .mxh-ico,.m27-real-article .mxh-ico,.m27-caregiver-icon .mxh-ico,.m27-notice-intro .mxh-ico,.m27-app-settings .mxh-ico,.m27-care-item .mxh-ico,.m27-setting-row .mxh-ico,.m27-vet-row .mxh-ico{
  width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block;
}
.m27-real-article{width:100%;font:inherit;text-align:left;cursor:pointer}.m27-guide-live{cursor:default}
.m29-reader{max-width:760px;margin:0 auto;padding-bottom:42px}.m29-reader-top{padding:18px 2px 20px;border-bottom:1px solid #e7ded2}.m29-reader-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef2e8;color:#315a36;margin-bottom:10px}.m29-reader-icon .mxh-ico{width:22px;height:22px;stroke-width:2.4}.m29-reader-top>small{display:block;color:#637066;font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.m29-reader-top h2{font-size:24px;line-height:1.35;margin:8px 0 0;color:#2f302d}.m29-reader-top p{font-size:13px;line-height:1.75;color:#716a62;margin:10px 0 0}.m29-reader-body{padding-top:4px}.m29-reader-body .article-body{font-size:14px;color:#3c3b37}.m29-reader-body .article-body h2{font-size:20px;line-height:1.45;margin:26px 0 10px;color:#2f302d}.m29-reader-body .article-body h3{font-size:16px;line-height:1.45;margin:20px 0 8px;color:#39443e}.m29-reader-body .article-body p,.m29-reader-body .article-body li{font-size:14px;line-height:1.85;color:#53514b}.m29-reader-body .article-body ul{padding-left:20px}.m29-reader-body .article-body img{width:100%;height:auto;border-radius:16px;margin:14px 0}.m29-reader-body .callout,.m29-reader-body .product{background:#f8f6f1!important;border:1px solid #e7ded2!important;border-radius:16px!important;padding:14px!important;margin:16px 0!important;box-shadow:none!important}.m29-reader-body a{color:#24613a;font-weight:750;text-underline-offset:3px}.m29-reader-body .buy-btn,.m29-reader-body .tool-btn,.m29-reader-body .tool-link{display:block;background:#1f5d38;color:#fff!important;text-align:center;text-decoration:none;border-radius:12px;padding:11px 13px;margin:10px 0}.m29-article-loading{padding:60px 16px;text-align:center;color:#766f67}.m29-reader-retry,.m29-vet-fallback a{display:inline-block;margin-top:12px;border:0;border-radius:12px;background:#1f5d38;color:#fff!important;text-decoration:none;padding:10px 14px;font-weight:850}
.m27-caregiver-hero{text-align:left!important;padding:18px!important}.m27-caregiver-icon{margin:0 0 12px!important}.m27-caregiver-hero h2{font-size:20px!important;line-height:1.35!important;margin:0!important;max-width:none!important}.m27-caregiver-hero p{font-size:12px!important;line-height:1.65!important;margin:8px 0 14px!important}.m27-caregiver-hero button{width:100%;padding:12px 14px!important}.m27-caregiver-row{grid-template-columns:44px minmax(0,1fr) 18px!important;gap:12px!important;padding:14px!important;align-items:start!important}.m27-caregiver-row .avatar{width:44px!important;height:44px!important}.m27-caregiver-row>div{min-width:0;padding-top:1px}.m27-caregiver-row b{font-size:14px;line-height:1.3}.m27-caregiver-row small{font-size:11px!important;line-height:1.45!important;margin-top:3px;overflow-wrap:anywhere}.m27-caregiver-row em{font-size:10.5px!important;line-height:1.45!important;margin-top:5px!important}.m27-caregiver-row>span:last-child{padding-top:6px;color:#6e675f}
.m29-vet-fallback{display:grid;justify-items:center;gap:5px}.m29-vet-fallback b{font-size:14px}.m29-vet-fallback small{display:block;line-height:1.55}
@media(max-width:390px){.m29-reader-top h2{font-size:21px}.m27-caregiver-row{grid-template-columns:40px minmax(0,1fr)!important}.m27-caregiver-row>span:last-child{display:none}.m27-caregiver-row .avatar{width:40px!important;height:40px!important}}
.m29-vet-map-frame{width:100%;height:100%;border:0;display:block;background:#eef2ec}

/* v32 — app-like interactive nearby-vet map */
.m32-vet-searchbar{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px;align-items:center;margin-bottom:10px}
.m32-vet-searchbar .m27-search{margin:0;height:46px;border-radius:16px}
.m32-locate{width:46px;height:46px;border:0;border-radius:15px;background:#1f5d38;color:#fff;display:grid;place-items:center}
.m32-locate .mxh-ico{width:21px;height:21px;stroke-width:2.4}.m32-locate:disabled{opacity:.55}
.m32-map-shell{position:relative;height:390px;border:1px solid #ded8cf;border-radius:20px;overflow:hidden;background:#e9eee9;margin-bottom:10px;box-shadow:0 2px 12px rgba(43,53,46,.05)}
.m32-map{position:absolute;inset:0;z-index:0}.m32-map .leaflet-container{font-family:inherit}.m32-map .leaflet-control-zoom{border:0!important;box-shadow:0 2px 12px #0002!important}.m32-map .leaflet-control-zoom a{border:0!important;color:#30332f!important}.m32-map .leaflet-control-attribution{font-size:8px!important;background:rgba(255,255,255,.76)!important}
.m32-recenter{position:absolute;right:13px;bottom:14px;z-index:500;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#285e3b;box-shadow:0 3px 16px #0003;display:grid;place-items:center}.m32-recenter .mxh-ico{width:20px;height:20px;stroke-width:2.4}
.m32-pin-wrap,.m32-origin-wrap{background:transparent!important;border:0!important}.m32-vet-pin{width:36px;height:36px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);background:#1f5d38;border:3px solid #fff;box-shadow:0 3px 10px #0004;display:grid;place-items:center;color:#fff}.m32-vet-pin .mxh-ico{width:18px;height:18px;transform:rotate(45deg);stroke-width:2.4}.m32-vet-pin.active{background:#7f4f3b;transform:rotate(-45deg) scale(1.12)}
.m32-origin-dot{width:22px;height:22px;border-radius:50%;background:#4285f4;border:4px solid #fff;box-shadow:0 2px 8px #0004;display:block;position:relative}.m32-origin-dot:after{content:'';position:absolute;inset:-8px;border-radius:50%;background:#4285f42c;z-index:-1}
.m32-map-card{position:absolute;left:10px;right:10px;bottom:10px;z-index:600;background:#fff;border-radius:17px;padding:13px 14px;box-shadow:0 8px 28px rgba(0,0,0,.2)}.m32-map-card[hidden]{display:none!important}.m32-card-close{position:absolute;right:8px;top:7px;width:28px;height:28px;border:0;background:#f3f1ec;border-radius:50%;font-size:20px;color:#5f5a54}.m32-card-title{display:grid;grid-template-columns:38px 1fr;gap:10px;padding-right:25px;align-items:center}.m32-card-title>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef2e8;color:#315a36}.m32-card-title>span .mxh-ico{width:20px;height:20px;stroke-width:2.4}.m32-card-title b,.m32-card-title small{display:block}.m32-card-title b{font-size:14px;line-height:1.3}.m32-card-title small{font-size:10px;color:#7d756d;margin-top:3px;line-height:1.35}.m32-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.m32-card-meta span{background:#f3f1ec;border-radius:999px;padding:5px 8px;font-size:9px;color:#605b55}.m32-route{display:block;text-align:center;text-decoration:none;background:#1f5d38;color:#fff!important;border-radius:11px;padding:9px 12px;font-size:11px;font-weight:850}
.m32-filters{margin:0 0 10px}.m32-vet-list{display:grid;gap:8px}.m32-vet-card{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) 12px;gap:10px;align-items:center;text-align:left;border:1px solid #e6ded4;background:#fff;border-radius:15px;padding:10px 11px;color:#292b28;font:inherit}.m32-vet-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef2e8;color:#315a36}.m32-vet-icon .mxh-ico{width:20px;height:20px;stroke-width:2.4}.m32-vet-copy{min-width:0}.m32-vet-copy b,.m32-vet-copy small,.m32-vet-copy em{display:block;overflow:hidden;text-overflow:ellipsis}.m32-vet-copy b{font-size:12.5px;white-space:nowrap}.m32-vet-copy small{font-size:9.5px;color:#7e766e;margin-top:2px;white-space:nowrap}.m32-vet-copy em{font-size:9px;color:#2c7047;margin-top:4px;font-style:normal}.m32-chevron{font-size:22px;color:#8a837a}.m32-retry{margin-top:10px;border:0;background:#1f5d38;color:#fff;border-radius:10px;padding:8px 12px;font:inherit;font-size:10px;font-weight:850}
@media(max-width:430px){.m32-map-shell{height:350px}.m32-vet-searchbar{grid-template-columns:minmax(0,1fr) 44px}.m32-locate{width:44px;height:44px}.m32-vet-searchbar .m27-search{height:44px}}

/* v33: nearby vet loading + support icon polish */
.m27-vet-skeleton{display:grid;gap:5px;place-items:center;min-height:78px}.m27-vet-skeleton b{font-size:12px;color:#4e5a50}.m27-vet-skeleton small{font-size:9.5px;color:#8a837b}.m27-row[data-key="contact"] .ico .mxh-ico{width:20px;height:20px;stroke-width:2.25}
/* V34 — reliable in-app Google Maps vet search */
.m34-vet-searchbar{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px;align-items:center;margin-bottom:10px}.m34-vet-searchbar .m27-search{margin:0;height:46px;border-radius:16px}.m34-locate{width:46px;height:46px;border:0;border-radius:15px;background:#1f5d38;color:#fff;display:grid;place-items:center}.m34-locate .mxh-ico{width:21px;height:21px;stroke-width:2.4}.m34-locate:disabled{opacity:.55}.m34-google-map-shell{position:relative;height:min(62vh,560px);min-height:430px;border:1px solid #ded8cf;border-radius:20px;overflow:hidden;background:#eef2ec;box-shadow:0 2px 12px rgba(43,53,46,.05)}.m34-google-map{position:absolute;inset:0;width:100%;height:100%;border:0;background:#eef2ec}.m34-map-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f7f4ee;color:#746d65;font-size:12px;pointer-events:none}.m34-map-loading[hidden]{display:none!important}.m34-map-actions{display:flex;gap:7px;overflow:auto;padding:10px 0 0}.m34-map-actions button{border:0;border-radius:999px;background:#f0ede7;padding:8px 12px;white-space:nowrap;font:inherit;font-size:11px}.m34-map-actions button.active{background:#1f5d38;color:#fff}.m34-vet-status{font-size:11px;line-height:1.5;color:#5f584f;margin:10px 2px 0}.m34-map-note{font-size:9px;line-height:1.45;color:#8a827a;margin:7px 2px 0}@media(max-width:430px){.m34-google-map-shell{height:58vh;min-height:390px}.m34-vet-searchbar{grid-template-columns:minmax(0,1fr) 44px}.m34-locate{width:44px;height:44px}.m34-vet-searchbar .m27-search{height:44px}}


/* ===== V35 Nearby Vet: Google-style result sheet ===== */
.m35-vet-searchbar{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px;align-items:center}
.m35-vet-searchbar .m27-search{margin:0;height:46px;border-radius:16px}
.m35-locate{width:46px;height:46px;border:0;border-radius:15px;background:#1f5d38;color:#fff;display:grid;place-items:center;box-shadow:0 3px 10px rgba(31,93,56,.13)}
.m35-locate .mxh-ico{width:21px;height:21px;stroke-width:2.4}
.m35-locate:disabled{opacity:.55}.m35-locate.loading .mxh-ico{animation:m35pulse 1s ease-in-out infinite}
@keyframes m35pulse{50%{opacity:.4;transform:scale(.92)}}
.m35-location-copy{font-size:10.5px;line-height:1.5;color:#777066;margin:8px 2px 11px}
.m35-map-shell{height:310px;position:relative;border:1px solid #ded8cf;border-radius:19px;overflow:hidden;background:#eef2ec;box-shadow:0 2px 10px rgba(43,53,46,.05)}
.m35-map{position:absolute;inset:0;width:100%;height:100%;border:0;background:#eef2ec}
.m35-map-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f7f4ee;color:#746d65;font-size:12px;pointer-events:none}
.m35-map-loading[hidden]{display:none!important}
.m35-results-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:18px 1px 10px}
.m35-results-head small{display:block;font-size:10px;color:#8b8278;font-weight:750;margin-bottom:3px}
.m35-results-head h2{font-size:17px;line-height:1.3;margin:0;color:#2f312e}
.m35-sort{display:flex;gap:5px;overflow:auto;max-width:190px}
.m35-sort button{border:0;border-radius:999px;background:#f0ede7;color:#625d57;padding:7px 10px;font:inherit;font-size:10px;white-space:nowrap}
.m35-sort button.active{background:#1f5d38;color:#fff}
.m35-vet-list{display:grid;gap:9px}
.m35-vet-skeleton,.m35-vet-empty{display:grid;place-items:center;gap:4px;min-height:94px;border:1px solid #e4dcd2;border-radius:16px;background:#fff;text-align:center;padding:18px;color:#6f675f}
.m35-vet-skeleton b,.m35-vet-empty b{font-size:13px;color:#40433e}.m35-vet-skeleton small,.m35-vet-empty small{font-size:10.5px;line-height:1.45}
.m35-vet-empty button{border:0;border-radius:11px;background:#1f5d38;color:#fff;padding:9px 13px;font:inherit;font-size:11px;font-weight:800;margin-top:5px}
.m35-vet-card{border:1px solid #e1d8ce;border-radius:17px;background:#fff;padding:13px 13px 11px;box-shadow:0 2px 8px rgba(41,50,44,.035);transition:border-color .15s ease,box-shadow .15s ease}
.m35-vet-card.selected{border-color:#759376;box-shadow:0 0 0 2px rgba(69,101,70,.09)}
.m35-vet-card-top{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px}
.m35-vet-num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf2e7;color:#315b35;font-size:11px;font-weight:850;margin-top:1px}
.m35-vet-main{min-width:0}.m35-vet-main h3{margin:0;color:#292b28;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.m35-en{margin:2px 0 0;color:#706a63;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}
.m35-meta{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:6px;color:#756e66;font-size:10.5px}
.m35-rating{display:inline-flex;align-items:center;gap:3px;color:#9b6928}.m35-rating b{color:#4d4944;font-size:11px}.m35-rating span{font-size:12px;line-height:1}
.m35-reviews{color:#756e66}.m35-status-line{display:flex;gap:6px;align-items:center;margin-top:6px}
.m35-open,.m35-24h{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;background:#f1eee8;color:#756e66;font-size:9px;font-weight:800}
.m35-open.open{background:#e9f2e5;color:#2f6a3d}.m35-open.closed{background:#f3e7e2;color:#8a4b3b}.m35-24h{background:#e9efe6;color:#355b39}
.m35-address{font-size:10.5px;line-height:1.5;color:#716b64;margin:9px 0 0;padding-left:40px}
.m35-vet-actions{display:flex;gap:7px;margin:10px 0 0;padding-left:40px}
.m35-vet-actions button,.m35-vet-actions a{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dbe4d7;border-radius:11px;background:#f4f8f1;color:#315d38;padding:0 11px;font:inherit;font-size:10.5px;font-weight:800;text-decoration:none}
.m35-vet-actions a{background:#fff;border-color:#e3dcd2;color:#5e554d}
.m35-vet-actions .mxh-ico{width:15px;height:15px;stroke-width:2.4}
.m35-source{font-size:9px;line-height:1.55;color:#90877f;margin:12px 2px 0}
@media(max-width:430px){
 .m35-vet-searchbar{grid-template-columns:minmax(0,1fr) 44px}.m35-locate{width:44px;height:44px}.m35-vet-searchbar .m27-search{height:44px}
 .m35-map-shell{height:275px}
 .m35-results-head{grid-template-columns:1fr;align-items:start}.m35-sort{max-width:100%}
}

/* Keep the original React invitation form visible when opened from More. */
.profile-real.m27-more-mounted.m53-show-caregivers>.caregiver-manager{display:block!important}
.profile-real.m53-show-caregivers>.m27-more-home{display:none!important}
.m53-caregiver-back{margin-bottom:16px}

/* V57: restore native cat/account controls through a visible More entry. */
.profile-real.m27-more-mounted.m57-show-account>.profile-card{display:grid!important}
.profile-real.m27-more-mounted.m57-show-account>.cat-settings-card{display:block!important}
.profile-real.m57-show-account>.m27-more-home{display:none!important}
.m57-account-back{margin-bottom:16px}

/* mewday-aftercare-current.css */
.mxa-bg{position:fixed;inset:0;z-index:120000;background:rgba(36,38,34,.46);display:grid;place-items:end center;padding:14px;padding-bottom:max(14px,env(safe-area-inset-bottom));backdrop-filter:blur(4px)}.mxa-card{position:relative;width:min(100%,520px);background:#fffdf9;border:1px solid #e9e1d8;border-radius:28px;padding:25px 22px 20px;color:#27251f;box-shadow:0 26px 70px rgba(38,34,28,.22);font-family:inherit}.mxa-close{position:absolute;right:15px;top:15px;width:36px;height:36px;border:0;border-radius:50%;background:#f2eee8;color:#70665d;font-size:25px;line-height:1}.mxa-icon{width:52px;height:52px;border-radius:50%;background:#eaf4e8;color:#1f6a3d;display:grid;place-items:center;margin-bottom:14px}.mxa-icon svg,.mxa-actions svg,.mxa-gift svg,.mxa-success>svg,.mxa-help>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}.mxa-kicker{margin:0 0 7px;letter-spacing:.13em;font-size:10px;font-weight:900;color:#7c746b}.mxa-content h2{margin:0;font-size:24px;line-height:1.25;font-weight:900}.mxa-content>p,.mxa-help p,.mxa-success p{margin:10px 0 18px;color:#716960;font-size:13px;line-height:1.7}.mxa-content p strong{display:block;margin-top:8px;color:#3d392f}.mxa-actions{display:grid;gap:9px}.mxa-actions button,.mxa-wa,.mxa-done{min-height:50px;border:0;border-radius:15px;padding:12px 14px;font:inherit;font-size:14px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:9px}.mxa-actions svg{width:21px;height:21px}.mxa-yes,.mxa-review,.mxa-wa,.mxa-done{background:#1f653d;color:#fff}.mxa-no{background:#fff;border:1px solid #ded6cc!important;color:#4d4640}.mxa-foot{display:block;text-align:center;margin-top:15px;color:#9a9188;font-size:10px}.mxa-success,.mxa-help{text-align:center;padding-top:3px}.mxa-success>svg,.mxa-help>svg{width:48px;height:48px;color:#1f653d;margin-bottom:9px}.mxa-help>svg{color:#a55c32}.mxa-wa,.mxa-done{width:100%}.mxa-later,.mxa-skip{width:100%;border:0;background:transparent;color:#82786f;padding:13px;font:inherit;font-size:12px;font-weight:800}.mxa-gift{display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;background:#fff4df;border:1px solid #f0dfc4;border-radius:16px;padding:12px;margin:14px 0}.mxa-gift span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#9a5d28}.mxa-gift b,.mxa-gift small{display:block}.mxa-gift small{color:#796f65;margin-top:2px;font-size:11px}.mxa-actions.review{margin-top:10px}.mxa-claim{background:#fff;border:1px solid #a7bea8!important;color:#1f653d}.mxa-claim[hidden]{display:none}.mxa-error{margin:12px 0 0!important;color:#9b3c34!important;background:#fff0ed;border-radius:12px;padding:10px!important;font-size:11px!important}.mxa-actions button:disabled,.mxa-wa:disabled{opacity:.6}.mxa-skip{margin-top:4px}@media(min-width:680px){.mxa-bg{place-items:center}.mxa-card{padding:30px 30px 23px}.mxa-content h2{font-size:27px}}

.mxa-feedback-label{display:block;margin:15px 0 7px;font-size:12px;font-weight:850;color:#4d4640}.mxa-feedback{box-sizing:border-box;width:100%;min-height:132px;resize:vertical;border:1px solid #ddd5cb;border-radius:16px;background:#fff;padding:13px 14px;color:#2f2b27;font:inherit;font-size:14px;line-height:1.6;outline:none}.mxa-feedback:focus{border-color:#7ea88a;box-shadow:0 0 0 3px rgba(71,126,86,.11)}.mxa-feedback::placeholder{color:#aaa097}.mxa-feedback-meta{display:flex;justify-content:space-between;gap:12px;margin:6px 2px 14px;color:#9a9188;font-size:10px}.mxa-submit-feedback{width:100%;min-height:50px;border:0;border-radius:15px;background:#1f653d;color:#fff;padding:12px 14px;font:inherit;font-size:14px;font-weight:850}.mxa-submit-feedback:disabled{opacity:.6}.mxa-photo-note{margin:10px 0 0!important;text-align:center;color:#6d776d!important;font-size:11px!important;font-weight:800}.mxa-improve{padding-top:8px}.mxa-improve h2{margin-top:0}

/* mewday-visual-system-v36.css */
/* Mewday Visual System v1.0 — V36 design-only polish + live guide presentation */
:root{
  --mv-canvas:#FBF8F3;
  --mv-surface:#FFFDFC;
  --mv-surface-soft:#F6F1EA;
  --mv-border:#E9DFD4;
  --mv-text:#29251F;
  --mv-text-2:#746D65;
  --mv-muted:#706B61;
  --mv-green:#205E3E;
  --mv-green-2:#2B6A49;
  --mv-green-soft:#EDF5EC;
  --mv-peach:#F8EEE6;
  --mv-warn:#9A553E;
  --mv-r-hero:20px;
  --mv-r-card:16px;
  --mv-r-small:14px;
}
html,body{background:var(--mv-canvas)!important;color:var(--mv-text)!important}
.real-app,.m27-more-home,.m27-sheet,.mxf-food-v23,.mx-health-v19{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang HK","Noto Sans TC","Microsoft JhengHei",sans-serif!important;color:var(--mv-text)!important}
.real-app h1,.real-app h2,.real-app h3,.m27-more-home h1,.m27-more-home h2,.m27-more-home h3,.m27-sheet h1,.m27-sheet h2,.m27-sheet h3,.mxf-food-v23 h1,.mxf-food-v23 h2,.mxf-food-v23 h3,.mx-health-v19 h1,.mx-health-v19 h2,.mx-health-v19 h3{font-family:inherit!important;letter-spacing:-.02em}
.real-app .wordmark span{font-family:Georgia,"Times New Roman",serif!important}
.real-app .topbar,.m27-sheet-head{background:rgba(255,253,252,.94)!important;border-color:var(--mv-border)!important;box-shadow:none!important}
.real-app .bottom-nav{background:rgba(255,253,252,.96)!important;border-color:var(--mv-border)!important;box-shadow:none!important}
.real-app .bottom-nav button{color:#777168!important}.real-app .bottom-nav button.active{color:var(--mv-green)!important}
.real-app .bottom-nav .app-icon{stroke-width:2!important}
.real-app .page-heading h1{font-family:inherit!important;font-weight:750!important;letter-spacing:-.035em;color:var(--mv-text)!important}
.real-app .eyebrow{color:var(--mv-muted)!important;letter-spacing:.12em!important}

/* Flat card system */
.real-app .hero-card,.real-app .task-panel,.real-app .quick-panel,.real-app .reading-panel,.real-app .monthly-teaser,.real-app .profile-card,.real-app .record-card,.real-app .academy-hero,.real-app .care-intro,.real-app .diary-hero,.real-app .report-hero,
.mx-home-shortcut,.mx-visit-card,.mx-health-summary-card,.mxh-section,.mxh-profile,.mxf-section,.m27-row,.m27-cat-card,.m27-care-item,.m27-setting-row,.m27-caregiver-row,.m35-vet-card{
  box-shadow:none!important;
  border:1px solid var(--mv-border)!important;
  background:var(--mv-surface)!important;
}
.real-app .hero-card,.real-app .academy-hero,.real-app .care-intro,.real-app .diary-hero,.real-app .report-hero{border-radius:var(--mv-r-hero)!important}
.real-app .task-panel,.real-app .quick-panel,.real-app .reading-panel,.real-app .profile-card,.real-app .record-card,.mxh-section,.mxf-section{border-radius:var(--mv-r-card)!important}

/* Home — real cat + today, less dashboard-template feel */
.real-app .home-welcome{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;box-shadow:none!important;overflow:hidden!important}
.real-app .home-welcome .hero-copy h2{font-family:inherit!important;font-weight:780!important;letter-spacing:-.04em!important}
.real-app .home-welcome .hero-copy>p:not(.date-line),.real-app .date-line{color:var(--mv-text-2)!important}
.real-app .home-summary-strip{background:transparent!important;border-top:1px solid var(--mv-border)!important;border-bottom:1px solid var(--mv-border)!important;gap:0!important}
.real-app .home-summary-strip button{background:transparent!important;border:0!important;border-right:1px solid var(--mv-border)!important;border-radius:0!important;box-shadow:none!important}
.real-app .home-summary-strip button:last-child{border-right:0!important}
.real-app .home-summary-strip span{color:var(--mv-muted)!important}.real-app .home-summary-strip b{color:var(--mv-text)!important}
.real-app .handover-home-banner,.real-app .next-important-card,.real-app .moment-banner,.real-app .desex-advice{box-shadow:none!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-card)!important}
.real-app .handover-home-banner{background:var(--mv-green-soft)!important;color:var(--mv-text)!important}
.real-app .moment-banner,.real-app .desex-advice{background:var(--mv-surface-soft)!important;color:var(--mv-text)!important}
.real-app .next-important-card{background:var(--mv-surface)!important}
.real-app .task-panel,.real-app .quick-panel,.real-app .reading-panel{background:var(--mv-surface)!important}
.real-app .task-card{border-color:var(--mv-border)!important}.real-app .task-copy h3{color:var(--mv-text)!important}.real-app .task-copy p{color:var(--mv-text-2)!important}
.real-app .record-card{color:var(--mv-text)!important}.real-app .record-card *{text-shadow:none!important}.real-app .record-card p,.real-app .record-card span,.real-app .record-card small{color:var(--mv-text-2)!important}.real-app .record-card b,.real-app .record-card strong{color:var(--mv-text)!important}

/* Shared functional icons — top level only uses green soft circle */
.mxh-ico,.m27-row .ico svg,.mxf-food-v23 svg{fill:none!important;stroke:currentColor!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.m27-row .ico,.mxf-tool-grid i,.mxh-tool-grid i{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important;border-radius:50%!important}
.m27-row .ico svg,.mxf-tool-grid i .mxh-ico,.mxh-tool-grid i .mxh-ico{stroke-width:2.2!important}

/* Health — remove gradients / mixed pastel icon language */
.mx-health-v19{--mx:#205E3E;--mx-soft:#EDF5EC;--mx-line:#E9DFD4;--mx-text:#29251F;--mx-muted:#746D65}
.mxh-profile{border-radius:var(--mv-r-card)!important;padding:12px!important}.mxh-profile-photo{border-radius:14px!important;background:#eee9e1!important}.mxh-profile h2{font-family:inherit!important;font-weight:750!important;color:var(--mv-text)!important}.mxh-profile p,.mxh-profile small{color:var(--mv-text-2)!important}
.mxh-status,.mx-health-v19 .mxh-status.ok,.mx-health-v19 .mxh-status.caution,.mx-health-v19 .mxh-status.alert{background:var(--mv-surface-soft)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-card)!important}
.mxh-status-icon{background:var(--mv-green)!important;color:#fff!important}.mxh-status h2,.mx-health-v19 .mxh-status.ok h2,.mx-health-v19 .mxh-status.caution h2,.mx-health-v19 .mxh-status.alert h2{color:var(--mv-text)!important}.mxh-status p,.mxh-status b{color:var(--mv-text-2)!important}
.mxh-section{padding:16px!important}.mxh-head h2{font-weight:760!important;color:var(--mv-text)!important}.mxh-head button{color:var(--mv-green)!important}.mxh-sub{color:var(--mv-text-2)!important}
.mxh-tool-grid{gap:10px!important}.mxh-tool-grid button{min-height:92px!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-small)!important;background:#fff!important;padding:13px!important;box-shadow:none!important}.mxh-tool-grid i,.mx-health-v19 .mxh-tools .mxh-tool-grid button:nth-child(n) i{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}.mxh-tool-grid b{font-size:14px!important;font-weight:700!important;color:var(--mv-text)!important}.mxh-tool-grid small{font-size:11px!important;color:var(--mv-text-2)!important}
.mx-health-v19 .mxh-care-tip{background:var(--mv-surface-soft)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-card)!important}.mx-health-v19 .mxh-care-tip span{background:var(--mv-green-soft)!important;color:var(--mv-green)!important}.mx-health-v19 .mxh-care-tip p{color:var(--mv-text-2)!important}
.mxh-help{background:#F8EEE8!important;border:1px solid #ECDDD2!important;border-radius:var(--mv-r-card)!important}.mxh-help h2{color:var(--mv-text)!important}.mxh-help p{color:var(--mv-text-2)!important}.mxh-help a{background:var(--mv-green)!important;border-radius:var(--mv-r-small)!important}
.hero-paw{display:none!important}

/* Food — same visual system, no blue/purple/orange utility palette */
.mxf-food-v23{--mxf-ink:#29251F;--mxf-muted:#746D65;--mxf-card:#FFFDFC;--mxf-line:#E9DFD4;--mxf-green:#205E3E;--mxf-peach:#F8EEE6;background:var(--mv-canvas)!important}
.mxf-top h1{font-weight:780!important;letter-spacing:-.035em!important}.mxf-cat{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-hero)!important;padding:11px!important}.mxf-cat h2{font-weight:740!important}.mxf-cat p,.mxf-cat small{color:var(--mv-text-2)!important}.mxf-cat>button{background:var(--mv-green-soft)!important;color:var(--mv-green)!important;border-radius:999px!important}
.mxf-handover{background:var(--mv-peach)!important;border:1px solid #EEDFD4!important;color:var(--mv-text)!important;border-radius:var(--mv-r-card)!important}.mxf-handover small{color:var(--mv-text-2)!important}
.mxf-section{padding:16px!important}.mxf-section-head h2,.mxf-tools>h2{font-weight:760!important;color:var(--mv-text)!important}.mxf-section-head>span,.mxf-section-head button,.mxf-section-head small{color:var(--mv-text-2)!important}
.mxf-tool-grid{gap:10px!important}.mxf-tool-grid button{min-height:112px!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-small)!important;background:#fff!important;padding:13px!important;box-shadow:none!important}.mxf-tool-grid button:nth-child(n) i{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}.mxf-tool-grid b{font-size:14px!important;font-weight:700!important;color:var(--mv-text)!important}.mxf-tool-grid small{font-size:11px!important;line-height:1.45!important;color:var(--mv-text-2)!important}
.mxf-intake>div,.mxf-target-top>div,.mxf-target-mini div{background:var(--mv-surface-soft)!important;border-radius:var(--mv-r-small)!important}.mxf-intake span,.mxf-intake>div:nth-child(2) span,.mxf-target-top span,.mxf-target-top>div:nth-child(2) span,.mxf-calc-big span{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}.mxf-intake b,.mxf-target-top b,.mxf-target-mini b,.mxf-target-mini strong{color:var(--mv-text)!important}.mxf-intake strong small,.mxf-target-top em{color:var(--mv-text-2)!important}.mxf-bar,.mxf-bar.water{background:#ECE5DC!important}.mxf-bar i,.mxf-bar.water i{background:var(--mv-green)!important}
.mxf-observe i{background:var(--mv-surface-soft)!important;border-radius:12px!important}.mxf-observe i em{color:var(--mv-green)!important}.mxf-refill{background:var(--mv-peach)!important;border:1px solid #EEDFD4!important;border-radius:var(--mv-r-card)!important}.mxf-refill button{background:var(--mv-green)!important;border-radius:var(--mv-r-small)!important}
.mxf-timeline article,.mxf-recent article{border-color:#F0E9E1!important}.mxf-dot{border-color:var(--mv-green)!important;color:var(--mv-green)!important}.mxf-timeline article>button{background:var(--mv-green)!important;border-radius:12px!important}.mxf-timeline article>em{background:var(--mv-green-soft)!important;color:var(--mv-green)!important}

/* Diary — content/photo first, no gradient hero */
.real-app .diary-hero{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;box-shadow:none!important}.real-app .diary-hero h2{font-family:inherit!important;font-weight:760!important}.real-app .diary-hero p:last-child{color:var(--mv-text-2)!important}.real-app .diary-stats article{background:var(--mv-surface-soft)!important;border:0!important;border-radius:var(--mv-r-small)!important;box-shadow:none!important}.real-app .diary-stats strong{font-family:inherit!important;font-weight:760!important;color:var(--mv-text)!important}.real-app .diary-list{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-card)!important;box-shadow:none!important}.real-app .diary-date{background:var(--mv-surface-soft)!important;border-radius:var(--mv-r-small)!important}.real-app .diary-date b{font-family:inherit!important;font-weight:760!important}.real-app .diary-list h3{font-size:14px!important}.real-app .diary-list p{font-size:12px!important;color:var(--mv-text-2)!important}

/* More — quieter navigation, consistent hierarchy */
.profile-real.m27-more-mounted{max-width:620px!important;padding:0 14px 105px!important;background:var(--mv-canvas)!important}.m27-more-title{font-size:28px!important;font-weight:780!important;letter-spacing:-.04em!important;margin:6px 2px 14px!important}
.m27-cat-card{grid-template-columns:70px minmax(0,1fr) auto!important;gap:12px!important;background:var(--mv-surface)!important;border-radius:var(--mv-r-hero)!important;padding:11px!important;margin-bottom:24px!important}.m27-cat-card img{width:70px!important;height:70px!important;border-radius:14px!important}.m27-cat-card h2{font-size:17px!important;font-weight:730!important}.m27-cat-card p,.m27-cat-card small{font-size:12px!important;color:var(--mv-text-2)!important}.m27-cat-card button{background:var(--mv-green-soft)!important;color:var(--mv-green)!important;padding:8px 11px!important}
.m27-group{margin-bottom:24px!important}.m27-group>h3{font-size:15px!important;font-weight:760!important;margin:0 2px 10px!important;color:var(--mv-text)!important}.m27-list{gap:8px!important}.m27-row{grid-template-columns:42px minmax(0,1fr) 14px!important;gap:12px!important;border-radius:var(--mv-r-card)!important;padding:12px 13px!important;min-height:72px!important}.m27-row .ico{width:40px!important;height:40px!important}.m27-row .ico svg{width:21px!important;height:21px!important;stroke-width:2.2!important}.m27-row .copy b{font-size:15px!important;font-weight:700!important}.m27-row .copy small{font-size:11px!important;color:var(--mv-text-2)!important;line-height:1.4!important}.m27-row .arrow{color:var(--mv-muted)!important;font-size:20px!important}

/* Sheets */
.m27-sheet{background:var(--mv-canvas)!important}.m27-sheet-head{height:62px!important}.m27-sheet-head h1{font-size:17px!important;font-weight:760!important}.m27-sheet-head button{font-size:29px!important}.m27-sheet-body{padding:16px 18px 110px!important}.m27-search{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-small)!important;box-shadow:none!important}.m27-search input{font-size:14px!important;color:var(--mv-text)!important}.m27-search svg{stroke:var(--mv-text-2)!important}
.m27-care-hero{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-hero)!important}.m27-care-hero h2{font-weight:760!important}.m27-care-hero p{color:var(--mv-text-2)!important}.m27-care-item{border-radius:var(--mv-r-card)!important}.m27-care-item .cicon{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}.m27-care-item button{border-radius:999px!important;background:var(--mv-surface-soft)!important;border-color:var(--mv-border)!important}.m27-promo button{box-shadow:none!important;border-color:var(--mv-border)!important}
.m27-notice-intro,.m27-caregiver-hero{background:var(--mv-surface)!important;border:1px solid var(--mv-border)!important;border-radius:var(--mv-r-hero)!important;box-shadow:none!important}.m27-setting-row{border-radius:var(--mv-r-card)!important}.m27-setting-row .sicon,.m27-caregiver-icon{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}.m27-caregiver-hero h2{line-height:1.3!important;font-weight:760!important}.m27-caregiver-hero p{color:var(--mv-text-2)!important}.m27-caregiver-hero button{background:var(--mv-green)!important;border-radius:var(--mv-r-small)!important}.m27-caregiver-row{padding:13px!important}.m27-caregiver-row .avatar{background:var(--mv-green-soft)!important;color:var(--mv-green)!important}

/* Live Guide Library */
.m36-guide-shell{display:grid;gap:14px}.m36-guide-search{margin-bottom:0!important}.m36-guide-cats{display:flex;gap:7px;overflow:auto;padding:0 0 2px;scrollbar-width:none}.m36-guide-cats::-webkit-scrollbar{display:none}.m36-guide-cats button{flex:none;border:1px solid var(--mv-border);background:var(--mv-surface);color:var(--mv-text-2);border-radius:999px;padding:8px 12px;font:inherit;font-size:12px;font-weight:650}.m36-guide-cats button.active{background:var(--mv-green);border-color:var(--mv-green);color:#fff}.m36-guide-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;padding:4px 2px 2px}.m36-guide-head small{display:block;color:var(--mv-green);font-size:9px;letter-spacing:.14em;font-weight:800}.m36-guide-head h2{font-size:24px!important;font-weight:780!important;margin:4px 0 5px!important}.m36-guide-head p{max-width:36em;margin:0;color:var(--mv-text-2);font-size:12px;line-height:1.5}.m36-guide-count{flex:none;color:var(--mv-muted);font-size:11px;font-weight:700}.m36-guide-loading{display:grid;gap:4px;background:var(--mv-surface-soft);border-radius:var(--mv-r-small);padding:14px;color:var(--mv-text-2);font-size:12px}.m36-guide-loading b{color:var(--mv-text);font-size:13px}.m36-guide-loading small{font-size:11px}.m36-guide-list{display:grid;gap:9px}.m36-guide-card{width:100%;display:grid;grid-template-columns:88px minmax(0,1fr) 13px;gap:12px;align-items:center;text-align:left;background:var(--mv-surface);border:1px solid var(--mv-border);border-radius:var(--mv-r-card);padding:9px;color:var(--mv-text);font:inherit;box-shadow:none}.m36-guide-card>img,.m36-guide-placeholder{width:88px;height:76px;border-radius:12px;object-fit:cover;background:var(--mv-surface-soft);display:grid;place-items:center;overflow:hidden}.m36-guide-placeholder{color:var(--mv-green)}.m36-guide-placeholder .mxh-ico{width:25px;height:25px}.m36-guide-copy{min-width:0;display:block}.m36-guide-copy em{display:block;font-style:normal;color:var(--mv-green);font-size:9px;font-weight:800;margin-bottom:4px}.m36-guide-copy b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.38;font-weight:720}.m36-guide-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:var(--mv-text-2);font-size:10.5px;line-height:1.45}.m36-guide-arrow{font-size:20px;color:var(--mv-muted)}

/* Article reader — website content and real images stay visible */
.m36-article-sheet .m27-sheet-body{padding-top:0!important}.m36-reader{max-width:720px;margin:0 auto}.m36-reader-hero{display:block;width:calc(100% + 36px);max-height:330px;object-fit:cover;margin:0 -18px 0;border-radius:0 0 var(--mv-r-hero) var(--mv-r-hero);background:var(--mv-surface-soft)}.m36-reader-head{padding:22px 2px 14px}.m36-reader-head em{display:block;font-style:normal;color:var(--mv-green);font-size:10px;font-weight:800}.m36-reader-head h2{font-size:27px!important;line-height:1.25!important;font-weight:780!important;margin:5px 0 7px!important}.m36-reader-head small{color:var(--mv-muted);font-size:11px}.m36-reader-body{background:var(--mv-surface);border:1px solid var(--mv-border);border-radius:var(--mv-r-card);padding:18px 17px;color:var(--mv-text);font-size:14px;line-height:1.8}.m36-reader-body h1{display:none!important}.m36-reader-body h2{font-size:21px!important;line-height:1.4!important;margin:28px 0 9px!important;font-weight:760!important}.m36-reader-body h3{font-size:17px!important;line-height:1.45!important;margin:22px 0 8px!important;font-weight:740!important}.m36-reader-body p,.m36-reader-body li{font-size:14px!important;line-height:1.8!important;color:var(--mv-text-2)!important}.m36-reader-body ul,.m36-reader-body ol{padding-left:21px}.m36-reader-body img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:14px!important;margin:18px 0!important;background:var(--mv-surface-soft)!important}.m36-reader-body figure{margin:18px 0!important}.m36-reader-body figcaption{font-size:10px;color:var(--mv-muted);line-height:1.5;margin-top:6px}.m36-reader-body a{color:var(--mv-green)!important;text-underline-offset:3px}.m36-reader-body table{width:100%;border-collapse:collapse;display:block;overflow:auto}.m36-reader-body th,.m36-reader-body td{border-bottom:1px solid var(--mv-border);padding:9px;text-align:left;font-size:12px}.m36-reader-body .callout,.m36-reader-body blockquote{border:0;border-left:3px solid var(--mv-green);background:var(--mv-green-soft);border-radius:0 var(--mv-r-small) var(--mv-r-small) 0;padding:13px 14px;margin:18px 0}

/* Nearby vet result presentation, same card language */
.m35-map-shell{border-color:var(--mv-border)!important;border-radius:var(--mv-r-hero)!important;box-shadow:none!important}.m35-vet-card{border-radius:var(--mv-r-card)!important;background:var(--mv-surface)!important}.m35-vet-card.selected{border-color:#9DB4A2!important;box-shadow:0 0 0 2px rgba(32,94,62,.07)!important}.m35-vet-num{background:var(--mv-green-soft)!important;color:var(--mv-green)!important}.m35-open.open,.m35-24h{background:var(--mv-green-soft)!important;color:var(--mv-green)!important}.m35-vet-actions button{background:var(--mv-green-soft)!important;color:var(--mv-green)!important;border-color:#DCE8DB!important}.m35-vet-actions a{border-color:var(--mv-border)!important;color:var(--mv-text-2)!important}.m35-sort button.active{background:var(--mv-green)!important}.m35-locate{background:var(--mv-green)!important;box-shadow:none!important}

/* Remove decorative/template noise without changing behaviour */
.m27-guide-hero,.m27-guide-live{box-shadow:none!important}.m27-row .ico.peach,.m27-row .ico.green,.m27-row .ico.blue,.m27-row .ico.beige,.m27-row .ico.purple{background:var(--mv-green-soft)!important;color:var(--mv-green-2)!important}

@media(max-width:800px){
  body{background:var(--mv-canvas)!important}
  .real-app{padding-left:16px!important;padding-right:16px!important;background:var(--mv-canvas)!important}
  .real-app .topbar{margin-left:-16px!important;margin-right:-16px!important;padding-left:16px!important;padding-right:16px!important;height:60px!important}
  .real-app .page-heading{padding:18px 0 15px!important}.real-app .page-heading h1{font-size:27px!important}
  .real-app .home-welcome{border-radius:var(--mv-r-hero)!important}
  .real-app .task-panel,.real-app .quick-panel,.real-app .reading-panel{padding:16px!important;border-radius:var(--mv-r-card)!important}
  .mxf-food-v23{padding-left:0!important;padding-right:0!important}.mxf-section{margin-bottom:12px!important}
  .m27-sheet-body{padding-left:16px!important;padding-right:16px!important}
  .m36-guide-card{grid-template-columns:82px minmax(0,1fr) 11px!important}.m36-guide-card>img,.m36-guide-placeholder{width:82px!important;height:72px!important}
  .m36-reader-hero{width:calc(100% + 32px)!important;margin-left:-16px!important;margin-right:-16px!important}
}
@media(max-width:390px){
 .m27-cat-card{grid-template-columns:62px minmax(0,1fr)!important}.m27-cat-card img{width:62px!important;height:62px!important}.m27-cat-card button{grid-column:1/-1!important;justify-self:end!important}
 .m36-guide-card{grid-template-columns:72px minmax(0,1fr) 9px!important}.m36-guide-card>img,.m36-guide-placeholder{width:72px!important;height:66px!important}.m36-guide-copy small{-webkit-line-clamp:1!important}
}

/* mewday-commerce-v38.css */
/* Mewday V37 Commerce Integration — follows V36 visual system */
:root{
  --v37-bg:#fbf8f3;--v37-surface:#fffdfc;--v37-soft:#f6f1ea;--v37-border:#e9dfd4;
  --v37-text:#29251f;--v37-muted:#746d65;--v37-green:#205e3e;--v37-green2:#2b6a49;
  --v37-green-soft:#edf5ec;--v37-peach:#fbefe7;--v37-warn:#a64c36;
}
#commerce-v37-toast{position:fixed;z-index:10080;left:50%;bottom:90px;transform:translateX(-50%);border:0;border-radius:999px;padding:11px 16px;background:var(--v37-green);color:#fff;font:600 13px/1.3 system-ui,-apple-system,sans-serif;box-shadow:0 8px 24px #0002;max-width:min(88vw,420px)}
#commerce-v37-toast.bad{background:#8c3e32}
#v37-cart-fab{position:fixed;z-index:9900;right:18px;bottom:82px;display:flex;align-items:center;gap:8px;border:0;border-radius:16px;padding:11px 13px;background:var(--v37-green);color:#fff;box-shadow:0 8px 22px #0002;font:600 13px/1 system-ui,-apple-system,sans-serif}
#v37-cart-fab b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#fff2;color:#fff}#v37-cart-fab strong{font-size:13px}
#v37-overlay{position:fixed;z-index:10050;inset:0;background:#33271e55;display:flex;justify-content:center;align-items:flex-end;padding:0}
.v37-sheet{width:min(100%,560px);max-height:94dvh;overflow:auto;background:var(--v37-bg);border-radius:22px 22px 0 0;color:var(--v37-text);padding:0 20px 26px;box-shadow:0 -10px 30px #0002}
.v37-sheet>header{position:sticky;top:0;z-index:2;height:64px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;background:color-mix(in srgb,var(--v37-bg) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--v37-border);margin:0 -20px 18px;padding:0 12px}
.v37-sheet>header h2{text-align:center;font-size:18px;margin:0}.v37-sheet>header button{width:40px;height:40px;border:0;background:transparent;color:var(--v37-text);font-size:28px}
.v37-primary,.v37-secondary{width:100%;min-height:48px;border-radius:14px;font:700 15px/1.2 system-ui,-apple-system,sans-serif;padding:0 16px}.v37-primary{border:0;background:var(--v37-green);color:#fff}.v37-secondary{border:1px solid var(--v37-border);background:var(--v37-surface);color:var(--v37-green)}
.v37-primary:disabled{opacity:.45}.v37-note{color:var(--v37-muted);font-size:13px;line-height:1.55}.v37-empty,.v37-error{padding:18px;border:1px dashed var(--v37-border);border-radius:16px;color:var(--v37-muted);background:#fff9;text-align:center}
.v37-parent-badge{white-space:nowrap;border-radius:999px;background:var(--v37-green-soft);color:var(--v37-green);font-size:12px;font-weight:700;padding:7px 10px}
.v37-products{display:grid;gap:10px;margin:12px 0}.v37-product{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--v37-border);border-radius:16px;background:var(--v37-surface)}
.v37-product>img,.v37-catalog-item>img,.v37-cart-row>img,.v37-due-list img{width:68px;height:68px;border-radius:12px;object-fit:contain;background:#fff}.v37-product-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.v37-product-copy small,.v37-catalog-item small{font-size:11px;color:var(--v37-muted)}.v37-product-copy>b,.v37-catalog-item b{font-size:15px;line-height:1.3}.v37-price{display:flex;gap:7px;align-items:center;font-size:13px}.v37-price s,.v37-catalog-item s{color:#9b9188}.v37-price strong,.v37-catalog-item strong{color:var(--v37-green)}
.v37-variant{max-width:100%;border:0;padding:0;background:transparent;color:var(--v37-muted);font-size:12px;text-overflow:ellipsis}.v37-fixed-variant{font-size:12px;color:var(--v37-muted)}
.v37-product-actions{display:grid;gap:7px;justify-items:end}.v37-product-actions label{font-size:10px;color:var(--v37-muted);display:grid;gap:3px}.v37-product-actions input{width:54px;height:34px;border:1px solid var(--v37-border);border-radius:10px;text-align:center;background:#fff}.v37-product-actions button,.v37-catalog-item>button{border:0;border-radius:11px;background:var(--v37-green-soft);color:var(--v37-green);font-weight:700;padding:9px 11px}
.v37-baseline{margin:18px 0;padding:18px;border-radius:20px;background:var(--v37-peach);border:1px solid #f0dfd3}.v37-baseline.starter{background:var(--v37-green-soft);border-color:#dfeadd}.v37-baseline small{font-weight:700;letter-spacing:.08em;color:var(--v37-muted)}.v37-baseline h2{font-size:19px;margin:5px 0}.v37-baseline p{margin:0 0 14px;color:var(--v37-muted);font-size:13px;line-height:1.6}
.v37-refill{margin:28px 0 16px}.v37-due-list{display:grid;gap:8px;margin:10px 0 12px}.v37-due-list article{display:grid;grid-template-columns:50px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid var(--v37-border);border-radius:14px;background:var(--v37-surface)}.v37-due-list img{width:50px;height:50px}.v37-due-list b{display:block;font-size:14px}.v37-due-list small{color:var(--v37-muted)}.v37-refill-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.v37-refill-actions button{min-height:44px;border-radius:13px;border:1px solid var(--v37-border);background:var(--v37-surface);font-weight:650;color:var(--v37-text)}
.v37-filter{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:14px}.v37-filter input,.v37-filter select,.v37-groom input,.v37-groom textarea,.v37-staff-source input,.v37-staff-source select,.v37-staff-link input,.v37-staff-link select{border:1px solid var(--v37-border);border-radius:14px;background:#fff;color:var(--v37-text);font:inherit;padding:11px 12px}.v37-catalog{display:grid;gap:10px}.v37-catalog-item{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border-radius:16px;border:1px solid var(--v37-border);background:var(--v37-surface)}.v37-catalog-item>img{width:62px;height:62px}.v37-catalog-item>div{display:flex;flex-direction:column;min-width:0;gap:4px}.v37-catalog-item span{font-size:12px;color:var(--v37-muted)}
.v37-cart-list{display:grid;gap:10px}.v37-cart-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--v37-border);border-radius:16px;background:var(--v37-surface);position:relative}.v37-cart-row>img{width:58px;height:58px}.v37-cart-copy{display:flex;flex-direction:column;gap:3px}.v37-cart-copy small{color:var(--v37-muted);font-size:11px}.v37-cart-copy span{display:flex;gap:6px;font-size:12px}.v37-qty{display:flex;align-items:center;gap:7px}.v37-qty button{width:31px;height:31px;border-radius:999px;border:1px solid var(--v37-border);background:#fff}.v37-remove{position:absolute;right:12px;bottom:7px;border:0;background:transparent;color:#9a7266;font-size:10px}.v37-total{margin:16px 0;padding:14px;border-radius:16px;background:var(--v37-soft)}.v37-total>div{display:flex;justify-content:space-between;padding:5px 0}.v37-total .discount{color:var(--v37-green)}.v37-total .pay{border-top:1px solid var(--v37-border);margin-top:5px;padding-top:11px;font-size:16px}.v37-total .pay strong{font-size:20px;color:var(--v37-green)}
.v37-checkout-summary{display:grid;gap:0;border:1px solid var(--v37-border);border-radius:16px;overflow:hidden;background:var(--v37-surface)}.v37-checkout-summary>div{display:flex;justify-content:space-between;gap:15px;padding:12px;border-bottom:1px solid var(--v37-border)}.v37-checkout-summary>div:last-child{border-bottom:0}.v37-checkout-summary span{font-size:13px}.v37-checkout-summary small{display:block;color:var(--v37-muted);margin-top:3px}.v37-fps{margin:14px 0;padding:18px;border-radius:18px;background:var(--v37-green-soft)}.v37-fps small{display:block;color:var(--v37-muted)}.v37-fps strong{display:block;font-size:28px;letter-spacing:.04em;color:var(--v37-green);margin:3px 0 8px}.v37-fps p{margin:0;color:var(--v37-muted);font-size:13px}
.v37-staff-source{margin:14px 0;padding:16px;border-radius:16px;border:1px solid var(--v37-border);background:var(--v37-green-soft);display:grid;gap:10px}.v37-staff-source h3{margin:0}.v37-staff-source label,.v37-staff-link label{display:grid;gap:5px;font-size:12px;color:var(--v37-muted)}.v37-check{grid-template-columns:auto 1fr!important;align-items:center!important}.v37-staff-link{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;margin-top:10px;border-top:1px solid var(--v37-border)}
.v37-deworm{margin-left:8px;border:0;border-radius:999px;background:var(--v37-green-soft);color:var(--v37-green);font-weight:700;padding:7px 10px;font-size:11px}
.v37-groom{display:grid;gap:18px}.v37-groom section{display:grid;gap:10px}.v37-groom h3{margin:0;font-size:17px}.v37-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v37-groom label{display:grid;gap:5px;color:var(--v37-muted);font-size:12px}.v37-groom textarea{min-height:86px;resize:vertical}.v37-success{text-align:center;padding:32px 18px;border-radius:20px;background:var(--v37-green-soft)}.v37-success b{font-size:19px;color:var(--v37-green)}.v37-snooze{display:grid;gap:8px}.v37-snooze button{min-height:46px;border-radius:14px;border:1px solid var(--v37-border);background:var(--v37-surface);font-weight:650}
.v37-groom-reminder{margin:16px 20px;padding:18px;border:1px solid #edddd0;border-radius:20px;background:var(--v37-peach);color:var(--v37-text)}.v37-groom-reminder>small{color:var(--v37-muted);font-weight:700;letter-spacing:.08em}.v37-groom-reminder h2{font-size:19px;margin:5px 0}.v37-groom-reminder p{font-size:13px;color:var(--v37-muted);margin:0 0 12px}.v37-groom-reminder>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v37-groom-reminder button{min-height:42px;border-radius:13px;border:1px solid var(--v37-border);background:#fff;font-weight:700}.v37-groom-reminder button:first-child{background:var(--v37-green);border-color:var(--v37-green);color:#fff}
@media(max-width:430px){.v37-sheet{width:100%;padding-left:16px;padding-right:16px}.v37-product{grid-template-columns:58px minmax(0,1fr);}.v37-product>img{width:58px;height:58px}.v37-product-actions{grid-column:1/-1;grid-template-columns:1fr auto;align-items:end;justify-items:stretch}.v37-product-actions button{height:40px}.v37-catalog-item{grid-template-columns:56px minmax(0,1fr)}.v37-catalog-item>button{grid-column:2}.v37-grid{grid-template-columns:1fr}.v37-staff-link{grid-template-columns:1fr}.v37-cart-row{grid-template-columns:50px minmax(0,1fr)}.v37-cart-row>img{width:50px;height:50px}.v37-qty{grid-column:2}.v37-remove{bottom:14px}.v37-filter{grid-template-columns:1fr}.v37-groom-reminder{margin-left:12px;margin-right:12px}}

/* V38 staff controls */
.v38-staff-control-panel{margin:14px 0 18px;padding:16px;border:1px solid var(--v37-border);border-radius:20px;background:var(--v37-surface);display:grid;gap:14px}
.v38-staff-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.v38-staff-head h3{margin:2px 0 4px;font-size:20px}.v38-staff-head p{margin:0;color:var(--v37-muted);font-size:12px;line-height:1.55}.v38-staff-head>span{white-space:nowrap;background:var(--v37-green-soft);color:var(--v37-green);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.v38-staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v38-admin-card{padding:14px;border:1px solid var(--v37-border);border-radius:16px;background:var(--v37-bg);display:grid;gap:10px}.v38-admin-card h4{margin:0;font-size:15px;color:var(--v37-text)}.v38-admin-card label{display:grid;gap:5px;font-size:12px;color:var(--v37-muted)}.v38-admin-card input,.v38-admin-card select{width:100%;box-sizing:border-box;border:1px solid var(--v37-border);border-radius:12px;background:#fff;color:var(--v37-text);padding:10px 11px;font:inherit}.v38-admin-card small{font-size:11px;line-height:1.5;color:var(--v37-muted)}.v38-check{grid-template-columns:auto 1fr!important;align-items:center!important}.v38-check input{width:auto}.v38-mini-list{display:grid;gap:8px}.v38-mini-list>div{display:grid;gap:2px;padding-bottom:8px;border-bottom:1px solid var(--v37-border)}.v38-mini-list>div:last-child{border-bottom:0;padding-bottom:0}.v38-mini-list b{font-size:13px}.v38-mini-list span{font-size:11px;color:var(--v37-muted)}.v38-intent-status{display:grid;gap:3px;padding:10px;border-radius:12px;background:var(--v37-green-soft)}.v38-intent-status b{font-size:12px;color:var(--v37-green);line-height:1.45}.v38-status-row{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:12px;background:var(--v37-soft);font-size:12px}.v38-status-row b{color:var(--v37-green)}.v38-admin-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.v38-admin-actions button{min-height:38px;border:1px solid var(--v37-border);border-radius:11px;background:#fff;color:var(--v37-text);font-size:11px;font-weight:650;padding:7px}.v38-admin-actions button:nth-child(2){color:#8c3e32}
.v38-staff-alerts{margin:14px 0 18px;padding:16px;border:1px solid var(--v37-border);border-radius:18px;background:var(--v37-surface)}.v38-alert-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.v38-alert-head h2{font-size:18px;margin:2px 0}.v38-alert-head>small{max-width:280px;color:var(--v37-muted);font-size:11px;line-height:1.45;text-align:right}.v38-alert-list{display:grid;gap:7px}.v38-alert-list article{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 12px;border-radius:13px;background:var(--v37-soft)}.v38-alert-list article>div{display:grid;gap:2px}.v38-alert-list b{font-size:13px}.v38-alert-list span,.v38-alert-list time{font-size:11px;color:var(--v37-muted)}.v38-alert-list time{white-space:nowrap}
@media(max-width:650px){.v38-staff-grid{grid-template-columns:1fr}.v38-staff-head,.v38-alert-head{display:grid}.v38-alert-head>small{text-align:left;max-width:none}.v38-admin-actions{grid-template-columns:1fr}.v38-alert-list article{align-items:flex-start}.v38-alert-list time{font-size:10px}}

/* mewday-reference-v49.css */
/* Mewday V45: reference treatment, phone reading scale and navigation clearance. */
:root{--mv-canvas:#F8F6F1;--mv-surface:#F8F6F1;--mv-text:#352F29;--mv-text-2:#706B61;--mv-green:#435640;--mv-green-soft:#EEF2E8;--mv-peach:#EEF2E8}
/* Restore the reference's peach summaries, individual soft cards and semantic icon colours. */
.real-app .m27-cat-card,.m27-cat-card,.real-app .mxf-cat,.mxf-food-v23 .mxf-cat{background:linear-gradient(120deg,#F8F6F1,#EEF2E8)!important;border-color:#EEF2E8!important;border-radius:20px!important}
.m27-row{border-color:#EEF2E8!important;border-radius:18px!important;padding:14px!important;background:#F8F6F1!important}
.m27-list{gap:8px!important}.m27-group{margin-bottom:24px!important}
.m27-row .ico.peach{background:#F8F6F1!important;color:#706B61!important}
.m27-row .ico.green{background:#EEF2E8!important;color:#435640!important}
.m27-row .ico.blue{background:#F8F6F1!important;color:#435640!important}
.m27-row .ico.beige{background:#EEF2E8!important;color:#706B61!important}
.m27-row .ico.purple{background:#F8F6F1!important;color:#706B61!important}
.mxf-food-v23 .mxf-tool-grid button:nth-child(1) i{background:#EEF2E8!important;color:#435640!important}
.mxf-food-v23 .mxf-tool-grid button:nth-child(2) i{background:#F8F6F1!important;color:#435640!important}
.mxf-food-v23 .mxf-tool-grid button:nth-child(3) i{background:#F8F6F1!important;color:#706B61!important}
.mxf-food-v23 .mxf-tool-grid button:nth-child(4) i{background:#EEF2E8!important;color:#706B61!important}
.mxf-food-v23 .mxf-tool-grid i .mxh-ico,.m27-row .ico svg{stroke-width:2!important}
.mxf-food-v23 .mxf-intake>div,.mxf-food-v23 .mxf-target-top>div{background:#F8F6F1!important;border:1px solid #EEF2E8!important}
.mxf-food-v23 .mxf-intake>div:first-child span,.mxf-food-v23 .mxf-target-top>div:first-child span,.mxf-calc-mock .mxf-calc-big article:first-child span{background:#F8F6F1!important;color:#706B61!important}
.mxf-food-v23 .mxf-intake>div:nth-child(2) span,.mxf-food-v23 .mxf-target-top>div:nth-child(2) span,.mxf-calc-mock .mxf-calc-big article:nth-child(2) span{background:#F8F6F1!important;color:#435640!important}
.mxf-food-v23 .mxf-bar{background:#EEF2E8!important}.mxf-food-v23 .mxf-bar i{background:#706B61!important}
.mxf-food-v23 .mxf-bar.water{background:#F8F6F1!important}.mxf-food-v23 .mxf-bar.water i{background:#435640!important}
.mxf-refill{background:#F8F6F1!important}.m27-care-hero,.m27-notice-intro,.m27-caregiver-hero{background:linear-gradient(120deg,#F8F6F1,#EEF2E8)!important;border-color:#EEF2E8!important}
.m27-caregiver-hero{text-align:center!important}.m27-caregiver-icon{margin:0 auto 12px!important}
.m27-care-item .cicon,.m27-setting-row .sicon{background:#F8F6F1!important;color:#706B61!important}
.m27-guide-hero{background:#EEF2E8!important;border-radius:20px!important}
.mx-health-v19 .mxh-status.ok{background:#F8F6F1!important;border-color:#EEF2E8!important}
.mx-health-v19 .mxh-status.ok h2{color:#435640!important}
.mx-health-v19 .mxh-status.caution{background:#EEF2E8!important;border-color:#EEF2E8!important}
.mx-health-v19 .mxh-status.alert{background:#F8F6F1!important;border-color:#EEF2E8!important}
.mx-health-v19 .mxh-status.caution .mxh-status-icon{background:#706B61!important}
.mx-health-v19 .mxh-status.alert .mxh-status-icon{background:#706B61!important}
.mx-health-v19 .mxh-care-tip{background:#EEF2E8!important}
/* Phone legibility: descriptions are actual reading text, never 9–11px. */
.real-app,.m27-sheet,.mxf-food-v23,.mx-health-v19{font-size:16px;line-height:1.5}
.real-app :is(h1,h2,h3),.m27-sheet :is(h1,h2,h3),.mxf-food-v23 :is(h1,h2,h3),.mx-health-v19 :is(h1,h2,h3){letter-spacing:0!important}
.m27-more-title,.mxf-top h1,.real-app .page-heading h1{font-size:28px!important;line-height:1.3!important;font-weight:700!important}
.m27-sheet-head h1{font-size:18px!important;line-height:1.4!important}
.m27-group>h3,.mxf-section-head h2,.mxf-tools>h2,.mxh-head h2{font-size:18px!important;line-height:1.5!important;font-weight:700!important}
.m27-row .copy b,.m27-setting-row b,.m27-care-item b,.m27-caregiver-row b,.mxf-tool-grid b,.mxh-tool-grid b,.m36-guide-copy b,.m27-real-article b{font-size:16px!important;line-height:1.5!important;font-weight:650!important}
.m27-row .copy small,.m27-cat-card p,.m27-cat-card small,.m27-setting-row small,.m27-care-item small,.m27-caregiver-row small,.m27-caregiver-row em,.m27-guide-live small,.m27-real-article small,.m27-real-article em,.m27-caregiver-hero p,.m27-care-hero p,.mxf-tool-grid small,.mxh-tool-grid small,.mxh-profile p,.mxh-profile small,.mxf-cat p,.mxf-cat small,.mxf-handover small,.mxf-calc-cat small,.mxf-calc-cat em,.mxf-calc-big small,.mxf-calc-mini b,.mxf-calc-history b,.mxf-calc-history small,.mxf-calc-history em,.mxf-calc-tip,.m36-guide-copy small,.m36-guide-copy em,.m36-guide-head p,.m36-guide-head small,.m36-guide-count,.m36-guide-loading small,.m35-vet-card small,.m35-vet-card p,.real-app .task-copy p,.real-app .diary-list p{font-size:14px!important;line-height:1.55!important}
.m36-reader-body p,.m36-reader-body li,.m36-reader-body td,.m36-reader-body th{font-size:16px!important;line-height:1.8!important}
.m36-reader-body figcaption,.m36-reader-head small{font-size:14px!important;line-height:1.55!important}
.m27-search input,.real-app input,.real-app select,.real-app textarea,.m27-sheet input,.m27-sheet select,.m27-sheet textarea{font-size:16px!important}
.m27-cat-card h2,.mxf-cat h2,.mxh-profile h2{font-size:20px!important;line-height:1.4!important}
.m27-cat-card button,.mxf-cat>button,.m27-care-item button,.m36-guide-cats button,.mxf-db-tabs button,.m35-sort button{font-size:14px!important;line-height:1.4!important;min-height:44px!important}
.mxf-tool-grid button,.mxh-tool-grid button{height:auto!important;min-height:112px!important}
.m27-row .copy,.m27-care-item>div,.m27-setting-row>div,.mxf-cat>div,.mxf-timeline article>div,.m36-guide-copy{min-width:0!important}
.m27-row .copy small,.m36-guide-copy b,.m36-guide-copy small{display:block!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere}
.m27-setting-row{grid-template-columns:34px minmax(0,1fr) auto!important;min-height:74px!important}
.m27-care-item{height:auto!important}.m27-caregiver-row{grid-template-columns:44px minmax(0,1fr) 20px!important}.m27-caregiver-row>span:last-child{display:block!important}
.real-app .bottom-nav button{font-size:12px!important;line-height:1.4!important;min-height:52px!important}
.m36-guide-card{align-items:center!important;min-height:96px!important}
/* Expansion, never shrinking the text, handles small screens. */
@media(max-width:390px){
 .m27-cat-card{grid-template-columns:64px minmax(0,1fr)!important}.m27-cat-card img{width:64px!important;height:64px!important}.m27-cat-card button{grid-column:1/-1!important;justify-self:end!important}
 .mxf-cat{grid-template-columns:64px minmax(0,1fr)!important}.mxf-cat>button{grid-column:1/-1!important;justify-self:end!important}
 .mxf-calc-cat{grid-template-columns:58px minmax(0,1fr)!important}.mxf-calc-cat>button{grid-column:1/-1!important;justify-self:end!important}
 .m27-guide-hero{padding-right:18px!important;padding-top:170px!important}.m27-guide-hero img{top:0!important;bottom:auto!important;width:100%!important;height:150px!important;object-position:50% 40%!important}
 .mxf-calc-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* Subpages mounted outside the main tab retain the same reading scale. */
.mxf-plan-page,.mxf-obs-page,.mxf-calc-mock,.m36-reader,.v37-sheet{font-size:16px;line-height:1.5}
.mxf-plan-page small,.mxf-obs-page small,.mxf-plan-banner small,.mxf-plan-meal small,.mxf-obs-intro p,.mxf-obs-row small,.mxf-meal-tip li,.mxf-tip-visual span,.v37-note,.v37-product small,.v37-product p,.v37-parent-badge{font-size:14px!important;line-height:1.55!important}
.mxf-page-head h1{font-size:18px!important;line-height:1.4!important}
.mxf-plan-page button,.mxf-obs-page button,.v37-primary,.v37-secondary{font-size:16px!important;line-height:1.4!important;min-height:44px!important}
.mxf-plan-page input,.mxf-plan-page select,.mxf-obs-page input,.mxf-obs-page textarea,.v37-sheet input,.v37-sheet select{font-size:16px!important}
.mxf-obs-row{height:auto!important;min-height:80px!important}.mxf-obs-row>div{min-width:0!important}.mxf-obs-options{flex-wrap:wrap!important}
.mx-health-v19 .mxh-profile{position:relative!important;display:block!important;overflow:hidden!important;min-height:250px!important;padding:165px 18px 18px!important;border-radius:20px!important;isolation:isolate}
.mx-health-v19 .mxh-profile-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;z-index:-2}
/* Keep stored per-cat photo focal position. */
.mx-health-v19 .mxh-profile:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 35%,rgba(46,32,22,.7))}
.mx-health-v19 .mxh-profile h2{font-size:28px!important;color:#FFFFFF!important}.mx-health-v19 .mxh-profile p,.mx-health-v19 .mxh-profile small{color:#FFFFFF!important;font-size:15px!important}
.mx-health-v19 .mxh-profile>span{position:absolute;right:18px;bottom:22px;color:#FFFFFF!important}

.mxh-title h1{font-size:28px!important;line-height:1.3!important}.mxh-facts span,.mxh-facts small,.mxh-list small,.mxh-list em,.mxh-sub,.mxh-help p,.mxh-care-tip p{font-size:14px!important;line-height:1.55!important}.mxh-facts b,.mxh-list b{font-size:16px!important;line-height:1.5!important}
/* V41 screenshot corrections: target the actual legacy selector specificity. */
html.mewday-v16 .real-app :is(p,small,label,input,select,textarea),html.mewday-v16 .real-app .m27-more-home .copy small,html.mewday-v16 .real-app .mxf-food-v23 small,html.mewday-v16 .real-app .mx-health-v19 small{font-weight:400!important}
html.mewday-v16 .real-app :is(h1,h2,h3){font-weight:650!important;letter-spacing:0!important}
html.mewday-v16 .real-app .m27-more-home .m27-row .copy b,html.mewday-v16 .real-app .mxf-tool-grid b,html.mewday-v16 .real-app .mxh-tool-grid b{font-weight:600!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="guide"] .ico{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="care"] .ico{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="vets"] .ico,html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="contact"] .ico{background:#F8F6F1!important;color:#435640!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="caregivers"] .ico{background:#F8F6F1!important;color:#706B61!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="settings"] .ico,html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="app"] .ico{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app .m27-more-home .m27-row[data-key="faq"] .ico{background:#F8F6F1!important;color:#706B61!important}
html.mewday-v16 .real-app .m27-more-home .m27-row{padding:12px!important;min-height:72px!important;border-radius:16px!important}
html.mewday-v16 .real-app .m27-more-home .m27-group{margin-bottom:22px!important}
/* Stop the photo itself extending above its clipping container. */
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome{height:240px!important;border-radius:20px!important;margin-bottom:18px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome .cat-portrait{inset:0!important;padding:0!important;min-width:0!important;border-radius:0!important;overflow:hidden!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome .cat-portrait img{display:block!important;width:100%!important;height:100%!important;max-height:100%!important;border:0!important;border-radius:0!important;object-fit:cover!important;object-position:50% 50%!important;margin:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome .hero-copy{padding:48px 16px 16px!important;background:linear-gradient(180deg,transparent,rgba(35,26,20,.66))!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome .hero-copy h2{font-weight:500!important;font-size:28px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome .hero-pet-meta span{font-weight:400!important;font-size:14px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .task-panel{padding:14px!important;border-radius:16px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip{margin:16px 0 24px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip span{font-size:13px!important;font-weight:400!important;color:#706B61!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip b{font-size:14px!important;font-weight:500!important;line-height:1.5!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .section-title{margin-top:0!important}
/* Reference food screen has floating section headings and cards, not an outer card for every group. */
html.mewday-v16 .real-app .mxf-food-v23 .mxf-section{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin-bottom:24px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-section-head{margin-bottom:12px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline{background:#F8F6F1!important;border:1px solid #EEF2E8!important;border-radius:16px!important;padding:10px 12px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-tool-grid button{padding:14px!important;min-height:120px!important;border-color:#EEF2E8!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-tools{padding:0!important;border:0!important;background:transparent!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-intake>div{padding:14px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-target-mini div{background:#F8F6F1!important;border:1px solid #EEF2E8!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-tools{padding:0!important;border:0!important;background:transparent!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-tool-grid button{min-height:100px!important;padding:12px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-tool-grid i{border-radius:10px!important;background:transparent!important;margin-bottom:8px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-status p,html.mewday-v16 .real-app .mx-health-v19 .mxh-status b{font-weight:400!important;font-size:15px!important;line-height:1.6!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-help{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:16px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-help p{font-weight:400!important;margin:0!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-help a{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#FFFFFF!important;background:#435640!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-help a:last-child{background:#F8F6F1!important;color:#706B61!important;border:1px solid #d9c9b6!important}
/* Existing diary form stays intact, but no longer reads as two stacked heroes. */
html.mewday-v16 .real-app .memory-diary .memory-intro{padding:0!important;background:transparent!important;border:0!important;margin-bottom:12px!important}
html.mewday-v16 .real-app .memory-diary .memory-intro h2{font-size:20px!important;line-height:1.4!important;margin:0 0 6px!important}
html.mewday-v16 .real-app .memory-diary .memory-intro p{font-size:14px!important;font-weight:400!important}
html.mewday-v16 .real-app .memory-diary .memory-composer{padding:16px!important;background:#F8F6F1!important;border:1px solid #EEF2E8!important;border-radius:18px!important;gap:12px!important}
html.mewday-v16 .real-app .memory-diary .memory-photo-picker{min-height:96px!important;border-radius:14px!important;background:#F8F6F1!important}
html.mewday-v16 .real-app .memory-diary .memory-fields{gap:12px!important}
html.mewday-v16 .real-app .memory-diary .memory-fields input,html.mewday-v16 .real-app .memory-diary .memory-fields textarea{font-size:16px!important;font-weight:400!important;border-radius:12px!important}
html.mewday-v16 .real-app .memory-diary .memory-fields label{font-size:14px!important;font-weight:500!important}
html.mewday-v16 .real-app .memory-diary .memory-feed{margin-top:24px!important}
/* V42: one navigation clearance, one inter-section spacing rule. */
html.mewday-v16 .real-app{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
html.mewday-v16 .real-app .subpage{min-height:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b{gap:0!important;justify-content:flex-start!important;align-content:start!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b>*{margin-top:0!important;margin-bottom:16px!important;flex-grow:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip{margin:0 0 20px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .quick-panel{padding:0!important;margin-top:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .quick-panel .section-title{margin:0 0 12px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b>.quick-panel:empty{display:none!important}
html.mewday-v16 .real-app .mxf-food-v23,html.mewday-v16 .real-app .mx-health-v19,html.mewday-v16 .real-app .profile-real.m27-more-mounted,html.mewday-v16 .real-app .memory-diary{padding-bottom:0!important;margin-bottom:0!important}
html.mewday-v16 .real-app .mxf-food-v23>:last-child,html.mewday-v16 .real-app .mx-health-v19>:last-child,html.mewday-v16 .real-app .m27-more-home>:last-child{margin-bottom:0!important}
html.mewday-v16 .real-app .mx-health-v19{gap:16px!important}
html.mewday-v16 .real-app .m27-more-home .m27-list{gap:8px!important}
html.mewday-v16 .real-app .m27-more-home .m27-group{margin:0 0 20px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-section{margin:0 0 20px!important}
/* Fixed fullscreen sheets are outside .real-app and retain their own clearance. */
/* V43 reference pass: compact headers, photographic diary and balanced phone cards. */
html.mewday-v16 .real-app{--mv-green:#435640;--mv-text:#352F29;--mv-text-2:#706B61;background:#F8F6F1!important;padding-left:16px!important;padding-right:16px!important;padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}
html.mewday-v16 .real-app .topbar{margin-bottom:16px!important;height:60px!important;min-height:60px!important;background:#F8F6F1!important}
html.mewday-v16 .real-app .bottom-nav{padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;min-height:64px!important;background:#F8F6F1!important}
html.mewday-v16 .real-app .bottom-nav button{min-height:44px!important;font-weight:500!important}
html.mewday-v16 .real-app :is(.m27-more-title,.mxf-top h1,.mxh-title h1){font-size:26px!important;font-weight:650!important;margin:0 0 16px!important}
html.mewday-v16 .real-app .profile-real.m27-more-mounted{padding:0!important;border:0!important;background:transparent!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat){grid-template-columns:64px minmax(0,1fr) auto!important;gap:12px!important;padding:12px!important;margin-bottom:20px!important;border-radius:18px!important;min-height:100px!important}
html.mewday-v16 .real-app .m27-cat-card img,html.mewday-v16 .real-app .mxf-cat-photo{width:64px!important;height:76px!important;border-radius:12px!important;object-fit:cover!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat)>button{grid-column:auto!important;align-self:start!important;margin:0!important;max-width:76px!important;padding:7px 8px!important;font-size:13px!important;min-height:36px!important;font-weight:500!important;background:#F8F6F1!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat) h2{font-size:19px!important;font-weight:600!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat) p{font-size:14px!important;line-height:1.45!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat) small{font-size:13px!important;font-weight:400!important}
html.mewday-v16 .real-app :is(.m27-row,.mxf-tool-grid button,.mxh-tool-grid button){box-shadow:none!important;border:1px solid #EEF2E8!important;background:#F8F6F1!important}
html.mewday-v16 .real-app .m27-more-home .m27-row{min-height:76px!important;padding:12px!important}
html.mewday-v16 .real-app .m27-more-home .m27-row .copy small{font-size:14px!important;font-weight:400!important;line-height:1.45!important;margin-top:3px!important}
html.mewday-v16 .real-app .m27-more-home .m27-group>h3{font-size:16px!important;margin:0 0 10px!important;font-weight:600!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome{height:290px!important;margin-bottom:16px!important;box-shadow:none!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button{display:grid!important;grid-template-columns:40px minmax(0,1fr) 20px!important;gap:12px!important;padding:12px 0!important;min-height:72px!important;font-size:16px!important;font-weight:500!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button:after{content:'›';font-size:22px;font-weight:400;color:#706B61}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button i{width:40px!important;height:40px!important;font-size:14px!important;color:#706B61!important;background:#EEF2E8!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button small{font-size:14px!important;line-height:1.5!important;font-weight:400!important;margin-top:3px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card{padding:16px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;min-height:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card>div:first-child{grid-column:1/-1!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card section{width:auto!important;min-width:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card h2{font-size:18px!important;margin:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card p{font-size:14px!important;font-weight:400!important;margin:5px 0 0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-actions{position:static!important;display:flex!important;align-items:center!important;padding:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip{display:grid!important;grid-template-columns:1fr 1fr!important;margin:0 0 16px!important;border:1px solid #EEF2E8!important;border-radius:16px!important;background:#F8F6F1!important;overflow:hidden!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip button{min-height:64px!important;padding:12px!important;min-width:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-summary-strip button:last-child{grid-column:1/-1!important;border-top:1px solid #EEF2E8!important;min-height:56px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .handover-home-banner{padding:16px!important;box-shadow:none!important;background:#EEF2E8!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .handover-home-banner b{font-family:inherit!important;font-size:16px!important;line-height:1.5!important;font-weight:600!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .public-health-card{padding:16px!important;box-shadow:none!important;background:#EEF2E8!important;border-radius:18px!important;gap:12px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .public-health-card h2{font-size:18px!important;margin:0 0 6px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .public-health-card p{font-size:14px!important;line-height:1.6!important;margin:0!important;font-weight:400!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .public-health-card .quiet-disclaimer{font-size:13px!important;line-height:1.5!important;margin:0!important}
/* The original cat selector and add-cat action stay available in a disclosure. */
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0!important;margin:0 0 16px!important;min-height:44px!important}
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading .page-heading-copy{flex:1!important;min-width:0!important}
html.mewday-v16 .real-app.mv-health>.page-heading .page-heading-copy{display:none!important}
html.mewday-v16 .real-app.mv-health>.page-heading{justify-content:flex-end!important;margin-bottom:8px!important;min-height:36px!important}
html.mewday-v16 .real-app.mv-diary>.page-heading h1{font-size:20px!important;line-height:1.4!important;margin:0!important}
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading .page-back{display:none!important}
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading .cat-tools{display:none!important;flex:0 0 100%!important;margin:0!important}
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading.mv-tools-open .cat-tools{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.mv-cat-tools-toggle{border:1px solid #EEF2E8!important;background:#F8F6F1!important;padding:8px 12px!important;border-radius:999px!important;min-height:40px!important;font-family:inherit!important;font-size:14px!important;line-height:1.4!important;font-weight:400!important;color:#706B61!important}
html.mewday-v16 .real-app .mx-health-v19{padding:0!important;width:100%!important;gap:16px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-profile{min-height:270px!important;padding-top:180px!important;border:0!important;margin:0!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-status{padding:16px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-tool-grid{gap:10px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-tool-grid button{min-height:116px!important}
/* Meal rows follow the reference timeline with readable product names and one action. */
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline{padding:0!important;border:0!important;background:transparent!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline:before{left:10px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline article{grid-template-columns:24px minmax(0,1fr) auto!important;gap:8px!important;padding:12px 0!important;min-height:104px!important;border-bottom:1px solid #EEF2E8!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline article time{grid-column:2!important;grid-row:1!important;font-size:14px!important;font-weight:600!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline .mxf-dot{grid-column:1!important;grid-row:1!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline .mxf-meal{grid-column:2!important;grid-row:2!important;grid-template-columns:48px minmax(0,1fr)!important;padding:8px!important;background:#F8F6F1!important;border-radius:12px!important;gap:8px!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline article>button,html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline article>em{grid-column:3!important;grid-row:2!important;align-self:center!important;font-size:13px!important;font-weight:500!important;padding:10px 8px!important;min-height:44px!important}
html.mewday-v16 .real-app .mxf-food-v23 :is(.mxf-meal b,.mxf-recent article b){font-size:14px!important;line-height:1.4!important;font-weight:500!important;white-space:normal!important;overflow:visible!important}
html.mewday-v16 .real-app .mxf-food-v23 :is(.mxf-meal small,.mxf-recent article small,.mxf-section-head>span,.mxf-section-head>button,.mxf-section-head small){font-size:13px!important;line-height:1.5!important;font-weight:400!important;white-space:normal!important;overflow:visible!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-tool-grid button{min-height:140px!important;padding:14px!important;text-align:left!important;align-items:flex-start!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-tool-grid small{font-weight:400!important;font-size:14px!important;line-height:1.5!important}
html.mewday-v16 .real-app .mxf-food-v23 :is(.mxf-intake,.mxf-target-top) strong{font-size:22px!important;font-weight:600!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-observe{padding:12px!important;margin-top:12px!important;background:#F8F6F1!important;border-radius:14px!important;gap:8px!important;flex-wrap:wrap!important}
html.mewday-v16 .real-app .mxf-food-v23 .mxf-observe small{font-size:13px!important;font-weight:400!important}
/* Photo feed first; the original composer opens from the plus action. */
html.mewday-v16 .real-app .memory-diary{display:flex!important;flex-direction:column!important;gap:16px!important}
html.mewday-v16 .real-app .memory-diary .memory-intro{order:0!important;position:relative!important;padding:0 56px 0 0!important;min-height:44px!important;margin:0!important}
html.mewday-v16 .real-app .memory-diary .memory-intro h2{display:none!important}
html.mewday-v16 .real-app .memory-diary .memory-intro p{margin:0!important;padding-top:4px!important;max-width:260px!important;font-size:14px!important;font-weight:400!important}
.mv-compose-toggle{position:absolute;right:0;top:0;width:44px;height:44px;border:0;border-radius:50%;background:#435640;color:#FFFFFF;font:400 28px/1 sans-serif;cursor:pointer}
html.mewday-v16 .real-app .memory-diary .memory-composer{display:none!important;order:1!important;margin:0!important}
html.mewday-v16 .real-app .memory-diary.mv-composing .memory-composer{display:grid!important}
html.mewday-v16 .real-app .memory-diary .memory-feed{order:2!important;margin:0!important}
html.mewday-v16 .real-app .memory-diary .memory-feed>.section-title{margin:0 0 12px!important}
html.mewday-v16 .real-app .memory-diary .memory-feed>.section-title h2{font-size:16px!important;font-weight:500!important}
html.mewday-v16 .real-app .memory-diary .memory-feed article{padding:0!important;margin:0 0 18px!important;border-radius:18px!important;border:1px solid #EEF2E8!important;background:#F8F6F1!important;overflow:hidden!important;box-shadow:none!important}
html.mewday-v16 .real-app .memory-diary .memory-entry-photos{padding:0!important;gap:4px!important;border-radius:0!important}
html.mewday-v16 .real-app .memory-diary .memory-entry-photos img{height:240px!important;border-radius:0!important;object-fit:cover!important}
html.mewday-v16 .real-app .memory-diary .memory-feed article>div:last-child{padding:14px!important}
html.mewday-v16 .real-app .memory-diary .memory-feed article :is(p,span){font-size:14px!important;line-height:1.6!important;font-weight:400!important}
html.mewday-v16 .real-app .memory-diary .memory-feed article h3{font-size:16px!important;font-weight:500!important;margin:6px 0!important}
html.mewday-v16 .real-app .memory-diary .memory-empty{padding:32px 20px!important;min-height:230px!important;background:#F8F6F1!important;border:1px solid #EEF2E8!important;border-radius:18px!important}
html.mewday-v16 .real-app .memory-diary .memory-empty h2{font-size:20px!important;font-weight:500!important}
html.mewday-v16 .real-app .memory-diary .memory-empty p{font-size:14px!important;line-height:1.6!important;font-weight:400!important}
@media(max-width:350px){html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat){grid-template-columns:56px minmax(0,1fr)!important}html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat)>button{grid-column:1/-1!important;justify-self:end!important}html.mewday-v16 .real-app .mxf-food-v23 .mxf-timeline .mxf-meal{grid-template-columns:36px minmax(0,1fr)!important}}
html.mewday-v16 .real-app:is(.mv-health,.mv-diary)>.page-heading{flex-direction:row!important}
html.mewday-v16 .real-app.mv-health>.page-heading{position:absolute!important;right:16px!important;top:76px!important;z-index:3!important;margin:0!important;width:auto!important}
html.mewday-v16 .real-app.mv-health>.page-heading.mv-tools-open{position:relative!important;top:auto!important;right:auto!important;width:100%!important;margin:0 0 12px!important}
html.mewday-v16 .real-app .health-hub:has(.mx-health-v19-overview){padding:0!important;margin:0!important;background:transparent!important;border:0!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-title{margin:0!important;padding:0!important;min-height:44px!important}
html.mewday-v16 .real-app .mx-health-v19 .mxh-title h1{margin:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .home-welcome{height:270px!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button{min-height:64px!important;padding:10px 0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button i{font-size:0!important;position:relative}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button i:before{content:'';width:24px;height:24px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378513b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h18M4 11a8 8 0 0 0 16 0M8 7h.1M12 6h.1M16 7h.1'/%3E%3C/svg%3E")}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button:nth-child(2) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378513b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 9c-2 0-3 2-2 4-3-1-5 1-4 4 1 3 17 3 18 0 1-3-1-5-4-4 1-2 0-4-2-4 1-3-2-4-3-6 1 3-2 4-3 6ZM7 13h10'/%3E%3C/svg%3E")}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button:nth-child(3) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378513b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21S3 16 3 9a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 7-9 12-9 12ZM7 12h3l2-3 2 6 1-3h2'/%3E%3C/svg%3E")}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card>section{min-height:0!important;margin:0!important;padding:0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .handover-home-banner b{font-family:inherit!important;font-weight:500!important;font-size:16px!important;line-height:1.5!important}
html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat)>button{min-width:80px!important;max-width:none!important;white-space:nowrap!important}
html.mewday-v16 .real-app.mv-diary>.page-heading .mv-cat-tools-toggle{font-size:13px!important;padding:8px!important}
html.mewday-v16 .real-app.mv-diary>.page-heading h1{font-size:18px!important}
html.mewday-v16 .real-app .memory-diary .memory-feed .memory-empty{margin:0!important}
html.mewday-v16 .real-app .memory-diary .memory-feed>.section-title{padding:0!important;min-height:24px!important}
/* Sheets cover the bottom navigation: they need only their own safe-area padding. */
.m27-sheet .m27-sheet-body{padding:16px 16px calc(24px + env(safe-area-inset-bottom))!important}
.m27-sheet :is(p,small,em){font-weight:400!important}
.m27-sheet .m27-sheet-head{height:60px!important;background:#F8F6F1!important}
.m27-sheet .m27-sheet-head h1{font-weight:600!important}
.m27-sheet :is(.m27-care-hero,.m27-caregiver-hero,.m27-notice-intro){margin-bottom:20px!important;border-radius:18px!important}
.m27-sheet .m27-care-hero{padding:16px!important;min-height:150px!important}
.m27-sheet .m27-care-item{padding:14px 12px!important;min-height:84px!important;border-radius:16px!important;gap:10px!important;margin-bottom:8px!important}
.m27-sheet .m27-care-item .cicon{background:#F8F6F1!important;color:#706B61!important}
.m27-sheet .m27-setting-row{padding:16px 12px!important;min-height:88px!important;gap:12px!important}
.m27-sheet .m27-setting-row small{font-size:14px!important;line-height:1.5!important}
.m27-sheet .m27-caregiver-row small,.m27-sheet .m27-caregiver-row em{font-size:14px!important;line-height:1.5!important}
.m27-sheet .m36-guide-head{padding:24px 16px!important;min-height:170px!important;background:linear-gradient(90deg,#EEF2E8 15%,rgba(244,230,217,.85) 55%,rgba(244,230,217,.12)),url('/mewday-hero-matcha.webp') 65% 40%/cover!important;border:0!important;border-radius:18px!important;margin:16px 0 20px!important;align-items:flex-start!important}
.m27-sheet .m36-guide-head>div{max-width:75%!important}
.m27-sheet .m36-guide-head small{display:none!important}
.m27-sheet .m36-guide-head h2{font-size:24px!important;font-weight:600!important;margin:0 0 12px!important}
.m27-sheet .m36-guide-head p{font-size:15px!important;line-height:1.7!important;margin:0!important}
.m27-sheet .m36-guide-count{font-size:13px!important;white-space:nowrap!important}
.m27-sheet .m36-guide-card{padding:12px!important;gap:12px!important;margin-bottom:10px!important;border:1px solid #EEF2E8!important;border-radius:16px!important;box-shadow:none!important}
.m27-sheet .m36-guide-cats{gap:8px!important;flex-wrap:wrap!important}
.m27-sheet .m35-map-shell{height:290px!important;border-radius:18px!important;margin:16px 0!important}
.m27-sheet .m35-vet-card{padding:16px!important;box-shadow:none!important;border:1px solid #EEF2E8!important;border-radius:16px!important;margin-bottom:10px!important}
.m27-sheet .m35-vet-card h3{font-size:17px!important;line-height:1.4!important;font-weight:600!important}
.m27-sheet .m35-vet-actions :is(a,button){font-size:14px!important;min-height:44px!important;font-weight:500!important}
.m27-sheet .m35-meta,.m27-sheet .m35-status-line{font-size:14px!important;line-height:1.5!important}
.mxf-subpage-bg :is(.mxf-plan-page,.mxf-obs-page){padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
.mxf-subpage-bg :is(small,p,li){font-weight:400!important}
.mxf-subpage-bg .mxf-plan-meal b{font-size:16px!important;font-weight:500!important}
.mxf-food-glyph.mv-food-art{width:48px!important;height:44px!important;border-radius:12px!important;background:#EEF2E8!important;position:relative!important;color:#706B61!important}
.mxf-food-glyph.mv-food-art svg{width:26px!important;height:26px!important;stroke-width:1.6!important}
@media(max-width:350px){html.mewday-v16 .real-app :is(.m27-cat-card,.mxf-cat)>button{grid-column:1/-1!important}html.mewday-v16 .real-app.mv-diary>.page-heading{gap:8px!important}.m27-sheet .m27-care-item{grid-template-columns:34px minmax(0,1fr)!important}.m27-sheet .m27-care-item>button{grid-column:2!important;justify-self:start!important}}
html.mxf-food-detail .real-app>.topbar,html.mxf-food-detail .real-app>.page-heading{display:none!important}
html.mxf-food-detail .real-app>.subpage{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
html.mxf-food-detail .real-app .mxf-detail-head{height:60px!important;margin:0 0 16px!important;padding:0!important}
html.mxf-food-detail .real-app .mxf-detail-head h1{font-size:18px!important;font-weight:600!important}
html.mxf-food-detail .real-app .mxf-calc-mini{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html.mxf-food-detail .real-app .mxf-calc-mini article{padding:12px 6px!important;min-width:0!important}
.m27-sheet,.mxf-subpage-bg{bottom:calc(68px + env(safe-area-inset-bottom))!important}
.m27-sheet .m27-notice-intro small{font-size:14px!important;line-height:1.5!important}
.mxf-subpage-bg .mxf-obs-intro small{font-size:14px!important;line-height:1.5!important}
.mxf-subpage-bg .mxf-obs-tip{font-size:14px!important;line-height:1.5!important}
/* Reading text uses a real phone scale, including legacy counters and tool tips. */
html.mewday-v16 .real-app.real-app :is(p,small,em,label){font-size:14px!important;line-height:1.55!important;font-weight:400!important}
html.mewday-v16 .real-app.real-app span{font-size:14px!important}
html.mewday-v16 .real-app.real-app .wordmark span{font-size:26px!important}
html.mewday-v16 .real-app.real-app .bottom-nav span{font-size:12px!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .daily-checklist button>span{font-size:16px!important;font-weight:500!important}
html.mewday-v16 .real-app.real-app button{font-size:14px!important;font-weight:500!important}
html.mewday-v16 .real-app.real-app .mv-compose-toggle{font-size:28px!important}
html.mewday-v16 .real-app.real-app input,html.mewday-v16 .real-app.real-app textarea,html.mewday-v16 .real-app.real-app select{font-size:16px!important}
.m27-sheet.m27-sheet :is(p,small,em,label){font-size:14px!important;line-height:1.55!important;font-weight:400!important}
.m27-sheet.m27-sheet button{font-size:14px!important;font-weight:500!important}
.m27-sheet.m27-sheet .m27-sheet-head button{font-size:30px!important;min-width:44px!important;min-height:44px!important}
.mxf-subpage-bg.mxf-subpage-bg :is(small,p,em,label,li){font-size:14px!important;line-height:1.55!important;font-weight:400!important}
.mxf-subpage-bg.mxf-subpage-bg button{font-size:14px!important;font-weight:500!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-back{font-size:28px!important;min-width:44px!important;min-height:44px!important}
html.mewday-v16 .real-app .mxf-calc-cat{grid-template-columns:58px minmax(0,1fr) auto!important;gap:12px!important;padding:12px!important;min-height:100px!important}
html.mewday-v16 .real-app .mxf-calc-cat>button{grid-column:auto!important;align-self:start!important;min-height:44px!important;padding:6px 8px!important}
html.mewday-v16 .real-app.real-app .mxh-facts :is(b,strong){font-size:15px!important;line-height:1.4!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app :is(.mxf-intake,.mxf-target-mini) b{font-size:14px!important;font-weight:500!important}
.m27-sheet.m27-sheet .m35-stars b,.m27-sheet.m27-sheet .m35-stars span,.m27-sheet.m27-sheet .m35-status-line span{font-size:14px!important;line-height:1.5!important}
.m27-sheet.m27-sheet .m35-meta b{font-size:14px!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-plan-timeline time b{font-size:14px!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-segments label span{font-size:14px!important;line-height:1.4!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px 9px!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-segments{flex-wrap:wrap!important}
html.mewday-v16 .real-app.real-app{padding-bottom:calc(var(--mv-nav-height,68px) + 16px)!important}
.m27-sheet.m27-sheet,.mxf-subpage-bg.mxf-subpage-bg{bottom:var(--mv-nav-height,68px)!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button{min-height:60px!important;padding:8px 0!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .next-important-card section>span{display:none!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button.done i{font-size:18px!important;background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button.done i:before{display:none!important}
html.mewday-v16 .real-app .dashboard-grid.v16-home-b .daily-checklist button.done:after{content:'✓';font-size:16px;color:#435640}
/* V44: strong primary surfaces, compact supporting information, illustrated tools. */
:root{--mv-canvas:#F8F6F1;--mv-surface:#F8F6F1;--mv-border:#EEF2E8;--mv-text:#435640;--mv-text-2:#706B61;--mv-green:#435640;--mv-green-soft:#EEF2E8;--mv-peach:#EEF2E8}
html.mewday-v16 .real-app.real-app{background:var(--mv-canvas)!important}
html.mewday-v16 .real-app.real-app .topbar{background:var(--mv-canvas)!important}
html.mewday-v16 .real-app.real-app .wordmark span{color:#435640!important;font-size:28px!important;letter-spacing:-1px!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-welcome{height:260px!important;border:0!important;border-radius:22px!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel{padding:0 16px 10px!important;border:0!important;box-shadow:0 4px 20px #352F2910!important;background:#F8F6F1!important;border-radius:20px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .section-title{margin:0 -16px 4px!important;padding:15px 16px!important;background:#435640!important;border:0!important;align-items:center!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel h2{color:#F8F6F1!important;font-size:20px!important;line-height:1.5!important;font-weight:600!important;margin:0!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .section-title>span{color:#EEF2E8!important;font-weight:400!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app .daily-checklist button{border-color:#EEF2E8!important;min-height:64px!important}
html.mewday-v16 .real-app.real-app .daily-checklist button>span{font-size:16px!important;font-weight:500!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .daily-checklist button small{color:#706B61!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app .daily-checklist button i{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .daily-checklist button.done i{background:#435640!important;color:white!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card{background:linear-gradient(120deg,#EEF2E8,#EEF2E8)!important;border:0!important;border-radius:20px!important;padding:16px!important;gap:6px 14px!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card h2{font-size:15px!important;font-weight:500!important;color:#706B61!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card section b{font-size:19px!important;font-weight:600!important;color:#435640!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card section p{font-size:14px!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions{display:grid!important;justify-items:center!important;gap:6px!important;grid-row:1/3!important;grid-column:2!important;min-width:84px!important}
.mv-date-count{display:flex;align-items:baseline;justify-content:center;gap:4px;flex-wrap:wrap;color:#435640}
html.mewday-v16 .real-app.real-app .mv-date-count strong{font:600 34px/1.1 Georgia,serif!important;letter-spacing:-1px!important}
html.mewday-v16 .real-app.real-app .mv-date-count small{font-size:13px!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .next-important-actions button{background:transparent!important;color:#435640!important;border:1px solid #d9c9b6!important;border-radius:999px!important;min-height:36px!important;padding:6px 10px!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .handover-home-banner{background:#F8F6F1!important;border:1px solid #EEF2E8!important;border-left:4px solid #435640!important;padding:14px!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .handover-home-banner>span{background:#EEF2E8!important;color:#435640!important;border-radius:6px!important;align-self:start!important;font-size:13px!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .weight-card{background:#F8F6F1!important;border:1px solid #EEF2E8!important;border-radius:18px!important;padding:16px!important;box-shadow:none!important}
html.mewday-v16 .real-app.real-app .weight-card strong{color:#435640!important;font-size:30px!important;font-weight:500!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .public-health-card{background:#EEF2E8!important;border:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:16px!important}
html.mewday-v16 .real-app.real-app .public-health-card h2{font-size:16px!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .public-health-card button{background:#F8F6F1!important;border:1px solid #E3DED4!important;color:#435640!important;border-radius:12px!important;min-height:44px!important;padding:10px!important;white-space:nowrap!important;width:auto!important}
html.mewday-v16 .real-app.real-app .public-health-card>.quiet-disclaimer{grid-column:1/-1!important}
/* Cat portraits have enough scale to anchor their page. */
html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat){position:relative!important;grid-template-columns:82px minmax(0,1fr)!important;padding:14px!important;gap:14px!important;min-height:112px!important;border:0!important;border-radius:20px!important}
html.mewday-v16 .real-app.real-app :is(.m27-cat-card img,.mxf-cat-photo){width:82px!important;height:82px!important;border-radius:14px!important}
html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat)>button{position:absolute!important;right:12px!important;top:12px!important;min-width:70px!important;min-height:32px!important;font-size:13px!important;padding:7px 9px!important}
html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat) h2{font-size:20px!important;max-width:calc(100% - 76px)!important;margin:0 0 7px!important;white-space:normal!important}
html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat) p{font-size:14px!important;margin:0 0 3px!important}
html.mewday-v16 .real-app.real-app .m27-cat-card{background:linear-gradient(120deg,#435640,#435640)!important}
html.mewday-v16 .real-app.real-app .m27-cat-card :is(h2,p,small,h2 span){color:#F8F6F1!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group>h3{font-size:16px!important;color:#435640!important;margin:0 0 10px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row{border:0!important;border-radius:16px!important;min-height:82px!important;padding:14px 12px!important;background:#F8F6F1!important;box-shadow:0 2px 10px #352F2905!important;grid-template-columns:48px minmax(0,1fr) 16px!important;gap:12px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .ico{width:48px!important;height:48px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .ico svg{width:28px!important;height:28px!important;stroke-width:1.7!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .copy b{font-size:16px!important;font-weight:600!important}
/* A guide is a content destination, with topics distinct from the article list. */
.m27-sheet.m27-sheet .m36-guide-shell{display:grid!important;gap:12px!important}
.m27-sheet.m27-sheet .m36-guide-search{order:0!important}
.m27-sheet.m27-sheet .m36-guide-head{order:1!important;margin:0 0 8px!important;min-height:200px!important;position:relative!important;padding:20px!important;background:linear-gradient(90deg,#EEF2E8 15%,#EEF2E8cc 58%,#EEF2E810),url('/mewday-hero-matcha.webp') 60% 40%/cover!important}
.m27-sheet.m27-sheet .m36-guide-head h2{font-size:23px!important;font-weight:600!important;line-height:1.35!important}
.m27-sheet.m27-sheet .m36-guide-head p{font-size:14px!important;max-width:220px!important;line-height:1.6!important}
.m27-sheet.m27-sheet .m36-guide-count{position:absolute!important;top:12px!important;right:12px!important;background:#F8F6F1c9!important;padding:4px 8px!important;border-radius:999px!important;font-size:13px!important}
.mv-guide-start{margin-top:14px;border:0!important;border-radius:999px!important;background:#435640!important;color:white!important;min-height:44px!important;padding:10px 18px!important;font-size:14px!important}
.mv-topic-heading,.mv-article-heading{font-size:18px!important;line-height:1.5!important;font-weight:600!important;margin:0!important;color:#435640!important}
.mv-topic-heading{order:2!important}.mv-article-heading{order:5!important}
.m27-sheet.m27-sheet .m36-guide-cats{order:3!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;padding:0!important;margin:0 0 12px!important}
.m27-sheet.m27-sheet .m36-guide-cats button{min-width:0!important;min-height:130px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;white-space:normal!important;border:0!important;border-radius:16px!important;background:#F8F6F1!important;padding:14px 8px!important;color:#435640!important;box-shadow:0 2px 10px #352F2905!important;gap:6px!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active{background:#EEF2E8!important;box-shadow:inset 0 0 0 1px #E3DED4!important}
.m36-guide-cats button i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#EEF2E8;color:#706B61}
.m36-guide-cats button:nth-child(4) i{background:#EEF2E8;color:#435640}.m36-guide-cats button:nth-child(5) i{background:#EEF2E8;color:#706B61}.m36-guide-cats button:nth-child(6) i{background:#EEF2E8;color:#706B61}
.m36-guide-cats button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.m27-sheet.m27-sheet .m36-guide-cats button b{font-size:15px!important;font-weight:600!important;line-height:1.4!important}
.m27-sheet.m27-sheet .m36-guide-cats button small{font-size:14px!important;line-height:1.4!important;color:#706B61!important;text-align:center!important}
.m27-sheet.m27-sheet .m36-guide-list{order:6!important;gap:8px!important}
.m27-sheet.m27-sheet .m36-guide-card{border:0!important;background:#F8F6F1!important;border-radius:14px!important;padding:10px!important;grid-template-columns:72px minmax(0,1fr) 12px!important;margin:0!important}
.m27-sheet.m27-sheet .m36-guide-card>img,.m27-sheet.m27-sheet .m36-guide-placeholder{width:72px!important;height:72px!important;border-radius:12px!important}
.m27-sheet.m27-sheet .m36-guide-copy em{display:none!important}
.m27-sheet.m27-sheet .m36-guide-copy b{font-size:16px!important;line-height:1.4!important;font-weight:500!important}
/* Illustrated food carries category information; database packshots stay actual products. */
.mv-illustrated-food>svg{display:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-glyph.mv-illustrated-food,.mxf-subpage-bg .mxf-food-glyph.mv-illustrated-food{width:56px!important;height:50px!important;background:#EEF2E8!important;border-radius:12px!important;display:grid!important;place-items:center!important}
.mxf-food-glyph.mv-illustrated-food img.mv-food-photo{width:56px!important;height:50px!important;display:block!important;object-fit:contain!important;margin:0!important;border:0!important;background:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-meal{grid-template-columns:56px minmax(0,1fr)!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid button{min-height:140px!important;border:0!important;box-shadow:0 2px 12px #352F2908!important;border-radius:18px!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-tool-grid i{width:46px!important;height:46px!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-tool-grid i svg{width:27px!important;height:27px!important;stroke-width:1.7!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-intake>div{border:0!important;box-shadow:0 2px 12px #352F2908!important;padding:16px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok{background:#EEF2E8!important;border:0!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status h2{font-size:19px!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button{min-height:144px!important;align-items:center!important;text-align:center!important;border:0!important;padding:14px 8px!important;border-radius:16px!important;box-shadow:0 2px 12px #352F2908!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid i{width:42px!important;height:42px!important;border-radius:50%!important;background:#EEF2E8!important;display:grid!important;place-items:center!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid i svg{width:27px!important;height:27px!important;stroke-width:1.7!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid b{font-size:14px!important;font-weight:600!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid small{font-size:14px!important;line-height:1.5!important}
.m27-sheet.m27-sheet .m27-caregiver-hero{background:linear-gradient(#EEF2E8,#F8F6F1)!important;border:0!important;padding:20px!important}
.mv-family-art{width:200px;height:118px;display:block;margin:0 auto 8px}
.m27-sheet.m27-sheet .m27-caregiver-icon{display:none!important}
.m27-sheet.m27-sheet .m27-caregiver-hero h2{font-size:20px!important;line-height:1.5!important;font-weight:600!important}
.m27-sheet.m27-sheet .m27-setting-row,.m27-sheet.m27-sheet .m27-care-item{border:0!important;box-shadow:0 2px 10px #352F2905!important;min-height:84px!important}
/* Diary: a compact editorial header and dates outside the photo surface. */
html.mewday-v16 .real-app.real-app.mv-diary>.topbar{display:none!important}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading{min-height:60px!important;position:relative!important;margin:0 0 12px!important;padding:8px 54px 8px 40px!important;display:block!important}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading h1{font-size:18px!important;line-height:1.5!important;text-align:center!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading .page-back{display:block!important;position:absolute!important;left:0!important;top:8px!important;min-width:36px!important;min-height:44px!important;padding:0!important;border:0!important;background:none!important;font-size:0!important}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading .page-back:after{content:'‹';font-size:32px;line-height:1}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading .mv-compose-toggle{position:absolute!important;top:8px!important;right:0!important;width:44px!important;height:44px!important;background:#435640!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-intro{min-height:36px!important;padding:0!important;margin:0!important;display:flex!important;justify-content:flex-end!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-intro :is(h2,p){display:none!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-intro .mv-cat-tools-toggle{min-height:36px!important;font-size:14px!important;background:#EEF2E8!important;border:0!important;padding:8px 12px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed>.section-title{margin:0 0 14px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed>.section-title h2{font-size:14px!important;color:#706B61!important;font-weight:400!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article{display:grid!important;grid-template-columns:1fr!important;gap:0!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;position:relative!important;margin-bottom:20px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article>div:last-child{display:contents!important;padding:0!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article>div:last-child>span{order:0!important;padding:0 0 10px!important;color:#706B61!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-entry-photos{order:1!important;overflow:hidden!important;border-radius:18px 18px 0 0!important;background:#F8F6F1!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-entry-photos img{width:100%!important;height:auto!important;aspect-ratio:1.55!important;object-fit:cover!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article h3{order:2!important;margin:0!important;background:#F8F6F1!important;padding:12px 14px 0!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article p{order:3!important;background:#F8F6F1!important;margin:0!important;padding:12px 14px!important;color:#435640!important;line-height:1.6!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-append{order:4!important;margin:0!important;background:#F8F6F1!important;border:0!important;border-radius:0 0 18px 18px!important;padding:0 14px 14px!important;font-size:14px!important;color:#435640!important}
@media(max-width:350px){html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat){grid-template-columns:66px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}html.mewday-v16 .real-app.real-app :is(.m27-cat-card img,.mxf-cat-photo){width:66px!important;height:76px!important}html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat)>button{position:static!important;grid-column:1/-1!important;justify-self:end!important}html.mewday-v16 .real-app.real-app :is(.m27-cat-card,.mxf-cat) h2{max-width:none!important}.m27-sheet.m27-sheet .m36-guide-cats{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .public-health-card{grid-template-columns:1fr!important}}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card>div:first-child{grid-column:1!important;align-self:end!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card>section{grid-column:1!important;grid-row:2!important}
.mv-date-count{grid-row:1!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions button:first-of-type{display:block!important;grid-row:2!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions button:nth-of-type(2){display:none!important}
.m27-sheet.m27-sheet .m36-guide-head{display:block!important;min-height:220px!important}
.m27-sheet.m27-sheet .m36-guide-head>div{max-width:220px!important}
.m27-sheet.m27-sheet .m36-guide-head .mv-guide-start{display:inline-block!important;position:static!important;width:auto!important;max-width:none!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions{justify-self:end!important;width:auto!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article .v16-entry-date{min-height:0!important;padding:8px 4px 12px!important;margin:0!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed>.section-title{min-height:0!important;margin:0 0 10px!important;padding:0!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button:nth-child(2) i{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button:nth-child(3) i{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button:nth-child(4) i{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button:nth-child(5) i{background:#F8F6F1!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button:nth-child(6) i{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-summary b{font-size:14px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts b{font-size:14px!important;line-height:1.4!important}
/* Approved palette: roles remain distinct across every customer surface. */
:root{--mv-canvas:#F8F6F1;--mv-surface:#FFFFFF;--mv-text:#352F29;--mv-text-2:#6b6256;--mv-green:#435640;--mv-green-soft:#EEF2E8;--mv-peach:#F8F6F1;--mv-moss:#435640;--mv-tan:#d9c9b6}
html.mewday-v16 body,html.mewday-v16 .real-app.real-app,.m27-sheet.m27-sheet,.mxf-subpage-bg.mxf-subpage-bg{background:#F8F6F1!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app :is(h1,h2,h3),.m27-sheet.m27-sheet :is(h1,h2,h3){color:#352F29!important}
html.mewday-v16 .real-app.real-app .task-panel>.section-title,html.mewday-v16 .real-app.real-app .m27-cat-card{background:#435640!important}
html.mewday-v16 .real-app.real-app .task-panel>.section-title h2,html.mewday-v16 .real-app.real-app .m27-cat-card h2{color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card{background:#F8F6F1!important;grid-template-columns:minmax(0,1fr) 100px!important}
html.mewday-v16 .real-app.real-app .mxf-cat{background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app :is(.mxh-status.ok,.public-health-card){background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app :is(.mxf-refill,.mxh-help){background:#F8F6F1!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button i,.m27-sheet.m27-sheet :is(.cicon,.sicon),.real-app .m27-row .ico{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button:nth-child(even) i,.real-app .m27-row:nth-child(even) .ico{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .mxf-bar.water i{background:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-bar:not(.water) i{background:#706B61!important}
html.mewday-v16 .real-app.real-app :is(.mxf-intake,.mxf-target-top)>div:nth-child(2) span{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app :is(.mxf-intake,.mxf-target-top)>div:first-child span{background:#EEF2E8!important;color:#706B61!important}
.m27-sheet.m27-sheet .m36-guide-head{background:linear-gradient(90deg,#F8F6F1 8%,#F8F6F1bb 60%,#F8F6F100),url('/mewday-hero-matcha.webp') 60% 40%/cover!important}
.m27-sheet.m27-sheet .m36-guide-cats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.m27-sheet.m27-sheet .m36-guide-cats button{min-height:112px!important;align-items:flex-start!important;text-align:left!important;padding:14px!important}
.m27-sheet.m27-sheet .m36-guide-cats button small{text-align:left!important}
.m36-guide-cats button i{background:#EEF2E8!important;color:#706B61!important}
.m36-guide-cats button:nth-child(even) i{background:#EEF2E8!important;color:#435640!important}
.m27-sheet.m27-sheet .m27-caregiver-hero{background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-intro{margin-bottom:8px!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed{gap:12px!important}
html.mewday-v16 .real-app.real-app .bottom-nav{background:#FFFFFF!important;border-top:1px solid #F8F6F1!important}
html.mewday-v16 .real-app.real-app .bottom-nav button.active{color:#435640!important}
html.mewday-v16 .real-app.real-app .mxh-profile h2,html.mewday-v16 .real-app.real-app .home-welcome h2{color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(.mxf-intake,.mxf-target-top)>div,html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button,.m27-sheet.m27-sheet .m36-guide-cats button,.real-app .m27-row{background:#FFFFFF!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active{background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app,.m27-sheet.m27-sheet,.mxf-subpage-bg.mxf-subpage-bg{--ink:#352F29;--muted:#6b6256;--green:#435640;--sage:#435640;--line:#F8F6F1;--cream:#F8F6F1;--v16-green:#435640}
html.mewday-v16 .real-app.real-app .mxf-meal-add{background:#EEF2E8!important;color:#435640!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mv-date-count{flex-wrap:nowrap!important;gap:3px!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mv-date-count strong{font-size:30px!important}
html.mewday-v16 .real-app.real-app :is(.task-panel,.weight-card,.handover-home-banner,.home-summary-strip){background:#FFFFFF!important}
/* Approved A: retain its taupe canvas rather than diluting it. */
:root{--mv-canvas:#F8F6F1;--mv-surface:#FFFFFF;--mv-text:#352F29;--mv-text-2:#706B61;--mv-green:#435640;--mv-green-soft:#EEF2E8;--mv-peach:#EEF2E8}
html.mewday-v16 body,html.mewday-v16 .app-frame,html.mewday-v16 .real-app.real-app,.m27-sheet.m27-sheet,.mxf-subpage-bg.mxf-subpage-bg{background:#F8F6F1!important;color:#352F29!important;--ink:#352F29;--muted:#706B61;--green:#435640;--sage:#435640;--line:#E3DED4;--cream:#FFFFFF;--v16-green:#435640}
html.mewday-v16 .real-app.real-app :is(h1,h2,h3),.m27-sheet.m27-sheet :is(h1,h2,h3){color:#352F29!important}
html.mewday-v16 .real-app.real-app :is(.task-panel,.weight-card,.handover-home-banner,.home-summary-strip),html.mewday-v16 .real-app.real-app :is(.mxf-intake,.mxf-target-top)>div,html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button,.real-app .m27-row,.m27-sheet.m27-sheet :is(.m27-setting-row,.m27-care-item,.m36-guide-card,.m36-guide-cats button){background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel{background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title{background:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title :is(h2,span){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card{background:#706B61!important;border:0!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card :is(h2,section b,section p,.mv-date-count strong,.mv-date-count small){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions button{color:#FFFFFF!important;border-color:#F8F6F1!important;background:transparent!important}
html.mewday-v16 .real-app.real-app .daily-checklist button{background:transparent!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .daily-checklist button.done i{background:#435640!important;color:#14130a!important}
html.mewday-v16 .real-app.real-app .m27-cat-card,html.mewday-v16 .real-app.real-app .mxf-cat{background:#EEF2E8!important;border:0!important}
html.mewday-v16 .real-app.real-app .m27-cat-card :is(h2,p,small,h2 span){color:#352F29!important}
html.mewday-v16 .real-app.real-app .m27-cat-card>button{background:#FFFFFF!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article>button,html.mewday-v16 .real-app.real-app .mxf-refill>button,html.mewday-v16 .real-app.real-app .mxh-help button:first-child,.m27-sheet.m27-sheet .mv-guide-start,html.mewday-v16 .real-app.real-app .mv-compose-toggle{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button i,.real-app .m27-row .ico,.m27-sheet.m27-sheet :is(.sicon,.cicon),.m36-guide-cats button i{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button:nth-child(even) i{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app :is(.mxf-refill,.mxh-help){background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app :is(.mxh-status.ok,.public-health-card){background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app .mxh-profile h2,html.mewday-v16 .real-app.real-app .home-welcome h2{color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .bottom-nav,.m27-sheet.m27-sheet>header,.mxf-subpage-bg.mxf-subpage-bg>header{background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .bottom-nav button.active{color:#435640!important}
.m27-sheet.m27-sheet .m36-guide-head{background:linear-gradient(90deg,#EEF2E8 8%,#EEF2E8bb 60%,#EEF2E800),url('/mewday-hero-matcha.webp') 60% 40%/cover!important}
.m27-sheet.m27-sheet :is(.m27-care-hero,.m27-caregiver-hero,.m27-notice-intro){background:#EEF2E8!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active{background:#EEF2E8!important;border:1px solid #435640!important}
html.mewday-v16 .real-app.real-app .memory-feed article p,html.mewday-v16 .real-app.real-app .memory-append,html.mewday-v16 .real-app.real-app .memory-entry-photos{background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(.mx-health-v19,.mx-health-v19-overview,.health-hub,.mxf-food-v23,.m27-more-home,.memory-diary){background:transparent!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b :is(.home-summary-strip,.handover-home-banner,.weight-card){background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxh-facts{background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxh-facts button{background:transparent!important}
html.mewday-v16 .real-app.real-app .public-health-card button,html.mewday-v16 .real-app.real-app .mxh-help button:nth-child(2){background:#FFFFFF!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .wordmark span{color:#352F29!important}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav{background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(input,select,textarea),.m27-sheet.m27-sheet :is(input,select,textarea),.mxf-subpage-bg.mxf-subpage-bg :is(input,select,textarea){background:#FFFFFF!important;color:#352F29!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row{background:#FFFFFF!important;border:0!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-cat,.mxf-calc-big article,.mxf-calc-mini article,.mxf-calc-history,.mxf-plan-meal,.mxf-obs-rows>button,.mxf-food-detail,.food-grid article,.food-grid button){background:#FFFFFF!important;color:#352F29!important;border-color:#E3DED4!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs){background:#EEF2E8!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs) button.active{background:#FFFFFF!important;color:#435640!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-tip,.mxf-obs-intro,.mxf-obs-tip,.mxf-plan-banner,.mxf-note){background:#EEF2E8!important;color:#706B61!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-target,.mxf-save){background:#435640!important;color:#FFFFFF!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-calc-big article:nth-child(2){background:#EEF2E8!important}
.m27-sheet.m27-sheet :is(.m27-vet-card,.m27-setting-row,.m27-care-item,.m27-faq-item,.m27-reminder-card){background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mxf-target-mini>div{background:#FFFFFF!important;border:0!important}

/* Native React subpages share the same palette as overlay sheets. */
html.mewday-v16 .real-app.real-app :is(.mxf-calc-cat,.mxf-calc-big article,.mxf-calc-mini article,.mxf-calc-history,.mxf-plan-meal,.mxf-obs-rows>button,.mxf-food-detail,.food-grid article,.food-grid button){background:#FFFFFF!important;color:#352F29!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs){background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs) button.active{background:#FFFFFF!important;color:#435640!important}
html.mewday-v16 .real-app.real-app :is(.mxf-calc-tip,.mxf-obs-intro,.mxf-obs-tip,.mxf-plan-banner,.mxf-note){background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app :is(.mxf-calc-target,.mxf-save){background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxf-calc-big article:nth-child(2){background:#EEF2E8!important}
.m27-sheet.m27-sheet :is(.m27-vet-card,.m27-setting-row,.m27-care-item,.m27-faq-item,.m27-reminder-card){background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mxf-target-mini>div{background:#FFFFFF!important;border:0!important}
html.mewday-v16 .real-app.real-app :is(.subpage,.food-calculator-page,.mxf-plan-page,.mxf-obs-page,.food-database-page){background:transparent!important}
html.mewday-v16 .real-app.real-app :is(.mxf-plan-timeline .mxf-plan-meal,.mxf-obs-rows>div,.food-grid article,.food-grid button,.memory-composer,.memory-empty){background:#FFFFFF!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app :is(.mxf-obs-page,.mxf-plan-page) :is(.primary-button,.mxf-save){background:#435640!important;color:#FFFFFF!important}
/* V49: page-specific hierarchy. Approved homepage rules remain intact. */
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile{display:grid!important;grid-template-columns:76px minmax(0,1fr) 14px!important;gap:14px!important;min-height:104px!important;padding:14px!important;background:#EEF2E8!important;border-radius:20px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile-photo{position:static!important;width:76px!important;height:76px!important;grid-column:1!important;grid-row:1!important;border-radius:12px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile-photo img{width:76px!important;height:76px!important;object-fit:cover!important;position:static!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile:after{display:none!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile>div:nth-child(2){position:static!important;padding:0!important;background:none!important;grid-column:2!important;align-self:center!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile :is(h2,p,small){color:#352F29!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile h2{font-size:22px!important;margin:0 0 5px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile>span{position:static!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok{background:#435640!important;padding:18px!important;border-radius:20px!important;gap:12px!important;align-items:start!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok :is(h2,p,b){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok h2{font-size:20px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status-icon{width:36px!important;height:36px!important;background:#435640!important;color:#14130a!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;padding:0!important;border-radius:18px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts button{display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:4px 9px!important;text-align:left!important;padding:13px!important;min-height:90px!important;border:0!important;border-bottom:1px solid #E3DED4!important;border-right:1px solid #E3DED4!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts button i{grid-column:1!important;grid-row:1/4!important;width:26px!important;height:26px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts button :is(span,b,small){grid-column:2!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-facts b{font-size:17px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming{background:#706B61!important;border:0!important;padding:16px!important;border-radius:18px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming :is(h2,b,small,em,strong,.mxh-sub){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming .mxh-list>button{background:transparent!important;border:0!important;padding:10px 0 0!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-care-tip{background:none!important;border:0!important;border-left:3px solid #435640!important;border-radius:0!important;padding:6px 0 6px 12px!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:start!important;text-align:left!important;min-height:106px!important;padding:14px 10px!important;gap:5px 9px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button i{width:34px!important;height:34px!important;grid-row:1/3!important;grid-column:1!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button i svg{width:22px!important;height:22px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button :is(b,small){grid-column:2!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-chart-empty{min-height:0!important;height:auto!important;padding:12px!important;background:#EEF2E8!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-help{padding:16px!important;background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-help h2{font-size:18px!important}
/* Meals are the main working surface, tools are secondary. */
html.mewday-v16 .real-app.real-app .mxf-cat{min-height:96px!important;grid-template-columns:64px minmax(0,1fr)!important;padding:12px!important;gap:12px!important}
html.mewday-v16 .real-app.real-app .mxf-cat-photo{width:64px!important;height:70px!important}
html.mewday-v16 .real-app.real-app .mxf-cat h2{font-size:20px!important}
html.mewday-v16 .real-app.real-app .mxf-handover{padding:12px!important;min-height:0!important;background:transparent!important;border:1px solid #E3DED4!important;border-radius:14px!important}
html.mewday-v16 .real-app.real-app .mxf-handover small{font-size:14px!important}
html.mewday-v16 .real-app.real-app .mxf-today{background:#FFFFFF!important;padding:16px!important;border-radius:20px!important}
html.mewday-v16 .real-app.real-app .mxf-today .mxf-section-head{margin:0 0 14px!important}
html.mewday-v16 .real-app.real-app .mxf-timeline{gap:0!important;padding:0!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article{display:grid!important;grid-template-columns:44px minmax(0,1fr) 62px!important;gap:10px!important;align-items:center!important;padding:14px 0!important;min-height:92px!important;border-bottom:1px solid #E3DED4!important;position:relative!important}
html.mewday-v16 .real-app.real-app .mxf-timeline:before,html.mewday-v16 .real-app.real-app .mxf-dot{display:none!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article>time{grid-column:1!important;grid-row:1!important;font-size:14px!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article>.mxf-meal{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:8px!important;background:none!important;padding:0!important}
html.mewday-v16 .real-app.real-app .mxf-timeline .mxf-meal .mxf-food-glyph{width:40px!important;height:40px!important}
html.mewday-v16 .real-app.real-app .mxf-timeline .mxf-meal img.mv-food-photo{width:40px!important;height:40px!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article>button,html.mewday-v16 .real-app.real-app .mxf-timeline article>em{grid-column:3!important;grid-row:1!important;position:static!important;width:62px!important;min-height:40px!important;font-size:14px!important;padding:8px 4px!important;justify-self:end!important;text-align:center!important}
html.mewday-v16 .real-app.real-app .mxf-intake{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html.mewday-v16 .real-app.real-app .mxf-intake>div{padding:14px!important;border-radius:16px!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid button{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;min-height:108px!important;text-align:left!important;padding:14px 10px!important;gap:5px 9px!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid button i{width:34px!important;height:34px!important;grid-column:1!important;grid-row:1/3!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid button :is(b,small){grid-column:2!important}
html.mewday-v16 .real-app.real-app .mxf-tool-grid button svg{width:22px!important;height:22px!important}
html.mewday-v16 .real-app.real-app .mxf-target{background:#EEF2E8!important;border-radius:18px!important;padding:16px!important}
html.mewday-v16 .real-app.real-app .mxf-target-mini>div{background:transparent!important;border:1px solid #F8F6F1!important;padding:10px!important}
html.mewday-v16 .real-app.real-app .mxf-recent{background:#FFFFFF!important;border-radius:18px!important;padding:16px!important}
html.mewday-v16 .real-app.real-app .mxf-refill{display:flex!important;align-items:center!important;gap:12px!important;padding:16px!important}
html.mewday-v16 .real-app.real-app .mxf-refill>button{width:auto!important;flex-shrink:0!important;min-height:44px!important;padding:10px!important;font-size:14px!important}
/* More: sectioned menus, rather than a tower of interchangeable cards. */
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group{margin:0 0 24px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group>h3{font-size:15px!important;color:#706B61!important;margin:0 0 9px 4px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-list{background:#FFFFFF!important;border-radius:20px!important;padding:0 14px!important;gap:0!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row{background:transparent!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid #E3DED4!important;min-height:80px!important;padding:14px 0!important;grid-template-columns:38px minmax(0,1fr) 14px!important;gap:12px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row:last-child{border-bottom:0!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .ico{width:38px!important;height:38px!important;background:transparent!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .ico svg{width:26px!important;height:26px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .copy small{font-size:14px!important;line-height:1.5!important;color:#706B61!important}
/* Search/content first; a compact intro no longer pushes articles far away. */
.m27-sheet.m27-sheet .m36-guide-head{min-height:150px!important;padding:16px!important;margin:0!important}
.m27-sheet.m27-sheet .m36-guide-head h2{font-size:20px!important}
.m27-sheet.m27-sheet .m36-guide-head p{max-width:210px!important}
.m27-sheet.m27-sheet .m36-guide-head .mv-guide-start{min-height:40px!important;margin-top:10px!important}
.m27-sheet.m27-sheet .m36-guide-cats button{min-height:82px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:3px 8px!important;padding:12px!important;align-items:start!important}
.m27-sheet.m27-sheet .m36-guide-cats button i{width:32px!important;height:32px!important;grid-column:1!important;grid-row:1/3!important}
.m27-sheet.m27-sheet .m36-guide-cats button i svg{width:22px!important;height:22px!important}
.m27-sheet.m27-sheet .m36-guide-cats button :is(b,small){grid-column:2!important}
.m27-sheet.m27-sheet .m36-guide-cats button small{font-size:14px!important}
.m27-sheet.m27-sheet :is(.m27-care-item,.m27-setting-row){min-height:78px!important;padding:14px!important;border-radius:14px!important}
.m27-sheet.m27-sheet .m27-caregiver-hero{padding:18px!important}
.m27-sheet.m27-sheet .mv-family-art{width:150px!important;height:90px!important}
html.mewday-v16 .real-app.real-app .mxf-calc-cat{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;min-height:80px!important;padding:12px!important}
html.mewday-v16 .real-app.real-app .mxf-calc-cat img{width:54px!important;height:54px!important}
html.mewday-v16 .real-app.real-app .mxf-calc-big{gap:10px!important}
html.mewday-v16 .real-app.real-app .mxf-calc-big article{padding:16px!important;border-radius:18px!important}
html.mewday-v16 .real-app.real-app .mxf-calc-mini article{padding:12px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-meal{min-height:84px!important;padding:14px!important;border-radius:14px!important}
html.mewday-v16 .real-app.real-app .mxf-obs-rows{background:#FFFFFF!important;border-radius:18px!important;padding:0 14px!important}
html.mewday-v16 .real-app.real-app .mxf-obs-rows>div{border:0!important;border-bottom:1px solid #E3DED4!important;border-radius:0!important;padding:16px 0!important}
html.mewday-v16 .real-app.real-app .memory-empty{padding:28px 20px!important;border-radius:20px!important}
@media(max-width:350px){html.mewday-v16 .real-app.real-app .mxf-timeline article{grid-template-columns:42px minmax(0,1fr) 58px!important;gap:6px!important}html.mewday-v16 .real-app.real-app .mxf-timeline article>.mxf-meal{grid-template-columns:1fr!important}html.mewday-v16 .real-app.real-app .mxf-timeline .mxf-meal .mxf-food-glyph{display:none!important}html.mewday-v16 .real-app.real-app :is(.mxh-tool-grid,.mxf-tool-grid) button{grid-template-columns:1fr!important;min-height:120px!important}html.mewday-v16 .real-app.real-app :is(.mxh-tool-grid,.mxf-tool-grid) button i{grid-row:1!important}html.mewday-v16 .real-app.real-app :is(.mxh-tool-grid,.mxf-tool-grid) button :is(b,small){grid-column:1!important}html.mewday-v16 .real-app.real-app .mxf-refill{display:block!important}html.mewday-v16 .real-app.real-app .mxf-refill>button{margin-top:10px!important;width:100%!important}}
html.mewday-v16 .real-app.real-app .mxf-cat-photo img{width:64px!important;height:70px!important;object-fit:cover!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-today{padding:0 16px 16px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-today .mxf-section-head{background:#435640!important;margin:0 -16px 0!important;padding:16px!important;border-radius:20px 20px 0 0!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-today .mxf-section-head :is(h2,span){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article{grid-template-columns:44px minmax(0,1fr) 74px!important}
html.mewday-v16 .real-app.real-app .mxf-timeline article>button,html.mewday-v16 .real-app.real-app .mxf-timeline article>em{width:74px!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming .mxh-head button{color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming em{background:#EEF2E8!important;color:#352F29!important}
@media(max-width:350px){html.mewday-v16 .real-app.real-app .mxf-timeline article{grid-template-columns:42px minmax(0,1fr) 74px!important;gap:6px!important}html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-cat{grid-template-columns:64px minmax(0,1fr)!important;gap:14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-cat-photo{width:64px!important;height:70px!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-cat-photo img{width:64px!important;height:70px!important;object-fit:cover!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming .mxh-list em{background:#EEF2E8!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-help .mxh-help-actions button:nth-child(2){background:#FFFFFF!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-recent article{display:grid!important;grid-template-columns:42px 40px minmax(0,1fr) 10px!important;gap:8px!important;align-items:center!important;padding:12px 0!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-recent .mxf-food-glyph,html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-recent img.mv-food-photo{width:40px!important;height:40px!important}

/* mewday-contrast-v54.css */
/* V54: colour hierarchy only. Preserve all geometry, typography and actions. */
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card{background:#435640!important;border-color:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card :is(h2,section b,section p,.mv-date-count strong,.mv-date-count small){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions button{background:#FFFFFF!important;color:#435640!important;border-color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip{background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip button:first-child{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip button:last-child{background:#EEF2E8!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip :is(span,b){color:#352F29!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .handover-home-banner{background:#EEF2E8!important;border-color:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .handover-home-banner :is(b,p,small){color:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .task-copy :is(b,strong,p,small){color:#352F29!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .daily-checklist button.done{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-target{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-target :is(h2,b,small,p){color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-intake>div:nth-child(2){background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-intake :is(b,small,p){color:#352F29!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group>h3{color:#352F29!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row[data-key="supplies"]{background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row[data-key="supplies"] :is(b,small,.ico){color:#435640!important}
.m27-sheet.m27-sheet .m27-reminder-card{border-color:#E3DED4!important}
.m27-sheet.m27-sheet .m27-notice-intro{background:#EEF2E8!important;color:#435640!important}

/* mewday-palette-v55.css */
/* V55: shared semantic palette. Colour properties only; existing geometry and icons retained. */
:root{--mv-canvas:#F8F6F1;--mv-surface:#FFFFFF;--mv-text:#352F29;--mv-text-2:#706B61;--mv-green:#435640;--mv-green-soft:#EEF2E8;--mv-peach:#EEF2E8}
html.mewday-v16 body,html.mewday-v16 .app-frame,html.mewday-v16 .real-app.real-app,.m27-sheet.m27-sheet,.mxf-subpage-bg.mxf-subpage-bg{background:#F8F6F1!important;color:#352F29!important;--ink:#352F29;--muted:#706B61;--green:#435640;--sage:#435640;--line:#E3DED4;--cream:#FFFFFF;--v16-green:#435640}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b :is(.task-panel,.home-summary-strip,.weight-card){background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip button{background:transparent!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-summary-strip :is(span,b){color:#352F29!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title{background:#435640!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title :is(h2,span){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card{background:#EEF2E8!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card :is(h2,section b,.mv-date-count strong){color:#352F29!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-card :is(section p,.mv-date-count small){color:#706B61!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .next-important-actions button{background:#FFFFFF!important;color:#435640!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app :is(.public-health-card,.handover-home-banner,.mxh-help,.mxf-refill,.mxf-handover){background:#EEF2E8!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .public-health-card button{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 :is(.mxh-profile,.mxh-facts,.mxh-record,.mxh-chart-empty){background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming{background:#EEF2E8!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming :is(h2,b,strong){color:#352F29!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming :is(small,.mxh-sub){color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming :is(.mxh-head button,em){background:#FFFFFF!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok{background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.ok :is(h2,p,b){color:#352F29!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status-icon{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.caution{background:#FFF3DD!important;color:#755319!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.alert{background:#FBEDEA!important;color:#953D36!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.alert :is(h2,p,b){color:#953D36!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.caution :is(h2,p,b){color:#755319!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 :is(.mxf-cat,.mxf-target,.mxf-recent,.mxf-today),html.mewday-v16 .real-app.real-app .mxf-food-v23 :is(.mxf-intake,.mxf-target-top,.mxf-target-mini)>div{background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-today .mxf-section-head{background:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-today .mxf-section-head :is(h2,span){color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxf-target :is(b,strong,h2){color:#352F29!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button i,.real-app .m27-row .ico,.m27-sheet.m27-sheet :is(.sicon,.cicon){background:#EEF2E8!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-cat-card,html.mewday-v16 .real-app.real-app .m27-more-home .m27-list{background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row,html.mewday-v16 .real-app.real-app .m27-more-home .m27-row[data-key="supplies"]{background:transparent!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .ico{background:transparent!important;color:#435640!important}
.m27-sheet.m27-sheet :is(.m27-care-hero,.m27-caregiver-hero,.m27-notice-intro){background:#EEF2E8!important;color:#352F29!important}
.m27-sheet.m27-sheet .m36-guide-head{background:linear-gradient(90deg,#EEF2E8 8%,#EEF2E8dd 60%,#EEF2E800),url('/mewday-hero-matcha.webp') 60% 40%/cover!important}
.m27-sheet.m27-sheet :is(.m36-guide-cats button,.m27-vet-card,.m27-setting-row,.m27-care-item,.m27-faq-item,.m27-reminder-card,.m36-guide-card){background:#FFFFFF!important;color:#352F29!important;border-color:#E3DED4!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active{background:#435640!important;color:#FFFFFF!important;border-color:#435640!important}
.m27-sheet.m27-sheet :is(input,select,textarea),.mxf-subpage-bg.mxf-subpage-bg :is(input,select,textarea){background:#FFFFFF!important;color:#352F29!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav,.m27-sheet.m27-sheet>header,.mxf-subpage-bg.mxf-subpage-bg>header{background:#FFFFFF!important;border-color:#E3DED4!important}
html.mewday-v16 .real-app.real-app .bottom-nav button.active{color:#435640!important;background:#EEF2E8!important}
html.mewday-v16 .real-app.real-app :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs) button.active,.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-tabs,.mxf-db-tabs,.mxf-plan-tabs) button.active{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mxf-calc-big article:nth-child(2),.mxf-subpage-bg.mxf-subpage-bg .mxf-calc-big article:nth-child(2){background:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(button,a,input):focus-visible,.m27-sheet.m27-sheet :is(button,a,input):focus-visible{outline-color:#435640!important}
:root{--m27-bg:#F8F6F1;--m27-card:#FFFFFF;--m27-line:#E3DED4;--m27-ink:#352F29;--m27-muted:#706B61;--m27-green:#435640;--m27-softgreen:#EEF2E8;--m27-peach:#EEF2E8;--m27-blue:#EEF2E8;--m27-purple:#EEF2E8;--m27-beige:#EEF2E8;--v37-bg:#F8F6F1;--v37-surface:#FFFFFF;--v37-soft:#EEF2E8;--v37-border:#E3DED4;--v37-text:#352F29;--v37-muted:#706B61;--v37-green:#435640;--v37-green2:#435640;--v37-green-soft:#EEF2E8;--v37-peach:#EEF2E8}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming.mxh-upcoming :is(h2,b,strong){color:#352F29!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming.mxh-upcoming :is(small,.mxh-sub){color:#706B61!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active :is(b,small){color:#FFFFFF!important}
.m27-sheet.m27-sheet .m36-guide-cats button.active i{background:#FFFFFF!important;color:#435640!important}
.m27-sheet.m27-sheet :is(.m27-caregiver-hero button,.m27-notice-link,.m27-switch input:checked+span,.m35-locate,.m35-sort button.active,.m35-vet-empty button,.m35-vet-actions button,.m34-locate,.m34-map-actions button.active,.m32-route){background:#435640!important;color:#FFFFFF!important;border-color:#435640!important}
.m27-sheet.m27-sheet .m35-vet-card{background:#FFFFFF!important;border-color:#E3DED4!important}
.m27-sheet.m27-sheet .m35-vet-card.selected{background:#EEF2E8!important;border-color:#435640!important}
.m27-sheet.m27-sheet :is(.m35-vet-num,.m32-vet-icon,.m32-card-title>span){background:#EEF2E8!important;color:#435640!important}
.m27-sheet.m27-sheet .m35-vet-actions a{background:#FFFFFF!important;color:#435640!important;border-color:#E3DED4!important}
.m27-sheet.m27-sheet .m35-map-loading{background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .open-quick-menu{color:#435640!important}
html.mewday-v16 .real-app.real-app .mxh-facts :is(span,small){color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-summary-btn{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app :is(.mxf-empty,.mxh-care-tip){background:#EEF2E8!important;color:#706B61!important}
html.mewday-v16 .real-app.real-app .m27-row .arrow,.m27-sheet.m27-sheet :is(.m36-guide-arrow,.m36-guide-count){color:#706B61!important}
:root{--ink:#352F29;--muted:#706B61;--paper:#F8F6F1;--cream:#FFFFFF;--warm:#435640;--deep:#435640;--sage:#435640;--sage-dark:#435640;--line:#E3DED4;--mv-muted:#706B61;--mv-border:#E3DED4;--mv-surface-soft:#EEF2E8;--mv-green-2:#435640}
html.mewday-v16 .mx-health-summary-card{background:#EEF2E8!important;border-color:#E3DED4!important}
html.mewday-v16 .mx-health-summary-card :is(span,p){color:#706B61!important}
html.mewday-v16 .mx-health-summary-card h3{color:#352F29!important}
html.mewday-v16 .mx-health-summary-card .mx-health-summary-btn{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 :is(.health-review-entry,.today-clear,.report-status-grid article,.monthly-conclusion,.today-feeding-hero){background:#EEF2E8!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-empty{background:#EEF2E8!important;color:#706B61!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-plan-tabs button{color:#706B61!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-plan-tabs button.active{color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .food-calculator-page .calculator-hero{background:#EEF2E8!important}
html.mewday-v16 .mx-health-summary-btn{background:#435640!important;color:#FFFFFF!important}
html.mewday-v16 .health-review-entry{background:#EEF2E8!important}
.m27-sheet.m27-sheet :is(.m35-source,.m35-results-head small){color:#706B61!important}
html.mewday-v16 .real-app.real-app .bottom-nav button:not(.active){color:#706B61!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-upcoming .mxh-list em.overdue{background:#FBEDEA!important;color:#953D36!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.alert .mxh-status-icon{background:#953D36!important;color:#FFFFFF!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status.caution .mxh-status-icon{background:#755319!important;color:#FFFFFF!important}

/* mewday-photo-crop-v56.css */
.m56-dialog{position:fixed;inset:0;z-index:20000;overflow:auto;background:#F8F6F1;color:#352F29;font:16px/1.5 system-ui,-apple-system,sans-serif;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.m56-dialog *{box-sizing:border-box}.m56-panel{max-width:480px;margin:auto;padding:0 18px 24px}.m56-panel>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 -18px;padding:12px;background:#FFF;border-bottom:1px solid #E3DED4}.m56-panel h2{font-size:18px;margin:0}.m56-dialog button{font:inherit;font-size:14px;font-weight:600;min-height:44px;border:0;border-radius:12px;padding:9px 12px;background:transparent;color:#435640;cursor:pointer}.m56-dialog [data-save]{background:#435640;color:#FFF}.m56-panel>p{font-size:14px;color:#706B61;margin:16px 0}.m56-tabs{display:flex;gap:8px;margin-bottom:16px}.m56-tabs button{flex:1;background:#FFF;border:1px solid #E3DED4}.m56-tabs button[aria-selected=true]{background:#435640;color:#FFF}.m56-stage{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:18px;background:#EEF2E8;touch-action:none;cursor:grab}.m56-stage>img,.m56-avatar>img,.m56-home>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;margin:0}.m56-stage img{user-select:none;-webkit-user-drag:none}.m56-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 33.1%,#ffffff80 33.1%,#ffffff80 33.5%,transparent 33.5%,transparent 66.4%,#ffffff80 66.4%,#ffffff80 66.8%,transparent 66.8%),linear-gradient(0deg,transparent 33.1%,#ffffff80 33.1%,#ffffff80 33.5%,transparent 33.5%,transparent 66.4%,#ffffff80 66.4%,#ffffff80 66.8%,transparent 66.8%)}.m56-home-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:18px;background:linear-gradient(transparent 45%,#0009);color:#FFF;pointer-events:none}.m56-home-copy[hidden]{display:none}.m56-home-copy b{font-size:24px}.m56-home-copy span{font-size:14px}.m56-zoom{display:flex;gap:12px;align-items:center;font-size:14px}.m56-zoom input{flex:1;min-width:0;accent-color:#435640;height:44px}.m56-zoom output{min-width:50px;text-align:right}.m56-options{display:flex;align-items:center;justify-content:space-between;margin:8px 0 16px;font-size:14px}.m56-options label{color:#435640;text-decoration:underline;cursor:pointer;padding:12px 0}.m56-options input{position:absolute;width:1px;height:1px;opacity:0}.m56-pair{display:grid;grid-template-columns:96px 1fr;gap:20px;border-top:1px solid #E3DED4;padding-top:14px}.m56-pair b{display:block;font-size:14px;color:#706B61;margin-bottom:8px}.m56-avatar{position:relative;width:80px;height:80px;border-radius:18px;overflow:hidden}.m56-home{position:relative;width:100%;overflow:hidden;border-radius:14px;background:#EEF2E8}.m56-actions{position:absolute;right:12px;top:12px;z-index:4}.m56-actions button{min-height:44px;padding:8px 12px;border:1px solid #FFFFFF70;border-radius:12px;background:#FFFFFFed;color:#435640;font:600 14px/1.4 system-ui,sans-serif;box-shadow:0 2px 8px #0001}.m56-toast{position:fixed;z-index:21000;bottom:100px;left:50%;transform:translateX(-50%);max-width:90vw;background:#435640;color:#FFF;padding:12px 16px;border-radius:14px;font:14px/1.5 system-ui,sans-serif}.m56-dialog :focus-visible{outline:2px solid #435640;outline-offset:3px}@media(max-width:360px){.m56-panel h2{font-size:16px}.m56-dialog button{padding-left:9px;padding-right:9px}}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-welcome .cat-portrait{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;overflow:hidden!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .home-welcome .cat-portrait>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important}

/* mewday-qa-v61.css */
/* Readable mobile tool cards: keep type size, let descriptions use full width. */
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button{grid-template-columns:34px minmax(0,1fr)!important;gap:8px 9px!important;padding:14px 12px!important;align-content:start!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button i{grid-column:1!important;grid-row:1!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button b{grid-column:2!important;align-self:center!important;min-width:0!important}
html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid) button small{grid-column:1/-1!important;grid-row:2!important;font-size:14px!important;line-height:1.6!important;min-width:0!important}
#mewday-ext-modal .mxh-list{display:grid;gap:10px;margin-top:16px}
#mewday-ext-modal .mxh-list button{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:14px;text-align:left;background:#fffdf8;border:1px solid #d7ddd4;border-radius:14px;color:#29463b}
#mewday-ext-modal .mxh-list button span{flex:1;min-width:0;display:grid;gap:5px}
#mewday-ext-modal .mxh-list button small{font-size:14px;line-height:1.5;color:#586558}
#mewday-ext-modal .mxh-list button b{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
#mewday-ext-modal .mxh-list button strong{flex:none;font-size:22px}
.mxf-empty [data-food-retry]{min-height:44px;margin-top:12px;padding:10px 20px;background:#294b3d;color:white;border:0;border-radius:12px;font-size:16px}
@media(max-width:350px){html.mewday-v16 .real-app.real-app :is(.mxf-tool-grid,.mxh-tool-grid){grid-template-columns:minmax(0,1fr)!important}}

/* V62 supplementary QA: preserve long cat names inside mobile cards. */
.hero-copy h2,.m27-cat-card h2,.mxh-cat-name{overflow-wrap:anywhere!important;min-width:0!important}
/* QA: keep caregiver action readable beside long email on narrow phones. */
.m27-caregiver-row>div{min-width:0!important;flex:1!important}
.m27-caregiver-row small{overflow-wrap:anywhere!important}
.m27-caregiver-row [data-manage-care]{flex-shrink:0!important;white-space:nowrap!important}
.m27-caregiver-row [data-manage-care]{min-width:44px!important;min-height:44px!important;padding:8px!important}
.m27-caregiver-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) 44px!important;gap:10px!important;align-items:center!important}
.m27-caregiver-row small{display:block!important;width:auto!important;max-width:100%!important;word-break:break-word!important}
/* PDF renderer does not reliably position CSS grid tracks. */
.vr-profile{display:flex!important;align-items:flex-start!important;gap:18px!important}
.vr-profile>.vr-cat-photo{position:static!important;flex:0 0 130px!important;width:130px!important;height:130px!important;transform:none!important;margin:22px 0 0!important}
.vr-profile>.vr-grid{flex:1!important;min-width:0!important}
.vr-grid,.vr-overview{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:0!important}
.vr-grid>div,.vr-overview>div{box-sizing:border-box!important;width:calc(50% - 5px)!important;margin-bottom:10px!important;overflow-wrap:anywhere!important}
.vr-overview b,.vr-overview small{display:block!important}
.vr-overview small{margin-top:5px!important;color:#68756f!important}

/* V62: keep the health-case action in the form flow so it cannot cover details. */
.health-concern-modal>.modal-save-case{position:static!important;margin-top:16px!important;box-shadow:none!important}

.v37-groom-error{color:#8d3c2f!important;background:#fff0eb!important;border-radius:12px!important;padding:12px!important;margin:12px 0!important;line-height:1.6!important;overflow-wrap:anywhere!important}
.v37-groom-error[hidden]{display:none!important}

/* mewday-revision-v63.css */
.real-app .mxh-section .mxh-head button{background:transparent!important;box-shadow:none!important;border:0!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:44px!important;padding:8px 0 8px 12px!important;line-height:1.4!important;white-space:nowrap!important;border-radius:0!important}
.real-app .mxh-head h2{min-width:0;line-height:1.4}
html.mewday-v16 .real-app.real-app .topbar .avatar{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;aspect-ratio:1!important;flex:0 0 38px!important;box-sizing:border-box!important;border-radius:50%!important;overflow:hidden!important;padding:0!important;position:relative!important}
html.mewday-v16 .real-app.real-app .topbar .avatar>img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:50%!important}
.m56-avatar{border-radius:50%!important}
.contract-guarantees,.m63-outcome{margin:16px 0;padding:16px;border:1px solid #ded7ce;border-radius:16px;background:#faf8f3}
.contract-guarantees h3,.m63-outcome h3{margin:0 0 8px;font-size:17px}
.contract-guarantees p,.m63-outcome p{font-size:13px;line-height:1.6}
.m63-outcome form,.contract-guarantee-fields{display:grid;gap:12px}
.m63-outcome label,.contract-guarantee-fields label{display:grid;gap:6px;min-width:0;font-size:14px}
.m63-outcome input,.m63-outcome select,.m63-outcome textarea,.contract-guarantee-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #ded7ce;border-radius:10px;background:#fff;font:inherit}
.contract-guarantee-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-guarantee-fields small{font-size:12px;line-height:1.5}
@media(max-width:540px){.contract-guarantee-fields{grid-template-columns:1fr}}

html.mewday-v16 .real-app.real-app .mx-health-v19.mx-health-v19 .mxh-upcoming .mxh-head button{background:transparent!important;color:#435640!important;box-shadow:none!important;border:0!important;padding:8px 0 8px 12px!important;min-height:44px!important;width:auto!important;white-space:nowrap!important}
/* V70 actual handover guarantee status */
.mx-guarantee-status{margin:14px 0;padding:14px 15px;border:1px solid #ddd6ca;border-radius:14px;background:#f8f5ee;display:grid;gap:10px}.mx-guarantee-status>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.mx-guarantee-status b{color:#3f4e43}.mx-guarantee-status span,.mx-guarantee-status small{color:#737a72}.mx-guarantee-status small{line-height:1.55}.mx-guarantee-status.pending>div span{font-weight:800;color:#846d4f}.mx-guarantee-status.active{background:#f3f7f1;border-color:#d5dfd1}.mx-guarantee-status ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.mx-guarantee-status li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dfe6dc;padding-top:7px}.mx-guarantee-status li span{font-size:12px}.mx-guarantee-status li b{font-size:12px;text-align:right}@media(max-width:540px){.mx-guarantee-status>div,.mx-guarantee-status li{align-items:flex-start;flex-direction:column;gap:4px}.mx-guarantee-status li b{text-align:left}}

/* mewday-mobile-polish-v65.css */

/* V65 mobile polish: notification CTA, visit modal and food page spacing */
@media (max-width: 640px){
  .notification-gate-shell{padding:16px 14px calc(28px + env(safe-area-inset-bottom))!important;align-items:center!important}
  .notification-gate-card{width:100%!important;gap:14px!important;padding:24px 20px!important;border-radius:24px!important}
  .notification-gate-card h1{font-size:28px!important;line-height:1.24!important}
  .notification-benefits{gap:6px!important}
  .notification-benefits span{padding:6px 9px!important;font-size:12px!important}
  .notification-gate-card .primary-wide{display:block!important;width:100%!important;min-height:52px!important;margin-top:2px!important}
  .iphone-install-steps{margin:0!important;padding:14px!important;border-radius:14px!important;background:#f7f4ee!important}
  .iphone-install-steps b{display:block!important;margin-bottom:6px!important}
  .iphone-install-steps p{margin:0!important;line-height:1.55!important}

  #mewday-ext-bg{padding:12px!important;align-items:center!important}
  #mewday-ext-modal.mx-home-visit-modal{width:100%!important;max-height:82dvh!important;padding:20px 18px 18px!important;border-radius:24px!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-close{top:12px!important;right:12px!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-visit-card{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-kicker{margin:4px 44px 6px 0!important;line-height:1.2!important}
  #mewday-ext-modal.mx-home-visit-modal h2{margin:0 44px 10px 0!important;line-height:1.25!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-helper{margin:0 0 14px!important;line-height:1.5!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-actions{margin-top:12px!important}
  #mewday-ext-modal.mx-home-visit-modal .mx-primary{min-height:48px!important;padding:11px 18px!important}

  html.mewday-v16 .real-app.real-app .mxf-food-v23{padding-top:6px!important;padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-section{margin-bottom:12px!important;padding:14px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-tools{margin-bottom:12px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-tool-grid{margin-top:10px!important;gap:8px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-tool-grid button{min-height:106px!important;padding:12px 10px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-target{margin-top:0!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-target .mxf-section-head{margin-bottom:8px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-no-target{margin-top:8px!important;padding:10px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-v23 .mxf-recent{margin-top:0!important;padding:14px!important}
}

/* V72 hardening: accessibility, phone navigation, article image fallback */
.auth-email-label{display:grid;gap:6px;font-size:13px;font-weight:800;color:#5d534a}
.auth-email-label>span{padding-left:3px}
.login-close,.landing-nav button,.landing-nav a,.auth-choice,.email-login{min-width:44px;min-height:44px}
.m36-image-unavailable{display:grid;place-items:center;min-height:120px;margin:12px 0;border:1px dashed #d7d0c6;border-radius:14px;background:#f8f6f1;color:#81786e;font-size:13px}
.m36-reader-body a[aria-disabled="true"]{color:inherit;text-decoration:none;cursor:default}
@media (max-width:640px){
  .landing-nav{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:10px 12px!important}
  .landing-nav>nav{grid-column:1/-1!important;display:flex!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:none!important;padding:2px 0 4px!important;white-space:nowrap!important}
  .landing-nav>nav::-webkit-scrollbar{display:none!important}
  .landing-nav>nav a{display:inline-flex!important;align-items:center!important;padding:7px 10px!important;border:1px solid #e2ddd4!important;border-radius:999px!important;background:#fffaf4!important;font-size:12px!important;text-decoration:none!important}
}

/* === FOOD FINAL INFORMATION ARCHITECTURE · frozen V73 === */
html.mewday-v16 .real-app.real-app .mxf-food-v23.mxf-food-ia{padding:8px 12px calc(94px + env(safe-area-inset-bottom))!important;max-width:760px!important;margin:0 auto!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top{margin:0 0 12px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top h1{font-size:28px!important;line-height:1.15!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat{display:grid!important;grid-template-columns:68px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;background:#fff!important;border:1px solid #E3DED4!important;border-radius:18px!important;padding:11px!important;margin:0 0 10px!important;box-shadow:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{width:68px!important;height:68px!important;border-radius:14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat h2{font-size:19px!important;line-height:1.25!important;margin:0 0 3px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat p,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat small{font-size:13px!important;line-height:1.45!important;color:#6F685F!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat>button{position:static!important;grid-column:3!important;grid-row:1!important;align-self:center!important;border:0!important;background:#EEF2E8!important;color:#435640!important;border-radius:999px!important;padding:9px 11px!important;font-size:12px!important;font-weight:750!important;white-space:nowrap!important;margin:0!important}

html.mewday-v16 .real-app.real-app .mxf-date-switcher{display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px!important;gap:5px!important;align-items:stretch!important;margin:0 0 12px!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher>button{border:0!important;background:transparent!important;color:#514A43!important;font-size:28px!important;line-height:1!important;border-radius:10px!important;padding:0!important;min-width:32px!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher>button:disabled{opacity:.22!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher>div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;min-width:0!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date]{border:1px solid #EEE9E1!important;background:#fff!important;border-radius:12px!important;padding:8px 3px 7px!important;display:grid!important;gap:1px!important;min-width:0!important;color:#70685F!important;box-shadow:none!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date] b{font-size:13px!important;line-height:1.2!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date] small{font-size:11px!important;line-height:1.2!important;color:#8B8279!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date].active{background:#EEF2E8!important;border-color:#D9E1D3!important;box-shadow:inset 0 -3px 0 #435640!important;color:#243C27!important}
html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date].active small{color:#435640!important;font-weight:700!important}

html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section{background:#fff!important;border:1px solid #E3DED4!important;border-radius:18px!important;padding:15px!important;margin:0 0 12px!important;box-shadow:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head{align-items:center!important;margin:0 0 11px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head h2,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tools>h2{font-size:18px!important;line-height:1.25!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head span,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head button{font-size:12px!important;color:#6F685F!important;font-weight:700!important}

html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-today{padding:15px!important;overflow:visible!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-today .mxf-section-head{background:transparent!important;margin:0 0 11px!important;padding:0!important;border-radius:0!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-today .mxf-section-head :is(h2,span){color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-meal-list{display:grid!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .mxf-meal-list article{display:grid!important;grid-template-columns:88px 42px minmax(0,1fr) 68px!important;gap:9px!important;align-items:center!important;min-height:76px!important;background:#FAF9F6!important;border:1px solid #EEE9E1!important;border-radius:14px!important;padding:10px!important;cursor:pointer!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:7px!important;align-items:center!important;min-width:0!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period>i{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;color:#E69A27!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period.moon>i{color:#6577C9!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period svg{width:24px!important;height:24px!important;stroke-width:2!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period b{display:block!important;font-size:14px!important;line-height:1.2!important;color:#352F29!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-meal-period small{display:block!important;font-size:11px!important;color:#777067!important;margin-top:2px!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-meal-list .mxf-food-glyph{width:42px!important;height:42px!important;border-radius:50%!important;background:#F1EEE8!important;color:#76563D!important;display:grid!important;place-items:center!important}
html.mewday-v16 .real-app.real-app .mxf-meal-list .mxf-food-glyph svg{width:24px!important;height:24px!important}
html.mewday-v16 .real-app.real-app .mxf-meal-copy{min-width:0!important}
html.mewday-v16 .real-app.real-app .mxf-meal-copy b,html.mewday-v16 .real-app.real-app .mxf-meal-copy small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-meal-copy b{font-size:14px!important;line-height:1.35!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-meal-copy small{font-size:12px!important;line-height:1.35!important;color:#746D64!important;margin-top:3px!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check{width:64px!important;min-height:54px!important;border:0!important;background:transparent!important;color:#756E65!important;padding:4px!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:3px!important;border-radius:12px!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check>i{width:29px!important;height:29px!important;border:2px solid #8E887F!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#fff!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check>i svg{width:17px!important;height:17px!important;stroke-width:3!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check span{font-size:10px!important;line-height:1.1!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check.done{color:#356044!important}
html.mewday-v16 .real-app.real-app .mxf-meal-check.done>i{background:#435640!important;border-color:#435640!important;color:#fff!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-extra{margin-top:10px!important;min-height:44px!important;border-radius:12px!important;background:#EEF2E8!important;border-color:#DCE5D6!important;color:#435640!important;font-size:14px!important}

html.mewday-v16 .real-app.real-app .mxf-observation-compact{padding:13px 15px!important}
html.mewday-v16 .real-app.real-app .mxf-observation-compact .mxf-section-head{margin-bottom:8px!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips{width:100%!important;border:0!important;background:transparent!important;padding:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;text-align:left!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips>i{font-style:normal!important;background:#F6F7F2!important;border-radius:12px!important;padding:9px 8px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:1px 7px!important;align-items:center!important;min-width:0!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips>i>span{grid-row:1/3!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:#435640!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips>i>span svg{width:20px!important;height:20px!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips strong,html.mewday-v16 .real-app.real-app .mxf-observe-chips em{font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips strong{color:#514A43!important}
html.mewday-v16 .real-app.real-app .mxf-observe-chips em{font-style:normal!important;color:#46704D!important;font-weight:750!important}

html.mewday-v16 .real-app.real-app .mxf-intake-section{padding:13px 15px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake>div{background:#FAF9F6!important;border:1px solid #EEE9E1!important;border-radius:14px!important;padding:11px!important;display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:2px 7px!important;align-items:center!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake span{grid-row:1/3!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;margin:0!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake strong{grid-column:2!important;margin:0!important;font-size:19px!important;line-height:1.15!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake strong small{font-size:11px!important;color:#777067!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake b{grid-column:2!important;font-size:10px!important;color:#777067!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar{grid-column:1/-1!important;margin-top:7px!important;height:7px!important;background:#E8E8E2!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar i{background:#658460!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar.water i{background:#6D95B5!important}

html.mewday-v16 .real-app.real-app .mxf-plan-preview .mxf-section-head{align-items:flex-start!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview .mxf-section-head>div small{display:block!important;font-size:11px!important;line-height:1.4!important;color:#7A726A!important;margin-top:3px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list{display:grid!important;gap:7px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list article{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;min-height:56px!important;background:#FAF9F6!important;border-radius:12px!important;padding:9px 10px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list article>i{width:34px!important;height:34px!important;border-radius:50%!important;background:#FFF6E8!important;color:#E69A27!important;display:grid!important;place-items:center!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list article>i.moon{background:#F0F1FB!important;color:#6577C9!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list article>i svg{width:20px!important;height:20px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list b,html.mewday-v16 .real-app.real-app .mxf-plan-preview-list small{display:block!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list b{font-size:13px!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list small{font-size:11px!important;color:#777067!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin-top:2px!important}
html.mewday-v16 .real-app.real-app .mxf-plan-preview-list strong{font-size:12px!important;color:#435640!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-plan-empty{width:100%!important;border:1px dashed #D6DAD0!important;background:#F7F8F4!important;color:#435640!important;border-radius:12px!important;padding:12px!important;font-weight:750!important}

html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tools{padding:13px 15px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:9px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button{min-height:78px!important;border:1px solid #ECE7DE!important;background:#FAF9F6!important;border-radius:13px!important;padding:10px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 8px!important;align-items:center!important;text-align:left!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button i{width:32px!important;height:32px!important;grid-column:1!important;grid-row:1/3!important;background:#EEF2E8!important;color:#435640!important;margin:0!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button b{grid-column:2!important;grid-row:1!important;font-size:13px!important;line-height:1.2!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button small{grid-column:2!important;grid-row:2!important;font-size:10px!important;line-height:1.25!important;color:#777067!important;display:block!important}

html.mewday-v16 .real-app.real-app .mxf-history-row{width:100%!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 18px!important;gap:10px!important;align-items:center!important;text-align:left!important;border:1px solid #E3DED4!important;background:#fff!important;border-radius:16px!important;padding:12px 14px!important;margin:0 0 12px!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-history-row>i{width:38px!important;height:38px!important;border-radius:50%!important;background:#EEF2E8!important;color:#435640!important;display:grid!important;place-items:center!important}
html.mewday-v16 .real-app.real-app .mxf-history-row>i svg{width:21px!important;height:21px!important}
html.mewday-v16 .real-app.real-app .mxf-history-row b,html.mewday-v16 .real-app.real-app .mxf-history-row small{display:block!important}
html.mewday-v16 .real-app.real-app .mxf-history-row b{font-size:14px!important}
html.mewday-v16 .real-app.real-app .mxf-history-row small{font-size:11px!important;color:#777067!important;margin-top:2px!important}
html.mewday-v16 .real-app.real-app .mxf-history-row>strong{font-size:20px!important;color:#8B837A!important}

html.mxf-modal-open{overflow:hidden!important}
.mxf-meal-log-overlay{position:fixed!important;inset:0!important;z-index:10060!important;background:rgba(35,31,27,.38)!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:18px 10px max(18px,env(safe-area-inset-bottom))!important}
.mxf-meal-log-sheet{width:min(100%,520px)!important;background:#FBFAF7!important;border-radius:24px 24px 18px 18px!important;padding:10px 16px 18px!important;box-shadow:0 -12px 34px rgba(35,31,27,.2)!important;color:#352F29!important}
.mxf-sheet-handle{width:42px!important;height:4px!important;border-radius:99px!important;background:#D3CEC5!important;margin:0 auto 10px!important}
.mxf-meal-log-sheet header{display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;gap:12px!important;align-items:start!important}
.mxf-meal-log-sheet header small{font-size:11px!important;color:#777067!important}
.mxf-meal-log-sheet header h2{font-size:20px!important;line-height:1.3!important;margin:3px 0 2px!important;color:#352F29!important}
.mxf-meal-log-sheet header p{font-size:12px!important;margin:0!important;color:#777067!important}
.mxf-meal-log-sheet [data-close]{width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;background:#F0EDE7!important;font-size:24px!important;color:#615B54!important}
.mxf-eaten-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:16px 0 14px!important}
.mxf-eaten-options button{border:1px solid #DFDBD2!important;background:#fff!important;border-radius:12px!important;min-height:42px!important;padding:8px 6px!important;color:#4D4741!important;font-size:12px!important;font-weight:700!important}
.mxf-eaten-options button.active{background:#EEF2E8!important;border-color:#AEBFA7!important;color:#345138!important}
.mxf-actual-grams{display:block!important;background:#fff!important;border:1px solid #E6E1D8!important;border-radius:14px!important;padding:12px!important}
.mxf-actual-grams>span{display:block!important;font-size:13px!important;font-weight:750!important;margin-bottom:8px!important}
.mxf-actual-grams>div{display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;gap:6px!important;align-items:center!important}
.mxf-actual-grams input{width:100%!important;border:1px solid #D8D4CC!important;border-radius:10px!important;min-height:44px!important;padding:8px 10px!important;font:inherit!important;font-size:17px!important;background:#FAF9F6!important;color:#352F29!important}
.mxf-actual-grams b{font-size:14px!important;color:#5F5850!important}
.mxf-actual-grams small{display:block!important;font-size:10px!important;color:#827A71!important;margin-top:6px!important}
.mxf-meal-save{width:100%!important;min-height:48px!important;border:0!important;border-radius:13px!important;background:#435640!important;color:#fff!important;font-size:15px!important;font-weight:800!important;margin-top:13px!important}

@media(max-width:430px){
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat{grid-template-columns:62px minmax(0,1fr) auto!important;gap:9px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{width:62px!important;height:62px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat>button{font-size:11px!important;padding:8px 9px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-list article{grid-template-columns:82px 38px minmax(0,1fr) 60px!important;gap:7px!important;padding:9px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-list .mxf-food-glyph{width:38px!important;height:38px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-check{width:58px!important}
 html.mewday-v16 .real-app.real-app .mxf-observe-chips>i{grid-template-columns:21px minmax(0,1fr)!important;padding:8px 6px!important;gap:1px 5px!important}
 html.mewday-v16 .real-app.real-app .mxf-observe-chips>i>span{width:21px!important;height:21px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button{min-height:82px!important;padding:9px!important}
}
@media(max-width:360px){
 html.mewday-v16 .real-app.real-app .mxf-food-v23.mxf-food-ia{padding-left:8px!important;padding-right:8px!important}
 html.mewday-v16 .real-app.real-app .mxf-date-switcher{grid-template-columns:28px minmax(0,1fr) 28px!important}
 html.mewday-v16 .real-app.real-app .mxf-date-switcher>div{gap:4px!important}
 html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date]{padding:7px 1px 6px!important}
 html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date] b{font-size:11px!important}
 html.mewday-v16 .real-app.real-app .mxf-date-switcher [data-date] small{font-size:10px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-list article{grid-template-columns:73px 34px minmax(0,1fr) 52px!important;gap:5px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-period{grid-template-columns:22px minmax(0,1fr)!important;gap:4px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-period>i{width:22px!important;height:22px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-period b{font-size:12px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-copy b{font-size:12px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-copy small{font-size:10px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-check{width:50px!important}
 html.mewday-v16 .real-app.real-app .mxf-meal-check span{font-size:9px!important}
 .mxf-eaten-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* Food IA readability refinement */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-height:1.25!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy small{white-space:nowrap!important}
.mxf-meal-advanced{width:100%!important;min-height:40px!important;border:0!important;background:transparent!important;color:#526A50!important;font-size:12px!important;font-weight:750!important;margin-top:5px!important;text-decoration:underline!important;text-underline-offset:3px!important}

/* === V73 FOOD VISUAL CONVERGENCE 2 · approved low-colour asset/icon standard === */
html.mewday-v16 .real-app.real-app .mxf-food-ia{font-family:system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang HK","PingFang TC","Noto Sans CJK HK","Noto Sans TC","Microsoft JhengHei",sans-serif!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top{margin-bottom:9px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top h1{font-size:24px!important;letter-spacing:-.02em!important}

/* Meal rows: mockup rhythm, real food thumbnail, low-colour icon family */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-today{padding:13px 14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-today .mxf-section-head{margin-bottom:8px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-list{gap:6px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-list article{grid-template-columns:78px 48px minmax(0,1fr) 54px!important;gap:7px!important;min-height:66px!important;padding:7px 8px!important;background:#FCFBF8!important;border-color:#EFEAE2!important;border-radius:13px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period{grid-template-columns:27px minmax(0,1fr)!important;gap:5px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period>i{width:27px!important;height:27px!important;border-radius:50%!important;background:#FFF4DF!important;color:#C98727!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period.moon>i{background:#F1F0F7!important;color:#64677F!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period svg{width:19px!important;height:19px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period b{font-size:14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period small{font-size:11px!important}
html.mewday-v16 .real-app.real-app .mxf-food-thumb{width:48px!important;height:48px!important;border-radius:12px!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:#F7F4EE!important;border:1px solid #EEE8DE!important;flex:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-thumb img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;margin:0!important;border:0!important;background:#F7F4EE!important}
html.mewday-v16 .real-app.real-app .mxf-food-thumb-fallback{color:#6F665D!important}
html.mewday-v16 .real-app.real-app .mxf-food-thumb-fallback svg{width:22px!important;height:22px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{font-size:14px!important;line-height:1.25!important;-webkit-line-clamp:1!important;white-space:nowrap!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy small{font-size:11.5px!important;margin-top:2px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check{width:52px!important;min-height:48px!important;gap:2px!important;padding:2px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check>i{width:26px!important;height:26px!important;border-width:1.8px!important;border-color:#6F826F!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check.done>i{background:#718D69!important;border-color:#718D69!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check span{font-size:9.5px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-extra{min-height:42px!important;margin-top:8px!important;background:#F0F4EC!important;border-color:#DFE7D9!important;font-size:13px!important}

/* Observation becomes a compact secondary strip instead of a heavy section card */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observation-compact{background:transparent!important;border:0!important;border-radius:0!important;padding:2px 0 0!important;margin-bottom:12px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observation-compact .mxf-section-head{padding:0 2px!important;margin-bottom:7px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observation-compact .mxf-section-head h2{font-size:16px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips{gap:6px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips>i{min-height:58px!important;border:1px solid #EEEAE2!important;border-radius:13px!important;padding:8px 7px!important;grid-template-columns:29px minmax(0,1fr)!important;gap:1px 6px!important;background:#F8F8F4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips>i>span{width:29px!important;height:29px!important;border-radius:50%!important;background:#EDF3E8!important;color:#657B60!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips>i.tone-sand>span{background:#F7F0E4!important;color:#795F42!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips>i.tone-blush>span{background:#F7ECE8!important;color:#9A6056!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips>i>span svg{width:18px!important;height:18px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips strong{font-size:11px!important;color:#585149!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips em{font-size:12px!important;color:#4E6C4E!important}

/* Intake: compact, muted accents */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake-section{padding:12px 14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake-section .mxf-section-head{margin-bottom:7px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake>div{min-height:82px!important;padding:9px 10px!important;background:#FCFBF8!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake span{width:30px!important;height:30px!important;border-radius:50%!important;background:#F7EEE2!important;color:#B87935!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .tone-water span{background:#EAF1F4!important;color:#64829A!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake span svg{width:18px!important;height:18px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake strong{font-size:18px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar{height:6px!important;background:#ECECE7!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar i{background:#7D9D78!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake .mxf-bar.water i{background:#7D9BAD!important}

/* Daily plan: mockup-style three compact cards; wraps only when >3 meals */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview{padding:13px 14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview .mxf-section-head{margin-bottom:8px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article{display:block!important;min-height:126px!important;padding:8px!important;border:1px solid #EEE9E1!important;background:#FCFBF8!important;border-radius:13px!important;min-width:0!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-card-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;margin-bottom:5px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-card-top>i{width:27px!important;height:27px!important;border-radius:50%!important;background:#FFF4DF!important;color:#C98727!important;display:grid!important;place-items:center!important;flex:none!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-card-top>i.moon{background:#F1F0F7!important;color:#64677F!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-card-top>i svg{width:18px!important;height:18px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-food{width:42px!important;height:42px!important;border-radius:11px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>b{display:block!important;font-size:12.5px!important;line-height:1.25!important;margin-bottom:3px!important;color:#352F29!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>small{display:block!important;font-size:10.5px!important;line-height:1.25!important;color:#777067!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0 0 4px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>strong{display:block!important;font-size:11.5px!important;color:#5A6E56!important;white-space:nowrap!important}

/* Tools: compact, consistent low-saturation icon family */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tools{padding:12px 14px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tools>h2{font-size:16px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid{gap:6px!important;margin-top:7px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button{min-height:64px!important;padding:8px 9px!important;grid-template-columns:32px minmax(0,1fr)!important;gap:1px 7px!important;background:#FCFBF8!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button i{width:32px!important;height:32px!important;border-radius:50%!important;background:#EDF3E8!important;color:#526B50!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button i.tone-aqua{background:#EAF1F1!important;color:#526E70!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button i.tone-sand{background:#F7F0E4!important;color:#765B3E!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button i svg{width:19px!important;height:19px!important;stroke-width:2.15!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button b{font-size:12.5px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button small{font-size:10px!important;line-height:1.2!important}

/* History: one simple entry, not a second recent-records module */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-history-row{min-height:58px!important;padding:9px 12px!important;border-radius:14px!important;grid-template-columns:34px minmax(0,1fr) 16px!important;gap:9px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-history-row>i{width:34px!important;height:34px!important;background:#F7F0E4!important;color:#765B3E!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-history-row>i svg{width:19px!important;height:19px!important;stroke-width:2.15!important}

/* Food tab nav visual only; no change to global nav behaviour */
html.mxf-food-active .bottom-nav button.active,html.mxf-food-active .bottom-nav button[aria-current="page"]{background:#EEF2E8!important;color:#435640!important}

@media(max-width:430px){
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-list article{grid-template-columns:64px 42px minmax(0,1fr) 44px!important;gap:5px!important;padding:7px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-food-thumb{width:42px!important;height:42px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-food{width:40px!important;height:40px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button{min-height:62px!important}
}
@media(max-width:350px){
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-list article{grid-template-columns:60px 38px minmax(0,1fr) 42px!important;gap:4px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-food-thumb{width:40px!important;height:40px!important}
}
/* Food IA typography lock: preserve current app sans-serif, including headings/buttons */
html.mewday-v16 .real-app.real-app .mxf-food-ia,
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(h1,h2,h3,p,b,strong,small,span,em,button,input,textarea,select,label,time){font-family:system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang HK","PingFang TC","Noto Sans CJK HK","Noto Sans TC","Microsoft JhengHei",sans-serif!important}

/* Full-QA convergence: preserve readable 14px food names without premature ellipsis */
@media(max-width:430px){
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{font-size:14px!important;line-height:1.25!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check{width:44px!important;min-height:48px!important}
 html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>small{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;min-height:26px!important;overflow:hidden!important;text-overflow:ellipsis!important}
}


/* === V73 VISUAL CONSISTENCY CLOSEOUT · account + food/health typography === */
.m27-sheet.m27-sheet .m60-account-hero{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;background:#fff;border:1px solid #E3DED4;border-radius:20px;padding:14px;margin:0 0 22px}
.m27-sheet.m27-sheet .m60-account-hero>img{width:76px;height:76px;border-radius:12px;object-fit:cover;background:#EEE9E1}
.m27-sheet.m27-sheet .m60-account-name{min-width:0}
.m27-sheet.m27-sheet .m60-account-name h2{font-size:22px!important;line-height:1.35!important;margin:0 0 4px!important;font-weight:700!important;color:#352F29!important}
.m27-sheet.m27-sheet .m60-account-name p{font-size:14px!important;line-height:1.45!important;margin:0!important;color:#706B61!important}
.m27-sheet.m27-sheet .m60-account-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #E3DED4;margin-top:2px;padding-top:12px}
.m27-sheet.m27-sheet .m60-account-stats span{text-align:center;padding:0 8px;border-right:1px solid #E3DED4;min-width:0}
.m27-sheet.m27-sheet .m60-account-stats span:last-child{border-right:0}
.m27-sheet.m27-sheet .m60-account-stats b{display:block;font-size:16px!important;line-height:1.35!important;color:#352F29!important;overflow-wrap:anywhere}
.m27-sheet.m27-sheet .m60-account-stats small{display:block;font-size:13px!important;color:#706B61!important;margin-top:3px}
.m27-sheet.m27-sheet .m60-account-group{margin:0 0 22px}
.m27-sheet.m27-sheet .m60-account-group>h3{font-size:15px!important;line-height:1.4!important;font-weight:600!important;color:#352F29!important;margin:0 0 9px 4px!important}
.m27-sheet.m27-sheet .m60-account-group .m27-list{background:#fff;border:1px solid #E3DED4;border-radius:20px;padding:0 14px;overflow:hidden;display:block}
.m27-sheet.m27-sheet .m60-account-group .m27-row{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 14px;gap:12px;align-items:center;text-align:left;border:0;border-bottom:1px solid #E3DED4;background:transparent;min-height:80px;padding:14px 0;color:#352F29}
.m27-sheet.m27-sheet .m60-account-group .m27-row:last-child{border-bottom:0}
.m27-sheet.m27-sheet .m60-account-group .m27-row .ico{width:38px;height:38px;display:grid;place-items:center;color:#435640}
.m27-sheet.m27-sheet .m60-account-group .m27-row .ico svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m27-sheet.m27-sheet .m60-account-group .m27-row .copy b{display:block;font-size:16px!important;line-height:1.4!important;font-weight:600!important;color:#352F29!important}
.m27-sheet.m27-sheet .m60-account-group .m27-row .copy small{display:block;font-size:14px!important;line-height:1.5!important;color:#706B61!important;margin-top:3px}
.m27-sheet.m27-sheet .m60-account-group .m27-row .arrow{font-size:20px;color:#706B61}
.m27-sheet.m27-sheet .m60-login-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:#EEF2E8;border:1px solid #DDE5D8;border-radius:18px;padding:14px 16px;margin:0 0 22px}
.m27-sheet.m27-sheet .m60-login-card small{display:block;font-size:13px!important;color:#706B61!important;margin-bottom:3px}
.m27-sheet.m27-sheet .m60-login-card b{display:block;font-size:15px!important;line-height:1.35!important;color:#352F29!important;overflow-wrap:anywhere}
.m27-sheet.m27-sheet .m60-login-card button{min-height:42px;border:0;border-radius:999px;background:#fff;color:#435640;padding:9px 14px;font-size:14px!important;font-weight:600!important}
@media(max-width:360px){.m27-sheet.m27-sheet .m60-account-hero{grid-template-columns:68px minmax(0,1fr);gap:11px}.m27-sheet.m27-sheet .m60-account-hero>img{width:68px;height:68px}.m27-sheet.m27-sheet .m60-account-stats b{font-size:14px!important}.m27-sheet.m27-sheet .m60-account-stats small{font-size:12px!important}}

/* Food and Health share the same type rhythm and cat-card scale. */
html.mewday-v16 .real-app.real-app .mxf-food-ia{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang HK","PingFang TC","Noto Sans CJK HK","Noto Sans TC","Microsoft JhengHei",sans-serif!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top h1{font-size:28px!important;line-height:1.2!important;font-weight:700!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat{grid-template-columns:76px minmax(0,1fr) auto!important;min-height:104px!important;padding:14px!important;gap:14px!important;border-radius:20px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{width:76px!important;height:76px!important;border-radius:12px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat h2{font-size:22px!important;line-height:1.35!important;font-weight:700!important;margin:0 0 5px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat p,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat small{font-size:14px!important;line-height:1.45!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat>button{font-size:13px!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head h2,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tools>h2,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observation-compact .mxf-section-head h2{font-size:18px!important;line-height:1.4!important;font-weight:700!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period b,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{font-size:15px!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period small,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy small{font-size:12.5px!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips strong{font-size:12px!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips em{font-size:13px!important}
@media(max-width:360px){html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat{grid-template-columns:68px minmax(0,1fr)!important;gap:11px!important}html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{width:68px!important;height:68px!important}html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat>button{grid-column:1/-1!important;justify-self:end!important}html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period b,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{font-size:13px!important}html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period small,html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy small{font-size:11px!important}}

/* === V73 APP-WIDE VISUAL SYSTEM LOCK · 2026-10-13 ===
   One hierarchy across Home / Health / Food / Diary / More / sheets.
   Later than all legacy page patches so older 9–11px / 24–26px overrides cannot win. */
:root{
  --mv-page-title-size:28px;
  --mv-section-title-size:18px;
  --mv-card-title-size:16px;
  --mv-body-size:14px;
  --mv-caption-size:13px;
  --mv-micro-size:12px;
  --mv-page-x:16px;
  --mv-section-gap:20px;
  --mv-card-gap:12px;
  --mv-card-pad:16px;
  --mv-card-radius:18px;
  --mv-control-h:44px;
  --mv-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang HK","PingFang TC","Noto Sans CJK HK","Noto Sans TC","Microsoft JhengHei",sans-serif;
}
html.mewday-v16 .real-app.real-app,
.m27-sheet.m27-sheet,
.mxf-subpage-bg.mxf-subpage-bg,
#mewday-ext-modal{
  font-family:var(--mv-font)!important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Main tabs: same page-title role. */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top h1,
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-title h1,
html.mewday-v16 .real-app.real-app .m27-more-home .m27-more-title,
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading h1{
  font-size:var(--mv-page-title-size)!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-more-title,
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-top,
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-title{
  margin-bottom:16px!important;
}
html.mewday-v16 .real-app.real-app.mv-diary>.page-heading{
  min-height:44px!important;
  margin:0 0 16px!important;
}

/* Main content spacing: one 16px page gutter + 20px vertical rhythm. */
html.mewday-v16 .real-app.real-app{padding-left:var(--mv-page-x)!important;padding-right:var(--mv-page-x)!important}
html.mewday-v16 .real-app.real-app .mxf-food-v23.mxf-food-ia,
html.mewday-v16 .real-app.real-app .mx-health-v19,
html.mewday-v16 .real-app.real-app .memory-diary,
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted{
  padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19,
html.mewday-v16 .real-app.real-app .memory-diary{gap:var(--mv-section-gap)!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group{margin:0 0 var(--mv-section-gap)!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia>.mxf-section{margin:0 0 var(--mv-section-gap)!important}

/* Section headings share one role. */
html.mewday-v16 .real-app.real-app :is(
  .mxf-food-ia .mxf-section-head h2,
  .mxf-food-ia .mxf-tools>h2,
  .mx-health-v19 .mxh-head h2,
  .dashboard-grid .section-title h2,
  .dashboard-grid .section-heading h2,
  .dashboard-grid .next-important-card h2,
  .memory-diary .memory-feed>.section-title h2
){font-size:var(--mv-section-title-size)!important;line-height:1.4!important;font-weight:700!important;letter-spacing:0!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-group>h3{
  font-size:14px!important;line-height:1.4!important;font-weight:600!important;color:#706B61!important;margin:0 0 10px 2px!important;
}

/* Cat summary cards: Food / More / Account use the same portrait and type scale. */
html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card){
  grid-template-columns:76px minmax(0,1fr) auto!important;
  min-height:104px!important;padding:14px!important;gap:14px!important;border-radius:20px!important;margin-bottom:20px!important;
}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-cat-card img,
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{
  width:76px!important;height:76px!important;border-radius:12px!important;object-fit:cover!important;
}
html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card) h2{
  font-size:22px!important;line-height:1.35!important;font-weight:700!important;margin:0 0 5px!important;
}
html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card) :is(p,small){
  font-size:var(--mv-body-size)!important;line-height:1.45!important;font-weight:400!important;
}
html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card)>button{
  font-size:var(--mv-caption-size)!important;line-height:1.4!important;font-weight:600!important;min-height:40px!important;padding:8px 10px!important;
}

/* Reusable card/body hierarchy. */
html.mewday-v16 .real-app.real-app :is(
  .m27-row .copy b,.mxh-facts b,.mxh-list b,.mxh-tool-grid b,.mxf-tool-grid b,
  .memory-diary .memory-feed article h3,.dashboard-grid .daily-checklist button,
  .dashboard-grid .public-health-card h2,.dashboard-grid .handover-home-banner b
){font-size:var(--mv-card-title-size)!important;line-height:1.45!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app :is(
  .m27-row .copy small,.mxh-facts span,.mxh-facts small,.mxh-list small,.mxh-list em,.mxh-sub,
  .mxh-help p,.mxh-care-tip p,.mxh-tool-grid small,.mxf-tool-grid small,
  .memory-diary .memory-feed article p,.memory-diary .memory-feed article>div:last-child>span,
  .dashboard-grid .daily-checklist button small,.dashboard-grid .public-health-card p,
  .dashboard-grid .next-important-card p,.dashboard-grid .home-summary-strip b
){font-size:var(--mv-body-size)!important;line-height:1.55!important;font-weight:400!important}

/* Food: remove all readability regressions introduced by compact patches. */
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-date-switcher [data-date] b{font-size:12px!important;line-height:1.3!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-date-switcher [data-date] small{font-size:12px!important;line-height:1.3!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(.mxf-meal-period b,.mxf-meal-copy b){font-size:15px!important;line-height:1.3!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(.mxf-meal-period small,.mxf-meal-copy small){font-size:var(--mv-caption-size)!important;line-height:1.4!important;font-weight:400!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check span{font-size:var(--mv-micro-size)!important;line-height:1.35!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-section-head :is(span,small,button){font-size:var(--mv-caption-size)!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips strong{font-size:var(--mv-caption-size)!important;line-height:1.35!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-observe-chips em{font-size:var(--mv-body-size)!important;line-height:1.35!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-intake :is(b,small){font-size:var(--mv-caption-size)!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>b{font-size:var(--mv-body-size)!important;line-height:1.4!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>small{font-size:var(--mv-caption-size)!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-plan-preview-list article>strong{font-size:var(--mv-caption-size)!important;line-height:1.35!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button small{font-size:var(--mv-caption-size)!important;line-height:1.45!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-history-row :is(b,small){font-size:var(--mv-caption-size)!important;line-height:1.4!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-extra{font-size:var(--mv-body-size)!important;min-height:44px!important}

/* Health: same reading scale; chart SVG labels are the only intentional sub-12px exception. */
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-profile :is(p,small){font-size:15px!important;line-height:1.45!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-status :is(p,b){font-size:15px!important;line-height:1.6!important;font-weight:400!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-care-tip span{font-size:var(--mv-caption-size)!important;min-height:30px!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-weight-top small{font-size:var(--mv-caption-size)!important}

/* Diary: top-level hierarchy now matches Health/Food/More. */
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed>.section-title h2{color:#352F29!important;font-size:var(--mv-section-title-size)!important;font-weight:700!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-append{font-size:var(--mv-body-size)!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article{margin-bottom:20px!important}

/* More rows and client-facing sheets: no 9–11px reading copy. */
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row{min-height:76px!important;padding:14px!important;border-radius:18px!important;gap:12px!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .copy b{font-size:var(--mv-card-title-size)!important;line-height:1.45!important;font-weight:600!important}
html.mewday-v16 .real-app.real-app .m27-more-home .m27-row .copy small{font-size:var(--mv-body-size)!important;line-height:1.5!important;font-weight:400!important}
.m27-sheet.m27-sheet .m27-sheet-head,.mxf-subpage-bg.mxf-subpage-bg .mxf-page-head{height:60px!important;min-height:60px!important}
.m27-sheet.m27-sheet .m27-sheet-head h1,.mxf-subpage-bg.mxf-subpage-bg .mxf-page-head h1{font-size:18px!important;line-height:1.4!important;font-weight:700!important}
.m27-sheet.m27-sheet .m27-sheet-head button,.mxf-subpage-bg.mxf-subpage-bg .mxf-page-head button{min-width:44px!important;min-height:44px!important}
.m27-sheet.m27-sheet .m27-sheet-body{padding:16px 16px calc(96px + env(safe-area-inset-bottom))!important}
.m27-sheet.m27-sheet :is(.m27-block-title,.m36-guide-head h2,.mv-topic-heading,.mv-article-heading){font-size:var(--mv-section-title-size)!important;line-height:1.4!important;font-weight:700!important}
.m27-sheet.m27-sheet :is(.m27-care-item b,.m27-setting-row b,.m27-caregiver-row b,.m27-faq-item b,.m27-app-settings b,.m36-guide-copy b,.m35-vet-main b){font-size:var(--mv-card-title-size)!important;line-height:1.45!important;font-weight:600!important}
.m27-sheet.m27-sheet :is(.m27-care-hero p,.m27-care-item small,.m27-setting-row small,.m27-caregiver-hero p,.m27-caregiver-row small,.m27-app-settings small,.m36-guide-copy small,.m35-address,.m35-meta,.m35-en,.m35-location-copy,.m35-results-head small){font-size:var(--mv-body-size)!important;line-height:1.5!important;font-weight:400!important}
.m27-sheet.m27-sheet :is(.m36-guide-copy em,.m35-source,.m35-open,.m35-24h,.m35-rating b){font-size:var(--mv-caption-size)!important;line-height:1.4!important}
.m27-sheet.m27-sheet :is(.m27-care-item,.m27-setting-row,.m27-caregiver-row,.m36-guide-card,.m35-vet-card){border-radius:18px!important}
.m27-sheet.m27-sheet :is(.m27-care-item,.m27-setting-row){min-height:76px!important;padding:14px!important;gap:12px!important}
.m27-sheet.m27-sheet :is(button,a[role="button"]){font-family:var(--mv-font)!important}

/* Account sheet is part of the same system. */
.m27-sheet.m27-sheet .m60-account-group{margin-bottom:20px!important}
.m27-sheet.m27-sheet .m60-account-group>h3{font-size:14px!important;line-height:1.4!important;font-weight:600!important;color:#706B61!important;margin:0 0 10px 2px!important}
.m27-sheet.m27-sheet .m60-account-group .m27-row{min-height:76px!important;padding:14px 0!important;gap:12px!important}
.m27-sheet.m27-sheet .m60-account-group .m27-row .copy b{font-size:var(--mv-card-title-size)!important;line-height:1.45!important;font-weight:600!important}
.m27-sheet.m27-sheet .m60-account-group .m27-row .copy small{font-size:var(--mv-body-size)!important;line-height:1.5!important}
.m27-sheet.m27-sheet .m60-login-card :is(small,b){font-size:var(--mv-body-size)!important;line-height:1.45!important}
.m27-sheet.m27-sheet .m60-login-card button{min-height:44px!important;font-size:var(--mv-body-size)!important}

/* Food/observation/calculator subpages: same reading hierarchy; wrap instead of shrinking. */
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-obs-page,.mxf-plan-page,.mxf-calc-mock){font-size:16px!important;line-height:1.5!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-obs-intro small,.mxf-obs-label span small,.mxf-obs-tip,.mxf-plan-banner small,.mxf-plan-meal b,.mxf-plan-meal small,.mxf-meal-tip li,.mxf-db-custom small,.mxf-tip-visual span,.mxf-calc-cat small,.mxf-calc-cat em,.mxf-calc-big small,.mxf-calc-mini b,.mxf-calc-history b,.mxf-calc-history small,.mxf-calc-tip){font-size:var(--mv-caption-size)!important;line-height:1.5!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-segments span{font-size:var(--mv-caption-size)!important;line-height:1.4!important;min-height:38px!important;display:flex!important;align-items:center!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-obs-page .mxf-note em{font-size:var(--mv-micro-size)!important}
.mxf-subpage-bg.mxf-subpage-bg :is(button,.mxf-save,.mxf-add-meal){min-height:var(--mv-control-h)!important}
.mxf-subpage-bg.mxf-subpage-bg :is(input,select,textarea){font-size:16px!important}
.mxf-subpage-bg.mxf-subpage-bg .mxf-obs-page form,
.mxf-subpage-bg.mxf-subpage-bg .mxf-plan-page>:not(.mxf-page-head){margin-left:16px!important;margin-right:16px!important}

/* Guides / vets / commerce sheet reading scale. Map attribution is intentionally excluded. */
.m27-sheet.m27-sheet .m36-reader-body :is(p,li,td,th){font-size:16px!important;line-height:1.8!important}
.m27-sheet.m27-sheet .m36-reader-body figcaption,.m27-sheet.m27-sheet .m36-reader-head small{font-size:var(--mv-caption-size)!important;line-height:1.5!important}
.m27-sheet.m27-sheet .m36-guide-cats button small{font-size:var(--mv-caption-size)!important;line-height:1.45!important}
.m27-sheet.m27-sheet .m35-vet-actions :is(button,a),.m27-sheet.m27-sheet .m35-sort button{font-size:var(--mv-caption-size)!important;min-height:40px!important}
.v37-sheet.v37-sheet :is(.v37-product-copy small,.v37-catalog-item small,.v37-cart-copy small,.v37-deworm,.v37-note,.v37-product p){font-size:var(--mv-caption-size)!important;line-height:1.5!important}
.v37-sheet.v37-sheet :is(.v37-primary,.v37-secondary,button){min-height:44px!important}

/* Forms never drop below 16px (prevents iOS zoom and visual mismatch). */
html.mewday-v16 .real-app.real-app :is(input,select,textarea),
.m27-sheet.m27-sheet :is(input,select,textarea),
.mxf-subpage-bg.mxf-subpage-bg :is(input,select,textarea),
#mewday-ext-modal :is(input,select,textarea){font-size:16px!important;font-family:var(--mv-font)!important}

/* Shared touch / nav rhythm. */
html.mewday-v16 .real-app.real-app .bottom-nav{min-height:64px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important}
html.mewday-v16 .real-app.real-app .bottom-nav button{min-height:44px!important;font-size:12px!important;line-height:1.35!important;font-weight:500!important}
html.mewday-v16 .real-app.real-app :is(.mv-cat-tools-toggle,.mv-compose-toggle){min-height:44px!important}

/* Small phones: preserve type sizes and let layouts wrap/reflow instead. */
@media(max-width:390px){
  html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card){grid-template-columns:68px minmax(0,1fr)!important;gap:11px!important}
  html.mewday-v16 .real-app.real-app .m27-more-home .m27-cat-card img,
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo,
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-cat-photo img{width:68px!important;height:68px!important}
  html.mewday-v16 .real-app.real-app :is(.mxf-food-ia .mxf-cat,.m27-more-home .m27-cat-card)>button{grid-column:1/-1!important;justify-self:end!important;max-width:none!important}
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy b{font-size:14px!important;white-space:normal!important;-webkit-line-clamp:2!important}
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-period small,
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-copy small{font-size:12px!important}
  html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-meal-check span{font-size:12px!important}
}

/* Structural rhythm lock: major cards align across tabs without flattening compact controls. */
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b>*{margin-bottom:var(--mv-section-gap)!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b :is(.task-panel,.next-important-card,.public-health-card,.handover-home-banner,.home-summary-strip,.weight-card){border-radius:var(--mv-card-radius)!important}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b :is(.task-panel,.next-important-card,.public-health-card,.handover-home-banner){padding:var(--mv-card-pad)!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 :is(.mxh-status,.mxh-facts,.mxh-upcoming,.mxh-section,.mxh-help,.mxh-care-tip){border-radius:var(--mv-card-radius)!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 :is(.mxh-status,.mxh-facts,.mxh-upcoming,.mxh-section,.mxh-help){padding:var(--mv-card-pad)!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(.mxf-today,.mxf-intake-section,.mxf-plan-preview){padding:var(--mv-card-pad)!important;border-radius:var(--mv-card-radius)!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid,
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid{gap:var(--mv-card-gap)!important}
html.mewday-v16 .real-app.real-app .mxf-food-ia .mxf-tool-grid button,
html.mewday-v16 .real-app.real-app .mx-health-v19 .mxh-tool-grid button{min-height:112px!important;padding:14px!important;border-radius:var(--mv-card-radius)!important}
html.mewday-v16 .real-app.real-app .memory-diary .memory-composer,
html.mewday-v16 .real-app.real-app .memory-diary .memory-empty,
html.mewday-v16 .real-app.real-app.mv-diary .memory-entry-photos,
html.mewday-v16 .real-app.real-app.mv-diary .memory-feed article p,
html.mewday-v16 .real-app.real-app.mv-diary .memory-append{border-radius:var(--mv-card-radius)!important}

/* Readability floor for every client-facing sheet/subpage. Legal map attribution is excluded. */
html.mewday-v16 .real-app.real-app .mxf-food-ia small{font-size:var(--mv-caption-size)!important;line-height:1.45!important}
html.mewday-v16 .real-app.real-app .mx-health-v19 small{font-size:var(--mv-body-size)!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app .m27-more-home small{font-size:var(--mv-body-size)!important;line-height:1.5!important}
html.mewday-v16 .real-app.real-app .memory-diary small{font-size:var(--mv-body-size)!important;line-height:1.5!important}
.m27-sheet.m27-sheet small,.mxf-subpage-bg.mxf-subpage-bg small{font-size:var(--mv-caption-size)!important;line-height:1.5!important}
.m27-sheet.m27-sheet em,.mxf-subpage-bg.mxf-subpage-bg em{font-size:var(--mv-micro-size)!important;line-height:1.4!important}
.m27-sheet.m27-sheet :is(.m27-topic small,.m27-article small,.m27-promo small,.m27-map-label small,.m27-vet-row small,.m27-guide-live small,.m27-real-article small,.m27-notice-intro small,.m27-app-settings small,.m32-card-title small,.m32-card-meta span,.m32-vet-copy small,.m34-map-note,.m35-location-copy,.m35-results-head small,.m35-vet-skeleton small,.m35-vet-empty small,.m35-en,.m35-meta,.m35-address,.m35-source,.m36-guide-head small,.m36-guide-count,.m36-guide-loading small,.m36-guide-copy small,.m36-reader-head small,.m36-reader-body figcaption){font-size:var(--mv-caption-size)!important;line-height:1.5!important}
.m27-sheet.m27-sheet :is(.m27-filters button,.m27-vet-row a,.m27-locate,.m27-vet-status,.m27-app-settings button,.m32-route,.m32-retry,.m34-map-actions button,.m34-vet-status,.m35-sort button,.m35-vet-empty button,.m35-vet-num,.m35-rating b,.m35-vet-actions button,.m35-vet-actions a){font-size:var(--mv-caption-size)!important;line-height:1.4!important}
.m27-sheet.m27-sheet :is(.m27-vet-row em,.m27-real-article em,.m32-vet-copy em,.m35-open,.m35-24h,.m36-guide-copy em,.m36-reader-head em){font-size:var(--mv-micro-size)!important;line-height:1.4!important}

/* Food legacy/secondary widgets still reachable from the current IA. */
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(.mxf-handover small,.mxf-timeline article>button,.mxf-timeline article>em,.mxf-intake em,.mxf-observe>span small,.mxf-observe i strong,.mxf-observe i em,.mxf-target-top b small,.mxf-target-top em,.mxf-target-mini b,.mxf-target-mini strong,.mxf-recent time,.mxf-recent b,.mxf-recent small,.mxf-refill p,.mxf-refill button,.mxf-kicker,.mxf-history-row small){font-size:var(--mv-caption-size)!important;line-height:1.45!important}
.mxf-subpage-bg.mxf-subpage-bg :is(.mxf-calc-history article>i,.mxf-calc-history em){font-size:var(--mv-micro-size)!important;line-height:1.4!important}
.mxf-meal-log-sheet small,.mxf-actual-grams small{font-size:var(--mv-caption-size)!important;line-height:1.45!important}

/* Staff/shared admin surfaces: same legibility rules, while keeping their denser information layout. */
#meowday-ext-modal :is(p,small,.mx-helper),.mx-staff-row small,.mx-staff-vaccine-tools span,.mx-staff-vaccine-form>small,.mx-staff-push-copy p,.mx-staff-push-copy small{font-size:13px!important;line-height:1.5!important}
.mx-staff-push-copy>span{font-size:12px!important;line-height:1.4!important}
.mx-staff-push-actions button,.mx-staff-top-btn{font-size:13px!important;min-height:44px!important}
.v38-staff-control-panel :is(p,small,label,.v38-mini-list span,.v38-alert-list span,.v38-alert-list time){font-size:12px!important;line-height:1.5!important}
.v38-staff-control-panel :is(.v38-admin-card h4,.v38-mini-list b,.v38-alert-list b){font-size:14px!important;line-height:1.45!important}
.v38-staff-control-panel .v38-admin-actions button{font-size:12px!important;min-height:44px!important}
.v38-staff-alerts .v38-alert-head>small{font-size:12px!important;line-height:1.5!important}
.v37-sheet.v37-sheet :is(.v37-product-actions label,.v37-remove){font-size:12px!important}

/* One UI font family everywhere in client content. Wordmark/logo is intentionally outside these scopes. */
html.mewday-v16 .real-app.real-app .dashboard-grid :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
html.mewday-v16 .real-app.real-app .mx-health-v19 :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
html.mewday-v16 .real-app.real-app .mxf-food-ia :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
html.mewday-v16 .real-app.real-app .memory-diary :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
html.mewday-v16 .real-app.real-app .m27-more-home :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
.m27-sheet.m27-sheet :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea),
.mxf-subpage-bg.mxf-subpage-bg :is(h1,h2,h3,p,b,strong,small,span,em,button,label,time,input,select,textarea){font-family:var(--mv-font)!important}

/* === V73 PORTAL / MODAL VISUAL SYSTEM LOCK · 2026-10-13 ===
   Covers client-facing overlays mounted outside .real-app so they cannot fall
   back to legacy typography / spacing after the main tabs were unified. */
#mewday-ext-modal,
.mxf-obs-modal,
.mxa-card,
.m56-dialog,
.mxf-meal-log-sheet,
.v37-sheet.v37-sheet{
  font-family:var(--mv-font)!important;
  color:#352F29!important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Shared overlay headers / titles. */
#mewday-ext-modal :is(h1,h2),
.mxf-obs-modal h2,
.mxa-content h2,
.m56-panel>header h2,
.mxf-meal-log-sheet header h2,
.v37-sheet.v37-sheet :is(h1,h2){
  font-family:var(--mv-font)!important;
  font-size:18px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

/* Shared body / helper copy. */
#mewday-ext-modal :is(p,label,.mx-helper,.mx-loading,.mx-empty),
.mxf-obs-modal :is(p,legend,.mxf-note),
.mxa-card :is(.mxa-content>p,.mxa-help p,.mxa-success p),
.m56-dialog :is(.m56-panel>p,.m56-zoom,.m56-options,.m56-pair b),
.mxf-meal-log-sheet header p,
.v37-sheet.v37-sheet :is(p,label){
  font-size:var(--mv-body-size)!important;
  line-height:1.55!important;
  font-weight:400!important;
}

/* Captions / low-emphasis text never drop to 9–11px. */
#mewday-ext-modal small,
.mxf-obs-modal :is(.mxf-kicker,small),
.mxa-card :is(.mxa-kicker,.mxa-foot,.mxa-gift small,.mxa-error),
.m56-dialog small,
.mxf-meal-log-sheet :is(header small,small),
.v37-sheet.v37-sheet small{
  font-size:var(--mv-caption-size)!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* Overlay cards share the same visual geometry. */
#mewday-ext-modal,
.mxf-obs-modal,
.mxa-card,
.mxf-meal-log-sheet,
.v37-sheet.v37-sheet{
  border-radius:var(--mv-card-radius)!important;
}
#mewday-ext-modal,
.mxf-obs-modal,
.mxa-card,
.mxf-meal-log-sheet{
  padding:var(--mv-card-pad)!important;
}

/* Buttons / tappable controls. */
#mewday-ext-modal :is(button,a[role="button"]),
.mxf-obs-modal :is(button,.mxf-save),
.mxa-card :is(button,.mxa-wa,.mxa-done),
.m56-dialog button,
.mxf-meal-log-sheet button,
.v37-sheet.v37-sheet button{
  font-family:var(--mv-font)!important;
  font-size:var(--mv-body-size)!important;
  line-height:1.4!important;
  min-height:var(--mv-control-h)!important;
}

/* Inputs: one size, no iOS zoom. */
#mewday-ext-modal :is(input,select,textarea),
.mxf-obs-modal :is(input,select,textarea),
.m56-dialog :is(input,select,textarea),
.mxf-meal-log-sheet :is(input,select,textarea),
.v37-sheet.v37-sheet :is(input,select,textarea){
  font-family:var(--mv-font)!important;
  font-size:16px!important;
  line-height:1.45!important;
  min-height:44px!important;
}

/* Food observation modal. */
.mxf-obs-modal{background:#F8F6F1!important}
.mxf-obs-modal fieldset{margin:20px 0!important;gap:8px!important}
.mxf-obs-modal fieldset label span{
  font-size:var(--mv-caption-size)!important;
  line-height:1.4!important;
  min-height:40px!important;
  padding:9px 12px!important;
  display:flex!important;
  align-items:center!important;
}
.mxf-obs-modal .mxf-save{border-radius:14px!important;margin-top:16px!important}

/* Aftercare / follow-up card. */
.mxa-card{background:#F8F6F1!important;border-color:#E3DED4!important}
.mxa-content h2{margin:0 44px 8px 0!important}
.mxa-actions{gap:10px!important}
.mxa-actions button,.mxa-wa,.mxa-done{border-radius:14px!important;padding:12px 14px!important}
.mxa-later,.mxa-skip{font-size:var(--mv-caption-size)!important}
.mxa-gift{border-radius:var(--mv-card-radius)!important;padding:14px!important}

/* Photo crop / avatar editor is a full-screen subpage, not a legacy utility. */
.m56-dialog{background:#F8F6F1!important;font-family:var(--mv-font)!important}
.m56-panel{max-width:520px!important;padding:0 16px 28px!important}
.m56-panel>header{
  min-height:60px!important;
  margin:0 -16px 16px!important;
  padding:8px 16px!important;
  background:#F8F6F1!important;
}
.m56-panel>header h2{font-size:18px!important}
.m56-tabs{gap:10px!important;margin-bottom:20px!important}
.m56-stage,.m56-avatar,.m56-home{border-radius:var(--mv-card-radius)!important}
.m56-pair{gap:16px!important;padding-top:16px!important}

/* Meal log bottom sheet. */
.mxf-meal-log-sheet{background:#F8F6F1!important;padding:16px!important}
.mxf-meal-log-sheet header{grid-template-columns:minmax(0,1fr) 44px!important;gap:12px!important}
.mxf-meal-log-sheet header h2{margin:0 0 4px!important}
.mxf-meal-log-sheet [data-close]{width:44px!important;height:44px!important;min-height:44px!important}
.mxf-actual-grams{border-radius:var(--mv-card-radius)!important;padding:14px!important}
.mxf-actual-grams>span{font-size:var(--mv-card-title-size)!important;line-height:1.4!important;font-weight:600!important}
.mxf-actual-grams small{font-size:var(--mv-caption-size)!important;line-height:1.45!important}

/* Commerce overlay follows the same type / control rhythm. */
.v37-sheet.v37-sheet :is(.v37-product-copy small,.v37-catalog-item small,.v37-cart-copy small,.v37-deworm,.v37-note,.v37-product p){
  font-size:var(--mv-caption-size)!important;
  line-height:1.5!important;
}
.v37-sheet.v37-sheet :is(.v37-primary,.v37-secondary,button){min-height:44px!important}

@media(max-width:390px){
  #mewday-ext-modal,.mxf-obs-modal,.mxa-card,.mxf-meal-log-sheet{padding:14px!important}
  .m56-panel{padding-left:14px!important;padding-right:14px!important}
  .m56-panel>header{margin-left:-14px!important;margin-right:-14px!important;padding-left:14px!important;padding-right:14px!important}
}

/* === V73 EXACT VISUAL ALIGNMENT FIX · 2026-10-13 ===
   These rules intentionally use the exact live component selectors so older
   high-specificity !important rules cannot win over the app-wide system. */

/* HOME · 今日要做 — match the same hierarchy used by Health/Food sections. */
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel{
  padding:0 16px 14px!important;
  border-radius:18px!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title{
  margin:0 -16px 6px!important;
  padding:13px 16px!important;
  min-height:54px!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title h2{
  font-family:var(--mv-font)!important;
  font-size:18px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel>.section-title>span{
  font-family:var(--mv-font)!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:500!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .daily-checklist button,
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .today-action-list button{
  min-height:64px!important;
  padding:12px 4px!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .daily-checklist button :is(span,b),
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .today-action-list button :is(span,b){
  font-family:var(--mv-font)!important;
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .daily-checklist button small,
html.mewday-v16 .real-app.real-app .dashboard-grid.v16-home-b .task-panel .today-action-list button small{
  font-family:var(--mv-font)!important;
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:400!important;
}

/* MORE · use the same grouped-list geometry as the new Account sheet. */
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-group{
  margin-bottom:20px!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-group>h3{
  font-family:var(--mv-font)!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:600!important;
  color:#706B61!important;
  margin:0 0 10px 2px!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-list{
  display:block!important;
  gap:0!important;
  overflow:hidden!important;
  background:#FFFFFF!important;
  border:1px solid #E3DED4!important;
  border-radius:18px!important;
  padding:0 14px!important;
  box-shadow:none!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-list>.m27-row{
  min-height:74px!important;
  padding:12px 0!important;
  gap:12px!important;
  grid-template-columns:44px minmax(0,1fr) 16px!important;
  border:0!important;
  border-bottom:1px solid #E3DED4!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-list>.m27-row:last-child{
  border-bottom:0!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-row .ico{
  width:42px!important;
  height:42px!important;
  background:#EEF2E8!important;
  color:#435640!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-row .ico svg{
  width:24px!important;
  height:24px!important;
  stroke-width:1.8!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-row .copy b{
  font-family:var(--mv-font)!important;
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
html.mewday-v16 .real-app.real-app .profile-real.m27-more-mounted .m27-more-home .m27-row .copy small{
  font-family:var(--mv-font)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:400!important;
  margin-top:2px!important;
}

/* HEALTH · 小提示 must be a real callout, not the old left-bracket treatment. */
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-care-tip.mxh-care-tip{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  margin:0!important;
  padding:14px 16px!important;
  background:#EEF2E8!important;
  border:0!important;
  border-left:0!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-care-tip.mxh-care-tip>span{
  min-height:30px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:#FFFFFF!important;
  color:#435640!important;
  font-family:var(--mv-font)!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-care-tip.mxh-care-tip>p{
  margin:3px 0 0!important;
  color:#706B61!important;
  font-family:var(--mv-font)!important;
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:400!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-tools.mxh-section{
  margin-top:0!important;
  padding:16px!important;
  border-radius:18px!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-tools.mxh-section .mxh-head h2{
  font-family:var(--mv-font)!important;
  font-size:18px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
html.mewday-v16 .real-app.real-app .mx-health-v19 section.mxh-tools.mxh-section>.mxh-sub{
  font-family:var(--mv-font)!important;
  font-size:14px!important;
  line-height:1.5!important;
  margin:-3px 0 12px!important;
}

/* V77 staff form clarity: standalone modal actions must look actionable on mobile. */
#m59-bg .mx-form{box-sizing:border-box;width:min(680px,100%);overflow-x:hidden}
#m59-bg .mx-form>button:not([data-close]),
#m59-bg .mx-form [data-retry]{appearance:none;min-height:46px;border:1px solid #506153;background:#506153;color:#fff;border-radius:13px;padding:11px 15px;font:inherit;font-weight:800;cursor:pointer;box-sizing:border-box}
#m59-bg .mx-form>button:not([data-close]){width:100%;margin-top:10px}
#m59-bg .mx-form>button:not([data-close])+button:not([data-close]){background:#fff;color:#506153}
#m59-bg .mx-form .mx-row-actions button{min-height:44px;border:1px solid #cbd6cc;background:#eef3ef;color:#405548}
#m59-bg .mx-form button:focus-visible{outline:3px solid rgba(80,97,83,.28);outline-offset:2px}
#m59-bg .mx-form button:disabled{opacity:.55;cursor:not-allowed}
#m59-bg .mx-form small{display:block;white-space:normal!important;overflow-wrap:anywhere;line-height:1.55;margin-top:10px;color:#625b54}
#m59-bg .mx-form label{min-width:0}
#m59-bg .mx-form input,#m59-bg .mx-form select,#m59-bg .mx-form textarea{min-width:0}
@media(max-width:640px){#m59-bg{padding:12px 8px!important}#m59-bg .mx-form{padding:20px 14px!important;border-radius:18px!important}#m59-bg .mx-form>button:not([data-close]){font-size:16px}}
#m59-bg .mx-form>button[data-close]{position:sticky;float:right;top:0;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ded6ca;background:#fff;color:#4d4540;border-radius:50%;font-size:24px;line-height:1;z-index:2}
/* V77.1 explicit staff action visibility — fixes Basic Info save and sibling modal actions. */
#m59-bg .mx-form > button:not([data-close]),
#m59-bg .mx-form button.mx-primary,
#m59-bg .mx-form [data-retry]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  margin:12px 0 0!important;
  padding:12px 16px!important;
  border:1px solid #506153!important;
  border-radius:13px!important;
  background:#506153!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  font-weight:800!important;
  line-height:1.3!important;
  text-decoration:none!important;
}
#m59-bg .mx-form > button:not([data-close]) + button:not([data-close]){
  background:#fff!important;
  color:#405548!important;
  -webkit-text-fill-color:#405548!important;
}
#m59-bg .mx-form > small{margin-top:12px!important;max-width:100%!important;overflow:visible!important;text-overflow:clip!important}


/* V77.2 staff/backend async feedback. */
#m59-bg .mx-form button.m77-is-busy,
.profile-grid button.m77-is-busy{cursor:wait!important;opacity:.82!important;pointer-events:none!important}
#m59-bg .mx-form button.m77-is-busy .m77-spinner,
.profile-grid button.m77-is-busy .m77-spinner{display:inline-block;width:15px;height:15px;min-width:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:m77-spin .7s linear infinite}

/* V79 mobile bottom-nav geometry fix — responsive narrow phones + native safe-area rhythm. */
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav{
  box-sizing:border-box!important;
  width:100%!important;
  height:calc(62px + env(safe-area-inset-bottom))!important;
  min-height:calc(62px + env(safe-area-inset-bottom))!important;
  padding-top:6px!important;
  padding-right:max(4px,env(safe-area-inset-right))!important;
  padding-bottom:max(6px,env(safe-area-inset-bottom))!important;
  padding-left:max(4px,env(safe-area-inset-left))!important;
  justify-content:space-evenly!important;
  align-items:center!important;
  gap:0!important;
}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav button{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:76px!important;
  min-height:50px!important;
  height:50px!important;
  padding:3px 2px 2px!important;
  gap:2px!important;
  justify-content:center!important;
  align-items:center!important;
  line-height:1.15!important;
}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav i{
  width:24px!important;
  height:24px!important;
  place-items:center!important;
}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav .app-icon{
  width:23px!important;
  height:23px!important;
}
html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav span{
  font-size:11px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}

/* Staff mobile nav uses the same safe-area model so icons do not drift between devices. */
.staff-bottom{
  box-sizing:border-box!important;
  height:calc(62px + env(safe-area-inset-bottom))!important;
  min-height:calc(62px + env(safe-area-inset-bottom))!important;
  padding-top:4px!important;
  padding-right:max(4px,env(safe-area-inset-right))!important;
  padding-bottom:max(6px,env(safe-area-inset-bottom))!important;
  padding-left:max(4px,env(safe-area-inset-left))!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important;
}
.staff-bottom button{
  min-width:0!important;
  min-height:50px!important;
  padding:2px!important;
  align-content:center!important;
}
.staff-bottom i{line-height:1!important}
.staff-bottom span{line-height:1.15!important;white-space:nowrap!important}

/* Ultra-narrow outer screens / legacy iPhones. Keep all tabs visible without clipping. */
@media(max-width:320px){
  html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav{padding-left:2px!important;padding-right:2px!important}
  html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav button{max-width:none!important;padding-left:1px!important;padding-right:1px!important}
  html.mewday-v16 .real-app.real-app .bottom-nav.bottom-nav span{font-size:10.5px!important}
  .staff-bottom{padding-left:2px!important;padding-right:2px!important}
  .staff-bottom span{font-size:9.5px!important}
}

/* V79 ultra-narrow phone hardening (Fold outer displays / legacy 280–300px widths). */
@media(max-width:300px){
  .p2-page{padding-left:16px!important;padding-right:16px!important}
  .p2-page-head{gap:10px!important;min-width:0!important}
  .p2-page-head>div{min-width:0!important}
  .p2-progress-ring{flex:0 0 56px!important;width:56px!important;height:56px!important;font-size:16px!important}
  .p2-progress-ring:before{inset:6px!important}
  .p2-progress-ring small{font-size:9px!important}
  html.mewday-v16 .real-app.real-app .page-heading .cat-tools{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:4px!important;
  }
  html.mewday-v16 .real-app.real-app .page-heading .cat-tools>*{min-width:0!important}
  html.mewday-v16 .real-app.real-app .add-cat-button{
    max-width:82px!important;
    padding:9px 7px!important;
    font-size:10px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* V79 display QA 2026-10-16: ultra-small header, health hero contrast, food-card mobile geometry. */
@media(max-width:300px){
  .p2-page-head{gap:8px!important}
  .p2-homecoming-identity{gap:8px!important;min-width:0!important;flex:1 1 auto!important}
  .p2-homecoming-identity>img{width:48px!important;height:48px!important;flex:0 0 48px!important}
  .p2-homecoming-identity>div{min-width:0!important;flex:1 1 auto!important;width:auto!important}
  .p2-homecoming-identity .p2-eyebrow{font-size:10px!important;letter-spacing:.11em!important;overflow-wrap:anywhere!important}
  .p2-page-head h1{font-size:26px!important;line-height:1.18!important}
  .p2-progress-ring{flex:0 0 48px!important;width:48px!important;height:48px!important;font-size:14px!important}
  .p2-progress-ring:before{inset:5px!important}
  .p2-progress-ring small{font-size:8px!important}
}

html.mewday-v16 .real-app.real-app .periodic-intro{color:#F8F4EF!important}
html.mewday-v16 .real-app.real-app .periodic-intro h2{color:#F8F4EF!important}
html.mewday-v16 .real-app.real-app .periodic-intro p:not(.eyebrow){color:#D9CEC5!important}
html.mewday-v16 .real-app.real-app .periodic-intro .eyebrow{color:#BFB3A9!important}

@media(max-width:600px){
  html.mewday-v16 .real-app.real-app .food-grid article{
    grid-template-columns:60px minmax(0,1fr) 44px!important;
    grid-template-rows:auto auto auto!important;
    column-gap:10px!important;
    row-gap:2px!important;
    align-items:start!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid .food-photo{
    width:60px!important;height:60px!important;
    grid-column:1!important;grid-row:1/4!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid article .food-meta{
    grid-column:2!important;grid-row:1!important;
    align-self:start!important;margin:0!important;
    flex-wrap:wrap!important;justify-content:flex-start!important;
    gap:3px 6px!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid article h3{
    grid-column:2!important;grid-row:2!important;
    align-self:start!important;margin:2px 0 0!important;padding:0!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid article>p{
    grid-column:2!important;grid-row:3!important;
    align-self:start!important;margin:0!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid article>button{
    grid-column:3!important;grid-row:1/4!important;
    width:44px!important;min-width:44px!important;
    height:44px!important;min-height:44px!important;
    align-self:center!important;border-radius:50%!important;
    background:#EEF2E8!important;color:#435640!important;
    font-size:0!important;padding:0!important;
    display:grid!important;place-items:center!important;
  }
  html.mewday-v16 .real-app.real-app .food-grid article>button::after{
    content:'＋';font-size:22px!important;line-height:1!important;font-weight:700!important;
  }
}


/* V79 final regression fix 2026-10-16: short-landscape Food fallback geometry. */
@media (orientation:landscape) and (max-height:360px) and (min-width:480px){
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .topbar{
    height:46px!important;
    min-height:46px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .topbar .wordmark span{
    font-size:20px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .topbar .top-actions .avatar{
    width:34px!important;
    height:34px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading{
    padding:6px 0 8px!important;
    gap:10px!important;
    align-items:end!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading .page-heading-copy{
    min-width:0!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading .page-back{
    min-height:32px!important;
    margin:0 0 3px!important;
    padding:4px 10px!important;
    font-size:12px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading h1{
    font-size:20px!important;
    line-height:1.15!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading .cat-tools{
    gap:6px!important;
    align-items:end!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading .cat-select,
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .page-heading .add-cat-button{
    min-height:38px!important;
    height:38px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .subpage > .food-section-nav{
    gap:6px!important;
    margin-bottom:8px!important;
  }
  html:not(.mxf-food-active) .real-app:has(> .subpage > .food-section-nav) > .subpage > .food-section-nav button{
    min-height:48px!important;
    padding:6px 10px!important;
  }
}

/* V79 same-customer multi-cat owner tools */
#m59-bg .m80-cat-row{border:1px solid #dfd5c8;border-radius:16px;padding:12px;margin:12px 0;background:#fffdf8;min-width:0}
#m59-bg .m80-cat-row legend{padding:0 6px;font-size:12px;font-weight:900;color:#5b5149}
#m59-bg .m80-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#m59-bg .m80-cat-row label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#5b5149}
#m59-bg .m80-cat-row input,#m59-bg .m80-cat-row select{width:100%;box-sizing:border-box;border:1px solid #d9cfc3;border-radius:11px;background:#fff;padding:10px;font:inherit;min-width:0}
@media(max-width:420px){#m59-bg .m80-pair{grid-template-columns:1fr}#m59-bg .m80-cat-row{padding:10px}}

/* V119: clear, tappable search alongside location pin; matches existing palette */
.m35-vet-searchbar{grid-template-columns:minmax(0,1fr) 51px 44px!important;gap:6px!important}
.m35-search-submit{border:0;border-radius:13px;background:#1f5d38;color:#fff;font:inherit;font-size:12px;font-weight:750;padding:0 5px;height:44px;cursor:pointer}
.m35-vet-google-fallback{font-size:12px;color:#1f5d38!important;text-decoration:underline;font-weight:700;margin-top:5px;display:inline-block}
@media(max-width:430px){.m35-vet-searchbar{grid-template-columns:minmax(0,1fr) 48px 42px!important;gap:5px!important}.m35-search-submit{font-size:11px}}

/* V120 static HK vet directory: lightweight region > neighbourhood controls */
.m27-sheet .m35-vet-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:11px 0 4px}
.m27-sheet .m35-vet-filters label{min-width:0;display:flex;flex-direction:column;gap:5px;font-size:12px;color:#68645f}
.m27-sheet .m35-vet-filters select{width:100%;max-width:100%;height:44px;padding:0 29px 0 12px;background:#fff;border:1px solid #e3ded4;border-radius:12px;color:#2c302d;font-size:14px;outline-offset:2px}
.m27-sheet .m35-vet-filters select:disabled{background:#f6f5f2;color:#9e9b95}
@media(max-width:380px){.m27-sheet .m35-vet-filters{gap:7px}.m27-sheet .m35-vet-filters select{font-size:13px;padding-left:8px}}

/* V121: district selector OR GPS. No free-text input/search button. */
.m27-sheet .m35-vet-district-only{margin:0 0 10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.m27-sheet .m35-locate-full{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:47px;padding:9px 14px;border-radius:14px;font-size:14px;font-weight:750}
.m27-sheet .m35-locate-full .mxh-ico{flex:0 0 18px;width:18px;height:18px}
.m27-sheet .m35-map-shell[hidden]{display:none!important}
@media(max-width:400px){.m27-sheet .m35-vet-district-only{gap:8px}.m27-sheet .m35-vet-district-only select{padding-right:20px}}
