/* Home screen — glass "Spotlight" (approved 2026-11-30).
   Calm, professional background; light and dark; the company's own colour (--ij-co-2) is the accent.
   Scoped to .gx (the home page only); the shared top bar and every other portal screen are unchanged. */
.gx { --gx-tx: #0b1530; --gx-tx2: #4a5873; --gx-tx3: #7d8aa3; --gx-gl: rgb(255 255 255 / .58); --gx-gl2: rgb(255 255 255 / .40); --gx-bd: rgb(255 255 255 / .8); --gx-bd2: rgb(15 23 42 / .07); --gx-hi: rgb(255 255 255 / .9);
  --gx-sh: 0 30px 60px -42px rgb(30 50 110 / .40), 0 2px 6px -2px rgb(30 50 110 / .07); --gx-card: rgb(255 255 255 / .55); --gx-acc: color-mix(in srgb, var(--ij-co-2, #3460cc) 70%, #2f5bd0);
  --gx-base: #eef1f6; color: var(--gx-tx); background: var(--gx-base); }
.gx.gx-dark { --gx-tx: #eef2fb; --gx-tx2: rgb(226 232 245 / .72); --gx-tx3: rgb(226 232 245 / .48); --gx-gl: rgb(255 255 255 / .065); --gx-gl2: rgb(255 255 255 / .035); --gx-bd: rgb(255 255 255 / .11); --gx-bd2: rgb(255 255 255 / .07); --gx-hi: rgb(255 255 255 / .12);
  --gx-sh: 0 30px 60px -36px rgb(0 0 0 / .75); --gx-card: rgb(255 255 255 / .045); --gx-acc: color-mix(in srgb, var(--ij-co-2, #8fb0ff) 45%, #9db8ff); --gx-base: #0a0e1a; }
.gx > .lx-bg { display: none; }
/* calm background: three soft, low blooms (one in the company colour) and a faint grid */
.gx-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--gx-base); }
.gx-bg i { position: absolute; border-radius: 50%; filter: blur(110px); }
.gx-bg .a { width: 720px; height: 520px; top: -240px; left: 30%; background: color-mix(in srgb, var(--ij-co-2, #7c9cf0) 55%, #7c9cf0); opacity: .22; }
.gx-bg .b { width: 560px; height: 520px; top: 200px; right: -200px; background: #94a3b8; opacity: .18; }
.gx-bg .c { width: 620px; height: 560px; bottom: -280px; left: -180px; background: #a5b4fc; opacity: .14; }
.gx-dark .gx-bg .a { background: color-mix(in srgb, var(--ij-co, #1e3a8a) 60%, #1e3a8a); opacity: .35; top: -140px; }
.gx-dark .gx-bg .b { background: #334155; opacity: .3; }
.gx-dark .gx-bg .c { background: #312e81; opacity: .25; }
.gx-bg::after { content: ''; position: absolute; inset: 0; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23ffffff' stroke-opacity='.35'/%3E%3C/svg%3E"); -webkit-mask: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); mask: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); }
.gx-dark .gx-bg::after { opacity: .06; }
.gx .tb #tbsearch { display: none; } /* the search box is on the page itself */

/* glass primitive */
.gx-glass { position: relative; background: linear-gradient(160deg, var(--gx-gl), var(--gx-gl2)); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--gx-bd); box-shadow: inset 0 1px 0 var(--gx-hi), var(--gx-sh); }
.gx-glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / .35), transparent 38%); opacity: .5; }
.gx-dark .gx-glass::before { opacity: .15; }

/* page: fits a 1440×900 screen without scrolling; on smaller screens it scrolls and the header compacts */
.gx-main { width: 100%; max-width: 1560px; margin: 0 auto; min-height: calc(100dvh - 76px); padding: 14px clamp(16px, 2.4vw, 34px) 22px; display: flex; flex-direction: column; box-sizing: border-box; }
.gx-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 16px; }
.gx-chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; border-radius: 18px; justify-self: start; color: var(--gx-tx); text-decoration: none; min-width: 0; }
.gx-central { justify-self: end; padding: 8px 10px 8px 14px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; width: auto !important; flex-direction: row !important; }
.gx-central:hover { transform: translateY(-2px); }
.gx-time { font-family: 'Readex Pro', system-ui, sans-serif; font-size: 20px; letter-spacing: .3px; display: flex; align-items: baseline; gap: 1px; font-variant-numeric: tabular-nums; }
.gx-time b { font-weight: 600; } .gx-time small { font-size: 12px; color: var(--gx-tx3); } .gx-time em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gx-tx3); margin-inline-start: 5px; }
.gx-vsep { width: 1px; height: 26px; background: var(--gx-bd2); }
.gx-dt { font-size: 12.5px; font-weight: 600; color: var(--gx-tx2); line-height: 1.35; display: block; text-align: start; }
.gx-dt small { display: block; font-size: 10.5px; font-weight: 400; color: var(--gx-tx3); }
.gx-dt-strong { color: var(--gx-tx); font-size: 13.5px; }
.gx-live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .18); flex: none; }
.gx-mk, .gx-gm, .gx-mk2, .gx-d { display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(140deg, var(--b), var(--a)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 10px 20px -12px var(--a); }
.gx-mk { width: 36px; height: 36px; border-radius: 12px; } .gx-mk svg { width: 18px; height: 18px; }
.gx-go { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--gx-tx3); border: 1px solid var(--gx-bd2); flex: none; }
.gx-go svg, .gx-all svg { width: 14px; height: 14px; }
html[dir="ltr"] .gx-go svg, html[dir="ltr"] .gx-all svg { transform: scaleX(-1); }
.gx-mid { text-align: center; min-width: 0; }
.gx-hello { margin: 0; font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.4px; line-height: 1.2;
  background: linear-gradient(100deg, var(--gx-tx) 20%, var(--gx-acc) 60%, var(--gx-tx) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-dark .gx-hello { background-image: linear-gradient(100deg, #fff 20%, #b9ccff 60%, #fff 90%); }
.gx-sub { margin: 4px 0 0; color: var(--gx-tx2); font-size: 14px; }
.gx-search { margin: 16px auto 0; width: min(640px, 100%); height: 54px; border-radius: 20px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; box-sizing: border-box; transition: box-shadow .2s, border-color .2s; }
html[dir="rtl"] .gx-search { padding: 0 18px 0 8px; }
.gx-search:focus-within { border-color: color-mix(in srgb, var(--gx-acc) 45%, transparent); box-shadow: inset 0 1px 0 var(--gx-hi), 0 0 0 4px color-mix(in srgb, var(--gx-acc) 14%, transparent), var(--gx-sh); }
.gx-search-ic { display: grid; color: var(--gx-acc); } .gx-search-ic svg { width: 20px; height: 20px; }
.gx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none !important; background: transparent; font: inherit; font-size: 14.5px; color: var(--gx-tx); position: relative; z-index: 1; }
.gx-search input::placeholder { color: var(--gx-tx3); }
.gx-search input::-webkit-search-cancel-button { display: none; }
.gx-search .lx-clear { position: relative; z-index: 1; }
.gx-kb { display: flex; gap: 4px; direction: ltr; } .gx-kb[hidden] { display: none; }
.gx-kb span { height: 28px; min-width: 28px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; font: 700 11px/1 'Readex Pro', system-ui, sans-serif; color: var(--gx-tx2); background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: 0 2px 0 var(--gx-bd2); box-sizing: border-box; }

/* groups: one glass row each, header on the start side, cards filling the rest */
.gx-apps { flex: 1; min-height: 0; margin-top: 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-bottom: 2vh; }
.gx-grp { flex: 0 0 auto; display: grid; grid-template-columns: 150px 1fr; border-radius: 28px; padding: 10px; }
/* group header = a section label, not an app: a narrow, tall panel of darker glass (tinted by the company colour) */
.gx-gh { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 10px; min-width: 0; border-radius: 20px; overflow: hidden; text-align: center; color: var(--gx-tx);
  background: linear-gradient(165deg, color-mix(in srgb, var(--ij-co-2, #64748b) 16%, rgb(30 41 70 / .16)), color-mix(in srgb, var(--ij-co-2, #64748b) 8%, rgb(30 41 70 / .08)));
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgb(255 255 255 / .55); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -18px 30px -24px rgb(15 23 42 / .25), 0 16px 30px -26px rgb(30 50 110 / .5); }
.gx-dark .gx-gh { color: #fff; background: linear-gradient(165deg, color-mix(in srgb, var(--ij-co-2, #3b82f6) 26%, rgb(0 0 0 / .35)), color-mix(in srgb, var(--ij-co-2, #3b82f6) 12%, rgb(0 0 0 / .45))); border-color: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 16px 30px -22px #000; }
.gx-gm { width: 54px; height: 54px; border-radius: 17px; background: rgb(255 255 255 / .5) !important; box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 8px 18px -12px rgb(15 23 42 / .4) !important; border: 1px solid rgb(255 255 255 / .7); color: color-mix(in srgb, var(--ij-co-2, #334155) 55%, #1e293b); }
.gx-dark .gx-gm { background: rgb(255 255 255 / .08) !important; border-color: rgb(255 255 255 / .16); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14) !important; }
.gx-gm svg { width: 26px; height: 26px; }
.gx-gx { min-width: 0; max-width: 100%; } .gx-gx b { display: block; font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gx-gx small { display: block; font-size: 11px; color: var(--gx-tx3); margin-top: 2px; }
.gx-dark .gx-gx small { color: rgb(255 255 255 / .6); }
.gx-gc { font: 600 11.5px 'Readex Pro', sans-serif; min-width: 26px; height: 22px; padding: 0 9px; border-radius: 99px; display: grid; place-items: center; color: var(--gx-tx2); background: rgb(255 255 255 / .55); border: 1px solid rgb(255 255 255 / .7); box-sizing: border-box; }
.gx-dark .gx-gc { color: #fff; background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .14); }
.gx-gt { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 10px; padding-inline-start: 12px; min-height: 0; grid-auto-rows: clamp(140px, 24vh, 216px); }
/* app cards: icon above name, count badge on the corner */
.gx a.gx-t { position: relative; padding: 10px 6px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; overflow: hidden; min-width: 0; min-height: 0; box-sizing: border-box;
  background: linear-gradient(165deg, rgb(255 255 255 / .62), rgb(255 255 255 / .28)); border: 1px solid var(--gx-bd); box-shadow: inset 0 1px 0 var(--gx-hi), 0 18px 34px -30px rgb(30 50 110 / .5); color: var(--gx-tx);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s; }
.gx.gx-dark a.gx-t { background: linear-gradient(165deg, rgb(255 255 255 / .075), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 0 var(--gx-hi), 0 18px 34px -30px rgb(0 0 0 / .8); }
.gx a.gx-t::after { content: ''; position: absolute; width: 70%; aspect-ratio: 1; bottom: -55%; left: 15%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--b) 45%, transparent), transparent); opacity: .3; transition: opacity .3s; pointer-events: none; }
.gx a.gx-t > * { position: relative; z-index: 1; }
.gx a.gx-t:hover, .gx a.gx-t:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a) 40%, transparent); box-shadow: inset 0 1px 0 var(--gx-hi), 0 0 0 4px color-mix(in srgb, var(--a) 10%, transparent), 0 22px 40px -28px var(--a); background: linear-gradient(165deg, rgb(255 255 255 / .75), rgb(255 255 255 / .38)); outline: none; }
.gx.gx-dark a.gx-t:hover, .gx.gx-dark a.gx-t:focus-visible { background: linear-gradient(165deg, rgb(255 255 255 / .11), rgb(255 255 255 / .04)); }
.gx a.gx-t:hover::after, .gx a.gx-t:focus-visible::after { opacity: .55; }
.gx a.gx-t:active { transform: scale(.97); transition-duration: .08s; }
.gx-ic { --tint: rgb(255 255 255 / .28); width: clamp(40px, 4vw, 56px); aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; color: #fff; overflow: hidden; flex: none;
  background: linear-gradient(140deg, var(--b), var(--a)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 12px 22px -12px var(--a); }
.gx-ic::before { content: ''; position: absolute; inset: 0 0 50% 0; background: linear-gradient(rgb(255 255 255 / .35), transparent); }
.gx-ic svg { width: 52%; height: 52%; position: relative; }
.gx-name { font-size: 14.5px; font-weight: 700; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gx-badge { position: absolute !important; top: 10px; inset-inline-start: 10px; z-index: 2 !important; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; font: 800 11px/1 'Readex Pro', sans-serif; color: #fff; background: linear-gradient(135deg, #f87171, #dc2626); box-shadow: 0 6px 12px -6px #dc2626; box-sizing: border-box; }
.gx-empty { flex: 1; border-radius: 28px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 30px; color: var(--gx-tx2); text-align: center; }
.gx-empty svg { width: 28px; height: 28px; color: var(--gx-tx3); } .gx-empty span { font-size: 13px; color: var(--gx-tx3); }

/* company switch in the header: segmented (two companies + all) */
.tb-seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / .5); border: 1px solid rgb(15 23 42 / .06); }
.ij-dark .tb-seg, .is-dark .tb-seg { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .08); }
.tb-seg button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tb-seg button:hover { color: var(--text); }
.tb-seg button[aria-checked="true"] { color: #fff; background: var(--ij-co, #1e3a8a); box-shadow: 0 6px 14px -8px var(--ij-co, #1e3a8a), inset 0 1px 0 rgb(255 255 255 / .2); }
.tb-seg .co-dot { width: 20px; height: 20px; font-size: 10px; }

/* entrance: the rows and the strip settle in once (not on every search keystroke) */
.lx.anim .gx-top, .lx.anim .gx-grp { animation: gxIn .55s cubic-bezier(.2,.8,.2,1) both; }
.lx.anim .gx-grp:nth-child(2) { animation-delay: 60ms; } .lx.anim .gx-grp:nth-child(3) { animation-delay: 120ms; }
@keyframes gxIn { from { opacity: 0; transform: translateY(10px); } }
.gx a.gx-t { animation: none; }
.lx.anim .gx a.gx-t, .lx.anim.gx a.gx-t { animation: tileIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(80ms + min(var(--i), 24) * 24ms); }
.gx-apps.searching .gx-grp, .gx-apps.searching a.gx-t { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .gx *, .gx *::before, .gx *::after { animation: none !important; transition: none !important; } }

/* smaller screens */
@media (max-height: 760px) { .gx-ic { width: 42px; } .gx a.gx-t { gap: 8px; } }
@media (max-width: 1100px) {
  .gx-top { grid-template-columns: 1fr 1fr; } .gx-mid { grid-column: 1 / -1; grid-row: 2; }
  .gx-grp { grid-template-columns: 1fr; gap: 10px; } .gx-gh { flex-direction: row; justify-content: flex-start; padding: 10px 14px; text-align: start; } .gx-gh .gx-gc { margin-inline-start: auto; } .gx-gm { width: 44px; height: 44px; }
  .gx-gt { padding: 0; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); grid-auto-rows: 128px; }
}
@media (max-width: 640px) {
  .gx-main { min-height: 0; padding-top: 10px; }
  .gx-top { grid-template-columns: 1fr; } .gx-clock, .gx-central { justify-self: stretch; } .gx-mid { grid-row: auto; } .gx-central { order: 3; }
  .gx-hello { font-size: 26px; } .gx-kb { display: none; }
  .gx-gt { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 112px; gap: 8px; }
  .gx-name { font-size: 12.5px; }
  .tb-seg button { padding: 0 8px; } .tb-seg button { gap: 5px; font-size: 12px; } .tb-seg .co-dot { display: none; }
}

/* clock and Central Dashboard chips: one fixed size, so the clock never grows or shrinks as the seconds tick */
.gx .gx-chip.gx-clock, .gx a.gx-chip.gx-central { width: 340px !important; height: 62px; box-sizing: border-box; padding-block: 0; }
.gx-clock .gx-dt, .gx-central .gx-dt { flex: 1; min-width: 0; } .gx-clock .gx-dt span, .gx-clock .gx-dt small, .gx-central .gx-dt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-central .gx-dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-time { flex: none; } .gx-time b { display: inline-block; min-width: 3.1em; text-align: end; } .gx-time small { display: inline-block; width: 1.9em; text-align: start; } .gx-time em { display: inline-block; min-width: 1.6em; }
@media (max-width: 1100px) { .gx .gx-chip.gx-clock, .gx a.gx-chip.gx-central { width: auto !important; max-width: 340px; } }
@media (max-width: 640px) { .gx .gx-chip.gx-clock, .gx a.gx-chip.gx-central { width: 100% !important; max-width: none; } }

/* returning home or redrawing (company / theme / language switch): no entrance animation */
html.ij-returning .gx *, .gx.gx-still * { animation: none !important; }

/* ═════════ notification centre (every portal screen) ═════════ */
.nc-pop.tb-pop { width: min(440px, calc(100vw - 24px)); max-height: min(76vh, 660px); padding: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: color-mix(in srgb, var(--pop) 88%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 30px 60px -30px rgb(15 23 42 / .45), 0 0 0 1px var(--line); }
.nc-pop[hidden] { display: none; }
.nc-pop .nc-head { padding: 14px 16px 4px; }
.nc-title { margin: 0; font: 700 15px/1.3 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif; color: var(--text); }
.nc-pop .nc-tabs { margin: 8px 16px 0; padding: 3px; gap: 2px; border-radius: 11px; background: var(--hover); }
.nc-pop .nc-tabs button { border: 0; height: 30px; border-radius: 9px; }
.nc-pop .nc-tabs button[aria-selected="true"] { background: var(--pop); color: var(--text); box-shadow: 0 2px 6px -3px rgb(15 23 42 / .3); }
.nc-apps { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px 2px; scrollbar-width: none; }
.nc-apps::-webkit-scrollbar { display: none; }
.nc-apps button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.nc-apps button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c2); }
.nc-apps button[aria-pressed="true"] { color: var(--text); border-color: color-mix(in srgb, var(--c2, var(--text)) 45%, transparent); background: color-mix(in srgb, var(--c2, #64748b) 12%, transparent); }
.nc-list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 8px 8px; overscroll-behavior: contain; }
.nc-day { position: sticky; top: 0; z-index: 1; margin: 6px 0 2px; padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted); background: color-mix(in srgb, var(--pop) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nc-pop .nc-item { gap: 12px; padding: 10px 10px; border-radius: 12px; }
.nc-pop .nc-item:hover { background: var(--hover); }
.nc-pop .nc-item b { font-size: 13.5px; line-height: 1.45; font-weight: 600; } .nc-pop .nc-item.unread b { font-weight: 800; }
.nc-pop .nc-item .lx-icon.mini { margin-top: 2px; }
.nc-pin { background: color-mix(in srgb, #e11d48 7%, transparent); }
.nc-app { font-style: normal; font-weight: 700; font-size: 10.5px; padding: 1px 7px; border-radius: 99px; color: var(--c2); background: color-mix(in srgb, var(--c2) 13%, transparent); }
html.ij-dark .nc-app, .is-dark .nc-app { color: color-mix(in srgb, var(--c2) 45%, #fff); }
.nc-pop .nc-dot { top: 16px; }
.nc-foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); color: var(--accent, var(--ij-accent, #3b82f6)); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.nc-foot:hover { background: var(--hover); } .nc-foot svg { width: 16px; height: 16px; }
.nc-pop .tb-empty { padding: 28px 0; }

/* Home Settings → Notifications: each system's own settings, embedded */
.nt-sec { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.nt-h { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; font-size: 14.5px; font-weight: 700; border-bottom: 1px solid var(--line); }
.nt-frame { display: block; width: 100%; height: 420px; border: 0; background: transparent; transition: height .2s; }
.nc-pop.tb-pop { background: color-mix(in srgb, var(--pop) 97%, transparent); }
.nc-list > a { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); box-sizing: border-box; }
.nc-list > a > span:last-of-type { display: grid; gap: 2px; min-width: 0; text-align: start; }
.nc-list > a small { color: var(--muted); font-size: 12px; }
.nc-list > a:hover, .nc-list > a:focus-visible { background: var(--hover); outline: none; }
.nc-apps button { white-space: nowrap; line-height: 1; color: var(--muted) !important; font-size: 12px !important; width: auto !important; }
.nc-apps button[aria-pressed="true"] { color: var(--text) !important; }
.nc-pop.tb-pop { background: var(--pop, #fff); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nc-pop .nc-head, .nc-pop .nc-tabs, .nc-apps, .nc-foot { flex: none; }
.nc-apps { padding-bottom: 6px; }

/* Home Settings → Notifications: a switch per system, one system shown at a time */
.nt-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.nt-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--hover); }
.nt-switch button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
html[dir="rtl"] .nt-switch button { padding: 0 10px 0 14px; }
.nt-switch button[aria-selected="true"] { background: var(--pop, #fff); color: var(--text); box-shadow: 0 4px 12px -6px rgb(15 23 42 / .3); }
.nt-switch .lx-icon.mini { width: 24px; height: 24px; }
.nt-sec { margin-top: 14px; }
.nt-sec .nt-h { display: none; }
/* settings live preview: a small copy of the new home rows */
.gx-preview { position: relative; height: 100%; min-height: 360px; padding: 14px; border-radius: 16px; overflow: hidden; box-sizing: border-box; isolation: isolate; }
.gx-preview .gx-bg { position: absolute; }
.gx-preview a { pointer-events: none; }
.gx-pv-top { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }
.gx-pv-top span { height: 18px; border-radius: 8px; background: var(--gx-card); border: 1px solid var(--gx-bd); }
.gx-pv-top .gx-pv-hello { height: 24px; }
.gx-preview .gx-apps { margin: 0; gap: 8px; padding: 0; }
.gx-preview .gx-grp { grid-template-columns: 74px 1fr; padding: 6px; border-radius: 16px; }
.gx-preview .gx-gh { padding: 8px 4px; gap: 6px; border-radius: 12px; }
.gx-preview .gx-gm { width: 28px; height: 28px; border-radius: 9px; } .gx-preview .gx-gm svg { width: 14px; height: 14px; }
.gx-preview .gx-gx b { font-size: 10.5px; } .gx-preview .gx-gx small, .gx-preview .gx-gc { display: none; }
.gx-preview .gx-gt { grid-auto-rows: 74px; gap: 6px; padding-inline-start: 6px; grid-template-columns: repeat(min(var(--cols), 5), minmax(0, 1fr)); }
.gx-preview a.gx-t { border-radius: 12px; gap: 5px; padding: 4px; }
.gx-preview .gx-ic { width: 26px; } .gx-preview .gx-name { font-size: 9.5px; } .gx-preview .gx-badge { top: 4px; inset-inline-start: 4px; min-width: 15px; height: 15px; font-size: 8.5px; padding: 0 4px; }
.st-seg button:has(svg) { display: inline-flex; align-items: center; gap: 7px; padding-inline: 16px; } .st-seg button svg { width: 16px; height: 16px; flex: none; }
.nt-sound { margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
