*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-size:16px}body{color:#1a1a2e;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#f0f2f5;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;overflow-x:hidden}body::-webkit-scrollbar{display:none}body{-ms-overflow-style:none;scrollbar-width:none}button{cursor:pointer;background:0 0;border:none;font-family:inherit}a{color:inherit;text-decoration:none}.logo-mm{color:#c9a84c;font-family:DM Sans,sans-serif;font-size:2rem;font-weight:700}.logo-chic{color:#1a1a2e;font-family:DM Sans,sans-serif;font-size:2rem;font-weight:300}.app-loading{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100vh;display:flex}.app-loading__logo{gap:2px;display:flex}.app-loading p{color:#64748b;font-size:.9rem}.access-denied{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.access-denied__card{text-align:center;background:#fff;border-radius:16px;width:100%;max-width:360px;padding:32px 24px;box-shadow:0 4px 24px #00000014}.access-denied__card h2{margin:16px 0 8px;font-size:1.25rem}.access-denied__card p{color:#64748b;margin-bottom:24px;font-size:.9rem}.login-screen{background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{text-align:center;background:#fff;border-radius:20px;width:100%;max-width:360px;padding:40px 28px;box-shadow:0 8px 32px #0003}.login-logo{justify-content:center;gap:2px;margin-bottom:8px;display:flex}.login-subtitle{color:#64748b;margin-bottom:32px;font-size:1rem;font-weight:500}.login-error{color:#ef4444;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:16px;padding:10px 14px;font-size:.85rem}.btn{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 24px;font-size:.95rem;font-weight:600;transition:all .2s;display:inline-flex}.btn--primary{color:#fff;background:#c9a84c;width:100%}.btn--primary:hover{background:#b8963f}.btn--primary:disabled{opacity:.6;cursor:not-allowed}.btn--google{color:#1a1a2e;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;padding:14px 24px;font-size:.95rem;font-weight:600;transition:all .2s;display:flex}.btn--google:hover{background:#f8fafc;border-color:#c9a84c}.btn--google:disabled{opacity:.6}.google-icon{flex-shrink:0}.btn--small{border-radius:8px;min-height:36px;padding:8px 16px;font-size:.85rem}.btn--ghost{color:#64748b;background:#f1f5f9}.btn--ghost:hover{background:#e2e8f0}.btn--refresh{color:#64748b;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:8px;padding:12px;font-size:.9rem;font-weight:500;display:flex}.btn--refresh:hover{color:#c9a84c}.btn--action{color:#fff;border-radius:10px;flex:1;min-height:48px;padding:12px 16px;font-size:.9rem;font-weight:600}.btn--transit{background:#f59e0b}.btn--transit:hover{background:#d97706}.btn--delivered{background:#22c55e}.btn--delivered:hover{background:#16a34a}.btn--failed{color:#fff;background:#ef4444}.btn--failed:hover{background:#dc2626}.btn--action:disabled{opacity:.6;cursor:not-allowed}.btn--start{margin-bottom:16px;padding:16px;font-size:1.05rem}.btn-icon{color:#fff;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;transition:background .2s;display:flex}.btn-icon:hover{background:#ffffff1a}.page{background:#f0f2f5;flex-direction:column;max-width:480px;min-height:100vh;margin:0 auto;display:flex;position:relative}.page--detail{padding-bottom:24px}.page__content{flex:1;padding:16px 16px 100px}.header-bar{z-index:100;color:#fff;background:#1a1a2e;align-items:center;gap:12px;min-height:56px;padding:12px 16px;display:flex;position:sticky;top:0}.header-bar__title{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:1.1rem;font-weight:600;overflow:hidden}.header-bar__right{align-items:center;gap:8px;display:flex;position:relative}.profile-menu{z-index:200;color:#1a1a2e;background:#fff;border-radius:12px;min-width:220px;padding:16px;position:absolute;top:56px;right:16px;box-shadow:0 8px 32px #00000026}.profile-menu__name{font-size:.95rem;font-weight:600}.profile-menu__email{color:#64748b;margin-top:2px;font-size:.8rem}.profile-menu hr{border:none;border-top:1px solid #e2e8f0;margin:12px 0}.profile-menu__link,.profile-menu__logout{text-align:left;width:100%;padding:10px 0;font-size:.9rem;font-weight:500;display:block}.profile-menu__link{color:#1a1a2e}.profile-menu__link:hover{color:#c9a84c}.profile-menu__logout{color:#ef4444}.tabs{z-index:90;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;position:sticky;top:56px}.tabs__item{color:#94a3b8;border-bottom:2px solid #0000;flex:1;justify-content:center;align-items:center;min-height:48px;padding:12px 8px;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.tabs__item--active{color:#c9a84c;border-bottom-color:#c9a84c}.batch-card{text-align:left;background:#fff;border-radius:16px;width:100%;margin-bottom:12px;padding:16px;transition:transform .15s,box-shadow .15s;display:block;box-shadow:0 2px 8px #0000000a}.batch-card:active{transform:scale(.98)}.batch-card--history{border-radius:12px}.batch-card__header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.batch-card__name{color:#1a1a2e;font-size:1rem;font-weight:600}.batch-card__date{color:#94a3b8;font-size:.8rem;font-weight:500}.batch-card__stats{gap:12px;margin-bottom:8px;display:flex}.batch-card__count{color:#64748b;font-size:.85rem;font-weight:500}.batch-card__failed{color:#ef4444;font-size:.85rem;font-weight:500}.batch-card__notes{color:#94a3b8;margin-top:4px;font-size:.8rem}.batch-card__progress{background:#e2e8f0;border-radius:3px;height:6px;overflow:hidden}.batch-card__progress-fill{background:linear-gradient(90deg,#c9a84c,#22c55e);border-radius:3px;height:100%;transition:width .3s}.badge{text-transform:uppercase;letter-spacing:.02em;border-radius:20px;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-block}.badge--pending{color:#64748b;background:#f1f5f9}.badge--progress{color:#3b82f6;background:#eff6ff}.badge--completed{color:#22c55e;background:#f0fdf4}.batch-progress{background:#fff;border-radius:12px;margin-bottom:16px;padding:16px;box-shadow:0 2px 8px #0000000a}.batch-progress__bar{background:#e2e8f0;border-radius:5px;height:10px;margin-bottom:8px;overflow:hidden}.batch-progress__fill{background:linear-gradient(90deg,#c9a84c,#22c55e);border-radius:5px;height:100%;transition:width .4s}.batch-progress__text{color:#64748b;justify-content:space-between;font-size:.85rem;font-weight:500;display:flex}.batch-notes{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-bottom:16px;padding:12px;font-size:.85rem}.orders-list{flex-direction:column;gap:12px;display:flex}.order-card{background:#fff;border-left:4px solid #94a3b8;border-radius:12px;padding:16px;transition:border-color .2s;box-shadow:0 2px 8px #0000000a}.order-card--assigned{border-left-color:#94a3b8}.order-card--picked_up{border-left-color:#3b82f6}.order-card--in_transit{border-left-color:#f59e0b}.order-card--delivered{background:#f9fef9;border-left-color:#22c55e}.order-card--failed{background:#fef9f9;border-left-color:#ef4444}.order-card__header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.order-card__ref{color:#94a3b8;font-family:JetBrains Mono,monospace;font-size:.8rem;font-weight:500}.status-pill{text-transform:uppercase;letter-spacing:.03em;border-radius:20px;padding:3px 10px;font-size:.72rem;font-weight:600;display:inline-block}.status-pill--assigned{color:#94a3b8;background:#f1f5f9}.status-pill--picked_up{color:#3b82f6;background:#eff6ff}.status-pill--in_transit{color:#f59e0b;background:#fffbeb}.status-pill--delivered{color:#22c55e;background:#f0fdf4}.status-pill--failed{color:#ef4444;background:#fef2f2}.order-card__recipient{margin-bottom:12px}.order-card__name{color:#1a1a2e;margin-bottom:6px;font-size:1.05rem;font-weight:600}.order-card__phones{flex-direction:column;gap:6px;display:flex}.btn-call{color:#3b82f6;background:#eff6ff;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:8px 12px;font-size:.85rem;font-weight:500;transition:background .2s;display:inline-flex}.btn-call:hover{background:#dbeafe}.btn-call--secondary{color:#64748b;background:#f8fafc;font-size:.8rem}.btn-call--secondary:hover{background:#f1f5f9}.order-card__location{margin-bottom:12px}.order-card__address{color:#334155;margin-bottom:4px;font-size:.9rem;line-height:1.4}.order-card__landmark{color:#64748b;align-items:center;gap:6px;margin-bottom:8px;font-size:.82rem;font-style:italic;display:flex}.btn-gps{color:#fff;background:#22c55e;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px;font-size:.9rem;font-weight:600;transition:background .2s;display:flex}.btn-gps:hover{background:#16a34a}.order-card__slot{color:#64748b;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;align-items:center;gap:6px;margin-bottom:12px;padding:8px 0;font-size:.85rem;font-weight:500;display:flex}.order-card__notes{color:#92400e;background:#fffbeb;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:.82rem;line-height:1.5}.order-card__notes p{margin-bottom:4px}.order-card__notes p:last-child{margin-bottom:0}.order-card__items{background:#f8fafc;border-radius:8px;margin-bottom:12px;padding:10px 12px}.order-card__item{color:#475569;justify-content:space-between;padding:3px 0;font-size:.82rem;display:flex}.order-card__item-qty{color:#1a1a2e;font-family:JetBrains Mono,monospace;font-size:.78rem;font-weight:600}.order-card__total{text-align:right;color:#c9a84c;border-top:1px solid #e2e8f0;margin-top:6px;padding-top:6px;font-size:.9rem;font-weight:700}.order-card__failure-reason{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:.82rem}.action-buttons{gap:10px;margin-top:4px;display:flex}.failure-input{margin-top:10px}.failure-input__field{border:1.5px solid #e2e8f0;border-radius:10px;width:100%;min-height:48px;margin-bottom:10px;padding:12px;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .2s}.failure-input__field:focus{border-color:#ef4444;outline:none}.failure-input__actions{gap:8px;display:flex}.bottom-nav{width:100%;max-width:480px;padding:8px 0;padding-bottom:calc(8px + env(safe-area-inset-bottom));z-index:100;background:#fff;border-top:1px solid #e2e8f0;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav__item{color:#94a3b8;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;min-height:48px;padding:8px;font-size:.72rem;font-weight:500;transition:color .2s;display:flex}.bottom-nav__item--active{color:#c9a84c}.loading-spinner{justify-content:center;padding:48px 0;display:flex}.spinner{border:3px solid #e2e8f0;border-top-color:#c9a84c;border-radius:50%;width:32px;height:32px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;display:flex}.empty-state p{color:#94a3b8;font-size:.95rem}.error-box{text-align:center;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:16px}.error-box p{color:#ef4444;margin-bottom:12px;font-size:.9rem}@media (width>=481px){.page{border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0}}.page__content::-webkit-scrollbar{display:none}.page__content{-ms-overflow-style:none;scrollbar-width:none}
