.labeling-page {max-width:76rem; min-width:0; margin-top:24px}
#platform-content:has(> .labeling-page) > .module-heading {max-width:76rem}
.labeling-page h2 {font-size:18px; margin:0 0 12px}
.labeling-page h3 {font-size:16px; margin:20px 0 10px}
.labeling-section {border-top:1px solid var(--line,#ddd9d1); padding:24px 0; min-width:0}
.labeling-section > :last-child {margin-bottom:0}
.labeling-form {display:grid; gap:6px; max-width:48rem}
.labeling-field {display:flex; flex-direction:column; gap:7px; min-width:0; max-width:48rem; margin:12px 0; font-size:14px; font-weight:600}
.labeling-field input,.labeling-field select,.labeling-field textarea {width:100%; max-width:100%; min-width:0; font-weight:400}
.labeling-field textarea {resize:vertical; min-height:100px; line-height:1.5}
.labeling-form .labeling-field {margin:8px 0}
.labeling-field:has(input[type=checkbox]) {flex-direction:row; align-items:flex-start; gap:10px; font-weight:400}
.labeling-field:has(input[type=checkbox]) input {width:18px; height:18px; flex:none; order:-1; margin-top:2px}
.labeling-page details {margin:16px 0; min-width:0}
.labeling-page summary {cursor:pointer; font-size:14px; font-weight:600}
.labeling-page .section-actions {justify-content:flex-start; margin:16px 0; max-width:64rem}
.labeling-page .section-actions .labeling-field {margin:0}
.labeling-help {color:var(--muted); font-size:14px; line-height:1.65; max-width:54rem; margin:8px 0 16px}
.labeling-notice {white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px}
.labeling-notice:empty {display:none}
.labeling-notice.error {color:#a52834; border-left:3px solid currentColor; padding:10px 14px; background:#fff4f1}
.labeling-steps {display:flex; flex-wrap:wrap; list-style:none; gap:12px 24px; padding:0; color:var(--muted); font-size:14px; margin:0 0 24px}
.labeling-metadata {display:grid; grid-template-columns:135px minmax(0,1fr); gap:9px 20px; margin:20px 0; max-width:56rem; font-size:14px}
.labeling-metadata dt {color:var(--muted)}
.labeling-metadata dd {margin:0; overflow-wrap:anywhere}
.labeling-controls {display:grid; grid-template-columns:140px 180px minmax(180px,1fr); gap:16px; max-width:48rem}
.labeling-text {font-family:inherit; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; max-height:360px; overflow:auto; font-size:14px; background:var(--surface,#faf9f6); padding:16px; border-radius:6px}
.labeling-page progress {width:100%; max-width:48rem; height:8px; accent-color:var(--accent,#bb4321)}
.labeling-table-wrap {overflow-x:auto; max-width:100%; margin-top:20px}
.labeling-table {white-space:normal; table-layout:fixed; min-width:560px}
.labeling-table th:nth-child(1) {width:42%}
.labeling-table th:nth-child(2) {width:34%}
.labeling-table td {vertical-align:top; overflow-wrap:anywhere; line-height:1.6}
.labeling-record {background:none; border:0; padding:0; color:var(--accent-dark,#a83617); text-align:left; cursor:pointer; line-height:inherit}
.labeling-record:hover,.labeling-record[aria-current] {text-decoration:underline}
.labeling-review-columns {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px}
.labeling-review-columns .labeling-section {border-top:0; padding-top:8px}
.labeling-page .button {max-width:100%; white-space:normal; overflow-wrap:anywhere}
.labeling-export {border-top:1px solid var(--line,#ddd9d1); padding-top:20px}
.material-preview {min-width:0; margin-top:12px}
.material-preview > details {margin:8px 0; padding:10px 0; border-bottom:1px solid var(--line,#ddd9d1)}
.material-preview summary {overflow-wrap:anywhere; line-height:1.5}
.material-errors {border-left:3px solid #a52834; padding:8px 16px; background:#fff4f1; overflow-wrap:anywhere; max-height:240px; overflow:auto}
.material-errors h3 {margin:0 0 8px}
.material-errors ul {padding-left:18px; margin:0; font-size:14px; line-height:1.6}
.material-preview .labeling-text {max-height:280px}
@media(max-width:1050px){.labeling-review-columns {grid-template-columns:minmax(0,1fr)}.labeling-controls {grid-template-columns:1fr 1fr}.labeling-controls > :last-child {grid-column:1/-1}}
@media(max-width:600px){.labeling-metadata {grid-template-columns:1fr; gap:3px}.labeling-metadata dd {margin-bottom:10px}.labeling-controls {grid-template-columns:1fr}.labeling-steps {gap:8px 16px}.labeling-page .section-actions {align-items:flex-start}.labeling-form {gap:10px}}
@media(max-width:600px){.labeling-table {min-width:0}.labeling-table thead {display:none}.labeling-table tbody,.labeling-table tr,.labeling-table td {display:block}.labeling-table tr {border-top:1px solid var(--line,#ddd9d1); padding:12px 0}.labeling-table td {border:0; padding:4px 0}.labeling-table td[data-label]::before {content:attr(data-label) ': '; color:var(--muted); font-weight:600}}
