/* Estekhare: scoped, build-free UI for /tools/estekhare. */
@font-face {
  font-family: 'Pish Quran Naskh';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-naskh-arabic/NotoNaskhArabic-Arabic-v44.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

.portal.portal--estekhare {
  --es-green: #14775f;
  --es-green-dark: #0e5948;
  --es-green-soft: #edf8f4;
  --es-blue: #24789b;
  --es-blue-dark: #1d5e78;
  --es-blue-soft: #edf7fb;
  --es-gold: #a96712;
  --es-gold-soft: #fff8e8;
  --es-coral: #9a4650;
  --es-coral-soft: #fff3f3;
  --es-ink: #183a43;
  --es-text: #3f5962;
  --es-muted: #586e76;
  --es-line: #dbe8e8;
  --es-line-strong: #c6d9d9;
  --es-surface: #f7faf9;
}

.portal.portal--estekhare .svc-shell > .svc-card {
  width: min(1040px, 100%);
  max-width: min(1040px, 100%);
  border-radius: 8px;
}

.portal.portal--estekhare .svc-shell > .svc-card:first-child {
  margin-top: -62px;
}

.portal.portal--estekhare .svc-head {
  padding: 12px 18px;
}

.portal.portal--estekhare .svc-head__logo,
.portal.portal--estekhare .svc-head__logo--art,
.portal.portal--estekhare .svc-head__logo img {
  border-radius: 8px;
}

.portal.portal--estekhare .svc-head__sub {
  color: var(--es-muted);
}

.portal.portal--estekhare .svc-body {
  padding: 0;
}

.portal.portal--estekhare .svc-hero {
  height: 31vh;
  min-height: 240px;
  max-height: 334px;
  background: #243532;
}

.portal.portal--estekhare .es-hero-media,
.portal.portal--estekhare .es-hero-media img,
.portal.portal--estekhare .es-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portal.portal--estekhare .es-hero-media img {
  display: block;
  object-fit: cover;
  object-position: center 58%;
}

.portal.portal--estekhare .es-hero-shade {
  z-index: 1;
  background: rgba(12, 32, 31, .58);
  pointer-events: none;
}

.portal.portal--estekhare .svc-hero__in {
  max-width: 760px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .36);
}

.portal.portal--estekhare .es-tool,
.portal.portal--estekhare .es-tool *,
.portal.portal--estekhare .es-tool *::before,
.portal.portal--estekhare .es-tool *::after {
  box-sizing: border-box;
}

.portal.portal--estekhare .es-tool {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  color: var(--es-text);
  background: #fff;
}

.portal.portal--estekhare .es-tool [hidden] {
  display: none !important;
}

.portal.portal--estekhare .es-tool button {
  font: inherit;
  letter-spacing: 0;
  touch-action: manipulation;
}

.portal.portal--estekhare .es-tool button:focus-visible,
.portal.portal--estekhare .es-result:focus-visible,
.portal.portal--estekhare #es-direction-title:focus-visible,
.portal.portal--estekhare #es-result-title:focus-visible,
.portal.portal--estekhare .es-context:focus-visible {
  outline: 3px solid rgba(36, 120, 155, .3);
  outline-offset: 2px;
}

.portal.portal--estekhare .es-tool button:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}

.portal.portal--estekhare .es-statusbar {
  min-height: 46px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--es-line);
  color: var(--es-muted);
  background: var(--es-surface);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.8;
}

.portal.portal--estekhare .es-statusbar__state {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--es-ink);
}

.portal.portal--estekhare .es-statusbar__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--es-green);
  box-shadow: 0 0 0 4px rgba(20, 119, 95, .12);
}

.portal.portal--estekhare .es-tool[data-es-loading="true"] .es-statusbar__dot {
  background: var(--es-gold);
  box-shadow: 0 0 0 4px rgba(169, 103, 18, .14);
  animation: es-pulse 1.1s ease-in-out infinite;
}

.portal.portal--estekhare .es-intro {
  min-width: 0;
  background: #fff;
}

.portal.portal--estekhare .es-eyebrow,
.portal.portal--estekhare .es-translation__label {
  display: block;
  margin-bottom: 5px;
  color: var(--es-green-dark);
  font-size: .72rem;
  font-weight: 820;
  line-height: 1.7;
}

.portal.portal--estekhare .es-intro h3,
.portal.portal--estekhare .es-result h2,
.portal.portal--estekhare .es-result h3,
.portal.portal--estekhare .es-topic-guidance h3,
.portal.portal--estekhare .es-error h2 {
  margin: 0;
  color: var(--es-ink);
  letter-spacing: 0;
}

.portal.portal--estekhare .es-setup {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
}

.portal.portal--estekhare .es-setup__block {
  min-width: 0;
  padding: 20px 22px;
  background: #fff;
}

.portal.portal--estekhare .es-setup__block + .es-setup__block {
  border-inline-start: 1px solid var(--es-line);
}

.portal.portal--estekhare .es-section-heading {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.portal.portal--estekhare .es-section-heading > div {
  min-width: 0;
}

.portal.portal--estekhare .es-section-heading h3 {
  font-size: .91rem;
  font-weight: 850;
  line-height: 1.75;
}

.portal.portal--estekhare .es-step-label {
  display: block;
  margin-bottom: 2px;
  color: var(--es-blue-dark);
  font-size: .67rem;
  font-weight: 800;
  line-height: 1.7;
}

.portal.portal--estekhare .es-segments {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portal.portal--estekhare .es-segment {
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid var(--es-line-strong);
  border-radius: 8px;
  color: var(--es-text);
  background: #fff;
  cursor: pointer;
  text-align: right;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.portal.portal--estekhare .es-segment:hover:not(:disabled) {
  border-color: #9fc7c0;
  background: #fbfefd;
}

.portal.portal--estekhare .es-segment.is-active,
.portal.portal--estekhare .es-segment[aria-pressed="true"] {
  border-color: var(--es-green);
  color: var(--es-green-dark);
  background: var(--es-green-soft);
  box-shadow: inset 0 0 0 1px rgba(20, 119, 95, .12);
}

.portal.portal--estekhare .es-segment > svg {
  width: 23px;
  height: 23px;
  color: var(--es-blue-dark);
}

.portal.portal--estekhare .es-segment.is-active > svg,
.portal.portal--estekhare .es-segment[aria-pressed="true"] > svg {
  color: var(--es-green-dark);
}

.portal.portal--estekhare .es-segment span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.portal.portal--estekhare .es-segment strong {
  color: var(--es-ink);
  font-size: .8rem;
  font-weight: 840;
  line-height: 1.6;
}

.portal.portal--estekhare .es-segment small {
  color: var(--es-muted);
  font-size: .65rem;
  font-weight: 620;
  line-height: 1.65;
}

.portal.portal--estekhare .es-category-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.portal.portal--estekhare .es-category {
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border: 1px solid var(--es-line);
  border-radius: 8px;
  color: var(--es-text);
  background: var(--es-surface);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 740;
  line-height: 1.65;
  text-align: right;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.portal.portal--estekhare .es-category:hover:not(:disabled) {
  border-color: #b8d5df;
  color: var(--es-blue-dark);
  background: var(--es-blue-soft);
}

.portal.portal--estekhare .es-category[aria-pressed="true"] {
  border-color: var(--es-green);
  color: var(--es-green-dark);
  background: var(--es-green-soft);
  box-shadow: inset 0 0 0 1px rgba(20, 119, 95, .1);
}

.portal.portal--estekhare .es-category svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--es-blue-dark);
}

.portal.portal--estekhare .es-category[aria-pressed="true"] svg {
  color: var(--es-green-dark);
}

.portal.portal--estekhare .es-category span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal.portal--estekhare .es-start {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 14px 22px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--es-line);
  background: var(--es-surface);
}

.portal.portal--estekhare .es-result-link {
  margin-top: 10px;
}

.portal.portal--estekhare .es-redraw-reminder {
  min-width: 0;
  margin: 0;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid #ead7b0;
  border-radius: 8px;
  color: #6e562d;
  background: var(--es-gold-soft);
}

.portal.portal--estekhare .es-redraw-reminder svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--es-gold);
}

.portal.portal--estekhare .es-redraw-reminder p {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.9;
}

.portal.portal--estekhare .es-button {
  min-height: 46px;
  min-width: 0;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 820;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.portal.portal--estekhare .es-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.portal.portal--estekhare .es-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.portal.portal--estekhare .es-button--wide {
  width: 100%;
  min-height: 50px;
}

.portal.portal--estekhare .es-button--primary {
  border-color: var(--es-green);
  color: #fff;
  background: var(--es-green);
  box-shadow: 0 8px 22px -14px rgba(14, 89, 72, .75);
}

.portal.portal--estekhare .es-button--primary:hover:not(:disabled) {
  border-color: var(--es-green-dark);
  background: var(--es-green-dark);
}

.portal.portal--estekhare .es-button--secondary {
  border-color: var(--es-line);
  color: var(--es-blue-dark);
  background: #fff;
}

.portal.portal--estekhare .es-button--secondary:hover:not(:disabled) {
  border-color: #b8d5df;
  background: var(--es-blue-soft);
}

.portal.portal--estekhare .es-button--quiet {
  border-color: #ead7b0;
  color: #79520f;
  background: var(--es-gold-soft);
}

.portal.portal--estekhare .es-button--quiet:hover:not(:disabled) {
  border-color: #d9b872;
  background: #fff4d9;
}

.portal.portal--estekhare .es-result {
  padding: 28px;
  background: #fff;
  scroll-margin-top: 112px;
  animation: es-reveal 260ms ease both;
}

.portal.portal--estekhare #es-direction-title,
.portal.portal--estekhare #es-result-title {
  scroll-margin-top: 112px;
}

.portal.portal--estekhare .es-direction {
  --es-outcome-accent: var(--es-blue);
  --es-outcome-ink: var(--es-blue-dark);
  --es-outcome-bg: var(--es-blue-soft);
  --es-outcome-border: #c7dfe8;
  margin: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--es-outcome-border);
  border-inline-start: 5px solid var(--es-outcome-accent);
  border-radius: 8px;
  background: var(--es-outcome-bg);
  box-shadow: 0 18px 42px -34px rgba(24, 58, 67, .65);
  scroll-margin-top: 112px;
}

.portal.portal--estekhare .es-direction__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--es-outcome-accent) 24%, #fff);
  border-radius: 8px;
  color: var(--es-outcome-ink);
  background: #fff;
}

.portal.portal--estekhare .es-direction__icon svg {
  width: 25px;
  height: 25px;
}

.portal.portal--estekhare .es-direction__copy {
  min-width: 0;
}

.portal.portal--estekhare .es-direction__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.portal.portal--estekhare .es-direction__kicker {
  color: var(--es-outcome-ink);
  font-size: .75rem;
  font-weight: 880;
  line-height: 1.7;
}

.portal.portal--estekhare .es-direction__label {
  min-height: 27px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--es-outcome-accent) 26%, #fff);
  border-radius: 5px;
  color: var(--es-outcome-ink);
  background: rgba(255, 255, 255, .74);
  font-size: .69rem;
  font-weight: 820;
  line-height: 1.6;
}

.portal.portal--estekhare .es-direction h2 {
  margin-top: 7px;
  color: var(--es-outcome-ink);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.portal.portal--estekhare .es-direction__reason {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid color-mix(in srgb, var(--es-outcome-accent) 18%, #fff);
}

.portal.portal--estekhare .es-direction__reason h3 {
  color: var(--es-outcome-ink);
  font-size: .76rem;
  font-weight: 860;
  line-height: 1.75;
}

.portal.portal--estekhare .es-direction__reason p {
  margin: 4px 0 0;
  color: var(--es-text);
  font-size: .83rem;
  font-weight: 610;
  line-height: 1.95;
}

.portal.portal--estekhare .es-direction__source {
  width: fit-content;
  margin-top: 9px;
  display: inline-flex;
  color: var(--es-outcome-ink);
  font-size: .7rem;
  font-weight: 780;
  line-height: 1.8;
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, var(--es-outcome-accent) 48%, transparent);
  text-underline-offset: 3px;
}

.portal.portal--estekhare .es-direction__source:hover {
  text-decoration-color: currentColor;
}

.portal.portal--estekhare .es-direction[data-es-direction="encouraging"],
.portal.portal--estekhare .es-direction[data-es-direction="very_good"],
.portal.portal--estekhare .es-direction[data-es-direction="very-good"],
.portal.portal--estekhare .es-direction[data-es-direction="good"] {
  --es-outcome-accent: var(--es-green);
  --es-outcome-ink: var(--es-green-dark);
  --es-outcome-bg: var(--es-green-soft);
  --es-outcome-border: #b9d9d0;
}

.portal.portal--estekhare .es-direction[data-es-direction="review"],
.portal.portal--estekhare .es-direction[data-es-direction="neutral"] {
  --es-outcome-accent: var(--es-gold);
  --es-outcome-ink: #79520f;
  --es-outcome-bg: var(--es-gold-soft);
  --es-outcome-border: #ead7b0;
}

.portal.portal--estekhare .es-direction[data-es-direction="caution"],
.portal.portal--estekhare .es-direction[data-es-direction="bad"] {
  --es-outcome-accent: var(--es-coral);
  --es-outcome-ink: #873b45;
  --es-outcome-bg: var(--es-coral-soft);
  --es-outcome-border: #e7c4c7;
}

.portal.portal--estekhare .es-direction[data-es-direction="very_bad"],
.portal.portal--estekhare .es-direction[data-es-direction="very-bad"] {
  --es-outcome-accent: #8f3040;
  --es-outcome-ink: #762837;
  --es-outcome-bg: #fff0f2;
  --es-outcome-border: #dfb5bc;
}

.portal.portal--estekhare .es-verse-section {
  margin-top: 26px;
}

.portal.portal--estekhare .es-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
}

.portal.portal--estekhare .es-result__head > div:first-child {
  min-width: 0;
}

.portal.portal--estekhare .es-result__head h3 {
  font-size: 1rem;
  font-weight: 880;
  line-height: 1.75;
}

.portal.portal--estekhare .es-result__meta {
  min-width: min(370px, 48%);
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--es-muted);
  text-align: left;
}

.portal.portal--estekhare .es-result__reference,
.portal.portal--estekhare .es-result__page,
.portal.portal--estekhare .es-result__restored {
  font-size: .71rem;
  font-weight: 720;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.portal.portal--estekhare .es-result__reference {
  color: var(--es-blue-dark);
}

.portal.portal--estekhare .es-result__restored {
  color: #79520f;
}

.portal.portal--estekhare .es-verse {
  margin-top: 13px;
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-block: 1px solid var(--es-line);
  background: #fff;
}

.portal.portal--estekhare .es-arabic {
  width: min(820px, 100%);
  margin: 0 auto;
  color: #173e3a;
  font-family: 'Pish Quran Naskh', 'Noto Naskh Arabic', 'Amiri Quran', Tahoma, serif !important;
  font-size: 1.82rem;
  font-weight: 400;
  line-height: 2.15;
  word-spacing: .06em;
  font-synthesis: none;
  text-align: center;
  overflow-wrap: anywhere;
}

.portal.portal--estekhare .es-translation {
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding-top: 17px;
  border-top: 1px solid var(--es-line);
  text-align: center;
}

.portal.portal--estekhare .es-persian {
  margin: 0;
  color: var(--es-text);
  font-size: .9rem;
  font-weight: 620;
  line-height: 2.05;
}

.portal.portal--estekhare .es-topic-guidance {
  margin-top: 14px;
  padding: 11px 3px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  border-inline-start: 3px solid var(--es-blue);
}

.portal.portal--estekhare .es-topic-guidance > svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--es-blue-dark);
}

.portal.portal--estekhare .es-topic-guidance h3 {
  font-size: .79rem;
  font-weight: 840;
  line-height: 1.8;
}

.portal.portal--estekhare .es-topic-guidance p {
  margin: 2px 0 0;
  color: var(--es-text);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.9;
}

.portal.portal--estekhare .es-context-wrap {
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid var(--es-line);
  border-radius: 8px;
  background: #fff;
}

.portal.portal--estekhare .es-context-toggle {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  color: var(--es-ink);
  background: var(--es-surface);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 820;
  text-align: right;
}

.portal.portal--estekhare .es-context-toggle:hover {
  background: var(--es-green-soft);
}

.portal.portal--estekhare .es-context-toggle > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portal.portal--estekhare .es-context-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--es-green-dark);
}

.portal.portal--estekhare .es-context-toggle__chevron {
  transition: transform 180ms ease;
}

.portal.portal--estekhare .es-context-toggle[aria-expanded="true"] .es-context-toggle__chevron {
  transform: rotate(180deg);
}

.portal.portal--estekhare .es-context {
  max-height: 560px;
  padding: 0 14px;
  overflow-y: auto;
  border-top: 1px solid var(--es-line);
  scrollbar-gutter: stable;
}

.portal.portal--estekhare .es-context__status {
  margin: 0;
  padding: 12px 0;
  color: var(--es-muted);
  font-size: .72rem;
  font-weight: 680;
  line-height: 1.8;
}

.portal.portal--estekhare .es-context__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal.portal--estekhare .es-context-verse {
  padding: 14px 0;
  border-top: 1px solid var(--es-line);
}

.portal.portal--estekhare .es-context-verse:first-child {
  border-top: 0;
}

.portal.portal--estekhare .es-context-verse[aria-current="true"],
.portal.portal--estekhare .es-context-verse--current {
  padding-inline: 12px;
  border-radius: 6px;
  background: var(--es-green-soft);
}

.portal.portal--estekhare .es-context-verse__ar {
  margin: 0;
  color: #21433f;
  font-family: 'Pish Quran Naskh', 'Noto Naskh Arabic', 'Amiri Quran', Tahoma, serif !important;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 2.05;
  word-spacing: .04em;
  font-synthesis: none;
}

.portal.portal--estekhare .es-context-verse__fa {
  margin: 7px 0 0;
  color: var(--es-text);
  font-size: .77rem;
  line-height: 1.95;
}

.portal.portal--estekhare .es-context-verse__ref {
  margin: 6px 0 0;
  color: var(--es-blue-dark);
  font-size: .67rem;
  font-weight: 780;
}

.portal.portal--estekhare .es-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.portal.portal--estekhare .es-report-dialog {
  position: fixed;
  z-index: 10020;
  inset: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(12, 32, 31, .66);
}

.portal.portal--estekhare .es-report-panel {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow-y: auto;
  border: 1px solid var(--es-line-strong);
  border-radius: 8px;
  color: var(--es-text);
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 46, 51, .24);
  animation: es-reveal 180ms ease both;
}

.portal.portal--estekhare .es-report-panel__head {
  min-height: 68px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--es-line);
  background: var(--es-surface);
}

.portal.portal--estekhare .es-report-panel__head h2 {
  margin: 0;
  color: var(--es-ink);
  font-size: .96rem;
  font-weight: 860;
  line-height: 1.75;
  letter-spacing: 0;
}

.portal.portal--estekhare .es-icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--es-line);
  border-radius: 8px;
  color: var(--es-muted);
  background: #fff;
  cursor: pointer;
}

.portal.portal--estekhare .es-icon-button:hover:not(:disabled) {
  border-color: #b8d5df;
  color: var(--es-blue-dark);
  background: var(--es-blue-soft);
}

.portal.portal--estekhare .es-icon-button svg {
  width: 20px;
  height: 20px;
}

.portal.portal--estekhare .es-report-form {
  padding: 16px;
}

.portal.portal--estekhare .es-report-form > p:first-child {
  margin: 0 0 14px;
  color: var(--es-muted);
  font-size: .73rem;
  font-weight: 590;
  line-height: 1.9;
}

.portal.portal--estekhare .es-field {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--es-ink);
  font-size: .74rem;
  font-weight: 760;
  line-height: 1.7;
}

.portal.portal--estekhare .es-field + .es-field {
  margin-top: 13px;
}

.portal.portal--estekhare .es-field > span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.portal.portal--estekhare .es-field small {
  color: var(--es-muted);
  font-size: .65rem;
  font-weight: 580;
  line-height: 1.7;
}

.portal.portal--estekhare .es-field select,
.portal.portal--estekhare .es-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--es-line-strong);
  border-radius: 8px;
  color: var(--es-ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
}

.portal.portal--estekhare .es-field textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.9;
}

.portal.portal--estekhare .es-field select:focus-visible,
.portal.portal--estekhare .es-field textarea:focus-visible {
  border-color: var(--es-blue);
  outline: 3px solid rgba(36, 120, 155, .22);
  outline-offset: 1px;
}

.portal.portal--estekhare .es-report-form__status {
  min-height: 26px;
  margin: 12px 0 0;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--es-muted);
  font-size: .7rem;
  font-weight: 680;
  line-height: 1.8;
}

.portal.portal--estekhare .es-report-form__status:empty {
  padding: 0;
}

.portal.portal--estekhare .es-report-form__status[data-es-report-state="error"] {
  color: var(--es-coral);
  background: var(--es-coral-soft);
}

.portal.portal--estekhare .es-report-form__status[data-es-report-state="success"] {
  color: var(--es-green-dark);
  background: var(--es-green-soft);
}

.portal.portal--estekhare .es-report-form__status[data-es-report-state="loading"] {
  color: #79520f;
  background: var(--es-gold-soft);
}

.portal.portal--estekhare .es-report-form__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.portal.portal--estekhare .es-error {
  margin: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid #e7c4c7;
  border-radius: 8px;
  background: var(--es-coral-soft);
}

.portal.portal--estekhare .es-error__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--es-coral);
  background: #fff;
}

.portal.portal--estekhare .es-error__icon svg {
  width: 22px;
  height: 22px;
}

.portal.portal--estekhare .es-error h2 {
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.7;
}

.portal.portal--estekhare .es-error p {
  margin: 3px 0 0;
  color: #7d5053;
  font-size: .74rem;
  line-height: 1.9;
}

.portal.portal--estekhare .es-noscript {
  margin: 0;
  font-size: .71rem;
  font-weight: 620;
  line-height: 1.9;
}

.portal.portal--estekhare .es-noscript {
  padding: 12px 20px;
  color: var(--es-coral);
  background: var(--es-coral-soft);
}

/* Long-form content is a reading surface, not a pile of nested cards. */
.estekhare-guide {
  --es-article-line: #dbe8e8;
  --es-article-surface: #f7faf9;
  --es-article-muted: #60757d;
  padding-inline: clamp(14px, 3vw, 32px);
  border-block: 1px solid var(--es-article-line);
  background: #fff;
}

.svc-article.estekhare-guide a {
  color: #1d5e78;
  text-decoration-line: underline;
  text-decoration-color: rgba(29, 94, 120, .44);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.svc-article.estekhare-guide a:hover {
  color: #15485d;
  text-decoration-color: currentColor;
}

.svc-article.estekhare-guide > * + * {
  margin-top: 0;
}

.estekhare-guide > .art-card {
  padding: 28px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.estekhare-guide > .art-card:not(:first-child) {
  border-top: 1px solid var(--es-article-line);
}

.estekhare-guide > .art-card > h2,
.estekhare-guide > .art-card > header > h2 {
  color: #183a43;
  letter-spacing: 0;
}

.estekhare-guide > .art-toc {
  margin: 4px 0 22px;
  border: 1px solid #cbe1de;
  border-radius: 8px;
  background: var(--es-article-surface);
}

.estekhare-guide .art-toc__list a {
  min-height: 44px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  box-sizing: border-box;
}

.estekhare-guide .art-callout,
.estekhare-guide .art-tile,
.estekhare-guide .art-step,
.estekhare-guide .art-cta,
.estekhare-guide code,
.estekhare-guide blockquote {
  border-radius: 8px;
}

.estekhare-guide .art-callout {
  box-shadow: none;
}

.estekhare-guide .art-figure {
  margin: 18px 0 22px;
  overflow: hidden;
  border: 1px solid var(--es-article-line);
  border-radius: 8px;
  background: var(--es-article-surface);
}

.estekhare-guide .art-figure picture,
.estekhare-guide .art-figure img {
  display: block;
  width: 100%;
}

.estekhare-guide .art-figure img {
  aspect-ratio: 3 / 2;
  border-radius: 0;
  object-fit: cover;
}

.estekhare-guide .art-figure figcaption {
  padding: 9px 12px;
  color: var(--es-article-muted);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.9;
}

.estekhare-guide .tc-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--es-article-line);
  border-radius: 8px;
  background: #fff;
  scrollbar-gutter: stable;
  scrollbar-color: #6a9eaa #e8f1f2;
  scrollbar-width: auto;
  -webkit-overflow-scrolling: touch;
}

.estekhare-guide .tc-table-wrap::-webkit-scrollbar {
  height: 12px;
}

.estekhare-guide .tc-table-wrap::-webkit-scrollbar-track {
  background: #e8f1f2;
}

.estekhare-guide .tc-table-wrap::-webkit-scrollbar-thumb {
  border: 3px solid #e8f1f2;
  border-radius: 8px;
  background: #6a9eaa;
}

.estekhare-guide .tc-table-wrap:focus-visible {
  outline: 3px solid rgba(36, 120, 155, .28);
  outline-offset: 2px;
}

.estekhare-guide .tc-table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #3f5962;
  font-size: .79rem;
  line-height: 1.85;
}

.estekhare-guide .tc-table-wrap caption {
  padding: 10px 12px;
  border-bottom: 1px solid var(--es-article-line);
  color: #315661;
  background: var(--es-article-surface);
  font-weight: 820;
  text-align: right;
}

.estekhare-guide .tc-table-wrap th,
.estekhare-guide .tc-table-wrap td {
  padding: 9px 11px;
  border-inline-start: 1px solid var(--es-article-line);
  border-top: 1px solid var(--es-article-line);
  vertical-align: top;
  text-align: right;
}

.estekhare-guide .tc-table-wrap th:first-child,
.estekhare-guide .tc-table-wrap td:first-child {
  border-inline-start: 0;
}

.estekhare-guide .tc-table-wrap thead th {
  border-top: 0;
  color: #1d5e78;
  background: #edf7fb;
  font-weight: 850;
  white-space: nowrap;
}

.estekhare-guide .tc-table-wrap tbody tr:nth-child(even) {
  background: #f8fbfb;
}

.estekhare-guide .es-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.estekhare-guide .es-link-card {
  min-width: 0;
  min-height: 92px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid var(--es-article-line);
  border-radius: 8px;
  color: #315661;
  background: #fff;
}

.estekhare-guide .es-link-card:hover {
  border-color: #b6d6dd;
  background: #f4fafb;
}

.estekhare-guide .es-link-card strong {
  color: #1d5e78;
  font-size: .82rem;
  line-height: 1.7;
}

.estekhare-guide .es-link-card span {
  color: var(--es-article-muted);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.8;
}

.tool-faqs--estekhare {
  padding: 27px clamp(14px, 3vw, 32px);
  border-block: 1px solid #dbe8e8;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tool-faqs--estekhare > h2 {
  margin: 0 0 13px;
  color: #183a43;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.7;
  letter-spacing: 0;
}

.tool-faqs--estekhare .tool-faqs__list {
  display: grid;
  gap: 8px;
}

.tool-faqs--estekhare .tool-faqs__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe8e8;
  border-radius: 8px;
  background: #fff;
}

.tool-faqs--estekhare .tool-faqs__item[open] {
  border-color: #b6d7d0;
  background: #f7fbfa;
}

.tool-faqs--estekhare .tool-faqs__question {
  min-height: 52px;
  padding: 10px 13px;
  gap: 12px;
  color: #183a43;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.8;
}

.tool-faqs--estekhare .tool-faqs__question svg {
  width: 20px;
  height: 20px;
}

.tool-faqs--estekhare .tool-faqs__answer {
  padding: 0 13px 13px;
  color: #516a70;
  font-size: .81rem;
  line-height: 2;
}

.tool-page--estekhare {
  padding-bottom: 3rem;
}

.tool-page--estekhare .page-breadcrumb__list {
  width: 100%;
  min-width: 0;
}

.tool-page--estekhare .page-breadcrumb__item > a,
.tool-page--estekhare .page-breadcrumb__item > span {
  min-height: 44px;
  box-sizing: border-box;
}

.tool-page--estekhare .page-breadcrumb__item > a {
  min-width: 44px;
}

.tool-page--estekhare .page-breadcrumb__item:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.tool-page--estekhare .page-breadcrumb__item:last-child > span {
  width: 100%;
  max-width: 100%;
}

.tool-page--estekhare #comments-section {
  padding: 27px clamp(14px, 3vw, 32px);
  border-block: 1px solid #dbe8e8;
  border-inline: 0;
  border-radius: 0;
  box-shadow: none;
}

.tool-page--estekhare #comments-section > .mb-8,
.tool-page--estekhare #comments-section .comments-form-panel {
  margin-bottom: 16px;
}

.tool-page--estekhare #comments-section .comments-form-panel {
  padding: 20px;
  border: 1px solid #dbe8e8;
  border-radius: 8px;
  background: #f7faf9;
}

.tool-page--estekhare #comment-form input,
.tool-page--estekhare #comment-form textarea {
  min-height: 44px;
  border-radius: 6px;
}

.tool-page--estekhare .comments-rating-stars {
  gap: 4px;
}

.tool-page--estekhare .comments-rating-stars .star-rating {
  width: 44px;
  height: 44px;
  padding: 6px;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: #d1d9d9;
  background: transparent;
  touch-action: manipulation;
}

.tool-page--estekhare .comments-rating-stars .star-rating:focus-visible {
  outline: 3px solid rgba(36, 120, 155, .28);
  outline-offset: 1px;
}

.tool-page--estekhare .comments-rating-stars .star-rating svg {
  width: 28px;
  height: 28px;
}

.tool-page--estekhare .comments-form-submit {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background-color: #24789b;
  cursor: pointer;
  touch-action: manipulation;
}

.tool-page--estekhare .comments-form-submit:hover {
  background-color: #1d5e78;
}

.tool-page--estekhare .comments-form-submit:focus-visible {
  outline: 3px solid rgba(36, 120, 155, .28);
  outline-offset: 2px;
}
@keyframes es-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .56; transform: scale(.78); }
}

@keyframes es-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .portal.portal--estekhare .es-setup {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal.portal--estekhare .es-setup__block + .es-setup__block {
    border-top: 1px solid var(--es-line);
    border-inline-start: 0;
  }

  .portal.portal--estekhare .es-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .portal.portal--estekhare .svc-hero {
    height: 224px;
    min-height: 224px;
    max-height: 224px;
  }

  .portal.portal--estekhare .es-hero-media img {
    object-position: 59% center;
  }

  .portal.portal--estekhare .es-hero-shade {
    background: rgba(12, 32, 31, .65);
  }

  .portal.portal--estekhare .svc-shell > .svc-card:first-child {
    margin-top: -54px;
  }

  .portal.portal--estekhare .es-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal.portal--estekhare .es-result__head {
    display: grid;
  }

  .portal.portal--estekhare .es-result__meta {
    min-width: 0;
    justify-items: start;
    text-align: right;
  }

  .portal.portal--estekhare .es-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estekhare-guide .es-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .tool-page--estekhare #comments-section {
    padding: 20px 14px;
  }

  .tool-page--estekhare #comments-section .comments-form-panel {
    padding: 10px;
  }

  .tool-page--estekhare .comments-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .tool-page--estekhare .comments-form-submit {
    width: 100%;
  }

  .tool-page--estekhare .comments-form-notice {
    line-height: 1.8;
    text-align: center;
  }

  .tool-page--estekhare .comments-rating-stars {
    width: calc(100% + 20px);
    margin-inline: -10px;
    justify-content: center;
    gap: 3px;
  }

  .tool-page--estekhare .page-breadcrumb__item:first-child > a {
    width: 44px;
    padding-inline: 0;
    justify-content: center;
  }

  .tool-page--estekhare .page-breadcrumb__item:first-child > a > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .portal.portal--estekhare .svc-head {
    padding: 10px 12px;
  }

  .portal.portal--estekhare .es-statusbar {
    padding-inline: 12px;
  }

  .portal.portal--estekhare .es-report-dialog {
    padding: 10px;
    place-items: end center;
  }

  .portal.portal--estekhare .es-report-panel {
    max-height: calc(100vh - 20px);
  }

  .portal.portal--estekhare .es-report-panel__head,
  .portal.portal--estekhare .es-report-form {
    padding: 13px;
  }

  .portal.portal--estekhare .es-report-form__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal.portal--estekhare .es-setup__block,
  .portal.portal--estekhare .es-result {
    padding: 18px 13px;
  }

  .portal.portal--estekhare .es-start {
    padding: 12px 13px 16px;
  }

  .portal.portal--estekhare .es-verse {
    min-height: 0;
    padding: 20px 13px 17px;
  }

  .portal.portal--estekhare .es-arabic {
    font-size: 1.42rem;
    line-height: 2.08;
  }

  .portal.portal--estekhare .es-persian {
    font-size: .84rem;
  }

  .portal.portal--estekhare .es-direction {
    padding: 12px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    border-inline-start-width: 4px;
  }

  .portal.portal--estekhare .es-direction__icon {
    width: 36px;
    height: 36px;
  }

  .portal.portal--estekhare .es-direction__icon svg {
    width: 20px;
    height: 20px;
  }

  .portal.portal--estekhare .es-direction h2 {
    font-size: 1.2rem;
    line-height: 1.7;
  }

  .portal.portal--estekhare .es-direction__reason {
    margin-top: 12px;
    padding-top: 11px;
  }

  .portal.portal--estekhare .es-topic-guidance {
    padding-inline-end: 0;
  }

  .portal.portal--estekhare .es-error {
    margin: 13px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .portal.portal--estekhare .es-error__icon {
    width: 38px;
    height: 38px;
  }

  .portal.portal--estekhare .es-error .es-button {
    grid-column: 1 / -1;
  }

  .portal.portal--estekhare .es-noscript {
    padding-inline: 13px;
  }

  .estekhare-guide > .art-card {
    padding-block: 23px;
  }

  .estekhare-guide > .art-toc {
    margin-bottom: 17px;
  }

  .estekhare-guide .es-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-faqs--estekhare {
    padding-block: 23px;
  }

  .tool-faqs--estekhare .tool-faqs__question {
    font-size: .84rem;
  }

  .tool-page--estekhare {
    padding-bottom: 6rem;
  }
}

@media (max-width: 350px) {
  .portal.portal--estekhare .es-segments,
  .portal.portal--estekhare .es-category-grid,
  .portal.portal--estekhare .es-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal.portal--estekhare .es-button,
  .portal.portal--estekhare .es-segment,
  .portal.portal--estekhare .es-category,
  .portal.portal--estekhare .es-context-toggle__chevron,
  .portal.portal--estekhare .es-statusbar__dot,
  .portal.portal--estekhare .es-result {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  .portal.portal--estekhare .svc-hero,
  .portal.portal--estekhare .svc-head,
  .portal.portal--estekhare .es-statusbar,
  .portal.portal--estekhare .es-intro,
  .portal.portal--estekhare .es-actions,
  .portal.portal--estekhare .es-report-dialog {
    display: none !important;
  }

  .portal.portal--estekhare .svc-shell > .svc-card {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .portal.portal--estekhare .es-result {
    display: block !important;
    padding: 0;
  }

  .portal.portal--estekhare .es-context {
    display: block !important;
    max-height: none;
    overflow: visible;
  }
}
