.robot-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;border:1px solid #b88d37;border-radius:5px;background:#fcf5df;color:#64470f;font-size:9px;font-weight:800;line-height:1.4;letter-spacing:.06em;padding:1px 5px;white-space:nowrap}
.robot-page .page-heading{gap:16px}.robot-scope{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e5e8e3;border-radius:14px;padding:18px 22px;margin-bottom:18px}.robot-scope label{margin:0;min-width:240px}.robot-scope label strong{display:block;margin-top:8px;color:#113d32}.robot-scope>div{display:flex;gap:8px;align-items:center;font-size:12px;color:#65756d}
.robot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.robot-stats>div{padding:20px 22px;border-radius:14px;background:#fff;border:1px solid #e3e8e2;display:flex;flex-direction:column;gap:8px}.robot-stats>div:first-child{background:#103e31;border-color:#103e31;color:#fff}.robot-stats span{font-size:12px;font-weight:600;opacity:.8}.robot-stats strong{font-size:30px;line-height:1.15;overflow-wrap:anywhere}.robot-stats strong small{font-size:13px}.robot-stats small{font-size:11px;opacity:.75}
.robot-note{display:flex;align-items:flex-start;gap:12px;padding:14px 18px;background:#f5f0e3;border:1px solid #e8debf;border-radius:12px;margin-bottom:24px}.robot-note p{margin:0;line-height:1.6;font-size:12px;color:#5e573e}.robot-note .icon{flex:0 0 21px;margin-top:2px;color:#8c6c26}
.robot-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:16px;border-bottom:1px solid #dce3dd;padding-bottom:10px}.robot-tabs button{font:inherit;font-size:13px;font-weight:650;border:0;background:transparent;color:#62766b;padding:11px 16px;white-space:nowrap;cursor:pointer;border-radius:9px}.robot-tabs button.active{background:#153e31;color:#fff}.robot-tabs button:focus-visible{outline:2px solid #b68c3e;outline-offset:2px}.robot-panel{overflow:hidden}.robot-panel .panel-header{gap:14px;flex-wrap:wrap}.robot-search{display:flex;gap:10px;padding:0 22px 18px;max-width:540px}.robot-search input{min-width:0;flex:1}.robot-search button{flex-shrink:0}.robot-table{min-width:860px}.robot-table .tenant-actions{min-width:170px}.robot-table td:first-child{min-width:195px}.robot-table .person strong{line-height:1.6}.robot-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:4px 22px 24px}.robot-profile{border:1px solid #e0e6de;border-radius:13px;padding:22px;background:#fbfcfa}.robot-profile h3{font-size:22px;margin:10px 0 12px;overflow-wrap:anywhere}.robot-profile .eyebrow{font-size:9px}.robot-profile dl{margin:20px 0 14px}.robot-profile dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:12px 0}.robot-profile dt{color:#627165}.robot-profile dd{margin:0;font-weight:700;white-space:nowrap}.robot-profile p{font-size:12px;line-height:1.6;color:#657268;min-height:55px}.robot-profile .tenant-actions{margin-top:18px}.robot-form-error{color:#9f352f;font-size:13px;margin-bottom:0}.robot-total{font-weight:700;color:#194335}.robot-picker{border:1px solid #d9e3d9;border-radius:11px;margin:18px 0;padding:16px;min-width:0}.robot-picker legend{padding:0 8px;font-weight:700;font-size:13px;color:#1e4838}.robot-picker-search{display:flex;gap:10px}.robot-picker-search input{min-width:0;flex:1}.robot-picked{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;max-height:115px;overflow:auto}.robot-picked>span{font-size:11px;color:#6b756c;align-self:center;padding-right:5px}.robot-chip{border:1px solid #c6d7c8;background:#e9f1e9;border-radius:30px;padding:4px 8px;font:inherit;font-size:11px;color:#204633;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.robot-picker-list{max-height:230px;overflow:auto;border:1px solid #e4e9e1;border-radius:8px}.robot-choice{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:10px 12px;border-bottom:1px solid #edf0e8;cursor:pointer}.robot-choice:last-child{border:0}.robot-choice input{width:18px!important;height:18px;flex:0 0 18px}.robot-choice strong{display:block;font-size:12px;overflow-wrap:anywhere}.robot-choice small{display:block;font-size:10px;color:#727d72;margin-top:4px}.robot-picker-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.robot-picker-pages>span{font-size:11px;color:#768170}.robot-picker-pages>div{display:flex;gap:6px}.robot-specific-pool[hidden]{display:none}.uat-note{margin-bottom:16px;font-size:12px}.uat-note strong{color:inherit}.robot-page .sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.phone-game-landscape .robot-badge{font-size:7px;padding:0 3px;margin-left:2px}.phone-game-landscape .player-position strong{line-height:1.2}
@media(max-width:1100px){.robot-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.robot-stats>div{padding:16px}.robot-stats strong{font-size:25px}.robot-scope>div{max-width:210px}}
@media(max-width:700px){.robot-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.robot-scope{display:block;padding:16px}.robot-scope label{min-width:0}.robot-scope>div{max-width:none;margin-top:12px}.robot-note{padding:13px}.robot-tabs button{padding:10px;font-size:12px}.robot-profile-grid{grid-template-columns:1fr;padding:0 15px 18px}.robot-search{padding:0 15px 16px}.robot-panel .panel-header{padding:17px 15px}.robot-picker{padding:10px}.robot-picker-pages{flex-wrap:wrap}.robot-picker-search{gap:7px}.robot-picker-search .btn{padding:9px}.robot-scope select{max-width:100%}.robot-page .pagination{gap:10px;flex-wrap:wrap}.robot-page .page-heading h1{font-size:27px}.robot-profile p{min-height:0}.robot-note .icon{display:none}.uat-note{font-size:11px}}

/* Keep BOT visible even when a long name is ellipsized on a small phone. */
.player-position>div{min-width:0}.player-position strong:has(.player-name){display:flex;align-items:center;justify-content:center;overflow:visible}.player-position .player-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-position strong .robot-badge,.player-position strong em{flex:none}.phone-game-landscape .player-position>div{flex:1}.phone-game-landscape .player-position strong:has(.player-name){justify-content:flex-start}

/* Automatic UAT tables V2 */
.robot-autotables{margin:18px 0;padding-bottom:16px}.robot-autotables>.help{padding:0 22px;line-height:1.6}
.robot-auto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 22px 16px}
.robot-auto-grid article{border:1px solid var(--line,#dce3d8);border-radius:12px;padding:18px;display:grid;gap:8px;background:var(--surface,#f9faf5)}
.robot-auto-grid article>strong{font-size:20px;color:#174d3c}.robot-auto-grid .btn{justify-self:start}
.robot-worker-panel{padding:18px 22px;margin:18px 0}.robot-worker-panel summary{font-weight:700;cursor:pointer}.robot-worker-panel p{line-height:1.6;margin-top:14px}.robot-worker-panel code{overflow-wrap:anywhere}.robot-worker-panel input{font-family:monospace;font-size:12px;max-width:100%}
.robot-wait-notice{display:block;margin:8px 0 16px;line-height:1.5}.robot-wait-notice strong{display:block}.robot-wait-notice .btn{margin-top:8px}
@media(max-width:650px){.robot-auto-grid{grid-template-columns:1fr;padding:0 14px 14px}.robot-autotables .panel-header{flex-wrap:wrap;gap:10px}.robot-worker-panel{padding:14px}.robot-autotables>.help{padding:0 14px}.robot-wait-notice{font-size:12px}}
