/* Challenge-page entry; the laboratory rules below are scoped to its own page. */
.hybrid-challenge-entry{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:24px 0;padding:20px;border:1px solid #435469;border-radius:10px;background:#151e29;color:#dce5ee}
.hybrid-challenge-entry>div{min-width:0}.hybrid-challenge-entry>div>span{color:#e4b64c;font-size:10px;font-weight:800;letter-spacing:.12em}.hybrid-challenge-entry h2{margin:7px 0!important;padding:0!important;border:0!important;font-size:18px!important;color:#edf2f7!important}.hybrid-challenge-entry p{margin:0;font-size:12px;line-height:1.7;color:#b7c4d2!important}.hybrid-challenge-entry .button{flex-shrink:0;white-space:nowrap;padding:11px 15px;border:1px solid #dbaa40!important;border-radius:6px;background:#e4b64c!important;color:#17202d!important;letter-spacing:0;font-size:12px}
/* Match the Relay Vault canvas in either global site theme. */
body.ctf-page.hybrid-rev-page,body.ctf-page.hybrid-rev-page main{background:#101720!important;color:#d6dfe8!important}
body.ctf-page.hybrid-rev-page main{width:100%;max-width:1280px;min-height:calc(100vh - 150px);margin:0 auto;padding:28px 24px 72px}
.hybrid-shell{--hr-border:#34435b;--hr-panel:#111b2b;max-width:1220px;margin:0 auto;color:#d6dfe8;color-scheme:dark;font-size:13px;line-height:1.65}
.hybrid-shell *{box-sizing:border-box}.hybrid-shell :is(section,article,header){margin:0}.hybrid-shell a{color:#a8d4ff}.hybrid-shell .eyebrow{margin:0 0 6px;color:#e4b64c!important;font-size:10px;font-weight:800;line-height:1.5;letter-spacing:.13em}
.hybrid-back-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.hybrid-back{display:inline-flex;align-items:center;gap:10px;font-size:12px}.hybrid-back>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #435469;border-radius:5px}.hybrid-back-meta{color:#9cabc2;font-size:11px;white-space:nowrap}
body.ctf-page.hybrid-rev-page header.hybrid-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 30px;border:1px solid var(--hr-border)!important;border-radius:12px;background:#151e29!important;color:#edf2f7!important}
.hybrid-hero>div:first-child{min-width:0}.hybrid-shell .hybrid-hero h1{margin:2px 0 12px;color:#edf2f7!important;font-size:clamp(30px,3.5vw,44px);line-height:1.15;letter-spacing:-.025em}.hybrid-shell .hybrid-hero p:not(.eyebrow){max-width:680px;margin:0;color:#b7c4d2!important;font-size:13px;line-height:1.7}
.hybrid-download{display:flex;flex:0 0 auto;max-width:280px;flex-direction:column;gap:8px;align-items:stretch}.hybrid-download>span{max-width:280px;color:#91a8c3;font:10px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;text-align:center}
.hybrid-shell :is(button,.button){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;max-width:100%;margin:0;padding:10px 15px;border:1px solid #e4b64c;border-radius:6px;background:#e4b64c;color:#17202d;font:700 12px/1.4 Arial,sans-serif;letter-spacing:0;text-decoration:none;white-space:normal;cursor:pointer}
.hybrid-shell :is(button,.button):hover{background:#f0c663;border-color:#f0c663}.hybrid-shell .hybrid-secondary{background:#26354b;border-color:#556b87;color:#edf2f7}.hybrid-shell .hybrid-secondary:hover{background:#34506d;border-color:#6f8ba9}.hybrid-shell button:disabled{opacity:.5;cursor:wait}.hybrid-shell :is(button,a,input,textarea,summary):focus-visible{outline:2px solid #9ed0fa;outline-offset:3px}
.hybrid-shell .hybrid-session{margin-top:18px;padding:20px 24px;border:1px solid var(--hr-border);border-radius:10px;background:var(--hr-panel)}.hybrid-session-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.hybrid-session-heading strong{display:block;color:#edf2f7;font-size:15px;font-weight:700;text-transform:capitalize}.hybrid-session-actions{display:flex;flex-wrap:wrap;gap:9px}
.hybrid-status{display:grid;grid-template-columns:1fr 1.7fr 1fr;gap:16px;margin:18px 0;padding:16px 0;border-top:1px solid #2c3c51;border-bottom:1px solid #2c3c51}.hybrid-status>div{min-width:0;color:#8fa4bd;font-size:9px;font-weight:700;letter-spacing:.1em}.hybrid-status strong{display:block;margin-top:5px;color:#e5eef9;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:0;font-variant-numeric:tabular-nums}
.hybrid-nonces{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hybrid-nonces>div{display:flex;flex-direction:column;gap:5px;min-width:0}.hybrid-nonces span{color:#8fa4bd;font-size:9px;font-weight:700;letter-spacing:.1em}.hybrid-nonces code{color:#c4d8ee;font:12px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.hybrid-workspace{display:grid;grid-template-columns:minmax(310px,.92fr) minmax(0,1.08fr);align-items:stretch;gap:18px;margin:18px 0}.hybrid-shell .hybrid-panel,.hybrid-shell .hybrid-verdict{min-width:0;padding:24px;border:1px solid var(--hr-border);border-radius:10px;background:var(--hr-panel);box-shadow:0 10px 26px #00000014}
.hybrid-shell :is(.hybrid-panel,.hybrid-verdict) .eyebrow{margin:0 0 6px;font-size:10px;line-height:1.5}
.hybrid-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.hybrid-shell :is(.hybrid-panel,.hybrid-verdict) h2{margin:0;padding:0;border:0;color:#edf2f7!important;font-size:21px;line-height:1.35;letter-spacing:-.02em}.hybrid-shell :is(.hybrid-panel,.hybrid-verdict) p{margin:0 0 18px;color:#b7c4d2!important;font-size:12px;line-height:1.8}
.hybrid-console{display:flex;flex-direction:column}.hybrid-console #hr-contract{min-height:65px}.hybrid-console #hr-command-form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.hybrid-shell form label{display:block;margin:0 0 8px;color:#c4d4e7;font-size:11px;font-weight:700;line-height:1.6}
.hybrid-shell :is(textarea,input){display:block;width:100%;min-width:0;margin:0;padding:13px;border:1px solid #475e78;border-radius:6px;background:#0b1422!important;color:#e8f3ff!important;font:12px/1.75 ui-monospace,Consolas,monospace}.hybrid-shell input::placeholder{color:#7e95af;opacity:1}.hybrid-console textarea{min-height:198px;flex:1;resize:vertical}.hybrid-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.hybrid-form-actions>span{max-width:170px;color:#8299b2;font-size:10px;line-height:1.6}.hybrid-form-actions button{flex-shrink:0}
.hybrid-shell .hybrid-limit{margin:18px 0 0;padding-top:15px;border-top:1px solid #2c3c51;color:#8fa4bd!important;font-size:10px;line-height:1.8}
.hybrid-monitor{display:flex;flex-direction:column}.hybrid-monitor-label{flex-shrink:0;margin-top:2px;padding:4px 7px;border:1px solid #354b64;border-radius:4px;color:#91aac5;font-size:8px;font-weight:700;letter-spacing:.06em}.hybrid-monitor pre{flex:1;min-height:340px;max-height:620px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:18px;border:1px solid #304159;border-radius:6px;background:#080e18;color:#c7d6ec;font:12px/1.7 ui-monospace,Consolas,monospace}.hybrid-monitor #hr-error{min-height:18px;margin-top:12px;color:#ffaaaa;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.hybrid-shell .hybrid-verdict{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start;gap:24px}.hybrid-verdict-copy>h2{margin-bottom:12px!important}.hybrid-shell .hybrid-verdict-copy>p:not(.eyebrow){margin-bottom:12px}.hybrid-verdict form{min-width:0;margin:0;padding-top:4px}.hybrid-proof-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:12px}.hybrid-proof-actions button{flex:1}
.hybrid-proof-reference{font-size:11px;color:#9fb6cf}.hybrid-proof-reference summary{width:fit-content;color:#a8d4ff;cursor:pointer;list-style-position:inside}.hybrid-proof-reference dl{margin:12px 0}.hybrid-proof-reference dt{margin-top:10px;font-weight:700;color:#bbcee2}.hybrid-proof-reference dd{margin:4px 0;overflow-wrap:anywhere}.hybrid-proof-reference code{font:10px/1.8 ui-monospace,Consolas,monospace;color:#d5bc79}.hybrid-shell .hybrid-proof-reference p{margin-bottom:0;font-size:10px}
.hybrid-verdict #hr-result{grid-column:1/-1;padding:18px;border:1px solid #4f806b;border-radius:7px;background:#143027}.hybrid-verdict #hr-result :is(strong,output,a){display:block;margin:5px 0;overflow-wrap:anywhere}.hybrid-verdict #hr-result strong{color:#d7f2e4}.hybrid-verdict #hr-result output{color:#def4e8;font:13px/1.8 ui-monospace,Consolas,monospace}.hybrid-verdict #hr-result a{color:#a9ddc6;font-size:12px}.hybrid-shell [hidden]{display:none!important}
@media(max-width:1000px){.hybrid-monitor-label{display:none}.hybrid-hero{gap:20px}.hybrid-workspace{grid-template-columns:minmax(290px,1fr) minmax(0,1fr)}.hybrid-form-actions>span{max-width:120px}}
@media(max-width:800px){body.ctf-page.hybrid-rev-page main{padding:20px 14px 54px}.hybrid-back-row{align-items:flex-start;gap:12px;margin-bottom:18px}.hybrid-back-meta{padding-top:5px;font-size:10px}.hybrid-back{font-size:11px}body.ctf-page.hybrid-rev-page header.hybrid-hero{align-items:flex-start;flex-direction:column;gap:20px;padding:24px}.hybrid-download{width:100%;max-width:none;align-items:flex-start}.hybrid-download>span{max-width:100%;text-align:left}.hybrid-shell .hybrid-session{padding:20px}.hybrid-session-heading{align-items:flex-start;flex-direction:column;gap:16px}.hybrid-session-actions{width:100%}.hybrid-session-actions button{flex:1}.hybrid-status{grid-template-columns:1fr 1fr;gap:14px}.hybrid-status>div:nth-child(2){grid-column:1/-1;grid-row:2}.hybrid-nonces{grid-template-columns:1fr;gap:14px}.hybrid-workspace,.hybrid-shell .hybrid-verdict{grid-template-columns:1fr}.hybrid-shell .hybrid-panel,.hybrid-shell .hybrid-verdict{padding:20px}.hybrid-console #hr-contract{min-height:0}.hybrid-monitor pre{min-height:280px;max-height:500px}.hybrid-form-actions>span{max-width:140px}.hybrid-shell .hybrid-verdict{gap:22px}.hybrid-proof-actions{justify-content:stretch}.hybrid-challenge-entry{align-items:flex-start;flex-direction:column}.hybrid-challenge-entry .button{align-self:stretch;text-align:center}}
@media(max-width:380px){.hybrid-back-meta{display:none}.hybrid-form-actions{align-items:stretch;flex-direction:column}.hybrid-form-actions>span{max-width:none}.hybrid-proof-actions{flex-direction:column}}
