:root{font-family:Cairo,Arial,sans-serif;color:#281345;background:#fff;font-synthesis:none;font-weight:500;--ink:#281345;--muted:#847b97;--purple:#7950e8;--purple-dark:#432477;--lilac:#f4efff;--line:#eae2fb;--surface:#fff;--mint:#e3f8ef;--green:#157d68;--peach:#ffede3;--orange:#b85b22;--shadow:0 8px 30px #3e207607;--radius:18px}:root[data-theme=dark]{color-scheme:dark;--ink:#f0eaff;--muted:#b7accb;--line:#45365c;--surface:#251b34;--lilac:#352449;background:#1b1328;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:inherit}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{color:inherit}svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9d7df3;outline-offset:3px}::selection{background:#dfd0ff}button{border:0}img{max-width:100%}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}.app-shell{max-width:820px;margin:auto;padding:0 14px 108px;min-height:100dvh}.app-header{height:87px;display:flex;align-items:center;justify-content:space-between;gap:12px;direction:ltr;padding:10px 1px 12px}.brand{display:inline-flex;align-items:center;gap:5px;font-family:Arial,sans-serif;font-size:29px;font-weight:850;letter-spacing:-1.2px;color:#15072a;white-space:nowrap}.brand-accent{color:#7150cb}.brand svg{color:#7850d1}.header-round{width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(145deg,#f6f1ff,#faf8ff);border-radius:50%;color:var(--purple-dark);position:relative}.header-round img{width:48px;height:48px;object-fit:cover;border-radius:50%}.profile-button svg{color:#8157db}.notification-dot{position:absolute;width:11px;height:11px;background:#ffac87;border-radius:50%;top:5px;right:6px;border:2px solid white}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:var(--lilac);width:42px;height:42px;border-radius:12px;color:var(--purple-dark)}main:focus{outline:none}.skip-link{position:fixed;top:-80px;z-index:100;right:20px;background:var(--purple);color:#fff;padding:12px}.skip-link:focus{top:12px}.hero{border-radius:21px;background:linear-gradient(110deg,#432477,#6542c8 58%,#8760f8);color:#fff;overflow:hidden;position:relative;padding:18px 14px 13px;isolation:isolate}.hero-top{display:grid;grid-template-columns:1.08fr 1fr;direction:ltr;min-height:158px;align-items:center;position:relative}.hero-copy{direction:rtl;text-align:right;padding:0 6px;position:relative;z-index:1}.hero-copy h1{font-size:clamp(23px,4.7vw,38px);font-weight:850;line-height:1.65;color:#fff;letter-spacing:-.5px}.hero-copy p{color:#e2d6ff;font-size:clamp(14px,2.8vw,21px);font-weight:600;line-height:1.8}.hero-art{width:115%;max-width:none;height:190px;object-fit:contain;object-position:bottom center;align-self:end;margin-left:-12%;position:relative;z-index:0}.hero-compact{padding:10px 12px}.hero-compact .hero-top{min-height:99px;grid-template-columns:1.5fr 1fr}.hero-compact .hero-art{height:115px}.hero-compact .hero-copy h1{font-size:29px;line-height:1.4}.hero-compact .hero-copy p{font-size:14px;margin-top:4px}.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#ffffff18;border:1px solid #ffffff22;border-radius:15px;margin-top:4px;direction:ltr;padding:13px 0 11px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.hero-stat{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;column-gap:8px;padding:0 6px;direction:ltr;min-width:0}.hero-stat+.hero-stat{border-left:1px solid #ffffff3a}.hero-stat strong{font-family:Arial,sans-serif;font-size:30px;font-weight:800;color:#fff;line-height:1.2}.hero-stat .stat-text{direction:rtl;text-align:center}.hero-stat small{display:block;font-size:10px;white-space:nowrap;color:#e9e2ff;line-height:1.8;margin-top:3px}.stat-symbol{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:var(--green);background:var(--mint)}.stat-symbol.peach{background:var(--peach);color:var(--orange)}.stat-progress{height:5px;width:62px;border:1px solid #eae2ff;border-radius:10px;margin-top:6px;overflow:hidden}.stat-progress span{height:100%;display:block;background:#fff;border-radius:10px}.section-heading{font-size:23px;font-weight:850;margin:21px 0 12px;line-height:1.6;letter-spacing:-.4px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading-row .section-heading{margin-bottom:11px}.text-link{color:#7045cb;font-size:13px;font-weight:700}.shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:108px;padding:15px 4px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);color:#5d3ba4;font-size:17px;font-weight:650;transition:background .15s,transform .15s}.shortcut svg{width:37px;height:37px;stroke-width:1.65}.shortcut:hover{background:var(--lilac);transform:translateY(-1px)}.shortcut span{color:var(--ink);line-height:1.6;white-space:nowrap}.shortcut.active{border-color:var(--purple);background:var(--lilac);color:var(--purple)}.visit-list{display:grid;gap:9px}.visit-card{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:13px 11px;box-shadow:var(--shadow);min-width:0}.avatar{height:41px;width:41px;display:grid;place-items:center;background:linear-gradient(130deg,#f6f0ff,#ece3ff);border-radius:50%;color:#8b65dc;flex-shrink:0}.visit-copy{min-width:0;flex:1}.visit-copy h3{font-size:17px;font-weight:850;line-height:1.6;overflow-wrap:anywhere}.visit-copy p{font-size:11px;color:var(--muted)}.visit-status{display:flex;flex-direction:column;align-items:center;gap:5px;max-width:130px}.status{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:40px;background:var(--lilac);color:#7850c8;font-size:11px;font-weight:750;line-height:1.8;white-space:nowrap}.status.pending{color:var(--orange);background:var(--peach)}.status.in_transit,.status.completed{color:var(--green);background:var(--mint)}.status.on_site{background:#e7f2fe;color:#366caa}.visit-card .button{padding:9px 14px;min-height:38px;font-size:13px;border-radius:10px;flex-shrink:0}.button{min-height:45px;border-radius:12px;padding:10px 19px;background:linear-gradient(110deg,#6540d4,#865df0);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:15px;font-weight:750;border:1px solid transparent;line-height:1.6}.button.secondary{background:var(--surface);border-color:#9370e8;color:#6741bd}.button.ghost{background:var(--lilac);color:#6947b0}.button.danger{background:#fff0f1;color:#b32844;border-color:#f0bdc6}.button.full{width:100%}.button svg{width:20px;height:20px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.button-row>*{flex:1}.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translate(-50%);width:min(100%,820px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px 11px calc(9px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid #efe8fa;border-radius:23px 23px 0 0;box-shadow:0 -7px 28px #4d287908;direction:rtl}.bottom-nav.admin-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;padding:6px 2px;border-radius:13px;color:#80768f;font-size:12px;white-space:nowrap}.bottom-nav a.active{background:linear-gradient(125deg,#f3ecff,#f0e9fc);color:#6741bd;font-weight:850}.bottom-nav a svg{stroke-width:1.8}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.stack{display:grid;gap:14px}.page-title{font-size:25px;margin:7px 0 18px;font-weight:850}.muted{color:var(--muted)}.small{font-size:12px}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field>span,.field>label{font-size:13px;font-weight:650;color:#57416f}.field input,.field textarea,.field select,.search-input{width:100%;border:1px solid #d9c9f5;border-radius:9px;background:var(--surface);color:var(--ink);padding:11px 12px;min-height:45px;line-height:1.6;font-size:14px;outline-offset:2px}.field input::placeholder,.field textarea::placeholder{color:#b3aabb}.field input[readonly]{background:#faf8ff}.field textarea{resize:vertical;min-height:105px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid .wide{grid-column:1/-1}.field-error{font-size:11px;color:#b23b4d}.notice{border-radius:12px;padding:12px 14px;background:var(--lilac);color:#614389;font-size:13px;line-height:1.9}.notice.error,.form-error{background:#fff0f2;color:#b42b4c}.form-error{border-radius:10px;padding:11px 13px;margin-bottom:12px;font-size:13px;line-height:1.8}.notice.success{background:var(--mint);color:var(--green)}.async-state{padding:32px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--muted);text-align:center;min-height:150px;font-size:14px}.empty-icon{width:64px;height:64px;display:grid;place-items:center;background:var(--lilac);color:#8864d0;border-radius:20px}.error-state{color:#a73d55}.search-box{position:relative}.search-box>.search-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#8e77b4}.search-box input{padding-right:42px}.toolbar{display:flex;align-items:center;gap:10px;margin:16px 0}.toolbar .search-box{flex:1}.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;margin:13px 0;scrollbar-width:thin}.chip{background:var(--surface);border:1px solid var(--line);color:var(--muted);padding:7px 17px;min-height:40px;border-radius:25px;white-space:nowrap;font-size:13px}.chip.active{background:var(--lilac);border-color:var(--purple);color:var(--purple-dark);font-weight:750}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;padding:20px;font-size:13px}.pagination button{background:var(--lilac);color:var(--purple);border-radius:8px;padding:8px 14px}.pagination button:disabled{opacity:.35;cursor:default}.auth-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:45px 22px 30px;max-width:480px;margin:auto}.auth-page .brand{font-size:34px}.auth-art{height:185px;width:100%;object-fit:contain;margin-top:25px}.auth-card{width:100%;margin-top:18px}.auth-card h1{font-size:27px;font-weight:850;text-align:center}.auth-card>p{text-align:center;font-size:14px;color:var(--muted);margin:8px 0 24px}.auth-form{display:grid;gap:16px}.auth-options{display:flex;align-items:center;justify-content:space-between;font-size:13px}.checkbox{display:flex;align-items:center;gap:7px;font-size:13px}.checkbox input{accent-color:var(--purple);width:17px;height:17px}.auth-footer{font-size:12px;color:var(--muted);margin-top:auto;padding-top:27px;text-align:center}.auth-link{display:block;text-align:center;color:var(--purple);font-weight:750;font-size:14px;margin-top:18px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#20103466;display:flex;align-items:center;justify-content:center;padding:18px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{width:min(100%,550px);max-height:90dvh;overflow:auto;background:var(--surface);border-radius:22px;padding:20px;box-shadow:0 25px 90px #1d10394d}.modal>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.modal h2{font-size:21px}.toast{position:fixed;z-index:150;left:50%;transform:translate(-50%);bottom:100px;width:max-content;max-width:calc(100% - 35px);padding:12px 19px;background:#35204d;color:#fff;border-radius:12px;box-shadow:0 5px 25px #29134430;font-size:13px;text-align:center}.connection-banner{background:#fff2db;color:#8f5f15;text-align:center;padding:8px 13px;font-size:12px}.update-banner{background:#f1eafa;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px}.update-banner button{background:#7045c7;color:#fff;border-radius:7px;padding:5px 12px}.map-header{direction:ltr}.map-header .brand{font-size:24px}.map-header .brand svg{width:28px}.map-title{font-size:23px;color:var(--ink)}.report-sections .shortcut{min-height:95px;font-size:15px}.report-sections .shortcut svg{width:31px;height:31px}.report-section{scroll-margin-top:15px;margin-top:15px}.report-section h2{font-size:23px;margin-bottom:12px}.report-section .form-grid .field:nth-child(-n+2){grid-column:1/-1}.report-section .field[hidden]{display:none}.save-bar{position:sticky;bottom:86px;z-index:20;padding:10px 0 0;margin-top:20px;background:var(--surface);display:grid;grid-template-columns:1.6fr 1fr;gap:9px;border-top:1px solid var(--line)}.save-bar .button{min-height:47px}.report-list-card{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-top:11px}.report-list-card .avatar{width:45px;height:45px}.report-list-card .report-copy{flex:1;min-width:0}.report-list-card h3{font-size:19px;font-weight:850}.report-list-card p{color:var(--muted);font-size:12px;line-height:1.9}.report-list-card time{color:var(--muted);font-family:Arial,sans-serif;font-size:12px;direction:ltr;white-space:nowrap}.report-filter{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:13px}.report-filter .shortcut{min-height:96px;font-size:16px}.export-row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:17px 15px;color:var(--purple-dark);font-size:18px;font-weight:800;margin-top:15px}.export-row>span{display:flex;align-items:center;gap:11px}.export-row svg:first-child{color:var(--purple)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-item{font-size:14px;overflow-wrap:anywhere}.detail-item dt{color:var(--muted);font-size:12px;margin-bottom:4px}.detail-item dd{margin:0;font-weight:700;white-space:pre-wrap}.detail-item.wide{grid-column:1/-1}.user-card{display:flex;gap:12px;align-items:center;padding:15px}.user-card .user-copy{flex:1;min-width:0}.user-card h3{font-size:16px}.user-card p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.user-card .icon-button{background:transparent}.profile-avatar{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:var(--lilac);color:var(--purple);margin:0 auto 10px;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.settings-row{display:flex;align-items:center;gap:12px;padding:16px 13px;background:var(--surface);border:1px solid var(--line);border-radius:14px;width:100%;text-align:right}.settings-row .row-copy{flex:1;font-size:15px;font-weight:700}.settings-row .row-copy small{display:block;font-size:11px;color:var(--muted);font-weight:500;margin-top:3px}.settings-row>svg{color:var(--purple)}.toggle{appearance:none;position:relative;width:42px;height:25px;background:#d4cbdc;border-radius:20px;cursor:pointer;flex-shrink:0;transition:background .2s}.toggle:before{content:"";position:absolute;height:19px;width:19px;border-radius:50%;top:3px;left:3px;background:#fff;transition:transform .2s}.toggle:checked{background:var(--purple)}.toggle:checked:before{transform:translate(17px)}.article-card{display:flex;gap:13px;padding:17px;background:var(--surface);border:1px solid var(--line);border-radius:15px}.article-card .article-icon{width:48px;height:48px;background:var(--lilac);color:var(--purple);border-radius:13px;display:grid;place-items:center;flex-shrink:0}.article-card h3{font-size:17px;font-weight:800}.article-card p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:5px}.article-body{font-size:16px;line-height:2.1;color:var(--ink);overflow-wrap:anywhere}.article-body h2{font-size:23px;margin:22px 0 12px}.article-body h3{font-size:20px;margin:18px 0 10px}.article-body p{margin:10px 0}.article-body a{color:var(--purple);text-decoration:underline}.article-body img{height:auto;border-radius:12px}.article-body ul,.article-body ol{padding-inline-start:25px}.notification-card{display:flex;gap:12px;padding:17px;text-align:right;width:100%;color:var(--ink)}.notification-card.unread{background:#f9f5ff}.notification-card h3{font-size:15px}.notification-card p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.notification-card time{font-size:11px;color:var(--muted)}.notification-card .notification-copy{flex:1}.steps{display:flex;gap:8px;margin:18px 0}.step{flex:1;text-align:center;color:var(--muted);font-size:11px;position:relative}.step .step-icon{width:35px;height:35px;background:var(--lilac);color:var(--muted);border-radius:50%;display:grid;place-items:center;margin:0 auto 6px}.step.done .step-icon{background:var(--mint);color:var(--green)}.step.current .step-icon{background:var(--purple);color:#fff}@media(min-width:650px){.app-shell{padding-inline:24px}.app-header{height:100px}.hero{padding:23px 22px 18px;border-radius:25px}.hero-top{min-height:220px}.hero-art{height:255px}.hero-copy h1{font-size:37px}.hero-copy p{font-size:22px}.hero-stats{padding:18px 0}.hero-stat strong{font-size:37px}.hero-stat small{font-size:13px}.stat-symbol{width:43px;height:43px}.shortcut{min-height:137px;font-size:21px;gap:12px}.shortcut svg{width:45px;height:45px}.section-heading{font-size:29px;margin-top:27px}.visit-card{padding:17px;gap:15px}.visit-copy h3{font-size:21px}.visit-copy p,.status{font-size:13px}.visit-card .button{font-size:16px;padding:10px 25px}.bottom-nav a{font-size:15px;min-height:67px}.bottom-nav a svg{width:31px;height:31px}.hero-compact .hero-top{min-height:145px}.hero-compact .hero-art{height:160px}.hero-compact .hero-copy h1{font-size:38px}.hero-compact .hero-copy p{font-size:18px}.panel{padding:24px}.field input,.field textarea,.field select{font-size:16px}.field>span,.field>label{font-size:15px}.form-grid{gap:17px}.report-sections .shortcut{min-height:120px;font-size:19px}.report-sections .shortcut svg{width:39px;height:39px}.report-list-card h3{font-size:23px}.report-list-card p{font-size:14px}}@media(max-width:359px){.app-shell,.hero{padding-inline:10px}.hero-copy h1{font-size:21px}.hero-copy p{font-size:12px}.hero-art{height:165px}.hero-stat{column-gap:4px}.hero-stat strong{font-size:25px}.hero-stat small{font-size:9px}.stat-symbol{width:27px;height:27px}.shortcut{font-size:15px;min-height:97px}.visit-card{gap:6px;padding:10px 7px}.visit-card .avatar{width:30px;height:30px}.visit-copy h3{font-size:15px}.visit-card .button{font-size:11px;padding:8px 10px}.status{font-size:10px;padding:3px 7px}.bottom-nav a{font-size:10px}.brand{font-size:25px}}@media(max-width:649px){.app-shell{padding-inline:10px;padding-top:env(safe-area-inset-top);padding-bottom:calc(108px + env(safe-area-inset-bottom))}.app-header{height:64px;padding-block:8px}.app-header .brand{font-size:20px;letter-spacing:-.6px;gap:3px}.app-header .brand svg{width:25px;height:25px}.app-header:not(.map-header) .brand{margin-left:auto;margin-right:0}.header-round,.header-round img{width:44px;height:44px}.hero{padding:12px 10px 10px}.hero-top{display:grid;grid-template-columns:62% 38%;min-height:140px}.hero-copy{position:relative;width:100%;padding:0 4px;overflow-wrap:anywhere}.hero-copy h1{font-size:clamp(21px,6.4vw,26px);line-height:1.6}.hero-copy p{font-size:13px}.hero-art{position:absolute;right:-5px;bottom:-3px;margin:0;width:43%;height:148px}.hero-stats{padding:9px 0 8px}.hero-stat{gap:7px}.hero-stat strong{font-size:25px;line-height:1.08}.hero-stat small{margin-top:2px}.stat-progress{margin-top:4px}.hero-compact .hero-top{min-height:106px}.hero-compact .hero-art{height:115px;width:40%}.hero-compact .hero-copy h1{font-size:27px}.hero-compact .hero-copy p{font-size:13px}.section-heading{font-size:22px;margin-top:17px;margin-bottom:10px}.shortcut{min-height:104px;padding-block:12px;font-weight:600}.shortcut-grid{gap:8px}.bottom-nav{padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom))}.bottom-nav a{min-height:54px;padding-block:3px;gap:3px;line-height:1.5}.bottom-nav a svg{width:25px;height:25px}.field input,.field select,.field textarea,.search-input{font-size:16px}.home-shell{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.home-shell .hero-top{min-height:120px}.home-shell .section-heading{font-size:21px;line-height:1.5;margin-top:12px;margin-bottom:7px}.home-shell .heading-row .section-heading{margin-bottom:7px}}.save-bar{bottom:calc(86px + env(safe-area-inset-bottom))}:root[data-theme=dark] .brand{color:var(--ink)}:root[data-theme=dark] .header-round{background:var(--lilac)}:root[data-theme=dark] .shortcut{color:#bba0ff}
