/* Inersia CBT — progressive category selection */
#programList[hidden],.hierarchy-layout .sidebar[hidden]{display:none!important}
.hierarchy-layout{display:block;max-width:1140px;padding-top:18px;padding-bottom:74px}
.hero .chips{display:none}
.hero{padding-top:28px;padding-bottom:12px}
.hero-art{min-height:195px}
.hero-art .char-primary{max-width:180px}.hero-art .char-secondary{max-width:125px}
.hierarchy-explorer{background:white;border:1px solid #dce7f2;border-radius:24px;padding:30px;box-shadow:0 12px 32px rgba(24,67,123,.08);scroll-margin-top:90px}
.h-head{display:flex;gap:18px;align-items:start;justify-content:space-between;margin-bottom:22px}
.h-eyebrow{color:#1b5fbf;letter-spacing:.12em;font-size:11px;font-weight:800;margin-bottom:8px}
.h-head h2{color:#173f6d;font-weight:800;font-size:clamp(23px,3vw,30px);letter-spacing:-.025em;margin:0 0 8px;line-height:1.16}
.h-head p{font-size:14px;line-height:1.5;color:#586a81;margin:0;max-width:650px}
.h-reset,.h-change{padding:10px 15px;border-radius:12px;background:#edf5ff;border:1px solid #cfe2f7;color:#173f6d;font-weight:800;font-size:12px;white-space:nowrap}
.h-reset:hover,.h-change:hover{background:#dceeff}
.h-steps{display:flex;align-items:center;gap:9px;margin-bottom:20px}
.h-step{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:#8292a7;font-weight:700}
.h-step::after{content:'';width:36px;height:1px;background:#c9d8e7;margin-left:6px}
.h-step:last-child::after{content:none}
.h-step-dot{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1f5f9;color:#8292a7;font-size:12px;font-weight:800}
.h-step.active{color:#173f6d}.h-step.active .h-step-dot{background:#f6c94c;color:#173f6d}
.h-step.complete{color:#2f6eaa}.h-step.complete .h-step-dot{background:#dceeff;color:#1b5fbf}
.h-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:#f7faff;border:1px solid #e1ecf7;border-radius:14px;padding:9px 12px;margin-bottom:20px}
.h-crumb{background:transparent;border:0;color:#35638d;font-size:12px;font-weight:700;border-radius:8px;padding:5px 7px;max-width:100%;overflow-wrap:anywhere;text-align:left}
.h-crumb:hover{background:#e6f1ff}.h-crumb.current{color:#143e70;background:white;box-shadow:0 1px 5px rgba(0,0,0,.05)}
.h-separator{font-size:18px;color:#98aeca}
.h-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.h-option{position:relative;isolation:isolate;text-align:left;min-width:0;display:flex;align-items:center;min-height:100px;background:#fbfdff;border:1.5px solid #dce7f2;border-radius:17px;padding:18px;overflow:hidden;transition:border .16s,transform .16s,box-shadow .16s}
.h-option:hover{border-color:#69b0ed;transform:translateY(-2px);box-shadow:0 10px 20px rgba(22,76,130,.09)}
.h-option-text{position:relative;z-index:1;max-width:90%;display:flex;flex-direction:column;gap:6px}
.h-option-title{font-size:16px;font-weight:800;color:#173f6d;line-height:1.3}
.h-option-desc{color:#60758f;font-size:12px;line-height:1.5}
.h-option-count{display:inline-flex;align-self:flex-start;border-radius:50px;padding:5px 9px;background:#eef5ff;color:#275c95;font-size:10px;font-weight:800;margin-top:3px}
.h-option-arrow{position:absolute;top:13px;right:14px;z-index:2;background:#fff;border:1px solid #e0e9f2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:17px;color:#275c95}
.h-option.is-program{min-height:192px;align-items:flex-end;padding:20px}
.is-program .h-option-text{max-width:65%}.is-program .h-option-desc{max-width:220px}.is-program .h-option-title{font-size:19px}
.h-option-art{position:absolute;bottom:-10px;right:14px;max-width:40%;max-height:170px;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 8px 12px rgba(12,64,101,.15));z-index:0}
.h-option-tka{background:#eaf4ff}.h-option-utbk{background:#fff6e4}.h-option-reguler{background:#eef9f6}.h-option-mec{background:#f3eefd}
.h-tip{font-size:12px;line-height:1.6;color:#6a7d94;margin:22px 0 0}
.h-result-pane{margin-top:3px}
.h-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.h-result-head h3{font-size:20px;margin:0 0 5px;color:#173f6d}.h-result-head p{font-size:12px;color:#708199;margin:0}
.h-count{display:inline-block;font-size:12px;vertical-align:middle;color:#255c9d;background:#eaf4ff;padding:5px 9px;border-radius:999px;margin-left:4px;white-space:nowrap}
.h-result-tools{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}
.h-search-wrap{display:flex;align-items:center;gap:9px;border-radius:12px;border:1px solid #cddfee;background:white;padding:10px 12px;flex:1 1 220px;min-width:0}
.h-search-wrap:focus-within{outline:2px solid #9ac7e9;outline-offset:1px}
.h-search-wrap svg{width:18px;height:18px;flex:none;color:#5182ac}
.h-search-wrap input{width:100%;min-width:0;background:transparent;border:0;outline:none;font-size:13px;color:#173f6d}
.h-only-ready{font-size:12px;color:#173f6d;font-weight:700;display:flex;align-items:center;gap:8px;background:#f5f9ff;border:1px solid #e0ebf6;border-radius:12px;padding:12px 13px;cursor:pointer;white-space:nowrap}
.h-only-ready input{accent-color:#1b5fbf;width:16px;height:16px}
.h-packages.package-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:650px;overflow-y:auto;padding:3px 5px 6px 0;scrollbar-width:thin}
.h-packages .package[hidden],.h-empty[hidden]{display:none!important}
.h-empty{text-align:center;padding:30px 18px;border:1px dashed #b5d0e7;border-radius:16px;background:#fbfdff;color:#173f6d}
.h-empty p{font-size:12px;color:#6a7d94}
@media(max-width:800px){.h-option-grid{grid-template-columns:1fr 1fr}.hierarchy-explorer{padding:22px}.hero-art{min-height:180px}}
@media(max-width:600px){.hero-grid{grid-template-columns:1fr}.hero-art{display:none}.hero{padding-top:18px}.hierarchy-layout{padding-top:10px}.hierarchy-explorer{padding:19px 15px;border-radius:19px}.h-option-grid{grid-template-columns:1fr}.h-option.is-program{min-height:170px}.h-option-art{max-height:152px}.h-head{gap:10px;flex-wrap:wrap}.h-head h2{font-size:23px}.h-step{font-size:10px}.h-step::after{width:12px;margin-left:1px}.h-step-dot{width:22px;height:22px;font-size:10px}.h-breadcrumb{padding:8px}.h-result-head{align-items:start}.h-result-tools{align-items:stretch;flex-direction:column}.h-search-wrap{flex-basis:auto;width:100%}.h-only-ready{width:100%}.h-packages.package-list{grid-template-columns:1fr;max-height:none;overflow:visible}.h-option-title{font-size:15px}}
@media(prefers-reduced-motion:reduce){.h-option{transition:none}}
