:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#eceef3;background:#090a0d;--gold:#eab94d;--dim:#a6aab4;--stroke:#2c3038}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 0%,#1a1914,#090a0d 40%);font-size:14px}button,input,select{font:inherit}button{background:linear-gradient(120deg,#f0c46a,#b9892e);color:#0e0b06;border:0;padding:10px 14px;border-radius:8px;font-weight:800;cursor:pointer}button:hover{filter:brightness(1.13)}button.secondary{background:#242831;color:#e9e9e9;border:1px solid #40454e}button.danger{background:transparent;color:#e99191;border:1px solid #a34848}input[type=text],select{background:#0f1116;color:white;border:1px solid #3c414b;border-radius:7px;padding:11px 12px;min-width:0;width:100%;outline:none}input:focus,select:focus{border-color:var(--gold)}input[type=checkbox]{accent-color:#eab94d;width:17px;height:17px;margin-right:7px}label{font-size:13px;color:#bfc0c7;display:flex;flex-direction:column;gap:7px}header.topbar{height:90px;border-bottom:1px solid #443823;display:flex;justify-content:space-between;align-items:center;padding:0 38px;background:#0b0c0f}.brand{display:flex;gap:18px;align-items:center}.brand img{width:60px;height:60px;object-fit:cover;border-radius:8px;border:1px solid #4b3d20}.brand div{display:flex;flex-direction:column;gap:5px}.brand-lead{font-size:25px;font-weight:1000;letter-spacing:2px;color:#f4d080}.brand-sub{font-size:11px;letter-spacing:2px;color:#afb2bc;font-weight:700}.status{font-size:13px;color:#b1bbc2;display:flex;align-items:center;gap:8px}.status-led{background:#8a6560;height:10px;width:10px;border-radius:100%}.status.online .status-led{background:#50cb94;box-shadow:0 0 12px #51d49d}.workspace{display:grid;grid-template-columns:minmax(600px,1fr) 360px;gap:23px;max-width:1800px;margin:auto;padding:32px}.left-area,.right-area{display:flex;flex-direction:column;gap:22px;min-width:0}.section-header{display:flex;justify-content:space-between;align-items:flex-end}.section-header h1{margin:4px 0 0;font-size:30px}.section-note{font-size:12px;color:#a7a7ad}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#eac166;font-weight:800}.monitor{position:relative;aspect-ratio:16/9;overflow:hidden;border:2px solid #b99141;border-radius:13px;background:#080809;box-shadow:0 10px 55px #000;max-width:100%}.monitor iframe{position:absolute;left:0;top:0;border:0;width:1920px;height:1080px;transform-origin:0 0;pointer-events:none}.monitor-label{position:absolute;bottom:12px;left:15px;font-size:10px;background:#09090bcb;padding:7px 9px;border:1px solid #8a6935;letter-spacing:2px;color:#efc979}.panel{background:linear-gradient(160deg,#171a20,#101216);border:1px solid var(--stroke);border-radius:12px;padding:21px 23px;box-shadow:0 10px 27px rgba(0,0,0,.2)}.panel h2{font-size:17px;font-weight:800;margin:0}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:9px}.pill{border:1px solid #515058;background:#22252b;font-size:10px;color:#bfc2cb;padding:6px 8px;border-radius:20px;font-weight:800;letter-spacing:1px;white-space:nowrap}.pill.gold{border-color:#926d28;background:#29210f;color:#edca78}.team-grid,.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.team-card{background:#0d1015;border:1px solid #31343a;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.team-card .eyebrow{margin-bottom:2px}.score-control{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.score-control button{width:54px;height:45px;font-size:28px;line-height:20px}.score-control span{font-weight:900;font-size:39px}.small-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;padding:22px 0}.small-controls>div>label{margin-bottom:11px}.stepper{display:flex;gap:5px;align-items:center;justify-content:space-between;background:#0c0e12;border:1px solid #333;border-radius:8px;padding:5px}.stepper button{height:32px;width:30px;padding:0;font-size:20px}.stepper strong{font-size:19px}.small-controls select{height:44px}.bases-control{display:flex;gap:25px;align-items:center;border-top:1px solid #333;border-bottom:1px solid #333;padding:17px 0;margin-bottom:18px;flex-wrap:wrap}.bases-control span{font-weight:800;color:#e5c16b}.bases-control label,.toggle{display:flex;align-items:center;flex-direction:row;gap:0;color:#ddd}.toggle{font-size:14px;font-weight:800}.split-grid>.panel{display:flex;flex-direction:column;gap:14px}.split-grid .panel-title{margin-bottom:3px}.inline-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.inline-inputs.three{grid-template-columns:repeat(3,1fr)}.panel-actions{display:flex;gap:12px;margin-top:7px}.panel-actions button{flex:1}.hint{color:#a4a7b1;font-size:13px;line-height:1.5;margin:4px 0}.lineup-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:17px 0}.links-panel .source-link{border-top:1px solid #30343a;padding:14px 0;display:flex;flex-direction:column;gap:7px}.source-link b{font-size:12px;color:#f0d38a}.source-link code{font-size:10px;color:#c0c3cd;overflow-wrap:anywhere}.source-link button{align-self:flex-start;background:#2d2a20;color:#ffdc8f;border:1px solid #6e5626;font-size:11px;padding:7px 11px}.callout{padding:14px;border-left:3px solid #ddae46;background:#262014;margin:15px 0}.callout p{font-size:12px;line-height:1.4;color:#bfc0c4;margin-bottom:0}.logos{display:flex;gap:14px;margin:20px 0}.logos img{width:calc(50% - 7px);height:auto;object-fit:contain;border:1px solid #444}.toast{position:fixed;bottom:20px;right:22px;z-index:5;background:#15271d;border:1px solid #53936c;color:#d6f8dc;padding:13px 18px;border-radius:9px;opacity:0;transition:opacity .2s;pointer-events:none}.toast.visible{opacity:1}@media(max-width:1160px){.workspace{grid-template-columns:1fr}.right-area{display:grid;grid-template-columns:1fr 1fr;align-items:start}.links-panel{grid-row:span 2}}@media(max-width:750px){header.topbar{padding:0 14px;height:74px}.brand img{width:44px;height:44px}.brand-lead{font-size:19px}.brand-sub{font-size:9px}.status{display:none}.workspace{padding:16px;grid-template-columns:1fr}.team-grid,.split-grid,.right-area{display:grid;grid-template-columns:1fr}.small-controls{grid-template-columns:repeat(3,1fr)}.lineup-inputs{grid-template-columns:1fr 1fr}.section-header{gap:10px}.section-note{display:none}.panel{padding:18px 13px}.bases-control{gap:12px}}
/* Panel web RADX LIVE: acceso protegido y estado de sincronización */
.top-notice{font:600 13px/1.5 Arial,sans-serif;text-align:center;padding:10px 15px;background:#30260f;color:#f3daa1;border-bottom:1px solid #5a4522}
.top-notice.cloud{background:#10261d;color:#94edba;border-color:#286044}
.top-notice.error{background:#3e1418;color:#ffe0e0;border-color:#8c3338}
.auth-gate{position:fixed;inset:0;z-index:40;background:rgba(4,5,8,.97);display:flex;justify-content:center;align-items:center;padding:20px}
.auth-gate[hidden]{display:none}
.auth-card{background:#15171d;border:1px solid #d3a347;border-radius:18px;max-width:470px;width:100%;padding:30px;box-shadow:0 25px 100px #000}
.auth-card img{width:76px;height:76px;object-fit:cover;margin-bottom:14px;border-radius:9px}
.auth-card h1{font-size:27px}.auth-card p{font-size:14px;line-height:1.6;color:#b6b9c2}
.auth-card form{display:flex;flex-direction:column;gap:14px}
.auth-card input[type=email],.auth-card input[type=password]{background:#0f1116;color:white;border:1px solid #3c414b;border-radius:7px;padding:12px 14px;width:100%;font-size:15px}
.auth-card button{padding:14px}
#login-feedback{color:#fbb7ae;min-height:20px}
