.ml-app{width:min(100%,430px);margin:12px auto;background:#020303;color:#eee;min-height:82vh;font-family:Arial,Helvetica,sans-serif;border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px #555;touch-action:manipulation;position:relative}
.ml-titlebar{position:relative;background:#3d3d3d;text-align:center;font-size:28px;font-weight:700;padding:10px}.ml-version{position:absolute;right:10px;top:10px;font-size:11px;font-weight:400;color:#bbb;display:none}.ml-dev-on .ml-version{display:block}
.ml-home-status{height:168px;background:#050505;position:relative;display:grid;grid-template-columns:58px 1fr 58px;padding:0 12px;align-items:start;overflow:hidden}.ml-home-center{text-align:center;padding-top:14px;z-index:2}.ml-dateweather{color:#68c831;font-size:18px;font-weight:500;white-space:nowrap}.ml-home-focus{color:#f5ed00;font-size:22px;margin-top:8px}.ml-home-menu,.ml-more{border:0;background:none;color:white;cursor:pointer;z-index:12}.ml-home-menu{font-size:31px;margin-top:15px;border-radius:8px;min-width:44px;min-height:44px}.ml-more{font-size:42px;line-height:1;margin-top:12px}.ml-home-menu:hover,.ml-home-menu:focus-visible{background:#1b1b1b;color:#ff2c2c;outline:2px solid #3d8cff;outline-offset:1px}
.ml-top-actions{display:none;position:absolute;left:0;right:0;top:0;height:64px;background:#161616;grid-template-columns:repeat(9,1fr);border-bottom:1px solid #333;z-index:10}.ml-controls-visible .ml-top-actions{display:grid}.ml-top-actions button{background:none;border:0;color:#eee;font-size:26px;cursor:pointer}.ml-top-actions button:hover{background:#2b2b2b}
.ml-day-info{position:absolute;left:0;right:0;bottom:0;height:48px;box-sizing:border-box;background:linear-gradient(120deg,#304653,#172229);padding:4px 12px;text-align:center;z-index:3;overflow:hidden}.ml-special-days,.ml-birthdays{font-size:13px;line-height:20px;height:20px;overflow:hidden;white-space:nowrap;text-overflow:clip}.ml-special-days{color:#73d9ff}.ml-birthdays{color:#ff9c38}.ml-controls-visible .ml-top-actions{display:grid}.ml-controls-visible .ml-day-info{z-index:2}
.ml-context-header{height:72px;background:#050505;display:grid;grid-template-columns:54px 1fr 54px;align-items:center;padding:0 10px}.ml-heading{font-size:28px;font-weight:700;color:#3d8cff;text-align:left;padding-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-icon{background:none;border:0;color:white;font-size:34px;cursor:pointer;border-radius:8px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.ml-icon:disabled{opacity:.28;cursor:default}.ml-icon:not(:disabled):hover,.ml-icon:not(:disabled):focus-visible,.ml-more:hover{background:#1b1b1b;outline:2px solid #3d8cff;outline-offset:1px}.ml-subhead{height:48px;background:linear-gradient(120deg,#304653,#172229);display:flex;align-items:center;justify-content:center;color:#71d7ff;font-size:18px}
.ml-content{padding:10px 12px 36px;min-height:560px;background:linear-gradient(180deg,#2a3a42 0%,#223038 18%,#11181c 52%,#050708 76%,#000 100%)}.ml-bar{width:100%;min-height:76px;margin:0 0 9px;background:linear-gradient(#4b4b4b,#080808);border:1px solid #111;color:#fff;display:grid;grid-template-columns:70px 1fr 64px;align-items:center;cursor:pointer;padding:0;border-radius:0;position:relative}.ml-bar:hover{background:linear-gradient(#080808,#515151)}.ml-bar:focus-visible{outline:2px solid #3d8cff;outline-offset:2px}.ml-ring{width:45px;height:45px;border-radius:50%;margin:auto;background:linear-gradient(#666,#111);box-shadow:0 0 0 3px #111,0 0 0 5px #000;cursor:pointer}.ml-ring:hover{transform:scale(1.04)}.ml-ring-green{box-shadow:0 0 0 3px #111,0 0 0 5px #75c943}.ml-ring-red{box-shadow:0 0 0 3px #111,0 0 0 5px #f02617}.ml-ring-yellow{box-shadow:0 0 0 3px #111,0 0 0 5px #fff000}.ml-ring-blue{box-shadow:0 0 0 3px #111,0 0 0 5px #3b82f6}.ml-ring-white{box-shadow:0 0 0 3px #111,0 0 0 5px #fff}.ml-ring-grey{box-shadow:0 0 0 3px #111,0 0 0 5px #888}.ml-ring-black{box-shadow:0 0 0 3px #111,0 0 0 5px #000}.ml-bar-title{font-size:28px}.ml-stats{display:flex;flex-direction:column;align-items:center;gap:2px;position:relative}.ml-stats i{background:#e00;border:2px solid white;border-radius:5px;min-width:32px;min-height:24px;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:700;padding:2px}.ml-stats em{font-size:18px;font-style:normal}.ml-app:not(.ml-dev-on) .ml-stats em,.ml-app.ml-hide-open .ml-stats em{display:none}.ml-node-menu{display:none}
.ml-bottom-info{height:74px;background:#020202;border-top:1px solid #222;display:flex;align-items:center;justify-content:space-between;padding:0 28px;color:#aaa;font-size:16px}.ml-footer{display:none;background:#020202;grid-template-columns:repeat(4,1fr);border-top:1px solid #333}.ml-controls-visible .ml-footer{display:grid}.ml-controls-visible .ml-bottom-info{display:none}.ml-footer button{background:none;color:white;border:0;border-right:1px solid #333;padding:9px 3px;font-size:13px;cursor:pointer;min-height:78px}.ml-footer button:hover,.ml-footer button:focus-visible{background:#1675e8;outline:none}.ml-footer b{display:block;font-size:30px}
.ml-empty{text-align:center;color:#aaa;padding:80px 20px;font-size:18px}.ml-dialog,.ml-action-dialog{background:#292929;color:#eee;border:1px solid #555;border-radius:15px;width:min(390px,92vw)}.ml-dialog form,.ml-action-dialog form{padding:22px}.ml-dialog h3,.ml-action-dialog h3{text-align:center}.ml-dialog input{width:100%;box-sizing:border-box;background:#333;border:3px solid #287bb4;color:white;font-size:20px;padding:9px;margin:10px 0 22px}.ml-dialog form>div,.ml-action-dialog form>div{text-align:right}.ml-dialog button,.ml-action-dialog button{padding:8px 18px;margin-left:8px;cursor:pointer}.ml-dialog .primary{background:#1675e8;color:white;border:0;border-radius:7px}.ml-action-dialog .danger{background:#a61f1f;color:white;border:0}.ml-warning{color:#ffb1b1;font-size:13px}.ml-toast{position:sticky;top:0;z-index:12;background:#571414;border:1px solid #f66;color:#fff;padding:10px;margin-bottom:8px;font-size:13px}.ml-detail label{display:block;color:#999;font-size:16px;margin:14px 0}.ml-detail input{display:block;width:100%;box-sizing:border-box;background:#050505;border:1px solid #555;color:white;font-size:28px;padding:10px;margin-top:5px}.ml-devnote{color:#aaa}
.ml-drawer{position:absolute;left:0;top:52px;bottom:0;width:62%;max-width:310px;background:#5b5b5b;color:white;z-index:30;transform:translateX(-103%);transition:transform .18s ease;padding:12px 0;overflow:auto}.ml-drawer.open{transform:translateX(0)}.ml-drawer h2{font-size:25px;margin:0 20px 24px 48px}.ml-drawer-close{position:absolute;top:10px;left:10px;border:0;background:none;color:white;font-size:25px;cursor:pointer}.ml-drawer nav button,.ml-drawer-close-row{width:100%;height:68px;background:none;border:0;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 28px;font-size:20px;cursor:pointer}.ml-drawer nav button:hover,.ml-drawer-close-row:hover{background:#686868}.ml-drawer nav b,.ml-drawer-close-row b{font-size:28px}.ml-dev-section{border-top:1px solid #777;border-bottom:1px solid #777;padding:12px 18px}.ml-dev-tools{display:none;margin-top:0;font-size:13px}.ml-dev-on .ml-dev-tools{display:block}.ml-dev-tools label{display:block;margin:8px 0}.ml-zip{width:110px;background:#333;color:#fff;border:1px solid #aaa;padding:5px}.ml-save-zip{margin:4px 0 8px;padding:5px 8px}.ml-drawer-scrim{display:none;position:absolute;inset:52px 0 0 0;background:rgba(0,0,0,.54);z-index:20}.ml-drawer.open+.ml-drawer-scrim{display:block}.ml-home-status[hidden],.ml-context-header[hidden],.ml-subhead[hidden]{display:none!important}
.ml-dashboard{padding:0;border:1px solid #777;border-radius:16px;background:#555;color:#eee;width:min(430px,96vw);max-height:88vh}.ml-dashboard::backdrop{background:rgba(0,0,0,.55)}.ml-dashboard form{padding:0}.ml-dashboard-head{position:sticky;top:0;display:flex;align-items:center;background:#777;padding:12px 16px;z-index:3}.ml-dashboard-head h2{margin:0 0 0 20px;font-size:27px}.ml-dashboard-x{border:0;background:none;color:white;font-size:26px;cursor:pointer}.ml-dashboard-body{padding:18px 20px 24px}.ml-db-row{display:grid;grid-template-columns:102px 1fr 32px;align-items:center;gap:12px;min-height:66px}.ml-db-row input{position:absolute;opacity:0;pointer-events:none}.ml-switch{width:72px;height:42px;border-radius:24px;background:#777;position:relative;cursor:pointer}.ml-switch:after{content:'';position:absolute;width:38px;height:38px;left:2px;top:2px;border-radius:50%;background:white;transition:.15s}.ml-db-row input:checked+.ml-switch{background:#23cf5b}.ml-db-row input:checked+.ml-switch:after{left:32px}.ml-db-row strong{font-size:20px}.ml-dev-flag{background:#444;padding:1px 6px;font-style:normal;text-align:center;display:none}.ml-dev-on .ml-dev-flag{display:block}.ml-db-dev{margin-top:14px;border-top:1px solid #777;padding-top:12px}
@media(max-width:480px){.ml-app{width:100%;margin:0 auto;border-radius:0;min-height:100dvh}.ml-titlebar{font-size:24px;padding:8px}.ml-home-status{height:175px}.ml-dateweather{font-size:16px}.ml-content{min-height:calc(100dvh - 300px);padding-left:10px;padding-right:10px}.ml-bar{min-height:78px}.ml-bar-title{font-size:27px}.ml-footer button{min-height:82px}.ml-drawer{top:48px;width:72%}.ml-dashboard{width:100%;max-height:96vh}.ml-db-row{grid-template-columns:92px 1fr 28px}.ml-db-row strong{font-size:18px}}
@media(min-width:700px){.ml-app{width:430px}.ml-content{min-height:640px}}
.ml-day-info.ml-days-two .ml-special-days{height:40px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ml-day-info.ml-days-two .ml-birthdays{display:none}
/* v1.09 HOME/Level 2 navigation refinement */
.ml-home-status{display:block;height:168px;padding:0;position:relative;overflow:hidden}
.ml-home-center{position:absolute;left:54px;right:54px;top:10px;padding:0;text-align:center;z-index:4}
.ml-more{position:absolute;right:12px;top:8px;margin:0;z-index:12}
/* Space 1 = date/weather/headline (0-58px); Space 2 = action toolbar (58-116px); Space 3 = days/birthdays (120-168px). */
.ml-top-actions{top:58px;height:58px;z-index:11;background:#141414;border-top:1px solid #242424;border-bottom:1px solid #333}
.ml-day-info{height:48px;bottom:0;z-index:3}
.ml-controls-visible .ml-day-info{z-index:3}
.ml-context-header{height:72px;background:#050505;display:grid;grid-template-columns:58px minmax(110px,1fr) 88px 48px 48px 48px;align-items:center;padding:0 8px;gap:2px}
.ml-return{font-size:48px!important;font-weight:900;line-height:1;justify-content:flex-start!important;padding-left:1px}
.ml-heading{font-size:28px;font-weight:700;color:#3d8cff;text-align:left;padding-left:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-view-label{color:#9a9a9a;text-align:center;font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-context-header .ml-icon{font-size:30px;min-width:42px;min-height:44px}
.ml-context-header .ml-add{font-size:36px}
.ml-context-header .ml-menu{font-size:32px}
.ml-dialog,.ml-action-dialog,.ml-confirm-dialog{background:#292929;color:#eee;border:1px solid #666;border-radius:15px;width:min(390px,92vw);padding:0;box-shadow:0 14px 44px rgba(0,0,0,.62)}
.ml-dialog::backdrop,.ml-action-dialog::backdrop,.ml-confirm-dialog::backdrop{background:rgba(0,0,0,.58)}
.ml-dialog form,.ml-action-dialog form,.ml-confirm-dialog form{padding:22px;margin:0}
.ml-dialog h3,.ml-action-dialog h3,.ml-confirm-dialog h3{text-align:center;margin:0 0 20px;font-size:23px}
.ml-dialog input{width:100%;box-sizing:border-box;background:#333;border:3px solid #287bb4;color:white;font-size:20px;padding:9px;margin:10px 0 22px}
.ml-dialog form>div,.ml-action-dialog form>div,.ml-confirm-dialog form>div{text-align:right}
.ml-dialog button,.ml-action-dialog button,.ml-confirm-dialog button{padding:9px 16px;margin-left:8px;cursor:pointer;background:#626262;color:#fff;border:0;border-radius:7px;font-size:15px}
.ml-dialog button:hover,.ml-action-dialog button:hover,.ml-confirm-dialog button:hover{filter:brightness(1.17)}
.ml-dialog .primary{background:#1675e8}
.ml-action-dialog .danger,.ml-confirm-dialog .danger{background:#a61f1f}
.ml-action-buttons{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px}.ml-action-buttons button{margin:0;padding:10px 6px}
.ml-confirm-message{font-size:17px;line-height:1.35;color:#eee;margin:0 0 24px}
@media(max-width:480px){
  .ml-home-status{height:175px}.ml-home-center{left:48px;right:48px}.ml-top-actions{top:58px;height:61px}.ml-day-info{height:52px}
  .ml-context-header{grid-template-columns:54px minmax(92px,1fr) 72px 43px 43px 43px;padding:0 5px}.ml-heading{font-size:25px}.ml-view-label{font-size:20px}.ml-context-header .ml-icon{font-size:27px}.ml-return{font-size:44px!important}
  .ml-action-buttons{grid-template-columns:1fr 1fr}.ml-action-buttons button{min-height:46px}
}
/* v1.10 HOME organization, reorder, Delete Archive, and recovery */
.ml-return svg{width:46px;height:46px;display:block}.ml-return{color:#fff!important;padding:0!important}.ml-home-gear{font-size:31px!important;font-weight:900!important}
.ml-no-dayinfo .ml-day-info{display:none!important}.ml-no-dayinfo .ml-home-status{height:120px!important}
.ml-bar[draggable="true"]{user-select:none}.ml-bar.ml-dragging{opacity:.48;outline:2px solid #3d8cff}.ml-bar[draggable="true"] .ml-bar-title{cursor:grab}.ml-bar[draggable="true"]:active .ml-bar-title{cursor:grabbing}
.ml-trash-bar .ml-ring{cursor:default}.ml-trash-bar .ml-bar-title{cursor:pointer}
.ml-second-delete,.ml-restore-dialog{background:#292929;color:#eee;border:1px solid #666;border-radius:15px;width:min(390px,92vw);padding:0;box-shadow:0 14px 44px rgba(0,0,0,.62)}
.ml-second-delete::backdrop,.ml-restore-dialog::backdrop{background:rgba(0,0,0,.58)}.ml-second-delete form,.ml-restore-dialog form{padding:22px;margin:0}.ml-second-delete h3,.ml-restore-dialog h3{text-align:center;margin:0 0 18px;font-size:25px}.ml-second-delete p,.ml-restore-dialog p{font-size:17px;line-height:1.35}.ml-second-delete form>div,.ml-restore-dialog form>div{text-align:right}.ml-second-delete button,.ml-restore-dialog button{padding:9px 16px;margin-left:8px;cursor:pointer;background:#626262;color:#fff;border:0;border-radius:7px;font-size:15px}.ml-second-delete .danger{background:#a61f1f}.ml-restore-dialog .primary{background:#1675e8}
/* Child-level navigation keeps the location readable until controls are intentionally revealed. */
.ml-context-header{position:relative;display:block!important;height:72px;padding:0;background:#050505}.ml-context-header[hidden]{display:none!important}.ml-return{position:absolute;left:6px;top:12px;width:52px;height:50px;z-index:5;background:none;border:0;cursor:pointer}.ml-heading{position:absolute;left:66px;right:10px;top:18px;text-align:left;padding:0;font-size:28px;line-height:38px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1}.ml-view-label,.ml-search,.ml-add,.ml-menu{opacity:0;pointer-events:none;transition:opacity .12s ease;position:absolute;z-index:8;background:#050505}.ml-view-label{right:146px;top:20px;width:92px;height:36px}.ml-search{right:98px;top:13px;width:45px;height:46px}.ml-add{right:50px;top:13px;width:45px;height:46px}.ml-menu{right:4px;top:13px;width:45px;height:46px}.ml-context-header:hover .ml-view-label,.ml-context-header:hover .ml-search,.ml-context-header:hover .ml-add,.ml-context-header:hover .ml-menu,.ml-context-header.ml-context-tools-visible .ml-view-label,.ml-context-header.ml-context-tools-visible .ml-search,.ml-context-header.ml-context-tools-visible .ml-add,.ml-context-header.ml-context-tools-visible .ml-menu{opacity:1;pointer-events:auto}.ml-context-header:hover:after,.ml-context-header.ml-context-tools-visible:after{content:'';position:absolute;right:0;top:0;width:255px;height:72px;background:#050505;z-index:6}
.ml-trash-mode .ml-view-label,.ml-trash-mode .ml-search,.ml-trash-mode .ml-add,.ml-trash-mode .ml-menu{display:none!important}.ml-trash-mode .ml-heading{right:10px}
@media(max-width:480px){.ml-context-header{height:68px}.ml-return{top:10px}.ml-heading{left:64px;top:16px;font-size:26px}.ml-context-header:hover:after,.ml-context-header.ml-context-tools-visible:after{width:225px;height:68px}.ml-view-label{right:134px;width:82px}.ml-search{right:90px}.ml-add{right:46px}.ml-menu{right:2px}}
/* v1.11 adaptive HOME, app-only shell, focus headline, TM, red blink, location memory, Undo */
html,body.mindlife-app-page{margin:0!important;padding:0!important;background:#000!important;min-height:100%;width:100%;overflow-x:hidden}
body.mindlife-app-page #wpadminbar{display:none!important}
body.mindlife-app-page{padding-top:0!important}
#mindlife-page-shell{margin:0;padding:0;width:100%;min-height:100dvh;background:#000;display:flex;justify-content:center;align-items:flex-start}
body.mindlife-app-page .ml-app{margin:0 auto!important;min-height:100dvh;border-radius:0!important;box-shadow:none!important}
.ml-tm{font-size:8px;vertical-align:super;margin-left:2px;font-weight:400;color:#ddd;letter-spacing:0}
@keyframes mlRingBlink{0%,48%{box-shadow:0 0 0 3px #111,0 0 0 5px #f02617}49%,100%{box-shadow:0 0 0 3px #111,0 0 0 5px transparent}}
.ml-ring-redblink{animation:mlRingBlink .9s steps(1,end) infinite}
.ml-undo-toast{position:absolute;left:12px;right:12px;bottom:90px;z-index:45;background:#242424;color:#fff;border:1px solid #777;border-radius:9px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 8px 28px rgba(0,0,0,.5)}
.ml-undo-toast[hidden]{display:none!important}.ml-undo-toast button{background:#1675e8;color:#fff;border:0;border-radius:6px;padding:8px 14px;font-weight:700;cursor:pointer}.ml-undo-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-home-focus[hidden]{display:none!important}
@media(max-width:480px){#mindlife-page-shell{display:block}.ml-app{width:100%!important}.ml-titlebar{padding-top:max(8px,env(safe-area-inset-top))}}


/* v1.12 authentication, live state, shell polish, dashboard controls, animations */
html,body.mindlife-app-page{
  min-height:100%;
  background:
    radial-gradient(circle at 50% 15%,rgba(54,76,89,.34),transparent 38%),
    linear-gradient(180deg,#1e2d36 0%,#10181d 38%,#050708 68%,#000 100%)!important;
}
#mindlife-page-shell{
  min-height:100dvh;
  background:transparent!important;
}
body.mindlife-app-page .ml-app{
  width:min(100%,500px)!important;
  max-width:500px;
  background:linear-gradient(180deg,#243640 0%,#121b20 32%,#06090b 62%,#000 100%)!important;
}
.ml-content{
  padding-left:6px!important;
  padding-right:6px!important;
  background:linear-gradient(180deg,#263946 0%,#1f3039 16%,#10191e 48%,#050809 74%,#000 100%)!important;
}
.ml-no-blink .ml-ring-redblink{
  animation:none!important;
  box-shadow:0 0 0 3px #111,0 0 0 5px #f02617!important;
}
.ml-undo-toast{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  width:min(390px,calc(100vw - 24px));
  box-sizing:border-box;
  transform:translateX(-50%);
  bottom:max(18px,env(safe-area-inset-bottom));
}
.ml-db-select-row{
  display:grid;
  grid-template-columns:1fr 150px;
  align-items:center;
  gap:14px;
  min-height:58px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.ml-db-select-row strong{font-size:19px}
.ml-db-select-row select{
  background:#333;color:#fff;border:1px solid #888;border-radius:6px;
  padding:8px;font-size:15px;
}
@keyframes mlCrossDissolve{from{opacity:.15}to{opacity:1}}
@keyframes mlPushLeft{from{opacity:.35;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
@keyframes mlPushRight{from{opacity:.35;transform:translateX(-28px)}to{opacity:1;transform:translateX(0)}}
.ml-content.ml-trans-cross{animation:mlCrossDissolve .22s ease-out}
.ml-content.ml-trans-push-left{animation:mlPushLeft .24s ease-out}
.ml-content.ml-trans-push-right{animation:mlPushRight .24s ease-out}
@media (prefers-reduced-motion: reduce){
  .ml-content.ml-trans-cross,.ml-content.ml-trans-push-left,.ml-content.ml-trans-push-right{animation:none!important}
  .ml-drawer{transition:none!important}
}
.ml-auth-screen{
  width:min(100%,500px);min-height:100dvh;margin:0 auto;color:#fff;
  background:
    radial-gradient(circle at 50% 16%,rgba(65,88,101,.35),transparent 36%),
    linear-gradient(180deg,#243640 0%,#10181d 46%,#020303 72%,#000 100%);
  font-family:Arial,Helvetica,sans-serif;
}
.ml-auth-title{border-radius:0}
.ml-auth-body{padding:64px 32px 40px;text-align:center}
.ml-auth-lock{font-size:42px;margin-bottom:24px}
.ml-auth-body h1{font-size:42px;font-weight:400;margin:0 0 8px}
.ml-auth-sub{color:#aeb7bc;margin:0 0 32px;font-size:16px}
.ml-auth-error{background:#6d1717;border:1px solid #ef6c6c;padding:10px 12px;margin:0 auto 18px;max-width:360px;text-align:left}
.ml-auth-form{max-width:360px;margin:0 auto;text-align:left}
.ml-auth-form label{display:block;margin:0 0 18px;color:#d6d6d6;font-size:14px}
.ml-auth-form input[type="text"],.ml-auth-form input[type="password"],.ml-auth-form input:not([type]){
  width:100%;box-sizing:border-box;margin-top:6px;background:#101010;color:#fff;
  border:1px solid #65737b;border-radius:8px;padding:13px 12px;font-size:18px;
}
.ml-auth-remember{display:flex!important;align-items:center;gap:8px}
.ml-auth-remember input{width:auto!important;margin:0!important}
.ml-auth-submit{
  width:100%;border:0;border-radius:9px;padding:13px;background:#63a928;color:#fff;
  font-size:20px;font-weight:700;cursor:pointer;
}
.ml-auth-submit:hover{filter:brightness(1.1)}
@media(max-width:520px){
  body.mindlife-app-page .ml-app,.ml-auth-screen{width:100%!important;max-width:none}
  .ml-content{padding-left:4px!important;padding-right:4px!important}
  .ml-auth-body{padding-left:24px;padding-right:24px}
}

/* v1.13 wake PIN, retrievable Undo, and corrected HOME day hierarchy */
.ml-drawer nav button:disabled{opacity:.42;cursor:default;background:none!important}
.ml-undo-menu-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.ml-db-pin-row{display:grid;grid-template-columns:1fr 150px;align-items:center;gap:14px;min-height:64px;border-bottom:1px solid rgba(255,255,255,.06)}
.ml-db-pin-row>div{display:flex;flex-direction:column;gap:4px}.ml-db-pin-row strong{font-size:19px}.ml-db-pin-row small{color:#c5c5c5;font-size:13px}
.ml-db-pin-row button{background:#1675e8;color:#fff;border:0;border-radius:7px;padding:9px 12px;font-size:15px;cursor:pointer}
.ml-pin-help{font-size:14px;color:#ccc;line-height:1.35;margin:0 0 12px}.ml-pin-setup-error{min-height:20px;color:#ff9d9d;margin:0 0 10px}
.ml-pin-dialog label{display:block;color:#ddd;margin-top:8px}.ml-pin-dialog input{letter-spacing:.5em;text-align:center;font-size:24px}
.ml-day-info.ml-days-both .ml-birthdays{display:block;height:20px;line-height:20px}.ml-day-info.ml-days-both .ml-special-days{display:block;height:20px;line-height:20px;white-space:nowrap}
.ml-day-info.ml-only-birthdays .ml-special-days{display:none}.ml-day-info.ml-only-birthdays .ml-birthdays{height:40px;line-height:40px;font-size:14px}
.ml-day-info.ml-days-two .ml-birthdays{display:none}.ml-day-info.ml-days-two .ml-special-days{height:40px;line-height:20px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ml-lock-screen{position:absolute;inset:0;z-index:100;background:linear-gradient(180deg,#243640 0%,#10181d 45%,#020303 72%,#000 100%);color:#fff;min-height:100dvh}
.ml-lock-screen[hidden]{display:none!important}.ml-lock-body{padding:58px 28px 38px;text-align:center}.ml-lock-icon{font-size:52px;line-height:1;margin-bottom:16px}.ml-lock-body h2{font-size:34px;font-weight:400;margin:0 0 8px}.ml-lock-body>p{color:#aeb7bc;margin:0 0 22px}
.ml-lock-pin{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.ml-pin-dots{display:flex;justify-content:center;gap:18px;margin:14px 0 24px}.ml-pin-dots i{width:18px;height:18px;border-radius:50%;border:2px solid #9aa7ad;background:transparent;box-sizing:border-box}.ml-pin-dots i.filled{background:#fff;border-color:#fff}
.ml-pin-error{min-height:22px;color:#ff9d9d;font-size:14px;margin:-10px 0 10px}
.ml-keypad{display:grid;grid-template-columns:repeat(3,74px);gap:12px;justify-content:center}.ml-keypad button{height:58px;border-radius:30px;border:1px solid #64737b;background:#18242b;color:#fff;font-size:24px;cursor:pointer}.ml-keypad button[data-pin-clear]{font-size:13px}.ml-keypad button[data-pin-back]{font-size:20px}.ml-keypad button:hover,.ml-keypad button:focus-visible{background:#2a3e49;outline:2px solid #3d8cff}
.ml-unlock-button{margin-top:22px;width:min(270px,90%);padding:12px;border:0;border-radius:8px;background:#63a928;color:#fff;font-weight:700;font-size:18px;cursor:pointer}
body.ml-locked{overflow:hidden!important}
@media(max-width:480px){.ml-lock-body{padding-top:46px}.ml-keypad{grid-template-columns:repeat(3,68px)}.ml-keypad button{height:54px}.ml-db-pin-row{grid-template-columns:1fr 126px}.ml-db-pin-row button{font-size:14px}}

/* v1.13.1 patch: make manual lock access unmistakable */
.ml-lock-menu-primary{font-weight:700;border-bottom:1px solid rgba(255,255,255,.14)!important}.ml-lock-menu-primary span{letter-spacing:.01em}.ml-pin-actions{display:flex;gap:8px;align-items:center}.ml-pin-actions button{white-space:nowrap}.ml-pin-lock-now:disabled{opacity:.42;cursor:default}


/* v0.1.15 — mobile hardening only.
   Preserve the established 100% iPhone proportions; prevent browser-side inflation/overflow. */
html,
body.mindlife-app-page{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
body.mindlife-app-page,
body.mindlife-app-page button,
body.mindlife-app-page input,
body.mindlife-app-page select,
body.mindlife-app-page textarea{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body.mindlife-app-page .ml-app,
body.mindlife-app-page .ml-app *,
body.mindlife-app-page .ml-app *::before,
body.mindlife-app-page .ml-app *::after{
  box-sizing:border-box;
}
#mindlife-page-shell,
body.mindlife-app-page .ml-app{
  max-width:100%;
  overflow-x:hidden;
}
body.mindlife-app-page img,
body.mindlife-app-page video,
body.mindlife-app-page canvas,
body.mindlife-app-page svg{
  max-width:100%;
}
@supports (padding: max(0px)){
  @media(max-width:520px){
    #mindlife-page-shell{
      padding-left:env(safe-area-inset-left);
      padding-right:env(safe-area-inset-right);
    }
    .ml-bottom-info,.ml-footer{
      padding-bottom:env(safe-area-inset-bottom);
    }
  }
}

/* v0.1.16 app-experience / iPhone Home Screen standalone foundation */
.ml-return{-webkit-tap-highlight-color:transparent}
.ml-return:focus:not(:focus-visible){outline:none!important;box-shadow:none!important;background:transparent!important}
@media (hover:none) and (pointer:coarse){
  .ml-return:focus{outline:none!important;box-shadow:none!important;background:transparent!important}
}
@media (display-mode: standalone){
  html,body.mindlife-app-page,#mindlife-page-shell{min-height:100dvh}
  body.mindlife-app-page{overscroll-behavior:none}
  body.mindlife-app-page .ml-app{min-height:100dvh}
  .ml-titlebar{padding-top:max(8px,env(safe-area-inset-top))}
  .ml-bottom-info,.ml-footer{padding-bottom:max(0px,env(safe-area-inset-bottom))}
}
html.ml-standalone body.mindlife-app-page{overscroll-behavior:none}

/* v0.1.17 — iPhone/PWA polish, sync-era touch cleanup, PIN-only keypad */
/* When there are no birthdays or special-day rows, reclaim their entire HOME slot. */
.ml-no-dayinfo .ml-day-info{display:none!important;height:0!important;padding:0!important}
.ml-no-dayinfo .ml-home-status{height:120px!important}

/* The wake screen uses MindLife's keypad only; there is no native editable PIN field. */
.ml-lock-pin{display:none!important}

/* Eliminate iOS/touch focus paint on Return while retaining keyboard focus on hover-capable devices. */
@media (hover:none), (pointer:coarse){
  .ml-return,
  .ml-return:hover,
  .ml-return:active,
  .ml-return:focus,
  .ml-return:focus-visible{
    -webkit-appearance:none!important;
    -webkit-tap-highlight-color:transparent!important;
    outline:none!important;
    outline-offset:0!important;
    box-shadow:none!important;
    border-color:transparent!important;
    background:transparent!important;
  }
}

/* Touch devices must not retain a desktop :hover reversal after a tap/scroll. */
@media (hover:none), (pointer:coarse){
  .ml-bar:hover{background:linear-gradient(#4b4b4b,#080808)!important}
  .ml-bar:active{background:linear-gradient(#080808,#515151)!important}
  .ml-ring:hover{transform:none!important}
  .ml-top-actions button:hover,
  .ml-footer button:hover,
  .ml-drawer nav button:hover,
  .ml-drawer-close-row:hover{filter:none}
}

/* Make iOS rubber-band/overscroll reveal MindLife black, never browser white. */
html.ml-standalone,
html.ml-standalone body,
html.ml-standalone body.mindlife-app-page,
html.ml-standalone #mindlife-page-shell,
html.ml-standalone body.mindlife-app-page .ml-app{
  background:#000!important;
  background-color:#000!important;
}
html.ml-standalone body.mindlife-app-page{min-height:100dvh;overscroll-behavior-y:none}

/* Reduce accidental zoom/highlight behavior on the custom PIN keypad. */
.ml-keypad button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}

/* v0.1.18 — app experience refinements */
:root{background:#3d3d3d}
html.ml-standalone,html.ml-standalone body.mindlife-app-page{background:#3d3d3d!important}
@media (display-mode:standalone){
  html,body.mindlife-app-page,#mindlife-page-shell{background:#3d3d3d!important}
  #mindlife-page-shell,.ml-app{background:#000!important}
  .ml-titlebar{background:#3d3d3d!important}
}
/* Hold Level 1 completely behind a stable, non-layout arrival curtain until Sound 2 finishes. */
.ml-arrival-curtain{position:fixed;inset:0;z-index:10000;background:#000;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ml-arrival-curtain[hidden]{display:none!important}
.ml-arrival-mark{font-size:34px;font-weight:700;color:#fff;background:#3d3d3d;width:100%;text-align:center;padding:14px 8px}.ml-arrival-mark sup{font-size:10px}
/* Touch reveal belongs only to the right-side hotspot; sticky header hover must never expose tools. */
@media (hover:none),(pointer:coarse){
  .ml-context-header:hover .ml-view-label,.ml-context-header:hover .ml-search,.ml-context-header:hover .ml-add,.ml-context-header:hover .ml-menu{opacity:0;pointer-events:none}
  .ml-context-header.ml-context-tools-visible .ml-view-label,.ml-context-header.ml-context-tools-visible .ml-search,.ml-context-header.ml-context-tools-visible .ml-add,.ml-context-header.ml-context-tools-visible .ml-menu{opacity:1;pointer-events:auto}
  .ml-context-header:hover:after{content:none!important;display:none!important}
  .ml-context-header.ml-context-tools-visible:after{content:'';display:block;position:absolute;right:0;top:0;width:225px;height:68px;background:#050505;z-index:6}
}
.ml-close-mindlife{display:block;margin:24px auto 0;min-width:220px;min-height:48px;border:1px solid #68757d;border-radius:7px;background:#1a252b;color:#fff;font-size:17px;cursor:pointer}
.ml-close-mindlife:active{filter:brightness(1.2)}
.ml-closed-screen{position:fixed;inset:0;background:#000;color:#aaa;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ml-closed-mark{width:100%;padding:12px;text-align:center;background:#3d3d3d;color:#fff;font-size:28px;font-weight:700}.ml-closed-mark sup{font-size:9px}.ml-closed-screen p{margin-top:24px}
/* v0.1.19 lifecycle + phone polish */
.ml-version{display:none}.ml-dev-on .ml-version{display:flex;flex-direction:column;align-items:flex-end;line-height:1.05}.ml-version .ml-dev-level{font-size:8px;font-weight:400;opacity:.72;margin-top:2px}.ml-weather-icon{display:inline-block;font-size:17px;line-height:1;vertical-align:-1px;margin-left:2px}
.ml-lock-body h2{color:#23cf5b}.ml-close-mindlife{background:#23cf5b;border-color:#23cf5b;color:#07120a;font-weight:700}
.ml-db-row{grid-template-columns:66px 1fr 26px;gap:8px;min-height:48px}.ml-switch{width:54px;height:30px;border-radius:18px}.ml-switch:after{width:26px;height:26px;left:2px;top:2px}.ml-db-row input:checked+.ml-switch:after{left:26px}.ml-db-row strong{font-size:18px;color:#9da3a6;transition:color .15s}.ml-db-row input:checked~strong{color:#fff}.ml-dashboard-body{padding-top:12px}.ml-db-dev{margin-top:9px;padding-top:9px}
.ml-content.ml-trans-slide-up{animation:mlSlideUp .22s ease-out}.ml-content.ml-trans-slide-down{animation:mlSlideDown .22s ease-out}.ml-content.ml-trans-zoom-fade{animation:mlZoomFade .2s ease-out}@keyframes mlSlideUp{from{opacity:.2;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes mlSlideDown{from{opacity:.2;transform:translateY(-18px)}to{opacity:1;transform:none}}@keyframes mlZoomFade{from{opacity:.15;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:480px){.ml-db-row{grid-template-columns:60px 1fr 24px;min-height:44px}.ml-db-row strong{font-size:16px}.ml-weather-icon{font-size:16px}}
@media(prefers-reduced-motion:reduce){.ml-content.ml-trans-slide-up,.ml-content.ml-trans-slide-down,.ml-content.ml-trans-zoom-fade{animation:none!important}}
.ml-assistant-access{width:100%;margin:10px 0 4px;min-height:40px;border:1px solid #7d8589;border-radius:7px;background:#454b4e;color:#fff;font-size:16px}.ml-assistant-roots{margin:12px 0;max-height:220px;overflow:auto;border-top:1px solid #777}.ml-assistant-root{display:flex!important;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #666}.ml-assistant-root input{width:18px;height:18px}.ml-assistant-error{color:#ffb1b1;min-height:18px}
.ml-assistant .ml-home-gear,.ml-assistant .ml-top-actions [data-action="settings-drawer"]{display:none!important}

/* v0.1.20 — Level 3 Design foundation */
.ml-assistant-roots{padding-left:10px;padding-right:8px}
.ml-assistant-root{padding:10px 8px!important;gap:12px!important;min-height:46px;box-sizing:border-box}
.ml-assistant-root input{width:20px!important;height:20px!important;min-width:20px;margin:0!important;accent-color:#187bff}
@media (hover:hover) and (pointer:fine){.ml-return:focus:not(:focus-visible),.ml-return:active{outline:none!important;box-shadow:none!important}.ml-return:focus-visible{outline:2px solid #6fb0ff;outline-offset:2px}}
.ml-content.ml-trans-slide-left{animation:mlSlideLeft .22s ease-out}.ml-content.ml-trans-slide-right{animation:mlSlideRight .22s ease-out}@keyframes mlSlideLeft{from{opacity:.25;transform:translateX(26px)}to{opacity:1;transform:none}}@keyframes mlSlideRight{from{opacity:.25;transform:translateX(-26px)}to{opacity:1;transform:none}}
.ml-pin-marker{font-size:19px;line-height:1;position:absolute;inset:0;display:grid;place-items:center;text-shadow:0 1px 2px #000}.ml-ring{position:relative}.ml-pin-red{color:#ff3b30}.ml-pin-green{color:#52c41a}.ml-pin-yellow{color:#ffd60a}.ml-pin-blue{color:#2f80ff}.ml-pin-orange{color:#ff9500}.ml-pin-purple{color:#bf5af2}.ml-pin-white{color:#fff}.ml-pin-grey{color:#777}.ml-pin-teal{color:#40c8c8}.ml-pin-none{color:#555}
.ml-view-dialog{width:min(560px,94vw);max-height:92dvh;border:1px solid #676767;border-radius:10px;background:#303030;color:#fff;padding:0}.ml-view-dialog::backdrop{background:rgba(0,0,0,.72)}.ml-view-dialog form{padding:0 18px 18px}.ml-view-head{display:grid;grid-template-columns:38px 1fr;align-items:center;margin:0 -18px 14px;padding:9px 14px;background:#707070}.ml-view-head button{border:0;background:#fff;color:#777;border-radius:50%;width:30px;height:30px;font-size:20px}.ml-view-head h3{margin:0;font-size:27px}.ml-view-dialog h4{margin:8px 4px 14px;font-size:22px}.ml-view-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 24px}.ml-view-grid label{display:flex;align-items:center;gap:10px;font-size:19px;min-height:32px}.ml-view-grid input{width:18px;height:18px;accent-color:#fff}.ml-view-ok{display:flex;justify-content:flex-end;margin-top:18px}.ml-view-accept,.ml-design-ok{border:0;border-radius:50%;width:58px;height:58px;background:#fff;color:#4cae16;font-size:40px;line-height:1;font-weight:900;box-shadow:0 0 0 1px #aaa}
.ml-design{padding:18px 20px 36px;background:radial-gradient(circle at 55% 25%,#26353d 0,#152128 50%,#030607 100%);min-height:calc(100dvh - 140px);color:#fff}.ml-design small{display:block;color:#9aa1a5;font-size:13px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}.ml-design input,.ml-design textarea,.ml-design select{background:#11191d;color:#fff;border:1px solid #53616a;border-radius:5px;padding:9px;font:inherit;box-sizing:border-box}.ml-design-top{display:grid;grid-template-columns:1fr auto 64px;gap:14px;align-items:center}.ml-design-top strong{font-size:19px}.ml-priority{display:flex;gap:8px}.ml-cycle{background:linear-gradient(#2986ee,#1264c7);color:#fff;border:1px solid #08488f;border-radius:7px;padding:5px 12px;min-width:88px;font-size:13px}.ml-cycle b{display:block;font-size:20px;margin-top:2px}.ml-topic-row{display:grid;grid-template-columns:1fr 56px;gap:14px;margin:18px 0}.ml-topic-row label input{width:100%;font-size:31px;border:0;border-bottom:1px solid #53616a;background:transparent;padding:4px 2px}.ml-design-icons{display:flex;flex-direction:column;gap:10px;align-items:center}.ml-lock-toggle,.ml-pin-toggle{border:0;background:transparent;font-size:31px;padding:0}.ml-lock-toggle.open{filter:hue-rotate(70deg) saturate(1.3)}.ml-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0 18px}.ml-due-card{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;border:1px solid #4e5b61;border-radius:9px;padding:14px;margin:14px 0}.ml-due-card h4{margin:0 0 10px;color:#b7bdc0}.ml-due-card label{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:8px;margin:7px 0;color:#c0c4c6}.ml-due-card input{width:100%}.ml-notify-controls{display:flex;align-items:center;gap:9px;margin:10px 0 0 70px}.ml-notify-controls button{width:35px;height:31px;border-radius:5px;border:1px solid #68757d;background:#777;color:#fff;font-size:17px}.ml-notify-dot{width:12px;height:12px;border-radius:50%;background:transparent;border:1px solid #577}.ml-notify-dot.on{background:#2f80ff;border-color:#2f80ff}.ml-status-lights{display:flex;flex-direction:column;align-items:flex-end;gap:11px;margin-top:14px}.ml-status-lights button{width:29px;height:29px;border:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.35)}.ml-status-lights .green{background:#348446}.ml-status-lights .yellow{background:#8f8835}.ml-status-lights .red{background:#943b34}.ml-status-note{margin-top:7px;text-align:right;font-size:11px!important}.ml-design-select{display:block;margin:14px 0}.ml-design-select select{width:100%;min-height:42px}.ml-notes-block{position:relative;margin-top:15px}.ml-notes{width:calc(100% - 54px);min-height:250px;resize:vertical}.ml-notes-page{position:absolute;right:0;top:24px;width:45px;height:52px;background:#12191d;color:#eee;border:1px solid #39464c;font-size:29px}.ml-notes-dialog{width:min(720px,98vw);height:min(90dvh,900px);padding:0;border:1px solid #555;background:#101719;color:#fff}.ml-notes-dialog form{height:100%;display:grid;grid-template-rows:auto 1fr}.ml-notes-head{display:grid;grid-template-columns:60px 1fr 80px;align-items:center;background:#111;padding:10px}.ml-notes-head h3{margin:0}.ml-notes-head button{background:#333;color:#fff;border:1px solid #666;border-radius:5px;padding:8px}.ml-notes-full{width:100%;height:100%;resize:none;border:0!important;border-radius:0!important;background:#050809!important;padding:20px!important;font-size:19px!important;line-height:1.45}
@media(max-width:520px){.ml-view-grid{gap:5px 14px}.ml-view-grid label{font-size:17px}.ml-design{padding:14px 12px 28px}.ml-design-top{grid-template-columns:1fr auto 54px;gap:8px}.ml-priority{gap:5px}.ml-cycle{min-width:70px;padding:5px 7px}.ml-design-ok{width:48px;height:48px;font-size:32px}.ml-topic-row label input{font-size:27px}.ml-due-card{grid-template-columns:1fr;gap:10px}.ml-status-lights{flex-direction:row;justify-content:flex-end}.ml-notes{min-height:220px}}
@media(prefers-reduced-motion:reduce){.ml-content.ml-trans-slide-left,.ml-content.ml-trans-slide-right{animation:none!important}}
/* v0.1.21 Level 3 Design cleanup */
.ml-topic-first{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:14px;align-items:end;margin:0 0 14px}.ml-topic-first label{min-width:0}.ml-topic-first input{width:100%;font-size:32px!important;border:0!important;border-bottom:1px solid #53616a!important;background:transparent!important;padding:4px 2px!important}.ml-design-controls{display:grid;grid-template-columns:minmax(100px,1fr) auto 44px;gap:12px;align-items:center;margin-bottom:10px}.ml-design-controls strong{font-size:18px}.ml-design-icons{gap:7px}.ml-lock-toggle{position:relative;width:34px;height:38px}.ml-lock-glyph{position:absolute;left:8px;bottom:2px;width:22px;height:20px;border-radius:4px;background:#14d61e}.ml-lock-glyph:before{content:"";position:absolute;left:5px;top:-13px;width:12px;height:15px;border:4px solid #14d61e;border-bottom:0;border-radius:10px 10px 0 0;box-sizing:border-box}.ml-lock-toggle.locked .ml-lock-glyph{background:#f01919}.ml-lock-toggle.locked .ml-lock-glyph:before{border-color:#f01919}.ml-lock-toggle.open .ml-lock-glyph:before{transform:translateX(5px);border-right-color:transparent}.ml-view-select{margin:8px 0 12px}.ml-notes-block{margin-top:15px}.ml-notes-heading{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#aeb4b7;padding:0 0 7px;font:inherit;font-size:13px;letter-spacing:.04em;font-weight:700}.ml-mighty-delta{font-size:17px;color:#fff}.ml-notes{width:100%;min-height:250px}.ml-content-types{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.ml-content-types span{border:1px solid #4a5960;border-radius:12px;padding:4px 9px;color:#8f999e;font-size:12px}.ml-due-card>*{min-width:0}.ml-due-card label>*{min-width:0;max-width:100%}
@media(max-width:520px){.ml-topic-first{grid-template-columns:minmax(0,1fr) 50px;gap:8px}.ml-topic-first input{font-size:29px!important}.ml-design-controls{grid-template-columns:1fr auto 38px;gap:7px}.ml-design-controls .ml-priority{grid-row:2;grid-column:1/3}.ml-design-controls>div:first-child{grid-column:1/3}.ml-design-icons{grid-column:3;grid-row:1/3}.ml-due-card label{grid-template-columns:54px minmax(0,1fr)}.ml-due-card input{min-width:0;width:100%;max-width:100%}.ml-notify-controls{margin-left:62px}.ml-notes{min-height:220px}}

/* v0.1.22 Level 3 status + iPhone geometry + unified top gradient */
.ml-titlebar{
  background:linear-gradient(180deg,#243640 0%,#1c2b32 100%);
}
html.ml-standalone,html.ml-standalone body.mindlife-app-page,
html.ml-standalone #mindlife-page-shell,
html.ml-standalone body.mindlife-app-page .ml-app{
  background:#243640!important;
}
.ml-lock-screen .ml-titlebar{background:transparent}
.ml-lock-screen{background:linear-gradient(180deg,#243640 0%,#1a282f 16%,#10181d 45%,#020303 72%,#000 100%)}
.ml-status-lights button{
  opacity:.34;
  filter:saturate(.7) brightness(.82);
  transition:opacity .15s ease,filter .15s ease,transform .12s ease,box-shadow .15s ease;
}
.ml-status-lights button.active{
  opacity:1;
  filter:saturate(1.2) brightness(1.16);
  transform:scale(1.04);
  box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 12px rgba(255,255,255,.12);
}
.ml-status-lights .green{background:#26a348}
.ml-status-lights .yellow{background:#c3ac21}
.ml-status-lights .red{background:#cf3d31}
.ml-start-col,.ml-due-col{min-width:0}
.ml-due-card label{min-width:0}
.ml-due-card input{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:520px){
  .ml-due-card{grid-template-columns:1fr!important;gap:14px}
  .ml-due-card .ml-due-col,.ml-due-card .ml-start-col{width:100%;min-width:0}
  .ml-due-card label{grid-template-columns:64px minmax(0,1fr)!important;gap:8px;width:100%;min-width:0}
  .ml-due-card input{width:100%!important;min-width:0!important;max-width:100%!important}
  .ml-status-lights{flex-direction:row;justify-content:flex-end;align-items:center;margin-top:12px}
}
@media(display-mode:standalone){
  body.mindlife-app-page{background:#243640!important}
  .ml-titlebar{padding-top:max(8px,env(safe-area-inset-top));background:linear-gradient(180deg,#243640 0%,#1c2b32 100%)}
}


/* v0.1.23 polish */
.ml-titlebar{background:linear-gradient(120deg,#263c49 0%,#21333e 48%,#18262e 100%)}
.ml-app.ml-assistant .ml-version,.ml-app.ml-assistant .ml-dev-level,.ml-app.ml-assistant .ml-home-focus,.ml-app.ml-assistant .ml-dev-section,.ml-app.ml-assistant .ml-db-dev{display:none!important}
.ml-bar-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;display:block}
.ml-stats:empty{display:none}
.ml-design .ml-design-ok{transform:translateY(-6px)}
.ml-design-controls{grid-template-columns:minmax(110px,1fr) auto 44px}
.ml-design-controls .ml-priority{justify-self:end}
.ml-due-card{overflow:hidden}
.ml-due-card label,.ml-due-card label>*{min-width:0!important;max-width:100%!important}
.ml-due-card input[type="date"],.ml-due-card input[type="time"],.ml-due-card input[type="datetime-local"]{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden}
.ml-status-lights button{opacity:.34;filter:saturate(.65);transition:opacity .14s ease,filter .14s ease,transform .09s ease,box-shadow .14s ease}
.ml-status-lights button.active{opacity:1;filter:saturate(1.25) brightness(1.12);box-shadow:0 0 0 2px rgba(255,255,255,.15),0 0 12px rgba(255,255,255,.12),inset 0 0 0 1px rgba(0,0,0,.28)}
.ml-clear-start{margin:7px 0 0 auto;display:block;border:1px solid #53616a;background:#1a2429;color:#b9c1c5;border-radius:5px;padding:5px 9px;font-size:12px}
.ml-notify-controls{margin-left:0!important;flex-wrap:wrap}
.ml-notify-send-zone{display:inline-flex;align-items:center;gap:7px;border-radius:6px;padding:2px 3px}
.ml-notify-send-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:#aeb7bb}
.ml-notification-list{max-height:52dvh;overflow:auto;border-top:1px solid #555;border-bottom:1px solid #555;margin:12px 0}
.ml-notification-row{display:grid;grid-template-columns:34px 1fr;gap:7px;align-items:center;width:100%;padding:11px 8px;border:0;border-bottom:1px solid #444;background:transparent;color:#fff;text-align:left;font:inherit;box-sizing:border-box}
.ml-notification-row.delete{cursor:pointer}
.ml-notification-row.delete:hover{background:#4a1f1f}.ml-notification-row.delete:active{background:#781f1f}
.ml-notification-empty{color:#aaa;text-align:center;padding:18px}
/* MindLife interaction SOP: visible hover + pressed feedback without touch sticky-hover */
@media (hover:hover) and (pointer:fine){.ml-app button:not(:disabled):hover{filter:brightness(1.12)}.ml-notify-send-zone:hover{background:rgba(255,255,255,.07)}}
.ml-app button:not(:disabled):active{filter:brightness(.82);transform:translateY(1px)}
.ml-design .ml-design-ok:active{transform:translateY(-5px)}
@media(max-width:520px){
  .ml-design-controls{grid-template-columns:minmax(0,1fr) 38px;gap:7px}
  .ml-design-controls .ml-tag-block{grid-column:1;grid-row:1}
  .ml-design-controls .ml-priority{grid-column:1;grid-row:2;justify-self:end;max-width:100%}
  .ml-design-icons{grid-column:2;grid-row:1/3}
  .ml-due-card{grid-template-columns:1fr!important;gap:12px!important;padding:12px!important}
  .ml-due-card label{grid-template-columns:54px minmax(0,1fr)!important}
  .ml-due-card label input{min-width:0!important;width:100%!important;max-width:100%!important}
  .ml-start-col,.ml-due-col{min-width:0;overflow:hidden}
}


/* v0.1.24 creation/delete semantics + Design polish */
.ml-design-mode .ml-return{display:none!important}
.ml-design .ml-design-ok{transform:translate(8px,-12px)}
.ml-design .ml-design-ok:active{transform:translate(8px,-11px)}
.ml-lock-toggle.open .ml-lock-glyph:before{height:19px;top:-16px;transform:translateX(5px);border-right-color:transparent}
.ml-dt-wrap{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;align-items:center;min-width:0;max-width:100%}
.ml-dt-wrap input{width:100%!important;min-width:0!important;max-width:100%!important}
.ml-dt-set{width:30px;height:30px;border:1px solid #526169;border-radius:5px;background:#1a2429;color:#97a3a9;font-weight:800;line-height:1;display:grid;place-items:center;padding:0}
.ml-dt-set.set{background:#1d8f3b;color:#fff;border-color:#31b956}
.ml-due-card label{grid-template-columns:54px minmax(0,1fr)}
.ml-due-card input[type="date"],.ml-due-card input[type="time"],.ml-due-card input[type="datetime-local"]{padding-left:8px;padding-right:6px}
@media(min-width:700px){.ml-due-card{grid-template-columns:1fr 1fr}.ml-due-card label{grid-template-columns:54px minmax(150px,240px)}.ml-dt-wrap{max-width:276px}}
@media(max-width:520px){.ml-design .ml-design-ok{transform:translate(10px,-14px)}.ml-design .ml-design-ok:active{transform:translate(10px,-13px)}.ml-due-card label{grid-template-columns:46px minmax(0,1fr)!important}.ml-dt-wrap{grid-template-columns:minmax(0,1fr) 28px}.ml-dt-set{width:28px;height:28px}.ml-due-card input[type="date"],.ml-due-card input[type="time"],.ml-due-card input[type="datetime-local"]{font-size:15px!important}}

/* v0.1.25 lock/delete state + Date/Time picker cleanup */
.ml-lock-toggle.open{filter:none!important}
.ml-datetime-field{cursor:pointer;max-width:220px!important}
.ml-datetime-dialog{width:min(420px,92vw);border:1px solid #5b676e;border-radius:10px;background:#151d21;color:#fff;padding:0}
.ml-datetime-dialog::backdrop{background:rgba(0,0,0,.72)}
.ml-datetime-dialog form{padding:18px}
.ml-datetime-dialog h3{margin:0 0 16px;font-size:23px}
.ml-datetime-input-wrap{display:flex;justify-content:center;margin:8px 0 18px}
.ml-datetime-input{width:min(320px,100%);background:#0c1215;color:#fff;border:1px solid #59666d;border-radius:6px;padding:11px;font:inherit}
.ml-datetime-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}
.ml-datetime-actions button{min-width:76px;min-height:38px;border-radius:6px;border:1px solid #65737b;background:#2a3439;color:#fff}
.ml-datetime-actions .ml-datetime-set{min-width:48px;width:48px;height:48px;border-radius:50%;background:#fff;color:#4cae16;font-size:31px;font-weight:900;line-height:1}
.ml-datetime-actions button:hover{filter:brightness(1.15)}
.ml-datetime-actions button:active{transform:translateY(1px) scale(.98);filter:brightness(.9)}
@media(max-width:520px){.ml-datetime-field{max-width:190px!important}.ml-datetime-dialog{width:90vw}.ml-datetime-input{font-size:17px}}


/* v0.1.26 Google Calendar connection + sync */
.ml-google-calendar{width:100%;margin:8px 0 4px;min-height:40px;border:1px solid #7d8589;border-radius:7px;background:#35464f;color:#fff;font-size:16px}
.ml-google-dialog{width:min(620px,94vw)}
.ml-google-dialog form>label{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:center;margin:10px 0}
.ml-google-dialog input{min-width:0;width:100%;box-sizing:border-box;background:#0c1215;color:#fff;border:1px solid #59666d;border-radius:6px;padding:9px}
.ml-google-status{font-weight:700;color:#b7d8e9}
.ml-google-help{font-size:13px;line-height:1.45;color:#b8c1c6}
.ml-google-error{color:#ffb1b1;min-height:18px}
.ml-google-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:14px}
.ml-google-actions button{min-height:38px;padding:7px 12px;border-radius:6px}
@media(max-width:520px){
  .ml-google-dialog form>label{grid-template-columns:1fr;gap:5px}
  .ml-google-actions{justify-content:stretch}
  .ml-google-actions button{flex:1 1 42%}
}
.ml-toast.ml-toast-success{background:#164f2a;border-color:#58c77a;color:#fff}

/* v0.1.30 canonical sync status + Design/navigation polish */
.ml-sync-led{position:absolute;right:64px;top:16px;width:18px;height:18px;min-width:18px;min-height:18px;padding:0;border:1px solid #626a6e;border-radius:50%;background:#50565a;box-shadow:inset 0 0 5px rgba(0,0,0,.6);cursor:pointer;z-index:5;transition:background .25s ease,box-shadow .25s ease,opacity 1s ease,transform .12s ease}
.ml-sync-led:hover{transform:scale(1.12);outline:1px solid rgba(255,255,255,.35)}
.ml-sync-led:active{transform:scale(.93)!important}
.ml-sync-led.syncing{background:#35e65a;box-shadow:0 0 9px rgba(53,230,90,.85),inset 0 0 4px rgba(255,255,255,.5);animation:mlSyncPulse 1.1s ease-in-out infinite}
.ml-sync-led.success{background:#35e65a;box-shadow:0 0 9px rgba(53,230,90,.8),inset 0 0 4px rgba(255,255,255,.45);opacity:1}
.ml-sync-led.success.fade-idle{opacity:.25}
.ml-sync-led.failure{background:#f12727;box-shadow:0 0 9px rgba(241,39,39,.8),inset 0 0 4px rgba(255,255,255,.35)}
@keyframes mlSyncPulse{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}
.ml-sync-popover{position:absolute;right:10px;top:46px;z-index:60;width:min(390px,calc(100vw - 28px));box-sizing:border-box;padding:10px 13px;border-radius:8px;background:#333;border:1px solid #666;color:#fff;text-align:left;font-size:13px;box-shadow:0 8px 24px rgba(0,0,0,.55)}
.ml-sync-popover strong{display:block}.ml-sync-popover small{display:block;margin-top:4px;opacity:.78}
.ml-sync-popover.success{background:#164f2a;border-color:#58c77a}.ml-sync-popover.failure{background:#671919;border-color:#ef6666}.ml-sync-popover.syncing{background:#1f4930;border-color:#55d777}.ml-sync-popover.idle{background:#333;border-color:#666}
/* On Design only, reclaim the unused Return column so the context title has more room. */
.ml-design-mode .ml-context-header{grid-template-columns:8px minmax(140px,1fr) 88px 48px 48px 48px;padding-left:4px}
.ml-design-mode .ml-heading{padding-left:0}
/* Strong, reliable Design OK affordance. */
.ml-design .ml-design-ok{cursor:pointer;transition:transform .1s ease,filter .12s ease,box-shadow .12s ease}
.ml-design .ml-design-ok:hover{box-shadow:0 0 0 2px #aaa,0 0 12px rgba(76,174,22,.35)}
.ml-design .ml-design-ok.busy,.ml-design .ml-design-ok:disabled{opacity:.58;cursor:wait;filter:saturate(.55)}
/* Search should visually match the neighboring top-menu controls. */
.ml-top-actions button[aria-label="Search"]{font-size:32px;font-weight:800}
.ml-context-header .ml-search{font-size:35px}
@media(max-width:520px){
  .ml-sync-led{right:58px;top:15px;width:17px;height:17px;min-width:17px;min-height:17px}
  .ml-design-mode .ml-context-header{grid-template-columns:4px minmax(100px,1fr) 72px 43px 43px 43px;padding-left:2px;gap:1px}
  .ml-design-mode .ml-heading{font-size:24px}
}


/* v0.1.31 HOME interaction, forecast, PIN touch, and quieter sync status */
.ml-sync-led{right:67px;top:19px;width:11px;height:11px;min-width:11px;min-height:11px;border-width:1px;background:#3f4447;box-shadow:inset 0 0 3px rgba(0,0,0,.7);opacity:.72}
.ml-sync-led.syncing,.ml-sync-led.success{background:#38bd59;box-shadow:0 0 5px rgba(56,189,89,.5),inset 0 0 2px rgba(255,255,255,.28);opacity:.86}
.ml-sync-led.failure{background:#d92b2b;box-shadow:0 0 5px rgba(217,43,43,.55),inset 0 0 2px rgba(255,255,255,.2);opacity:.95}
.ml-sync-indicator-off .ml-sync-led,.ml-sync-indicator-off .ml-sync-popover{display:none!important}
.ml-sync-popover{font-size:15px;line-height:1.28;padding:10px 13px;border-radius:7px}.ml-sync-popover strong{font-size:15px;font-weight:800}.ml-sync-popover .ml-sync-time{margin-top:3px}
@media(max-width:520px){.ml-sync-led{right:61px;top:18px;width:10px;height:10px;min-width:10px;min-height:10px}}
/* HOME toolbar is revealed only from its own strip/hotspot, leaving the status line free for weather actions. */
.ml-top-actions-hotspot{position:absolute;left:0;right:0;top:58px;height:58px;border:0;background:transparent;padding:0;z-index:10;cursor:default;-webkit-tap-highlight-color:transparent}
.ml-controls-visible .ml-top-actions-hotspot{display:none}
.ml-weather-strip{position:absolute;left:0;right:0;top:58px;height:58px;background:#020202;z-index:12;display:grid;grid-template-columns:repeat(8,minmax(0,1fr)) 24px;align-items:center;padding:2px 5px;border-top:1px solid #1f1f1f;border-bottom:1px solid #252525;overflow:hidden}
.ml-weather-strip[hidden]{display:none!important}.ml-weather-slot{display:grid;grid-template-rows:12px 25px 14px;place-items:center;min-width:0;color:#ddd;font-size:9px;line-height:1}.ml-weather-slot b{font-size:9px;color:#8fa0a8}.ml-weather-slot i{font-style:normal;font-size:19px}.ml-weather-slot em{font-style:normal;font-size:10px;color:#cdd5d8}.ml-weather-end{font-size:8px;color:#78868d;align-self:start;margin-top:5px;text-align:center}
.ml-dateweather{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ml-focus-hash{font-size:.58em;vertical-align:super;line-height:0;margin-right:1px}
.ml-forecast-dialog{width:min(520px,94vw);border:1px solid #52616a;border-radius:11px;background:#11191d;color:#fff;padding:0}.ml-forecast-dialog::backdrop{background:rgba(0,0,0,.7)}.ml-forecast-dialog form{padding:16px}.ml-forecast-dialog h3{margin:0 0 12px;font-size:24px}.ml-forecast-summary{margin:0 0 12px;font-size:16px;line-height:1.45}.ml-forecast-rows{border-top:1px solid #435058}.ml-forecast-row{display:grid;grid-template-columns:42px minmax(0,1fr) 42px 68px;gap:7px;align-items:center;padding:7px 2px;border-bottom:1px solid #303b41;font-size:13px}.ml-forecast-actions{display:flex;justify-content:flex-end;padding-top:12px}.ml-forecast-close{width:38px;height:38px;border-radius:50%;border:1px solid #5e7263;background:#183b24;color:#66d47b;font-size:24px;font-weight:800}
/* PIN keys: touch feedback must be momentary; never leave a number highlighted for the next observer. */
.ml-keypad button.ml-key-pressed{background:#314b58!important;outline:2px solid #3d8cff!important;filter:brightness(1.12)}
@media (hover:none),(pointer:coarse){.ml-keypad button:hover,.ml-keypad button:focus,.ml-keypad button:focus-visible{background:#18242b!important;outline:none!important}.ml-keypad button.ml-key-pressed{background:#314b58!important;outline:2px solid #3d8cff!important}.ml-top-actions button:hover,.ml-top-actions button:focus{background:transparent!important;outline:none!important}}
.ml-closed-screen small{margin-top:8px;color:#727b80}
/* Ring is its own control: hovering/pressing it must not paint the full Level bar. */
@media (hover:hover) and (pointer:fine){.ml-bar:has(.ml-ring:hover){background:linear-gradient(#4b4b4b,#080808)!important;filter:none!important;transform:none!important}}
.ml-bar:has(.ml-ring:active){background:linear-gradient(#4b4b4b,#080808)!important;filter:none!important;transform:none!important}

/* v0.1.32 — three-position Dashboard sync cadence */
.ml-sync-cadence{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #888;border-radius:7px;overflow:hidden;background:#333}
.ml-sync-cadence-btn{border:0;border-right:1px solid #666;background:#333;color:#cfd3d5;min-height:36px;padding:6px 8px;font-size:14px;cursor:pointer}
.ml-sync-cadence-btn:last-child{border-right:0}
.ml-sync-cadence-btn:hover{background:#474747;color:#fff}
.ml-sync-cadence-btn:active{background:#222}
.ml-sync-cadence-btn.active{background:#1f7e3a;color:#fff;font-weight:700}
@media(max-width:480px){.ml-sync-cadence-btn{min-height:38px;padding:6px 5px;font-size:13px}}

/* v0.1.33 Schedule */
.ml-top-actions{grid-template-columns:repeat(8,1fr)}
.ml-schedule{min-height:calc(100dvh - 140px);background:#050708;color:#fff;padding-bottom:28px}
.ml-schedule-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 46px;align-items:center;gap:6px;padding:10px 10px 8px;background:#0a0d0f;border-bottom:1px solid #2d363b}
.ml-schedule-nav button,.ml-schedule-subnav button{border:0;background:#182027;color:#fff;border-radius:7px;min-height:38px;font-size:18px}
.ml-schedule-date{background:transparent!important;font-weight:700;font-size:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-schedule-date:hover,.ml-schedule-nav button:hover,.ml-schedule-subnav button:hover{background:#26343d!important}
.ml-schedule-settings{font-size:24px!important}
.ml-schedule-subnav{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;background:#10161a;border-bottom:1px solid #283239}
.ml-schedule-view{background:#0b1115;color:#fff;border:1px solid #45525a;border-radius:6px;padding:7px 9px}
.ml-google-intake-button{font-size:13px!important;padding:0 10px}.ml-google-intake-button b{display:inline-flex;min-width:21px;height:21px;border-radius:11px;align-items:center;justify-content:center;background:#515151;margin-left:4px}.ml-google-intake-button.has-items b{background:#e67e22}
.ml-ade{display:grid;grid-template-columns:54px 1fr;gap:6px;align-items:start;padding:7px 8px;background:#11171b;border-bottom:1px solid #39434a}.ml-ade>strong{color:#8fd3ff;font-size:13px;padding-top:7px}.ml-ade>div{display:flex;gap:5px;flex-wrap:wrap}.ml-ade-empty{color:#727b80;font-size:12px;padding:7px}
.ml-schedule-grid{border-top:1px solid #252d32}.ml-schedule-row{display:grid;grid-template-columns:76px minmax(0,1fr);min-height:54px;background:#050505;border-bottom:1px solid #24292d}.ml-schedule-row.alt{background:#202326}.ml-schedule-time{border:0;border-right:1px solid #3d464b;background:transparent;color:#56b7ff;font-weight:700;font-size:13px;cursor:pointer}.ml-schedule-time:hover{background:#152633}.ml-schedule-cell{min-width:0;display:flex;align-items:stretch;gap:4px;padding:3px 4px;overflow-x:auto}
.ml-schedule-event{position:relative;min-width:150px;max-width:260px;text-align:left;border:0;border-radius:5px;padding:5px 28px 5px 8px;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);cursor:pointer}.ml-schedule-event strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.ml-schedule-event small{font-size:10px;opacity:.85}.ml-sch-task-box{position:absolute;right:7px;top:50%;transform:translateY(-50%);font-size:20px}.ml-derived-travel{font-style:italic}.ml-google-unresolved{box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.ml-sch-color-bright_red{background:#E4002B!important}.ml-sch-color-mid_red{background:#600000!important}.ml-sch-color-pink{background:#804060!important}.ml-sch-color-forest_green{background:#28603a!important}.ml-sch-color-sage_green{background:#608020!important}.ml-sch-color-purple{background:#6020e0!important}.ml-sch-color-blue{background:#0040e0!important}.ml-sch-color-orange{background:#e08020!important;color:#000!important}.ml-sch-color-yellow{background:#e0e060!important;color:#000!important}
.ml-schedule-settings-dialog,.ml-schedule-item-dialog,.ml-google-intake-dialog{width:min(720px,96vw);max-height:94dvh;overflow:auto;border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff;padding:0;box-shadow:0 16px 50px rgba(0,0,0,.72)}
.ml-schedule-settings-dialog::backdrop,.ml-schedule-item-dialog::backdrop,.ml-google-intake-dialog::backdrop{background:rgba(0,0,0,.72)}
.ml-schedule-settings-dialog form,.ml-schedule-item-dialog form,.ml-google-intake-dialog form{padding:0 18px 18px}.ml-schedule-dialog-head{display:grid;grid-template-columns:40px 1fr 46px;align-items:center;margin:0 -18px 16px;padding:10px 14px;background:#596168}.ml-schedule-dialog-head h3{margin:0;font-size:24px}.ml-schedule-dialog-head>button{border:0;background:#fff;color:#666;border-radius:50%;width:31px;height:31px;font-size:20px}.ml-schedule-dialog-head>button:last-child{justify-self:end}
.ml-schedule-settings-grid,.ml-schedule-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.ml-schedule-settings-grid label,.ml-schedule-form-grid label,.ml-sch-guests-row,.ml-sch-notes-row{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:8px;color:#b8c0c4}.ml-schedule-settings-grid input,.ml-schedule-settings-grid select,.ml-schedule-form-grid input,.ml-schedule-form-grid select,.ml-sch-guests,.ml-sch-notes{width:100%;box-sizing:border-box;background:#091014;color:#fff;border:1px solid #50606a;border-radius:6px;padding:8px;font:inherit}.ml-sch-topic-row{grid-column:1/-1}.ml-sch-topic-row input{font-size:24px}.ml-sch-ade{display:flex!important;grid-template-columns:none!important;align-items:center!important}.ml-sch-ade input{width:auto!important}
.ml-schedule-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.ml-schedule-dialog-actions button{border:0;border-radius:7px;background:#4b545a;color:#fff;padding:9px 15px}.ml-schedule-dialog-actions .primary{width:48px;height:48px;border-radius:50%;background:#fff;color:#4cae16;font-size:30px;font-weight:900;padding:0}
.ml-schedule-color-button{width:34px!important;height:34px!important;padding:4px!important;background:#fff!important}.ml-schedule-color-button span{display:block;width:100%;height:100%;border-radius:50%}.ml-schedule-palette{position:absolute;right:12px;top:56px;display:grid;grid-template-columns:repeat(3,38px);gap:6px;background:#252d31;border:1px solid #5c676d;border-radius:9px;padding:9px;z-index:5}.ml-palette-swatch{width:38px;height:38px;border:2px solid transparent;border-radius:7px}.ml-palette-swatch.selected{border-color:#fff}
.ml-sch-alerts{border-top:1px solid #3d484e;border-bottom:1px solid #3d484e;margin:16px 0;padding:10px 0}.ml-sch-section-title{display:flex;justify-content:space-between;align-items:center}.ml-sch-add-alert{background:#25333b;color:#fff;border:1px solid #53626a;border-radius:6px;padding:6px 9px}.ml-sch-alert{display:grid;grid-template-columns:66px 1fr 1fr 36px 36px;gap:6px;align-items:center;margin-top:7px}.ml-sch-alert input,.ml-sch-alert select{min-width:0;background:#091014;color:#fff;border:1px solid #50606a;border-radius:5px;padding:6px}.ml-sch-alert button{border:0;border-radius:5px;background:#39464d;color:#fff;height:32px}.ml-sch-alert-check{color:#6bd675!important}.ml-sch-alert small{grid-column:1/-1;color:#74d98a;text-align:right}.ml-sch-guests-row,.ml-sch-notes-row{margin-top:12px}
.ml-google-intake-list{display:grid;gap:9px}.ml-intake-card{border:1px solid #5f4935;border-radius:8px;background:#251a12;padding:10px}.ml-intake-card header{display:flex;justify-content:space-between;gap:12px}.ml-intake-card header span{color:#f0a460;font-size:12px}.ml-intake-card>div{display:grid;grid-template-columns:1fr 1fr 42px;gap:7px;margin-top:8px}.ml-intake-card select{background:#0d1215;color:#fff;border:1px solid #57646b;padding:7px}.ml-intake-resolve{border:0;border-radius:50%;background:#fff;color:#4cae16;font-size:24px;font-weight:900}.ml-intake-empty{color:#8b9498;text-align:center;padding:30px}
@media(max-width:520px){.ml-schedule-settings-grid,.ml-schedule-form-grid{grid-template-columns:1fr}.ml-sch-topic-row{grid-column:auto}.ml-schedule-settings-grid label,.ml-schedule-form-grid label,.ml-sch-guests-row,.ml-sch-notes-row{grid-template-columns:98px minmax(0,1fr);gap:6px}.ml-schedule-row{grid-template-columns:68px minmax(0,1fr)}.ml-schedule-event{min-width:145px}.ml-sch-alert{grid-template-columns:55px minmax(78px,1fr) minmax(72px,1fr) 34px 34px}.ml-intake-card header{display:grid}.ml-intake-card>div{grid-template-columns:1fr}.ml-intake-resolve{width:42px;height:42px;justify-self:end}}
.ml-intake-card>div{grid-template-columns:.75fr 1fr 1fr 42px}
@media(max-width:520px){.ml-intake-card>div{grid-template-columns:1fr}}
.ml-schedule-range{display:grid;gap:8px;padding:8px}.ml-schedule-day-card{border:1px solid #313b41;background:#0b1013;border-radius:8px;overflow:hidden}.ml-schedule-day-heading{width:100%;text-align:left;border:0;background:#1a242a;color:#8fd3ff;padding:8px 10px;font-weight:700}.ml-range-ade,.ml-range-items{display:flex;gap:5px;flex-wrap:wrap;padding:7px}.ml-range-ade{border-bottom:1px solid #2d363b}.ml-range-ade>b{color:#8fd3ff;font-size:12px;padding:6px 4px}.ml-range-empty{color:#68747a;font-size:12px;padding:8px}.ml-schedule-range .ml-schedule-event{min-width:160px}

/* v0.1.62 Schedule usability */
.ml-content:has(.ml-schedule){overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ml-schedule{min-height:0}
.ml-schedule-event{padding:5px 30px 24px 8px}
.ml-sch-task-box{position:absolute;right:6px;bottom:5px;top:auto;transform:none;width:18px;height:18px;border:2px solid #fff;border-radius:3px;background:rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:900;color:#fff;line-height:1}
.ml-sch-alert-led{position:absolute;right:6px;top:5px;width:9px;height:9px;border-radius:50%;background:#29a9ff;box-shadow:0 0 5px rgba(41,169,255,.75)}
.ml-schedule-item-dialog{overflow:hidden!important}.ml-schedule-item-dialog .ml-sch-form{height:min(90dvh,780px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:0!important}.ml-sch-fixed-head{position:relative;margin:0!important;padding:10px 14px!important;z-index:2}.ml-sch-scroll-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 18px 18px}.ml-sch-fixed-foot{position:relative;margin:0!important;padding:10px 18px;background:#11191d;border-top:1px solid #3d484e;z-index:2}
.ml-sch-topic-row{display:block;color:#b8c0c4;margin-bottom:12px}.ml-sch-topic-wrap{position:relative;display:flex;width:100%;min-width:0;border:1px solid #50606a;border-radius:7px;overflow:hidden}.ml-sch-topic{flex:1 1 auto;min-width:0;width:auto;box-sizing:border-box;border:0;padding:9px 10px;font:inherit;font-size:24px;background:transparent;color:#fff}.ml-topic-delta{position:relative;flex:0 0 44px;border:0;background:transparent;color:#fff;font-size:25px;font-weight:900;line-height:1;width:44px;min-width:44px;height:auto;border-radius:0}.ml-topic-delta:hover{background:rgba(255,255,255,.16)}
.ml-sch-row{display:grid;gap:10px 14px;align-items:end;margin-bottom:12px}.ml-sch-row label{display:grid;gap:4px;color:#b8c0c4;font-size:13px}.ml-sch-row input,.ml-sch-row select,.ml-category-combo select{box-sizing:border-box;width:100%;background:#091014;color:#fff;border:1px solid #50606a;border-radius:6px;padding:8px;font:inherit}.ml-sch-type-row{grid-template-columns:1fr auto 1.5fr}.ml-sch-date-row{grid-template-columns:1.5fr 1fr 1fr}.ml-sch-travel-row{grid-template-columns:1.3fr 1fr 1fr}.ml-sch-repeat-row{grid-template-columns:1fr 1fr}.ml-sch-ade{display:flex!important;align-items:center;gap:6px;padding-bottom:8px}.ml-sch-ade input{width:auto!important}.ml-category-combo,.ml-picker-wrap{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:4px}.ml-manage-categories,.ml-field-picker{border:1px solid #50606a;border-radius:6px;background:#1d2a31;color:#8fd3ff;font-size:17px}.ml-travel-before-wrap>span,.ml-travel-after-wrap>span{display:flex;align-items:center;gap:5px}.ml-travel-before-wrap input,.ml-travel-after-wrap input{width:4.5em!important}.ml-travel-before-wrap.hidden,.ml-travel-after-wrap.hidden{visibility:hidden}
.ml-sch-alert{grid-template-columns:64px minmax(92px,1fr) minmax(84px,1fr) 34px 34px;gap:6px}.ml-sch-alert .ml-alert-amount{min-width:3.8em;width:100%}.ml-alert-status{width:16px!important;height:16px!important;border-radius:50%!important;justify-self:center;padding:0!important}.ml-alert-status.pending{background:#e0b323!important;box-shadow:0 0 5px rgba(224,179,35,.5)}.ml-alert-status.scheduled{background:#39b54a!important;box-shadow:0 0 5px rgba(57,181,74,.6)}.ml-alert-status.failed{background:#e13232!important;box-shadow:0 0 5px rgba(225,50,50,.6)}.ml-sch-alert small{grid-column:1/-1;color:#8ea0a9;text-align:right;font-size:11px}
.ml-schedule-palette-dialog,.ml-category-dialog{width:min(520px,94vw);max-height:88dvh;border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff;padding:0;box-shadow:0 16px 50px rgba(0,0,0,.72)}.ml-schedule-palette-dialog::backdrop,.ml-category-dialog::backdrop{background:rgba(0,0,0,.72)}.ml-schedule-palette-dialog form,.ml-category-dialog form{padding:0 18px 18px}.ml-schedule-palette{display:grid;grid-template-columns:repeat(3,minmax(54px,1fr));gap:10px;padding:8px 0 18px}.ml-palette-swatch{width:100%;height:56px;border:3px solid transparent;border-radius:8px}.ml-palette-swatch.selected{border-color:#fff;box-shadow:0 0 0 1px #000}.ml-palette-actions{display:flex;justify-content:space-between;gap:10px}.ml-palette-actions button{border:0;border-radius:7px;background:#4b545a;color:#fff;padding:9px 15px}.ml-palette-clear{background:#242b2f!important}
.ml-category-list{display:grid;gap:7px;max-height:55dvh;overflow-y:auto}.ml-category-row{display:grid;grid-template-columns:32px 32px minmax(120px,1.4fr) minmax(100px,1fr) auto;gap:6px;align-items:center}.ml-category-row input,.ml-category-row select{min-width:0;background:#091014;color:#fff;border:1px solid #50606a;border-radius:5px;padding:7px}.ml-category-row button,.ml-category-actions button{border:0;border-radius:5px;background:#39464d;color:#fff;padding:7px}.ml-category-row .ml-cat-delete{background:#6d2b2b}.ml-cat-protected{font-size:11px;color:#8c989e}.ml-cat-warning{grid-column:1/4;color:#f0c45a;font-size:12px}.ml-category-actions{display:flex;justify-content:space-between;margin-top:14px}.ml-category-actions .ml-category-save{background:#315e36}
@media(max-width:620px){.ml-sch-type-row{grid-template-columns:1fr auto}.ml-sch-type-row label:last-child{grid-column:1/-1}.ml-sch-date-row{grid-template-columns:1.3fr 1fr 1fr;gap:6px}.ml-sch-date-row label{font-size:11px}.ml-sch-date-row input{padding:7px 3px}.ml-sch-travel-row{grid-template-columns:1fr 1fr 1fr;gap:6px}.ml-sch-repeat-row{grid-template-columns:1fr 1fr}.ml-category-row{grid-template-columns:30px 30px 1fr}.ml-category-row .ml-cat-color{grid-column:3}.ml-category-row .ml-cat-delete,.ml-cat-protected{grid-column:3;justify-self:end}.ml-sch-alert{grid-template-columns:54px minmax(78px,1fr) minmax(72px,1fr) 28px 30px;gap:4px}}
.ml-sch-color-clear{background:#000!important;color:#fff!important}
.ml-sch-color-navy{background:#002060!important}.ml-sch-color-tan{background:#e0c0a0!important;color:#000!important}.ml-sch-color-light_blue{background:#80a0e0!important;color:#000!important}.ml-sch-color-cyan{background:#80c0e0!important;color:#000!important}.ml-sch-color-burnt_orange{background:#a04000!important}.ml-sch-color-gold{background:#c0a060!important;color:#000!important}
body.mindlife-app-page .ml-content:has(.ml-schedule){height:calc(100dvh - 132px)!important;min-height:0!important;max-height:calc(100dvh - 132px)!important;overflow-y:auto!important}

/* MindLife v0.1.62 Schedule cleanup */
.ml-schedule-item-dialog .ml-sch-form{height:min(90dvh,780px);grid-template-rows:auto minmax(0,1fr)!important}
.ml-sch-fixed-foot{display:none!important}
.ml-sch-fixed-head{grid-template-columns:48px 1fr 48px!important}
.ml-sch-fixed-head h3{text-align:center}
.ml-sch-head-close,.ml-sch-head-save,.ml-palette-close{width:38px!important;height:38px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:30px!important;line-height:1!important;padding:0!important}
.ml-sch-head-close,.ml-palette-close{background:#fff!important;color:#596168!important}
.ml-sch-head-save{justify-self:end!important;background:#fff!important;color:#24b52f!important;font-size:27px!important;font-weight:900!important}
.ml-sch-head-close:active,.ml-sch-head-save:active,.ml-palette-close:active{transform:none!important}
.ml-topic-delta{top:50%!important;right:5px!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important}
.ml-topic-delta:active,.ml-topic-delta:focus{top:50%!important;transform:translateY(-50%)!important}
.ml-sch-type-row{grid-template-columns:92px minmax(0,1fr)!important;align-items:end!important}
.ml-sch-type-label select{width:82px!important}.ml-sch-category-label{min-width:0}
.ml-sch-ade{margin:-2px 0 12px 0!important;color:#b8c0c4}
.ml-sch-date-row{grid-template-columns:minmax(190px,1.35fr) minmax(145px,1fr) minmax(145px,1fr)!important}
.ml-sch-date-row .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 36px!important}
.ml-sch-date-row input{min-width:0!important;width:100%!important;padding:8px 4px 8px 8px!important;font-size:15px!important;line-height:22px!important}
.ml-sch-date-row input[type="date"]{min-width:150px!important}.ml-sch-date-row input[type="time"]{min-width:104px!important}
.ml-sch-travel-row{grid-template-columns:minmax(130px,1.2fr) minmax(112px,.9fr) minmax(112px,.9fr)!important;column-gap:16px!important}
.ml-travel-before-wrap{padding-left:8px}
.ml-travel-before-wrap input,.ml-travel-after-wrap input{width:5.8em!important;min-width:5.8em!important;padding:8px 10px!important;text-align:right!important}
.ml-sch-alert{grid-template-columns:82px minmax(108px,1fr) minmax(94px,1fr) 38px 38px!important;gap:7px!important}
.ml-sch-alert .ml-alert-amount{width:82px!important;min-width:82px!important;padding:7px 10px!important;text-align:right!important;box-sizing:border-box!important}
.ml-alert-status{cursor:pointer!important}
.ml-alert-status-dialog{width:min(420px,92vw);border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff;padding:0;box-shadow:0 16px 50px rgba(0,0,0,.72)}
.ml-alert-status-dialog::backdrop{background:rgba(0,0,0,.72)}.ml-alert-status-dialog form{padding:0 18px 18px}
.ml-alert-status-copy{padding:10px 4px 16px;font-size:16px}.ml-alert-status-copy strong{display:inline-block;margin-bottom:5px}
.ml-alert-state-scheduled{color:#58d66a}.ml-alert-state-pending{color:#f0c34e}.ml-alert-state-failed{color:#ff5d5d}
.ml-schedule-palette-dialog{width:min(560px,94vw)!important}
.ml-schedule-palette{grid-template-columns:repeat(4,minmax(58px,1fr))!important;gap:10px!important;padding:10px 0 18px!important}
.ml-palette-swatch{display:block!important;min-width:58px!important;height:58px!important;border-radius:9px!important;border:3px solid rgba(255,255,255,.15)!important}
.ml-palette-swatch.selected{border-color:#fff!important;box-shadow:0 0 0 2px #000!important}.ml-palette-actions{justify-content:flex-start!important}.ml-palette-clear{min-width:90px!important}
.ml-category-list{gap:10px!important}
.ml-category-row{grid-template-columns:38px 38px minmax(160px,1fr) minmax(140px,.85fr) 78px!important;gap:8px!important;align-items:center!important;padding:7px!important;border:1px solid #35434a;border-radius:7px;background:#0b1216}
.ml-category-row>*{min-width:0!important;box-sizing:border-box!important}.ml-category-row .ml-cat-up,.ml-category-row .ml-cat-down{width:38px;height:36px;padding:0!important}.ml-category-row .ml-cat-delete{width:78px}
.ml-cat-warning{grid-column:1/-1!important}.ml-cat-reassign{grid-column:1/4!important}.ml-cat-delete-confirm{grid-column:4!important}.ml-cat-delete-cancel{grid-column:5!important}
.ml-sch-task-box{right:6px!important;bottom:5px!important;top:auto!important;transform:none!important}
body.mindlife-app-page .ml-content:not(:has(.ml-design)):not(:has(.ml-schedule)){overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:calc(100dvh - 132px)!important}
@media(max-width:620px){
 .ml-sch-type-row{grid-template-columns:88px minmax(0,1fr)!important}
 .ml-sch-date-row{grid-template-columns:1fr!important}.ml-sch-date-row input[type="date"],.ml-sch-date-row input[type="time"]{min-width:0!important}
 .ml-sch-travel-row{grid-template-columns:1fr 1fr!important}.ml-sch-travel-row>label:first-child{grid-column:1/-1}
 .ml-sch-alert{grid-template-columns:76px minmax(90px,1fr) minmax(84px,1fr) 32px 32px!important}.ml-sch-alert .ml-alert-amount{width:76px!important;min-width:76px!important}
 .ml-category-row{grid-template-columns:36px 36px minmax(0,1fr)!important}.ml-category-row .ml-cat-color{grid-column:3!important}.ml-category-row .ml-cat-delete,.ml-cat-protected{grid-column:3!important;justify-self:end}
 .ml-schedule-palette{grid-template-columns:repeat(4,minmax(50px,1fr))!important}
}


/* MindLife v0.1.62 Schedule cleanup: compact rows restored */
.ml-schedule-mode .ml-context-header{
  grid-template-columns:46px minmax(0,1fr)!important;
  position:sticky!important;top:0!important;z-index:30!important;
}
.ml-schedule-mode .ml-heading{min-width:0!important;width:100%!important}
.ml-sch-persistent-nav{
  display:grid;grid-template-columns:38px minmax(0,1fr) 38px 42px;align-items:center;gap:4px;width:100%;
}
.ml-sch-persistent-nav button{background:transparent;border:0;color:#fff;min-width:0;height:38px;padding:0 4px}
.ml-sch-date-head{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-sch-prev-head,.ml-sch-next-head{font-size:28px;line-height:1}.ml-sch-settings-head{font-size:20px}
.ml-schedule-nav{display:none!important}

.ml-sch-type-row{
  display:grid!important;grid-template-columns:94px minmax(180px,1fr) auto!important;
  gap:10px!important;align-items:end!important
}
.ml-sch-type-label{min-width:0!important}.ml-sch-type-label select{width:86px!important;min-width:86px!important}
.ml-sch-category-label{min-width:0!important}.ml-category-combo{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important}
.ml-sch-ade{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;margin:0 0 7px!important;padding:0!important}

.ml-sch-date-row{
  display:grid!important;grid-template-columns:minmax(190px,1.28fr) minmax(145px,.9fr) minmax(145px,.9fr)!important;
  gap:10px!important;align-items:end!important
}
.ml-sch-date-row label{min-width:0!important}
.ml-sch-date-row .ml-picker-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;min-width:0!important}
.ml-sch-date-row input{box-sizing:border-box!important;min-width:0!important;width:100%!important;padding:7px 5px 7px 8px!important}
.ml-sch-date-row input[type=date]{min-width:0!important}.ml-sch-date-row input[type=time]{min-width:0!important}

.ml-sch-travel-row{
  display:grid!important;grid-template-columns:minmax(145px,1.25fr) minmax(132px,.92fr) minmax(132px,.92fr)!important;
  gap:14px!important;align-items:end!important
}
.ml-sch-travel-row label{min-width:0!important}.ml-travel-before-wrap{padding-left:10px!important}
.ml-travel-before-wrap span,.ml-travel-after-wrap span{display:flex!important;align-items:center!important;gap:5px!important}
.ml-travel-before-wrap input,.ml-travel-after-wrap input{width:74px!important;min-width:74px!important;box-sizing:border-box!important;padding:7px 8px!important}

.ml-sch-repeat-row{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(190px,1fr)!important;gap:10px!important}
.ml-sch-repeat-row .ml-picker-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important}

.ml-schedule-palette-dialog{width:min(620px,96vw)!important;max-height:92dvh!important;overflow:visible!important}
.ml-schedule-palette-dialog form{overflow:visible!important}
.ml-schedule-palette{display:grid!important;grid-template-columns:repeat(5,minmax(58px,1fr))!important;gap:10px!important;padding:12px 0 16px!important;overflow:visible!important}
.ml-palette-swatch{height:58px!important;min-width:58px!important}

.ml-category-row{
  display:grid!important;grid-template-columns:34px 34px minmax(150px,1.4fr) minmax(125px,1fr) 76px!important;
  gap:7px!important;align-items:center!important
}
.ml-category-row .ml-cat-name,.ml-category-row .ml-cat-color{width:100%!important;min-width:0!important}
.ml-category-row .ml-cat-up,.ml-category-row .ml-cat-down{width:34px!important;height:34px!important}
.ml-category-row .ml-cat-delete{width:76px!important}

.ml-time-picker-dialog{width:min(330px,90vw);height:min(560px,82dvh);border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff;padding:0;box-shadow:0 16px 50px rgba(0,0,0,.72)}
.ml-time-picker-dialog::backdrop{background:rgba(0,0,0,.72)}
.ml-time-picker-dialog form{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}
.ml-time-picker-list{overflow-y:auto;padding:6px 12px 16px;-webkit-overflow-scrolling:touch}
.ml-time-choice{display:block;width:100%;height:38px;border:0;border-bottom:1px solid #263238;background:#10181c;color:#fff;text-align:center}
.ml-time-choice.selected{font-weight:800;outline:1px solid #77858d;background:#263238}

.ml-schedule-row{position:relative}
.ml-schedule-cell{overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;gap:5px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ml-schedule-cell::-webkit-scrollbar{display:none}
.ml-sch-overflow-rail{display:none;position:absolute;left:92px;right:5px;bottom:0;height:5px;align-items:center;pointer-events:none}
.ml-sch-overflow-rail.show{display:flex}.ml-sch-overflow-rail span{height:1px;background:#68757b;flex:1}.ml-sch-overflow-rail b{font-size:12px;line-height:5px;margin-left:2px;color:#aeb8bd}
.ml-sch-overflow-rail.at-end b{opacity:0}
.ml-schedule-event.completed{opacity:.48}
.ml-derived-travel .ml-sch-task-box{display:none!important}

@media(max-width:620px){
  .ml-sch-type-row{grid-template-columns:82px minmax(0,1fr) auto!important;gap:6px!important}
  .ml-sch-type-label select{width:78px!important;min-width:78px!important}
  .ml-sch-date-row{grid-template-columns:minmax(145px,1.2fr) minmax(110px,.9fr) minmax(110px,.9fr)!important;gap:5px!important}
  .ml-sch-date-row .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 29px!important}
  .ml-sch-date-row input{font-size:13px!important;padding-left:5px!important}
  .ml-sch-travel-row{grid-template-columns:minmax(125px,1.15fr) minmax(110px,.9fr) minmax(110px,.9fr)!important;gap:7px!important}
  .ml-travel-before-wrap{padding-left:5px!important}
  .ml-travel-before-wrap input,.ml-travel-after-wrap input{width:68px!important;min-width:68px!important}
  .ml-category-row{grid-template-columns:32px 32px minmax(0,1.4fr) minmax(90px,1fr) 66px!important;gap:4px!important}
  .ml-category-row .ml-cat-up,.ml-category-row .ml-cat-down{width:32px!important}
  .ml-category-row .ml-cat-delete{width:66px!important;font-size:12px!important}
  .ml-schedule-palette{grid-template-columns:repeat(5,minmax(44px,1fr))!important;gap:7px!important}
  .ml-palette-swatch{min-width:44px!important;height:48px!important}
}


/* MindLife v0.1.62 focused Schedule cleanup */

/* Persistent Schedule bar: remove competing controls completely and make room for date navigation. */
.ml-schedule-mode .ml-view-label,
.ml-schedule-mode .ml-search,
.ml-schedule-mode .ml-add,
.ml-schedule-mode .ml-menu{display:none!important}
.ml-schedule-mode .ml-context-header{
  grid-template-columns:46px minmax(0,1fr)!important;
  column-gap:4px!important
}
.ml-schedule-mode .ml-heading{width:100%!important;min-width:0!important;max-width:none!important}
.ml-sch-persistent-nav{
  display:grid!important;
  grid-template-columns:36px 36px minmax(205px,1fr) 36px 36px 42px!important;
  align-items:center!important;gap:2px!important;width:100%!important
}
.ml-sch-persistent-nav button{min-width:0!important}
.ml-sch-prev-week-head,.ml-sch-next-week-head,.ml-sch-prev-head,.ml-sch-next-head{
  font-size:25px!important;font-weight:700!important;line-height:1!important
}
.ml-sch-date-head{
  font-size:17px!important;font-weight:800!important;letter-spacing:.1px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}

/* Keep Type + Category + ADE on one line. */
.ml-sch-type-row{
  display:grid!important;
  grid-template-columns:88px minmax(180px,1fr) 68px!important;
  gap:8px!important;align-items:end!important
}
.ml-sch-type-label{min-width:0!important}
.ml-sch-type-label select{width:82px!important;min-width:82px!important}
.ml-sch-category-label{min-width:0!important}
.ml-sch-ade{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:5px!important;white-space:nowrap!important;margin:0 0 7px 0!important;padding:0!important
}

/* Travel must stay compact enough for one row. */
.ml-sch-travel-row{
  display:grid!important;
  grid-template-columns:minmax(118px,.95fr) minmax(112px,.82fr) minmax(112px,.82fr)!important;
  gap:8px!important;align-items:end!important
}
.ml-sch-travel-mode{min-width:0!important;width:100%!important}
.ml-travel-before-wrap{padding-left:5px!important}
.ml-travel-before-wrap,.ml-travel-after-wrap{min-width:0!important}
.ml-travel-before-wrap span,.ml-travel-after-wrap span{
  display:flex!important;align-items:center!important;gap:4px!important
}
.ml-travel-before-wrap input,.ml-travel-after-wrap input{
  width:66px!important;min-width:66px!important;padding:7px 7px!important
}

/* Palette dialog should hug the swatch grid instead of leaving oversized empty space. */
.ml-schedule-palette-dialog{
  width:max-content!important;
  max-width:94vw!important;
  min-width:0!important;
  padding:0!important
}
.ml-schedule-palette-dialog form{
  width:max-content!important;
  max-width:94vw!important;
  min-width:0!important;
  padding:0 14px 14px!important
}
.ml-schedule-palette-dialog .ml-schedule-dialog-head{
  margin:0 -14px 8px!important
}
.ml-schedule-palette{
  width:max-content!important;
  max-width:calc(94vw - 28px)!important;
  grid-template-columns:repeat(5,58px)!important;
  gap:10px!important;
  justify-content:center!important
}
.ml-palette-swatch{width:58px!important;min-width:58px!important;height:58px!important}

@media(max-width:620px){
  .ml-sch-persistent-nav{
    grid-template-columns:31px 31px minmax(155px,1fr) 31px 31px 36px!important;
    gap:1px!important
  }
  .ml-sch-date-head{font-size:15px!important}
  .ml-sch-prev-week-head,.ml-sch-next-week-head,.ml-sch-prev-head,.ml-sch-next-head{font-size:22px!important}
  .ml-sch-type-row{grid-template-columns:78px minmax(0,1fr) 62px!important;gap:5px!important}
  .ml-sch-type-label select{width:74px!important;min-width:74px!important}
  .ml-sch-travel-row{
    grid-template-columns:minmax(104px,.9fr) minmax(102px,.82fr) minmax(102px,.82fr)!important;
    gap:5px!important
  }
  .ml-travel-before-wrap{padding-left:3px!important}
  .ml-travel-before-wrap input,.ml-travel-after-wrap input{width:62px!important;min-width:62px!important}
  .ml-schedule-palette{grid-template-columns:repeat(5,48px)!important;gap:7px!important}
  .ml-palette-swatch{width:48px!important;min-width:48px!important;height:48px!important}
}


/* MindLife v0.1.62 Schedule behavior + geometry */

.ml-schedule-mode .ml-context-header:hover,
.ml-schedule-mode .ml-context-header:focus-within{
  background:#050708!important;
  box-shadow:none!important;
}
.ml-schedule-mode .ml-heading:hover,
.ml-schedule-mode .ml-heading:focus,
.ml-schedule-mode .ml-sch-persistent-nav:hover{
  background:transparent!important;
}
.ml-sch-date-head{
  font-size:20px!important;
  font-weight:800!important;
  letter-spacing:.15px!important;
}
.ml-sch-double{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important}
.ml-sch-double span{display:inline-block;margin:0 -2px!important}

.ml-schedule-subnav{
  display:grid!important;
  grid-template-columns:auto auto minmax(150px,1fr)!important;
  gap:8px!important;
  align-items:center!important
}
.ml-ade-button{min-width:58px!important}

/* Editor Type + Category can now use the full row. */
.ml-sch-type-row{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:end!important
}

/* Proportional day layout */
.ml-schedule-grid{
  position:relative!important;
}
.ml-schedule-row{
  /* Row height is supplied inline from the selected D02 increment.
     Do not hard-code a 30-minute row here. */
  box-sizing:border-box!important;
}
.ml-schedule-cell{
  overflow:visible!important;
  position:relative!important;
}
.ml-schedule-event-layer{
  position:absolute!important;
  top:0!important;
  left:86px!important;
  right:0!important;
  bottom:0!important;
  pointer-events:none!important;
  z-index:4!important;
}
.ml-schedule-event-wrap{
  position:absolute!important;
  padding:2px 3px!important;
  box-sizing:border-box!important;
  pointer-events:auto!important;
}
.ml-schedule-event-wrap .ml-schedule-event{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  text-align:left!important;
}
.ml-schedule-event-wrap .ml-schedule-event strong,
.ml-schedule-event-wrap .ml-schedule-event small{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media(max-width:620px){
  .ml-sch-date-head{font-size:17px!important}
  .ml-schedule-subnav{grid-template-columns:auto auto minmax(120px,1fr)!important;gap:5px!important}
  .ml-schedule-event-layer{left:78px!important}
}


/* MindLife v0.1.62 regression repairs */

/* Old right-side context-menu hover layer must never exist in Schedule mode. */
.ml-schedule-mode .ml-context-header:hover::after,
.ml-schedule-mode .ml-context-header:focus-within::after,
.ml-schedule-mode .ml-context-header.ml-context-tools-visible::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
}
.ml-schedule-mode .ml-view-label,
.ml-schedule-mode .ml-search,
.ml-schedule-mode .ml-add,
.ml-schedule-mode .ml-menu{
  display:none!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Dev marker: visible whenever owner/admin Dev Mode is actually on. */
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-version{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  z-index:12!important;
  color:#e2e2e2!important;
}
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-version .ml-dev-level{
  display:block!important;
  color:#c8c8c8!important;
}

/* ADE restored to editor row. */
.ml-sch-type-row{
  display:grid!important;
  grid-template-columns:88px minmax(180px,1fr) 68px!important;
  gap:8px!important;
  align-items:end!important;
}
.ml-sch-ade{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  white-space:nowrap!important;
  margin:0 0 7px 0!important;
  padding:0!important;
}
.ml-sch-ade input{width:auto!important}

/* Schedule subnav is back to View + Google Intake only. */
.ml-schedule-subnav{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:10px!important;
}

/* Exact-duration layer. Full width unless events truly overlap. */
.ml-schedule-grid{position:relative!important;overflow:visible!important}
.ml-schedule-row{box-sizing:border-box!important}
.ml-schedule-event-layer{
  position:absolute!important;
  top:0!important;
  left:76px!important;
  right:0!important;
  bottom:0!important;
  z-index:4!important;
  pointer-events:none!important;
}
.ml-schedule-event-wrap{
  position:absolute!important;
  box-sizing:border-box!important;
  padding:2px 4px!important;
  pointer-events:auto!important;
  min-width:0!important;
}
.ml-schedule-event-wrap .ml-schedule-event{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ml-schedule-event-wrap .ml-derived-travel{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* Dedicated MindLife Date picker */
.ml-date-picker-dialog{
  width:min(360px,90vw);
  border:1px solid #59666d;
  border-radius:12px;
  background:#11191d;
  color:#fff;
  padding:0;
  box-shadow:0 16px 50px rgba(0,0,0,.72);
}
.ml-date-picker-dialog::backdrop{background:rgba(0,0,0,.72)}
.ml-date-picker-dialog form{padding:0 16px 16px}
.ml-date-picker-dialog .ml-schedule-dialog-head{margin:0 -16px 14px}
.ml-date-picker-body{padding:8px 2px 4px}
.ml-date-picker-input{
  box-sizing:border-box;
  width:100%;
  background:#091014;
  color:#fff;
  border:1px solid #50606a;
  border-radius:7px;
  padding:10px;
  font:inherit;
}
.ml-date-picker-set{color:#4cae16!important;font-weight:900!important}

/* Keep main date strong and readable. */
.ml-sch-date-head{font-size:21px!important}

@media(max-width:620px){
  .ml-sch-type-row{grid-template-columns:78px minmax(0,1fr) 62px!important;gap:5px!important}
  .ml-schedule-event-layer{left:76px!important}
  .ml-sch-date-head{font-size:18px!important}
}


/* MindLife v0.1.62 Schedule stabilization */

/* Center the entire date-navigation cluster and keep arrows close to the Date. */
.ml-schedule-mode .ml-heading{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
}
.ml-sch-persistent-nav{
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  margin:0 auto!important;
}
.ml-sch-persistent-nav button{
  flex:0 0 auto!important;
}
.ml-sch-date-head{
  min-width:220px!important;
  width:auto!important;
  padding:0 8px!important;
  text-align:center!important;
}
.ml-sch-prev-week-head,.ml-sch-next-week-head{width:34px!important}
.ml-sch-prev-head,.ml-sch-next-head{width:28px!important}
.ml-sch-settings-head{width:36px!important;margin-left:2px!important}

/* Travel is deliberately simple in 1.40: exact start position, compact fixed-height block. */
.ml-travel-wrap{
  height:34px!important;
  min-height:34px!important;
  left:0!important;
  width:100%!important;
  z-index:6!important;
}
.ml-travel-wrap .ml-derived-travel{
  height:30px!important;
  min-height:30px!important;
  width:100%!important;
  max-width:none!important;
  font-style:italic!important;
}
.ml-derived-travel .ml-sch-task-box{
  display:block!important;
}

/* Completion treatment */
.ml-schedule-event.completed{
  opacity:.58!important;
}
.ml-schedule-event.completed .ml-sch-task-box{
  opacity:1!important;
}

/* Remove all remnants of the experimental double-click cursor timing. */
.ml-schedule-event{touch-action:manipulation!important}

@media(max-width:620px){
  .ml-sch-persistent-nav{gap:1px!important}
  .ml-sch-date-head{min-width:160px!important;padding:0 4px!important}
  .ml-sch-prev-week-head,.ml-sch-next-week-head{width:29px!important}
  .ml-sch-prev-head,.ml-sch-next-head{width:25px!important}
  .ml-sch-settings-head{width:32px!important}
}


/* MindLife v0.1.62 — Schedule stabilization only */

/* Header: one centered compact navigation cluster. Nothing on hover may paint over it. */
.ml-schedule-mode .ml-context-header{
  position:sticky!important;
  top:0!important;
  height:72px!important;
  z-index:30!important;
  background:#050505!important;
  display:block!important;
}
.ml-schedule-mode .ml-context-header::after,
.ml-schedule-mode .ml-context-header:hover::after,
.ml-schedule-mode .ml-context-header:focus-within::after,
.ml-schedule-mode .ml-context-header.ml-context-tools-visible::after{
  content:none!important;
  display:none!important;
}
.ml-schedule-mode .ml-view-label,
.ml-schedule-mode .ml-search,
.ml-schedule-mode .ml-add,
.ml-schedule-mode .ml-menu{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.ml-schedule-mode .ml-return{
  position:absolute!important;
  left:8px!important;
  top:11px!important;
  z-index:5!important;
}
.ml-schedule-mode .ml-heading{
  position:absolute!important;
  left:64px!important;
  right:8px!important;
  top:0!important;
  height:72px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  background:transparent!important;
}
.ml-sch-persistent-nav{
  width:auto!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  margin:0 auto!important;
  background:transparent!important;
}
.ml-sch-persistent-nav button{
  flex:0 0 auto!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  height:42px!important;
  min-width:0!important;
  padding:0 3px!important;
  box-shadow:none!important;
  outline-offset:0!important;
}
.ml-sch-prev-week-head,.ml-sch-next-week-head{width:34px!important}
.ml-sch-prev-head,.ml-sch-next-head{width:28px!important}
.ml-sch-date-head{
  width:auto!important;
  min-width:215px!important;
  max-width:280px!important;
  padding:0 7px!important;
  text-align:center!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.ml-sch-settings-head{width:35px!important;margin-left:1px!important}

/* Appointment geometry: only actual Events/Tasks live in the absolute time layer. */
.ml-schedule-grid{position:relative!important;overflow:visible!important}
.ml-schedule-event-layer{
  position:absolute!important;
  top:0!important;
  left:76px!important;
  right:0!important;
  bottom:0!important;
  z-index:4!important;
  pointer-events:none!important;
}
.ml-schedule-event-wrap{
  position:absolute!important;
  box-sizing:border-box!important;
  padding:2px 4px!important;
  pointer-events:auto!important;
  min-width:0!important;
  z-index:4!important;
}
.ml-schedule-event-wrap .ml-schedule-event{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Travel: ordinary row content only. No absolute-position math; cannot cover appointments. */
.ml-schedule-cell{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  z-index:2!important;
}
.ml-schedule-cell .ml-derived-travel{
  position:relative!important;
  flex:0 0 min(310px,92%)!important;
  width:auto!important;
  min-width:180px!important;
  max-width:310px!important;
  height:34px!important;
  min-height:34px!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
  font-style:italic!important;
  z-index:2!important;
}
.ml-derived-travel .ml-sch-task-box{
  display:block!important;
}

/* Give clickable Schedule blocks a reliable hit surface. */
.ml-schedule-event{
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}

/* Dev marker remains visible for owner/admin when Dev Mode is on. */
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-version{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  visibility:visible!important;
  opacity:1!important;
}
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-dev-level{
  display:block!important;
}

@media(max-width:620px){
  .ml-schedule-mode .ml-heading{left:58px!important;right:3px!important}
  .ml-sch-persistent-nav{gap:0!important}
  .ml-sch-prev-week-head,.ml-sch-next-week-head{width:29px!important}
  .ml-sch-prev-head,.ml-sch-next-head{width:24px!important}
  .ml-sch-date-head{min-width:155px!important;max-width:205px!important;font-size:18px!important;padding:0 3px!important}
  .ml-sch-settings-head{width:31px!important}
  .ml-schedule-event-layer{left:76px!important}
  .ml-schedule-cell .ml-derived-travel{flex-basis:min(270px,92%)!important;min-width:160px!important}
}

/* MindLife v0.1.62 — immediate Schedule Delete Event */
.ml-sch-delete-zone{margin-top:22px!important;padding-top:16px!important;border-top:1px solid #3b4246!important;display:flex!important;justify-content:flex-start!important}
.ml-sch-delete-event{border:1px solid #9f3030!important;background:#3a0d0d!important;color:#ffb2b2!important;border-radius:7px!important;padding:9px 14px!important;font-weight:800!important;cursor:pointer!important}
.ml-sch-delete-event:hover{background:#571313!important;color:#fff!important}
.ml-sch-delete-event:active{transform:translateY(1px)!important}


/* MindLife v0.1.62 — compact <=30-minute Schedule events */
.ml-schedule-event.ml-sch-compact{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
}
.ml-sch-compact-line{
  display:flex!important;
  align-items:baseline!important;
  min-width:0!important;
  max-width:calc(100% - 28px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ml-sch-compact-line strong{
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ml-sch-compact-line small{
  flex:0 0 auto!important;
  display:inline!important;
  margin-left:5px!important;
  font-size:.76em!important;
  line-height:1!important;
  font-weight:500!important;
  white-space:nowrap!important;
  opacity:.88!important;
}
.ml-sch-inline-dash{
  font-size:1em!important;
}

/* MindLife v0.1.62 — Schedule stabilization */
.ml-dev-screen-id{display:none;font-size:12px;line-height:1.15;font-weight:800;letter-spacing:.04em;color:#9fb0ba;margin-top:2px;text-align:right}
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-dev-screen-id{display:block!important}
.ml-schedule-item-dialog .ml-sch-delete-zone{display:flex!important;margin:24px 0 8px!important;padding:16px 0 0!important;border-top:1px solid #42484c!important}
.ml-schedule-item-dialog .ml-sch-delete-event{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #a63b3b!important;background:#431010!important;color:#ffc0c0!important;border-radius:8px!important;padding:10px 15px!important;min-height:40px!important;font-weight:800!important;cursor:pointer!important}
.ml-schedule-item-dialog .ml-sch-delete-event:hover{background:#641818!important;color:#fff!important}

/* v0.1.62 — Schedule Event Delete action */
.ml-schedule-item-dialog .ml-sch-delete-zone{
  display:flex!important;
  width:100%!important;
  justify-content:flex-end!important;
  align-items:center!important;
  box-sizing:border-box!important;
  margin:24px 0 8px!important;
  padding:16px 0 0!important;
  border-top:1px solid #42484c!important;
}
.ml-schedule-item-dialog .ml-sch-delete-event{
  margin-left:auto!important;
  min-width:132px!important;
}

/* v0.1.62 — persistent Dev errors */
.ml-error-toast{
  position:fixed!important;
  top:max(10px, env(safe-area-inset-top))!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(680px,calc(100vw - 24px))!important;
  box-sizing:border-box!important;
  z-index:1000000!important;
  padding:14px 44px 14px 14px!important;
  margin:0!important;
  box-shadow:0 8px 28px rgba(0,0,0,.65)!important;
}
.ml-error-toast .ml-error-close{
  position:absolute!important;
  top:5px!important;
  right:7px!important;
  width:30px!important;
  height:30px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:30px!important;
  cursor:pointer!important;
}

/* v0.1.62 — Schedule Event lock/delete action row */
.ml-schedule-item-dialog .ml-sch-delete-zone{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  width:auto!important;
  margin:24px 18px 8px 18px!important;
  padding:16px 0 0!important;
  box-sizing:border-box!important;
}
.ml-schedule-item-dialog .ml-sch-lock-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  padding:0!important;
  border:1px solid #59646a!important;
  border-radius:8px!important;
  background:#171b1e!important;
  color:#dce5e9!important;
  font-size:18px!important;
  cursor:pointer!important;
}
.ml-schedule-item-dialog .ml-sch-lock-toggle[data-locked="1"]{
  border-color:#a74242!important;
  color:#ffc0c0!important;
}
.ml-schedule-item-dialog .ml-sch-delete-event{
  margin-left:0!important;
  margin-right:0!important;
  min-width:132px!important;
}
.ml-error-toast{
  z-index:2147483647!important;
}

/* v0.1.62 — Dev-only Schedule lock colors */
.ml-schedule-item-dialog .ml-sch-lock-toggle[hidden]{
  display:none!important;
}
.ml-schedule-item-dialog .ml-sch-lock-toggle[data-locked="0"]{
  border-color:#2f8f4e!important;
  color:#75e39a!important;
  background:#122019!important;
}
.ml-schedule-item-dialog .ml-sch-lock-toggle[data-locked="1"]{
  border-color:#b64141!important;
  color:#ff8b8b!important;
  background:#241414!important;
}

/* v0.1.62 — Task lock control is shown only for Schedule items whose Type is Task. */

/* v0.1.62 — independent Dev Schedule/Event and Task locks */
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:44px!important;
  min-width:44px!important;
  height:40px!important;
  padding:0 4px!important;
  border-radius:8px!important;
  font-size:16px!important;
  cursor:pointer!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[hidden],
.ml-schedule-item-dialog .ml-sch-task-lock[hidden]{display:none!important;}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="0"],
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="0"]{
  border:1px solid #2f8f4e!important;color:#75e39a!important;background:#122019!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="1"],
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="1"]{
  border:1px solid #b64141!important;color:#ff8b8b!important;background:#241414!important;
}
.ml-schedule-item-dialog .ml-lock-prefix{
  font-size:10px!important;font-weight:700!important;line-height:1!important;opacity:.9!important;
}
.ml-schedule-item-dialog .ml-lock-glyph{font-size:16px!important;line-height:1!important;}

/* v0.1.62 — Schedule polish */

/* Dev lock pair: simple original-style lock glyphs, side by side. */
.ml-schedule-item-dialog .ml-sch-lock-pair{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  padding:0!important;
  margin:0!important;
  border-radius:7px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:18px!important;
  font-weight:400!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[hidden],
.ml-schedule-item-dialog .ml-sch-task-lock[hidden]{display:none!important;}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="0"],
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="0"]{
  color:#52d273!important;
  border:1px solid #52d273!important;
  background:transparent!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="1"],
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="1"]{
  color:#d94b4b!important;
  border:1px solid #d94b4b!important;
  background:transparent!important;
}
.ml-schedule-item-dialog .ml-lock-glyph{font-size:18px!important;line-height:1!important;font-weight:400!important;}

/* S05 All Day Events: exactly one clean display line. */
.ml-sch-ade-one-line{
  min-height:30px!important;
  height:30px!important;
  padding:4px 10px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
.ml-sch-ade-one-line .ml-sch-ade-line{
  display:block!important;
  width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:400!important;
}

/* Short Travel uses the same <=30-minute compact presentation as other timed blocks. */
.ml-derived-travel.ml-sch-compact .ml-sch-compact-line{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  white-space:nowrap!important;
}
.ml-derived-travel.ml-sch-compact .ml-sch-compact-line strong{
  font-size:inherit!important;
  font-weight:400!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  min-width:0!important;
}
.ml-derived-travel.ml-sch-compact .ml-sch-compact-line small{
  flex:0 0 auto!important;
  font-size:.76em!important;
  font-weight:400!important;
  opacity:.82!important;
  white-space:nowrap!important;
}


/* MindLife v0.1.62 — focused Schedule polish */

/* 1. S05 ADE spans to the same right edge as the timed block area. */
.ml-schedule-mode .ml-ade{
  grid-template-columns:76px minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
  align-items:stretch!important;
}
.ml-schedule-mode .ml-ade>strong{
  display:flex!important;
  align-items:center!important;
  padding:0 8px!important;
  min-height:30px!important;
}
.ml-schedule-mode .ml-ade>div{
  width:100%!important;
  min-width:0!important;
  display:block!important;
  padding:3px 4px!important;
  box-sizing:border-box!important;
}
.ml-schedule-mode .ml-ade>div>.ml-schedule-event{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* 2. Dev locks: simple E 🔓   T 🔓 presentation, no ugly boxed controls. */
.ml-schedule-item-dialog .ml-sch-lock-pair{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock{
  width:auto!important;
  min-width:0!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  cursor:pointer!important;
  font-weight:400!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[hidden],
.ml-schedule-item-dialog .ml-sch-task-lock[hidden]{display:none!important;}
.ml-schedule-item-dialog .ml-lock-label{
  color:#d9dde0!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1!important;
}
.ml-schedule-item-dialog .ml-lock-glyph{
  font-size:19px!important;
  line-height:1!important;
  font-weight:400!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="0"] .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="0"] .ml-lock-glyph{
  color:#55d978!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock[data-locked="1"] .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock[data-locked="1"] .ml-lock-glyph{
  color:#e14d4d!important;
}

/* Keep lock pair and Delete visually grouped but distinct. */
.ml-sch-delete-zone{
  align-items:center!important;
  gap:14px!important;
}

/* 3. Alert LED is white so it survives every semantic block color. */
.ml-sch-alert-led{
  background:#fff!important;
  box-shadow:0 0 5px rgba(255,255,255,.9)!important;
  border:1px solid rgba(0,0,0,.25)!important;
}

/* 4. Date is larger and truly centered beneath MindLife title, independent of nav controls. */
.ml-schedule-mode .ml-heading{
  left:0!important;
  right:0!important;
  width:100%!important;
  height:72px!important;
  pointer-events:none!important;
}
.ml-sch-persistent-nav{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  height:52px!important;
  display:block!important;
  margin:0!important;
  pointer-events:none!important;
}
.ml-sch-persistent-nav button{
  pointer-events:auto!important;
}
.ml-sch-date-head{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  min-width:260px!important;
  max-width:360px!important;
  height:48px!important;
  padding:0 8px!important;
  text-align:center!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:800!important;
}
.ml-sch-prev-week-head{
  position:absolute!important;left:calc(50% - 220px)!important;top:5px!important;width:34px!important;
}
.ml-sch-prev-head{
  position:absolute!important;left:calc(50% - 182px)!important;top:5px!important;width:28px!important;
}
.ml-sch-next-head{
  position:absolute!important;right:calc(50% - 182px)!important;top:5px!important;width:28px!important;
}
.ml-sch-next-week-head{
  position:absolute!important;right:calc(50% - 220px)!important;top:5px!important;width:34px!important;
}
.ml-sch-settings-head{
  position:absolute!important;right:calc(50% - 262px)!important;top:5px!important;width:35px!important;
}

/* 5. Three neutral greys added to semantic palette. */
.ml-sch-color-dark_grey{background:#34383c!important;color:#fff!important}
.ml-sch-color-medium_grey{background:#777d82!important;color:#fff!important}
.ml-sch-color-light_grey{background:#b9bec2!important;color:#000!important}

/* 6. Topic Color dialog: make the swatch grid participate in layout, never overlay controls. */
.ml-schedule-palette-dialog{
  width:min(620px,94vw)!important;
  max-width:94vw!important;
  max-height:90dvh!important;
  overflow:auto!important;
  padding:0!important;
}
.ml-schedule-palette-dialog form{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:0 18px 18px!important;
  overflow:visible!important;
}
.ml-schedule-palette-dialog .ml-schedule-dialog-head{
  margin:0 -18px 12px!important;
}
.ml-schedule-palette{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(54px,1fr))!important;
  gap:10px!important;
  justify-content:stretch!important;
  padding:8px 0 14px!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  z-index:auto!important;
}
.ml-palette-swatch{
  width:100%!important;
  min-width:0!important;
  height:54px!important;
  box-sizing:border-box!important;
}
.ml-palette-actions{
  position:static!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  margin-top:2px!important;
  padding:0!important;
  min-height:42px!important;
}
.ml-palette-clear{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:92px!important;
  min-height:38px!important;
  visibility:visible!important;
}

/* Mobile refinements for the centered date and palette. */
@media(max-width:620px){
  .ml-schedule-mode .ml-ade{grid-template-columns:68px minmax(0,1fr)!important}
  .ml-sch-date-head{
    min-width:210px!important;
    max-width:250px!important;
    font-size:21px!important;
  }
  .ml-sch-prev-week-head{left:8px!important}
  .ml-sch-prev-head{left:39px!important}
  .ml-sch-next-head{right:70px!important}
  .ml-sch-next-week-head{right:39px!important}
  .ml-sch-settings-head{right:5px!important}
  .ml-schedule-palette{
    grid-template-columns:repeat(3,minmax(54px,1fr))!important;
    gap:9px!important;
  }
  .ml-palette-swatch{height:50px!important}
}

/* v0.1.62 — compact S05 time rail */
.ml-schedule-time{
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
  font-size:12px!important;
  line-height:1!important;
  padding-left:3px!important;
  padding-right:3px!important;
}

/* v0.1.62 — S05 direct move / resize */
.ml-schedule-event-wrap{
  touch-action:none!important;
}
.ml-schedule-event:not(.ml-derived-travel):not(.ml-sch-ade-one-line){
  cursor:grab!important;
}
.ml-schedule-event-wrap.ml-sch-dragging .ml-schedule-event{
  cursor:grabbing!important;
  opacity:.88!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.8),0 5px 14px rgba(0,0,0,.45)!important;
}
.ml-schedule-event-wrap.ml-sch-resizing .ml-schedule-event{
  opacity:.9!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.8),0 5px 14px rgba(0,0,0,.45)!important;
}
.ml-sch-resize-handle{
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:0!important;
  height:8px!important;
  cursor:ns-resize!important;
  touch-action:none!important;
  z-index:8!important;
}
.ml-sch-resize-handle::after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  bottom:2px!important;
  width:28px!important;
  height:2px!important;
  transform:translateX(-50%)!important;
  border-radius:2px!important;
  background:rgba(255,255,255,.75)!important;
}
.ml-sch-drag-time{
  position:absolute!important;
  left:50%!important;
  top:-24px!important;
  transform:translateX(-50%)!important;
  z-index:50!important;
  white-space:nowrap!important;
  pointer-events:none!important;
  padding:3px 7px!important;
  border-radius:6px!important;
  background:#101214!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.35)!important;
  font-size:11px!important;
  font-weight:600!important;
  box-shadow:0 3px 10px rgba(0,0,0,.45)!important;
}
.ml-sch-drag-disabled .ml-schedule-event{
  cursor:default!important;
}
.ml-sch-drag-disabled .ml-sch-resize-handle{
  display:none!important;
}


/* MindLife v0.1.62 — Schedule architecture + D01 polish */

/* 1. S05 arrows: symmetrical, close to centered DATE, never anchored to viewport edges. */
.ml-sch-prev-head{
  left:auto!important;
  right:calc(50% + 166px)!important;
  top:5px!important;
  width:28px!important;
}
.ml-sch-prev-week-head{
  left:auto!important;
  right:calc(50% + 198px)!important;
  top:5px!important;
  width:34px!important;
}
.ml-sch-next-head{
  right:auto!important;
  left:calc(50% + 166px)!important;
  top:5px!important;
  width:28px!important;
}
.ml-sch-next-week-head{
  right:auto!important;
  left:calc(50% + 198px)!important;
  top:5px!important;
  width:34px!important;
}
.ml-sch-settings-head{
  right:auto!important;
  left:calc(50% + 238px)!important;
  top:5px!important;
  width:35px!important;
}

/* 2. D01 uses the exact MindLife To Do/Design lock construction. */
.ml-schedule-item-dialog .ml-sch-lock-pair{
  display:inline-flex!important;
  align-items:center!important;
  gap:12px!important;
}
.ml-schedule-item-dialog .ml-sch-lock-unit{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  min-height:40px!important;
}
.ml-schedule-item-dialog .ml-sch-lock-unit:has(.ml-sch-task-lock[hidden]){
  display:none!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock{
  position:relative!important;
  width:34px!important;
  height:38px!important;
  min-width:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{
  position:absolute!important;
  left:8px!important;
  bottom:2px!important;
  width:22px!important;
  height:20px!important;
  border-radius:4px!important;
  background:#14d61e!important;
  font-size:0!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{
  content:""!important;
  position:absolute!important;
  left:5px!important;
  top:-16px!important;
  width:12px!important;
  height:19px!important;
  border:4px solid #14d61e!important;
  border-bottom:0!important;
  border-radius:10px 10px 0 0!important;
  box-sizing:border-box!important;
  transform:translateX(5px)!important;
  border-right-color:transparent!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph{
  background:#f01919!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:before{
  border-color:#f01919!important;
  transform:none!important;
}
.ml-schedule-item-dialog .ml-lock-label{
  color:#d9dde0!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:400!important;
}

/* 3. Force Type + Category + ADE onto one row. */
.ml-schedule-item-dialog .ml-sch-type-row{
  display:grid!important;
  grid-template-columns:minmax(76px,.72fr) minmax(150px,1.7fr) auto!important;
  gap:8px!important;
  align-items:end!important;
  width:100%!important;
}
.ml-schedule-item-dialog .ml-sch-type-row > label{
  min-width:0!important;
  grid-column:auto!important;
}
.ml-schedule-item-dialog .ml-sch-ade{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  white-space:nowrap!important;
  margin:0!important;
  padding:0 0 8px!important;
}
.ml-schedule-item-dialog .ml-sch-ade input{
  flex:0 0 auto!important;
  width:auto!important;
}

/* 4. Canonical Start Date/Time + End Date/Time. */
.ml-schedule-item-dialog .ml-sch-datetime-row{
  display:grid!important;
  grid-template-columns:minmax(145px,1.25fr) minmax(105px,.85fr) minmax(145px,1.25fr) minmax(105px,.85fr)!important;
  gap:7px!important;
  align-items:end!important;
  margin-bottom:12px!important;
}
.ml-schedule-item-dialog .ml-sch-datetime-row label{
  min-width:0!important;
}
.ml-schedule-item-dialog .ml-sch-datetime-row .ml-picker-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 31px!important;
  gap:4px!important;
  min-width:0!important;
}
.ml-schedule-item-dialog .ml-sch-datetime-row input{
  min-width:0!important;
  width:100%!important;
  padding:7px 5px!important;
  font-size:13px!important;
  box-sizing:border-box!important;
}

/* multi-day timed blocks are intentionally not direct-drag targets yet */
.ml-sch-drag-disabled .ml-schedule-event{cursor:default!important}

@media(max-width:620px){
  .ml-sch-date-head{
    min-width:205px!important;
    max-width:225px!important;
  }
  .ml-sch-prev-head{right:calc(50% + 112px)!important}
  .ml-sch-prev-week-head{right:calc(50% + 143px)!important}
  .ml-sch-next-head{left:calc(50% + 112px)!important}
  .ml-sch-next-week-head{left:calc(50% + 143px)!important}
  .ml-sch-settings-head{left:calc(50% + 177px)!important}

  .ml-schedule-item-dialog .ml-sch-type-row{
    grid-template-columns:70px minmax(125px,1fr) 58px!important;
    gap:5px!important;
  }
  .ml-schedule-item-dialog .ml-sch-type-row select{
    padding-left:5px!important;
    padding-right:4px!important;
    font-size:13px!important;
  }
  .ml-schedule-item-dialog .ml-sch-category-label .ml-category-combo{
    grid-template-columns:minmax(0,1fr) 29px!important;
    gap:3px!important;
  }
  .ml-schedule-item-dialog .ml-sch-ade{
    font-size:12px!important;
    padding-bottom:7px!important;
  }

  .ml-schedule-item-dialog .ml-sch-datetime-row{
    grid-template-columns:minmax(135px,1.15fr) minmax(96px,.85fr)!important;
    gap:6px 5px!important;
  }
}

/* v0.1.62 Smartphone Notification Handoff foundation */
.ml-push-test-btn{
  position:absolute;right:54px;top:8px;width:24px;height:24px;border:1px solid #697078;
  border-radius:50%;background:#15181b;color:#dfe4e7;font:700 11px/22px Arial,sans-serif;
  padding:0;text-align:center;cursor:pointer;opacity:.78;
}
.ml-push-test-btn:hover{opacity:1;border-color:#aab1b7}
.ml-push-test-btn.busy{animation:mlPushPulse .8s ease-in-out infinite alternate}
@keyframes mlPushPulse{to{opacity:.3}}
.ml-app:not(.ml-dev-on) .ml-push-test-btn{display:none!important}

/* v0.1.62 Recurring Schedule direct manipulation */
.ml-recurrence-scope-dialog{border:0;background:transparent;padding:0}
.ml-recurrence-scope-dialog::backdrop{background:rgba(0,0,0,.68)}
.ml-recurrence-scope-card{min-width:min(360px,88vw);padding:20px;border:1px solid #555;border-radius:14px;background:#111;color:#eee;box-shadow:0 18px 60px rgba(0,0,0,.55)}
.ml-recurrence-scope-card h3{margin:0 0 7px;font-size:18px}
.ml-recurrence-scope-card p{margin:0 0 15px;color:#bfc4c7;font-size:13px}
.ml-recurrence-scope-card button{display:block;width:100%;margin:8px 0;padding:11px 12px;border:1px solid #555;border-radius:9px;background:#202428;color:#fff;text-align:left;font-weight:700;cursor:pointer}
.ml-recurrence-scope-card button:hover{background:#2b3035}

/* v0.1.62 — Schedule Delete regression hardening */
.ml-schedule-item-dialog .ml-sch-delete-zone{position:relative!important;z-index:3!important}
.ml-schedule-item-dialog .ml-sch-delete-event{position:relative!important;z-index:4!important;pointer-events:auto!important}
.ml-schedule-item-dialog .ml-sch-lock-pair{position:relative!important;z-index:4!important}

/* v0.1.62 — recurring Delete scope */
.ml-delete-recurrence-dialog .ml-recurrence-scope-card{border-color:#6d3d3d!important}
.ml-delete-recurrence-dialog .ml-recurrence-scope-card button[data-scope="occurrence"],
.ml-delete-recurrence-dialog .ml-recurrence-scope-card button[data-scope="future"],
.ml-delete-recurrence-dialog .ml-recurrence-scope-card button[data-scope="series"]{border-color:#744141!important}

/* v0.1.79 notification diagnostic */
.ml-push-diagnostic-dialog{width:min(560px,92vw);max-height:88dvh;padding:0;border:0;background:transparent}
.ml-push-diagnostic-card{background:#111;color:#fff;border:1px solid #4a4a4a;border-radius:16px;padding:20px;box-shadow:0 18px 60px #0008}
.ml-push-diagnostic-card h3{margin:0 0 14px;font-size:1.15rem}
.ml-push-diagnostic-steps{display:grid;gap:8px}
.ml-push-diagnostic-step{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start;padding:9px 10px;border-radius:9px;background:#202225}
.ml-push-diag-mark{font-size:1.15rem;font-weight:700;text-align:center}
.ml-push-diagnostic-step.pass .ml-push-diag-mark{color:#67d26f}
.ml-push-diagnostic-step.fail .ml-push-diag-mark{color:#ff5b5b}
.ml-push-diagnostic-step.working .ml-push-diag-mark{color:#ffd45a}
.ml-push-diagnostic-step small{display:block;opacity:.78;margin-top:2px;line-height:1.3}
.ml-push-diagnostic-error{margin-top:12px;padding:10px;border-radius:8px;background:#3a1616;color:#ffb5b5;font-weight:700}
.ml-push-diagnostic-close{margin-top:16px;width:100%;min-height:42px;border-radius:9px}

/* v0.1.79 diagnostic completion control */
.ml-push-diagnostic-close{display:block;margin:16px auto 0!important;width:48px!important;height:48px!important;min-height:48px!important;border-radius:50%!important;border:2px solid #67d26f!important;background:#111!important;color:#67d26f!important;font-size:1.55rem!important;font-weight:800!important;line-height:1!important}
.ml-push-diagnostic-close:hover,.ml-push-diagnostic-close:focus{background:#18331b!important}

/* v0.1.79 Alert Queue Report */
.ml-push-queue-actions{display:flex;justify-content:center;margin:12px 0 4px}.ml-push-queue-report-btn{border:1px solid #777;background:#171717;color:#eee;border-radius:8px;padding:8px 13px;font:inherit}.ml-push-queue-report{margin-top:12px;border-top:1px solid #444;padding-top:10px;max-height:48vh;overflow:auto}.ml-push-queue-summary{font-size:.88rem;color:#ccc;margin-bottom:8px}.ml-push-queue-item{padding:8px 0;border-bottom:1px solid #333;font-size:.82rem;line-height:1.35}.ml-push-queue-item strong{display:block;color:#fff}.ml-overdue{color:#ff6b6b;font-weight:700}.ml-future{color:#9ad1ff;font-weight:700}.ml-push-queue-meta{color:#aaa}

.ml-push-due-detail{margin:8px 0 14px 28px;padding:10px 12px;border-left:3px solid currentColor;font-size:12px;line-height:1.45;white-space:normal;word-break:break-word;opacity:.92}.ml-push-due-detail span{opacity:.7}
/* v0.1.80 MindLife Desktop Alert */
.ml-desktop-alert{position:fixed;right:22px;top:22px;z-index:100000;width:min(360px,calc(100vw - 28px));background:#fff;color:#202020;border:1px solid rgba(0,0,0,.16);border-radius:16px;box-shadow:0 16px 44px rgba(0,0,0,.24);padding:14px 14px 12px;font-family:inherit;animation:mlAlertIn .18s ease-out}
@keyframes mlAlertIn{from{transform:translateY(-10px);opacity:0}to{transform:none;opacity:1}}
.ml-desktop-alert-x{position:absolute;right:9px;top:7px;border:0;background:transparent;font-size:23px;line-height:1;color:#666;cursor:pointer}
.ml-desktop-alert-main{display:block;width:100%;padding:0 34px 7px 0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.ml-desktop-alert-brand{display:block;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.62;margin-bottom:7px}
.ml-desktop-alert-line{display:flex;align-items:center;gap:9px;font-size:17px}.ml-desktop-alert-line strong{font-weight:750}.ml-desktop-alert-main small{display:block;margin:4px 0 0 21px;opacity:.66}
.ml-desktop-alert-color{display:inline-block;width:12px;height:12px;border-radius:50%;background:#777;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.18)}
.ml-desktop-alert-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ml-desktop-alert-actions button,.ml-desktop-snooze-choices button{border:1px solid rgba(0,0,0,.18);background:#f7f7f7;border-radius:9px;padding:7px 11px;font:inherit;cursor:pointer}.ml-desktop-alert-snooze{font-weight:700}.ml-desktop-alert-more{margin-left:auto}
.ml-desktop-snooze-choices{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.ml-desktop-snooze-choices button{padding:6px 9px}
.ml-desktop-alert-list{margin-top:10px;border-top:1px solid rgba(0,0,0,.12);padding-top:7px}.ml-desktop-alert-list>button{display:flex;justify-content:space-between;gap:10px;width:100%;border:0;background:transparent;padding:8px 3px;text-align:left;cursor:pointer}.ml-desktop-alert-list small{opacity:.65;white-space:nowrap}
.ml-alert-target{outline:4px solid rgba(255,255,255,.95)!important;box-shadow:0 0 0 7px rgba(0,0,0,.32),0 0 24px rgba(0,0,0,.35)!important;animation:mlTargetPulse 1s ease-in-out 3}
@keyframes mlTargetPulse{50%{transform:scale(1.025)}}
.ml-snooze-settings{display:flex;gap:5px;flex-wrap:wrap}.ml-snooze-settings select{min-width:64px}

/* MindLife v0.1.81 — Alert Polish & Stable Application Shell */
body.mindlife-app-page{overflow:hidden!important;overscroll-behavior:none!important}
body.mindlife-app-page .ml-app{max-height:calc(100dvh - 24px);overflow:hidden!important}
@media(max-width:480px){body.mindlife-app-page .ml-app{height:100dvh;max-height:100dvh;margin:0!important}}
.ml-desktop-alert{padding:0!important;overflow:visible;border-radius:14px!important}
.ml-desktop-alert::before,.ml-desktop-alert::after{content:'';position:absolute;left:7px;right:7px;height:100%;border-radius:14px;background:#e8e8e8;border:1px solid rgba(0,0,0,.12);z-index:-1;opacity:0;transition:.15s}
.ml-desktop-alert::before{top:5px}.ml-desktop-alert::after{left:13px;right:13px;top:10px;z-index:-2}
.ml-desktop-alert.ml-has-stack::before{opacity:.92}.ml-desktop-alert.ml-has-stack::after{opacity:.72}
.ml-desktop-alert-head{position:relative;min-height:42px;display:flex;align-items:center;padding:8px 44px 8px 14px;border-radius:13px 13px 0 0;background:#4a4a4a;color:#fff;font-size:15px;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.65)}
.ml-desktop-alert-head.ml-sch-color-tan,.ml-desktop-alert-head.ml-sch-color-light_blue,.ml-desktop-alert-head.ml-sch-color-cyan,.ml-desktop-alert-head.ml-sch-color-gold{color:#111;text-shadow:none}
.ml-desktop-alert-x{right:10px!important;top:7px!important;color:inherit!important;font-size:25px!important;z-index:2}
.ml-desktop-alert-main{padding:14px 16px 8px!important}
.ml-desktop-alert-title{display:block;font-size:18px;line-height:1.25;padding-right:8px}
.ml-desktop-alert-main small{margin:6px 0 0!important;font-size:14px;opacity:.72}
.ml-desktop-alert-actions{padding:3px 14px 13px}
.ml-desktop-snooze-choices{padding:0 14px 13px;display:flex;gap:7px;flex-wrap:wrap}
.ml-desktop-alert-list{margin:0 14px 12px!important}
/* v0.1.83 — Alert Sets / D12 (runtime-fix build) */
.ml-alert-set-tools{position:relative;display:flex;align-items:center;gap:10px;margin:8px 0 10px}.ml-alert-set-rolodex,.ml-alert-save-as-set,.ml-alert-manage-sets{border:1px solid rgba(255,255,255,.2);border-radius:8px;background:rgba(255,255,255,.07);color:inherit;padding:7px 10px}.ml-alert-set-applied{font-size:.86rem;opacity:.78}.ml-alert-set-menu{position:absolute;z-index:50;top:100%;left:0;min-width:230px;max-height:300px;overflow:auto;background:#171717;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:6px;box-shadow:0 12px 30px rgba(0,0,0,.4)}.ml-alert-set-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#fff;padding:9px;border-radius:7px}.ml-alert-set-menu button:hover{background:rgba(255,255,255,.1)}.ml-alert-set-menu hr{border:0;border-top:1px solid rgba(255,255,255,.15);margin:5px}.ml-alert-set-replace{padding:8px;display:grid;gap:8px}.ml-alert-set-foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.ml-sch-alert{grid-template-columns:minmax(120px,auto) minmax(250px,1fr) auto auto;gap:7px;align-items:center}.ml-sch-alert .ml-alert-relative,.ml-sch-alert .ml-alert-prevday{display:none;gap:5px;align-items:center}.ml-sch-alert.kind-relative .ml-alert-relative{display:flex}.ml-sch-alert.kind-prevday .ml-alert-prevday{display:flex}.ml-alert-message{grid-column:1/-1;width:100%}.ml-sch-alert small{grid-column:1/-1}.ml-alert-set-dialog{width:min(760px,94vw);max-height:90vh}.ml-alert-set-body{padding:14px;overflow:auto}.ml-alert-set-body>label{display:grid;gap:5px;margin-bottom:10px}.ml-alert-set-rules{display:grid;gap:10px}.ml-alert-set-rule{border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:10px;display:grid;gap:8px}.ml-alert-set-rule-head{display:flex;gap:6px;align-items:center}.ml-alert-set-rule-head select{flex:1}.ml-alert-set-rule .ml-as-relative,.ml-alert-set-rule .ml-as-prev{display:none;gap:6px}.ml-alert-set-rule.as-relative .ml-as-relative{display:flex}.ml-alert-set-rule.as-prev .ml-as-prev{display:flex}.ml-alert-set-rule label{display:grid;gap:4px}.ml-alert-set-message-help{margin-top:12px;font-size:.85rem;opacity:.9}.ml-alert-set-message-help button{margin:3px 2px}.ml-alert-set-manager{padding:14px}.ml-alert-set-manager-head,.ml-as-manager-row{display:flex;align-items:center;gap:6px}.ml-alert-set-manager-head{justify-content:space-between;margin-bottom:10px}.ml-as-manager-list{display:grid;gap:7px}.ml-as-manager-row{border-bottom:1px solid rgba(255,255,255,.1);padding:6px 0}.ml-as-edit-set{flex:1;text-align:left}.ml-as-del-set{color:#ff9d9d}@media(max-width:650px){.ml-sch-alert{grid-template-columns:1fr auto auto}.ml-sch-alert .ml-alert-relative,.ml-sch-alert .ml-alert-prevday{grid-column:1/-1}.ml-alert-set-dialog{width:96vw}.ml-as-manager-row{flex-wrap:wrap}}


/* MindLife v0.1.84 — permanent Dev Surface IDs + truly fixed application shell */
html:has(body.mindlife-app-page),body.mindlife-app-page{
  width:100%!important;height:100%!important;min-height:100%!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.mindlife-app-page #mindlife-page-shell{
  position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;
  overflow:hidden!important;margin:0!important;padding:0!important;
}
body.mindlife-app-page #mindlife-page-shell>.ml-app{
  position:absolute!important;top:12px!important;bottom:12px!important;left:0!important;right:0!important;
  width:min(100%,430px)!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0 auto!important;overflow:hidden!important;
}
@media(max-width:480px){
  body.mindlife-app-page #mindlife-page-shell>.ml-app{
    top:0!important;bottom:0!important;height:100dvh!important;border-radius:0!important;
  }
}
.ml-surface-id{display:none!important}
.ml-app[data-dev="1"]:not(.ml-assistant) dialog>.ml-surface-id,
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-drawer>.ml-surface-id,
.ml-app[data-dev="1"]:not(.ml-assistant) .ml-lock-screen>.ml-surface-id{
  display:block!important;position:absolute!important;top:7px!important;right:9px!important;z-index:1000!important;
  pointer-events:none!important;font:800 10px/1.1 Arial,Helvetica,sans-serif!important;letter-spacing:.08em!important;
  color:#9fb0ba!important;background:rgba(0,0,0,.56)!important;border:1px solid rgba(159,176,186,.28)!important;
  border-radius:5px!important;padding:3px 5px!important;box-shadow:none!important;
}
.ml-app[data-dev="1"]:not(.ml-assistant) dialog{position:relative}

/* MindLife v0.1.85 — S05 polish, weather refinement, and non-hijacking alert support */

/* S05 keeps intentional inner scrolling, but the scrollbar itself is visual noise. */
body.mindlife-app-page .ml-content:has(.ml-schedule){scrollbar-width:none!important;-ms-overflow-style:none!important}
body.mindlife-app-page .ml-content:has(.ml-schedule)::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}

/* ADE shares the exact time-rail column and centers on the same axis as time labels. */
.ml-schedule-mode .ml-ade{grid-template-columns:76px minmax(0,1fr)!important}
.ml-schedule-mode .ml-ade>strong{justify-content:center!important;text-align:center!important;padding:0!important}

/* S05 header: protected return territory + six-control responsive navigation grid. */
.ml-schedule-mode .ml-return{left:5px!important;top:10px!important;width:52px!important;height:52px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ml-schedule-mode .ml-return svg{width:36px!important;height:36px!important}
.ml-schedule-mode .ml-heading{left:60px!important;right:4px!important;height:72px!important;overflow:hidden!important}
.ml-sch-persistent-nav{position:static!important;width:100%!important;height:52px!important;display:grid!important;grid-template-columns:34px 30px minmax(128px,1fr) 30px 34px 40px!important;align-items:center!important;gap:2px!important;pointer-events:none!important}
.ml-sch-persistent-nav button{position:static!important;transform:none!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;pointer-events:auto!important}
.ml-sch-date-head{min-width:0!important;max-width:none!important;width:100%!important;height:48px!important;padding:0 4px!important;font-size:clamp(16px,4.8vw,25px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ml-sch-prev-week-head,.ml-sch-prev-head,.ml-sch-next-head,.ml-sch-next-week-head,.ml-sch-settings-head{left:auto!important;right:auto!important;top:auto!important}
@media(max-width:620px){
  .ml-schedule-mode .ml-ade{grid-template-columns:68px minmax(0,1fr)!important}
  .ml-schedule-mode .ml-return{left:3px!important;width:48px!important;height:48px!important}
  .ml-schedule-mode .ml-return svg{width:34px!important;height:34px!important}
  .ml-schedule-mode .ml-heading{left:53px!important;right:2px!important}
  .ml-sch-persistent-nav{grid-template-columns:30px 26px minmax(112px,1fr) 26px 30px 36px!important;gap:1px!important}
  .ml-sch-date-head{font-size:clamp(15px,5vw,21px)!important;padding:0 2px!important}
}

/* S01 weather strip is itself a large intuitive collapse target. */
.ml-weather-strip:not([hidden]){cursor:pointer}

/* D13: balanced heading hierarchy and calmer summary composition. */
.ml-forecast-dialog,.ml-forecast-10day-dialog{width:min(560px,94vw)!important;border:1px solid #52616a!important;border-radius:16px!important;background:#11191d!important;color:#fff!important;padding:0!important;box-shadow:0 24px 70px rgba(0,0,0,.55)!important}
.ml-forecast-dialog form,.ml-forecast-10day-dialog form{padding:20px 22px!important}
.ml-forecast-dialog h3,.ml-forecast-10day-dialog h3{text-align:center!important;margin:0!important;font-size:28px!important;letter-spacing:-.02em!important}
.ml-forecast-date,.ml-forecast-10day-place{text-align:center;color:#aeb9bf;font-size:13px;margin:4px 0 17px;letter-spacing:.02em}
.ml-forecast-summary{text-align:center!important;margin:0 auto 18px!important;font-size:16px!important;line-height:1.48!important}
.ml-forecast-summary strong{font-size:20px!important}
.ml-forecast-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;padding-top:16px!important}
.ml-forecast-10day{margin-right:auto;border:1px solid #60727c;background:#1b2a31;color:#fff;border-radius:12px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer;min-height:42px}
.ml-forecast-10day:hover{background:#253842}.ml-forecast-10day span{font-size:20px;margin-left:5px}
.ml-forecast-close{width:42px!important;height:42px!important;border-radius:12px!important;border:1px solid #68777f!important;background:#586066!important;color:#fff!important;font-size:24px!important;font-weight:800!important}
.ml-forecast-day{display:grid;grid-template-columns:minmax(95px,1.05fr) minmax(125px,1.35fr) 74px 70px;gap:8px;align-items:center;padding:10px 4px;border-bottom:1px solid #303b41;font-size:14px}
.ml-forecast-day:first-child{border-top:1px solid #435058}.ml-forecast-day-condition{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-forecast-day-temps{display:flex;gap:8px;justify-content:flex-end}.ml-forecast-day-temps em{font-style:normal;color:#aeb9bf}.ml-forecast-day-rain{text-align:right;color:#d9e1e5}
@media(max-width:480px){
  .ml-forecast-dialog form,.ml-forecast-10day-dialog form{padding:17px 14px!important}
  .ml-forecast-dialog h3,.ml-forecast-10day-dialog h3{font-size:25px!important}
  .ml-forecast-day{grid-template-columns:80px minmax(100px,1fr) 62px 58px;gap:5px;font-size:12px}
  .ml-forecast-10day{padding:9px 11px;font-size:13px}
}

/* v0.1.85 corrected polish: keep D13 date centered under its title and prevent layout inheritance. */
.ml-forecast-dialog .ml-forecast-date{display:block!important;width:100%!important;text-align:center!important;margin:4px auto 17px!important;justify-self:center!important;}

/* v0.1.86 — D26 full forecast + temporary travel-weather Rolodex. */
.ml-forecast-10day-dialog form{display:flex;flex-direction:column;max-height:min(90dvh,820px)!important;overflow:hidden!important}
.ml-forecast-10day-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}
.ml-forecast-location-button{margin-right:auto;border:1px solid #60727c;background:#18262d;color:#fff;border-radius:12px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer;min-height:42px}
.ml-forecast-location-button:hover{background:#22353e}
.ml-forecast-location-picker{flex:0 0 auto;margin-top:12px;padding:10px;border:1px solid #43535c;border-radius:12px;background:#0d1519}
.ml-forecast-location-picker[hidden]{display:none!important}
.ml-forecast-location-recents{display:grid;gap:5px;margin-bottom:9px}
.ml-forecast-location-row{display:grid;grid-template-columns:1fr 34px;gap:6px;align-items:center}
.ml-forecast-location-choice{width:100%;text-align:left;border:0;background:transparent;color:#eaf0f2;border-radius:8px;padding:8px 9px;font:inherit;cursor:pointer}
.ml-forecast-location-choice:hover{background:#1a2a31}.ml-home-location{font-weight:800}
.ml-forecast-location-remove{border:0;background:transparent;color:#87959c;font-size:20px;border-radius:8px;cursor:pointer;height:32px}.ml-forecast-location-remove:hover{background:#26343a;color:#fff}
.ml-forecast-location-other{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#87959c;padding:5px 9px 1px}
.ml-forecast-location-search{display:grid;grid-template-columns:1fr auto;gap:8px}
.ml-forecast-location-input{min-width:0;border:1px solid #53636c;border-radius:10px;background:#111b20;color:#fff;padding:10px 11px;font:inherit;outline:none}.ml-forecast-location-input:focus{border-color:#8aa2ad}
.ml-forecast-location-go{border:1px solid #60727c;border-radius:10px;background:#253840;color:#fff;padding:8px 13px;font:inherit;font-weight:750;cursor:pointer}
.ml-forecast-location-picker small{display:block;color:#89979e;margin:8px 3px 0;font-size:11px}
.ml-forecast-loading{padding:28px 8px;text-align:center;color:#aeb9bf}
@media(max-width:480px){.ml-forecast-10day-dialog form{max-height:92dvh!important}.ml-forecast-location-button{padding:9px 11px;font-size:13px}.ml-forecast-location-picker{padding:8px}}


/* v0.1.87 — weather cleanup + first MindLife Action Language reference controls. */
.ml-forecast-place{display:block!important;width:100%!important;text-align:center!important;color:#87959c!important;font-size:12px!important;line-height:1.2!important;margin:-11px auto 17px!important;letter-spacing:.025em!important}
.ml-forecast-10day-place{display:block!important;width:100%!important;text-align:center!important;margin:4px auto 17px!important}
.ml-action-icon{display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important;text-align:center!important}
.ml-action-icon::first-line{line-height:1!important}
.ml-forecast-close.ml-action-icon{font-family:Arial,Helvetica,sans-serif!important;font-size:24px!important;font-weight:700!important;text-indent:0!important}
.ml-forecast-location-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}


/* v0.1.88 — reveal-new-item, optical action glyphs, and S05 cursor semantics. */
.ml-forecast-dialog form,.ml-forecast-10day-dialog form{position:relative!important}
.ml-forecast-dialog>form>.ml-forecast-place,.ml-forecast-10day-dialog>form>.ml-forecast-10day-place{position:static!important;float:none!important;clear:both!important;display:block!important;width:100%!important;max-width:none!important;margin:3px auto 16px!important;padding:0!important;text-align:center!important;justify-self:center!important;align-self:center!important;transform:none!important}
.ml-forecast-dialog>form>.ml-forecast-date{display:block!important;width:100%!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
/* The check glyph's font box is not optically balanced; compensate in the shared action control. */
.ml-action-accept{display:grid!important;place-items:center!important;text-indent:0!important}
.ml-action-accept::before{content:'✓';display:block!important;line-height:1!important;transform:translateX(-3px)!important}
.ml-action-accept{font-size:0!important;color:transparent!important}
.ml-action-accept::before{font-size:32px!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important}
.ml-sch-task-box{cursor:pointer!important;user-select:none!important;-webkit-user-select:none!important;touch-action:manipulation!important}
.ml-schedule-event{cursor:grab!important}
.ml-schedule-event:active{cursor:grabbing!important}
.ml-schedule-event .ml-sch-task-box,.ml-schedule-event:active .ml-sch-task-box{cursor:pointer!important}
.ml-sch-add-alert:disabled,.ml-alert-set-add:disabled,.ml-category-add:disabled{pointer-events:none!important;opacity:.65!important}

/* v0.1.89 — Context & Alert polish. */
html,body.mindlife-app-page{overscroll-behavior:none!important}
body.mindlife-app-page{overflow:hidden!important}
#mindlife-page-shell{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
/* Active Alert: identify the card receiving attention without dimming its neighbors. */
.ml-sch-alert{position:relative!important;border:1px solid transparent!important;border-radius:10px!important;padding:9px!important;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease!important}
.ml-sch-alert.ml-alert-active{border-color:#7897a6!important;background:rgba(116,151,168,.075)!important;box-shadow:0 0 0 2px rgba(116,151,168,.14)!important}
.ml-alert-card-actions{display:inline-flex!important;align-items:center!important;gap:5px!important}
.ml-sch-alert .ml-alert-test{width:auto!important;min-width:48px!important;padding:0 9px!important;background:#26373f!important;border:1px solid #53656e!important;color:#fff!important;font-weight:700!important}
.ml-sch-alert .ml-alert-remove{width:32px!important;min-width:32px!important;padding:0!important;background:transparent!important;border:1px solid #6b4c4c!important;color:#efb0b0!important;font-size:19px!important;font-weight:700!important;line-height:1!important}
.ml-sch-alert .ml-alert-remove:hover{background:rgba(174,63,63,.16)!important;color:#fff!important}
.ml-alert-preview{z-index:2147483000!important}
.ml-preview-badge{display:inline-block!important;margin-left:7px!important;padding:2px 5px!important;border:1px solid currentColor!important;border-radius:5px!important;font-size:9px!important;letter-spacing:.08em!important;vertical-align:2px!important;opacity:.82!important}
.ml-preview-main{cursor:default!important}
.ml-alert-preview .ml-desktop-alert-actions button:disabled{opacity:.48!important;cursor:default!important}
/* D01 locks: no outer box; restrained green; E/T lives in the lock body. */
.ml-schedule-item-dialog .ml-sch-delete-zone{gap:8px!important}
.ml-schedule-item-dialog .ml-sch-lock-pair{gap:7px!important;margin-right:5px!important}
.ml-schedule-item-dialog .ml-sch-lock-unit{min-height:38px!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock,.ml-schedule-item-dialog .ml-sch-task-lock{width:31px!important;min-width:31px!important;height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{left:5px!important;bottom:3px!important;width:22px!important;height:19px!important;border-radius:4px!important;background:#3f9b61!important;box-shadow:none!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{left:5px!important;top:-14px!important;width:12px!important;height:17px!important;border-width:3px!important;border-color:#3f9b61!important;border-bottom:0!important;transform:translateX(5px)!important;border-right-color:transparent!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:after,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:after{content:attr(data-label);content:''!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock:after,.ml-schedule-item-dialog .ml-sch-task-lock:after{content:attr(data-lock-label)!important;position:absolute!important;left:5px!important;bottom:3px!important;width:22px!important;height:19px!important;display:grid!important;place-items:center!important;color:#f4f7f5!important;font-size:11px!important;font-weight:800!important;line-height:1!important;pointer-events:none!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph{background:#a84a4a!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:before{border-color:#a84a4a!important;border-bottom:0!important;transform:none!important}
@media(max-width:650px){.ml-sch-alert{padding:8px!important}.ml-alert-card-actions{grid-column:auto!important}.ml-sch-alert .ml-alert-test{min-width:44px!important;padding:0 7px!important}}
.ml-trash-glyph{position:relative!important;display:inline-block!important;width:12px!important;height:13px!important;border:1.8px solid currentColor!important;border-top:0!important;border-radius:1px 1px 3px 3px!important;box-sizing:border-box!important}
.ml-trash-glyph:before{content:''!important;position:absolute!important;left:-3px!important;top:-4px!important;width:14px!important;border-top:1.8px solid currentColor!important}
.ml-trash-glyph:after{content:''!important;position:absolute!important;left:3px!important;top:-7px!important;width:4px!important;height:3px!important;border:1.8px solid currentColor!important;border-bottom:0!important;border-radius:2px 2px 0 0!important}

/* v0.1.90 — D01 compact alert grammar and active-section context. */
.ml-schedule-item-dialog .ml-sch-alert{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:7px 10px!important;
  align-items:center!important;
}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind{grid-column:1!important;grid-row:1!important;min-width:150px!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-column:2!important;grid-row:1!important;display:none!important;gap:6px!important;align-items:center!important;min-width:0!important}
.ml-schedule-item-dialog .ml-sch-alert.kind-relative>.ml-alert-relative{display:flex!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday{grid-column:2!important;grid-row:1!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-status{grid-column:1!important;grid-row:2!important;justify-self:center!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-card-actions{grid-column:2!important;grid-row:2!important;justify-self:start!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-message{grid-column:1/-1!important;grid-row:3!important}
.ml-schedule-item-dialog .ml-sch-alert>small{grid-column:1/-1!important;grid-row:4!important;text-align:right!important}
.ml-schedule-item-dialog .ml-alert-amount{width:92px!important}
.ml-schedule-item-dialog .ml-alert-unit{min-width:132px!important}
.ml-schedule-item-dialog .ml-alert-dir{min-width:128px!important}
.ml-schedule-item-dialog .ml-sch-topic-row,
.ml-schedule-item-dialog .ml-sch-type-row,
.ml-schedule-item-dialog .ml-sch-datetime-row,
.ml-schedule-item-dialog .ml-sch-travel-row,
.ml-schedule-item-dialog .ml-sch-repeat-row,
.ml-schedule-item-dialog .ml-sch-alerts,
.ml-schedule-item-dialog .ml-sch-guests-row,
.ml-schedule-item-dialog .ml-sch-notes-row{border:1px solid transparent!important;border-radius:11px!important;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease!important}
.ml-schedule-item-dialog .ml-dialog-active-section{border-color:#607f8e!important;background:rgba(96,127,142,.045)!important;box-shadow:0 0 0 2px rgba(96,127,142,.09)!important}
/* Alerts already identify their active card; keep section treatment quieter around the collection. */
.ml-schedule-item-dialog .ml-sch-alerts.ml-dialog-active-section{border-color:#536f7c!important}
/* D01 locks: visible control is only the lock. The larger button remains an invisible touch target. */
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock{appearance:none!important;-webkit-appearance:none!important;border:0!important;outline:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock:focus,
.ml-schedule-item-dialog .ml-sch-task-lock:focus{border:0!important;outline:0!important;box-shadow:none!important;background:none!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock:focus-visible .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock:focus-visible .ml-lock-glyph{box-shadow:0 0 0 2px rgba(255,255,255,.45)!important}
.ml-schedule-item-dialog .ml-sch-lock-pair{margin-right:2px!important;transform:translateX(-4px)!important}
/* Alert preview is a real top-layer dialog because the user explicitly asked to preview it. */
dialog.ml-alert-preview{position:fixed!important;inset:auto 18px 18px auto!important;margin:0!important;padding:0!important;border:0!important;width:min(390px,calc(100vw - 36px))!important;max-width:none!important;height:auto!important;overflow:visible!important;background:#151c20!important;color:#fff!important;border-radius:10px!important;box-shadow:0 16px 44px rgba(0,0,0,.58)!important}
dialog.ml-alert-preview::backdrop{background:rgba(0,0,0,.18)!important}
@media(max-width:650px){
  .ml-schedule-item-dialog .ml-sch-alert{grid-template-columns:1fr!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind,
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative,
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday,
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-status,
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-card-actions,
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-message,
  .ml-schedule-item-dialog .ml-sch-alert>small{grid-column:1!important;grid-row:auto!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{flex-wrap:nowrap!important}
  dialog.ml-alert-preview{inset:auto 10px 10px 10px!important;width:auto!important}
}

/* v0.1.91 — state fidelity and D01 visual cleanup. */
/* D01 timing is one human sentence: Before/After | amount | unit | direction. */
.ml-schedule-item-dialog .ml-sch-alert{
  grid-template-columns:minmax(132px,1fr) minmax(0,3.25fr)!important;
  column-gap:10px!important;
}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind{grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-column:2!important;grid-row:1!important;width:100%!important;display:none!important}
.ml-schedule-item-dialog .ml-sch-alert.kind-relative>.ml-alert-relative{display:grid!important;grid-template-columns:minmax(72px,.75fr) minmax(120px,1.1fr) minmax(112px,1.05fr)!important;gap:8px!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday{grid-column:2!important;grid-row:1!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-status{grid-column:1!important;grid-row:2!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-card-actions{grid-column:2!important;grid-row:2!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-message{grid-column:1/-1!important;grid-row:3!important}
.ml-schedule-item-dialog .ml-sch-alert>small{grid-column:1/-1!important;grid-row:4!important}
.ml-schedule-item-dialog .ml-alert-amount,.ml-schedule-item-dialog .ml-alert-unit,.ml-schedule-item-dialog .ml-alert-dir{width:100%!important;min-width:0!important}
/* Never draw nested ancestry boxes: the active Alert card is the context inside Alerts. */
.ml-schedule-item-dialog .ml-sch-alerts,
.ml-schedule-item-dialog .ml-sch-alerts.ml-dialog-active-section{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
/* Lock control: absolutely no visible button/container chrome. */
.ml-schedule-item-dialog .ml-sch-lock-unit{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock,
.ml-schedule-item-dialog .ml-sch-task-lock,
.ml-schedule-item-dialog .ml-sch-schedule-lock:hover,
.ml-schedule-item-dialog .ml-sch-task-lock:hover,
.ml-schedule-item-dialog .ml-sch-schedule-lock:active,
.ml-schedule-item-dialog .ml-sch-task-lock:active{border:0!important;background:transparent!important;background-color:transparent!important;box-shadow:none!important;outline:0!important}
/* Explicit preview belongs near the top of the usable viewport. */
dialog.ml-alert-preview{inset:clamp(78px,12vh,130px) 18px auto auto!important}
@media(max-width:650px){
  .ml-schedule-item-dialog .ml-sch-alert{grid-template-columns:minmax(112px,.9fr) minmax(0,2.2fr)!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind{grid-column:1!important;grid-row:1!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-column:2!important;grid-row:1!important}
  .ml-schedule-item-dialog .ml-sch-alert.kind-relative>.ml-alert-relative{display:grid!important;grid-template-columns:minmax(58px,.7fr) minmax(92px,1fr) minmax(88px,1fr)!important;gap:5px!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday{grid-column:2!important;grid-row:1!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-status{grid-column:1!important;grid-row:2!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-card-actions{grid-column:2!important;grid-row:2!important}
  .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-message{grid-column:1/-1!important;grid-row:3!important}
  .ml-schedule-item-dialog .ml-sch-alert>small{grid-column:1/-1!important;grid-row:4!important}
  dialog.ml-alert-preview{inset:72px 10px auto 10px!important;width:auto!important}
}

/* v0.1.93 — D01 final visual polish. */
/* Major D01 sections get a quiet rule; active child cards do not create nested boxes. */
.ml-schedule-item-dialog .ml-sch-alerts{
  border-top:1px solid #3d484e!important;
  border-bottom:1px solid #3d484e!important;
  margin:18px 0!important;
  padding:14px 0 16px!important;
}
.ml-schedule-item-dialog .ml-sch-guests-row,
.ml-schedule-item-dialog .ml-sch-notes-row{
  border-top:1px solid #3d484e!important;
  padding-top:14px!important;
  margin-top:16px!important;
}
/* Alerts heading is its own row; Alert Set and + Add Alert align directly beneath it. */
.ml-schedule-item-dialog .ml-sch-section-title{display:block!important;margin:0 0 10px!important}
.ml-schedule-item-dialog .ml-sch-section-title>strong{display:block!important;font-size:18px!important;margin:0 0 10px!important}
.ml-schedule-item-dialog .ml-sch-add-alert{position:absolute!important;right:0!important;top:39px!important;min-height:38px!important}
.ml-schedule-item-dialog .ml-sch-alerts{position:relative!important}
.ml-schedule-item-dialog .ml-alert-set-tools{min-height:42px!important;display:flex!important;align-items:flex-start!important;padding-right:132px!important}
/* Topic Color is inherited from the parent Schedule/To Do item; no alert-level dot/control. */
.ml-schedule-item-dialog .ml-alert-status{display:none!important}
/* With the dot gone, Test and Trash form one compact action group. */
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-card-actions{grid-column:1/-1!important;grid-row:2!important;justify-self:start!important;margin-top:1px!important}
/* Truly chrome-free E/T lock: visible glyph only, while button keeps its invisible hit target. */
.ml-schedule-item-dialog .ml-sch-lock-unit{border:0!important;background:none!important;box-shadow:none!important;outline:0!important;border-radius:0!important}
.ml-schedule-item-dialog button.ml-sch-schedule-lock,
.ml-schedule-item-dialog button.ml-sch-task-lock,
.ml-schedule-item-dialog button.ml-sch-schedule-lock:hover,
.ml-schedule-item-dialog button.ml-sch-task-lock:hover,
.ml-schedule-item-dialog button.ml-sch-schedule-lock:focus,
.ml-schedule-item-dialog button.ml-sch-task-lock:focus,
.ml-schedule-item-dialog button.ml-sch-schedule-lock:focus-visible,
.ml-schedule-item-dialog button.ml-sch-task-lock:focus-visible,
.ml-schedule-item-dialog button.ml-sch-schedule-lock:active,
.ml-schedule-item-dialog button.ml-sch-task-lock:active{
  appearance:none!important;-webkit-appearance:none!important;
  border:none!important;border-width:0!important;border-style:none!important;border-color:transparent!important;
  border-radius:0!important;background:none!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;outline:none!important;text-decoration:none!important;
}
.ml-schedule-item-dialog button.ml-sch-schedule-lock:focus-visible .ml-lock-glyph,
.ml-schedule-item-dialog button.ml-sch-task-lock:focus-visible .ml-lock-glyph{box-shadow:none!important}
/* Keep the pair just to the left of Delete Event. */
.ml-schedule-item-dialog .ml-sch-lock-pair{margin-right:4px!important;transform:translateX(-6px)!important}
@media(max-width:650px){
 .ml-schedule-item-dialog .ml-sch-add-alert{top:38px!important}
 .ml-schedule-item-dialog .ml-alert-set-tools{padding-right:120px!important}
}

/* v0.1.93 — D01 interaction integrity; structural fixes, not cosmetic patches. */
/* Alert Set and Add Alert are one peer control row. */
.ml-schedule-item-dialog .ml-sch-section-title{display:block!important;margin:0 0 10px!important}
.ml-schedule-item-dialog .ml-sch-section-title>strong{margin:0!important}
.ml-schedule-item-dialog .ml-alert-set-tools{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;min-height:42px!important;padding:0!important;width:100%!important;box-sizing:border-box!important;
}
.ml-schedule-item-dialog .ml-alert-set-rolodex,
.ml-schedule-item-dialog .ml-sch-add-alert{
  position:static!important;inset:auto!important;margin:0!important;height:42px!important;min-height:42px!important;
  padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;font:inherit!important;line-height:1!important;
}
.ml-schedule-item-dialog .ml-alert-set-applied{flex:1 1 auto!important;min-width:0!important}
.ml-schedule-item-dialog .ml-alert-set-menu{position:absolute!important;left:0!important;top:46px!important;z-index:20!important}
/* Active alert remains visible after every render/reveal cycle. */
.ml-schedule-item-dialog .ml-sch-alert.ml-alert-active{border-color:#7897a6!important;background:rgba(116,151,168,.075)!important;box-shadow:0 0 0 2px rgba(116,151,168,.14)!important}
/* Mr. Lock: reset the BUTTON itself, then draw only the lock glyph. No inherited button chrome survives. */
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-schedule-lock,
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-task-lock{
  all:unset!important;position:relative!important;display:inline-block!important;width:31px!important;height:40px!important;
  min-width:31px!important;box-sizing:border-box!important;cursor:pointer!important;overflow:visible!important;
  -webkit-tap-highlight-color:transparent!important;
}
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-schedule-lock[hidden],
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-task-lock[hidden]{display:none!important}
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-schedule-lock::before,
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-task-lock::before{content:none!important}
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-schedule-lock:focus,
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-task-lock:focus,
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-schedule-lock:focus-visible,
.ml-schedule-item-dialog button.ml-lock-toggle.ml-sch-task-lock:focus-visible{outline:none!important;box-shadow:none!important}
.ml-schedule-item-dialog .ml-sch-lock-unit{all:unset!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:31px!important;height:40px!important}
.ml-schedule-item-dialog .ml-sch-lock-pair{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0 4px 0 0!important;transform:translateX(-6px)!important}
@media(max-width:650px){
 .ml-schedule-item-dialog .ml-alert-set-tools{gap:8px!important}
 .ml-schedule-item-dialog .ml-alert-set-rolodex,.ml-schedule-item-dialog .ml-sch-add-alert{height:40px!important;min-height:40px!important;padding:0 11px!important}
}

/* v0.1.94 — Alert Sets graduate from prototype UI to MindLife product UI. */
.ml-alert-set-dialog,.ml-alert-set-manager-dialog{
  width:min(720px,94vw)!important;max-height:min(86vh,820px)!important;padding:0!important;
  background:#10191e!important;color:#f3f5f6!important;border:1px solid #52636d!important;border-radius:18px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.52)!important;overflow:hidden!important;
}
.ml-alert-set-dialog::backdrop,.ml-alert-set-manager-dialog::backdrop{background:rgba(0,0,0,.48)!important}
.ml-alert-set-dialog form,.ml-alert-set-manager-dialog form{display:flex!important;flex-direction:column!important;max-height:min(86vh,820px)!important;background:#10191e!important;color:#f3f5f6!important}
.ml-alert-set-dialog .ml-schedule-dialog-head,.ml-alert-set-manager-dialog .ml-schedule-dialog-head{
  flex:0 0 auto!important;background:#66717a!important;color:#fff!important;min-height:70px!important;padding:10px 18px!important;
}
.ml-alert-set-dialog .ml-schedule-dialog-head h3,.ml-alert-set-manager-dialog .ml-schedule-dialog-head h3{font-size:27px!important;font-weight:750!important;margin:0!important}
.ml-alert-set-body,.ml-alert-set-manager{flex:1 1 auto!important;overflow:auto!important;padding:22px 24px 26px!important;background:#10191e!important;color:#f3f5f6!important}
.ml-alert-set-basics{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(150px,1fr)!important;gap:14px!important;padding-bottom:18px!important;border-bottom:1px solid #3d484e!important;margin-bottom:18px!important}
.ml-alert-set-basics label,.ml-as-message-label{display:grid!important;gap:6px!important;font-weight:650!important;color:#d7dee2!important}
.ml-alert-set-dialog input,.ml-alert-set-dialog select,.ml-alert-set-manager-dialog input,.ml-alert-set-manager-dialog select{
  min-height:42px!important;background:#091116!important;color:#f4f6f7!important;border:1px solid #5a6d78!important;border-radius:9px!important;padding:8px 11px!important;font:inherit!important;
}
.ml-alert-set-rules{display:grid!important;gap:12px!important}
.ml-alert-set-rule{display:grid!important;gap:12px!important;border:1px solid #526b78!important;border-radius:14px!important;padding:14px!important;background:#142128!important;box-shadow:none!important}
.ml-alert-set-rule:focus-within{border-color:#7897a6!important;background:#17262e!important;box-shadow:0 0 0 2px rgba(116,151,168,.13)!important}
.ml-as-card-top{display:flex!important;align-items:center!important;gap:9px!important;min-height:30px!important}.ml-as-card-top strong{font-size:16px!important}.ml-as-drag{opacity:.48!important;letter-spacing:-3px!important;cursor:grab!important}.ml-as-order{margin-left:auto!important;display:flex!important;gap:6px!important}
.ml-as-order button,.ml-as-manager-actions button{min-height:34px!important;border:1px solid #53656f!important;background:#202d34!important;color:#eef2f4!important;border-radius:8px!important;padding:5px 9px!important;font:inherit!important}
.ml-as-remove,.ml-as-del-set{width:38px!important;min-width:38px!important;padding:0!important;border-color:#815052!important;background:transparent!important}
.ml-as-timing{display:grid!important;grid-template-columns:minmax(150px,1.05fr) minmax(270px,2fr)!important;gap:10px!important;align-items:center!important}.ml-as-relative{display:grid!important;grid-template-columns:.72fr 1fr 1fr!important;gap:8px!important}.ml-alert-set-rule:not(.as-relative) .ml-as-relative{display:none!important}.ml-as-prev{display:none!important}.ml-alert-set-rule.as-prev .ml-as-prev{display:block!important}
.ml-alert-set-add{margin-top:14px!important;min-height:38px!important;padding:0 12px!important;border:1px solid #586b75!important;border-radius:9px!important;background:#223139!important;color:#f4f6f7!important;font:inherit!important;font-weight:650!important}
.ml-alert-set-message-help{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin-top:16px!important;padding-top:14px!important;border-top:1px solid #3d484e!important;color:#aebbc2!important;font-size:13px!important}.ml-alert-set-message-help button{min-height:30px!important;padding:3px 9px!important;border:1px solid #53656f!important;border-radius:999px!important;background:#1d2a31!important;color:#e9eef0!important;font:inherit!important}
.ml-alert-set-manager-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important}.ml-alert-set-manager-head>div{display:grid!important;gap:2px!important}.ml-alert-set-manager-head strong{font-size:20px!important}.ml-alert-set-manager-head small{color:#9facb3!important}.ml-as-new{min-height:38px!important;padding:0 12px!important;border:1px solid #586b75!important;border-radius:9px!important;background:#223139!important;color:#f4f6f7!important;font:inherit!important;font-weight:650!important}
.ml-as-manager-list{display:grid!important;gap:10px!important}.ml-as-manager-row{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;border:1px solid #465861!important;border-radius:13px!important;background:#142128!important}.ml-as-edit-set{flex:1 1 auto!important;display:grid!important;gap:3px!important;text-align:left!important;border:0!important;background:transparent!important;color:#f4f6f7!important;padding:4px!important;font:inherit!important;cursor:pointer!important}.ml-as-edit-set strong{font-size:16px!important}.ml-as-edit-set small{color:#9facb3!important}.ml-as-manager-actions{display:flex!important;align-items:center!important;gap:6px!important}.ml-as-manager-actions button:disabled{opacity:.3!important}.ml-as-empty{color:#9facb3!important;padding:20px 4px!important}
/* Standard D01 peer controls: equal, aligned, but no longer oversized. */
.ml-schedule-item-dialog .ml-alert-set-rolodex,.ml-schedule-item-dialog .ml-sch-add-alert{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:15px!important;border-radius:8px!important}
.ml-schedule-item-dialog .ml-alert-set-tools{min-height:36px!important}
/* Live relation-to-event line in real Alerts and Preview. */
.ml-alert-time-row{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:18px!important;width:100%!important;margin-top:6px!important}.ml-alert-time-row small{margin:0!important}.ml-alert-countdown{margin-left:auto!important;text-align:right!important;font-weight:650!important;opacity:.82!important}
@media(max-width:650px){
 .ml-alert-set-body,.ml-alert-set-manager{padding:16px!important}.ml-alert-set-basics{grid-template-columns:1fr!important}.ml-as-timing{grid-template-columns:1fr!important}.ml-as-manager-row{align-items:flex-start!important;flex-direction:column!important}.ml-as-manager-actions{width:100%!important;flex-wrap:wrap!important}.ml-alert-time-row{display:grid!important;gap:3px!important}.ml-alert-countdown{text-align:left!important;margin-left:0!important}
}


/* v0.1.95 — Alert Set test/toggle interaction */
.ml-alert-set-editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.ml-alert-set-editor-actions .ml-alert-set-add,.ml-alert-set-editor-actions .ml-alert-set-test{margin:0!important;min-height:36px!important;padding:0 11px!important;border:1px solid #586b75!important;border-radius:8px!important;background:#223139!important;color:#f4f6f7!important;font:inherit!important;font-weight:650!important}
.ml-alert-set-message-help button.selected,.ml-alert-set-message-help button[aria-pressed="true"]{background:#e9eef0!important;color:#10191e!important;border-color:#e9eef0!important;box-shadow:none!important}
.ml-alert-set-rule.ml-as-active{border-color:#7897a6!important;background:#17262e!important;box-shadow:0 0 0 2px rgba(116,151,168,.13)!important}
.ml-alert-set-preview-index{display:block!important;margin-top:9px!important;opacity:.62!important}


/* v0.1.96 — D12 ownership: each Alert owns timing, message, and insertion state. */
.ml-alert-set-dialog .ml-schedule-dialog-head > button:first-child{transform:translateX(7px)!important}
.ml-alert-set-dialog .ml-alert-set-body{display:flex!important;flex-direction:column!important;gap:16px!important}
.ml-alert-set-dialog .ml-alert-set-rules:empty::before{content:'No Alerts yet. Add an Alert to build this Set.';display:block;padding:18px;border:1px dashed #53656f;border-radius:12px;color:#9eacb4;text-align:center}
.ml-alert-set-dialog .ml-as-token-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;padding-top:2px!important;color:#aebbc2!important;font-size:13px!important}
.ml-alert-set-dialog .ml-as-token-row button{min-height:30px!important;padding:3px 10px!important;border:1px solid #53656f!important;border-radius:999px!important;background:#1d2a31!important;color:#e9eef0!important;font:inherit!important}
.ml-alert-set-dialog .ml-as-token-row button.selected,.ml-alert-set-dialog .ml-as-token-row button[aria-pressed="true"]{background:#e9eef0!important;color:#10191e!important;border-color:#e9eef0!important}
.ml-alert-set-dialog .ml-alert-set-test:disabled{opacity:.42!important;cursor:default!important}

/* MindLife v0.1.97 — S05 touch intent: flick/scroll first, hold to drag. */
@media (pointer:coarse){
  .ml-schedule-event-wrap,
  .ml-schedule-event,
  .ml-sch-resize-handle{touch-action:pan-y!important;}
  .ml-schedule-event-wrap.ml-sch-touch-armed .ml-schedule-event{
    box-shadow:0 0 0 2px rgba(255,255,255,.62),0 4px 12px rgba(0,0,0,.38)!important;
  }
}

/* MindLife v0.1.98 — past-but-unresolved Schedule alert cue. */
.ml-sch-alert-led.ml-sch-alert-unresolved{
  background:#fff!important;
  border:1px solid rgba(0,0,0,.72)!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.92),0 0 0 1px rgba(255,255,255,.55)!important;
}
.ml-sch-alert-led.ml-sch-alert-unresolved::after{
  content:'';
  position:absolute;
  width:3px;height:3px;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:rgba(0,0,0,.72);
}
.ml-sch-alert-led.ml-sch-alert-unresolved.ml-sch-alert-cue{
  animation:mlPastUnresolvedCue .58s ease-in-out 3;
}
@keyframes mlPastUnresolvedCue{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.18;transform:scale(.72)}
}
@media (prefers-reduced-motion:reduce){
  .ml-sch-alert-led.ml-sch-alert-unresolved.ml-sch-alert-cue{animation:none!important;}
}

/* v0.1.99 Prayer v1 foundation */
.ml-prayer-hands{position:absolute;right:48px;bottom:22px;width:48px;height:48px;border:0;background:transparent;color:#6fb34a;font-size:28px;line-height:1;cursor:pointer;filter:drop-shadow(0 1px 0 rgba(255,255,255,.18)) drop-shadow(0 -1px 0 rgba(0,0,0,.65));opacity:.82;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ml-auth-body{position:relative;min-height:520px}
.ml-prayer-capture-dialog{width:min(92vw,430px);border:1px solid #53636a;border-radius:14px;background:#11191d;color:#fff;padding:0;box-shadow:0 18px 60px rgba(0,0,0,.55)}
.ml-prayer-capture-dialog::backdrop{background:rgba(0,0,0,.72)}
.ml-prayer-capture-form{position:relative;padding:24px;text-align:left}.ml-prayer-capture-form h2{text-align:center;margin:0 0 22px;font-size:20px;letter-spacing:.08em}.ml-prayer-capture-form label{display:block;margin:0 0 16px;color:#cbd4d8;font-size:13px}.ml-prayer-capture-form input,.ml-prayer-capture-form textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #596970;border-radius:8px;background:#070b0d;color:#fff;padding:12px;font-size:17px}.ml-prayer-capture-x{position:absolute;left:14px;top:12px;border:0;background:none;color:#c9d0d3;font-size:28px}.ml-prayer-capture-save{display:block;margin-left:auto;width:48px;height:48px;border:0;border-radius:50%;background:#5d9e34;color:#fff;font-size:25px}
.ml-prayer,.ml-prayer-person,.ml-prayer-captures{max-width:900px;margin:0 auto;padding:8px 8px 42px}.ml-prayer-tools{display:flex;gap:8px;align-items:center;margin:4px 0 12px}.ml-prayer-tools button{border:1px solid #536168;border-radius:9px;background:#11191d;color:#dce3e6;padding:9px 14px;font-size:14px}.ml-prayer-tools button.active{background:#31444d;border-color:#7f969f}.ml-prayer-tools .ml-prayer-add{margin-left:auto;font-size:21px;padding:5px 12px}.ml-prayer-capture-queue{width:100%;text-align:left;border:1px solid #58714a;border-radius:9px;background:#172118;color:#dce9d6;padding:10px 12px;margin-bottom:10px}.ml-prayer-row{position:relative;display:grid;grid-template-columns:minmax(90px,28%) 1fr;gap:10px;align-items:start;border-bottom:1px solid rgba(255,255,255,.08);padding:9px 24px 9px 2px}.ml-prayer-name{border:0;background:none;color:#dce8ed;text-align:left;padding:0;font:inherit;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.ml-prayer-short{color:#c5cccf;line-height:1.3;white-space:normal}.ml-prayer-every{position:absolute;right:5px;top:9px;color:#78ad5c;font-size:18px}.ml-prayer-empty{padding:30px 10px;color:#9aa5aa;text-align:center}.ml-prayer-new{margin:14px 0;padding:14px;border:1px solid #526068;border-radius:10px;background:#0b1013}.ml-prayer-new input,.ml-prayer-new textarea,.ml-prayer-about,.ml-prayer-add-request textarea,.ml-prayer-note-form textarea{width:100%;box-sizing:border-box;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:10px;font-size:16px;margin-bottom:9px}.ml-prayer-new>div{display:flex;justify-content:flex-end;gap:8px}.ml-prayer-new button,.ml-prayer-person button,.ml-prayer-captures button,.ml-prayer-captures select{border:1px solid #596970;border-radius:8px;background:#172127;color:#e8edef;padding:8px 11px}.ml-prayer-person h3{font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#aeb9be;margin:22px 0 8px}.ml-prayer-person-head{display:flex;justify-content:space-between;align-items:center}.ml-prayer-requests article,.ml-prayer-answered article,.ml-prayer-notes article,.ml-prayer-captures article{border-bottom:1px solid rgba(255,255,255,.08);padding:10px 2px}.ml-prayer-requests article>div{display:flex;gap:6px;margin-top:8px}.ml-prayer-answered small{display:block;color:#8eaa80;margin-top:4px}.ml-prayer-note-form button,.ml-prayer-about-save{display:block;margin-left:auto}.ml-prayer-notes p{margin:4px 0;color:#c7ced1}.ml-prayer-notes small{color:#89969c}.ml-prayer-captures article h3{margin:0 0 5px}.ml-prayer-captures article p{margin:0 0 10px;color:#c7ced1}.ml-prayer-captures article>div{display:flex;gap:7px;flex-wrap:wrap}.ml-prayer-captures .danger{border-color:#764444;color:#e5bcbc}
@media(max-width:520px){.ml-prayer-row{grid-template-columns:minmax(82px,32%) 1fr}.ml-prayer-hands{right:28px;bottom:16px}.ml-prayer-captures article>div>*{flex:1 1 auto}}
.ml-prayer-hands svg{width:31px;height:31px;display:block;margin:auto;fill:currentColor;filter:drop-shadow(0 1px 0 rgba(255,255,255,.16)) drop-shadow(0 -1px 0 rgba(0,0,0,.8))}.ml-auth-prayer-saved{max-width:360px;margin:0 auto 16px;border:1px solid #4f6c43;background:#172218;color:#cfe3c7;padding:9px 12px;border-radius:8px;text-align:left}
/* v0.2.00 Import / Export */
.ml-import-export-dialog{width:min(680px,94vw);max-height:88vh;border:0;border-radius:18px;background:#222;color:#eee;padding:0;box-shadow:0 24px 80px #0009}.ml-import-export-dialog::backdrop{background:#0009}.ml-import-export-body{padding:18px 22px 26px}.ml-ie-section{border:1px solid #ffffff1c;border-radius:14px;padding:18px;background:#ffffff08}.ml-ie-section h3{margin:0 0 6px}.ml-ie-section p{margin:0 0 16px;color:#bbb}.ml-ie-file-label{display:grid;gap:7px;font-weight:700}.ml-ie-file-label input{width:100%;box-sizing:border-box;padding:10px;border-radius:9px;background:#151515;color:#eee;border:1px solid #ffffff24}.ml-ie-actions,.ml-ie-export{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.ml-ie-actions button,.ml-ie-export button,.ml-import-export-open{border:0;border-radius:10px;padding:10px 14px;font-weight:700}.ml-prayer-import-status{margin-top:14px;font-weight:700}.ml-prayer-import-preview{margin-top:8px;color:#bbb}.ml-prayer-import-preview ul{margin:6px 0 0 20px}.ml-ie-ok{color:#cfd9cf}.ml-ie-export{padding-top:14px;border-top:1px solid #ffffff18;margin-top:18px}


/* v0.2.02 — MindLife-wide visible stacking for simultaneous error toasts */
.ml-error-toast{top:calc(max(10px, env(safe-area-inset-top)) + var(--ml-error-stack-offset,0px))!important;transition:top .16s ease!important;}

/* v0.2.03 — compact layered errors, D30 close, S06 Prayer Quick Capture */
.ml-error-toast{top:max(10px,env(safe-area-inset-top))!important;transform:translateX(calc(-50% + var(--ml-error-stack-x,0px))) translateY(var(--ml-error-stack-y,0px))!important;transition:transform .14s ease!important;}
.ml-import-export-dialog .ml-ie-close{width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;margin:0!important;border:2px solid rgba(255,255,255,.9)!important;border-radius:50%!important;background:#fff!important;color:#a51f1f!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 2px 8px rgba(0,0,0,.35)!important;cursor:pointer!important;}
.ml-import-export-dialog .ml-ie-close span{display:block!important;font-size:34px!important;line-height:1!important;font-weight:900!important;transform:translateY(-1px)!important;}
.ml-lock-body{position:relative;}
.ml-lock-screen .ml-lock-prayer-hands{right:18px;bottom:18px;color:#75b653;opacity:.78;z-index:4;}
.ml-lock-screen .ml-lock-prayer-hands[hidden]{display:none!important;}

/* v0.2.04 — S06 Quick Prayer Capture recovery + lower-right anchor */
.ml-lock-screen .ml-lock-prayer-hands{position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;z-index:105!important;}

/* v0.2.05 — Prayer list actions and resilient CSV import */
.ml-prayer-row-actions{position:fixed;z-index:2147483000;min-width:170px;padding:7px;border:1px solid #596970;border-radius:11px;background:#172127;box-shadow:0 12px 34px rgba(0,0,0,.62);display:grid;gap:5px}
.ml-prayer-row-actions button{border:0;border-radius:8px;padding:10px 12px;text-align:left;background:#26333a;color:#fff;font-weight:700}
.ml-prayer-row-actions button.danger{background:#5b1717;color:#fff}
.ml-prayer-import-fallback{margin-top:10px;color:#c5cccf;font-size:13px}

/* v0.2.07 — Prayer developer IDs */
.ml-dev-inline-id{display:none;position:absolute;top:8px;right:10px;z-index:4;padding:3px 7px;border-radius:6px;border:1px solid #ffffff33;background:#263138;color:#aebbc2;font-size:11px;line-height:1;font-weight:800;letter-spacing:.05em}
.ml-app[data-dev="1"] .ml-dev-inline-id,.ml-dev-on .ml-dev-inline-id{display:inline-block}
.ml-prayer-capture-dialog,.ml-prayer-new,.ml-prayer-row-actions{position:relative}

.ml-file-intake-diagnostic{margin-top:10px;padding:10px 12px;border-radius:9px;background:#111;color:#cfd6d8;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.ml-file-intake-diagnostic:empty{display:none}
/* v0.2.10 — S06 Quick Prayer Capture: more desktop breathing room; preserve iPhone placement. */
@media (min-width:521px){.ml-lock-screen .ml-lock-prayer-hands{right:max(56px,env(safe-area-inset-right))!important;}}
@media (max-width:520px){.ml-lock-screen .ml-lock-prayer-hands{right:max(18px,env(safe-area-inset-right))!important;}}

/* v0.2.16 — Prayer cleanup, delete affordances, definitive S06 hands placement */
@media (min-width:521px){body .ml-lock-screen .ml-lock-prayer-hands{right:76px!important;left:auto!important;}}
@media (max-width:520px){body .ml-lock-screen .ml-lock-prayer-hands{right:max(18px,env(safe-area-inset-right))!important;left:auto!important;}}
.ml-prayer-request-delete,.ml-prayer-note-delete,.ml-prayer-delete{border-color:#764444!important;color:#efb8b8!important;background:#351515!important;}
.ml-prayer-note-delete{padding:5px 9px!important;font-size:12px!important;}
/* v0.2.17 Instant Voice Capture */
.ml-lock-screen .ml-lock-voice-mic{position:fixed!important;left:max(18px,env(safe-area-inset-left))!important;right:auto!important;bottom:max(18px,env(safe-area-inset-bottom))!important;width:48px;height:48px;border:0;background:transparent;color:#75b653;opacity:.82;z-index:105;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;filter:drop-shadow(0 1px 0 rgba(255,255,255,.16)) drop-shadow(0 -1px 0 rgba(0,0,0,.8))}
.ml-lock-screen .ml-lock-voice-mic[hidden]{display:none!important}.ml-lock-voice-mic svg{width:31px;height:31px;display:block;margin:auto;fill:currentColor}
.ml-voice-recorder-dialog,.ml-voice-library-dialog{border:0;padding:0;background:transparent;color:#eee;max-width:min(94vw,560px);width:min(94vw,560px)}
.ml-voice-recorder-dialog::backdrop,.ml-voice-library-dialog::backdrop{background:rgba(0,0,0,.76)}
.ml-voice-recorder-card,.ml-voice-library-card{position:relative;background:#171a1d;border:1px solid #343a3f;border-radius:16px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.55)}
.ml-voice-recorder-card h2,.ml-voice-library-card h2{margin:0 0 22px;text-align:center;letter-spacing:.12em}.ml-voice-close,.ml-voice-library-close{position:absolute;right:14px;top:12px;width:44px;height:44px;border-radius:50%;border:1px solid #555;background:#222;color:#eee;font-size:28px;line-height:1}
.ml-voice-state{text-align:center;font-weight:800;letter-spacing:.16em;color:#75b653}.ml-voice-timer{text-align:center;font-size:clamp(48px,13vw,78px);font-variant-numeric:tabular-nums;font-weight:300;margin:14px 0}.ml-voice-live-dot{width:14px;height:14px;border-radius:50%;background:#b83939;margin:0 auto 24px;animation:mlVoicePulse 1.2s ease-in-out infinite}.ml-voice-paused .ml-voice-live-dot,.ml-voice-reviewing .ml-voice-live-dot{animation:none;opacity:.25}@keyframes mlVoicePulse{50%{opacity:.28}}
.ml-voice-record-actions,.ml-voice-review-actions{display:flex;gap:12px;justify-content:center}.ml-voice-record-actions button,.ml-voice-review-actions button{min-height:52px;min-width:120px;border-radius:10px;border:1px solid #4b5359;background:#252b2f;color:#eee;font-size:17px;font-weight:700}.ml-voice-stop{background:#8f3030!important;border-color:#b74a4a!important}.ml-voice-save{background:#315f37!important;border-color:#4b8553!important}.ml-voice-review audio,.ml-voice-item audio{width:100%;margin:16px 0}.ml-voice-review label{display:block;font-weight:700}.ml-voice-review input,.ml-voice-item-title{box-sizing:border-box;width:100%;min-height:46px;margin-top:7px;border:1px solid #4b5359;border-radius:8px;background:#0f1113;color:#eee;padding:9px 11px;font-size:16px}.ml-voice-message{min-height:24px;text-align:center;margin-top:12px;color:#cdd5d8}
.ml-voice-library-list{display:grid;gap:12px;max-height:65vh;overflow:auto}.ml-voice-item{border:1px solid #343a3f;border-radius:11px;padding:13px;background:#101315}.ml-voice-item small{display:block;color:#aab2b6;margin:7px 0}.ml-voice-item>div{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}.ml-voice-item button{min-height:42px;border-radius:8px;border:1px solid #4b5359;background:#252b2f;color:#eee;padding:7px 12px}.ml-voice-item .danger,.ml-voice-review .danger{border-color:#7d3c3c;color:#f0c4c4}.ml-voice-empty{text-align:center;color:#b8c0c4;padding:28px 8px}
@media(min-width:521px){.ml-lock-screen .ml-lock-voice-mic{left:28px!important}}

/* v0.2.18 Voice Recorder — authenticated entry points + live audio monitor */
:root{--ml-voice-green:#75b653}
.ml-top-voice-mic{color:var(--ml-voice-green)!important}
.ml-top-voice-mic svg{width:24px;height:24px;display:block;fill:currentColor}
.ml-voice-monitor{margin:0 auto 20px;max-width:480px}
.ml-voice-wave{display:block;width:100%;height:82px;background:#0d1011;border:1px solid #30373a;border-radius:9px}
.ml-voice-meter{height:8px;margin:9px 0 5px;background:#30363a;border-radius:999px;overflow:hidden}
.ml-voice-meter-fill{display:block;width:0;height:100%;background:var(--ml-voice-green);transition:width .08s linear}
.ml-voice-db{display:block;text-align:right;color:#aeb7ba;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.ml-voice-new-recording{display:block;width:100%;min-height:52px;margin:0 0 18px;border:1px solid #4b8553;border-radius:10px;background:#315f37;color:#fff;font-size:17px;font-weight:800}
.ml-voice-new-recording span{color:var(--ml-voice-green);margin-right:7px}

/* v0.2.24 D35 Voice Recorder is a MindLife module, not a browser modal. */
.ml-voice-module{width:100%;max-width:760px;margin:0 auto;padding:10px 10px 28px;box-sizing:border-box}
.ml-voice-module .ml-voice-library-card{box-shadow:none;min-height:calc(100dvh - 190px);display:flex;flex-direction:column}
.ml-voice-module .ml-voice-library-list{max-height:none;flex:1}
.ml-voice-module-actions{display:flex;justify-content:flex-end;padding-top:18px}
.ml-voice-module-done{min-width:132px;min-height:48px;border-radius:10px;border:1px solid #566067;background:#293036;color:#f3f3f3;font-weight:800;font-size:18px;letter-spacing:.04em}


/* v0.2.26 D35 Recorder Deck Foundation — module architecture only */
.ml-full-voice-module{max-width:820px}.ml-full-voice-deck{background:#171a1d;border:1px solid #343a3f;border-radius:16px;padding:24px;min-height:calc(100dvh - 190px);box-sizing:border-box}.ml-full-voice-deck h2{text-align:center;margin:0 0 22px;letter-spacing:.12em}.ml-full-voice-display{border:1px solid #343b3f;border-radius:12px;background:#0c0f10;padding:20px 18px 16px}.ml-full-voice-counter{text-align:center;font-size:clamp(48px,10vw,78px);line-height:1;font-weight:300;font-variant-numeric:tabular-nums;letter-spacing:.03em}.ml-full-vu{margin-top:18px}.ml-full-vu-scale{display:flex;justify-content:space-between;color:#9da8ac;font-size:12px}.ml-full-vu-track{height:28px;position:relative;border:1px solid #465158;border-radius:6px;overflow:hidden;background:repeating-linear-gradient(90deg,#151a1c 0,#151a1c 17px,#0c1011 17px,#0c1011 23px)}.ml-full-vu-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:rgba(93,170,102,.52);transition:width .06s linear}.ml-full-vu-peak{position:absolute;top:0;bottom:0;left:0;width:2px;background:#f0d74a;box-shadow:0 0 5px rgba(240,215,74,.55);transition:left .055s linear}.ml-full-voice-name{text-align:center;color:#aeb8bc;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-full-voice-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.ml-full-voice-controls button{min-height:76px;border:1px solid #4b5359;border-radius:9px;background:#202629;color:#d4d9db;font-size:27px;font-weight:800}.ml-full-voice-controls button small{display:block;font-size:11px;letter-spacing:.08em;margin-top:8px}.ml-full-voice-controls .led-green{color:#6d8f72}.ml-full-voice-controls .led-green.active{color:#58df70;border-color:#3c8f4b}.ml-full-voice-controls .led-red{color:#a76565}.ml-full-voice-controls .led-red.active{color:#ff4d4d;border-color:#a13d3d}.ml-full-voice-controls .led-red.active .ml-rec-dot{display:inline-block;animation:mlFullRecBlink 1s step-end infinite}@keyframes mlFullRecBlink{50%{opacity:.18}}.ml-rewind-deltas{display:inline-flex}.ml-rewind-deltas i{font-style:normal}.ml-rewind-deltas i+i{margin-left:-8px}.ml-full-voice-save-row{margin-top:16px;padding:16px;border:1px solid #3b4449;border-radius:10px}.ml-full-voice-save-row label{display:block;font-weight:700}.ml-full-voice-save-row input{box-sizing:border-box;width:100%;min-height:46px;margin:7px 0 14px;border:1px solid #4b5359;border-radius:8px;background:#0f1113;color:#eee;padding:9px 11px;font-size:16px}.ml-full-voice-save-row>div{display:flex;justify-content:flex-end;gap:12px}.ml-full-voice-save-row button{min-width:120px;min-height:48px;border-radius:9px;border:1px solid #4b5359;background:#252b2f;color:#eee;font-size:17px;font-weight:800}.ml-full-voice-save{background:#315f37!important;border-color:#4b8553!important}.ml-save-pulse{animation:mlSavePulse 1.5s ease-in-out infinite}@keyframes mlSavePulse{50%{box-shadow:0 0 0 5px rgba(83,170,91,.18),0 0 18px rgba(83,170,91,.35)}}.ml-full-voice-no-file{border:1px solid #485157;border-radius:14px;background:#171a1d;color:#eee;padding:22px;max-width:min(88vw,420px)}.ml-full-voice-no-file::backdrop{background:rgba(0,0,0,.65)}.ml-full-voice-no-file h3{margin-top:0}.ml-full-voice-no-file .ml-dialog-actions{display:flex;justify-content:flex-end}.ml-full-voice-no-file button{min-width:90px;min-height:42px}
@media(max-width:520px){.ml-full-voice-deck{padding:20px 12px}.ml-full-voice-controls{gap:6px}.ml-full-voice-controls button{font-size:22px;padding:7px 3px}.ml-full-voice-controls button small{font-size:9px}.ml-full-voice-save-row>div{justify-content:stretch}.ml-full-voice-save-row button{flex:1;min-width:0}}

/* v0.2.27 D35 Recordings Library — isolated module layer */
.ml-full-library-toggle{display:block;width:100%;min-height:56px;margin-top:16px;border:1px solid #4b5359;border-radius:10px;background:#202629;color:#f1f3f4;font-size:18px;font-weight:800;letter-spacing:.05em}.ml-full-library-toggle span{display:inline-block;margin-left:10px;color:#78b27e;font-size:25px;line-height:1;vertical-align:-2px}.ml-full-library-panel{margin-top:14px;border:1px solid #3b4449;border-radius:12px;background:#0c1011;padding:16px}.ml-full-library-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #30383c;padding-bottom:10px}.ml-full-library-head h3{margin:0;font-size:19px;letter-spacing:.08em}.ml-full-library-close{border:0;background:transparent;color:#e7e9ea;font-size:27px;font-weight:800;min-width:42px;min-height:42px}.ml-full-library-sort{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 12px}.ml-full-library-sort button{min-height:42px;border:1px solid #465057;border-radius:8px;background:#202629;color:#d6dcde;font-weight:800}.ml-full-library-sort button.active{border-color:#668b6b;color:#8bc792;background:#1d2b20}.ml-full-library-future{letter-spacing:.05em}.ml-full-library-volume{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:0 0 14px;color:#bfc7ca;font-weight:800;font-size:12px;letter-spacing:.08em}.ml-full-library-volume input{width:100%}.ml-full-library-volume output{min-width:44px;text-align:right}.ml-full-library-list{max-height:42dvh;overflow:auto;border-top:1px solid #293034}.ml-full-library-row{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #293034}.ml-full-library-play,.ml-full-library-delete{width:48px;height:48px;border-radius:8px;border:1px solid #465057;background:#1c2225;font-size:23px;font-weight:800}.ml-full-library-play{color:#78b27e}.ml-full-library-play.playing{animation:mlLibraryPlayPulse 1.1s ease-in-out infinite;color:#69df78;border-color:#4a9d56}@keyframes mlLibraryPlayPulse{50%{opacity:.35;transform:scale(.94)}}.ml-full-library-delete{color:#e59a9a;border-color:#814343}.ml-full-library-name{min-width:0;cursor:pointer}.ml-full-library-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}.ml-full-library-name small{display:block;margin-top:3px;color:#98a3a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-full-recover-toggle{margin-top:14px;min-height:42px;border:1px solid #465057;border-radius:8px;background:#202629;color:#cdd3d5;font-weight:800}.ml-full-recover-count{display:inline-block;min-width:20px;margin-left:6px;border-radius:10px;background:#343c40;padding:2px 6px}.ml-full-recover-list{margin-top:8px}.ml-full-recover-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #293034}.ml-full-recover-row strong,.ml-full-recover-row small{display:block}.ml-full-recover-row small{color:#98a3a7;margin-top:2px}.ml-full-recover-row button{min-height:38px;border:1px solid #527058;border-radius:7px;background:#1d2b20;color:#8bc792;font-weight:800}.ml-voice-empty{padding:18px 4px;color:#98a3a7;text-align:center}
@media(max-width:520px){.ml-full-library-panel{padding:12px}.ml-full-library-row{grid-template-columns:46px minmax(0,1fr) 46px;gap:7px}.ml-full-library-play,.ml-full-library-delete{width:44px;height:44px}.ml-full-library-sort{gap:5px}.ml-full-library-sort button{font-size:11px}}


/* v0.2.29 Recorder Utilities — Speed, AGC, varispeed warning, sort direction */
.ml-full-voice-utilities{display:flex;justify-content:center;gap:10px;margin:-4px 0 14px}.ml-full-voice-utilities button{min-width:92px;min-height:44px;border:1px solid #4b5359;border-radius:8px;background:#202629;color:#d8dddf;font-size:15px;font-weight:800;letter-spacing:.04em}.ml-full-voice-speed.active{border-color:#9b7c42;color:#f0c56b;background:#2b251a}.ml-full-voice-agc.active{border-color:#4b8553;color:#7bdb86;background:#1d2b20;box-shadow:0 0 10px rgba(83,170,91,.12)}.ml-full-voice-varispeed-warning{margin:-5px 0 14px;padding:9px 12px;border:1px solid #9a4242;border-radius:8px;background:#431d1d;color:#ffd2d2;text-align:center;font-size:13px;font-weight:900;letter-spacing:.06em}.ml-full-voice-varispeed-warning.recording{animation:mlVarispeedWarn 1.8s ease-in-out infinite}@keyframes mlVarispeedWarn{50%{background:#682525;box-shadow:0 0 14px rgba(200,58,58,.28)}}.ml-full-library-sort .ml-sort-arrow{display:inline-block;margin-left:4px;font-size:10px;opacity:.55}.ml-full-library-sort button.active .ml-sort-arrow{opacity:1;color:#a6d7aa}
@media(max-width:520px){.ml-full-voice-utilities{justify-content:flex-end}.ml-full-voice-utilities button{min-width:84px;min-height:42px;font-size:14px}.ml-full-voice-varispeed-warning{font-size:11px}}
/* v0.2.29 Recorder Foundation Polish & Safety */
.ml-full-voice-controls .ml-transport-icon{display:flex;height:32px;align-items:center;justify-content:center;font-size:30px;line-height:1;font-weight:800}
.ml-full-voice-controls .ml-pause-icon{display:flex;flex-direction:row;gap:7px;align-items:center;justify-content:center}.ml-full-voice-controls .ml-pause-icon i{display:block;width:6px;height:30px;border-radius:1px;background:currentColor}
.ml-full-voice-controls .ml-rewind-deltas{font-size:30px}
.ml-full-voice-controls .ml-rec-dot{font-size:36px}.ml-full-voice-controls .ml-full-voice-stop .ml-transport-icon{font-size:36px}
.ml-full-voice-unsaved{border:0;background:transparent;padding:0;max-width:min(90vw,460px)}
.ml-full-voice-unsaved::backdrop{background:rgba(0,0,0,.7)}
.ml-unsaved-card{background:#171a1d;color:#f1f1f1;border:1px solid #4a5359;border-radius:14px;padding:22px;box-shadow:0 18px 50px rgba(0,0,0,.45)}
.ml-unsaved-card h3{margin:0 0 8px}.ml-unsaved-card p{margin:0 0 20px;color:#b9c1c5}.ml-unsaved-actions{display:flex;justify-content:flex-end;gap:10px}.ml-unsaved-actions button{min-width:92px;min-height:44px;border-radius:9px;border:1px solid #515b61;background:#252b2f;color:#eee;font-weight:800}.ml-unsaved-actions .primary{background:#315f37;border-color:#4b8553}.ml-unsaved-actions .danger{background:#512f32;border-color:#825055}

/* v0.2.30 recorder final polish */
.ml-full-voice-stop .ml-transport-icon{font-size:36px}
.ml-full-voice-record .ml-rec-dot{font-size:36px}
.ml-full-voice-agc,.ml-full-voice-agc.active{animation:none!important}
.ml-full-library-head{gap:12px}
.ml-full-library-counts{margin-left:auto;color:#aeb8bc;font:800 14px/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.08em;white-space:nowrap;font-variant-numeric:tabular-nums}
.ml-full-library-head .ml-full-library-close{margin-left:2px}

/* v0.2.32 — D35 EDIT Foundation: isolated, nondestructive waveform navigation */
.ml-full-voice-edit{border-color:#a8682d!important;color:#e7a25d!important;background:#2d2117!important}.ml-full-voice-edit.active{background:#7a431d!important;color:#ffd3a1!important;box-shadow:0 0 12px rgba(221,132,55,.2)}
.ml-full-voice-edit-panel{border:1px solid #3d454a;border-radius:12px;background:#0c0f10;padding:14px 14px 16px;margin-bottom:18px}.ml-edit-counters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.ml-edit-counters>div{position:relative;text-align:center;border:1px solid #343b3f;border-radius:8px;padding:9px;background:#111517}.ml-edit-counters small{display:block;color:#8f999d;font-size:9px;letter-spacing:.14em}.ml-edit-counters strong{display:block;font-variant-numeric:tabular-nums;font-size:clamp(24px,5vw,36px);font-weight:400;letter-spacing:.03em}.ml-edit-zero{position:absolute;right:6px;bottom:6px;border:1px solid #50595e;border-radius:5px;background:#202629;color:#cbd1d3;font-size:9px;padding:4px 6px}.ml-edit-wave-wrap{position:relative;height:210px;border:1px solid #465158;border-radius:8px;background:#080a0b;overflow:hidden;touch-action:none;user-select:none}.ml-edit-wave{display:block;width:100%;height:100%}.ml-edit-playhead{position:absolute;top:0;bottom:0;left:0;width:2px;background:#f0d74a;box-shadow:0 0 5px rgba(240,215,74,.55);pointer-events:none}.ml-edit-markers{position:absolute;inset:0;pointer-events:none}.ml-edit-marker{pointer-events:auto;position:absolute;top:0;bottom:0;width:2px;padding:0;border:0;background:#e1a338;color:#171a1d;transform:translateX(-1px)}.ml-edit-marker span{position:absolute;top:4px;left:3px;min-width:17px;height:17px;line-height:17px;border-radius:9px;background:#e1a338;font-size:9px;font-weight:900}.ml-edit-zoom{position:absolute;right:7px;top:7px;border:1px solid #8a7444;border-radius:5px;background:#282113;color:#f0c56b;font-weight:900;font-size:11px;padding:5px 7px}.ml-edit-transport{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:10px}.ml-edit-transport button{min-height:42px;border:1px solid #485158;border-radius:7px;background:#202629;color:#d9dddf;font-weight:800}.ml-edit-transport .ml-edit-mark{border-color:#8a6a32;color:#efbd55;background:#2a2317}.ml-edit-mode .ml-full-voice-controls{opacity:.58}.ml-edit-mode .ml-full-voice-utilities{margin-top:0}
@media(max-width:520px){.ml-full-voice-edit-panel{padding:10px 8px}.ml-edit-wave-wrap{height:180px}.ml-edit-counters{gap:6px}.ml-edit-counters strong{font-size:23px}.ml-edit-transport{gap:3px}.ml-edit-transport button{font-size:11px;padding:4px 1px}.ml-edit-zero{position:static;margin-top:4px}}

/* v0.2.33 — EDIT refinement: flip, geared scrub, visual waveform gain, transport polish */
.ml-full-voice-edit-panel,.ml-full-voice-display{transform-style:preserve-3d;backface-visibility:hidden}.ml-edit-flip-in{animation:mlEditFlipIn .34s ease-out both}.ml-edit-flip-out{animation:mlEditFlipOut .24s ease-in both}.ml-edit-flip-back{animation:mlEditFlipBack .34s ease-out both}@keyframes mlEditFlipIn{from{opacity:.35;transform:perspective(900px) rotateY(78deg) scale(.98)}to{opacity:1;transform:perspective(900px) rotateY(0) scale(1)}}@keyframes mlEditFlipOut{from{opacity:1;transform:perspective(900px) rotateY(0)}to{opacity:.25;transform:perspective(900px) rotateY(-78deg)}}@keyframes mlEditFlipBack{from{opacity:.35;transform:perspective(900px) rotateY(-78deg) scale(.98)}to{opacity:1;transform:perspective(900px) rotateY(0) scale(1)}}
.ml-edit-transport{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.ml-edit-transport .ml-edit-stop{font-size:22px}.ml-edit-transport .ml-edit-play{color:#aeb7bb;transition:background .16s ease,color .16s ease,box-shadow .16s ease,border-color .16s ease}.ml-edit-transport .ml-edit-play.playing{color:#9beaab;border-color:#4f9d61;background:#18351f;box-shadow:0 0 13px rgba(88,201,112,.42),inset 0 0 10px rgba(88,201,112,.12)}.ml-edit-pause-bars{display:inline-flex;align-items:center;gap:4px;height:18px}.ml-edit-pause-bars i{display:block;width:4px;height:17px;border-radius:1px;background:currentColor}
.ml-edit-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:8px}.ml-edit-tools button{min-height:38px;border:1px solid #485158;border-radius:7px;background:#202629;color:#d9dddf;font-weight:800}.ml-edit-tools .ml-edit-mark{border-color:#8a6a32;color:#efbd55;background:#2a2317}.ml-edit-tools .ml-edit-future-slot{opacity:.38;cursor:default}.ml-edit-zoom{z-index:8}
@media(max-width:520px){.ml-edit-transport,.ml-edit-tools{gap:4px}.ml-edit-tools button{font-size:10px;padding:4px 1px}}
@media(prefers-reduced-motion:reduce){.ml-edit-flip-in,.ml-edit-flip-out,.ml-edit-flip-back{animation:none!important}}


/* v0.2.34 — WAV EDITOR navigation, markers, scrub audition, zoom and time ruler */
.ml-edit-counters>div[role="button"]{cursor:pointer;transition:border-color .15s ease,background .15s ease}.ml-edit-counters>div[role="button"]:hover{border-color:#59656b;background:#151a1c}.ml-edit-wave-controls{position:absolute;right:7px;bottom:29px;z-index:9;display:flex;gap:5px}.ml-edit-wave-controls button{border:1px solid #6b6250;border-radius:5px;background:#211e18;color:#e2c276;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;padding:5px 7px;min-width:42px}.ml-edit-zoom{position:static;right:auto;top:auto}.ml-edit-marker.selected{width:3px;background:#ffd35c;box-shadow:0 0 8px rgba(255,211,92,.55)}.ml-edit-marker.selected span{background:#ffd35c;box-shadow:0 0 7px rgba(255,211,92,.45)}.ml-edit-mode .ml-full-voice-record:disabled{opacity:.28!important;filter:saturate(.2);cursor:not-allowed;box-shadow:none!important}.ml-edit-wave-wrap{padding-bottom:0}.ml-edit-playhead{bottom:24px}.ml-edit-marker{bottom:24px}.ml-edit-markers{bottom:24px}.ml-full-voice-deck>h2{transition:color .2s ease}.ml-edit-mode>h2{color:#d99a58}
@media(max-width:520px){.ml-edit-wave-controls{right:5px;bottom:27px}.ml-edit-wave-controls button{padding:5px 6px;min-width:39px}.ml-edit-playhead,.ml-edit-marker{bottom:22px}.ml-edit-markers{bottom:22px}}

/* v0.2.36 WAV Editor workspace/navigation polish */
.ml-edit-marker-nav{position:absolute;top:7px;z-index:10;width:34px;height:30px;border:1px solid #9a6c2b;border-radius:6px;background:#2a2115;color:#e1a338;font-size:18px;font-weight:900;line-height:1;padding:0;box-shadow:0 0 7px rgba(225,163,56,.14)}
.ml-edit-prev-edge{left:7px}.ml-edit-next-edge{right:7px}
.ml-edit-volume{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:9px;padding:7px 9px;border:1px solid #3d454a;border-radius:7px;background:#111517;color:#aeb7bb;font-size:9px;font-weight:800;letter-spacing:.1em}
.ml-edit-volume input{width:100%;min-width:0}.ml-edit-volume output{min-width:38px;text-align:right;font-variant-numeric:tabular-nums;color:#d9dddf}
@media (orientation:landscape) and (max-height:520px){
  .ml-full-voice-module{padding-top:0!important}
  .ml-edit-mode>h2,.ml-edit-mode>.ml-full-voice-varispeed-warning,.ml-edit-mode>.ml-full-voice-controls,.ml-edit-mode>.ml-full-voice-utilities,.ml-edit-mode>.ml-full-voice-save-row,.ml-edit-mode>.ml-full-library-toggle,.ml-edit-mode>.ml-full-library-panel,.ml-edit-mode>.ml-voice-module-actions{display:none!important}
  .ml-full-voice-edit-panel{margin:0;padding:6px 8px 8px;border-radius:8px}
  .ml-edit-counters{margin-bottom:5px;gap:6px}
  .ml-edit-counters>div{padding:3px 6px}.ml-edit-counters small{font-size:7px}.ml-edit-counters strong{font-size:17px}.ml-edit-zero{padding:2px 5px;font-size:8px}
  .ml-edit-wave-wrap{height:calc(100vw * .28);min-height:112px;max-height:180px}
  .ml-edit-tools{margin-top:5px}.ml-edit-tools button{min-height:28px}
  .ml-edit-volume{margin-top:5px;padding:4px 7px}
  .ml-edit-transport{margin-top:5px}.ml-edit-transport button{min-height:32px}
}


/* v0.2.37 — WAV Editor precision repair, marker badge, zoom zones, full landscape workspace */
.ml-edit-wave-wrap,.ml-edit-wave-wrap *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.ml-edit-wave-controls button{position:relative;min-width:58px;padding-left:13px;padding-right:13px}
.ml-edit-wave-controls button::before,.ml-edit-wave-controls button::after{position:absolute;top:0;bottom:0;width:11px;display:flex;align-items:center;justify-content:center;color:#8f7c56;font-size:8px;opacity:.75;pointer-events:none}
.ml-edit-wave-controls button::before{content:'‹';left:1px}.ml-edit-wave-controls button::after{content:'›';right:1px}
.ml-edit-mark{position:relative}.ml-edit-mark-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:4px;padding:0 4px;border-radius:9px;background:#e1a338;color:#171a1d;font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace}
.ml-edit-tools{grid-template-columns:repeat(7,minmax(0,1fr))}.ml-edit-future-slot{color:#899195!important;opacity:.32!important;letter-spacing:.04em}
@media(max-width:520px){.ml-edit-tools{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ml-edit-tools button{font-size:9px;padding:3px 0}.ml-edit-mark-count{min-width:15px;height:15px;font-size:8px;margin-left:2px}}
@media (orientation:landscape) and (max-height:520px){
  .ml-app-shell,.ml-content,.ml-voice-module,.ml-full-voice-module,.ml-full-voice-deck{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
  .ml-full-voice-module{position:fixed!important;inset:0!important;z-index:9998!important;background:#080a0b!important;overflow:hidden!important}
  .ml-full-voice-deck.ml-edit-mode{position:absolute!important;inset:0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:#080a0b!important}
  .ml-full-voice-edit-panel{position:absolute!important;inset:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#080a0b!important;overflow:hidden!important}
  .ml-edit-counters{position:absolute;top:5px;left:50%;transform:translateX(-50%);z-index:15;width:min(330px,46vw);margin:0!important;pointer-events:auto}
  .ml-edit-counters>div{background:rgba(17,21,23,.82)!important}
  .ml-edit-wave-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important}
  .ml-edit-wave-controls{right:8px!important;bottom:118px!important}
  .ml-edit-tools{position:absolute;left:8px;right:8px;bottom:78px;z-index:16;margin:0!important}
  .ml-edit-tools button{min-height:30px!important;background:rgba(32,38,41,.88)!important}
  .ml-edit-volume{position:absolute;left:8px;right:8px;bottom:46px;z-index:16;margin:0!important;padding:3px 7px!important;background:rgba(17,21,23,.88)!important}
  .ml-edit-transport{position:absolute;left:8px;right:8px;bottom:7px;z-index:16;margin:0!important}
  .ml-edit-transport button{min-height:34px!important;background:rgba(32,38,41,.9)!important}
  .ml-edit-playhead,.ml-edit-marker,.ml-edit-markers{bottom:0!important}
}


/* v0.2.38 — playback repair, precision keyboard, clean recorder chrome */
.ml-voice-module-active .ml-top-actions,
.ml-voice-module-active .ml-top-actions-hotspot,
.ml-voice-module-active .ml-bottom-info,
.ml-voice-module-active .ml-footer,
.ml-voice-module-active .ml-day-info{display:none!important}
.ml-full-voice-speed{white-space:nowrap}


/* v0.2.39 — recorder icon balance, precision key repair, speed animal grammar, black lower field */
.ml-voice-module-active .ml-content{background:#000!important}
/* Desktop transport symbol balance only; button geometry is unchanged. */
@media(min-width:521px){
  .ml-full-voice-play .ml-transport-icon{font-size:27px}
  .ml-full-voice-rewind .ml-rewind-deltas{font-size:27px}
  .ml-full-voice-stop .ml-transport-icon{font-size:39px}
  .ml-full-voice-record .ml-rec-dot{font-size:39px}
}
/* iPhone/mobile: enlarge Play, Rewind and Rec; preserve the already-correct Stop symbol. */
@media(max-width:520px){
  .ml-full-voice-play .ml-transport-icon{font-size:34px}
  .ml-full-voice-rewind .ml-rewind-deltas{font-size:34px}
  .ml-full-voice-record .ml-rec-dot{font-size:43px}
}


/* v0.2.40 — desktop editor expand, stopped precision simplification, marker toggle */
@media(min-width:521px){
}


/* v0.2.41 — edit picker workflow, visible desktop workspace toggle, mobile transport polish */
.ml-full-voice-deck{position:relative}
.ml-full-library-edit-notice{margin:0 0 10px;padding:9px 11px;border:1px solid #8b672d;border-radius:7px;background:#211b12;color:#e4b35e;font-size:12px;font-weight:800;letter-spacing:.035em;text-align:center}
@media(min-width:521px){
}
@media(max-width:520px){
  .ml-full-voice-play .ml-transport-icon{font-size:40px!important}
  .ml-full-voice-rewind .ml-rewind-deltas{font-size:40px!important}
  .ml-full-voice-record .ml-rec-dot{font-size:50px!important}
  .ml-full-voice-stop .ml-transport-icon{font-size:inherit}
}


/* v0.2.42 — robust desktop WAV titlebar toggle, AUTO waveform default, utility-row FUT slot */
@media(min-width:521px){
}
.ml-full-voice-utilities{justify-content:flex-start!important}
.ml-full-voice-future:disabled{opacity:.32;cursor:default;box-shadow:none!important}

/* v0.2.45 — capability-driven desktop WAV workspace toggle; no viewport breakpoint */
.ml-edit-desktop-expand[hidden]{display:none!important}
.ml-full-voice-deck.ml-edit-mode>.ml-edit-desktop-expand:not([hidden]){
  display:flex;visibility:visible;opacity:1;position:absolute;top:12px;right:14px;z-index:1000;
  width:38px;height:34px;padding:0;align-items:center;justify-content:center;
  border:1px solid #596166;border-radius:6px;background:#161b1e;color:#cbd1d4;
  font:800 27px/1 Arial,sans-serif;cursor:pointer
}
.ml-full-voice-deck.ml-edit-mode>.ml-edit-desktop-expand:not([hidden]):hover{border-color:#899397;background:#1d2427}
.ml-full-voice-deck.ml-edit-desktop-expanded{
  position:fixed!important;inset:10px!important;z-index:10020!important;max-width:none!important;width:auto!important;height:auto!important;
  margin:0!important;padding:16px!important;background:#080a0b!important;overflow:hidden!important;border-radius:10px!important
}
.ml-full-voice-deck.ml-edit-desktop-expanded>.ml-full-voice-edit-panel{
  position:absolute!important;inset:58px 16px 16px!important;margin:0!important;padding:0!important;overflow:hidden!important
}
.ml-full-voice-deck.ml-edit-desktop-expanded .ml-edit-wave-wrap{height:calc(100vh - 285px)!important;min-height:260px!important}
.ml-full-voice-deck.ml-edit-desktop-expanded>.ml-full-voice-controls,
.ml-full-voice-deck.ml-edit-desktop-expanded>.ml-full-voice-utilities,
.ml-full-voice-deck.ml-edit-desktop-expanded>.ml-full-library-toggle,
.ml-full-voice-deck.ml-edit-desktop-expanded>.ml-voice-module-actions{display:none!important}

/* v0.2.45 — classic MARK count badge */
.ml-edit-mark{overflow:visible!important}
.ml-edit-mark-count{
  position:absolute!important;top:-8px!important;right:-8px!important;z-index:4!important;margin:0!important;
  min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:10px!important;
  background:#e1a338!important;color:#fff!important;border:1px solid #0c0f10!important;
  box-shadow:0 1px 4px rgba(0,0,0,.55)!important;font:900 10px/18px ui-monospace,SFMono-Regular,Menlo,monospace!important
}
/* v0.2.46 — WAV Editor Selection crossover + centered handles */
.ml-full-voice-edit-panel{position:relative}
.ml-edit-selection{position:absolute;top:0;bottom:24px;z-index:4;background:rgba(96,151,176,.22);border-left:1px solid rgba(143,204,230,.95);border-right:1px solid rgba(143,204,230,.95);pointer-events:none}
.ml-edit-selection-edge{position:absolute;top:0;bottom:0;width:14px;padding:0;border:0;background:transparent;pointer-events:auto;cursor:ew-resize;touch-action:none}
.ml-edit-selection-edge::before{content:"";position:absolute;top:0;bottom:0;width:2px;background:#8fcce6;box-shadow:0 0 5px rgba(143,204,230,.45)}
.ml-edit-selection-edge::after{content:"";position:absolute;top:50%;transform:translateY(-50%);width:8px;height:14px;border:1px solid #8fcce6;border-radius:3px;background:#17242a}
.ml-edit-selection-start-edge{left:-7px}.ml-edit-selection-start-edge::before{left:6px}.ml-edit-selection-start-edge::after{left:0}
.ml-edit-selection-end-edge{right:-7px}.ml-edit-selection-end-edge::before{right:6px}.ml-edit-selection-end-edge::after{right:0}
.ml-edit-selection-info{position:absolute;z-index:30;width:258px;padding:10px 11px 9px;border:1px solid #4d626b;border-radius:8px;background:#111719;box-shadow:0 8px 22px rgba(0,0,0,.45);color:#d9dddf;font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}
.ml-edit-selection-info>strong{display:block;margin-bottom:8px;color:#a9c9d7;font-size:10px;letter-spacing:.12em}
.ml-edit-selection-info label,.ml-edit-selection-length-row{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:6px;margin:4px 0;color:#8f999d;letter-spacing:.06em}
.ml-edit-selection-info input{width:100%;box-sizing:border-box;border:1px solid #39484e;border-radius:4px;background:#0b1012;color:#dce5e8;padding:4px 6px;font:700 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}
.ml-edit-selection-length-row b{color:#f0f3f4;font-size:12px;font-variant-numeric:tabular-nums}
.ml-edit-selection-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:8px}
.ml-edit-selection-actions button,.ml-edit-selection-clear{min-height:27px;border:1px solid #465158;border-radius:5px;background:#202629;color:#d9dddf;font-size:9px;font-weight:900}
.ml-edit-selection-actions button:disabled{opacity:.3;cursor:not-allowed}
.ml-edit-selection-clear{display:block;margin:7px auto 0;padding:3px 14px;border-color:#53636a;background:#182024;color:#cbd5d9}
@media(max-width:520px){.ml-edit-selection{bottom:22px}.ml-edit-selection-info{position:relative;width:auto;left:auto!important;top:auto!important;margin:7px 0 8px;padding:8px 9px}.ml-edit-selection-info>strong{margin-bottom:6px}.ml-edit-selection-info label,.ml-edit-selection-length-row{grid-template-columns:48px 1fr}.ml-edit-selection-actions{gap:3px}.ml-edit-selection-actions button{font-size:8px;padding:2px}.ml-edit-selection-clear{margin-top:6px}}
@media(orientation:landscape) and (max-height:520px){.ml-edit-selection{bottom:0}.ml-edit-selection-info{position:absolute;width:230px;right:8px;left:auto!important;top:8px!important;margin:0}}


/* v0.2.50 — Selection LOOP; compact Selection INFO typography; v0.2.47 zero tick + touch handles retained */
.ml-edit-selection-info label,.ml-edit-selection-length-row{grid-template-columns:54px 1fr}
.ml-edit-selection-info label{text-align:right}
.ml-edit-selection-length-row>span{text-align:right}
.ml-edit-selection-info input{font-size:11px;line-height:1.2;padding:4px 6px;font-weight:900}
.ml-edit-selection-length-row b{font-size:12px;line-height:1.2;font-weight:900}
.ml-edit-relative-zero-tick{position:absolute;z-index:7;top:0;width:2px;height:14px;background:#e1a338;box-shadow:0 0 4px rgba(225,163,56,.45);transform:translateX(-1px);pointer-events:none}
@media (pointer:coarse){
  .ml-edit-selection-edge{width:24px}
  .ml-edit-selection-start-edge{left:-12px}.ml-edit-selection-start-edge::before{left:11px}.ml-edit-selection-start-edge::after{left:3px;width:14px;height:22px;border-radius:4px}
  .ml-edit-selection-end-edge{right:-12px}.ml-edit-selection-end-edge::before{right:11px}.ml-edit-selection-end-edge::after{right:3px;width:14px;height:22px;border-radius:4px}
}
@media(max-width:520px){
  .ml-edit-selection-info label,.ml-edit-selection-length-row{grid-template-columns:48px 1fr}
}

/* v0.2.50 — Selection LOOP */
.ml-edit-selection-actions .ml-edit-selection-loop.active{border-color:#a56f2a;background:#3a2814;color:#f2a43a;box-shadow:0 0 8px rgba(225,163,56,.22)}
\n\n/* MindLife v0.2.51 — Segment 1 cleanup */\n/* D01 Topic: the field identifies itself; reclaim the former label column. */\n.ml-schedule-item-dialog .ml-sch-topic-row{display:block!important;margin-bottom:12px!important;padding-left:0!important;padding-right:0!important}\n.ml-schedule-item-dialog .ml-sch-topic-wrap{display:block!important;width:100%!important}\n.ml-schedule-item-dialog .ml-sch-topic::placeholder{color:rgba(255,255,255,.72)!important;opacity:1!important}\n\n/* D01 date/time picker buttons: visible, familiar glyphs with generous hit areas. */\n.ml-schedule-item-dialog .ml-field-picker{position:relative!important;width:38px!important;min-width:38px!important;height:38px!important;color:transparent!important;font-size:0!important;background:#18242a!important;border:1px solid #60717a!important;border-radius:7px!important;padding:0!important}\n.ml-schedule-item-dialog .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 38px!important;gap:6px!important}\n.ml-field-picker[data-for*=\"date\"]:before,.ml-field-picker[data-for*=\"until\"]:before{content:'';position:absolute;left:9px;top:10px;width:18px;height:16px;border:2px solid #a9dfff;border-radius:3px;box-sizing:border-box}\n.ml-field-picker[data-for*=\"date\"]:after,.ml-field-picker[data-for*=\"until\"]:after{content:'';position:absolute;left:9px;top:14px;width:18px;border-top:2px solid #a9dfff;box-shadow:4px -7px 0 -3px #a9dfff,12px -7px 0 -3px #a9dfff}\n.ml-field-picker[data-for*=\"start\"]:not([data-for*=\"date\"]):before,.ml-field-picker[data-for*=\"end\"]:not([data-for*=\"date\"]):before{content:'';position:absolute;left:9px;top:9px;width:18px;height:18px;border:2px solid #a9dfff;border-radius:50%;box-sizing:border-box}\n.ml-field-picker[data-for*=\"start\"]:not([data-for*=\"date\"]):after,.ml-field-picker[data-for*=\"end\"]:not([data-for*=\"date\"]):after{content:'';position:absolute;left:18px;top:13px;width:2px;height:8px;background:#a9dfff;transform-origin:bottom center;box-shadow:3px 6px 0 -0.5px #a9dfff}\n\n/* D06 real MindLife calendar. */\n.ml-date-picker-dialog{width:min(430px,94vw)!important;border-radius:18px!important;background:#121a1f!important;overflow:hidden!important}\n.ml-date-picker-dialog form{padding:0 18px 18px!important}\n.ml-date-picker-dialog .ml-schedule-dialog-head{margin:0 -18px 10px!important;padding:13px 16px!important;background:#657078!important}\n.ml-date-picker-dialog .ml-schedule-dialog-head h3{font-size:27px!important}\n.ml-date-picker-body{padding:8px 2px 2px!important}\n.ml-date-calendar-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;margin:2px 0 10px}\n.ml-date-calendar-head strong{text-align:center;font-size:21px}\n.ml-date-calendar-head button{height:40px;border:0;background:transparent;color:#d9e2e6;font-size:34px;line-height:1;border-radius:8px}\n.ml-date-weekdays,.ml-date-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}\n.ml-date-weekdays{margin-bottom:5px}.ml-date-weekdays span{text-align:center;color:#8fa0a9;font-size:11px;font-weight:800;text-transform:uppercase}\n.ml-date-calendar-grid{min-height:238px}.ml-date-blank{display:block}\n.ml-date-day{aspect-ratio:1/1;border:0;border-radius:50%;background:transparent;color:#f3f6f7;font:inherit;font-size:16px;min-width:0;padding:0}\n.ml-date-day.today{box-shadow:inset 0 0 0 1px #8eb8cc}.ml-date-day.selected{background:#2f80ed!important;color:#fff!important;font-weight:800}\n.ml-date-today{display:block;margin:13px auto 0;border:1px solid #53656f;background:#1a272d;color:#a9dfff;border-radius:8px;padding:7px 18px;font-weight:800;letter-spacing:.05em}\n\n/* D05: retain shared 5-minute architecture, improve presentation. */\n.ml-time-picker-dialog{width:min(370px,92vw)!important;height:min(590px,84dvh)!important;border-radius:18px!important;overflow:hidden!important;background:#121a1f!important}\n.ml-time-picker-dialog .ml-schedule-dialog-head{padding:13px 16px!important;background:#657078!important}.ml-time-picker-dialog .ml-schedule-dialog-head h3{font-size:27px!important}\n.ml-time-picker-list{padding:8px 14px 18px!important;scroll-snap-type:y proximity}\n.ml-time-choice{height:48px!important;border:0!important;border-bottom:1px solid #26343b!important;background:transparent!important;color:#eef3f5!important;font-size:19px!important;border-radius:8px!important;scroll-snap-align:center}\n.ml-time-choice.selected{background:#263943!important;outline:1px solid #6c8997!important;font-size:21px!important}\n\n/* D36 Alert Preview: readable, self-growing, bounded to viewport. */\ndialog.ml-alert-preview{max-height:calc(100dvh - 36px)!important;overflow:hidden!important}\n.ml-alert-preview .ml-desktop-alert-head{padding:11px 52px 11px 24px!important;min-height:48px!important;font-size:20px!important;line-height:1.2!important}\n.ml-alert-preview .ml-preview-badge{font-size:11px!important;padding:3px 7px!important;margin-left:8px!important;vertical-align:2px!important}\n.ml-alert-preview .ml-preview-main{padding:18px 24px 10px!important;max-height:calc(100dvh - 180px)!important;overflow-y:auto!important}\n.ml-alert-preview .ml-desktop-alert-title{font-size:20px!important;line-height:1.3!important;padding-right:8px!important}\n.ml-alert-preview .ml-desktop-alert-actions{padding:5px 24px 18px!important}\n.ml-alert-preview .ml-surface-id{z-index:4!important}\n@media(max-width:650px){.ml-alert-preview .ml-desktop-alert-head{padding-left:20px!important}.ml-alert-preview .ml-preview-main{padding-left:20px!important;padding-right:20px!important}.ml-alert-preview .ml-desktop-alert-actions{padding-left:20px!important;padding-right:20px!important}}\n\n/* Canonical MindLife lock grammar: gray metal shackle, red locked body, green open body. */\n.ml-lock-glyph{background:#22b84b!important;border-radius:5px!important}\n.ml-lock-glyph:before{border-color:#aeb9bf!important;border-bottom:0!important}\n.ml-lock-toggle.locked .ml-lock-glyph,.ml-lock-toggle[data-locked=\"1\"] .ml-lock-glyph{background:#e33434!important}\n.ml-lock-toggle.locked .ml-lock-glyph:before,.ml-lock-toggle[data-locked=\"1\"] .ml-lock-glyph:before{border-color:#aeb9bf!important;border-bottom:0!important;transform:none!important}\n.ml-lock-toggle.open .ml-lock-glyph,.ml-lock-toggle[data-locked=\"0\"] .ml-lock-glyph{background:#22b84b!important}\n.ml-lock-toggle.open .ml-lock-glyph:before,.ml-lock-toggle[data-locked=\"0\"] .ml-lock-glyph:before{border-color:#aeb9bf!important;border-bottom:0!important;top:-20px!important;height:18px!important;transform:rotate(180deg) translate(-4px,-4px)!important;transform-origin:50% 100%!important}\n.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{background:#22b84b!important}\n.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph{background:#e33434!important}\n.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{border-color:#aeb9bf!important;border-bottom:0!important}\n.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph:before{top:-20px!important;height:18px!important;transform:rotate(180deg) translate(-4px,-4px)!important;transform-origin:50% 100%!important;border-right-color:#aeb9bf!important}\n
/* MindLife v0.2.52 — Segment 1 correction/refinement */
/* Topic is one full-width control; no ghost label column may constrain its contents. */
.ml-schedule-item-dialog .ml-sch-topic-row{grid-column:1/-1!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ml-schedule-item-dialog .ml-sch-topic-wrap{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ml-schedule-item-dialog .ml-sch-topic{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;padding-left:12px!important;padding-right:48px!important}

/* D36: foreground preview, safe wrapping on narrow phones. */
dialog.ml-alert-preview::backdrop{background:rgba(0,0,0,.62)!important}
.ml-alert-preview .ml-desktop-alert-head,.ml-alert-preview .ml-preview-main,.ml-alert-preview .ml-desktop-alert-actions{box-sizing:border-box!important;max-width:100%!important}
.ml-alert-preview .ml-desktop-alert-head strong,.ml-alert-preview .ml-desktop-alert-title,.ml-alert-preview .ml-alert-countdown{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
@media(max-width:650px){dialog.ml-alert-preview{max-width:calc(100vw - 20px)!important}.ml-alert-preview .ml-desktop-alert-title{display:block!important;width:100%!important;padding-right:0!important}}

/* D06: fixed-position month and year controls around a stable centered title. */
.ml-date-picker-dialog{width:min(470px,96vw)!important}
.ml-date-calendar-head{display:grid!important;grid-template-columns:104px minmax(180px,1fr) 104px!important;gap:14px!important;align-items:center!important;margin:8px 0 18px!important}
.ml-date-calendar-head .ml-date-month-label{text-align:center!important;font-size:22px!important;white-space:nowrap!important;min-width:0!important}
.ml-date-nav-pair{display:grid!important;grid-template-columns:46px 46px!important;gap:8px!important}
.ml-date-year-nav{justify-self:end!important}.ml-date-month-nav{justify-self:start!important}
.ml-date-calendar-head .ml-date-nav-pair button{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:42px!important;padding:0!important;border:1px solid #aeb5b9!important;border-radius:5px!important;background:#f5f5f5!important;color:#1b2226!important;font-size:28px!important;font-weight:800!important;line-height:1!important;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12)!important}
.ml-date-weekdays,.ml-date-calendar-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;column-gap:8px!important;row-gap:8px!important;width:100%!important}
.ml-date-weekdays{margin:0 0 8px!important}.ml-date-weekdays span{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:12px!important;letter-spacing:.02em!important;white-space:nowrap!important}
.ml-date-calendar-grid{min-height:0!important}
.ml-date-day{width:100%!important;aspect-ratio:1/1!important;min-height:40px!important;border-radius:7px!important;background:#f4f4f4!important;color:#111!important;border:1px solid #aaa!important}
.ml-date-day.today{box-shadow:inset 0 0 0 2px #8eb8cc!important}.ml-date-day.selected{background:#2f80ed!important;color:#fff!important}
.ml-date-footer{margin-top:24px!important;padding-top:18px!important;border-top:1px solid #2c3940!important;text-align:center!important}
.ml-date-today{margin:0 auto!important;min-width:118px!important;min-height:42px!important}
@media(max-width:520px){.ml-date-picker-dialog{width:calc(100vw - 20px)!important}.ml-date-picker-dialog form{padding-left:12px!important;padding-right:12px!important}.ml-date-picker-dialog .ml-schedule-dialog-head{margin-left:-12px!important;margin-right:-12px!important}.ml-date-calendar-head{grid-template-columns:96px minmax(130px,1fr) 96px!important;gap:7px!important}.ml-date-nav-pair{grid-template-columns:43px 43px!important;gap:6px!important}.ml-date-calendar-head .ml-date-nav-pair button{width:43px!important;height:42px!important}.ml-date-weekdays,.ml-date-calendar-grid{column-gap:4px!important;row-gap:6px!important}.ml-date-weekdays span{font-size:10px!important}.ml-date-day{min-height:38px!important}}

/* D05: compact Apple-like three-wheel time chooser with one-minute precision. */
.ml-time-picker-dialog{width:min(430px,94vw)!important;height:auto!important;max-height:calc(100dvh - 28px)!important}
.ml-time-picker-dialog form{height:auto!important;display:block!important;padding:0 16px 18px!important}
.ml-time-picker-dialog .ml-schedule-dialog-head{margin:0 -16px 0!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;align-items:center!important;padding:13px 16px!important}
.ml-time-picker-dialog .ml-schedule-dialog-head>button:first-child{justify-self:start!important;transform:none!important;margin:0!important}
.ml-time-picker-dialog .ml-schedule-dialog-head>button:last-child{justify-self:end!important;transform:none!important;margin:0!important}
.ml-time-picker-dialog .ml-schedule-dialog-head h3{text-align:left!important;margin:0!important}
.ml-time-picker-body{padding:18px 4px 4px!important}
.ml-time-wheel-labels{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;text-align:center!important;color:#9caab1!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;margin-bottom:5px!important}
.ml-time-wheels{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;height:260px!important;overflow:hidden!important;border-top:1px solid #2b3940!important;border-bottom:1px solid #2b3940!important}
.ml-time-wheel{position:relative!important;height:260px!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;padding:104px 0!important;box-sizing:border-box!important;scrollbar-width:none!important;z-index:2!important}
.ml-time-wheel::-webkit-scrollbar{display:none!important}
.ml-time-wheel-item{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:52px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#9aa5aa!important;font:inherit!important;font-size:20px!important;scroll-snap-align:center!important;position:relative!important;z-index:2!important}
.ml-time-wheel-item.selected{color:#fff!important;font-size:25px!important;font-weight:800!important;background:transparent!important;outline:0!important}
.ml-time-wheel-focus{position:absolute!important;left:0!important;right:0!important;top:104px!important;height:52px!important;border-top:1px solid #73858e!important;border-bottom:1px solid #73858e!important;background:rgba(91,112,122,.18)!important;pointer-events:none!important;z-index:1!important}
@media(max-width:520px){.ml-time-picker-dialog{width:calc(100vw - 24px)!important}.ml-time-picker-dialog form{padding-left:12px!important;padding-right:12px!important}.ml-time-picker-dialog .ml-schedule-dialog-head{margin-left:-12px!important;margin-right:-12px!important;padding-left:14px!important;padding-right:14px!important}.ml-time-wheels,.ml-time-wheel{height:240px!important}.ml-time-wheel{padding-top:94px!important;padding-bottom:94px!important}.ml-time-wheel-focus{top:94px!important}.ml-time-wheel-item{height:52px!important}}


/* MindLife v0.2.53 — Segment 1 final refinements */
/* D36: more breathing room; PREVIEW lives near Close rather than inside title. */
.ml-alert-preview .ml-desktop-alert-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto 42px!important;gap:10px!important;align-items:center!important}
.ml-alert-preview .ml-desktop-alert-head>strong{min-width:0!important}
.ml-alert-preview .ml-preview-badge{justify-self:end!important;margin:0!important}
.ml-alert-preview .ml-preview-main>.ml-desktop-alert-title{margin-bottom:14px!important}
.ml-alert-preview .ml-alert-time-row{display:flex!important;flex-direction:column!important;gap:10px!important}
.ml-alert-preview .ml-alert-time-row small{display:block!important}
@media(max-width:650px){.ml-alert-preview .ml-desktop-alert-head{grid-template-columns:minmax(0,1fr) auto 42px!important;gap:8px!important;padding-right:12px!important}.ml-alert-preview .ml-preview-badge{font-size:12px!important}}

/* Errors belong in the top layer above whichever MindLife dialog generated them. */
dialog.ml-error-toast{height:auto!important;max-height:min(42dvh,260px)!important;border-radius:0!important;color:#fff!important;background:#571414!important}
dialog.ml-error-toast::backdrop{background:transparent!important}

/* D05: compact circular rolodex. Repeated wheel content is recentered invisibly by JS. */
.ml-time-picker-dialog{height:auto!important;max-height:none!important;align-self:center!important}
.ml-time-picker-dialog form{height:auto!important;padding-bottom:14px!important}
.ml-time-picker-body{padding:12px 4px 2px!important}
.ml-time-wheels{height:208px!important}
.ml-time-wheel{height:208px!important;padding-top:78px!important;padding-bottom:78px!important}
.ml-time-wheel-focus{top:78px!important;height:52px!important}
@media(max-width:520px){.ml-time-wheels,.ml-time-wheel{height:208px!important}.ml-time-wheel{padding-top:78px!important;padding-bottom:78px!important}.ml-time-wheel-focus{top:78px!important}}

/* D06: once opened, anchor the top edge. Variable week count may grow only downward. */
.ml-date-picker-dialog[open]{top:var(--ml-date-anchor-top,10px)!important;bottom:auto!important;margin-top:0!important;margin-bottom:0!important;transform:none!important}
.ml-date-calendar-grid{min-height:0!important}
\n\n/* MindLife v0.2.54 — Segment 1 stop-cleaning fixes */
/* D01 Topic: one geometry source. No inherited label column. */
.ml-schedule-item-dialog .ml-sch-topic-row{display:block!important;grid-template-columns:none!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-topic-wrap{position:relative!important;display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-topic{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:9px 52px 9px 14px!important}
.ml-schedule-item-dialog .ml-topic-delta{right:8px!important}

/* D05: AM/PM is a two-state choice, not a wheel. 00 is a visual landmark only. */
.ml-time-ampm{overflow:hidden!important;padding:52px 0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important;scroll-snap-type:none!important}
.ml-time-ampm .ml-time-ampm-choice{flex:0 0 52px!important;height:52px!important}
.ml-time-minute .ml-time-wheel-item[data-value="0"]{font-weight:800!important;color:#dce8ed!important}

/* D06 narrow screens: fixed Month row above fixed Year row. */
@media(max-width:520px){
 .ml-date-calendar-head{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:10px!important;position:relative!important;padding:0!important;margin:8px 0 18px!important}
 .ml-date-month-nav,.ml-date-year-nav{display:grid!important;grid-template-columns:43px minmax(0,1fr) 43px!important;width:100%!important;gap:10px!important;justify-self:stretch!important}
 .ml-date-month-nav{grid-row:1!important}.ml-date-year-nav{grid-row:2!important}
 .ml-date-month-nav .ml-date-prev{grid-column:1!important}.ml-date-month-nav .ml-date-next{grid-column:3!important}
 .ml-date-year-nav .ml-date-year-prev{grid-column:1!important}.ml-date-year-nav .ml-date-year-next{grid-column:3!important}
 .ml-date-month-label{grid-row:1!important;grid-column:1!important;z-index:2!important;pointer-events:none!important;align-self:center!important;justify-self:center!important;font-size:22px!important}
 .ml-date-month-label::first-line{font-size:22px!important}
}

/* Compact top-layer error. */
dialog.ml-error-toast{width:min(680px,calc(100vw - 24px))!important;min-height:0!important;height:auto!important;max-height:none!important;padding:14px 48px 14px 16px!important;margin:0!important;border-radius:7px!important;overflow:visible!important}
.ml-error-toast .ml-error-close{top:8px!important;right:9px!important;width:32px!important;height:32px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:6px!important}
.ml-error-toast .ml-error-close:focus,.ml-error-toast .ml-error-close:focus-visible{outline:2px solid rgba(255,255,255,.7)!important;outline-offset:2px!important;box-shadow:none!important}
.ml-date-month-label .ml-date-year-text{display:inline}.ml-date-month-label .ml-date-month-text{display:inline}.ml-date-month-label .ml-date-month-text:after{content:' '}
@media(max-width:520px){
 .ml-date-month-label{display:contents!important}
 .ml-date-month-label .ml-date-month-text{grid-row:1!important;grid-column:1!important;align-self:center!important;justify-self:center!important;z-index:3!important;pointer-events:none!important;font-size:22px!important;font-weight:800!important}
 .ml-date-month-label .ml-date-month-text:after{content:''!important}
 .ml-date-month-label .ml-date-year-text{grid-row:2!important;grid-column:1!important;align-self:center!important;justify-self:center!important;z-index:3!important;pointer-events:none!important;font-size:22px!important;font-weight:800!important}
}


/* MindLife v0.2.55 — root-cause D01/S05 refinements */
/* Topic is one flex control. The wrapper owns color/geometry; no label column survives. */
.ml-schedule-item-dialog .ml-sch-topic-row{display:block!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-topic-wrap{display:flex!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #50606a!important;border-radius:7px!important;overflow:hidden!important;background:#000}
.ml-schedule-item-dialog .ml-sch-topic{position:static!important;display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:9px 10px 9px 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-sizing:border-box!important}
.ml-schedule-item-dialog .ml-topic-delta{position:static!important;flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:auto!important;margin:0!important;transform:none!important;border-radius:0!important}
.ml-schedule-item-dialog .ml-topic-delta:active,.ml-schedule-item-dialog .ml-topic-delta:focus{transform:none!important}

/* Travel None means no subordinate travel controls and therefore no reserved empty columns. */
.ml-schedule-item-dialog .ml-travel-before-wrap.hidden,.ml-schedule-item-dialog .ml-travel-after-wrap.hidden{display:none!important;visibility:visible!important}
.ml-schedule-item-dialog .ml-sch-travel-row.ml-travel-none{display:block!important;margin-bottom:4px!important}
.ml-schedule-item-dialog .ml-sch-travel-row.ml-travel-none>label:first-child{max-width:220px!important}
.ml-schedule-item-dialog .ml-sch-travel-row.ml-travel-before-only,.ml-schedule-item-dialog .ml-sch-travel-row.ml-travel-after-only{grid-template-columns:minmax(118px,.95fr) minmax(112px,.82fr)!important}

/* D05 AM/PM: selected value occupies the center pocket; the alternate is a single nearby choice. */
.ml-time-ampm{position:relative!important;overflow:hidden!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:0!important;scroll-snap-type:none!important}
.ml-time-ampm-pocket,.ml-time-ampm-other{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:52px!important;border:0!important;background:transparent!important;font:inherit!important}
.ml-time-ampm-pocket{font-size:25px!important;font-weight:800!important;color:#fff!important;order:2!important}
.ml-time-ampm-other{font-size:20px!important;color:#9aa5aa!important;order:3!important}

/* S05: event cards and their text use the left edge as the visual anchor. */
.ml-schedule-event-wrap .ml-schedule-event{align-items:stretch!important;text-align:left!important}
.ml-schedule-event-wrap .ml-schedule-event strong,.ml-schedule-event-wrap .ml-schedule-event small{display:block!important;width:100%!important;text-align:left!important;margin-left:0!important;margin-right:0!important}
.ml-time-ampm{display:block!important}
.ml-time-ampm-pocket{position:absolute!important;left:0!important;right:0!important;top:78px!important;height:52px!important}
.ml-time-ampm-other{position:absolute!important;left:0!important;right:0!important;top:130px!important;height:52px!important}
\n\n/* MindLife v0.2.56 — Change, Fix, Correct: focused component normalization */
/* S05: compact events must never let time evict Topic. */
.ml-schedule-event.ml-sch-compact{align-items:flex-start!important;padding:5px 34px 5px 10px!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:1px!important;width:100%!important;max-width:100%!important;white-space:normal!important;overflow:visible!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{display:block!important;margin-left:0!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important;font-size:.72em!important;line-height:1.05!important}

/* D01 Date/Time: one clean group; picker icons have generous invisible targets, no visual boxes. */
.ml-schedule-item-dialog .ml-sch-datetime-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 18px!important;border:1px solid #536873!important;border-radius:12px!important;padding:14px 16px!important;margin:10px 0 16px!important;box-sizing:border-box!important}
.ml-schedule-item-dialog .ml-sch-datetime-row>label{min-width:0!important;gap:5px!important}
.ml-schedule-item-dialog .ml-sch-datetime-row .ml-picker-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:4px!important;align-items:center!important}
.ml-schedule-item-dialog .ml-sch-datetime-row .ml-field-picker{width:44px!important;min-width:44px!important;height:44px!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-datetime-row .ml-field-picker:focus-visible{outline:2px solid #7cc9ff!important;outline-offset:1px!important;border-radius:6px!important}
@media(max-width:620px){.ml-schedule-item-dialog .ml-sch-datetime-row{gap:10px 10px!important;padding:12px 10px!important}.ml-schedule-item-dialog .ml-sch-datetime-row .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 40px!important}.ml-schedule-item-dialog .ml-sch-datetime-row .ml-field-picker{width:40px!important;min-width:40px!important;height:44px!important}}

/* Travel: normalized local geometry; inactive children leave the layout. */
.ml-schedule-item-dialog .ml-sch-travel-row{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:12px 16px!important;align-items:end!important;border:1px solid #536873!important;border-radius:12px!important;padding:12px 14px!important;margin:0 0 14px!important;box-sizing:border-box!important}
.ml-schedule-item-dialog .ml-sch-travel-row>label:first-child{min-width:0!important}
.ml-schedule-item-dialog .ml-travel-before-wrap,.ml-schedule-item-dialog .ml-travel-after-wrap{min-width:0!important;padding:0!important}
.ml-schedule-item-dialog .ml-travel-before-wrap>span,.ml-schedule-item-dialog .ml-travel-after-wrap>span{gap:7px!important}
.ml-schedule-item-dialog .ml-travel-before-wrap input,.ml-schedule-item-dialog .ml-travel-after-wrap input{width:72px!important;min-width:0!important;text-align:center!important}
.ml-schedule-item-dialog .ml-travel-before-wrap.hidden,.ml-schedule-item-dialog .ml-travel-after-wrap.hidden{display:none!important}
.ml-schedule-item-dialog .ml-sch-travel-row:has(.ml-travel-before-wrap.hidden):has(.ml-travel-after-wrap.hidden){grid-template-columns:1fr!important;padding-bottom:12px!important}
@media(max-width:620px){.ml-schedule-item-dialog .ml-sch-travel-row{gap:10px!important;padding:11px 10px!important}.ml-schedule-item-dialog .ml-sch-travel-row:not(:has(.ml-travel-before-wrap.hidden):has(.ml-travel-after-wrap.hidden)){grid-template-columns:1fr 1fr!important}.ml-schedule-item-dialog .ml-sch-travel-row:not(:has(.ml-travel-before-wrap.hidden):has(.ml-travel-after-wrap.hidden))>label:first-child{grid-column:1/-1!important}}

/* Alerts: primary Add on left, Alert Set secondary on right; each alert reads as one child card. */
.ml-schedule-item-dialog .ml-sch-alerts{margin:16px 0!important;padding:14px 0!important;border-top:1px solid #3d484e!important;border-bottom:1px solid #3d484e!important}
.ml-schedule-item-dialog .ml-alert-set-tools{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:0!important;margin:10px 0 12px!important;min-height:0!important}
.ml-schedule-item-dialog .ml-sch-add-alert{grid-column:1!important;justify-self:start!important;position:static!important}
.ml-schedule-item-dialog .ml-alert-set-applied{grid-column:2!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ml-schedule-item-dialog .ml-alert-set-rolodex{grid-column:3!important;justify-self:end!important;position:static!important}
.ml-schedule-item-dialog .ml-alert-set-menu{left:auto!important;right:0!important}
.ml-schedule-item-dialog .ml-sch-alert-list{display:grid!important;gap:12px!important}
.ml-schedule-item-dialog .ml-sch-alert{position:relative!important;display:grid!important;grid-template-columns:minmax(150px,1fr) auto!important;gap:10px 12px!important;align-items:center!important;margin:0!important;padding:12px!important;border:1px solid #536873!important;border-radius:12px!important;background:rgba(255,255,255,.018)!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind{grid-column:1!important;grid-row:1!important;min-width:0!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative,.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday{grid-column:1/-1!important;grid-row:2!important}
.ml-schedule-item-dialog .ml-alert-card-actions{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:10px!important;justify-self:end!important}
.ml-schedule-item-dialog .ml-alert-test{min-height:38px!important;padding:6px 12px!important}
.ml-schedule-item-dialog .ml-alert-remove{position:relative!important;width:44px!important;height:44px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;color:#f2a0a0!important}
.ml-schedule-item-dialog .ml-alert-remove.armed{animation:ml-trash-arm .42s steps(1,end) infinite!important;color:#ff2e2e!important}
@keyframes ml-trash-arm{0%,49%{color:#ff2e2e}50%,100%{color:#fff}}
.ml-alert-delete-hint{grid-column:1/-1!important;color:#ff8f8f!important;font-size:.78rem!important;text-align:right!important;margin-top:-5px!important}
.ml-schedule-item-dialog .ml-alert-message{grid-column:1/-1!important;grid-row:auto!important;width:100%!important}
.ml-schedule-item-dialog .ml-sch-alert small{grid-column:1/-1!important;text-align:right!important}
.ml-schedule-item-dialog .ml-alert-set-foot{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:12px!important}
@media(max-width:620px){.ml-schedule-item-dialog .ml-alert-set-tools{grid-template-columns:auto 1fr!important}.ml-schedule-item-dialog .ml-alert-set-applied{display:none!important}.ml-schedule-item-dialog .ml-alert-set-rolodex{grid-column:2!important}.ml-schedule-item-dialog .ml-sch-alert{grid-template-columns:minmax(0,1fr) auto!important;padding:10px!important}.ml-schedule-item-dialog .ml-alert-set-foot{display:grid!important;grid-template-columns:1fr 1fr!important}.ml-schedule-item-dialog .ml-alert-set-foot button{min-width:0!important}}

/* D05: all three columns share the same rolling grammar. */
.ml-time-ampm{position:relative!important;height:208px!important;overflow-y:auto!important;padding:78px 0!important;display:block!important;scroll-snap-type:y mandatory!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;scrollbar-width:none!important;box-sizing:border-box!important}
.ml-time-ampm::-webkit-scrollbar{display:none!important}
.ml-time-ampm .ml-time-wheel-item{height:52px!important}


/* MindLife v0.2.57 — bounded interaction / geometry refinements */
/* Canonical MindLife red: screen approximation in the PMS 185 family. */
.ml-sch-color-bright_red{background:#E4002B!important}

/* D01 lock: canonical naked lock geometry; no legacy E/T badge painted over the body. */
.ml-schedule-item-dialog .ml-sch-schedule-lock:after,.ml-schedule-item-dialog .ml-sch-task-lock:after{content:none!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock,.ml-schedule-item-dialog .ml-sch-task-lock{width:42px!important;height:48px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{left:9px!important;bottom:4px!important;width:26px!important;height:23px!important;border-radius:6px!important;background:#22b84b!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{left:6px!important;top:-17px!important;width:15px!important;height:19px!important;border:5px solid #aeb9bf!important;border-bottom:0!important;border-radius:12px 12px 0 0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph{background:#E4002B!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph{background:#22b84b!important}

/* Date/Time and Repeat/Until: the group owns spacing; familiar icon actions do not need visible boxes. */
.ml-schedule-item-dialog .ml-sch-datetime-row,.ml-schedule-item-dialog .ml-sch-repeat-row{padding:16px 18px!important;gap:14px 20px!important}
.ml-schedule-item-dialog .ml-sch-datetime-row>label,.ml-schedule-item-dialog .ml-sch-repeat-row>label{padding:0!important;margin:0!important}
.ml-schedule-item-dialog .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 42px!important;gap:7px!important;align-items:center!important}
.ml-schedule-item-dialog .ml-field-picker{width:42px!important;min-width:42px!important;height:44px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.ml-schedule-item-dialog .ml-field-picker:focus-visible{outline:2px solid #7cc9ff!important;outline-offset:1px!important;border-radius:5px!important}
@media(max-width:620px){.ml-schedule-item-dialog .ml-sch-datetime-row,.ml-schedule-item-dialog .ml-sch-repeat-row{padding:13px 12px!important;gap:12px 10px!important}.ml-schedule-item-dialog .ml-picker-wrap{grid-template-columns:minmax(0,1fr) 38px!important;gap:4px!important}.ml-schedule-item-dialog .ml-field-picker{width:38px!important;min-width:38px!important}}

/* Alert timing reads as a sentence; delete is a separate action and its armed cue stays beside it. */
.ml-schedule-item-dialog .ml-sch-alert{grid-template-columns:minmax(0,1fr) auto!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{display:grid!important;grid-template-columns:72px minmax(120px,1fr) minmax(110px,1fr)!important;gap:10px!important;align-items:center!important;min-width:0!important}
.ml-schedule-item-dialog .ml-alert-amount{width:72px!important;min-width:72px!important;text-align:center!important}
.ml-alert-card-actions{display:flex!important;align-items:center!important;gap:12px!important;justify-self:end!important}
.ml-alert-delete-cluster{position:relative!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:44px!important}
.ml-alert-remove{border:0!important;background:transparent!important;box-shadow:none!important;min-width:44px!important;width:44px!important;height:44px!important;padding:0!important}
.ml-alert-delete-hint{position:absolute!important;right:46px!important;top:50%!important;transform:translateY(-50%)!important;white-space:nowrap!important;color:#ff8f8f!important;font-size:.76rem!important;font-weight:800!important;text-align:right!important;margin:0!important}
@keyframes mlTrashArmedBlink{0%,49%{filter:none;opacity:1}50%,100%{filter:brightness(2.4) saturate(.2);opacity:.72}}
.ml-alert-remove.armed .ml-trash-glyph{animation:mlTrashArmedBlink .5s steps(1,end) infinite!important}
@media(max-width:620px){.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-template-columns:56px minmax(92px,1fr) minmax(86px,1fr)!important;gap:6px!important}.ml-schedule-item-dialog .ml-alert-amount{width:56px!important;min-width:56px!important}.ml-alert-card-actions{gap:6px!important}.ml-alert-delete-hint{right:42px!important;font-size:.68rem!important}}

/* D05 AM/PM: same rolling grammar, exactly one AM and one PM in the wheel. */
.ml-time-ampm{height:208px!important;overflow-y:auto!important;padding:78px 0!important;scroll-snap-type:y mandatory!important;box-sizing:border-box!important}
.ml-time-ampm .ml-time-wheel-item{height:52px!important;scroll-snap-align:center!important}

/* One visual boundary per single colored Topic control. */
.ml-schedule-item-dialog .ml-sch-topic-wrap{border:0!important;box-shadow:none!important;border-radius:9px!important;overflow:hidden!important}
.ml-schedule-item-dialog .ml-sch-topic{border:0!important;box-shadow:none!important}

/* MindLife v0.2.58 — UI cleanup plateau; no record-locking changes. */
/* S05 compact events: Topic and exact time share one readable top line. */
.ml-schedule-event.ml-sch-compact{align-items:center!important;padding:3px 58px 3px 10px!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{display:flex!important;align-items:baseline!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{display:inline!important;flex:0 0 auto!important;margin:0!important;min-width:0!important;overflow:visible!important;white-space:nowrap!important;text-align:left!important;font-size:.72em!important;line-height:1!important}
/* Compact right-side status cluster: Alert LED immediately left of completion box. */
.ml-schedule-event.ml-sch-compact .ml-sch-task-box{right:6px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}
.ml-schedule-event.ml-sch-compact .ml-sch-alert-led{right:34px!important;top:50%!important;transform:translateY(-50%)!important}

/* Repeat / Until: matching field grammar; picker icon stays visually naked. */
.ml-schedule-item-dialog .ml-sch-repeat-row{border:0!important;border-top:1px solid #3d484e!important;border-bottom:1px solid #3d484e!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.ml-schedule-item-dialog .ml-sch-repeat-row .ml-sch-repeat,
.ml-schedule-item-dialog .ml-sch-repeat-row .ml-sch-repeat-until{height:44px!important;box-sizing:border-box!important;border:1px solid #50606a!important;border-radius:6px!important;background:#091014!important;color:#fff!important;padding:8px 12px!important;box-shadow:none!important}
.ml-schedule-item-dialog .ml-sch-repeat-row .ml-sch-repeat-until:disabled{opacity:1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#50606a!important;background:#091014!important}
.ml-schedule-item-dialog .ml-sch-repeat-row .ml-picker-wrap{align-items:center!important}
.ml-schedule-item-dialog .ml-sch-repeat-row .ml-field-picker{border:0!important;background:transparent!important;box-shadow:none!important}

/* Alerts section: one clean section rule; no rounded ancestry outline. */
.ml-schedule-item-dialog .ml-sch-alerts,
.ml-schedule-item-dialog .ml-sch-alerts.ml-dialog-active-section{border-left:0!important;border-right:0!important;border-top:1px solid #3d484e!important;border-bottom:1px solid #3d484e!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline:0!important}

/* MindLife v0.2.59 — three verified cleanup repairs only. */
/* Alert armed-delete cue: keep it above neighboring controls and give the words an opaque reading plate. */
.ml-schedule-item-dialog .ml-alert-delete-cluster{z-index:6!important;overflow:visible!important}
.ml-schedule-item-dialog .ml-alert-delete-hint{
  z-index:20!important;
  right:48px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  padding:4px 7px!important;
  background:#000!important;
  color:#ff8f8f!important;
  border-radius:3px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}

/* S05 compact events: protect BOTH Topic and Time. Topic may never collapse to zero. */
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{
  display:grid!important;
  grid-template-columns:minmax(46px,max-content) minmax(0,1fr)!important;
  align-items:baseline!important;
  justify-content:start!important;
  column-gap:7px!important;
  min-width:0!important;
  overflow:hidden!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{
  display:block!important;
  width:auto!important;
  min-width:46px!important;
  max-width:55%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:inherit!important;
  opacity:1!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{
  display:block!important;
  min-width:0!important;
  width:auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:inherit!important;
  opacity:.85!important;
}

/* Canonical OPEN lock: green body, gray shackle attached at left; open/right leg visibly lifted away. */
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph{
  left:9px!important;bottom:4px!important;width:26px!important;height:23px!important;
  background:#22b84b!important;border-radius:6px!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph:before{
  content:""!important;
  position:absolute!important;
  left:5px!important;
  top:-17px!important;
  width:16px!important;
  height:20px!important;
  box-sizing:border-box!important;
  border:5px solid #aeb9bf!important;
  border-bottom:0!important;
  border-radius:12px 12px 0 0!important;
  transform:translate(-1px,-1px) rotate(-28deg)!important;
  transform-origin:5px 20px!important;
  background:transparent!important;
}
/* Locked state remains the aligned closed shackle. */
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:before{
  left:6px!important;top:-17px!important;width:15px!important;height:19px!important;
  border:5px solid #aeb9bf!important;border-bottom:0!important;
  border-radius:12px 12px 0 0!important;transform:none!important;
}


/* MindLife v0.2.60 — three surgical corrections only. */
/* S05: compact mode is STRICTLY less than 30 minutes. >=30 minutes uses the established normal two-line event presentation. */
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line) > strong{
  display:block!important;width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line) > small{
  display:block!important;width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
/* Under 30 minutes only: Topic then exact time on the same line. */
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{
  display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important;overflow:hidden!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{
  flex:0 1 auto!important;min-width:42px!important;max-width:55%!important;width:auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{
  flex:0 1 auto!important;min-width:0!important;width:auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}

/* D01 Alert relative row: Test | Amount | Unit | Direction | Trash. Nothing may occupy the Amount field. */
.ml-schedule-item-dialog .ml-sch-alert{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  column-gap:10px!important;row-gap:10px!important;
}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-kind{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-test{grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:start!important;min-width:70px!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-column:2!important;grid-row:2!important;display:grid!important;grid-template-columns:72px minmax(120px,1fr) minmax(110px,1fr)!important;gap:10px!important;align-items:center!important;min-width:0!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-prevday{grid-column:2!important;grid-row:2!important;min-width:0!important}
.ml-schedule-item-dialog .ml-sch-alert>.ml-alert-delete-cluster{grid-column:3!important;grid-row:2!important;align-self:center!important;justify-self:end!important;z-index:6!important}
.ml-schedule-item-dialog .ml-alert-amount{display:block!important;width:72px!important;min-width:72px!important;visibility:visible!important;opacity:1!important;text-align:center!important}
.ml-schedule-item-dialog .ml-alert-message{grid-column:1/-1!important;grid-row:3!important}
.ml-schedule-item-dialog .ml-sch-alert>small{grid-column:1/-1!important;grid-row:4!important}
@media(max-width:620px){
 .ml-schedule-item-dialog .ml-sch-alert{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:6px!important}
 .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-test{min-width:56px!important;padding-left:8px!important;padding-right:8px!important}
 .ml-schedule-item-dialog .ml-sch-alert>.ml-alert-relative{grid-template-columns:52px minmax(88px,1fr) minmax(82px,1fr)!important;gap:6px!important}
 .ml-schedule-item-dialog .ml-alert-amount{width:52px!important;min-width:52px!important}
}

/* Canonical lock layering: shackle is the REAR layer; body is painted over it as the foreground layer. */
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{
  background:transparent!important;overflow:visible!important;isolation:isolate!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{
  z-index:1!important;background:transparent!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:after,
.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:after{
  content:""!important;position:absolute!important;z-index:2!important;left:0!important;bottom:0!important;width:26px!important;height:23px!important;border-radius:6px!important;background:#22b84b!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:after,
.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:after{background:#E4002B!important}


/* MindLife v0.2.61 — restore the proven <=30-minute S05 compact grammar.
   This is intentionally authoritative over the experimental v0.2.56–v0.2.60 compact overrides. */
.ml-schedule-event.ml-sch-compact{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
  padding-left:8px!important;
  padding-right:58px!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:left!important;
  margin:0!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{
  display:inline!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  margin-left:5px!important;
  margin-right:0!important;
  font-size:.76em!important;
  line-height:1!important;
  font-weight:500!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:left!important;
  opacity:.88!important;
}
/* Keep the newer compact status cluster: LED immediately left of completion. */
.ml-schedule-event.ml-sch-compact .ml-sch-task-box{
  right:6px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-alert-led{
  right:34px!important;top:50%!important;transform:translateY(-50%)!important;
}


/* MindLife v0.2.63 — S05 duration grammar, exactly as specified.
   <30 min: one line, left flush. >=30 min: two lines, left flush. */
.ml-schedule-event.ml-sch-compact{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  text-align:left!important;
  padding:3px 58px 3px 10px!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line{
  display:flex!important;
  flex-direction:row!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-align:left!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line strong{
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  line-height:1.1!important;
}
.ml-schedule-event.ml-sch-compact .ml-sch-compact-line small{
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:left!important;
  font-size:.76em!important;
  line-height:1.1!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  text-align:left!important;
  padding-top:7px!important;
  padding-left:10px!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line) > strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  line-height:1.15!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line) > small{
  display:block!important;
  width:100%!important;
  margin:3px 0 0 0!important;
  line-height:1.15!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
\n\n/* MindLife v0.2.63 — exact 30-minute events keep normal two-line content but use compact vertical geometry. */\n.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line){\n  display:flex!important;\n  flex-direction:column!important;\n  align-items:stretch!important;\n  justify-content:center!important;\n  text-align:left!important;\n  padding-top:2px!important;\n  padding-bottom:2px!important;\n  padding-left:10px!important;\n  padding-right:58px!important;\n  overflow:hidden!important;\n}\n.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line) > strong{\n  display:block!important;\n  width:100%!important;\n  min-width:0!important;\n  margin:0!important;\n  padding:0!important;\n  line-height:1!important;\n  text-align:left!important;\n  white-space:nowrap!important;\n  overflow:hidden!important;\n  text-overflow:ellipsis!important;\n}\n.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line) > small{\n  display:block!important;\n  width:100%!important;\n  min-width:0!important;\n  margin:1px 0 0 0!important;\n  padding:0!important;\n  line-height:1!important;\n  text-align:left!important;\n  white-space:nowrap!important;\n  overflow:hidden!important;\n  text-overflow:ellipsis!important;\n}\n

/* MindLife v0.2.64 — exact 30-minute S05 geometry. REAL CSS, not escaped text. */
.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  text-align:left!important;
  padding:1px 58px 1px 10px!important;
  overflow:hidden!important;
}
.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line) > strong{
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:14px!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line) > small{
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  margin:2px 0 0 0!important;
  padding:0!important;
  font-size:10px!important;
  line-height:10px!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* MindLife v0.2.65 — Segment 1 finish sweep (excluding intermittent screen jump) */
/* Lock grammar: shackle is physically behind the body; closed=red, open=green. */
.ml-lock-toggle .ml-lock-glyph{background:transparent!important;overflow:visible!important;isolation:isolate!important}
.ml-lock-toggle .ml-lock-glyph:after{content:""!important;position:absolute!important;left:0!important;bottom:0!important;width:22px!important;height:20px!important;border-radius:4px!important;background:#14d61e!important;z-index:2!important}
.ml-lock-toggle .ml-lock-glyph:before{z-index:1!important;border-color:#aeb8bd!important;border-bottom:0!important}
.ml-lock-toggle.locked .ml-lock-glyph:after{background:#e4002b!important}
.ml-lock-toggle.locked .ml-lock-glyph:before{border-color:#aeb8bd!important;border-bottom:0!important;transform:none!important}
.ml-lock-toggle.open .ml-lock-glyph:after{background:#20b957!important}
.ml-lock-toggle.open .ml-lock-glyph:before{height:19px!important;top:-16px!important;transform:translateX(7px) rotate(12deg)!important;transform-origin:3px 15px!important;border-color:#aeb8bd!important;border-bottom:0!important;border-right-color:transparent!important}
/* D01 lock pair uses the same layered metal-shackle/body construction. */
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph{background:transparent!important;overflow:visible!important;isolation:isolate!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:after,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:after{content:""!important;position:absolute!important;left:0!important;bottom:0!important;width:22px!important;height:19px!important;border-radius:4px!important;background:#3f9b61!important;z-index:2!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock .ml-lock-glyph:before{z-index:1!important;border-color:#aeb8bd!important;border-bottom:0!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:after,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:after{background:#a84a4a!important}
.ml-schedule-item-dialog .ml-sch-schedule-lock.locked .ml-lock-glyph:before,.ml-schedule-item-dialog .ml-sch-task-lock.locked .ml-lock-glyph:before{border-color:#aeb8bd!important;border-bottom:0!important;transform:none!important}

/* D05: AM/PM is a real two-item rolling wheel — one AM and one PM, no repeated continuum. */
.ml-time-ampm{position:relative!important;display:block!important;height:208px!important;overflow-y:auto!important;padding:78px 0!important;box-sizing:border-box!important;scroll-snap-type:y mandatory!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;scrollbar-width:none!important}
.ml-time-ampm::-webkit-scrollbar{display:none!important}
.ml-time-ampm .ml-time-wheel-item{position:relative!important;left:auto!important;right:auto!important;top:auto!important;display:flex!important;height:52px!important;min-height:52px!important;align-items:center!important;justify-content:center!important;scroll-snap-align:center!important}
.ml-time-ampm .ml-time-wheel-item.selected{font-size:25px!important;font-weight:800!important;color:#fff!important}

/* D06 iPhone: Month and Year each get their own fixed navigation row. */
@media(max-width:520px){
 .ml-date-calendar-head{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:44px 44px!important;gap:8px!important;margin:8px 0 18px!important}
 .ml-date-month-nav,.ml-date-year-nav{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;width:100%!important;align-items:center!important;gap:8px!important}
 .ml-date-month-nav{grid-row:1!important}.ml-date-year-nav{grid-row:2!important}
 .ml-date-month-label{display:contents!important}
 .ml-date-month-label .ml-date-month-text{grid-row:1!important;grid-column:1!important;align-self:center!important;justify-self:center!important;font-size:22px!important;font-weight:800!important;z-index:3!important;pointer-events:none!important}
 .ml-date-month-label .ml-date-year-text{grid-row:2!important;grid-column:1!important;align-self:center!important;justify-self:center!important;font-size:22px!important;font-weight:800!important;z-index:3!important;pointer-events:none!important}
 .ml-date-month-nav button,.ml-date-year-nav button{width:44px!important;height:44px!important;margin:0!important}
}

/* D35 iPhone: remove inherited viewport-filling minimums that create the dead lower slab. */
@media(max-width:520px){
 .ml-voice-module.ml-full-voice-module{min-height:0!important;height:auto!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
 .ml-full-voice-module .ml-full-voice-deck{min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
 .ml-voice-module-active .ml-content{min-height:0!important;padding-bottom:0!important}
}


/* MindLife v0.2.66 — open lock: closed-shackle geometry pivoted 180 degrees on LEFT descender. */
.ml-lock-toggle.open .ml-lock-glyph:before{
  height:17px!important;
  top:-15px!important;
  left:5px!important;
  transform:rotate(180deg) translate(0,-2px)!important;
  transform-origin:3px 17px!important;
  border-color:#aeb8bd!important;
  border-bottom:0!important;
  border-right-color:#aeb8bd!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph:before{
  height:17px!important;
  top:-15px!important;
  left:5px!important;
  transform:rotate(180deg) translate(0,-2px)!important;
  transform-origin:3px 17px!important;
  border-color:#aeb8bd!important;
  border-bottom:0!important;
  border-right-color:#aeb8bd!important;
}
\n\n/* MindLife v0.2.67 — authoritative native error-dialog geometry.\n   Do not force display on a modal <dialog>; let showModal() own top-layer display. */\ndialog.ml-error-toast{\n position:fixed!important;\n inset:max(12px,env(safe-area-inset-top)) auto auto 50%!important;\n transform:translateX(calc(-50% + var(--ml-error-stack-x,0px))) translateY(var(--ml-error-stack-y,0px))!important;\n width:min(680px,calc(100vw - 24px))!important;\n height:fit-content!important;\n min-height:0!important;\n max-height:min(260px,calc(100dvh - 24px))!important;\n box-sizing:border-box!important;\n margin:0!important;\n padding:14px 48px 14px 16px!important;\n overflow:auto!important;\n border:1px solid #f66!important;\n border-radius:7px!important;\n background:#571414!important;\n color:#fff!important;\n}\ndialog.ml-error-toast::backdrop{background:rgba(0,0,0,.34)!important}\n
/* MindLife v0.2.77 — Wake PIN management. */
.ml-db-pin-toggle-row{position:relative!important}
.ml-db-pin-toggle-row .ml-pin-inline-change{
  margin-left:auto!important;margin-right:44px!important;padding:5px 9px!important;
  border:1px solid #53656f!important;border-radius:6px!important;background:#18242a!important;
  color:#dce6ea!important;font:inherit!important;font-size:12px!important;font-weight:700!important;
  line-height:1.1!important;white-space:nowrap!important;cursor:pointer!important;
}
.ml-pin-dialog{width:min(520px,94vw)!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important}
.ml-pin-dialog form{padding:18px!important}
.ml-pin-dialog .ml-pin-help{margin:4px 0 14px!important;color:#bfc9ce!important;line-height:1.35!important}
.ml-pin-group{border:1px solid #405058!important;border-radius:9px!important;padding:10px 12px 12px!important;margin:12px 0!important}
.ml-pin-group legend{padding:0 7px!important;font-weight:800!important;color:#fff!important}
.ml-pin-group label{margin-top:8px!important}
.ml-pin-input-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:6px!important;align-items:center!important;margin-top:4px!important}
.ml-pin-dialog .ml-pin-input-wrap input{width:100%!important;min-width:0!important;box-sizing:border-box!important;letter-spacing:.32em!important;text-align:center!important;font-size:22px!important;padding:7px 8px!important}
.ml-pin-eye{width:34px!important;height:34px!important;padding:0!important;border:1px solid #53656f!important;border-radius:6px!important;background:#18242a!important;color:#dce6ea!important;font-size:16px!important;line-height:1!important}
.ml-pin-eye.active{background:#2a3b43!important;color:#fff!important}
@media(max-width:480px){.ml-db-pin-toggle-row .ml-pin-inline-change{margin-right:34px!important;font-size:11px!important;padding:4px 7px!important}.ml-pin-dialog form{padding:14px!important}}

/* v0.2.77 reassertion: native error dialog remains content-sized with actual CSS line breaks. */
dialog.ml-error-toast{position:fixed!important;inset:max(12px,env(safe-area-inset-top)) auto auto 50%!important;transform:translateX(calc(-50% + var(--ml-error-stack-x,0px))) translateY(var(--ml-error-stack-y,0px))!important;width:min(680px,calc(100vw - 24px))!important;height:auto!important;min-height:0!important;max-height:min(260px,calc(100dvh - 24px))!important;box-sizing:border-box!important;margin:0!important;padding:14px 48px 14px 16px!important;overflow:auto!important;border:1px solid #f66!important;border-radius:7px!important;background:#571414!important;color:#fff!important}
dialog.ml-error-toast::backdrop{background:rgba(0,0,0,.34)!important}


/* v0.2.77 — Dashboard Change PIN placement */
#ml-six-pin-row,
.ml-six-pin-row {
  position: relative;
}
#ml-change-pin,
.ml-change-pin,
[data-action="change-pin"] {
  position: absolute !important;
  left: 58% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  max-width: 132px;
  white-space: nowrap;
}

/* v0.2.77 — authoritative OPEN lock geometry only.
   Closed/locked icon is deliberately untouched.
   The shackle is a real inverted-U outline, hinged at the left descender.
   In the open state the free end is swung to the LEFT and remains behind the body. */
.ml-lock.is-open .ml-lock-shackle,
.ml-lock.open .ml-lock-shackle,
.ml-lock[data-locked="0"] .ml-lock-shackle,
.ml-lock[data-state="open"] .ml-lock-shackle {
  box-sizing: border-box !important;
  width: 28px !important;
  height: 24px !important;
  border: 7px solid #b8c2c8 !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: transparent !important;
  position: absolute !important;
  z-index: 0 !important;
  transform-origin: 7px 24px !important;
  transform: translate(-3px, -1px) rotate(-180deg) !important;
}
.ml-lock.is-open .ml-lock-body,
.ml-lock.open .ml-lock-body,
.ml-lock[data-locked="0"] .ml-lock-body,
.ml-lock[data-state="open"] .ml-lock-body {
  position: relative !important;
  z-index: 1 !important;
}


/* MindLife v0.2.77 — ROOT-CAUSE OPEN LOCK REPAIR.
   Actual rendered lock is .ml-lock-toggle > .ml-lock-glyph using ::before (shackle)
   and ::after (body). Prior .ml-lock/.ml-lock-shackle rules did not target it.
   Closed state is untouched. */
.ml-lock-toggle.open .ml-lock-glyph{
  position:relative!important;
  overflow:visible!important;
  background:transparent!important;
}
.ml-lock-toggle.open .ml-lock-glyph:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  bottom:0!important;
  width:22px!important;
  height:20px!important;
  border:0!important;
  border-radius:5px!important;
  background:#20b957!important;
  z-index:2!important;
}
/* Open shackle: upright U shifted left.
   Right/attached descender disappears behind left side of green body;
   left/free descender hangs visibly outside the body. */
.ml-lock-toggle.open .ml-lock-glyph:before{
  content:""!important;
  box-sizing:border-box!important;
  position:absolute!important;
  left:-10px!important;
  top:-15px!important;
  width:25px!important;
  height:24px!important;
  border:6px solid #aeb8bd!important;
  border-bottom:0!important;
  border-radius:13px 13px 0 0!important;
  background:transparent!important;
  transform:none!important;
  transform-origin:initial!important;
  z-index:1!important;
}


/* MindLife v0.2.77 — OPEN LOCK built FROM the proven CLOSED LOCK.
   Do not invent a second icon. Body remains in the exact normal lock-body position.
   Shackle keeps the same upright ∩ geometry as closed and is translated up/left only.
   Its RIGHT descender is the attached/hinged leg and is hidden behind the body's left edge;
   its LEFT/free descender hangs visibly to the left. */
.ml-lock-toggle.open .ml-lock-glyph{
  position:relative!important;
  width:22px!important;
  height:20px!important;
  overflow:visible!important;
  background:transparent!important;
}
.ml-lock-toggle.open .ml-lock-glyph:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  bottom:0!important;
  width:22px!important;
  height:20px!important;
  border:0!important;
  border-radius:5px!important;
  background:#20b957!important;
  z-index:2!important;
}
.ml-lock-toggle.open .ml-lock-glyph:before{
  content:""!important;
  box-sizing:border-box!important;
  position:absolute!important;
  /* Same closed-shackle proportions; only position changes. */
  width:22px!important;
  height:19px!important;
  left:-13px!important;
  top:-16px!important;
  border:5px solid #aeb8bd!important;
  border-bottom:0!important;
  border-radius:12px 12px 0 0!important;
  background:transparent!important;
  transform:none!important;
  transform-origin:initial!important;
  z-index:1!important;
}
/* Extend the attached/right descender downward behind the green body so the hinge reads physically. */
.ml-lock-toggle.open .ml-lock-glyph{
  --ml-open-lock-verified:1;
}


/* MindLife v0.2.77 — OPEN means exact CLOSED icon geometry, green only.
   No open-shackle artwork. No transforms. */
.ml-lock-toggle.open .ml-lock-glyph{
  position:relative!important;
  width:22px!important;
  height:20px!important;
  background:transparent!important;
  overflow:visible!important;
}
.ml-lock-toggle.open .ml-lock-glyph:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  bottom:0!important;
  width:22px!important;
  height:20px!important;
  border-radius:5px!important;
  background:#20b957!important;
  z-index:2!important;
}
.ml-lock-toggle.open .ml-lock-glyph:before{
  content:""!important;
  position:absolute!important;
  left:6px!important;
  top:-17px!important;
  width:15px!important;
  height:19px!important;
  box-sizing:border-box!important;
  border:5px solid #aeb8bd!important;
  border-bottom:0!important;
  border-radius:12px 12px 0 0!important;
  background:transparent!important;
  transform:none!important;
  transform-origin:initial!important;
  z-index:1!important;
}


/* MindLife v0.2.77 — D01 ONLY: unlocked is the exact locked icon geometry, green body only.
   These selectors intentionally outrank all historical D01 .open shackle transforms. */
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph{
  position:relative!important;
  background:transparent!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph:after,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  bottom:0!important;
  width:22px!important;
  height:19px!important;
  border-radius:4px!important;
  background:#3f9b61!important;
  z-index:2!important;
}
.ml-schedule-item-dialog .ml-sch-schedule-lock.open .ml-lock-glyph:before,
.ml-schedule-item-dialog .ml-sch-task-lock.open .ml-lock-glyph:before{
  content:""!important;
  position:absolute!important;
  left:6px!important;
  top:-17px!important;
  width:15px!important;
  height:19px!important;
  box-sizing:border-box!important;
  border:5px solid #aeb8bd!important;
  border-bottom:0!important;
  border-radius:12px 12px 0 0!important;
  background:transparent!important;
  transform:none!important;
  transform-origin:initial!important;
  z-index:1!important;
}

/* v0.2.77 CFC */
.ml-cfc-hotspot{position:fixed!important;z-index:2147482000!important;left:0!important;top:0!important;width:34px!important;height:34px!important;border:0!important;background:transparent!important;opacity:0!important;padding:0!important}
.ml-cfc-dialog{width:min(92vw,620px)!important;height:auto!important;min-height:0!important;max-height:90dvh!important;padding:0!important;border:1px solid #596168!important;border-radius:18px!important;background:#242424!important;color:#f5f5f5!important}
.ml-cfc-dialog::backdrop{background:rgba(0,0,0,.55)}.ml-cfc-card{position:relative;padding:24px 26px 22px}.ml-cfc-card h2{margin:0 56px 6px 0;font-size:28px}.ml-cfc-help{margin:0 0 16px;color:#c7cbce}
.ml-cfc-close{position:absolute;right:14px;top:12px;width:42px;height:42px;border:1px solid #7b8388;border-radius:11px;background:#171c1f;color:#fff;font-size:30px}.ml-cfc-dialog .ml-dialog-id{position:absolute;right:66px;top:16px;font-weight:800;color:#aeb8bd}
.ml-cfc-categories{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 18px}.ml-cfc-categories button{min-height:42px;border:1px solid #526169;border-radius:8px;background:#172126;color:#e7ecef;font-weight:700}.ml-cfc-categories button.selected{outline:2px solid #fff;background:#315f72}
.ml-cfc-card label{display:block;margin:12px 0 0;font-weight:700}.ml-cfc-card input,.ml-cfc-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;background:#303234;color:#fff;border:1px solid #4f5559;border-radius:7px;padding:10px;font:inherit}
.ml-cfc-meta{margin-top:12px;color:#9fa8ad;font-size:12px}.ml-cfc-error{min-height:20px;margin-top:8px;color:#ff9999;font-weight:700}.ml-cfc-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.ml-cfc-actions button{min-height:42px;padding:0 18px;border-radius:8px;border:0;font-weight:700}.ml-cfc-submit{background:#1877e8;color:#fff}.ml-cfc-cancel{background:#666;color:#fff}
@media(max-width:560px){.ml-cfc-card{padding:20px 18px}.ml-cfc-categories{grid-template-columns:1fr}}

/* MindLife v0.2.77 — S05 date-bar containment */
.ml-schedule-mode .ml-heading{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.ml-schedule-mode .ml-sch-persistent-nav{display:grid!important;grid-template-columns:28px 24px 300px 24px 28px 32px!important;width:max-content!important;max-width:100%!important;height:52px!important;gap:0!important;margin:0 auto!important;align-items:center!important;justify-content:center!important}
.ml-schedule-mode .ml-sch-persistent-nav button{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
.ml-schedule-mode .ml-sch-date-head{width:300px!important;min-width:300px!important;max-width:300px!important;padding:0 5px!important;text-align:center!important}
.ml-schedule-mode .ml-sch-settings-head{margin-left:2px!important}
@media(max-width:620px){
 .ml-schedule-mode .ml-sch-persistent-nav{grid-template-columns:25px 21px 210px 21px 25px 29px!important;width:max-content!important;max-width:100%!important;gap:0!important}
 .ml-schedule-mode .ml-sch-date-head{width:210px!important;min-width:210px!important;max-width:210px!important;padding:0 2px!important}
}
@media(max-width:390px){
 .ml-schedule-mode .ml-sch-persistent-nav{grid-template-columns:23px 19px 190px 19px 23px 27px!important}
 .ml-schedule-mode .ml-sch-date-head{width:190px!important;min-width:190px!important;max-width:190px!important}
}


/* MindLife v0.2.77 — S05 31-minute / Travel bunching repair.
   Root cause: old .ml-schedule-event bottom padding (24px) survived in normal >30 blocks.
   Exact-30 had a complete padding override, which is why 30 worked and 31 failed. */

/* Every ordinary two-line timed event (>30, and any >=30 not carrying compact) owns ALL padding.
   No inherited 24px bottom padding is allowed. */
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  text-align:left!important;
  box-sizing:border-box!important;
  padding:3px 58px 2px 10px!important;
  overflow:hidden!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel)>strong{
  display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;line-height:14px!important;text-align:left!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel)>small{
  display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;
  margin:2px 0 0 0!important;padding:0!important;line-height:10px!important;text-align:left!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}

/* Preserve the proven exact-30 centered-within-block geometry. */
.ml-schedule-event.ml-sch-thirty:not(.ml-sch-ade-one-line):not(.ml-derived-travel){
  justify-content:center!important;
  padding:1px 58px 1px 10px!important;
}

/* Derived Travel: compact remains compact. Noncompact Travel must not inherit its historical
   30/34px fixed-height constraint or 24px event padding. */
.ml-schedule-cell .ml-derived-travel:not(.ml-sch-compact){
  height:auto!important;
  min-height:34px!important;
  max-height:none!important;
  box-sizing:border-box!important;
  padding:3px 58px 2px 10px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
}
.ml-schedule-cell .ml-derived-travel:not(.ml-sch-compact)>strong{
  display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  line-height:14px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.ml-schedule-cell .ml-derived-travel:not(.ml-sch-compact)>small{
  display:block!important;width:100%!important;min-width:0!important;margin:2px 0 0 0!important;padding:0!important;
  line-height:10px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}


/* MindLife v0.2.80 — S06 desktop corner controls.
   Desktop controls are anchored to the lock-screen's black surface, not the viewport. */
@media (min-width:521px){
  body .ml-lock-screen .ml-lock-voice-mic{
    position:absolute!important;
    left:28px!important;
    right:auto!important;
    bottom:24px!important;
  }
  body .ml-lock-screen .ml-lock-prayer-hands{
    position:absolute!important;
    right:28px!important;
    left:auto!important;
    bottom:24px!important;
  }
}


/* MindLife v0.2.80 — recurring-event scope dialog containment.
   The card owns its complete width, including padding and border. */
.ml-recurrence-scope-dialog{
  width:min(420px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.ml-recurrence-scope-dialog .ml-recurrence-scope-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}


/* MindLife v0.2.82 — S05 hard-time coordinate system
   Clock time owns vertical geometry. D02 increment only defines grid/snap divisions.
   Do not allow legacy control sizing to expand short-increment rows. */
.ml-schedule-row{
  overflow:visible!important;
}
.ml-schedule-row > .ml-schedule-time{
  min-height:0!important;
  height:100%!important;
  box-sizing:border-box!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.ml-schedule-row > .ml-schedule-cell{
  min-height:0!important;
  height:100%!important;
  box-sizing:border-box!important;
}


/* v0.2.83 — Quotes Library foundation */
.ml-quotes{padding:18px 18px 40px;color:#eef3f0}.ml-quotes-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:#aab7b0}.ml-quotes-tools button,.ml-quote-editor button{border:1px solid #486056;background:#1b2b24;color:#eef5f1;border-radius:7px;padding:8px 12px;font:inherit}.ml-quote-editor{border:1px solid #394a43;border-radius:10px;padding:12px;margin-bottom:16px;background:#101916}.ml-quote-editor textarea,.ml-quote-editor input,.ml-quote-editor select{box-sizing:border-box;width:100%;background:#080d0b;color:#f2f5f3;border:1px solid #405149;border-radius:6px;padding:9px;font:inherit}.ml-quote-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.ml-quote-source-url{margin-bottom:8px}.ml-quote-editor-actions{display:flex;justify-content:flex-end;gap:8px}.ml-quotes-list{display:grid;gap:10px}.ml-quote-card{border:1px solid #33463d;border-radius:10px;background:#101815;padding:14px}.ml-quote-card blockquote{margin:0 0 8px;font-size:19px;line-height:1.38}.ml-quote-by{color:#a9b7af;font-size:14px}.ml-quote-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;color:#71847a}.ml-quote-favorite{border:0;background:transparent;color:#58a878;font-size:24px;padding:0 3px}.ml-quote-card small{overflow-wrap:anywhere}
@media(max-width:520px){.ml-quote-meta-grid{grid-template-columns:1fr}.ml-quotes{padding:14px 10px 32px}}


/* MindLife v0.2.85 — authoritative application-shell scrolling.
   The shell stays fixed. .ml-content is the designated vertical scroller.
   This replaces accumulated viewport-height guesses with flex ownership. */
body.mindlife-app-page #mindlife-page-shell>.ml-app{
  display:flex!important;
  flex-direction:column!important;
}
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-titlebar,
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-home-status,
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-context-header,
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-subhead{
  flex:0 0 auto!important;
}
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-content{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:max(42px,calc(18px + env(safe-area-inset-bottom)))!important;
}


/* MindLife v0.2.89 — compact Travel identity.
   Short derived Travel blocks prioritize their title; clock position already communicates time. */
.ml-schedule-event.ml-derived-travel.ml-sch-compact .ml-sch-travel-compact{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ml-schedule-event.ml-derived-travel.ml-sch-compact .ml-sch-travel-compact strong{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}


/* MindLife v0.2.92 — Smart Travel Phase 1 */
.ml-derived-travel{position:relative!important}
.ml-travel-resize-handle{position:absolute!important;left:50%!important;width:42px!important;height:7px!important;transform:translateX(-50%)!important;z-index:6!important;cursor:ns-resize!important;touch-action:none!important}
.ml-travel-resize-before{top:0!important;border-top:3px solid rgba(255,255,255,.82)!important}
.ml-travel-resize-after{bottom:0!important;border-bottom:3px solid rgba(255,255,255,.82)!important}
.ml-travel-editor-dialog{border:0!important;background:transparent!important;padding:0!important}
.ml-travel-editor-dialog::backdrop{background:rgba(0,0,0,.42)!important}
.ml-travel-editor-card{box-sizing:border-box;min-width:min(360px,calc(100vw - 32px));padding:18px;border-radius:14px;background:#202428;color:#fff;box-shadow:0 14px 40px rgba(0,0,0,.35)}
.ml-travel-editor-card header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:4px}
.ml-travel-editor-card header strong{font-size:1.1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-travel-editor-close{border:0;background:transparent;color:inherit;font-size:1.7rem;line-height:1;padding:0 3px}
.ml-travel-editor-card>p{margin:0 0 16px;opacity:.72}
.ml-travel-duration-row{display:grid;grid-template-columns:42px 1fr auto 42px;align-items:center;gap:8px;margin-top:7px}
.ml-travel-duration-row input{min-width:0;text-align:center}
.ml-travel-duration-row button,.ml-travel-editor-actions button{min-height:40px}
.ml-travel-editor-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}
.ml-travel-remove{opacity:.9}


/* MindLife v0.2.94 — tiny Smart Travel + MindLife-native remove confirmation */
.ml-derived-travel.ml-sch-compact{overflow:hidden!important;padding-right:8px!important}
.ml-derived-travel .ml-sch-travel-compact{max-width:100%!important;width:100%!important;line-height:1!important}
.ml-derived-travel .ml-sch-travel-compact strong{display:block!important;max-width:100%!important;line-height:1!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ml-derived-travel.ml-travel-tiny .ml-sch-travel-compact{display:none!important}
.ml-derived-travel.ml-travel-tiny{padding-top:0!important;padding-bottom:0!important;min-height:0!important}
.ml-travel-remove.armed{background:#571313!important;color:#fff!important;border-color:#b94747!important;font-weight:800!important}


/* MindLife v0.2.95 — Smart Travel final naming/dialog grammar + S06 working mark */
.ml-travel-editor-card{padding:0 18px 18px!important;overflow:hidden!important}
.ml-travel-editor-card>header{margin:0 -18px 18px!important;padding:12px 14px!important;background:#596168!important;align-items:flex-start!important}
.ml-travel-editor-card>header>div{min-width:0!important}
.ml-travel-editor-card>header h3{margin:0!important;font-size:23px!important;line-height:1.1!important}
.ml-travel-editor-card>header p{margin:4px 0 0!important;font-size:13px!important;color:#d1d7da!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ml-travel-editor-close{width:31px!important;height:31px!important;min-width:31px!important;border-radius:50%!important;background:#fff!important;color:#666!important;font-size:22px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ml-travel-field{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:13px 0!important;color:#c2c9cc!important}
.ml-travel-field>span:first-child{font-weight:700!important}
.ml-travel-name,.ml-travel-name-readonly,.ml-travel-minutes{box-sizing:border-box!important;background:#091014!important;color:#fff!important;border:1px solid #50606a!important;border-radius:6px!important;padding:8px!important;font:inherit!important}
.ml-travel-name-readonly{opacity:.82!important}
.ml-travel-duration-row{margin-top:0!important}
.ml-travel-save{font-weight:800!important}
.ml-lock-screen .ml-mindlife-mark{width:72px!important;height:64px!important;margin:0 auto 16px!important;font-size:0!important;color:#75b653!important}
.ml-lock-screen .ml-mindlife-mark svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
.ml-lock-screen .ml-mindlife-mark circle{fill:currentColor!important}
.ml-lock-screen .ml-mindlife-mark path{fill:none!important;stroke:currentColor!important;stroke-width:4!important;stroke-linecap:round!important;stroke-linejoin:round!important}


/* MindLife v0.2.97 — compact Event title priority.
   A short Event must never sacrifice its Topic merely to preserve the full time string. */
.ml-schedule-event.ml-sch-compact:not(.ml-derived-travel) .ml-sch-compact-line{
  display:flex!important;
  flex-direction:row!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.ml-schedule-event.ml-sch-compact:not(.ml-derived-travel) .ml-sch-compact-line>strong{
  display:block!important;
  flex:1 1 auto!important;
  min-width:42px!important;
  max-width:none!important;
  width:auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.ml-schedule-event.ml-sch-compact:not(.ml-derived-travel) .ml-sch-compact-line>small{
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:58%!important;
  width:auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}


/* MindLife v0.2.98 — surgical Schedule housekeeping. */
/* IMAGE 1: only the 35-minute noncompact Travel transition needed more line breathing room. */
.ml-schedule-cell .ml-derived-travel.ml-travel-35:not(.ml-sch-compact)>strong{line-height:20px!important;}
.ml-schedule-cell .ml-derived-travel.ml-travel-35:not(.ml-sch-compact)>small{margin-top:1px!important;line-height:13px!important;}
.ml-repeat-until-controls{display:flex;align-items:center;gap:6px;min-width:0;}
.ml-sch-repeat-never{min-height:34px;padding:5px 9px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:transparent;color:inherit;}
.ml-sch-repeat-never.active{border-color:currentColor;font-weight:700;}
.ml-sch-repeat-never:disabled{opacity:.45;}

/* MindLife v0.3.01 — compact Event grammar repair.
   <30-minute Events read as one natural left-justified phrase: Topic – Time.
   Preserve title priority under constrained width without flexing the Topic across the row. */
.ml-schedule-event.ml-sch-compact:not(.ml-derived-travel) .ml-sch-compact-line>strong{
  flex:0 1 auto!important;
  min-width:42px!important;
}
.ml-schedule-event.ml-sch-compact:not(.ml-derived-travel) .ml-sch-compact-line>small{
  flex:0 10 auto!important;
  max-width:58%!important;
}


/* MindLife v0.3.02 — D01 Until/Never state must be visually self-evident. */
.ml-sch-repeat-never.active{background:#e7edf0!important;color:#101416!important;border-color:#e7edf0!important;font-weight:800!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)!important;}
.ml-sch-repeat-never:not(.active):not(:disabled){background:transparent!important;color:inherit!important;}


/* MindLife v0.3.03 — D01 Until/Never: inactive Never recedes when an Until date owns the state. */
.ml-sch-repeat-never:not(.active):not(:disabled){opacity:.62!important;}

/* MindLife v0.3.03 — S05 date/navigation group moves left as one unit; Return arrow is untouched. */
.ml-schedule-mode .ml-sch-persistent-nav{transform:translateX(-18px)!important;}
@media(max-width:620px){.ml-schedule-mode .ml-sch-persistent-nav{transform:translateX(-10px)!important;}}
@media(max-width:390px){.ml-schedule-mode .ml-sch-persistent-nav{transform:translateX(-6px)!important;}}

/* MindLife v0.3.05 — S06 authoritative corner-control placement.
   One final rule owns each breakpoint so legacy fixed/absolute declarations cannot pull the controls back to the edges. */
@media (min-width:521px){
  body .ml-lock-screen .ml-lock-voice-mic{position:absolute!important;left:56px!important;right:auto!important;bottom:28px!important;}
  body .ml-lock-screen .ml-lock-prayer-hands{position:absolute!important;right:56px!important;left:auto!important;bottom:28px!important;}
}
@media (max-width:520px){
  body .ml-lock-screen .ml-lock-voice-mic{position:fixed!important;left:max(28px,env(safe-area-inset-left))!important;right:auto!important;bottom:max(20px,env(safe-area-inset-bottom))!important;}
  body .ml-lock-screen .ml-lock-prayer-hands{position:fixed!important;right:max(28px,env(safe-area-inset-right))!important;left:auto!important;bottom:max(20px,env(safe-area-inset-bottom))!important;}
}

/* MindLife v0.3.08 — pending derived Before-Travel Leave Alert status. */
.ml-derived-travel .ml-travel-leave-led{
  position:absolute!important;
  right:34px!important;
  top:4px!important;
  width:9px!important;
  height:9px!important;
  transform:none!important;
  border-radius:50%!important;
  background:#61d36b!important;
  border:1px solid rgba(0,0,0,.28)!important;
  box-shadow:0 0 6px rgba(97,211,107,.9)!important;
  z-index:7!important;
}
.ml-travel-leave-line{
  margin-top:14px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(255,255,255,.13)!important;
  color:#dfe7e1!important;
  font-size:.96rem!important;
}
.ml-travel-leave-line strong{color:#79d982!important}

/* v0.3.08: tiny Before Travel keeps pending Leave LED visible without altering hard-time geometry. */
.ml-derived-travel.ml-travel-tiny{overflow:visible!important;}
.ml-derived-travel.ml-travel-tiny .ml-travel-leave-led{top:2px!important;}
/* v0.3.14 System Sounds */
.ml-sounds-open{width:100%;margin:0 0 10px;padding:10px 14px;border:1px solid #777;border-radius:10px;background:#666;color:#fff;font-size:18px;text-align:left}.ml-sound-library{padding:0;border:1px solid #777;border-radius:16px;background:#555;color:#eee;width:min(520px,96vw);max-height:92vh}.ml-sound-library::backdrop{background:rgba(0,0,0,.58)}.ml-sound-library form{padding:0}.ml-sound-body{padding:14px 16px 22px;overflow:auto;max-height:calc(92vh - 62px)}.ml-sound-note{margin:0 0 12px;color:#ddd}.ml-sound-purposes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:12px}.ml-sound-purpose,.ml-sound-card button,.ml-user-sound button,.ml-sound-add{border:1px solid #888;border-radius:8px;background:#666;color:#fff;padding:8px;cursor:pointer}.ml-sound-purpose.active{background:#222;border-color:#bbb}.ml-sound-deck,.ml-user-sounds{display:grid;gap:7px}.ml-sound-card,.ml-user-sound{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #707070;border-radius:10px;background:#4b4b4b}.ml-sound-card.selected,.ml-user-sound.selected{outline:2px solid #eee}.ml-sound-card>div,.ml-user-sound>div{display:flex;gap:6px;align-items:center}.ml-sound-body h3{margin:18px 0 8px}.ml-sound-add{display:inline-block}.ml-sound-add input{position:absolute;left:-10000px}.ml-sound-x{border:0;background:none;color:white;font-size:28px;cursor:pointer}@media(max-width:480px){.ml-sound-purposes{grid-template-columns:repeat(2,1fr)}.ml-sound-card,.ml-user-sound{font-size:14px}.ml-sound-card button,.ml-user-sound button,.ml-sound-add{padding:7px}}

/* v0.3.15 System Sounds — purpose-first library */
.ml-sound-purposes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.ml-sound-job{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #777;border-radius:10px;background:#4b4b4b;cursor:pointer}.ml-sound-job.active{outline:2px solid #eee;background:#333}.ml-sound-job>div{display:grid;gap:2px;min-width:0}.ml-sound-job span{font-size:12px;color:#ddd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-sound-job button{min-width:42px;border:1px solid #888;border-radius:8px;background:#666;color:#fff;padding:8px}.ml-sound-my-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.ml-sound-my-head h3{margin:0}.ml-sound-add-open{border:1px solid #888;border-radius:8px;background:#666;color:#fff;padding:8px 10px}.ml-sound-empty{color:#ccc;margin:8px 0}.ml-sound-add-dialog{padding:0;border:1px solid #777;border-radius:16px;background:#555;color:#eee;width:min(460px,94vw)}.ml-sound-add-dialog::backdrop{background:rgba(0,0,0,.58)}.ml-sound-add-body{padding:16px}.ml-sound-add-body>label{display:grid;gap:6px;font-weight:700}.ml-sound-add-name{font-size:16px;padding:10px;border-radius:8px;border:1px solid #888;background:#444;color:#fff}.ml-sound-file-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:16px;padding:10px;border:1px solid #777;border-radius:10px;background:#4b4b4b}.ml-sound-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-sound-choose-file,.ml-sound-add-actions button{border:1px solid #888;border-radius:8px;background:#666;color:#fff;padding:9px 11px}.ml-sound-file-input{position:absolute;left:-10000px}.ml-sound-add-body>p{font-size:12px;color:#ddd}.ml-sound-add-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.ml-sound-add-save:disabled{opacity:.45}.ml-sound-add-x{border:0;background:none;color:white;font-size:28px;cursor:pointer}@media(max-width:480px){.ml-sound-purposes{grid-template-columns:1fr}.ml-sound-file-row{grid-template-columns:1fr}.ml-sound-choose-file{width:100%}}

/* v0.3.24 Quotes header cleanup — S09 keeps only Return + Quotes */
.ml-quotes-mode .ml-view-label,.ml-quotes-mode .ml-search,.ml-quotes-mode .ml-add,.ml-quotes-mode .ml-menu{display:none!important;pointer-events:none!important}
.ml-quotes-mode .ml-context-header:hover:after,.ml-quotes-mode .ml-context-header.ml-context-tools-visible:after{display:none!important;content:none!important}
.ml-quote-card-actions{display:flex;align-items:center;gap:10px}.ml-quote-delete{border:0;background:transparent;color:#aab7b0;font-size:20px;padding:1px 3px;cursor:pointer}.ml-quote-delete:hover{color:#eef3f0}

/* v0.3.25 — Quote Presentation V1 */
.ml-quotes-mode .ml-heading{display:flex!important;align-items:center;gap:12px;padding-right:8px!important}.ml-quote-settings-gear{margin-left:auto;flex:0 0 auto;border:0;background:transparent;color:inherit;font-size:40px;line-height:1;width:52px;height:52px;padding:2px 8px 4px;opacity:.82;cursor:pointer;display:flex;align-items:center;justify-content:center}.ml-quote-settings-gear:hover,.ml-quote-settings-gear:focus-visible{opacity:1;background:rgba(255,255,255,.07);border-radius:10px;outline:none}
.ml-quote-settings{width:min(520px,94vw);max-height:90vh;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:#3e4542;color:#f4f6f5}.ml-quote-settings::backdrop{background:rgba(7,10,9,.62);backdrop-filter:blur(2px)}.ml-quote-settings-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.12)}.ml-quote-settings-head h2{grid-column:2;margin:0;text-align:center;font-size:18px;letter-spacing:.08em}.ml-quote-settings-head button{grid-column:1;border:0;background:none;color:#fff;font-size:28px}.ml-quote-settings-body{padding:18px 22px 26px;overflow:auto;max-height:calc(90vh - 60px)}.ml-quote-settings-body h3{margin:20px 0 8px;font-size:12px;letter-spacing:.16em;color:#c9d0cc}.ml-quote-settings-body h3:first-child{margin-top:0}.ml-quote-settings-body>label:not(.select):not(.range){display:flex;align-items:center;gap:12px;padding:9px 0}.ml-quote-settings-body input[type=checkbox]{width:20px;height:20px;accent-color:#7eb66a}.ml-quote-settings-body .select,.ml-quote-settings-body .range{display:grid;grid-template-columns:1fr minmax(130px,auto);align-items:center;gap:12px;padding:8px 0}.ml-quote-settings-body select{min-height:36px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#303633;color:#fff;padding:6px 9px}.ml-quote-settings-body input[type=range]{width:150px}.ml-quote-source-note{margin:8px 0 0;color:#bdc6c1;font-size:12px;line-height:1.45}.ml-quote-test{width:100%;margin-top:22px;padding:11px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:#555f5a;color:#fff;letter-spacing:.04em}
.ml-quote-presentation{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:max(26px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(26px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));background:radial-gradient(circle at 50% 42%,rgba(84,102,91,.38),rgba(9,13,11,.88) 70%);backdrop-filter:blur(9px);opacity:0;transition:opacity .42s ease}.ml-quote-presentation.show{opacity:1}.ml-quote-stage{position:relative;width:min(760px,92vw);min-height:min(540px,72vh);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(46px,8vw,92px) clamp(30px,8vw,88px);overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:linear-gradient(145deg,rgba(72,82,77,.94),rgba(36,43,39,.96));box-shadow:0 28px 90px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.08);transform:translateY(10px) scale(.99);transition:transform .5s ease}.ml-quote-presentation.show .ml-quote-stage{transform:none}.ml-quote-stage:before,.ml-quote-stage:after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.045);border-radius:50%}.ml-quote-stage:before{left:-165px;top:-140px}.ml-quote-stage:after{right:-180px;bottom:-150px}.ml-quote-ornament{display:flex;align-items:center;gap:9px;margin-bottom:32px;opacity:.5}.ml-quote-ornament i{display:block;width:5px;height:5px;border-radius:50%;background:#dbe2de}.ml-quote-ornament i:nth-child(2){width:42px;height:1px;border-radius:0}.ml-quote-stage blockquote{position:relative;z-index:1;margin:0;max-width:620px;color:#fbfcfb;text-align:center;font-family:Georgia,'Times New Roman',serif;font-size:clamp(25px,4.2vw,43px);font-weight:400;line-height:1.34;letter-spacing:-.012em}.ml-quote-presentation-by{position:relative;z-index:1;margin-top:32px;text-align:center;color:#d6ddd9;font-size:clamp(15px,2vw,18px);letter-spacing:.02em}.ml-quote-presentation-by small{display:block;margin-top:7px;color:#aeb9b3;font-size:12px;letter-spacing:.09em;text-transform:uppercase}.ml-quote-ack{position:relative;z-index:1;margin-top:42px;width:52px;height:52px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:#6f9e61;color:#fff;font-size:27px;line-height:1;box-shadow:0 8px 24px rgba(0,0,0,.22);cursor:pointer}.ml-quote-ack:active{transform:scale(.96)}@media(max-width:520px){.ml-quote-stage{min-height:68vh;border-radius:22px;padding:52px 28px}.ml-quote-stage blockquote{font-size:clamp(24px,7vw,34px)}.ml-quote-settings-body{padding:16px}.ml-quote-settings-body .select,.ml-quote-settings-body .range{grid-template-columns:1fr}.ml-quote-settings-body input[type=range]{width:100%}}
.ml-quote-alert-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;margin:0 0 8px 32px;padding:4px 0 8px 12px;border-left:1px solid rgba(255,255,255,.13)}.ml-quote-alert-types label{display:flex;align-items:center;gap:7px;padding:4px 0;font-size:13px;color:#d2d9d5}@media(max-width:420px){.ml-quote-alert-types{grid-template-columns:1fr}}

/* v0.3.26 permanent Quick Quote action in S01 hidden top menu */
.ml-top-quote-now svg{width:25px;height:25px;display:block;fill:currentColor}.ml-top-quote-now{display:inline-flex!important;align-items:center;justify-content:center}

/* v0.3.31 — Presentation shell sizing + selectable backgrounds */
.ml-quote-presentation{box-sizing:border-box;overflow:hidden;padding:max(22px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
.ml-quote-stage{box-sizing:border-box;width:min(760px,calc(100% - 4px));max-width:100%;min-width:0;min-height:0;height:auto;max-height:calc(100dvh - 44px);padding:clamp(38px,6vh,72px) clamp(24px,6vw,64px);overflow:auto;isolation:isolate}
.ml-quote-stage blockquote{max-width:100%;overflow-wrap:anywhere;font-size:clamp(24px,4.1vw,41px)}
.ml-quote-ack{flex:0 0 auto}
@media(max-width:520px){.ml-quote-presentation{padding:max(14px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.ml-quote-stage{width:100%;max-height:calc(100dvh - 28px);padding:clamp(34px,7vh,54px) 24px;border-radius:20px}.ml-quote-stage blockquote{font-size:clamp(23px,7vw,32px)}.ml-quote-presentation-by{margin-top:25px}.ml-quote-ack{margin-top:32px}}

/* Backgrounds are CSS-native: fast, responsive, no image asset/cropping failures. */
.ml-quote-bg-quiet .ml-quote-stage{background:linear-gradient(145deg,rgba(72,82,77,.96),rgba(36,43,39,.98))}
.ml-quote-bg-floral .ml-quote-stage{background:radial-gradient(circle at 14% 17%,rgba(250,218,225,.34) 0 2.3%,transparent 2.5%),radial-gradient(ellipse at 10% 14%,rgba(214,151,171,.22) 0 4%,transparent 4.4%),radial-gradient(ellipse at 18% 14%,rgba(214,151,171,.22) 0 4%,transparent 4.4%),radial-gradient(ellipse at 14% 10%,rgba(214,151,171,.22) 0 4%,transparent 4.4%),radial-gradient(ellipse at 14% 20%,rgba(214,151,171,.22) 0 4%,transparent 4.4%),radial-gradient(ellipse at 84% 80%,rgba(205,154,184,.18) 0 5%,transparent 5.4%),linear-gradient(32deg,transparent 0 45%,rgba(152,181,137,.16) 46% 47%,transparent 48%),linear-gradient(145deg,#4b5047,#292e2a)}
 .ml-quote-bg-paisley .ml-quote-stage{background-color:#302a2d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='300' viewBox='0 0 360 300'%3E%3Cg fill='none' stroke='%23d6b98d' stroke-opacity='.18' stroke-width='1.5'%3E%3Cg transform='translate(28 34) rotate(-18) scale(.48)'%3E%3Cpath d='M54 116C22 96 23 52 57 26c20-15 40-12 50-4-21 2-31 15-29 30 3 19 26 23 25 46-1 28-27 38-49 18Z'/%3E%3Cpath d='M58 104C38 89 40 61 61 45c11-8 21-10 30-8-12 8-14 18-8 28 8 13 17 20 12 31-7 15-24 17-37 8Z'/%3E%3C/g%3E%3Cg transform='translate(174 18) rotate(29) scale(.38)'%3E%3Cpath d='M54 116C22 96 23 52 57 26c20-15 40-12 50-4-21 2-31 15-29 30 3 19 26 23 25 46-1 28-27 38-49 18Z'/%3E%3Cpath d='M58 104C38 89 40 61 61 45c11-8 21-10 30-8-12 8-14 18-8 28 8 13 17 20 12 31-7 15-24 17-37 8Z'/%3E%3C/g%3E%3Cg transform='translate(272 105) rotate(-43) scale(.44)'%3E%3Cpath d='M54 116C22 96 23 52 57 26c20-15 40-12 50-4-21 2-31 15-29 30 3 19 26 23 25 46-1 28-27 38-49 18Z'/%3E%3C/g%3E%3Cg transform='translate(82 180) rotate(38) scale(.34)'%3E%3Cpath d='M54 116C22 96 23 52 57 26c20-15 40-12 50-4-21 2-31 15-29 30 3 19 26 23 25 46-1 28-27 38-49 18Z'/%3E%3C/g%3E%3Cg transform='translate(218 214) rotate(8) scale(.5)'%3E%3Cpath d='M54 116C22 96 23 52 57 26c20-15 40-12 50-4-21 2-31 15-29 30 3 19 26 23 25 46-1 28-27 38-49 18Z'/%3E%3Cpath d='M58 104C38 89 40 61 61 45c11-8 21-10 30-8-12 8-14 18-8 28 8 13 17 20 12 31-7 15-24 17-37 8Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),linear-gradient(140deg,#4a3d42,#272326);background-size:360px 300px,auto}
.ml-quote-bg-sunrise .ml-quote-stage{background:radial-gradient(circle at 50% 92%,rgba(255,221,158,.55) 0 8%,rgba(221,139,105,.30) 22%,transparent 45%),linear-gradient(to bottom,#293a50 0%,#5b6470 48%,#8d665b 75%,#4a3d38 100%)}
.ml-quote-bg-water .ml-quote-stage{background:radial-gradient(ellipse at 52% 54%,rgba(255,255,255,.48) 0 1.2%,transparent 1.6%),radial-gradient(ellipse at 28% 58%,rgba(255,255,255,.28) 0 1.1%,transparent 1.5%),repeating-radial-gradient(ellipse at 50% 66%,transparent 0 12px,rgba(236,248,249,.15) 13px 15px,transparent 16px 31px),linear-gradient(to bottom,#6fa7b9 0 28%,#4f879a 29% 48%,#28677a 49% 63%,#d9c294 64% 75%,#b89563 76% 100%)}
.ml-quote-bg-water .ml-quote-stage:after{content:"";position:absolute;left:0;right:0;top:58%;height:12%;pointer-events:none;background:radial-gradient(ellipse at 18% 35%,rgba(255,255,255,.72) 0 4%,transparent 4.5%),radial-gradient(ellipse at 45% 50%,rgba(255,255,255,.6) 0 4%,transparent 4.5%),radial-gradient(ellipse at 72% 35%,rgba(255,255,255,.68) 0 4%,transparent 4.5%);opacity:.6}
.ml-quote-bg-space .ml-quote-stage{background:radial-gradient(circle at 18% 20%,rgba(255,255,255,.8) 0 1px,transparent 1.5px),radial-gradient(circle at 73% 28%,rgba(255,255,255,.65) 0 1px,transparent 1.5px),radial-gradient(circle at 42% 72%,rgba(255,255,255,.7) 0 1px,transparent 1.5px),radial-gradient(circle at 87% 78%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),radial-gradient(circle at 48% 45%,rgba(91,90,156,.22),transparent 42%),linear-gradient(145deg,#17182b,#080b17)}
.ml-quote-bg-parchment .ml-quote-stage{background:radial-gradient(circle at 15% 20%,rgba(110,80,45,.06) 0 1px,transparent 1.5px),radial-gradient(circle at 72% 67%,rgba(110,80,45,.05) 0 1px,transparent 1.5px),linear-gradient(135deg,#ded2b8,#c8b994)}
.ml-quote-bg-parchment .ml-quote-stage blockquote{color:#29241d}.ml-quote-bg-parchment .ml-quote-presentation-by{color:#433b30}.ml-quote-bg-parchment .ml-quote-presentation-by small{color:#685d4e}.ml-quote-bg-parchment .ml-quote-ornament i{background:#544a3c}

/* v0.3.34 Quote CSV import */
.ml-quote-import{width:100%;margin-top:22px;padding:11px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:#4d5752;color:#fff;letter-spacing:.04em;cursor:pointer}.ml-quote-import:disabled{opacity:.55;cursor:wait}.ml-quote-import-status{min-height:18px;margin:8px 2px 0;color:#d6ddd9;font-size:12px;line-height:1.45}.ml-quote-import+.ml-quote-import-file+.ml-quote-import-status+.ml-quote-test{margin-top:12px}


/* MindLife v0.3.36 — surgical iPhone Schedule/Weather repairs. */
/* Weather status owns its iOS long-press gesture; suppress browser text/image callouts only here. */
.ml-dateweather,
.ml-dateweather *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
.ml-dateweather{-webkit-tap-highlight-color:transparent!important;touch-action:manipulation!important;}

/* Guests / Notes: wider entry fields, same height. */
.ml-schedule-item-dialog .ml-sch-guests-row,
.ml-schedule-item-dialog .ml-sch-notes-row{
  grid-template-columns:88px minmax(0,1fr)!important;
  column-gap:6px!important;
}

/* Repeat / Until: remove legacy desktop minimums on phone so Never cannot force horizontal overflow. */
@media(max-width:620px){
  .ml-schedule-item-dialog .ml-sch-repeat-row{
    grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .ml-schedule-item-dialog .ml-sch-repeat-row>label{min-width:0!important;}
  .ml-schedule-item-dialog .ml-repeat-until-controls{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
  }
  .ml-schedule-item-dialog .ml-sch-repeat-row .ml-picker-wrap{min-width:0!important;width:100%!important;}
  .ml-schedule-item-dialog .ml-sch-repeat-row .ml-sch-repeat-until{min-width:0!important;width:100%!important;padding-left:6px!important;padding-right:4px!important;}
  .ml-schedule-item-dialog .ml-sch-repeat-never{min-width:48px!important;padding:5px 6px!important;white-space:nowrap!important;}
  .ml-schedule-item-dialog .ml-sch-guests-row,
  .ml-schedule-item-dialog .ml-sch-notes-row{
    grid-template-columns:68px minmax(0,1fr)!important;
    column-gap:5px!important;
  }
}


/* MindLife v0.3.37 — persistent working/reconnection feedback.
   Keep the current MindLife surface visible; only overlay a small status affordance. */
.ml-working-layer{position:absolute;left:50%;top:72px;transform:translateX(-50%);z-index:9997;display:flex;align-items:center;gap:9px;max-width:calc(100% - 28px);padding:8px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(22,29,33,.92);color:#f4f7f8;box-shadow:0 4px 18px rgba(0,0,0,.28);font-size:14px;pointer-events:none}
.ml-working-layer[hidden]{display:none!important}.ml-working-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:ml-working-spin .8s linear infinite;flex:0 0 auto}@keyframes ml-working-spin{to{transform:rotate(360deg)}}
.ml-arrival-curtain{flex-direction:column;gap:18px}.ml-arrival-curtain:after{content:'Loading MindLife…';display:block;color:#dce4e8;font-size:14px;font-weight:600;letter-spacing:.02em}.ml-arrival-curtain:before{content:'';display:block;position:absolute;width:22px;height:22px;margin-top:82px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:ml-working-spin .8s linear infinite}
@media(max-width:520px){.ml-working-layer{top:64px;font-size:13px;padding:7px 11px}}

/* v0.3.41 Repeato — brief recurring actions, separate from Schedule and To Do */
.ml-repeato{min-height:100%;padding:0 0 28px}.ml-repeato-top{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:46px 1fr 46px 52px;gap:6px;align-items:center;padding:8px;background:#11191d;border-bottom:1px solid #34434b}.ml-repeato-top button{min-height:42px;border:1px solid #47565e;border-radius:8px;background:#202b31;color:#fff;font-size:24px}.ml-repeato-date{font-size:16px!important;font-weight:700}.ml-repeato-add{font-size:27px!important}.ml-repeato-list{display:grid;gap:9px;padding:10px}.ml-repeato-card{border:1px solid #3a474e;background:linear-gradient(180deg,#25333a,#11181c);border-radius:10px;padding:10px 11px;box-shadow:0 3px 12px rgba(0,0,0,.25)}.ml-repeato-card.inactive{opacity:.52}.ml-repeato-card header{display:grid;grid-template-columns:1fr 46px;align-items:center;gap:8px}.ml-repeato-title{border:0;background:transparent;color:#fff;text-align:left;font-size:21px;font-weight:700;padding:2px 0}.ml-repeato-card p{margin:3px 0 6px;color:#9ed7f4;font-size:13px}.ml-repeato-card small{display:block;color:#b7c0c5;margin-bottom:7px}.ml-repeato-active input{position:absolute;opacity:0}.ml-repeato-active span{display:block;width:42px;height:24px;border-radius:14px;background:#596268;position:relative}.ml-repeato-active span:after{content:'';position:absolute;width:20px;height:20px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.15s}.ml-repeato-active input:checked+span{background:#32bd61}.ml-repeato-active input:checked+span:after{left:20px}.ml-repeato-occurrences{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.ml-repeato-occ{display:flex;align-items:center;gap:7px;border:1px solid #53626a;border-radius:18px;background:#172126;color:#fff;padding:6px 10px}.ml-repeato-occ.done{background:#24452f;border-color:#4d9d65}.ml-repeato-occ.skip{opacity:.55}.ml-repeato-occ span{font-size:17px}.ml-repeato-card footer{text-align:right;color:#8e9ba1;font-size:11px;margin-top:6px}.ml-repeato-empty{display:grid;gap:7px;text-align:center;color:#aeb9bf;padding:42px 20px}.ml-repeato-empty strong{font-size:22px;color:#fff}.ml-repeato-dialog{width:min(520px,96vw);max-height:92dvh;padding:0;border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff}.ml-repeato-dialog::backdrop{background:rgba(0,0,0,.72)}.ml-repeato-editor-head{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:#26343b;padding:8px}.ml-repeato-editor-head h2{font-size:18px;text-align:center;margin:0}.ml-repeato-editor-head button{border:0;background:transparent;color:#fff;font-size:27px}.ml-repeato-editor-body{display:grid;gap:12px;padding:14px 16px 22px;max-height:calc(92dvh - 60px);overflow-y:auto}.ml-repeato-editor-body>label,.ml-repeato-window label,.ml-repeato-interval label,.ml-repeato-count label,.ml-repeato-specific label{display:grid;gap:5px;color:#b9c5ca;font-size:13px}.ml-repeato-editor-body input,.ml-repeato-editor-body textarea,.ml-repeato-editor-body select{width:100%;box-sizing:border-box;border:1px solid #4a5960;border-radius:7px;background:#071014;color:#fff;padding:9px;font:inherit}.ml-repeato-window{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ml-repeato-editor-body fieldset{border:1px solid #39474e;border-radius:8px}.ml-repeato-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.ml-repeato-days input{position:absolute;opacity:0}.ml-repeato-days span{display:flex;justify-content:center;align-items:center;min-height:36px;border-radius:18px;background:#29343a}.ml-repeato-days input:checked+span{background:#47748b;color:#fff;font-weight:700}.ml-repeato-enabled{display:flex!important;grid-template-columns:24px 1fr!important;align-items:center}.ml-repeato-enabled input{width:20px!important;height:20px}.ml-repeato-delete{border:1px solid #874444;border-radius:7px;background:#3a1818;color:#ffb7b7;padding:10px}.ml-repeato-editor-body [hidden]{display:none!important}

/* v0.3.41 Repeato status LED: open=pending, filled=done, x=skip. */
.ml-repeato-occ span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;font-weight:800}.ml-repeato-occ.done span{font-size:20px}.ml-repeato-occ.skip span{font-size:18px}

/* v0.3.41 Repeato interval unit selector */
.ml-repeato-interval-control{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.72fr);gap:8px;align-items:center}.ml-repeato-interval-control input,.ml-repeato-interval-control select{min-width:0}


/* v0.3.44 Developer Console */
.ml-dev-console{width:min(560px,96vw);max-height:90dvh;padding:0;border:1px solid #59666d;border-radius:12px;background:#11191d;color:#fff}.ml-dev-console::backdrop{background:rgba(0,0,0,.72)}.ml-dev-console-head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:#26343b;padding:8px}.ml-dev-console-head h2{margin:0;text-align:center;font-size:18px}.ml-dev-console-head button{border:0;background:transparent;color:#fff;font-size:27px}.ml-dev-console-body{padding:16px;overflow:auto}.ml-dev-console-body section{border:1px solid #39474e;border-radius:10px;padding:14px}.ml-dev-console-body h3{margin:0 0 6px}.ml-dev-console-body p{color:#b9c5ca}.ml-dev-console-state{display:flex;justify-content:space-between;gap:10px;margin:12px 0;color:#9ed7f4}.ml-dev-console-actions{display:flex;flex-wrap:wrap;gap:8px}.ml-dev-console-actions button,.ml-dev-console-open{border:1px solid #53626a;border-radius:7px;background:#202b31;color:#fff;padding:9px 11px}.ml-dev-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.ml-dev-stats span{display:flex;justify-content:space-between;gap:8px;border:1px solid #34434b;border-radius:7px;padding:8px;color:#b9c5ca}.ml-dev-stats b{color:#fff}.ml-dev-note{font-size:12px}

/* v0.3.45 Audio Engine Stage 1 */
.ml-audio-engine{padding:8px 2px 92px;color:#fff}.ml-audio-player{border:1px solid #3d4a50;background:linear-gradient(#242d32,#080b0d);padding:18px 14px;text-align:center}.ml-audio-eyebrow{font-size:11px;letter-spacing:.18em;color:#9aa7ad;margin-bottom:7px}.ml-audio-now-title{display:block;font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-audio-transport{display:flex;justify-content:center;align-items:center;gap:24px;margin:16px 0 10px}.ml-audio-transport button{border:1px solid #66757d;background:#111;color:#fff;border-radius:50%;width:48px;height:48px;font-size:25px}.ml-audio-play-main{width:62px!important;height:62px!important}.ml-audio-seek{width:100%}.ml-audio-time{font-size:12px;color:#aab4b9}.ml-audio-tabs{display:flex;overflow-x:auto;gap:5px;padding:10px 0}.ml-audio-tabs button{flex:0 0 auto;background:#161c1f;border:1px solid #46545b;color:#fff;padding:8px 10px;font-size:11px}.ml-audio-tabs button.active{background:#3b474d}.ml-audio-tabs button:disabled{opacity:.38}.ml-audio-library-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.ml-audio-import{background:#111;border:1px solid #66757d;color:#fff;padding:9px 11px}.ml-audio-library-sort{display:flex;gap:6px;margin:2px 0 12px}.ml-audio-library-sort button{border:1px solid #53636b;background:#111;color:#aab4b9;padding:7px 12px;font-size:11px}.ml-audio-library-sort button.active{color:#fff;background:#3b474d}.ml-audio-album{margin:0 0 18px}.ml-audio-album>header{padding:12px 4px 8px;border-bottom:1px solid #53636b}.ml-audio-album>header h3{margin:0;font-size:20px;letter-spacing:.02em}.ml-audio-album>header p{margin:3px 0 0;color:#aab4b9;font-size:13px}.ml-audio-row{display:grid;grid-template-columns:48px minmax(0,max-content) minmax(12px,1fr) auto;align-items:center;column-gap:7px;border-bottom:1px solid #334047;min-height:52px}.ml-audio-row button{background:transparent;border:0;color:#fff}.ml-audio-row-play{font-size:20px;min-width:44px;min-height:44px}.ml-audio-row-main{text-align:left;min-width:0;padding:0}.ml-audio-row-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}.ml-audio-dot-leader{min-width:12px;overflow:hidden;white-space:nowrap;color:#66757d;line-height:1}.ml-audio-dot-leader:after{content:"........................................................................................................................";letter-spacing:2px}.ml-audio-row-duration{font-variant-numeric:tabular-nums;color:#c4ccd0;font-size:14px;text-align:right;white-space:nowrap}.ml-audio-row.is-playing .ml-audio-row-play,.ml-audio-row.is-playing .ml-audio-row-main strong{color:#65d87a}.ml-audio-row.is-paused .ml-audio-row-play,.ml-audio-row.is-paused .ml-audio-row-main strong{color:#65d87a}.ml-audio-inline-meta{font-weight:400;color:#aab4b9}.ml-audio-song-view{grid-template-columns:48px minmax(0,max-content) minmax(12px,1fr) auto}@media(max-width:520px){.ml-audio-row{grid-template-columns:42px minmax(0,max-content) minmax(8px,1fr) auto;column-gap:5px}.ml-audio-row-main strong{font-size:14px}.ml-audio-row-duration{font-size:13px}.ml-audio-song-view .ml-audio-row-main{max-width:58vw}}.ml-audio-empty{padding:36px 15px;text-align:center;color:#aab4b9}.ml-audio-empty strong,.ml-audio-empty span{display:block}.ml-audio-empty strong{color:#fff;margin-bottom:8px}.ml-audio-mini{position:absolute;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:48px minmax(0,1fr) auto 44px;align-items:center;min-height:58px;background:rgba(5,8,10,.97);border-top:1px solid #53636b;color:#fff}.ml-audio-mini[hidden]{display:none}.ml-audio-mini button{background:transparent;border:0;color:#fff;min-height:44px}.ml-audio-mini-title{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-audio-mini-time{font-size:12px;color:#aab4b9;padding:0 5px}
/* v0.3.46 Audio Architecture v1 */
.ml-audio-health{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;border:1px solid #405058;background:linear-gradient(180deg,#1b2428,#101517);padding:12px 14px;margin:10px 0}.ml-audio-health div{grid-row:1/3}.ml-audio-health small,.ml-audio-health strong{display:block}.ml-audio-health small{letter-spacing:.12em;color:#98a4aa;font-size:10px}.ml-audio-health strong{font-size:20px;margin-top:2px}.ml-audio-health span{font-size:12px;text-align:right}.ml-audio-health .needs{font-weight:700}.ml-audio-import-center{position:relative;border:1px solid #53636b;background:#11181b;padding:16px;margin:8px 0 14px}.ml-audio-import-center[hidden]{display:none}.ml-audio-import-center h3{margin:0 30px 6px 0;letter-spacing:.08em}.ml-audio-import-center p{color:#b5c0c5;font-size:13px;line-height:1.4}.ml-audio-import-close{position:absolute;right:8px;top:7px;border:0;background:transparent;color:#fff;font-size:28px}.ml-audio-import-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.ml-audio-import-choices button{min-height:66px;border:1px solid #596a72;background:#182126;color:#fff;font-weight:700;text-align:left;padding:10px}.ml-audio-import-choices button small{display:block;font-weight:400;color:#aeb9be;margin-top:4px}.ml-audio-import-choices button:disabled{opacity:.42}.ml-audio-protection-note{border-top:1px solid #35434a;padding-top:10px}.ml-audio-import-status{min-height:18px;font-size:12px;color:#c7d0d4}.ml-audio-materials,.ml-audio-storage{margin-top:18px;border-top:1px solid #405058;padding-top:10px}.ml-audio-materials h3,.ml-audio-storage h3{font-size:12px;letter-spacing:.12em;color:#aab4b9}.ml-audio-materials>div,.ml-audio-storage>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #2f3a40;padding:9px 2px}.ml-audio-materials span,.ml-audio-storage span{font-size:11px;color:#98a4aa;text-align:right}@media(max-width:520px){.ml-audio-import-choices{grid-template-columns:1fr}.ml-audio-health{grid-template-columns:1fr auto}}

/* v0.3.49 Audio metadata / album presentation */
.ml-audio-library-actions{display:flex;gap:6px;align-items:center}.ml-audio-scan{background:#111;border:1px solid #53636b;color:#aab4b9;padding:9px 10px;font-size:10px}
.ml-audio-album>header{padding:10px 0 8px}.ml-audio-album-info{width:100%;display:grid;grid-template-columns:62px minmax(0,1fr) 32px;gap:11px;align-items:center;text-align:left;background:transparent;border:0;color:#fff;padding:0 4px}.ml-audio-album-art{width:58px;height:58px;border:1px solid #53636b;background:#151b1e;display:grid;place-items:center;overflow:hidden;color:#6e7b81;font-size:25px}.ml-audio-album-art img{width:100%;height:100%;object-fit:cover}.ml-audio-album-copy{min-width:0}.ml-audio-album-copy h3{margin:0;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-audio-album-copy p{margin:3px 0 0;color:#aab4b9;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-audio-album-edit{color:#8d9aa0;font-size:17px;text-align:right}
.ml-audio-album-row{grid-template-columns:39px 28px minmax(0,max-content) minmax(12px,1fr) auto}.ml-audio-track-no{font-variant-numeric:tabular-nums;color:#aab4b9;text-align:right;font-size:13px}.ml-audio-disc{font-size:10px;letter-spacing:.15em;color:#89969c;padding:10px 4px 4px;border-bottom:1px solid #334047}
.ml-audio-info-dialog{width:min(92vw,480px);border:1px solid #63737b;background:#11181b;color:#fff;padding:0}.ml-audio-info-dialog::backdrop{background:rgba(0,0,0,.72)}.ml-audio-info-dialog form{padding:18px;position:relative}.ml-audio-info-dialog h2{margin:0 35px 5px 0;font-size:20px}.ml-audio-info-close{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#fff;font-size:28px}.ml-audio-info-count,.ml-audio-info-note{color:#9eaaaf;font-size:12px}.ml-audio-info-dialog label{display:block;color:#b7c0c4;font-size:11px;margin:12px 0 0}.ml-audio-info-dialog input{box-sizing:border-box;width:100%;margin-top:4px;background:#080b0d;border:1px solid #53636b;color:#fff;padding:10px;font-size:16px}.ml-audio-info-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ml-audio-info-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.ml-audio-info-actions button{border:1px solid #66757d;background:#161c1f;color:#fff;padding:10px 12px}.ml-audio-info-save{font-weight:700}
@media(max-width:520px){.ml-audio-library-head{align-items:flex-start}.ml-audio-library-actions{flex-direction:column;align-items:stretch}.ml-audio-scan,.ml-audio-import{padding:8px 7px}.ml-audio-album-row{grid-template-columns:34px 24px minmax(0,max-content) minmax(8px,1fr) auto;column-gap:4px}.ml-audio-album-info{grid-template-columns:56px minmax(0,1fr) 26px;gap:8px}.ml-audio-album-art{width:52px;height:52px}}

/* v0.3.50 selected album correction */
.ml-audio-missing-note{margin:5px 8px 8px;color:#aebbc1;font-size:12px}.ml-audio-info-track-list{max-height:32vh;overflow-y:auto;margin-top:12px;padding:5px;border:1px solid #48555b}.ml-audio-info-dialog .ml-audio-track-choice{display:flex;align-items:center;gap:10px;margin:0;padding:7px 2px;font-size:13px;color:#fff;border-bottom:1px solid #334047}.ml-audio-info-dialog .ml-audio-track-choice input{width:20px;height:20px;flex:none;margin:0}.ml-audio-album-row{grid-template-columns:38px 26px minmax(0,max-content) minmax(8px,1fr) auto}@media(max-width:520px){.ml-audio-album-row{grid-template-columns:34px 24px minmax(0,max-content) minmax(8px,1fr) auto}}

/* v0.3.53: fixed-width transport/time, flexible title, bounded dot leaders. Always reserve the track column. */
.ml-audio-album-row{grid-template-columns:38px 28px minmax(0,1fr) minmax(0,56px) 48px;column-gap:6px}
.ml-audio-album-row .ml-audio-row-main{width:100%;min-width:0;max-width:none}
.ml-audio-album-row .ml-audio-dot-leader{min-width:0;max-width:56px}
.ml-audio-album-row .ml-audio-track-no{min-width:0;white-space:nowrap}
.ml-audio-info-dialog .ml-audio-track-choice{display:grid;grid-template-columns:24px minmax(0,1fr) 55px;gap:8px;align-items:center}
.ml-audio-info-dialog .ml-audio-track-choice .ml-audio-edit-track{width:55px;min-width:0;padding:6px 2px;text-align:center;font-size:13px;margin:0}
@media(max-width:520px){.ml-audio-album-row{grid-template-columns:34px 23px minmax(0,1fr) minmax(0,28px) 42px;column-gap:4px}.ml-audio-album-row .ml-audio-dot-leader{max-width:28px}}

/* v0.3.57: album artwork upload within Album Information */
.ml-audio-info-artwork{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;margin:14px 0;padding:10px;border:1px solid #48555b}
.ml-audio-info-art-preview{width:72px;height:72px;display:grid;place-items:center;background:#151b1e;color:#829098;border:1px solid #53636b;font-size:29px;overflow:hidden}
.ml-audio-info-art-preview img{width:100%;height:100%;object-fit:cover}
.ml-audio-info-artwork strong{font-size:12px}.ml-audio-info-artwork p{font-size:11px;line-height:1.4;color:#b7c0c4;margin:5px 0 9px}
.ml-audio-info-artwork .ml-audio-art-choose{background:#1b2931;color:#fff;border:1px solid #74838c;padding:9px;font-size:12px;max-width:100%}

/* v0.3.58: compact, accessible Audio mini-player. Keep list content above the bar. */
.ml-audio-mini{grid-template-columns:44px 44px minmax(0,1fr) 44px;gap:3px;min-height:86px;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.ml-audio-mini-center{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:8px;row-gap:5px;min-width:0;align-items:center}
.ml-audio-mini-title{grid-column:1;grid-row:1;min-width:0;min-height:30px!important;padding:0;text-align:left;font-size:14px;font-weight:600}
.ml-audio-mini-time{grid-column:2;grid-row:1;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px;padding:0}
.ml-audio-mini-seek{grid-column:1/-1;grid-row:2;width:100%;height:24px;margin:0;accent-color:#65d87a;touch-action:pan-y}
.ml-audio-mini-prev,.ml-audio-mini-next{font-size:30px;min-width:42px;min-height:48px!important}
.ml-audio-mini-play{font-size:21px;min-width:42px;min-height:48px!important}
.ml-audio-engine{padding-bottom:132px}
@media(max-width:380px){.ml-audio-mini{grid-template-columns:38px 38px minmax(0,1fr) 38px;gap:1px;padding-left:3px;padding-right:3px}.ml-audio-mini-time{font-size:10px}}

/* v0.3.59: seek above the song label, with an iPhone-friendly drag target. */
.ml-audio-mini{min-height:106px;padding:10px 8px calc(15px + env(safe-area-inset-bottom,0px))}
.ml-audio-mini-center{grid-template-rows:38px auto;row-gap:3px}
.ml-audio-mini-seek{grid-column:1/-1;grid-row:1;height:38px;min-height:38px;touch-action:pan-y;cursor:pointer}
.ml-audio-mini-title{grid-column:1;grid-row:2;min-height:32px!important;color:#fff}
.ml-audio-mini-title.has-selection{color:#65d87a}
.ml-audio-mini-time{grid-column:2;grid-row:2}
.ml-audio-mini-prev,.ml-audio-mini-next,.ml-audio-mini-play{align-self:center;min-height:48px!important}
.ml-audio-engine{padding-bottom:162px}

/* v0.3.60 Audio search */
.ml-audio-header-search{margin-left:auto;font-size:30px;min-width:44px;min-height:44px;background:transparent;border:0;color:inherit}.ml-context-header:not(:has(+ .ml-content .ml-audio-engine)) .ml-audio-header-search{display:none!important}
.ml-audio-search-panel{border:1px solid #48575d;background:#101719;padding:10px;margin:8px 0 14px;border-radius:8px}.ml-audio-search-field{display:flex;align-items:center;gap:8px}.ml-audio-search-input{min-width:0;flex:1;font-size:16px;padding:11px;background:#080c0e;border:1px solid #617178;border-radius:5px;color:white}.ml-audio-search-clear{min-width:44px;min-height:44px;background:transparent;color:white;border:0;font-size:25px}.ml-audio-search-results{max-height:min(50vh,420px);overflow-y:auto;overscroll-behavior:contain}.ml-audio-search-section{font-size:11px;letter-spacing:.12em;color:#9eabb1;margin:14px 4px 5px;font-weight:700}.ml-audio-search-result{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:48px;padding:8px 10px;background:transparent;border:0;border-bottom:1px solid #334047;color:#fff;width:100%;text-align:left}.ml-audio-search-result small{color:#9eabb1;margin-top:3px}.ml-audio-search-result:has([data-remove-recent]){flex-direction:row}.ml-audio-recent-remove{background:transparent;border:0;color:#adb7bb;min-width:44px;min-height:44px}.ml-audio-clear-recent,.ml-audio-search-back{background:transparent;color:#8fbafa;border:0;padding:12px 4px;min-height:44px}.ml-audio-focus-heading{font-size:13px;letter-spacing:.1em;color:#aab4b9;margin:14px 0 8px}.ml-audio-search-panel p{color:#aab4b9;padding:8px}

/* Audio Settings v0.3.61 */
.ml-audio-header-gear{font-size:27px;min-width:44px;min-height:44px;background:transparent;border:0;color:inherit}.ml-context-header:not(:has(+ .ml-content .ml-audio-engine)) .ml-audio-header-gear{display:none!important}
.ml-audio-settings{max-width:850px;margin:0 auto;padding:12px 8px 35px;color:#edf1f2}.ml-audio-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ml-audio-settings-head h2{margin:0;font-size:21px}.ml-audio-settings-close{border:0;background:transparent;color:inherit;font-size:30px;min-width:44px;min-height:44px}.ml-audio-settings>p,.ml-audio-settings footer{color:#aab7bc;font-size:13px;line-height:1.5}.ml-audio-settings h3{font-size:12px;letter-spacing:.11em;color:#a9c5d2;margin:24px 0 7px}.ml-audio-setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #344147;padding:13px 2px;min-height:62px}.ml-audio-setting-row>span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.ml-audio-setting-row strong{font-size:14px;font-weight:600}.ml-audio-setting-row small{font-size:12px;color:#aebbc0;line-height:1.4}.ml-audio-setting-row select{max-width:46%;min-height:42px;border:1px solid #667980;border-radius:6px;background:#162025;color:#fff;padding:7px;font-size:14px}.ml-audio-setting-row input[type=checkbox]{width:23px;height:23px;accent-color:#76b2db;flex-shrink:0}.ml-audio-setting-row button{min-height:44px;background:#25343b;color:#e9f2f7;border:1px solid #61747e;border-radius:6px;padding:0 13px}.ml-audio-setting-planned{opacity:.53}.ml-audio-planned{font-size:10px;letter-spacing:.06em;border:1px solid #657178;border-radius:5px;padding:5px 7px;white-space:nowrap}.ml-audio-settings footer{padding:22px 2px}.ml-audio-header-search{margin-left:auto}.ml-audio-header-gear{margin-left:0}

/* v0.3.62 — S05 date bar: one responsive grid, no fixed-date widths or optical translations.
   Overrides the historical absolute-position and fixed-column rules above. */
.ml-schedule-mode .ml-context-header{position:relative!important}
.ml-schedule-mode .ml-heading{
  left:clamp(52px,7vw,70px)!important;right:clamp(8px,2vw,18px)!important;
  width:auto!important;height:72px!important;display:flex!important;
  align-items:center!important;justify-content:center!important;overflow:visible!important;
  pointer-events:none!important
}
.ml-schedule-mode .ml-sch-persistent-nav{
  position:static!important;transform:none!important;display:grid!important;
  grid-template-columns:minmax(38px,44px) minmax(34px,40px) minmax(0,1fr) minmax(34px,40px) minmax(38px,44px) minmax(38px,44px)!important;
  gap:clamp(2px,.6vw,7px)!important;width:100%!important;max-width:760px!important;
  height:64px!important;margin:0 auto!important;align-items:center!important;justify-content:stretch!important;
  pointer-events:none!important
}
.ml-schedule-mode .ml-sch-persistent-nav button{
  position:static!important;left:auto!important;right:auto!important;top:auto!important;
  transform:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;
  max-width:none!important;height:44px!important;margin:0!important;padding:0 2px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid transparent!important;border-radius:10px!important;line-height:1!important;
  pointer-events:auto!important;touch-action:manipulation!important
}
.ml-schedule-mode .ml-sch-persistent-nav .ml-sch-date-head{
  min-width:0!important;max-width:none!important;width:100%!important;
  font-size:clamp(15px,2.8vw,25px)!important;font-weight:750!important;letter-spacing:-.02em!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  padding:0 5px!important;text-align:center!important
}
.ml-schedule-mode .ml-sch-prev-week-head,.ml-schedule-mode .ml-sch-next-week-head,
.ml-schedule-mode .ml-sch-prev-head,.ml-schedule-mode .ml-sch-next-head,
.ml-schedule-mode .ml-sch-settings-head{font-size:clamp(22px,3vw,28px)!important}
.ml-schedule-mode .ml-sch-double{gap:0!important}
.ml-schedule-mode .ml-sch-settings-head{border-color:#38464e!important;background:#172127!important;font-size:23px!important}
.ml-schedule-mode .ml-sch-persistent-nav button:focus-visible{
  outline:2px solid #8fd3ff!important;outline-offset:2px!important
}
@media(max-width:620px){
 .ml-schedule-mode .ml-heading{left:52px!important;right:5px!important}
 .ml-schedule-mode .ml-sch-persistent-nav{
  grid-template-columns:34px 30px minmax(0,1fr) 30px 34px 35px!important;
  gap:1px!important;height:60px!important
 }
 .ml-schedule-mode .ml-sch-persistent-nav button{height:44px!important;padding:0!important;border-radius:8px!important}
 .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-date-head{font-size:clamp(12px,3.45vw,19px)!important;padding:0 2px!important}
 .ml-schedule-mode .ml-sch-prev-week-head,.ml-schedule-mode .ml-sch-next-week-head,
 .ml-schedule-mode .ml-sch-prev-head,.ml-schedule-mode .ml-sch-next-head{font-size:22px!important}
}
@media(max-width:390px){
 .ml-schedule-mode .ml-heading{left:49px!important;right:2px!important}
 .ml-schedule-mode .ml-sch-persistent-nav{grid-template-columns:29px 26px minmax(0,1fr) 26px 29px 32px!important}
 .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-date-head{font-size:clamp(11px,3.4vw,14px)!important}
}

/* v0.3.64: Intake-only dismiss and reversible dismissal. */
.ml-intake-card header{align-items:center}.ml-intake-card header strong{min-width:0;overflow-wrap:anywhere}.ml-intake-dismiss{flex:0 0 38px;width:38px;height:38px;border:1px solid #bd9a7a;border-radius:9px;background:#3b2720;color:#fff;font-size:29px;line-height:1;cursor:pointer}.ml-intake-dismiss:focus-visible,.ml-intake-undo-button:focus-visible{outline:2px solid #8fd3ff;outline-offset:2px}.ml-intake-dismiss:disabled,.ml-intake-undo-button:disabled{opacity:.5}.ml-google-intake-undo:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px;border:1px solid #67895c;border-radius:9px;background:#1c2b20;color:#fff}.ml-intake-undo-button{padding:8px 14px;border:1px solid #8dbd7e;border-radius:8px;background:#304d2d;color:#fff;font-weight:700;cursor:pointer}

/* v0.3.65: compact seven-day weekly schedule; never scroll horizontally. */
.ml-week-board{display:grid;grid-template-columns:clamp(39px,5.6vw,62px) repeat(7,minmax(0,1fr));width:100%;max-width:100%;min-width:0;overflow-x:clip;align-items:start;gap:1px;background:#38434b}
.ml-week-time-column,.ml-week-column{min-width:0;background:#172127}
.ml-week-day-head{height:33px;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;background:#26343b;color:#e7f0f3;font-size:clamp(10px,1.35vw,14px);font-weight:750;white-space:nowrap}
.ml-week-day-head button{width:100%;min-width:0;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.ml-week-day-head button:focus-visible,.ml-week-event:focus-visible,.ml-week-ade:focus-visible{outline:2px solid #a9dcff;outline-offset:-2px;z-index:10}
.ml-week-ade-row{height:27px;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#203037;font-size:10px;color:#b9cbd2}
.ml-week-ade{width:100%;height:23px;border:0;border-radius:3px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;cursor:pointer}
.ml-week-time-track,.ml-week-track{position:relative;min-width:0;background:repeating-linear-gradient(to bottom,#1d2b32 0px,#1d2b32 23.6px,#415059 24px,#172127 24.6px);}
.ml-week-tick{position:absolute;left:0;right:0;height:1px;white-space:nowrap;font-size:clamp(9px,1.1vw,12px);color:#c7d6dc;line-height:1}
.ml-week-tick span{position:relative;top:-5px;padding-left:2px;background:#172127}
.ml-week-event{position:absolute;display:block;box-sizing:border-box;min-width:0;margin:0;padding:2px 2px;border:1px solid rgba(255,255,255,.35);border-radius:4px;color:#fff;text-align:left;overflow:hidden;cursor:pointer;line-height:1.12;font-size:clamp(9px,1.05vw,12px);font-weight:750;touch-action:manipulation}
.ml-week-event-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.ml-week-event.completed{opacity:.65;text-decoration:line-through}
.ml-week-board .ml-week-event.ml-derived-travel{opacity:.76}
@media(max-width:600px){.ml-week-board{grid-template-columns:36px repeat(7,minmax(0,1fr));gap:1px}.ml-week-day-head{height:31px;font-size:10px}.ml-week-event{font-size:9px;padding:1px;border-radius:2px}.ml-week-ade-row{height:23px}.ml-week-ade{font-size:9px}.ml-week-tick{font-size:9px}.ml-week-event-title{-webkit-line-clamp:4;line-clamp:4}}
.ml-schedule .ml-week-board .ml-week-event{position:absolute!important;display:block!important;box-sizing:border-box!important;min-width:0!important;max-width:none!important;margin:0!important;padding:2px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:3px!important;box-shadow:none!important;cursor:pointer!important;touch-action:manipulation!important;overflow:hidden!important;text-align:left!important}
.ml-schedule .ml-week-board .ml-week-event:active{cursor:pointer!important}

/* v0.3.66: week labels must not inherit S05 day-event 58px checkbox padding.
   Keep existing grid widths and vertical spacing exactly as v0.3.65. */
.ml-schedule .ml-week-board .ml-week-event.ml-schedule-event,
.ml-schedule .ml-week-board .ml-week-event.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel),
.ml-schedule .ml-week-board .ml-week-event.ml-schedule-event.ml-derived-travel{
  display:block!important;position:absolute!important;box-sizing:border-box!important;
  padding:2px 3px!important;min-width:0!important;max-width:none!important;
  font-size:clamp(10px,1.15vw,13px)!important;line-height:1.12!important;
  text-align:left!important;overflow:hidden!important;
}
.ml-schedule .ml-week-board .ml-week-event .ml-week-event-title{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2;line-clamp:2;overflow:hidden!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  width:100%!important;max-width:100%!important;margin:0!important;
  color:inherit!important;font:inherit!important;line-height:inherit!important;
}
@media(max-width:600px){
 .ml-schedule .ml-week-board .ml-week-event.ml-schedule-event{font-size:10px!important;padding:1px 2px!important}
}

/* v0.3.68: Week-only polish. No changes to grid columns or event widths. */
.ml-week-board .ml-week-ade-row{margin-bottom:4px;justify-content:flex-start;text-align:left;padding-left:4px;box-sizing:border-box}
.ml-week-board .ml-week-ade-row:has(.ml-week-ade){padding-left:0}
.ml-week-board .ml-week-event .ml-week-event-title{
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  text-overflow:clip!important;overflow:hidden!important;
}
.ml-week-board .ml-week-event{touch-action:manipulation}

/* v0.3.73: ADE-only spacing and vertical stacks; timed-event lanes untouched. */
.ml-schedule-mode .ml-ade{margin-bottom:4px!important}
.ml-schedule-mode .ml-ade>div>.ml-schedule-event{display:block!important;margin:0 0 3px!important}
.ml-schedule-mode .ml-ade>div>.ml-schedule-event:last-child{margin-bottom:0!important}
.ml-schedule-mode .ml-range-ade{display:flex;flex-direction:column;align-items:stretch;gap:3px;margin-bottom:4px}
.ml-schedule-mode .ml-range-ade>.ml-schedule-event{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.ml-week-board .ml-week-ade-row{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:2px 0 0!important;margin-bottom:8px;overflow:hidden}
.ml-week-board .ml-week-ade-row>.ml-week-ade{display:block;flex:0 0 23px;width:100%;min-width:0;height:23px;box-sizing:border-box}
.ml-week-board .ml-week-time-column>.ml-week-ade-row{align-items:center;justify-content:flex-start;padding-top:5px!important}
@media(max-width:600px){.ml-week-board .ml-week-ade-row>.ml-week-ade{flex-basis:23px;height:23px}}

/* v0.3.75 Week drag: only the active timed event receives drag styling. */
.ml-week-board .ml-week-event.ml-week-dragging{z-index:30!important;opacity:.82!important;outline:2px solid currentColor!important;cursor:grabbing!important;touch-action:none!important}

/* v0.3.85: make unavailable cross-day weekday option unmistakable. */
.ml-recurrence-scope-dialog .ml-recurrence-scope-card button:disabled{opacity:.36!important;filter:grayscale(1);cursor:not-allowed!important;border-style:dashed!important;}

/* v0.3.86.1: handle owns its vertical touch gesture; event body still scrolls/holds. */
@media (pointer:coarse){.ml-schedule-event .ml-sch-resize-handle{touch-action:none!important;}}
/* v0.3.96 Prayer S08: separate Prayer-specific controls from shared database menu. */
.ml-prayer-mode .ml-context-header{position:relative!important}
.ml-prayer-mode .ml-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;flex:1!important}
.ml-prayer-mode .ml-prayer-weekday{font-size:clamp(14px,3.4vw,20px);font-weight:500;white-space:nowrap;margin-left:auto}
.ml-prayer-mode .ml-context-header .ml-view-label,.ml-prayer-mode .ml-context-header .ml-search,.ml-prayer-mode .ml-context-header .ml-add{display:none!important}
.ml-prayer-mode .ml-context-header .ml-menu{opacity:0;pointer-events:none;transition:opacity .2s}
.ml-prayer-mode .ml-context-header:hover .ml-menu,.ml-prayer-mode .ml-context-header:focus-within .ml-menu,.ml-prayer-mode .ml-context-header.ml-context-tools-visible .ml-menu{opacity:1;pointer-events:auto}
.ml-prayer-tools{gap:clamp(3px,1vw,8px);flex-wrap:nowrap}.ml-prayer-tools button{padding:8px clamp(5px,1.8vw,14px)}
.ml-prayer-tools .ml-prayer-add{margin-left:0;font-size:21px;padding:5px 12px}.ml-prayer-count{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px;color:#dce3e6}.ml-prayer-tools .ml-prayer-settings-gear{font-size:22px;line-height:1;flex-shrink:0}
.ml-prayer-every{font-size:23px;line-height:1}.ml-prayer-row{font-size:var(--ml-prayer-text-size,16px)}
.ml-prayer-settings{padding:12px;margin-bottom:12px;border:1px solid #536168;border-radius:10px;background:#11191d;color:#e7eef0}.ml-prayer-settings[hidden]{display:none!important}.ml-prayer-settings h3{margin:0 0 12px}.ml-prayer-settings label{display:block;margin-bottom:12px}.ml-prayer-settings select{max-width:100%;padding:7px;background:#18242a;color:#fff}.ml-prayer-settings button,.ml-prayer-edit-form button{padding:7px 12px;margin:4px;border:1px solid #536168;border-radius:7px;background:#26353d;color:#fff}
.ml-prayer-drag{position:absolute;right:25px;top:7px;cursor:grab;touch-action:none;border:0;background:transparent;color:#b5c6ce;font-size:22px}.ml-prayer-row:has(.ml-prayer-drag){padding-right:56px}.ml-prayer-edit-form textarea{width:100%;min-height:75px;box-sizing:border-box;background:#0b1115;color:#fff;border:1px solid #65757e;border-radius:8px;padding:8px}
@media(max-width:420px){.ml-prayer-tools{gap:3px}.ml-prayer-tools button{font-size:12px;padding:7px 5px}.ml-prayer-tools .ml-prayer-add{padding:3px 7px}.ml-prayer-count{font-size:12px}.ml-prayer-tools .ml-prayer-settings-gear{font-size:19px;padding:5px}}

/* v0.3.97: S08 reuses S01's actual disappearing toolbar, not a second hamburger. */
.ml-prayer-mode .ml-home-status{display:block!important;height:64px!important;min-height:64px!important;padding:0!important;overflow:visible!important}
.ml-prayer-mode .ml-home-center,.ml-prayer-mode .ml-day-info,.ml-prayer-mode .ml-weather-strip{display:none!important}
.ml-prayer-mode .ml-top-actions{top:0!important;height:64px!important}
.ml-prayer-mode .ml-top-actions-hotspot{top:0!important;height:64px!important}
.ml-prayer-mode .ml-context-header .ml-menu{display:none!important}
.ml-prayer-drag{touch-action:none!important;user-select:none;-webkit-user-select:none;cursor:grab}
.ml-prayer-dragging .ml-prayer-drag{cursor:grabbing}
.ml-prayer-dragging{outline:1px solid #8aa5b6;opacity:.85}

/* v0.3.98: S08 toolbar overlays its original 72px heading; no extra layout row. */
.ml-prayer-mode .ml-home-status{height:0!important;min-height:0!important;flex:0 0 0!important;overflow:visible!important;position:relative!important;z-index:25!important;}
.ml-prayer-mode .ml-context-header{height:72px!important;min-height:72px!important;flex:0 0 72px!important;position:relative!important;z-index:1!important;}
.ml-prayer-mode .ml-top-actions{top:0!important;height:72px!important;z-index:30!important;}
.ml-prayer-mode .ml-top-actions-hotspot{display:none!important;}
.ml-prayer-mode .ml-heading{top:18px!important;left:66px!important;right:10px!important;height:38px!important;line-height:38px!important;}
.ml-prayer-mode .ml-prayer-weekday{line-height:38px!important;}
@media(max-width:480px){.ml-prayer-mode .ml-context-header{height:68px!important;min-height:68px!important;flex-basis:68px!important;}.ml-prayer-mode .ml-top-actions{height:68px!important;}.ml-prayer-mode .ml-heading{top:16px!important;left:64px!important;}}

/* v0.3.99: S08 has no disappearing toolbar. Preserve the compact heading and unobstructed Return arrow. */
.ml-prayer-mode .ml-top-actions,.ml-prayer-mode .ml-top-actions-hotspot{display:none!important;pointer-events:none!important;}

/* v0.3.100: Prayer has no hover toolbar. Disable the shared header's opaque
   hover/focus pseudo-overlay so the weekday remains visible at all times. */
.ml-prayer-mode .ml-context-header:hover::after,
.ml-prayer-mode .ml-context-header:focus-within::after,
.ml-prayer-mode .ml-context-header.ml-context-tools-visible::after{content:none!important;display:none!important;}
.ml-prayer-mode .ml-context-header .ml-view-label,
.ml-prayer-mode .ml-context-header .ml-search,
.ml-prayer-mode .ml-context-header .ml-add,
.ml-prayer-mode .ml-context-header .ml-menu{display:none!important;pointer-events:none!important;}

/* v0.3.106 D08 Google Intake — MindLife controls */
.ml-google-intake-dialog .ml-schedule-dialog-head{
 display:grid!important;grid-template-columns:58px minmax(0,1fr) auto 46px!important;
 align-items:center!important;gap:10px!important;padding-right:10px!important
}
.ml-google-intake-dialog .ml-schedule-dialog-head h3{grid-column:2!important;margin:0!important}
.ml-google-intake-dialog .ml-intake-close{
 grid-column:1!important;width:50px!important;height:50px!important;min-width:50px!important;
 padding:0!important;border:3px solid #1675e8!important;border-radius:50%!important;
 background:#fff!important;color:#666!important;font-size:34px!important;font-weight:500!important;
 line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important
}
.ml-google-intake-dialog .ml-intake-accept-all{
 grid-column:3!important;justify-self:end!important;width:auto!important;min-width:128px!important;
 min-height:42px!important;padding:9px 15px!important;border:0!important;border-radius:9px!important;
 background:#1675e8!important;color:#fff!important;font-size:15px!important;font-weight:800!important;
 white-space:nowrap!important;cursor:pointer!important
}
.ml-google-intake-dialog .ml-dev-inline-id,.ml-google-intake-dialog .ml-screen-code{grid-column:4!important}
.ml-intake-series-actions{
 display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin-top:10px!important
}
.ml-intake-series-actions button{
 width:auto!important;min-height:42px!important;padding:9px 13px!important;border:1px solid #57646b!important;
 border-radius:9px!important;background:#252b2f!important;color:#fff!important;font-size:14px!important;
 font-weight:750!important;white-space:nowrap!important;cursor:pointer!important
}
.ml-intake-series-actions button[data-series-action="accept"]{background:#315f37!important;border-color:#4b8553!important}
.ml-intake-series-actions button[data-series-action="track"]{background:#27475c!important;border-color:#47728e!important}
.ml-intake-series-actions button[data-series-action="ignore"]{background:#512f32!important;border-color:#825055!important}
@media(max-width:620px){
 .ml-google-intake-dialog .ml-schedule-dialog-head{grid-template-columns:54px minmax(0,1fr) auto!important}
 .ml-google-intake-dialog .ml-dev-inline-id,.ml-google-intake-dialog .ml-screen-code{display:none!important}
 .ml-google-intake-dialog .ml-intake-accept-all{min-width:105px!important;padding:8px 10px!important;font-size:13px!important}
 .ml-intake-series-actions{display:grid!important;grid-template-columns:1fr!important}
 .ml-intake-series-actions button{width:100%!important}
}

/* v0.3.108 Prayer navigation + ergonomics */
.ml-prayer-tools .ml-prayer-add{margin-left:7px!important}
.ml-prayer-tools .ml-prayer-count{margin-left:auto!important;margin-right:10px!important}
.ml-prayer-detail-mode .ml-context-header .ml-view-label,
.ml-prayer-detail-mode .ml-context-header .ml-search,
.ml-prayer-detail-mode .ml-context-header .ml-add,
.ml-prayer-detail-mode .ml-context-header .ml-menu{display:none!important;pointer-events:none!important}
.ml-prayer-detail-mode .ml-context-header::after,
.ml-prayer-detail-mode .ml-context-header:hover::after,
.ml-prayer-detail-mode .ml-context-header:focus-within::after,
.ml-prayer-detail-mode .ml-context-header.ml-context-tools-visible::after{content:none!important;display:none!important;pointer-events:none!important}
@media(max-width:420px){
  .ml-prayer-tools .ml-prayer-add{margin-left:5px!important}
  .ml-prayer-tools .ml-prayer-count{margin-right:7px!important}
}
@media (pointer:fine){
}
@media (pointer:coarse){
}

/* v0.3.111 authoritative Prayer compact visibility.
   Fixed positioning avoids iOS sticky/transform repaint inversion during live scrolling. */
@media (pointer:coarse){
}

/* v0.3.116 D28: display-only Prayer record creation date in black header. */
.ml-prayer-detail-mode .ml-heading{display:flex!important;align-items:center!important;gap:10px!important;right:10px!important;overflow:hidden!important}
.ml-prayer-detail-mode .ml-prayer-detail-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-prayer-detail-mode .ml-prayer-created-date{margin-left:auto;flex:0 0 auto;padding-right:8px;font-size:clamp(14px,3.4vw,20px);font-weight:500;line-height:38px;white-space:nowrap;color:#3d8cff}
@media(max-width:480px){.ml-prayer-detail-mode .ml-prayer-created-date{padding-right:5px}}

/* v0.3.117 — lightweight self Alerts */
.ml-self-alerts{padding:4px 0 28px;color:#fff}.ml-self-alert-intro{padding:12px 14px 16px;border-bottom:1px solid #33434c;display:flex;flex-direction:column;gap:3px}.ml-self-alert-intro strong{font-size:21px}.ml-self-alert-intro span{font-size:14px;color:#aebbc2}.ml-self-alert-new{width:calc(100% - 20px);margin:12px 10px 18px;min-height:48px;border:1px solid #3d8cff;background:#101b22;color:#7db4ff;font-size:18px;font-weight:700;border-radius:7px}.ml-self-alerts h3{font-size:13px;letter-spacing:.12em;color:#9eb1bc;margin:0 12px 8px}.ml-self-alert-list{display:flex;flex-direction:column;gap:7px}.ml-self-alert-row{width:100%;text-align:left;padding:12px 14px;background:linear-gradient(#333,#111);border:1px solid #111;color:#fff;display:flex;flex-direction:column;gap:5px}.ml-self-alert-row span{font-size:19px;line-height:1.25}.ml-self-alert-row small{font-size:13px;color:#7db4ff}.ml-self-alert-empty{margin:12px;color:#aab4b9}.ml-self-alert-history{margin-top:24px;border-top:1px solid #33434c;padding-top:10px}.ml-self-alert-history summary{padding:8px 12px;color:#9eb1bc;font-size:13px;letter-spacing:.1em;cursor:pointer}.ml-self-alert-history summary small{letter-spacing:0;color:#7db4ff}.ml-self-alert-past{opacity:.72}.ml-self-alert-swipe{position:relative;overflow:hidden;touch-action:pan-y;background:#7d1818}.ml-self-alert-swipe .ml-self-alert-row{position:relative;z-index:2;touch-action:pan-y;will-change:transform}.ml-self-alert-delete-bg{position:absolute;inset:0 0 0 auto;width:100%;display:flex;align-items:center;justify-content:flex-end;padding-right:22px;box-sizing:border-box;background:#8f1d1d;color:#fff;font-weight:800;letter-spacing:.08em}.ml-self-alert-full-swipe .ml-self-alert-delete-bg{background:#b22121}.ml-self-alert-removing{overflow:hidden;opacity:0;height:0!important;transition:height .2s ease,opacity .16s ease;margin:0!important}.ml-self-alert-dialog{width:min(94vw,430px);background:#12191d;color:#fff;border:1px solid #53636b;border-radius:10px;padding:0}.ml-self-alert-editor{padding:18px;display:flex;flex-direction:column;gap:15px}.ml-self-alert-editor label{display:flex;flex-direction:column;gap:6px;font-size:12px;letter-spacing:.1em;color:#aab8c0}.ml-self-alert-editor textarea,.ml-self-alert-editor input,.ml-self-alert-editor select{box-sizing:border-box;width:100%;font:inherit;font-size:18px;letter-spacing:0;color:#fff;background:#050708;border:1px solid #53636b;border-radius:6px;padding:10px}.ml-self-alert-editor textarea{resize:vertical;min-height:100px}.ml-self-alert-when{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ml-self-alert-editor-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:4px}.ml-self-alert-editor-actions button{min-height:44px;padding:0 13px;border-radius:6px;border:1px solid #53636b;background:#222d33;color:#fff}.ml-self-alert-editor-actions .ml-self-alert-save{background:#174d7a;border-color:#3d8cff}.ml-self-alert-editor-actions .ml-self-alert-delete{margin-right:auto;color:#ff8e86;border-color:#8a3430}
/* v0.3.120 PIN Quick Jump: neutral center shortcut; authentication is still required. */
.ml-lock-screen .ml-lock-quick-jump{position:fixed!important;left:50%!important;transform:translateX(-50%);right:auto!important;bottom:max(18px,env(safe-area-inset-bottom))!important;width:48px;height:48px;border:0;background:transparent;color:#9aa0a6;opacity:.82;z-index:105;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ml-lock-screen .ml-lock-quick-jump svg{width:31px;height:31px;display:block;margin:auto;fill:currentColor}
.ml-lock-screen .ml-lock-quick-jump[hidden]{display:none!important}
/* v0.3.121 Prayer email + Delta history */
.ml-prayer-email-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin:12px 0 4px}.ml-prayer-email-tools input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:10px;font-size:16px}.ml-prayer-email-tools button:disabled{opacity:.45}.ml-prayer-email-dialog{width:min(92vw,620px);border:1px solid #596970;border-radius:12px;background:#0b1013;color:#e8edef;padding:0}.ml-prayer-email-dialog::backdrop{background:rgba(0,0,0,.65)}.ml-prayer-email-form{padding:18px}.ml-prayer-email-form h3{margin:0 0 6px}.ml-prayer-email-to{color:#aeb9be;margin:0 0 14px;overflow-wrap:anywhere}.ml-prayer-email-form label{display:block;margin:10px 0;color:#cbd4d8}.ml-prayer-email-form input,.ml-prayer-email-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:10px;font-size:16px}.ml-prayer-email-form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.ml-prayer-email-form button{min-height:44px;border:1px solid #596970;border-radius:8px;background:#172127;color:#e8edef;padding:8px 14px}.ml-prayer-email-error{min-height:1.2em;color:#e5bcbc}.ml-prayer-history{border-top:1px solid rgba(255,255,255,.08);padding-top:6px}.ml-prayer-history>div{padding:7px 2px;border-bottom:1px solid rgba(255,255,255,.06);color:#c7ced1}.ml-prayer-history>div span{color:#9eabb0}.ml-prayer-history p{color:#89969c}@media(max-width:560px){.ml-prayer-email-tools{grid-template-columns:1fr 1fr}.ml-prayer-email-tools input{grid-column:1/-1}}
/* v0.3.122 Prayer Encourage: keep D28 prayer-first; contact data lives behind gear. */
.ml-prayer-person-head>div{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ml-prayer-encourage,.ml-prayer-contact-settings{min-height:44px}.ml-prayer-contact-settings{min-width:44px;padding:8px 10px}.ml-prayer-contact-dialog,.ml-prayer-encourage-dialog{width:min(92vw,620px);border:1px solid #596970;border-radius:12px;background:#0b1013;color:#e8edef;padding:0}.ml-prayer-contact-dialog::backdrop,.ml-prayer-encourage-dialog::backdrop{background:rgba(0,0,0,.65)}.ml-prayer-contact-form,.ml-prayer-encourage-form{padding:18px}.ml-prayer-contact-form h3,.ml-prayer-encourage-form h3{margin:0 0 10px}.ml-prayer-contact-form label,.ml-prayer-encourage-form label{display:block;margin:10px 0;color:#cbd4d8}.ml-prayer-contact-form input,.ml-prayer-encourage-form input,.ml-prayer-encourage-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:10px;font-size:16px}.ml-prayer-contact-form>div,.ml-prayer-encourage-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.ml-prayer-contact-form button,.ml-prayer-encourage-form button{min-height:44px;border:1px solid #596970;border-radius:8px;background:#172127;color:#e8edef;padding:8px 14px}.ml-prayer-contact-form button:disabled,.ml-prayer-encourage-form button:disabled{opacity:.42}.ml-prayer-contact-error,.ml-prayer-encourage-error{min-height:1.2em;color:#e5bcbc}


/* v0.3.124 — D28 Prayer Settings regression repair + Encourage polish. */
.ml-prayer-person-head>div{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap}
.ml-prayer-person-head .ml-prayer-contact-settings{margin-left:auto;min-width:44px;min-height:44px;padding:4px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:30px!important;line-height:1;color:#e8edef}
.ml-prayer-person-head .ml-prayer-contact-settings:hover,.ml-prayer-person-head .ml-prayer-contact-settings:focus{background:transparent!important;box-shadow:none!important}
.ml-prayer-person-settings-dialog h4{margin:16px 0 6px;color:#cbd4d8}
.ml-prayer-settings-general{padding-bottom:4px;border-bottom:1px solid #334148}
.ml-prayer-person-text-size{display:flex;align-items:center;gap:6px;margin:8px 0 12px}
.ml-prayer-person-text-size button{min-width:42px}
.ml-prayer-keep-bottom-label{display:flex!important;align-items:center;gap:8px}
.ml-prayer-keep-bottom-label input{width:auto!important;margin:0!important}
@media(max-width:600px){.ml-prayer-person-head>div{gap:6px}.ml-prayer-person-head .ml-prayer-contact-settings{font-size:30px!important;padding:2px!important}.ml-prayer-person-head .ml-prayer-encourage,.ml-prayer-person-head .ml-prayer-archive,.ml-prayer-person-head .ml-prayer-delete{padding-left:10px;padding-right:10px}}


/* v0.3.127 — Prayer Search + D28 control-spacing polish. */
.ml-prayer-person-head{display:flex;align-items:center;gap:18px}
.ml-prayer-person-head>.ml-prayer-every-toggle{flex:0 0 auto;margin-right:2px}
.ml-prayer-person-head>div{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:1 1 auto;min-width:0;flex-wrap:wrap}
.ml-prayer-person-head .ml-prayer-contact-settings{margin-left:auto!important;flex:0 0 auto;min-width:48px!important;min-height:48px!important;padding:6px!important}
.ml-prayer-search-dialog{width:min(92vw,560px);max-height:min(78vh,680px);border:1px solid #596970;border-radius:14px;background:#0b1013;color:#e8edef;padding:0;box-shadow:0 18px 60px rgba(0,0,0,.58)}
.ml-prayer-search-dialog::backdrop{background:rgba(0,0,0,.68)}
.ml-prayer-search-form{padding:18px}.ml-prayer-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ml-prayer-search-head h3{margin:0}.ml-prayer-search-close{width:44px;height:44px;border:0;background:transparent;color:#e8edef;font-size:30px;line-height:1}.ml-prayer-search-form>label{display:block;margin:8px 0 5px;color:#cbd4d8}.ml-prayer-search-input{width:100%;box-sizing:border-box;border:1px solid #596970;border-radius:9px;background:#050708;color:#fff;padding:12px;font-size:17px}.ml-prayer-search-results{display:grid;gap:7px;margin-top:12px;max-height:52vh;overflow:auto;-webkit-overflow-scrolling:touch}.ml-prayer-search-result{display:flex;flex-direction:column;gap:4px;width:100%;min-height:52px;text-align:left;border:1px solid #46565d;border-radius:10px;background:#172127;color:#e8edef;padding:11px 13px}.ml-prayer-search-result strong{font-size:16px}.ml-prayer-search-result span{color:#b8c2c6;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-prayer-search-help,.ml-prayer-search-empty{margin:8px 2px;color:#9eaaaf}.ml-prayer-tools .ml-prayer-search{white-space:nowrap}
@media(max-width:600px){.ml-prayer-person-head{gap:12px}.ml-prayer-person-head>div{gap:9px}.ml-prayer-person-head .ml-prayer-encourage,.ml-prayer-person-head .ml-prayer-archive,.ml-prayer-person-head .ml-prayer-delete{padding-left:9px!important;padding-right:9px!important}.ml-prayer-person-head .ml-prayer-contact-settings{margin-left:auto!important;min-width:48px!important;padding:4px!important}.ml-prayer-search-form{padding:14px}.ml-prayer-search-results{max-height:56vh}}
@media(max-width:420px){.ml-prayer-tools{flex-wrap:wrap}.ml-prayer-tools .ml-prayer-search{order:4}.ml-prayer-tools .ml-prayer-add{order:5}.ml-prayer-count{order:6;margin-left:auto}.ml-prayer-tools .ml-prayer-settings-gear{order:7}}


/* v0.3.129 — Coffee Timer Basic + D28 Encourage height QI */
.ml-prayer-person-head .ml-prayer-encourage{min-height:0!important;height:auto!important;padding-top:7px!important;padding-bottom:7px!important}
.ml-coffee{max-width:720px;margin:0 auto;padding:18px 16px 40px;color:#eaf0f2}.ml-coffee-top{display:flex;justify-content:space-between;align-items:center;color:#9eabb0;font-weight:800;letter-spacing:.08em}.ml-coffee-gear{border:0;background:transparent;color:#dce5e8;font-size:32px;min-width:52px;min-height:52px}.ml-coffee-amount-label{display:block;margin:18px 0 4px;font-weight:800;letter-spacing:.04em}.ml-coffee-amount{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:13px;border:1px solid #5b6970;border-radius:10px;background:#070a0c;color:#fff;font-size:24px;text-align:center}.ml-coffee-unit-help,.ml-coffee-error{text-align:center;color:#9da9ae;margin:7px 0}.ml-coffee-error{color:#e5bcbc;min-height:1.2em}.ml-coffee-numbers{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.ml-coffee-numbers>div{border:1px solid #4f5d63;border-radius:14px;background:#11191d;padding:20px 10px;text-align:center}.ml-coffee-numbers small{display:block;color:#aab5ba;font-weight:800;letter-spacing:.08em}.ml-coffee-numbers strong{display:block;font-size:clamp(25px,7vw,44px);margin-top:8px}.ml-coffee-ready-note{text-align:center;color:#bdc7cb;margin:18px 0}.ml-coffee-begin,.ml-coffee-working{display:block;width:min(100%,520px);min-height:74px;margin:20px auto;border:1px solid #6ea676;border-radius:14px;background:#173d20;color:#fff;font-size:28px;font-weight:900;letter-spacing:.05em}.ml-coffee-run{text-align:center;padding-top:34px}.ml-coffee-stage-title{font-size:clamp(28px,8vw,48px);font-weight:900;letter-spacing:.06em}.ml-coffee-stage-title small{display:block;font-size:14px;color:#d9c98c;margin-top:7px}.ml-coffee-stage-time{font-variant-numeric:tabular-nums;font-size:clamp(76px,24vw,150px);font-weight:900;line-height:1.05;margin:16px 0}.ml-coffee-elapsed-label{color:#9fabb0;font-weight:800;letter-spacing:.08em}.ml-coffee-elapsed{font-variant-numeric:tabular-nums;font-size:32px;margin:7px 0 20px}.ml-coffee-working.is-working{animation:mlCoffeeWorking 1s steps(1,end) infinite}@keyframes mlCoffeeWorking{0%,49%{opacity:1}50%,100%{opacity:.32}}.ml-coffee-cancel{border:0;background:transparent;color:#aeb9bd;text-decoration:underline;padding:12px}.ml-coffee-settings h2{margin-top:4px}.ml-coffee-settings h3{margin-top:24px}.ml-coffee-settings>label,.ml-coffee-pair label{display:block;margin:13px 0;color:#cbd4d8;font-weight:700}.ml-coffee-settings input,.ml-coffee-settings select{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:10px;font-size:17px}.ml-coffee-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ml-coffee-settings-help{display:block;color:#9eaaaf;margin-top:-6px}.ml-coffee-anchor{display:grid;grid-template-columns:90px 1fr 42px 1fr 30px;gap:7px;align-items:center;margin:9px 0}.ml-coffee-anchor input{margin:0}.ml-coffee-anchor b{font-size:13px;color:#aeb8bc}.ml-coffee-check{display:flex!important;align-items:center;gap:10px}.ml-coffee-check input{width:auto!important;margin:0!important}.ml-coffee-settings-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:24px}.ml-coffee-settings-actions button{min-height:44px;border:1px solid #596970;border-radius:8px;background:#172127;color:#e8edef;padding:8px 14px}.ml-coffee-settings-save{background:#173d20!important}@media(max-width:520px){.ml-coffee{padding-left:12px;padding-right:12px}.ml-coffee-numbers{gap:8px}.ml-coffee-numbers>div{padding:16px 6px}.ml-coffee-anchor{grid-template-columns:72px 1fr 34px 1fr 24px;font-size:13px}}

/* v0.3.130 — Coffee Timer field-test QIs + legacy bottom-menu retirement off Dashboard */
.ml-app:not(.ml-is-home) .ml-footer{display:none!important}
.ml-app:not(.ml-is-home) .ml-bottom-info{display:flex!important}
.ml-coffee-stage-time.is-final-ten{color:#e34b4b}
.ml-coffee-mute{display:block;margin:-4px auto 10px;border:0;background:transparent;color:#c4ced2;text-decoration:underline;padding:10px 18px;min-height:42px}
.ml-coffee-rating h2{text-align:center}.ml-coffee-auto-stop{text-align:center;color:#d9c98c}.ml-coffee-result-times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.ml-coffee-result-times>div{border:1px solid #4f5d63;border-radius:12px;background:#11191d;padding:14px 6px;text-align:center}.ml-coffee-result-times small{display:block;color:#aab5ba;font-weight:800}.ml-coffee-result-times strong{display:block;margin-top:6px;font-size:24px}.ml-coffee-rating>label{display:block;margin:14px 0;color:#cbd4d8;font-weight:700}.ml-coffee-rating select,.ml-coffee-rating textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:11px;font-size:17px}.ml-coffee-rating-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.ml-coffee-rating-actions button{min-height:44px;border:1px solid #596970;border-radius:8px;background:#172127;color:#e8edef;padding:8px 14px}.ml-coffee-rating-save{background:#173d20!important}
@media(max-width:520px){.ml-coffee-result-times{grid-template-columns:1fr}.ml-coffee-result-times>div{display:flex;align-items:center;justify-content:space-between}.ml-coffee-result-times strong{margin-top:0}}


/* v0.3.131 — Coffee Timer navigation/menu repair, synchronized clock, Basic Notes */
.ml-coffee-mode .ml-top-actions,.ml-coffee-mode .ml-top-actions-hotspot,.ml-coffee-mode .ml-footer{display:none!important}
.ml-coffee-mode .ml-bottom-info{display:flex!important}
.ml-coffee-mode .ml-context-header .ml-view-label,.ml-coffee-mode .ml-context-header .ml-search,.ml-coffee-mode .ml-context-header .ml-add{display:none!important;opacity:0!important;pointer-events:none!important}
.ml-coffee-mode .ml-context-header .ml-menu{display:block!important;opacity:1!important;pointer-events:auto!important}
.ml-coffee-mode .ml-context-header:hover:after,.ml-coffee-mode .ml-context-header.ml-context-tools-visible:after{display:none!important;content:none!important}
.ml-coffee-notes-label{display:block;margin-top:24px!important}
.ml-coffee-settings textarea[name="notes"]{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:132px;resize:vertical;border:1px solid #526068;border-radius:8px;background:#050708;color:#fff;padding:11px;font-size:17px;line-height:1.4}

/* v0.3.132 Sensors */
.ml-sensors{max-width:760px;margin:0 auto;padding:14px 12px 90px}.ml-sensors-summary,.ml-sensors-empty,.ml-sensors-loading{background:#fff;border:1px solid #d9dee4;border-radius:14px;padding:16px;margin:8px 0 14px;box-shadow:0 1px 4px rgba(0,0,0,.06)}.ml-sensors-summary strong{display:block;font-size:15px;letter-spacing:.08em}.ml-sensors-summary span,.ml-sensors-summary small{display:block;margin-top:5px;color:#606a73}.ml-sensors-refresh{width:100%;min-height:48px;border:0;border-radius:12px;background:#555;color:#fff;font-weight:800;letter-spacing:.04em;margin-bottom:12px}.ml-sensor-card{background:#fff;border:1px solid #d9dee4;border-radius:14px;padding:15px;margin:10px 0;box-shadow:0 1px 4px rgba(0,0,0,.06)}.ml-sensor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ml-sensor-head strong,.ml-sensor-head small{display:block}.ml-sensor-head strong{font-size:20px}.ml-sensor-head small{margin-top:3px;color:#66717b}.ml-sensor-status{font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px;background:#e7f6ed;color:#17673c}.ml-sensor-status.offline{background:#fff1d6;color:#795400}.ml-sensor-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.ml-sensor-values>div{background:#f2f4f6;border-radius:10px;padding:10px}.ml-sensor-values small{display:block;font-size:10px;font-weight:800;color:#69737c}.ml-sensor-values b{display:block;font-size:clamp(22px,6vw,34px);margin-top:3px}.ml-sensor-card details{border-top:1px solid #e4e7ea;padding-top:9px;color:#68727b;font-size:12px}.ml-sensor-card code{overflow-wrap:anywhere}.ml-sensor-error{color:#a33;font-weight:650}.ml-sensors-empty p{margin-bottom:0}@media(max-width:520px){.ml-sensor-values{grid-template-columns:1fr 1fr}.ml-sensor-values>div:last-child{grid-column:1/-1}}

/* v0.3.133 raw Govee diagnostics */
.ml-sensor-raw{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;background:#111;color:#eee;border-radius:8px;padding:10px;font-size:11px;line-height:1.35}

/* v0.3.134 Sensors readout contrast fix. Global dark-theme typography was inheriting light text into white sensor cards. */
.ml-sensors-summary,.ml-sensor-card,.ml-sensors-empty,.ml-sensors-loading{color:#1f2933}
.ml-sensors-summary strong,.ml-sensor-head strong,.ml-sensor-values b{color:#1f2933!important;opacity:1!important}
.ml-sensor-values small{color:#5f6973!important;opacity:1!important}

/* v0.3.135 H5054 water-event laboratory */
.ml-sensor-status.event{background:#e8eef9;color:#294f88}.ml-water-panel{margin:15px 0;background:#f2f4f6;border-radius:10px;padding:13px;color:#1f2933}.ml-water-panel small{display:block;font-size:10px;font-weight:800;color:#69737c}.ml-water-panel>b{display:block;font-size:24px;margin-top:4px}.ml-water-panel p{font-size:13px;line-height:1.4;color:#5f6973}.ml-water-arm{width:100%;min-height:44px;border:0;border-radius:9px;background:#555;color:#fff;font-weight:800;letter-spacing:.03em}.ml-water-arm:disabled{opacity:.72}.ml-water-result{margin-top:10px;font-size:13px;line-height:1.45}.ml-water-result .ml-sensor-raw{margin-top:10px}.ml-sensor-values.compact{grid-template-columns:1fr}.ml-sensor-values.compact>div:last-child{grid-column:auto}


/* v0.3.139 — global DEV error diagnostics: production message + separated developer detail */
.ml-error-toast .ml-error-normal{font-weight:400!important;color:#fff!important;line-height:1.35!important}
.ml-error-toast .ml-error-normal>strong{font-weight:700!important}
.ml-error-toast .ml-error-dev{margin-top:12px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.42)!important;color:#fff!important;font-weight:700!important;line-height:1.35!important;white-space:normal!important;user-select:text!important;-webkit-user-select:text!important;overflow-wrap:anywhere!important}
.ml-error-toast .ml-error-dev>div+div{margin-top:3px!important}
/* v0.3.141 — Memorize Basic */
.ml-memorize-mode .ml-context-tools,.ml-memorize-mode .ml-bottom-actions{display:none!important}.ml-mem{max-width:760px;margin:0 auto;padding:18px 18px 42px}.ml-mem-hero{text-align:center;padding:22px 0}.ml-mem-hero strong{display:block;font-size:2.2rem;letter-spacing:.08em}.ml-mem-hero span{opacity:.75}.ml-mem-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 18px}.ml-mem-stats div{border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:14px;text-align:center}.ml-mem-stats strong{display:block;font-size:1.8rem}.ml-mem-stats span{font-size:.72rem;letter-spacing:.08em}.ml-mem-primary{width:100%;min-height:54px;border:0;border-radius:14px;font-weight:800;font-size:1rem;background:#1e9e55;color:#fff}.ml-mem-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.ml-mem-grid button,.ml-mem-list button,.ml-mem-modebar button,.ml-mem-tabs button,.ml-mem-controls button,.ml-mem-recall-actions button,.ml-mem-alert-create{border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.06);color:inherit;min-height:48px;font-weight:700}.ml-mem-grid button{position:relative}.ml-mem-grid b{position:absolute;right:8px;top:6px;border-radius:999px;background:#c33;color:#fff;padding:2px 7px}.ml-mem-foot{text-align:center;opacity:.6;font-size:.8rem;margin-top:18px}.ml-mem label{display:block;margin:14px 0;font-weight:700}.ml-mem input,.ml-mem textarea,.ml-mem select{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(0,0,0,.2);color:inherit;padding:12px;font:inherit}.ml-mem-tabs,.ml-mem-modebar,.ml-mem-controls,.ml-mem-recall-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ml-mem-tabs button,.ml-mem-modebar button{padding:8px 12px}.ml-mem-tabs .active,.ml-mem-modebar .active{outline:2px solid currentColor}.ml-mem-list{display:grid;gap:9px;margin-top:12px}.ml-mem-list button{text-align:left;padding:12px 14px}.ml-mem-list strong,.ml-mem-list span{display:block}.ml-mem-list span{font-size:.76rem;opacity:.65;margin-top:4px}.ml-mem-textview{font-size:1.35rem;line-height:1.65;padding:22px;border:1px solid rgba(255,255,255,.2);border-radius:14px;min-height:150px;white-space:pre-wrap}.ml-mem-controls .ml-mem-primary{flex:1}.ml-mem-controls .ml-mem-stop{min-width:100px}.ml-mem-recall-actions button{flex:1;padding:8px}.ml-mem-history div{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.14)}.ml-mem-history strong,.ml-mem-history span{display:block}.ml-mem-history span{opacity:.65;font-size:.8rem}.ml-mem-empty{text-align:center;padding-top:70px}.ml-mem-check{display:flex!important;gap:10px;align-items:center}.ml-mem-check input{width:auto;margin:0}.ml-mem-msg,.ml-mem-alert-msg{min-height:1.2em;opacity:.8}@media(max-width:560px){.ml-mem{padding:14px 12px 34px}.ml-mem-modebar{display:grid;grid-template-columns:1fr 1fr}.ml-mem-textview{font-size:1.16rem;padding:16px}.ml-mem-stats strong{font-size:1.5rem}}


/* v0.3.142 Memorize Scripture acquisition */
.ml-mem-fetch.ml-mem-primary{width:auto;min-width:190px;padding:0 22px;margin:4px 0 2px;border:1px solid rgba(255,255,255,.3);box-shadow:none}

/* v0.3.143 Memorize training plans */
.ml-mem-stephead{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:16px 2px 8px}.ml-mem-step-label{font-size:1.05rem}.ml-mem-step-count{font-size:.78rem;opacity:.62}.ml-mem-stepnav{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.ml-mem-stepnav button{min-height:48px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.06);color:inherit;font-weight:800}.ml-mem-stepnav button:disabled{opacity:.35}.ml-mem-setting-note{font-size:.82rem;line-height:1.45;opacity:.72;margin-top:-4px}

/* v0.3.144 Memorize lifecycle, native chrome, settings access */
.ml-memorize-mode .ml-context-header:hover:after,.ml-memorize-mode .ml-context-header.ml-context-tools-visible:after{display:none!important;content:none!important}
.ml-memorize-mode .ml-context-header:hover .ml-view-label,.ml-memorize-mode .ml-context-header:hover .ml-search,.ml-memorize-mode .ml-context-header:hover .ml-add,.ml-memorize-mode .ml-context-header:hover .ml-menu,.ml-memorize-mode .ml-context-header.ml-context-tools-visible .ml-view-label,.ml-memorize-mode .ml-context-header.ml-context-tools-visible .ml-search,.ml-memorize-mode .ml-context-header.ml-context-tools-visible .ml-add,.ml-memorize-mode .ml-context-header.ml-context-tools-visible .ml-menu{opacity:0!important;pointer-events:none!important}
.ml-memorize-mode .ml-controls-panel,.ml-memorize-mode .ml-bottom-info{display:none!important}
.ml-mem-practice-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font-size:.75rem;letter-spacing:.1em;opacity:.9}
.ml-mem-gear{width:46px;height:46px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.06);color:inherit;font-size:1.35rem;line-height:1;cursor:pointer}
.ml-mem-stepnav{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.ml-mem-stepnav button{min-height:50px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.06);color:inherit;font-weight:800}

/* v0.3.148 Sensors laboratory index + ThermoMaven G4 BLE diagnostic */
.ml-sensor-index{display:grid;gap:10px}.ml-sensor-index button{width:100%;text-align:left;border:1px solid #d9dee4;border-radius:14px;background:#fff;color:#1f2933;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.06)}.ml-sensor-index strong,.ml-sensor-index span{display:block}.ml-sensor-index strong{font-size:18px}.ml-sensor-index span{margin-top:5px;color:#606a73;font-size:13px;line-height:1.4}.ml-thermo-gates{display:grid;gap:8px;margin:10px 0 14px}.ml-thermo-gates>div{background:#fff;color:#1f2933;border:1px solid #d9dee4;border-radius:10px;padding:10px 12px;display:flex;gap:10px;align-items:flex-start}.ml-thermo-gates b{min-width:48px}.ml-thermo-gates span{overflow-wrap:anywhere;font-size:12px}.ml-thermo-status{border-radius:10px;padding:12px;margin:10px 0 12px;font-weight:800;background:#e7f6ed;color:#17673c}.ml-thermo-status.blocked{background:#fff1d6;color:#795400}.ml-thermo-status.working{background:#e8eef9;color:#294f88}.ml-thermo .ml-sensors-refresh:disabled{opacity:.45}.ml-thermo-clear{background:#737b82}.ml-thermo-log{min-height:260px;max-height:520px}.ml-thermo-note{background:#fff;color:#1f2933;border:1px solid #d9dee4;border-radius:10px;padding:12px;margin-top:12px}.ml-thermo-note p{font-size:13px;line-height:1.45;color:#5f6973}
/* v0.3.149 — Coffee Timer pour guidance + Learning Mode */
.ml-coffee-history,.ml-coffee-report-close{border:1px solid #596970;border-radius:8px;background:#172127;color:#dce5e8;padding:8px 11px;font-weight:800}.ml-coffee-history{margin-right:6px}.ml-coffee-learn-help{text-align:center;color:#8fa0a8;font-size:13px;margin-top:-10px}.ml-coffee-begin.learn-confirm{animation:mlCoffeeLearnConfirm .55s steps(1,end) infinite;background:#164a5a;border-color:#70c9e8}@keyframes mlCoffeeLearnConfirm{0%,49%{opacity:1}50%,100%{opacity:.28}}.ml-coffee-zero{font-size:15px;font-weight:900;letter-spacing:.09em;color:#dce5e8;margin:0 0 12px}.ml-coffee-zero[hidden]{display:none!important}.ml-coffee-pour-water{font-size:21px;font-weight:800;letter-spacing:.035em;margin:-8px 0 14px;color:#dce5e8}.ml-coffee-pour-water strong{font-size:1.18em}.ml-coffee-run.is-learning,.ml-coffee-run.is-learning .ml-coffee-stage-title,.ml-coffee-run.is-learning .ml-coffee-elapsed-label,.ml-coffee-run.is-learning .ml-coffee-elapsed,.ml-coffee-run.is-learning .ml-coffee-pour-water,.ml-coffee-run.is-learning .ml-coffee-zero{color:#8ed9f3}.ml-coffee-run.is-learning .ml-coffee-stage-time{color:#a8e6fb}.ml-coffee-learning-badge{display:inline-block;margin:3px auto 0;padding:5px 10px;border:1px solid #5aa9c3;border-radius:999px;color:#8ed9f3;font-size:13px;font-weight:900;letter-spacing:.08em}.ml-coffee-learning-complete{text-align:center;color:#8ed9f3;font-weight:800}.ml-coffee-learning-report h3{margin-top:24px}.ml-coffee-report-status{color:#9eabb0}.ml-coffee-learn-overall{border:1px solid #4f5d63;border-radius:14px;background:#11191d;padding:18px;text-align:center}.ml-coffee-learn-overall small,.ml-coffee-learn-overall span{display:block;color:#aab5ba}.ml-coffee-learn-overall strong{display:block;font-size:48px;margin:5px}.ml-coffee-learn-group{border-top:1px solid #39464c;padding:14px 0}.ml-coffee-learn-group>div{display:flex;justify-content:space-between;gap:12px}.ml-coffee-learn-group span{color:#aab5ba}.ml-coffee-learn-group details{margin-top:9px}.ml-coffee-learn-group summary{cursor:pointer;color:#8ed9f3}.ml-coffee-learn-group details p{padding:8px 0;margin:0;border-bottom:1px solid #263238}.ml-coffee-learn-group details small{color:#9eabb0}

/* v0.3.151b Govee H5054 bridge status */
.ml-water-panel.leaked{background:#fff0f0;border:2px solid #a51d2d}.ml-water-panel.leaked>b{color:#a51d2d}.ml-water-panel.clear{background:#eef8f1;border:1px solid #b8d9c1}.ml-water-panel.clear>b{color:#17673c}.ml-sensor-status.leak{background:#a51d2d;color:#fff}.ml-water-event-meta{margin-top:12px;padding-top:10px;border-top:1px solid #d9dee4}.ml-water-event-meta strong,.ml-water-event-meta span{display:block;font-size:12px}.ml-water-event-meta span{margin-top:4px;color:#5f6973}

/* v0.3.151b — preserve v0.3.150 swipe mechanics; normal resting History appearance */
.ml-self-alert-swipe .ml-self-alert-past{opacity:1}

/* v0.3.153 — Schedule custom repeat days */
.ml-sch-custom-days{grid-column:1/-1;margin-top:4px}.ml-sch-custom-days-label{display:block;margin:0 0 7px;color:#b9c5ca;font-size:11px;font-weight:700;letter-spacing:.08em}.ml-sch-day-buttons{display:grid;grid-template-columns:repeat(7,44px);gap:7px;justify-content:start}.ml-sch-day-buttons button{width:42px;height:42px;padding:0;border:1px solid #65747c;border-radius:50%;background:#263238;color:#fff;font:700 16px/1 inherit;cursor:pointer}.ml-sch-day-buttons button.selected{background:#47748b;border-color:#6fa1ba;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}@media(max-width:420px){.ml-sch-day-buttons{grid-template-columns:repeat(7,minmax(36px,1fr));gap:5px}.ml-sch-day-buttons button{width:38px;height:38px}}

/* v0.3.154 — recurrence day summary stays visible; only Custom Days is interactive */
.ml-sch-custom-days:not(.ml-sch-custom-days-editable) .ml-sch-day-buttons button{cursor:default}
.ml-sch-custom-days:not(.ml-sch-custom-days-editable) .ml-sch-day-buttons button:disabled{opacity:1}
/* 0.3.157 Settings dashboard cleanup */
.ml-dashboard{width:min(760px,96vw);background:#07131b;border:1px solid #294454;border-radius:18px;color:#eef6fb;max-height:92vh;box-shadow:0 22px 70px rgba(0,0,0,.55)}
.ml-dashboard-head{background:#0a1822;border-bottom:1px solid #294454;padding:14px 18px;gap:14px}
.ml-dashboard-head h2{margin:0;font-size:25px;letter-spacing:.02em}.ml-dashboard-head small{display:block;color:#9fc8e4;margin-top:2px;font-size:13px}.ml-dashboard-x{width:40px;height:40px;border:1px solid #6eb8e8;border-radius:10px;font-size:27px;line-height:1}
.ml-dashboard-body{padding:16px;display:grid;gap:14px}
.ml-db-section{border:1px solid #294454;border-radius:15px;background:#0b1b25;padding:14px 16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.ml-db-section-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:9px}.ml-db-section-head>span{color:#84c9f4;font-size:21px;min-width:25px;text-align:center}.ml-db-section-head h3{margin:0;color:#e77478;font-size:19px}.ml-db-section-head small{color:#88b5cf;font-size:12px}
.ml-db-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 26px}.ml-db-grid>div{min-width:0}
.ml-dashboard .ml-db-row{grid-template-columns:42px 1fr auto;gap:10px;min-height:42px;border-bottom:1px solid rgba(255,255,255,.045)}.ml-dashboard .ml-db-row:last-child{border-bottom:0}.ml-dashboard .ml-switch{width:38px;height:22px;border-radius:14px;background:#596168}.ml-dashboard .ml-switch:after{width:18px;height:18px;left:2px;top:2px}.ml-dashboard .ml-db-row input:checked+.ml-switch{background:#299cf1}.ml-dashboard .ml-db-row input:checked+.ml-switch:after{left:18px}.ml-dashboard .ml-db-row strong{font-size:14px;color:#e8f0f5;font-weight:600}.ml-dashboard .ml-db-row input:checked~strong{color:#fff}
.ml-dashboard .ml-db-select-row{grid-template-columns:minmax(110px,1fr) minmax(115px,145px);gap:10px;min-height:43px;border-bottom:1px solid rgba(255,255,255,.045)}.ml-dashboard .ml-db-select-row strong{font-size:14px}.ml-dashboard .ml-db-select-row select{font-size:13px;padding:6px 7px;background:#0d2635;border-color:#4b8ab1}.ml-dashboard .ml-snooze-settings{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ml-dashboard .ml-snooze-settings select{width:100%}
.ml-dashboard .ml-db-pin-row{min-height:48px;border-bottom:1px solid rgba(255,255,255,.045)}.ml-dashboard .ml-db-pin-row strong{font-size:14px}.ml-dashboard .ml-db-pin-row small{color:#91a9b8}.ml-dashboard button.ml-db-action,.ml-dashboard .ml-db-actions button,.ml-dashboard .ml-import-export-open,.ml-dashboard .ml-google-calendar,.ml-dashboard .ml-assistant-access{background:#102b3a;color:#eef7fc;border:1px solid #4d8fb7;border-radius:7px;min-height:34px;padding:6px 10px;font-size:12px}.ml-dashboard .ml-db-action{width:100%;margin:4px 0}.ml-dashboard .ml-db-actions{display:flex;gap:8px;margin-top:7px}.ml-dashboard .ml-db-actions button{flex:1}.ml-dashboard .ml-pin-inline-change{font-size:11px;padding:4px 7px;white-space:nowrap}.ml-dashboard .ml-dev-flag{display:none!important}.ml-dashboard .ml-db-dev{margin-top:0;border-top:0;padding-top:0}
@media(max-width:620px){.ml-dashboard{width:100%;max-height:96vh}.ml-dashboard-body{padding:10px}.ml-db-section{padding:12px}.ml-db-grid{grid-template-columns:1fr;gap:0}.ml-db-section-head small{display:none}.ml-dashboard .ml-db-select-row{grid-template-columns:1fr 135px}}

/* D10 implementation map: visually dim settings that are stored but have no downstream behavior yet. */
.ml-dashboard .ml-db-row.ml-db-unwired{opacity:.38}
.ml-dashboard .ml-db-row.ml-db-unwired .ml-switch{filter:saturate(.35)}
.ml-dashboard .ml-dashboard-done{font-weight:800;color:#eaf7ff}

/* v0.3.160 — Quotes Import / Export + field mapping */
.ml-quotes-tool-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ml-quote-transfer-card{width:min(520px,88vw);padding:22px;border-radius:16px;background:#343c38;color:#f4f7f5}
.ml-quote-transfer-card h3{margin:0 0 8px;text-align:center}.ml-quote-transfer-card h4{margin:20px 0 8px;font-size:12px;letter-spacing:.14em;color:#d8a19a}.ml-quote-transfer-note,.ml-quote-transfer-status{color:#c7d0cb;font-size:13px;line-height:1.45}.ml-quote-transfer-status{min-height:38px;margin-top:10px}.ml-quote-transfer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ml-quote-transfer-card button{min-height:42px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:#4a5650;color:#fff;font:inherit}.ml-quote-transfer-done{width:100%;margin-top:20px;background:#6f9e61!important}@media(max-width:460px){.ml-quote-transfer-grid{grid-template-columns:1fr}.ml-quotes-tools{align-items:flex-start}.ml-quotes-tool-buttons{display:grid}}

/* v0.3.160 — responsive Quotes transfer + explicit import field mapping */
.ml-quote-transfer{box-sizing:border-box;max-width:min(760px,calc(100vw - 24px));width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
.ml-quote-transfer::backdrop{background:rgba(0,0,0,.68)}
.ml-quote-transfer-card{box-sizing:border-box;width:100%;max-width:100%;max-height:calc(100dvh - 28px);padding:22px;overflow-y:auto;overflow-x:hidden}
.ml-quote-transfer-card h3,.ml-quote-transfer-note,.ml-quote-transfer-status{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.ml-quote-transfer-grid{min-width:0}.ml-quote-transfer-grid button{min-width:0;width:100%;white-space:normal;overflow-wrap:anywhere}
.ml-quote-map{margin:18px 0 4px;padding:14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(0,0,0,.12)}
.ml-quote-map-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.ml-quote-map-head span{font-size:12px;color:#c7d0cb}
.ml-quote-map-rows{display:grid;gap:8px}.ml-quote-map-rows label{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);gap:10px;align-items:center}.ml-quote-map-rows select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:9px;border-radius:8px;background:#4a5650;color:#fff;border:1px solid rgba(255,255,255,.22)}
.ml-quote-map-preview{width:100%;margin-top:14px;background:#6f9e61!important}
@media(max-width:600px){.ml-quote-transfer{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.ml-quote-transfer-card{padding:16px;max-height:calc(100dvh - 20px)}.ml-quote-transfer-grid{grid-template-columns:1fr!important}.ml-quote-map-rows label{grid-template-columns:1fr;gap:4px}.ml-quote-map-head{align-items:flex-start;flex-direction:column;gap:2px}.ml-quote-transfer-card h3{font-size:clamp(22px,7vw,34px);line-height:1.1}}

/* v0.3.164 — Coffee Timer cumulative scale target */
.ml-coffee-stop-at{font-size:18px;font-weight:800;letter-spacing:.045em;margin:-7px 0 16px;color:#aab8be}.ml-coffee-stop-at strong{font-size:1.28em;color:#dce5e8}.ml-coffee-run.is-learning .ml-coffee-stop-at,.ml-coffee-run.is-learning .ml-coffee-stop-at strong{color:#8ed9f3}

/* v0.3.165 — Quotes server-side field discovery + focused import workflow */
.ml-quote-transfer-card button.ml-quote-transfer-active{opacity:1;filter:none;outline:2px solid rgba(142,217,243,.72);outline-offset:2px}
.ml-quote-transfer-card button.ml-quote-transfer-dim{opacity:.30;filter:saturate(.25);pointer-events:none}

/* v0.3.173 Quotes import true preview */
.ml-quote-preview-results{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18)}
.ml-quote-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.ml-quote-preview-head span,.ml-quote-preview-note{font-size:12px;color:#c7d0cb}
.ml-quote-preview-list{display:grid;gap:10px}.ml-quote-preview-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(0,0,0,.13)}
.ml-quote-preview-number{font-weight:700;color:#d8a19a}.ml-quote-preview-text{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.ml-quote-preview-meta{margin-top:4px;font-size:12px;line-height:1.35;color:#c7d0cb;overflow-wrap:anywhere}.ml-quote-preview-meta strong{color:#f4f7f5}.ml-quote-preview-note{margin:10px 0}.ml-quote-preview-commit{width:100%;background:#6f9e61!important}
@media(max-width:600px){.ml-quote-preview-head{align-items:flex-start;flex-direction:column;gap:2px}.ml-quote-preview-item{grid-template-columns:24px minmax(0,1fr)}}

/* v0.3.173 Quotes share actions */
.ml-quote-presentation-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:14px;margin-top:42px}
.ml-quote-presentation-actions .ml-quote-ack{margin-top:0}
.ml-quote-email,.ml-quote-copy{width:52px;height:52px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.ml-quote-email:active,.ml-quote-copy:active{transform:scale(.96)}
.ml-quote-action-done{background:#6f9e61!important}
.ml-quote-copy-card{border:0;background:transparent;color:#aeb9b3;font:inherit;font-size:27px;line-height:1;cursor:pointer;padding:4px 6px}
.ml-quote-copy-card.ml-quote-action-done{color:#70c49a}
@media(max-width:520px){.ml-quote-presentation-actions{margin-top:32px;gap:12px}.ml-quote-email,.ml-quote-copy,.ml-quote-presentation-actions .ml-quote-ack{width:50px;height:50px}}
.ml-lm-sync-status{margin:6px 0 4px 32px;padding:9px 11px;border-left:2px solid rgba(255,255,255,.16);color:#bdc6c1;line-height:1.5}.ml-lm-sync-status small{font-size:12px}

/* v0.3.175 ToDo priority/triage and due-date Bar Button language */
@keyframes mlRingWhiteBlink{0%,48%{box-shadow:0 0 0 3px #111,0 0 0 5px #fff}49%,100%{box-shadow:0 0 0 3px #111,0 0 0 5px transparent}}
.ml-ring-whiteblink{animation:mlRingWhiteBlink .9s steps(1,end) infinite}
.ml-bar-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.ml-bar-copy .ml-bar-title{display:block;width:100%;line-height:1.08}
.ml-bar-has-due .ml-bar-title{transform:translateY(-2px)}
.ml-bar-due{display:block;margin-top:5px;font-size:14px;line-height:1.05;font-weight:650;letter-spacing:.01em;color:#fff}
.ml-bar-due-today{color:#75c943}.ml-bar-due-overdue{color:#ff493d}.ml-bar-due-soon{color:#fff000}.ml-bar-due-normal{color:#fff}.ml-bar-due-future{color:#888}

/* v0.3.178 — D01 Invitations */
.ml-sch-invite{margin-top:20px;padding:16px;border:1px solid #48565e;border-radius:10px;background:linear-gradient(180deg,#151e23,#0b1013);color:#e8edf0}.ml-sch-invite .ml-sch-section-title small{color:#91a0a8}.ml-invite-people{display:grid;gap:8px;margin-top:12px}.ml-invite-person{display:grid;grid-template-columns:1fr 1.25fr 112px 120px 34px;gap:7px;align-items:center}.ml-invite-person input,.ml-invite-person select,.ml-invite-options select{width:100%;box-sizing:border-box;background:#091014;color:#fff;border:1px solid #50606a;border-radius:6px;padding:8px;font:inherit}.ml-invite-person-status{font-size:11px;font-weight:800;letter-spacing:.03em;color:#e0b25c}.ml-invite-person-status.accepted{color:#69d77b}.ml-invite-person-status.declined{color:#ff7770}.ml-invite-remove{width:32px;height:32px;border-radius:50%;border:1px solid #68757d;background:#303a40;color:#fff}.ml-invite-add{margin-top:10px;background:#25333b;color:#fff;border:1px solid #53626a;border-radius:6px;padding:8px 11px}.ml-invite-options{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin-top:16px}.ml-invite-options label{display:grid;gap:5px;color:#bac4c9}.ml-invite-check{display:flex!important;align-items:center;gap:8px}.ml-invite-check input{width:auto}.ml-invite-preview{margin-top:16px;border-top:1px solid #3e4a50;padding-top:13px}.ml-invite-preview-body{margin-top:8px}.ml-invite-mini{background:#f7f8f8;color:#1d282e;border-radius:8px;padding:14px;line-height:1.45}.ml-invite-mini hr{border:0;border-top:1px solid #d9dddf}.ml-invite-mini-buttons{display:flex;gap:8px;margin-top:12px}.ml-invite-mini-buttons span{background:#8b1e2d;color:#fff;border-radius:5px;padding:6px 10px;font-size:11px;font-weight:800}.ml-invite-status{margin-top:12px;font-weight:800;color:#e0b25c}.ml-schedule-event.ml-invite-pending:not(.ml-derived-travel),.ml-week-event.ml-invite-pending{background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.16) 0,rgba(255,255,255,.16) 10px,rgba(255,255,255,.03) 10px,rgba(255,255,255,.03) 20px)!important;background-color:#E4002B!important;color:#fff!important}.ml-schedule-event.ml-invite-confirmed:not(.ml-derived-travel),.ml-week-event.ml-invite-confirmed{background:#E4002B!important;color:#fff!important}.ml-schedule-event.ml-invite-declined::after,.ml-week-event.ml-invite-declined::after{content:'!';position:absolute;right:4px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;color:#b00020;font-weight:900;display:grid;place-items:center}
@media(max-width:720px){.ml-invite-person{grid-template-columns:1fr 1fr}.ml-invite-person-status{grid-column:1/2}.ml-invite-remove{grid-column:2/3;justify-self:end}.ml-invite-options{grid-template-columns:1fr}}
.ml-invite-options input{width:100%;box-sizing:border-box;background:#091014;color:#fff;border:1px solid #50606a;border-radius:6px;padding:8px;font:inherit}

/* v0.3.178 ToDo queued repairs + D01 invitation refinement */
.ml-bar-copy .ml-bar-due{width:100%;text-align:center}
.ml-todo-context .ml-context-header:hover .ml-view-label,.ml-todo-context .ml-context-header:hover .ml-search,.ml-todo-context .ml-context-header:hover .ml-menu,.ml-todo-context .ml-context-header.ml-context-tools-visible .ml-view-label,.ml-todo-context .ml-context-header.ml-context-tools-visible .ml-search,.ml-todo-context .ml-context-header.ml-context-tools-visible .ml-menu{opacity:0!important;pointer-events:none!important}
.ml-todo-context .ml-context-header:hover .ml-add,.ml-todo-context .ml-context-header.ml-context-tools-visible .ml-add{opacity:1!important;pointer-events:auto!important}
.ml-todo-context .ml-context-header:hover:after,.ml-todo-context .ml-context-header.ml-context-tools-visible:after{width:58px!important}
.ml-invite-mini-buttons span:first-child{background:#0085CA!important}

/* v0.3.180 D01 template editor */
.ml-invite-template-tools{margin:12px 0}.ml-invite-manage-templates{background:#0085CA;color:white;border:0;border-radius:7px;padding:10px 15px;font-weight:650}.ml-invite-template-dialog{border:0;border-radius:14px;padding:0;max-width:min(760px,96vw);max-height:90vh;width:760px;color:#172027;background:#fff}.ml-invite-template-dialog::backdrop{background:rgba(10,23,30,.75)}.ml-invite-template-editor{padding:22px;max-height:88vh;overflow:auto;display:grid;gap:12px}.ml-invite-template-editor header{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #0085CA}.ml-invite-template-editor header h3{margin:0 0 12px}.ml-invite-template-editor label{display:grid;gap:5px;font-weight:600}.ml-invite-template-editor input,.ml-invite-template-editor textarea,.ml-invite-template-editor select{box-sizing:border-box;width:100%;border:1px solid #a9b6c0;border-radius:7px;padding:10px;font:inherit;background:#fff;color:#172027}.ml-template-top,.ml-template-actions{display:flex;gap:8px;flex-wrap:wrap}.ml-template-top select{flex:1;min-width:180px}.ml-invite-template-editor button{border:1px solid #a4b5bf;border-radius:7px;background:#f2f6f8;color:#172027;padding:9px 12px;cursor:pointer}.ml-invite-template-editor button:disabled{opacity:.45;cursor:default}.ml-template-save{background:#0085CA!important;color:white!important;border-color:#0085CA!important}.ml-template-fields{background:#edf5fa;border-radius:9px;padding:12px}.ml-template-field-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.ml-template-field-list button{font-size:12px;padding:5px 7px}.ml-template-preview-result{white-space:pre-wrap;word-break:break-word;background:#f2f6f8;border-radius:8px;padding:12px}.ml-template-close{font-size:24px!important}.ml-template-result{min-height:1.5em;color:#245e7c}@media(max-width:560px){.ml-invite-template-editor{padding:14px}.ml-template-top{flex-direction:column}}

.ml-template-mapping{border:1px solid #cad8df;border-radius:8px;padding:12px}.ml-template-mapping p{font-size:13px}.ml-template-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.ml-template-mapping-grid fieldset{border:1px solid #d4e0e5;border-radius:8px;display:grid;gap:8px}.ml-template-mapping-grid legend{font-weight:700}.ml-template-mapping-grid label{font-size:12px}
/* 0.3.181 — D01 Scheduling Activity */
.ml-schedule-activity-count{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:20px;background:#ba1e28;color:#fff;font-weight:800;font-style:normal;margin-right:7px;padding:0 5px}
.ml-sa-entry{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 20px);margin:10px;background:linear-gradient(110deg,#314c5a,#1a2a32);border:1px solid #0085ca;border-radius:11px;color:#fff;padding:16px;font-size:16px;font-weight:700;text-align:left}
.ml-sa-entry-count{color:#8dd7f5;font-size:12px}
.ml-scheduling-activity{padding:14px 10px 50px;color:#f1f6f8}.ml-sa-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ml-sa-top h2{font-size:21px;margin:6px 0 15px}.ml-sa-count{color:#9ed8f0;font-size:12px}.ml-sa-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px}.ml-sa-filters button{flex-shrink:0;border:1px solid #6b8795;border-radius:18px;background:#20343f;color:#e9f1f5;padding:8px 12px}.ml-sa-filters button.selected{background:#0085ca;border-color:#0085ca;color:#fff}.ml-sa-card{background:#f8fafb;color:#25353e;border-radius:12px;border-left:5px solid #0085ca;padding:16px;margin:12px 0;box-shadow:0 4px 15px #0005}.ml-sa-card-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.ml-sa-card-top span{font-size:11px;color:#65747b}.ml-sa-card h3{font-size:17px;margin:10px 0}.ml-sa-kind{font-size:12px;font-weight:800;color:#006ba6;letter-spacing:.05em}.ml-sa-detail{white-space:pre-wrap;background:#e9f2f7;padding:12px;border-radius:8px;line-height:1.5}.ml-sa-actions{display:flex;flex-wrap:wrap;gap:8px}.ml-sa-actions button{background:#0085ca;color:white;border:0;border-radius:7px;padding:10px 13px;font-weight:700}.ml-sa-actions button:not(:first-child){background:#536570}.ml-sa-empty{text-align:center;color:#b8d1dc;padding:36px 8px}

/* 0.3.182 — hidden Scheduling Activity must not occupy a row. */
.ml-sa-entry[hidden]{display:none!important;}

/* 0.3.185: tentative reschedule hold; reuse the existing 45-degree red pending pattern. */
.ml-schedule .ml-proposal-hold,
.ml-schedule .ml-week-event.ml-proposal-hold,
.ml-schedule .ml-schedule-event.ml-proposal-hold{
 background-color:#E4002B!important;
 background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.30) 0,rgba(255,255,255,.30) 10px,rgba(255,255,255,.06) 10px,rgba(255,255,255,.06) 20px)!important;
 color:#fff!important;cursor:pointer!important;
}
.ml-schedule .ml-proposal-hold .ml-sch-resize-handle,.ml-schedule .ml-proposal-hold .ml-sch-task-box{display:none!important}

/* v0.3.190: history clearing uses MindLife's own two-step modal. */
.ml-sa-history-footer{display:flex;justify-content:center;margin:32px 0 12px;padding:20px 0;border-top:1px solid #58717d}
.ml-sa-clear-all{border:1px solid #a75252;border-radius:9px;background:#6b2930;color:#fff;padding:12px 24px;font-weight:700;cursor:pointer}
.ml-sa-confirm-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.ml-sa-confirm{width:min(100%,420px);max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box;background:#213640;color:#f6f9fb;border:1px solid #65808e;border-radius:14px;padding:22px;box-shadow:0 12px 40px #0008}
.ml-sa-confirm h3{margin:0 0 12px;font-size:20px}.ml-sa-confirm p{line-height:1.55;margin:0 0 22px}
.ml-sa-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.ml-sa-confirm-actions button{padding:11px 15px;border:1px solid #7295a6;border-radius:9px;background:#334e5c;color:white;font-weight:700;cursor:pointer}
.ml-sa-confirm-actions [data-sa-proceed]{background:#822f39;border-color:#b64c58}
.ml-sa-confirm-actions button:disabled{opacity:.55;cursor:wait}

/* v0.3.191 Repeato history viewer */
.ml-repeato-history-link{display:flex;justify-content:flex-end;padding:9px 12px 0}.ml-repeato-history-open,.ml-repeato-history-back{border:1px solid #526873;border-radius:8px;background:#263841;color:#fff;padding:9px 16px;font-size:15px;font-weight:600;min-height:42px}.ml-repeato-history{padding:12px;min-height:100%;color:#eef3f5}.ml-repeato-history-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ml-repeato-history-head h2{font-size:21px;margin:0}.ml-repeato-history-note{font-size:13px;color:#b6c4cb;line-height:1.5}.ml-repeato-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0}.ml-repeato-history-stats span{border:1px solid #40535e;border-radius:9px;background:#1b2a32;padding:12px 4px;text-align:center;font-size:12px}.ml-repeato-history-stats b{display:block;font-size:23px;margin-bottom:4px}.ml-repeato-history-rows{display:grid;gap:7px}.ml-repeato-history-row{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #3e515b;border-radius:9px;background:#1a282f;padding:11px}.ml-repeato-history-row strong{display:block;font-size:16px;overflow-wrap:anywhere}.ml-repeato-history-row small{display:block;font-size:12px;color:#b4c2c9;margin-top:5px}.ml-repeato-history-status{white-space:nowrap;font-size:12px;font-weight:700;padding:6px 9px;border-radius:12px;background:#3b4045}.ml-repeato-history-status.done{background:#235c3b;color:#dcffe8}.ml-repeato-history-status.skip{background:#665127;color:#fff2c7}.ml-repeato-history-status.missed{background:#6a3030;color:#ffe3e3}.ml-repeato-history-empty{padding:30px;text-align:center;color:#b9c6cd}

/* v0.3.192: Compact Repeato date toolbar and guarded skipped-history clearing. */
.ml-repeato-top{grid-template-columns:38px minmax(82px,1fr) 38px minmax(65px,auto) 38px;gap:4px;padding:7px 6px}
.ml-repeato-top button{min-width:0;min-height:40px}
.ml-repeato-top .ml-repeato-date{font-size:14px!important;white-space:nowrap;padding:0 2px}
.ml-repeato-top .ml-repeato-history-open{font-size:13px;min-height:40px;padding:0 7px;border-radius:8px}
.ml-repeato-top .ml-repeato-prev,.ml-repeato-top .ml-repeato-next{font-size:22px}
.ml-repeato-top .ml-repeato-add{font-size:24px!important}
.ml-repeato-history-footer{display:flex;justify-content:center;padding:22px 8px 35px}
.ml-repeato-clear-skipped{border:1px solid #9c6262;border-radius:8px;background:#3c2226;color:#fff;padding:12px 18px;font-weight:600}
.ml-repeato-clear-skipped:disabled{opacity:.4;cursor:not-allowed}
.ml-repeato-clear-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.75)}
.ml-repeato-clear-dialog{box-sizing:border-box;width:min(420px,100%);background:#19262d;color:#f3f6f8;border:1px solid #566b77;border-radius:12px;padding:20px;box-shadow:0 15px 45px #0009}
.ml-repeato-clear-dialog h3{margin:0 0 12px;font-size:20px}.ml-repeato-clear-dialog p{line-height:1.5}
.ml-repeato-clear-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}
.ml-repeato-clear-actions button{border:1px solid #617480;border-radius:8px;background:#293a44;color:#fff;padding:10px 14px;font-weight:600}
.ml-repeato-clear-actions [data-clear]{background:#74383c;border-color:#a96565}
@media(max-width:360px){.ml-repeato-top{grid-template-columns:33px minmax(75px,1fr) 33px 59px 33px;gap:3px;padding:6px 3px}.ml-repeato-top .ml-repeato-history-open{font-size:12px;padding:0 3px}.ml-repeato-top .ml-repeato-date{font-size:12px!important}}

/* v0.3.193: Repeato History maintenance controls */
.ml-repeato-history-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.ml-repeato-clear-all,.ml-repeato-delete{color:#b83939}.ml-repeato-history-head h2{margin-left:0}

/* v0.3.195: home weather corner readings, 30% black backing; expanded shows solar events. */
.ml-weather-corners{position:absolute;inset:0 0 auto 0;height:32px;pointer-events:none;z-index:5}
.ml-weather-corner{position:absolute;top:3px;max-width:28%;padding:3px 5px;border-radius:5px;background:rgba(0,0,0,.30);color:#d2d6d8;font-size:clamp(10px,1.7vw,13px);font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-weather-corner-left{left:5px;text-align:left}.ml-weather-corner-right{right:5px;text-align:right}
.ml-weather-expanded .ml-weather-corner{color:#f2d27d}
@media(max-width:480px){.ml-weather-corner{font-size:10px;padding:3px 2px;max-width:27%}}

/* v0.3.195: quiet astronomical corner indicators; retain existing weather data and toggle. */
.ml-weather-expanded .ml-weather-corner-left::before{content:"☀";display:inline-block;color:#f2d27d;margin-right:4px;font-size:1.15em;vertical-align:-.04em}
.ml-weather-expanded .ml-weather-corner-right::before{content:"🌄";display:inline-block;opacity:.55;margin-right:4px;font-size:1.05em;vertical-align:-.04em}

/* v0.3.196: hide solar corner containers when weather strip is collapsed. */
.ml-home-status:not(.ml-weather-expanded) .ml-weather-corners{display:none}
/* Draw sunset using CSS to avoid platform emoji artwork and its white tile. */
.ml-weather-expanded .ml-weather-corner-right::before{content:"";display:inline-block;width:13px;height:12px;opacity:1;margin-right:5px;vertical-align:-1px;background:radial-gradient(circle at 50% 65%,rgba(242,210,125,.38) 0 4px,transparent 4.5px),linear-gradient(to bottom,transparent 0 8px,rgba(242,210,125,.5) 8px 9px,transparent 9px);border:0;border-radius:0}

/* v0.3.198: consistent Repeato History destructive controls.
   Scope tightly to the history footer; do not affect actions or other screens. */
.ml-repeato-history-footer {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:12px; padding:22px 12px 35px;
}
.ml-repeato-history-footer > button.ml-repeato-clear-skipped,
.ml-repeato-history-footer > button.ml-repeato-clear-missed,
.ml-repeato-history-footer > button.ml-repeato-clear-all {
  appearance:none; -webkit-appearance:none; box-sizing:border-box;
  min-height:44px; min-width:160px; max-width:100%;
  padding:11px 16px; margin:0; border:1px solid #ae666b;
  border-radius:9px; background:#552b31; color:#fff;
  font:600 14px/1.3 inherit; font-family:inherit; font-size:14px; font-weight:650;
  text-align:center; letter-spacing:0; box-shadow:none; cursor:pointer;
  opacity:1; -webkit-text-fill-color:currentColor;
}
.ml-repeato-history-footer > button.ml-repeato-clear-all {
  flex:0 0 auto; margin-top:7px; border-color:#c27a7f;
  background:#78363e;
}
.ml-repeato-history-footer > button.ml-repeato-clear-all::before {
  content:''; display:block; flex-basis:100%;
}
.ml-repeato-history-footer:has(> .ml-repeato-clear-all)::before {
  content:''; order:1; flex-basis:100%; height:0;
}
.ml-repeato-history-footer > button.ml-repeato-clear-all {order:2}
.ml-repeato-history-footer > button:disabled {
  background:#343036; border-color:#66565a; color:#d4c6c8;
  opacity:.62; cursor:not-allowed;
}
.ml-repeato-history-footer > button:not(:disabled):active {background:#8d424b}
.ml-repeato-history-footer > button:focus-visible {outline:2px solid #fff; outline-offset:3px}
@media(max-width:380px){
  .ml-repeato-history-footer > button.ml-repeato-clear-skipped,
  .ml-repeato-history-footer > button.ml-repeato-clear-missed,
  .ml-repeato-history-footer > button.ml-repeato-clear-all {width:100%; min-width:0}
}

/* v0.3.200: Repeato specific-time rows, matching MindLife add/delete affordances */
.ml-repeato-time-rows{display:grid;gap:9px;margin:7px 0 10px}
.ml-repeato-time-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}
.ml-repeato-time-row .ml-repeato-time-entry{min-width:0;font-size:17px}
.ml-repeato-time-row .ml-repeato-remove-time{min-height:40px;border:1px solid #874444;border-radius:7px;background:#3a1818;color:#ffb7b7;padding:8px 10px;font:inherit}
.ml-repeato-time-preview{grid-column:1/-1;font-size:12px;color:#9dd2e8;min-height:0}
.ml-repeato-time-preview:empty{display:none}
.ml-repeato-add-time{width:100%;min-height:42px;border:1px solid #47748b;border-radius:8px;background:#203943;color:#e6f7ff;font:inherit;font-weight:600}
.ml-repeato-times-heading{font-size:13px;color:#b9c5ca}
.ml-repeato-times-hint{display:block;margin-top:7px;color:#aebcc3;font-size:12px;line-height:1.5}
.ml-repeato-times-error{margin-top:8px;padding:9px;border:1px solid #b85e5e;border-radius:7px;background:#381d1d;color:#ffd5d5;font-size:13px}
.ml-repeato-time-entry[aria-invalid="true"]{border-color:#ed7676!important}

/* v0.3.203 — Repeato editor: date guidance sits directly beneath input fields */
.ml-repeato-time-rows{gap:7px}
.ml-repeato-time-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:0;padding:0}
.ml-repeato-time-row .ml-repeato-time-entry{display:block;width:100%;min-width:0;height:42px;min-height:42px;margin:0;box-sizing:border-box;line-height:20px}
.ml-repeato-time-row .ml-repeato-remove-time{display:flex;align-items:center;justify-content:center;height:42px;min-height:42px;margin:0;box-sizing:border-box;white-space:nowrap;line-height:20px}
.ml-repeato-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.ml-repeato-dates label{display:grid;grid-template-rows:max-content max-content max-content;align-content:start;row-gap:6px;color:#b9c5ca;font-size:13px;min-width:0}
.ml-repeato-date-hint{display:block;align-self:start;margin:0;padding:0;font-size:11px;line-height:1.35;color:#aebcc3;font-weight:400}
@media(max-width:370px){.ml-repeato-dates{grid-template-columns:1fr}}

/* v0.3.205: Keep Start/End guidance immediately below each date control.
   Use a column rather than a three-row grid so no implicit row can stretch. */
.ml-repeato-dialog .ml-repeato-editor-body .ml-repeato-dates > label {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:stretch;
  gap:0;
  min-height:0;
  height:auto;
  margin:0;
}
.ml-repeato-dialog .ml-repeato-dates > label > input[type="date"] {
  display:block;
  flex:none;
  width:100%;
  margin:6px 0 0;
}
.ml-repeato-dialog .ml-repeato-dates > label > .ml-repeato-date-hint {
  display:block;
  flex:none;
  align-self:stretch;
  margin:6px 0 0;
  padding:0;
  line-height:1.35;
  text-align:center;
}

/* v0.3.211 invitation email dashboard controls */
.ml-invite-email-settings input[type="text"],.ml-invite-email-settings input[type="email"]{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #a6b1b7;border-radius:6px;font:inherit;margin-top:5px;background:#fff;color:#172027}
.ml-invite-email-settings input[readonly]{background:#e9edef;color:#45535c}
.ml-invite-email-settings .ml-db-action{margin:8px 0 12px}
.ml-invite-email-status{display:block;padding:8px 12px;line-height:1.5}

/* v0.3.214 — Schedule Month: full-month, Apple-inspired, MindLife-native */
.ml-schedule:has(.ml-month-board){display:flex;flex-direction:column;min-height:0;height:100%;}
.ml-schedule:has(.ml-month-board) .ml-schedule-subnav{flex:none;}
.ml-month-board{--ml-month-weeks:5;display:flex;flex-direction:column;flex:1;min-height:360px;width:100%;overflow:hidden;background:#050607;color:#f5f6f7;touch-action:pan-y;user-select:none;-webkit-user-select:none;}
.ml-month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));flex:none;height:28px;align-items:center;border-bottom:1px solid #333a3d;color:#b6c0c6;text-align:center;font-size:12px;font-weight:750;letter-spacing:.025em;}
.ml-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(var(--ml-month-weeks),minmax(0,1fr));flex:1;min-height:0;}
.ml-month-cell{display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0;min-height:0;overflow:hidden;border-top:1px solid #33383b;border-right:1px solid #1b2125;padding:4px 2px 2px;background:#050607;}
.ml-month-cell:nth-child(7n){border-right:0;}
.ml-month-outside{background:#0c1115;opacity:.55;}
.ml-month-date{flex:none;display:grid;place-items:center;align-self:center;width:clamp(25px,8vw,36px);height:clamp(25px,8vw,36px);padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#f3f5f6!important;font-size:clamp(16px,4.6vw,23px)!important;font-weight:650!important;line-height:1!important;cursor:pointer;}
.ml-month-today .ml-month-date{background:#f0444b!important;color:#fff!important;font-weight:850!important;}
.ml-month-selected:not(.ml-month-today) .ml-month-date{box-shadow:inset 0 0 0 2px #52b5ee;}
.ml-month-chips{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:hidden;}
.ml-month-event.ml-schedule-event,.ml-schedule .ml-month-event.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel){display:block!important;position:relative!important;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:clamp(15px,2.8vh,22px)!important;min-height:0!important;margin:0!important;padding:1px 3px!important;border:0!important;border-radius:5px!important;text-align:left!important;font-size:clamp(9px,2.5vw,12px)!important;line-height:1.2!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;box-sizing:border-box!important;box-shadow:none!important;}
.ml-month-event span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ml-month-event.ml-month-google{outline:1px solid #f0a13b;outline-offset:-1px;}
.ml-month-more{flex:none;align-self:start;max-width:100%;border:0!important;background:transparent!important;color:#95bcd1!important;padding:0 2px!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap;cursor:pointer;}
.ml-month-board button:focus-visible{outline:2px solid #8bd5ff!important;outline-offset:-2px;}
body.mindlife-app-page .ml-content:has(.ml-month-board){overflow-y:hidden!important;display:flex;flex-direction:column;}
body.mindlife-app-page .ml-content:has(.ml-month-board)>.ml-schedule{flex:1;min-height:0;}
@media(max-width:480px){.ml-month-cell{padding:3px 1px 1px;gap:1px}.ml-month-event.ml-schedule-event{padding:1px 2px!important}.ml-month-weekdays{height:25px}}
@media(max-height:650px){.ml-month-board{min-height:270px}.ml-month-date{width:25px;height:25px;font-size:16px!important}.ml-month-event.ml-schedule-event{height:15px!important}.ml-month-cell{gap:1px}}
@media(prefers-reduced-motion:reduce){.ml-month-board{scroll-behavior:auto}}

/* v0.3.215: compact Apple-inspired dates and optional routine visibility. */
.ml-month-controls{display:flex;justify-content:flex-end;align-items:center;flex:none;min-height:29px;padding:2px 9px;border-bottom:1px solid #262c30}
.ml-month-routine-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#b8c8d1;cursor:pointer;white-space:nowrap}
.ml-month-routine-label input{width:15px;height:15px;accent-color:#0085ca;cursor:pointer}
.ml-month-date{width:clamp(23px,6.3vw,30px)!important;height:clamp(23px,6.3vw,30px)!important;font-size:clamp(14px,3.8vw,19px)!important;font-weight:600!important}
.ml-month-cell{border-right-color:#11171b;border-top-color:#252b2e}
.ml-month-chips{gap:2px}
@media(max-width:480px){.ml-month-date{width:25px!important;height:25px!important;font-size:16px!important}.ml-month-controls{min-height:26px}}

/* v0.3.216 — compact month typography and centered, low-profile event pills.
   Scoped exclusively to the Month board; Day/Week event styles remain unchanged. */
.ml-month-board .ml-month-date{width:22px!important;height:22px!important;font-size:14px!important;font-weight:600!important;line-height:1!important;}
.ml-month-board .ml-month-today .ml-month-date{width:25px!important;height:25px!important;font-size:14px!important;}
.ml-month-board .ml-month-cell{padding:3px 2px 2px!important;gap:2px!important;}
.ml-month-board .ml-month-chips{gap:2px!important;}
.ml-month-board .ml-month-event.ml-schedule-event,
.ml-schedule .ml-month-board .ml-month-event.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel){
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 height:16px!important;min-height:16px!important;max-height:16px!important;
 padding:0 3px!important;border-radius:4px!important;
 font-size:11px!important;line-height:16px!important;font-weight:500!important;
 box-sizing:border-box!important;
}
.ml-month-board .ml-month-event span{display:block!important;line-height:16px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.ml-month-board .ml-month-more{font-size:10px!important;line-height:12px!important;}
@media(max-width:480px){
 .ml-month-board .ml-month-date{width:20px!important;height:20px!important;font-size:13px!important;}
 .ml-month-board .ml-month-today .ml-month-date{width:23px!important;height:23px!important;font-size:13px!important;}
 .ml-month-board .ml-month-event.ml-schedule-event,
 .ml-schedule .ml-month-board .ml-month-event.ml-schedule-event:not(.ml-sch-compact):not(.ml-sch-ade-one-line):not(.ml-derived-travel){height:15px!important;min-height:15px!important;max-height:15px!important;font-size:10px!important;line-height:15px!important;padding:0 2px!important;}
 .ml-month-board .ml-month-event span{line-height:15px!important;}
}

/* v0.3.217 — Month view owns all usable height; no bottom status/menu in this view. */
body.mindlife-app-page #mindlife-page-shell>.ml-app:has(.ml-month-board)>.ml-bottom-info,
body.mindlife-app-page #mindlife-page-shell>.ml-app:has(.ml-month-board)>.ml-footer{display:none!important;}
body.mindlife-app-page #mindlife-page-shell>.ml-app>.ml-content:has(.ml-month-board){
 padding-top:0!important;padding-bottom:0!important;min-height:0!important;
 overflow:hidden!important;display:flex!important;flex-direction:column!important;
}
body.mindlife-app-page .ml-content:has(.ml-month-board)>.ml-schedule{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
 height:100%!important;min-height:0!important;padding:0!important;margin:0!important;
}
body.mindlife-app-page .ml-schedule:has(.ml-month-board)>.ml-month-board{
 flex:1 1 auto!important;min-height:0!important;height:0!important;overflow:hidden!important;
}
.ml-month-board .ml-month-grid{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;}
.ml-month-board .ml-month-cell{min-height:0!important;overflow:hidden!important;}
.ml-month-board .ml-month-event[hidden],.ml-month-board .ml-month-more[hidden]{display:none!important;}
.ml-month-board .ml-month-more:not([hidden]){display:block!important;}

/* v0.3.218 — Today is the only circled date. Equal-size fixed date boxes
   prevent the red disc from drifting relative to the date number. */
.ml-month-board .ml-month-date,
.ml-month-board .ml-month-today .ml-month-date {
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 24px!important;width:24px!important;height:24px!important;
  min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;
  margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
  border-radius:50%!important;line-height:1!important;text-align:center!important;
  font-variant-numeric:tabular-nums;vertical-align:middle!important;
}
.ml-month-board .ml-month-cell:not(.ml-month-today) .ml-month-date{box-shadow:none!important;}

/* v0.3.219 — Design Notes: full-viewport, scrollable editor without destructive controls. */
.ml-notes-dialog{position:fixed!important;inset:0!important;box-sizing:border-box!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border:0!important;padding:0!important;background:#050809!important;color:#fff!important;overscroll-behavior:contain}
.ml-notes-dialog::backdrop{background:#000}
.ml-notes-editor{display:flex;flex-direction:column;height:100%;min-height:0;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom,0px)}
.ml-notes-dialog .ml-notes-head{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:calc(12px + env(safe-area-inset-top,0px)) 18px 12px;background:#11191d;border-bottom:1px solid #42525a}
.ml-notes-dialog .ml-notes-head h3{flex:1;font-size:22px}
.ml-notes-status{font-size:12px;color:#aabac3;white-space:nowrap}
.ml-notes-dialog .ml-notes-save{min-width:72px;min-height:42px;background:#176ed1;color:white;font-weight:700}
.ml-notes-dialog .ml-notes-save:disabled{opacity:.6}
.ml-notes-dialog .ml-notes-full{display:block;flex:1 1 auto;min-height:0!important;box-sizing:border-box;width:100%!important;height:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;resize:none;padding:20px!important;outline:none}

/* v0.3.221 — Month-only legibility and compact navigation. */
.ml-month-board .ml-month-weekday .ml-month-date{font-weight:800!important;}
.ml-month-board .ml-month-weekend .ml-month-date{font-weight:400!important;}
.ml-month-board .ml-month-today .ml-month-date{font-weight:800!important;}
.ml-schedule:has(.ml-month-board)>.ml-schedule-subnav .ml-month-routine-label{margin-left:auto;padding:0 5px;}
.ml-month-board .ml-month-event.ml-schedule-event{justify-content:flex-start!important;text-align:left!important;padding-left:4px!important;padding-right:2px!important;}
.ml-month-board .ml-month-event.ml-schedule-event.ml-month-event-fits{justify-content:center!important;text-align:center!important;}
.ml-month-board .ml-month-event span{min-width:0;max-width:100%;}

/* v0.3.222 — finger-safe Schedule navigation, lighter view selector. */
.ml-schedule:has(.ml-month-board) .ml-schedule-view{
  background:transparent!important;border-color:transparent!important;box-shadow:none!important;
  padding:7px 20px 7px 6px!important;color:#fff!important;cursor:pointer;
}
.ml-schedule-mode .ml-sch-persistent-nav{
  grid-template-columns:minmax(38px,44px) minmax(38px,44px) minmax(0,1fr) minmax(38px,44px) minmax(38px,44px) minmax(38px,44px)!important;
  column-gap:4px!important;
}
.ml-schedule-mode .ml-sch-persistent-nav .ml-sch-prev-head{margin-left:5px!important;width:calc(100% - 5px)!important;}
.ml-schedule-mode .ml-sch-persistent-nav .ml-sch-next-head{margin-right:5px!important;width:calc(100% - 5px)!important;}
.ml-schedule-mode .ml-sch-persistent-nav .ml-sch-double{touch-action:pan-y!important;-webkit-user-select:none;user-select:none;}
@media(max-width:620px){
  .ml-schedule-mode .ml-heading{left:49px!important;right:3px!important;}
  .ml-schedule-mode .ml-sch-persistent-nav{
    grid-template-columns:34px 34px minmax(0,1fr) 34px 34px 35px!important;
    column-gap:2px!important;
  }
  .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-prev-head{margin-left:4px!important;width:calc(100% - 4px)!important;}
  .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-next-head{margin-right:4px!important;width:calc(100% - 4px)!important;}
  .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-date-head{font-size:clamp(11px,3.2vw,19px)!important;}
}
@media(max-width:390px){
  .ml-schedule-mode .ml-sch-persistent-nav{grid-template-columns:30px 30px minmax(0,1fr) 30px 30px 32px!important;column-gap:1px!important;}
  .ml-schedule-mode .ml-sch-persistent-nav .ml-sch-date-head{font-size:clamp(10px,3vw,14px)!important;}
}

/* v0.3.224 — plain-label Schedule view toggle, full-size invisible touch target. */
.ml-schedule-subnav .ml-schedule-view-toggle{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;color:#fff!important;font:inherit!important;
  font-size:18px!important;font-weight:600!important;
  padding:8px 12px!important;min-width:78px!important;min-height:44px!important;
  text-align:center!important;cursor:pointer!important;touch-action:manipulation!important;
  user-select:none!important;-webkit-user-select:none!important;
}
.ml-schedule-subnav .ml-schedule-view-toggle:hover{background:rgba(255,255,255,.07)!important;}
.ml-schedule-subnav .ml-schedule-view-toggle:focus-visible{outline:2px solid #8fd3ff!important;outline-offset:2px!important;}

/* v0.3.225 — compact, regular-weight view label in Week/Month/Agenda only. */
.ml-schedule-subnav .ml-schedule-view-toggle:is(.ml-schedule-view-week,.ml-schedule-view-month,.ml-schedule-view-agenda){
  font-size:15px!important;font-weight:400!important;
}

/* v0.3.226 — Design Notes readability and typography controls. */
.ml-notes-dialog .ml-notes-full{color:#fff!important;-webkit-text-fill-color:#fff;caret-color:currentColor;opacity:1!important}
.ml-notes-dialog .ml-notes-head .ml-notes-format-button{flex:0 0 auto;min-width:44px;min-height:44px;border:1px solid #647580;border-radius:8px;background:#23333d;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.ml-notes-dialog .ml-notes-format-panel{flex:0 0 auto;display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#19262e;color:#fff;border-bottom:1px solid #53636c;padding:12px 18px}
.ml-notes-dialog .ml-notes-format-panel[hidden]{display:none!important}
.ml-notes-dialog .ml-notes-format-panel label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#dbe5eb;min-width:0}
.ml-notes-dialog .ml-notes-format-panel select{min-height:40px;max-width:100%;background:#0c171d;color:#fff;border:1px solid #657580;border-radius:6px;padding:5px 8px;font-size:16px}
.ml-notes-dialog .ml-notes-format-panel input[type=color]{width:55px;height:40px;background:#0c171d;border:1px solid #657580;border-radius:6px;padding:3px;cursor:pointer}
.ml-notes-dialog .ml-notes-format-default{min-height:40px;padding:6px 12px;border:1px solid #657580;border-radius:6px;background:#26343d;color:#fff}
@media(max-width:520px){.ml-notes-dialog .ml-notes-head{gap:8px!important;padding-left:10px!important;padding-right:10px!important}.ml-notes-dialog .ml-notes-head h3{font-size:19px!important}.ml-notes-dialog .ml-notes-format-panel{gap:8px;padding:10px}.ml-notes-dialog .ml-notes-format-panel label{flex:1 1 90px}.ml-notes-dialog .ml-notes-format-panel label:last-of-type{flex:0 0 58px}}

/* v0.3.227 Memorize Training reference playback options */
.ml-mem-reference-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0;color:#f4f4f4;font-size:15px}.ml-mem-reference-options label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.ml-mem-reference-options input{width:18px;height:18px;accent-color:#75c849}

.ml-mem-sync-notice{background:#4b260e;color:#fff4dd;border:1px solid #c18b3b;border-radius:8px;padding:10px;margin:10px 0;font-size:14px}

/* v0.3.230 — tap-to-move Prayer manual ordering */
.ml-prayer-move-help{padding:9px 10px;margin:3px 0 8px;border:1px solid #536168;border-radius:8px;color:#dce8ed;font-size:14px;line-height:1.35}
.ml-prayer-move-cancel{margin-left:8px;padding:5px 10px;border:1px solid #7f969f;border-radius:6px;background:#25343c;color:white}
.ml-prayer-move-cancel[hidden]{display:none!important}
.ml-prayer-row.ml-prayer-move-selected{outline:2px solid #8ad05d;background:#21301e;border-radius:6px}
.ml-prayer:has(.ml-prayer-move-help) .ml-prayer-row{cursor:pointer;padding-right:62px}
.ml-prayer-open-detail{position:absolute;right:4px;top:7px;padding:5px 7px;border:1px solid #65757e;border-radius:6px;background:#172127;color:#e5eef1;font-size:12px}

/* v0.3.231: name-only long-press selection, no drag handles or Open buttons. */
.ml-prayer-name{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;touch-action:pan-y;}

/* v0.3.232: entire Prayer row responds to tap and long press. */
.ml-prayer-row{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y;}

/* v0.3.233: inline Prayer name editing and lock capture feedback. */
.ml-prayer-detail-title{cursor:text}
.ml-prayer-name-inline{font:inherit;font-weight:inherit;color:#fff;background:#101b20;border:1px solid #85bc62;border-radius:5px;padding:2px 6px;max-width:min(85vw,400px);width:100%;box-sizing:border-box}
.ml-prayer-capture-error{color:#ffb4aa;background:#402021;border:1px solid #a54d48;border-radius:6px;padding:8px;font-size:14px}
.ml-prayer-capture-save:disabled{opacity:.7;cursor:wait}

/* v0.3.238: touch-first selection suppression on gesture targets only.
   Preserve normal text selection in reading areas and editing controls. */
.ml-bar,
.ml-bar *,
.ml-prayer-row,
.ml-prayer-row :not(input):not(textarea):not(select):not([contenteditable="true"]),
.ml-schedule-event,
.ml-schedule-event *,
.ml-schedule-day-heading,
.ml-time-wheel-item,
.ml-mem-tabs button,
.ml-prayer-tools button,
.ml-prayer-row-actions button,
.ml-sch-day-buttons button,
.ml-schedule-mode button {
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
/* Inline Prayer name editing must remain fully selectable. */
.ml-prayer-row input, .ml-prayer-row textarea,
.ml-prayer-row select, .ml-prayer-row [contenteditable="true"] {
  -webkit-user-select:text;user-select:text;-webkit-touch-callout:default;
}
/* Checkoff List S14 — isolated from other MindLife views. */
.ml-checkoff{padding:12px;max-width:820px;margin:0 auto}.ml-col-toolbar,.ml-col-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ml-col-select{flex:1;min-width:140px}.ml-checkoff button,.ml-checkoff select,.ml-checkoff input{font:inherit}.ml-col-toolbar button,.ml-col-actions button,.ml-col-add button{border:1px solid #8887;border-radius:9px;padding:8px 12px;background:var(--ml-surface,#fff);color:inherit}.ml-col-actions{font-size:.84rem}.ml-col-actions span{margin-left:auto;opacity:.7}.ml-col-danger{color:#c42d36!important}.ml-col-item{display:flex;align-items:center;gap:10px;padding:11px 5px;border-bottom:1px solid #8883;touch-action:pan-y;user-select:none;-webkit-user-select:none}.ml-col-item-text{flex:1;min-width:0;overflow-wrap:anywhere;cursor:pointer}.ml-col-item.is-done .ml-col-item-text{text-decoration:line-through;opacity:.55}.ml-col-circle{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid #888;background:transparent;color:inherit;font-weight:bold}.ml-col-item.is-done .ml-col-circle{background:#267a5b;color:#fff;border-color:#267a5b}.ml-col-edit{border:0;background:transparent;color:inherit;font-size:23px;padding:3px 10px}.ml-col-item.is-moving{outline:2px solid #2c93c4;border-radius:8px;background:#2c93c422}.ml-col-move-help{padding:8px;border-radius:8px;background:#2c93c422;margin-bottom:10px}.ml-col-add{display:flex;gap:8px;margin-top:16px}.ml-col-add input{flex:1;min-width:0;padding:10px;border:1px solid #8887;border-radius:8px;background:transparent;color:inherit}.ml-col-empty{opacity:.7;text-align:center;padding:20px}.ml-col-dialog{border:1px solid #8888;border-radius:12px;max-width:min(92vw,420px);padding:20px;background:var(--ml-surface,#fff);color:inherit}.ml-col-dialog::backdrop{background:#0008}.ml-col-dialog form{display:grid;gap:14px}.ml-col-dialog input{padding:10px;font:inherit;min-width:0}.ml-col-dialog form>div{display:flex;justify-content:flex-end;gap:10px}.ml-col-dialog button{padding:8px 15px}
.ml-col-delete{border:0;background:transparent;color:#b34242;font-size:22px;padding:3px 8px}

/* v0.3.241 CoL contrast guard: explicit foregrounds on light controls.
   Do not inherit white app text onto white form/button surfaces. */
.ml-checkoff .ml-col-toolbar button,
.ml-checkoff .ml-col-actions button,
.ml-checkoff .ml-col-add button,
.ml-checkoff .ml-col-select {
  background:#fff!important;
  color:#17212b!important;
  -webkit-text-fill-color:#17212b;
  border-color:#aab1b8!important;
}
.ml-checkoff .ml-col-danger {color:#b42330!important;-webkit-text-fill-color:#b42330!important;}
.ml-checkoff .ml-col-toolbar button:disabled,
.ml-checkoff .ml-col-actions button:disabled,
.ml-checkoff .ml-col-add button:disabled {opacity:.48!important;cursor:not-allowed;}
.ml-checkoff .ml-col-add input {
  color:#f5f7f9!important;
  -webkit-text-fill-color:#f5f7f9;
  border-color:#73808b!important;
}
.ml-checkoff .ml-col-add input::placeholder {color:#c4cbd1!important;opacity:1;}
.ml-col-dialog {background:#fff!important;color:#17212b!important;}
.ml-col-dialog input,.ml-col-dialog button {
  background:#fff!important;color:#17212b!important;
  -webkit-text-fill-color:#17212b;
  border:1px solid #aab1b8!important;border-radius:8px;
}
.ml-col-dialog input::placeholder {color:#59636d!important;opacity:1;}

/* v0.3.242: match established MindLife dark dialog theme and icon conventions. */
.ml-checkoff .ml-col-select,.ml-checkoff .ml-col-select:focus,.ml-checkoff .ml-col-select:active{border-radius:9px!important}
.ml-col-dialog{background:#0b1013!important;color:#e8edef!important;border:1px solid #596970!important;border-radius:12px!important;box-shadow:0 18px 60px rgba(0,0,0,.58)}
.ml-col-dialog::backdrop{background:rgba(0,0,0,.65)}
.ml-col-dialog h3{color:#e8edef!important}.ml-col-dialog p{color:#cbd4d8!important}
.ml-col-dialog input{background:#050708!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #526068!important;border-radius:8px!important;font-size:16px!important}
.ml-col-dialog button{background:#172127!important;color:#e8edef!important;-webkit-text-fill-color:#e8edef!important;border:1px solid #596970!important;border-radius:8px!important;min-height:44px}
.ml-checkoff .ml-col-edit,.ml-checkoff .ml-col-delete{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:6px;background:transparent!important;border:0!important;color:#b5c6ce!important;-webkit-text-fill-color:#b5c6ce!important}
.ml-checkoff .ml-col-delete{color:#e18c88!important;-webkit-text-fill-color:#e18c88!important}
.ml-checkoff .ml-col-pencil-glyph{font-size:23px;line-height:1;font-style:normal}

/* v0.3.243 — CoL control surfaces use the existing Dashboard dark palette.
   Override earlier CoL white-control rules; preserve all list behavior. */
.ml-checkoff .ml-col-toolbar,
.ml-checkoff .ml-col-actions {gap:10px;row-gap:10px;justify-content:flex-start;}
.ml-checkoff .ml-col-toolbar button,
.ml-checkoff .ml-col-actions button,
.ml-checkoff .ml-col-add button,
.ml-checkoff .ml-col-select {
  box-sizing:border-box;
  background:#102b3a!important;
  color:#eef7fc!important;
  -webkit-text-fill-color:#eef7fc!important;
  border:1px solid #4d8fb7!important;
  border-radius:9px!important;
  min-height:43px;
  padding:8px 12px;
  box-shadow:none;
}
.ml-checkoff .ml-col-toolbar button:focus-visible,
.ml-checkoff .ml-col-actions button:focus-visible,
.ml-checkoff .ml-col-add button:focus-visible,
.ml-checkoff .ml-col-select:focus-visible {outline:2px solid #72c5f3;outline-offset:2px;}
.ml-checkoff .ml-col-toolbar .ml-col-select {flex:1 1 180px;min-width:0;width:100%;}
.ml-checkoff .ml-col-toolbar button {flex:0 0 auto;white-space:nowrap;}
.ml-checkoff .ml-col-actions button {flex:0 1 auto;white-space:nowrap;margin:0;}
.ml-checkoff .ml-col-actions span {margin-left:auto;color:#c2d0d8;opacity:1;}
.ml-checkoff .ml-col-danger {color:#f18b91!important;-webkit-text-fill-color:#f18b91!important;}
.ml-checkoff .ml-col-add input {background:#0b1b25!important;color:#eef7fc!important;-webkit-text-fill-color:#eef7fc!important;border:1px solid #4d8fb7!important;}
.ml-checkoff .ml-col-add input::placeholder {color:#b6c6d0!important;}
.ml-checkoff .ml-col-toolbar button:disabled,
.ml-checkoff .ml-col-actions button:disabled,
.ml-checkoff .ml-col-add button:disabled {opacity:.45!important;}
.ml-checkoff .ml-col-edit,.ml-checkoff .ml-col-delete {background:transparent!important;border:0!important;min-width:40px;min-height:40px;}
@media(max-width:480px){
  .ml-checkoff .ml-col-actions {gap:8px;}
  .ml-checkoff .ml-col-actions button {padding:8px 10px;font-size:.9em;}
  .ml-checkoff .ml-col-actions span {flex:1 0 auto;text-align:right;}
}

/* v0.3.244: compact CoL header and on-demand floating list management. */
.ml-checkoff .ml-col-toolbar{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin-bottom:10px}
.ml-checkoff .ml-col-toolbar .ml-col-select{min-width:0;flex:1 1 auto}
.ml-checkoff .ml-col-tools-toggle{flex:0 0 48px;min-width:48px;font-size:24px;line-height:1}
.ml-checkoff .ml-col-tools-panel[hidden]{display:none!important}
.ml-checkoff .ml-col-tools-panel{position:absolute;z-index:35;right:0;top:calc(100% + 6px);width:min(320px,calc(100vw - 36px));box-sizing:border-box;background:#0b1b25;border:1px solid #4d8fb7;border-radius:12px;box-shadow:0 12px 28px #000a;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ml-checkoff .ml-col-tools-panel button{width:100%;min-width:0;white-space:normal;text-align:center;background:#102b3a!important;color:#eef7fc!important;-webkit-text-fill-color:#eef7fc!important;border:1px solid #4d8fb7!important;border-radius:9px!important;min-height:44px;padding:8px 10px;box-sizing:border-box}
.ml-checkoff .ml-col-tools-panel .ml-col-danger{color:#f18b91!important;-webkit-text-fill-color:#f18b91!important}
.ml-checkoff .ml-col-add{margin:0 0 8px;display:flex;gap:10px}
.ml-checkoff .ml-col-add button{min-width:48px;flex:0 0 48px}
.ml-checkoff .ml-col-summary{text-align:right;color:#c2d0d8;font-size:.86rem;margin:0 0 8px}

/* v0.3.245 Layout Library: MindLife dark theme, data markers, unavailable layouts. */
.ml-view-grid .ml-layout-option{display:flex;align-items:center;gap:10px;border:1px solid #527f9b;border-radius:9px;background:#102b3a;color:#eef7fc;padding:9px 10px;min-height:52px;box-sizing:border-box}
.ml-view-grid .ml-layout-option.is-current{border-color:#65b3e5;background:#17394c}
.ml-view-grid .ml-layout-option.is-unavailable{opacity:.42;cursor:not-allowed}
.ml-view-grid .ml-layout-option input{flex:none;accent-color:#59b5ed}
.ml-view-grid .ml-layout-label{flex:1;display:block;min-width:0}
.ml-view-grid .ml-layout-label small{display:block;font-size:11px;color:#afc7d6;margin-top:2px}
.ml-view-grid .ml-layout-data-dot{width:9px;height:9px;flex:none;border-radius:50%;background:transparent}
.ml-view-grid .ml-layout-data-dot.has-data{background:#37c779;box-shadow:0 0 0 1px #165c3b}
.ml-checkoff .ml-col-tools-panel .ml-col-layout-action{grid-column:1/-1}
@media(max-width:520px){.ml-view-grid{grid-template-columns:1fr 1fr;gap:8px}.ml-view-grid .ml-layout-option{padding:8px 6px;gap:5px;font-size:14px}.ml-view-grid .ml-layout-label small{font-size:10px}}

.ml-next-level-layout{display:block;margin:10px 14px 14px auto;padding:8px 14px;min-height:42px;border:1px solid #4d8fb7;border-radius:9px;background:#102b3a;color:#eef7fc;font:inherit;font-size:14px}

/* v0.3.246: compact Layout Library and consistent layout shortcut. */
.ml-view-grid{display:block!important;max-height:min(55vh,520px);overflow-y:auto;}
.ml-layout-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.ml-layout-compact .ml-layout-option{min-height:44px!important;padding:8px 10px!important;}
.ml-layout-future{grid-column:1/-1;border:1px solid #4d8fb7;border-radius:9px;background:#102b3a;color:#e8f4fa;}
.ml-layout-future summary{padding:11px 14px;cursor:pointer;display:flex;justify-content:space-between;list-style:none;}
.ml-layout-future summary::-webkit-details-marker{display:none;}
.ml-layout-future-options{padding:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:180px;overflow-y:auto;}
.ml-layout-future-options .ml-layout-option{opacity:.45;min-height:38px!important;}
.ml-layout-legend{grid-column:1/-1;color:#b8cbd6;font-size:12px;margin:4px 0 0;display:flex;align-items:center;gap:8px;}
.ml-universal-layout,.ml-col-layout-shortcut{background:#102b3a!important;color:#eef7fc!important;-webkit-text-fill-color:#eef7fc!important;border:1px solid #4d8fb7!important;border-radius:9px!important;min-width:44px;min-height:44px;font:inherit;font-size:24px;cursor:pointer;}
.ml-design .ml-universal-layout{display:block;margin:4px 0 8px auto;}
.ml-checkoff .ml-col-layout-shortcut{flex:0 0 44px;}
.ml-next-level-layout{font-size:23px;min-width:44px;min-height:44px;padding:6px 12px;}
@media(max-width:520px){.ml-layout-compact{gap:7px}.ml-layout-compact .ml-layout-option{font-size:14px!important;}}

/* 0.3.248: Layout settings in the collapsible context toolbar. */
.ml-layout-gear-wrap{position:absolute;right:50px;top:13px;z-index:9}
.ml-layout-gear{position:relative!important;right:auto!important;top:auto!important;width:45px;height:46px;font-size:26px!important;background:#050505!important;color:white}
.ml-layout-gear-panel{position:absolute;right:0;top:48px;min-width:165px;padding:5px;background:#152b38;border:1px solid #4d8fb7;border-radius:8px;z-index:40;box-shadow:0 5px 16px #0008}
.ml-layout-gear-panel[hidden],.ml-layout-gear[hidden]{display:none!important}
.ml-layout-gear-panel button{width:100%;padding:12px 10px;text-align:left;background:transparent;border:0;color:white;font:inherit;cursor:pointer}
.ml-layout-gear-panel button:hover{background:#294a5e}
.ml-layout-gear-wrap{opacity:0;pointer-events:none;transition:opacity .12s ease}
.ml-context-header:hover .ml-layout-gear-wrap,.ml-context-header.ml-context-tools-visible .ml-layout-gear-wrap,.ml-layout-gear-wrap:focus-within{opacity:1;pointer-events:auto}
.ml-context-header .ml-add{right:98px}
.ml-context-header .ml-search{right:146px}
.ml-context-header .ml-view-label{right:194px}
.ml-context-header:hover:after,.ml-context-header.ml-context-tools-visible:after{width:300px}
@media(max-width:480px){.ml-layout-gear-wrap{right:46px;top:11px}.ml-context-header .ml-add{right:90px}.ml-context-header .ml-search{right:134px}.ml-context-header .ml-view-label{right:178px}.ml-context-header:hover:after,.ml-context-header.ml-context-tools-visible:after{width:270px}}
@media(hover:none){.ml-context-header:hover .ml-layout-gear-wrap{opacity:0;pointer-events:none}.ml-context-header.ml-context-tools-visible .ml-layout-gear-wrap{opacity:1;pointer-events:auto}}
.ml-design .ml-universal-layout,.ml-checkoff .ml-col-layout-shortcut,.ml-next-level-layout{display:none!important}

/* v0.3.253: unobtrusive current-time indicator, today's day schedule only. */
.ml-schedule-now-line{
  position:absolute;left:2px;right:0;height:2px;
  background:#fff;z-index:8;pointer-events:none;
  box-shadow:0 0 2px rgba(0,0,0,.5);
}
.ml-schedule-now-line::before{
  content:"";position:absolute;left:-3px;top:-2px;
  width:6px;height:6px;border-radius:50%;background:#fff;
}
.ml-schedule-now-line[hidden]{display:none!important}

/* v0.3.258 Universal Bridge sensor dashboard */
.ml258-sensors h2{color:#fff;margin:8px 0 0}.ml258-sub{color:#cbd5df;margin:0 0 18px}.ml258-bar{grid-template-columns:70px minmax(0,1fr) 42px;text-align:left;border-radius:7px;min-height:88px}.ml258-device-symbol{font-size:28px;text-align:center}.ml258-bar-main{display:flex;flex-direction:column;gap:6px;min-width:0}.ml258-bar-main strong{font-size:clamp(18px,4.8vw,25px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml258-bar-main small{font-size:16px;color:#e9f2fa}.ml258-chevron{font-size:34px;text-align:center;color:#ccc}.ml258-legacy{margin-top:30px;background:#fff;border-radius:10px;padding:12px;color:#222}.ml258-legacy button{display:block;width:100%;margin-top:8px;padding:10px;text-align:left}.ml258-detail{color:#19252d}.ml258-device-header{display:flex;gap:14px;align-items:center;background:#fff;padding:16px;border-radius:15px}.ml258-device-image{width:96px;min-width:96px;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e9eef2;border-radius:13px;color:#354655}.ml258-device-image span{font-size:42px}.ml258-device-image small{font-weight:700}.ml258-device-name{flex:1;min-width:0}.ml258-device-name h2{font-size:clamp(18px,4vw,25px);margin:0}.ml258-device-name p{margin:5px 0;color:#566}.ml258-device-name small{font-size:11px;color:#667}.ml258-battery{width:75px;display:flex;flex-direction:column;align-items:center;gap:9px;color:#279850}.ml258-battery-shape{display:block;width:54px;height:27px;border:3px solid currentColor;border-radius:5px;padding:3px;position:relative}.ml258-battery-shape:after{content:'';position:absolute;right:-8px;top:7px;width:5px;height:9px;border-radius:0 3px 3px 0;background:currentColor}.ml258-battery-shape i{display:block;height:100%;max-width:100%;background:currentColor}.ml258-battery strong{font-size:21px}.ml258-battery.yellow{color:#c59b00}.ml258-battery.red,.ml258-battery.blink,.ml258-battery.critical{color:#d72b2b}.ml258-battery.unknown{color:#777}@keyframes ml258blink{50%{opacity:.2}}.ml258-battery.blink,.ml258-battery.critical{animation:ml258blink 1s step-end infinite}@media(prefers-reduced-motion:reduce){.ml258-battery.blink,.ml258-battery.critical{animation:none}}.ml258-metrics{display:flex;gap:10px;margin:12px 0}.ml258-metrics>div{background:#fff;border-radius:12px;padding:14px;flex:1;min-width:0}.ml258-metrics small{display:block;font-size:11px;color:#607080;font-weight:700}.ml258-metrics strong{font-size:clamp(25px,6vw,38px)}.ml258-panel{background:#fff;border-radius:14px;padding:16px;margin:12px 0}.ml258-panel h3{margin:0 0 14px}.ml258-panel p{font-size:14px;line-height:1.5}.ml258-ranges{display:flex;flex-wrap:wrap;gap:5px}.ml258-ranges button{border:1px solid #cad2db;border-radius:7px;background:#f3f5f7;padding:8px 10px;font-size:12px;color:#24323e}.ml258-ranges button.active{background:#243a50;color:#fff}.ml258-chart{padding:16px 0;min-height:150px}.ml258-chart svg{width:100%;height:auto}.ml258-chart-labels{display:flex;flex-wrap:wrap;justify-content:space-between;font-size:11px;color:#667}.ml258-actions{display:flex;gap:10px;flex-wrap:wrap}.ml258-actions button{background:#2d485c;color:#fff;border:0;border-radius:8px;padding:12px}.ml258-actions button:disabled{opacity:.4}.ml258-panel code{overflow-wrap:anywhere}@media(max-width:480px){.ml258-device-header{gap:9px;padding:10px}.ml258-device-image{width:70px;min-width:70px;min-height:88px}.ml258-battery{width:55px}.ml258-battery-shape{width:40px;height:23px}.ml258-battery strong{font-size:16px}}

.ml258-device-image svg{display:block;width:75px;max-width:100%;height:78px}.ml258-device-image small{margin-top:2px}.ml258-device-header .ml258-battery{margin-left:auto;flex-shrink:0}

/* v0.3.259: model-specific artwork and narrow-screen layout */
.ml258-device-image svg{width:88px;height:90px;max-width:100%;display:block}
.ml258-device-image{flex-shrink:0;overflow:hidden}
.ml258-device-name h2,.ml258-device-name p{overflow-wrap:anywhere}
.ml258-device-header{min-width:0}
@media(max-width:480px){.ml258-device-image svg{width:60px;height:65px}.ml258-device-name p{font-size:12px}.ml258-device-name small{font-size:10px}.ml258-battery{width:50px;min-width:50px}.ml258-battery-shape{width:36px;height:22px}.ml258-metrics strong{font-size:clamp(22px,6vw,32px)}}

/* v0.3.260 — sensor-only navigation and settings */
.ml260-sensor-gear[hidden]{display:none!important}
.ml260-sensor-gear{grid-column:6;font-size:30px!important}
.ml260-settings{color:#f5f7fa;padding-bottom:40px}
.ml260-settings h2{margin:4px 0 20px;color:#fff}
.ml260-settings h3{margin:26px 0 10px;color:#d8e4ef}
.ml260-setting-row{display:flex;align-items:center;gap:14px;width:100%;background:linear-gradient(#484848,#171717);border:1px solid #535353;border-radius:12px;color:white;text-align:left;padding:18px;margin:10px 0;min-height:62px;font-size:18px;cursor:pointer}
.ml260-setting-row span{flex:1}.ml260-setting-row small{display:block;color:#cbd5df;font-size:13px;margin-top:5px}
.ml260-explain{color:#d3e0e8;line-height:1.55}.ml260-radio{border:1px solid #54606b;background:#17232c;padding:16px;border-radius:12px;margin:12px 0}.ml260-radio p{color:#d3e0e8;font-size:14px;line-height:1.5}.ml260-scan{border:0;border-radius:8px;background:#3b8fff;color:white;padding:12px;font-weight:700}.ml260-scan:disabled{opacity:.5}.ml260-scan-result{margin-top:10px;color:#e6f2ff}

.ml260-time-axis{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#576677;flex-wrap:wrap}.ml260-time-axis span:last-child{text-align:right}

/* v0.3.261: sensor-only header; disable inherited hover tools at the source */
.ml261-sensors-active .ml-context-header:hover:after,.ml261-sensors-active .ml-context-header.ml-context-tools-visible:after{content:none!important;display:none!important}
.ml261-sensors-active .ml-context-header .ml-search,.ml261-sensors-active .ml-context-header .ml-add,.ml261-sensors-active .ml-context-header .ml-menu,.ml261-sensors-active .ml-context-header .ml-view-label,.ml261-sensors-active .ml-context-header .ml-layout-gear-wrap{display:none!important;visibility:hidden!important;pointer-events:none!important}
.ml261-sensors-active .ml-context-header .ml260-sensor-gear{position:absolute!important;left:auto!important;right:10px!important;top:12px!important;z-index:20!important;grid-column:auto!important;display:flex!important;opacity:1!important;pointer-events:auto!important;background:#050505!important;min-width:46px;min-height:46px}
.ml261-sensors-active .ml-context-header .ml260-sensor-gear[hidden]{display:none!important}
.ml261-sensors-active .ml-context-header .ml-heading{right:67px!important}
.ml258-bar{grid-template-columns:70px minmax(0,1fr) auto 42px}
.ml261-low-battery{white-space:nowrap;font-size:15px;font-weight:700;color:#d62f2f;align-self:center}.ml261-low-battery.critical,.ml261-low-battery.blink{animation:ml258blink 1s step-end infinite}
.ml261-alert-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.ml261-alert-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px}.ml261-alert-fields input[type=checkbox]{align-self:flex-start}.ml261-alert-fields input[type=number]{width:100%;box-sizing:border-box;padding:8px;border:1px solid #a8b5c2;border-radius:6px;font-size:16px}.ml261-save-alerts{background:#2d485c;color:white;border:0;border-radius:8px;padding:12px}.ml261-alert-status{min-height:1em}
@media(max-width:480px){.ml258-bar{grid-template-columns:48px minmax(0,1fr) auto 24px}.ml261-low-battery{font-size:13px}}

/* v0.3.262: sensor display-name editor */
.ml262-rename input{display:block;width:100%;box-sizing:border-box;margin:8px 0 12px;padding:12px;border:1px solid #9da9b5;border-radius:8px;background:#fff;color:#17212b;font-size:16px}
.ml262-rename button{padding:10px 16px;border-radius:8px;border:0;background:#2377bc;color:#fff;font-weight:600}
.ml262-name-status{min-height:1.4em}

/* v0.3.263 sensor alert indicators, scoped to sensor surfaces only */
.ml258-sensors .ml258-bar.ml263-alarm-warning{background:#9b680c!important;border-color:#e0a536!important;color:#fff!important}
.ml258-sensors .ml258-bar.ml263-alarm-active{background:#a6222c!important;border-color:#f06870!important;color:#fff!important}
.ml263-alert-panel .ml263-alarm-active{color:#ad1825;font-weight:800}
.ml263-alert-panel .ml263-alarm-warning{color:#926000;font-weight:700}
.ml263-alert-panel ul{padding-left:20px;margin:8px 0}.ml263-alert-panel li{margin:10px 0;font-size:13px;line-height:1.5}

/* v0.3.264 — sensor detail only; never change global MindLife styles */
.ml261-sensors-active .ml258-detail{color:#eaf1f7}
.ml261-sensors-active .ml258-detail .ml258-device-header,.ml261-sensors-active .ml258-detail .ml258-panel,.ml261-sensors-active .ml258-detail .ml258-metrics>div{background:#182630!important;border:1px solid #344a58!important;color:#eaf1f7!important;box-shadow:none}
.ml261-sensors-active .ml258-detail h2,.ml261-sensors-active .ml258-detail h3,.ml261-sensors-active .ml258-detail strong,.ml261-sensors-active .ml258-detail label{color:#f3f7fb}
.ml261-sensors-active .ml258-detail p,.ml261-sensors-active .ml258-detail small,.ml261-sensors-active .ml258-detail .ml258-chart-labels{color:#c4d0dc}
.ml261-sensors-active .ml258-detail .ml258-device-image{background:#263d4b;color:#e1edf5}
.ml261-sensors-active .ml258-detail .ml258-device-name p,.ml261-sensors-active .ml258-detail .ml258-device-name small,.ml261-sensors-active .ml258-detail .ml258-metrics small{color:#bbcad6}
.ml261-sensors-active .ml258-detail input[type=text],.ml261-sensors-active .ml258-detail input[type=number]{background:#0c1822!important;color:#f3f7fb!important;border:1px solid #698092!important}
.ml261-sensors-active .ml258-detail .ml258-ranges button{background:#263947;color:#e5eff6;border-color:#597184}
.ml261-sensors-active .ml258-detail .ml258-ranges button.active{background:#3775aa;color:#fff}
.ml261-sensors-active .ml258-detail .ml258-chart svg{background:#14212b;border-radius:8px}
.ml261-sensors-active .ml258-detail .ml258-chart svg text{fill:#cbd6df}
.ml261-sensors-active .ml258-detail .ml258-chart svg line:not([stroke-dasharray]){stroke:#344653}
.ml261-sensors-active .ml258-detail .ml263-alert-panel .ml263-alarm-active{color:#ff7b83}
.ml261-sensors-active .ml258-detail .ml263-alert-panel .ml263-alarm-warning{color:#ffca65}
.ml258-sensors .ml258-bar.ml264-alarm-acknowledged{background:#63414a!important;border-color:#92656c!important;color:#fff!important}
.ml264-ack{border:0;border-radius:8px;background:#b53c47;color:#fff;font-weight:700;padding:12px 16px;min-height:44px}
.ml264-ack:disabled{opacity:.6}
.ml264-episodes{padding-left:22px}.ml264-episodes li{margin:12px 0;padding-bottom:10px;border-bottom:1px solid #435561;line-height:1.55;font-size:13px}

/* v0.3.271 — SmartHQ cards only; buttons inherit the existing Sensors button-bar styling. */
.ml271-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin:16px 0}.ml271-card{margin:0}.ml271-appliance-list{margin-top:16px}.ml271-appliance-list .ml258-bar{width:100%}

/* 0.3.274 — dark-theme-only muted freshness tints; same sensor button geometry. */
.ml271-appliance-list{margin-top:0}
.ml271-appliance-bar.ml274-stale{background:linear-gradient(135deg,#353025,#292824)!important;border-color:#74603a!important;color:#f0e5c9!important}
.ml271-appliance-bar.ml274-very-stale{background:linear-gradient(135deg,#39272b,#2b2327)!important;border-color:#79464b!important;color:#f1dadd!important}
.ml271-appliance-bar.ml274-unknown{background:linear-gradient(135deg,#292d35,#23272e)!important;border-color:#555d6b!important}
.ml274-group{background:#202833;color:#e4e9f1;border:1px solid #394656;border-radius:12px;padding:15px;min-width:0}
.ml274-group h3{color:#dbe5f0;margin:0 0 12px;font-size:1rem}
.ml274-group small{display:block;color:#a5b1c0;margin-top:10px}
.ml274-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #39414d;color:#b9c4d0}
.ml274-row:last-child{border-bottom:0}.ml274-row strong{color:#e9edf3;text-align:right;font-weight:600}
.ml274-last-read{font-size:12px;color:#9eabbc;margin:4px 0 12px;text-align:right}.ml274-last-read span{display:block;font-size:11px;color:#8593a4}

/* 0.3.275: Filter life, matching MindLife dark theme */
.ml275-filter-life{margin-top:14px;padding-top:12px;border-top:1px solid #394656;color:#d6dfeb}
.ml275-filter-life h4{margin:0 0 10px;font-size:14px;color:#e3e9f1}
.ml275-filter-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:12px}
.ml275-filter-actions label{display:grid;gap:4px;font-size:12px;color:#b4c0cf}
.ml275-filter-actions input{background:#141c25;color:#f0f3f8;border:1px solid #4b596a;border-radius:6px;padding:7px}
.ml275-filter-actions button{background:#35485d;color:#f3f5f9;border:1px solid #627287;border-radius:7px;padding:8px 10px;font-size:12px}
.ml275-feedback{font-size:12px;color:#c8d4e3}

/* MindLife 0.3.285 sensor history: readable portrait and immersive landscape */
.ml285-portrait,.ml285-landscape{color:#e5eff6;background:#101b2b;border-radius:8px;padding:12px;box-sizing:border-box}
.ml285-header{display:flex;justify-content:space-between;gap:12px;font-size:18px;font-weight:500;margin-bottom:8px}
.ml285-header span:last-child{font-size:13px;color:#b6c5d8}
.ml285-plot{position:relative;min-height:160px;touch-action:pan-y}
.ml285-plot svg{display:block;width:100%;height:auto;background:#17263a}
.ml285-count{font-size:8px;line-height:1;text-align:right;color:#8b9bb1;margin-top:3px}
.ml285-ranges{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:8px}
.ml285-ranges button{min-width:0;border:0;border-radius:3px;background:#283a50;color:#fff;padding:9px 1px;font-size:clamp(10px,1.8vw,14px)}
.ml285-ranges button.active{background:#2866c9}
.ml285-selector{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}
.ml285-selector button{border:0;border-radius:3px;background:#283a50;color:#dce5f1;padding:7px 9px;font-size:12px}
.ml285-selector button:disabled{opacity:.35}
.ml285-nav{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}
.ml285-empty{padding:35px 8px;text-align:center;color:#dce5f1}
body.ml285-viewing{overflow:hidden!important}
.ml285-landscape{position:fixed;inset:0;z-index:2147483000;border-radius:0;display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:auto}
.ml285-landscape .ml285-plot{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center}
.ml285-landscape .ml285-plot svg{width:100%;max-height:calc(100vh - 145px);flex:1;min-height:0}
.ml285-landscape .ml285-count{flex:0 0 auto}
@media(orientation:landscape){.ml285-landscape .ml285-header{font-size:18px}.ml285-landscape .ml285-ranges button{font-size:13px;padding:6px 2px}.ml285-landscape .ml285-selector{margin-top:5px}.ml285-landscape .ml285-selector button{padding:5px 8px}}

/* v0.3.288 — dark-theme Bridge health panels; scoped to this page only. */
.ml260-settings.ml288-bridge-health .ml258-panel {
  background:#182630!important;
  color:#eaf1f7!important;
  border:1px solid #344a58!important;
  box-shadow:none;
}
.ml260-settings.ml288-bridge-health .ml258-panel h3,
.ml260-settings.ml288-bridge-health .ml258-panel h4,
.ml260-settings.ml288-bridge-health .ml258-panel p,
.ml260-settings.ml288-bridge-health .ml258-panel strong,
.ml260-settings.ml288-bridge-health .ml258-panel li {color:#eaf1f7!important;}
.ml260-settings.ml288-bridge-health .ml258-panel small {color:#cbd5df!important;}
.ml260-settings.ml288-bridge-health .ml-sensors-refresh {
  background:#294c65!important;
  color:#fff!important;
  border:1px solid #65859b!important;
}
.ml260-settings.ml288-bridge-health .ml-sensors-refresh:focus-visible {
  outline:3px solid #8cc8ff;outline-offset:3px;
}

/* v0.3.290 — scoped disposition colors and administrator notification diagnostic. */
.ml260-settings.ml288-bridge-health .ml290-disposition {font-weight:800;letter-spacing:.02em}
.ml260-settings.ml288-bridge-health .ml290-disposition.ml290-healthy {color:#65e69b!important}
.ml260-settings.ml288-bridge-health .ml290-disposition.ml290-warning {color:#ffe078!important}
.ml260-settings.ml288-bridge-health .ml290-disposition.ml290-critical {color:#ff8585!important}
.ml260-settings.ml288-bridge-health .ml290-disposition.ml290-unknown {color:#cbd5df!important}
.ml260-settings.ml288-bridge-health .ml290-test-push {background:#294c65;color:#fff;border:1px solid #65859b;border-radius:8px;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}
.ml260-settings.ml288-bridge-health .ml290-test-push:disabled {opacity:.55;cursor:wait}
.ml260-settings.ml288-bridge-health .ml290-test-push:focus-visible {outline:3px solid #8cc8ff;outline-offset:3px}
.ml260-settings.ml288-bridge-health .ml290-test-result {overflow-wrap:anywhere}

/* v0.3.291 — Bridge diagnostics, consistent with dark Sensors theme */
.ml260-settings.ml288-bridge-health .ml291-preferences {display:grid;gap:12px;margin:12px 0;color:#eef5fb}
.ml260-settings.ml288-bridge-health .ml291-choice {display:block;color:#eef5fb;line-height:1.5}
.ml260-settings.ml288-bridge-health .ml291-choice input {margin-right:9px;accent-color:#71b6f1}
.ml260-settings.ml288-bridge-health .ml291-select {display:block;width:100%;margin:8px 0 12px;padding:10px;background:#152c3e;color:#f3f8ff;border:1px solid #7592a7;border-radius:8px;font:inherit}
.ml260-settings.ml288-bridge-health .ml291-save,.ml260-settings.ml288-bridge-health .ml291-simulate {background:#294c65;color:#fff;border:1px solid #65859b;border-radius:8px;padding:11px 16px;font:inherit;font-weight:700;margin:6px 0;cursor:pointer}
.ml260-settings.ml288-bridge-health .ml291-save:disabled,.ml260-settings.ml288-bridge-health .ml291-simulate:disabled {opacity:.55}
.ml260-settings.ml288-bridge-health .ml291-history-row {border-top:1px solid #4b6678;padding:12px 0;color:#e8f1f8}
.ml260-settings.ml288-bridge-health .ml291-history-row p {margin:4px 0}
.ml260-settings.ml288-bridge-health .ml291-history-row small {color:#b9ccdc}

/* v0.3.292: centered title remains untouched; independent far-left health dots. */
.ml-titlebar .ml292-health-dots{position:absolute;left:7px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:5px;z-index:12}
.ml292-health-dot{box-sizing:border-box;display:block;width:12px;height:12px;min-width:12px;min-height:12px;border-radius:50%;padding:0;border:1px solid rgba(255,255,255,.2);background:#87909a;cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.16)}
.ml292-health-dot.ml292-healthy{background:#35c76a}.ml292-health-dot.ml292-warning{background:#ffd25b}.ml292-health-dot.ml292-critical{background:#f05c61}.ml292-health-dot.ml292-unknown{background:#87909a}
.ml292-health-dot.ml292-reserved{cursor:default}.ml292-health-dot:focus-visible{outline:2px solid white;outline-offset:3px}
.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-healthy{border-left:4px solid #35c76a;padding-left:12px}.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-healthy strong{color:#65e69b}
.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-warning{border-left:4px solid #ffd25b;padding-left:12px}.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-warning strong{color:#ffe078}
.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-critical{border-left:4px solid #f05c61;padding-left:12px}.ml260-settings.ml288-bridge-health .ml291-history-row.ml292-history-critical strong{color:#ff8585}
.ml292-session-alert{position:fixed;left:10px;right:10px;top:54px;z-index:2147481000;background:#243640;border:2px solid #ffd25b;color:#fff;border-radius:10px;padding:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;box-shadow:0 5px 25px #0008}
.ml292-session-alert button{background:#ffd25b;color:#172027;border:0;border-radius:7px;padding:9px;font-weight:700;cursor:pointer}
@media(max-width:480px){.ml-titlebar .ml292-health-dots{left:5px;gap:4px}.ml292-health-dot{width:11px;height:11px;min-width:11px;min-height:11px}.ml292-session-alert{flex-wrap:wrap}}

/* v0.3.293: observed extremes for every MindLife bridge temperature/humidity chart. */
.ml293-extrema{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 12px}
.ml293-extrema>div{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 12px;border:1px solid rgba(130,150,170,.35);border-radius:10px;background:rgba(90,110,130,.12)}
.ml293-extrema small{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.ml293-extrema strong{font-size:clamp(18px,2.8vw,25px);font-variant-numeric:tabular-nums}

/* v0.3.294 — compact combined chart extrema and settings */
.ml294-extrema{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 18px;padding:5px 8px;margin:2px 0 5px;font-size:clamp(12px,2.4vw,15px);font-variant-numeric:tabular-nums;white-space:nowrap}
.ml285-header [data-ml294-gear]{background:transparent;border:0;color:inherit;font-size:21px;cursor:pointer;margin-left:12px}
.ml294-chart-dialog{max-width:min(92vw,440px);border-radius:14px;padding:22px;background:#192637;color:#fff;border:1px solid #667789}
.ml294-chart-dialog form{display:grid;gap:14px}.ml294-chart-dialog label{display:grid;gap:6px}.ml294-chart-dialog select,.ml294-chart-dialog input{padding:9px;border-radius:6px}.ml294-chart-dialog p{font-size:13px;line-height:1.5}.ml294-actions{display:flex;justify-content:flex-end;gap:12px}

/* v0.3.296 — consistent chart navigation; equal-width range controls. */
.ml285-ranges{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;width:100%}
.ml285-ranges button{width:100%;min-width:0}
.ml285-selector{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) minmax(0,1fr);gap:6px;align-items:center}
.ml285-selector>button{min-width:0;width:100%;white-space:nowrap;padding:8px 3px}
.ml285-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0}
.ml285-nav button{min-width:0;padding:8px 2px;white-space:nowrap}
@media(max-width:400px){.ml285-selector{gap:3px}.ml285-nav{gap:3px}.ml285-selector button{font-size:clamp(9px,2.7vw,12px);padding:7px 1px}}

/* v0.3.297: unified sensor chart calendar preferences. */
.ml297-chart-settings{margin:14px 0 20px;padding:14px;border:1px solid #536377;border-radius:12px}
.ml297-chart-settings h3{margin:0 0 6px}
.ml297-form{display:grid;gap:12px;margin-top:14px}
.ml297-setting{display:grid;gap:5px}
.ml297-setting select{width:100%;max-width:100%;min-height:40px}
.ml297-form>button{min-height:42px}

/* v0.3.298: chart settings are a dark expandable row like other sensor settings. */
.ml260-settings .ml298-calendar-toggle{background:linear-gradient(#484848,#171717);border:1px solid #535353;color:#fff}
.ml260-settings .ml298-calendar-toggle .ml298-chevron{flex:0 0 auto;transition:transform .2s ease}
.ml260-settings .ml298-calendar-toggle[aria-expanded="true"] .ml298-chevron{transform:rotate(90deg)}
.ml260-settings .ml297-chart-settings{background:#172532!important;color:#edf3fa!important;border:1px solid #47596e!important;border-radius:12px;padding:18px;margin:0 0 18px;box-shadow:none}
.ml260-settings .ml297-chart-settings[hidden]{display:none!important}
.ml260-settings .ml297-chart-settings p{color:#c9d7e6!important}
.ml260-settings .ml297-setting{color:#edf3fa!important}
.ml260-settings .ml297-setting select{background:#23374b!important;color:#fff!important;border:1px solid #61758c!important;border-radius:8px;padding:9px 12px;color-scheme:dark}
.ml260-settings .ml297-setting select option{background:#23374b;color:#fff}
.ml260-settings .ml297-form>button{background:#2866bc!important;color:#fff!important;border:1px solid #447cce!important;border-radius:9px;font-weight:600;cursor:pointer}
.ml260-settings .ml297-save-status{min-height:1em;margin:0}

/* Core 0.3.299 — Recipes first-class main-menu screen */
.ml-recipes-frame{display:block;width:100%;min-height:650px;height:1200px;border:0;background:#0b111b;overflow:hidden;}

/* v0.3.300: native Unicode locks, independent of legacy drawn glyphs. */
.ml-lock-toggle > .ml300-lock-emoji{position:absolute;inset:0;display:grid;place-items:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:26px;line-height:1;font-weight:400;pointer-events:none;filter:none;}

/* Health foundation */
.ml-health-foundation {padding:16px;line-height:1.6;}
.ml-health-foundation ul {padding-inline-start:24px;}
.ml-health-foundation{padding:12px}.ml-health-entry{display:grid;gap:12px;margin:12px 0}.ml-health-foundation label{display:grid;gap:4px}.ml-health-foundation input,.ml-health-foundation select,.ml-health-foundation textarea{box-sizing:border-box;width:100%;font:inherit;padding:8px;border:1px solid #999;border-radius:5px}.ml-health-foundation button,.ml-health-diagnostic button{padding:8px 14px;font:inherit}.ml-health-row{padding:10px 0;border-bottom:1px solid #aaa}.ml-health-diagnostic{max-width:min(90vw,480px);max-height:85vh;overflow:auto;padding:20px;border-radius:10px}.ml-health-diagnostic::backdrop{background:#0008}
/* 0.3.303 Health-only persistent controls and dark entry surface */
.ml-context-header[data-health="1"]::after{display:none!important;content:none!important;pointer-events:none!important}
.ml-context-header[data-health="1"] .ml-layout-gear-wrap,.ml-context-header[data-health="1"] .ml260-sensor-gear,.ml-context-header[data-health="1"] .ml-view-label,.ml-context-header[data-health="1"] .ml-search,.ml-context-header[data-health="1"] .ml-add,.ml-context-header[data-health="1"] .ml-menu{display:none!important;pointer-events:none!important}
.ml-context-header[data-health="1"] .ml-heading{padding-right:112px;pointer-events:auto!important}
.ml-h-tools{position:absolute;right:5px;top:8px;display:flex;gap:4px;z-index:10}.ml-h-tools button{background:#252525;color:#fff;border:1px solid #666;border-radius:5px;min-width:34px;min-height:40px;font-size:20px}
.ml-health-foundation,.ml-h-dialog{background:#111;color:#eee;color-scheme:dark}.ml-health-foundation input,.ml-health-foundation textarea,.ml-health-foundation select,.ml-h-dialog input{background:#242424;color:#fff;border:1px solid #666;min-width:0}.ml-health-foundation button,.ml-h-dialog button{background:#303030;color:#fff;border:1px solid #666;border-radius:5px}.ml-health-foundation [hidden]{display:none!important}.ml-h-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.ml-h-pair label{min-width:0}.ml-h-actions{display:flex;gap:8px}.ml-h-actions button{flex:1;padding:8px 4px}.ml-h-line{margin-bottom:12px}.ml-h-line strong{display:flex;justify-content:space-between}.ml-h-line [data-h-segments]{display:flex;gap:3px;margin:6px 0}.ml-health-foundation .ml-h-segment{height:16px;min-width:0;flex:1;padding:0;border:0;border-radius:2px;background:#666}.ml-health-foundation .ml-h-segment.green{background:#27b567}.ml-health-foundation .ml-h-segment.amber{background:#e5b83b}.ml-health-foundation .ml-h-segment.red{background:#dc4545}.ml-h-dialog{padding:16px;width:min(90vw,440px);max-height:85vh;overflow:auto;border:1px solid #666;border-radius:8px}.ml-h-dialog label{display:grid;margin:8px 0}.ml-h-dialog::backdrop{background:#0009}.ml-health-foundation [data-h-chart] svg{width:100%;max-width:680px}

/* 0.3.304: Health recording title and outlined Health Line. */
.ml-health-foundation .ml-h-line{border:1px solid #666;border-radius:8px;padding:10px 12px}
.ml-health-foundation .ml-h-measurement select{font-size:1.2em;font-weight:700}

/* 0.3.305: compact, aligned Health layout; scoped to Health only. */
.ml-context-header[data-health="1"] .ml-heading{top:0;bottom:0;display:flex;align-items:center;overflow:visible;padding-right:0;right:8px;gap:8px}
.ml-context-header[data-health="1"] .ml-h-tools{position:static;margin-left:auto;display:flex;align-items:center;gap:5px;flex-shrink:0}
.ml-context-header[data-health="1"] .ml-h-tools button{box-sizing:border-box;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;line-height:1;display:grid;place-items:center}
.ml-health-foundation{box-sizing:border-box;padding:10px 12px;line-height:1.3;max-width:760px;margin-inline:auto}
.ml-health-foundation .ml-h-line{padding:8px 10px;margin:0 0 9px}
.ml-health-foundation .ml-h-line [data-h-segments]{margin:5px 0;gap:3px}
.ml-health-foundation .ml-h-segment{height:12px}
.ml-health-foundation .ml-health-entry{gap:8px;margin:0 0 8px}
.ml-health-foundation label{gap:3px;font-size:13px;min-width:0}
.ml-health-foundation .ml-h-pair{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ml-health-foundation input,.ml-health-foundation select,.ml-health-foundation textarea{font-size:16px;line-height:1.25;height:40px;padding:7px 8px;max-width:100%}
.ml-health-foundation textarea{min-height:40px;resize:vertical;display:block}
.ml-health-foundation [data-h-value]{display:block;min-width:0}
.ml-health-foundation [data-h-value] textarea{height:40px}
.ml-health-foundation .ml-h-measurement select{font-size:18px;font-weight:700}
.ml-health-foundation .ml-h-goal-group{min-width:0;display:grid;gap:4px}
.ml-health-foundation .ml-h-goal-tools{display:flex;gap:4px;justify-content:flex-end}
.ml-health-foundation .ml-h-goal-tools button{font-size:12px;padding:4px 8px;min-height:30px;line-height:1.2}
.ml-health-foundation .ml-h-goal-tools [data-h-goal]{font-size:17px;padding:3px 10px}
.ml-health-foundation .ml-h-actions{gap:6px}
.ml-health-foundation .ml-h-actions button{min-height:40px;padding:6px;font-size:15px}
.ml-health-foundation .ml-h-actions button[type="submit"]{background:#225ba5;border-color:#427fca}
.ml-health-foundation [data-h-message]{margin:6px 0;font-size:13px}
.ml-health-foundation [data-h-message]:empty{display:none}
.ml-health-foundation .ml-h-trend-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;margin:6px 0;padding:8px 10px;font-size:14px}
.ml-health-foundation small{font-size:12px;color:#bdbdbd}
@media(max-width:360px){.ml-context-header[data-health="1"] .ml-h-tools button{width:34px;min-width:34px}.ml-health-foundation{padding-inline:8px}.ml-health-foundation .ml-h-datetime{gap:5px}.ml-health-foundation input[type="date"],.ml-health-foundation input[type="time"]{padding-inline:3px;font-size:14px}}
/* 0.3.307: scoped nutritional intelligence UI */
[data-h-nutrition]{margin:12px 0;color:#eee}.ml-n-head{display:grid;gap:4px;margin:8px 0}.ml-n-green{color:#85d99b!important}.ml-n-amber{color:#e5bc71!important}[data-h-nutrition] details{border:1px solid #555;border-radius:8px;margin:7px 0;padding:8px;background:#191919}[data-h-nutrition] summary{display:flex;gap:7px;align-items:center;cursor:pointer;list-style:none;font-weight:600}[data-h-nutrition] summary small{margin-left:auto;text-align:right}[data-h-nutrition] summary span{margin-left:auto;color:#aaa}.ml-n-controls{display:flex;align-items:center;gap:6px;margin:8px 0;flex-wrap:wrap}.ml-n-controls input,.ml-n-controls select{flex:1;width:auto;min-width:100px}.ml-n-controls button{font-size:12px;padding:6px 8px;min-height:34px}.ml-n-food{display:grid;grid-template-columns:22px minmax(0,1fr) 62px 70px;gap:5px;align-items:center;margin:5px 0;font-size:13px}.ml-n-food input{padding:5px!important}.ml-n-food input[type=checkbox]{width:18px;height:18px}.ml-n-grid{display:grid;grid-template-columns:32px repeat(3,minmax(0,1fr));gap:4px;align-items:stretch;font-size:11px}.ml-n-grid button{padding:5px!important;min-height:52px;font-size:12px;overflow-wrap:anywhere}.ml-n-grid b{align-self:center}.ml-n-grid .ml-n-selected{border-color:#67a8ff;background:#253d5a}[data-n-status]{color:#b9d8fb;font-size:13px}
/* 0.3.307 editable food name and compact planner controls */
.ml-n-food input[data-name]{min-width:0;color:inherit;font-size:13px}.ml-n-controls [data-reset-week]{border-color:#ba9861}.ml-n-controls strong{font-size:12px}

/* 0.3.308: early-rendered startup/resume indicator. No JS required to animate. */
#mindlife-app .ml308-resume{position:fixed;inset:0;z-index:2147483000;background:#142438;color:#fff;display:grid;place-items:center;padding:24px;box-sizing:border-box}
#mindlife-app .ml308-resume[hidden],#mindlife-app .ml308-resume [hidden]{display:none!important}
#mindlife-app .ml308-resume-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;text-align:center;max-width:330px}
#mindlife-app .ml308-resume-brand{font-size:clamp(29px,7vw,42px);font-weight:700;letter-spacing:.02em}
#mindlife-app .ml308-resume-brand sup{font-size:.34em;vertical-align:super}
#mindlife-app .ml308-spinner{width:42px;height:42px;border:4px solid #456078;border-top-color:#8cc5f5;border-radius:50%;animation:ml308-spin .9s linear infinite}
#mindlife-app .ml308-resume strong{font-size:18px}
#mindlife-app .ml308-resume small{font-size:13px;color:#b7c9d9;line-height:1.5}
#mindlife-app [data-ml308-retry]{background:#315f8b;border:1px solid #9ac4e8;border-radius:8px;padding:10px 24px;color:#fff;font:inherit;cursor:pointer}
@keyframes ml308-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#mindlife-app .ml308-spinner{animation-duration:2.5s}}
