/* Judgment-list workspace. All selectors are scoped to this workflow or its help dialog. */
.document-task { padding:28px 40px 48px; }
.document-task-bar,.document-task-heading,.document-task-layout { width:100%; max-width:1080px; margin-left:auto; margin-right:auto; }
.document-task-bar { display:flex; align-items:center; gap:20px; justify-content:space-between; margin-bottom:28px; }
.document-steps { display:flex; flex:1; max-width:620px; list-style:none; padding:0; margin:0; gap:12px; }
.document-steps li { display:flex; align-items:center; gap:8px; flex:1; font-size:12px; color:var(--muted); }
.document-steps li:not(:last-child)::after { content:''; height:1px; background:var(--line); flex:1; margin-left:8px; }
.document-step-number { display:grid; place-items:center; width:26px; height:26px; flex-shrink:0; border-radius:50%; background:var(--soft); font-size:11px; font-weight:650; }
.document-steps .active,.document-steps .done { color:var(--accent); }
.document-steps .active { font-weight:650; }
.document-steps .active .document-step-number,.document-steps .done .document-step-number { background:var(--accent); color:white; }
.document-task-heading { margin-bottom:24px; }
.document-task-heading:focus { outline:none; }
.document-task-heading h2 { font-size:29px; letter-spacing:-.8px; line-height:1.25; margin:8px 0 10px; font-weight:600; }
.document-task-heading p { max-width:720px; margin:0; font-size:14px; }
.document-task-heading .eyebrow { font-size:10px; color:var(--accent); }
.document-task-layout { display:grid; grid-template-columns:minmax(0,1fr) 245px; gap:24px; align-items:start; }
.document-task-layout:has(.document-source[hidden]) { grid-template-columns:minmax(0,760px); }
.document-task-main { min-width:0; }
.document-upload,.document-task .card { margin:0; border-color:var(--line); padding:24px; box-shadow:none; }
.document-upload h3,.document-source h3 { margin:0 0 12px; font-size:15px; }
.document-operation-choices { display:grid; gap:12px; margin:15px 0 25px; }
.document-operation-choice { text-align:left; display:flex; flex-direction:column; gap:5px; padding:17px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.document-operation-choice strong { font-size:15px; font-weight:600; }
.document-operation-choice span { font-size:13px; color:var(--muted); }
.document-operation-choice[aria-pressed=true] { background:#f3f8f4; border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.document-file-picker { padding:25px 18px; background:#f9fbf8; border:1px dashed #9eb5a5; border-radius:10px; text-align:center; }
.document-file-picker>svg { width:28px; height:28px; color:var(--accent); }
.document-file-picker p { font-size:13px; margin:8px 0; }
.document-file-picker .muted { font-size:12px; }
.document-file-picker .attached-file { margin:15px 0 0; background:var(--soft); text-align:left; padding:10px; }
.document-file-picker .attached-file span { overflow-wrap:anywhere; min-width:0; }
.document-upload-actions { justify-content:space-between; align-items:center; margin-top:23px; }
.document-upload-actions span { font-size:12px; }
.document-task #messages { max-width:none; padding:0; gap:20px; }
.document-task #messages>.message { margin:0; width:100%; max-width:none; }
.document-task .document-job>h3 { margin-top:0; }
.document-task .review-details { font-size:12px; }
.document-task .order-list { margin:18px 0; }
.document-task .order-list li { padding:12px 10px; gap:9px; }
.document-task .order-name { min-width:0; flex:1; }
.document-task .relator-heading { min-width:0; width:100%; font-size:12px; }
.document-task .order-count { display:block; font-size:11px; padding-top:3px; }
.document-task .order-number { font-size:12px; }
.document-task .move-button { min-width:34px; min-height:40px; padding:4px; }
.document-task .order-confirmation { padding:14px; background:var(--soft); border-radius:9px; font-size:13px; }
.document-task .order-confirmation input { flex-shrink:0; }
.document-task .document-job>.muted,.document-task .document-job>.card-subtitle { font-size:13px; }
.document-task .artifact-link { margin:12px 0; padding:17px; background:#f7faf7; border-color:var(--line); }
.document-task .artifact-link strong { font-size:14px; }
.document-task .artifact-link small { font-size:12px; overflow-wrap:anywhere; }
.document-task .document-word-download { background:var(--accent); color:#fff; border-color:var(--accent); padding:22px 17px; }
.document-task .document-word-download small { color:#e0eee5; }
.document-task .document-word-download svg { color:#fff; }
.document-receipt { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); font-size:12px; }
.document-receipt summary,.document-previous>summary { cursor:pointer; font-weight:600; }
.document-receipt h3 { font-size:14px; margin-top:14px; }
.document-receipt ol { padding-left:20px; font-size:11px; line-height:2; }
.document-previous { margin-top:24px; font-size:12px; }
.document-previous .message { margin:15px 0; }
.document-task-next { display:flex; gap:15px; justify-content:space-between; align-items:center; margin-top:22px; }
.document-task-next p { font-size:12px; margin:0; }
.document-task-next button { flex-shrink:0; }
.document-source { min-width:0; }
.document-source h3 { font-size:11px; color:var(--muted); }
#document-source-name { font-size:13px; font-weight:600; overflow-wrap:anywhere; margin:15px 0; }
.document-source .review-details { grid-template-columns:1fr auto; margin:20px 0; }
.document-source .session-attachments { margin:18px 0 0; padding:18px 0 0; border:0; border-top:1px solid var(--line); width:100%; }
.document-source .session-attachments h2 { font-size:12px; }
.document-source .session-attachments p { font-size:12px; }
.document-source .session-attachment { flex-wrap:wrap; padding:8px 0; gap:8px; }
.document-source .session-attachment-copy { width:calc(100% - 35px); }
.document-source .session-attachment-name { font-size:12px; white-space:normal; overflow-wrap:anywhere; }
.document-source .original-download { font-size:12px; }
.document-help { margin:0 0 0 auto; height:100dvh; max-height:100dvh; width:min(530px,100vw); max-width:100vw; border:0; border-left:1px solid var(--line); border-radius:0; padding:25px; color:var(--text); background:var(--paper); overflow-y:auto; }
.document-help::backdrop { background:#102c2455; }
.document-help>header { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.document-help h2 { font-size:20px; margin:0; }
.document-help>.muted { font-size:13px; }
.document-help .document-configuration { width:100%; margin:22px 0; }
.document-help .messages { max-width:none; padding:0; font-size:14px; }
.document-help .assistant-body { font-size:14px; }
.document-help label { display:block; font-size:13px; margin-top:20px; }
.document-help textarea { width:100%; margin-top:8px; padding:12px; resize:vertical; min-height:100px; font-size:16px; }
.document-help .editor-tools { flex-wrap:wrap; }
.document-help .card-actions { margin-top:16px; }
@media(max-width:1100px) { .document-task { padding:25px; }.document-task-layout { grid-template-columns:minmax(0,1fr) 210px; gap:18px; } }
@media(max-width:960px) { .document-task-layout { grid-template-columns:minmax(0,1fr); }.document-source { margin-top:5px; } }
@media(max-width:720px) { .document-task { padding:22px 16px; }.document-task-bar { gap:8px; margin-bottom:23px; }.document-steps { gap:7px; }.document-steps li { gap:5px; font-size:10px; }.document-steps li:not(:last-child)::after { margin-left:0; }.document-step-number { width:22px; height:22px; font-size:10px; }.document-task-bar>.button { font-size:11px; padding:6px; min-width:40px; }.document-task-heading h2 { font-size:25px; }.document-task-heading p { font-size:13px; }.document-task .card { padding:18px; }.document-task .order-list li { gap:6px; padding:10px 6px; }.document-task .relator-heading { font-size:11px; }.document-task .order-number { min-width:20px; width:20px; }.document-task .move-button { min-width:29px; }.document-task .card-actions { flex-wrap:wrap; }.document-upload-actions { flex-direction:column; align-items:stretch; }.document-task .card-actions button { flex:1; }.document-task-next { flex-direction:column-reverse; align-items:stretch; }.document-help { padding:20px; }.document-task .artifact-link { padding:15px 12px; gap:8px; }.document-task .artifact-link>div { min-width:0; } }

.composer-area:empty { display:none; }

.document-order-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.document-order-header h3 { font-size:16px; margin:0; }
.document-order-header .button { font-size:11px; flex-shrink:0; }
.document-task .order-list li { border:1px solid var(--line); border-radius:9px; margin-top:9px; }
.document-judge-name { display:block; font-size:12px; font-weight:600; overflow-wrap:anywhere; }
.document-task .relator-heading { min-height:38px; padding:7px; }
.document-task .artifact-link { border:1px solid var(--line); border-radius:9px; }
.document-task .document-word-download:hover { background:#174a38; }
.document-task .document-word-download:hover strong { color:#fff; }
@media(max-width:720px) { .document-order-header { gap:8px; }.document-order-header h3 { font-size:14px; }.document-judge-name { font-size:11px; } }
