/* Swedish Mosque Prayer Times — clean responsive design */
.smpt-widget,
.smpt-screen {
  --smpt-primary: #0f766e;
  --smpt-accent: #d4a72c;
  --smpt-surface: #ffffff;
  --smpt-text: #17342f;
  --smpt-widget-border: #d4a72c;
  --smpt-next-bg: #0f766e;
  --smpt-next-text: #ffffff;
  --smpt-next-border: #0b665e;
  --smpt-card-bg: #f7fbfa;
  --smpt-card-text: #17342f;
  --smpt-icon: #d4a72c;
  --smpt-radius: 24px;
  --smpt-font-scale: 1;
  box-sizing: border-box;
  color: var(--smpt-text);
  font-family: inherit;
  font-size: calc(16px * var(--smpt-font-scale));
  line-height: 1.35;
}
.smpt-widget *,
.smpt-screen * { box-sizing: border-box; }
.smpt-widget {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--smpt-widget-border);
  border-radius: var(--smpt-radius);
  background: var(--smpt-surface);
  box-shadow: 0 16px 42px rgba(19, 55, 49, .08);
  container-type: inline-size;
}
.smpt-theme-minimal { box-shadow: none; }
.smpt-theme-glass {
  background: color-mix(in srgb, var(--smpt-surface) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.smpt-theme-emerald { background: linear-gradient(145deg, color-mix(in srgb, var(--smpt-primary) 4%, #fff), #fff 60%); }
.smpt-theme-royal { background: linear-gradient(145deg, #f5f7ff, #fff 62%); }
.smpt-theme-sand { background: linear-gradient(145deg, #fffaf0, #fff 62%); }
.smpt-theme-dark {
  --smpt-surface: #112824;
  --smpt-text: #eef8f5;
  --smpt-card-bg: #17332f;
  --smpt-card-text: #eef8f5;
  background: linear-gradient(145deg, #0d211e, #173a35);
  color: #eef8f5;
}
.smpt-rtl { direction: rtl; }

/* Daily prayer display */
.smpt-daily .smpt-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 34%);
  align-items: center;
  gap: clamp(14px, 3cqw, 26px);
  padding: clamp(16px, 3.2cqw, 24px);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 12%, transparent);
  background:
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--smpt-accent) 11%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--smpt-primary) 6%, #fff), #fff 70%);
}
.smpt-theme-dark.smpt-daily .smpt-header {
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 72%);
  border-bottom-color: rgba(255,255,255,.08);
}
.smpt-eyebrow {
  display: block;
  margin: 0 0 4px;
  color: var(--smpt-primary);
  font-size: clamp(.62rem, 1.4cqw, .72rem);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.smpt-daily .smpt-header h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 4cqw, 1.75rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.smpt-daily .smpt-header time {
  display: block;
  margin-top: 7px;
  color: color-mix(in srgb, var(--smpt-text) 70%, transparent);
  font-size: clamp(.78rem, 2.1cqw, .9rem);
}
.smpt-hijri-date {
  margin-top: 5px;
  color: var(--smpt-primary);
  font-size: clamp(.72rem, 1.9cqw, .82rem);
  font-weight: 650;
}
.smpt-next-summary {
  width: 100%;
  min-width: 0;
  padding: clamp(13px, 2.6cqw, 18px);
  border: 1px solid var(--smpt-next-border);
  border-radius: clamp(14px, 2.8cqw, 18px);
  text-align: right;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--smpt-next-bg) 18%, transparent);
}
.smpt-rtl .smpt-next-summary { text-align: left; }
.smpt-next-summary span,
.smpt-next-summary strong,
.smpt-next-summary small { display: block; color: inherit; }
.smpt-next-summary span { font-size: clamp(.68rem, 1.8cqw, .8rem); opacity: .82; }
.smpt-next-summary strong { margin: 4px 0 3px; font-size: clamp(.86rem, 2.4cqw, 1rem); font-weight: 750; }
.smpt-next-summary small { font-size: clamp(.7rem, 1.8cqw, .82rem); opacity: .86; font-variant-numeric: tabular-nums; }
.smpt-prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 1.8cqw, 13px);
  padding: clamp(12px, 2.5cqw, 18px);
  background: color-mix(in srgb, var(--smpt-surface) 94%, var(--smpt-primary) 6%);
}
.smpt-prayer-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(13px, 2.4cqw, 18px) clamp(7px, 1.5cqw, 11px);
  border: 1px solid color-mix(in srgb, var(--smpt-primary) 16%, transparent);
  border-radius: clamp(14px, 2.3cqw, 18px);
  background: var(--smpt-card-bg);
  color: var(--smpt-card-text);
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.smpt-prayer-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--smpt-primary) 36%, transparent);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .09);
}
.smpt-prayer-card.is-next {
  border-color: var(--smpt-accent);
  box-shadow: inset 0 0 0 1px var(--smpt-accent), 0 10px 26px color-mix(in srgb, var(--smpt-accent) 14%, transparent);
}
.smpt-prayer-card.is-next::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--smpt-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--smpt-accent) 18%, transparent);
}
.smpt-prayer-icon {
  width: clamp(22px, 4.4cqw, 29px);
  height: clamp(22px, 4.4cqw, 29px);
  margin: 0 auto 6px;
  color: var(--smpt-icon);
}
.smpt-prayer-icon svg { display: block; width: 100%; height: 100%; }
.smpt-prayer-name {
  display: block;
  margin-bottom: 7px;
  font-size: clamp(.72rem, 2cqw, .84rem);
  font-weight: 700;
  line-height: 1.15;
}
.smpt-adhan-time {
  display: block;
  color: var(--smpt-primary);
  font-size: clamp(1.35rem, 4.8cqw, 1.8rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.smpt-iqama-label {
  display: block;
  margin-top: 10px;
  color: color-mix(in srgb, var(--smpt-card-text) 52%, transparent);
  font-size: clamp(.48rem, 1.35cqw, .58rem);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.smpt-iqama-time {
  display: block;
  margin-top: 2px;
  font-size: clamp(.7rem, 1.8cqw, .82rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.smpt-source-note { display: none !important; }

/* Density variants */
.smpt-density-compact .smpt-daily .smpt-header,
.smpt-daily.smpt-density-compact .smpt-header { padding: 14px 16px; }
.smpt-density-compact .smpt-prayer-grid { gap: 8px; padding: 10px; }
.smpt-density-compact .smpt-prayer-card { padding: 11px 6px; }
.smpt-density-balanced .smpt-prayer-card,
.smpt-density-comfortable .smpt-prayer-card { padding-block: clamp(13px, 2.4cqw, 18px); }
.smpt-density-spacious .smpt-prayer-grid { gap: 15px; padding: 18px; }
.smpt-density-spacious .smpt-prayer-card { padding-block: 22px; }

@container (min-width: 760px) {
  .smpt-daily .smpt-prayer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@container (max-width: 480px) {
  .smpt-daily .smpt-header { grid-template-columns: 1fr; }
  .smpt-next-summary { text-align: left; }
  .smpt-prayer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 310px) {
  .smpt-prayer-grid { grid-template-columns: 1fr; }
}

/* Compact list layout */
.smpt-layout-compact .smpt-prayer-grid { grid-template-columns: 1fr; }
.smpt-layout-compact .smpt-prayer-card {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  text-align: left;
  align-items: center;
}
.smpt-layout-compact .smpt-prayer-icon { margin: 0; }
.smpt-layout-compact .smpt-prayer-name { margin: 0; }
.smpt-layout-compact .smpt-iqama-label,
.smpt-layout-compact .smpt-iqama-time { display: none; }

/* Multiple prayer services */
.smpt-special {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.smpt-special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  padding: 0;
}
.smpt-special-card {
  position: relative;
  display: flex;
  min-height: 168px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow: hidden;
  border: 1.5px solid var(--smpt-special-border, var(--smpt-accent));
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--smpt-special-border, var(--smpt-accent)) 5%, #fff));
  color: var(--smpt-special-text, var(--smpt-text));
  text-align: center;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--smpt-special-border, var(--smpt-accent)) 12%, transparent);
}
.smpt-special-card::after {
  content: '';
  position: absolute;
  right: 22%;
  bottom: 0;
  left: 22%;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--smpt-special-border, var(--smpt-accent));
}
.smpt-special-card .smpt-prayer-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: var(--smpt-special-icon, var(--smpt-icon));
}
.smpt-special-label {
  color: inherit;
  font-size: clamp(.95rem, 3cqw, 1.12rem);
  font-weight: 650;
}
.smpt-special-card strong {
  margin-top: 8px;
  color: inherit;
  font-size: clamp(1.45rem, 4.5cqw, 1.8rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.smpt-special-card small {
  margin-top: 7px;
  color: inherit;
  font-size: clamp(.72rem, 2cqw, .82rem);
  opacity: .72;
}

/* Monthly timetable */
.smpt-monthly {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--smpt-widget-border) 82%, transparent);
}
.smpt-month-header {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2.8cqw, 22px);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 12%, transparent);
  background:
    radial-gradient(circle at 86% 0%, color-mix(in srgb, var(--smpt-accent) 14%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--smpt-primary) 7%, #fff), #fff 72%);
}
.smpt-month-header h3,
.smpt-month-title {
  margin: 2px 0 0;
  color: inherit;
  font-size: clamp(1.25rem, 3.2cqw, 1.75rem);
  font-weight: 650;
  letter-spacing: -.02em;
}
.smpt-toolbar,
.smpt-month-pickers {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.smpt-icon-button,
.smpt-print-button,
.smpt-month-select,
.smpt-year-select {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--smpt-primary) 24%, transparent);
  border-radius: 10px;
  background: #fff;
  color: var(--smpt-primary);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.smpt-icon-button { width: 36px; padding: 0; font-size: 1.15rem; }
.smpt-print-button:hover,
.smpt-icon-button:hover { background: color-mix(in srgb, var(--smpt-primary) 7%, #fff); }
.smpt-table-wrap {
  width: 100%;
  overflow: visible;
}
.smpt-month-table {
  width: 100%;
  min-width: 0;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.smpt-month-table th,
.smpt-month-table td {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  vertical-align: middle;
}
.smpt-month-table thead th {
  padding: clamp(7px, 1.1cqw, 11px) clamp(2px, .55cqw, 6px);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 16%, transparent);
  background: color-mix(in srgb, var(--smpt-primary) 7%, #fff);
  color: color-mix(in srgb, var(--smpt-primary) 88%, #132f2a);
  font-size: clamp(.51rem, 1.18cqw, .68rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.smpt-month-table thead th small {
  display: block;
  margin-top: 3px;
  font-size: .65em;
  font-weight: 600;
  letter-spacing: 0;
  opacity: .55;
}
.smpt-table-prayer-icon {
  display: block;
  width: clamp(13px, 2cqw, 17px);
  height: clamp(13px, 2cqw, 17px);
  margin: 0 auto 3px;
  color: var(--smpt-icon);
}
.smpt-table-prayer-icon svg { width: 100%; height: 100%; }
.smpt-table-prayer-name { display: block; }
.smpt-month-table tbody td {
  padding: clamp(6px, .95cqw, 10px) clamp(2px, .5cqw, 6px);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 9%, transparent);
  background: #fff;
  color: var(--smpt-text);
  font-size: clamp(.58rem, 1.25cqw, .74rem);
}
.smpt-month-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--smpt-primary) 2.5%, #fff); }
.smpt-month-table tbody tr:hover td { background: color-mix(in srgb, var(--smpt-primary) 7%, #fff); }
.smpt-month-table td span,
.smpt-month-table td b { display: block; }
.smpt-month-table td span { font-weight: 600; }
.smpt-month-table td b { margin-top: 3px; color: var(--smpt-primary); font-weight: 800; }
.smpt-month-table .smpt-date-column { width: 7%; }
.smpt-month-table .smpt-hijri-column { width: 15%; }
.smpt-month-table .smpt-date-column strong {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--smpt-primary);
  color: #fff;
  font-size: .78rem;
}
.smpt-month-table .smpt-date-column small,
.smpt-month-table .smpt-hijri-column small {
  display: block;
  margin-top: 4px;
  font-size: .68em;
  opacity: .62;
}
.smpt-today-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--smpt-accent);
  color: #243832;
  font-size: .52em;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.smpt-month-table tbody tr.is-today td {
  background: linear-gradient(90deg, color-mix(in srgb, var(--smpt-accent) 24%, #fff), color-mix(in srgb, var(--smpt-accent) 10%, #fff)) !important;
  border-top: 1px solid color-mix(in srgb, var(--smpt-accent) 65%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-accent) 65%, transparent);
}
.smpt-month-table tbody tr.is-today td:first-child { box-shadow: inset 4px 0 0 var(--smpt-accent); }
.smpt-month-table tbody tr.is-today .smpt-date-column strong { background: var(--smpt-accent); color: #243832; }
.smpt-monthly.is-loading .smpt-table-wrap { opacity: .45; pointer-events: none; }
.smpt-monthly.is-loading .smpt-table-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px;
  border: 3px solid rgba(15,118,110,.16);
  border-top-color: var(--smpt-primary);
  border-radius: 50%;
  animation: smpt-spin .8s linear infinite;
}
@keyframes smpt-spin { to { transform: rotate(360deg); } }
.smpt-print-header { display: none; }
.smpt-print-brand { display: flex; align-items: center; gap: 14px; }
.smpt-print-brand img { width: auto; max-height: 56px; }
.smpt-print-brand strong,
.smpt-print-brand span,
.smpt-print-brand small { display: block; }

/* Small-screen month cards, with no horizontal slider */
@container (max-width: 690px) {
  .smpt-month-header { grid-template-columns: 1fr; }
  .smpt-toolbar { justify-content: flex-start; }
  .smpt-month-table,
  .smpt-month-table tbody,
  .smpt-month-table tr,
  .smpt-month-table td { display: block; width: 100%; }
  .smpt-month-table thead { display: none; }
  .smpt-month-table tbody { padding: 10px; }
  .smpt-month-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--smpt-primary) 14%, transparent);
    border-radius: 14px;
    background: #fff;
  }
  .smpt-month-table tbody td {
    min-height: 56px;
    padding: 8px 5px;
    border-right: 1px solid color-mix(in srgb, var(--smpt-primary) 8%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 8%, transparent);
    background: transparent !important;
    font-size: .72rem;
  }
  .smpt-month-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--smpt-primary);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .smpt-month-table tbody .smpt-date-column {
    grid-column: 1 / -1;
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 10px;
    background: color-mix(in srgb, var(--smpt-primary) 6%, #fff) !important;
    text-align: left;
  }
  .smpt-month-table tbody .smpt-date-column::before { display: none; }
  .smpt-month-table tbody .smpt-date-column strong { margin: 0; }
  .smpt-month-table tbody .smpt-hijri-column { grid-column: 1 / -1; min-height: 38px; }
  .smpt-month-table tbody tr.is-today { border-color: var(--smpt-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--smpt-accent) 20%, transparent); }
}

/* Other widgets */
.smpt-next-only { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px 16px; align-items: center; padding: 16px 18px; }
.smpt-next-only .smpt-prayer-icon { margin: 0; }
.smpt-next-only span { color: var(--smpt-primary); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.smpt-next-only strong { font-size: 1.15rem; }
.smpt-next-only b { color: var(--smpt-primary); font-size: 1.65rem; }
.smpt-next-only small { opacity: .65; }
.smpt-ramadan-card { display: grid; grid-template-columns: repeat(2, 1fr); background: linear-gradient(135deg, var(--smpt-primary), color-mix(in srgb, var(--smpt-primary) 68%, #071d19)); color: #fff; }
.smpt-ramadan-card > div { padding: 24px; text-align: center; }
.smpt-ramadan-card > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.smpt-ramadan-card span { display: block; opacity: .78; }
.smpt-ramadan-card strong { display: block; margin-top: 5px; font-size: 2rem; }
.smpt-special-single { display: inline-flex; align-items: center; gap: 16px; padding: 16px 20px; }
.smpt-special-single .smpt-prayer-icon { margin: 0; }
.smpt-special-single span { display: block; opacity: .72; }
.smpt-special-single strong { display: block; margin-top: 2px; color: var(--smpt-primary); font-size: 1.7rem; }
.smpt-screen { min-height: 100vh; padding: clamp(15px, 2vw, 28px); background: radial-gradient(circle at top right, #194a43, #071513 62%); color: #fff; }
.smpt-live-clock { margin-bottom: 14px; text-align: right; font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 800; }
.smpt-screen .smpt-widget { margin-bottom: 15px; }
.smpt-screen-extras { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 15px; }
.smpt-notice { padding: 14px 18px; border-radius: 12px; background: #fff8d8; color: #5b4800; }
.smpt-error { background: #fff1f0; color: #8b1e16; }

@media (max-width: 520px) {
  .smpt-ramadan-card { grid-template-columns: 1fr; }
  .smpt-ramadan-card > div + div { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .smpt-month-pickers { width: 100%; }
  .smpt-month-select,
  .smpt-year-select { flex: 1 1 100px; }
  .smpt-print-button { flex: 1 1 130px; }
}

/* Normal page print fallback. Dedicated print/PDF code uses a self-contained A4 portrait document. */
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  .smpt-toolbar { display: none !important; }
}

/* v1.6.0 refreshed editorial layout */
.smpt-daily {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.98)),
    var(--smpt-bg-image) left bottom / 38% auto no-repeat,
    var(--smpt-surface);
}
.smpt-daily .smpt-header {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 35%);
  gap: 24px;
  padding: 22px 24px 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--smpt-primary) 2%, #fff), #fff 88%);
}
.smpt-daily .smpt-header h3 {
  font-size: clamp(1.7rem, 4.2cqw, 2.2rem);
  font-weight: 700;
  color: var(--smpt-text);
}
.smpt-daily .smpt-header time {
  margin-top: 10px;
  font-size: clamp(.92rem, 2.2cqw, 1rem);
}
.smpt-daily .smpt-hijri-date {
  margin-top: 8px;
  font-size: clamp(.85rem, 1.9cqw, .95rem);
}
.smpt-daily .smpt-next-summary {
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 16px 34px rgba(26, 92, 101, .18);
}
.smpt-daily .smpt-next-summary strong { font-size: clamp(1rem, 2.6cqw, 1.18rem); }
.smpt-daily .smpt-next-summary small { font-size: clamp(.82rem, 2cqw, .92rem); }
.smpt-daily .smpt-prayer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 24px 24px;
  max-width: 680px;
  margin-left: auto;
  background: transparent;
}
.smpt-daily .smpt-prayer-card {
  min-height: 154px;
  padding: 16px 10px;
  border-radius: 20px;
  border-color: color-mix(in srgb, var(--smpt-primary) 14%, #e6e2d9);
  background: color-mix(in srgb, var(--smpt-card-bg) 90%, #fff);
}
.smpt-daily .smpt-prayer-name { font-size: .95rem; margin-bottom: 10px; }
.smpt-daily .smpt-adhan-time {
  font-size: clamp(1.7rem, 5.1cqw, 2.25rem);
  color: color-mix(in srgb, var(--smpt-accent) 88%, #cb8c20);
}
.smpt-daily .smpt-iqama-time { font-size: .95rem; color: color-mix(in srgb, var(--smpt-primary) 80%, #20454b); }
.smpt-daily .smpt-prayer-card.is-next {
  border-color: var(--smpt-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--smpt-primary) 28%, transparent), 0 10px 28px rgba(31,102,112,.08);
}
.smpt-daily .smpt-prayer-card.is-next::before {
  background: color-mix(in srgb, var(--smpt-primary) 82%, #4ba5b1);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--smpt-primary) 16%, transparent);
}
@container (min-width: 760px) {
  .smpt-daily .smpt-prayer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 640px) {
  .smpt-daily { background-size: 52% auto; }
  .smpt-daily .smpt-header { grid-template-columns: 1fr; }
  .smpt-daily .smpt-prayer-grid {
    max-width: none;
    margin-left: 0;
    padding: 16px;
  }
}
@container (max-width: 360px) {
  .smpt-daily .smpt-prayer-grid { grid-template-columns: 1fr; }
}

.smpt-monthly {
  border-color: color-mix(in srgb, var(--smpt-primary) 14%, #ece6d9);
  background: linear-gradient(180deg, #fff, #fcfcfa 100%);
}
.smpt-monthly .smpt-header {
  padding: 24px 22px 18px;
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--smpt-primary) 2%, #fff));
}
.smpt-monthly .smpt-month-title {
  font-size: clamp(1.9rem, 4cqw, 2.6rem);
  line-height: 1.05;
  color: var(--smpt-text);
}
.smpt-monthly .smpt-eyebrow { color: var(--smpt-primary); }
.smpt-monthly .smpt-table { min-width: 0; }
.smpt-monthly .smpt-table th {
  font-size: .88rem;
  letter-spacing: .02em;
  color: var(--smpt-text);
  background: #f8faf9;
}
.smpt-monthly .smpt-table th small { font-size: .7rem; }
.smpt-monthly .smpt-table td {
  font-size: .98rem;
  padding: 16px 10px;
  background: #fff;
}
.smpt-monthly .smpt-table td span {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--smpt-text);
}
.smpt-monthly .smpt-table td b {
  font-size: .98rem;
  font-weight: 700;
  color: var(--smpt-primary);
}
.smpt-monthly .smpt-table tr:nth-child(even) td { background: #fcfdfd; }
.smpt-monthly .smpt-table tr.is-today td {
  background: color-mix(in srgb, var(--smpt-primary) 8%, #f5faf9) !important;
}
.smpt-monthly .smpt-table-wrap { overflow-x: auto; }

/* v1.7.0 editorial mosque website design */
.smpt-theme-editorial {
  --smpt-primary: #236d75;
  --smpt-accent: #bd8b32;
  --smpt-surface: #fffdf9;
  --smpt-text: #142b45;
  --smpt-card-bg: #fbfaf7;
  --smpt-card-text: #142b45;
  --smpt-widget-border: #dccfb7;
  --smpt-next-bg: #2b7880;
  --smpt-next-text: #ffffff;
  --smpt-next-border: #25636a;
  --smpt-icon: #bd8b32;
  background: linear-gradient(180deg, #fffefa, #fffdf9);
}
.smpt-daily {
  max-width: var(--smpt-widget-max-width, 620px);
}
.smpt-daily.smpt-align-right { margin-left: auto; margin-right: 0; }
.smpt-daily.smpt-align-left { margin-left: 0; margin-right: auto; }
.smpt-daily.smpt-align-center { margin-left: auto; margin-right: auto; }
.smpt-daily.smpt-align-full { max-width: none; margin-inline: 0; }
.smpt-daily.smpt-layout-vertical .smpt-prayer-grid,
.smpt-daily.smpt-layout-cards .smpt-prayer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.smpt-theme-editorial.smpt-daily {
  border: 1px solid var(--smpt-widget-border);
  box-shadow: 0 18px 48px rgba(20,43,69,.10);
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  background: linear-gradient(180deg, rgba(255,253,249,.98), rgba(255,253,249,.95));
  border-bottom-color: #ebe4d8;
}
.smpt-theme-editorial .smpt-prayer-card {
  border-color: #e8e1d5;
  background: #fffefa;
  box-shadow: 0 4px 15px rgba(20,43,69,.025);
}
.smpt-theme-editorial .smpt-prayer-card:hover {
  border-color: color-mix(in srgb, var(--smpt-primary) 38%, #ddd5c7);
  box-shadow: 0 10px 25px rgba(35,109,117,.08);
}
.smpt-theme-editorial .smpt-prayer-card.is-next {
  border-color: var(--smpt-primary);
  background: color-mix(in srgb, var(--smpt-primary) 4%, #fffefa);
}
.smpt-theme-editorial .smpt-adhan-time { color: var(--smpt-text); }
.smpt-theme-editorial .smpt-iqama-time { color: var(--smpt-primary); }
.smpt-theme-editorial .smpt-prayer-name { color: var(--smpt-text); }

/* Monthly timetable: readable, neutral and professional */
.smpt-theme-editorial.smpt-monthly {
  border: 1px solid #ded5c6;
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(20,43,69,.08);
}
.smpt-theme-editorial .smpt-month-header {
  padding: 26px 24px 22px;
  background: linear-gradient(180deg, #fffefa, #fffdf9);
  border-bottom: 1px solid #e7dfd2;
}
.smpt-theme-editorial .smpt-month-title {
  color: var(--smpt-text);
  font-size: clamp(1.8rem, 3.4cqw, 2.45rem);
  font-weight: 700;
}
.smpt-theme-editorial .smpt-toolbar button,
.smpt-theme-editorial .smpt-toolbar select {
  min-height: 42px;
  border-color: #d8d0c3;
  border-radius: 12px;
  color: var(--smpt-primary);
  background: #fff;
  font-size: .88rem;
}
.smpt-theme-editorial .smpt-print-button[data-smpt-export-pdf] {
  border-color: var(--smpt-primary);
  background: var(--smpt-primary);
  color: #fff;
}
.smpt-theme-editorial .smpt-table-wrap { overflow: visible; }
.smpt-theme-editorial .smpt-month-table thead th {
  padding: 13px 5px;
  background: #f4f7f6;
  border-bottom: 1px solid #dfe7e4;
  color: var(--smpt-text);
  font-size: clamp(.68rem, 1.15cqw, .82rem);
  letter-spacing: .025em;
}
.smpt-theme-editorial .smpt-month-table thead th small {
  color: #75837f;
  font-size: .72em;
  opacity: 1;
}
.smpt-theme-editorial .smpt-month-table tbody td {
  padding: 13px 5px;
  border-bottom: 1px solid #e8ecea;
  background: #fffdf9;
  color: var(--smpt-text);
  font-size: clamp(.72rem, 1.15cqw, .9rem);
}
.smpt-theme-editorial .smpt-month-table tbody tr:nth-child(even) td { background: #fafcfb; }
.smpt-theme-editorial .smpt-month-table td span {
  color: var(--smpt-text);
  font-size: clamp(.8rem, 1.25cqw, .98rem);
  font-weight: 700;
}
.smpt-theme-editorial .smpt-month-table td b {
  color: var(--smpt-primary);
  font-size: clamp(.72rem, 1.05cqw, .88rem);
  font-weight: 700;
}
.smpt-theme-editorial .smpt-month-table .smpt-date-column strong {
  background: #eef5f4;
  color: var(--smpt-text);
  border: 1px solid #d9e7e5;
}
.smpt-theme-editorial .smpt-month-table tbody tr.is-today td {
  background: #eaf4f3 !important;
  border-top: 1px solid #9dc5c2;
  border-bottom: 1px solid #9dc5c2;
}
.smpt-theme-editorial .smpt-month-table tbody tr.is-today td:first-child {
  box-shadow: inset 4px 0 0 var(--smpt-primary);
}
.smpt-theme-editorial .smpt-month-table tbody tr.is-today .smpt-date-column strong {
  background: var(--smpt-primary);
  color: #fff;
  border-color: var(--smpt-primary);
}
.smpt-theme-editorial .smpt-today-badge {
  background: var(--smpt-primary);
  color: #fff;
}
@container (max-width: 690px) {
  .smpt-theme-editorial .smpt-month-table tbody tr {
    border-color: #dbe6e3;
    background: #fffdf9;
  }
  .smpt-theme-editorial .smpt-month-table tbody .smpt-date-column {
    background: #f2f7f6 !important;
  }
}
@container (max-width: 360px) {
  .smpt-daily.smpt-layout-vertical .smpt-prayer-grid,
  .smpt-daily.smpt-layout-cards .smpt-prayer-grid { grid-template-columns: 1fr; }
}

/* v1.8.0 — faithful compact editorial daily card and integrated monthly date cell */
.smpt-theme-editorial.smpt-daily {
  max-width: var(--smpt-widget-max-width, 560px);
  border-color: #d9c8a8;
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 20px 52px rgba(20,43,69,.11);
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  grid-template-columns: minmax(0, 1fr) minmax(145px, 42%);
  align-items: center;
  gap: 14px;
  padding: 20px 20px 18px;
  background: #fffdf9;
}
.smpt-theme-editorial.smpt-daily .smpt-header h3 {
  font-size: clamp(1.45rem, 5.4cqw, 2rem);
  color: #142b45;
}
.smpt-theme-editorial.smpt-daily .smpt-header time {
  margin-top: 8px;
  color: #69747e;
  font-size: clamp(.78rem, 2.5cqw, .92rem);
}
.smpt-theme-editorial.smpt-daily .smpt-hijri-date {
  color: #bd8b32;
  font-size: clamp(.72rem, 2.3cqw, .84rem);
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 20px;
  text-align: right;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary span { font-size: .74rem; }
.smpt-theme-editorial.smpt-daily .smpt-next-summary strong {
  margin: 5px 0 4px;
  font-size: clamp(.94rem, 3.1cqw, 1.12rem);
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary small { font-size: .8rem; }
.smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid #ece5da;
  background: #fffdf9;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card {
  min-height: 142px;
  padding: 14px 10px;
  border: 1px solid #e4ded3;
  border-radius: 18px;
  background: #fbfcfc;
  box-shadow: none;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-icon {
  width: clamp(24px, 5.5cqw, 30px);
  height: clamp(24px, 5.5cqw, 30px);
  margin-bottom: 7px;
  color: var(--smpt-icon);
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-name {
  margin-bottom: 8px;
  color: #304255;
  font-size: clamp(.76rem, 2.6cqw, .9rem);
}
.smpt-theme-editorial.smpt-daily .smpt-adhan-time {
  color: #142b45;
  font-size: clamp(1.55rem, 6.4cqw, 2.05rem);
  font-weight: 700;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-label {
  margin-top: 9px;
  color: #8a9499;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-time {
  color: #236d75;
  font-size: clamp(.72rem, 2.5cqw, .88rem);
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next {
  border-color: #236d75;
  background: #f4f9f8;
  box-shadow: inset 0 0 0 1px rgba(35,109,117,.16);
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next::before {
  top: 7px;
  background: #236d75;
  box-shadow: 0 0 0 4px rgba(35,109,117,.13);
}
@container (max-width: 370px) {
  .smpt-theme-editorial.smpt-daily .smpt-header { grid-template-columns: 1fr; }
  .smpt-theme-editorial.smpt-daily .smpt-next-summary { min-height: 86px; text-align: left; }
  .smpt-theme-editorial.smpt-daily .smpt-prayer-grid { grid-template-columns: 1fr; }
}

.smpt-month-table .smpt-date-column { width: 15%; }
.smpt-month-table .smpt-date-column strong,
.smpt-month-table .smpt-date-column small,
.smpt-month-table .smpt-date-column em { display: block; }
.smpt-month-table .smpt-day-label {
  margin-top: 5px;
  color: #68777c;
  font-size: .72rem;
  font-weight: 650;
}
.smpt-month-table .smpt-hijri-inline {
  margin-top: 5px;
  color: #7d898d;
  font-size: .67rem;
  line-height: 1.3;
}
.smpt-theme-editorial .smpt-month-table tbody td {
  padding-block: 12px;
}
.smpt-theme-editorial .smpt-month-table .smpt-date-column strong {
  width: 38px;
  min-height: 38px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
@media print {
  .smpt-month-table tbody tr.is-today td { background: transparent !important; border-color: inherit !important; box-shadow: none !important; }
  .smpt-month-table .smpt-today-badge { display: none !important; }
}

/* v1.9.0 — compact daily sizing and denser readable monthly timetable */
.smpt-theme-editorial.smpt-daily {
  /* Keep the same 2 × 3 arrangement while fitting beside the hero image. */
  max-width: min(var(--smpt-widget-max-width, 490px), 490px);
  border-radius: 20px;
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 39%);
  gap: 10px;
  padding: 14px 14px 12px;
}
.smpt-theme-editorial.smpt-daily .smpt-header h3 {
  font-size: clamp(1.22rem, 4.8cqw, 1.58rem);
}
.smpt-theme-editorial.smpt-daily .smpt-header time {
  margin-top: 5px;
  font-size: clamp(.7rem, 2.2cqw, .8rem);
}
.smpt-theme-editorial.smpt-daily .smpt-hijri-date {
  margin-top: 4px;
  font-size: clamp(.65rem, 2cqw, .74rem);
}
.smpt-theme-editorial.smpt-daily .smpt-eyebrow {
  margin-bottom: 2px;
  font-size: .58rem;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary {
  min-height: 78px;
  padding: 11px 13px;
  border-radius: 16px;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary span { font-size: .62rem; }
.smpt-theme-editorial.smpt-daily .smpt-next-summary strong {
  margin: 3px 0 2px;
  font-size: clamp(.8rem, 2.8cqw, .92rem);
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary small { font-size: .67rem; }
.smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
  gap: 8px;
  padding: 10px 12px 12px;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card {
  min-height: 104px;
  padding: 9px 6px;
  border-radius: 14px;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-icon {
  width: clamp(19px, 4.6cqw, 24px);
  height: clamp(19px, 4.6cqw, 24px);
  margin-bottom: 3px;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-name {
  margin-bottom: 4px;
  font-size: clamp(.64rem, 2.2cqw, .74rem);
}
.smpt-theme-editorial.smpt-daily .smpt-adhan-time {
  font-size: clamp(1.22rem, 5.3cqw, 1.58rem);
  line-height: 1.02;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-label {
  margin-top: 5px;
  font-size: .45rem;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-time {
  margin-top: 1px;
  font-size: clamp(.62rem, 2.1cqw, .72rem);
}
@container (max-width: 370px) {
  .smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (max-width: 270px) {
  .smpt-theme-editorial.smpt-daily .smpt-prayer-grid { grid-template-columns: 1fr; }
}

.smpt-theme-editorial.smpt-monthly {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.smpt-theme-editorial .smpt-month-header {
  padding: 18px 20px 16px;
}
.smpt-theme-editorial .smpt-month-title {
  font-size: clamp(1.65rem, 3cqw, 2.2rem);
}
.smpt-theme-editorial .smpt-month-table {
  width: 100%;
  table-layout: fixed;
}
.smpt-theme-editorial .smpt-month-table .smpt-date-column { width: 14%; }
.smpt-theme-editorial .smpt-month-table thead th {
  padding: 10px 5px;
  font-size: clamp(.72rem, 1.2cqw, .88rem);
}
.smpt-theme-editorial .smpt-month-table thead th small {
  margin-top: 2px;
  font-size: .68em;
}
.smpt-theme-editorial .smpt-table-prayer-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 3px;
}
.smpt-theme-editorial .smpt-month-table tbody td {
  padding: 7px 5px;
  font-size: clamp(.82rem, 1.15cqw, .96rem);
  line-height: 1.15;
}
.smpt-theme-editorial .smpt-month-table td span {
  font-size: clamp(.9rem, 1.25cqw, 1.04rem);
  line-height: 1.1;
}
.smpt-theme-editorial .smpt-month-table td b {
  margin-top: 2px;
  font-size: clamp(.8rem, 1.08cqw, .94rem);
  line-height: 1.08;
}
.smpt-theme-editorial .smpt-month-table .smpt-date-column strong {
  width: 31px;
  min-height: 31px;
  border-radius: 9px;
  font-size: .9rem;
}
.smpt-theme-editorial .smpt-month-table .smpt-day-label {
  margin-top: 3px;
  font-size: .68rem;
}
.smpt-theme-editorial .smpt-month-table .smpt-hijri-inline {
  margin-top: 2px;
  font-size: .62rem;
  line-height: 1.15;
}
.smpt-theme-editorial .smpt-today-badge {
  margin-top: 2px;
  padding: 1px 4px;
  font-size: .48rem;
}

/* v1.10.0 — narrower daily widget, tighter card sides, larger next-prayer text */
.smpt-theme-editorial.smpt-daily {
  max-width: min(var(--smpt-widget-max-width, 455px), 455px);
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  grid-template-columns: minmax(0, 1fr) minmax(145px, 42%);
  gap: 8px;
  padding: 12px 11px 10px;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary {
  min-height: 82px;
  padding: 12px 14px;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary span {
  font-size: clamp(.7rem, 2.35cqw, .8rem);
  font-weight: 650;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary strong {
  margin: 4px 0 3px;
  font-size: clamp(.98rem, 3.35cqw, 1.12rem);
  line-height: 1.15;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary small {
  font-size: clamp(.76rem, 2.5cqw, .88rem);
  font-weight: 650;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
  gap: 7px;
  padding: 9px 9px 10px;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card {
  min-height: 103px;
  padding: 9px 2px;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-name {
  font-size: clamp(.67rem, 2.35cqw, .77rem);
}
.smpt-theme-editorial.smpt-daily .smpt-adhan-time {
  font-size: clamp(1.3rem, 5.7cqw, 1.64rem);
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-time {
  font-size: clamp(.65rem, 2.25cqw, .75rem);
}

/* Highlight the complete current-day row; no separate Today badge. */
.smpt-month-table .smpt-today-badge { display: none !important; }
.smpt-theme-editorial .smpt-month-table tbody tr.is-today td {
  background: linear-gradient(90deg, #e5f1f0, #edf6f5) !important;
  border-top: 1px solid color-mix(in srgb, var(--smpt-primary) 42%, #dce8e6);
  border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 42%, #dce8e6);
}
.smpt-theme-editorial .smpt-month-table tbody tr.is-today td:first-child {
  box-shadow: inset 5px 0 0 var(--smpt-primary);
}
@media print {
  .smpt-theme-editorial .smpt-month-table tbody tr.is-today td {
    background: transparent !important;
    border-color: inherit !important;
    box-shadow: none !important;
  }
}

/* v1.11.0 — genuinely compact daily card, stronger next panel and next-prayer highlight */
.smpt-theme-editorial.smpt-daily {
  max-width: min(var(--smpt-widget-max-width, 410px), 410px) !important;
  border-radius: 18px !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 43%) !important;
  gap: 6px !important;
  padding: 9px 9px 8px !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header h3 {
  font-size: clamp(1.18rem, 4.8cqw, 1.48rem) !important;
  line-height: 1.02 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header time {
  margin-top: 4px !important;
  font-size: clamp(.68rem, 2.1cqw, .77rem) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-hijri-date {
  margin-top: 3px !important;
  font-size: clamp(.64rem, 2cqw, .72rem) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-eyebrow {
  margin-bottom: 1px !important;
  font-size: .55rem !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary {
  min-height: 76px !important;
  padding: 10px 12px !important;
  border-radius: 15px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary span {
  font-size: clamp(.79rem, 2.7cqw, .9rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary strong {
  margin: 5px 0 4px !important;
  font-size: clamp(1.12rem, 3.9cqw, 1.34rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary small {
  font-size: clamp(.86rem, 2.9cqw, 1rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
  padding: 6px !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card {
  min-height: 88px !important;
  padding: 6px 0 !important;
  border-radius: 12px !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-icon {
  width: 20px !important;
  height: 20px !important;
  margin: 0 auto 2px !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-name {
  margin-bottom: 2px !important;
  font-size: clamp(.67rem, 2.4cqw, .75rem) !important;
  line-height: 1.05 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-adhan-time {
  font-size: clamp(1.28rem, 5.6cqw, 1.58rem) !important;
  line-height: 1 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-label {
  margin-top: 3px !important;
  font-size: .42rem !important;
  line-height: 1 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-time {
  margin-top: 1px !important;
  font-size: clamp(.63rem, 2.25cqw, .72rem) !important;
  line-height: 1 !important;
}

/* Remove the old indicator dot completely. */
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next::before,
.smpt-daily .smpt-prayer-card.is-next::before {
  content: none !important;
  display: none !important;
}

/* Clearly highlight the whole upcoming-prayer card. */
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next {
  background: linear-gradient(145deg, #e7f3f3, #f5fbfb) !important;
  border: 2px solid var(--smpt-primary) !important;
  box-shadow: 0 8px 20px rgba(31, 102, 112, .14) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-prayer-name,
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-adhan-time,
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-iqama-time {
  color: var(--smpt-primary) !important;
  font-weight: 800 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-prayer-icon {
  color: var(--smpt-primary) !important;
}

@container (max-width: 330px) {
  .smpt-theme-editorial.smpt-daily .smpt-header {
    grid-template-columns: 1fr !important;
  }
  .smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* v1.12.0 — readability and refined colour system, layout unchanged */
.smpt-theme-editorial.smpt-daily {
  color: var(--smpt-text) !important;
  background: var(--smpt-surface) !important;
  border-color: var(--smpt-widget-border) !important;
  box-shadow: 0 18px 44px rgba(24, 50, 75, .10) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header {
  background: linear-gradient(180deg, #fffefb 0%, #fcfaf5 100%) !important;
  border-bottom-color: #e8e1d5 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-eyebrow {
  color: var(--smpt-accent) !important;
  font-size: .63rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header h3 {
  color: var(--smpt-text) !important;
  font-size: clamp(1.35rem, 5.4cqw, 1.65rem) !important;
  font-weight: 750 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-header time {
  color: #647286 !important;
  font-size: clamp(.76rem, 2.55cqw, .86rem) !important;
  line-height: 1.2 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-hijri-date {
  color: #a66f12 !important;
  font-size: clamp(.72rem, 2.35cqw, .82rem) !important;
  font-weight: 700 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary {
  box-shadow: 0 12px 28px color-mix(in srgb, var(--smpt-next-bg) 20%, transparent) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary span {
  font-size: clamp(.9rem, 3.1cqw, 1.02rem) !important;
  font-weight: 750 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary strong {
  font-size: clamp(1.28rem, 4.6cqw, 1.52rem) !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
}
.smpt-theme-editorial.smpt-daily .smpt-next-summary small {
  font-size: clamp(.98rem, 3.4cqw, 1.12rem) !important;
  font-weight: 750 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-grid {
  background: #f8f8f5 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card {
  background: var(--smpt-card-bg) !important;
  color: var(--smpt-card-text) !important;
  border-color: #e4ddd1 !important;
  box-shadow: 0 2px 8px rgba(24, 50, 75, .025) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-icon {
  width: 22px !important;
  height: 22px !important;
  color: var(--smpt-icon) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-name {
  color: var(--smpt-card-text) !important;
  font-size: clamp(.77rem, 2.7cqw, .87rem) !important;
  font-weight: 700 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-adhan-time {
  color: var(--smpt-text) !important;
  font-size: clamp(1.52rem, 6.2cqw, 1.82rem) !important;
  font-weight: 720 !important;
  letter-spacing: -.025em !important;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-label {
  color: #82909c !important;
  font-size: .48rem !important;
  font-weight: 750 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-iqama-time {
  color: var(--smpt-primary) !important;
  font-size: clamp(.72rem, 2.5cqw, .82rem) !important;
  font-weight: 750 !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next {
  background: var(--smpt-upcoming-bg) !important;
  border: 2px solid var(--smpt-upcoming-border) !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--smpt-upcoming-border) 16%, transparent) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-prayer-name,
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-adhan-time,
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-iqama-time {
  color: var(--smpt-upcoming-text) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next .smpt-prayer-icon {
  color: var(--smpt-upcoming-icon) !important;
}
.smpt-theme-editorial.smpt-daily .smpt-prayer-card.is-next::before {
  content: none !important;
  display: none !important;
}

/* v1.14.0 — robust responsive monthly timetable
 * Uses both container and viewport breakpoints so page builders cannot leave
 * the table in a partially collapsed state.
 */
@container (max-width: 760px) {
  .smpt-monthly .smpt-month-header {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .smpt-monthly .smpt-toolbar,
  .smpt-monthly .smpt-month-pickers {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .smpt-monthly .smpt-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .smpt-monthly .smpt-month-table,
  .smpt-monthly .smpt-month-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .smpt-monthly .smpt-month-table thead {
    display: none !important;
  }
  .smpt-monthly .smpt-month-table tbody {
    padding: 10px !important;
  }
  .smpt-monthly .smpt-month-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--smpt-primary) 15%, #e6ecea) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(19, 55, 49, .04) !important;
  }
  .smpt-monthly .smpt-month-table tbody td {
    display: flex !important;
    min-width: 0 !important;
    min-height: 72px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-right: 1px solid color-mix(in srgb, var(--smpt-primary) 9%, #edf1ef) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 9%, #edf1ef) !important;
    background: #fff !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .smpt-monthly .smpt-month-table tbody td:nth-child(odd):not(.smpt-date-column) {
    border-right: 0 !important;
  }
  .smpt-monthly .smpt-month-table tbody td::before {
    content: attr(data-label) !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 5px !important;
    color: var(--smpt-primary) !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .045em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 60px !important;
    gap: 10px !important;
    align-items: center !important;
    justify-items: start !important;
    padding: 10px 12px !important;
    border-right: 0 !important;
    background: color-mix(in srgb, var(--smpt-primary) 6%, #fff) !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column::before {
    display: none !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column strong {
    grid-row: 1 / span 2 !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    font-size: .95rem !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column small {
    width: 100% !important;
    margin: 0 !important;
    font-size: .74rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-day-label {
    align-self: end !important;
    font-weight: 700 !important;
    color: var(--smpt-text) !important;
    opacity: .78 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-hijri-inline {
    align-self: start !important;
    color: var(--smpt-primary) !important;
    opacity: .82 !important;
  }
  .smpt-monthly .smpt-month-table .smpt-prayer-cell span {
    font-size: 1.08rem !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    color: var(--smpt-text) !important;
  }
  .smpt-monthly .smpt-month-table .smpt-prayer-cell b {
    margin-top: 5px !important;
    font-size: .9rem !important;
    line-height: 1.1 !important;
    color: var(--smpt-primary) !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today {
    border-color: var(--smpt-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--smpt-primary) 16%, transparent) !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today td,
  .smpt-monthly .smpt-month-table tbody tr.is-today .smpt-date-column {
    background: color-mix(in srgb, var(--smpt-primary) 7%, #fff) !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today td:first-child {
    box-shadow: none !important;
  }
}

@media (max-width: 767px) {
  .smpt-monthly .smpt-month-header {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 16px !important;
  }
  .smpt-monthly .smpt-toolbar,
  .smpt-monthly .smpt-month-pickers {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .smpt-monthly .smpt-month-select,
  .smpt-monthly .smpt-year-select {
    flex: 1 1 105px !important;
    min-width: 0 !important;
  }
  .smpt-monthly .smpt-print-button {
    flex: 1 1 125px !important;
  }
  .smpt-monthly .smpt-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .smpt-monthly .smpt-month-table,
  .smpt-monthly .smpt-month-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .smpt-monthly .smpt-month-table thead {
    display: none !important;
  }
  .smpt-monthly .smpt-month-table tbody {
    padding: 10px !important;
  }
  .smpt-monthly .smpt-month-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--smpt-primary) 15%, #e6ecea) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(19, 55, 49, .04) !important;
  }
  .smpt-monthly .smpt-month-table tbody td {
    display: flex !important;
    min-width: 0 !important;
    min-height: 72px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-right: 1px solid color-mix(in srgb, var(--smpt-primary) 9%, #edf1ef) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--smpt-primary) 9%, #edf1ef) !important;
    background: #fff !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .smpt-monthly .smpt-month-table tbody td:nth-child(odd):not(.smpt-date-column) {
    border-right: 0 !important;
  }
  .smpt-monthly .smpt-month-table tbody td::before {
    content: attr(data-label) !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 5px !important;
    color: var(--smpt-primary) !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .045em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 60px !important;
    gap: 10px !important;
    align-items: center !important;
    justify-items: start !important;
    padding: 10px 12px !important;
    border-right: 0 !important;
    background: color-mix(in srgb, var(--smpt-primary) 6%, #fff) !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column::before {
    display: none !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column strong {
    grid-row: 1 / span 2 !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    font-size: .95rem !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column small {
    width: 100% !important;
    margin: 0 !important;
    font-size: .74rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table .smpt-prayer-cell span {
    font-size: 1.08rem !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
  }
  .smpt-monthly .smpt-month-table .smpt-prayer-cell b {
    margin-top: 5px !important;
    font-size: .9rem !important;
    line-height: 1.1 !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today {
    border-color: var(--smpt-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--smpt-primary) 16%, transparent) !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today td,
  .smpt-monthly .smpt-month-table tbody tr.is-today .smpt-date-column {
    background: color-mix(in srgb, var(--smpt-primary) 7%, #fff) !important;
  }
  .smpt-monthly .smpt-month-table tbody tr.is-today td:first-child {
    box-shadow: none !important;
  }
}

@media (max-width: 380px) {
  .smpt-monthly .smpt-month-table tbody tr {
    grid-template-columns: 1fr !important;
  }
  .smpt-monthly .smpt-month-table tbody td {
    border-right: 0 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-column: 1 !important;
  }
}

/* v1.15.0 — keep weekday and Hijri date visible in the mobile date card */
.smpt-month-table .smpt-date-meta {
  display: block;
  min-width: 0;
}
.smpt-month-table .smpt-date-meta .smpt-day-label,
.smpt-month-table .smpt-date-meta .smpt-hijri-inline {
  display: block;
}

@container (max-width: 760px) {
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label,
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label {
    color: var(--smpt-text) !important;
    font-size: .76rem !important;
    font-weight: 750 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    color: var(--smpt-primary) !important;
    font-size: .73rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 767px) {
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label,
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: left !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label {
    color: var(--smpt-text) !important;
    font-size: .76rem !important;
    font-weight: 750 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    color: var(--smpt-primary) !important;
    font-size: .73rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
  }
}

/* v1.16.0 — robust mobile Hijri rendering.
 * The date cell carries data-hijri, so the mobile value cannot be removed by
 * theme rules targeting small/span elements. The admin setting remains the
 * source of truth through data-show-hijri on the monthly widget. */
@container (max-width: 760px) {
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    min-height: 74px !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column > strong {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    align-self: end !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label {
    display: block !important;
    color: var(--smpt-text) !important;
    font-size: .78rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    display: none !important;
  }
  .smpt-monthly[data-show-hijri="yes"] .smpt-month-table tbody .smpt-date-column::after {
    content: attr(data-hijri) !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    align-self: start !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    color: var(--smpt-primary) !important;
    font-family: inherit !important;
    font-size: .76rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .smpt-monthly[data-show-hijri="no"] .smpt-month-table tbody .smpt-date-column::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 767px) {
  .smpt-monthly .smpt-month-table tbody .smpt-date-column {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    min-height: 74px !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-column > strong {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    align-self: end !important;
    overflow: visible !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-day-label {
    display: block !important;
    color: var(--smpt-text) !important;
    font-size: .78rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .smpt-monthly .smpt-month-table tbody .smpt-date-meta .smpt-hijri-inline {
    display: none !important;
  }
  .smpt-monthly[data-show-hijri="yes"] .smpt-month-table tbody .smpt-date-column::after {
    content: attr(data-hijri) !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    align-self: start !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    color: var(--smpt-primary) !important;
    font-family: inherit !important;
    font-size: .76rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .smpt-monthly[data-show-hijri="no"] .smpt-month-table tbody .smpt-date-column::after {
    content: none !important;
    display: none !important;
  }
}
