/* Aviasales Classic, release 44. One shared desktop/mobile workspace. */
:root{--classic-blue:#087cf5;--classic-deep:#0965d5;--classic-orange:#ff741f;--classic-canvas:#eff5fc;--classic-ink:#153451;--classic-muted:#526b83;--classic-line:#dce7f2}
html,body,button,input,select,textarea,#shell :is(h1,h2,h3,.task-name,.task-meta,.muted){font-family:'Aptos Narrow','Arial Narrow',sans-serif!important}
body,#shell .content{background:var(--classic-canvas)!important;color:var(--classic-ink)}
#shell .sidebar{background:var(--classic-blue)!important;border:0!important;width:192px!important;padding:24px 12px!important}
#shell .sidebar .light-wordmark,#shell .sidebar .light-wordmark>span{color:#fff}
#shell .sidebar #navigation{gap:5px;margin-top:32px}
#shell .sidebar #navigation button{color:#fff!important;min-height:42px!important;padding:10px!important;border-radius:11px!important;font-size:16px!important}
#shell .sidebar #navigation button .light-icon{filter:brightness(0) invert(1);width:21px;height:21px}
#shell .sidebar #navigation button.active{background:#fff!important;color:#086ada!important;box-shadow:0 3px 10px #0059b540}
#shell .sidebar #navigation button.active .light-icon{filter:none}
#shell .light-sidebar-bottom .light-qwen-link{background:#ffffff20;color:#fff}
#shell .light-sidebar-bottom :is(small,strong){color:#fff}
#shell .light-profile-link{border-top-color:#ffffff40;color:#fff}
#shell .light-sidebar-bottom .header-actions{color:var(--classic-ink)}
#shell .content{margin-left:192px!important}
#shell main{max-width:1380px;padding:22px 26px 42px!important;min-height:100dvh}
#shell .utility-header{top:40px!important;right:45px!important;z-index:15}
#shell .utility-actions{gap:6px}
#shell .utility-actions :is(.assistant-open,.light-search-button,.light-account-button){display:flex!important;align-items:center;justify-content:center;background:#ffffff!important;color:#096ada!important;border:0!important;border-radius:10px!important;min-height:36px!important;height:36px!important}
#shell .light-account-button{width:36px!important;padding:7px!important}
#shell .classic-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;padding:20px 20px 16px;background:var(--classic-blue);border-radius:18px;color:white;box-shadow:0 5px 16px #0866c312;margin-bottom:18px}
#shell .page-heading{min-height:0!important;padding:0!important;margin:0!important;grid-column:1/-1;padding-right:170px!important}
#shell .page-heading h1{font-size:32px!important;line-height:1.05!important;color:#fff!important;letter-spacing:-.5px!important;font-weight:700!important}
#shell .page-heading .muted{font-size:15px!important;color:#e5f1ff!important;margin:6px 0 0!important}
#shell .light-mobile-brand{display:none!important}
#shell .light-today-advice{display:none!important}
#shell #light-week-control{position:static!important;display:flex!important;grid-column:1;grid-row:2;gap:8px;min-width:0}
#shell #light-week-control[hidden]{display:none!important}
#shell .light-week-strip{border:0!important;border-radius:11px!important;padding:4px!important;gap:4px!important;background:#fff!important;flex:1;max-width:420px}
#shell .light-week-day{flex:1;width:auto!important;min-height:43px!important;padding:4px 6px!important}
#shell .light-week-day small{font-size:11px!important;color:#526b83}
#shell .light-week-day strong{font-size:16px!important;color:#153451}
#shell .light-week-day[aria-pressed=true]{background:var(--classic-blue)!important}
#shell .light-week-day[aria-pressed=true]>*{color:#fff!important}
#shell .light-week-arrow{min-height:40px!important;width:24px!important;min-width:24px!important}
#shell .light-week-today{background:#ffffff20!important;color:#fff!important;border:1px solid #ffffff70!important;min-height:43px!important;font-size:14px!important;padding:6px 10px!important}
#shell .classic-masthead .main-actions,#shell[data-page] .classic-masthead .main-actions{grid-column:2;grid-row:2;display:flex!important;position:static!important;align-items:stretch;align-self:center;margin:0!important;flex-wrap:nowrap!important;gap:7px!important}
#shell .classic-masthead .main-actions[hidden]{display:none!important}
#shell[data-page] #create{min-height:43px!important;height:auto!important;padding:9px 16px!important;background:var(--classic-orange)!important;border:0!important;border-radius:10px!important;box-shadow:0 3px 0 #db5712!important;font-size:16px!important;color:#fff!important;white-space:nowrap}
#shell #create:hover{background:#f56814!important}
#shell #create span{display:inline!important}
#shell #open-filters{background:white!important;color:#1764b5!important;border:0!important;min-height:43px!important;border-radius:10px!important;padding:8px 12px!important;font-size:15px!important}
#shell .classic-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;grid-column:1/-1}
#shell .classic-metric{display:flex;align-items:center;gap:10px;min-height:47px;padding:8px 13px;background:#ffffff!important;color:#31536f;border:0!important;border-radius:10px;text-align:left;font-size:15px}
#shell .classic-metric strong{font-size:26px;line-height:1;color:#0874ec;font-weight:700}
#shell .classic-metric[data-kind=overdue] strong{color:#c64537}
#shell .classic-metric:hover{background:#eaf4ff!important}
#shell #today-view{grid-column:1/-1;margin:0!important}
#shell #today-view .today-hero{padding:0!important;background:transparent!important;margin:0!important;border:0!important;border-radius:0;min-height:0!important}
#shell #today-view .hero-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#shell #today-view .hero-copy p{color:#fff!important;font-size:14px!important;margin:0!important}
#shell #today-progress-bar{height:5px!important;max-width:160px!important;width:160px!important;margin:0!important;accent-color:#74e3bc}
#shell #today-progress-bar::-webkit-progress-bar{background:#ffffff40}
#shell #today-progress-bar::-webkit-progress-value{background:#8bf0c8}
#shell :is(#today-message,#today-ring,.mint-leaves,#today-next){display:none!important}
#shell .light-today-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(230px,.4fr);align-items:start;gap:16px!important}
#shell #daily-task-panel,#shell .today-habits,#shell #today-undated{background:#fff!important;border:1px solid var(--classic-line)!important;padding:14px!important;border-radius:14px!important;box-shadow:0 3px 12px #21477505!important;min-width:0}
#shell .dense-today-aside{border:0!important;padding:0!important;gap:14px!important;display:flex;flex-direction:column;min-width:0}
#shell .today-habits{margin:0!important}
#shell .panel-title{min-height:30px!important;margin-bottom:8px!important;gap:6px}
#shell .panel-title h2{font-size:22px!important;line-height:1.1;font-weight:700!important;color:var(--classic-ink)}
#shell .text-button{font-size:14px!important;min-height:32px!important;padding:5px 7px!important;color:#0669d2!important}
#shell .task-group{border:0!important;background:transparent!important;border-radius:0!important;overflow:visible}
#shell[data-page] .task-group .task-row,#shell[data-page] .task-row{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;gap:8px!important;padding:5px 0!important;margin:0!important;min-height:42px!important;border:0!important;border-bottom:1px solid #e8eef6!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#shell[data-page] .task-row:last-child{border-bottom:0!important}
#shell[data-page] .task-row-body{display:grid!important;grid-template-columns:minmax(100px,1fr) 90px 56px 68px;gap:8px!important;align-items:center;min-width:0}
#shell .task-row .task-meta{display:contents!important}
#shell .dense-task-title{min-width:0;display:flex;align-items:center;gap:6px}
#shell[data-page] .task-row .task-name{display:block!important;font-size:16px!important;font-weight:450!important;line-height:1.25!important;min-height:28px!important;padding:4px 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;background:transparent!important;box-shadow:none!important;text-align:left;border:0!important;color:var(--classic-ink)!important}
#shell .task-name:hover{color:#0877ee!important;text-decoration:none}
#shell :is(.dense-task-date,.dense-task-category,.dense-task-status){font-size:13px;color:var(--classic-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shell .dense-task-status[data-status=doing]{color:#0565d2}
#shell .dense-task-date.late{color:#bc3d30!important}
#shell .dense-column-head{grid-template-columns:minmax(100px,1fr) 90px 56px 68px 36px;gap:8px;color:#526b83;font-size:12px;min-height:28px;padding:5px 0 8px;border-color:#dce7f2}
#shell .task-row .task-badges{margin:0!important;flex:0 0 auto;max-width:none!important}
#shell .task-row .tag{font-size:10px!important;padding:3px 5px!important;border-radius:6px}
#shell .task-row.is-overdue{background:#fff5f2!important;border-radius:7px!important;padding-left:6px!important}
#shell[data-page] .task-completion{position:relative!important;display:block!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:32px!important;margin:0!important;padding:0!important;border:1px solid #b4d2ed!important;border-radius:8px!important;background:#f5faff!important;order:3!important}
#shell .task-completion input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer;z-index:2}
#shell .completion-face{display:grid;place-items:center;height:100%;pointer-events:none}
#shell .completion-mark{background:transparent!important;display:grid;place-items:center}
#shell .completion-mark .ui-icon{width:17px;height:17px;filter:brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(1700%) hue-rotate(185deg)!important}
#shell .completion-caption{display:none!important}
#shell .task-completion:has(input:checked){background:#dcf6e9!important;border-color:#81c8aa!important}
#shell .completed .task-name{color:#6d8191!important;text-decoration:line-through!important}
#shell .overdue-link{font-size:14px!important;min-height:36px!important;padding:8px 10px!important;background:#fff0eb!important;color:#b53e30!important;border:0!important;border-radius:8px!important;margin:10px 0 0!important}
#shell #today-completed summary{font-size:14px!important;min-height:32px!important;padding:10px 0!important}
#shell .dense-today-aside .task-row-body{display:block!important}
#shell .dense-today-aside .task-meta{display:flex!important;gap:6px!important;margin:3px 0 0!important}
#shell .dense-today-aside :is(.dense-task-category,.dense-task-status){display:none!important}
#shell .undated-actions{margin:3px 0 5px!important;display:flex;gap:5px}
#shell .undated-actions button{font-size:13px!important;min-height:32px!important;padding:5px 8px!important;background:#ecf5ff;border:0}
#shell .habit-compact-row{min-height:58px!important;padding:8px 0!important;border-bottom:1px solid #e8eef6!important}
#shell .habit-compact-title{display:flex!important;justify-content:space-between;align-items:center;gap:6px}
#shell .habit-compact-title .task-name{min-height:30px!important;font-size:16px!important;font-weight:500!important}
#shell .habit-compact-title .muted{font-size:13px!important;color:#526b83!important}
#shell .habit-compact-row progress{height:5px!important;margin-top:5px!important;max-width:none!important}
#shell .habit-quick-plus{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;flex-basis:36px!important;background:#edf6ff!important;border:1px solid #cce0f4!important}
#shell .light-task-filters{display:flex!important;flex-wrap:wrap;gap:6px;margin:0 0 12px!important;max-width:none}
#shell .light-task-filters[hidden]{display:none!important}
#shell .light-task-filters button{min-height:38px!important;padding:8px 15px!important;font-size:15px!important;background:white!important;color:#42627f;border:1px solid #dce7f2!important;border-radius:10px!important}
#shell .light-task-filters button[aria-pressed=true]{background:#087cf5!important;color:#fff!important;border-color:#087cf5!important}
#shell .classic-task-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 12px;border:1px solid #dce7f2;border-radius:12px;margin-bottom:12px}
#shell #classic-task-search{min-width:0;flex:1;max-width:320px;min-height:38px;padding:8px 12px;border:1px solid #d7e5f3;border-radius:9px;font-size:16px;background:#f5f9fe}
#shell .classic-categories{display:flex;flex-wrap:wrap;gap:4px}
#shell .classic-categories button{min-height:36px;padding:7px 10px;font-size:14px;border:0;color:#526b83;background:transparent}
#shell .classic-categories button[aria-pressed=true]{color:#066bd6;background:#e9f4ff}
#shell[data-page=tasks] #list-section{background:#fff;padding:14px;border:1px solid #dce7f2;border-radius:14px}
#shell[data-page=tasks] #list-section .panel-title h2{font-size:20px!important}
#shell #task-view-switch{display:none!important}
#shell #calendar-view{min-width:0}
#shell .calendar-layout{gap:16px!important;align-items:start}
#shell :is(.month-panel,.day-plan,.calendar-habits,.unscheduled-panel){border:1px solid #dce7f2!important;border-radius:14px!important;background:#fff!important;padding:14px!important;box-shadow:none!important}
#shell .day-plan-header{margin:0 0 12px!important}
#shell .day-plan-header h2{font-size:23px!important;margin:0 0 5px!important;text-transform:capitalize}
#shell #day-summary{font-size:14px!important;color:#526b83!important}
#shell .compact-agenda{display:grid!important;gap:6px!important;margin:0 0 16px!important}
#shell .compact-agenda .agenda-row{display:grid!important;grid-template-columns:45px minmax(0,1fr)!important;gap:8px!important;height:auto!important;min-height:0!important}
#shell .compact-agenda .agenda-row>time{padding-top:12px!important;font-size:14px!important;color:#526b83!important}
#shell .compact-agenda .agenda-gap{display:block;width:100%;min-height:32px!important;padding:6px 10px!important;background:#f5f9fd!important;border:1px dashed #d8e6f2!important;border-radius:9px!important;text-align:left;font-size:13px!important;color:#526b83!important}
#shell .compact-agenda .agenda-event{min-height:66px!important;padding:9px 10px!important;border:0!important;border-left:3px solid #087cf5!important;border-radius:9px!important;background:#edf6ff!important;gap:8px!important;box-shadow:none!important;display:flex!important}
#shell .agenda-event .task-row-body{display:block!important;flex:1;min-width:0}
#shell .agenda-event .task-name{font-size:16px!important;font-weight:600!important;min-height:24px!important;padding:0!important;line-height:1.2!important;white-space:normal!important}
#shell .agenda-event .small{font-size:13px!important;color:#42627f!important;margin:5px 0 0!important}
#shell .agenda-row.completed .agenda-event{background:#edf8f2!important;border-left-color:#1b9670!important}
#shell .agenda-row.urgent .agenda-event{background:#fff2ec!important;border-left-color:#f47d4a!important}
#shell .calendar-day{min-height:44px!important;border-radius:8px!important}
#shell .calendar-day[aria-pressed=true]{background:#087cf5!important;color:#fff!important}
#shell .bottom-nav{display:none!important}
#shell :is(.empty,.panel,.note-card,.habit-card){border-color:#dce7f2!important}
#shell .muted{color:#526b83}
@media(max-width:1100px) and (min-width:801px){
 #shell .light-today-layout{grid-template-columns:1fr!important}
 #shell .dense-today-aside{display:grid!important;grid-template-columns:1fr 1fr;align-items:start}
 #shell .classic-categories button{padding:6px;font-size:13px}
 #shell .classic-masthead{gap:12px}
}
@media(max-width:800px){
 #shell .sidebar{display:none!important}
 #shell .content{margin:0!important}
 #shell main{padding:10px 10px calc(96px + env(safe-area-inset-bottom,0px))!important;min-height:100dvh}
 #shell .classic-masthead{padding:15px 12px 12px;border-radius:16px;gap:12px 8px;margin-bottom:12px}
 #shell .page-heading{padding-right:112px!important;min-height:0!important;margin:0!important}
 #shell[data-page] .page-heading #page-title{padding:0!important;min-height:0!important;max-width:none!important;font-size:28px!important;white-space:normal!important;letter-spacing:-.5px!important}
 #shell .page-heading .muted{font-size:13px!important;margin-top:6px!important;line-height:1.2}
 #shell .utility-header{top:24px!important;right:23px!important;left:auto!important;margin:0!important}
 #shell .utility-actions{gap:5px!important}
 #shell .utility-actions .assistant-open{display:none!important}
 #shell .utility-actions :is(.light-search-button,.light-account-button){width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:7px!important}
 #shell #light-week-control{grid-column:1/-1;grid-row:auto;gap:6px}
 #shell .light-week-strip{max-width:none;gap:0!important;padding:3px!important;min-width:0}
 #shell .light-week-day{padding:3px 1px!important;min-width:0!important;min-height:44px!important}
 #shell .light-week-day small{font-size:10px!important}
 #shell .light-week-day strong{font-size:16px!important}
 #shell .light-week-arrow{width:20px!important;min-width:20px!important;padding:3px!important}
 #shell .light-week-today{font-size:13px!important;padding:5px 7px!important}
 #shell .classic-masthead .main-actions,#shell[data-page] .classic-masthead .main-actions{grid-column:1/-1!important;grid-row:auto!important;justify-content:stretch!important;width:100%}
 #shell[data-page] .classic-masthead #create{flex:1!important;min-height:44px!important;font-size:16px!important;padding:10px 14px!important;display:flex;justify-content:center;align-items:center}
 #shell #open-filters{min-height:44px!important;flex:0 0 auto!important}
 #shell .classic-metrics{gap:6px}
 #shell .classic-metric{min-height:54px;flex-direction:column;justify-content:center;gap:3px;padding:6px 4px;font-size:13px;border-radius:9px}
 #shell .classic-metric strong{font-size:24px}
 #shell #today-view .hero-copy{gap:8px;justify-content:space-between;flex-wrap:nowrap}
 #shell #today-view .hero-copy p{font-size:13px!important}
 #shell #today-progress-bar{width:90px!important;max-width:90px!important}
 #shell .light-today-layout{display:flex!important;flex-direction:column;gap:12px!important}
 #shell #daily-task-panel,#shell .dense-today-aside{width:100%}
 #shell #daily-task-panel,#shell .today-habits,#shell #today-undated{padding:12px!important;border-radius:12px!important}
 #shell .dense-today-aside{display:flex!important;gap:12px!important}
 #shell .panel-title h2{font-size:21px!important}
 #shell .dense-column-head{display:none!important}
 #shell[data-page] .task-group .task-row,#shell[data-page] .task-row{min-height:62px!important;padding:7px 0!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:7px!important}
 #shell[data-page] .task-row-body{display:block!important;min-width:0}
 #shell[data-page] .task-row .task-name{font-size:17px!important;white-space:normal!important;overflow:visible!important;padding:0!important;min-height:24px!important;line-height:1.22!important}
 #shell .task-row .task-meta{display:flex!important;gap:6px!important;margin:4px 0 0!important;flex-wrap:wrap}
 #shell :is(.dense-task-date,.dense-task-category,.dense-task-status){font-size:13px!important;max-width:100%}
 #shell .dense-task-status{display:none!important}
 #shell .dense-task-title{display:block}
 #shell .task-row .task-badges{display:inline-flex!important;gap:4px!important;margin-top:3px!important}
 #shell .task-row .task-badges:empty{display:none!important}
 #shell[data-page] .task-completion{width:44px!important;min-width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:10px!important}
 #shell .completion-mark .ui-icon{width:20px;height:20px}
 #shell .text-button{min-height:40px!important}
 #shell .undated-actions button{min-height:40px!important;padding:8px 12px!important;font-size:14px!important}
 #shell .habit-compact-row{min-height:62px!important}
 #shell .habit-quick-plus{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}
 #shell .light-task-filters{gap:5px;margin-bottom:10px!important}
 #shell .light-task-filters button{padding:8px 10px!important;font-size:14px!important;min-height:40px!important;flex:1 0 auto}
 #shell .classic-task-tools{display:block;padding:10px;margin-bottom:10px}
 #shell #classic-task-search{width:100%;max-width:none;min-height:44px}
 #shell .classic-categories{margin-top:6px;gap:3px;justify-content:space-between}
 #shell .classic-categories button{min-height:40px;padding:8px;font-size:14px}
 #shell[data-page=tasks] #list-section{padding:12px}
 #shell .compact-agenda .agenda-row{grid-template-columns:37px minmax(0,1fr)!important;gap:5px!important}
 #shell .compact-agenda .agenda-row>time{font-size:13px!important}
 #shell .compact-agenda .agenda-event{min-height:72px!important;padding:8px!important;border-radius:9px!important}
 #shell .agenda-event .task-name{font-size:17px!important;overflow-wrap:anywhere}
 #shell .compact-agenda .agenda-event .task-completion{width:44px!important;min-width:44px!important;flex-basis:44px!important}
 #shell .compact-agenda .agenda-gap{min-height:40px!important;padding:10px!important;font-size:13px!important}
 #shell .calendar-day{min-height:44px!important}
 #shell .bottom-nav{display:grid!important;position:fixed!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:1fr!important;left:6px!important;right:6px!important;width:auto!important;max-width:none!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;height:auto!important;gap:0!important;padding:5px 2px!important;background:#fff!important;border:1px solid #d8e5f2!important;border-radius:17px!important;box-shadow:0 5px 24px #15345124!important;z-index:100!important}
 #shell .bottom-nav button{display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:4px!important;width:100%!important;min-width:0!important;min-height:54px!important;height:auto!important;padding:5px 0!important;border-radius:11px!important;background:transparent;color:#526b83!important}
 #shell .bottom-nav button .light-icon{width:21px!important;height:21px!important;flex:0 0 21px!important}
 #shell .bottom-nav button b{font-size:11px!important;line-height:1.1;letter-spacing:-.2px!important;white-space:nowrap!important;font-weight:500!important;max-width:none!important;overflow:visible!important}
 #shell .bottom-nav button.active{background:#e6f2ff!important;color:#0069d9!important}
 #shell .bottom-nav button.active b{font-weight:700!important}
}
@media(max-width:360px){
 #shell .bottom-nav button b{font-size:10px!important;letter-spacing:-.3px!important}
 #shell .bottom-nav button .light-icon{width:20px!important;height:20px!important}
 #shell .classic-categories button{padding:6px;font-size:13px}
 #shell .page-heading .muted{font-size:12px!important}
 #shell .light-week-today{display:none!important}
}
@media(max-width:800px){
 #shell .page-heading{position:relative}
 #shell .light-mobile-brand{display:flex!important;position:absolute;left:0;top:0;width:28px;height:28px}
 #shell .page-heading .light-brand-logo{width:28px;height:28px;border-radius:7px}
 #shell[data-page] .page-heading #page-title{padding-left:36px!important}
}
#shell[data-page=calendar] :is(.day-panel,.month-panel,.calendar-habits,.unscheduled){padding:14px!important;background:#fff!important;border:1px solid #dce7f2!important;border-radius:14px!important}
#shell[data-page=calendar] .compact-agenda .agenda-gap{min-height:34px!important;height:auto!important;font-size:13px!important;padding:7px 10px!important;color:#526b83!important}
#shell[data-page=calendar] .compact-agenda .agenda-row.time-hour{min-height:34px!important;height:auto!important}
@media(max-width:800px){
 #shell[data-page=calendar] .compact-agenda .agenda-gap{min-height:44px!important;padding:12px 10px!important;font-size:13px!important}
 #shell[data-page=calendar] .compact-agenda .agenda-row.time-hour{min-height:44px!important}
 #shell[data-page=calendar] .compact-agenda .agenda-event .task-name{font-size:17px!important;line-height:1.23!important}
 #shell[data-page=calendar] .compact-agenda .agenda-event .small{font-size:13px!important}
 #shell[data-page=calendar] .compact-agenda .agenda-event .task-completion{width:44px!important;min-width:44px!important;flex-basis:44px!important}
}
/* v45: shared metric tiles, circular completion, compact rows and bounded notes. */
#shell[data-page] .task-completion{background:transparent!important;border:0!important;border-radius:50%!important;overflow:visible!important;box-shadow:none!important}
#shell .task-completion .completion-mark{width:24px!important;height:24px!important;border:1.5px solid #8cabc8!important;border-radius:50%!important;background:#fff!important}
#shell .task-completion:not(:has(input:checked)) .completion-mark .ui-icon{visibility:hidden}
#shell .task-completion:has(input:checked){background:transparent!important;border:0!important}
#shell .task-completion:has(input:checked) .completion-mark{background:#1aab7c!important;border-color:#1aab7c!important}
#shell .task-completion:has(input:checked) .completion-mark .ui-icon{visibility:visible;filter:brightness(0) invert(1)!important;width:14px!important;height:14px!important}
#shell[data-page] :is(.task-row,.habit-card,.habit-compact-row) .task-name{font-size:15px!important;font-weight:450!important;line-height:1.25!important}
#shell .panel-title h2{font-size:20px!important}
#shell :is(.habit-list,#calendar-habit-list){display:flex!important;flex-direction:column;gap:0!important;background:#fff;border:1px solid #dce7f2;border-radius:12px;padding:3px 12px}
#shell :is(.habit-list,#calendar-habit-list) .habit-card,#shell .habit-compact-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:2px 8px!important;align-items:center!important;padding:8px 0!important;margin:0!important;min-height:62px!important;border:0!important;border-bottom:1px solid #e8eef6!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-card:last-child,#shell .habit-compact-row:last-child{border-bottom:0!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-top{display:contents!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-top>.task-name{grid-column:1!important;grid-row:1!important;min-height:24px!important;padding:0!important;margin:0!important;align-self:center!important;overflow-wrap:anywhere}
#shell :is(.habit-list,#calendar-habit-list) .habit-top>:is(.task-completion,.habit-action-plus){grid-column:2!important;grid-row:1 / span 2!important;align-self:center!important;margin:0!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-body{grid-column:1!important;grid-row:2!important;padding:0!important;margin:0!important;min-width:0;overflow:visible!important}
#shell .habit-compact-body{min-width:0}
#shell .habit-compact-title{display:block!important}
#shell .habit-compact-title .muted,#shell .habit-count{display:block;font-size:12px!important;line-height:1.35!important;color:#526b83!important;margin:2px 0 0!important}
#shell .habit-compact-row progress,#shell :is(.habit-list,#calendar-habit-list) .habit-body progress{height:4px!important;max-width:none!important;width:100%!important;margin:5px 0 0!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-adjust>summary{min-height:30px!important;padding:7px 0!important;font-size:12px!important}
#shell :is(.habit-action-plus,.habit-quick-plus){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important;border:0!important;border-radius:50%!important;box-shadow:none!important;background:transparent!important;padding:10px!important}
#shell :is(.habit-action-plus,.habit-quick-plus) .ui-icon{width:23px!important;height:23px!important;border-radius:50%;background:#edf6ff;padding:3px;box-sizing:content-box}
/* Both measurement sections use the same full-width grid and card geometry. */
#shell[data-page=fitness] :is(.health-daily,.body-panel){padding:0!important;border:0!important;background:transparent!important;margin:0 0 18px!important;min-width:0}
#shell[data-page=fitness] .light-body-layout{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0}
#shell[data-page=fitness] .light-body-values{width:100%;min-width:0}
#shell[data-page=fitness] :is(.health-daily-grid,.body-metrics,.light-extra-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important;width:100%;min-width:0}
#shell[data-page=fitness] .light-weight-chart{width:100%;box-sizing:border-box}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:112px!important;min-height:112px!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:26px 25px 16px 5px!important;column-gap:8px!important;row-gap:3px!important;padding:10px!important;align-content:start!important;border:1px solid #ffffff!important;border-radius:11px!important;overflow:hidden!important;background:#e8f4ff!important;box-shadow:none!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)[data-tone=mint]{background:#e4f7ed!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)[data-tone=violet]{background:#eee9fb!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)[data-tone=rose]{background:#fce8ed!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)[data-tone=peach]{background:#fff0de!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)[data-tone=blue]{background:#e5f1ff!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.light-icon{grid-column:1!important;grid-row:1 / span 3!important;align-self:start!important;width:22px!important;height:22px!important;margin:0!important;opacity:1!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-label{display:block!important;grid-column:2!important;grid-row:1!important;font-size:12px!important;line-height:1.15!important;color:#38546e!important;margin:0!important;align-self:start!important;min-width:0;overflow-wrap:anywhere}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{grid-column:2!important;grid-row:2!important;min-width:0;align-self:start!important;font-size:21px!important;line-height:1.1!important;font-weight:650!important;letter-spacing:-.4px!important;color:#17344f!important;margin:0!important;white-space:nowrap}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-info{grid-column:2!important;grid-row:3!important;display:block!important;min-width:0;font-size:10px!important;line-height:1.2!important;color:#526b83!important;margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shell[data-page=fitness] .health-metric>progress{grid-column:2!important;grid-row:4!important;margin:0!important;height:4px!important}
#shell[data-page=fitness] .health-metric .light-goal-unit{font-size:12px!important}
#shell[data-page=fitness] .body-metrics .light-body-metric>span:not(.metric-label){display:none!important}
#shell[data-page=fitness] .light-metric-missing>.metric-value,#shell[data-page=fitness] .light-body-missing>.metric-value{color:#698095!important}
#shell[data-page=fitness] .light-body-extra{padding:0 10px!important}
#shell[data-page=fitness] .light-extra-grid{padding-bottom:10px}
#shell[data-page=fitness] .health-metric[data-metric=respiratory_rate]{display:none!important}
#shell[data-page=fitness] .show-all-health .health-metric[data-metric=respiratory_rate]{display:grid!important}
#shell[data-page=fitness] :is(.health-daily,.body-panel)>.panel-title{padding:0!important;background:transparent!important;margin:0 0 9px!important}
#shell[data-page=fitness] .body-panel #body-date{margin:0!important;font-size:12px!important}
/* Min-width:0 at every level lets long note text wrap instead of stretching the grid. */
#shell[data-page=notes] :is(#list-section,#items,.notes-grid,.note-card,.note-card>*,#note-controls,#note-controls>*){min-width:0!important;max-width:100%!important;box-sizing:border-box}
#shell[data-page=notes] .notes-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%}
#shell[data-page=notes] .note-card{grid-template-columns:minmax(100px,1fr) minmax(100px,1.2fr) 70px 150px!important;gap:10px!important;padding:10px!important;border:1px solid #dce7f2!important;border-radius:11px!important;background:#fff!important}
#shell[data-page=notes] .note-card>.note-foot{min-width:0!important}
#shell[data-page=notes] .dense-note-menu>summary{min-height:36px!important;font-size:12px;padding:10px 2px!important}
#shell[data-page=notes] .note-actions button{min-height:40px!important}
#shell[data-page=notes] .note-body{overflow-wrap:anywhere;word-break:break-word}
#assistant-manual{width:100%;min-height:40px;margin:8px 0;color:#0669d2;background:#edf6ff;border:0}
#assistant-dialog[data-mode=task] .assistant-chips{display:none}
#assistant-dialog[data-mode=task] .assistant-intro{font-size:13px}
#shell .utility-actions .assistant-open{display:flex!important;min-width:34px!important;padding:7px!important}
@media(max-width:800px){
 #shell[data-page] :is(.task-row,.habit-card,.habit-compact-row) .task-name,#shell[data-page=calendar] .compact-agenda .agenda-event .task-name{font-size:15px!important;line-height:1.25!important}
 #shell .panel-title h2{font-size:19px!important}
 #shell[data-page] .task-row{min-height:56px!important}
 #shell[data-page] .task-completion{width:44px!important;height:44px!important}
 #shell[data-page] :is(.dense-task-date,.dense-task-category,.dense-task-status){font-size:12px!important}
 #shell :is(.habit-list,#calendar-habit-list) .habit-card{min-height:56px!important}
 #shell .utility-actions .assistant-open>span{display:none}
 #shell .utility-actions .assistant-open>.light-icon{width:19px!important;height:19px!important}
 #shell .page-heading{padding-right:122px!important}
 #shell[data-page] .page-heading #page-title{font-size:26px!important}
 #shell .utility-actions{gap:4px!important}
 #shell .utility-header{right:21px!important}
 #shell[data-page] #create{font-size:15px!important}
 #shell[data-page=fitness] :is(.health-daily-grid,.body-metrics,.light-extra-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric){height:106px!important;min-height:106px!important;grid-template-columns:20px minmax(0,1fr)!important;column-gap:6px!important;grid-template-rows:25px 23px 15px 4px!important;padding:9px!important;grid-column:auto!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-label{font-size:11px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{font-size:18px!important;letter-spacing:-.3px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.light-icon{width:20px!important;height:20px!important}
 #shell[data-page=fitness] .health-metric .light-goal-unit{font-size:10px!important}
 #shell[data-page=fitness] :is(.health-daily,.body-panel)>.panel-title h2{font-size:18px!important}
 #shell[data-page=notes] .note-card{grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;padding:12px!important}
 #shell[data-page=notes] .note-card>h3{grid-column:1/-1!important;grid-row:1!important}
 #shell[data-page=notes] .dense-note-open{font-size:15px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.25!important}
 #shell[data-page=notes] .note-card>.note-body{grid-column:1/-1!important;grid-row:2!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;max-height:36px!important;line-height:1.4!important;font-size:12px!important}
 #shell[data-page=notes] .note-card>.note-top{grid-column:1!important;grid-row:3!important}
 #shell[data-page=notes] .note-card>.note-foot{grid-column:2!important;grid-row:3!important;flex-direction:row!important;gap:5px!important;align-items:center!important;justify-content:flex-end!important}
 #shell[data-page=notes] .note-card>.note-foot time{display:none!important}
 #shell[data-page=notes] #note-controls{gap:8px!important}
 #shell[data-page=notes] .notes-search-label input{max-width:100%;min-width:0!important}
}
@media(max-width:360px){
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric){grid-template-columns:18px minmax(0,1fr)!important;column-gap:4px!important;padding:8px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{font-size:17px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.light-icon{width:18px!important;height:18px!important}
 #shell[data-page] .page-heading #page-title{font-size:24px!important}
}

/* v46: anchor header actions to the masthead and keep chat in the visual viewport. */
#shell[data-page] .page-heading{position:relative!important}
#shell[data-page] .page-heading .utility-header{position:absolute!important;top:0!important;right:0!important;left:auto!important;width:auto!important;margin:0!important;padding:0!important;min-height:34px!important}
#shell[data-page] .page-heading .utility-actions{flex-wrap:nowrap!important}
#shell[data-page=calendar] #calendar-habit-list{margin-top:10px!important}
#shell[data-page=calendar] #calendar-habit-list .habit-card{min-height:62px!important;margin:0!important;padding:8px 0!important}
#shell[data-page=calendar] #calendar-habit-list .task-name{font-size:15px!important;line-height:1.25!important;font-weight:450!important}
#shell[data-page=calendar] #calendar-habit-list .habit-count{font-size:12px!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric){grid-template-rows:26px 32px 16px 5px!important}
#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{font-size:28px!important}
#assistant-dialog{box-sizing:border-box!important;position:fixed!important;inset:auto!important;left:var(--assistant-x,50vw)!important;top:var(--assistant-y,8px)!important;transform:translateX(-50%)!important;width:min(650px,calc(var(--assistant-vw,100vw) - 16px))!important;max-width:calc(var(--assistant-vw,100vw) - 16px)!important;height:min(660px,calc(var(--assistant-vh,100dvh) - 16px))!important;max-height:calc(var(--assistant-vh,100dvh) - 16px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
#assistant-dialog>.assistant-header{flex:0 0 auto;min-width:0;padding:12px 14px!important}
#assistant-dialog .assistant-header>div{min-width:0}
#assistant-dialog .assistant-header p{overflow-wrap:anywhere}
#assistant-dialog>.assistant-messages{flex:1 1 100px!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain}
#assistant-dialog>.assistant-chips{flex:0 0 auto}
#assistant-dialog>#assistant-form{flex:0 1 auto!important;min-height:0!important;max-height:calc(var(--assistant-vh,100dvh) - 100px)!important;overflow:auto!important;overscroll-behavior:contain;box-sizing:border-box;padding:10px 14px max(10px,env(safe-area-inset-bottom))!important}
#assistant-dialog #assistant-message{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:64px!important;height:72px;max-height:96px!important;resize:none!important;font-size:16px!important}
#assistant-dialog .assistant-compose-actions{flex-wrap:wrap}
@media(max-width:800px){
 #shell[data-page=calendar] #calendar-habit-list .habit-card{min-height:56px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric){grid-template-rows:25px 32px 15px 4px!important}
 #shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{font-size:24px!important}
}
@media(max-width:360px){#shell[data-page=fitness] :is(.health-metric,.light-body-metric)>.metric-value{font-size:22px!important}}
#shell :is(.habit-list,#calendar-habit-list) .habit-card,#shell .habit-compact-row{padding:6px 0!important;row-gap:0!important}
#shell :is(.habit-list,#calendar-habit-list) .habit-top>.task-name{min-height:20px!important}
#shell .habit-compact-row progress,#shell :is(.habit-list,#calendar-habit-list) .habit-body progress{margin-top:4px!important}
#shell[data-page=calendar] #calendar-habit-list .habit-card{padding:6px 0!important}
#assistant-dialog.assistant-short .assistant-header{padding:8px 12px!important}
#assistant-dialog.assistant-short .assistant-header h2{font-size:18px!important}
#assistant-dialog.assistant-short[data-mode=task] .assistant-messages:has(>.assistant-intro:only-child){display:none!important}
#assistant-dialog.assistant-short #assistant-form{padding:6px 12px!important;max-height:calc(var(--assistant-vh,100dvh) - 74px)!important}
#assistant-dialog.assistant-short .assistant-consent{margin-bottom:4px!important}
#assistant-dialog.assistant-short #assistant-message{height:64px!important}
#assistant-dialog.assistant-short #assistant-manual{min-height:32px!important;margin:4px 0!important}
#assistant-dialog.assistant-short .assistant-compose-actions{margin-top:4px!important}
