/* AJ COCKPIT – Handbuch & Mitarbeiter-Onboarding */
.hb-ico{width:16px;height:16px;vertical-align:-3px;color:var(--primary)}
.hb-search .card-b{display:flex;align-items:center;gap:10px}
.hb-search .card-b svg{width:18px;height:18px;color:var(--muted);flex:none}
.hb-search input{flex:1;border:0;background:transparent;font-size:15px;outline:none;padding:6px 0}
.hb-hits{border-top:1px solid var(--line);max-height:none}
.hb-hit{display:flex;flex-direction:column;gap:2px;padding:10px 18px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--line)}
.hb-hit:hover{background:var(--hover)}
.hb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;align-items:start}
.hb-grid .card{margin:0}
.hb-cat h3 a{color:var(--text);text-decoration:none}
.hb-al{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none;flex-wrap:wrap}
.hb-al:last-child{border-bottom:0}
a.hb-al:hover{color:var(--primary)}
.hb-row{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}
.hb-row:hover b{color:var(--primary)}
.hb-bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin:6px 0}
.hb-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--indigo),var(--cyan));border-radius:99px;transition:width .4s}
.hb-mine{display:block;text-decoration:none;color:var(--text);border-left:4px solid var(--primary)}
.hb-mine .card-b{display:flex;align-items:center;gap:16px}
.hb-confirm{border-left:4px solid var(--bad)}
.hb-faq{border-bottom:1px solid var(--line);padding:8px 0}
.hb-faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;gap:8px;align-items:center}
.hb-faq summary::before{content:'+';color:var(--primary);font-weight:700;width:14px;flex:none}
.hb-faq[open] summary::before{content:'–'}
.hb-faq .hb-md{padding:6px 0 4px 22px}
.hb-fq{width:100%;margin-bottom:8px}
.hb-art{max-width:860px}
.hb-title{font-size:24px;margin:4px 0 14px}
.hb-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.hb-md{line-height:1.65;font-size:14px;overflow-wrap:anywhere}
.hb-md h2{font-size:19px;margin:22px 0 8px}.hb-md h3{font-size:16px;margin:18px 0 6px}.hb-md h4{font-size:14px;margin:14px 0 4px}
.hb-md p{margin:0 0 10px}.hb-md ul,.hb-md ol{margin:0 0 10px;padding-left:22px}
.hb-md img{max-width:100%;border-radius:10px;margin:6px 0}
.hb-call{background:var(--primary-soft);border-left:4px solid var(--primary);border-radius:8px;padding:10px 14px;margin:0 0 12px;font-size:13.5px}
.hb-call.warn{background:var(--warn-soft);border-left-color:var(--warn)}
.hb-video,.hb-embed iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#000;margin-bottom:14px;display:block}
.hb-2click{aspect-ratio:16/9;border-radius:12px;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;text-align:center;margin-bottom:14px}
.hb-2click p{max-width:460px;margin:0;font-size:13px;color:var(--muted)}
.hb-att{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.hb-conf{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--surface-2);border-radius:12px;padding:12px 14px;margin-top:16px}
.hb-conf.must{background:var(--primary-soft)}
.hb-conf label{gap:8px;font-weight:500}
.hb-ok{background:var(--good-soft);color:var(--good);border-radius:12px;padding:10px 14px;margin-top:16px;font-weight:500}
.hb-log{margin-top:16px;font-size:13px}.hb-log summary{cursor:pointer;color:var(--muted)}.hb-log div{padding:3px 0}
.hb-edrow{margin-top:16px;gap:10px;align-items:center}
.hb-hero .card-b{display:flex;align-items:center;gap:20px}
.hb-hero h2{margin:0 0 4px;font-size:22px}
.hb-pct{font-family:var(--font-head);font-size:28px;color:var(--primary)}
.hb-steps{display:flex;flex-direction:column}
.hb-step{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.hb-step:last-child{border-bottom:0}
.hb-step .grow{min-width:180px}.hb-step small{display:block;color:var(--muted);font-size:12px}
.hb-step.done b{color:var(--muted)}.hb-step.dis{opacity:.55}
.hb-chk{width:30px;height:30px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;flex:none}
.hb-chk svg{width:16px;height:16px}
.hb-step.done .hb-chk{background:var(--good-soft);color:var(--good)}
.hb-welcome{text-align:center;padding:6px 10px}
.hb-wave{font-size:46px;line-height:1;animation:hbwave 1.6s ease-in-out 2}
.hb-welcome h2{margin:10px 0}
@keyframes hbwave{0%,100%{transform:rotate(0)}25%{transform:rotate(18deg)}75%{transform:rotate(-12deg)}}
@media (prefers-reduced-motion:reduce){.hb-wave{animation:none}}
.hb-q{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:0;display:flex;flex-direction:column;gap:6px}
.hb-q legend{font-weight:600;padding:0 4px}.hb-q label{gap:8px}
.hb-q.ok{border-color:var(--good);background:var(--good-soft)}.hb-q.bad{border-color:var(--bad);background:var(--bad-soft)}
.hb-tb{display:flex;flex-wrap:wrap;gap:2px;margin-bottom:4px}
.hb-prev{border:1px solid var(--line);border-radius:10px;padding:12px;min-height:200px}
.hb-tg{display:flex;flex-wrap:wrap;gap:6px 16px}
.hb-matbox{background:var(--warn-soft);border-radius:10px;padding:10px 12px}
.hb-imp{display:flex;flex-direction:column;gap:10px}
.hb-pstep{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.hb-pf{display:flex;flex-direction:column;gap:6px}.hb-pf input:not([type=checkbox]):not([type=radio]),.hb-pf select{width:100%}
.hb-pf .row{gap:10px;flex-wrap:wrap}.hb-pbtn{display:flex;gap:2px}
.hb-pq{border-left:3px solid var(--line-2);padding-left:10px;display:flex;flex-direction:column;gap:4px}
.hb-tile{display:flex;flex-direction:column;gap:4px}.hb-tile .btn{align-self:flex-start;margin-top:4px}
.hb-unew{margin-top:10px}
.hb-doc{background:var(--surface-2);border-radius:12px;padding:14px 18px}
.hb-alt{border:1px dashed var(--line-2);border-radius:12px;padding:10px 14px;margin-top:12px;display:flex;flex-direction:column;gap:8px}
.hb-proof{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;overflow-wrap:anywhere}
@media (max-width:640px){.hb-grid{grid-template-columns:1fr}.hb-hero .card-b{flex-direction:column;align-items:stretch}.hb-mine .card-b{flex-direction:column;align-items:stretch}}
@media print{
  body.hb-print .side,body.hb-print .topbar,body.hb-print .hb-noprint,body.hb-print .btn{display:none!important}
  body.hb-print .content,body.hb-print .main,body.hb-print .shell{overflow:visible!important;height:auto!important;display:block!important}
  body.hb-print.hb-pmodal .shell{display:none!important}
  body.hb-print.hb-pmodal #layer .ov{position:static!important;background:none!important;display:block!important}
  body.hb-print.hb-pmodal #layer .modal{box-shadow:none!important;max-height:none!important;width:auto!important;max-width:none!important}
  body.hb-print.hb-pmodal #layer .m-h button,body.hb-print.hb-pmodal #layer .m-f,body.hb-print.hb-pmodal .hb-alt,body.hb-print.hb-pmodal .hb-conf{display:none!important}
  body.hb-print .hb-doc{background:none;padding:0}
}
