: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:42px;height:42px;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}}
