/* /aplikacje - mockup telefonu, karty rol, status online / w przygotowaniu.
   Kolory telefonu i chipow "W przygotowaniu": --pg-* . */

:root{
  --pg-phone-bg:#eaeff8;
  --pg-phone-line:rgba(10,20,40,.13);
  --pg-phone-shadow:0 24px 60px rgba(15,25,50,.12);
  --pg-screen:#ffffff;
  --pg-screen-line:rgba(10,20,40,.08);
  --pg-screen-muted:#5c6579;
  --pg-screen-title:#0b1220;
  --pg-row:#f4f6fb;
  --pg-row-line:rgba(10,20,40,.08);
  --pg-status:#0b6b3f;
  --pg-btn-fg:#ffffff;
  --pg-prep:#9a5b00;
  --pg-prep-ring:rgba(154,91,0,.18);
  --pg-chip-bg:#ffffff;
  --pg-chip-line:rgba(10,20,40,.10);
  --pg-chip-fg:#1f2736;
  --pg-chip-hover:rgba(0,87,255,.08);
}
:root[data-theme="dark"]{
  --pg-phone-bg:#050914;
  --pg-phone-line:rgba(255,255,255,.1);
  --pg-phone-shadow:0 28px 70px rgba(0,0,0,.45);
  --pg-screen:#0c1018;
  --pg-screen-line:rgba(255,255,255,.07);
  --pg-screen-muted:#8a92a3;
  --pg-screen-title:#ffffff;
  --pg-row:#12161f;
  --pg-row-line:rgba(255,255,255,.07);
  --pg-status:#4dff9f;
  --pg-btn-fg:#ffffff;
  --pg-prep:#d7dbe4;
  --pg-prep-ring:rgba(138,146,163,.2);
  --pg-chip-bg:#12161f;
  --pg-chip-line:rgba(255,255,255,.08);
  --pg-chip-fg:#e5e8ee;
  --pg-chip-hover:rgba(0,87,255,.22);
}

.ap-split > .fe-head{flex:1 1 340px;min-width:0}
.ap-stage{flex:0 1 320px;min-width:0;display:flex;justify-content:center}

.ap-phone{
  width:min(300px,100%);
  padding:10px;
  border-radius:36px;
  background:var(--pg-phone-bg);
  border:1px solid var(--pg-phone-line);
  box-shadow:var(--pg-phone-shadow);
}
.ap-phone__screen{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:460px;
  padding:18px 14px 14px;
  border-radius:28px;
  background:var(--pg-screen);
  border:1px solid var(--pg-screen-line);
}
.ap-phone__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--pg-screen-muted);
  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ap-phone__title{color:var(--pg-screen-title);font-size:20px;font-weight:600;letter-spacing:-.03em}
.ap-phone__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ap-phone__list li{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:12px;
  border-radius:16px;
  background:var(--pg-row);
  border:1px solid var(--pg-row-line);
}
.ap-phone__name{color:var(--pg-screen-title);font-size:14px;font-weight:600;line-height:1.35}
.ap-phone__status{display:inline-flex;align-items:center;gap:6px;color:var(--pg-status);font-size:12px;font-weight:600}
.ap-phone__btn{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  height:46px;
  border-radius:var(--fe-pill);
  background:var(--fe-blue);
  color:var(--pg-btn-fg);
  font-size:14px;
  font-weight:700;
}

.ap-list{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.ap-list li{position:relative;padding-left:16px;color:var(--fe-text);font-size:15px;line-height:1.45}
.ap-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--fe-blue-light);
}

.ap-dot{
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--pg-prep);
  box-shadow:0 0 0 4px var(--pg-prep-ring);
}

.fe-chip:has(.ap-dot){
  align-self:flex-start;
  width:auto;
  background:var(--pg-chip-bg);
  border-color:var(--pg-chip-line);
  color:var(--pg-chip-fg);
}
.fe-chip:has(.ap-dot):hover{
  background:var(--pg-chip-hover);
  color:var(--pg-chip-fg);
}

.ap-note{max-width:640px}
.ap-actions{display:flex;flex-wrap:wrap;gap:12px}
