/* RC74 gallery, cream/sage identity with BSC-inspired lilac glow. No remote fonts or motion loops. */
body.hap74{--h74-ink:#593b38;--h74-cream:#f2e6d1;--h74-lilac:#efc7c3;--h74-sage:#e8b5a4;--h74-action:#a3544d}
.hap74-gallery[hidden]{display:none!important}
html body.hap74-gallery-open{overflow:hidden!important}
html body.hap74-gallery-open>.app-shell,html body.hap74-gallery-open>#loginGate{visibility:hidden!important;pointer-events:none!important}
.hap74-gallery{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:clamp(10px,2vw,28px);overflow:hidden;box-sizing:border-box;background:radial-gradient(ellipse at 88% 10%,#e5a8aeb5,transparent 45%),radial-gradient(ellipse at 12% 90%,#e8b5a4,transparent 48%),linear-gradient(125deg,#f3e7d4 20%,#e9e3d4 58%,#e0cdeb);color:#593b38;font-family:'Segoe UI',system-ui,sans-serif;font-weight:400}
.hap74-gallery *{box-sizing:border-box}
.hap74-gallery button{cursor:pointer;font:500 13px/1.25 'Segoe UI',sans-serif;border:1px solid #d69b8b;background:linear-gradient(145deg,#f4e8d6,#e4e6d4);color:#593b38;border-radius:12px;padding:10px 14px;box-shadow:0 3px 12px #67413e20}
.hap74-gallery button:disabled{opacity:.4;cursor:not-allowed}.hap74-gallery button:focus-visible{outline:3px solid #7b639a;outline-offset:3px}
.hap74-gallery-top{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.hap74-gallery .hap74-brand{font-size:13px;letter-spacing:.13em;font-weight:650;border:0;box-shadow:none;background:transparent;white-space:nowrap}
.hap74-gallery-nav{display:flex;flex:1 1 500px;gap:6px;overflow-x:auto;scrollbar-width:thin;min-width:0;padding:5px 2px}
.hap74-gallery-nav button{flex:none;white-space:nowrap;padding:9px 11px;font-size:12px}
.hap74-gallery .hap74-enter,.hap74-gallery-nav button[aria-current=page]{background:linear-gradient(125deg,#8c493f,#b76b61);color:#fff3df;border-color:#b06a60;box-shadow:0 4px 12px #67413e33}
.hap74-gallery-body{min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:clamp(10px,1.6vh,20px);max-width:1500px;width:100%;margin:auto;height:100%;padding:3px}
.hap74-gallery-scene{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:clamp(15px,3vw,55px);min-height:280px;flex:1 0 auto;padding:clamp(24px,4vw,68px);border:1px solid #d3c7d9;border-radius:30px;background:radial-gradient(ellipse at 85% 20%,#e5a8aec4,transparent 56%),radial-gradient(ellipse at 95% 90%,#cf887da0,transparent 65%),linear-gradient(120deg,#f3e7d4 14%,#ede4d5 49%,#efc7c3);box-shadow:0 15px 40px #66557720,inset 0 1px 0 #f5ebd9;overflow:hidden}
.hap74-gallery-copy{min-width:0;z-index:1}.hap74-kicker{font-size:clamp(10px,1vw,14px);letter-spacing:.18em;font-weight:650;color:#67413e}
.hap74-gallery-copy h1,.hap74-gallery-copy h2{font-family:'Segoe UI Light','Segoe UI',sans-serif;font-size:clamp(35px,5.2vw,76px);font-weight:300;line-height:1.04;letter-spacing:-.045em;margin:8px 0;color:#593b38;overflow-wrap:anywhere}
.hap74-gallery-copy h2{color:#67413e}.hap74-gallery-copy p{font-size:clamp(15px,1.55vw,21px);line-height:1.5;color:#67413e;max-width:58ch;margin:18px 0}
.hap74-gallery-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.hap74-gallery-copy small{font-size:12px;line-height:1.4;color:#67413e}
.hap74-gallery-visual{position:relative;display:grid;place-items:center;min-width:0;align-self:stretch;min-height:200px}
.hap74-gallery-art{width:100%;max-width:500px;max-height:320px;object-fit:contain;aspect-ratio:1.5;border-radius:23px;filter:drop-shadow(0 14px 18px #67413e30);box-shadow:0 0 48px #efc7c3bb;mask-image:linear-gradient(#000 0 92%,#000b 100%)}
.hap74-art-chips{display:flex;justify-content:center;gap:10px;position:absolute;bottom:3%;left:50%;transform:translateX(-50%)}
.hap74-chip{width:50px;height:44px;border-radius:12px;object-fit:cover;border:2px solid #f2e6d1;box-shadow:0 4px 12px #67413e44}
.hap74-gallery-tiles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;flex:none}.hap74-gallery .hap74-tile{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:10px 7px;border-radius:17px;border:1px solid #c9c8b7;background:linear-gradient(145deg,#f2e6d1,#e7d7f1 80%,#f0d7c6);color:#593b38;box-shadow:0 4px 12px #5b536219}
.hap74-tile-art{width:clamp(44px,5.5vw,82px);height:47px;border-radius:10px;object-fit:cover}.hap74-tile strong{font-size:12px;font-weight:600}.hap74-tile span{font-size:10px;color:#67413e}
.hap74-gallery .hap74-info-tile{grid-column:span 2;align-items:flex-start;padding:14px;text-align:left}
.hap74-gallery-footer{display:flex;justify-content:center;align-items:center;gap:14px;font-size:12px}.hap74-dots{display:flex;gap:7px}.hap74-gallery .hap74-dots button{width:10px;height:10px;border-radius:50%;padding:0;background:#d69b8b;box-shadow:none;border:0}.hap74-gallery .hap74-dots button[aria-current=page]{background:#a3544d;width:23px;border-radius:6px}
@media(max-width:760px){.hap74-gallery{padding:9px;gap:8px}.hap74-gallery-top{gap:4px}.hap74-gallery .hap74-brand{font-size:11px;padding:6px 0}.hap74-gallery-nav{order:3;flex-basis:100%;padding:3px 0}.hap74-gallery-scene{grid-template-columns:1fr;padding:20px;gap:10px;border-radius:20px;flex:0 0 auto}.hap74-gallery-copy h1,.hap74-gallery-copy h2{font-size:clamp(32px,9vw,47px)}.hap74-gallery-copy p{margin:10px 0;font-size:15px}.hap74-gallery-visual{min-height:130px;max-height:170px}.hap74-gallery-art{max-height:160px;width:auto;max-width:100%}.hap74-art-chips{bottom:0;gap:6px}.hap74-chip{width:32px;height:28px}.hap74-gallery-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hap74-gallery .hap74-info-tile{grid-column:span 1}.hap74-gallery-footer{gap:7px;justify-content:space-between}.hap74-gallery-footer button{padding:7px;font-size:10px}.hap74-dots{gap:4px}.hap74-gallery .hap74-dots button{width:7px;height:7px}.hap74-gallery .hap74-dots button[aria-current=page]{width:14px}}
/* Real workspace: original functional nodes, horizontal top rail rather than left administrative sidebar. */
@media screen{
html body.ha40.hap62.hap69.hap71.hap74 .app-shell{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;height:100dvh!important;background:radial-gradient(ellipse at 91% 12%,#e5a8ae80,transparent 55%),linear-gradient(125deg,#f2e6d1,#e5e7d5 55%,#f0d0ba)!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;padding:7px 14px!important;gap:5px!important;background:linear-gradient(115deg,#f0d7c6,#e9d9eb)!important;box-shadow:0 3px 12px #67413e19!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .brand{display:none!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .sidebar-foot{display:none!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-list{display:flex!important;flex-direction:row!important;flex:0 0 auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:center!important;gap:5px!important;padding:2px!important;scrollbar-width:thin}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item{width:auto!important;flex:0 0 auto!important;max-width:none!important;min-height:33px!important;padding:4px 8px!important;gap:5px!important;border-radius:9px!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item b{white-space:nowrap!important;font-size:11px!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item .hap73-nav-art{width:22px;height:22px;flex-basis:22px}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item .hap74-chapter-code{display:inline-flex!important;order:-1;font:600 10px/1 'Segoe UI',sans-serif;color:inherit}
html body.hap74 .hap74-phase-rail{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin;min-width:0;padding:2px}
html body.hap74 .hap74-phase-rail button{flex:0 0 auto;white-space:nowrap;border:1px solid #d69b8b;border-radius:9px;background:linear-gradient(130deg,#f3e7d4,#efc7c3);color:#593b38;font:600 12px/1.15 'Segoe UI',sans-serif;padding:9px 13px;cursor:pointer}
html body.hap74 .hap74-phase-rail button[aria-current=page],html body.hap74 .hap74-phase-rail .hap74-back-gallery{color:#fff2dc;background:linear-gradient(125deg,#8c493f,#b76b61);border-color:#b06a60}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .workspace{flex:1 1 0!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .topbar{background:linear-gradient(110deg,#f2e6d1,#e9d6ed)!important;padding:5px 14px!important}
html body.hap74.hap71 .hap71-hero{background:radial-gradient(ellipse at 89% 18%,#e5a8aeb3,transparent 45%),linear-gradient(125deg,#f2e6d1,#e7e1cf 50%,#d69b8b)!important;border-color:#d6cec2!important}
html body.hap74.hap71 .hap71-words h2{font-size:clamp(30px,3.5vw,49px)!important;font-weight:300!important}
html body.hap74.hap71 .hap71-tabs .hap71-btn:not([aria-current=page]){background:linear-gradient(125deg,#f2e6d1,#e7d7f1)!important}
html body.hap74.hap71 .hap71-footer{background:linear-gradient(125deg,#f2e6d1,#efc7c3)!important}
@media(max-width:760px){html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar{padding:4px 6px!important;gap:2px!important}.hap74-phase-rail button{font-size:10px!important;padding:6px 9px!important}html body.hap74.hap71 .hap71-words h2{font-size:26px!important}html body.ha40.hap62.hap69.hap71.hap74 .app-shell .topbar{padding:4px 6px!important}}
}
@media(prefers-reduced-motion:reduce){.hap74-gallery *{animation:none!important;transition:none!important}}

/* RC74 final gallery and workbench refinement */
@media screen{
.hap74-gallery .hap74-gallery-scene{gap:clamp(20px,3vw,55px)}
.hap74-gallery .hap74-gallery-art{display:block;width:100%;max-width:590px;height:auto;max-height:390px;aspect-ratio:4/3;object-fit:cover;border-radius:25px;image-rendering:auto;mask-image:none;box-shadow:0 16px 36px #67413e30,0 0 38px #efc7c3a0}
.hap74-gallery .hap74-art-chips{position:relative;bottom:auto;left:auto;transform:none;margin-top:-8px}
.hap74-gallery .hap74-gallery-visual{align-content:center;gap:8px}
.hap74-gallery .hap74-tile{transition:transform .18s ease,box-shadow .18s ease}
.hap74-gallery .hap74-tile:hover{transform:translateY(-2px);box-shadow:0 7px 18px #65577835}
.hap74-gallery .hap74-info-tile{min-height:82px;background:linear-gradient(135deg,#f2e6d1,#efc7c3,#f0d7c6)}
html body.hap74.hap71 #navList [data-hap74-other-phase]{display:none!important}
html body.hap74.hap71 .hap71-hero{box-shadow:0 6px 20px #6c617b20!important}
html body.hap74.hap71 .hap69-panel,html body.hap74.hap71 .hap69-metric,html body.hap74.hap71 .hap69-button{border-color:#f0d7c6!important}
html body.hap74.hap71 .hap71-tabs{scrollbar-width:thin;min-width:0}
html body.hap74.hap71 .hap71-words h2{overflow-wrap:anywhere}
html body.hap74.hap71 .hap71-count{overflow-wrap:anywhere;max-width:65%;text-align:center}
html body.hap74.hap71 .hap71-footer button{white-space:nowrap}
@media(max-width:760px){.hap74-gallery .hap74-gallery-art{max-height:170px;max-width:240px;width:100%;height:auto;object-fit:contain}.hap74-gallery .hap74-art-chips{display:none}.hap74-gallery .hap74-gallery-visual{min-height:120px}.hap74-gallery .hap74-gallery-scene{gap:8px}.hap74-gallery .hap74-gallery-copy h1,.hap74-gallery .hap74-gallery-copy h2{line-height:1.08}.hap74-gallery .hap74-gallery-nav{flex-wrap:nowrap}.hap74-gallery .hap74-info-tile{min-height:70px}}
}

/* RC74 final workbench: same editorial language as the gallery, not a second dashboard skin. */
@media screen{
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .topbar{border-color:#c6c7b4!important;box-shadow:none!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item.active .hap74-chapter-code{background:#e6dfc8!important;color:#593b38!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar .nav-item b{font-size:13px!important;font-weight:550!important}
html body.hap74.hap71 .hap71-hero{grid-template-columns:minmax(0,1fr) minmax(170px,32%);padding:14px 24px;gap:20px;border-radius:22px;background:radial-gradient(ellipse at 93% 14%,#e5a8aeb8,transparent 55%),radial-gradient(ellipse at 98% 100%,#cf887daa,transparent 62%),linear-gradient(125deg,#f2e6d1,#e7e1cf 56%,#f0d0ba)!important}
html body.hap74.hap71 .hap71-hero .hap71-words h2{font-size:clamp(29px,3.75vw,54px)!important;line-height:1.1!important}
html body.hap74.hap71 .hap73-hero-action .hap71-art{height:clamp(95px,17vh,155px);overflow:hidden;border-radius:14px}
html body.hap74.hap71 .hap71-art .hap73-hero-image:not([hidden]){height:100%;width:min(100%,360px);max-height:none;object-fit:contain;object-position:center;border-radius:13px;filter:none;box-shadow:none}
html body.hap74.hap71 .hap71-art .hap73-hero-image[data-hap74-hd]:not([hidden]){object-fit:cover;object-position:center 54%;width:100%}
html body.hap74.hap71 .hap73-hero-caption{font-size:12px;letter-spacing:.015em}
html body.hap74.hap71 .hap71-tabs .hap71-btn{font-size:13px;max-width:380px;padding:9px 13px}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell main.content>.view.active{border:1px solid #c8cbb9;border-radius:18px;padding:12px!important;background:radial-gradient(ellipse at 98% 0%,#efc7c380,transparent 48%),linear-gradient(135deg,#f2e6d1a8,#f0d7c6a0)!important;box-shadow:inset 0 1px 0 #f3e7d4}
html body.hap74.hap71 .hap69-journey{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
html body.hap74.hap71 .hap69-step{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:12px!important;min-height:65px!important;padding:8px 12px!important;font-size:14px!important;border-radius:13px!important;background:linear-gradient(125deg,#f2e6d1,#f2d5c4)!important}
html body.hap74.hap71 .hap69-step .hap69-symbol:has(.hap73-card-art){height:48px!important;width:66px!important;flex:0 0 66px!important}
html body.hap74.hap71 .hap69-metrics{gap:9px!important}
html body.hap74.hap71 .hap69-metric{background:linear-gradient(145deg,#f2e6d1,#efc7c3 78%,#f2d5c4)!important;border-radius:13px!important}
html body.hap74.hap71 .hap71-count{max-width:none;text-align:center;justify-self:center}
html body.hap74.hap71 .hap71-footer{min-height:46px;border-color:#f0d7c6!important}
html body.hap74.hap71 .hap71-footer .hap71-btn{font-size:13px;min-height:35px}
@media(max-width:760px){html body.hap74.hap71 .hap71-hero{grid-template-columns:minmax(0,1fr) minmax(65px,29%);gap:6px;padding:8px 10px}html body.hap74.hap71 .hap71-hero .hap71-words h2{font-size:25px!important}html body.hap74.hap71 .hap73-hero-action .hap71-art{height:68px!important}html body.hap74.hap71 .hap73-hero-caption{font-size:9px}html body.hap74.hap71 .hap71-tabs .hap71-btn{font-size:11px;padding:6px 9px}html body.ha40.hap62.hap69.hap71.hap74 .app-shell main.content>.view.active{padding:7px!important;border-radius:12px}html body.hap74.hap71 .hap69-journey{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.hap74.hap71 .hap69-step{min-height:56px!important;gap:5px!important;font-size:11px!important;padding:5px!important}html body.hap74.hap71 .hap69-step .hap69-symbol:has(.hap73-card-art){width:36px!important;height:34px!important;flex-basis:36px!important}}
}

@media screen{
html body.ha40.hap62.hap69.hap71.hap74 #navList .nav-item .hap74-chapter-code{display:inline-flex!important;visibility:visible!important;order:-1!important;flex:0 0 auto;align-items:center;justify-content:center;min-width:26px;min-height:24px;padding:3px 5px;border-radius:7px;background:#eee3ce!important;color:#593b38!important;font:600 11px/1 'Segoe UI',sans-serif!important}
html body.hap74.hap71 .hap71-hero .hap73-hero-image[data-hap74-hd]:not([hidden]){object-fit:contain;object-position:center;background:radial-gradient(ellipse,#efc7c370,#f2d5c42c);height:100%;width:100%}
@media(min-width:1101px) and (min-height:820px){
html body.hap74.hap71 .hap71-hero{padding:10px 20px}
html body.hap74.hap71 .hap73-hero-action .hap71-art{height:clamp(105px,14vh,145px)}
html body.hap74.hap71 .hap69-journey{gap:6px!important}
html body.hap74.hap71 .hap69-step{min-height:52px!important;padding:5px 9px!important}
html body.hap74.hap71 .hap69-step .hap69-symbol:has(.hap73-card-art){height:38px!important;width:56px!important;flex-basis:56px!important}
html body.hap74.hap71 .hap69-dashboard>.hap69-panel:has(.hap69-journey){padding:10px!important}
html body.hap74.hap71 .hap69-metric{min-height:87px!important;padding:8px!important}
html body.hap74.hap71 .hap69-dashboard{gap:7px!important}
}
}
/* Latest owner palette: terracotta, rose, peach, cream, broken white; blue only for information. */
@media screen{
html body.hap74{--h74-ink:#593b38;--h74-cream:#f2e6d1;--h74-lilac:#efc7c3;--h74-sage:#e8b5a4;--h74-action:#a3544d}
html body.hap74 .hap74-gallery,html body.ha40.hap62.hap69.hap71.hap74 .app-shell{background:radial-gradient(ellipse at 90% 12%,#e5a8aeaa,transparent 52%),radial-gradient(ellipse at 8% 98%,#d38d79aa,transparent 50%),linear-gradient(125deg,#f6ebda,#f2d5c4,#efc7c3)!important;color:#593b38!important}
html body.hap74 .hap74-gallery-scene,html body.hap74.hap71 .hap71-hero{background:radial-gradient(ellipse at 91% 15%,#d88a91a0,transparent 55%),linear-gradient(125deg,#f5e9d7,#f3d0bc 55%,#e5a8ae)!important;border-color:#d6a699!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar,html body.ha40.hap62.hap69.hap71.hap74 .app-shell .topbar{background:linear-gradient(115deg,#f5e9d7,#ebc4b8,#e8b2b5)!important;border-color:#d8aca1!important}
html body.ha40.hap62.hap69.hap71.hap74 .app-shell main.content>.view.active,html body.hap74.hap71 .app-shell .panel,html body.hap74.hap71 .app-shell .ha9-panel,html body.hap74.hap71 .app-shell .hja-deep-panel,html body.hap74.hap71 .app-shell .hv-journey-card,html body.hap74.hap71 .app-shell .section-intro{background:linear-gradient(135deg,#f7ecdf,#f2d7c8)!important;border-color:#d9b5a5!important;color:#593b38!important}
html body.hap74.hap71 .hap69-step,html body.hap74.hap71 .hap69-metric,html body.hap74.hap71 .app-shell .record-card,html body.hap74.hap71 .app-shell .hja-deep-group,html body.hap74.hap71 .app-shell .subsection{background:linear-gradient(145deg,#f6eadb,#efc9b9)!important;border-color:#d8b1a1!important;color:#593b38!important}
html body.hap74.hap71 .app-shell input:not([type=checkbox]):not([type=radio]):not([type=range]),html body.hap74.hap71 .app-shell select,html body.hap74.hap71 .app-shell textarea{background:#f9f0e5!important;border-color:#d9b3a5!important;color:#503a38!important}
html body.hap74.hap71 .app-shell .pill.info{background:#dce6f4!important;color:#435d84!important}
html body.hap74.hap71 .app-shell .section-intro h2,html body.hap74.hap71 .app-shell .section-intro p,html body.hap74.hap71 .app-shell .panel-head h3,html body.hap74.hap71 .hap71-words h2,html body.hap74.hap71 .hap71-words p{color:#593b38!important}
html body.hap74.hap71 .app-shell .btn.primary,html body.hap74.hap71 .hap71-btn.primary,html body.hap74.hap71 .hap71-btn[aria-current=page],html body.hap74 .hap74-phase-rail button[aria-current=page],html body.hap74 .hap74-gallery .hap74-enter{background:linear-gradient(125deg,#914b42,#b96e64)!important;border-color:#b87369!important;color:#fff1df!important}
html body.hap74.hap71 [data-hap74-page-off]{display:none!important}
html body.hap74.hap71 .hap74-guided-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}
html body.hap74.hap71 .hap74-guided-step{display:flex;align-items:center;gap:8px;padding:6px 9px;min-width:0;border:1px solid #dfb7a7;border-radius:11px;background:linear-gradient(130deg,#f7ecdb,#efc8bd);color:#593b38;text-align:left;cursor:pointer}
html body.hap74.hap71 .hap74-person-icon{width:36px;height:36px;flex:0 0 36px}.hap74-person-icon svg{width:100%;height:100%;display:block}
html body.hap74.hap71 .hap74-guide-words{display:flex;flex-direction:column;min-width:0;gap:2px}.hap74-guide-words strong{font-size:12px}.hap74-guide-words small{font-size:11px;line-height:1.2;color:#674843}
html body.hap74.hap71 .hap74-pager,html body.hap74.hap71 .hap74-mobile-switch{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px;margin:0 0 8px;border:1px solid #dfb7a7;border-radius:10px;background:linear-gradient(125deg,#f5e7d6,#efc7c3);grid-column:1/-1}
html body.hap74.hap71 .hap74-inner-count{font-size:12px;color:#593b38;text-align:center}
html body.hap74.hap71 .hap74-mobile-switch{display:none}
html body.hap74.hap71 .hap74-guide-dialog{max-width:min(92vw,560px);background:linear-gradient(135deg,#f7ecdf,#efc7c3)!important;color:#593b38!important}.hap74-guide-dialog .hap74-example{padding:10px;border:1px solid #d8b1a1;border-radius:9px;background:#f6e5d6}
html body.hap74.hap71 .hap74-nav-art,html body.hap74.hap71 .hap73-nav-art,html body.hap74.hap71 .hap73-card-art,html body.hap74 .hap74-tile-art,html body.hap74 .hap74-chip,html body.hap74.hap71 .hap73-hero-image:not([data-hap74-hd]){filter:sepia(.35) hue-rotate(335deg) saturate(.75)!important}
@media(max-width:760px){html body.hap74.hap71 .hap74-guided-steps{gap:3px}.hap74-guide-words small{display:none}html body.hap74.hap71 .hap74-guided-step{padding:4px;gap:3px}.hap74-guide-words strong{font-size:10px}.hap74-person-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
html body.hap74.hap71 .master-detail{display:flex!important;flex-direction:column!important;min-width:0!important;gap:5px!important}
html body.hap74.hap71 .hap74-mobile-switch{display:flex!important}
html body.hap74.hap71 .master-detail[data-hap74-mobile=list]>.detail-panel,html body.hap74.hap71 .master-detail[data-hap74-mobile=detail]>.list-panel{display:none!important}
html body.hap74.hap71 .hap74-inner-count{font-size:10px}.hap74-pager .hap71-btn{font-size:10px;padding:5px 7px}
html body.hap74.hap71 .hap71-eyebrow{font-size:9px}.hap74-gallery-body{overflow-y:auto}
}
}

@media screen{
html body.hap74.hap71 .hap74-pager{scroll-margin-top:4px}
html body.hap74.hap71 .app-shell .hja-deep-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px;min-width:0!important}
html body.hap74.hap71 .app-shell .hja-deep-field textarea{width:100%;min-width:0;box-sizing:border-box}
html body.hap74.hap71 .app-shell .hja-deep-field small{overflow-wrap:anywhere}
html body.hap74.hap71 .hap71-header .hap74-guided-step:hover{box-shadow:0 3px 10px #914b4228}
@media(max-width:760px){
html body.hap74.hap71 .app-shell .hja-deep-grid,html body.hap74.hap71 .app-shell #taskEditor .form-grid,html body.hap74.hap71 .app-shell #compEditor .form-grid{grid-template-columns:minmax(0,1fr)!important}
html body.hap74.hap71 .app-shell .hja-deep-field strong,html body.hap74.hap71 .app-shell .field label{font-size:13px!important}
html body.hap74.hap71 .app-shell .hja-deep-field textarea{min-height:64px}
html body.hap74.hap71 .app-shell .master-detail>.panel{padding:9px!important}
}
}

@media screen{html body.hap74.hap71 .app-shell [data-hap74-page-off],html body.hap74.hap71 .app-shell .hja-deep-field[data-hap74-page-off]{display:none!important}}

/* RC74 mobile: remove duplicated editor introduction; retain real action buttons. */
@media screen and (max-width:760px){
html body.hap74.hap71:has(.view.active[data-view-panel="tasks"],.view.active[data-view-panel="competencies"]) .hap71-hero{padding:7px 9px;gap:5px}
html body.hap74.hap71:has(.view.active[data-view-panel="tasks"],.view.active[data-view-panel="competencies"]) .hap71-hero .hap71-words h2{font-size:23px!important;margin:3px 0!important}
html body.hap74.hap71:has(.view.active[data-view-panel="tasks"],.view.active[data-view-panel="competencies"]) .hap73-hero-action .hap71-art{height:56px!important}
html body.hap74.hap71 .view.active:is([data-view-panel="tasks"],[data-view-panel="competencies"])>.section-intro:not([data-hap71-off]){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;padding:4px 6px!important;margin:0 0 5px!important;min-height:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
html body.hap74.hap71 .view.active:is([data-view-panel="tasks"],[data-view-panel="competencies"])>.section-intro>div:first-child{display:none!important}
html body.hap74.hap71 .view.active:is([data-view-panel="tasks"],[data-view-panel="competencies"])>.section-intro .btn{font-size:12px!important;min-height:32px!important;padding:5px 9px!important;border-radius:9px!important}
html body.hap74.hap71 .view.active .master-detail>.detail-panel,html body.hap74.hap71 .view.active .master-detail>.list-panel{padding:7px!important;margin:0!important;border-radius:10px!important}
html body.hap74.hap71 .view.active :is(#taskEditor,#compEditor)>.detail-head{padding:2px 0!important;margin:0 0 5px!important}
html body.hap74.hap71 .view.active :is(#taskEditor,#compEditor)>.detail-head h3{font-size:16px!important;margin:0!important}
html body.hap74.hap71 .view.active :is(#taskEditor,#compEditor)>.detail-head p{display:none!important}
html body.hap74.hap71 .view.active .hja-deep-panel{padding:6px!important;margin:4px 0!important}
html body.hap74.hap71 .view.active .hja-deep-panel>h3{font-size:16px!important;margin:3px 0!important}
html body.hap74.hap71 .view.active .hja-deep-panel>p{font-size:11px!important;margin:3px 0!important}
html body.hap74.hap71 .view.active .hja-deep-field{padding:5px!important;gap:4px!important}
html body.hap74.hap71 .view.active .hja-deep-field textarea{min-height:58px!important;height:64px;resize:vertical}
html body.hap74.hap71 .view.active .hap74-pager{padding:4px!important;margin-bottom:5px!important}
html body.hap74.hap71 .view.active .hap74-mobile-switch{padding:4px!important;margin-bottom:4px!important}
}

/* Bounded page groups; table row pagination never affects printed documents. */
@media screen{
html body.hap74.hap71 .hap74-table-pager{position:sticky;left:0;top:0;z-index:2;max-width:100%;width:max-content;min-width:min(100%,280px)}
html body.hap74.hap71 .view.active .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
html body.hap74.hap71 .view.active .table-wrap .data-table{max-width:none}
html body.hap74.hap71 .view.active .hap74-pager{min-width:0}
html body.hap74.hap71 .view.active .jd-section{overflow-wrap:anywhere}
html body.hap74.hap71 .view.active .code-box{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
}
@media print{.hap74-pager,.hap74-guided-steps,.hap74-mobile-switch,.hap74-phase-rail{display:none!important}}

/* RC74 bounded workspace: preserve all actions, use finite cards rather than stacked panels. */
@media screen{
html body.hap74.hap71 .hap74-pager{grid-column:1/-1!important}
html body.hap74.hap71 .hap69-matrix-grid{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
html body.hap74.hap71 .hap69-matrix-grid>article{grid-column:1/-1!important;min-height:0!important}
html body.hap74.hap71 .view.active .section-intro{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;min-height:0!important;padding:4px 8px!important;margin:0 0 6px!important}
html body.hap74.hap71 .view.active .section-intro[data-hap71-off]{display:none!important}
html body.hap74.hap71 [data-hap74-intro-copy]{display:none!important}
html body.hap74.hap71 .hap74-intro-help{font-size:12px!important;min-height:28px!important}
html body.hap74.hap71 .view.active .section-intro .btn{min-height:32px!important;padding:5px 9px!important;font-size:12px!important}
html body.hap74.hap71 .view.active .panel,html body.hap74.hap71 .view.active .jd-paper{padding:10px!important;min-height:0!important}
html body.hap74.hap71 .view.active .panel-head{margin:0 0 7px!important;padding:3px 0!important;min-height:0!important}
html body.hap74.hap71 .view.active .panel-head h3{margin:0!important;font-size:17px!important}
html body.hap74.hap71 .view.active .jd-header{padding:7px!important;min-height:0!important;margin:0 0 8px!important}
html body.hap74.hap71 .view.active .jd-header h2{font-size:clamp(18px,2vw,26px)!important;margin:0!important}
html body.hap74.hap71 .view.active .jd-section{padding:7px!important;margin:0 0 5px!important;min-height:0!important}
html body.hap74.hap71 .view.active .jd-task{padding:6px!important;margin:4px 0!important;min-height:0!important}
html body.hap74.hap71 .view.active .code-box{min-height:0!important;height:auto!important;max-height:180px!important;padding:8px!important;margin:8px 0 0!important}
html body.hap74.hap71 .view.active .inline-actions{padding:6px!important;gap:5px!important;margin:0!important}
html body.hap74.hap71 .view.active .inline-actions .btn{min-height:32px!important;font-size:12px!important;padding:6px 9px!important}
html body.hap74.hap71 .view.active .table-wrap td,html body.hap74.hap71 .view.active .table-wrap th{padding:6px 8px!important;min-height:0!important}
html body.hap74.hap71 .view.active .table-wrap input{min-height:28px!important;padding:5px!important}
html body.hap74.hap71 .view.active .hap69-profile-line{padding:6px!important;gap:5px!important;margin:0!important}
html body.hap74.hap71 .view.active .hap69-matrix-scroll{max-height:290px!important;overflow:auto!important}
html body.hap74.hap71 .view.active .hap69-assistant-art{max-height:100px!important}
html body.hap74.hap71 .view.active .master-detail .record-card{min-height:0!important;padding:7px!important;margin:3px 0!important}
html body.hap74.hap71 .view.active .form-grid{gap:8px!important}
html body.hap74.hap71 .view.active .field{padding:0!important;margin:0!important}
html body.hap74.hap71 .view.active .field input,html body.hap74.hap71 .view.active .field select{min-height:32px!important;padding:6px!important}
html body.hap74.hap71 .view.active .field textarea{min-height:56px!important;padding:6px!important}
@media(max-width:1000px){
html body.ha40.hap62.hap69.hap71.hap74 .app-shell .sidebar{padding:4px 8px!important;gap:3px!important}
html body.hap74.hap71 .app-shell .topbar{padding:4px 8px!important}
html body.hap74.hap71 .app-shell .topbar-title{display:none!important}
html body.hap74.hap71 .app-shell .top-actions{flex:1 1 100%!important;justify-content:flex-start!important;max-height:60px;overflow:auto}
html body.hap74.hap71 .app-shell main.content{padding:5px 7px!important;gap:4px!important}
html body.hap74.hap71 .hap71-header{gap:4px!important}
html body.hap74.hap71 .hap71-hero{grid-template-columns:minmax(0,1fr) minmax(65px,22%)!important;min-height:0!important;padding:5px 9px!important;gap:5px!important}
html body.hap74.hap71 .hap71-hero .hap71-words h2{font-size:clamp(20px,3.5vw,29px)!important;margin:3px 0!important}
html body.hap74.hap71 .hap71-words p{font-size:11px!important;margin:2px 0!important}
html body.hap74.hap71 .hap71-actions{gap:3px!important;margin-top:4px!important}
html body.hap74.hap71 .hap71-actions .hap71-btn{font-size:10px!important;padding:5px 7px!important}
html body.hap74.hap71 .hap71-hero .hap73-hero-action .hap71-art{height:58px!important}
html body.hap74.hap71 .hap73-hero-caption{font-size:9px!important}
html body.hap74.hap71 .hap71-tabs{min-height:29px!important;padding:2px 0!important}
html body.hap74.hap71 .hap71-tabs .hap71-btn{font-size:10px!important;padding:4px 8px!important}
html body.hap74.hap71 .hap74-guided-step{padding:4px!important;min-height:32px!important}
html body.hap74.hap71 .hap74-guide-words small{display:none!important}
html body.hap74.hap71 .hap74-guide-words strong{font-size:11px!important}
html body.hap74.hap71 .hap74-person-icon{width:25px!important;height:25px!important;flex-basis:25px!important}
html body.hap74.hap71 .view.active .master-detail{display:flex!important;flex-direction:column!important;gap:5px!important}
html body.hap74.hap71 .view.active .hap74-mobile-switch{display:flex!important}
html body.hap74.hap71 .master-detail[data-hap74-mobile=list]>.detail-panel,html body.hap74.hap71 .master-detail[data-hap74-mobile=detail]>.list-panel{display:none!important}
html body.hap74.hap71 .view.active .two-col{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important}
html body.hap74.hap71 .view.active .hap69-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
html body.hap74.hap71 .view.active .hap69-journey,.hap69-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.hap74.hap71 .view.active .hap69-step{min-height:40px!important;padding:4px 8px!important}
html body.hap74.hap71 .view.active .hap69-metric{min-height:70px!important;padding:6px!important}
html body.hap74.hap71 .view.active .hap69-profile-line{grid-template-columns:repeat(2,minmax(0,1fr))!important;font-size:11px!important}
html body.hap74.hap71 .view.active .jd-paper{padding:7px!important}
html body.hap74.hap71 .view.active .jd-task h4{font-size:13px!important;margin:3px 0!important}
html body.hap74.hap71 .view.active .jd-task p{font-size:12px!important;margin:3px 0!important}
html body.hap74.hap71 .view.active .hap74-pager{margin:0 0 5px!important;padding:4px!important}
html body.hap74.hap71 .view.active .hap74-pager .hap71-btn{font-size:10px!important;padding:5px 7px!important}
}
}

/* Use the available viewport for the working page instead of repeating decorative space. */
@media screen and (min-width:1001px){
html body.hap74.hap71 .hap71-hero{min-height:0!important;padding:8px 18px!important;gap:12px!important}
html body.hap74.hap71 .hap71-hero .hap71-words h2{font-size:clamp(28px,3vw,46px)!important;margin:3px 0!important}
html body.hap74.hap71 .hap73-hero-action .hap71-art{height:clamp(74px,11vh,115px)!important}
html body.hap74.hap71 .hap74-guided-step{padding:5px 8px!important}
html body.hap74.hap71 .view.active .jd-paper{padding:8px!important}
html body.hap74.hap71 .view.active .jd-task{min-height:0!important;padding:5px!important}
html body.hap74.hap71 .view.active .jd-task h4,html body.hap74.hap71 .view.active .jd-task p{margin:3px 0!important}
html body.hap74.hap71 .view.active #jobValueFactors .hap74-table-pager{margin-bottom:3px!important;padding:4px!important}
}

/* Desktop final pass: maximize usable work space, with bounded page items. */
@media screen and (min-width:1001px){
html body.hap74.hap71 .view.active .master-detail{gap:6px!important;align-items:start!important}
html body.hap74.hap71 .view.active .master-detail>.panel{padding:7px!important}
html body.hap74.hap71 .view.active .master-detail .record-card{padding:5px 7px!important;margin:3px 0!important;min-height:0!important}
html body.hap74.hap71 .view.active #taskEditor .detail-head,html body.hap74.hap71 .view.active #compEditor .detail-head{padding:3px 0!important;margin:0 0 5px!important}
html body.hap74.hap71 .view.active .two-col{gap:6px!important}
html body.hap74.hap71 .view.active #auditList .timeline-item{padding:6px!important;margin:3px 0!important;min-height:0!important}
html body.hap74.hap71 .view.active .jd-paper{padding:5px!important}
html body.hap74.hap71 .view.active .jd-section{padding:5px!important}
html body.hap74.hap71 .view.active .section-intro{margin-bottom:3px!important;padding:2px 5px!important}
html body.hap74.hap71 .view.active .hap74-pager{padding:3px 5px!important;margin-bottom:4px!important}
html body.hap74.hap71 .view.active .hap74-pager .hap71-btn{min-height:30px!important;padding:4px 8px!important}
}

@media screen and (min-width:1001px){
html body.hap74.hap71 .view.active[data-view-panel="jobdesc"] .jd-section{margin-bottom:0!important;padding:3px!important}
html body.hap74.hap71 .view.active[data-view-panel="jobdesc"] .jd-paper{padding:3px!important}
html body.hap74.hap71 .view.active[data-view-panel="audit"] .two-col>article.panel{padding:7px!important}
}
