body, .ui, .card, h1, h2, h3, h4, h5, h6, p, span, div, li, a, button, table, th, td {
    font-family: Tahoma, sans-serif !important;
  }
  #tablo-khani-guide { direction: rtl; }

  .card-power-edu {
    color: #0f172a !important;
    font-size: 1.08em;
    line-height: 2.05;
    font-weight: 600;
    border-right: 5px solid var(--primary) !important;
    box-shadow: 0 4px 18px rgba(26,82,118,.12) !important;
  }
  .card-power-edu h2 {
    font-size: 1.45em !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em;
    color: #0b3a5c !important;
    border-bottom: 3px solid var(--primary) !important;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    background: none !important;
    border-radius: 0 !important;
  }
  .card-power-edu h3 {
    font-size: 1.22em !important;
    font-weight: 800 !important;
    color: #0b3a5c !important;
    margin: 30px 0 8px;
    border-right: 4px solid var(--primary);
    padding-right: 12px;
    background: none !important;
  }
  .card-power-edu .power-kicker {
    font-size: 1em !important;
    font-weight: 800 !important;
    color: #0b3a5c !important;
  }
  .card-power-edu p,
  .card-power-edu li,
  .card-power-edu td,
  .card-power-edu div,
  .card-power-edu span {
    color: #0f172a !important;
    font-size: 1.05em !important;
    font-weight: 600 !important;
    line-height: 2.05 !important;
  }
  .card-power-edu strong,
  .card-power-edu b { font-weight: 800 !important; color: #071a2e !important; }
  .card-power-edu table { font-size: 1.05em !important; width: 100%; border-collapse: collapse; }
  .card-power-edu th {
    font-weight: 800 !important;
    background: linear-gradient(135deg, #1a5276, #2980b9) !important;
    color: #fff !important;
    padding: 10px 12px;
    text-align: right;
  }
  .card-power-edu td {
    font-weight: 700 !important;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border, #d3dcea);
    vertical-align: top;
  }
  .card-power-edu ol,
  .card-power-edu ul { font-weight: 700 !important; padding-right: 22px; }
  .card-power-edu ol li,
  .card-power-edu ul li { margin-bottom: 6px; }

  [data-theme="dark"] .card-power-edu,
  body.dark-theme .card-power-edu,
  [data-theme="dark"] .card-power-edu p,
  body.dark-theme .card-power-edu p,
  [data-theme="dark"] .card-power-edu li,
  body.dark-theme .card-power-edu li,
  [data-theme="dark"] .card-power-edu td,
  body.dark-theme .card-power-edu td,
  [data-theme="dark"] .card-power-edu div,
  body.dark-theme .card-power-edu div,
  [data-theme="dark"] .card-power-edu span,
  body.dark-theme .card-power-edu span { color: #e8eef8 !important; }
  [data-theme="dark"] .card-power-edu h2,
  body.dark-theme .card-power-edu h2,
  [data-theme="dark"] .card-power-edu h3,
  body.dark-theme .card-power-edu h3,
  [data-theme="dark"] .card-power-edu .power-kicker,
  body.dark-theme .card-power-edu .power-kicker { color: #93c5fd !important; }
  [data-theme="dark"] .card-power-edu strong,
  body.dark-theme .card-power-edu strong,
  [data-theme="dark"] .card-power-edu b,
  body.dark-theme .card-power-edu b { color: #ffffff !important; }
  [data-theme="dark"] .card-power-edu th,
  body.dark-theme .card-power-edu th { color: #fff !important; }

  body.power-page > .ui.container {
    width: auto !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.power-page .power-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
  }
  @media (max-width: 767px) {
    body.power-page > .ui.container {
      padding-left: 4px !important;
      padding-right: 4px !important;
    }
    body.power-page .card-power-edu { padding: 16px 12px !important; }
  }

  .ctg-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
    border: 1px solid #f5b942;
    color: #b7791f !important;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700 !important;
    text-align: center;
  }
  [data-theme="dark"] .ctg-badge,
  body.dark-theme .ctg-badge { color: #fbbf24 !important; border-color: #f59e0b; }

  .an-tbl {
    overflow-x: auto;
    border: 1px solid var(--border, #d3dcea);
    border-radius: 8px;
    margin: 10px 0;
  }
  [data-theme="dark"] .an-tbl,
  body.dark-theme .an-tbl { border-color: #334155; }
  [data-theme="dark"] .card-power-edu td,
  body.dark-theme .card-power-edu td { border-bottom-color: #334155; }

  .card-power-edu .an-note {
    background: #fef9e7 !important;
    border-right: 4px solid #f39c12;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 12px 0;
  }
  .card-power-edu .an-note,
  .card-power-edu .an-note * { color: #1b1b1b !important; }
  .card-power-edu .an-note.warn { border-right-color: #ef4a4a; }
  [data-theme="dark"] .card-power-edu .an-note,
  body.dark-theme .card-power-edu .an-note { background: #3a2f14 !important; }
  [data-theme="dark"] .card-power-edu .an-note,
  body.dark-theme .card-power-edu .an-note,
  [data-theme="dark"] .card-power-edu .an-note *,
  body.dark-theme .card-power-edu .an-note * { color: #fde68a !important; }

  .up { color: #1fb589 !important; font-weight: 800 !important; }
  .down { color: #ef4a4a !important; font-weight: 800 !important; }
  [data-theme="dark"] .up, body.dark-theme .up { color: #34d399 !important; }
  [data-theme="dark"] .down, body.dark-theme .down { color: #f87171 !important; }

  a.ctt-edu {
    color: var(--primary, #1a5276) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 800 !important;
  }
  [data-theme="dark"] a.ctt-edu,
  body.dark-theme a.ctt-edu { color: #93c5fd !important; }
  .card-power-edu .an-note a.ctt-edu { color: #b7791f !important; }
  [data-theme="dark"] .card-power-edu .an-note a.ctt-edu,
  body.dark-theme .card-power-edu .an-note a.ctt-edu { color: #fbbf24 !important; }

  .strip {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 88px;
    margin: 18px 0 14px;
    direction: ltr;
    padding: 10px 12px 0;
    background: #15233b;
    border-radius: 12px;
    border: 1px solid #2a3b5a;
  }
  .strip i {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: #1fb589;
    min-width: 4px;
  }
  .strip i.r { background: #ef4a4a; }
  .strip i.s { box-shadow: 0 0 0 100vmax rgba(95,212,244,.22) inset; }

  ol.steps { padding: 0; list-style: none; counter-reset: s; }
  ol.steps > li {
    counter-increment: s;
    position: relative;
    padding: 2px 52px 2px 0;
    margin: 10px 0;
  }
  ol.steps > li::before {
    content: counter(s);
    position: absolute;
    right: 0;
    top: 6px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary, #1a5276);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
    font-size: 0.9em;
  }

  .shot {
    border: 2px dashed var(--border, #d3dcea);
    border-radius: 10px;
    min-height: 120px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #64748b !important;
    margin: 14px 0;
    padding: 14px;
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  [data-theme="dark"] .shot,
  body.dark-theme .shot {
    border-color: #334155;
    color: #94a3b8 !important;
  }
  .shot img { max-width: 100%; border-radius: 8px; }
  @media (max-width: 520px) {
    ol.steps > li { padding-right: 46px; }
  }
