.prediction-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:32px;padding-top:24px}.prediction-submit{padding-left:26px;border-left:1px solid var(--line)}.prediction-entity-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.prediction-entity-toolbar h3{font-size:12px}.prediction-entity-toolbar>div{display:flex;gap:6px}.prediction-entity{border:1px solid var(--line);border-radius:5px;margin-bottom:14px;overflow:hidden;background:var(--surface,#fff)}.prediction-entity-head{display:flex;gap:10px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--line)}.prediction-entity-head select{border:0;background:transparent;font-size:12px;max-width:120px;min-height:30px;padding:0 4px}.prediction-entity-head label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-left:auto}.prediction-entity-head input{width:50px;border:1px solid var(--line);border-radius:4px;background:transparent;font-size:12px;height:29px;padding:3px 5px}.prediction-entity textarea{font:12px/1.65 Consolas,monospace;color:inherit;letter-spacing:0;background:transparent;border:0;resize:vertical;width:100%;display:block;padding:12px;min-height:70px;max-height:280px;overflow-wrap:anywhere}.prediction-entity textarea:focus{outline:2px solid var(--blue);outline-offset:-2px}.prediction-parameters{margin-bottom:18px}.prediction-parameters summary{cursor:pointer;color:var(--muted);font-size:12px;margin-bottom:14px}.prediction-run{padding:18px 0;border-bottom:1px solid var(--line)}.prediction-run:first-child{padding-top:0}.prediction-run h3{font-size:14px;overflow-wrap:anywhere}.prediction-run details{margin-top:12px}.prediction-run summary{font-size:11px;cursor:pointer;color:var(--muted);margin-bottom:7px}.prediction-run .form-error{overflow-wrap:anywhere;white-space:pre-wrap}.prediction-dialog{width:1200px}.prediction-viewer-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.prediction-viewer-tools select{max-width:160px;font-size:12px;min-height:32px}.prediction-viewer-tools a{margin-left:auto}.prediction-scene{position:relative;width:100%;height:440px;max-height:55vh;min-height:260px;background:#111617}#prediction-viewer{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}#prediction-viewer-status{position:absolute;bottom:20px;left:20px;color:#e6eeee;font-size:12px;pointer-events:none}.prediction-scores{display:flex;flex-wrap:wrap;gap:14px 28px;padding:18px 0}.prediction-scores>div{display:flex;flex-direction:column;gap:5px}.prediction-scores span{font-size:11px;color:var(--muted)}.prediction-scores strong{font:20px Consolas,monospace}.prediction-viewer-tools .icon-button[aria-pressed=true]{background:#18343a;color:#53cddd}
.prediction-entity textarea::placeholder{color:var(--muted);opacity:1}.prediction-entity-toolbar h3{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.prediction-entity-toolbar>div{flex-shrink:0}
.prediction-ptm-description{overflow-wrap:anywhere}
.prediction-ptms{padding:12px;border-top:1px solid var(--line)}.prediction-ptms>summary{font-size:12px;cursor:pointer;color:var(--muted)}.prediction-ptms[open]>summary{margin-bottom:12px}.prediction-ptm-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 34px;gap:8px;align-items:end}.prediction-ptm-inputs .field{margin:0;min-width:0;font-size:11px}.prediction-ptm-inputs select,.prediction-ptm-inputs input{width:100%;min-width:0;font-size:12px}.prediction-ptm-inputs .icon-button{margin-bottom:2px}.prediction-ptm-site{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px}.prediction-ptm-site>span{min-width:0;overflow-wrap:anywhere;flex:1}.prediction-ptms .detail-note{margin:10px 0 0}.prediction-ptms .form-error:empty{display:none}@media(max-width:420px){.prediction-ptm-inputs{grid-template-columns:minmax(0,1fr) 34px}.prediction-ptm-inputs>.field:first-child{grid-column:1/-1}}
.prediction-annotations{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px;border-top:1px solid var(--line)}.prediction-annotations .field{margin-bottom:0}.prediction-result-annotation{padding:12px 0;border-top:1px solid var(--line)}.prediction-result-annotation .prediction-annotations{border-top:0;padding:10px 0}.prediction-viewer-tools .button{font-size:12px;white-space:nowrap}
.prediction-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:14px 28px}.prediction-scores>div{display:block}.prediction-scores span{display:block;margin-bottom:5px}#prediction-viewer{top:0;right:0;bottom:0;left:0}
.prediction-selection-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-height:40px;padding:0 0 10px;margin-bottom:12px;border-bottom:1px solid var(--line)}.prediction-selection-tools .check-label{min-height:36px;cursor:pointer}.prediction-selection-tools .icon-button{margin-left:auto}.prediction-row-select{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:36px;margin-right:8px;flex-shrink:0}.prediction-run .analysis-run-heading>div{min-width:0;flex:1}.prediction-row-select input,.prediction-selection-tools input{width:16px;height:16px;flex-shrink:0}.prediction-run.prediction-swipe-enabled{position:relative;overflow:hidden;padding-top:0;padding-bottom:0;background:#b3413c}.prediction-swipe-content{position:relative;z-index:1;background:#f6f8f7;padding:18px 0;transition:transform .18s ease;touch-action:pan-y}.prediction-run:first-child .prediction-swipe-content{padding-top:0}html[data-theme=dark] .prediction-swipe-content{background:#111617}.prediction-swipe-open .prediction-swipe-content{transform:translateX(-80px)}.prediction-swipe-dragging .prediction-swipe-content{transition:none}.prediction-swipe-delete{position:absolute;right:0;top:0;bottom:0;width:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;border-radius:0;background:#b3413c;color:#fff;font-size:13px}.prediction-swipe-delete svg{width:20px;height:20px}.prediction-swipe-delete:focus-visible{outline-offset:-4px}.prediction-swipe-enabled .queue-handle{z-index:2;background:#f6f8f7}html[data-theme=dark] .prediction-swipe-enabled .queue-handle{background:#111617}@media(pointer:coarse){.prediction-row-select{min-width:36px;min-height:44px}.prediction-selection-tools .icon-button{width:40px;height:40px;flex-basis:40px}}@media(prefers-reduced-motion:reduce){.prediction-swipe-content{transition:none}}
@media(max-width:950px){.prediction-layout{gap:20px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.prediction-submit{padding-left:20px}.prediction-entity-head{gap:6px;padding:7px}.prediction-entity-head select{max-width:94px}}
@media(max-width:730px){.prediction-layout{grid-template-columns:1fr;gap:24px}.prediction-submit{grid-row:1;border-left:0;border-bottom:1px solid var(--line);padding-left:0;padding-bottom:24px}.prediction-entity-head select{max-width:110px}.prediction-dialog{width:calc(100vw - 24px)}.prediction-scene{height:330px}.prediction-viewer-tools{gap:5px}.prediction-viewer-tools select{max-width:120px;font-size:11px}.prediction-scores{gap:12px 20px}.prediction-scores strong{font-size:17px}}
[data-prediction-delete] svg,#prediction-delete-selected svg{pointer-events:none}.prediction-run button:disabled,.prediction-row-select input:disabled{cursor:not-allowed}.prediction-run.prediction-swipe-enabled{background:transparent}
