/* =============================================
   HYDROSENSE — Admin Panel Styles
   ============================================= */

/* ── Nav link admin style ───────────────────── */
.nav__link--admin {
  color: var(--aqua) !important;
  border: 1px solid rgba(64,180,196,0.2);
}
.nav__link--admin:hover,
.nav__link--admin.active {
  background: rgba(64,180,196,0.12) !important;
  border-color: rgba(64,180,196,0.4);
  color: var(--off-white) !important;
}

/* ── Layout ─────────────────────────────────── */
.adm-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h));
}

/* ── Sidebar ────────────────────────────────── */
.adm-sidebar {
  background: var(--bg-card);
  border-right: 1px solid rgba(82,183,136,0.1);
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.adm-sidebar__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 20px;
  border-bottom: 1px solid rgba(82,183,136,0.1);
}
.adm-sidebar__icon {
  font-size: 1.4rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(64,180,196,0.12);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.adm-sidebar__title {
  font-size: .95rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--off-white);
  margin: 0;
}
.adm-sidebar__sub {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-display);
}

/* ── Sidebar nav ────────────────────────────── */
.adm-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .18s ease;
}
.adm-nav__item:hover {
  background: rgba(82,183,136,0.07);
  color: var(--off-white);
}
.adm-nav__item.active {
  background: rgba(64,180,196,0.12);
  color: var(--aqua);
  font-weight: 600;
}
.adm-nav__icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }

/* ── Main content ───────────────────────────── */
.adm-main {
  padding: 40px 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

/* ── Section header ─────────────────────────── */
.adm-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.adm-section-icon {
  font-size: 1.8rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(82,183,136,0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.adm-section-title {
  font-size: 1.4rem;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.adm-section-desc { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* ── Cards ──────────────────────────────────── */
.adm-card {
  background: var(--bg-card);
  border: 1px solid rgba(82,183,136,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adm-card--info {
  background: rgba(64,180,196,0.04);
  border-color: rgba(64,180,196,0.15);
}
.adm-card-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.adm-card-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 0;
}
.adm-card-subtitle {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

/* ── Forms ──────────────────────────────────── */
.adm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.adm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adm-field label,
.adm-field > span {
  font-size: .74rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.adm-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(82,183,136,0.15);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: .86rem;
  padding: 9px 12px;
  transition: border-color .2s;
  width: 100%;
}
.adm-input:focus { outline: none; border-color: var(--green-lime); }
.adm-input--sm { width: 100px; }

select.adm-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238BA99A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
select.adm-input option { background: var(--bg-card); }

/* ── Toggle ─────────────────────────────────── */
.adm-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .84rem;
  color: var(--off-white);
}
.adm-toggle {
  position: relative;
  width: 36px; height: 20px;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.adm-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s, background .2s;
}
.adm-toggle:checked { background: rgba(82,183,136,0.3); }
.adm-toggle:checked::after { transform: translateX(16px); background: var(--green-lime); }
.adm-toggle-lbl { font-size: .8rem; color: var(--muted); font-family: var(--font-display); }

/* ── Actions ────────────────────────────────── */
.adm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* ── Result line ────────────────────────────── */
.adm-result {
  display: none;
  font-size: .82rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
}

/* ── Code block ─────────────────────────────── */
.adm-code-block {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(64,180,196,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.adm-code-label {
  display: block;
  font-size: .68rem;
  font-family: var(--font-display);
  color: var(--aqua);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.adm-code-block code {
  font-size: .8rem;
  color: var(--off-white);
  word-break: break-all;
}
.adm-hint {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.adm-hint code {
  background: rgba(64,180,196,0.1);
  color: var(--aqua);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: .78rem;
}

/* ── Threshold bars ─────────────────────────── */
.adm-th-list { display: flex; flex-direction: column; gap: 12px; }
.adm-th-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.adm-th-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  flex: 1;
}
.adm-th-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.adm-th-info strong { font-family: var(--font-display); font-size: .88rem; display: block; }
.adm-th-range-label { font-size: .72rem; color: var(--muted); }
.adm-th-controls { display: flex; gap: 12px; }
.adm-th-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .7rem;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: .04em;
}
.adm-th-field em {
  font-style: normal;
  font-size: .68rem;
  color: rgba(139,169,154,0.5);
  text-align: right;
}
.adm-th-bar-wrap { flex: 2; min-width: 160px; }
.adm-th-bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 4px;
}
.adm-th-bar-fill {
  position: absolute;
  height: 100%;
  border-radius: 99px;
  opacity: .7;
}
.adm-th-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: .65rem;
  color: rgba(139,169,154,0.4);
}

/* ── Users table ────────────────────────────── */
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.adm-table th {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(82,183,136,0.1);
  white-space: nowrap;
}
.adm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(82,183,136,0.06);
  color: var(--off-white);
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: rgba(82,183,136,0.03); }
.adm-action-btn {
  background: rgba(224,92,92,0.08);
  border: 1px solid rgba(224,92,92,0.2);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: .74rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: all .18s;
}
.adm-action-btn:hover { background: rgba(224,92,92,0.18); }

.adm-new-user-form {
  background: rgba(82,183,136,0.04);
  border: 1px dashed rgba(82,183,136,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

/* ── Role cards ─────────────────────────────── */
.adm-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adm-role-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(82,183,136,0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adm-role-card ul { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.adm-role-card li { font-size: .8rem; color: var(--muted); }

/* ── RPi command grid ───────────────────────── */
.adm-cmd-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.adm-cmd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.adm-cmd-btn span:first-child { font-size: 1.4rem; }
.adm-cmd-btn--green  { background: rgba(82,183,136,0.1);  border-color: rgba(82,183,136,0.2);  color: var(--green-lime); }
.adm-cmd-btn--aqua   { background: rgba(64,180,196,0.1);  border-color: rgba(64,180,196,0.2);  color: var(--aqua);       }
.adm-cmd-btn--warning{ background: rgba(244,168,54,0.1);  border-color: rgba(244,168,54,0.2);  color: var(--warning);    }
.adm-cmd-btn--danger { background: rgba(224,92,92,0.1);   border-color: rgba(224,92,92,0.2);   color: var(--danger);     }
.adm-cmd-btn:hover   { transform: translateY(-2px); filter: brightness(1.15); }

/* ── Notifications ──────────────────────────── */
.adm-notif-toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adm-check-group { display: flex; gap: 12px; flex-wrap: wrap; }
.adm-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.adm-check-item input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--green-lime);
  cursor: pointer;
}

/* ── Backup ─────────────────────────────────── */
.adm-backup-grid { display: flex; flex-direction: column; gap: 10px; }
.adm-backup-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(82,183,136,0.08);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.adm-backup-icon { font-size: 1.6rem; flex-shrink: 0; }
.adm-backup-item > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-backup-item strong { font-family: var(--font-display); font-size: .86rem; color: var(--off-white); }
.adm-backup-item span   { font-size: .76rem; color: var(--muted); }

.adm-file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px;
  border: 2px dashed rgba(82,183,136,0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  color: var(--muted);
  font-size: .84rem;
  transition: border-color .2s, background .2s;
}
.adm-file-drop:hover {
  border-color: rgba(82,183,136,0.45);
  background: rgba(82,183,136,0.04);
  color: var(--off-white);
}
.adm-file-drop__icon { font-size: 2rem; }

/* ── Sysinfo ────────────────────────────────── */
.adm-sysinfo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.adm-sysinfo-card { gap: 12px; }
.adm-info-list { display: flex; flex-direction: column; gap: 0; }
.adm-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(82,183,136,0.06);
  font-size: .83rem;
}
.adm-info-row:last-child { border-bottom: none; }
.adm-info-row span { color: var(--muted); }
.adm-info-row strong { color: var(--off-white); font-family: var(--font-display); font-size: .82rem; }

/* ── Maintenance ────────────────────────────── */
.adm-maint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.adm-task-list { display: flex; flex-direction: column; gap: 8px; }
.adm-task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(82,183,136,0.07);
  cursor: pointer;
  transition: background .15s;
}
.adm-task-item:hover { background: rgba(82,183,136,0.06); }
.adm-checkbox {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--green-lime);
  cursor: pointer;
  flex-shrink: 0;
}
.adm-task-item > div { display: flex; flex-direction: column; gap: 2px; }
.adm-task-item strong { font-family: var(--font-display); font-size: .84rem; color: var(--off-white); }
.adm-task-item span   { font-size: .76rem; color: var(--muted); }

.adm-btn--run {
  border-color: rgba(82,183,136,0.35);
  color: var(--green-lime);
}
.adm-btn--run:hover { background: rgba(82,183,136,0.1); }

.adm-maint-log { display: flex; flex-direction: column; gap: 8px; }
.adm-log-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  flex-wrap: wrap;
}
.adm-log-entry__date  { color: var(--muted); font-family: var(--font-display); }
.adm-log-entry__tasks { color: var(--off-white); flex: 1; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .adm-layout { grid-template-columns: 200px 1fr; }
  .adm-main   { padding: 28px 28px 60px; }
  .adm-sysinfo-grid { grid-template-columns: 1fr; }
  .adm-role-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .adm-layout { grid-template-columns: 1fr; }
  .adm-sidebar {
    position: static;
    height: auto;
    padding: 20px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(82,183,136,0.1);
  }
  .adm-nav { flex-direction: row; flex-wrap: wrap; }
  .adm-nav__item { width: auto; padding: 7px 12px; }
  .adm-main { padding: 24px 16px 48px; }
  .adm-form-grid { grid-template-columns: 1fr; }
  .adm-cmd-grid  { grid-template-columns: 1fr 1fr; }
  .adm-th-row    { flex-direction: column; align-items: flex-start; }
}

/* ── Admin Login ────────────────────────────── */
.adm-login-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(27,67,50,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(64,180,196,0.08) 0%, transparent 50%);
}

.adm-login-card {
  background: var(--bg-card);
  border: 1px solid rgba(82,183,136,0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

/* Header strip */
.adm-login-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px 24px;
  background: rgba(82,183,136,0.05);
  border-bottom: 1px solid rgba(82,183,136,0.1);
}

.adm-login-logo {
  flex-shrink: 0;
}

.adm-login-title {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--off-white);
  margin: 0 0 3px;
  line-height: 1.2;
}

.adm-login-sub {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-display);
  margin: 0;
}

.adm-login-divider {
  display: none;
}

/* Form area */
.adm-login-form {
  padding: 28px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-login-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.adm-login-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.adm-login-input {
  width: 100%;
  font-size: .9rem;
  padding: 11px 14px;
  letter-spacing: .01em;
}

.adm-login-pass-wrap {
  position: relative;
}
.adm-login-pass-wrap .adm-login-input {
  padding-right: 42px;
}
.adm-show-pass {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; padding: 4px;
  display: flex; align-items: center;
  opacity: 0.6; transition: opacity .2s;
}
.adm-show-pass:hover { opacity: 1; }

.adm-input--error { border-color: var(--danger) !important; }

/* Error */
.adm-login-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--danger);
  font-family: var(--font-display);
  background: rgba(224,92,92,0.08);
  border: 1px solid rgba(224,92,92,0.2);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  margin: 0 32px;
}

/* Button */
.adm-login-btn {
  margin: 20px 32px 0;
  justify-content: center;
  gap: 8px;
}

/* Footer note */
.adm-login-note {
  font-size: .7rem;
  color: rgba(139,169,154,0.4);
  text-align: center;
  padding: 16px 32px 28px;
  font-family: var(--font-display);
  letter-spacing: .04em;
}

/* ── Pump Control ────────────────────────────── */
.adm-pump-status-card { gap: 20px; }

.adm-pump-status-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.adm-pump-indicator {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: border-color .3s;
}
.adm-pump-indicator--on {
  border-color: var(--green-lime);
  box-shadow: 0 0 16px rgba(82,183,136,0.3);
}
.adm-pump-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green-lime);
  opacity: 0;
  transition: opacity .3s;
}
.adm-pump-indicator--on .adm-pump-ring {
  opacity: 1;
  animation: ring-spin 1.2s linear infinite;
}

.adm-pump-master {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.adm-pump-manual {
  border-top: 1px solid rgba(82,183,136,0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-pump-manual-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.adm-pump-run-btn {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  border: 1px solid rgba(82,183,136,0.3);
}
.adm-pump-run-btn:hover {
  background: linear-gradient(135deg, #2D6A4F, #52B788);
}

/* Schedule list */
.adm-pump-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-pump-sched-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(82,183,136,0.1);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  transition: border-color .2s, opacity .2s;
}
.adm-pump-sched-card--off {
  opacity: 0.5;
}
.adm-pump-sched-card:hover {
  border-color: rgba(82,183,136,0.25);
}

.adm-pump-sched-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 160px;
}

.adm-pump-sched-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adm-pump-sched-name {
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  padding: 0;
  width: 140px;
  outline: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.adm-pump-sched-name:focus {
  border-bottom-color: rgba(82,183,136,0.4);
}

.adm-pump-sched-meta {
  display: flex;
  gap: 10px;
}
.adm-pump-time,
.adm-pump-dur {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-display);
}

/* Day buttons */
.adm-pump-days {
  display: flex;
  gap: 4px;
}
.adm-day-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(82,183,136,0.15);
  background: transparent;
  color: var(--muted);
  font-size: .68rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: all .18s;
}
.adm-day-btn.active {
  background: rgba(82,183,136,0.2);
  border-color: var(--green-lime);
  color: var(--green-lime);
}
.adm-day-btn:hover { border-color: rgba(82,183,136,0.4); color: var(--off-white); }

.adm-pump-sched-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pump log */
.adm-pump-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}