.ab-panel,.ab-group,.ab-prompt,.ab-dest{background:var(--surface,#fff);border:1px solid var(--line,#d3e1db);border-radius:12px}
.ab-picker{border-bottom:1px solid #d6e1db;padding-bottom:12px}
.ab-section-title,.ab-group-head,.ab-buttons,.ab-check,.ab-media-select,.ab-group-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ab-section-title{justify-content:space-between}.ab-section-title h3,.ab-avulsos{margin:8px 0}
.ab-note,.ab-name small,.ab-total small,.ab-record small{display:block;color:#4b665c}
.ab-group{padding:12px;margin-top:9px}.ab-group-head{flex-wrap:nowrap}
.ab-name{flex:1;min-width:0;overflow-wrap:anywhere}.ab-name strong{font-size:1rem}.ab-name small{margin-top:2px}
.ab-monogram,.ab-thumb{width:58px;height:63px;object-fit:cover;border-radius:8px;background:#e4f2e9}
.ab-monogram{display:grid;place-items:center;font-size:.8rem;font-weight:700;color:#245244}
.ab-group-actions .button,.ab-buttons .button,.ab-editor .button,.ab-prompt .button{min-height:44px}
.ab-list,.ab-profile-body,.ab-panel details{margin-top:12px;border-top:1px solid #d6e1db;padding-top:10px}
.ab-option,.ab-pair,.ab-layout{display:grid;gap:14px}.ab-option{grid-template-columns:1fr auto;align-items:center;padding:8px 0}
.ab-option label,.ab-check{cursor:pointer}.ab-check input,.ab-option input{width:19px;height:19px;accent-color:#185648;flex:none}
.ab-option select{grid-column:1}.ab-note,.ab-feedback,.ab-error{overflow-wrap:anywhere}.ab-feedback:empty,.ab-error:empty{display:none}
.ab-prompt{max-width:min(470px,92vw);padding:24px;color:#172f2a}.ab-prompt::backdrop{background:#14332d80}
.ab-editor{max-width:1170px;margin:auto}.ab-editor-head{margin:15px 0}.ab-editor-head h1,.ab-panel h2{margin:0}.ab-editor-head p{margin:4px 0;color:#516b61}
.ab-layout{grid-template-columns:minmax(0,1fr) minmax(245px,.45fr);align-items:start}.ab-panel{padding:18px}.ab-main{display:grid;gap:14px;min-width:0}
.ab-panel h2{font-size:1.1rem;margin-bottom:13px}.ab-panel label:not(.ab-check){display:grid;gap:5px;margin:9px 0;font-weight:600}
.ab-panel select,.ab-panel input:not([type=checkbox]),.ab-panel textarea,.ab-option select{padding:9px 10px;min-height:42px;max-width:100%;width:100%;background:#fff;border:1px solid #acbfb5;border-radius:7px;font:inherit;color:inherit}
.ab-media-select .button[aria-pressed=true]{background:var(--primary);color:#fff}.ab-player{margin:12px 0;text-align:center;background:#102d28;border-radius:10px}.ab-player a{display:block;background:white;padding:6px}
.ab-video{display:block;width:100%;height:clamp(170px,32vh,320px);border:0;object-fit:contain}.ab-pair{grid-template-columns:1fr 1fr}.ab-schedule{position:sticky;top:12px}
.ab-total{background:#e4f2e9;color:#164d40;padding:12px;margin:12px 0;border-radius:8px}.ab-error{color:#9b251e}.ab-dest{padding:10px;margin:8px 0}.ab-dest .ab-check{padding:4px}.ab-check small{margin-left:auto}
.ab-detail{padding:14px 22px;overflow:auto}.ab-record{padding:10px 0;display:grid;gap:4px;border-bottom:1px solid #dae5df}.ab-record .status{justify-self:start}.ab-editor summary,.ab-detail summary{cursor:pointer}
@media(max-width:760px){.ab-layout{grid-template-columns:minmax(0,1fr)}.ab-schedule{position:static}.ab-group-head{flex-wrap:wrap}.ab-group-actions{width:100%}.ab-group-actions .button{flex:1}.ab-panel{padding:12px}.ab-name{min-width:120px}.ab-pair{grid-template-columns:1fr}.ab-media-select .button{overflow-wrap:anywhere;white-space:normal}.ab-option{grid-template-columns:minmax(0,1fr) auto}.ab-check{overflow-wrap:anywhere}.ab-detail{padding:10px}}


.ab-caption-previews summary { cursor: pointer; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.ab-caption-previews summary strong { margin-inline-start: 8px; color: var(--primary); }
.ab-caption-previews p { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }

.ab-panel [data-batch-polls] legend {position:static;width:auto;height:auto;clip-path:none;font-weight:650;margin:14px 0 8px}
.ab-panel [data-batch-polls] .cap-poll-choice {margin:0}
.ab-panel [data-batch-polls] input[type=radio] {min-height:0;width:16px;height:16px;padding:0}
