/* OUTLAW HEALTH SITE REPAIR CSS 2026-10-23 */
:root{--oh-ems-ink:#07111a;--oh-ems-panel:#0d1e2a;--oh-ems-line:#24485a;--oh-ems-cyan:#45c9eb;--oh-ems-red:#ef3652;}
/* Header and navigation: fit desktop widths and wrap intentionally on smaller screens. */
header.nav{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding-inline:clamp(12px,3vw,40px);gap:clamp(8px,1.1vw,18px);}
header.nav>.brand{flex:0 1 260px;min-width:0;}
header.nav>nav{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;gap:clamp(6px,.9vw,15px);overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;}
header.nav>nav::-webkit-scrollbar{display:none;}
header.nav>nav>a{flex:0 0 auto;white-space:nowrap;}
header.nav .nav-actions{flex:0 0 auto;min-width:0;display:flex;align-items:center;gap:6px;}
@media(max-width:1120px){header.nav{flex-wrap:wrap;row-gap:8px;}header.nav>.brand{flex:1 1 220px;}header.nav .nav-actions{margin-inline-start:auto;}header.nav>nav{order:4;flex:1 0 100%;justify-content:flex-start;}}
@media(max-width:680px){header.nav .nav-actions{max-width:100%;flex-wrap:wrap;}header.nav>nav{gap:12px;}header.nav>nav>a{font-size:11px;}}
/* The actual leaderboard renderer uses .elite-* classes (not .oh-elite-*). */
#ohLbResult{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
#ohLbResult .elite-shell{display:grid!important;gap:20px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:18px auto 0!important;color:#eff6fa!important;box-sizing:border-box!important;}
#ohLbResult .elite-intro{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 8px!important;}
#ohLbResult .elite-kicker{color:#62dbe9!important;font-size:10px!important;letter-spacing:2px!important;font-weight:800!important;}
#ohLbResult .elite-heading{font-size:clamp(20px,3vw,30px)!important;margin:0!important;font-weight:900!important;}
#ohLbResult .elite-podium-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important;width:100%!important;min-width:0!important;margin:0!important;}
#ohLbResult .elite-podium{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:220px!important;margin:0!important;padding:22px 14px!important;box-sizing:border-box!important;text-align:center!important;overflow-wrap:anywhere!important;border:1px solid #385267!important;border-radius:14px!important;background:linear-gradient(160deg,#142737,#0a1723)!important;}
#ohLbResult .elite-place-1{border:2px solid #d5aa48!important;background:linear-gradient(160deg,#30291d,#111c26)!important;}
#ohLbResult .elite-place-2{border-color:#aabac8!important;}
#ohLbResult .elite-place-3{border-color:#bd866c!important;}
#ohLbResult .elite-medal{font-size:28px!important;line-height:1.2!important;}
#ohLbResult .elite-place-label{font-weight:900!important;font-size:16px!important;}
#ohLbResult .elite-avatar{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:48px!important;height:48px!important;border-radius:50%!important;overflow:hidden!important;font-size:15px!important;font-weight:900!important;}
#ohLbResult .elite-name{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;font-size:13px!important;font-weight:800!important;overflow-wrap:anywhere!important;}
#ohLbResult .elite-number{font-size:clamp(22px,2.5vw,30px)!important;line-height:1.2!important;font-weight:900!important;color:#6ce1ed!important;font-variant-numeric:tabular-nums!important;}
#ohLbResult .elite-unit{font-size:11px!important;color:#a4bbc9!important;}
#ohLbResult .elite-personal{display:block!important;width:100%!important;min-width:0!important;margin:18px 0!important;padding:20px!important;box-sizing:border-box!important;border:1px solid #55cde1!important;border-radius:12px!important;background:linear-gradient(100deg,#143445,#0b1d2b)!important;}
#ohLbResult .elite-personal-heading{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;font-weight:900!important;font-size:13px!important;margin-bottom:10px!important;}
#ohLbResult .elite-personal-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-top:12px!important;}
#ohLbResult .elite-personal-stats>div{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;padding:12px!important;border:1px solid #ffffff18!important;border-radius:8px!important;overflow-wrap:anywhere!important;}
#ohLbResult .elite-personal-stats small{color:#a8bfcc!important;}
#ohLbResult .elite-personal-stats strong{font-size:clamp(22px,3vw,32px)!important;color:#75e4ef!important;font-variant-numeric:tabular-nums!important;}
#ohLbResult .elite-list-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:12px!important;}
#ohLbResult .elite-list{display:grid!important;gap:8px!important;width:100%!important;min-width:0!important;}
#ohLbResult .elite-row{display:grid!important;grid-template-columns:54px minmax(0,1fr) minmax(120px,auto)!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;padding:13px 15px!important;box-sizing:border-box!important;border:1px solid #345469!important;border-radius:8px!important;background:#112431!important;}
#ohLbResult .elite-rank{color:#9eb6c4!important;min-width:0!important;}
#ohLbResult .elite-row-name{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;font-size:13px!important;font-weight:700!important;overflow-wrap:anywhere!important;}
#ohLbResult .elite-row-count{color:#69d9e9!important;font-size:13px!important;text-align:end!important;font-variant-numeric:tabular-nums!important;overflow-wrap:anywhere!important;}
#ohLbResult .elite-toggle{display:block!important;width:max-content!important;max-width:100%!important;margin:8px auto!important;padding:11px 24px!important;border:1px solid #4ec9df!important;background:#123243!important;color:#9aebf3!important;border-radius:7px!important;font-weight:800!important;cursor:pointer!important;}
#ohLbResult .oh-achievement-badge{max-width:100%!important;}
@media(max-width:900px){#ohLbResult .elite-podium-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}}
@media(max-width:580px){#ohLbResult .elite-podium-grid{grid-template-columns:minmax(0,1fr)!important;}#ohLbResult .elite-podium{min-height:180px!important;padding:18px 12px!important;}#ohLbResult .elite-row{grid-template-columns:35px minmax(0,1fr)!important;gap:8px!important;padding:12px 9px!important;}#ohLbResult .elite-row-count{grid-column:2!important;text-align:start!important;}#ohLbResult .elite-personal-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
/* Recruitment controls are labels/actions, not state banners. */
#adminContent button[data-recruit="open"]{background:#174d40!important;border-color:#328768!important;color:#78e0b2!important;}
#adminContent button[data-recruit="close"]{background:#5a2633!important;border-color:#b9364d!important;color:#ff8595!important;}
#adminContent button[data-recruit]:disabled{opacity:.45!important;cursor:not-allowed!important;filter:saturate(.5)!important;}
#recruitmentFeedback{min-height:1em;overflow-wrap:anywhere;}
/* Short, authoritative booking state inside the Psychiatric appointment card. */
#psychiatric #psyAvailability.psy-booking-status{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-height:42px!important;box-sizing:border-box!important;margin:0 0 16px!important;padding:10px 14px!important;border:1px solid #b9364d!important;border-radius:7px!important;background:rgba(239,54,82,.09)!important;color:#ff6578!important;font:800 12px/1.4 system-ui,sans-serif!important;letter-spacing:.04em!important;}
#psychiatric #psyAvailability.psy-booking-status[hidden]{display:none!important;}
#psychiatric #psyAvailability.psy-booking-status::before{content:"";display:inline-block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#ff526b;box-shadow:0 0 9px #ff526b55;margin-inline-end:8px;}
#psychiatric #psyAvailability.psy-booking-status[data-state="open"]{border-color:#328768!important;background:rgba(37,155,105,.09)!important;color:#72e0b0!important;}
#psychiatric #psyAvailability.psy-booking-status[data-state="open"]::before{background:#62dda8;box-shadow:0 0 9px #62dda855;}
#psychiatric #psyAvailability.psy-booking-status[data-state="closed"]{border-color:#b9364d!important;background:rgba(239,54,82,.09)!important;color:#ff6578!important;}
#psychiatric #psyAvailability.psy-booking-status[data-state="closed"]::before{background:#ff526b;}
#psychiatric #psyForm button:disabled{opacity:.55;cursor:not-allowed;}
.oh-footer-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;color:#91a9b7;font-size:12px;}
.oh-footer-legal a{color:#91ddeb;text-decoration:none;border-bottom:1px solid #2a6071;padding-bottom:2px;}
.oh-footer-legal a:hover{color:#fff;border-color:#ef3652;}
@media(prefers-reduced-motion:reduce){#ohLbResult .elite-podium,#ohLbResult .elite-row{transition:none!important;transform:none!important;}}

#psychiatric #psyAvailability.psy-booking-status[data-state="checking"]{border-color:#9b7a37!important;background:rgba(180,140,55,.10)!important;color:#f1d28b!important;}
#psychiatric #psyAvailability.psy-booking-status[data-state="checking"]::before{background:#f1d28b!important;box-shadow:0 0 9px #f1d28b55!important;}
