/* Mạnh Life V81 — premium Life CRM UI system and motion polish */
:root{
  --ml81-forest-950:#071b15;--ml81-forest-900:#0b2b21;--ml81-forest-800:#123d2f;--ml81-forest-700:#18553f;--ml81-forest-600:#207052;
  --ml81-mint-100:#e8f4ed;--ml81-mint-50:#f3f9f5;--ml81-cream:#fbfaf5;--ml81-gold:#d5ad61;--ml81-ink:#132c23;--ml81-muted:#687a72;
  --ml81-line:#dfe8e3;--ml81-line-strong:#cddbd3;--ml81-danger:#b44c45;--ml81-danger-soft:#fff1ef;--ml81-focus:rgba(32,112,82,.2);
  --ml81-shadow-xs:0 1px 2px rgba(7,27,21,.04);--ml81-shadow-sm:0 7px 20px rgba(7,27,21,.07);--ml81-shadow-md:0 16px 42px rgba(7,27,21,.10);--ml81-ease:cubic-bezier(.2,.8,.2,1)
}
body:has(.ml-focus-app[data-life-goals-v1="true"]){margin:0}
.ml-focus-app[data-life-goals-v1="true"]{
  --ml81-forest-950:#071b15;
  --ml81-forest-900:#0b2b21;
  --ml81-forest-800:#123d2f;
  --ml81-forest-700:#18553f;
  --ml81-forest-600:#207052;
  --ml81-mint-100:#e8f4ed;
  --ml81-mint-50:#f3f9f5;
  --ml81-cream:#fbfaf5;
  --ml81-gold:#d5ad61;
  --ml81-ink:#132c23;
  --ml81-muted:#687a72;
  --ml81-line:#dfe8e3;
  --ml81-line-strong:#cddbd3;
  --ml81-danger:#b44c45;
  --ml81-danger-soft:#fff1ef;
  --ml81-focus:rgba(32,112,82,.2);
  --ml81-shadow-xs:0 1px 2px rgba(7,27,21,.04);
  --ml81-shadow-sm:0 7px 20px rgba(7,27,21,.07);
  --ml81-shadow-md:0 16px 42px rgba(7,27,21,.10);
  --ml81-ease:cubic-bezier(.2,.8,.2,1);
  color:var(--ml81-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Shared control language. Hover never changes element position. */
.ml-focus-app[data-life-goals-v1="true"] button,
.ml-focus-app[data-life-goals-v1="true"] [role="button"]{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transform:none;
  transition:background-color .16s var(--ml81-ease),border-color .16s var(--ml81-ease),color .16s var(--ml81-ease),box-shadow .16s var(--ml81-ease),opacity .16s var(--ml81-ease),transform .09s var(--ml81-ease);
}
.ml-focus-app[data-life-goals-v1="true"] button:hover,
.ml-focus-app[data-life-goals-v1="true"] [role="button"]:hover{transform:none}
.ml-focus-app[data-life-goals-v1="true"] button:active:not(:disabled),
.ml-focus-app[data-life-goals-v1="true"] [role="button"]:active{transform:scale(.975)}
.ml-focus-app[data-life-goals-v1="true"] button:focus{outline:0}
.ml-focus-app[data-life-goals-v1="true"] button:focus-visible,
.ml-focus-app[data-life-goals-v1="true"] [role="button"]:focus-visible,
.ml-focus-app[data-life-goals-v1="true"] input:focus-visible,
.ml-focus-app[data-life-goals-v1="true"] select:focus-visible,
.ml-focus-app[data-life-goals-v1="true"] textarea:focus-visible{
  outline:0;
  border-color:var(--ml81-forest-600)!important;
  box-shadow:0 0 0 4px var(--ml81-focus)!important;
}
.ml-focus-app[data-life-goals-v1="true"] button:disabled,
.ml-focus-app[data-life-goals-v1="true"] button[aria-disabled="true"]{opacity:.5;cursor:not-allowed;box-shadow:none!important}
.ml-focus-app[data-life-goals-v1="true"] button[aria-busy="true"]{cursor:wait;pointer-events:none}
.ml-focus-app[data-life-goals-v1="true"] button[aria-busy="true"]::before{
  content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ml81Spin .7s linear infinite
}

/* Full-screen shell */
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-block{
  gap:14px!important;
  padding:14px!important;
  background:linear-gradient(145deg,#f4f7f5 0,#eef3f0 100%)!important;
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-head{
  border:1px solid rgba(255,255,255,.08)!important;
  background:
    radial-gradient(circle at 12% 4%,rgba(213,173,97,.16),transparent 30%),
    linear-gradient(180deg,var(--ml81-forest-900),var(--ml81-forest-950))!important;
  box-shadow:0 22px 52px rgba(7,27,21,.18)!important;
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-head>div:first-of-type{
  border:1px solid rgba(255,255,255,.1)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035))!important;
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-head>div:first-of-type>span{
  display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border:1px solid rgba(213,173,97,.42);border-radius:999px;color:#f3cf88!important;background:rgba(213,173,97,.09);font-size:10px!important;letter-spacing:.13em!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-head h2{letter-spacing:-.035em!important}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-head p{color:rgba(239,246,242,.68)!important}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-layout{
  border:1px solid rgba(205,219,211,.9)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:var(--ml81-shadow-sm)!important;
}

/* Sidebar navigation */
.ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-toolbar{gap:7px!important}
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool{
  min-height:46px!important;height:46px!important;padding:0 11px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:rgba(239,246,242,.68)!important;box-shadow:none!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool:hover{
  border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.065)!important;color:#fff!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool.active{
  border-color:rgba(255,255,255,.12)!important;background:linear-gradient(90deg,rgba(255,255,255,.13),rgba(255,255,255,.075))!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--ml81-gold)!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool strong{font-size:13px!important;letter-spacing:-.01em}
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool.active .ml-blueprint-icon,
.ml-focus-app[data-life-goals-v1="true"] .ml-blueprint-tool:hover .ml-blueprint-icon{background:rgba(213,173,97,.15)!important;color:#f3cf88!important}
.ml-focus-app[data-life-goals-v1="true"] .ml-crm-sidebar-toggle{
  min-width:36px;min-height:36px;border-radius:11px;background:rgba(255,255,255,.09);color:#f8fbf9;box-shadow:var(--ml81-shadow-xs)
}
.ml-focus-app[data-life-goals-v1="true"] .ml-crm-sidebar-toggle:hover{border-color:rgba(213,173,97,.45);background:rgba(213,173,97,.12);color:#f3cf88}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-sidebar-profile{
  border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.055)!important;box-shadow:none!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-sidebar-profile button{
  min-height:40px!important;border:1px solid rgba(213,173,97,.38)!important;border-radius:12px!important;background:rgba(213,173,97,.12)!important;color:#f3cf88!important;font-size:12px!important;font-weight:850!important
}
.ml-focus-app[data-life-goals-v1="true"] .ml-life-sidebar-profile button:hover{border-color:rgba(243,207,136,.68)!important;background:rgba(213,173,97,.18)!important}

/* Health workspace */
.ml-hos{--hos-green:var(--ml81-forest-700);--hos-green-2:var(--ml81-forest-600);--hos-sage:var(--ml81-mint-100);--hos-ink:var(--ml81-ink);--hos-muted:var(--ml81-muted);--hos-line:var(--ml81-line);--hos-bg:#f6f9f7}
.ml-hos-tabs{height:64px;padding:0 28px;gap:8px;border-bottom:1px solid var(--ml81-line);background:#fff}
.ml-hos-tab{min-width:92px;height:44px;padding:0 15px;border-radius:11px;color:var(--ml81-muted);font-size:13px;font-weight:800}
.ml-hos-tab:hover{background:var(--ml81-mint-50);color:var(--ml81-forest-700)}
.ml-hos-tab.active{background:var(--ml81-mint-100);color:var(--ml81-forest-800)}
.ml-hos-tab.active:after{left:15px;right:15px;bottom:-10px;height:3px;background:var(--ml81-forest-700)}
.ml-hos-view{padding:28px;background:linear-gradient(180deg,#f7faf8 0,#f4f8f5 100%);animation:ml81ViewIn .2s var(--ml81-ease)}
.ml-hos-head{align-items:center;margin-bottom:22px}.ml-hos-head h2{font-size:27px;letter-spacing:-.04em}.ml-hos-head p{margin-top:8px;font-size:12.5px}
.ml-hos-btn{min-height:44px;padding:0 18px;border:1px solid var(--ml81-forest-700);border-radius:12px;background:linear-gradient(180deg,var(--ml81-forest-700),var(--ml81-forest-800));color:#fff;font-size:12px;font-weight:850;box-shadow:0 8px 18px rgba(18,61,47,.16);display:inline-flex;align-items:center;justify-content:center;gap:8px}
.ml-hos-btn:hover:not(:disabled){background:linear-gradient(180deg,var(--ml81-forest-600),var(--ml81-forest-700));box-shadow:0 10px 24px rgba(18,61,47,.2)}
.ml-hos-btn.secondary{border-color:var(--ml81-line-strong);background:#fff;color:var(--ml81-forest-700);box-shadow:var(--ml81-shadow-xs)}
.ml-hos-btn.secondary:hover{border-color:#aac7b7;background:var(--ml81-mint-50)}
.ml-hos-btn.danger{border-color:#efc9c5;background:var(--ml81-danger-soft);color:var(--ml81-danger);box-shadow:none}
.ml-hos-summary{grid-template-columns:180px minmax(0,1fr);gap:22px;margin-bottom:22px;padding:20px 22px;border-radius:18px;border-color:var(--ml81-line);box-shadow:var(--ml81-shadow-xs)}
.ml-hos-percent strong{font-size:38px;letter-spacing:-.055em}.ml-hos-percent span{margin-top:8px;font-size:11px}
.ml-hos-week{gap:10px}.ml-hos-day{padding:10px 5px;border:1px solid transparent;border-radius:12px}.ml-hos-day.today{border-color:#d7e7de;background:var(--ml81-mint-100)}
.ml-hos-day i{width:28px;height:28px;margin:7px auto;border:2px solid #c9d8d0;box-shadow:inset 0 0 0 3px #fff;transition:background .18s var(--ml81-ease)}
.ml-hos-habit-groups{overflow:hidden;border-radius:18px;border-color:var(--ml81-line);box-shadow:var(--ml81-shadow-xs)}
.ml-hos-group{padding:7px 22px}.ml-hos-group-title{padding:16px 0 9px;font-size:11px;letter-spacing:.06em}
.ml-hos-habit{grid-template-columns:40px minmax(180px,1fr) 130px 92px 130px;min-height:66px;border-color:#edf2ef;transition:background-color .16s var(--ml81-ease)}
.ml-hos-habit:hover{background:#fbfdfc}
.ml-hos-check{width:34px;height:34px;border-width:2px;border-color:#bccdc4;background:#fff;color:transparent;font-size:17px;box-shadow:inset 0 0 0 3px #fff,0 2px 6px rgba(7,27,21,.05)}
.ml-hos-check:hover{border-color:var(--ml81-forest-600);background:var(--ml81-mint-50)}
.ml-hos-check.done{border-color:var(--ml81-forest-600);background:var(--ml81-forest-600);color:#fff;box-shadow:0 0 0 4px rgba(32,112,82,.11)}
.ml-hos-check.ml-hos-just-toggled{animation:ml81Check .24s var(--ml81-ease)}
.ml-hos-row-actions{flex-wrap:nowrap}.ml-hos-icon-btn{flex:0 0 40px;width:40px;height:40px;border:1px solid transparent;border-radius:11px;background:#f2f6f3;color:#5d7167;display:grid;place-items:center;font-size:14px}
.ml-hos-icon-btn:hover{border-color:#d3e2da;background:#fff;color:var(--ml81-forest-700);box-shadow:var(--ml81-shadow-xs)}
.ml-hos-habit-main[data-tree-open]{border-radius:10px!important;padding:7px 9px!important}.ml-hos-habit-main[data-tree-open]:hover,.ml-hos-habit-main[data-tree-open]:focus{background:var(--ml81-mint-50)!important}
.tree78-tools span{padding:4px 8px!important;background:var(--ml81-mint-100)!important;color:var(--ml81-forest-700)}

/* Intentional health empty state */
.ml-hos-empty-state{min-height:280px;padding:44px 24px;display:grid;place-items:center;text-align:center;border:1px dashed #c9d9d0;border-radius:18px;background:linear-gradient(145deg,#fff,var(--ml81-mint-50))}
.ml-hos-empty-state>div{max-width:430px}.ml-hos-empty-icon{width:68px;height:68px;margin:0 auto 18px;display:grid;place-items:center;border-radius:22px;background:var(--ml81-mint-100);color:var(--ml81-forest-700);font-size:29px;box-shadow:inset 0 0 0 1px #d6e7de}
.ml-hos-empty-state h3{margin:0;font-size:21px;letter-spacing:-.03em}.ml-hos-empty-state p{margin:9px 0 18px;color:var(--ml81-muted);font-size:12px;line-height:1.6}

/* Modal and form consistency */
.ml-hos-modal,.ml-rel-backdrop,.ml-pf74-modal{background:rgba(7,27,21,.52)!important;backdrop-filter:blur(3px);animation:ml81FadeIn .16s ease-out}
.ml-hos-modal-card,.ml-rel-modal,.ml-pf74-dialog{border:1px solid rgba(255,255,255,.72);border-radius:20px!important;box-shadow:0 30px 80px rgba(7,27,21,.24)!important;animation:ml81ModalIn .2s var(--ml81-ease)}
.ml-hos-modal button,.tree78-shell button,.ml-rel-backdrop button,.ml-pf74-modal button{transform:none;transition:background-color .16s var(--ml81-ease),border-color .16s var(--ml81-ease),color .16s var(--ml81-ease),box-shadow .16s var(--ml81-ease),transform .09s var(--ml81-ease)}
.ml-hos-modal button:hover,.tree78-shell button:hover,.ml-rel-backdrop button:hover,.ml-pf74-modal button:hover{transform:none}.ml-hos-modal button:active:not(:disabled),.tree78-shell button:active:not(:disabled),.ml-rel-backdrop button:active:not(:disabled),.ml-pf74-modal button:active:not(:disabled){transform:scale(.975)}
.ml-hos-modal button:focus-visible,.tree78-shell button:focus-visible,.ml-rel-backdrop button:focus-visible,.ml-pf74-modal button:focus-visible{outline:0;box-shadow:0 0 0 4px var(--ml81-focus)!important}
.ml-hos-close,.ml-rel-modal header button,.ml-pf74-close{width:38px!important;height:38px!important;min-width:38px;border:1px solid var(--ml81-line)!important;border-radius:11px!important;background:#f2f6f3!important;color:#51665c!important}
.ml-hos-close:hover,.ml-rel-modal header button:hover,.ml-pf74-close:hover{border-color:#cbdcd2!important;background:#fff!important;color:var(--ml81-forest-700)!important}
.ml-hos-form input,.ml-hos-form select,.ml-hos-form textarea,.ml-rel-form-grid input,.ml-rel-form-grid select,.ml-rel-form-grid textarea,.ml-pf74-form input,.ml-pf74-form select{
  min-height:43px;border-radius:11px!important;border-color:var(--ml81-line-strong)!important;background:#fff!important
}

/* Relationship and finance buttons/tabs inherit the same tactile language */
.ml-rel-add,.ml-pf74-btn.primary{
  min-height:42px;border:1px solid var(--ml81-forest-700)!important;border-radius:11px!important;background:linear-gradient(180deg,var(--ml81-forest-700),var(--ml81-forest-800))!important;color:#fff!important;font-weight:850!important;box-shadow:0 7px 18px rgba(18,61,47,.15)!important
}
.ml-rel-add:hover,.ml-pf74-btn.primary:hover:not(:disabled){background:linear-gradient(180deg,var(--ml81-forest-600),var(--ml81-forest-700))!important;box-shadow:0 10px 22px rgba(18,61,47,.2)!important}
.ml-pf74-btn{min-height:40px;border-color:var(--ml81-line-strong)!important;border-radius:10px!important;background:#fff;color:var(--ml81-ink);font-size:12px;font-weight:800;box-shadow:var(--ml81-shadow-xs)}
.ml-pf74-btn:hover:not(:disabled){border-color:#b8cec2!important;background:var(--ml81-mint-50)!important;color:var(--ml81-forest-700)!important;box-shadow:var(--ml81-shadow-sm)!important}
.ml-pf74-btn.mini{min-height:34px;border-radius:9px!important}.ml-pf74-btn.danger{border-color:#efcfcb!important;background:var(--ml81-danger-soft)!important;color:var(--ml81-danger)!important;box-shadow:none}
.ml-pf74-tab{min-height:42px;border-radius:10px;font-size:12px}.ml-pf74-tab:hover{background:#fff;color:var(--ml81-forest-700)}.ml-pf74-tab.active{background:var(--ml81-forest-800);box-shadow:0 5px 14px rgba(18,61,47,.15)}
.ml-rel-toolbar button,.ml-rel-tabs button,.ml-rel-modal footer button{min-height:38px;border-radius:10px!important}
.ml-rel-toolbar button:hover,.ml-rel-tabs button:hover:not(.active),.ml-rel-modal footer button:hover{border-color:#bfd2c7!important;background:var(--ml81-mint-50)!important;color:var(--ml81-forest-700)!important}
.ml-rel-tabs button.active{background:var(--ml81-forest-800)!important;box-shadow:0 4px 12px rgba(18,61,47,.12)}
.ml-rel-more{width:36px;height:36px;border-radius:10px}.ml-rel-more:hover{border-color:#b9d0c3;background:var(--ml81-mint-50);color:var(--ml81-forest-700)}

/* Nested habit drawer */
.tree78-shade{background:rgba(7,27,21,.52)!important;backdrop-filter:blur(3px)!important;animation:ml81FadeIn .16s ease-out}
.tree78-shell aside{background:#f6f9f7!important;box-shadow:-28px 0 80px rgba(7,27,21,.22)!important;animation:ml81DrawerIn .2s var(--ml81-ease)!important}
.tree78-shell header{padding:16px 20px!important;border-color:var(--ml81-line)!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(8px)}
.tree78-shell nav button{min-height:36px;padding:0 9px!important;border-radius:9px!important;color:var(--ml81-forest-700)!important}.tree78-shell nav button:hover{background:var(--ml81-mint-100)!important}
.tree78-shell header>button,.tree78-delete,.tree78-audio button{width:38px!important;height:38px!important;min-width:38px;border:1px solid var(--ml81-line)!important;border-radius:11px!important;background:#f2f6f3!important;color:#52685d!important}
.tree78-shell header>button:hover{background:#fff!important;color:var(--ml81-forest-700)!important}.tree78-delete:hover,.tree78-audio button:hover{border-color:#ecc4c0!important;background:var(--ml81-danger-soft)!important;color:var(--ml81-danger)!important}
.tree78-rec,.tree78-add button{min-height:43px!important;border:1px solid var(--ml81-forest-700)!important;border-radius:11px!important;background:linear-gradient(180deg,var(--ml81-forest-700),var(--ml81-forest-800))!important;color:#fff!important;font-weight:850!important;box-shadow:0 7px 18px rgba(18,61,47,.14)}
.tree78-rec:hover,.tree78-add button:hover{background:linear-gradient(180deg,var(--ml81-forest-600),var(--ml81-forest-700))!important;box-shadow:0 10px 22px rgba(18,61,47,.18)}
.tree78-rec.on{border-color:#a63f39!important;background:var(--ml81-danger)!important}.tree78-add input{min-height:43px!important;border-color:var(--ml81-line-strong)!important;border-radius:11px!important}.tree78-add input:focus{outline:0;border-color:var(--ml81-forest-600)!important;box-shadow:0 0 0 4px var(--ml81-focus)!important}
.ml-hos-icon-btn.tree78-requesting,.tree78-rec.tree78-requesting{border-color:#e3c26f!important;background:#fff6d9!important;color:#806020!important;box-shadow:0 0 0 4px rgba(213,173,97,.16)!important}
.ml-hos-icon-btn.tree78-recording,.tree78-rec.tree78-recording{border-color:#a9443e!important;background:var(--ml81-danger)!important;color:#fff!important;box-shadow:0 0 0 4px rgba(180,76,69,.14)!important;animation:tree78-recording-pulse 1.1s ease-in-out infinite!important}
.tree78-box{border-color:var(--ml81-line)!important;border-radius:17px!important;box-shadow:var(--ml81-shadow-xs)}.tree78-child{min-height:64px!important}.tree78-check{width:32px!important;height:32px!important;border-color:#bdcec5!important}.tree78-check:hover{border-color:var(--ml81-forest-600)!important;background:var(--ml81-mint-50)!important}.tree78-check.done{border-color:var(--ml81-forest-600)!important;background:var(--ml81-forest-600)!important}

/* Generic CRM buttons generated by the core renderer */
.ml-sandbox-check-actions button,.ml-sandbox-filter-panel button,.ml-sandbox-board-head button,.ml-sandbox-action-icons button,.ml-sandbox-bulk-row button{
  min-height:40px!important;border-radius:11px!important;font-weight:800!important
}
.ml-sandbox-check-actions button:hover,.ml-sandbox-filter-panel button:hover,.ml-sandbox-board-head button:hover,.ml-sandbox-action-icons button:hover,.ml-sandbox-bulk-row button:hover{box-shadow:var(--ml81-shadow-sm)!important}

/* Career keeps exactly two top-level areas; their projects live one level below. */
.ml-career-area-row td{background:#fffdf8!important}
.ml-career-area-row.expanded td{border-bottom-color:transparent!important;background:#f8fcf9!important}
.ml-career-area-toggle,.ml-career-child-count{border:0;background:transparent;color:var(--ml81-ink);font:inherit;box-shadow:none!important}
.ml-career-area-toggle{min-height:34px;padding:0 8px 0 0;display:inline-flex;align-items:center;gap:9px;text-align:left}
.ml-career-area-toggle>span{width:26px;height:26px;display:grid;place-items:center;border:1px solid #d6e3dc;border-radius:8px;background:#fff;color:var(--ml81-forest-700);font-size:19px;line-height:1}
.ml-career-area-toggle strong{font-size:13px;font-weight:900}
.ml-career-child-count{min-height:30px;padding:0 10px;border:1px solid #cfe3d8;border-radius:999px;background:var(--ml81-mint-100);color:var(--ml81-forest-700);font-size:10.5px;font-weight:850;white-space:nowrap}
.ml-career-area-toggle:hover,.ml-career-child-count:hover{color:var(--ml81-forest-600);box-shadow:none!important}
.ml-career-projects-row>td{padding-top:0!important;background:#f8fcf9!important;white-space:normal!important}
.ml-career-projects-row:hover>td{background:#f8fcf9!important}
.ml-career-projects-panel{margin:0 0 12px;padding:14px;border:1px solid #dbe9e1;border-radius:14px;background:#fff;box-shadow:var(--ml81-shadow-xs)}
.ml-career-projects-head{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:11px}
.ml-career-projects-head>div{display:grid;gap:4px}.ml-career-projects-head strong{font-size:12.5px}.ml-career-projects-head small{color:var(--ml81-muted);font-size:10.5px;font-weight:700}
.ml-career-projects-head>button{min-height:36px;padding:0 12px;border:1px solid var(--ml81-forest-700);border-radius:10px;background:var(--ml81-forest-800);color:#fff;font-size:10.5px;font-weight:850;white-space:nowrap}
.ml-career-project-list{display:grid;gap:7px}
.ml-career-project-item{min-height:46px;padding:7px 8px 7px 12px;display:grid;grid-template-columns:minmax(180px,1fr) auto 32px;align-items:center;gap:12px;border:1px solid #e2ebe6;border-radius:11px;background:#fbfdfc}
.ml-career-project-item>div{display:grid;gap:3px}.ml-career-project-item strong{font-size:12px}.ml-career-project-item small,.ml-career-project-item>span{color:var(--ml81-muted);font-size:10px;font-weight:700}
.ml-career-project-item>a{color:var(--ml81-forest-600);font-size:10.5px;font-weight:850;text-decoration:none}.ml-career-project-item>a:hover{text-decoration:underline}
.ml-career-project-item>button{width:32px;height:32px;border:1px solid #ead3d0;border-radius:9px;background:var(--ml81-danger-soft);color:var(--ml81-danger);font-size:17px}
.ml-career-project-empty{padding:15px;border:1px dashed #cadbd2;border-radius:11px;background:#fbfdfc;color:var(--ml81-muted);font-size:11px;font-weight:700;text-align:center}
.ml-career-project-form{margin-top:9px;padding:10px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto auto;gap:8px;border:1px solid #cfe1d7;border-radius:12px;background:var(--ml81-mint-50)}
.ml-career-project-form input{min-width:0;min-height:38px;padding:0 11px;border:1px solid var(--ml81-line-strong);border-radius:9px;background:#fff;color:var(--ml81-ink);font-family:inherit;font-size:11px;font-weight:750;line-height:1.2}
.ml-career-project-form button{min-height:38px;padding:0 13px;border:1px solid var(--ml81-forest-700);border-radius:9px;background:var(--ml81-forest-800);color:#fff;font-size:10.5px;font-weight:850}
.ml-career-project-form button.secondary{border-color:var(--ml81-line-strong);background:#fff;color:var(--ml81-muted)}

/* Firebase status participates in the visual system without moving layout. */
#mlFirebaseSyncStatus{min-height:42px!important;border-radius:999px!important;padding:0 16px!important;background:rgba(255,255,255,.96)!important;color:var(--ml81-forest-800)!important;font-size:12px!important;font-weight:800!important;box-shadow:0 10px 30px rgba(7,27,21,.12)!important;transform:none!important;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease!important}
#mlFirebaseSyncStatus:hover{background:#fff!important;box-shadow:0 14px 36px rgba(7,27,21,.16)!important;transform:none!important}
#mlFirebaseSyncStatus[data-sync-state="error"]{border-color:#e5aaa5!important;background:#fff5f3!important;color:var(--ml81-danger)!important}
#mlFirebaseSyncStatus[data-sync-state="uploading"],#mlFirebaseSyncStatus[data-sync-state="starting"]{border-color:#dec58f!important;background:#fffaf0!important;color:#806020!important}
#mlFirebaseSyncStatus[data-sync-state="synced"]{border-color:#83c3a6!important;background:#f8fdf9!important;color:var(--ml81-forest-700)!important}

@keyframes ml81Spin{to{transform:rotate(360deg)}}
@keyframes ml81ViewIn{from{opacity:.72;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes ml81FadeIn{from{opacity:0}to{opacity:1}}
@keyframes ml81ModalIn{from{opacity:.7;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}
@keyframes ml81DrawerIn{from{opacity:.72;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes ml81Check{50%{transform:scale(.84)}100%{transform:scale(1)}}
@keyframes tree78-recording-pulse{50%{opacity:.72;box-shadow:0 0 0 7px rgba(180,76,69,.10);transform:none}}

@media(max-width:900px){
  .ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-block{padding:8px!important}
  .ml-focus-app[data-life-goals-v1="true"] .ml-life-blueprint-layout{border-radius:18px!important}
  .ml-hos-view{padding:20px}.ml-hos-tabs{padding:0 16px}.ml-hos-summary{grid-template-columns:150px minmax(0,1fr);padding:18px}
}
@media(max-width:700px){
  .ml-hos-tabs{height:58px;gap:4px;padding:0 10px;overflow-x:auto}.ml-hos-tab{min-width:auto;height:40px;padding:0 13px}.ml-hos-tab.active:after{bottom:-9px}
  .ml-hos-view{padding:14px}.ml-hos-head{align-items:stretch;gap:14px}.ml-hos-head .ml-hos-btn{width:100%}.ml-hos-head h2{font-size:24px}
  .ml-hos-summary{grid-template-columns:1fr;padding:16px}.ml-hos-week{gap:4px}.ml-hos-day{padding:8px 2px}.ml-hos-day i{width:24px;height:24px}
  .ml-hos-group{padding:5px 13px}.ml-hos-habit{grid-template-columns:40px minmax(0,1fr) 30px!important;grid-template-areas:"check main streak" ". actions actions";align-items:start;min-height:62px;padding:10px 0}.ml-hos-check{grid-area:check}.ml-hos-habit-main{grid-area:main}.ml-hos-meta{display:none}.ml-hos-streak{grid-area:streak;align-self:center}.ml-hos-row-actions{grid-area:actions;justify-self:end;margin-top:5px}.ml-hos-icon-btn{flex:0 0 40px;width:40px!important;height:40px!important}
  #mlFirebaseSyncStatus{right:12px!important;bottom:12px!important;max-width:calc(100vw - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ml-career-table{width:100%!important;min-width:0!important;table-layout:fixed}.ml-career-table thead{display:none}.ml-career-table th:nth-child(n+3),.ml-career-area-row td:nth-child(n+3){display:none}.ml-career-table th:first-child,.ml-career-table td:first-child{width:42px!important}.ml-career-table th:nth-child(2){width:auto}.ml-career-table th,.ml-career-table td{padding:9px 7px!important}.ml-career-table .ml-career-projects-row>td{padding:0 7px 10px!important}.ml-career-projects-panel{margin-bottom:3px;padding:11px}.ml-career-projects-head{align-items:stretch;flex-direction:column}.ml-career-projects-head>button{width:100%}.ml-career-project-item{grid-template-columns:minmax(150px,1fr) 32px}.ml-career-project-item>a,.ml-career-project-item>span{grid-column:1/-1;grid-row:2}.ml-career-project-form{grid-template-columns:1fr}.ml-career-project-form button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .ml-focus-app[data-life-goals-v1="true"] *,#mlFirebaseSyncStatus{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .ml-focus-app[data-life-goals-v1="true"] button:active:not(:disabled),.ml-focus-app[data-life-goals-v1="true"] [role="button"]:active{transform:none}
}
