/* The finance day (Noor, web) and the canteen day (Abu Nader, phone). Scoped: .device-ui .fn-* / .an-*. */

/* ================= Noor: the web shell, re-accented per section (web/src/core/moduleTheme.js) ================= */
.device-ui .wb.fn { font-size: 15px; --accS: color-mix(in oklab, var(--acc) 11%, white); --accD: color-mix(in oklab, var(--acc) 78%, black); --accP: color-mix(in oklab, var(--acc) 82%, black); }
.device-ui .wb.fn .wside { overflow-y: auto; gap: 12px; padding: 16px 14px; scrollbar-width: none; }
.device-ui .wb.fn .wsec { background: var(--acc); box-shadow: 0 10px 24px -12px var(--acc); padding: 9px 12px; }
.device-ui .wb.fn .wsec > svg { width: 18px; height: 18px; opacity: .8; }
.device-ui .fn-nav { gap: 1px; }
.device-ui .fn-nav a { padding: 7px 12px; font-size: 14px; cursor: pointer; }
.device-ui .fn-nav a span { flex: 1; }
.device-ui .fn-nav a svg { color: var(--faint); }
.device-ui .fn-nav a.on { background: var(--accS); color: var(--accD); font-weight: 600; }
.device-ui .fn-nav a.on svg { color: var(--acc); }
.device-ui .fn-nav a.inert { cursor: default; }
.device-ui .fn-nav a em { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.device-ui .fn-ng { margin: 0; padding: 10px 12px 2px; font-size: 12px; font-weight: 500; color: var(--muted); } .device-ui .fn-ng.first { padding-top: 2px; }
.device-ui .fn-svc { margin-top: 8px; } .device-ui .fn-svc > div { gap: 10px 4px; }
.device-ui .fn-svc span { cursor: pointer; } .device-ui .fn-svc span.inert { cursor: default; }
.device-ui .fn-svc i { position: relative; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 6px 14px -8px var(--c); }
.device-ui .fn-svc i svg { width: 19px; height: 19px; }
.device-ui .fn-svc span.on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.device-ui .fn-svc span small { font-size: 10.5px; white-space: normal; text-align: center; line-height: 1.2; width: 100%; }
.device-ui .fn-svc span.on small { color: var(--accD); font-weight: 600; }
.device-ui .fn-svc i em { position: absolute; top: -6px; left: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: #E5484D; color: #fff; font: 700 10.5px/18px var(--f-ar); font-style: normal; border: 2px solid #fff; box-sizing: content-box; }
.device-ui .wb.fn .wmain { background: linear-gradient(to bottom, color-mix(in oklab, var(--acc) 7%, transparent), transparent 180px); }
.device-ui .wb.fn .wu i { background: var(--accP); }
.device-ui .wb.fn .wbtn.pri { background: var(--accP); color: #fff; }
.device-ui .wb.fn .wbtn.ghost { color: var(--accD); }
.device-ui .wb.fn .wbtn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.device-ui .wb.fn .wbtn:disabled { opacity: .5; }
.device-ui .fn-page.wpage.scroll { padding: 16px 24px 40px; max-width: none; }
.device-ui .fn-m { white-space: nowrap; font-variant-numeric: tabular-nums; }
.device-ui .fn-m.b, .device-ui .fn-tbl td.b { font-weight: 600; }
.device-ui .fn-m.good, .device-ui .good { color: #12803F; } .device-ui .fn-m.bad, .device-ui b.bad { color: #D93A3F; } .device-ui .fn-m.mut, .device-ui .mut { color: var(--muted); }
.device-ui b.warn { color: #8a5d05; } .device-ui .fn-m.pri { color: var(--accP); } .device-ui .fn-m.big { font-size: 22px; font-weight: 600; } .device-ui .fn-m.xs { font-size: 11.5px; display: block; } .device-ui .fn-m.sm { font-size: 13px; }
.device-ui .num { font-variant-numeric: tabular-nums; }

/* page header (core/ui/PageHeader.jsx) */
.device-ui .fn-ph { display: flex; align-items: flex-end; gap: 14px; margin: 0 0 16px; }
.device-ui .fn-phi { width: 46px; height: 46px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--accS); color: var(--accD); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--acc) 15%, transparent); align-self: center; }
.device-ui .fn-phi svg { width: 22px; height: 22px; }
.device-ui .fn-pht { flex: 1; min-width: 0; } .device-ui .fn-pht small { display: block; color: var(--accD); opacity: .8; font-weight: 500; font-size: 12px; }
.device-ui .fn-pht h1 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.2px; } .device-ui .fn-pht p { margin: 3px 0 0; font-size: 13px; color: var(--muted); max-width: 64ch; }
.device-ui .fn-pha { display: flex; gap: 8px; align-items: center; flex: none; }
.device-ui .fn-pp { display: inline-flex; align-items: center; gap: 2px; height: 34px; border: 1px solid #E4E2DB; border-radius: 8px; background: #fff; padding: 0 4px; font-size: 13px; }
.device-ui .fn-pp b { font-weight: 500; padding: 0 8px; min-width: 96px; text-align: center; } .device-ui .fn-pp svg { width: 16px; height: 16px; color: var(--muted); } .device-ui .fn-pp .dim { opacity: .35; display: inline-flex; }

/* KPI strip, stats, cards */
.device-ui .fn-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: #E9E6DE; border: 1px solid #E9E6DE; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.device-ui .fn-kpis.two { grid-template-columns: 1fr 1fr; } .device-ui .fn-kpis.five { grid-template-columns: repeat(5, 1fr); }
.device-ui .fn-kpi { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; text-align: right; min-width: 0; }
.device-ui button.fn-kpi { cursor: pointer; } .device-ui button.fn-kpi:hover { background: #FAFAF8; }
.device-ui .fn-kpi small { font-size: 12.5px; color: var(--muted); } .device-ui .fn-kpi b { font-size: 19px; font-weight: 600; letter-spacing: -.3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.device-ui .fn-kpi b.good { color: #12803F; } .device-ui .fn-kpi em { font-style: normal; font-size: 11.5px; color: var(--muted); } .device-ui .fn-kpi .wbtn { align-self: flex-start; margin-top: 4px; }
.device-ui .fn-stats { display: flex; gap: 1px; background: #E9E6DE; border: 1px solid #E9E6DE; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.device-ui .fn-stats > div { flex: 1; background: #fff; padding: 9px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.device-ui .fn-stats small { font-size: 11.5px; color: var(--muted); } .device-ui .fn-stats b { font-size: 17px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.device-ui .fn-stats b.good { color: #12803F; } .device-ui .fn-stats em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.device-ui .fn-card { background: #fff; border: 1px solid #E9E6DE; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.device-ui .fn-card > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #ECEAE4; min-height: 48px; }
.device-ui .fn-card h2, .device-ui .fn-h2 { margin: 0; font-size: 14.5px; font-weight: 600; } .device-ui .fn-h2.out { margin: 4px 0 10px; } .device-ui .fn-h2row { display: flex; align-items: center; justify-content: space-between; }
.device-ui .fn-pad { padding: 12px 16px; } .device-ui section.fn-pad .fn-h2 { margin-bottom: 8px; }
.device-ui .fn-row21 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; } .device-ui .fn-row11 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.device-ui .fn-leg { display: flex; gap: 14px; font-size: 12.5px; margin-bottom: 4px; } .device-ui .fn-leg span { display: flex; align-items: center; gap: 6px; } .device-ui .fn-leg i { width: 11px; height: 11px; border-radius: 3px; }
.device-ui .fn-chart { width: 100%; height: 180px; display: block; }
.device-ui .fn-cf { margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; } .device-ui .fn-cf > div { display: flex; justify-content: space-between; align-items: baseline; }
.device-ui .fn-cf dt { color: var(--muted); font-size: 13px; } .device-ui .fn-cf dd { margin: 0; } .device-ui .fn-cf .net { border-top: 1px solid #ECEAE4; padding-top: 12px; } .device-ui .fn-cf .net dt { color: var(--text); font-weight: 500; }
.device-ui .fn-link { color: var(--accP); font-size: 13px; font-weight: 500; cursor: pointer; align-self: flex-start; }
.device-ui .fn-od { list-style: none; margin: 0; padding: 0; } .device-ui .fn-od li { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid #F0EEE8; }
.device-ui .fn-od li:last-child { border-bottom: 0; } .device-ui .fn-od li > div { flex: 1; min-width: 0; } .device-ui .fn-od b { display: block; font-weight: 500; } .device-ui .fn-od small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-ui .fn-empty { text-align: center; padding: 34px 20px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.device-ui .fn-empty svg { width: 34px; height: 34px; color: var(--faint); } .device-ui .fn-empty b { color: var(--text); font-weight: 600; } .device-ui .fn-empty small { font-size: 12.5px; }
.device-ui .fn-empty.tall { padding: 120px 20px; } .device-ui .fn-card.fn-empty { padding: 26px 20px; }

/* tables, toolbars, inputs */
.device-ui .fn-tb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #ECEAE4; }
.device-ui .fn-tb.plain { padding: 0; border: 0; margin-bottom: 12px; } .device-ui .fn-tb .sp { flex: 1; }
.device-ui .fn-in { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid #E4E2DB; border-radius: 8px; background: #fff; font-size: 13px; color: var(--text); }
.device-ui .fn-in svg { width: 15px; height: 15px; color: var(--faint); } .device-ui .fn-in .ph { color: var(--faint); } .device-ui .fn-in.w1 { width: 210px; } .device-ui .fn-in.w0 { width: 74px; }
.device-ui .fn-date { width: 132px; justify-content: space-between; cursor: pointer; } .device-ui .fn-date.set { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accS); }
.device-ui .fn-sel { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid #E4E2DB; border-radius: 8px; background: #fff; font-size: 13px; }
.device-ui .fn-sel svg { width: 14px; height: 14px; color: var(--faint); }
.device-ui .fn-swl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.device-ui .fn-sw { width: 34px; height: 20px; border-radius: 10px; background: #D9D6CE; position: relative; flex: none; cursor: pointer; transition: background .15s; }
.device-ui .fn-sw i { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: right .15s; }
.device-ui .fn-sw.on { background: var(--accP); } .device-ui .fn-sw.on i { right: 16px; }
.device-ui .fn-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.device-ui .fn-tbl th { text-align: right; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 12px; background: #FAF9F6; border-bottom: 1px solid #ECEAE4; white-space: nowrap; }
.device-ui .fn-tbl td { padding: 8px 12px; border-bottom: 1px solid #F0EEE8; vertical-align: middle; }
.device-ui .fn-tbl tbody tr:last-child td { border-bottom: 0; } .device-ui .fn-tbl tfoot td { font-weight: 600; border-top: 1px solid #E4E2DB; background: #FAF9F6; padding: 9px 12px; }
.device-ui .fn-tbl .e { text-align: left; } .device-ui .fn-tbl .nw { white-space: nowrap; } .device-ui .fn-tbl .w8 { width: 28px; } .device-ui .fn-tbl .w0 { width: 1px; } .device-ui .fn-tbl .w48 { width: 170px; }
.device-ui .fn-tbl td b { display: block; font-weight: 500; } .device-ui .fn-tbl td small { display: block; color: var(--muted); font-size: 12px; }
.device-ui .fn-tbl.sm td, .device-ui .fn-tbl.sm th { padding: 6px 12px; font-size: 12.5px; }
.device-ui .fn-tbl tr.click { cursor: pointer; } .device-ui .fn-tbl tr.click:hover td { background: #FAFAF8; }
.device-ui .fn-tbl tr.click > td:first-child svg { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; } .device-ui .fn-tbl tr.open > td:first-child svg { transform: rotate(180deg); }
.device-ui .fn-tbl tr.sub td { background: #F6F5F1; }
.device-ui .fn-st { display: flex; align-items: center; gap: 9px; } .device-ui .fn-st i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accS); color: var(--accD); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; }
.device-ui .fn-acts { display: flex; gap: 2px; justify-content: flex-end; }
.device-ui .fn-ib { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--text); cursor: pointer; }
.device-ui .fn-ib:hover { background: #F1F0EC; } .device-ui .fn-ib svg { width: 16px; height: 16px; } .device-ui .fn-ib.red { color: #D93A3F; } .device-ui .fn-ib.done { color: #12803F; }
.device-ui .fn-ib.out { background: rgba(255, 255, 255, .92); border: 1px solid #E4E2DB; } .device-ui .fn-ib:disabled { opacity: .5; }
.device-ui .fn-kids { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.device-ui .fn-kids li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid #E9E6DE; border-radius: 10px; padding: 7px 12px; }
.device-ui .fn-kids b { display: block; font-weight: 500; } .device-ui .fn-kids small { color: var(--muted); font-size: 11.5px; } .device-ui .fn-kids .e { text-align: left; }
.device-ui .fn-tot { display: flex; gap: 30px; padding: 10px 16px; border-top: 1px solid #ECEAE4; background: #F7F6F2; font-size: 13.5px; }
.device-ui .fn-tot span { display: flex; align-items: baseline; gap: 8px; } .device-ui .fn-tot small { color: var(--muted); font-size: 13px; }
.device-ui .fn-pg { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; border-top: 1px solid #ECEAE4; font-size: 12.5px; color: var(--muted); } .device-ui .fn-pg svg { width: 16px; height: 16px; }
.device-ui .fn-b { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.device-ui .fn-b.warn { background: #FFF3D9; color: #8a5d05; } .device-ui .fn-b.ok { background: #E2F5E9; color: #12803F; } .device-ui .fn-b.bad { background: #FDEBEC; color: #C4373C; }
.device-ui .fn-b.info { background: #E7F0FE; color: #1D5FC4; } .device-ui .fn-b.neu { background: #EFEDE6; color: var(--muted); }
.device-ui .fn-spin svg { animation: spin .8s linear infinite; }
.device-ui .fn-tabs { display: inline-flex; background: #EFEDE6; border-radius: 10px; padding: 3px; gap: 2px; margin-bottom: 12px; }
.device-ui .fn-tabs button { padding: 5px 14px; border-radius: 8px; font-size: 13px; color: var(--muted); cursor: pointer; } .device-ui .fn-tabs button.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.device-ui .fn-tabs.sm { margin: 0; } .device-ui .fn-tabs.full { display: flex; margin: 0; } .device-ui .fn-tabs.full button { flex: 1; padding: 5px 2px; font-size: 11.5px; white-space: nowrap; }
.device-ui .fn-rate { display: flex; align-items: center; gap: 8px; } .device-ui .fn-rate i { flex: 1; height: 7px; border-radius: 4px; background: #EFEDE6; overflow: hidden; } .device-ui .fn-rate i b { display: block; height: 100%; background: #0f8f6e; border-radius: 4px; }
.device-ui .fn-rate span { width: 38px; text-align: left; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* toast (sonner, top-left in RTL) */
.device-ui .wtoast.fn-toast { pointer-events: auto; z-index: 9; top: 66px; left: 22px; font-size: 13.5px; padding: 11px 14px; }
.device-ui .wtoast.fn-toast svg { width: 18px; height: 18px; } .device-ui .wtoast.fn-toast.bad { color: #C4373C; border-color: #F5CFD1; }
.device-ui .fn-ta { margin-inline-start: 8px; background: #17252a; color: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }

/* receipts review: queue + panel */
.device-ui .fn-rv { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: start; }
.device-ui .fn-qh { margin: 0; padding: 10px 14px; border-bottom: 1px solid #ECEAE4; font-size: 13px; font-weight: 500; }
.device-ui .fn-q { list-style: none; margin: 0; padding: 0; } .device-ui .fn-q li + li { border-top: 1px solid #F0EEE8; }
.device-ui .fn-q button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-align: right; cursor: pointer; }
.device-ui .fn-q button:hover { background: #FAFAF8; } .device-ui .fn-q button.on { background: var(--accS); }
.device-ui .fn-q button > div { flex: 1; min-width: 0; } .device-ui .fn-q b { display: block; font-weight: 500; } .device-ui .fn-q small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-ui .fn-q .e { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.device-ui .fn-panel { margin-bottom: 0; }
.device-ui .fn-rh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #ECEAE4; }
.device-ui .fn-rh b { display: block; font-weight: 600; } .device-ui .fn-rh small { display: block; color: var(--muted); font-size: 12px; }
.device-ui .fn-rh .e { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: left; } .device-ui .fn-cl { font-size: 13px; }
.device-ui .fn-chips { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; } .device-ui .fn-chips span { background: var(--accS); color: var(--accD); border-radius: 99px; padding: 1px 10px; font-size: 11.5px; }
.device-ui .fn-img { position: relative; height: 300px; overflow: hidden; background: repeating-conic-gradient(#EFEDE6 0 25%, #fff 0 50%) 0 0 / 20px 20px; display: grid; place-items: center; }
.device-ui .fn-img.tall { height: 330px; }
.device-ui .fn-imgin { transition: transform .3s ease; transform-origin: 50% 46%; }
.device-ui .fn-imgb { position: absolute; z-index: 2; bottom: 10px; left: 10px; display: flex; gap: 4px; } .device-ui .fn-imgb.top { bottom: auto; top: 10px; }
.device-ui .fn-form { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid #ECEAE4; }
.device-ui .fn-lbl { margin: 0 0 6px; font-size: 13px; font-weight: 500; } .device-ui .fn-hint { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }
.device-ui .fn-ip { list-style: none; margin: 0; padding: 0; border: 1px solid #E9E6DE; border-radius: 9px; }
.device-ui .fn-ip li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; } .device-ui .fn-ip li + li { border-top: 1px solid #F0EEE8; }
.device-ui .fn-ip li > span:nth-child(2) { flex: 1; min-width: 0; } .device-ui .fn-ip b { display: block; font-weight: 500; font-size: 13px; } .device-ui .fn-ip small { color: var(--muted); font-size: 11.5px; }
.device-ui .fn-cb { width: 18px; height: 18px; border-radius: 4px; border: 1px solid #CFCBC1; background: #fff; flex: none; }
.device-ui .fn-fl { display: flex; flex-direction: column; gap: 5px; } .device-ui .fn-fl > span:first-child { font-size: 13px; font-weight: 500; } .device-ui .fn-fl small { font-size: 11.5px; color: var(--muted); }
.device-ui .fn-money { display: flex; align-items: center; justify-content: space-between; height: 46px; border: 1px solid #E4E2DB; border-radius: 9px; padding: 0 12px; background: #fff; font-size: 18px; cursor: text; }
.device-ui .fn-money b { font-weight: 500; font-variant-numeric: tabular-nums; } .device-ui .fn-money i { font-style: normal; color: var(--muted); font-size: 15px; }
.device-ui .fn-money.focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accS); }
.device-ui .fn-al { border: 1px solid #E9E6DE; border-radius: 9px; background: #FBFAF8; }
.device-ui .fn-al p { margin: 0; padding: 7px 12px; font-size: 11.5px; font-weight: 500; color: var(--muted); border-bottom: 1px solid #ECEAE4; }
.device-ui .fn-al ul { list-style: none; margin: 0; padding: 0; } .device-ui .fn-al li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 13px; }
.device-ui .fn-al li > span { flex: 1; min-width: 0; } .device-ui .fn-al li b { display: block; font-weight: 400; } .device-ui .fn-al li small { color: var(--muted); font-size: 11.5px; }
.device-ui .fn-al em { font-style: normal; font-size: 11.5px; color: var(--muted); } .device-ui .fn-al em.good { color: #12803F; } .device-ui .fn-al li.cr { background: #FFF6E0; }
.device-ui .fn-two { display: flex; gap: 8px; }
.device-ui .fn-ok, .device-ui .fn-rej { flex: 1; height: 42px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; font-size: 14px; cursor: pointer; }
.device-ui .fn-ok { background: #12A150; color: #fff; } .device-ui .fn-ok:disabled { opacity: .7; } .device-ui .fn-rej { background: #fff; border: 1px solid #E4E2DB; color: #D93A3F; }
.device-ui .fn-ok svg, .device-ui .fn-rej svg { width: 17px; height: 17px; }
.device-ui .fn-cf2 { margin: 0; font-size: 14px; }
.device-ui .fn-form > .wbtn { align-self: flex-start; }

/* the parent's photo of the bank's transfer confirmation */
.device-ui .fn-bank { width: 240px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); padding: 14px 16px; font-size: 12px; color: #1d2b2a; text-align: center; }
.device-ui .fn-bk-top { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #EEE; padding-bottom: 8px; text-align: right; }
.device-ui .fn-bk-top span { width: 26px; height: 26px; border-radius: 8px; background: #1F3B63; color: #fff; display: grid; place-items: center; } .device-ui .fn-bk-top span svg { width: 15px; height: 15px; }
.device-ui .fn-bk-top b { flex: 1; font-size: 13px; } .device-ui .fn-bk-top small { color: #888; font-size: 10.5px; }
.device-ui .fn-bk-ok { margin-top: 10px; color: #12A150; display: flex; flex-direction: column; align-items: center; gap: 3px; } .device-ui .fn-bk-ok svg { width: 30px; height: 30px; } .device-ui .fn-bk-ok b { color: #1d2b2a; font-size: 12.5px; }
.device-ui .fn-bk-amt { font-size: 26px; font-weight: 700; margin: 6px 0 8px; letter-spacing: -.3px; }
.device-ui .fn-bank dl { margin: 0; text-align: right; } .device-ui .fn-bank dl div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px dashed #E5E5E5; }
.device-ui .fn-bank dt { color: #888; } .device-ui .fn-bank dd { margin: 0; font-weight: 600; }

/* wallet receipts */
.device-ui .fn-dv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; align-items: start; }
.device-ui .fn-dq { padding: 10px 12px; border-bottom: 1px solid #ECEAE4; display: flex; flex-direction: column; gap: 8px; } .device-ui .fn-dq .fn-in { width: 100%; }
.device-ui .fn-dfoot { padding: 12px 16px; border-top: 1px solid #ECEAE4; } .device-ui .fn-dfoot p { margin: 0; font-size: 13.5px; } .device-ui .fn-dfoot small { display: block; color: var(--muted); font-size: 11.5px; }
.device-ui .fn-dlg { width: 420px; } .device-ui .fn-dlg > p { margin: 6px 0 14px; font-size: 13.5px; }
.device-ui .fn-dlg .wact { justify-content: flex-start; margin-top: 18px; } .device-ui .fn-dlg .fn-money { height: 48px; }
.device-ui .fn-x { position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); cursor: pointer; } .device-ui .fn-x svg { width: 16px; height: 16px; }

/* the printable receipt */
.device-ui .fn-pbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; } .device-ui .fn-pbar .sp { flex: 1; }
.device-ui .fn-a5 { display: inline-flex; border: 1px solid #E4E2DB; border-radius: 8px; padding: 2px; background: #fff; font-size: 12.5px; } .device-ui .fn-a5 > * { padding: 3px 10px; border-radius: 6px; color: var(--muted); font-weight: 500; } .device-ui .fn-a5 b { background: #1E2B29; color: #fff; }
.device-ui .fn-sheet { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid #E4E2DB; border-radius: 12px; padding: 26px 30px; color: #17252a; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); font-size: 13.5px; }
.device-ui .fn-sheet header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #17252a; padding-bottom: 12px; }
.device-ui .fn-sheet header b { font-size: 19px; } .device-ui .fn-sheet header .e { text-align: left; } .device-ui .fn-sheet header .e b { font-size: 16px; font-weight: 600; display: block; } .device-ui .fn-sheet header small { font-size: 13px; }
.device-ui .fn-sheet dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 16px 0; } .device-ui .fn-sheet dl .w { grid-column: span 2; }
.device-ui .fn-sheet dt { font-size: 11.5px; color: #5b6b68; } .device-ui .fn-sheet dd { margin: 0; font-weight: 600; }
.device-ui .fn-sheet table { width: 100%; border-collapse: collapse; } .device-ui .fn-sheet th { text-align: right; border-bottom: 1px solid #17252a; padding: 6px 0; } .device-ui .fn-sheet td { border-bottom: 1px solid #dce3e0; padding: 7px 0; }
.device-ui .fn-sheet td small { display: block; color: #5b6b68; font-size: 11.5px; } .device-ui .fn-sheet .e { text-align: left; } .device-ui .fn-sheet tfoot td { border: 0; padding-top: 10px; font-weight: 700; font-size: 15px; }
.device-ui .fn-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; } .device-ui .fn-sig span { display: block; border-top: 1px solid #17252a; padding-top: 4px; } .device-ui .fn-sig small { color: #5b6b68; font-size: 11.5px; }

/* ================= Abu Nader: the staff phone (cantina manager) ================= */
.device-ui .phn.an .scroll { padding: 0 16px; }
.device-ui .an-hero h2 { margin: 14px 0 0; } .device-ui .an-role { position: relative; margin: 2px 0 0; font-size: 13.5px; font-weight: 600; opacity: .92; } .device-ui .an-mods { position: relative; margin: 0; font-size: 13px; opacity: .85; }
.device-ui .an-find { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 14px; background: #fff; color: var(--text); border-radius: 20px; padding: 10px 14px; text-align: right; }
.device-ui .an-find > svg { color: var(--muted); } .device-ui .an-find div { flex: 1; } .device-ui .an-find b { display: block; } .device-ui .an-find small { color: var(--faint); }
.device-ui .an-find span { width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; } .device-ui .an-find span svg { width: 18px; height: 18px; }
.device-ui .an-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.device-ui .an-tool { flex: 1 1 45%; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 2px 8px rgba(14, 28, 26, .05); }
.device-ui .an-tool span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; } .device-ui .an-tool span svg { width: 22px; height: 22px; } .device-ui .an-tool b { flex: 1; }
.device-ui .an-tiles2 { display: flex; gap: 8px; margin-bottom: 12px; } .device-ui .an-tiles3 { display: flex; gap: 8px; margin: 4px 0 0; }
.device-ui .an-gt, .device-ui .an-st { flex: 1; min-width: 0; border-radius: 20px; padding: 12px; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.device-ui .an-gt { min-height: 124px; } .device-ui .an-st { min-height: 112px; }
.device-ui .an-gt > span, .device-ui .an-st > span { width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; } .device-ui .an-gt > span svg, .device-ui .an-st > span svg { width: 16px; height: 16px; }
.device-ui .an-gt b { font-size: 21px; } .device-ui .an-gt small { display: block; font-size: 12px; font-weight: 600; } .device-ui .an-gt em { font-style: normal; font-size: 11px; opacity: .85; }
.device-ui .an-st b { font-size: 26px; line-height: 1.1; } .device-ui .an-st b.m { font-size: 17px; } .device-ui .an-st small { font-size: 11.5px; font-weight: 500; opacity: .92; white-space: nowrap; }
.device-ui .an-low { margin-bottom: 14px; }
.device-ui .an-lowh { display: flex; align-items: center; gap: 12px; padding: 14px 16px; } .device-ui .an-lowh b { flex: 1; } .device-ui .an-lowh em { font-style: normal; font-weight: 700; color: var(--warn); }
.device-ui .an-lowh > span { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; } .device-ui .an-lowh > span.warn { background: var(--warnS); color: var(--warn); } .device-ui .an-lowh > span.ok { background: var(--okS); color: var(--ok); }
.device-ui .an-lowr { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); cursor: pointer; }
.device-ui .an-lowr > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; } .device-ui .an-lowr strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.device-ui strong.out, .device-ui b.out { color: var(--bad); } .device-ui strong.low, .device-ui b.low { color: var(--warn); }
.device-ui .an-art { position: relative; flex: none; display: grid; place-items: center; color: rgba(255, 255, 255, .95); background: linear-gradient(135deg, var(--a), var(--b)); }
.device-ui .an-art svg { width: 46%; height: 46%; } .device-ui .an-art i { position: absolute; bottom: 2px; left: 4px; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; }
.device-ui .an-bd { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.device-ui .an-bd svg { width: 13px; height: 13px; } .device-ui .an-bd.bad { background: var(--badS); color: var(--bad); } .device-ui .an-bd.warn { background: var(--warnS); color: var(--warn); } .device-ui .an-bd.ok { background: var(--okS); color: var(--ok); }
.device-ui .an-bd.pri { background: var(--mint); color: var(--deep); } .device-ui .an-bd.neu { background: var(--sunk); color: var(--muted); }
.device-ui .an-qr { display: flex; align-items: center; gap: 12px; padding: 12px 16px; } .device-ui .an-qr + .an-qr { border-top: 1px solid var(--border); }
.device-ui .an-qr > div { flex: 1; min-width: 0; } .device-ui .an-qr b { display: block; } .device-ui .an-qr small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .device-ui .an-qr em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--deep); }
.device-ui .an-ph { border-radius: 50%; object-fit: cover; flex: none; background: var(--sunk); } .device-ui .an-ph.sq { border-radius: 30%; }
.device-ui .an-ini { width: 54px; height: 54px; border-radius: 30%; background: #5B7CFA; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.device-ui .an-empty { text-align: center; padding: 26px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; } .device-ui .an-empty svg { width: 34px; height: 34px; color: var(--faint); } .device-ui .an-empty b { color: var(--text); }
.device-ui .an-empty.big { padding: 60px 16px; }

/* pre-orders */
.device-ui .an-oh { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.device-ui .an-seg { margin: 0; } .device-ui .an-seg button { font-size: 12.5px; padding: 8px 2px; white-space: nowrap; }
.device-ui .an-day { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 16px; padding: 8px 12px; } .device-ui .an-day b { font-size: 14px; } .device-ui .an-day .dim { opacity: .3; display: inline-flex; }
.device-ui .an-oh .field.srch { margin: 0; }
.device-ui .an-pc { display: flex; flex-direction: column; gap: 8px; }
.device-ui .an-pch { display: flex; align-items: flex-start; gap: 10px; } .device-ui .an-pch > div { flex: 1; min-width: 0; } .device-ui .an-pch b { display: block; } .device-ui .an-pch b small { color: var(--muted); font-weight: 400; font-size: 13px; } .device-ui .an-pch > div > span { color: var(--muted); font-size: 14px; }
.device-ui .an-lines div { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 1px 0; } .device-ui .an-lines em { font-style: normal; font-weight: 700; color: var(--brand); } .device-ui .an-lines small { color: var(--muted); font-weight: 600; }
.device-ui .an-note { margin: 0; color: var(--muted); font-size: 13px; }
.device-ui .an-tot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 8px; } .device-ui .an-tot strong { font-size: 17px; }
.device-ui .an-pc .btn { height: 46px; margin-top: 2px; }

/* the alert (native) */
.device-ui .an-alertbg { position: absolute; inset: 0; z-index: 7; background: rgba(0, 0, 0, .35); animation: fade .2s; }
.device-ui .an-alert { position: absolute; z-index: 8; top: 50%; left: 50%; width: 280px; transform: translate(-50%, -50%); background: rgba(250, 250, 250, .97); border-radius: 16px; text-align: center; overflow: hidden; animation: fade .2s; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.device-ui .an-alert > b { display: block; padding: 18px 16px 2px; font-size: 16px; } .device-ui .an-alert p { margin: 4px 16px 16px; font-size: 13.5px; color: #333; }
.device-ui .an-alert > div { display: flex; border-top: 1px solid #DDD; } .device-ui .an-alert button { flex: 1; padding: 12px; color: #1E6FD9; font-size: 16px; text-align: center; } .device-ui .an-alert button + button { border-right: 1px solid #DDD; }
.device-ui .an-alert button.ok { font-weight: 700; }

/* sell: the student list, the scanner, the student */
.device-ui .an-ph-h { padding: 6px 20px 0; } .device-ui .an-ph-h small { display: block; color: var(--muted); font-size: 13px; } .device-ui .an-ph-h b { font-size: 26px; }
.device-ui .an-srow { display: flex; gap: 8px; align-items: center; padding: 10px 16px 6px; } .device-ui .an-srow .field { flex: 1; margin: 0; }
.device-ui .an-qrb { width: 52px; height: 52px; border-radius: 20px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; } .device-ui .an-qrb svg { width: 24px; height: 24px; }
.device-ui .an-sl { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.device-ui .an-sr { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 26px; padding: 12px; box-shadow: 0 2px 8px rgba(14, 28, 26, .05); }
.device-ui .an-sr[data-act] { cursor: pointer; } .device-ui .an-sr > div { flex: 1; min-width: 0; } .device-ui .an-sr b { display: block; } .device-ui .an-sr small { color: var(--muted); font-size: 12px; }
.device-ui .an-sr > svg { color: var(--faint); width: 18px; height: 18px; }
.device-ui .an-av { display: flex; flex-direction: column; align-items: center; background: var(--mint); border-radius: 14px; padding: 4px 10px; } .device-ui .an-av b { font-size: 13.5px; color: var(--deep); } .device-ui .an-av small { font-size: 10.5px; }
.device-ui .an-av.z { background: var(--badS); } .device-ui .an-av.z b { color: var(--bad); }
.device-ui .phn.an-dark { background: #000; color: #fff; }
.device-ui .an-cam { position: absolute; inset: 0; overflow: hidden; }
.device-ui .an-feed { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #6b5a46, #2a231c 70%, #110e0b); display: grid; place-items: center; filter: saturate(.9); }
.device-ui .an-card { width: 222px; height: 140px; transform: translateY(-12px); background: #fff; color: #17252a; border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  display: grid; grid-template-columns: 1fr 92px; grid-template-rows: auto 1fr; gap: 6px 8px; direction: rtl; }
.device-ui .an-card .an-cardh { grid-column: 1 / -1; } .device-ui .an-card .an-cardb { flex-direction: column; align-items: flex-start; margin: 0; }
.device-ui .an-card .an-qrc { width: 92px; height: 92px; margin: 0; }
.device-ui .an-cardh { display: flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; border-radius: 8px; padding: 4px 8px; font-size: 12px; } .device-ui .an-cardh svg { width: 14px; height: 14px; }
.device-ui .an-cardb { display: flex; align-items: center; gap: 8px; margin: 8px 0; } .device-ui .an-cardb b { display: block; font-size: 13px; } .device-ui .an-cardb small { color: #666; font-size: 11px; }
.device-ui .an-qrc { width: 110px; height: 110px; margin: 0 auto; } .device-ui .an-qrc svg { width: 100%; height: 100%; }
.device-ui .an-ct { position: absolute; top: 50px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.device-ui .an-rd { width: 44px; height: 44px; border-radius: 22px; background: rgba(0, 0, 0, .4); color: #fff; display: grid; place-items: center; }
.device-ui .an-frame { position: absolute; top: 50%; left: 50%; width: 240px; height: 240px; margin: -132px 0 0 -120px; border-radius: 26px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 999px rgba(0, 0, 0, .18); transition: border-color .2s, transform .2s; }
.device-ui .an-frame.hit { border-color: #1FC29A; transform: scale(.97); }
.device-ui .an-cb { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 44px; background: rgba(0, 0, 0, .45); text-align: center; font-size: 15px; }
.device-ui .an-id { margin-top: 2px; } .device-ui .an-idt { display: flex; flex-direction: column; align-items: center; padding: 18px 16px 12px; background: linear-gradient(#E2F4EE, #fff); }
.device-ui .an-pf { position: relative; padding: 5px; background: #fff; border-radius: 50px; box-shadow: 0 6px 16px rgba(14, 28, 26, .12); }
.device-ui .an-pf img { display: block; border-radius: 46px; } .device-ui .an-pf i { position: absolute; bottom: 12px; left: 12px; width: 28px; height: 28px; border-radius: 14px; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; } .device-ui .an-pf i svg { width: 14px; height: 14px; }
.device-ui .an-idt > b { font-size: 24px; margin-top: 10px; } .device-ui .an-chips { display: flex; gap: 6px; margin-top: 6px; }
.device-ui .an-stats { display: flex; gap: 8px; padding: 0 14px; } .device-ui .an-stats > div { flex: 1; background: var(--sunk); border-radius: 18px; padding: 10px 12px; } .device-ui .an-stats .hl { background: var(--mint); }
.device-ui .an-stats small { display: block; color: var(--muted); font-size: 12px; } .device-ui .an-stats b { font-size: 16.5px; } .device-ui .an-stats .hl b { color: var(--deep); } .device-ui .an-stats b.red { color: var(--bad); }
.device-ui .an-blk { display: flex; align-items: center; gap: 8px; padding: 14px 16px; } .device-ui .an-blk > svg { width: 17px; height: 17px; color: var(--bad); }
.device-ui .an-cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 10px; padding: 2px 16px; scrollbar-width: none; }
.device-ui .an-cats .chip { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; padding: 6px 13px; } .device-ui .an-cats .chip svg { width: 15px; height: 15px; }
.device-ui .an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.device-ui .an-tile { background: #fff; border-radius: 26px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 2px 8px rgba(14, 28, 26, .06); text-align: right; transition: transform .12s; }
.device-ui .an-tile:active { transform: scale(.95); } .device-ui .an-tile.act { border-color: var(--brand); } .device-ui .an-tile.dis { opacity: .6; }
.device-ui .an-ta { position: relative; height: 92px; display: grid; place-items: center; color: rgba(255, 255, 255, .95); background: linear-gradient(135deg, var(--a), var(--b)); } .device-ui .an-ta > svg { width: 30px; height: 30px; }
.device-ui .an-left { position: absolute; bottom: 8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--text); }
.device-ui .an-left.low { background: var(--warn); color: #fff; }
.device-ui .an-out { position: absolute; left: 0; right: 0; bottom: 0; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px; background: rgba(229, 72, 77, .92); color: #fff; text-align: center; }
.device-ui .an-lock { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 15px; background: var(--bad); color: #fff; display: grid; place-items: center; } .device-ui .an-lock svg { width: 16px; height: 16px; }
.device-ui .an-qty { position: absolute; top: 8px; left: 8px; min-width: 30px; height: 30px; border-radius: 15px; padding: 0 8px; background: var(--brand); color: #fff; border: 2px solid #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13.5px; }
.device-ui .an-tb { display: block; padding: 10px 12px; } .device-ui .an-tb b { display: block; font-weight: 600; } .device-ui .an-tile.dis .an-tb b { color: var(--faint); }
.device-ui .an-tb small { font-size: 12.5px; font-weight: 700; } .device-ui .an-tb small.pr { color: var(--deep); font-size: 13.5px; } .device-ui .an-tb small.red, .device-ui b.red, .device-ui .red { color: var(--bad); }
.device-ui .an-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.device-ui .an-cl { display: flex; flex-direction: column; gap: 6px; max-height: 120px; overflow-y: auto; } .device-ui .an-cl > div { display: flex; align-items: center; gap: 8px; } .device-ui .an-cl > div > b { flex: 1; font-weight: 600; } .device-ui .an-cl small { color: var(--muted); font-weight: 600; }
.device-ui .an-stp { display: inline-flex; align-items: center; gap: 6px; background: var(--sunk); border-radius: 14px; padding: 3px; } .device-ui .an-stp button { width: 30px; height: 30px; border-radius: 11px; background: #fff; display: grid; place-items: center; } .device-ui .an-stp svg { width: 16px; height: 16px; } .device-ui .an-stp b { min-width: 18px; text-align: center; }
.device-ui .an-ec { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--faint); } .device-ui .an-ec svg { width: 18px; height: 18px; }
.device-ui .an-fr { display: flex; gap: 8px; } .device-ui .an-trash { width: 58px; padding: 0; flex: none; } .device-ui .an-charge { flex: 1; } .device-ui .an-charge:disabled { opacity: .5; }
.device-ui .banner.warn { background: var(--warnS); color: var(--warn); margin: 0; }
.device-ui .an-ok { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 28px 60px; gap: 10px; }
.device-ui .an-halo { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 140, 113, .16), rgba(14, 140, 113, .04) 70%); display: grid; place-items: center; animation: pop2 .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.device-ui .an-halo span { width: 96px; height: 96px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; } .device-ui .an-halo svg { width: 48px; height: 48px; }
@keyframes pop2 { from { transform: scale(.4); opacity: 0; } }
.device-ui .an-ok > b { font-size: 24px; margin-top: 8px; } .device-ui .an-ok p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }

/* stock */
.device-ui .an-sth { display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 4px 12px; } .device-ui .an-sth > b { font-size: 26px; }
.device-ui .an-sth span { text-align: left; } .device-ui .an-sth small { display: block; color: var(--muted); font-size: 11px; }
.device-ui .an-month { display: flex; flex-direction: column; gap: 10px; } .device-ui .an-mh { display: flex; align-items: center; justify-content: space-between; } .device-ui .an-mh b { font-size: 17px; }
.device-ui .an-mrow { display: flex; gap: 8px; } .device-ui .an-mrow > div { flex: 1; background: #F7F6F2; border-radius: 14px; padding: 10px; } .device-ui .an-mrow small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; } .device-ui .an-mrow b { font-size: 14.5px; }
.device-ui .an-mrow .okc { color: var(--ok); } .device-ui .an-mf { display: flex; justify-content: space-between; } .device-ui .an-mf small { color: var(--muted); }
.device-ui .an-acts { display: flex; gap: 8px; margin-bottom: 10px; } .device-ui .an-acts button { flex: 1; background: #fff; border-radius: 20px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 2px 8px rgba(14, 28, 26, .05); }
.device-ui .an-acts span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; } .device-ui .an-acts b { font-size: 13px; white-space: nowrap; }
.device-ui .phn.an .seg3 { margin-bottom: 10px; }
.device-ui .an-str { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(14, 28, 26, .05); cursor: pointer; }
.device-ui .an-str > div { flex: 1; min-width: 0; } .device-ui .an-str b { display: block; margin-bottom: 4px; } .device-ui .an-str > div > span { display: flex; align-items: center; gap: 8px; } .device-ui .an-str small { color: var(--muted); font-size: 12px; font-weight: 500; }
.device-ui .an-str strong { min-width: 48px; text-align: center; font-size: 20px; }
.device-ui .an-ih { display: flex; flex-direction: column; gap: 16px; } .device-ui .an-ihr { display: flex; align-items: center; gap: 12px; } .device-ui .an-ihr > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .device-ui .an-ihr > div b { font-size: 17px; }
.device-ui .an-iq { display: flex; flex-direction: column; align-items: center; } .device-ui .an-iq b { font-size: 34px; line-height: 1; } .device-ui .an-iq small { color: var(--muted); }
.device-ui .an-facts { display: flex; gap: 8px; } .device-ui .an-facts > div { flex: 1; background: #F7F6F2; border-radius: 14px; padding: 10px; } .device-ui .an-facts small { display: block; color: var(--muted); font-size: 11.5px; } .device-ui .an-facts b { font-size: 15px; }
.device-ui .an-mv { display: flex; align-items: center; gap: 12px; padding: 11px 16px; } .device-ui .an-mv + .an-mv { border-top: 1px solid var(--border); }
.device-ui .an-mv > span:first-child { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; } .device-ui .an-mv > span svg { width: 18px; height: 18px; }
.device-ui .an-mv > div { flex: 1; min-width: 0; } .device-ui .an-mv b { display: block; font-weight: 600; } .device-ui .an-mv small { color: var(--muted); font-size: 12px; }
.device-ui .an-mv .e { display: flex; flex-direction: column; align-items: flex-end; } .device-ui .an-mv .e b.okc { color: var(--ok); }

/* the section switcher and its «الانتقال إلى» menu */
.device-ui .fn-swr { position: relative; } .device-ui .fn-swr .wsec { width: 100%; text-align: right; cursor: pointer; }
.device-ui .fn-menu { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; left: 0; background: #fff; border: 1px solid #E4E2DB; border-radius: 12px; padding: 6px; box-shadow: 0 14px 36px rgba(0, 0, 0, .16); animation: fade .15s; }
.device-ui .fn-menu > small { display: block; padding: 4px 8px 6px; color: var(--muted); font-size: 12px; }
.device-ui .fn-menu a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 14px; } .device-ui .fn-menu a:hover { background: #F4F3EF; } .device-ui .fn-menu a.inert { cursor: default; }
.device-ui .fn-menu a span { flex: 1; } .device-ui .fn-menu i { width: 26px; height: 26px; border-radius: 8px; color: #fff; display: grid; place-items: center; } .device-ui .fn-menu i svg { width: 15px; height: 15px; } .device-ui .fn-menu a > svg { width: 16px; height: 16px; color: var(--acc); }
.device-ui .fn-imgin .bop { width: 300px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.device-ui .fn-img { height: 380px; } .device-ui .fn-img.tall { height: 400px; }
.device-ui .fn-imgin .bop { width: 248px; transform-origin: center; }
.device-ui .fn-imgin .bop h4 { font-size: 15px; } .device-ui .fn-imgin .bop p, .device-ui .fn-imgin .bop dl div { font-size: 11.5px; } .device-ui .fn-imgin .bop b { font-size: 14px; }
