/* Shared market-page geometry; the order book retains its full ladder. */
body[data-page=predictions] #stage .chapter.wide{gap:24px;padding-inline:6vw}
body[data-page=predictions] #stage #desk.chapter{gap:18px}
body[data-page=predictions] #stage #desk .chapter-copy{display:block;max-width:none;margin:0}
body[data-page=predictions] #desk .chapter-copy .eyebrow{display:none}
body[data-page=predictions] #stage #desk .chapter-copy h1{font-size:clamp(30px,3.15vw,45px)!important;white-space:nowrap;line-height:1.1}
body[data-page=predictions] #desk .chapter-copy h1 br{display:none}
body[data-page=predictions] #stage #desk .chapter-copy>p{max-width:none;margin:12px 0 0;font-size:12px;line-height:1.6}
body[data-page=predictions] .demo-shell{max-width:1120px!important;width:100%;align-self:center}
body[data-page=predictions] #desk .pred-surface{flex:1 0 auto;gap:12px}
.pred-event-title{flex:none}.pred-event-title h3{font-size:22px}.pred-prob b{font-size:28px}
.pred-event-row i{width:28px;height:28px;background:var(--panel2);color:var(--text)}
.pred-event-row button{border-radius:8px;padding:6px 12px}
.pred-event-row button[aria-pressed=true]{background:var(--panel2);color:var(--text);border-color:var(--text)}
.pred-sample{font-family:var(--body);font-size:10px}
body[data-page=predictions] #desk .pred-books{flex:none;min-height:370px;height:370px}
.pred-surface .book-col{display:flex;flex-direction:column;overflow:hidden}
.pred-surface .book-scroll{flex:1;min-height:0;max-height:none;overflow-y:auto}
.pred-surface .book-head-row,.pred-surface .book-row{flex:none;min-height:24px}
.pred-surface .pred-kpi{padding:10px 14px}.pred-surface .pred-kpi strong{font-size:25px}
.pred-surface .pred-card{background:var(--panel2);border-radius:10px;padding:16px;gap:16px}
.pred-surface .pred-card h3{font:600 16px/1.3 var(--body);letter-spacing:0}
.pred-field input[type=number]{grid-column:1/-1;width:100%;height:34px;background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:6px 10px;color:var(--text);font:12.5px var(--mono)}
.pred-surface .pred-field{gap:6px}.pred-two{min-height:380px}.pred-quote-books .pred-books{min-height:370px}
.venue-custom{color:var(--text);text-decoration:none}.venue-custom small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.venue-custom-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border:1px solid var(--border);border-radius:9px;font-size:28px}.venue-custom:hover{color:var(--violet)}
.prediction-activity{display:flex;flex-direction:column;gap:16px;flex:1;min-height:360px;max-height:100%;font-family:var(--body)}
.prediction-activity .operation-history-head{display:flex;justify-content:space-between;align-items:center}.prediction-activity h3{font:600 20px var(--body);letter-spacing:0}
.prediction-activity .log-sections{display:flex;gap:8px;flex-wrap:wrap}
.prediction-activity .toolbar-btn{border:1px solid var(--border);border-radius:6px;padding:8px 14px;font:12px var(--body);color:var(--text);background:var(--panel)}
.prediction-activity .toolbar-btn.active{background:var(--text);color:var(--bg)}
.prediction-activity .operation-journal{flex:1;overflow:auto;min-height:220px;border:1px solid var(--border);border-radius:8px;background:var(--panel)}
.prediction-activity .bot-log-row{display:flex;gap:14px;border-bottom:1px solid var(--border);padding:14px 12px;font-size:13px;line-height:1.6}
.prediction-activity .bot-log-time{min-width:76px;font:11px/1.8 var(--mono);color:var(--muted)}.prediction-activity .bot-log-msg{overflow-wrap:anywhere}.prediction-activity b{font-weight:500}.prediction-activity .warn{border-left:2px solid var(--coral)}
.prediction-activity .panel-empty{padding:20px;font-size:12px;color:var(--muted)}.activity-foot{font-size:11px;color:var(--muted);margin:0}
/* Illustrative client setup uses the admin's field groups and controls. */
.client-builder.admin-native{border:0!important;background:transparent!important;overflow:auto}
.client-builder.admin-native .client-builder-body{padding:0!important;gap:16px;min-height:0;align-items:stretch}
.client-builder.admin-native .client-setup{display:flex;flex-direction:column;padding:16px;gap:20px;background:var(--panel2);border:1px solid var(--border);border-radius:10px}
.client-builder.admin-native .client-name{font:11px var(--body);gap:6px}
.client-builder.admin-native .client-name input{height:34px;font:12.5px var(--mono);padding:6px 10px;background:var(--panel)}
.client-builder.admin-native fieldset{margin:0}.client-builder.admin-native legend{font:600 10px var(--body);color:var(--muted);margin-bottom:10px}
.client-builder.admin-native .client-options button{font-size:11px;padding:8px 10px;min-height:34px;border-radius:6px;background:var(--panel)}
.client-builder.admin-native .client-options button[aria-pressed=true]{background:var(--lilac);color:#111;border-color:var(--lilac)}
.client-builder.admin-native .client-desk-card{border:1px solid var(--border);background:var(--panel2);padding:16px;border-radius:10px}
.client-builder.admin-native .client-desk-title{padding:0 0 12px;background:transparent}.client-builder.admin-native .client-desk-title h3{font:600 20px var(--body)}
.client-builder.admin-native .client-desk-markets{padding:0;display:block}.client-builder.admin-native .client-market-row{padding:12px 0}.client-builder.admin-native .client-market-row small{display:block}
.client-builder.admin-native .client-state{background:var(--panel);color:var(--muted);border:1px solid var(--border)}
.client-builder.admin-native .client-build{background:var(--text);color:var(--bg);font-size:12px;min-height:34px}.client-builder.admin-native .client-desk-bottom{padding:12px 0 0}
@media(max-width:760px){body[data-page=predictions] #stage .chapter.wide{padding:8px 12px 24px;gap:16px}body[data-page=predictions] #stage #desk .chapter-copy h1{font-size:25px!important;white-space:normal}body[data-page=predictions] #stage #desk .chapter-copy>p{font-size:10px;margin-top:8px}body[data-page=predictions] #desk .pred-surface{flex:none}.pred-event-row>div{gap:6px}.pred-event-row button{font-size:11px;padding:5px 8px}.pred-sample{display:none}.pred-two{min-height:0}.pred-event-title h3{font-size:20px}.prediction-activity .bot-log-row{gap:8px;font-size:12px}.prediction-activity .bot-log-time{min-width:62px}.client-builder.admin-native .client-builder-body{grid-template-columns:1fr}.venue-custom-icon{width:36px;height:36px}}
body[data-page=predictions] #desk .pred-books{height:390px;min-height:390px}
.pred-surface.admin-native{--teal:#078466}
.pred-surface .pred-capital-visual{background:var(--panel2);border:1px solid var(--border);border-radius:10px;padding:16px}
.pred-surface .pred-capital-total strong{font:500 32px var(--mono)}
.pred-surface .pred-chat{border-radius:10px;background:var(--panel2);padding:16px}
.pred-surface .pred-message{border-radius:6px}.pred-surface .pred-proposal h3{font-size:16px}
.client-builder.admin-native .client-name{display:flex;flex-direction:column;justify-content:flex-start}
/* A short catalogue needs neither a marquee nor a scroll viewport. */
body[data-page=predictions] .venue-static .futures-venue-directory{height:auto;overflow:visible;min-height:0}
body[data-page=predictions] .venue-static .futures-venue-stream{overflow:visible!important;mask-image:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;padding:0;flex:none}
body[data-page=predictions] .venue-static .futures-venue-entry{min-height:78px;transform:none;gap:12px;font-size:13px}
body[data-page=predictions] .venue-static .venue-custom-icon{width:58px;height:58px;font-size:26px;border:0;background:var(--panel2)}
body[data-page=predictions] .venue-static .venue-custom>span:last-child{display:flex;align-items:center;gap:8px}
.native-settings-host{height:100%;min-height:0;width:100%;overflow:hidden;background:transparent!important;border:0!important;padding:0!important}.native-settings-host>div{height:100%;min-height:0}
@media(max-width:760px){body[data-page=predictions] .venue-static .futures-venue-stream{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}body[data-page=predictions] .venue-static .futures-venue-entry{flex-direction:row;align-items:center;font-size:11px;min-height:64px}body[data-page=predictions] .venue-static .futures-venue-entry img,body[data-page=predictions] .venue-static .venue-custom-icon{width:32px!important;height:32px!important}}
body[data-page=predictions] #stage .demo-shell.native-settings-host,body[data-page=trading-managers] #your-client .demo-shell{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;flex:1;min-height:0;height:100%;overflow:hidden}
body[data-page=predictions] #stage .chapter:has(.native-settings-host){grid-template-rows:auto minmax(0,1fr)}
body[data-page=predictions] #stage .ready-chapter{grid-template-rows:minmax(0,1fr)!important;padding-inline:6vw!important}
body[data-page=predictions] #stage .ready-chapter .demo-shell{width:100%!important;justify-self:stretch!important;margin-inline:auto!important}
body[data-page=predictions] #stage .ready-chapter .demo-shell{max-width:none!important}
/* The same native iframe and feature navigation geometry as the other markets. */
body[data-page=predictions] #stage :is(#desk,#quotes,#autopilot) .demo-shell.manager-demo{height:100%;min-height:0;flex:1;border:0;background:transparent;padding:0;overflow:hidden}
body[data-page=predictions] #stage #autopilot .chapter-copy{grid-template-columns:1fr 1fr;gap:8px 32px}
body[data-page=predictions] #stage #autopilot .chapter-copy h2{font-size:36px;line-height:1.1}
body[data-page=predictions] #stage #autopilot .chapter-copy br{display:none}
body[data-page=predictions] #stage #autopilot .chapter-copy .eyebrow{display:none}
body[data-page=predictions] #stage #autopilot .chapter-copy .chapter-link{margin-top:8px}
body[data-page=predictions] #stage :is(#desk,#quotes,#autopilot) .demo-shell.manager-demo{display:flex!important;flex-direction:column}
body[data-page=predictions] #stage :is(#desk,#quotes,#autopilot) .manager-viewport{height:auto!important;flex:1;min-height:0;width:100%;margin:0;transform:none}
body[data-page=predictions] #stage #autopilot .manager-demo-tabs{flex:none}
body[data-page=predictions] #stage #autopilot .chapter-copy h2{font-size:36px!important}
