 
.ph-apps-top, .ph-apps-bottom { --ph-acc: #24357C; --ph-ink: #1D2B66; --ph-text: #141824; --ph-muted: #565e70; --ph-quiet: #6b7284;
  --ph-ok: #13702f; --ph-surface-2: rgba(240,243,246,.9); font-family: "Onest", "Segoe UI", system-ui, sans-serif; line-height: 1.45; }
.ph-apps-top *, .ph-apps-bottom * { box-sizing: border-box; }
.ph-apps-top [hidden], .ph-apps-bottom [hidden] { display: none !important; }

 
.ph-apps-icw { position: relative; display: inline-flex; flex: none; }
.ph-apps-icw img { display: block; }
.ph-apps-ok { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%; background: #18a34a; border: 2px solid #fff;
  display: grid; place-items: center; color: #fff; font-style: normal; font-size: 8px; font-weight: 800; line-height: 1; }
.ph-apps-ok.is-susp { background: #f5b301; color: #5a3a00; }
.ph-apps-ib .ph-apps-ok { width: 12px; height: 12px; right: -3px; bottom: -3px; font-size: 6.5px; border-width: 1.5px; }

 
.ph-apps-top { position: relative; flex: none; }
.ph-apps-btn { display: inline-flex; align-items: center; gap: 0; height: 38px; padding: 0 3px; border-radius: 999px; cursor: pointer; margin: 0;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); color: #3f4658; font: inherit; font-weight: 600; font-size: 13px; box-shadow: none; white-space: nowrap; }
.ph-apps-btn:hover, .ph-apps-top.is-open .ph-apps-btn { background: #fff; color: var(--ph-text); }
.ph-apps-btn:focus-visible { outline: 2px solid color-mix(in srgb, var(--ph-acc) 50%, transparent); outline-offset: 2px; }
.ph-apps-lbl { display: inline-flex; align-items: center; height: 30px; padding: 0 8px 0 10px; }
.ph-apps-ib { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.ph-apps-ib img { width: 22px; height: 22px; }
.ph-apps-ib.is-cur { background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ph-acc) 45%, transparent); }
.ph-apps-chev { width: 30px; height: 30px; display: grid; place-items: center; }
.ph-apps-chev svg { width: 14px; height: 14px; opacity: .6; }

 
.ph-apps-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 690px; max-width: calc(100vw - 48px); padding: 14px; border-radius: 22px;
  background: rgba(255,255,255,.98); box-shadow: 0 20px 50px rgba(20,40,60,.18); border: 1px solid rgba(20,30,50,.06); display: flex; flex-direction: column; gap: 8px;
  text-align: left; color: var(--ph-text); font-size: 14px; }
.ph-apps-h { display: flex; align-items: baseline; gap: 8px; padding: 2px 8px; }
.ph-apps-pop .ph-apps-h b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.ph-apps-all { margin-left: auto; font-size: 12.5px; color: var(--ph-quiet); text-decoration: none; white-space: nowrap; }
.ph-apps-all:hover { color: var(--ph-ink); text-decoration: underline; text-underline-offset: 3px; }
.ph-apps-fh { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ph-quiet); padding: 6px 10px 4px; }
.ph-apps-l { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 4px; }

 
.ph-apps-gi { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; min-width: 0; text-decoration: none; color: inherit; }
a.ph-apps-gi { cursor: pointer; }
a.ph-apps-gi:hover { background: #fff; }
.ph-apps-pop a.ph-apps-gi:hover { background: var(--ph-surface-2); }
.ph-apps-gi img { width: 30px; height: 30px; }
.ph-apps-t { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.ph-apps-nm { display: flex; align-items: center; min-width: 0; }
.ph-apps-nm b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--ph-text); }
.ph-apps-gi small { font-size: 12px; color: var(--ph-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-apps-gi small.ph-apps-okt { color: var(--ph-ok); font-weight: 600; }
.ph-apps-gi small.ph-apps-susp { align-self: flex-start; max-width: 100%; color: #7a4e00; background: #fff1d6; font-weight: 600; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.ph-apps-here { font-style: normal; font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 1px 7px; margin-left: 6px; white-space: nowrap; flex: none;
  color: var(--ph-muted); background: rgba(20,30,50,.06); }

 
.ph-apps-bottom { display: block; margin-top: 26px; padding: 12px 14px 10px; border-radius: 22px; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.75);
  color: var(--ph-text); font-size: 14px; text-align: left; }
.ph-apps-bottom:empty { display: none; }
.ph-apps-bottom .ph-apps-h { gap: 6px; padding: 2px 10px 6px; }
.ph-apps-bottom .ph-apps-h b { font-size: 13.5px; font-weight: 600; color: #2b3142; white-space: nowrap; }
.ph-apps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px 4px; }
@media (max-width: 1100px) { .ph-apps-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px) { .ph-apps-grid, .ph-apps-l { grid-template-columns: repeat(2, minmax(0,1fr)); } }
