/* ScoutTract Hunting — Safety & hunt tools (hunt-safety.js). navy #1F2A44, copper #B87333, alert red #b42318 */
.hs-sheet{border:0;padding:0;border-radius:16px;width:min(480px,calc(100vw - 16px));max-height:calc(100dvh - 16px);box-shadow:0 12px 48px rgba(15,23,42,.45);color:#1F2A44;font:15px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:auto}
.hs-sheet::backdrop{background:rgba(15,23,42,.5)}
.hs-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#1F2A44;color:#fff;padding:10px 14px;border-bottom:3px solid #B87333}
.hs-head h3{margin:0;font-size:18px}
.hs-x{border:0;background:transparent;color:inherit;font-size:18px;min-width:40px;min-height:40px;cursor:pointer}
.hs-tabs{position:sticky;top:61px;z-index:1;display:flex;background:#f4f1ec;border-bottom:1px solid #e4e7ec;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.hs-tabs::-webkit-scrollbar{display:none}
.hs-tabs button{flex:1 0 auto;padding:0 10px;white-space:nowrap;min-height:44px;border:0;background:transparent;font-weight:700;color:#475467;font-size:14px;cursor:pointer;border-bottom:3px solid transparent}
.hs-tabs button[aria-selected=true]{color:#1F2A44;border-bottom-color:#B87333}
.hs-body{padding:12px 14px 18px;display:flex;flex-direction:column;gap:10px}
.hs-body h4{margin:8px 0 0;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#B87333}
.hs-muted{color:#667085;font-size:13px;margin:0}
.hs-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hs-btn{min-height:42px;padding:6px 14px;border-radius:10px;border:0;background:#B87333;color:#fff;font-weight:800;font-size:14px;cursor:pointer;touch-action:manipulation}
.hs-btn.sec{background:#fff;color:#1F2A44;border:2px solid #c9d1de}
.hs-btn.danger{background:#b42318}
.hs-btn.sm{min-height:36px;padding:4px 10px;font-size:13px}
.hs-btn.big{min-height:54px;font-size:17px;width:100%}
.hs-link{border:0;background:transparent;color:#B87333;text-decoration:underline;font-size:14px;cursor:pointer;padding:6px 0;text-align:left}
.hs-tag{display:inline-block;font-size:11px;font-weight:800;background:#fff3e6;color:#9a5b22;border:1px solid #e8c7a6;border-radius:6px;padding:0 5px;vertical-align:1px}
.hs-sw{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid #e4e7ec;border-radius:12px;overflow:hidden}
.hs-sw li+li{border-top:1px solid #eef0f3}
.hs-sw label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;cursor:pointer;position:relative}
.hs-sw label>span{display:flex;flex-direction:column;gap:2px}
.hs-sw small{color:#667085;font-size:12.5px}
.hs-sw input{position:absolute;opacity:0;width:1px;height:1px}
.hs-sw i{flex:none;width:48px;height:28px;border-radius:14px;background:#c9d1de;position:relative;transition:background .15s}
.hs-sw i::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .15s}
.hs-sw input:checked+i{background:#B87333}
.hs-sw input:checked+i::after{left:23px}
.hs-sw input:focus-visible+i{outline:3px solid #1F2A44;outline-offset:2px}
.hs-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.hs-list li{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #e4e7ec;border-radius:10px;padding:8px 10px}
.hs-list li.occ{border-color:#e8c7a6;background:#fff8f1}
.hs-list li>div{display:flex;flex-direction:column;min-width:0}
.hs-list small{color:#667085;font-size:12.5px}
.hs-list li>span{display:flex;gap:6px;flex:none}
.hs-form{display:flex;flex-direction:column;gap:10px}
.hs-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}
.hs-form input:not([type=checkbox]):not([type=range]),.hs-form select,.hs-form textarea{font:inherit;font-size:16px;min-height:42px;border:1px solid #c9d1de;border-radius:8px;padding:4px 10px;background:#fff;color:#1F2A44}
.hs-form input[type=range]{accent-color:#B87333;width:100%;min-height:32px}
.hs-form label.hs-chk,.hs-chk{flex-direction:row;align-items:center;gap:8px;font-weight:500;font-size:14px}
.hs-chk input{width:20px;height:20px;accent-color:#B87333}
.hs-ns{display:grid;grid-template-columns:1fr 80px 80px 36px;gap:6px;align-items:end}
.hs-ns input{min-width:0}
.hs-ns .hs-x{color:#b42318}
.hs-contact{border:1px solid #e4e7ec;border-radius:12px;padding:8px 12px 12px;display:flex;flex-direction:column;gap:8px}
.hs-contact legend{font-weight:800;font-size:13px;padding:0 4px}
.hs-ci{background:#1F2A44;color:#fff;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:4px}
.hs-ci.od{background:#b42318}
.hs-ci-t{font-size:18px}
.hs-ci-t b{font-size:26px}
.hs-ci small{color:#e4e7ec}
.hs-safe{width:100%;min-height:60px;border:0;border-radius:12px;background:#12805c;color:#fff;font-weight:900;font-size:20px;cursor:pointer}
.hs-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.hs-steps li.done{color:#b42318}
.hs-launch{margin:0 0 12px;display:flex;flex-direction:column;gap:8px}
.hs-board h4{margin:4px 0 6px}
.hs-chip{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 62px);z-index:40;border:2px solid #B87333;background:#1F2A44;color:#fff;font-weight:800;font-size:14px;border-radius:20px;padding:6px 14px;box-shadow:0 3px 12px rgba(15,23,42,.35);cursor:pointer}
.hs-chip.od{background:#b42318;border-color:#fff;animation:hsPulse 1.2s infinite}
body.dm-land .hs-chip:not(.crash){display:none}
.hs-banners{position:fixed;left:8px;right:8px;top:calc(env(safe-area-inset-top,0px) + 8px);z-index:1000;display:flex;flex-direction:column;gap:6px;pointer-events:none;max-width:520px;margin:0 auto}
.hs-banner{pointer-events:auto;display:flex;flex-direction:column;gap:8px;border-radius:12px;padding:10px 12px;color:#fff;background:#1F2A44;box-shadow:0 6px 24px rgba(15,23,42,.45);font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.hs-banner.warn{background:#9a5b22;border:2px solid #f3d9c4}
.hs-banner.bad{background:#b42318}
.hs-banner.ok{background:#12805c}
.hs-bt{display:flex;flex-direction:column;gap:2px}
.hs-bt b{font-size:16px}
.hs-ba{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.hs-ba .hs-btn{background:#fff;color:#1F2A44}
.hs-ba .hs-btn.sec{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.hs-ba .hs-x{margin-left:auto}
.hs-pop{display:flex;flex-direction:column;gap:3px;font:13px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1F2A44}
.hs-pop small{color:#475467}
.hs-pop .hs-row{margin-top:4px}
@keyframes hsPulse{0%,100%{box-shadow:0 0 0 0 rgba(180,35,24,.7)}50%{box-shadow:0 0 0 12px rgba(180,35,24,0)}}
/* check-out modes, board status */
.hs-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hs-seg label{display:block;cursor:pointer}
.hs-seg input{position:absolute;opacity:0;pointer-events:none}
.hs-seg span{display:block;border:2px solid #d5d9e2;border-radius:12px;padding:10px;background:#fff}
.hs-seg span small{display:block;color:#5b6475;font-size:12px}
.hs-seg input:checked+span{border-color:#B87333;background:#fbf3ec}
.hs-seg input:focus-visible+span,.hs-pill input:focus-visible+span{outline:3px solid #1F2A44}
.hs-ivs{flex-wrap:wrap}
.hs-pill input{position:absolute;opacity:0;pointer-events:none}
.hs-pill span{display:inline-block;min-width:52px;text-align:center;border:2px solid #d5d9e2;border-radius:999px;padding:8px 12px;font-weight:600;background:#fff}
.hs-pill input:checked+span{border-color:#1F2A44;background:#1F2A44;color:#fff}
.hs-ci-k{font-size:12px;color:#5b6475;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px}
.hs-ecline{display:flex;justify-content:space-between;gap:8px;align-items:center}
.hs-ecnone{background:#fff6e6;border:1px solid #f0c98a;border-radius:10px;padding:8px}
.hs-ecnone small{display:block;margin:2px 0 6px}
.hs-tag{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:#e8ecf3;color:#1F2A44}
.hs-tag.overdue{background:#c62828;color:#fff}
.hs-tag.back{background:#2e7d32;color:#fff}
.hs-cis li.overdue{border-left:4px solid #c62828}
.hs-ci .hs-ci-k{color:rgba(255,255,255,.8)}
.hs-cust[hidden]{display:none!important}
.hs-ecpend{margin:6px 0;padding:6px 8px;border-radius:8px;background:#fdf0e1;color:#1F2A44}.hs-ecpend small{display:block;margin-top:2px}
