@charset "UTF-8";

:root{
  --ink:#1d2d27;
  --ink-2:#394942;
  --muted:#687871;
  --muted-2:#93a098;
  --line:#e2e8e4;
  --line-strong:#d5ddd8;
  --bg:#f5f7f6;
  --surface:#ffffff;
  --surface-soft:#f8faf9;
  --surface-quiet:#eff3f1;
  --accent:#245b4d;
  --accent-strong:#19483d;
  --accent-soft:#eaf2ee;
  --ok:#3b7352;
  --ok-soft:#eef6f0;
  --warn:#8b6527;
  --warn-soft:#fff7e9;
  --bad:#994b40;
  --bad-soft:#fff1ef;
  --shadow-xs:0 1px 2px rgba(29,45,39,.035);
  --shadow-sm:0 8px 26px rgba(29,45,39,.055);
  --shadow-lg:0 24px 64px rgba(20,35,29,.16);
  --r-sm:9px;
  --r-md:12px;
  --r-lg:15px;
  --r-xl:20px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:32px;
}

*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(800px 340px at 70% -190px,rgba(36,91,77,.055),transparent 72%),
    var(--bg);
  color:var(--ink);
  font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.006em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,input,select,textarea{font:inherit;color:inherit}
button,a,summary{-webkit-tap-highlight-color:transparent}
a{color:inherit}
button{cursor:pointer;touch-action:manipulation}
button:disabled{opacity:.52;cursor:not-allowed}
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid rgba(36,91,77,.16);
  outline-offset:2px;
}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
h1{font-size:30px;font-weight:760;letter-spacing:-.045em;line-height:1.12}
h2{font-size:16px;letter-spacing:-.02em;font-weight:740}
h3{font-size:13px;font-weight:720}
small{display:block;font-size:11px;color:var(--muted)}
.muted{color:var(--muted)}
.eyebrow{
  margin-bottom:7px;
  color:var(--muted-2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.skip{position:fixed;left:16px;top:-100px;z-index:100;background:white;padding:12px;border-radius:10px;box-shadow:var(--shadow-sm)}
.skip:focus{top:8px}

#sidebar{
  position:fixed;
  inset:0 auto 0 0;
  z-index:30;
  width:248px;
  display:flex;
  flex-direction:column;
  overflow:auto;
  padding:24px 16px 16px;
  border-right:1px solid var(--line);
  background:rgba(255,255,255,.97);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 7px;
  color:var(--ink);
  font-size:21px;
  font-weight:760;
  letter-spacing:-.035em;
  text-decoration:none;
}
.brand small{margin-top:1px;font-size:9.5px;font-weight:520;letter-spacing:0}
.mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 auto;
  border-radius:11px;
  background:linear-gradient(145deg,#173d33,var(--accent));
  color:#fff;
  font-size:22px;
  font-weight:780;
  line-height:1;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.mark.mini{width:33px;height:33px;border-radius:10px;font-size:18px}
.home-switch{
  display:flex;
  align-items:center;
  gap:10px;
  margin:24px 3px 12px;
  padding:10px 11px;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  background:var(--surface-soft);
  font-size:12px;
}
.home-icon{font-size:23px;color:var(--muted)}
.dot{width:6px;height:6px;margin-left:auto;border-radius:50%;background:#5f8d73}
.nav-label{
  padding:16px 11px 5px;
  color:var(--muted-2);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
nav a,.sidebar-bottom>a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:38px;
  margin:1px 0;
  padding:8px 11px;
  border-radius:9px;
  color:#5b6b63;
  font-size:12px;
  font-weight:620;
  text-decoration:none;
  transition:background .14s ease,color .14s ease;
}
nav a:hover,.sidebar-bottom>a:hover{background:var(--surface-soft);color:var(--ink)}
nav a.active,.sidebar-bottom>a.active{background:var(--accent-soft);color:var(--accent);font-weight:730}
nav a span{font-size:10px;color:var(--accent)}
.sidebar-bottom{margin-top:auto;padding-top:20px}
.account{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:13px;
  padding:16px 7px 0;
  border-top:1px solid var(--line);
  font-size:12px;
}
.avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:35px;
  height:35px;
  flex:0 0 auto;
  border:1px solid #dbe5df;
  border-radius:50%;
  background:#edf3ef;
  color:var(--accent);
  font-size:11px;
  font-weight:720;
}

.workspace{margin-left:248px;min-width:0}
.topbar{
  position:sticky;
  top:0;
  z-index:25;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  padding:0 34px;
  border-bottom:1px solid rgba(226,232,228,.9);
  background:rgba(245,247,246,.88);
  backdrop-filter:blur(16px) saturate(135%);
  -webkit-backdrop-filter:blur(16px) saturate(135%);
}
.topbar-left{display:flex;align-items:center;gap:8px;min-width:0}
.mobile-brand{align-items:center;gap:8px;text-decoration:none}
.mobile-brand strong{font-size:15px;letter-spacing:-.025em}
.breadcrumb{font-size:11px;color:var(--muted)}
.breadcrumb span{padding:0 11px;color:#b6c0ba}
.breadcrumb strong{color:var(--ink);font-weight:650}
.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--muted);
  font-size:10px;
  font-weight:690;
  line-height:1.15;
  white-space:nowrap;
}
.badge.good{border-color:#dcebe2;background:var(--ok-soft);color:var(--ok)}
.badge.pending{border-color:#efe3c8;background:var(--warn-soft);color:var(--warn)}
.badge.rejected{border-color:#efd8d4;background:var(--bad-soft);color:var(--bad)}

main{max-width:1320px;min-height:calc(100vh - 118px);margin:auto;padding:32px 36px 52px}
.page-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}
.page-heading .muted{max-width:700px;margin-top:7px;font-size:12.5px}
.button{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:40px;
  padding:8px 13px;
  border:1px solid var(--line-strong);
  border-radius:10px;
  background:var(--surface);
  color:var(--ink-2);
  font-size:12px;
  font-weight:720;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:var(--shadow-xs);
  transition:background .14s ease,border-color .14s ease,transform .12s ease,box-shadow .14s ease;
}
.button:hover{transform:translateY(-1px);border-color:#c7d2cb;background:var(--surface-soft)}
.button:active{transform:translateY(0)}
.button.primary{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 2px 8px rgba(29,45,39,.12)}
.button.primary:hover{border-color:var(--accent-strong);background:var(--accent-strong)}
.button.small{min-height:34px;padding:6px 10px;font-size:11px}
.icon-button{
  min-width:40px;
  min-height:40px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--ink);
  font-size:21px;
}
.icon-button:hover{background:var(--surface-soft)}
.demo-note{
  margin-bottom:22px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.58);
  color:#77827c;
  font-size:10.5px;
}

.metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:2px 0 24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.metric{min-height:92px;padding:16px 20px;border-right:1px solid var(--line)}
.metric:first-child{padding-left:0}
.metric:last-child{border-right:0}
.metric .label{color:var(--muted-2);font-size:10.5px;font-weight:700}
.metric .value{display:block;margin:6px 0 3px;color:var(--ink);font-size:27px;line-height:1;font-weight:760;letter-spacing:-.045em}
.metric small{font-size:10.5px}
.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:18px}
.equal{grid-template-columns:repeat(2,minmax(0,1fr))}
.panel{
  overflow:hidden;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  background:var(--surface);
  box-shadow:var(--shadow-xs);
}
.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
}
.panel-head h2{font-size:14px}
.panel-body{padding:18px}
.panel-body>p+p{margin-top:11px}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 18px;
  border-bottom:1px solid #edf1ee;
}
.row:last-child{border-bottom:0}
.row p{margin-top:3px;color:var(--muted);font-size:11px}
.row strong{font-size:12px;font-weight:680}
.row-main{display:flex;align-items:center;gap:11px;min-width:0}
.row .number{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:10.5px}
.priority{border-left:3px solid #c49a55}
.action-link{color:var(--accent);font-size:11px;font-weight:680;text-decoration:none}
.empty{padding:34px 22px;text-align:center;color:var(--muted);font-size:12px}
.empty strong{display:block;margin-bottom:5px;color:var(--ink)}
.timeline{position:relative;margin-left:4px;padding-left:20px;border-left:1px solid var(--line)}
.timeline>div{position:relative;padding:0 0 20px}
.timeline>div:last-child{padding-bottom:0}
.timeline>div:before{content:"";position:absolute;left:-24px;top:6px;width:7px;height:7px;border:2px solid white;border-radius:50%;background:#a7c0b3}
.timeline time{color:var(--muted-2);font-size:10px}
.timeline strong{display:block;margin:3px 0;font-size:12px;font-weight:680}
.timeline p{color:var(--muted);font-size:11px}
.callout{padding:18px 20px;border:1px solid #dce8e1;border-radius:var(--r-lg);background:linear-gradient(180deg,#f6faf8,#eef5f1)}
.callout h2{margin-bottom:7px;font-size:14px}
.callout p{color:#5c7065;font-size:12px}
.callout .button{margin-top:15px}
.tabs{display:flex;gap:5px;overflow:auto;margin-bottom:20px;padding-bottom:7px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.tabs button{min-height:34px;padding:7px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-size:11.5px;font-weight:660;white-space:nowrap}
.tabs button.active{border-color:#d8e5de;background:var(--accent-soft);color:var(--accent);font-weight:740}
.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.toolbar select,.toolbar input{width:auto;min-width:160px}
.toolbar .spacer{flex:1}
.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
table{width:100%;border-collapse:collapse;font-size:11.5px;text-align:left}
th{background:#fbfcfb;color:var(--muted-2);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
th,td{padding:10px 16px;border-bottom:1px solid var(--line)}
tr:last-child td{border-bottom:0}
td{color:#536159}
td strong{color:var(--ink);font-weight:650}
.progress{height:5px;overflow:hidden;margin-top:10px;border-radius:999px;background:#e7ece9}
.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#67927f)}
.rota-scroll-hint{display:none;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 8px;color:var(--muted-2);font-size:9.5px}
.rota-scroll-hint span:last-child{color:var(--muted);font-weight:760}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(108px,1fr));gap:7px;min-width:790px;padding:2px}
.day{min-height:160px;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);scroll-snap-align:start}
.day>strong{display:block;padding-bottom:7px;border-bottom:1px solid #ebefec;font-size:11px}
.shift-chip{margin-top:7px;padding:7px;border-left:2px solid #7ea18f;border-radius:7px;background:#eef4f0;color:#4a5b52;font-size:10px;line-height:1.35}
.shift-chip.on-call{border-color:#9ca6bf;background:#f0f2f7}
.section-intro{max-width:760px;margin-bottom:20px;color:var(--muted);font-size:12.5px}
.foundation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.foundation-item{padding:18px 0;border-bottom:1px solid var(--line)}
.foundation-item p{margin-top:6px;color:var(--muted);font-size:12px}
.foundation-item .badge{margin-top:9px}
.evidence{white-space:pre-wrap;overflow-wrap:anywhere}
.feedback{min-height:18px;margin-top:13px;color:var(--warn);font-size:11.5px;white-space:pre-wrap}
.error{padding:18px;border:1px solid #ebd4ce;border-radius:11px;background:#fff8f5;color:#874b3d}
.error button{margin-top:12px}
#page[aria-busy="true"]{opacity:.72;transition:opacity .12s ease}
footer{display:flex;justify-content:space-between;padding:15px 36px;border-top:1px solid var(--line);color:#87928c;font-size:10px}

dialog{
  width:min(600px,calc(100vw - 28px));
  max-height:min(90vh,760px);
  overflow:auto;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  background:var(--surface);
  color:var(--ink);
  box-shadow:var(--shadow-lg);
}
dialog::backdrop{background:rgba(20,35,29,.48);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
dialog .muted{margin:11px 0 17px;font-size:12px}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
label{display:grid;gap:6px;margin:13px 0;color:var(--ink-2);font-size:11px;font-weight:680}
input,select,textarea{
  width:100%;
  min-width:0;
  min-height:42px;
  padding:9px 10px;
  border:1px solid var(--line-strong);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-size:12px;
  box-shadow:0 1px 1px rgba(20,35,29,.015);
  transition:border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
textarea{min-height:78px;resize:vertical}
input:hover,select:hover,textarea:hover{border-color:#c4cec8}
input:focus,select:focus,textarea:focus{outline:none;border-color:#92b1a2;box-shadow:0 0 0 3px rgba(36,91,77,.09)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.check{display:flex;align-items:center;gap:8px}
.check input{width:16px;height:16px;min-height:0}
summary{padding:8px 0;color:var(--accent);font-size:12px;font-weight:650;cursor:pointer}
.quickbar{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mobile-only{display:none}
#toast{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:80;
  max-width:calc(100vw - 40px);
  padding:11px 15px;
  border:1px solid #2e4038;
  border-radius:11px;
  background:#1f2e28;
  color:#fff;
  font-size:11.5px;
  box-shadow:0 16px 40px rgba(20,35,29,.2);
}
#toast:empty{display:none}
.mobile-nav,.nav-scrim{display:none}

@media(min-width:1500px){main{padding-top:40px}}
@media(max-width:1100px){
  #sidebar{width:224px;padding-left:12px;padding-right:12px}
  .workspace{margin-left:224px}
  main{padding:28px}
  .topbar{padding:0 28px}
  .grid{grid-template-columns:1fr}
  .foundation-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  body{font-size:13.5px}
  #sidebar{
    display:none;
    top:58px;
    width:min(286px,86vw);
    z-index:60;
    padding-top:18px;
    box-shadow:18px 0 60px rgba(20,35,29,.16);
  }
  #sidebar.open{display:flex}
  .nav-scrim.open{display:block;position:fixed;inset:58px 0 0;z-index:55;border:0;background:rgba(20,35,29,.24);backdrop-filter:blur(2px)}
  .workspace{margin-left:0}
  .topbar{min-height:58px;padding:0 12px;z-index:50;background:rgba(255,255,255,.92)}
  .topbar-left{gap:7px}
  .mobile-only{display:flex}
  .breadcrumb{display:none}
  .badge{font-size:9px}
  main{padding:22px 14px 96px}
  .page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}
  .page-heading .button{align-self:flex-start}
  h1{font-size:26px}
  .page-heading .muted{font-size:11.5px}
  .metrics{grid-template-columns:repeat(2,1fr);margin-bottom:20px}
  .metric{min-height:82px;padding:13px 12px}
  .metric:first-child,.metric:nth-child(3){padding-left:0}
  .metric:nth-child(2){border-right:0}
  .metric:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .metric .value{font-size:22px}
  .panel-head,.panel-body{padding:15px}
  .row{align-items:flex-start;padding:12px 15px}
  .foundation-grid,.equal{grid-template-columns:1fr}
  .tabs{margin-left:-2px;margin-right:-2px;margin-bottom:18px}
  .toolbar{align-items:stretch}
  .toolbar select,.toolbar input{flex:1;min-width:135px}
  .toolbar .spacer{display:none}
  .toolbar .button{flex:1}
  .form-grid{grid-template-columns:1fr;gap:0}
  footer{padding:14px 14px 82px}
  .demo-note{margin-bottom:18px}
  dialog{padding:19px;border-radius:17px}
  .dialog-actions{flex-wrap:wrap}
  .dialog-actions .button{flex:1}
  .rota-scroll-hint{display:flex}
  .table-wrap{overscroll-behavior-x:contain}
  .calendar{min-width:760px;scroll-snap-type:x proximity}
  .mobile-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:max(8px,env(safe-area-inset-bottom));
    z-index:54;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    min-height:62px;
    padding:5px;
    border:1px solid rgba(213,221,216,.9);
    border-radius:17px;
    background:rgba(255,255,255,.95);
    box-shadow:0 14px 38px rgba(20,35,29,.14);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
  }
  .mobile-nav a,.mobile-nav button{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:50px;
    padding:5px 2px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#8b9891;
    font-size:9px;
    font-weight:720;
    text-decoration:none;
  }
  .mobile-nav .nav-icon{display:grid;place-items:center;width:20px;height:20px;color:inherit;font-size:15px;line-height:1}
  .mobile-nav a.active{background:#f0f5f2;color:var(--ink)}
  .mobile-nav a.active:after{content:"";position:absolute;bottom:2px;width:14px;height:2px;border-radius:99px;background:var(--accent)}
  #toast{right:10px;bottom:82px;max-width:calc(100vw - 20px)}
}

@media(max-width:440px){
  main{padding-left:12px;padding-right:12px}
  .metrics{gap:0}
  .metric{padding-right:9px}
  .button{padding-left:11px;padding-right:11px}
  .mobile-brand strong{font-size:14px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

[hidden]{display:none!important}
.auth-gate{
  position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:22px;
  background:linear-gradient(145deg,#f3f6f4 0%,#eef3f0 55%,#f8faf9 100%);
}
.auth-card{
  width:min(430px,100%);padding:30px;border:1px solid var(--line);border-radius:22px;
  background:rgba(255,255,255,.98);box-shadow:0 26px 80px rgba(20,35,29,.14);
}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:32px}
.auth-brand strong{display:block;font-size:20px;letter-spacing:-.035em}
.auth-brand small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.auth-card h1{margin:4px 0 8px;font-size:27px}
.auth-card .muted{margin:0 0 18px}
.auth-submit{width:100%;margin-top:7px}
.auth-text-button{
  width:100%;margin-top:10px;padding:8px;border:0;background:transparent;color:var(--accent);
  font-size:12px;font-weight:720;text-align:center
}
.auth-text-button:hover{text-decoration:underline}
.auth-hint{margin:-2px 0 8px;color:var(--muted);font-size:10.5px;line-height:1.45}
.account-copy{min-width:0;flex:1}
.account-copy strong,.account-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.logout-button{
  min-height:30px;padding:5px 7px;border:0;border-radius:8px;background:transparent;color:var(--muted);
  font-size:9.5px;font-weight:700;cursor:pointer
}
.logout-button:hover{background:var(--surface-soft);color:var(--ink)}
.error-text{color:var(--bad)!important}


/* UX polish — calm, clearer hierarchy, larger touch targets */
body{font-size:15px;line-height:1.55}
h1{font-size:34px;line-height:1.08}
h2{font-size:17px}
small{font-size:12px}
#sidebar{width:236px;padding:22px 14px 16px}
.workspace{margin-left:236px}
.brand{font-size:22px;padding:0 8px}
.home-switch{margin-top:22px;padding:12px;border:0;background:var(--surface-quiet);font-size:13px}
.primary-nav{display:grid;gap:5px;margin-top:8px}
.primary-nav a{justify-content:flex-start;gap:11px;min-height:46px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:650}
.primary-nav a strong{font-size:14px;font-weight:650}
.primary-nav a.active{background:var(--accent-soft);color:var(--accent-strong)}
.nav-glyph{display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto;color:var(--muted);font-size:16px}
.primary-nav a.active .nav-glyph{color:var(--accent)}
.sidebar-bottom>a{min-height:44px;font-size:13px}
.account{font-size:13px}
.logout-button{font-size:11px}

.topbar{min-height:66px;padding:0 38px}
.breadcrumb{font-size:12px}
.badge{padding:5px 9px;font-size:11px}
main{max-width:1240px;padding:34px 40px 64px}
.page-heading{align-items:center;margin-bottom:14px}
.page-heading .muted{margin-top:7px;font-size:14px}
.page-heading .button{min-width:104px}
.button{min-height:44px;padding:10px 15px;border-radius:12px;font-size:13px}
.button.small{min-height:36px;font-size:12px}
.demo-note{margin-bottom:18px;padding:8px 0;border:0;background:transparent;color:var(--muted-2);font-size:11.5px}

.section-nav{display:flex;gap:4px;overflow:auto;margin:0 0 24px;padding:4px;border-radius:14px;background:var(--surface-quiet);scrollbar-width:none}
.section-nav[hidden]{display:none!important}
.section-nav::-webkit-scrollbar{display:none}
.section-nav a{flex:0 0 auto;padding:9px 13px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:700;text-decoration:none}
.section-nav a.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(20,35,29,.08)}

.today-focus{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#eef5f1,#f8fbf9);box-shadow:inset 0 0 0 1px rgba(36,91,77,.08)}
.today-focus h2{font-size:24px;letter-spacing:-.035em}
.today-focus p:not(.eyebrow){margin-top:6px;color:var(--muted);font-size:13px}
.today-focus-stats{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.today-focus-stats span{min-width:88px;padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.76);color:var(--muted);font-size:11px;text-align:center}
.today-focus-stats strong{display:block;color:var(--ink);font-size:20px;line-height:1.1}

.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px;border:0}
.metric{min-height:100px;padding:18px;border:0!important;border-radius:16px;background:var(--surface);box-shadow:0 1px 2px rgba(20,35,29,.04),0 8px 28px rgba(20,35,29,.045)}
.metric:first-child,.metric:nth-child(3){padding-left:18px}
.metric .label{font-size:12px}
.metric .value{font-size:30px}
.metric small{font-size:11.5px}

.grid{gap:20px}
.panel{margin-bottom:20px;border:0;border-radius:18px;box-shadow:0 1px 2px rgba(20,35,29,.035),0 10px 30px rgba(20,35,29,.045)}
.panel-head{padding:18px 20px 11px;border-bottom:0}
.panel-head h2{font-size:16px}
.panel-body{padding:18px 20px 20px}
.row{padding:15px 20px;border-bottom-color:#f0f3f1}
.row p{font-size:13px}
.row strong{font-size:14px}
.row .number{width:30px;height:30px;font-size:11px}
.action-link{font-size:13px}
.empty{padding:34px 24px;font-size:13px}
.timeline time{font-size:11px}
.timeline strong{font-size:14px}
.timeline p{font-size:12.5px}
.callout{padding:22px;border:0;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(36,91,77,.08)}
.callout h2{font-size:16px}
.callout p{font-size:13px}
.section-intro{font-size:14px}
.foundation-item p{font-size:13px}

.tabs{gap:6px;padding-bottom:8px}
.tabs button{min-height:38px;padding:8px 12px;font-size:13px}
.toolbar{gap:10px}
table{font-size:13px}
th{font-size:10.5px}
th,td{padding:12px 16px}

label{font-size:13px}
input,select,textarea{min-height:46px;padding:10px 12px;border-radius:11px;font-size:14px}
.auth-card{padding:34px;border:0;border-radius:24px}
.auth-card h1{font-size:30px}
.auth-brand small,.auth-hint{font-size:12px}
.auth-text-button{font-size:13px}

@media(max-width:1100px){
 #sidebar{width:220px}
 .workspace{margin-left:220px}
 main{padding:30px}
 .topbar{padding:0 28px}
}
@media(max-width:760px){
 body{font-size:14.5px}
 #sidebar{width:min(300px,88vw);padding:18px 14px 18px}
 .workspace{margin-left:0}
 .topbar{min-height:60px;padding:0 12px}
 main{padding:20px 14px 104px}
 h1{font-size:29px}
 .page-heading{gap:10px;margin-bottom:12px}
 .page-heading .muted{font-size:13px}
 .page-heading .button{width:100%;min-height:46px}
 .section-nav{margin:0 -2px 20px;padding:4px}
 .section-nav a{padding:9px 12px;font-size:12.5px}
 .today-focus{align-items:flex-start;flex-direction:column;padding:20px;margin-bottom:18px}
 .today-focus h2{font-size:22px}
 .today-focus-stats{width:100%;justify-content:stretch}
 .today-focus-stats span{flex:1;min-width:0}
 .metrics{gap:9px}
 .metric{min-height:88px;padding:14px}
 .metric:first-child,.metric:nth-child(3){padding-left:14px}
 .metric .label{font-size:11px}
 .metric .value{font-size:24px}
 .panel{border-radius:16px}
 .panel-head{padding:16px 16px 9px}
 .panel-body{padding:16px}
 .row{padding:14px 16px}
 .row p{font-size:12.5px}
 .row strong{font-size:13.5px}
 .mobile-nav{left:8px;right:8px;min-height:66px;border-radius:18px}
 .mobile-nav a,.mobile-nav button{min-height:54px;font-size:10.5px}
 .demo-note{font-size:11px}
 footer{padding-bottom:88px}
}


/* KellThurcare brand system */
:root{
  --ink:#142520;--ink-2:#30423b;--muted:#6e7a76;--muted-2:#98a29d;
  --line:#e7e4dc;--line-strong:#dcd8cf;--bg:#f8f6f0;--surface:#fffdf9;
  --surface-soft:#fbfaf6;--surface-quiet:#eef3ef;--accent:#1e584a;--accent-strong:#153f36;
  --accent-soft:#e3eee8;--ok:#287053;--ok-soft:#e6f2ea;--warn:#a36d20;--warn-soft:#fff3dd;
  --bad:#b64d45;--bad-soft:#fff0ed;--shadow-xs:0 1px 2px rgba(20,37,32,.04);
  --shadow-sm:0 12px 34px rgba(20,37,32,.055);--shadow-lg:0 28px 80px rgba(16,45,37,.16)
}
html{background:var(--bg)}body{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,.panel-head h2,.care-hero h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.035em}h1{font-size:46px;font-weight:600}h2{font-weight:600}
#sidebar{width:238px;padding:28px 16px 18px;border-right:0;background:linear-gradient(180deg,#153f36 0%,#12362f 100%);color:#f8f5ed;box-shadow:14px 0 42px rgba(20,37,32,.08)}
.workspace{margin-left:238px;position:relative;overflow:hidden}.workspace:before,.workspace:after{content:"";position:fixed;z-index:-1;width:420px;height:110px;border-radius:100% 0 100% 0;background:rgba(112,148,127,.09);transform:rotate(38deg);pointer-events:none}.workspace:before{right:-100px;top:90px}.workspace:after{right:80px;top:18px;opacity:.65}
.brand{display:block;padding:0 16px 14px;text-align:center}.brand img{display:block;width:166px;max-width:100%;margin:auto;filter:brightness(0) invert(1);opacity:.97}
.home-switch{margin:2px 4px 18px;padding:9px 12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.06);color:#fff}.home-switch small,.home-icon{color:rgba(255,255,255,.62)}
.primary-nav{gap:7px}.primary-nav a{min-height:50px;color:rgba(255,255,255,.84);font-size:15px;border-radius:12px}.primary-nav a strong{font-size:15px}.primary-nav a:hover{background:rgba(255,255,255,.06);color:#fff}.primary-nav a.active{background:rgba(255,255,255,.15);color:#fff;box-shadow:inset 3px 0 0 #d9e6de}.nav-glyph{color:rgba(255,255,255,.8);font-size:18px}.primary-nav a.active .nav-glyph{color:#fff}
.sidebar-bottom{border-top:1px solid rgba(255,255,255,.16)}.sidebar-bottom>a{color:rgba(255,255,255,.9)}.sidebar-bottom>a:hover,.sidebar-bottom>a.active{background:rgba(255,255,255,.08);color:#fff}.sidebar-help{display:flex;align-items:center;gap:10px;padding:10px 12px;color:rgba(255,255,255,.72);font-size:13px}.account{border-top:1px solid rgba(255,255,255,.12);color:#fff}.account small{color:rgba(255,255,255,.62)}.account .avatar,.top-account .avatar{border:0;background:#dbe9e0;color:#173e35}.logout-button{color:rgba(255,255,255,.62)}.logout-button:hover{background:rgba(255,255,255,.08);color:#fff}
.topbar{min-height:72px;padding:0 28px;border-bottom:1px solid #ebe8df;background:rgba(255,253,249,.94);backdrop-filter:blur(18px)}.topbar-left{flex:1}.global-search{display:flex;align-items:center;gap:9px;width:min(460px,46vw);padding:0 12px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;box-shadow:var(--shadow-xs)}.global-search input{min-height:42px;border:0!important;box-shadow:none!important;background:transparent!important;padding:0;font-size:13px}.global-search input:disabled{opacity:1;color:var(--muted)}.global-search kbd{margin-left:auto;padding:3px 7px;border-radius:7px;background:#f2f0ea;color:var(--muted);font:11px/1.5 ui-monospace,monospace}.topbar-actions{display:flex;align-items:center;gap:12px}.demo-badge{background:#f7f4ec}.notification-button{position:relative;width:38px;height:38px;border:0;border-radius:50%;background:transparent;font-size:20px;color:var(--accent-strong)}.notification-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:#c65147;border:2px solid #fff}.top-account{display:flex;align-items:center;gap:9px;min-width:0}.top-account strong,.top-account small{display:block;white-space:nowrap}.top-account strong{font-size:13px}.top-account small{font-size:11px}
main{max-width:1400px;padding:38px 34px 64px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading .eyebrow{display:none}.page-heading .muted{font-size:18px;color:#707a78;margin-top:6px}.page-heading-side{display:flex;align-items:flex-start;gap:20px}.page-heading blockquote{margin:0;color:#27463e;font:italic 17px/1.35 Georgia,"Times New Roman",serif;text-align:right}.page-heading blockquote:after{content:"";display:block;width:42px;height:2px;margin:10px 0 0 auto;background:#6e8c80}
.button.primary{border-color:var(--accent-strong);background:linear-gradient(180deg,#1d5548,#154137);box-shadow:0 5px 14px rgba(21,65,55,.18)}.button.primary:hover{background:#10382f}.demo-note{padding:7px 10px;border-radius:10px;background:#f3f1ea;color:#8a8f8c}
.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.summary-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;min-height:118px;padding:17px;border:1px solid #e5e6df;border-radius:15px;background:rgba(255,253,249,.94);box-shadow:var(--shadow-sm);text-decoration:none;color:var(--ink)}.summary-card.alert{background:#fff7f4;border-color:#f1ddd8}.summary-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:50%;background:#e1eee7;color:var(--accent-strong);font-weight:800}.summary-card.alert .summary-icon{background:#ffe4df;color:#b54840}.summary-card strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:28px;line-height:1}.summary-card b{display:block;margin-top:4px;font-size:13px}.summary-card small{margin-top:3px;font-size:11px}.summary-card>span:last-child{font-size:22px;color:var(--muted)}
.grid{gap:18px}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr)}.panel{border:1px solid #ebe9e1;background:rgba(255,253,249,.95);box-shadow:var(--shadow-sm)}.panel-head{padding:17px 18px 10px}.panel-head h2{font-size:18px}.panel-body{padding:16px 18px 18px}.row{padding:14px 18px}.row strong{font-size:13px}.row p{font-size:12px}.badge{border:0;font-size:10px}.badge.good{background:var(--ok-soft)}.badge.pending{background:var(--warn-soft)}.callout{background:linear-gradient(145deg,#f3f7f3,#e8f0eb)}
.section-nav{background:#efeee8}.section-nav a.active{box-shadow:none;border-bottom:2px solid var(--accent);border-radius:9px 9px 5px 5px}
.care-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px}.care-toolbar label{margin:0}.care-toolbar select{width:auto;min-width:210px}.care-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;margin-bottom:20px;padding:22px;border:1px solid #e9e7df;border-radius:18px;background:linear-gradient(135deg,#fffdf9,#f4f7f3);box-shadow:var(--shadow-sm)}.care-avatar{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#dce9e2;color:#183e35;font:600 25px Georgia,"Times New Roman",serif}.care-hero h2{font-size:28px}.care-hero p{color:var(--muted);max-width:720px}.care-hero-status{text-align:right}.care-hero-status small{margin-top:7px}.chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.soft-chip{padding:5px 9px;border-radius:999px;background:#edf2ee;color:#52635d;font-size:11px}.care-grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr)}.mini-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.mini-stat-grid>div{padding:12px;border-radius:12px;background:#f5f5f0}.mini-stat-grid b,.mini-stat-grid span{display:block}.mini-stat-grid span{margin-top:4px;color:var(--muted);font-size:12px}.fact-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.fact-row:last-child{border-bottom:0}.care-area-list{padding:4px 0}.care-area{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:13px 18px;border-bottom:1px solid var(--line)}.care-area:last-child{border-bottom:0}.care-area .summary-icon{width:34px;height:34px}.care-area p{margin-top:2px;color:var(--muted);font-size:11.5px}
.tabs button.active{background:#e4eee8;border-color:#d4e3da}.calendar{gap:8px}.day{background:#faf9f5}.shift-chip{border:0;background:#e7f2ea}.shift-chip.on-call{background:#eef0f3}
.auth-gate{overflow:auto;place-items:start center;padding:38px 18px;background:radial-gradient(520px 200px at 12% 68%,rgba(133,159,143,.14),transparent 70%),radial-gradient(620px 220px at 88% 18%,rgba(133,159,143,.14),transparent 70%),#faf8f2}.auth-shell{width:min(1000px,100%);margin:auto}.auth-brand-stage{text-align:center;margin:0 auto 28px}.auth-logo{width:min(330px,70vw);max-height:170px}.auth-rule{width:42px;height:2px;margin:8px auto 10px;background:var(--accent-strong)}.auth-brand-stage p{font:italic 20px Georgia,"Times New Roman",serif;color:#27463e}.auth-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr);gap:22px}.auth-card,.auth-assurance{border:1px solid #e8e5dc;border-radius:20px;background:rgba(255,253,249,.96);box-shadow:var(--shadow-sm)}.auth-card{width:auto;padding:34px}.auth-card h1{font-size:38px}.auth-card .muted{font-size:14px}.auth-assurance{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;text-align:center;background:linear-gradient(145deg,#f5faf6,#edf4ef)}.assurance-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#dcebe2;color:var(--accent-strong);font-size:28px}.auth-assurance h2{margin-top:20px;font-size:27px}.auth-assurance p{max-width:320px;margin-top:8px;color:var(--muted)}.assurance-list{display:grid;gap:9px;margin-top:24px;text-align:left;color:#39534a}.auth-submit{min-height:50px}.auth-text-button{color:var(--accent-strong)}footer{background:#f4f1e9}
@media(max-width:1100px){#sidebar{width:220px}.workspace{margin-left:220px}.brand img{width:150px}.summary-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.care-grid{grid-template-columns:1fr}.page-heading blockquote{display:none}}
@media(max-width:760px){#sidebar{width:min(306px,88vw);top:60px}.workspace{margin-left:0}.topbar{padding:0 10px}.global-search{display:none}.top-account div{display:none}.demo-badge{display:none}.mobile-brand img{width:82px}.page-heading{flex-direction:column}.page-heading-side{width:100%}.page-heading-side .button{width:100%}h1{font-size:34px}.page-heading .muted{font-size:15px}.summary-grid{grid-template-columns:1fr 1fr;gap:9px}.summary-card{min-height:104px;padding:13px;grid-template-columns:auto 1fr}.summary-card>span:last-child{display:none}.summary-card strong{font-size:24px}.summary-card small{display:none}.care-hero{grid-template-columns:auto 1fr}.care-hero-status{grid-column:1/-1;text-align:left}.auth-layout{grid-template-columns:1fr}.auth-assurance{display:none}.auth-brand-stage{margin-bottom:18px}.auth-logo{width:240px}.auth-brand-stage p{font-size:16px}.auth-card{padding:26px}.auth-card h1{font-size:31px}}
@media(max-width:440px){.summary-grid{grid-template-columns:1fr}.summary-card{min-height:88px}.mini-stat-grid{grid-template-columns:1fr}}

/* Learning & Development / Practice Intelligence */
.learning-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:22px;align-items:center;margin:18px 0;padding:24px;border:1px solid #dfe7e1;border-radius:18px;background:linear-gradient(135deg,#f8fbf8,#edf4ef);box-shadow:var(--shadow-sm)}
.learning-hero h2{font-size:30px}.learning-hero p{max-width:720px;color:var(--muted)}
.learning-principle{padding:16px;border-radius:14px;background:#fff;border:1px solid #e1e8e3}.learning-principle strong,.learning-principle span{display:block}.learning-principle span{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5}
.learning-subnav{display:flex;gap:7px;overflow:auto;margin:0 0 18px;padding:5px;border-radius:12px;background:#efeee8}.learning-subnav button{white-space:nowrap;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:650}.learning-subnav button.active{background:#fff;color:var(--accent-strong);box-shadow:var(--shadow-xs)}.learning-subnav button:disabled{opacity:.62}
.development-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.development-card{padding:16px;border:1px solid #e6e5de;border-radius:14px;background:#faf9f5}.development-card.positive{background:#f2f8f3;border-color:#dbe9de}.development-card h3{margin:3px 0 7px;font-size:17px}.development-card p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.55}
.lineage-note{margin-top:14px;padding:14px 16px;border-left:3px solid var(--accent);border-radius:8px;background:#f4f6f2}.lineage-note p{margin-top:4px;color:var(--muted);font-size:12px}
.learning-journey{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.learning-journey>div{position:relative;padding:14px;border-radius:13px;background:#f7f6f1}.learning-journey span{display:grid;place-items:center;width:27px;height:27px;margin-bottom:9px;border-radius:50%;background:#dce9e2;color:var(--accent-strong);font-weight:800}.learning-journey strong,.learning-journey small{display:block}.learning-journey small{margin-top:5px;color:var(--muted);line-height:1.45}
@media(max-width:1000px){.development-cards{grid-template-columns:1fr}.learning-journey{grid-template-columns:1fr 1fr}.learning-hero{grid-template-columns:1fr}}
@media(max-width:560px){.learning-journey{grid-template-columns:1fr}}

/* Ask KellThur */
.ask-hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:26px;border:1px solid #dfe7e1;border-radius:20px;background:linear-gradient(135deg,#f8fbf8,#eaf3ed);box-shadow:var(--shadow-sm)}.ask-hero h2{font-size:34px}.ask-hero p{max-width:760px;color:var(--muted);font-size:14px}.ask-mark{display:grid;place-items:center;width:74px;height:74px;border-radius:22px;background:linear-gradient(145deg,#1d5548,#153f36);color:#fff;font:600 35px Georgia,"Times New Roman",serif;box-shadow:0 10px 28px rgba(21,63,54,.18)}
.ask-composer{margin-top:18px;padding:20px;border:1px solid #e5e5de;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.ask-composer>label{font-weight:750}.ask-box{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-top:8px}.ask-box textarea{resize:vertical;min-height:82px}.ask-box .button{min-height:46px;margin-bottom:1px}.ask-composer>.muted{margin-top:8px;font-size:11px}
.ask-suggestions{display:flex;gap:8px;overflow:auto;padding:13px 0 18px}.ask-suggestions button{min-width:220px;padding:11px 13px;border:1px solid #e3e4de;border-radius:12px;background:#faf9f5;color:#42524d;text-align:left;font-size:11.5px;line-height:1.4}.ask-suggestions button:hover{border-color:#bdcec4;background:#f4f8f5}
.ask-result{margin-bottom:18px;padding:22px;border:1px solid #dce6df;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.ask-result-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.ask-result h2{font-size:23px}.ask-result>p{margin-top:9px;line-height:1.65}.ask-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ask-actions button:disabled{opacity:.55}.ask-foundations{margin-top:4px}
@media(max-width:760px){.ask-hero{grid-template-columns:1fr}.ask-mark{display:none}.ask-box{grid-template-columns:1fr}.ask-box .button{width:100%}}

/* Assistant-first Today */
.assistant-home{padding:24px;border:1px solid #dce7df;border-radius:22px;background:linear-gradient(135deg,#f8fbf8 0%,#edf5f0 62%,#f7f4ec 100%);box-shadow:var(--shadow-sm)}.assistant-home-primary{margin-top:2px}.assistant-home-copy{max-width:780px}.assistant-home h2{font-size:32px}.assistant-home-copy>p:last-child{margin-top:6px;color:var(--muted);font-size:14px}.home-ask{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:18px;padding:9px;border:1px solid #d4dfd7;border-radius:16px;background:#fff;box-shadow:var(--shadow-xs)}.home-ask textarea{min-height:58px;border:0!important;box-shadow:none!important;resize:none;background:transparent;font-size:16px;line-height:1.45}.home-ask-actions{display:flex;gap:8px;align-items:center}.home-ask .button{min-height:46px}.voice-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 13px;border:1px solid #d9e1db;border-radius:12px;background:#f7faf8;color:var(--accent-strong);font:inherit;font-size:12px;font-weight:750;cursor:pointer}.voice-button:hover{background:#eef5f0}.voice-button.listening{border-color:#b95d55;background:#fff4f2;color:#9d3f38;box-shadow:0 0 0 3px rgba(185,93,85,.11)}.voice-icon{font-size:17px}.home-voice-status{min-height:18px;margin:7px 2px 0;color:var(--muted);font-size:11px}.home-quick-asks{display:flex;gap:8px;overflow:auto;margin-top:8px;padding-bottom:2px}.home-quick-asks button{white-space:nowrap;padding:8px 11px;border:1px solid #dfe4df;border-radius:999px;background:rgba(255,255,255,.72);color:#4a5b55;font-size:11px}.home-quick-asks button:hover{background:#fff}.home-context-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:74px;margin-top:16px;border:1px dashed #dddeda;border-radius:14px;color:var(--muted);font-size:12px;background:#fff}.context-spinner{width:15px;height:15px;border:2px solid #d7e1da;border-top-color:var(--accent-strong);border-radius:50%;animation:kellthur-spin .8s linear infinite}@keyframes kellthur-spin{to{transform:rotate(360deg)}}.home-context-error{margin-top:0}
.today-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:18px 0;border:1px solid #e7e6df;border-radius:14px;overflow:hidden;background:#e7e6df}.today-strip>div{padding:13px 16px;background:#fff}.today-strip strong,.today-strip span{display:block}.today-strip strong{font-size:20px;color:var(--accent-strong)}.today-strip span{margin-top:2px;color:var(--muted);font-size:11px}.calm-dashboard{align-items:start}.priority-item{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line)}.priority-item:last-child{border-bottom:0}.priority-item.urgent{background:#fff9f6}.priority-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf2ee;color:var(--accent-strong);font-size:11px;font-weight:800}.priority-item p{margin-top:2px;color:var(--muted);font-size:11px}.calm-glance{display:grid;gap:0}.calm-glance p{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.calm-glance p:last-child{border-bottom:0}.calm-glance strong,.calm-glance span{display:block}.calm-glance span{color:var(--muted);font-size:11px;text-align:right}.quiet-callout{margin-top:18px}.quiet-callout .button{margin-top:12px}.home-intent-card{margin:14px 0;padding:20px;border:1px solid #dce6df;border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.home-intent-card h2{font-size:22px}.home-intent-card>p:not(.eyebrow){margin-top:6px;color:var(--muted);line-height:1.55}.intent-actions{display:flex;gap:8px;margin-top:14px}
@media(max-width:760px){.assistant-home{padding:18px}.assistant-home h2{font-size:28px}.home-ask{grid-template-columns:1fr}.home-ask-actions{display:grid;grid-template-columns:auto 1fr}.home-ask .button{width:100%}.voice-button{padding:0 12px}.today-strip{grid-template-columns:1fr}.priority-item{grid-template-columns:auto 1fr}.priority-item>.badge{grid-column:2}.intent-actions{flex-direction:column}}

/* PACE Practice Intelligence */
.practice-hero{margin-bottom:18px}.practice-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:0 0 18px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--line)}
.practice-overview>div{padding:16px 18px;background:var(--surface)}.practice-overview strong,.practice-overview span{display:block}.practice-overview strong{font-size:24px;color:var(--accent-strong)}.practice-overview span{margin-top:2px;color:var(--muted);font-size:11px}
.practice-dimension-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.practice-dimension{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.practice-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.practice-card-head h3{font-size:16px}.practice-dimension>p{margin-top:10px;color:var(--ink-2);font-size:12px}.practice-dimension>small{margin-top:4px}
.practice-person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.practice-person-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-xs)}.practice-person-card.insufficient{background:var(--surface-soft)}
.practice-coverage{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:14px 0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--line)}.practice-coverage span{padding:10px;background:var(--surface-soft);color:var(--muted);font-size:10px}.practice-coverage strong{display:block;color:var(--ink);font-size:15px}
.practice-theme-block{margin-top:14px}.practice-theme-block>b,.practice-learning>b{display:block;margin-bottom:7px;font-size:11px}.practice-chip-attention{background:var(--warn-soft);color:var(--warn)}.practice-chip-recording{background:var(--surface-quiet);color:var(--ink-2)}
.practice-learning{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.practice-learning ul,.practice-learning-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.practice-learning li,.practice-learning-list li{padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.practice-learning li strong,.practice-learning li span,.practice-learning-list li strong,.practice-learning-list li span{display:block}.practice-learning li span,.practice-learning-list li span{margin-top:3px;color:var(--muted);font-size:11px}.practice-learning li small,.practice-learning-list li small{margin-top:4px}
.practice-evidence{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.practice-evidence summary{cursor:pointer;font-weight:700;color:var(--ink-2)}.practice-evidence p{margin:8px 0}.practice-evidence code{display:inline-block;margin:2px 3px 2px 0;padding:3px 6px;border-radius:6px;background:var(--surface-quiet);font-size:9px}
@media(max-width:760px){.practice-overview{grid-template-columns:1fr}.practice-dimension-grid,.practice-person-grid{grid-template-columns:1fr;padding:12px}.practice-coverage{grid-template-columns:repeat(2,1fr)}}

/* Research & Evidence Engine */
.research-basis{margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.research-basis-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.research-basis-head h3{font-size:16px}.research-basis-head p:not(.eyebrow){margin-top:4px;color:var(--muted);font-size:11px}
.research-basis .lineage-note{margin-top:14px}.research-sources{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.research-sources summary{cursor:pointer;font-weight:720;color:var(--ink-2)}
.research-source{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}
.research-source:last-child{border-bottom:0}.research-source strong,.research-source span{display:block}.research-source span{margin-top:2px;color:var(--muted);font-size:11px}.research-source a{flex:0 0 auto;color:var(--accent);font-size:11px;font-weight:720;text-decoration:none}.research-source a:hover{text-decoration:underline}
.source-link{text-decoration:none}.source-link:hover{text-decoration:underline}
@media(max-width:760px){.research-basis-head{display:grid}.research-basis-head .button{width:100%}.research-source{align-items:flex-start}.research-source a{max-width:90px;text-align:right}}

/* Ask KellThur team training package */
.training-package{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.training-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.training-package-head h2{font-size:20px}.training-package-head>div>p:not(.eyebrow){margin-top:4px;color:var(--muted);font-size:12px}
.training-basis{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.training-basis>div{padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.training-basis b{display:block;margin-bottom:8px;font-size:11px}
.training-section-title{margin:20px 0 10px;font-size:14px}.training-objectives{display:grid;gap:7px;margin:0;padding-left:18px;color:var(--ink-2)}
.training-agenda{border:1px solid var(--line);border-radius:13px;overflow:hidden}.training-agenda-row{display:grid;grid-template-columns:58px 1fr;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}.training-agenda-row:last-child{border-bottom:0}.training-agenda-row>span{font-weight:760;color:var(--accent)}.training-agenda-row p{margin-top:3px;color:var(--muted);font-size:11px}
.training-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.training-module{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.training-module>p{margin-top:8px;color:var(--ink-2);font-size:12px}
.training-module-head{display:flex;align-items:flex-start;gap:10px}.training-module-head>span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 auto;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:800}.training-module-head h3{font-size:14px}
.training-scenario{margin:12px 0;padding:12px;border-radius:11px;background:var(--surface)}.training-scenario strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.training-scenario p{margin:4px 0 10px}.training-scenario p:last-child{margin-bottom:0}
.training-module details{font-size:11px}.training-module summary{cursor:pointer;font-weight:700}.training-module details ul{margin:8px 0 0;padding-left:18px}
.training-close-grid{margin-top:18px}.training-close-grid>div{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.training-close-grid h3{margin-bottom:10px}
.training-checks{display:grid;gap:9px;margin:0;padding:0;list-style:none}.training-checks li{padding-bottom:9px;border-bottom:1px solid var(--line)}.training-checks li:last-child{border-bottom:0}.training-checks strong,.training-checks span{display:block}.training-checks span{margin-top:3px;color:var(--muted);font-size:11px}
@media(max-width:760px){.training-package-head,.training-basis{display:grid}.training-module-grid{grid-template-columns:1fr}.training-agenda-row{grid-template-columns:50px 1fr}}

/* Active training artifact: exact positive examples */
.training-positive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 18px}
.training-positive{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}
.training-positive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.training-positive-head strong{font-size:13px}.training-positive-head span{font-size:10px;color:var(--accent);font-weight:750}
.training-positive p{margin:9px 0;color:var(--ink-2);font-size:12px;line-height:1.5}.training-positive small{color:var(--muted)}
@media(max-width:760px){.training-positive-grid{grid-template-columns:1fr}.training-positive-head{display:grid;gap:3px}}


/* =========================================================
   KELLTHUR PREMIUM DESIGN SYSTEM · 2026
   One visual language across Home, Care, Team, Records,
   Ask KellThur, Governance, Learning, forms and mobile.
   ========================================================= */
:root{
  --kt-forest:#073c32;
  --kt-forest-2:#0d4a3d;
  --kt-forest-3:#155c4b;
  --kt-cream:#f7f4ec;
  --kt-paper:#fffdfa;
  --kt-paper-2:#fbf9f4;
  --kt-gold:#caa35e;
  --kt-gold-soft:#f4ead5;
  --kt-text:#10241f;
  --kt-text-2:#304a42;
  --kt-muted:#718079;
  --kt-border:#e7e2d8;
  --kt-red:#d84a45;
  --kt-red-soft:#fff0ed;
  --kt-amber:#be7917;
  --kt-amber-soft:#fff4df;
  --kt-mint:#1d715c;
  --kt-mint-soft:#e9f5ef;
  --kt-blue:#1b61d1;
  --kt-blue-soft:#edf4ff;
  --kt-purple:#7655e8;
  --kt-purple-soft:#f1edff;
  --ink:var(--kt-text);
  --ink-2:var(--kt-text-2);
  --muted:var(--kt-muted);
  --line:var(--kt-border);
  --line-strong:#d9d2c5;
  --bg:var(--kt-cream);
  --surface:var(--kt-paper);
  --surface-soft:var(--kt-paper-2);
  --surface-quiet:#f0eee7;
  --accent:var(--kt-forest-2);
  --accent-strong:var(--kt-forest);
  --accent-soft:#e8f1ed;
  --shadow-xs:0 1px 2px rgba(7,44,36,.035);
  --shadow-sm:0 10px 30px rgba(31,45,39,.055);
  --shadow-md:0 18px 45px rgba(31,45,39,.085);
  --shadow-lg:0 30px 90px rgba(7,44,36,.19);
}

html,body{background:var(--kt-cream);color:var(--kt-text)}
body{
  background:
   radial-gradient(900px 300px at 76% -160px,rgba(202,163,94,.08),transparent 70%),
   linear-gradient(180deg,#faf8f2 0%,#f6f2e9 100%);
}
h1,h2,h3,.panel-head h2,.dashboard-card-head h2,.context-head h3,.ask-page-title h2,.care-hero h2{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:600;
  letter-spacing:-.035em;
}
h1{font-size:42px;line-height:1.04}

/* Brand rail */
#sidebar{
  width:236px;
  padding:24px 16px 18px;
  border:0;
  color:#fff;
  background:
    linear-gradient(180deg,rgba(4,42,34,.82),rgba(4,34,29,.94)),
    url('/app/botanical-bg.svg') center/cover no-repeat;
  box-shadow:18px 0 50px rgba(6,37,31,.11);
}
.workspace{margin-left:236px;background:transparent}
.brand{padding:0 14px 15px}
.brand img{width:164px;filter:brightness(0) invert(1);opacity:.98}
.home-switch{
  margin:2px 0 14px;padding:9px 11px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.07);color:#fff;
  backdrop-filter:blur(10px);
}
.home-switch small{color:rgba(255,255,255,.62)}
.home-icon{color:var(--kt-gold)}
.primary-nav{display:grid;gap:5px}
.primary-nav a{
  min-height:46px;padding:10px 12px;margin:0;
  border:1px solid transparent;border-radius:11px;
  color:rgba(255,255,255,.86);font-size:14px;
}
.primary-nav a strong{font-size:14px;font-weight:620}
.primary-nav a:hover{background:rgba(255,255,255,.07);color:#fff}
.primary-nav a.active{
  background:linear-gradient(90deg,rgba(33,118,95,.55),rgba(255,255,255,.08));
  border-color:rgba(204,229,216,.3);color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);
}
.primary-nav a.active .nav-glyph{color:#f3cc78}
.nav-glyph{width:24px;color:rgba(255,255,255,.78);font-size:19px;text-align:center}
.sidebar-bottom{padding-top:14px}
.sidebar-bottom>a{color:rgba(255,255,255,.85)}
.sidebar-bottom>a:hover,.sidebar-bottom>a.active{background:rgba(255,255,255,.08);color:#fff}
.sidebar-help{
  position:relative;display:flex;align-items:center;
  min-height:42px;padding:9px 12px;color:rgba(255,255,255,.78);
}
.sidebar-count{
  margin-left:auto;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;
  background:#e6bd66;color:#17372f;font-size:11px;
}
.account{border-top:1px solid rgba(255,255,255,.13);color:#fff}
.account small{color:rgba(255,255,255,.58)}
.account .avatar{border:0;background:#4eb89b;color:#fff}
.logout-button{color:rgba(255,255,255,.6)}
.logout-button:hover{background:rgba(255,255,255,.08);color:#fff}

/* Header */
.topbar{
  min-height:70px;padding:0 30px;
  border-bottom:1px solid rgba(223,217,205,.92);
  background:rgba(255,253,249,.94);
  backdrop-filter:blur(18px) saturate(135%);
}
.global-search{
  width:min(650px,55vw);min-height:43px;border-color:#ddd8ce;
  border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(16,36,31,.025);
}
.global-search input{font-size:13px}
.global-search kbd{display:none}
.notification-button{color:var(--kt-forest)}
.top-account .avatar{border:0;background:var(--kt-forest);color:#fff}
.top-account strong{font-weight:700}
.demo-badge{background:#f7f3e9;color:#8b7551}

/* Main shell and hero heading */
main{max-width:1500px;padding:30px 30px 60px}
.page-heading{
  position:relative;overflow:hidden;align-items:center;
  min-height:128px;margin-bottom:16px;padding:24px 28px;
  border:1px solid #e7e1d6;border-radius:18px;
  background:
    linear-gradient(90deg,rgba(255,253,249,.97) 0%,rgba(255,253,249,.89) 50%,rgba(255,253,249,.5) 100%),
    url('/app/botanical-bg.svg') right 34%/55% auto no-repeat;
  box-shadow:var(--shadow-sm);
}
.page-heading:after{
  content:"";position:absolute;inset:auto 0 0;height:3px;
  background:linear-gradient(90deg,var(--kt-gold),transparent 36%);
  opacity:.75;
}
.page-heading .eyebrow{
  display:block;margin-bottom:8px;color:#9a7b43;letter-spacing:.18em
}
.page-heading .muted{margin-top:5px;color:#53645e;font-size:15px}
.page-heading-side{position:relative;z-index:1}
.page-heading blockquote{color:#31564b;font-size:15px}
.page-heading blockquote:after{background:var(--kt-gold)}
.demo-note{
  margin:0 0 14px;padding:0;border:0;background:transparent;
  color:#9a9b95;font-size:10px;text-align:right
}
.section-nav{
  margin-bottom:16px;border:1px solid #e7e1d7;background:rgba(255,253,249,.7);
  box-shadow:var(--shadow-xs);
}
.section-nav a.active{background:#fff;color:var(--kt-forest);border-bottom-color:var(--kt-gold)}

/* Universal cards */
.panel,.dashboard-card,.context-card{
  border:1px solid #e8e3d9!important;border-radius:15px!important;
  background:rgba(255,253,249,.96)!important;
  box-shadow:0 5px 22px rgba(39,48,43,.045)!important;
}
.panel-head{padding:17px 18px 11px}
.panel-head h2{font-size:18px}
.panel-body{padding:16px 18px 19px}
.row{padding:14px 18px;border-bottom-color:#eeeae2}
.row:hover{background:#fcfbf7}
.button{
  border-radius:10px;border-color:#dad4c8;background:#fffdfa;
  color:#263d36;box-shadow:0 1px 2px rgba(16,36,31,.025)
}
.button:hover{border-color:#b9cbbf;background:#fbfdfb}
.button.primary{
  border-color:var(--kt-forest);
  background:linear-gradient(180deg,#0d5142,#073c32);
  color:#fff;box-shadow:0 7px 18px rgba(7,60,50,.18)
}
.button.primary:hover{background:#052f28}
input,select,textarea{
  border-color:#ded8cd;border-radius:10px;background:#fffefa;
  box-shadow:0 1px 2px rgba(20,35,29,.02)
}
input:focus,select:focus,textarea:focus{
  border-color:#77a494;box-shadow:0 0 0 3px rgba(13,74,61,.08)
}
.badge{font-weight:700}

/* HOME · command centre */
.dashboard-summary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px
}
.dashboard-stat{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;
  min-height:94px;padding:15px 16px;border:1px solid #e7e2d9;border-radius:14px;
  background:#fffdfa;color:var(--kt-text);text-decoration:none;box-shadow:var(--shadow-sm);
  transition:transform .14s ease,box-shadow .14s ease
}
.dashboard-stat:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}
.dashboard-stat .stat-icon{
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;
  font-size:22px;font-weight:800
}
.dashboard-stat strong{
  display:inline;margin-right:6px;font:600 28px/1 Georgia,"Times New Roman",serif
}
.dashboard-stat b{display:inline;font-size:13px}
.dashboard-stat small{margin-top:4px;font-size:10.5px}
.dashboard-stat i{font-style:normal;font-size:24px}
.dashboard-stat.urgent{background:#fff5f3}.dashboard-stat.urgent .stat-icon{background:#ffe1de;color:var(--kt-red)}.dashboard-stat.urgent strong,.dashboard-stat.urgent b{color:#cf3b37}
.dashboard-stat.follow{background:#fffaf0}.dashboard-stat.follow .stat-icon{background:#ffebc7;color:#b86d08}.dashboard-stat.follow strong,.dashboard-stat.follow b{color:#aa6207}
.dashboard-stat.approaching{background:#f4faf7}.dashboard-stat.approaching .stat-icon{background:#dff2e8;color:#11604e}.dashboard-stat.approaching strong,.dashboard-stat.approaching b{color:#164b40}
.dashboard-stat.overdue{background:#f5f8ff}.dashboard-stat.overdue .stat-icon{background:#dfeaff;color:#1759c3}.dashboard-stat.overdue strong,.dashboard-stat.overdue b{color:#174fb3}

.dashboard-primary{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(330px,.9fr);
  gap:12px;margin-bottom:12px
}
.dashboard-secondary{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(280px,.85fr);
  gap:12px;margin-bottom:12px
}
.dashboard-stack{display:grid;grid-template-rows:1fr auto;gap:12px}
.dashboard-card{overflow:hidden;min-width:0}
.dashboard-card-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px 9px
}
.dashboard-card-head h2{font-size:17px}
.dashboard-card-head a{color:#286153;font-size:10px;font-weight:700;text-decoration:none}
.dashboard-list-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;
  min-height:58px;padding:8px 15px;border-top:1px solid #f0ece5;text-decoration:none;color:inherit
}
.dashboard-list-row:hover,.upcoming-row:hover{background:#fcfbf7}
.list-icon{
  display:grid;place-items:center;width:31px;height:31px;border-radius:50%;
  background:#e8f3ed;color:#155646;font-size:11px;font-weight:800
}
.list-icon.urgent{background:#ffebe7;color:#cb4640}.list-icon.review{background:#edf1ff;color:#4d60b8}
.dashboard-list-row strong,.schedule-row strong,.activity-row strong,.people-row strong,.upcoming-row strong{font-size:11.5px}
.dashboard-list-row small,.schedule-row small,.activity-row small,.people-row small,.upcoming-row small{margin-top:2px;font-size:9.5px}
.row-arrow{font-size:18px;color:#56736b}

.schedule-row{
  display:grid;grid-template-columns:40px 8px minmax(0,1fr) auto;align-items:center;gap:9px;
  min-height:58px;padding:7px 15px;border-top:1px solid #f0ece5
}
.schedule-row time{font-size:10px;color:#334a43}
.schedule-dot{width:6px;height:6px;border-radius:50%;background:#d54b47}.schedule-dot.s1{background:#2b61d1}.schedule-dot.s2{background:#bd7613}.schedule-dot.s3{background:#1b6b57}
.schedule-row>span:last-child{font-size:18px;color:#56736b}

.quick-action-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:3px 14px 14px
}
.quick-action-grid a,.quick-action-grid button{
  appearance:none;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px;
  min-height:58px;padding:8px;border:0;border-radius:10px;background:#f9f7f1;
  color:inherit;text-align:left;text-decoration:none
}
.quick-action-grid a:hover,.quick-action-grid button:hover{background:#f3f5f1}
.quick-action-grid>a>span,.quick-action-grid>button>span{
  display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e1f1e8;color:#125e4d
}
.quick-action-grid a:nth-child(2n)>span,.quick-action-grid button:nth-child(2n)>span{background:#eee9ff;color:#6447d9}
.quick-action-grid strong{display:block;font-size:10.5px}
.quick-action-grid small{font-size:9px;margin-top:2px}

.dashboard-ask{
  overflow:hidden;padding:14px 15px;border-radius:14px;color:#fff;
  background:
    linear-gradient(90deg,rgba(5,55,46,.94),rgba(6,49,42,.73)),
    url('/app/botanical-bg.svg') center/cover;
  box-shadow:var(--shadow-sm)
}
.dashboard-ask>div{display:flex;align-items:center;gap:9px}
.dashboard-ask>div strong{display:block;font:600 18px Georgia,"Times New Roman",serif}
.dashboard-ask>div small{color:rgba(255,255,255,.68);font-size:9px}
.ask-spark{display:grid;place-items:center;width:33px;height:33px;color:#efc66f;font-size:28px;line-height:1}
.dashboard-ask>a{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:10px;padding:9px 11px;border:1px solid rgba(255,255,255,.22);
  border-radius:999px;background:#fff;color:#52625d;font-size:10px;text-decoration:none
}
.dashboard-ask>a b{display:grid;place-items:center;width:29px;height:29px;margin:-5px;border-radius:50%;background:#0d4a3d;color:#fff;font-size:16px}

.activity-row,.people-row,.upcoming-row{
  display:grid;align-items:center;gap:9px;min-height:54px;padding:7px 14px;border-top:1px solid #f0ece5
}
.activity-row{grid-template-columns:auto 1fr auto}
.activity-row time{font-size:9px;color:#87918d}
.activity-icon{
  display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#ffe9e5;color:#c74842;font-size:13px
}
.activity-icon.a1{background:#e6f2ec;color:#12614e}.activity-icon.a2{background:#eeeaff;color:#694be2}.activity-icon.a3{background:#e9f2ff;color:#2b62c8}
.people-tabs{display:flex;gap:8px;margin:0 14px 4px;padding:0 0 6px;border-bottom:1px solid #ece8df}
.people-tabs>*{flex:1;color:#8a938f;font-size:9px;text-align:center}
.people-tabs b{color:#164b40;border-bottom:2px solid #1c6b57;padding-bottom:6px;margin-bottom:-8px}
.people-row{grid-template-columns:auto 1fr auto}
.people-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e7efe9;color:#164b40;font-size:9px;font-weight:800}
.people-row small i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#c9a24f}.people-row small i.online{background:#3c9a6e}
.people-actions{font-size:11px;color:#365b51}
.upcoming-row{grid-template-columns:auto 1fr auto;text-decoration:none;color:inherit}
.date-tile{display:grid;place-items:center;width:39px;height:43px;border-radius:8px;background:#eef6f1;color:#135244}
.date-tile b{font-size:13px}.date-tile small{font-size:8px;color:#36655a}
.dashboard-empty{padding:20px 16px;color:#78847f;font-size:10px}.dashboard-empty strong{display:block;margin-bottom:3px;color:#263c36}

.strategy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.strategy-grid>a{
  display:grid;grid-template-columns:auto 1fr;gap:10px;min-height:102px;padding:13px;
  border:1px solid #e8e3d9;border-radius:13px;background:#fffdfa;color:inherit;text-decoration:none;box-shadow:var(--shadow-xs)
}
.strategy-grid>a>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf4ef;color:#165848;font-size:15px}
.strategy-grid strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:14px}
.strategy-grid small{margin-top:4px;font-size:9px;line-height:1.4}
.strategy-grid b{grid-column:2;margin-top:auto;color:#285f52;font-size:9px}

/* ASK KELLTHUR · dedicated workspace */
.ask-workspace{
  display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start
}
.ask-main{
  min-width:0;border:1px solid #e8e3d9;border-radius:18px;background:rgba(255,253,249,.9);
  box-shadow:var(--shadow-sm);overflow:hidden
}
.ask-page-title{
  display:flex;align-items:center;gap:13px;padding:20px 20px 8px;
  background:linear-gradient(90deg,#fffdfa 60%,rgba(232,241,237,.72))
}
.ask-spark.large{width:48px;height:48px;font-size:42px}
.ask-page-title h2{font-size:31px}
.ask-page-title p{margin-top:2px;color:#62716c;font-size:12px}
.ask-action-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 20px 16px
}
.ask-action-grid button{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;
  min-height:58px;padding:9px 10px;border:1px solid #e8e3da;border-radius:11px;
  background:#faf8f2;color:inherit;text-align:left
}
.ask-action-grid button:nth-child(3n+1){background:#f1f8f4}
.ask-action-grid button:nth-child(3n+2){background:#fff5f1}
.ask-action-grid button:nth-child(3n){background:#f4f1ff}
.ask-action-grid button>span{font-size:17px;color:#155949}
.ask-action-grid strong{display:block;font-size:10.5px}
.ask-action-grid small{font-size:8.5px;margin-top:2px}
.ask-action-grid b{font-size:17px;color:#63736d}
.ask-conversation{
  min-height:330px;margin:0 18px;padding:14px 0;border-top:1px solid #ece7de
}
.ask-welcome{display:flex;gap:10px;max-width:620px;padding:16px;border-radius:14px;background:#f5f8f5}
.ask-welcome strong{font:600 17px Georgia,"Times New Roman",serif}
.ask-welcome p{margin-top:4px;color:#64726d;font-size:11px}
.ask-composer.premium{
  position:sticky;bottom:0;margin:0;padding:13px 16px;border:0;border-top:1px solid #e7e2d8;border-radius:0;
  background:rgba(255,253,249,.97);box-shadow:0 -10px 30px rgba(20,35,29,.035)
}
.ask-composer.premium .ask-box{
  display:grid;grid-template-columns:1fr auto;gap:8px;padding:4px 5px 4px 12px;border:1px solid #ddd7cb;border-radius:999px;background:#fff
}
.ask-composer.premium textarea{min-height:42px;max-height:110px;padding:10px 0;border:0!important;background:transparent;box-shadow:none!important;resize:none}
.ask-composer.premium .button{width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;font-size:20px}
.ask-composer.premium>p{padding:5px 8px 0;font-size:9px}

.ask-context{display:grid;gap:12px}
.context-card{overflow:hidden}
.context-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 8px}
.context-head h3{font-size:18px}.context-head span{color:#356358;font-size:9px}
.recent-work{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;
  min-height:54px;padding:7px 12px;border-top:1px solid #f0ece5
}
.recent-work strong{display:block;font-size:10.5px}.recent-work small{font-size:8.5px}
.context-card>a{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;
  min-height:55px;padding:8px 13px;border-top:1px solid #f0ece5;color:inherit;text-decoration:none
}
.context-card>a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf4ef;color:#15594a}
.context-card>a strong{display:block;font-size:10.5px}.context-card>a small{font-size:8.5px}
.context-trust{
  display:grid;grid-template-columns:auto 1fr;gap:10px;padding:15px;border-radius:14px;
  background:linear-gradient(135deg,#edf7f1,#fff5df);border:1px solid #e8e2d4
}
.context-trust>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#dfeee6;color:#155848}
.context-trust strong{font-size:11px}.context-trust p{margin-top:3px;color:#65736d;font-size:9px}

/* Existing Ask responses inside the new workspace */
.ask-result,.training-package{
  border:1px solid #e5e1d8!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--shadow-xs)!important
}
.training-positive{background:#fbfaf6!important}

/* CARE, TEAM, LEARNING, GOVERNANCE, RECORDS */
.care-toolbar{padding:10px 12px;border:1px solid #e6e1d8;border-radius:12px;background:#fffdfa}
.care-hero{
  border-color:#e8e2d7;background:
   linear-gradient(90deg,rgba(255,253,249,.98),rgba(244,249,246,.9)),
   url('/app/botanical-bg.svg') right/42% auto no-repeat;
}
.care-avatar{background:#dcece4;color:#0e5545;box-shadow:inset 0 0 0 1px rgba(13,74,61,.08)}
.care-area:hover{background:#fbfaf6}
.learning-hero,.practice-hero{
  border-color:#dfe8e2;
  background:
    linear-gradient(100deg,rgba(249,252,249,.98),rgba(235,244,239,.89)),
    url('/app/botanical-bg.svg') right/46% auto no-repeat
}
.learning-principle{box-shadow:var(--shadow-xs)}
.development-card,.practice-dimension,.practice-person-card{border-color:#e7e2d8!important;background:#fffdfa!important}
.development-card.positive{background:#f2f8f4!important}
.research-basis{border-color:#e7e2d8!important;background:#fffdfa!important}
.table-wrap{border-radius:12px}
table{background:#fffdfa}
th{background:#f6f3ec;color:#7a837f}
tr:hover td{background:#fcfbf7}
.calendar .day{border-color:#e4dfd6;background:#fffdfa}
.shift-chip{background:#e8f3ed}.shift-chip.on-call{background:#f0edfb}
.foundation-grid{gap:12px}
.foundation-item{
  padding:17px;border:1px solid #e7e2d8;border-radius:13px;background:#fffdfa;box-shadow:var(--shadow-xs)
}
.section-intro{max-width:880px}

/* Dialogs / workflows */
dialog{
  border:0;border-radius:20px;background:#fffdfa;
  box-shadow:0 30px 100px rgba(4,39,32,.24)
}
dialog::backdrop{background:rgba(4,39,32,.48)}
.dialog-heading{padding-bottom:12px;border-bottom:1px solid #e8e3da}
.dialog-heading h2{font-size:23px}
dialog details{margin-top:12px;padding:10px 14px;border-radius:12px;background:#f7f5ef}
.dialog-actions{border-top-color:#e7e2d8}

/* Login */
.auth-gate{
  background:
    linear-gradient(90deg,rgba(6,48,40,.92) 0%,rgba(6,48,40,.84) 44%,rgba(247,244,236,.96) 44%,rgba(247,244,236,.98) 100%),
    url('/app/botanical-bg.svg') left/55% cover no-repeat
}
.auth-shell{width:min(1080px,100%)}
.auth-brand-stage{color:#fff}
.auth-logo{filter:brightness(0) invert(1)}
.auth-rule{background:var(--kt-gold)}
.auth-brand-stage p{color:#f3e6cb}
.auth-card{background:rgba(255,253,249,.98)}
.auth-assurance{
  color:#fff;border-color:rgba(255,255,255,.12);
  background:linear-gradient(135deg,rgba(13,74,61,.94),rgba(6,48,40,.88))
}
.auth-assurance p{color:rgba(255,255,255,.72)}
.assurance-list{color:#f3e6cb}
.assurance-icon{background:rgba(255,255,255,.12);color:#f2c873}

/* Footer */
footer{border-top:1px solid #e4ded2;background:#f2eee4;color:#8b928f}

/* Responsive */
@media(max-width:1220px){
  .dashboard-primary{grid-template-columns:1fr 1fr}
  .dashboard-stack{grid-column:1/-1;grid-template-columns:1fr 300px;grid-template-rows:auto}
  .dashboard-secondary{grid-template-columns:1fr 1fr}
  .dashboard-secondary>section:last-child{grid-column:1/-1}
  .strategy-grid{grid-template-columns:1fr 1fr}
  .ask-workspace{grid-template-columns:1fr}
  .ask-context{grid-template-columns:1fr 1fr}
  .context-trust{grid-column:1/-1}
}
@media(max-width:1100px){
  #sidebar{width:216px}.workspace{margin-left:216px}
  main{padding:24px}
  .dashboard-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  #sidebar{
    top:60px;width:min(304px,88vw);padding-top:17px;
    background:linear-gradient(180deg,rgba(4,42,34,.92),rgba(4,34,29,.98)),url('/app/botanical-bg.svg') center/cover
  }
  .workspace{margin-left:0}
  .topbar{min-height:60px;padding:0 11px}
  .mobile-brand img{filter:none;width:84px}
  main{padding:15px 12px 92px}
  .page-heading{min-height:auto;padding:18px 17px;margin-bottom:11px;background:linear-gradient(110deg,#fffdfa,#eff5f1)}
  .page-heading-side{display:none}
  h1{font-size:30px}
  .page-heading .muted{font-size:13px}
  .demo-note{display:none}
  .dashboard-summary{grid-template-columns:1fr 1fr;gap:7px}
  .dashboard-stat{min-height:78px;padding:10px;gap:8px;grid-template-columns:auto 1fr}
  .dashboard-stat .stat-icon{width:38px;height:38px;font-size:17px}
  .dashboard-stat strong{font-size:22px}.dashboard-stat b{display:block;font-size:10px}.dashboard-stat small,.dashboard-stat i{display:none}
  .dashboard-primary,.dashboard-secondary{grid-template-columns:1fr;gap:9px}
  .dashboard-stack{grid-column:auto;grid-template-columns:1fr;grid-template-rows:auto}
  .dashboard-secondary>section:last-child{grid-column:auto}
  .quick-action-grid{grid-template-columns:1fr 1fr}
  .strategy-grid{grid-template-columns:1fr 1fr;gap:7px}
  .strategy-grid>a{min-height:88px;padding:10px}.strategy-grid strong{font-size:12px}
  .strategy-grid small{display:none}
  .dashboard-card-head{padding:13px 13px 8px}
  .dashboard-list-row,.schedule-row,.activity-row,.people-row,.upcoming-row{padding-left:12px;padding-right:12px}
  .ask-page-title{padding:17px 15px 6px}
  .ask-page-title h2{font-size:27px}
  .ask-action-grid{grid-template-columns:1fr 1fr;padding:9px 14px 14px}
  .ask-conversation{margin:0 14px;min-height:250px}
  .ask-context{grid-template-columns:1fr}
  .context-trust{grid-column:auto}
  .care-hero{grid-template-columns:auto 1fr;padding:16px}
  .auth-gate{
    background:linear-gradient(180deg,rgba(6,48,40,.96) 0 25%,rgba(247,244,236,.98) 25%),
      url('/app/botanical-bg.svg') top/cover no-repeat
  }
  .auth-brand-stage{margin-bottom:14px}
  .auth-logo{width:210px}
  .auth-brand-stage p{font-size:14px}
  .mobile-nav{
    border-color:#ddd7cb;background:rgba(255,253,249,.96);
    box-shadow:0 14px 42px rgba(6,48,40,.14)
  }
  .mobile-nav a.active{background:#eaf3ee;color:#0d4a3d}
  .mobile-nav a.active:after{background:var(--kt-gold)}
}
@media(max-width:430px){
  .dashboard-summary{grid-template-columns:1fr 1fr}
  .quick-action-grid{grid-template-columns:1fr}
  .strategy-grid{grid-template-columns:1fr 1fr}
  .ask-action-grid{grid-template-columns:1fr}
}

/* Accessibility */
@media(prefers-reduced-motion:reduce){
 .dashboard-stat:hover{transform:none}
}

/* Mobile Home render-state safety: loaded dashboard must not retain the flex loader geometry. */
.home-dashboard-loaded{display:block;width:100%;min-width:0;margin-top:0;border:0;background:transparent}
.home-dashboard-loaded>.dashboard-summary,
.home-dashboard-loaded>.dashboard-primary,
.home-dashboard-loaded>.dashboard-secondary,
.home-dashboard-loaded>.strategy-grid{width:100%;min-width:0}
@media(max-width:760px){
  .home-dashboard-loaded{display:block!important;width:100%!important;min-width:0!important}
  .home-dashboard-loaded>*{min-width:0;max-width:100%}
}
