.document-actions{display:flex;gap:8px;flex-wrap:wrap}.document-filters{display:grid;grid-template-columns:minmax(180px,1fr) 200px;gap:18px}.document-filters input,.document-filters select{width:100%}.document-table-wrap{overflow-x:auto}.document-table{min-width:780px}.document-table small{display:block;margin-top:5px;color:#666}.document-table td{vertical-align:top;overflow-wrap:anywhere}.document-table td:nth-child(3){max-width:210px}.document-table td:nth-child(4){max-width:290px}.document-container-list{white-space:pre-line}.document-details{margin:0}.document-details>div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid #eee}.document-details dt{color:#666}.document-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}#document-detail{width:min(760px,calc(100vw - 32px))}#document-detail h3{margin-top:24px}#documents .modal-head{gap:16px}#documents .modal-head h2{margin-top:0}@media(max-width:700px){.document-filters{grid-template-columns:1fr;gap:0}#documents .modal-head{align-items:flex-start;flex-direction:column}.document-details>div{grid-template-columns:100px 1fr}.document-actions button{white-space:nowrap}}

.document-table{white-space:normal}main[data-view="documents"] #stats,main[data-view="documents"] .heading .actions,main[data-view="documents"] .heading .eyebrow{display:none}
@media(max-width:700px){aside nav{overflow-x:auto;max-width:100%;padding-bottom:4px}aside nav button{flex:0 0 auto}.document-table{min-width:0}.document-table thead{display:none}.document-table,.document-table tbody,.document-table tr,.document-table td{display:block;width:100%}.document-table tr{border:1px solid #ddd;border-radius:10px;margin-bottom:12px;padding:8px}.document-table td{height:auto;border:0!important;padding:7px;max-width:none!important}.document-table td:nth-child(2)::before{content:"Date: ";color:#666}.document-table td:nth-child(3)::before{content:"Containers: ";color:#666}.document-table td:nth-child(4)::before{content:"Route: ";color:#666}.document-table .document-actions button{font-size:12px}.document-table-wrap{overflow:visible}#documents .empty{padding:24px 10px}}
