@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";:root{font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;line-height:1.6;font-weight:400;color:#0f172a;background-color:#f6f8fb;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f6f8fb}a{color:inherit;text-decoration:none}.app{min-height:100vh;padding:32px 32px 64px;max-width:1280px;margin:0 auto}.hero{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px;margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#475569;margin:0 0 4px}h1{font-size:30px;margin:0;color:#0f172a}.subhead{margin:6px 0 0;color:#475569;max-width:640px}.stats{display:flex;gap:10px;align-items:stretch;justify-content:flex-end}.stat-card{background:#fff;border:1px solid #d0d7de;border-radius:8px;padding:10px 14px;min-width:140px;box-shadow:0 3px 6px #0f172a14}.days-card{min-width:120px;display:flex;flex-direction:column;justify-content:space-between}.days-input{margin-top:4px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;width:100%}.days-input:focus{outline:2px solid #94a3b8;outline-offset:1px}.export-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.export-group{display:flex;gap:8px}.export-button{background:#0ea5e9;color:#fff;border:1px solid #0284c7;border-radius:6px;padding:8px 12px;font-weight:600;cursor:pointer}.export-button:disabled{opacity:.5;cursor:not-allowed}.export-button:hover:not(:disabled){background:#0284c7}.export-button.secondary{background:#e2e8f0;color:#0f172a;border-color:#cbd5e1}.export-button.secondary:hover:not(:disabled){background:#cbd5e1}.clickable-row{cursor:pointer}.clickable-row:hover{background:#e2e8f0}.label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:0}.value{font-size:22px;font-weight:600;margin:4px 0 0;color:#0f172a}.panel{background:#fff;border:1px solid #d0d7de;border-radius:8px;padding:12px;box-shadow:0 6px 12px #0f172a14}.panel-title{margin:0 0 8px;color:#0f172a}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}.filter-field{display:flex;flex-direction:column;gap:4px}.filter-field label{font-size:12px;color:#475569;font-weight:600}.filter-field input,.filter-field select{padding:8px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:14px;color:#0f172a}.filter-field input:focus,.filter-field select:focus{outline:2px solid #94a3b8;outline-offset:1px}.table-wrapper{overflow-x:auto}table{width:100%;border-collapse:collapse;color:#0f172a;font-size:14px;border:1px solid #cbd5e1}thead{background:#f1f5f9}th,td{text-align:left;padding:10px 12px;border:1px solid #cbd5e1}th{font-size:13px;font-weight:600;color:#0f172a;letter-spacing:.02em}.sortable{display:inline-flex;align-items:center;gap:6px;background:transparent;border:none;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}.sortable:focus{outline:2px solid #94a3b8;outline-offset:2px}.sort-indicator{font-size:12px;color:#64748b}th.numeric .sortable{justify-content:flex-end;width:100%}tbody tr:nth-child(odd){background:#f8fafc}tbody tr:hover{background:#e2e8f0}.numeric{text-align:right;font-variant-numeric:tabular-nums}.mono{font-family:Segoe UI,SFMono-Regular,Menlo,monospace;font-size:13px;color:#0f172a}.status-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:4px;text-transform:capitalize;font-weight:600;background:#eef2ff;color:#312e81;border:1px solid #cbd5e1}.status-chip.completed,.status-chip.delivered{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.status-chip.booked,.status-chip.in_progress,.status-chip.dispatched{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.status-chip.canceled,.status-chip.deleted{background:#fef2f2;color:#b91c1c;border-color:#fecdd3}.state{padding:14px;border-radius:6px;background:#f8fafc;color:#0f172a;text-align:center;border:1px dashed #cbd5e1}.state.error{border:1px solid #fecdd3;background:#fef2f2;color:#991b1b}.modal-backdrop{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;padding:16px;z-index:1000}.modal{background:#fff;border:1px solid #d0d7de;border-radius:10px;box-shadow:0 10px 25px #0f172a33;max-width:1100px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 16px 12px;border-bottom:1px solid #e2e8f0}.modal-actions{display:flex;gap:8px;align-items:center}.modal-header h2{margin:4px 0;color:#0f172a}.modal-body{padding:12px 16px 16px;overflow:auto}.close-btn{background:#e2e8f0;border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;cursor:pointer;font-weight:600}.close-btn:hover{background:#cbd5e1}.detail-table table{font-size:13px}.sticky-header{max-height:60vh;overflow:auto}.sticky-header table thead th{position:sticky;top:0;background:#f1f5f9;z-index:1}.hero-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap;justify-content:flex-start;width:100%}.hero-brand{display:flex;align-items:center;justify-content:flex-start}.hero-logo{height:48px;width:auto;object-fit:contain}.user-panel{display:flex;align-items:center;gap:.65rem;background:transparent;color:#0f172a;padding:0;position:relative;margin-left:auto}.brand-mark{height:36px;width:auto;object-fit:contain;display:block}.user-meta .label{margin-bottom:.25rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#ffffffb3}.user-actions{display:flex;align-items:center;gap:.5rem;position:relative}.icon-button{display:inline-flex;flex-direction:column;justify-content:center;gap:3px;width:36px;height:36px;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;cursor:pointer;padding:6px 8px;transition:background .2s ease,border-color .2s ease,transform .1s ease;box-shadow:none}.icon-button span{display:block;height:2px;width:100%;background:#0f172a;border-radius:4px}.icon-button:hover{background:#e2e8f0;border-color:#94a3b8}.logout-button{background:transparent;border:1px solid #0f172a;color:#0f172a;padding:.35rem .9rem;border-radius:999px;cursor:pointer;transition:background .2s ease,color .2s ease}.logout-button:hover{background:#0f172a;color:#fff}.user-menu{position:absolute;top:110%;right:0;background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 20px #00000014;border-radius:10px;padding:.75rem 1rem;min-width:200px;z-index:10}.user-menu-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:0 0 .25rem}.user-menu-user{font-weight:700;color:#0f172a;margin:0 0 .75rem;word-break:break-word}.login-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem}.login-card{background:#fff;border-radius:20px;padding:2.5rem;width:min(420px,100%);display:flex;flex-direction:column;gap:1rem;box-shadow:0 25px 60px #0f172a33}.login-card label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#0f172a}.login-card input{border:1px solid #cbd5f5;border-radius:999px;padding:.65rem 1rem;font-size:1rem}.login-card button{width:100%}.hint{font-size:.85rem;color:#475569}.doc-actions{display:flex;gap:8px;align-items:center}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:6px;background:#e2e8f0;color:#0f172a;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}.icon-button:hover:not(:disabled){background:#cbd5e1;border-color:#94a3b8}.icon-button:disabled{cursor:not-allowed;opacity:.5}.doc-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.doc-card{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;overflow:hidden;display:flex;flex-direction:column}.doc-card__header{padding:8px 12px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;font-weight:700;font-size:.85rem;color:#0f172a}.doc-card__preview{padding:12px;background:#fff;display:flex;justify-content:center;align-items:center}.doc-card__preview img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:6px;box-shadow:0 10px 25px #0f172a26;background:#0f172a08}.modal.document-modal{max-width:1400px;width:95vw;max-height:95vh}
