
.jill-help-overlay{
  position:fixed;
  inset:0;
  z-index:300;
  pointer-events:none;
}
.jill-help-overlay.hidden{display:none}
.jill-help-focus{
  position:fixed;
  z-index:301;
  border:3px solid #24C6D2;
  border-radius:16px;
  box-shadow:0 0 0 9999px rgba(15,23,42,.58),0 0 0 7px rgba(36,198,210,.16);
  transition:top .22s ease,left .22s ease,width .22s ease,height .22s ease;
  pointer-events:none;
}
.jill-help-focus.hidden{display:none}
.jill-help-card{
  position:fixed;
  z-index:302;
  width:min(390px,calc(100vw - 28px));
  background:#fff;
  border:1px solid #DDE7F3;
  border-radius:22px;
  box-shadow:0 26px 90px rgba(15,23,42,.34);
  padding:20px;
  pointer-events:auto;
}
.jill-help-card.centered{
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  visibility:visible!important;
}
.jill-help-kicker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#64748B;
  font-size:12px;
  font-weight:600;
  margin-bottom:12px;
}
.jill-help-progress{
  height:5px;
  background:#E8EEF7;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:16px;
}
.jill-help-progress span{
  display:block;
  height:100%;
  background:#24C6D2;
  border-radius:999px;
  transition:width .2s ease;
}
.jill-help-card h2{
  margin:0 0 9px;
  color:#0D2F7A;
  font-size:21px;
}
.jill-help-card p{
  margin:0;
  color:#475569;
  line-height:1.55;
  font-size:14px;
}
.jill-help-tip{
  margin-top:13px;
  padding:10px 12px;
  border-radius:13px;
  background:#F0FDFA;
  color:#0F766E;
  font-size:13px;
  line-height:1.45;
}
.jill-help-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:18px;
}
.jill-help-actions-left,
.jill-help-actions-right{display:flex;gap:8px}
.jill-help-btn{
  border:1px solid #DDE7F3;
  border-radius:12px;
  padding:9px 13px;
  background:#fff;
  color:#0D2F7A;
  font-weight:600;
  cursor:pointer;
}
.jill-help-btn.primary{
  border-color:#0D2F7A;
  background:#0D2F7A;
  color:#fff;
}
.jill-help-btn.close{
  border:0;
  padding:6px 8px;
  color:#64748B;
}
@media(max-width:700px){
  .jill-help-card{
    left:14px!important;
    right:14px!important;
    bottom:14px!important;
    top:auto!important;
    width:auto;
    transform:none!important;
  }
}

.jill-help-card{
  max-height:calc(100vh - 28px);
  overflow:auto;
}
.jill-help-example{
  margin-top:15px;
  border:1px solid #DDE7F3;
  border-radius:16px;
  overflow:hidden;
  background:#FBFDFF;
}
.jill-help-example-title{
  padding:10px 12px;
  background:#EFF6FF;
  color:#0D2F7A;
  font-weight:600;
  font-size:13px;
  border-bottom:1px solid #DDE7F3;
}
.jill-help-example-body{
  padding:12px;
  display:grid;
  gap:10px;
}
.jill-help-example-row{
  display:grid;
  grid-template-columns:115px minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.jill-help-example-label{
  color:#64748B;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.jill-help-example-value{
  color:#1E293B;
  font-size:13px;
  line-height:1.45;
  font-weight:600;
}
.jill-help-example-options{
  display:grid;
  gap:5px;
}
.jill-help-example-option{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border:1px solid #E2E8F0;
  border-radius:10px;
  padding:7px 9px;
  background:#fff;
  color:#334155;
  font-size:12px;
}
.jill-help-example-option span:last-child{
  color:#0F766E;
  font-weight:600;
  white-space:nowrap;
}
.jill-help-example-note{
  padding:9px 10px;
  border-radius:11px;
  background:#F0FDFA;
  color:#0F766E;
  font-size:12px;
  line-height:1.45;
}
@media(max-width:500px){
  .jill-help-example-row{grid-template-columns:1fr;gap:3px}
}


.jill-help-btn.close .material-symbols-rounded{font-size:19px}

body.jill-help-open{overflow:hidden}
.page-help-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-left:auto;
  padding:8px 11px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:12px;
  background:var(--panel,#fff);
  color:var(--navy,#0D2F7A);
  font:inherit;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
}
.page-help-button:hover{background:#F5F9FF}
.page-help-button .material-symbols-rounded{font-size:18px}
.page-help-button:focus-visible,
.jill-help-btn:focus-visible,
.jill-help-link-list button:focus-visible,
.help-category-list button:focus-visible,
.help-search-result:focus-visible{
  outline:3px solid rgba(36,198,210,.34);
  outline-offset:2px;
}

.jill-help-drawer-root{
  position:fixed;
  inset:0;
  z-index:290;
}
.jill-help-drawer-root.hidden{display:none}
.jill-help-drawer-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(15,23,42,.46);
  cursor:default;
}
.jill-help-drawer{
  position:absolute;
  top:0;
  right:0;
  width:min(460px,calc(100vw - 28px));
  height:100vh;
  height:100dvh;
  overflow:auto;
  padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) 24px;
  background:var(--panel,#fff);
  color:var(--text,#172033);
  border-left:1px solid var(--line,#DDE7F3);
  box-shadow:-22px 0 60px rgba(15,23,42,.22);
  animation:jillHelpDrawerIn .2s ease-out;
}
@keyframes jillHelpDrawerIn{
  from{transform:translateX(24px);opacity:.7}
  to{transform:translateX(0);opacity:1}
}
.jill-help-drawer-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line,#DDE7F3);
}
.jill-help-drawer-head span:first-child{
  color:var(--muted,#64748B);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.jill-help-drawer-head h2{
  margin:4px 0 0;
  color:var(--navy,#0D2F7A);
  font-size:24px;
}
.jill-help-drawer-intro{
  margin:18px 0 22px;
  color:var(--muted,#64748B);
  line-height:1.55;
}
.jill-help-drawer-section{margin-top:22px}
.jill-help-drawer-section h3{
  margin:0 0 10px;
  color:var(--text,#172033);
  font-size:15px;
}
.jill-help-link-list{display:grid;gap:9px}
.jill-help-key-actions{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.jill-help-key-actions li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:var(--muted,#64748B);
  font-size:13px;
  line-height:1.4;
}
.jill-help-key-actions .material-symbols-rounded{
  color:var(--teal,#0F766E);
  font-size:18px;
}
.jill-help-link-list button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:13px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:15px;
  background:var(--panel,#fff);
  color:var(--text,#172033);
  text-align:left;
  cursor:pointer;
}
.jill-help-link-list button:hover{border-color:var(--teal,#24C6D2);background:#F8FEFF}
.jill-help-link-list button>span:first-child{display:grid;gap:4px}
.jill-help-link-list small{color:var(--muted,#64748B);line-height:1.4}
.jill-help-drawer-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--line,#DDE7F3);
}
.jill-help-drawer-actions a{
  color:var(--navy,#0D2F7A);
  font-size:13px;
  font-weight:700;
}
.jill-help-question-list{display:grid;gap:4px}
.jill-help-question-list button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  padding:9px 0;
  border:0;
  border-bottom:1px solid var(--line,#DDE7F3);
  background:transparent;
  color:var(--navy,#0D2F7A);
  font:inherit;
  font-size:13px;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}
.jill-help-question-list button:hover{text-decoration:underline}
.jill-help-question-list .material-symbols-rounded{font-size:17px}

.jill-help-tutorial-list{display:grid;gap:10px}
.jill-help-tutorial-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:16px;
  background:var(--panel,#fff);
}
.jill-help-tutorial-card h4{
  margin:5px 0 3px;
  color:var(--text,#172033);
  font-size:14px;
}
.jill-help-tutorial-card p{
  margin:0;
  color:var(--muted,#64748B);
  font-size:12px;
  line-height:1.45;
}
.jill-help-tutorial-status{
  display:inline-flex;
  border-radius:999px;
  padding:3px 8px;
  background:#EEF2FF;
  color:#4338CA;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.jill-help-tutorial-status.complete{background:#DCFCE7;color:#15803D}
.jill-help-tutorial-status.dismissed{background:#FEF3C7;color:#9A5B06}

.help-centre-layout{
  display:grid;
  grid-template-columns:minmax(240px,300px) minmax(360px,1fr) minmax(260px,330px);
  gap:18px;
  align-items:start;
}
.help-browse-panel,
.help-article-panel,
.help-tutorial-panel{
  min-width:0;
  border:1px solid var(--line,#DDE7F3);
  border-radius:20px;
  background:var(--panel,#fff);
  box-shadow:var(--shadow,0 12px 34px rgba(18,38,63,.08));
}
.help-browse-panel{padding:18px}
.help-search-box label{
  display:block;
  margin-bottom:8px;
  color:var(--text,#172033);
  font-weight:800;
}
.help-search-input{position:relative}
.help-search-input .material-symbols-rounded{
  position:absolute;
  left:12px;
  top:50%;
  translate:0 -50%;
  color:var(--muted,#64748B);
  font-size:19px;
  pointer-events:none;
}
.help-search-input input{
  width:100%;
  min-height:44px;
  padding:10px 12px 10px 39px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:13px;
  background:var(--panel,#fff);
  color:var(--text,#172033);
  font:inherit;
}
.help-search-input input:focus{
  outline:3px solid rgba(36,198,210,.2);
  border-color:var(--teal,#24C6D2);
}
.help-category-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:14px 0;
}
.help-category-list button{
  padding:7px 9px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:999px;
  background:var(--panel,#fff);
  color:var(--muted,#64748B);
  font:inherit;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
.help-category-list button[aria-pressed="true"]{
  border-color:var(--navy,#0D2F7A);
  background:var(--navy,#0D2F7A);
  color:#fff;
}
.help-search-results{
  display:grid;
  gap:7px;
  max-height:56vh;
  overflow:auto;
}
.help-search-result{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  width:100%;
  padding:11px 7px;
  border:0;
  border-bottom:1px solid var(--line,#DDE7F3);
  background:transparent;
  color:var(--text,#172033);
  text-align:left;
  cursor:pointer;
}
.help-search-result:hover{background:#F8FAFC}
.help-search-result>span:nth-child(2){display:grid;gap:3px}
.help-search-result>span:first-child{color:var(--teal,#0F766E)}
.help-search-result small{color:var(--muted,#64748B);line-height:1.35}
.help-empty-result{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:16px 8px;
  color:var(--muted,#64748B);
  font-size:13px;
  line-height:1.5;
}
.help-empty-result p{margin:0}

.help-article-panel{
  min-height:520px;
  padding:28px;
}
.help-article-placeholder,
.help-article-loading{
  display:grid;
  place-items:center;
  align-content:center;
  min-height:450px;
  color:var(--muted,#64748B);
  text-align:center;
}
.help-article-placeholder .material-symbols-rounded{
  color:var(--teal,#24C6D2);
  font-size:42px;
}
.help-article-placeholder h2{margin:10px 0 4px;color:var(--text,#172033)}
.help-article-placeholder p,
.help-article-loading p{margin:0}
.help-article-loading .material-symbols-rounded{font-size:30px;animation:jillHelpSpin 1s linear infinite}
@keyframes jillHelpSpin{to{rotate:360deg}}
.help-article-head{
  padding-bottom:20px;
  border-bottom:1px solid var(--line,#DDE7F3);
}
.help-article-head>span{
  color:var(--teal,#0F766E);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.help-article-head h2{
  margin:6px 0 9px;
  color:var(--navy,#0D2F7A);
  font-size:27px;
  line-height:1.2;
}
.help-article-head p{
  margin:0;
  color:var(--muted,#64748B);
  line-height:1.55;
}
.help-article-section{margin-top:23px}
.help-article-section h3{margin:0 0 10px;color:var(--text,#172033);font-size:17px}
.help-article-section p,
.help-article-section li{
  color:var(--muted,#64748B);
  line-height:1.65;
}
.help-article-section p{margin:0 0 10px}
.help-article-section ol,
.help-article-section ul{display:grid;gap:7px;margin:8px 0;padding-left:23px}
.help-article-error{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  border:1px solid #F2B8B5;
  border-radius:15px;
  background:#FFF5F5;
  color:#8B1E1E;
}
.help-article-error p{margin:5px 0 12px;line-height:1.45}

.help-tutorial-panel{padding:18px}
.help-panel-heading{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:14px;
}
.help-panel-heading>.material-symbols-rounded{color:var(--teal,#0F766E);font-size:25px}
.help-panel-heading h2{margin:0 0 5px;color:var(--text,#172033);font-size:18px}
.help-panel-heading p{margin:0;color:var(--muted,#64748B);font-size:12px;line-height:1.45}
.help-tutorial-panel .jill-help-tutorial-card{grid-template-columns:1fr}
.help-tutorial-panel .jill-help-tutorial-card .jill-help-btn{justify-self:start}
.help-support-card{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:18px;
  padding:15px;
  border-radius:16px;
  background:#F0FDFA;
  color:#0F766E;
}
.help-support-card>.material-symbols-rounded{font-size:24px}
.help-support-card h3{margin:0 0 4px;font-size:15px}
.help-support-card p{margin:0 0 12px;font-size:12px;line-height:1.45}
.help-support-card .jill-help-btn{display:inline-flex;text-decoration:none}
.help-state-warning{
  margin:0;
  padding:10px;
  border-radius:12px;
  background:#FEF3C7;
  color:#7C4A03;
  font-size:12px;
  line-height:1.4;
}
.guided-empty-state{
  display:grid;
  justify-items:start;
  gap:8px;
  padding:24px;
  border:1px dashed var(--line,#DDE7F3);
  border-radius:18px;
  background:var(--panel,#fff);
  color:var(--muted,#64748B);
}
.guided-empty-state.compact{
  justify-items:center;
  max-width:520px;
  margin:10px auto;
  text-align:center;
}
.guided-empty-state>.material-symbols-rounded{
  color:var(--teal,#0F766E);
  font-size:30px;
}
.guided-empty-state h2{
  margin:0;
  color:var(--text,#172033);
  font-size:18px;
}
.guided-empty-state p{margin:0 0 4px;line-height:1.5}
.inline-help-link{
  display:inline-flex;
  align-items:center;
  padding:4px 0;
  border:0;
  background:transparent;
  color:var(--navy,#0D2F7A);
  font:inherit;
  font-size:12px;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.inline-help-link:focus-visible{
  outline:3px solid rgba(36,198,210,.34);
  outline-offset:3px;
  border-radius:4px;
}
.job-empty-state .inline-help-link{margin-top:8px}

.jill-context-guidance{
  margin:14px 0 18px;
  border:1px solid var(--line,#DDE7F3);
  border-radius:15px;
  background:var(--panel,#fff);
  color:var(--muted,#64748B);
}
.jill-context-guidance summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:10px 13px;
  color:var(--navy,#0D2F7A);
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
.jill-context-guidance summary::-webkit-details-marker{display:none}
.jill-context-guidance summary::after{
  content:"";
  margin-left:auto;
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
}
.jill-context-guidance[open] summary::after{transform:rotate(225deg)}
.jill-context-guidance summary:focus-visible{
  outline:3px solid rgba(36,198,210,.34);
  outline-offset:2px;
  border-radius:13px;
}
.jill-context-guidance-body{
  padding:0 14px 14px 40px;
  font-size:13px;
  line-height:1.5;
}
.jill-context-guidance-body p{margin:0}
.jill-context-guidance-body ol{
  display:grid;
  gap:5px;
  margin:0;
  padding-left:18px;
}
.jill-context-guidance-body .inline-help-link{margin-top:9px}
.document-library-action-help{
  margin:0;
  color:var(--muted,#64748B);
  font-size:12px;
  line-height:1.45;
}
.document-library-empty .inline-help-link{margin:10px auto 0}
.modules-empty .inline-help-link{margin-top:6px}

body.theme-dark .page-help-button,
body.theme-dark .jill-help-drawer,
body.theme-dark .jill-help-link-list button,
body.theme-dark .jill-help-tutorial-card,
body.theme-dark .help-browse-panel,
body.theme-dark .help-article-panel,
body.theme-dark .help-tutorial-panel,
body.theme-dark .help-search-input input,
body.theme-dark .help-category-list button{
  background:var(--panel,#0D1A2E);
}
body.theme-dark .page-help-button:hover,
body.theme-dark .jill-help-link-list button:hover,
body.theme-dark .help-search-result:hover{background:#13243C}
body.theme-dark .help-article-error{background:#351B23;border-color:#7F3546;color:#F6C5CF}
body.theme-dark .help-support-card{background:#0E292B;color:#91E5DE}
body.theme-dark .guided-empty-state{background:var(--panel,#0D1A2E)}
body.theme-dark .jill-context-guidance{background:var(--panel,#0D1A2E)}
body.theme-dark .jill-help-card{background:var(--panel,#0D1A2E);border-color:var(--line,#1F3556)}
body.theme-dark .jill-help-card h2{color:var(--text,#F4F7FB)}
body.theme-dark .jill-help-card p{color:var(--muted,#9DAEC8)}

@media(max-width:1250px){
  .help-centre-layout{grid-template-columns:minmax(240px,300px) minmax(360px,1fr)}
  .help-tutorial-panel{grid-column:1/-1}
  .help-tutorial-panel .jill-help-tutorial-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .help-centre-layout{grid-template-columns:1fr}
  .help-tutorial-panel{grid-column:auto}
  .help-tutorial-panel .jill-help-tutorial-list{grid-template-columns:1fr}
  .help-search-results{max-height:none}
  .help-article-panel{min-height:360px}
  .help-article-placeholder,.help-article-loading{min-height:280px}
}
@media(max-width:600px){
  .page-help-button span:last-child{display:none}
  .page-help-button{padding:8px}
  .jill-help-drawer{width:100%;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
  .jill-help-drawer-actions{align-items:stretch;flex-direction:column}
  .jill-help-drawer-actions .jill-help-btn{width:100%}
  .jill-help-tutorial-card{grid-template-columns:1fr}
  .jill-context-guidance-body{padding:0 13px 13px}
  .jill-help-tutorial-card .jill-help-btn{justify-self:start}
  .help-article-panel{padding:20px}
}
@media(prefers-reduced-motion:reduce){
  .jill-help-drawer{animation:none}
  .jill-help-focus,
  .jill-help-progress span{transition:none}
  .help-article-loading .material-symbols-rounded{animation:none}
}
