:root{--navy:#0b1d31;--navy2:#142e49;--blue:#2269d7;--blue2:#e8f1ff;--ink:#18283b;--muted:#64758a;--line:#e2e8f0;--bg:#f3f6fa;--card:#fff;--orange:#e77831;--red:#c83c45;--green:#17856a;--shadow:0 10px 30px rgba(16,39,66,.07);--radius:20px;font-family:Inter,Roboto,"Noto Sans Arabic","Vazirmatn",Tahoma,Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}html{background:var(--bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #81b5ff;outline-offset:2px}.app-shell{max-width:780px;min-height:100vh;margin:0 auto;background:var(--bg);position:relative;box-shadow:0 0 60px rgba(11,29,49,.06);padding-bottom:calc(82px + env(safe-area-inset-bottom))}.topbar{height:78px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;position:sticky;top:0;z-index:10;box-shadow:0 4px 16px rgba(5,19,32,.12)}.brand{display:flex;align-items:center;gap:11px;color:inherit;border:0;background:transparent;text-align:start;padding:0;min-width:0}.brand-mark{width:43px;height:43px;border-radius:14px;background:linear-gradient(145deg,#2f7ee8,#17437a);display:grid;place-items:center;flex:none;box-shadow:inset 0 1px 0 #ffffff55}.brand-mark svg{width:29px;height:29px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-copy strong{font-size:15px;letter-spacing:-.2px;white-space:nowrap}.brand-copy small{font-size:10px;letter-spacing:.5px;color:#b9c9dd}.header-actions{display:flex;align-items:center;gap:8px;flex:none}.lang-toggle,.icon-button{height:38px;min-width:40px;border:1px solid #ffffff35;border-radius:12px;color:white;background:#ffffff12;display:grid;place-items:center;padding:0 10px;font-weight:700}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,780px);height:calc(70px + env(safe-area-inset-bottom));padding:7px 10px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff2;backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:10}.nav-item{border:0;background:transparent;color:#7c8da1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:13px;font-size:10px;font-weight:700}.nav-item.active{color:var(--blue);background:#edf4ff}.nav-ico{font-size:24px;line-height:27px;font-weight:600}.nav-item span:last-child{font-size:10px}
main{padding:20px 17px 28px;min-height:calc(100vh - 148px)}.hero{position:relative;overflow:hidden;padding:24px 22px;border-radius:26px;background:linear-gradient(135deg,#102a45 0%,#173f68 65%,#225f93 100%);color:white;box-shadow:0 16px 34px #0c294526;min-height:218px}.hero:before{content:"";position:absolute;width:240px;height:240px;border:1px solid #ffffff14;border-radius:50%;inset-inline-end:-95px;top:-100px;box-shadow:0 0 0 24px #ffffff07,0 0 0 48px #ffffff05}.hero:after{content:"";position:absolute;width:120px;height:120px;background:#77b8ef12;border-radius:35px;transform:rotate(35deg);inset-inline-end:35px;bottom:-70px}.hero>*{position:relative;z-index:1}.eyebrow{display:inline-flex;gap:6px;align-items:center;background:#ffffff17;border:1px solid #ffffff25;border-radius:30px;padding:6px 10px;color:#d8e8fb;font-size:10px;font-weight:800;letter-spacing:.4px}.hero h1{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:17px 0 9px;max-width:390px}.hero p{font-size:13px;line-height:1.65;color:#d7e3f0;margin:0;max-width:430px}.hero-foot{margin-top:19px;display:flex;gap:8px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#ffffff13;padding:7px 10px;font-size:10px;color:#edf5ff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:25px 2px 13px}.section-head h2{font-size:18px;margin:0;font-weight:850;letter-spacing:-.4px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.text-link{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:800;padding:7px 0;white-space:nowrap}.urgent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.urgent-card{border:1px solid var(--line);background:var(--card);border-radius:17px;padding:13px 10px;text-align:start;min-height:111px;box-shadow:0 4px 14px #17365407}.urgent-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:12px;background:#fff0e4;color:var(--orange);font-size:18px;margin-bottom:10px}.urgent-card:nth-child(2) .urgent-icon{background:#fff0f0;color:var(--red)}.urgent-card:nth-child(3) .urgent-icon{background:#e7f4ff;color:var(--blue)}.urgent-card strong{font-size:12px;display:block;line-height:1.3}.urgent-card small{font-size:10px;color:var(--muted);display:block;margin-top:5px;line-height:1.35}.progress-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:15px 16px;box-shadow:0 5px 18px #16375b08}.progress-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;font-weight:800}.progress-title span:last-child{color:var(--blue)}.progress-track{height:7px;background:#e9eef5;border-radius:8px;overflow:hidden;margin-top:12px}.progress-fill{height:100%;background:linear-gradient(90deg,#236fe0,#52a9f5);border-radius:8px;transition:width .25s}.progress-foot{font-size:10px;color:var(--muted);margin-top:8px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.section-card{position:relative;border:1px solid var(--line);border-radius:19px;background:var(--card);padding:15px 13px 14px;text-align:start;min-height:143px;display:flex;flex-direction:column;box-shadow:0 4px 16px #1c3f5d06;transition:transform .15s,border-color .15s}.section-card:active,.urgent-card:active{transform:scale(.985)}.section-card .card-icon{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;font-size:19px;margin-bottom:12px}.section-card h3{font-size:13px;line-height:1.35;margin:0 0 6px;font-weight:850}.section-card p{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.section-card .chev{position:absolute;inset-inline-end:12px;top:16px;color:#9aa9ba;font-size:19px}.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature-card{padding:16px;border-radius:19px;background:#e9f2ff;border:1px solid #d6e6fc;color:#16395f;text-align:start}.feature-card strong{display:block;font-size:13px;margin:7px 0 5px}.feature-card p{font-size:10px;line-height:1.5;margin:0;color:#526d8b}.feature-card .feature-icon{font-size:21px}.note{padding:13px 14px;background:#fff8e9;border:1px solid #f4e3be;border-radius:15px;color:#7d5922;font-size:11px;line-height:1.6}.note.blue{background:#edf5ff;border-color:#d8e8ff;color:#36587e}.note.red{background:#fff0f0;border-color:#f5cccc;color:#8d2930}.note strong{font-weight:850}.list-stack{display:flex;flex-direction:column;gap:9px}.list-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:13px;text-align:start;width:100%;color:var(--ink)}.list-icon{width:39px;height:39px;flex:none;border-radius:13px;display:grid;place-items:center;font-size:18px;background:#edf4ff}.list-copy{flex:1;min-width:0}.list-copy strong{font-size:12px;display:block;line-height:1.4}.list-copy small{font-size:10px;color:var(--muted);display:block;line-height:1.45;margin-top:3px}.list-row .arrow{color:#96a5b6;font-size:19px}.page-heading{margin:2px 0 18px}.back-row{display:flex;align-items:center;gap:10px;margin-bottom:16px}.back-button{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:20px;color:var(--ink);display:grid;place-items:center;flex:none}.page-heading h1{font-size:23px;line-height:1.25;margin:0 0 7px;letter-spacing:-.5px}.page-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.detail-banner{padding:17px 16px;border-radius:19px;background:linear-gradient(130deg,#142e49,#215889);color:white;display:flex;align-items:center;gap:13px;margin-bottom:17px}.detail-banner .big-icon{width:50px;height:50px;border-radius:16px;background:#ffffff16;display:grid;place-items:center;font-size:24px;flex:none}.detail-banner strong{font-size:14px;display:block}.detail-banner p{font-size:11px;line-height:1.5;color:#dbe9f8;margin:5px 0 0}.subheading{font-size:15px;margin:21px 0 10px;font-weight:850}.action-list{display:flex;flex-direction:column;gap:9px}.action-item{display:flex;align-items:flex-start;gap:11px;border:1px solid var(--line);background:white;border-radius:15px;padding:12px}.action-number{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);font-size:11px;font-weight:900;flex:none}.action-item p{font-size:12px;line-height:1.65;margin:2px 0 0}.button{border:0;background:var(--blue);color:white;border-radius:13px;min-height:44px;padding:12px 16px;font-size:12px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 6px 13px #2269d71f}.button.secondary{background:#e9f2ff;color:#20589b;box-shadow:none}.button.ghost{background:white;border:1px solid var(--line);color:var(--ink);box-shadow:none}.button.full{width:100%}.button-row{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.searchbar{width:100%;display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;padding:0 14px;min-height:51px;margin:0 0 16px}.searchbar svg{width:20px;height:20px;stroke:#8294a8;fill:none;stroke-width:2;flex:none}.searchbar input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:13px;color:var(--ink)}.searchbar input:focus{outline:0}.tab-strip{display:flex;gap:6px;background:#e9eef5;padding:5px;border-radius:14px;margin:15px 0}.tab-button{flex:1;border:0;border-radius:10px;padding:10px 7px;background:transparent;color:#65768a;font-size:11px;font-weight:800}.tab-button.active{background:white;color:var(--blue);box-shadow:0 2px 7px #14345412}.checklist-group{border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden;margin-bottom:12px}.checklist-head{padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcfe;border-bottom:1px solid var(--line)}.checklist-head strong{font-size:13px}.checklist-head small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.check-count{font-size:10px;background:#e9f2ff;color:#2462ad;padding:5px 8px;border-radius:999px;white-space:nowrap}.check-item{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border-bottom:1px solid #f0f3f7;cursor:pointer}.check-item:last-child{border-bottom:0}.check-item input{appearance:none;width:19px;height:19px;border:1.7px solid #b9c7d7;border-radius:6px;flex:none;margin:1px 0 0;display:grid;place-items:center;background:#fff}.check-item input:checked{background:var(--green);border-color:var(--green)}.check-item input:checked:after{content:'✓';font-size:13px;color:#fff;font-weight:900}.check-item span{font-size:12px;line-height:1.55}.check-item.done span{color:#8a98a9;text-decoration:line-through}.setting-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0}.setting-row .list-icon{border-radius:12px}.setting-row strong{font-size:12px;display:block}.setting-row small{font-size:10px;color:var(--muted);display:block;margin-top:4px;line-height:1.5}.setting-row .trailing{margin-inline-start:auto}.switch{width:44px;height:26px;border-radius:20px;background:#cbd5e1;border:0;padding:3px;display:flex;align-items:center;transition:background .2s}.switch:before{content:"";width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}.switch.on{background:var(--green)}.switch.on:before{transform:translateX(18px)}[dir=rtl] .switch.on:before{transform:translateX(-18px)}.source-body{border-radius:16px;border:1px solid var(--line);background:white;padding:14px;max-height:none;overflow-wrap:anywhere}.source-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0;color:#334155}.source-tools{display:flex;gap:8px;margin:13px 0}.source-tools input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;background:white;padding:10px;font-size:12px}.source-count{font-size:10px;color:var(--muted);margin-bottom:8px}.empty-state{text-align:center;padding:30px 18px;color:var(--muted);font-size:12px;line-height:1.6}.emergency-number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.emergency-num{border:1px solid var(--line);background:white;border-radius:15px;padding:14px 8px;text-align:center}.emergency-num strong{font-size:22px;display:block;color:var(--blue);letter-spacing:.5px}.emergency-num span{font-size:10px;color:var(--muted);display:block;margin-top:4px}.toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:30;background:#142e49;color:#fff;border-radius:12px;padding:11px 16px;font-size:12px;box-shadow:0 8px 22px #0002;transition:all .22s;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.muted{color:var(--muted)}.small-caps{font-size:10px;font-weight:900;letter-spacing:.6px;color:var(--muted)}.spacer-12{height:12px}.hidden{display:none!important}.empty-filter{padding:14px;color:var(--muted);font-size:12px}.source-status{font-size:10px;padding:8px 10px;background:#f2f6fb;border-radius:10px;color:#60758d;line-height:1.5}
[dir=rtl] .hero h1{letter-spacing:0;line-height:1.45}[dir=rtl] .brand-copy strong{letter-spacing:0}[dir=rtl] .section-card h3,[dir=rtl] .list-copy strong{line-height:1.55}[dir=rtl] .section-card .chev{transform:scaleX(-1)}[dir=rtl] .list-row .arrow{transform:scaleX(-1)}[dir=rtl] .action-item p,[dir=rtl] .check-item span{line-height:1.85}[dir=rtl] .nav-ico{font-family:Arial,sans-serif}[dir=rtl] .hero p,[dir=rtl] .page-heading p,[dir=rtl] .list-copy small{line-height:1.85}
@media(min-width:620px){main{padding:26px 25px 34px}.hero{padding:30px 29px;min-height:230px}.hero h1{font-size:32px}.section-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.urgent-card{min-height:125px;padding:16px}.section-card{min-height:155px;padding:17px}.brand-copy strong{font-size:16px}}
@media(max-width:380px){.topbar{padding:10px 12px}.brand-mark{width:38px;height:38px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:9px}.hero{padding:20px 17px}.hero h1{font-size:24px}.urgent-grid{gap:7px}.urgent-card{padding:10px 8px}.urgent-card strong{font-size:11px}.section-card{padding:12px 10px;min-height:145px}.section-card h3{font-size:12px}main{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
