:root{color:#1a1a1a;background:#fff;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}h1{margin:0 0 12px;font-size:1.75rem}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{color:#fff;background:#1b5e20;justify-content:space-between;align-items:center;height:56px;padding:0 20px;display:flex}.app-brand{letter-spacing:1px;font-weight:700}.header-actions{align-items:center;gap:12px;display:flex}.header-user{opacity:.9;font-size:.9rem}.header-link{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff80;border-radius:4px;padding:6px 10px}.session-banner{text-align:center;margin:16px}.login-card input[type=email],.login-card input[type=password]{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cfd8dc;border-radius:4px;padding:8px 10px}.app-body{flex:1;display:flex}.app-sidebar{background:#f4f5f7;border-right:1px solid #e0e0e0;width:200px;padding:16px 0;overflow-y:auto}.app-sidebar ul{margin:0;padding:0;list-style:none}.app-sidebar li button{text-align:left;cursor:pointer;color:#333;width:100%;font:inherit;background:0 0;border:0;padding:10px 20px}.app-sidebar li button.active{color:#1b5e20;background:#e8f5e9;font-weight:600}.app-content{flex:1;padding:24px}.muted{color:#666}.form-error{color:#b71c1c}.form-success{color:#1b5e20}.btn-primary,.btn-secondary,.actions button{cursor:pointer;font:inherit;border-radius:4px;padding:8px 12px}.btn-primary{color:#fff;background:#1b5e20;border:0}.btn-danger{color:#fff;cursor:pointer;font:inherit;background:#c62828;border:0;border-radius:4px;padding:8px 12px}.btn-danger:disabled{opacity:.65;cursor:not-allowed}.btn-secondary,.actions button{color:#333;background:#fff;border:1px solid #cfd8dc}.login-page{background:#f4f5f7;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;flex-direction:column;gap:12px;width:min(480px,100%);padding:24px;display:flex}.login-card textarea,.modal-card input,.toolbar input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cfd8dc;border-radius:4px;padding:8px 10px}.locations-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (width<=960px){.locations-grid{grid-template-columns:1fr}}.panel{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.panel-header h2{margin:0;font-size:1.1rem}.toolbar{gap:8px;margin-bottom:12px;display:flex}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{text-align:left;border-bottom:1px solid #eee;padding:8px 6px;font-size:.95rem}.data-table tr.selected{background:#e8f5e9}.data-table tbody tr{cursor:pointer}.actions{gap:6px;display:flex}.modal-backdrop{background:#00000059;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:8px;flex-direction:column;gap:12px;width:min(420px,100%);padding:20px;display:flex}.modal-card label{flex-direction:column;gap:6px;display:flex}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-header h1{margin:0 0 4px}.summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}@media (width<=1100px){.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header{flex-direction:column}}.summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px}.summary-card-label{color:#666;margin-bottom:8px;font-size:.85rem}.summary-card-value{color:#1b5e20;font-size:1.75rem;font-weight:700;line-height:1.1}.table-wrap{overflow-x:auto}.status-pill{color:#37474f;background:#eceff1;border-radius:999px;padding:2px 8px;font-size:.8rem;font-weight:600;display:inline-block}.status-open{color:#1565c0;background:#e3f2fd}.status-accepted{color:#f9a825;background:#fff8e1}.status-received{color:#2e7d32;background:#e8f5e9}.status-completed{color:#00695c;background:#e0f2f1}.status-cancelled{color:#c62828;background:#ffebee}.status-expired{color:#757575;background:#f5f5f5}.status-active{color:#2e7d32;background:#e8f5e9}.status-inactive{color:#546e7a;background:#eceff1}.status-published{color:#2e7d32;background:#e8f5e9}.status-draft{color:#546e7a;background:#eceff1}.actions-bar{flex-wrap:wrap;gap:12px;display:flex}.stop-list{margin:0;padding-left:1.25rem}.stop-list li{margin-bottom:10px}.parcel-photo{object-fit:cover;border:1px solid #cfd8dc;border-radius:4px;max-width:240px;max-height:240px}.filters-toolbar{flex-wrap:wrap;align-items:center}.filters-toolbar select{font:inherit;background:#fff;border:1px solid #cfd8dc;border-radius:4px;padding:8px 10px}.pagination-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}@media (width<=900px){.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.detail-grid{grid-template-columns:1fr}}.detail-label{color:#666;margin-bottom:4px;font-size:.85rem}.summary-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=1100px){.summary-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}.status-actions{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.status-actions label{flex-direction:column;gap:6px;min-width:220px;display:flex}.status-actions select{font:inherit;background:#fff;border:1px solid #cfd8dc;border-radius:4px;padding:8px 10px}.issue-attachment-list{flex-direction:column;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:flex}.issue-attachment-list li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.log-preview{white-space:pre-wrap;word-break:break-word;background:#f4f5f7;border:1px solid #e0e0e0;border-radius:4px;max-height:320px;margin:8px 0 16px;padding:12px;font-size:.85rem;overflow:auto}
