@font-face{font-family:FmdCairo;src:url('/assets/fonts/cairo-arabic-700-normal.woff2');font-weight:700;font-display:swap}
#live-root{--bg:#f5f6f9;--card:#fff;--ink:#131a27;--muted:#667085;--line:#e4e7ee;--brand:#1466f5;--soft:#e3ecfe;line-height:1.7}#live-root[data-theme=dark]{--bg:#0b111c;--card:#141c2b;--ink:#edf1f8;--muted:#9aa6bc;--line:#27324a;--brand:#3b82f6;--soft:#172c57;color-scheme:dark}#live-root header{padding-top:max(10px,env(safe-area-inset-top));gap:10px}#live-root header .live-menu-button{font-size:22px;padding:4px 9px;border:0}#live-root h2{font-size:21px}#live-root svg{width:24px;height:24px;flex-shrink:0}#live-root .live-shell{padding-bottom:95px}#live-root[data-role=public] .live-shell,#live-root[data-role=user] .live-shell{max-width:600px;display:block;padding:16px 16px 100px}#live-root[data-role=public] header,#live-root[data-role=user] header{max-width:600px;margin:auto;padding-inline:16px}#live-root[data-role=public] nav,#live-root[data-role=user] nav{display:none}#live-root.drawer-open nav{display:flex;position:fixed;z-index:9;top:72px;bottom:78px;right:max(0px,calc((100% - 600px)/2));width:280px;overflow:auto;background:var(--card);padding:18px;box-shadow:-10px 0 35px #0004;flex-direction:column;flex-wrap:nowrap;border-radius:16px 0 0 16px}#live-root .live-bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:600px;z-index:7;display:flex;justify-content:space-around;align-items:center;border-top:1px solid var(--line);background:var(--card);padding:7px 5px max(8px,env(safe-area-inset-bottom))}#live-root .live-bottom-nav button{border:0;padding:5px;min-width:54px;min-height:46px;justify-content:center;display:flex;flex-direction:column;align-items:center;font-size:11px;background:transparent}#live-root .live-bottom-nav .live-add{border:4px solid var(--card);border-radius:50%;background:var(--brand);color:#fff;font-size:31px;width:60px;height:60px;margin-top:-26px;box-shadow:0 5px 15px #1466f550;padding:0;line-height:1;justify-content:center}#live-root[data-role=admin] .live-bottom-nav{display:none}#live-root .home-top-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--soft);padding:14px;border-radius:22px}#live-root .home-tile{min-height:115px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;border:0;background:var(--card);box-shadow:0 1px 2px #131a270d;border-radius:17px;font-size:13px;color:var(--brand);padding:10px 6px}#live-root .home-tile svg{width:34px;height:34px}#live-root .home-tile img{width:48px;height:48px;border-radius:12px}#live-root .home-search{display:flex;gap:8px;margin:14px 0}#live-root .home-search input{border-radius:40px;flex:1;min-width:0}#live-root .home-search button{border-radius:30px;background:var(--brand);color:#fff}#live-root .home-feature-rail{display:flex;gap:12px;overflow-x:auto;padding:6px 0 15px;scroll-snap-type:x mandatory;scrollbar-width:thin}#live-root .home-feature{flex:0 0 40%;min-height:135px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:17px;scroll-snap-align:start;background:var(--card);color:var(--brand);text-align:start}#live-root .home-feature:first-child{background:#17181b;color:#fff;border-color:#17181b}#live-root .home-feature small{color:var(--muted);font-size:11px}#live-root .home-feature:first-child small{color:#d7dde8}#live-root .home-categories{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:90px;overflow-x:auto;gap:8px;padding-bottom:16px;scrollbar-width:thin}#live-root .home-categories button{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:transparent;font-size:11px;padding:8px 2px;text-align:center}#live-root .home-categories svg{width:52px;height:52px;padding:13px;border-radius:16px;background:var(--soft);color:var(--brand)}#live-root .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px;flex-wrap:wrap}#live-root .section-heading h2{margin:0}#live-root .home-provider-grid,#live-root .project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#live-root .project-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;min-width:0}#live-root .project-cover{width:100%;display:block;padding:0;aspect-ratio:1.6;position:relative;border:0;border-radius:0;background:var(--soft);color:var(--brand)}#live-root .project-cover>span:first-child{display:grid;place-items:center;width:100%;height:100%}#live-root .project-cover>span>svg{width:56px;height:56px}#live-root .project-cover>img{width:100%;height:100%;object-fit:cover}#live-root .project-cover>.badge{position:absolute;bottom:8px;right:8px;background:var(--card);color:var(--ink);font-size:10px}#live-root .project-card-body{padding:14px}#live-root .project-card-body>p{font-size:12px}#live-root .project-rail{display:flex;overflow:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:12px}#live-root .project-rail>.project-card{flex:0 0 78%;max-width:320px;scroll-snap-align:start}#live-root .project-progress{padding:16px;background:var(--soft);border-radius:15px;margin-bottom:14px}#live-root .project-progress progress{accent-color:var(--brand);height:8px;display:block;margin:10px 0}#live-root .project-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:290px;overflow:auto}#live-root .project-checks label,#live-root .project-check{display:flex;gap:8px;align-items:flex-start;font-size:12px;padding:5px}#live-root .project-checks input,#live-root .project-check input{width:17px;flex:none;margin-top:5px}#live-root .project-checks label{border:1px solid var(--line);border-radius:8px;margin:0}#live-root .project-file-list>div{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere;font-size:11px;margin:5px 0}#live-root .project-images,#live-root .project-public-images{display:flex;gap:10px;overflow:auto;margin:14px 0}#live-root .project-images img{width:110px;height:90px;object-fit:cover;border-radius:10px}#live-root .project-images>div{min-width:110px}#live-root .project-public-images img{max-width:90%;max-height:280px;object-fit:contain;border-radius:16px}#live-root .project-step-actions{margin-top:20px}#live-root .live-add-dialog{border:1px solid var(--line);background:var(--card);color:var(--ink);max-width:460px;width:calc(100% - 28px);border-radius:22px;padding:22px;font:inherit;direction:rtl}#live-root .live-add-dialog::backdrop{background:#07112199}#live-root .project-add-options{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}#live-root .project-add-options button{text-align:start;padding:15px}#live-root .assistant-switch{margin-bottom:15px}#live-root .assistant-switch button[aria-pressed=true]{background:var(--brand);color:white}
@media(max-width:650px){#live-root[data-role=admin] nav{display:none}#live-root[data-role=admin].drawer-open nav{display:flex;right:0}#live-root .home-top-tiles{gap:7px;padding:10px}#live-root .home-tile{font-size:12px;min-height:110px}#live-root .project-card-body{padding:11px}#live-root .project-grid{gap:9px}#live-root .project-checks{grid-template-columns:1fr}#live-root header small{font-size:10px}#live-root header h1{font-size:16px}#live-root .project-card h3{font-size:15px}}

#live-root [data-badge]{position:relative}
#live-root [data-badge]::after{content:attr(data-badge);position:absolute;top:-2px;inset-inline-start:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d92d20;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:700}
#live-root nav [data-badge]::after{top:50%;transform:translateY(-50%);inset-inline-start:auto;inset-inline-end:10px}
#live-root #live-toast{position:fixed;z-index:100000;inset-inline:16px;top:max(12px,env(safe-area-inset-top));max-width:520px;margin-inline:auto;padding:14px 16px;border:0;border-radius:14px;background:var(--ink);color:var(--bg);font-size:15px;text-align:start;box-shadow:0 8px 28px #0006;cursor:pointer}
#live-root #live-toast[hidden]{display:none}
#live-root .card.unread{border-color:var(--brand)}
#live-root .badge-new{display:inline-block;padding:0 8px;border-radius:9px;background:var(--brand);color:#fff;font-size:12px}
#live-root main,#live-root .live-home{min-width:0;max-width:100%}
#live-root a.btn{display:inline-block;padding:12px 18px;border-radius:12px;background:var(--brand);color:#fff;text-decoration:none;font-weight:700}
#live-root button[aria-pressed=true].primary{background:var(--brand);color:#fff}
#live-root .card.safe{border-color:#12b76a;background:color-mix(in srgb,#12b76a 8%,var(--card))}
#live-root .badge-safe{display:inline-block;padding:0 8px;border-radius:9px;background:#12b76a;color:#fff;font-size:12px}

