/* Native ANSIO workspace surfaces: same panel, mono labels and compact controls. */
.admin-preview-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid var(--border);background:var(--panel-2);font:10px var(--mono);letter-spacing:.04em}.admin-preview-bar b{font-weight:400;color:var(--muted)}
.pred-surface .pred-card,.pred-surface .pred-capital-visual,.pred-surface .pred-history{border-radius:9px;padding:18px;gap:16px;background:var(--panel);box-shadow:none}.pred-surface .pred-card h3,.pred-surface .pred-history h3{font:600 20px/1.25 var(--body);letter-spacing:-.025em}.pred-surface .pred-card>header{padding:0 0 12px;border-bottom:1px solid var(--border)}.pred-surface .pred-kpi{border-radius:8px;padding:12px 14px}.pred-surface .pred-kpi strong{font:500 28px/1.15 var(--display)}.pred-surface .pred-btn{border-radius:7px;min-height:36px;padding:9px 13px;font:12px var(--body)}.pred-surface .pred-detail{padding:11px 0}.pred-surface .pred-card p{font:12px/1.6 var(--body)}.pred-surface .pred-field input{accent-color:var(--violet)}.pred-surface .pred-guard-controls button{border-radius:7px}.pred-surface .pred-cases button{border-radius:9px}.pred-surface .pred-proposal h3{font-size:22px}.pred-surface .pred-capital-total strong{font-size:46px}.pred-surface .pred-pair-path{height:32px}.pred-surface .pred-tool-message{font:11px/1.5 var(--body)}
body[data-page=predictions] #tools .pred-surface{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;min-height:0;gap:12px}#tools .pred-tools-view{min-height:0;overflow-y:auto;scrollbar-width:thin;padding-right:4px}#tools .pred-tool-grid{min-height:360px;gap:18px}#tools .pred-tools-tabs{margin:0!important;min-height:44px;width:100%;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;padding:0}#tools .pred-tools-tabs button{font-size:11px;min-height:38px;padding:7px 0}.pred-platform-directory{border:1px solid var(--border);border-radius:9px;background:var(--panel);overflow:auto;max-height:100%;scrollbar-width:thin}.pred-venue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px}.pred-venue-grid button{display:grid;grid-template-columns:40px 1fr;gap:4px 12px;align-items:center;text-align:left;border:1px solid var(--border);border-radius:8px;padding:13px;background:var(--panel)}.pred-venue-grid img{width:36px;height:36px;object-fit:contain;grid-row:1/3}.pred-venue-grid strong{font:500 14px var(--body)}.pred-venue-grid span{font:10px var(--mono);color:var(--muted)}.pred-venue-grid button[aria-pressed=true]{border-color:var(--violet);background:var(--violet-dim)}.pred-platform-detail{padding:12px 16px;border-top:1px solid var(--border);font:11px/1.5 var(--body);color:var(--muted)}.pred-platform-custom{display:flex;align-items:center;gap:18px;padding:18px 16px;border-block:1px solid var(--border);background:var(--panel-2)}.pred-platform-custom b{font:500 17px var(--display)}.pred-platform-custom span{font:12px var(--body);color:var(--muted)}.pred-platform-custom i{margin-left:auto;font-style:normal}.pred-platform-directory>.pred-fine{padding:10px 16px;margin:0;font-size:10px}
.client-builder{border:1px solid var(--border)!important;border-radius:9px!important;background:var(--panel)!important;overflow:hidden}.client-builder .client-builder-body{padding:20px!important;min-height:350px;gap:22px;align-items:start}.client-builder .client-setup{padding:0}.client-builder .client-name{font:11px var(--body)}.client-builder .client-name input{font:500 16px var(--body);border-radius:7px;padding:12px;background:var(--panel-2);color:var(--text);border:1px solid var(--border)}.client-builder .client-setup legend{font:10px var(--mono);text-transform:uppercase;letter-spacing:.04em}.client-builder .client-options button{border-radius:6px;font-size:11px;min-height:36px}.client-builder .client-options button[aria-pressed=true]{background:var(--lilac);color:#111;border-color:var(--lilac)}.client-builder .client-desk-card{border:1px solid var(--border);border-radius:8px;box-shadow:none;background:var(--panel)}.client-builder .client-desk-title{padding:14px 16px;background:var(--panel-2);border-bottom:1px solid var(--border)}.client-builder .client-desk-title h3{font:600 22px var(--body);margin-top:7px;letter-spacing:-.03em}.client-builder .client-market-row{padding:14px 0}.client-builder .client-market-icon{border-radius:7px;width:30px;height:30px;font-size:16px}.client-builder .client-desk-bottom{padding:13px 16px}.client-builder .client-state{font:10px var(--mono);border-radius:5px}.client-builder .client-avatar{border-radius:7px}.client-builder .manager-hint{margin:0;padding:0 20px 12px;font-size:10px}.client-builder .manager-hint:empty{display:none}
@media(max-width:760px){body[data-page=predictions] #tools .pred-surface{display:flex;overflow:visible}#tools .pred-tools-view{overflow:visible}#tools .pred-tools-tabs{order:-1;justify-content:flex-start;gap:3px 16px}#tools .pred-tool-grid{min-height:0}.pred-venue-grid{grid-template-columns:1fr 1fr;padding:12px;gap:8px}.pred-venue-grid button{grid-template-columns:28px 1fr;padding:10px;gap:4px 7px}.pred-venue-grid img{width:26px;height:26px}.pred-venue-grid strong{font-size:12px}.pred-venue-grid span{font-size:8px}.pred-platform-custom{flex-wrap:wrap;gap:8px}.pred-platform-custom span{width:80%}.client-builder .client-builder-body{padding:14px!important;min-height:0;grid-template-columns:1fr}.client-builder .client-setup{grid-template-columns:1fr}.client-builder .client-desk-markets{display:block}.client-builder .client-market-row small{display:block}.client-builder .client-desk-bottom{flex-direction:column;align-items:stretch}.client-builder .client-name input{font-size:16px}.admin-preview-bar{font-size:8px}}
@media(min-width:761px) and (max-height:850px){#tools .pred-tool-grid{min-height:330px}.pred-surface .pred-card{gap:11px;padding:16px}.pred-surface .pred-card p{margin:0}.pred-surface .pred-tool-message{min-height:20px}.pred-surface .pred-capital-visual{padding:16px}.pred-surface .pred-capital-total strong{font-size:38px}}
