/* style */
/* v212 — cảnh báo/khôi phục danh mục công việc con bị rơi khỏi state */
.qs-subtask-recovery-v212{margin:10px 0 2px;padding:12px 13px;border:1px solid #f1d59c;border-radius:14px;background:#fff9e9;display:grid;gap:8px}
.qs-subtask-recovery-v212 b{font-size:13px;color:#7a5410}
.qs-subtask-recovery-v212 span{font-size:11px;line-height:1.45;color:#7b7468}
.qs-subtask-recovery-v212 button{border:1px solid #e7c777;background:#fff3c9;color:#72500b;border-radius:11px;padding:9px 11px;font-weight:800}

/* v223MaintainDoneUI */
/* v223 — Duy trì hoàn thành: tô toàn bộ card pastel rõ hơn; không đổi dữ liệu/cách tính. */
.quick-switch-item.qs-maintain-done{
  background:#dff3e5 !important;
  border-color:#79bd90 !important;
  box-shadow:inset 0 0 0 1px rgba(48,137,83,.12),0 2px 8px rgba(48,137,83,.08);
}
.quick-switch-item.qs-maintain-done .qs-marker{background:#27824a !important;width:5px !important}
.quick-switch-item.qs-maintain-done .qs-main b{color:#185f36 !important;padding-right:30px !important;font-weight:850 !important}
.quick-switch-item.qs-maintain-done .qs-main small{color:#267346 !important;font-weight:800 !important}
.quick-switch-item .qs-done-mark{
  position:absolute;right:10px;top:9px;display:grid;place-items:center;
  width:25px;height:25px;border-radius:999px;background:#27824a;color:white;
  font-size:14px;font-weight:900;line-height:1;
}

/* v223QuickSwitchMaintainDoneOnly */
/* v223 — CHỈ Chuyển việc nhanh > Duy trì: card hoàn thành nổi bật toàn ô. */
#quickSwitchDialog .quick-switch-item.qs-type-water.qs-maintain-done{
  background:#cfeeda !important;
  border:2px solid #55a873 !important;
  box-shadow:inset 0 0 0 1px rgba(32,120,66,.08),0 3px 10px rgba(32,120,66,.10) !important;
}
#quickSwitchDialog .quick-switch-item.qs-type-water.qs-maintain-done .qs-marker{
  background:#1f7a43 !important; width:6px !important;
}
#quickSwitchDialog .quick-switch-item.qs-type-water.qs-maintain-done .qs-main b{
  color:#155d34 !important; padding-right:32px !important; font-weight:900 !important;
}
#quickSwitchDialog .quick-switch-item.qs-type-water.qs-maintain-done .qs-main small{
  color:#1e6d3e !important; font-weight:850 !important; padding-right:2px;
}
#quickSwitchDialog .quick-switch-item.qs-type-water.qs-maintain-done .qs-done-mark{
  display:grid !important; place-items:center !important;
  background:#1f7a43 !important; color:#fff !important;
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 1px 5px rgba(20,90,48,.18);
}

/* v224ProjectQuickSwitchStyle */
/* v224 — Chuyển phiên trực tiếp từ card Project Hỏa lực. */
#products .goal-actions .goal-switch-v224{
  grid-column:1 / -1;
  background:#fff3ec;
  border:1px solid #efb99f;
  color:#b94d32;
  font-weight:900;
  min-height:40px;
}
#products .goal-actions .goal-switch-v224:active{transform:scale(.985)}
#products .goal-actions .goal-switch-v224:disabled{opacity:.65}

/* v225CompactProjectCardsStyle */
/* v225 — Project Hỏa lực: card gọn, một hàng thao tác, trạng thái đang chạy rõ. */
#products .goal-item{padding:12px 12px 11px !important}
#products .goal-head{gap:8px}
#products .goal-sub{margin-top:3px !important;line-height:1.25}
#products .goal-deadline-mini-v206{margin-top:6px !important}
#products .goal-item .bar{margin-top:7px !important;margin-bottom:2px !important}
#products .goal-actions{display:grid !important;grid-template-columns:1.15fr .72fr .72fr 1.05fr .72fr !important;gap:6px !important;margin-top:7px !important}
#products .goal-actions .btn{min-width:0 !important;min-height:36px !important;padding:7px 5px !important;font-size:11px !important;white-space:nowrap}
#products .goal-actions .goal-switch-v224{grid-column:auto !important;background:#fff3ec !important;border:1px solid #efb99f !important;color:#b94d32 !important;font-weight:900 !important}
#products .goal-item.goal-running-v225{background:#fff9f4 !important;border-color:#efa984 !important;box-shadow:0 0 0 2px rgba(230,103,62,.07),0 6px 16px rgba(27,54,74,.05) !important}
#products .goal-item.goal-running-v225 .goal-switch-v224{background:#e96843 !important;border-color:#e96843 !important;color:#fff !important}
#products .goal-item.goal-running-v225 .goal-head> b:first-child{color:#a9442e !important}
@media(max-width:390px){
 #products .goal-actions{gap:4px !important}
 #products .goal-actions .btn{font-size:10px !important;padding:7px 3px !important}
}

/* style */
/* v268: actionable milestone workspace */
#goals>.card{padding:14px!important}
#goals .milestone-rank-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#goals .rank-stat-box{min-height:64px!important;padding:8px!important;border-radius:12px}
#goals .milestone-stats-card{padding:12px;margin-top:10px}
#goals .milestone-report-card{padding:11px;margin:10px 0}
#goals .milestone-group{border:1px solid var(--hlp-border,#d7e3e8);border-radius:16px;padding:12px;margin:12px 0;background:var(--hlp-surface,#fff)}
#goals .milestone-group-head{gap:8px;margin-bottom:9px}
#goals .milestone-group-head>div{flex:1}
#goals .milestone-group-head b{font-size:15px}
#goals .milestone-group-head span{font-size:11px;color:var(--hlp-muted,#697f8b)}
#goals .milestone-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0!important;border-bottom:1px solid var(--hlp-border,#d7e3e8)}
#goals .milestone-value{grid-column:1;display:flex;align-items:center;gap:7px;font-size:13px;overflow-wrap:anywhere}
#goals .milestone-name{grid-column:1;min-width:0;overflow-wrap:anywhere}
#goals .milestone-name b{font-size:14px;line-height:1.4}
#goals .milestone-name .small{font-size:11px;line-height:1.45;margin-top:3px}
#goals .milestone-achieve-btn{grid-column:2;grid-row:1;min-height:44px;padding:8px 13px;border-radius:11px}
#goals .milestone-row>.milestone-settings-btn{grid-column:2;grid-row:2;min-height:44px;min-width:44px}
#goals .milestone-settings-btn{min-width:44px;min-height:44px}
#goals .milestone-rank{min-width:36px;min-height:36px}
.milestone-search-v268{display:flex;gap:7px;margin:12px 0;align-items:center}
.milestone-search-v268 input{min-width:0;flex:1;font-size:14px!important;min-height:44px!important;margin:0!important}
.milestone-search-v268 button,.milestone-add-v268{min-height:44px!important;font-size:12px!important}
.milestone-group-progress-v268{height:4px;border-radius:8px;background:var(--hlp-border,#d7e3e8);overflow:hidden;margin-bottom:6px}
.milestone-group-progress-v268 i{display:block;height:100%;background:var(--green,#35866a)}
#goals .milestone-group[hidden]{display:none!important}
#goals .completed-milestones-card{margin-bottom:100px}
#goals .completed-milestones-head h2{font-size:16px!important}
#goals .milestone-active-note{font-size:11px;gap:6px;flex-wrap:wrap}

/* style */
/* v269: compact milestone rows */
#goals .milestone-row{grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:4px 6px!important;padding:9px 8px!important;min-height:0!important}
#goals .milestone-row .milestone-value{grid-column:1!important;grid-row:1!important;min-width:0!important;width:auto!important;gap:5px!important;font-size:12px!important;white-space:nowrap!important}
#goals .milestone-row .milestone-name{display:contents!important}
#goals .milestone-row .milestone-name>b{grid-column:2!important;grid-row:1!important;font-size:13px!important;line-height:1.3!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#goals .milestone-row .milestone-name>.small{grid-column:1 / -1!important;grid-row:2!important;margin:0!important;font-size:11px!important;line-height:1.35!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#goals .milestone-row>.milestone-achieve-btn{grid-column:3!important;grid-row:1!important;min-height:36px!important;height:36px!important;min-width:40px!important;padding:5px 7px!important;font-size:11px!important;border-radius:9px!important;margin:0!important}
#goals .milestone-row>.milestone-settings-btn{grid-column:4!important;grid-row:1!important;min-height:36px!important;height:36px!important;min-width:32px!important;width:32px!important;padding:3px!important;border-radius:9px!important;margin:0!important}
#goals .milestone-row .milestone-rank{min-width:26px!important;width:26px!important;min-height:30px!important;height:30px!important;padding:3px!important;border-radius:8px!important;font-size:11px!important}
#goals .milestone-group-head{padding:0 0 7px!important;margin-bottom:5px!important}
#goals .milestone-group{padding:10px!important}

/* style */
/* v271: concise and actionable Sa lay */
#salayPanelV249{padding:12px!important;border:0!important;box-shadow:none!important;border-radius:16px!important}
#salayPanelV249>.row{gap:8px;align-items:center}
#salayPanelV249>.row h2{font-size:18px!important}
#salaySummary{font-size:11px!important;margin-top:2px!important}
#salayPanelV249 .salay-head-actions{display:flex;gap:5px}
#salayPanelV249 .section-action-btn{min-height:36px!important;font-size:11px!important;padding:6px 9px!important;border-radius:9px!important}
#salayOverview .salay-overview-card{padding:12px!important;border-radius:13px!important;margin:10px 0!important;box-shadow:none!important}
#salayOverview .eyebrow{display:none}
#salayOverview .salay-overview-main{font-size:16px!important;line-height:1.35}
#salayOverview .salay-overview-meta{font-size:11px!important;margin-top:4px!important}
#salayOverview .salay-overview-toggle{min-height:36px;font-size:11px!important;padding:5px 7px!important}
#salayOverview .salay-next-box{padding:10px!important;margin-top:9px!important;border-radius:10px!important}
#salayOverview .salay-next-box>span{font-size:9px!important}
#salayOverview .salay-next-box>b{font-size:14px!important;line-height:1.4}
#salayOverview .salay-next-box>small{font-size:10px!important;line-height:1.5}
.salay-next-start-v271{display:block;margin-top:8px;min-height:38px;border:0;border-radius:9px;padding:7px 12px;background:var(--hlp-accent,#267f95);color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.salay-next-start-v271:disabled{opacity:.5;cursor:default}
#salayOverview .salay-overview-card:not(.expanded) .salay-finish-box,#salayOverview .salay-overview-card:not(.expanded) .salay-weakest{display:none}
#salayGrid{display:block!important;margin-top:10px!important}
#salayGrid .salay-group-card{padding:10px!important;border-radius:14px!important;margin-bottom:11px!important;box-shadow:none!important}
#salayGrid .salay-group-head{gap:6px;align-items:center}
#salayGrid .salay-group-toggle{min-height:44px!important;padding:4px!important}
#salayGrid .salay-group-toggle b{font-size:14px!important}
#salayGrid .salay-group-toggle span{font-size:10px!important;line-height:1.4}
#salayGrid .salay-group-actions{gap:4px!important}
#salayGrid .salay-group-actions button{min-height:36px!important;min-width:32px;font-size:10px!important;padding:5px 7px!important;border-radius:8px!important}
#salayGrid .salay-group-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#salayGrid .collapsed .salay-group-body{display:none!important}
#salayGrid .salay-item{min-width:0;padding:10px!important;border-radius:12px!important;margin:0!important;background:var(--hlp-surface,#fff)!important}
#salayGrid .salay-item.expanded{grid-column:1 / -1}
#salayGrid .salay-title-block{min-width:0}
#salayGrid .salay-title-block>b{font-size:13px!important;line-height:1.4;white-space:normal!important;overflow-wrap:anywhere}
#salayGrid .salay-title-block>span{font-size:10px!important;line-height:1.4}
#salayGrid .salay-assessment-badge{font-size:9px!important;padding:3px 5px!important;margin-top:5px!important}
#salayGrid .salay-more{min-width:32px;min-height:36px;font-size:16px!important}
#salayGrid .salay-progress-head{margin-top:7px!important;font-size:10px!important}
#salayGrid .salay-progress-head b{font-size:13px!important}
#salayGrid .salay-progress{height:5px!important;margin-top:4px!important}
#salayGrid .salay-quick-actions{gap:4px!important;margin-top:8px!important}
#salayGrid .salay-quick-actions button{min-height:36px!important;font-size:11px!important;border-radius:8px!important;padding:5px!important}
#salayGrid .salay-quick-actions .start{background:var(--hlp-accent,#267f95)!important;color:white!important}
#salayGrid .salay-check-summary{font-size:10px!important}
#salayGrid .salay-detail[hidden]{display:none!important}
#salayGrid .salay-card-check-item{min-height:44px;font-size:12px!important;gap:8px}
#salayGrid .salay-card-check-item input{width:20px;height:20px}
@media(max-width:340px){#salayGrid .salay-group-body{grid-template-columns:1fr!important}}

/* style */
/* v272: keep the active session visible while scrolling */
#homeRunningStripV189{position:sticky!important;top:calc(env(safe-area-inset-top,0px) + 6px)!important;z-index:60!important;box-shadow:0 5px 18px rgba(27,52,68,.13)!important}

/* style */
#pointAllocationV274{border:1px solid var(--hlp-border,#d7e3e8);border-radius:14px;padding:12px;margin:12px 0;background:var(--hlp-soft,#f0f6f8)}
#pointAllocationV274 h3{font-size:15px;margin:0 0 5px}
.point-rows-v274>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--hlp-border,#d7e3e8);font-size:12px}
.point-rows-v274 small{display:block;font-size:10px;color:var(--hlp-muted,#697f8b);margin-top:3px;line-height:1.4}
.point-rows-v274 strong{white-space:nowrap;color:var(--hlp-accent,#267f95)}
.point-total-v274{display:flex;justify-content:space-between;font-size:14px;margin:10px 0}

/* style */
/* v275: current session replaces quick-switch search */
#quickSwitchDialog #quickSwitchCurrent{margin:10px 0 12px!important;padding:13px 14px!important;min-height:64px!important;font-size:14px!important;line-height:1.55!important;border-radius:14px!important}
#quickSwitchDialog #quickSwitchCurrentTimeV187{font-size:20px!important;font-variant-numeric:tabular-nums;white-space:nowrap}

/* style */
/* v276: one sticky stack prevents timer/filter overlap */
#quickSwitchDialog .qs-sticky-stack-v276{position:sticky;top:-12px;z-index:25;background:var(--hlp-surface,#fff);padding:12px 0 9px;margin-top:-12px}
#quickSwitchDialog .quick-switch-head,#quickSwitchDialog #quickSwitchCurrent,#quickSwitchDialog .quick-switch-filters{position:relative!important;top:auto!important;z-index:auto!important}
#quickSwitchDialog .quick-switch-head{margin-top:0!important;padding:0 0 9px!important}
#quickSwitchDialog #quickSwitchCurrent{display:grid!important;grid-template-columns:10px minmax(0,1fr)!important;gap:4px 9px!important;padding:12px 14px!important;min-height:76px!important;background:var(--hlp-soft,#fff9ec)!important;color:var(--hlp-ink,#213b48)!important}
#quickSwitchDialog #quickSwitchCurrent::before{display:none!important}
#quickSwitchDialog #quickSwitchCurrent .home-running-dot{grid-column:1;grid-row:1 / 3}
#quickSwitchDialog #quickSwitchCurrent .home-running-label{grid-column:2;font-weight:750;font-size:14px}
#quickSwitchDialog #quickSwitchCurrent .running-clock-row-v263{grid-column:2;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#quickSwitchDialog #quickSwitchCurrentTimeV187{font-size:26px!important;line-height:1.25;color:inherit}
#quickSwitchDialog .running-limit-v263{font-size:11px}
#quickSwitchDialog .quick-switch-filters{margin:0!important;padding:0!important}

/* recentGridV277 */
#quickSwitchDialog .qs-recent-v277>.quick-switch-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#quickSwitchDialog .qs-recent-v277 .quick-switch-item{min-width:0;width:100%;height:100%}

/* projectStatusV318 */
.project-status.completed{background:#e7f5ec;color:#236342;border:1px solid #b8d9c4}.project-manager-actions{gap:6px;flex-wrap:wrap}.project-manager-actions .project-action{min-height:40px}
/* hlpUiV343 */
/* v343: type floor, clearer tabs, calmer header, idle CTA */
.tabs .tab{font-size:var(--hl-fs-xs)!important;font-weight:700;color:var(--hl-text-2)!important;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:background var(--hl-dur) var(--hl-ease),color var(--hl-dur) var(--hl-ease)}
.tabs .tab strong{font-size:20px;line-height:1}
.tabs .tab.active{color:var(--hl-fire)!important;background:var(--hl-fire-soft)!important}
.header-meta-global-v191{display:flex;flex-wrap:wrap;align-items:center;gap:var(--hl-sp-2);font-size:var(--hl-fs-sm)!important}
.header-meta-global-v191 .app-version{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.header-meta-global-v191>span,.header-meta-global-v191>button{font-size:var(--hl-fs-xs)!important;min-height:28px;display:inline-flex;align-items:center;gap:4px;padding:2px var(--hl-sp-3)!important;border-radius:var(--hl-radius-pill)!important;border:1px solid var(--hl-border);background:var(--card,#fff)}
#hlpPrimaryBadge{color:var(--hl-text-2)!important}
.header-meta-global-v191 *{font-size:var(--hl-fs-xs)!important}
.home-start-cta-v343{display:none;min-height:var(--hl-tap);padding:0 var(--hl-sp-5);border:0;border-radius:var(--hl-radius-pill);background:var(--hl-fire);color:#fff;font-weight:700;font-size:var(--hl-fs-md);cursor:pointer;transition:transform var(--hl-dur) var(--hl-ease)}
.home-start-cta-v343:active{transform:scale(.97)}
.is-idle-v343 .home-start-cta-v343{display:inline-flex;align-items:center;margin-top:var(--hl-sp-2)}
.is-idle-v343 .running-clock-row-v263,.is-idle-v343 #runningQuickV256{display:none!important}
.home-level-v321,#homeXpTextV321,.target-mini-btn{font-size:var(--hl-fs-sm)!important}
.metric span,.metric small,.small{font-size:max(var(--hl-fs-xs),1em)}

/* timelineSplitStyleV194 */
/* v195 — Chia lại phiên dài, ô nhập lớn trên mobile */
.timeline-split-quick-v194{border:1px solid #d8c7aa;background:#fffaf0;color:#8a6327;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:850;white-space:nowrap;cursor:pointer}
.timeline-split-badge-v194{display:inline-flex;align-items:center;margin-left:auto;padding:2px 6px;border-radius:999px;background:#f3edff;color:#7251a8;border:1px solid #ded0f4;font-size:8.5px;font-weight:850;white-space:nowrap}
#timelineSplitDialogV194{width:min(96vw,720px);max-width:720px;max-height:92vh;border:0;border-radius:22px;padding:0;overflow:hidden;background:#fff;box-shadow:0 20px 60px rgba(27,47,64,.22)}
#timelineSplitDialogV194::backdrop{background:rgba(31,43,53,.45)}
.timeline-split-shell-v194{display:flex;flex-direction:column;max-height:92vh}
.timeline-split-head-v194{padding:16px 17px 12px;border-bottom:1px solid #e5ebef;background:#fbfcfd}
.timeline-split-headrow-v194{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.timeline-split-head-v194 h3{margin:0;font-size:18px;color:#17384f}
.timeline-split-head-v194 p{margin:4px 0 0;font-size:10px;color:#6c8190;line-height:1.45}
.timeline-split-close-v194{border:0;background:#eef3f6;color:#34566d;width:34px;height:34px;border-radius:50%;font-size:18px;cursor:pointer}
.timeline-split-original-v194{margin-top:10px;padding:9px 10px;border:1px solid #dbe5eb;border-radius:12px;background:#fff;display:flex;justify-content:space-between;gap:10px;align-items:center}
.timeline-split-original-v194 b{display:block;font-size:11.5px;color:#21465f}.timeline-split-original-v194 span{display:block;margin-top:2px;font-size:9.5px;color:#708694}.timeline-split-original-v194 strong{font-size:15px;color:#294e67;white-space:nowrap}
.timeline-split-body-v194{padding:13px 14px 18px;overflow:auto}
.timeline-split-mode-v194{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#eef3f6;border-radius:12px}
.timeline-split-mode-v194 button{border:0;border-radius:9px;background:transparent;color:#657b8a;min-height:34px;font-size:10.5px;font-weight:800;cursor:pointer}.timeline-split-mode-v194 button.active{background:#fff;color:#204b68;box-shadow:0 1px 4px rgba(38,62,80,.12)}
.timeline-split-guide-v194{margin:8px 2px 11px;font-size:9.5px;color:#718493;line-height:1.45}
.timeline-split-rows-v194{display:grid;gap:8px}
.timeline-split-row-v194{padding:9px;border:1px solid #dfe7ec;border-radius:13px;background:#fbfcfd}
.timeline-split-row-top-v194{display:grid;grid-template-columns:28px minmax(92px,.72fr) minmax(118px,1.28fr) 118px;gap:7px;align-items:center}
.timeline-split-num-v194{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#eaf2f7;color:#315c78;font-size:10px;font-weight:900}
.timeline-split-row-v194 select,.timeline-split-row-v194 input{width:100%;min-width:0;min-height:38px;border:1px solid #d7e1e7;border-radius:9px;background:#fff;color:#24465d;padding:7px 9px;font-size:11px;outline:none}
.timeline-split-value-v194{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.timeline-split-value-v194 input{min-height:44px;text-align:center;font-size:16px!important;font-weight:900;font-variant-numeric:tabular-nums;padding:7px 10px!important}.timeline-split-value-v194 span{position:static;transform:none;min-width:34px;font-size:10.5px;color:#607888;font-weight:850;pointer-events:none;white-space:nowrap}
.timeline-split-custom-v194{margin-top:6px;padding-left:34px}
.timeline-split-row-actions-v194{display:flex;justify-content:flex-end;gap:4px;margin-top:6px}.timeline-split-row-actions-v194 button{border:1px solid #dde5ea;background:#fff;color:#5d7484;border-radius:8px;min-width:29px;height:27px;font-size:10px;font-weight:800;cursor:pointer}.timeline-split-row-actions-v194 .remove{color:#a95555;background:#fff7f7;border-color:#efd6d6}
.timeline-split-tools-v194{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.timeline-split-tools-v194 button{border:1px solid #d9e4ea;background:#fff;color:#315e79;border-radius:9px;padding:7px 9px;font-size:9.5px;font-weight:800;cursor:pointer}
.timeline-split-status-v194{margin-top:11px;padding:10px;border-radius:12px;border:1px solid #dce6eb;background:#f7fafb}.timeline-split-status-v194.ok{background:#f0faf4;border-color:#cfe7d7}.timeline-split-status-v194.warn{background:#fff8ed;border-color:#ead8b9}
.timeline-split-status-head-v194{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#587080}.timeline-split-status-head-v194 b{font-size:11px;color:#284f68}.timeline-split-status-v194.ok .timeline-split-status-head-v194 b{color:#2b7451}.timeline-split-status-v194.warn .timeline-split-status-head-v194 b{color:#8a672d}
.timeline-split-preview-v194{display:grid;gap:5px;margin-top:8px}.timeline-split-preview-row-v194{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:7px;align-items:center;padding-top:5px;border-top:1px solid rgba(86,111,127,.12);font-size:9px;color:#6e8391}.timeline-split-preview-row-v194 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#31556d;font-size:9.5px}.timeline-split-preview-row-v194 strong{color:#31556d;font-variant-numeric:tabular-nums}
.timeline-split-foot-v194{display:flex;justify-content:flex-end;gap:7px;padding:11px 14px;border-top:1px solid #e4eaee;background:#fff}.timeline-split-foot-v194 button{min-height:38px;border-radius:10px;padding:8px 12px;font-size:10.5px;font-weight:850;cursor:pointer}.timeline-split-cancel-v194{border:1px solid #dce5ea;background:#fff;color:#59717f}.timeline-split-save-v194{border:0;background:#285f7e;color:#fff}.timeline-split-save-v194:disabled{opacity:.4;cursor:default}
@media(max-width:560px){.timeline-split-row-v194{padding:11px}.timeline-split-row-top-v194{grid-template-columns:34px minmax(0,1fr);gap:8px}.timeline-split-num-v194{grid-column:1;grid-row:1 / 4;width:30px;height:30px;align-self:start;margin-top:4px}.timeline-split-type-v194{grid-column:2;grid-row:1}.timeline-split-row-top-v194 .timeline-split-task-v194{grid-column:2;grid-row:2}.timeline-split-value-v194{grid-column:2;grid-row:3;grid-template-columns:minmax(0,1fr) 42px}.timeline-split-value-v194 input{min-height:50px;font-size:20px!important;border-width:2px}.timeline-split-value-v194 span{font-size:12px;min-width:42px}.timeline-split-row-v194 select{min-height:44px;font-size:12px}.timeline-split-custom-v194{padding-left:42px}.timeline-split-original-v194{align-items:flex-start}.timeline-split-preview-row-v194{grid-template-columns:62px minmax(0,1fr) auto}}

/* v207 — Ưu tiên khả năng đọc các chip loại thời gian trong card Tổng kết */
.timeline-history-type-chips-v193{
  gap:6px;
  row-gap:7px;
}
.timeline-history-type-chip-v193{
  gap:5px;
  padding:5.5px 9px;
  font-size:10.5px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.08px;
}
.timeline-history-type-chip-v193 i{
  width:7px;
  height:7px;
  flex-basis:7px;
}
@media(max-width:430px){
  .timeline-history-type-chip-v193{
    padding:5px 8px;
    font-size:10px;
  }
}

/* style */
/* v214 — Android/local-file: make quick-switch cards unequivocally tappable */
#quickSwitchDialog .quick-switch-item{
  cursor:pointer !important;
  pointer-events:auto !important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(23,53,76,.10);
  user-select:none;
}
#quickSwitchDialog .quick-switch-item *{pointer-events:none !important}
#quickSwitchDialog .quick-switch-item.qs-tap-v214{transform:scale(.985);opacity:.82}

/* style */
.ms-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.ms-actions .section-action-btn{min-height:38px;padding:7px 12px;white-space:nowrap}
#maintainStatsDialog{width:min(620px,calc(100% - 24px));max-height:88dvh;padding:0;border:1px solid #cfe0e7;border-radius:22px;color:#203747;background:#f7fafc}
#maintainStatsDialog::backdrop{background:rgba(15,30,45,.45)}
.ms-header{position:sticky;top:0;z-index:1;background:#f7fafc;padding:16px;border-bottom:1px solid #dce7ed;display:flex;align-items:center;justify-content:space-between;gap:8px}.ms-header h3{margin:0;font-size:19px}
.ms-body{padding:14px}.ms-nav{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}.ms-nav button{min-width:42px;min-height:42px}.ms-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.ms-kpis div{background:#eaf5f8;border-radius:13px;padding:12px}.ms-kpis b{display:block;font-size:19px;color:#167b96}.ms-kpis span,.ms-note{font-size:12px;color:#617585}
.ms-task{background:white;border:1px solid #d7e5ec;border-radius:16px;margin:12px 0;padding:12px}.ms-task>summary{cursor:pointer;font-weight:800;overflow-wrap:anywhere}.ms-metrics{display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0;font-size:13px}.ms-metrics b{color:#167b96}.ms-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ms-day{padding:8px 1px;border-radius:10px;background:#f0f3f6;text-align:center;border:1px solid #dde5eb;font-size:11px;min-height:50px;cursor:pointer}.ms-day b{display:block;margin-top:4px;font-size:12px}.ms-day.done{background:#e1f4e8;border-color:#abd6b8}.ms-day.partial{background:#fff1d6;border-color:#e6cb8f}.ms-day.off{background:#fff;border-style:dashed}.ms-day.now{outline:2px solid #358fa9;outline-offset:0}.ms-sessions{margin-top:10px;font-size:13px}.ms-session{padding:8px 0;border-bottom:1px solid #edf1f5;overflow-wrap:anywhere}

/* style */
#monthReportDetail .mr-section{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}#monthReportDetail summary{font-weight:800;cursor:pointer}#monthReportDetail .mr-row{padding:10px 0;border-bottom:1px solid #edf1f5}#monthReportDetail .mr-row:last-child{border:0}.mr-values{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:12px;margin-top:5px;color:var(--muted)}.mr-values b{color:var(--ink)}.mr-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:10px}.mr-cell{background:#f2f5f8;border-radius:8px;padding:7px 2px;text-align:center;font-size:10px}.mr-cell b{display:block;font-size:12px}.mr-cell.good{background:#e1f4e8}.mr-cell.mid{background:#fff0d4}.mr-cell.low{background:#fde8e5}.mr-cell.off{background:#e9e5fa}

/* style */
#quickSwitchDialog .qs-today-v242{display:block!important;font-size:11px!important;line-height:1.35!important;font-weight:500!important;color:#617b8b!important;margin-top:4px!important;white-space:normal!important;overflow-wrap:anywhere}
#quickSwitchDialog .quick-switch-type-btn{display:flex;flex-direction:column;align-items:center;justify-content:center}

/* colorTrialV243 */
:root{--ink:#193345;--muted:#526c7d;--line:#c5d4df;--bg:#eaf0f7;--fire-ink:#ce432b;--important-ink:#aa740d;--clean-ink:#157f75;--water-ink:#137fa6;--maintain-ink:#137fa6;--rabbit-ink:#7950a2}
body{background:#eaf0f7!important;color:#193345}
.card{background:#fff!important;border-color:#c6d5e1!important;box-shadow:0 4px 16px rgba(30,57,78,.06)!important}
dialog{border-color:#bccfdd!important;background:#fff!important;color:#193345}
.small,.qs-main small{color:#526c7d!important}
.tab.active{background:#dceafb!important;color:#155c97!important}
#quickSwitchDialog .qs-main b{color:#193345!important}
#quickSwitchDialog .qs-today-v242{color:#476479!important}
#quickSwitchDialog .quick-switch-current{background:#e5f0fa!important;border-color:#a4c4da!important;color:#294e66!important}
.maintain-compact-item{background:#eff6fa!important;border-color:#bbd1df!important}
.maintain-compact-item.done{background:#e0f2e5!important;border-color:#9dc9ac!important}
#quickSwitchDialog .qs-type-fire{--qs-accent:#ce432b;background:#fff0e9!important;border-color:#e9ad9c!important}
#quickSwitchDialog .qs-type-fire .qs-marker{background:#ce432b!important}
#quickSwitchDialog .quick-switch-filter button[data-type="fire"]{background:#fff0e9!important;border-color:#e9ad9c!important;color:#ce432b!important}
.metric-fire{background:#fff0e9!important;border-color:#e9ad9c!important}
#quickSwitchDialog .qs-type-important{--qs-accent:#aa740d;background:#fff3d8!important;border-color:#d8bd76!important}
#quickSwitchDialog .qs-type-important .qs-marker{background:#aa740d!important}
#quickSwitchDialog .quick-switch-filter button[data-type="important"]{background:#fff3d8!important;border-color:#d8bd76!important;color:#aa740d!important}
.metric-important{background:#fff3d8!important;border-color:#d8bd76!important}
#quickSwitchDialog .qs-type-clean{--qs-accent:#157f75;background:#e6f5ef!important;border-color:#9bcfc4!important}
#quickSwitchDialog .qs-type-clean .qs-marker{background:#157f75!important}
#quickSwitchDialog .quick-switch-filter button[data-type="clean"]{background:#e6f5ef!important;border-color:#9bcfc4!important;color:#157f75!important}
.metric-clean{background:#e6f5ef!important;border-color:#9bcfc4!important}
#quickSwitchDialog .qs-type-water{--qs-accent:#137fa6;background:#e6f4fc!important;border-color:#9dcfe4!important}
#quickSwitchDialog .qs-type-water .qs-marker{background:#137fa6!important}
#quickSwitchDialog .quick-switch-filter button[data-type="water"]{background:#e6f4fc!important;border-color:#9dcfe4!important;color:#137fa6!important}
.metric-water{background:#e6f4fc!important;border-color:#9dcfe4!important}
#quickSwitchDialog .qs-type-life{--qs-accent:#35744e;background:#eaf5e9!important;border-color:#add0b2!important}
#quickSwitchDialog .qs-type-life .qs-marker{background:#35744e!important}
#quickSwitchDialog .quick-switch-filter button[data-type="life"]{background:#eaf5e9!important;border-color:#add0b2!important;color:#35744e!important}
.metric-life{background:#eaf5e9!important;border-color:#add0b2!important}
#quickSwitchDialog .qs-type-rest{--qs-accent:#526878;background:#edf1f5!important;border-color:#bdcbd5!important}
#quickSwitchDialog .qs-type-rest .qs-marker{background:#526878!important}
#quickSwitchDialog .quick-switch-filter button[data-type="rest"]{background:#edf1f5!important;border-color:#bdcbd5!important;color:#526878!important}
.metric-rest{background:#edf1f5!important;border-color:#bdcbd5!important}
#quickSwitchDialog .qs-type-rabbit{--qs-accent:#7950a2;background:#f1e8fa!important;border-color:#c8afe0!important}
#quickSwitchDialog .qs-type-rabbit .qs-marker{background:#7950a2!important}
#quickSwitchDialog .quick-switch-filter button[data-type="rabbit"]{background:#f1e8fa!important;border-color:#c8afe0!important;color:#7950a2!important}
.metric-rabbit{background:#f1e8fa!important;border-color:#c8afe0!important}
#quickSwitchDialog .qs-type-sleep{--qs-accent:#455baf;background:#ebedff!important;border-color:#b4beec!important}
#quickSwitchDialog .qs-type-sleep .qs-marker{background:#455baf!important}
#quickSwitchDialog .quick-switch-filter button[data-type="sleep"]{background:#ebedff!important;border-color:#b4beec!important;color:#455baf!important}
.metric-sleep{background:#ebedff!important;border-color:#b4beec!important}
#quickSwitchDialog .quick-switch-item.is-running{border:2px solid var(--qs-accent,#257ca5)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--qs-accent,#257ca5) 15%,transparent)!important}
#quickSwitchDialog .quick-switch-item.is-running .qs-today-v242{font-weight:750!important;color:var(--qs-accent,#257ca5)!important}
#quickSwitchDialog .quick-switch-item.qs-maintain-done{background:#ddf1e3!important;border-color:#91c6a3!important}
button:focus-visible{outline:3px solid #246da3!important;outline-offset:3px}

/* style */
#quickSwitchDialog .quick-switch-item .qs-marker{background:var(--task-marker,var(--qs-accent,#778590))!important}
.tc-colors{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0}.tc-colors button{height:44px;border-radius:50%;border:3px solid transparent;font-size:20px;color:white;font-weight:800;cursor:pointer}.tc-colors button[aria-pressed="true"]{outline:3px solid #203747;outline-offset:2px}.tc-preview{display:flex;gap:12px;padding:16px;background:#f4f7fa;border:1px solid #d0dce4;border-radius:14px}.tc-preview i{width:6px;border-radius:8px;flex-shrink:0}.tc-preview b{overflow-wrap:anywhere}.tc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* style */
#checklistOutputNoticeV245{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 16px;border-radius:14px;background:#173f51;color:#fff;font-size:13px;z-index:10000;pointer-events:none;box-shadow:0 4px 20px #173f5133}
/* style */
#taskStatsDialogV246{width:min(620px,calc(100% - 24px));max-height:88dvh;padding:0;border:1px solid #bdd0df;border-radius:20px;color:#193345;background:#fff}.ts-head{padding:16px;display:flex;justify-content:space-between;align-items:center;gap:8px;position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid #d5e1e8}.ts-head h3{margin:0;font-size:18px;overflow-wrap:anywhere}.ts-body{padding:14px}.ts-tabs{display:flex;gap:8px;margin-bottom:12px}.ts-tabs button{flex:1;min-height:42px}.ts-tabs button[aria-pressed="true"]{background:#1a708f;color:#fff;border-color:#1a708f}.ts-log{padding:10px 0;border-bottom:1px solid #e4edf2;font-size:13px;overflow-wrap:anywhere}.ts-log small{display:block;margin-top:4px;color:#587184}.ts-day{margin-top:12px;border:1px solid #d7e3ea;border-radius:12px;padding:10px}.ts-day summary{font-size:13px;font-weight:700;cursor:pointer}

/* style */
#quickSwitchDialog .quick-switch-item.qs-limit-near{border-color:#d78b27!important;box-shadow:inset 0 0 0 1px #d78b27!important}
#quickSwitchDialog .quick-switch-item.qs-limit-over{border-color:#ce473e!important;box-shadow:inset 0 0 0 1px #ce473e!important}
.qs-limit-warning{display:block;font-size:11px!important;line-height:1.35;margin-top:5px;color:#965300!important;font-weight:800!important;white-space:normal}
.qs-limit-warning.over{color:#b42d27!important}
#homeRunningStripV189{flex-wrap:wrap}.running-limit-v247{flex-basis:100%;width:100%;font-size:12px;line-height:1.35;margin-top:5px;font-weight:750;color:#965300}.running-limit-v247.over{color:#b42d27}
#limitNoticeV247{position:fixed;bottom:90px;left:16px;right:16px;margin:auto;max-width:520px;z-index:10000;padding:14px 16px;background:#fff0d5;border:1px solid #d78b27;border-radius:14px;color:#754209;font-size:14px;pointer-events:none}#limitNoticeV247.over{background:#ffebe8;border-color:#ce473e;color:#922720}

/* colorGroupsV248 */
#quickSwitchDialog .qs-color-groups-v248{display:grid;gap:12px}
#quickSwitchDialog .qs-color-divider-v248{height:2px;border:0;border-radius:2px;background:var(--group-color);opacity:.55;margin:0 0 9px}

/* workspaceTabsV249 */
#maintain .workspace-tabs-v249{display:flex;gap:5px;padding:5px;margin:0 0 12px;border:1px solid #c8d8e3;border-radius:16px;background:#e4edf5}
#maintain .workspace-tabs-v249 button{flex:1;min-width:0;min-height:44px;border:0;border-radius:12px;background:transparent;color:#526878;font:inherit;font-weight:800;cursor:pointer}
#maintain .workspace-tabs-v249 button[aria-selected="true"]{background:#fff;color:#137fa6;box-shadow:0 2px 7px #24475d16}
#maintain .workspace-tabs-v249 button#salayTabV249[aria-selected="true"]{color:#157f75}
#maintain .workspace-tabs-v249 button:focus-visible{outline:2px solid #137fa6;outline-offset:2px}
#maintain [hidden]{display:none!important}

/* style */
.hlp-account-panel{margin:0 0 14px;padding:12px;border:1px solid #d3dde8;border-radius:14px;background:#fff;color:#17212b}
.hlp-account-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px}.hlp-account-email{color:#526878;overflow-wrap:anywhere}
.hlp-account-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.hlp-account-actions button{font-size:14px;min-height:40px}
.hlp-account-panel [hidden]{display:none!important}.hlp-account-status{margin:9px 0 5px;font-size:14px;color:#16735a}.hlp-account-panel small{display:block;font-size:12px;line-height:1.5;color:#526878}.hlp-sync-warn{color:#a64721}
.hlp-account-lock>*:not(.hlp-account-panel){pointer-events:none;opacity:.55}.hlp-account-lock>*:not(.hlp-account-panel) input{pointer-events:none}

/* style */
#hlpAccountDialog{box-sizing:border-box;width:min(100%,480px);max-height:85dvh;margin:auto auto 0;padding:16px 16px max(20px,env(safe-area-inset-bottom));border:1px solid #d3dde8;border-radius:24px 24px 0 0;background:#fff;color:#17212b;box-shadow:0 -12px 48px #17212b26;overflow:auto}
#hlpAccountDialog::backdrop{background:#17212b66}
.hlp-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:18px}
#hlpAccountDialog .hlp-account-panel{border:0;padding:0;margin:0}
#hlpAccountDialog .hlp-account-heading strong{display:none}
#hlpAccountDialog .hlp-account-email{font-size:15px}
#hlpAccountDialog .hlp-account-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:16px 0}
#hlpAccountDialog .hlp-account-actions button{min-height:46px}
#hlpSync,#hlpGoogle{background:#e6f2ff;color:#185e9e;font-weight:700}
#hlpLogout{color:#9b4545}
.hlp-cloud-btn{position:relative;flex-shrink:0}
.hlp-cloud-dot{position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#94a3b8;border:2px solid #fff}
.hlp-cloud-btn[data-status="ok"] .hlp-cloud-dot{background:#24a578}
.hlp-cloud-btn[data-status="warn"] .hlp-cloud-dot{background:#e49a36}
.hlp-cloud-btn[data-status="busy"] .hlp-cloud-dot{background:transparent;border-color:#438ccc;border-right-color:transparent;animation:hlpCloudSpin .9s linear infinite}
@keyframes hlpCloudSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hlp-cloud-btn[data-status="busy"] .hlp-cloud-dot{animation:none}}
@media(max-width:420px){.topbar{gap:6px}.topbar-actions{gap:5px}.topbar .brand h1{font-size:20px}.topbar-actions .notify-btn{width:36px;height:36px}.topbar-actions .date-pill{font-size:12px;padding:7px}}

/* style */
#homeRunningStripV189{display:flex;gap:8px;padding:6px 10px}
#homeRunningStripV189 .home-running-dot{flex:none}
#homeRunningStripV189 .home-running-label{flex:1}
#homeRunningStripV189 .home-running-time{flex:none}
#runningQuickV256{flex:none;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #d4dfe6;border-radius:12px;background:rgba(255,255,255,.8);color:#27465a;font-size:25px;cursor:pointer}
#runningQuickV256:disabled{opacity:.4;cursor:default}
#runningQuickV256:focus-visible{outline:2px solid #287ab6;outline-offset:2px}

/* style */
#quickSwitchDialog .quick-switch-head{align-items:center!important;border-bottom:0!important;margin-bottom:0!important}
#quickSwitchDialog .quick-switch-head h3{font-size:20px!important}
#quickSwitchDialog .qs-color-filter-v278{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:2px 0 10px}
#quickSwitchDialog .qs-color-filter-v278 button{width:30px;height:30px;padding:5px;border:1px solid var(--line);border-radius:50%;background:var(--hlp-surface,#fff);cursor:pointer}
#quickSwitchDialog .qs-color-filter-v278 button:first-child{width:auto;border-radius:10px;padding:4px 9px;font-size:11px;font-weight:750}
#quickSwitchDialog .qs-color-filter-v278 button[aria-pressed="true"]{outline:2px solid var(--hlp-ink,#24475d);outline-offset:1px}
#quickSwitchDialog .qs-color-filter-v278 i{display:block;width:100%;height:100%;border-radius:50%;background:var(--chip-color)}

/* style */
#quickSwitchDialog #quickSwitchCurrent{position:relative!important;overflow:hidden;padding-left:18px!important;background:var(--running-task-bg,#fff9ec)!important;border-color:var(--running-task-border,#d8c58a)!important}
#quickSwitchDialog #quickSwitchCurrent::before{content:''!important;display:block!important;position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--running-task-marker,#aa740d)!important;border-radius:0!important}
#quickSwitchDialog #quickSwitchCurrent .home-running-dot{background:var(--running-task-marker,#aa740d)!important}
#quickSwitchDialog #quickSwitchCurrent .running-limit-v263{display:flex;flex-direction:column;gap:2px}
#quickSwitchDialog #quickSwitchCurrent .running-limit-v263[hidden]{display:none!important}

/* quickStackFixV280 */
#quickSwitchDialog .qs-sticky-stack-v276{display:flex!important;flex-direction:column!important;gap:10px!important;position:sticky!important;top:0!important;margin:0!important;padding:8px 0 10px!important;height:auto!important;overflow:visible!important}
#quickSwitchDialog .qs-sticky-stack-v276>.quick-switch-head,
#quickSwitchDialog .qs-sticky-stack-v276>#quickSwitchCurrent,
#quickSwitchDialog .qs-sticky-stack-v276>.quick-switch-filters{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important;flex:none!important;width:100%!important}
#quickSwitchDialog .qs-sticky-stack-v276>#quickSwitchCurrent{height:auto!important;min-height:76px!important;grid-template-rows:auto auto!important}
#quickSwitchDialog .qs-sticky-stack-v276>#quickSwitchCurrent::before{position:absolute!important;inset:0 auto 0 0!important;height:auto!important}
#quickSwitchDialog .qs-sticky-stack-v276>.quick-switch-head{padding:0!important}
#quickSwitchDialog .qs-sticky-stack-v276>.quick-switch-filters{height:auto!important;padding:0!important}

/* compactHeaderV282 */
.brand-meta-row.header-meta-global-v191{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px 8px!important;margin:3px 0 9px!important;line-height:1.3!important}
.header-meta-global-v191 #hlpPrimaryBadge{white-space:nowrap!important;flex:none!important;font-size:10px!important}
.header-meta-global-v191 .app-version{flex:none!important;font-size:10px!important;padding:2px 7px!important;line-height:1.3!important}
.header-meta-global-v191 #headerScoreChip{flex:none!important;min-height:24px!important;padding:3px 7px!important;font-size:12px!important;gap:3px!important;line-height:1.2!important}
.header-meta-global-v191 #headerAuditLine{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:3px!important;flex:1 1 220px!important;width:auto!important;font-size:10px!important;line-height:1.3!important;min-height:20px!important;margin:0!important}
.header-meta-global-v191 #headerAuditLine>span{white-space:nowrap!important}
@media(max-width:420px){.header-meta-global-v191 #headerAuditLine{flex-basis:100%!important;gap:4px!important}}

/* oneLineHeaderV283 */
.brand-meta-row.header-meta-global-v191{flex-wrap:nowrap!important;gap:4px!important}
.header-meta-global-v191 #hlpPrimaryBadge{font-size:9px!important}
.header-meta-global-v191 .app-version{font-size:9px!important;padding:2px 4px!important}
.header-meta-global-v191 #headerScoreChip{font-size:10px!important;min-height:20px!important;padding:2px 4px!important;gap:2px!important}
.header-meta-global-v191 #headerAuditLine{flex:1 1 0!important;flex-basis:0!important;min-width:0!important;flex-wrap:nowrap!important;gap:2px!important;font-size:9px!important;white-space:nowrap!important}
.header-meta-global-v191 #headerAuditLine .ha-dot{font-size:8px!important}
@media(max-width:360px){.brand-meta-row.header-meta-global-v191{gap:3px!important}.header-meta-global-v191 #headerAuditLine{font-size:8px!important}.header-meta-global-v191 #hlpPrimaryBadge,.header-meta-global-v191 .app-version{font-size:8px!important}}

/* cleanupTabV284 */
#maintain .workspace-tabs-v249{display:none!important}
#goals>.legacy-milestones-v284{display:none!important}
#goals>#salayPanelV249{display:block!important;margin-top:0!important}

/* lineIconsV286 */
.hlp-line-icon-v286{width:21px;height:21px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tabs .tab strong{display:flex!important;align-items:center;justify-content:center;height:25px;margin-bottom:3px!important}
.tabs .tab strong svg{width:23px;height:23px}
.tabs .tab{color:var(--hlp-muted,#70818d)!important}
.tabs .tab.active{color:var(--hlp-accent,#287f96)!important}
.fab.quick-switch-fab{width:50px!important;height:50px!important;display:flex!important;align-items:center;justify-content:center;box-shadow:0 6px 18px #17212b20!important}
.fab.quick-switch-fab svg{width:24px;height:24px}
#runningQuickV256{display:flex!important;align-items:center;justify-content:center;box-shadow:none!important}
button.hlp-icon-only-v286{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;min-height:40px;gap:5px}
.notify-btn svg{stroke-width:2.4!important}

/* boldIconsV287 */
.hlp-line-icon-v286{stroke-width:2.4!important}.notify-btn svg{stroke-width:2.4!important}
/* style */
#salayPanelV249>.row{gap:8px;align-items:center}
.cleanup-filter-v288{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.cleanup-filter-v288 button,.cleanup-filter-v288 select{font:inherit;font-size:11px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--hlp-surface,#fff);color:var(--text);min-height:36px}
.cleanup-filter-v288 button[aria-pressed=true]{background:var(--hlp-accent,#287f96);color:white;border-color:transparent}
#salayGrid .salay-title-block>span,#salayGrid .salay-check-summary,#salayGrid .salay-progress-head>span{display:none!important}
#salayGrid .salay-item{padding:10px!important;box-shadow:none!important}
#salayGrid .salay-progress-head{justify-content:flex-end;margin:4px 0!important}
#salayGrid .salay-assessment-badge{font-size:10px!important;margin-top:4px}
#salayGrid .salay-card-checklist{padding:8px!important}
#salayGrid .salay-card-check-item{grid-template-columns:22px minmax(0,1fr) auto!important;min-height:44px!important;padding:7px 0!important;gap:8px!important}
#salayGrid .salay-card-check-item span{font-size:12px!important}
#salayGrid .salay-card-check-item small{font-size:10px!important}
.cleanup-extra-v288{font-size:11px;margin-top:8px}
.cleanup-extra-v288 summary{cursor:pointer;padding:9px 0;color:var(--muted)}
.cleanup-done-v288{grid-column:1/-1;margin-top:8px}
.cleanup-done-v288>summary{font-size:12px;font-weight:750;padding:10px 0;cursor:pointer}
.cleanup-done-grid-v288{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cleanup-done-grid-v288 .expanded{grid-column:1/-1}
#salayGrid .cleanup-running-v288{border:2px solid var(--hlp-accent,#287f96)!important}
#salayGrid .salay-quick-actions .start{width:auto!important;padding:7px 10px!important;font-size:11px!important}
.cleanup-overview-v288{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;margin-bottom:8px}

/* cleanAlignmentV290 */
#quickSwitchDialog #quickSwitchCurrent>.running-limit-v247{display:none!important}
#quickSwitchDialog #quickSwitchCurrent{grid-template-rows:auto auto!important;min-height:76px!important}
#quickSwitchDialog .qs-color-filter-v278{flex-wrap:nowrap!important;overflow-x:auto;gap:6px!important;padding:3px 2px 5px;margin-bottom:7px!important;scrollbar-width:none}
#quickSwitchDialog .qs-color-filter-v278 button{flex:none;width:26px!important;height:26px!important;padding:4px!important}
#quickSwitchDialog .qs-color-filter-v278 button:first-child{width:auto!important;font-size:10px!important;padding:3px 7px!important}
#quickSwitchDialog .qs-color-filter-v278 button[aria-pressed=true]{outline-width:1.5px!important}
#salayGrid .salay-item-head{display:flex!important;align-items:flex-start!important;gap:5px!important}
#salayGrid .salay-title-block{min-width:0;flex:1}
#salayGrid .salay-title-block>b{display:block;font-size:14px!important;line-height:1.35!important;min-height:38px!important;overflow-wrap:anywhere}
#salayGrid .salay-more{min-width:30px!important;min-height:30px!important;width:30px!important;height:30px!important;padding:3px!important;background:transparent!important;border:0!important;box-shadow:none!important;flex:none}
#salayGrid .salay-assessment-badge{white-space:nowrap!important;font-size:9px!important;padding:3px 5px!important;line-height:1.3!important}
#salayGrid .salay-progress-head b{font-size:15px!important}
#salayGrid .salay-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:9px!important;align-items:center!important}
#salayGrid .salay-quick-actions>button{width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:5px!important;white-space:nowrap!important;font-size:12px!important;border-radius:9px!important;line-height:1.2!important}
#salayGrid .salay-quick-actions>.start{grid-column:1/-1;min-height:36px!important;height:36px!important;font-size:12px!important}
#salayGrid .salay-quick-actions.checklist-mode{padding-top:40px!important}
#salayGrid .salay-group-card{background:var(--hlp-soft,#f5f8fa)!important}
#salayGrid .salay-group-head{padding-bottom:8px!important}
#salayGrid .salay-group-actions{gap:4px!important}
#salayGrid .salay-group-actions button{min-height:32px!important;padding:5px 7px!important;font-size:11px!important;white-space:nowrap!important}

/* style */
/* v292: compact first-screen Today overview; full details remain on card tap. */
body:has(#home.active) .topbar{margin-bottom:5px!important;gap:8px!important}
body:has(#home.active) .brand h1{font-size:20px!important;line-height:1.25!important;margin:0!important}
body:has(#home.active) .topbar-actions{gap:6px!important}
body:has(#home.active) .topbar-actions .notify-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
body:has(#home.active) .brand-meta-row{margin-top:4px!important;margin-bottom:9px!important;line-height:1.3!important}
body:has(#home.active) #homeRunningStripV189{min-height:66px!important;padding:10px 12px!important;gap:3px 9px!important;margin-bottom:10px!important;border-radius:16px!important;grid-template-columns:7px minmax(0,1fr) 36px!important}
body:has(#home.active) #homeRunningStripV189 .home-running-label{font-size:11px!important;line-height:1.35!important}
body:has(#home.active) #homeRunningStripV189 .home-running-time{font-size:22px!important}
body:has(#home.active) #homeRunningStripV189 #runningQuickV256{width:36px!important;height:36px!important;border-radius:11px!important}
#home>.row.between{margin:0 0 7px!important;min-height:28px!important}
#home>.row.between>.small{font-size:11px!important}
#home #dailyTargetBtn{min-height:28px!important;padding:5px 9px!important;font-size:10px!important}
#home #dayStatus{padding:8px 11px!important;margin:0 0 10px!important;border-radius:12px!important;font-size:11px!important;line-height:1.4!important;min-height:0!important}
#home>.grid.focus-keep{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
#home .metric,#home .metric:has(.metric-mini-sub){grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:24px 31px!important;align-content:start!important;align-items:center!important;gap:9px 4px!important;min-height:104px!important;height:auto!important;padding:12px 12px 24px!important;border-radius:16px!important}
#home .metric .battery-pct{grid-column:2!important;grid-row:1!important;font-size:22px!important;letter-spacing:-.5px!important;align-self:center!important}
#home .metric>span{grid-column:1!important;grid-row:1!important;font-size:11px!important;line-height:1.25!important;font-weight:650!important;opacity:1!important;align-self:center!important}
#home .metric>b{grid-column:1/-1!important;grid-row:2!important;font-size:20px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important}
#home .metric .metric-mini-sub,#home .metric .battery-hint-v262{display:none!important}
#home .metric::after{left:12px!important;right:12px!important;bottom:11px!important;height:4px!important}
#home .metric::before{left:12px!important;bottom:11px!important;width:calc(100% - 24px)!important;height:4px!important}
body:has(#home.active) .fab{width:40px!important;height:40px!important;right:10px!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 4px 12px #17212b20!important}
body:has(#home.active) .fab .hlp-line-icon-v286{width:20px!important;height:20px!important}
@media(max-width:360px){#home .metric>b{font-size:18px!important}#home .metric>span{font-size:10px!important}#home .metric .battery-pct{font-size:20px!important}}
@media(max-height:700px){#home .metric,#home .metric:has(.metric-mini-sub){min-height:94px!important;padding-top:9px!important;gap:5px 4px!important}body:has(#home.active) #homeRunningStripV189{margin-bottom:7px!important}#home #dayStatus{margin-bottom:8px!important}}

/* style */
#dataSizeV293{display:grid;gap:4px;padding:11px 12px;font-size:11px;line-height:1.5}
#dataSizeV293 strong{color:var(--hlp-text,#20394b);font-size:13px}
#dataSizeV293 small{font-size:10px;color:var(--hlp-muted,#6b8190)}

/* quickScrollFixV294 */
/* Keep header outside the scrolling task list: no sticky inset can expose cards above it. */
dialog#quickSwitchDialog{height:min(900px,92dvh);overflow:hidden!important}
dialog#quickSwitchDialog>.modal.quick-switch-modal{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important}
#quickSwitchDialog .qs-sticky-stack-v276{position:relative!important;top:auto!important;flex:0 0 auto!important;overflow:hidden!important;padding-top:0!important;background:var(--hlp-surface,#fff)!important;z-index:1!important}
#quickSwitchDialog #quickSwitchList{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;align-content:start!important;padding-top:8px!important;padding-bottom:12px!important;scrollbar-width:thin}
@media(max-width:600px){dialog#quickSwitchDialog{height:100dvh!important}}

/* filterBatteryV296 */
#quickSwitchFilters>button{position:relative!important}
#quickSwitchFilters>button[data-battery-status="full"]{box-shadow:inset 0 0 0 1px currentColor}
#quickSwitchFilters>button[data-battery-status]::after{position:absolute;top:3px;right:4px;width:12px;height:12px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800;line-height:1;pointer-events:none}
#quickSwitchFilters>button[data-battery-status="full"]::after{content:'✓';background:#e4f5e9;color:#24764c}
#quickSwitchFilters>button[data-battery-status="limit"]::after{content:'!';background:#fff0d6;color:#9b5f0a}
#quickSwitchFilters>button[data-battery-status="limit"]{box-shadow:inset 0 0 0 1px #d59636}

/* hlContrastV345 */
/* v345: WCAG AA contrast fixes reported by Lighthouse */
#homeStartCtaV343{background:#b93a0a!important;color:#fff!important}
#headerAuditLine .ha-warn{color:#8a4f0f!important}
.mini-time-battery span,.mini-time-battery .mini-hint-v262{color:#45596a!important}
.near-home-v329 .near-link-v335{color:#1d5f70!important}
.sleep-summary-kpi span,.sleep-summary-kpi small{color:#425569!important}
nav.tabs .tab{color:#55626d!important}
nav.tabs .tab.active{color:#a3340a!important;background:#fff1e8!important}
