/* One CSS-pixel scale for phone browsers, installed apps and signed-in/guest views. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html.handset{--phone-card-unit:1px}
@media(max-width:700px){
 body.island-ui #child-home .hq-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px 14px;min-height:0}
 body.island-ui #child-home .hq-brand{min-width:0;gap:6px}
 body.island-ui #child-home .hq-brand>img{width:34px;height:34px;flex:none;object-fit:contain}
 body.island-ui #child-home .hq-brand .ti-wordmark-image{width:100px;height:36px;object-fit:contain}
 body.island-ui #child-home .hq-account{min-height:44px;padding:8px 12px;font-size:12px!important;white-space:nowrap}
 body.island-ui #child-home #island-page-controls{grid-column:1/-1;justify-self:end;display:flex;gap:8px;margin:0;padding:0}
 body.island-ui #child-home #island-page-controls button{min-height:44px;padding:8px 12px;font-size:13px!important;line-height:1.2}
 body.island-ui #child-home :is(.hq-trial-nav,.hq-family-nav){padding:4px 14px;gap:0 14px;font-size:12px;align-items:center;justify-content:flex-start}
 body.island-ui #child-home :is(.hq-trial-nav,.hq-family-nav)>span{flex-basis:100%;margin:0;line-height:1.6}
 body.island-ui #child-home :is(.hq-trial-nav,.hq-family-nav)>a{font-size:12px;min-height:40px;display:inline-flex;align-items:center}
 body.island-ui #child-home .hq-layout{padding:18px 14px 28px}
 body.island-ui #child-home .hq-title h1{font-size:23px;line-height:1.45;letter-spacing:0;overflow-wrap:break-word}
 body.island-ui #child-home .island-page-nav{gap:6px;padding:6px;margin:0 0 20px}
 body.island-ui #child-home .island-page-nav .hq-tab{flex-direction:column;min-height:76px;font-size:16px!important;line-height:1.3;gap:6px;padding:9px 2px}
 body.island-ui #child-home .page-nav-icon{font-size:24px;line-height:1}
 body.island-ui #child-home .hq-overview{gap:8px}
 body.island-ui #child-home .hq-overview article{padding:12px 10px;min-width:0;grid-template-columns:1fr;gap:5px;border-radius:18px}
 body.island-ui #child-home .hq-overview article>span{font-size:12px;line-height:1.4}
 body.island-ui #child-home .hq-overview strong{font-size:25px;line-height:1.25}
 body.island-ui #child-home .hq-list-heading{margin-top:16px;gap:10px}
 body.island-ui #child-home .hq-list-heading h2{font-size:21px}
 body.island-ui #child-home .hq-date{display:grid;grid-template-columns:40px minmax(0,1fr) 40px 48px;gap:6px;width:100%;min-width:0}
 body.island-ui #child-home .hq-date input{width:100%;min-width:0;box-sizing:border-box;font-size:16px!important;padding:8px;color-scheme:dark}
 body.island-ui #child-home .hq-date button{padding:4px;min-width:0}
 body.island-ui #child-home #home-stops.hq-tasks{grid-template-columns:minmax(0,1fr);gap:20px}
 body.island-ui #child-home .hq-task{height:auto;min-height:200px;padding:22px;grid-template-columns:44px minmax(0,1fr);gap:14px;border-radius:22px}
 body.island-ui #child-home .hq-task-icon{width:44px;height:44px;font-size:27px}
 body.island-ui #child-home .hq-task-body strong{font-size:21px;line-height:1.5;overflow-wrap:anywhere}
 body.island-ui #child-home .hq-task-body small{font-size:14px}
 body.island-ui #child-home .hq-task-kind{font-size:12px}
 body.island-ui #child-home .hq-task-end>span{min-height:46px;font-size:16px;display:flex;align-items:center;justify-content:center}
}
/* Compact phone app chrome: keep touch targets without spending a screen on controls. */
@media(max-width:700px){
 body.island-ui #child-home .hq-header{grid-template-columns:minmax(110px,1fr) auto auto;gap:6px;padding:8px 12px}
 body.island-ui #child-home .hq-brand{gap:4px}
 body.island-ui #child-home .hq-brand>img{width:29px;height:29px}
 body.island-ui #child-home .hq-brand .ti-wordmark-image{width:84px;height:31px}
 body.island-ui #child-home .hq-account{padding:6px 8px;font-size:11px!important}
 body.island-ui #child-home #island-page-controls{grid-column:auto;gap:4px}
 body.island-ui #child-home #island-page-controls button{width:44px;height:44px;padding:0;font-size:0!important}
 body.island-ui #child-home #refresh-page:before{content:'↻';font-size:23px}
 body.island-ui #child-home #island-notices-open>span{display:none}
 body.island-ui #child-home #island-notices-open:before{content:'📣';font-size:19px}
 body.island-ui #child-home :is(.hq-trial-nav,.hq-family-nav){padding:4px 12px;gap:0 12px}
 body.island-ui #child-home :is(.hq-trial-nav,.hq-family-nav)>a{min-height:36px}
 body.island-ui #child-home .hq-layout{padding:14px 12px 24px}
 body.island-ui #child-home .hq-title{margin-bottom:12px}
 body.island-ui #child-home .hq-title h1{font-size:21px}
 body.island-ui #child-home .island-page-nav{margin-bottom:14px;padding:5px;gap:5px}
 body.island-ui #child-home .island-page-nav .hq-tab{min-height:65px;font-size:15px!important;gap:4px;padding:8px 2px}
 body.island-ui #child-home .page-nav-icon{font-size:21px}
 body.island-ui #child-home .hq-overview{margin-bottom:8px}
 body.island-ui #child-home .hq-overview article{padding:10px 8px;gap:3px}
 body.island-ui #child-home .hq-overview strong{font-size:23px}
 body.island-ui #child-home .hq-list-heading{margin-top:10px}
 body.island-ui #child-home .hq-list-heading h2{font-size:19px}
 html.handset body.island-ui #child-home .hq-task{min-height:174px;padding:18px;gap:10px 12px}
 html.handset body.island-ui #child-home .hq-task-body strong{font-size:19px;line-height:1.4}
 html.handset body.island-ui #child-home .hq-task-icon{width:40px;height:40px;font-size:25px}
 body.island-ui #child-home .hq-task:after{width:64px;height:64px;top:12px;right:12px;background-size:contain;background-repeat:no-repeat}
 body.island-ui #child-home .hq-brand img{object-fit:contain;max-width:100%}
}
/* Orientation, not a phone-only width cutoff, controls the task workspace. */
body.island-ui #my-day:not([data-page-embedded]){box-sizing:border-box;width:min(1100px,100%);max-width:100%;max-height:100dvh;overflow-y:auto;overflow-x:hidden}
body.island-ui #my-day .md-focus-v2{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;padding:16px;margin:12px 16px}
body.island-ui #my-day .md-focus-v2>.time-column{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:16px}
body.island-ui #my-day .md-focus-v2>.focus-next{box-sizing:border-box;min-width:0;width:100%;max-width:none;margin:0}
body.island-ui #my-day .coin-flow{max-width:100%}
@media(orientation:landscape) and (min-width:560px){
 body.island-ui #my-day .md-focus-v2{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px}
}
@media(orientation:portrait){
 body.island-ui #my-day .md-focus-v2{grid-template-columns:minmax(0,1fr);max-width:660px;margin:12px auto;padding:14px}
 body.island-ui #my-day .md-focus-v2>.time-column{padding:14px}
}
@media(max-width:700px){body.island-ui #child-home #island-page-controls{flex-wrap:nowrap}body.island-ui #child-home #island-page-controls button{min-width:44px;flex:0 0 44px}}
