
/* Mimone Health 0.9.7: Mimone-style layout and UI. No data or AI behavior changes. */
:root{--bg:#fff!important;--card:#fff!important;--ink:#202725!important;--muted:#76818a!important;--accent:#346f60!important;--line:#e1e6e2!important;color-scheme:light}
html,body{background:#fff!important;color:#202725!important;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif!important}
.mh-legacy-header{display:none!important}
.mh-app-header{position:relative!important;z-index:8!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;max-width:none!important;height:80px!important;padding:10px 20px!important;border-bottom:1px solid #e5e9e5!important;background:#fff!important;color:#202725!important}
.mh-brand{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:26px;letter-spacing:-1.4px;font-weight:850;color:#202725}.mh-brand span{font-size:13px;letter-spacing:-.4px;font-weight:600;color:#346f60}
.mh-header-right{display:flex;align-items:center;gap:12px}.mh-icon-btn{width:40px;height:40px;padding:7px;border:0;background:transparent;color:#202725;display:flex;align-items:center;justify-content:center;border-radius:50%}.mh-icon-btn svg{width:26px;height:26px}.mh-icon-btn:first-child{background:#f0f4f0;border:1px solid #e3e9e3}.mh-icon-btn:focus-visible{outline:2px solid #346f60}
main{width:100%!important;max-width:760px!important;margin:auto!important;padding:0 20px 130px!important}
main>section{padding-top:30px!important}
#home{padding-top:0!important}
.mh-home-hero{padding:32px 0 28px!important;background:#fff!important;border:0!important;box-shadow:none!important;text-align:left!important}
.mh-home-hero .mh-date{color:#74808c!important;font-size:14px!important;letter-spacing:0!important;margin:0 0 15px!important}
.mh-home-hero h1{font-size:34px!important;font-weight:800!important;letter-spacing:-1px!important;line-height:1.25!important;color:#202725!important;margin:0 0 14px!important}
.mh-home-hero .mh-intro-sub{font-size:15px!important;color:#78828e!important;margin:0 0 30px!important}
.mh-mode-link{border:0!important;background:none!important;padding:10px 0!important;font-weight:750!important;color:#346f60!important;text-align:left!important;font-size:14px!important;box-shadow:none!important}
.mh-home-search{margin:0 0 26px!important}.mh-home-search button{display:block;width:100%;padding:17px 16px;text-align:left;background:white;border:1px solid #dfe5df;border-radius:12px;color:#939b9a;font-size:15px}
.mh-section-title{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e6e9e7;padding:25px 0 13px}.mh-section-title h2{margin:0;font-size:18px}.mh-section-title button{border:0;background:#f1f4f1;border-radius:9px;padding:10px 12px;color:#346f60;font-weight:700}
.m3-section-heading{padding:24px 0 12px!important;margin:0!important}.m3-section-heading h2{font-size:18px!important;color:#202725!important}
.card,.panel{background:#fff!important;box-shadow:none!important;color:#202725!important;border:1px solid #e2e6e2!important;border-radius:18px!important;padding:18px!important}
#home .m3-condition-card,#home .m3-dash-card,#home .m3-recent-card{border:0!important;border-radius:0!important;border-bottom:1px solid #e5e9e6!important;padding:14px 0 22px!important;margin-bottom:18px!important}
#home .m3-condition-card h2,#home .m3-dash-card h2{font-size:17px!important}.m3-heading-deco{display:none!important}
#home .m3-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin:12px 0!important}
#home .m3-stats .metric{background:#fff!important;border:1px solid #e2e6e2!important;border-radius:15px!important;padding:17px!important;font-size:13px!important;color:#75818a!important}
#home .m3-stats .metric b{font-size:27px!important;color:#202725!important;margin-top:12px!important}
.mh-page-title{padding:0 0 22px!important;margin:0!important;background:#fff!important;border:0!important}.mh-page-title h1{font-size:27px!important;line-height:1.3!important;font-weight:800!important;color:#202725!important;margin:0 0 11px!important}.mh-page-title p{color:#77838d!important;font-size:14px!important;margin:0 0 6px!important}
#history .mh-calendar-card{border:0!important;padding:8px 0 18px!important}.mh-month-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 0 20px!important;flex-wrap:nowrap!important}
.mh-month-controls .btn{flex:0 0 auto!important;background:#f1f3f1!important;color:#26342e!important;border:0!important;border-radius:11px!important;padding:13px 12px!important;font-size:13px!important}.mh-month-label{font-size:17px!important;text-align:center!important;white-space:nowrap!important;color:#202725!important}
#calendar.days{gap:3px!important}#calendar .day{border:1px solid #e4e8e3!important;border-radius:8px!important;background:#fff!important;min-height:52px!important;color:#283b32!important;padding:3px!important}#calendar .day.today{outline:2px solid #346f60!important;background:#eef5f0!important}#calendar .day.has{border-bottom:3px solid #346f60!important}
#analytics .card{margin-bottom:15px!important}#analytics .hub button,#settings .hub button{background:#f3f5f3!important;border:1px solid #e2e6e2!important;border-radius:12px!important;color:#28332e!important;padding:14px!important}
#settings .mh-settings-title{padding-bottom:12px!important}.mh-avatar{height:74px;width:74px;background:#eff3ef;color:#346f60;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:25px 0 15px}.mh-avatar svg{width:38px;height:38px}.mh-settings-tabs{display:flex;margin:18px 0 25px;border-bottom:1px solid #e2e6e2}.mh-settings-tabs button{flex:1;border:0;background:white;color:#7c8582;font-weight:700;padding:14px 8px;border-bottom:3px solid transparent}.mh-settings-tabs button.active{color:#346f60;border-bottom-color:#346f60}
#settings .mh-mimone-link-card{background:#fff!important;border:1px solid #e2e6e2!important;border-radius:18px!important;box-shadow:none!important}
.field input,.field select,.field textarea,.card input,.card select,.card textarea{background:#fff!important;border:1px solid #dce4dd!important;border-radius:11px!important;color:#202725!important;box-shadow:none!important;padding:13px!important;min-height:46px!important}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #346f60!important;outline-offset:1px!important}
.btn{background:#346f60!important;color:#fff!important;border-radius:12px!important;box-shadow:none!important}.btn.secondary{background:#f2f4f2!important;color:#26382e!important;border:1px solid #e1e6e2!important}.btn.danger{background:#ae4653!important}
.tabs.mh-mimone-nav{position:fixed!important;z-index:100!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;left:14px!important;right:14px!important;width:auto!important;max-width:720px!important;margin:auto!important;padding:7px!important;background:rgba(255,255,255,.98)!important;border:1px solid #e1e5df!important;border-radius:32px!important;box-shadow:0 10px 28px #18251b12!important;display:flex!important;justify-content:space-between!important;gap:2px!important;overflow:visible!important}
.tabs.mh-mimone-nav button{flex:1 1 25%!important;width:25%!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;border:0!important;border-radius:23px!important;padding:10px 2px!important;color:#808783!important;background:transparent!important;font-size:11px!important;font-weight:550!important;line-height:1.3!important;min-height:67px!important}
.tabs.mh-mimone-nav button.active{background:#eef3ef!important;color:#255447!important;font-weight:800!important}.tabs.mh-mimone-nav .m3-nav-icon{display:flex!important;align-items:center!important;justify-content:center!important;height:25px!important;font-size:0!important}.tabs.mh-mimone-nav .m3-nav-icon svg{width:25px!important;height:25px!important}.tabs.mh-mimone-nav .m3-nav-label{font-size:11px!important;white-space:nowrap!important}
@media(max-width:390px){.mh-brand{font-size:23px}.mh-brand span{font-size:12px}.mh-header-right{gap:1px}.mh-app-header{padding:10px 12px!important}.tabs.mh-mimone-nav{left:9px!important;right:9px!important}.tabs.mh-mimone-nav .m3-nav-label{font-size:10px!important}main{padding-left:16px!important;padding-right:16px!important}}
