/* Scoped to REBOBINA and its native modal; no changes to other portal games. */
#bench-dialog{width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #b5c5ce;border-radius:18px;background:#fff;color:#102029;box-shadow:0 24px 100px #10202950;overscroll-behavior:contain;font:16px/1.6 Montserrat,Arial,sans-serif}#bench-dialog::backdrop{background:#10202990;backdrop-filter:blur(3px)}#bench-dialog .bench-dialog-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid #d5dfe5;background:#fff;z-index:2}#bench-dialog .bench-dialog-top>strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em}#bench-dialog .bench-dialog-top button{font-size:13px;background:#edf1f3;color:#102029}#bench-dialog #stage{padding:24px}#bench-dialog #feedback:empty{display:none}#bench-dialog #feedback{margin:0 24px 24px}#bench-dialog h3{margin:0 0 14px;font:700 clamp(23px,4vw,29px)/1.25 Bricolage,Arial,sans-serif}#bench-dialog p{margin:10px 0 18px}#bench-dialog .primary{background:#f4b900;color:#102029;border-color:#d29b00}#bench-dialog button{min-height:48px;font-family:inherit;white-space:normal;text-align:left}#bench-dialog .options{display:grid;gap:10px}#bench-dialog .options button{background:#edf1f3;color:#102029;padding:14px}#bench-dialog .section-label{color:#526571;margin-bottom:10px}#bench-dialog .bench-test{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;width:100%;margin:10px 0;background:#f3f6f8;color:#102029;padding:14px 16px}#bench-dialog .bench-test span{display:block;flex-basis:100%;font-size:13px;font-weight:400;color:#526571}#bench-dialog .bench-object{display:flex;align-items:center;gap:18px;margin-bottom:20px}#bench-dialog .bench-object svg{width:52px;height:52px;flex-shrink:0;color:#1261a0}#bench-dialog .bench-object h3{margin:0}#bench-dialog .bench-test svg{width:28px;height:28px}#bench-dialog .bench-reading{display:block;font:750 clamp(30px,7vw,48px)/1.2 Bricolage,Arial,sans-serif;color:#1261a0;padding:20px 0}#bench-dialog .bench-condition{font-size:12px;color:#526571}#bench-dialog .takeaway{background:#fff1c5;color:#102029;border-color:#d29b00}#bench-dialog .next-actions{display:flex;gap:12px;flex-wrap:wrap}
#game-page .game{display:block;max-width:940px;margin:auto}#game-page .investigation{border:0;padding:0 24px 24px}#game-page .world{padding:22px}#game-page .mission-heading{max-width:940px;margin:auto}#game-page .scene-top #clock{display:none}#game-page .bench-progress{display:flex;gap:8px;list-style:none;padding:0;margin:20px 0 0;flex-wrap:wrap}#game-page .bench-progress li{font-size:12px;padding:6px 10px;border:1px solid #cbd6dd;border-radius:5px;color:#526571}#game-page .bench-progress .current{background:#ffedb3;border-color:#b17b00;color:#102029;font-weight:700}#game-page .bench-progress .done{background:#e0f1e9;color:#0f7859}#game-page .bench-status{display:flex;flex-direction:column;gap:5px;margin:8px 0 20px;color:#102029}#game-page .bench-status>span{font-size:14px;color:#526571}#game-page .bench-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}#game-page .bench-legacy{display:none!important}#game-page .bench-replay{margin:15px 0}#game-page .bench-evidence{margin:0;padding:16px;background:#f3f6f8;border:1px solid #cbd6dd;border-radius:8px}#game-page .bench-evidence summary{font-weight:650;cursor:pointer}#game-page .node .badge.bench-icon{background:transparent;width:38px;height:42px;flex-shrink:0;color:inherit}#game-page .bench-icon svg{width:100%;height:100%}#game-page .bench-circuit{font-size:10px;letter-spacing:.06em;font-weight:750;color:#1261a0}#game-page .node{border-width:2px;min-height:78px;text-align:left}#game-page .node.dead{opacity:1;background:#f9eee9;border-color:#cf8f74;color:#733c2b}#game-page .node.live{background:#edf7f0;border-color:#75a58e;color:#24543a}#game-page .node.board{background:#edf1f8;border-color:#8bacc6;color:#234962}#game-page .node.selected{outline:3px solid #f4b900;outline-offset:3px}#game-page .node .node-text{min-width:0}#game-page .node .reading{font-size:12px}#game-page #observation{font-size:13px}#home .bench-block{padding:18px 0;border-top:1px solid #cbd6dd}#home .bench-block>summary{font:700 23px/1.3 Bricolage,Arial,sans-serif;cursor:pointer;padding:10px 0}#home .bench-block .cards{margin-top:15px}.bench-review-details{margin-top:20px}.bench-review-details summary{cursor:pointer}
@media(max-width:600px){#bench-dialog{max-height:calc(100dvh - 16px);width:calc(100% - 16px);border-radius:14px}#bench-dialog #stage{padding:20px}#bench-dialog .bench-dialog-top{padding:10px 14px}#bench-dialog .bench-dialog-top>strong{max-width:90px}#game-page .world{padding:14px}#game-page .investigation{padding:0 14px 18px}#game-page .bench-actions button{flex:1}#game-page .node .badge.bench-icon{width:28px;height:34px}#game-page .node strong{font-size:12px}#game-page .node small{font-size:11px}#game-page .scene.diagram .node{gap:4px;padding:5px}#game-page .scene.diagram .badge.bench-icon{width:22px}#game-page .bench-progress{gap:4px}#game-page .bench-progress li{font-size:11px;padding:5px 7px}}
@media(prefers-reduced-motion:no-preference){#bench-dialog[open]{animation:bench-in .18s ease-out}@keyframes bench-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}

#bench-dialog .bench-facts{padding:12px 16px;background:#edf1f3;border-radius:8px;margin-bottom:24px}#bench-dialog .bench-facts summary{font-weight:650;cursor:pointer}#bench-dialog .bench-facts p,#bench-dialog .bench-success-facts p{font-size:13px;margin:8px 0}#bench-dialog .bench-success-facts{padding:16px;border:1px solid #cbd6dd;border-radius:8px;margin:18px 0}#home .bench-card-icon{display:block;width:38px;height:38px;color:#1261a0;margin-bottom:8px}#home .bench-card-icon svg{width:100%;height:100%}
