@font-face{font-family:DaicoApp;src:url('/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:DaicoApp;src:url('/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
.pwa-panel,.pwa-panel *,.pwa-offline *{box-sizing:border-box}.pwa-panel{width:min(600px,calc(100% - 32px));max-width:600px;max-height:90dvh;padding:0 0 20px;border:1px solid #e0e8ef;border-radius:26px;background:#f5f8fa;color:#0e2a4e;font:15px/1.9 DaicoApp,system-ui,sans-serif;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #0b203740}.pwa-panel::backdrop{background:#0b203766;backdrop-filter:blur(4px)}
.pwa-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#fff;border-bottom:1px solid #e6edf2;min-height:80px}.pwa-head h2{font-size:22px;line-height:1.5;margin:0}.pwa-head>div{min-width:0}.pwa-head>div>small{color:#8091a3;font-size:11px}.pwa-head>button{font-size:12px!important;border-color:#e1e8ee!important;border-radius:99px!important;min-width:62px}
.pwa-panel h3{font-size:18px;line-height:1.6;margin:0 0 12px}.pwa-panel p{margin:8px 0;font-size:14px;line-height:1.9}.pwa-panel section{margin:16px 20px 0;border:1px solid #e0e8ee;border-radius:20px;background:#fff;padding:22px}.pwa-panel [data-app-section][hidden]{display:none!important}.pwa-panel>p{margin:12px 20px}
.pwa-panel button,.pwa-panel select,.pwa-offline button{min-height:46px;padding:10px 15px;border:1px solid #dce5ec;border-radius:12px;background:#fff;color:#0e2a4e;font:inherit;font-size:13px;line-height:1.6;cursor:pointer}.pwa-panel button:disabled{opacity:.5;cursor:not-allowed}.pwa-panel button:hover:not(:disabled){border-color:#a8c9c5}.pwa-panel button:focus-visible,.pwa-access:focus-visible,.pwa-offline button:focus-visible{outline:3px solid #00afad;outline-offset:3px}.pwa-panel button.pwa-primary,.pwa-offline .pwa-primary{background:#0e2a4e;color:#fff;border-color:#0e2a4e}
.pwa-tabs{position:sticky;top:80px;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:9px 20px;background:#f5f8faf5;backdrop-filter:blur(12px);border-bottom:1px solid #e4ebf1}.pwa-tabs>button{border:0;background:transparent;color:#7a8da0;padding:10px 8px;font-size:13px}.pwa-tabs>button[aria-selected=true]{background:#fff;color:#007c78;box-shadow:0 1px 5px #0e2a4e09;font-weight:700}
.pwa-panel section.pwa-app-card{background:linear-gradient(150deg,#e8f5ef,#f3f9fb);border-color:#d8e9e3;display:flex;flex-direction:column;align-items:start;gap:8px;padding:26px}.pwa-mark{display:block;width:60px;height:60px;border-radius:16px}.pwa-eyebrow{font-size:11px;font-weight:700;color:#168875;margin-top:8px}.pwa-app-card h3{font-size:25px!important;margin:0!important}.pwa-app-card p{color:#607a79}.pwa-app-card>.pwa-primary{width:100%;min-height:50px;margin-top:8px}.pwa-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:12px}.pwa-quick-grid>button{display:grid;gap:6px;padding:16px;text-align:start;background:#ffffffb8;border-color:#d9e7e5}.pwa-quick-grid b{font-size:15px}.pwa-quick-grid small{font-size:11px;color:#7a8e95;line-height:1.8}
.pwa-status{font-size:12px!important;padding:7px 12px;background:#e7f3ed;color:#21684d;border-radius:10px}.pwa-status[data-offline=true]{background:#fff0d5;color:#875b13}.pwa-hint{font-size:12px!important;color:#788ca0}.pwa-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pwa-row{padding:18px 0;border-top:1px solid #e7edf2;overflow-wrap:anywhere}.pwa-row:first-child{border:0}.pwa-row>b{font-size:15px;line-height:1.8}.pwa-panel label{display:flex;gap:12px;align-items:center;min-height:48px;font-size:13px;line-height:1.8;padding:8px 0}.pwa-panel input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#008f84}.pwa-panel select{max-width:100%;font-size:14px}
.pwa-install-help{padding:28px}.pwa-install-help h2{font-size:24px;line-height:1.7}.pwa-install-help ol{padding-inline-start:24px;display:grid;gap:16px;font-size:14px;color:#62788d;margin-block:24px}.pwa-install-help>button{width:100%}
.pwa-access{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;height:40px;min-height:40px;border:1px solid #dce6ed;background:#f2f7f8;color:#0e2a4e;border-radius:99px;padding:0 16px;white-space:nowrap;cursor:pointer;font:600 12px/1 var(--body,system-ui)}[data-pwa-open]{position:relative}[data-pwa-open][data-unread]:not([data-unread=""])::after{content:attr(data-unread);position:absolute;top:2px;inset-inline-end:4px;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:99px;background:#f06b61;color:#fff;font:700 9px/12px system-ui}
body[data-app=events] .top .tools{flex-wrap:nowrap;justify-self:end}body[data-app=events] .mpanel [data-pwa-open]{display:block;width:100%;min-height:48px;padding:14px 12px;border:0;border-radius:12px;background:transparent;color:#0e2a4e;text-align:start;font:600 15px/1.4 var(--display);cursor:pointer}body[data-app=events] .mpanel [data-pwa-open]:hover{background:#f0f5f7}
.pwa-panel .pwa-row .pwa-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.pwa-panel .pwa-row .pwa-actions>button{min-width:0;min-height:54px;padding:10px 8px;overflow-wrap:anywhere}.pwa-quick-grid>button{min-height:90px}
.pwa-panel .pwa-section:not(.pwa-app-card)>button{display:block;width:100%;min-height:46px;margin-top:10px}
.pwa-toast{position:fixed;top:calc(16px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:#0e2a4e;color:#fff;border-radius:14px;padding:12px 18px;font:13px/1.8 DaicoApp,system-ui;z-index:10020;box-shadow:0 6px 25px #0e2a4e25}.pwa-network{position:fixed;top:0;inset-inline:0;z-index:10010;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff1d8;color:#735018;padding:8px 12px;font:12px/1.7 DaicoApp,system-ui}.pwa-network>button{border:0;background:transparent;text-decoration:underline;color:inherit;min-height:32px;font:inherit;cursor:pointer}.pwa-update{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom,0px));inset-inline:16px;max-width:420px;margin-inline:auto;z-index:10010;background:#fff;border:1px solid #dbe7ec;border-radius:18px;padding:18px;box-shadow:0 8px 35px #0e2a4e20;font:14px/1.8 DaicoApp,system-ui;color:#0e2a4e}.pwa-update p{margin:0 0 12px}.pwa-update button{min-height:44px;padding:8px 16px;border:0;background:#0e2a4e;color:#fff;border-radius:11px;font:inherit;cursor:pointer}.pwa-ticket-save{margin-top:12px!important}
.pwa-offline{margin:0;min-height:100dvh;background:#f5f8fa;color:#0e2a4e;font:15px/1.9 DaicoApp,system-ui,sans-serif}.pwa-offline main{max-width:720px;margin:auto;padding:24px 20px calc(40px + env(safe-area-inset-bottom,0px))}.offline-head{display:flex;align-items:center;gap:12px;padding:8px 0 24px;border-bottom:1px solid #dde6ed}.offline-head .pwa-mark{width:44px;height:44px;border-radius:12px}.offline-head>span{font-size:13px;font-weight:700}.offline-state{margin-inline-start:auto;background:#fff0d5;color:#875b13;padding:5px 10px;border-radius:9px;font-size:10px!important}.offline-intro{padding:28px 0}.offline-intro h1{font-size:30px;line-height:1.6;margin:10px 0}.offline-intro p{color:#708699;line-height:2;font-size:14px}.offline-intro>.pwa-primary{width:100%;margin-top:16px;min-height:50px}.pwa-offline section{background:#fff;border:1px solid #e0e8ef;border-radius:20px;padding:22px;margin-bottom:18px}.pwa-offline h2{font-size:19px;margin:0 0 12px}.pwa-offline h3{font-size:16px;line-height:1.8}.pwa-offline .pwa-row p{font-size:13px;color:#71849a}.pwa-qr{width:196px;max-width:100%;display:block;background:#fff;padding:10px;margin:16px auto}.pwa-offline code{display:block;text-align:center;direction:ltr;font:700 20px/1.6 system-ui}.pwa-offline button{font-size:13px}.pwa-offline a{color:inherit}
@media(max-width:980px){body[data-app=events] .top .brandrow{flex:1;min-width:0;gap:0}body[data-app=events] .top .brand{width:100%}body[data-app=events] .top .brand svg{width:100%!important;height:auto!important;max-width:174px;max-height:36px}body[data-app=events] .top .tools{gap:6px;flex:none}body[data-app=events] .top .pwa-access{display:inline-flex;min-width:52px;height:44px;padding-inline:10px;font-size:11px}.mtop .mobile-brand{flex:1;min-width:0}.mtop .mobile-brand svg{max-width:140px!important;height:32px!important}.mtop .pwa-access{padding:7px 10px;font-size:11px;flex:none}}
@media(max-width:600px){.pwa-panel{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;border:0;border-radius:0;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.pwa-head{padding:16px 20px;padding-top:calc(16px + env(safe-area-inset-top,0px));min-height:calc(80px + env(safe-area-inset-top,0px))}.pwa-tabs{top:calc(80px + env(safe-area-inset-top,0px));padding:9px 16px}.pwa-panel section{margin:14px 16px 0;padding:20px}.pwa-panel section.pwa-app-card{padding:24px 20px}.pwa-app-card h3{font-size:24px!important}.pwa-panel select{font-size:16px}.pwa-panel>p{margin-inline:16px}.pwa-install-help{padding:28px 22px;padding-top:calc(28px + env(safe-area-inset-top,0px));height:auto;max-height:94dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.pwa-quick-grid>button{padding:14px 10px}.pwa-quick-grid b{font-size:14px}.pwa-panel .pwa-actions>button{flex:1 1 100px}}
/* The bottom navigation already provides App access on phones. */
@media(max-width:980px){body[data-app=events] .top .pwa-access{display:none}}
.pwa-panel [data-app-update][hidden]{display:none}
