/* Group Pulse (thesimind.si/group-pulse/, the admin page and every public group page, v2.28). Built by Codeflex.
   It adds only what the earlier sheets (simind.css, simind-grow.css, simind-pass.css, roadtest.css) do not have: the sample
   messages, the price table's own column, the command list, the public page list, the admin's page and the small bar charts.
   Every panel is centered, every grid fills its row, and a lone last card spans. No corner brackets. */
.gpm [hidden]{display:none!important}

/* three steps in one even row (two, then one on a phone) */
.gp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gp-steps .step{margin:0;height:100%}

/* a message as the bot sends it */
.gp-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.gp-sample{display:flex;flex-direction:column;gap:14px;min-width:0}
.gp-sample header{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 14px;text-align:center}
.gp-sample header h3{margin:0;font-family:var(--f-display);font-size:clamp(17px,1.6vw,21px);letter-spacing:.03em;color:#fff}
.gp-sample .rt-ico{width:44px;height:44px}
.gp-sample .rt-ico svg{width:20px;height:20px}
.gp-msg{flex:1 1 auto;margin:0;padding:18px 20px;border-radius:14px;border:1px solid var(--line2);background:rgba(2,8,20,.92);color:#d7ecff;font-family:var(--f-mono);font-size:13.5px;line-height:1.65;
  white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;max-width:100%;tab-size:2}
.gp-msg:focus{outline:none;border-color:var(--cyan)}

/* the price table: our column stands out, numbers and words centered */
.gp-price th,.gp-price td{text-align:center}
.gp-price thead th{font-size:12px;color:#fff}
.gp-price tbody th{text-align:left;white-space:nowrap}
.gp-price td.is-us{color:var(--up);font-weight:600}
.gp-src{margin:16px auto 0;max-width:900px;text-align:center;color:var(--dim);font-size:14px;line-height:1.6}
.gp-src+.hero-cta{justify-content:center;margin-top:14px}

/* every command */
.gp-cmds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.gp-cmd{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:0;padding:18px 20px;border-radius:var(--r);border:1px solid var(--line);background:linear-gradient(180deg,rgba(6,22,52,.92),rgba(3,12,28,.94));text-align:center;min-width:0}
.gp-cmd:last-child:nth-child(odd){grid-column:1/-1}
.gp-cmd dt{margin:0;max-width:100%}
.gp-cmd dt code{display:inline-block;max-width:100%;padding:6px 14px;border-radius:999px;border:1px solid var(--line2);background:rgba(2,10,26,.85);color:#dff6ff;font-family:var(--f-mono);font-size:14px;overflow-wrap:anywhere}
.gp-cmd dd{margin:0;color:var(--muted);font-size:15px;line-height:1.55}

/* the public pages */
.gp-pub{margin-top:18px}
.gp-pub-h{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 14px;font-family:var(--f-mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--steel);font-weight:500}
.gp-pub-h svg{width:18px;height:18px}
.gp-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gp-list>.rt-empty{grid-column:1/-1}
.gp-list.is-1{grid-template-columns:1fr}
.gp-list.is-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gp-item{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 20px;border-radius:var(--r);border:1px solid var(--line);background:linear-gradient(180deg,rgba(6,22,52,.92),rgba(3,12,28,.94));text-align:center;min-width:0;text-decoration:none;color:inherit;transition:transform .3s,border-color .3s,box-shadow .3s}
.gp-item:hover{transform:translateY(-3px);border-color:var(--line2);box-shadow:var(--glow)}
.gp-item b{font-family:var(--f-display);font-size:17px;letter-spacing:.03em;color:#fff;overflow-wrap:anywhere}
.gp-item small{color:var(--muted);font-size:14px}
.gp-item .btn{margin-top:4px}

/* the admin's page */
.gp-top{margin:14px auto 0;max-width:820px}
.gp-top:empty{display:none}
.gp-app{display:flex;flex-direction:column;gap:18px}
.gp-app>*{width:100%;min-width:0}
.gp-app .section-head{margin:8px auto 0}
.gp-head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.gp-head h2{margin:0;font-size:clamp(22px,2.6vw,34px);overflow-wrap:anywhere}
.gp-pick{width:min(100%,420px);text-align:left}
.gp-tags,.gp-chips{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;width:100%}
.gp-note{margin:0 auto;max-width:760px;text-align:center;color:var(--muted);font-size:14.5px;line-height:1.6}
.gp-note.is-warn{color:#ffd77a}
.gr-stats.gp-six{grid-template-columns:repeat(6,minmax(0,1fr))}
.gp-weeks,.gp-text,.gp-set{display:flex;flex-direction:column;gap:14px;min-width:0}
.gp-weeks>.kicker,.gp-set>.kicker,.gp-rm>.kicker,.gp-chart>.kicker{margin:0;text-align:center}
.gp-table th,.gp-table td{text-align:center}
.gp-table tbody th{white-space:nowrap}
.gp-table tbody th small{display:inline-block;margin-left:6px;color:var(--dim);font-weight:400;font-size:12px}
.gp-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.gp-text header{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px}
.gp-text header .kicker{margin:0}
.gp-form{display:flex;flex-direction:column;gap:16px}
.gp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gp-form .hero-cta{justify-content:center;margin:4px 0 0}
.gp-sw{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:rgba(3,14,34,.75);cursor:pointer;text-align:left}
.gp-sw input{position:absolute;opacity:0;width:1px;height:1px}
.gp-sw-box{position:relative;flex:0 0 auto;width:46px;height:26px;border-radius:999px;border:1px solid var(--line2);background:rgba(2,10,26,.9);transition:background .25s,border-color .25s}
.gp-sw-box::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--steel);transition:transform .25s,background .25s}
.gp-sw input:checked+.gp-sw-box{background:rgba(0,192,240,.25);border-color:var(--cyan)}
.gp-sw input:checked+.gp-sw-box::after{transform:translateX(20px);background:#dff6ff}
.gp-sw input:focus-visible+.gp-sw-box{outline:2px solid var(--cyan);outline-offset:2px}
.gp-sw input:disabled+.gp-sw-box{opacity:.45}
.gp-sw-t{display:flex;flex-direction:column;gap:2px;color:#fff;font-weight:600;min-width:0}
.gp-sw-t small{color:var(--dim);font-weight:400;font-size:13px;line-height:1.45}

/* a public group page */
.gp-ver{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.gp-ver p{margin:0;color:var(--muted)}
.gp-ver .gr-tag{align-self:center;padding:7px 16px;font-size:12px;white-space:normal;text-align:center}
.gp-ver .gr-tag svg{flex:0 0 auto;width:16px;height:16px}
.gp-chart{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;min-width:0}
.gp-chart small{color:var(--dim);font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.gp-bars{display:flex;align-items:flex-end;justify-content:center;gap:clamp(2px,.6vw,8px);width:100%;height:140px;padding:0 4px;border-bottom:1px solid var(--line2)}
.gp-bar{flex:1 1 0;max-width:34px;min-width:3px;height:max(2px,var(--h,0%));border-radius:4px 4px 0 0;background:linear-gradient(180deg,#7fe3ff,rgba(0,120,220,.75))}
.gp-bars.is-hours{height:110px}
.gp-axis{display:flex;justify-content:space-between;width:100%;padding:0 4px;color:var(--dim);font-family:var(--f-mono);font-size:11px}
.gp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.gp-pair.is-solo{grid-template-columns:1fr}
.gp-rm{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.gp-rm p{margin:0;color:var(--muted)}
.gp-chip{display:inline-flex;align-items:center;gap:10px;padding:9px 16px;border-radius:999px;border:1px solid var(--line2);background:rgba(0,48,120,.3);color:var(--ice);font-size:14px}
.gp-chip-n{font-family:var(--f-mono);font-weight:700;color:#fff}
.gp-e .gr-stats{margin-top:0}

@media (max-width:1100px){
  .gr-stats.gp-six{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .gp-samples,.gp-cols,.gp-pair{grid-template-columns:1fr}
  .gp-list,.gp-list.is-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gp-list>.gp-item:last-child:nth-child(odd){grid-column:1/-1}
  .gp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gp-steps .step:last-child{grid-column:1/-1}
}
@media (max-width:640px){
  .gp-cmds,.gp-list,.gp-list.is-2,.gp-row,.gp-steps{grid-template-columns:1fr}
  .gr-stats.gp-six{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gp-msg{padding:14px 14px;font-size:12.5px}
  .gp-price th,.gp-price td{padding:10px 8px;font-size:14px}
  .gp-price tbody th{white-space:normal}
  .gp-table{font-size:13.5px}
  .gp-table th,.gp-table td{padding:9px 8px}
  .gp-bars{height:110px}
  /* a metric's label stays on one line and whole on a phone */
  .gpm .gr-stats .stat{padding-inline:10px}
  .gpm .gr-stats .stat small{font-size:10px;letter-spacing:.06em}
}
@media (prefers-reduced-motion:reduce){
  .gp-item,.gp-sw-box,.gp-sw-box::after{transition:none}
}
