/* Task documents preserve the original editors and File inputs inside one frame. */
html[data-hx-task-panel="true"] body { margin:0; background:#f4f8fa!important; }
html[data-hx-task-panel="true"] .sidebar,
html[data-hx-task-panel="true"] .journey-header,
html[data-hx-task-panel="true"] .journey-nav,
html[data-hx-task-panel="true"] #contract-list-section,
html[data-hx-task-panel="true"] #vehicle-list-section { display:none!important; }
html[data-hx-task-panel="true"] .main-content { margin:0!important; padding:16px!important; width:100%; min-width:0; }
html[data-hx-task-panel="true"] .quick-contract-overlay,
html[data-hx-task-panel="true"] .contract-workflow-overlay,
html[data-hx-task-panel="true"] .contract-material-overlay { position:fixed; inset:0; padding:0; background:#f4f8fa; }
html[data-hx-task-panel="true"] .quick-contract,
html[data-hx-task-panel="true"] .contract-wizard,
html[data-hx-task-panel="true"] .contract-material-page { width:100%; max-width:none; height:100%; max-height:100%; border:0; border-radius:0; box-shadow:none; }
html[data-hx-task-panel="true"] .quick-contract>header,
html[data-hx-task-panel="true"] .quick-contract>footer { background:#fff; }
html[data-hx-task-panel="true"] .quick-contract [data-quick-close] { font-size:14px; min-height:40px; padding:8px 12px; white-space:nowrap; }
html[data-hx-task-panel="true"] #vehicle-form-section { margin:0; min-width:0; }
html[data-hx-task-panel="true"] #vehicle-form { min-width:0; }
html[data-hx-task-panel="true"] #vehicle-form .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html[data-hx-task-panel="true"] [data-task-pending] { padding:12px; border:1px solid #d7a644; border-radius:10px; background:#fff8df; color:#654708; }
@media(max-width:540px){
 html[data-hx-task-panel="true"] .main-content { padding:10px!important; }
 html[data-hx-task-panel="true"] #vehicle-form .form-grid,
 html[data-hx-task-panel="true"] #vehicle-form .record-grid { grid-template-columns:minmax(0,1fr); }
 html[data-hx-task-panel="true"] .quick-contract>header { padding:16px; gap:10px; }
 html[data-hx-task-panel="true"] .quick-contract h2 { font-size:20px; }
}
