/* STAR4Hire Core v1.20.23 — hard-shell critical UI.
   Intentionally small, namespaced and heavily specific so Team pages remain usable
   even if theme/LiteSpeed stylesheet ordering changes. */
html{overflow-x:hidden!important}
body.s4h-team-app-page{margin:0!important;padding:0!important;background:#f8fafc!important;color:#0f172a!important;overflow-x:hidden!important}
body.s4h-team-app-page #s4h-team-app-root{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.s4h-team-app-page #s4h-team-app-root>.s4h-os-shell,
body.s4h-team-app-page #s4h-team-app-root>.s4h-tk-shell{width:100%!important;max-width:none!important;margin:0!important}
.s4h-os-shell,.s4h-os-shell *,.s4h-os-login,.s4h-os-login *{box-sizing:border-box!important}
.s4h-os-shell,.s4h-os-login{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#0f172a!important;background:#f8fafc!important;min-height:100vh!important;line-height:1.4!important}
.s4h-os-shell a{text-decoration:none!important}
.s4h-os-shell .s4h-os-top{position:sticky!important;top:0!important;z-index:10000!important;width:100%!important;min-height:62px!important;margin:0!important;padding:10px 18px!important;display:grid!important;grid-template-columns:minmax(190px,auto) minmax(0,1fr) minmax(170px,auto)!important;align-items:center!important;gap:12px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2e8f0!important;box-shadow:0 3px 16px rgba(15,23,42,.06)!important}
.s4h-os-shell .s4h-os-brand-wrap{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.s4h-os-shell .s4h-os-brand{display:inline-flex!important;align-items:baseline!important;white-space:nowrap!important;color:#020617!important;font-size:17px!important;font-weight:900!important;letter-spacing:-.035em!important;line-height:1!important}
.s4h-os-shell .s4h-os-brand span{color:#06b6d4!important}.s4h-os-shell .s4h-os-brand b{margin-left:4px!important;color:#64748b!important;font-size:12px!important}
.s4h-os-shell .s4h-os-brand-wrap>small{min-width:0!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important;padding:4px 7px!important;border:1px solid #e2e8f0!important;border-radius:999px!important;background:#f8fafc!important;color:#64748b!important;font-size:10px!important;line-height:1!important}
.s4h-os-shell .s4h-os-desktop-nav{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
.s4h-os-shell .s4h-os-desktop-nav a{display:block!important;flex:0 0 auto!important;padding:8px 10px!important;border-radius:9px!important;color:#334155!important;font-size:12px!important;font-weight:800!important;line-height:1!important}
.s4h-os-shell .s4h-os-desktop-nav a.active{background:#ecfeff!important;color:#0e7490!important}
.s4h-os-shell .s4h-os-user{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 7px!important;align-items:center!important;text-align:right!important;min-width:0!important}
.s4h-os-shell .s4h-os-user strong,.s4h-os-shell .s4h-os-user small{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.s4h-os-shell .s4h-os-user strong{font-size:12px!important;color:#0f172a!important}.s4h-os-shell .s4h-os-user small{grid-column:1/-1!important;font-size:9px!important;color:#64748b!important}.s4h-os-shell .s4h-os-user>a{grid-column:2!important;grid-row:1!important;padding:6px 8px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;color:#475569!important;font-size:10px!important;font-weight:800!important}
.s4h-os-shell .s4h-os-mobile-menu{display:none!important}
.s4h-os-shell .s4h-os-main{display:block!important;width:min(100%,1480px)!important;max-width:1480px!important;margin:0 auto!important;padding:18px 18px 34px!important}
.s4h-os-shell .s4h-os-hero,.s4h-os-shell .s4h-os-hero-compact{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;margin:0!important;padding:18px 20px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.045)!important;overflow:hidden!important}
.s4h-os-shell .s4h-os-hero h1,.s4h-os-shell .s4h-os-hero-compact h1{margin:4px 0 6px!important;color:#020617!important;font-size:clamp(24px,3.2vw,38px)!important;line-height:1.05!important;letter-spacing:-.04em!important}
.s4h-os-shell .s4h-os-hero p,.s4h-os-shell .s4h-os-hero-compact p{margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.5!important}
.s4h-os-shell .s4h-os-hero>div>span,.s4h-os-shell .s4h-os-hero-compact>div>span{display:block!important;color:#0891b2!important;font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important}
.s4h-os-shell .s4h-os-clock{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;min-width:330px!important}
.s4h-os-shell .s4h-os-clock>div{min-width:0!important;padding:10px!important;border:1px solid #e2e8f0!important;border-radius:11px!important;background:#f8fafc!important}
.s4h-os-shell .s4h-os-clock small,.s4h-os-shell .s4h-os-clock strong{display:block!important}.s4h-os-shell .s4h-os-clock small{font-size:9px!important;color:#64748b!important}.s4h-os-shell .s4h-os-clock strong{margin-top:3px!important;font-size:12px!important;color:#0f172a!important}
.s4h-os-shell .s4h-os-btn,.s4h-os-shell button{appearance:none!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:#0f172a!important;padding:9px 12px!important;font:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.15!important;cursor:pointer!important}
.s4h-os-shell .s4h-os-btn.primary,.s4h-os-shell button.primary{border-color:#06b6d4!important;background:#06b6d4!important;color:#042f2e!important}
.s4h-os-shell .s4h-os-section,.s4h-os-shell .s4h-day-command,.s4h-os-shell .s4h-morning-board,.s4h-os-shell .s4h-daily-close,.s4h-os-shell .s4h-leader-close{width:100%!important;margin-top:14px!important;padding:16px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
.s4h-os-shell .s4h-os-section h2,.s4h-os-shell .s4h-day-command h2,.s4h-os-shell .s4h-morning-board h2{margin:0 0 10px!important;color:#0f172a!important;line-height:1.12!important}
.s4h-os-shell .s4h-os-metrics,.s4h-os-shell .s4h-day-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:8px!important}
.s4h-os-shell .s4h-os-metrics article,.s4h-os-shell .s4h-day-stats article{min-width:0!important;padding:11px!important;border:1px solid #e2e8f0!important;border-radius:11px!important;background:#f8fafc!important}
.s4h-os-shell details.s4h-role-operations,.s4h-os-shell details.s4h-heavy-module,.s4h-os-shell details.s4h-success-heavy{width:100%!important;margin-top:12px!important;border:1px solid #e2e8f0!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
.s4h-os-shell details.s4h-role-operations>summary,.s4h-os-shell details.s4h-heavy-module>summary,.s4h-os-shell details.s4h-success-heavy>summary{display:block!important;cursor:pointer!important;padding:12px!important;color:#334155!important;font-size:12px!important;font-weight:850!important;line-height:1.25!important;background:#fff!important}
.s4h-os-shell input,.s4h-os-shell select,.s4h-os-shell textarea{width:auto;max-width:100%!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:#0f172a!important;padding:9px 10px!important;font:inherit!important}
.s4h-os-shell .s4h-os-table-wrap,.s4h-os-shell .s4h-table-wrap,.s4h-os-shell .s4h-event-ops-table{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
.s4h-os-shell table{border-collapse:collapse!important;min-width:680px}.s4h-os-shell th,.s4h-os-shell td{padding:9px!important;border-bottom:1px solid #e2e8f0!important;text-align:left!important;font-size:11px!important;vertical-align:top!important}
.s4h-os-login{display:grid!important;place-items:center!important;padding:24px!important}.s4h-os-login-card{width:min(100%,520px)!important;padding:24px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important}.s4h-os-login-form{display:grid!important;gap:12px!important}.s4h-os-login-form label{display:grid!important;gap:6px!important;font-weight:800!important}.s4h-os-login-form input{width:100%!important;border:1px solid #cbd5e1!important;border-radius:9px!important;padding:10px!important}
@media(max-width:900px){
  .s4h-os-shell .s4h-os-top{display:flex!important;justify-content:space-between!important;align-items:center!important;min-height:56px!important;padding:8px 10px!important;gap:8px!important}
  .s4h-os-shell .s4h-os-brand-wrap>small,.s4h-os-shell .s4h-os-desktop-nav,.s4h-os-shell .s4h-os-user{display:none!important}
  .s4h-os-shell .s4h-os-brand{font-size:16px!important}.s4h-os-shell .s4h-os-brand b{font-size:11px!important}
  .s4h-os-shell .s4h-os-mobile-menu{display:block!important;position:relative!important;margin:0!important}
  .s4h-os-shell .s4h-os-mobile-menu>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 11px!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important}
  .s4h-os-shell .s4h-os-mobile-menu>summary::-webkit-details-marker{display:none!important}
  .s4h-os-shell .s4h-os-mobile-menu>div{position:absolute!important;right:0!important;top:calc(100% + 6px)!important;z-index:11000!important;width:min(86vw,310px)!important;max-height:72vh!important;overflow:auto!important;padding:6px!important;display:grid!important;grid-template-columns:1fr!important;gap:2px!important;border:1px solid #dbe4ec!important;border-radius:12px!important;background:#fff!important;box-shadow:0 18px 46px rgba(15,23,42,.18)!important}
  .s4h-os-shell .s4h-os-mobile-menu a{display:block!important;width:100%!important;padding:11px!important;border-radius:8px!important;color:#334155!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important}
  .s4h-os-shell .s4h-os-mobile-menu a.active{background:#ecfeff!important;color:#0e7490!important}.s4h-os-shell .s4h-os-mobile-menu a.logout{margin-top:4px!important;border-top:1px solid #e2e8f0!important;color:#991b1b!important}
  .s4h-os-shell .s4h-os-main{width:100%!important;padding:10px 9px 24px!important}
  .s4h-os-shell .s4h-os-hero,.s4h-os-shell .s4h-os-hero-compact{grid-template-columns:1fr!important;padding:13px!important;border-radius:12px!important}
  .s4h-os-shell .s4h-os-hero h1,.s4h-os-shell .s4h-os-hero-compact h1{font-size:23px!important}
  .s4h-os-shell .s4h-os-hero p,.s4h-os-shell .s4h-os-hero-compact p{font-size:12px!important}
  .s4h-os-shell .s4h-os-clock{min-width:0!important;width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .s4h-os-shell .s4h-os-clock>div{padding:7px!important}.s4h-os-shell .s4h-os-clock small{font-size:8px!important}.s4h-os-shell .s4h-os-clock strong{font-size:10px!important}
  .s4h-os-shell .s4h-os-clock form,.s4h-os-shell .s4h-review-checkout{grid-column:1/-1!important;width:100%!important}.s4h-os-shell .s4h-os-clock .s4h-os-btn,.s4h-os-shell .s4h-review-checkout{width:100%!important}
  .s4h-os-shell .s4h-os-columns,.s4h-os-shell .s4h-os-capacity-grid,.s4h-os-shell .s4h-tk-layout,.s4h-os-shell .s4h-tk-answer-grid,.s4h-os-shell .s4h-morning-people,.s4h-os-shell .s4h-leader-close-list>article{grid-template-columns:1fr!important}
  .s4h-os-shell .s4h-day-stats{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){.s4h-os-shell .s4h-os-brand b{display:none!important}.s4h-os-shell .s4h-day-stats{grid-template-columns:1fr 1fr!important}}


/* v1.20.25 — role control surfaces and post-payment visibility */
.s4h-placement-control-tower{scroll-margin-top:110px}
.s4h-success-upstream{border-style:dashed}
.s4h-success-upstream details>summary{cursor:pointer;font-weight:800}
.s4h-capacity-explainer{margin-top:10px}
@media(max-width:760px){
  .s4h-placement-control-tower .s4h-os-columns{grid-template-columns:1fr!important}
  .s4h-placement-control-tower .s4h-pulse-form{grid-template-columns:1fr!important}
  .s4h-placement-control-tower .s4h-pulse-form .wide{grid-column:1!important}
}

/* v1.20.26 — operational reliability patch */
.s4h-participant-picker{position:relative;display:grid;gap:7px}
.s4h-participant-picker input[type=search]{display:block!important;visibility:visible!important;opacity:1!important;width:100%;min-height:46px;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;background:#fff}
.s4h-participant-picker>small{color:#64748b}
.s4h-participant-options{position:absolute;top:100%;left:0;right:0;z-index:80;max-height:280px;overflow:auto;margin-top:6px;padding:6px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(15,23,42,.16)}
.s4h-participant-options button{display:grid;width:100%;gap:3px;padding:10px 11px;border:0;border-bottom:1px solid #eef2f7;background:#fff;text-align:left;color:#0f172a}
.s4h-participant-options button:last-child{border-bottom:0}
.s4h-participant-options button strong{font-size:.84rem}.s4h-participant-options button span{font-size:.7rem;color:#64748b}
.s4h-placement-intake .s4h-os-task{align-items:flex-start}.s4h-review-checkout{cursor:pointer}
.s4h-success-upstream .s4h-inline-form{display:grid;gap:6px;margin-top:8px}.s4h-success-upstream .s4h-inline-form select,.s4h-success-upstream .s4h-inline-form input{width:100%;min-height:38px}
@media(max-width:760px){.s4h-participant-options{position:fixed;left:16px;right:16px;top:22vh;max-height:56vh}.s4h-placement-intake{grid-template-columns:1fr!important}}


/* v1.20.28 hard-shell mobile navigation */
@media(max-width:760px){
.s4h-os-shell .s4h-os-mobile-menu{display:none!important}
.s4h-os-shell .s4h-os-mobile-menu-wrap{display:block!important;position:relative!important}
.s4h-os-shell .s4h-os-mobile-menu-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 11px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:900!important}
.s4h-os-shell .s4h-os-mobile-menu-panel{position:fixed!important;left:12px!important;right:12px!important;top:64px!important;z-index:1002!important;width:auto!important;max-height:calc(100vh - 82px)!important;overflow:auto!important;padding:8px!important;border:1px solid #dbe4ec!important;border-radius:14px!important;background:#fff!important;box-shadow:0 18px 46px rgba(15,23,42,.2)!important}
.s4h-os-shell .s4h-os-mobile-menu-panel:not([hidden]){display:grid!important;gap:3px!important}
.s4h-os-shell .s4h-os-mobile-menu-backdrop:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:1001!important;background:rgba(15,23,42,.22)!important;border:0!important}
.s4h-os-shell .s4h-os-mobile-menu-panel a{display:block!important;padding:11px!important;border-radius:9px!important;text-decoration:none!important;color:#334155!important;font-size:12px!important;font-weight:800!important}
}


/* v1.20.45 UI QA — actionable KPIs, readable filters and compact cross-workspace control surfaces. */
.s4h-os-metrics-actionable>a,.s4h-success-metrics-actionable>a{display:block;color:inherit;text-decoration:none;border-radius:14px}
.s4h-os-metrics-actionable>a:focus-visible,.s4h-success-metrics-actionable>a:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.s4h-os-metrics-actionable>a article,.s4h-success-metrics-actionable>a{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.s4h-os-metrics-actionable>a:hover article,.s4h-success-metrics-actionable>a:hover{transform:translateY(-1px)}
.s4h-success-metrics-actionable{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.s4h-success-metrics-actionable>a{padding:14px;background:#fff;border:1px solid rgba(15,23,42,.10)}
.s4h-success-metrics-actionable>a strong,.s4h-success-metrics-actionable>a span{display:block}
.s4h-os-filterbar{display:grid;grid-template-columns:minmax(220px,2fr) minmax(170px,1fr) minmax(130px,.7fr) auto auto;gap:10px;align-items:end;margin:12px 0}
.s4h-os-filterbar label{display:grid;gap:5px;font-size:12px;font-weight:700}
.s4h-os-filterbar input,.s4h-os-filterbar select{width:100%;min-height:42px}
.s4h-success-mesh{margin-top:14px}
@media(max-width:782px){.s4h-os-filterbar{grid-template-columns:1fr}.s4h-os-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.s4h-os-metrics-actionable,.s4h-success-metrics-actionable{grid-template-columns:repeat(2,minmax(0,1fr))}.s4h-os-direct-actions{gap:7px;flex-wrap:wrap}.s4h-os-direct-actions a,.s4h-os-direct-actions button{min-height:40px}}

/* v1.20.47 Unified Task Control — compact, scrollable, mirror-safe */
.s4h-task-control{margin-top:22px}
.s4h-task-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.s4h-task-filter-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid rgba(148,163,184,.35);border-radius:12px;text-decoration:none;background:#fff;color:#0f172a;font-weight:700}
.s4h-task-filter-tabs a.active{border-color:#06b6d4;box-shadow:0 0 0 2px rgba(6,182,212,.08)}
.s4h-task-filter-tabs b{font-size:12px;border-radius:999px;padding:2px 7px;background:#f1f5f9}
.s4h-task-scroll-container,.s4h-task-history-scroll{display:grid;gap:10px;max-height:620px;overflow:auto;padding-right:4px;overscroll-behavior:contain}
.s4h-leader-task-card{border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:14px;background:#fff}
.s4h-leader-task-card.is-overdue{border-left:4px solid #dc2626}
.s4h-leader-task-main>span{display:block;font-size:11px;letter-spacing:.04em;color:#64748b;font-weight:800}
.s4h-leader-task-main h4{margin:5px 0 6px;font-size:16px;color:#0f172a}
.s4h-leader-task-main p{margin:4px 0 8px;color:#475569}
.s4h-task-detail{margin-top:8px}
.s4h-task-detail>summary,.s4h-unit-manager>summary,.s4h-task-history-container>summary{cursor:pointer;font-weight:800;color:#0f172a;min-height:40px;display:flex;align-items:center}
.s4h-task-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.s4h-task-detail dl div{background:#f8fafc;border-radius:10px;padding:8px}
.s4h-task-detail dt{font-size:11px;color:#64748b;font-weight:700}
.s4h-task-detail dd{margin:2px 0 0;font-size:13px;color:#0f172a}
.s4h-task-history-container{margin-top:12px;border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:0 12px 12px;background:#f8fafc}
.s4h-task-history-container>summary{padding:8px 0}
.s4h-unit-progress{margin:10px 0;padding:10px;border-radius:12px;background:#f8fafc}
.s4h-unit-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}
.s4h-unit-progress progress{width:100%;height:9px;margin:8px 0 4px}
.s4h-unit-step{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.s4h-unit-step button,.s4h-add-unit-form button,.s4h-unit-list button{min-height:40px}
.s4h-unit-manager{margin-top:10px;border-top:1px dashed rgba(148,163,184,.35);padding-top:6px}
.s4h-unit-list{display:grid;gap:8px;max-height:360px;overflow:auto}
.s4h-unit-list article{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,1.5fr);gap:10px;align-items:start;border:1px solid rgba(148,163,184,.24);border-radius:12px;padding:10px;background:#fff}
.s4h-unit-list article form{display:grid;grid-template-columns:140px 1fr 1fr auto;gap:6px}
.s4h-add-unit-form{display:grid;grid-template-columns:160px 1fr auto;gap:8px;margin-top:10px}
.s4h-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(148,163,184,.24);border-radius:12px;padding:10px;background:#fff}
.s4h-history-row strong,.s4h-history-row small{display:block}
.s4h-history-row small{color:#64748b;margin-top:3px}
@media (max-width:780px){
  .s4h-task-detail dl{grid-template-columns:1fr 1fr}
  .s4h-unit-list article{grid-template-columns:1fr}
  .s4h-unit-list article form{grid-template-columns:1fr}
  .s4h-add-unit-form{grid-template-columns:1fr}
  .s4h-history-row{align-items:flex-start;flex-direction:column}
}
.s4h-leader-oversight-grid{display:grid;gap:10px}
.s4h-leader-oversight-card{border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:0 12px 12px;background:#fff}
.s4h-leader-oversight-card>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:54px}
.s4h-leader-oversight-card>summary span:first-child strong,.s4h-leader-oversight-card>summary span:first-child small{display:block}
.s4h-leader-oversight-card>summary span:first-child small{color:#64748b;margin-top:2px}
.s4h-leader-counts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.s4h-leader-counts b{font-size:11px;padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#334155}
.s4h-mini-task-scroll{display:grid;gap:7px;max-height:360px;overflow:auto;margin:8px 0}
.s4h-mini-task-scroll article{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid rgba(148,163,184,.22);border-radius:10px;padding:9px;background:#f8fafc}
.s4h-mini-task-scroll strong,.s4h-mini-task-scroll small{display:block}
.s4h-mini-task-scroll small{color:#64748b;margin-top:2px}
@media (max-width:780px){.s4h-leader-oversight-card>summary,.s4h-mini-task-scroll article{align-items:flex-start;flex-direction:column}.s4h-leader-counts{justify-content:flex-start}}

/* v1.20.51 — Task UI simplification: one task, one primary place. */
.s4h-day-task-summary{margin-top:12px;padding:11px 13px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:#fff;display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap}
.s4h-day-task-summary strong{color:#0f172a}.s4h-day-task-summary span,.s4h-day-task-summary small{color:#64748b}.s4h-day-task-summary small{margin-left:auto}
.s4h-task-inline-review{margin-top:10px;padding:10px;border:1px solid rgba(6,182,212,.24);border-radius:12px;background:#f8fafc;display:grid;gap:8px}
.s4h-task-inline-review textarea{width:100%;box-sizing:border-box}
article.s4h-leader-oversight-card{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;gap:12px;align-items:center;padding:12px}
article.s4h-leader-oversight-card>div:first-child strong,article.s4h-leader-oversight-card>div:first-child small{display:block}
article.s4h-leader-oversight-card>div:first-child small{color:#64748b;margin-top:2px}
@media(max-width:780px){.s4h-day-task-summary{display:grid}.s4h-day-task-summary small{margin-left:0}article.s4h-leader-oversight-card{grid-template-columns:1fr}}

/* v1.20.52 — Program Package + Participant Journey + Finance mirror */
.s4h-package-builder,.s4h-participant-payment,.s4h-journey-quick-control{scroll-margin-top:110px}
.s4h-package-status{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #d7dee7;border-radius:999px;font-size:12px;line-height:1;background:#fff;white-space:nowrap}
.s4h-package-status.is-approved{font-weight:700}
.s4h-package-programs{display:flex;gap:8px;overflow:auto;padding:2px 0 14px;margin-bottom:12px}
.s4h-package-programs a{flex:0 0 auto;text-decoration:none;border:1px solid #d7dee7;border-radius:10px;padding:8px 11px;background:#fff;font-size:13px}
.s4h-package-programs a.is-active{font-weight:700;border-color:#111827}
.s4h-package-form{display:grid;gap:12px}
.s4h-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.s4h-package-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.s4h-package-form label,.s4h-os-assign label{display:grid;gap:5px;font-size:12px;font-weight:700}
.s4h-package-form input,.s4h-package-form textarea,.s4h-package-form select,.s4h-os-assign input,.s4h-os-assign textarea,.s4h-os-assign select{width:100%;box-sizing:border-box;border:1px solid #d7dee7;border-radius:8px;background:#fff;padding:9px 10px;font:inherit}
.s4h-package-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.s4h-package-summary>div{border:1px solid #e5e7eb;border-radius:10px;padding:12px;background:#fff;display:grid;gap:4px}
.s4h-package-summary strong{font-size:18px}.s4h-package-summary span{font-size:12px;color:#64748b}
.s4h-participant-control-grid{align-items:start}
.s4h-participant-payment .s4h-package-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.s4h-journey-quick-control .s4h-os-assign,.s4h-participant-payment .s4h-os-assign{grid-template-columns:repeat(2,minmax(0,1fr))}
.s4h-journey-quick-control .s4h-os-assign button,.s4h-participant-payment .s4h-os-assign button,.s4h-os-assign .wide{grid-column:1/-1}
.s4h-finance-two-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.s4h-finance-pending .s4h-work-card{align-items:start}
.s4h-finance-pending details{min-width:min(520px,100%)}
@media(max-width:760px){.s4h-package-grid,.s4h-package-grid.two,.s4h-package-summary,.s4h-participant-payment .s4h-package-summary,.s4h-journey-quick-control .s4h-os-assign,.s4h-participant-payment .s4h-os-assign{grid-template-columns:1fr}.s4h-finance-two-tabs{grid-template-columns:1fr!important}.s4h-finance-pending details{min-width:0}}

/* v1.20.53 — Critical operational visibility + completion feedback */
.s4h-package-launcher{border:1px solid #cbd5e1;background:#f8fafc}
.s4h-package-create-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1.2fr);gap:16px;align-items:end;padding:14px;border:1px solid #d7dee7;border-radius:12px;background:#fff;margin:12px 0 16px}
.s4h-package-create-card>div{display:grid;gap:4px}.s4h-package-create-card span{font-size:12px;color:#64748b}
.s4h-package-create-form,.s4h-paid-search,.s4h-finance-search{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.s4h-package-create-form input,.s4h-paid-search input,.s4h-finance-search input{min-width:260px;width:100%;box-sizing:border-box;border:1px solid #d7dee7;border-radius:8px;padding:9px 10px;font:inherit}
.s4h-paid-search label,.s4h-finance-search label{display:grid;gap:5px;flex:1;min-width:260px;font-size:12px;font-weight:700}
.s4h-paid-activation-queue{margin:16px 0}.s4h-paid-activation-queue .s4h-work-card.is-ready{border-left:4px solid currentColor}.s4h-activation-details{min-width:min(520px,100%)}
.s4h-activation-details>summary{cursor:pointer;font-weight:700}.s4h-activation-form{margin-top:10px}
.s4h-work-actions input[name="action_result"]{min-width:220px;max-width:360px;border:1px solid #d7dee7;border-radius:8px;padding:8px 10px}
@media(max-width:760px){.s4h-package-create-card{grid-template-columns:1fr}.s4h-package-create-form,.s4h-paid-search,.s4h-finance-search{display:grid;grid-template-columns:1fr}.s4h-package-create-form input,.s4h-paid-search input,.s4h-finance-search input{min-width:0}.s4h-activation-details{min-width:0}.s4h-work-actions input[name="action_result"]{min-width:0;width:100%}}
.s4h-status-ok,.s4h-status-warn{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2}.s4h-status-ok{background:#ecfdf5}.s4h-status-warn{background:#fff7ed}.s4h-journey-gate-block{margin-top:12px;padding:14px;border:1px solid rgba(15,23,42,.10);border-radius:14px;background:#fff}.s4h-journey-gate-block p{margin:0 0 8px}

/* v1.20.57 — Dinar Program Package CTA wiring hotfix */
.s4h-package-launcher-action{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;pointer-events:auto!important;touch-action:manipulation}
#program-package-builder{scroll-margin-top:110px}
@media(max-width:760px){.s4h-package-launcher-action{width:100%;box-sizing:border-box}}

/* v1.20.58 — Dinar Program Package history + reusable component library */
.s4h-package-current-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.s4h-package-current-strip>div{border:1px solid #dbe4ea;border-radius:16px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:3px}.s4h-package-current-strip span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#0891a8}.s4h-package-current-strip strong{font-size:15px;color:#0f172a}.s4h-package-current-strip small{color:#64748b}.s4h-package-recent,.s4h-package-guide,.s4h-component-library{border:1px solid #dbe4ea;border-radius:18px;padding:12px;margin:14px 0;background:#fff}.s4h-package-recent>summary,.s4h-package-guide>summary,.s4h-component-library>summary{font-weight:900;cursor:pointer;color:#0f172a}.s4h-package-recent-list{display:grid;gap:8px;margin-top:10px}.s4h-package-recent-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;text-decoration:none;color:#0f172a}.s4h-package-recent-row.is-current{border-color:#06b6d4;background:#ecfeff}.s4h-package-recent-row>div{display:flex;flex-direction:column}.s4h-package-recent-row span,.s4h-package-recent-row small{font-size:12px;color:#64748b}.s4h-package-recent-row b{font-size:12px;color:#0891b2}.s4h-package-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.s4h-package-guide-grid>div{border:1px solid #e2e8f0;border-radius:14px;padding:10px}.s4h-package-guide-grid strong{display:block;color:#0f172a}.s4h-package-guide-grid span{font-size:13px;color:#64748b}.s4h-component-group{margin:12px 0;padding-top:10px;border-top:1px solid #eef2f7}.s4h-component-group-head{display:flex;flex-direction:column;gap:3px}.s4h-component-group-head span{font-size:12px;color:#64748b}.s4h-component-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.s4h-component-chip{border:1px solid #cbd5e1;background:#fff;border-radius:14px;padding:9px 10px;text-align:left;display:flex;flex-direction:column;gap:2px;max-width:330px;cursor:pointer}.s4h-component-chip b{font-size:11px;color:#0891b2}.s4h-component-chip span{font-size:13px;font-weight:700;color:#0f172a}.s4h-component-chip small{font-size:10px;color:#64748b}.s4h-package-checklist{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.s4h-package-checklist span{font-size:12px;border-radius:999px;padding:6px 9px;border:1px solid #cbd5e1}.s4h-package-checklist .is-done{background:#ecfdf5;border-color:#a7f3d0}.s4h-package-checklist .is-missing{background:#fff7ed;border-color:#fed7aa}
@media(max-width:760px){.s4h-package-current-strip{grid-template-columns:1fr}.s4h-package-guide-grid{grid-template-columns:1fr}.s4h-package-recent-row{grid-template-columns:1fr auto}.s4h-package-recent-row>div:nth-child(2){grid-column:1/2}.s4h-component-chip{max-width:100%;width:100%}}

/* v1.20.59 — Knowledge-assisted Program Package Builder */
.s4h-package-ai-assist{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:16px;border:1px solid #bae6fd;background:#f0f9ff;border-radius:18px;margin:14px 0}
.s4h-package-ai-assist span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#0891b2;margin-bottom:5px}
.s4h-package-ai-assist strong{display:block;font-size:18px;color:#0f172a;margin-bottom:5px}.s4h-package-ai-assist p{margin:0;color:#475569;max-width:720px}
.s4h-package-ai-results{border:1px solid #c4b5fd;background:#faf5ff;padding:14px;border-radius:18px;margin:12px 0}.s4h-package-ai-error{padding:12px;border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:14px;margin:10px 0}.s4h-component-chip.is-ai{border-color:#c4b5fd;background:#fff}.s4h-component-chip.is-added{opacity:.72}.s4h-component-chip.is-added b{color:#166534}
@media(max-width:720px){.s4h-package-ai-assist{flex-direction:column}.s4h-package-ai-assist .s4h-os-btn{width:100%;text-align:center}}


/* v1.20.60 — Enrollment-bound Program Package Snapshot in Career Journey */
.s4h-package-snapshot{border:1px solid #dce7ee;background:linear-gradient(180deg,#fff,#fbfdff)}
.s4h-package-snapshot.is-warning{border-color:#f1c78d;background:#fffaf3}
.s4h-package-snapshot-block{margin-top:14px;padding-top:12px;border-top:1px solid #edf1f4}
.s4h-package-snapshot-block>strong{display:block;margin-bottom:6px}
.s4h-package-snapshot-block p{margin:0;line-height:1.55}
.s4h-package-snapshot-block ul{margin:6px 0 0 18px;padding:0}
.s4h-package-snapshot-block li{margin:5px 0;line-height:1.45}

/* v1.20.62 — Mobile-first restaurant-style Program Package Composer */
.s4h-package-ordering-mode{padding-bottom:86px}
.s4h-package-step{display:flex;gap:12px;align-items:flex-start;margin:18px 0 10px}.s4h-package-step>span{width:32px;height:32px;flex:0 0 32px;border-radius:999px;background:#06b6d4;color:#fff;display:grid;place-items:center;font-weight:900}.s4h-package-step>div{display:grid;gap:2px}.s4h-package-step strong{font-size:18px;color:#0f172a}.s4h-package-step small{color:#64748b;line-height:1.4}
.s4h-package-program-picker{display:flex;gap:8px;overflow:auto;padding-bottom:4px;scrollbar-width:thin}.s4h-package-program-picker a{white-space:nowrap;min-height:42px;display:inline-flex;align-items:center}
.s4h-package-new-program{margin:10px 0 16px;border:1px dashed #cbd5e1;border-radius:14px;padding:10px 12px;background:#fff}.s4h-package-new-program>summary{font-weight:800;cursor:pointer}
.s4h-package-basics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.s4h-package-basics label,.s4h-package-status-control{display:grid;gap:5px;font-size:12px;font-weight:800;color:#334155}.s4h-package-basics input,.s4h-package-status-control select,.s4h-package-advanced textarea{box-sizing:border-box;width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;background:#fff;color:#0f172a;font:inherit}
.s4h-knowledge-basics{border:1px solid #bae6fd;background:#f0f9ff;border-radius:16px;padding:12px;margin:10px 0}.s4h-knowledge-basics>strong{display:block;margin-bottom:8px}
.s4h-package-menu-toolbar{position:sticky;top:8px;z-index:4;background:rgba(248,250,252,.96);backdrop-filter:blur(8px);padding:10px;border:1px solid #dbe4ea;border-radius:16px;margin:8px 0 12px}.s4h-package-menu-toolbar input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;font:inherit;background:#fff}.s4h-package-menu-filters{display:flex;gap:7px;overflow:auto;margin-top:8px;padding-bottom:2px}.s4h-package-menu-filters button{white-space:nowrap;border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:8px 11px;font-weight:800;color:#334155;cursor:pointer}.s4h-package-menu-filters button.is-active{border-color:#06b6d4;background:#ecfeff;color:#0e7490}
.s4h-package-order-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:14px;align-items:start}.s4h-package-menu{display:grid;gap:12px}.s4h-package-menu-group{border:1px solid #dbe4ea;border-radius:18px;background:#fff;padding:12px}.s4h-package-menu-group-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.s4h-package-menu-group-head>div{display:grid;gap:3px}.s4h-package-menu-group-head strong{font-size:17px;color:#0f172a}.s4h-package-menu-group-head span{font-size:12px;color:#64748b;line-height:1.4}.s4h-package-menu-group-head>b{font-size:11px;border-radius:999px;background:#f1f5f9;padding:5px 8px;color:#475569;white-space:nowrap}
.s4h-package-menu-list{display:grid;gap:8px}.s4h-package-menu-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:11px;background:#fff;transition:.15s ease}.s4h-package-menu-item.is-selected{border-color:#06b6d4;background:#ecfeff}.s4h-package-menu-item>div{display:grid;gap:5px}.s4h-package-menu-item strong{font-size:14px;line-height:1.35;color:#0f172a}.s4h-package-menu-source{display:inline-flex;width:max-content;max-width:100%;font-size:10px;font-weight:800;border-radius:999px;padding:4px 7px;background:#f1f5f9;color:#475569}.s4h-package-menu-source.is-knowledge{background:#f3e8ff;color:#7e22ce}.s4h-package-menu-source.is-entitlement{background:#ecfdf5;color:#166534}.s4h-menu-add{min-width:108px;min-height:42px;border:1px solid #06b6d4;background:#fff;color:#0e7490;border-radius:12px;font-weight:900;padding:8px 10px;cursor:pointer}.s4h-package-menu-item.is-selected .s4h-menu-add{background:#06b6d4;color:#fff}.s4h-package-menu-empty{border:1px dashed #cbd5e1;border-radius:14px;padding:14px;display:grid;gap:4px;color:#64748b}.s4h-package-menu-empty strong{color:#334155}
.s4h-package-cart{position:sticky;top:92px;border:1px solid #bfe6ec;border-radius:18px;background:#f8feff;padding:12px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.s4h-package-cart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #dbe4ea}.s4h-package-cart-head>div{display:grid}.s4h-package-cart-head span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#0891b2}.s4h-package-cart-head strong{color:#0f172a}.s4h-package-cart-head>b{width:32px;height:32px;border-radius:999px;background:#06b6d4;color:#fff;display:grid;place-items:center}.s4h-cart-group{padding:10px 0;border-bottom:1px solid #e2e8f0}.s4h-cart-group>strong{font-size:12px;color:#475569}.s4h-cart-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;margin-top:7px;font-size:12px;color:#0f172a}.s4h-cart-row button{width:28px;height:28px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;cursor:pointer}.s4h-package-cart>.s4h-os-btn{width:100%;margin-top:10px;box-sizing:border-box}
.s4h-package-advanced{margin:16px 0;border:1px dashed #cbd5e1;border-radius:16px;padding:11px;background:#fff}.s4h-package-advanced>summary{font-weight:900;cursor:pointer}.s4h-package-advanced label{display:grid;gap:5px;margin-top:10px;font-size:12px;font-weight:800;color:#334155}.s4h-package-save-actions{position:relative;z-index:2}.s4h-package-mobile-bar{display:none}
@media(max-width:820px){
  .s4h-package-ordering-mode{padding-bottom:88px}.s4h-package-basics{grid-template-columns:1fr}.s4h-package-order-grid{grid-template-columns:1fr}.s4h-package-cart{position:relative;top:auto;order:-1}.s4h-package-menu-toolbar{top:4px}.s4h-package-menu-item{grid-template-columns:1fr}.s4h-menu-add{width:100%;min-width:0}.s4h-package-menu-group{padding:10px}.s4h-package-menu-group-head{flex-direction:column}.s4h-package-mobile-bar{display:flex;position:fixed;left:10px;right:10px;bottom:10px;z-index:9999;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:16px;background:#0f172a;color:#fff;box-shadow:0 12px 34px rgba(15,23,42,.28)}.s4h-package-mobile-bar span{font-size:13px}.s4h-package-mobile-bar button{border:0;border-radius:11px;padding:10px 12px;background:#22d3ee;color:#082f49;font-weight:900}.s4h-package-basics input,.s4h-package-status-control select,.s4h-package-advanced textarea,.s4h-package-menu-toolbar input{font-size:16px}.s4h-package-create-card{padding:10px}.s4h-package-current-strip{margin-top:10px}.s4h-package-ai-assist{padding:12px}.s4h-package-step strong{font-size:16px}
}

/* v1.20.67 — hard-shell full-width and grouped navigation overrides. */
body.s4h-team-app-page,#s4h-team-app-root,.s4h-os-shell{width:100%!important;max-width:none!important;margin:0!important}
.s4h-os-shell .s4h-os-main{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(12px,1.5vw,24px)!important}
.s4h-os-shell .s4h-os-desktop-nav{overflow:visible!important}
.s4h-os-shell .s4h-nav-group{position:relative!important;display:block!important;border:0!important;background:transparent!important;overflow:visible!important;margin:0!important}
.s4h-os-shell .s4h-nav-group>summary{display:flex!important;align-items:center!important;min-height:36px!important;padding:8px 10px!important;border-radius:10px!important;background:transparent!important;color:#334155!important;font-size:12px!important;font-weight:850!important;cursor:pointer!important;list-style:none!important}
.s4h-os-shell .s4h-nav-group>summary::-webkit-details-marker{display:none!important}
.s4h-os-shell .s4h-nav-group>div{position:absolute!important;top:calc(100% + 7px)!important;left:0!important;z-index:12000!important;min-width:220px!important;padding:7px!important;display:grid!important;gap:3px!important;border:1px solid #dbe4ec!important;border-radius:12px!important;background:#fff!important;box-shadow:0 18px 46px rgba(15,23,42,.16)!important}
.s4h-os-shell .s4h-nav-group>div a{display:block!important;width:100%!important;padding:10px 11px!important;text-align:left!important}
.s4h-os-shell .s4h-workspace-group{width:100%!important;max-width:none!important;margin-top:14px!important;border:1px solid #dbe4ec!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}
.s4h-os-shell .s4h-workspace-group>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;cursor:pointer!important}
.s4h-os-shell .s4h-workspace-group>summary span{font-weight:900!important}.s4h-os-shell .s4h-workspace-group>summary small{font-size:11px!important;color:#64748b!important}
.s4h-os-shell .s4h-workspace-group-body{padding:4px 14px 16px!important}
@media(max-width:900px){.s4h-os-shell .s4h-os-main{padding:10px 9px 24px!important}.s4h-os-shell .s4h-workspace-group>summary{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}}
.s4h-os-shell .s4h-nav-group:not([open])>div{display:none!important}

/* v1.20.68 — Global Presentation Layer: every Team surface uses the viewport. */
body.s4h-team-app-page{overflow-x:hidden!important}
body.s4h-team-app-page #s4h-team-app-root,
body.s4h-team-app-page #s4h-team-app-root>*,
body.s4h-team-app-page .s4h-os-shell,
body.s4h-team-app-page .s4h-tk-shell,
body.s4h-team-app-page .s4h-success-shell.s4h-success-workspace,
body.s4h-team-app-page .s4h-counselor-shell{
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important
}
body.s4h-team-app-page .s4h-tk-shell .s4h-os-main,
body.s4h-team-app-page .s4h-counselor-shell{
  width:100%!important;max-width:none!important;box-sizing:border-box!important
}
body.s4h-team-app-page .s4h-counselor-shell{padding:clamp(14px,2vw,28px)!important}
body.s4h-team-app-page .s4h-counselor-shell>header,
body.s4h-team-app-page .s4h-counselor-form,
body.s4h-team-app-page .s4h-review-history{max-width:none!important;width:100%!important}
body.s4h-team-app-page .s4h-counselor-metrics,
body.s4h-team-app-page .s4h-counselor-summary,
body.s4h-team-app-page .s4h-success-columns,
body.s4h-team-app-page .s4h-participant-control-grid,
body.s4h-team-app-page .s4h-tk-layout,
body.s4h-team-app-page .s4h-os-grid,
body.s4h-team-app-page .s4h-os-division-grid,
body.s4h-team-app-page .s4h-os-checkgrid{min-width:0!important}
body.s4h-team-app-page .s4h-os-table-wrap,
body.s4h-team-app-page .s4h-table-wrap,
body.s4h-team-app-page .s4h-event-ops-table{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
body.s4h-team-app-page table{max-width:none}
body.s4h-team-app-page input,
body.s4h-team-app-page select,
body.s4h-team-app-page textarea,
body.s4h-team-app-page button{max-width:100%;box-sizing:border-box}

/* One visible freshness state for all logged-in Team workspaces. */
.s4h-freshness-badge{
  position:fixed;right:14px;bottom:14px;z-index:20000;display:flex;align-items:center;gap:8px;
  min-height:36px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:999px;background:rgba(255,255,255,.96);
  box-shadow:0 10px 30px rgba(15,23,42,.14);font:800 11px/1.1 Inter,ui-sans-serif,system-ui,sans-serif;color:#334155;
  backdrop-filter:blur(8px)
}
.s4h-freshness-dot{width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.12)}
.s4h-freshness-badge.is-update{border-color:#fdba74;background:#fff7ed;color:#9a3412}.s4h-freshness-badge.is-update .s4h-freshness-dot{background:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.12)}
.s4h-freshness-badge.is-syncing{border-color:#67e8f9;background:#ecfeff;color:#155e75}.s4h-freshness-badge.is-syncing .s4h-freshness-dot{background:#06b6d4;box-shadow:0 0 0 3px rgba(6,182,212,.12)}
.s4h-freshness-badge.is-warning{border-color:#fecaca;background:#fef2f2;color:#991b1b}.s4h-freshness-badge.is-warning .s4h-freshness-dot{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.12)}
.s4h-freshness-refresh{border:0;border-radius:999px;padding:6px 9px;background:#0f172a;color:#fff;font:900 10px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}

@media(max-width:1180px){
  body.s4h-team-app-page .s4h-counselor-metrics,
  body.s4h-team-app-page .s4h-counselor-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.s4h-team-app-page .s4h-tk-layout{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body.s4h-team-app-page .s4h-counselor-shell{padding:10px 8px 28px!important}
  body.s4h-team-app-page .s4h-counselor-metrics,
  body.s4h-team-app-page .s4h-counselor-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.s4h-team-app-page .s4h-counselor-list article{align-items:flex-start!important;flex-direction:column!important}
  .s4h-freshness-badge{right:9px;bottom:9px;max-width:calc(100vw - 18px)}
}

/* v1.20.69 — mobile navigation must never cover operational cards. */
.s4h-os-shell .s4h-os-mobile-menu-panel[hidden]{display:none!important}
.s4h-os-shell .s4h-os-mobile-menu-inline{display:none!important}
@media(max-width:900px){
  .s4h-os-shell .s4h-os-mobile-menu-wrap{display:block!important;position:relative!important}
  .s4h-os-shell .s4h-os-mobile-menu-inline:not([hidden]){
    display:block!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    z-index:1!important;width:100%!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:10px!important;
    border:0!important;border-bottom:1px solid #dbe4ec!important;border-radius:0!important;background:#fff!important;box-shadow:none!important
  }
  .s4h-os-shell .s4h-mobile-nav-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:4px 4px 9px!important;border-bottom:1px solid #eef2f7!important}
  .s4h-os-shell .s4h-mobile-nav-title strong{font-size:12px!important;color:#0f172a!important}
  .s4h-os-shell .s4h-mobile-nav-close{min-height:34px!important;padding:7px 10px!important;border-radius:9px!important;background:#f8fafc!important}
  .s4h-os-shell .s4h-nav-mobile-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;padding:9px 2px!important}
  .s4h-os-shell .s4h-nav-mobile-group>strong{grid-column:1/-1!important;padding:2px 5px!important}
  .s4h-os-shell .s4h-os-mobile-menu-inline a{min-height:40px!important;display:flex!important;align-items:center!important;padding:9px 10px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;white-space:normal!important}
  .s4h-os-shell .s4h-os-mobile-menu-inline a.active{background:#ecfeff!important;border-color:#a5f3fc!important;color:#0e7490!important}
  .s4h-os-shell .s4h-os-mobile-menu-inline a.logout{margin-top:4px!important;border-color:#fecaca!important;color:#991b1b!important}
}
@media(max-width:480px){
  .s4h-os-shell .s4h-nav-mobile-group{grid-template-columns:1fr!important}
}

/* v1.20.69 — participant quick action surface */
.s4h-participant-lookup{margin:14px 0!important;border:1px solid #bae6fd!important;background:linear-gradient(180deg,#f7fdff,#fff)!important}
.s4h-participant-lookup-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:10px}
.s4h-participant-lookup-form label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#334155}
.s4h-participant-lookup-form input{width:100%!important;min-height:44px!important;font-size:16px!important}
.s4h-participant-lookup-results{display:grid;gap:9px;margin-top:12px}
.s4h-participant-lookup-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #dbe4ec;border-radius:14px;background:#fff}
.s4h-participant-lookup-card h3,.s4h-participant-lookup-card p{margin:0}.s4h-participant-lookup-card small{display:block;margin-top:4px;color:#64748b}
.s4h-participant-lookup-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
@media(max-width:760px){.s4h-participant-lookup-form,.s4h-participant-lookup-card{grid-template-columns:1fr}.s4h-participant-lookup-actions{justify-content:flex-start}.s4h-participant-lookup-actions>*{flex:1 1 auto;justify-content:center}}

/* v1.20.69 — payment proof must look like an action, not hidden helper text. */
.s4h-reg-payment-proof{margin-top:8px;border:1px solid #bae6fd;border-radius:12px;background:#f8feff;padding:8px}
.s4h-reg-payment-proof>summary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 12px!important;border:1px solid #06b6d4!important;border-radius:10px!important;background:#06b6d4!important;color:#042f2e!important;font-weight:900!important;cursor:pointer!important;list-style:none!important}
.s4h-reg-payment-proof>summary::-webkit-details-marker{display:none!important}
.s4h-reg-payment-proof[open]>summary{margin-bottom:8px!important}
.s4h-reg-payment-proof form{margin-top:6px!important}

/* v1.20.69 — participant action rows stay usable on every task card. */
.s4h-participant-action-surface{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px;padding-top:8px;border-top:1px dashed #dbe4ec}
.s4h-participant-action-surface .s4h-os-mini-btn,.s4h-participant-action-surface .s4h-os-wa-btn{min-height:38px}


/* v1.20.69 — WordPress Admin Bar Safe Area.
 * STAR4Hire sticky controls must sit below the logged-in WP toolbar on every device.
 * JS measures the actual toolbar height into --s4h-admin-bar-offset; CSS fallbacks cover
 * the standard WordPress desktop/mobile heights before JS runs. */
:root{--s4h-admin-bar-offset:0px}
body.admin-bar{--s4h-admin-bar-offset:32px}
@media screen and (max-width:782px){body.admin-bar{--s4h-admin-bar-offset:46px}}
body.s4h-team-app-page .s4h-os-shell .s4h-os-top{top:var(--s4h-admin-bar-offset,0px)!important}
body.s4h-team-app-page .s4h-enrollment-desk-nav{top:calc(var(--s4h-admin-bar-offset,0px) + 10px)!important}
body.s4h-team-app-page .s4h-placement-inbox-nav{top:var(--s4h-admin-bar-offset,0px)!important}
body.s4h-team-app-page .s4h-package-menu-toolbar{top:calc(var(--s4h-admin-bar-offset,0px) + 8px)!important}
body.s4h-team-app-page .s4h-package-cart{top:calc(var(--s4h-admin-bar-offset,0px) + 92px)!important}
@media(max-width:760px){body.s4h-team-app-page .s4h-package-cart{top:auto!important}}


/* v1.20.70 — Participant Delivery orchestration health is visible as a card, not text only. */
.s4h-delivery-overview{border-left:6px solid #0ea5e9;background:linear-gradient(135deg,rgba(14,165,233,.06),#fff 34%)}
.s4h-delivery-overview.is-critical{border-left-color:#dc2626;background:linear-gradient(135deg,rgba(220,38,38,.07),#fff 34%)}
.s4h-delivery-overview.is-due_soon{border-left-color:#f97316;background:linear-gradient(135deg,rgba(249,115,22,.08),#fff 34%)}
.s4h-delivery-overview.is-waiting{border-left-color:#eab308;background:linear-gradient(135deg,rgba(234,179,8,.08),#fff 34%)}
.s4h-delivery-overview.is-on_track{border-left-color:#16a34a;background:linear-gradient(135deg,rgba(22,163,74,.07),#fff 34%)}
.s4h-finance-historical-baseline{margin-top:14px;padding:14px;border:1px solid rgba(15,23,42,.12);border-radius:16px;background:#fff}
@media(max-width:720px){.s4h-delivery-overview .s4h-package-summary{grid-template-columns:1fr 1fr}.s4h-finance-historical-baseline .s4h-os-assign{grid-template-columns:1fr}}


/* v1.20.72 — Universal Participant Finder: one canonical person search on every operational workspace. */
.s4h-universal-participant-finder{border:1px solid #bae6fd!important;background:linear-gradient(180deg,#f7fdff,#fff)!important}
.s4h-participant-finder-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:end;margin-top:10px}
.s4h-participant-finder-form label{display:grid;gap:5px;font-size:12px;font-weight:850;color:#334155}.s4h-participant-finder-form input{width:100%!important;min-height:44px!important;font-size:16px!important}
.s4h-participant-finder-results{display:grid;gap:10px;margin-top:12px}.s4h-participant-finder-card{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(260px,auto);gap:10px 16px;align-items:start;padding:14px;border:1px solid #dbe4ec;border-radius:15px;background:#fff}
.s4h-participant-finder-identity{min-width:0}.s4h-participant-finder-identity>span{font-size:10px;font-weight:950;letter-spacing:.08em;color:#0891b2}.s4h-participant-finder-identity h3{margin:3px 0 2px!important}.s4h-participant-finder-identity p,.s4h-participant-finder-identity small{display:block;margin:0;color:#64748b;overflow-wrap:anywhere}
.s4h-participant-finder-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0}.s4h-participant-finder-enrollments{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px}.s4h-participant-finder-enrollments>div{display:grid;gap:2px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}.s4h-participant-finder-enrollments strong{font-size:12px}.s4h-participant-finder-enrollments span,.s4h-participant-finder-enrollments small{font-size:10px;color:#64748b}
.s4h-participant-recommend-grace{grid-column:1/-1;border-top:1px dashed #cbd5e1;padding-top:8px}.s4h-participant-recommend-grace>summary{cursor:pointer;color:#0e7490;font-weight:900}.s4h-participant-recommend-grace form{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr) auto;gap:8px;align-items:end;margin-top:8px}.s4h-participant-recommend-grace label{display:grid;gap:4px;font-size:11px;font-weight:800}.s4h-participant-recommend-grace textarea,.s4h-participant-recommend-grace select{width:100%!important}
@media(max-width:760px){.s4h-participant-finder-form,.s4h-participant-finder-card{grid-template-columns:1fr}.s4h-participant-finder-actions{justify-content:flex-start}.s4h-participant-finder-actions>*{flex:1 1 auto;justify-content:center}.s4h-participant-recommend-grace form{grid-template-columns:1fr}.s4h-participant-finder-enrollments{grid-template-columns:1fr}}

/* v1.20.72 — HP-only UI refinement. Laptop/tablet layout intentionally unchanged. */
@media(max-width:600px){
  body.s4h-team-app-page .s4h-os-shell .s4h-os-top{min-height:52px!important;padding:7px 8px!important}
  body.s4h-team-app-page .s4h-os-shell .s4h-os-main{padding:7px 6px 22px!important}
  .s4h-os-shell .s4h-os-section,.s4h-os-shell .s4h-day-command,.s4h-os-shell .s4h-morning-board,.s4h-os-shell .s4h-daily-close,.s4h-os-shell .s4h-leader-close{padding:11px!important;border-radius:12px!important;margin-top:9px!important}
  .s4h-os-shell .s4h-os-section-head{gap:6px!important}.s4h-os-shell .s4h-os-section-head h2{font-size:1.05rem!important;line-height:1.15!important}.s4h-os-shell .s4h-os-section-head p{font-size:.72rem!important}
  .s4h-os-shell .s4h-os-mobile-menu-inline:not([hidden]){padding:7px 6px!important}.s4h-os-shell .s4h-nav-mobile-group{grid-template-columns:1fr 1fr!important;gap:5px!important}.s4h-os-shell .s4h-os-mobile-menu-inline a{min-height:38px!important;padding:8px!important;font-size:11px!important}
  .s4h-os-shell .s4h-universal-task-inbox .s4h-os-capacity-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.s4h-os-shell .s4h-universal-task-inbox .s4h-os-capacity-grid article{padding:9px 7px!important}.s4h-os-shell .s4h-universal-task-inbox .s4h-os-capacity-grid small{font-size:9px!important;line-height:1.1!important}.s4h-os-shell .s4h-universal-task-inbox .s4h-os-capacity-grid strong{font-size:1.25rem!important}
  .s4h-os-shell .s4h-os-task{padding:11px!important;gap:9px!important;border-radius:12px!important}.s4h-os-shell .s4h-os-task form,.s4h-os-shell .s4h-task-update-form{grid-template-columns:1fr!important}.s4h-os-shell .s4h-os-task form>*{min-width:0!important;width:100%!important}.s4h-os-shell .s4h-os-task .s4h-os-direct-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.s4h-os-shell .s4h-os-task .s4h-os-direct-actions>*{width:100%!important;justify-content:center!important;text-align:center!important}
  .s4h-workspace-group>summary{padding:11px 12px!important}.s4h-workspace-group-body{padding:3px 7px 10px!important}
  .s4h-participant-finder-card{padding:10px!important}.s4h-participant-finder-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.s4h-participant-finder-actions>*{width:100%!important;text-align:center!important}
}
@media(max-width:390px){.s4h-os-shell .s4h-nav-mobile-group{grid-template-columns:1fr!important}.s4h-os-shell .s4h-os-task .s4h-os-direct-actions,.s4h-participant-finder-actions{grid-template-columns:1fr!important}}

/* v1.20.73 — universal HP quick tabs. Laptop/tablet hierarchy intentionally unchanged. */
.s4h-mobile-quick-tabs{display:none!important}
@media(max-width:600px){
 body.s4h-team-app-page .s4h-mobile-quick-tabs{display:flex!important;position:sticky!important;top:calc(var(--s4h-admin-bar-offset,0px) + 52px)!important;z-index:9998!important;width:100%!important;max-width:100%!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px 7px!important;margin:0!important;border-bottom:1px solid #dbe4ec!important;background:rgba(255,255,255,.98)!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
 body.s4h-team-app-page .s4h-mobile-quick-tabs::-webkit-scrollbar{display:none!important}
 body.s4h-team-app-page .s4h-mobile-quick-tabs a{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:7px 10px!important;border:1px solid #e2e8f0!important;border-radius:999px!important;background:#fff!important;color:#334155!important;font-size:10px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important}
 body.s4h-team-app-page .s4h-mobile-quick-tabs a.active{background:#ecfeff!important;border-color:#67e8f9!important;color:#0e7490!important}
 .s4h-participant-recommend-grace form{grid-template-columns:1fr!important}
}

/* v1.20.79 — keep the universal session controls usable under legacy theme CSS. */
.s4h-os-shell .s4h-universal-session{display:grid!important}
.s4h-os-shell .s4h-workclock-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;width:100%!important}
.s4h-os-shell .s4h-workclock-actions form{grid-column:auto!important;width:100%!important;margin:0!important}
.s4h-os-shell .s4h-workclock-actions .s4h-review-checkout{grid-column:auto!important;width:auto!important;justify-self:stretch!important}
@media(max-width:520px){.s4h-os-shell .s4h-workclock-actions{grid-template-columns:1fr!important}.s4h-os-shell .s4h-workclock-actions .s4h-review-checkout{width:100%!important}}

/* v1.21.02 — structured Master Product Package + commercial add-ons. */
.s4h-package-basics label.wide{grid-column:1/-1}.s4h-package-basics label.wide>span{display:flex;align-items:flex-start;gap:8px}.s4h-package-basics label.wide input[type="checkbox"]{width:auto;margin-top:2px}
.s4h-package-commercial-builder{margin:18px 0;padding:16px;border:1px solid #b9e4ec;border-radius:20px;background:linear-gradient(180deg,#f4fdff 0%,#fff 48%)}
.s4h-package-commercial-rules{margin:0 0 12px;padding:11px 13px;border-left:4px solid #06b6d4;border-radius:10px;background:#ecfeff;color:#334155;font-size:12px;line-height:1.5}
.s4h-package-commercial-builder table small{display:block;margin-top:3px;color:#64748b}.s4h-package-commercial-add{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(220px,1fr) 90px;gap:10px;align-items:end;margin-top:12px;padding:12px;border:1px dashed #a5dbe5;border-radius:14px;background:#fff}.s4h-package-commercial-add label{display:grid;gap:5px;color:#334155;font-size:12px;font-weight:800}.s4h-package-commercial-add input,.s4h-package-commercial-add select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:11px;padding:10px 11px;background:#fff;font:inherit}.s4h-package-commercial-add .wide{grid-column:1/-1}.s4h-package-commercial-add .s4h-os-btn{justify-self:start}
@media(max-width:820px){.s4h-package-commercial-builder{padding:12px;border-radius:16px}.s4h-package-commercial-add{grid-template-columns:1fr}.s4h-package-commercial-add .wide{grid-column:auto}.s4h-package-commercial-add .s4h-os-btn{width:100%;justify-content:center}.s4h-package-commercial-builder .s4h-os-table-wrap{overflow:auto}}
.s4h-package-commercial-warning{margin:10px 0;padding:11px 13px;border:1px solid #fdba74;border-radius:12px;background:#fff7ed;color:#9a3412;font-size:12px;line-height:1.5}.s4h-package-commercial-warning strong{color:#7c2d12}

/* v1.21.03 — pricing guard fields stay within existing package grid. */
.s4h-package-basics input[name="closer_discount_max_pct"],.s4h-package-basics input[name="closer_surcharge_max_pct"]{max-width:100%}
