/* HesapPOS sistem durumu — beyaz liste */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body.hpst-solo {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background: #fff;
  color: #0f172a;
  min-height: 100vh;
}

.hpst-top {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hpst-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.hpst-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.hpst-top-mark {
  font-size: 13px;
  font-weight: 650;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hpst-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.hpst-hero {
  padding: 8px 0 26px;
}

.hpst-hero-ico {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.hpst-hero-ok .hpst-hero-ico { background: #ecfdf3; color: #16a34a; }
.hpst-hero-degraded .hpst-hero-ico { background: #fff7ed; color: #d97706; }
.hpst-hero-down .hpst-hero-ico { background: #fef2f2; color: #dc2626; }

.hpst-refresh {
  margin: 0 0 12px;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.55;
}

.hpst-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #0f172a;
}

.hpst-lead {
  margin: 0;
  max-width: 38em;
  color: #16a34a;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 650;
}

.hpst-hero-down .hpst-lead,
.hpst-hero-degraded .hpst-lead { color: #64748b; font-weight: 500; }

.hpst-panel {
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  overflow: hidden;
}

.hpst-panel-title {
  margin: 0;
  padding: 16px 20px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.hpst-list {
  list-style: none;
  margin: 0;
  padding: 0 12px 8px;
}

.hpst-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 1.6fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 10px;
  border-top: 1px solid #f1f5f9;
}

.hpst-row-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.hpst-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hpst-row-ok .hpst-dot { background: #16a34a; color: #fff; }
.hpst-row-slow .hpst-dot { background: #d97706; color: #fff; }
.hpst-row-down .hpst-dot { background: #dc2626; color: #fff; }

.hpst-row-left strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.hpst-desc {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.hpst-meta {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #94a3b8;
}

.hpst-uptime {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 650;
  color: #16a34a;
  line-height: 1.4;
}

.hpst-row-down .hpst-uptime { color: #dc2626; }

.hpst-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 22px;
}

.hpst-tick {
  flex: 1;
  height: 16px;
  border-radius: 1px;
  background: #86efac;
  min-width: 2px;
}

.hpst-row-slow .hpst-tick:last-child { background: #fbbf24; }
.hpst-row-down .hpst-tick:last-child { background: #f87171; }

.hpst-now {
  font-size: 12.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.hpst-row-ok .hpst-now { color: #16a34a; font-weight: 650; }
.hpst-row-slow .hpst-now { color: #d97706; font-weight: 650; }
.hpst-row-down .hpst-now { color: #dc2626; font-weight: 650; }

.hpst-https {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 18px 20px;
}

.hpst-https-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ecfdf3;
  color: #16a34a;
}

.hpst-https-down .hpst-https-ico {
  background: #fef2f2;
  color: #dc2626;
}

.hpst-https h2 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.hpst-https p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.hpst-bottom {
  width: min(880px, calc(100% - 40px));
  margin: 8px auto 40px;
  text-align: center;
}

.hpst-note {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
}

.hpst-note a {
  color: #0a66c2;
  text-decoration: none;
  font-weight: 650;
}

.hpst-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .hpst-top, .hpst-main { width: calc(100% - 28px); }
  .hpst-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .hpst-bars { grid-column: 1 / -1; }
  .hpst-hero h1 { font-size: 26px; }
}
