:root{color-scheme:light;font-family:system-ui,"Noto Sans Arabic",Tahoma,Arial,sans-serif;color:#17263b;background:#f4f7fb;font-size:15px;font-synthesis:none;--navy:#102b49;--navy-2:#1c4268;--ink:#17263b;--muted:#718096;--line:#e2e8ef;--surface:#fff;--bg:#f4f7fb;--accent:#ff7048;--accent-dark:#e65c37;--mint:#e8f2f2;--green:#267965}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 75% -10%,#dce9f2 0,transparent 32rem),var(--bg)}button,input,select,textarea{font:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ff9b78;outline-offset:2px}.shell{width:min(100% - 48px,1080px);margin-inline:auto}.site-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #dce4ec}.brand{display:flex;align-items:center;gap:13px;min-width:0;color:var(--ink);text-decoration:none}.brand-mark{width:66px;height:66px;object-fit:cover;border-radius:17px;box-shadow:0 5px 16px #102b491c}.brand-copy{display:grid;gap:3px}.brand-copy small{color:var(--muted);font-size:12px;white-space:nowrap}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}.muted{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64758a;font-size:12px}.button{min-height:44px;padding:0 17px;border:1px solid transparent;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer;transition:background-color .18s,border-color .18s,transform .18s,box-shadow .18s}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:wait;transform:none}.button-primary{background:var(--accent);color:#17263b;box-shadow:0 7px 18px #e65c3730}.button-primary:hover{background:#ff815f}.button-primary span{font-size:18px;line-height:1}.button-quiet{background:#e9eff5;color:var(--navy)}.button-quiet:hover,.button-outline:hover{background:#edf3f7;border-color:#b9c9d9}.button-outline{min-height:40px;background:#fff;border-color:#d9e2eb;color:var(--navy);font-size:12px}.hero{position:relative;isolation:isolate;overflow:hidden;margin:24px 0 19px;padding:38px 42px;min-height:238px;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff;background:linear-gradient(118deg,#102b49 0%,#173c60 62%,#245272 100%);box-shadow:0 16px 40px #102b491b}.hero:after{position:absolute;z-index:-1;content:"";width:340px;height:340px;left:-115px;top:-180px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 32px #ffffff08,0 0 0 66px #ffffff05}.hero-copy{max-width:610px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#ffb190;font-size:11px;font-weight:800;letter-spacing:.01em}.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #ff70482e}.hero h1{max-width:600px;margin:13px 0 9px;font-size:clamp(28px,4vw,40px);line-height:1.35;letter-spacing:-.6px}.hero p{max-width:520px;margin:0;color:#d3dfeb;font-size:14px;line-height:1.9}.route-visual{flex:0 0 205px;min-height:112px;padding:18px;border:1px solid #ffffff28;border-radius:18px;background:#ffffff0b;display:flex;flex-direction:column;justify-content:center;gap:14px}.route-line{display:flex;align-items:center;gap:9px}.route-dot{width:11px;height:11px;flex:0 0 auto;border:2px solid #fff;border-radius:50%;background:var(--navy-2)}.route-dot.is-arrived{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 5px #ff70482b}.route-dash{height:2px;flex:1;background:repeating-linear-gradient(90deg,#ffffffa8 0 5px,transparent 5px 10px)}.route-copy{display:grid;gap:4px;color:#c9d8e6;font-size:10px}.route-copy strong{color:#fff;font-size:12px}.add-card,.shipment-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 10px 30px #17345109}.add-card{padding:25px 27px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}.section-title h2{margin:4px 0 3px;color:var(--ink);font-size:19px;line-height:1.5}.section-title p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.section-title p b{color:var(--navy);font-variant-numeric:tabular-nums}.step,.count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:27px;padding:3px 10px;border-radius:20px;background:#edf2f7;color:#62758a;font-size:11px;font-weight:700}.count{min-width:28px;vertical-align:middle;background:#eaf0f5;color:var(--navy)}.add-form{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(220px,1.4fr) minmax(130px,.8fr) minmax(155px,1fr) auto;gap:12px;align-items:end}.add-form label,.auth-card label{display:grid;gap:7px;color:#53647a;font-size:12px;font-weight:700}.add-form input,.add-form select,.auth-card input,.detail-card textarea{width:100%;min-width:0;min-height:46px;padding:0 12px;border:1px solid #d9e2eb;border-radius:11px;background:#fbfcfe;color:var(--ink);font-size:13px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}.add-form input:focus,.add-form select:focus,.auth-card input:focus,.detail-card textarea:focus{border-color:#537c9f;background:#fff;box-shadow:0 0 0 3px #537c9f1c}.add-form input::placeholder,.auth-card input::placeholder,.detail-card textarea::placeholder{color:#a0adbb}.add-form .button{min-width:118px;min-height:46px}.tracking-field input{direction:ltr;text-align:left;font-variant-numeric:tabular-nums;letter-spacing:.04em}.message{min-height:20px;margin-top:10px;color:#b84c3b;font-size:12px;line-height:1.7}.list-section{padding:42px 0 24px}.list-section .section-title{margin-bottom:16px}.list-section .eyebrow{color:#708198}.list-section .eyebrow:before{width:6px;height:6px;background:#4b829d;box-shadow:none}.shipment-list{display:grid;gap:13px}.empty{padding:43px 20px;text-align:center;border:1px dashed #cbd8e4;border-radius:20px;background:#ffffff9c;color:var(--muted)}.empty>span{width:49px;height:49px;margin:0 auto 13px;display:grid;place-items:center;border-radius:16px;background:#e9f0f5;color:var(--navy);font-size:25px}.empty h3{margin:0 0 6px;color:#344960;font-size:15px}.empty p{margin:0;font-size:12px;line-height:1.8}.shipment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:19px 20px;transition:border-color .2s,box-shadow .2s}.shipment-card:hover{border-color:#cbd8e4;box-shadow:0 12px 34px #17345110}.shipment-card>div:first-child{min-width:0}.parcel-head{display:flex;align-items:center;gap:12px;min-width:0}.parcel-icon{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #dbe5ed;border-radius:14px;background:#eef3f7;color:var(--navy);font-size:20px}.parcel-head h3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 4px;color:var(--ink);font-size:14px}.tracking-code{display:block;color:#728198;font-family:ui-monospace,Consolas,monospace;font-size:12px;direction:ltr;text-align:right;overflow-wrap:anywhere}.pill{display:inline-flex;align-items:center;min-height:23px;padding:3px 9px;border-radius:20px;background:#e6f2ef;color:#267965;font-size:10px;font-weight:700}.pill.paused{background:#f0f1f3;color:#737e8a}.status{margin:14px 0 5px;color:var(--navy);font-size:14px;font-weight:800;line-height:1.8}.meta{color:#8996a5;font-size:11px;line-height:1.8}.card-actions{display:flex;align-items:center;align-content:flex-start;justify-content:flex-end;flex-wrap:wrap;gap:7px;max-width:176px}.icon-button{width:38px;min-height:38px;padding:0 8px;border:1px solid #e0e7ed;border-radius:11px;background:#fff;color:#5e7085;font-size:16px;cursor:pointer;transition:background .16s,border-color .16s,color .16s}.icon-button:hover{border-color:#c8d6e2;background:#f2f6f9;color:var(--navy)}.icon-button.remove:hover{border-color:#f2c5b9;background:#fff3ef;color:#b64e37}.icon-button.details{width:auto;padding:0 12px;font-size:11px;font-weight:700}.parcel-note{margin:10px 0 0;padding:10px 12px;border-right:3px solid var(--accent);border-radius:8px;background:#fff6f2;color:#6d5960;font-size:12px;line-height:1.8}.timeline{margin-top:15px;padding-top:13px;border-top:1px solid #edf1f5}.event{position:relative;padding:0 18px 14px 0;border-right:1px solid #d9e3eb}.event:last-child{padding-bottom:0;border-right-color:transparent}.event:before{position:absolute;top:5px;right:-4px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px #ef977c;content:""}.event strong{display:block;color:#31465d;font-size:12px;line-height:1.8}.event p{margin:3px 0;color:#758398;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.event time{color:#9aa6b3;font-size:10px}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:13px;padding:18px 0 25px;border-top:1px solid #dce4ec;color:#8794a3;font-size:10px;line-height:1.8}.text-button{border:0;background:none;color:#365e7c;font:inherit;font-weight:700;cursor:pointer}.text-button:hover{text-decoration:underline}dialog{width:min(480px,calc(100% - 28px));max-height:min(88dvh,760px);padding:0;overflow:auto;border:1px solid #e2e8ef;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 28px 90px #0d233d44}dialog::backdrop{background:#102b4980;backdrop-filter:blur(3px)}.auth-card{position:relative;display:grid;gap:14px;padding:30px}.auth-card h2{margin:0;color:var(--navy);font-size:22px;line-height:1.5}.auth-card>p{margin:0;color:#7b8999;font-size:12px;line-height:1.8}.auth-card input{min-height:46px}.auth-card .button{width:100%}.close{position:absolute;top:12px;left:14px;width:38px;height:38px;border:0;border-radius:11px;background:#f0f3f6;color:#5b6b7e;font-size:24px;cursor:pointer}.auth-card .text-button{justify-self:center;font-size:12px}.detail-card{max-height:88dvh;overflow:auto}.detail-card textarea{padding:10px 12px;resize:vertical;line-height:1.8}.detail-card fieldset{display:grid;gap:9px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:13px}.detail-card legend{padding:0 5px;color:#53647a;font-size:12px;font-weight:800}.detail-card fieldset label{display:flex;align-items:center;gap:9px;color:#53647a;font-size:12px}.detail-card input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--navy)}.detail-card .meta{font-size:11px}.detail-timeline{max-height:210px;overflow:auto}.detail-card>p{margin:0;color:#718096;font-size:12px}.offline-banner{position:sticky;top:0;z-index:20;padding:10px 16px;text-align:center;background:#8d402b;color:#fff;font-size:12px;font-weight:700;line-height:1.7}.pwa-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pwa-actions .button{white-space:nowrap}@media(max-width:900px){.add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tracking-field{grid-column:1/-1}.add-form>.button{grid-column:1/-1}.add-form label:nth-of-type(3),.add-form label:nth-of-type(4){min-width:0}}@media(max-width:640px){.shell{width:min(100% - 32px,560px)}.site-header{min-height:75px;gap:10px}.brand{gap:9px}.brand-mark{width:54px;height:54px;border-radius:14px}.brand-copy small{font-size:10px}.header-actions{gap:6px}.header-actions .button{min-height:38px;padding-inline:10px;font-size:11px}.muted{display:none}.hero{min-height:0;margin:17px 0 14px;padding:27px 23px;border-radius:22px}.hero h1{margin:11px 0 7px;font-size:clamp(26px,7vw,33px);line-height:1.45}.hero p{font-size:12px;line-height:1.9}.route-visual{display:none}.add-card{padding:19px 17px;border-radius:18px}.section-title{align-items:center;margin-bottom:14px}.section-title h2{font-size:17px}.section-title p{font-size:11px}.add-form{grid-template-columns:minmax(0,1fr);gap:11px}.tracking-field,.add-form>.button,.add-form label:nth-of-type(3),.add-form label:nth-of-type(4){grid-column:1}.add-form input,.add-form select{min-height:48px;font-size:14px}.add-form .button{width:100%;min-height:48px;margin-top:2px}.list-section{padding:31px 0 18px}.list-section .section-title{align-items:flex-end}.list-section .section-title>.button,.pwa-actions .button{min-height:36px;padding-inline:10px;font-size:10px}.shipment-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px;border-radius:17px}.card-actions{grid-column:1;grid-row:2;justify-content:flex-start;max-width:none}.icon-button{width:40px;min-height:40px}.icon-button.details{padding-inline:13px}.status{margin-top:12px;font-size:13px}.parcel-head h3{font-size:13px}.site-footer{align-items:flex-start;flex-direction:column;gap:7px;padding:15px 0 22px}.auth-card{gap:12px;padding:26px 20px}.auth-card h2{font-size:20px}dialog{width:calc(100% - 18px);max-height:91dvh;border-radius:20px}.detail-card{max-height:91dvh}}@media(max-width:370px){.shell{width:calc(100% - 24px)}.brand-copy small{max-width:92px;white-space:normal;line-height:1.5}.header-actions .button{padding-inline:8px;font-size:10px}.list-section .section-title{align-items:flex-start;flex-direction:column}.pwa-actions{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
