/* Help (features/learn): the approved mock-up's screens 1 to 3 (docs/delivery/onboarding/guides/mock/help-area-mock.html
   in the engagement folder) in the workspace's own tokens. Jacaranda (--act) for the line and Help; amber stays the AI's. */
.lh{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:1120px}
.lh-head{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
.lh-head h2{font-size:22px;line-height:1.2;margin:0 0 4px;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.lh-meter{display:flex;align-items:center;gap:10px;min-width:220px}
.lh-bar{flex:1;height:8px;border-radius:99px;background:var(--line);overflow:hidden}
.lh-bar i{display:block;height:100%;background:var(--good);border-radius:99px}
.lh-meter b{font-variant-numeric:tabular-nums;font-size:14px}
.lh-cols{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;align-items:start}
.lh-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.lh-group{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}
.lh-group h3{margin:0;padding:10px 14px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:8px}
.lh-row{all:unset;box-sizing:border-box;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--line);cursor:pointer;width:100%;min-height:44px}
.lh-row:last-child{border-bottom:0}
.lh-row:hover{background:var(--hover)}
.lh-row:focus-visible{outline:2px solid var(--act);outline-offset:-2px}
.lh-tick{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line-2);display:grid;place-items:center;font-size:12px;font-weight:700;color:transparent}
.lh-row.done .lh-tick{background:var(--good);border-color:var(--good);color:var(--surface)}
.lh-row.next .lh-tick{border-color:var(--act)}
.lh-row .t{font-weight:600;font-size:15px}
.lh-row.done .t{color:var(--ink-2);font-weight:500}
.lh-row .s{font-size:14px;color:var(--muted)}
.lh-row .r{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.lh-pill{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:99px;font-size:13px;font-weight:600}
.lh-pill.good{background:var(--good-bg);color:var(--good)}.lh-pill.act{background:var(--act-soft);color:var(--act)}.lh-pill.wait{background:var(--bg-2);color:var(--muted)}
.lh-card{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px;display:flex;flex-direction:column;gap:8px}
.lh-card h4{margin:0;font-size:14px;font-weight:700}
.lh-card{font-size:15px}
.lh-card ol,.lh-card ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.lh-foot{font-size:14px;color:var(--muted);max-width:70ch;margin:0}
.lh-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line-2);border-radius:6px;background:var(--surface);padding:0 10px;min-height:44px}
.lh-search input{all:unset;flex:1;font-size:15px;min-width:0;height:42px}
.lh-search:focus-within{border-color:var(--act);box-shadow:0 0 0 3px var(--act-soft)}
.lh-none{padding:0;margin:0;font-size:15px;font-weight:600}
/* a guide */
.lh-back{align-self:flex-start}
.lh-film{background:#1b2420;border-radius:8px;aspect-ratio:16/9;max-width:100%;position:relative;overflow:hidden;display:grid;place-items:center;color:#f1eee6}
.lh-film video{width:100%;height:100%;display:block;background:#000}
.lh-len{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.55);color:#f1eee6;font-size:13px;padding:2px 8px;border-radius:99px;font-variant-numeric:tabular-nums;pointer-events:none}
.lh-rule{border-left:3px solid var(--act);padding:2px 0 2px 12px;font-weight:600;font-size:15px;margin:0}
.lh-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;max-width:65ch;font-size:15px}
.lh-donewhen{display:flex;gap:10px;align-items:flex-start;background:var(--bg-2);border-radius:8px;padding:10px 12px;font-size:15px}
.lh-donewhen .lh-tick{border-color:var(--act);flex:none}
.lh-donewhen.done .lh-tick{background:var(--good);border-color:var(--good);color:var(--surface)}
.lh-acts{display:flex;gap:8px;flex-wrap:wrap}
.lh-acts .btn{min-height:44px}
.lh-chapters{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.lh-chapters a{display:flex;gap:10px;justify-content:space-between;padding:10px 12px;border-radius:6px;color:inherit;text-decoration:none;min-height:44px;align-items:center}
.lh-chapters a[aria-current]{background:var(--act-soft);color:var(--act);font-weight:600}
/* the quiet line (screen 3): one line, at the top of the working area or the foot of Today; never a modal, never amber */
.lh-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;border:1px solid var(--act-line);background:var(--act-soft);border-radius:8px;padding:8px 12px;font-size:15px;margin:0 0 12px}
.lh-line>span:first-child{min-width:0;flex:1 1 220px}
.lh-line-b{display:flex;gap:8px;flex-wrap:wrap}
.lh-line .btn{min-height:36px}
.lh-tip{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:0;cursor:pointer;color:inherit;font:inherit}
.lh-tip img{width:56px;height:32px;object-fit:cover;border-radius:4px;background:var(--line)}
.lh-tip-v{width:100%;max-width:360px;border-radius:6px;display:block}
.lh-hl{outline:2px solid var(--act);outline-offset:3px;border-radius:6px}
.lh-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--act);margin-left:6px;vertical-align:middle}
/* v4-int: on the More sheet's Help tile, the dot sits at its top right corner, as a badge does */
.sheet-item .lh-dot{position:absolute;top:8px;right:10px;margin:0}
.sf-help{display:flex;flex-direction:column}

/* package v4: every role, every format */
.lh-row-off{cursor:default}.lh-row-off:hover{background:none}
.lh-shelves{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
.lh-shelf{display:flex;flex-direction:column;gap:10px;min-width:0}
.lh-shelf .lh-head h2{font-size:18px}
.lh-side-only{display:flex;flex-wrap:wrap;gap:16px}.lh-side-only>*{flex:1 1 300px;max-width:520px}
.lh-prev{margin:0;padding:10px 12px;border-radius:8px;background:var(--act-soft);color:var(--ink);border:1px solid var(--act-line);font-size:15px}
/* the "How do I" box and its answers */
.lh-ask{display:flex;flex-direction:column;gap:12px;max-width:760px}
.lh-res{display:flex;flex-direction:column;gap:12px}
.lh-ans{border:1px solid var(--line);border-left:3px solid var(--act);border-radius:8px;background:var(--surface);padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:15px}
.lh-ans.no{border-left-color:var(--line-2)}
.lh-ans h3{margin:0;font-size:16px;font-weight:700}
.lh-no-h{margin:0;font-weight:600}
.lh-ans-l{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.lh-res-h{margin:0 0 6px;font-size:14px;font-weight:600;color:var(--muted)}
.lh-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}
/* her tips switch */
.lh-sw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600}
.lh-sw{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 6px;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);border-radius:8px}
.lh-sw:focus-visible{outline:2px solid var(--act);outline-offset:2px}
.lh-sw-k{width:38px;height:22px;border-radius:99px;background:var(--line-ctl);position:relative;flex:none}
.lh-sw-k::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--surface)}
.lh-sw[aria-checked="true"] .lh-sw-k{background:var(--act)}
.lh-sw[aria-checked="true"] .lh-sw-k::after{left:19px;background:var(--on-act)}
/* an item's page */
.lh-ihead{display:flex;flex-direction:column;gap:4px}
.lh-ihead h2{font-size:22px;line-height:1.25;margin:0;font-weight:700;text-wrap:balance}
.lh-kind{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--act);font-weight:700}
.lh-meta{font-size:14px}
.lh-soon{margin:0;font-size:14px;color:var(--muted)}
.lh-nothere{border:1px solid var(--line-2);border-radius:8px;background:var(--bg-2);padding:12px 14px;font-size:15px}
.lh-nothere b{display:block;margin-bottom:4px}.lh-nothere p{margin:0}
.lh-body{display:flex;flex-direction:column;gap:8px;max-width:68ch;font-size:15px;line-height:1.5}
.lh-body p{margin:0}.lh-body ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.lh-bh{margin:8px 0 0;font-size:15px;font-weight:700}
.lh-lnk{display:inline-flex;align-items:center;min-height:44px;font-size:15px;text-align:left}
.lh-chap{display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.55;max-width:68ch}
.lh-chap h3{margin:0;font-size:19px;font-weight:700}.lh-chap p{margin:0}.lh-chap .lh-chn{font-size:14px}
.lh-chnav .btn{min-height:44px}
.lh-chapters a{font-size:15px}
/* the quick question */
.lh-quiz{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px;display:flex;flex-direction:column;gap:10px;font-size:15px;max-width:68ch}
.lh-quiz h3{margin:0;font-size:16px;font-weight:700}
.lh-qq{margin:0}.lh-qq .muted{font-size:14px}
.lh-opts{display:flex;flex-direction:column;gap:8px}
.lh-opt{all:unset;box-sizing:border-box;min-height:44px;padding:10px 14px;border:1px solid var(--line-2);border-radius:8px;cursor:pointer;font-size:15px;color:var(--ink);background:var(--surface)}
.lh-opt:hover:not([disabled]){background:var(--hover)}.lh-opt:focus-visible{outline:2px solid var(--act);outline-offset:2px}
.lh-opt[disabled]{cursor:default}
.lh-opt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
.lh-opt.right{border:2px solid var(--good);background:var(--good-bg);padding:9px 13px}
.lh-opt.wrong{border:2px solid var(--bad);background:var(--bad-bg);padding:9px 13px}
.lh-optw{font-size:14px;font-weight:700;white-space:nowrap}.lh-opt.right .lh-optw{color:var(--good)}.lh-opt.wrong .lh-optw{color:var(--bad)}
.lh-why{padding:10px 12px;border-radius:8px;background:var(--bg-2)}.lh-why.right{background:var(--good-bg)}
.lh-qdl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.lh-qdl li{display:flex;gap:10px;align-items:flex-start}
.lh-tick.on{background:var(--good);border-color:var(--good);color:var(--surface);flex:none}
/* a tip */
.lh-tipp{display:flex;flex-direction:column;gap:14px;max-width:68ch}
.lh-tipbtn{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:1px solid var(--act-line);background:var(--act-soft);border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink)}
.lh-tipbtn img{width:96px;height:54px;object-fit:cover;border-radius:6px;background:var(--line)}
.lh-tipbtn:focus-visible{outline:2px solid var(--act);outline-offset:2px}
.lh-tipv,.lh-tipimg{width:100%;max-width:480px;border-radius:8px;display:block;background:var(--line)}
/* a worked example and a cheat sheet */
.lh-example,.lh-sheet{display:flex;flex-direction:column;gap:12px;max-width:760px;min-width:0}
.lh-sheet{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:16px 18px}
@media print{
  body:has(.lh-sheet) .print-head,body:has(.lh-sheet) .print-foot,body:has(.lh-sheet) .sysban,body:has(.lh-sheet) .lh-noprint,body:has(.lh-sheet) .lh-line,body:has(.lh-sheet) .bnav,body:has(.lh-sheet) .tabs{display:none!important}
  body:has(.lh-sheet) .view{padding:0!important;margin:0!important}
  .lh-item{gap:0;max-width:none}
  .lh-sheet{border:0;padding:0;gap:6pt;max-width:none;font-size:10pt;color:#0A1016;background:#fff}
  .lh-sheet .lh-ihead h2{font-size:15pt}.lh-sheet .lh-kind{color:#3a4642}
  .lh-sheet .lh-body{font-size:10pt;line-height:1.35;gap:4pt;max-width:none}
  .lh-sheet .lh-bh{font-size:10.5pt;margin-top:4pt}
  .lh-sheet .lh-steps,.lh-sheet .lh-rule,.lh-sheet .lh-nothere{font-size:10pt}
}
@media (max-width:760px){
  .lh-cols{grid-template-columns:minmax(0,1fr)}
  .lh-row{grid-template-columns:22px minmax(0,1fr)}.lh-row .r{grid-column:2;justify-content:flex-start}
  .lh-line .btn,.lh-acts .btn{min-height:44px}
  .lh-acts .btn{white-space:normal;text-align:left;height:auto;padding:8px 14px;line-height:1.3}
  .lh-ihead h2{font-size:20px}
  .lh-line-b{gap:8px}
}
@media (prefers-reduced-motion:no-preference){.lh-bar i{transition:width .24s cubic-bezier(.23,1,.32,1)}}
/* Help's walk-through fixes (v4-learn-engine): text sizes, the catch-up line, a line whose guide is not written yet */
.lh .btn{font-size:15px}
.lh-chapters .small{font-size:14px}
.lh-catch{margin:0;padding:10px 14px;border-radius:8px;border:1px solid var(--line);background:var(--surface);font-size:15px;line-height:1.5;max-width:880px}
.lh-catch .lh-lnk{display:inline-flex;min-height:44px;vertical-align:middle;font-weight:600}
.lh-sep{color:var(--muted)}
.lh-tick.lh-tick-off{border-color:transparent}
.lh-row-off .t{color:var(--ink-2);font-weight:500}
