/* EXPO Live Operations overlay — additive, isolated from the legacy matchmaking UI */
:root { --xl-green:#004225; --xl-yellow:#f4c928; --xl-ink:#171a18; --xl-muted:#66706a; --xl-line:#d9e1dc; --xl-bg:#f5f7f5; --xl-white:#fff; --xl-red:#b72b2b; --xl-orange:#a85d00; }
#expoLiveBtn{min-height:44px;border:0;border-radius:999px;padding:0 .95rem;background:var(--xl-yellow);color:#171a18;font-weight:900;cursor:pointer;box-shadow:0 1px 0 rgba(0,0,0,.08)}
#expoLiveBtn:hover{filter:brightness(.98)}
#expoLiveRoot{position:fixed;inset:0;z-index:10050;background:var(--xl-bg);color:var(--xl-ink);display:none;font-family:inherit;overflow:hidden}
#expoLiveRoot.open{display:flex;flex-direction:column}
.xl-head{height:64px;display:flex;align-items:center;gap:.7rem;padding:0 16px;background:var(--xl-green);color:#fff;flex:0 0 auto;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.xl-head .xl-mark{width:34px;height:34px;border-radius:8px;background:#fff;object-fit:contain}
.xl-head-copy{min-width:0;flex:1}.xl-title{font-size:1.05rem;font-weight:900;line-height:1.1}.xl-sub{font-size:.72rem;opacity:.78;margin-top:2px}
.xl-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:transparent;color:#fff;font-size:1.5rem;cursor:pointer}
.xl-main{flex:1;min-height:0;overflow:auto;padding:14px 14px 92px}
.xl-bottom{position:absolute;left:0;right:0;bottom:0;height:70px;background:#fff;border-top:1px solid var(--xl-line);display:grid;grid-template-columns:repeat(3,1fr);z-index:3;padding-bottom:env(safe-area-inset-bottom)}
.xl-bottom button{border:0;background:#fff;font-weight:800;color:#69736d;font-size:.76rem;cursor:pointer}.xl-bottom button.on{color:var(--xl-green)}
.xl-bottom button span{display:block;font-size:1.2rem;margin-bottom:2px}
.xl-screen{display:none;max-width:1200px;margin:0 auto}.xl-screen.on{display:block}
.xl-kicker{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--xl-green);margin:2px 0 8px}
.xl-card{background:#fff;border:1px solid var(--xl-line);border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 3px 12px rgba(18,39,28,.05)}
.xl-next{border-top:5px solid var(--xl-green)}
.xl-row{display:flex;gap:10px;align-items:center}.xl-between{justify-content:space-between}.xl-grow{flex:1;min-width:0}
.xl-hall{display:inline-flex;align-items:center;justify-content:center;min-width:50px;height:34px;padding:0 10px;border-radius:9px;background:var(--xl-yellow);font-weight:950;color:#111;font-size:.9rem}.xl-stand{font-size:.8rem;font-weight:800;color:var(--xl-muted)}
.xl-name{font-size:1.45rem;font-weight:950;line-height:1.1;margin:8px 0 2px}.xl-company{font-size:.94rem;color:var(--xl-muted);font-weight:700}.xl-role{font-size:.82rem;color:var(--xl-muted);margin-top:2px}
.xl-why{margin:12px 0 0;line-height:1.45}.xl-quote{margin-top:10px;padding:10px 12px;background:#eef4f0;border-left:4px solid var(--xl-green);border-radius:8px;line-height:1.4;font-weight:650}
.xl-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.xl-actions button,.xl-btn{min-height:48px;border-radius:12px;border:1px solid var(--xl-line);background:#fff;font-weight:900;cursor:pointer}.xl-actions .primary,.xl-btn.primary{background:var(--xl-green);color:#fff;border-color:var(--xl-green)}.xl-actions .warn{background:#fff8e8;border-color:#e6c777;color:#7b5000}.xl-actions .dark{background:#232825;color:#fff;border-color:#232825}
.xl-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:.7rem;font-weight:850}.xl-status.green{background:#e7f5ec;color:#0f6c34}.xl-status.yellow{background:#fff5d7;color:#8a6200}.xl-status.grey{background:#ecefed;color:#67706a}.xl-dot{width:8px;height:8px;border-radius:50%;background:currentColor}
.xl-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.xl-score{background:#f4f6f4;border-radius:10px;padding:8px 5px;text-align:center}.xl-score b{display:block;font-size:1rem}.xl-score small{font-size:.62rem;color:var(--xl-muted);font-weight:800}
.xl-q{margin:12px 0 0;padding-left:1.2rem}.xl-q li{margin:7px 0;line-height:1.35}
.xl-section-title{font-size:1rem;font-weight:950;margin:18px 0 8px}.xl-toolbar{display:flex;gap:7px;overflow:auto;padding-bottom:5px}.xl-chip{min-height:40px;padding:0 12px;border-radius:999px;border:1px solid var(--xl-line);background:#fff;white-space:nowrap;font-weight:800;cursor:pointer}.xl-chip.on{background:var(--xl-green);color:#fff;border-color:var(--xl-green)}
.xl-route-stop{display:grid;grid-template-columns:60px 54px minmax(0,1fr) 26px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #e7ebe8}.xl-route-stop:last-child{border-bottom:0}.xl-time{font-size:.74rem;font-weight:850;color:var(--xl-green)}.xl-stop-copy{min-width:0}.xl-stop-name{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xl-stop-co{font-size:.72rem;color:var(--xl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xl-arrow{color:#9aa39e}
.xl-stop-state{font-size:.65rem;color:var(--xl-muted);margin-top:2px}.xl-retry{color:var(--xl-orange);font-weight:800}
.xl-search{width:100%;height:46px;border:1px solid var(--xl-line);border-radius:12px;padding:0 13px;font:inherit;background:#fff}.xl-company-card{padding:0;overflow:hidden}.xl-company-head{padding:13px 14px;background:#fff;border-bottom:1px solid var(--xl-line);display:flex;justify-content:space-between;gap:10px;align-items:center}.xl-company-name{font-size:1.05rem;font-weight:950}.xl-person{padding:12px 14px;border-bottom:1px solid #edf0ee}.xl-person:last-child{border-bottom:0}.xl-person-top{display:flex;gap:8px;align-items:flex-start}.xl-ranktag{font-size:.64rem;font-weight:950;border-radius:6px;padding:4px 6px;background:#eef3ef;color:var(--xl-green);white-space:nowrap}.xl-person-name{font-weight:900}.xl-person-role{font-size:.75rem;color:var(--xl-muted);margin-top:2px}.xl-person-reason{font-size:.8rem;line-height:1.35;margin-top:6px}.xl-person-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.xl-person-actions button{min-height:36px;border-radius:9px;border:1px solid var(--xl-line);background:#fff;font-weight:800;font-size:.72rem;padding:0 10px;cursor:pointer}
.xl-pipeline{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.xl-pipe{padding:5px 8px;border-radius:7px;background:#eef1ef;color:#4f5853;font-size:.7rem;font-weight:800}.xl-pipe.current{background:var(--xl-green);color:#fff}
.xl-logrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #e8ece9}.xl-logrow:last-child{border-bottom:0}.xl-logname{font-weight:900}.xl-logmeta{font-size:.74rem;color:var(--xl-muted);margin-top:2px}.xl-logstate{font-size:.69rem;font-weight:900;background:#eef2ef;border-radius:999px;padding:6px 8px;white-space:nowrap}
.xl-empty{padding:24px 12px;text-align:center;color:var(--xl-muted)}
.xl-modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.42);z-index:8;display:none;align-items:flex-end;justify-content:center}.xl-modal-bg.open{display:flex}.xl-modal{width:min(680px,100%);max-height:92%;overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:16px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -10px 35px rgba(0,0,0,.2)}.xl-modal h3{margin:0 0 4px}.xl-modal .sub{font-size:.78rem;color:var(--xl-muted);margin-bottom:12px}.xl-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.xl-field{display:flex;flex-direction:column;gap:4px}.xl-field.full{grid-column:1/-1}.xl-field label{font-size:.68rem;font-weight:900;color:#59635d}.xl-field input,.xl-field select,.xl-field textarea{border:1px solid var(--xl-line);border-radius:10px;padding:10px;font:inherit;background:#fff;min-height:42px}.xl-field textarea{min-height:84px;resize:vertical}.xl-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.xl-progress{height:7px;background:#e7ebe8;border-radius:999px;overflow:hidden;margin-top:8px}.xl-progress>i{display:block;height:100%;background:var(--xl-green);border-radius:999px}
.xl-insight{font-size:.8rem;line-height:1.4;color:#39413d}.xl-muted{color:var(--xl-muted)}
@media(min-width:900px){#expoLiveRoot.open .xl-main{padding:20px 24px 30px}.xl-bottom{position:static;order:-1;height:52px;grid-template-columns:repeat(3,160px);justify-content:center;border-top:0;border-bottom:1px solid var(--xl-line)}.xl-bottom button span{display:inline;font-size:1rem;margin-right:6px}.xl-live-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:14px;align-items:start}.xl-live-grid .xl-col .xl-card{margin-bottom:14px}.xl-main{padding-bottom:30px}.xl-modal-bg{align-items:center}.xl-modal{border-radius:18px;max-height:85%;}.xl-form{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.xl-name{font-size:1.3rem}.xl-scores{gap:5px}.xl-score{padding:7px 2px}.xl-route-stop{grid-template-columns:52px 46px minmax(0,1fr) 20px}.xl-form{grid-template-columns:1fr}.xl-field.full{grid-column:1}.xl-head{height:58px}.xl-main{padding-top:10px}.xl-actions button{min-height:50px}}
