.tm {
  font-family: "Tajawal", "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--navy);
}

.tm a:focus-visible,
.tm button:focus-visible {
  outline: 3px solid rgba(14, 111, 190, .45);
  outline-offset: 3px;
  border-radius: 8px;
}

.tm-hero {
  padding: 36px 0 50px;
  background: radial-gradient(640px 320px at 10% 0%, rgba(92, 184, 255, .16), transparent 70%), linear-gradient(180deg, #f2f8fe 0%, #f6fafd 100%);
}

.tm-crumbs {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}

.tm-crumbs a:hover {
  color: var(--blue);
}

.tm-crumbs b {
  color: var(--blue);
  font-weight: 700;
}

.tm-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
}

.tm-hero h1 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.25;
}

.tm-hero-row p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--text);
  max-width: 620px;
}

.tm-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text);
}

.tm-meta b {
  color: var(--navy);
}

.tm-print {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  transition: border-color .25s, color .25s;
}

.tm-print svg {
  width: 18px;
  height: 18px;
}

.tm-print:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tm-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.tm-facts li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(11, 42, 91, .05);
}

.tm-facts b {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}

.tm-facts span {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.tm-main {
  padding: 10px 0 100px;
  background: #f6fafd;
}

.tm-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.tm-side {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}

.tm-toc {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.tm-toc>b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tm-toc ol {
  list-style: none;
  display: grid;
  gap: 4px;
}

.tm-toc a {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  border-right: 3px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  transition: background .25s, border-color .25s, color .25s;
}

.tm-toc a small {
  font-size: 12.5px;
  font-weight: 500;
  color: #8b99aa;
}

.tm-toc a:hover {
  background: #f5f9fd;
}

.tm-toc a.is-active {
  background: var(--sky);
  border-color: var(--blue);
  color: var(--blue);
}

.tm-help {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(150deg, #eef7fe, #ddedfb);
  border: 1px solid #cfe4f5;
}

.tm-help b {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
}

.tm-help p {
  margin: 6px 0 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}

.tm-help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #1fae5b;
  color: #fff;
  font-weight: 800;
  transition: background .25s;
}

.tm-help-btn svg {
  width: 19px;
  height: 19px;
}

.tm-help-btn:hover {
  background: #179a4f;
}

.tm-help-call {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-weight: 800;
  color: var(--blue);
  unicode-bidi: isolate;
}

.tm-doc {
  display: grid;
  gap: 22px;
}

.tm-sec {
  scroll-margin-top: 120px;
  padding: 30px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.tm-sec>header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.tm-sec-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
}

.tm-sec-ico svg {
  width: 26px;
  height: 26px;
}

.tm-sec h2 {
  font-size: 23px;
  font-weight: 800;
}

.tm-sec header p {
  font-size: 15px;
  color: var(--text);
}

.tm-list {
  list-style: none;
  display: grid;
}

.tm-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}

.tm-list li+li {
  border-top: 1px solid #eef3f8;
}

.tm-n {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  background: var(--sky);
}

.tm-list p {
  padding-top: 4px;
  font-size: 16.5px;
  line-height: 2;
  color: #34465c;
}

.tm-note {
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}

.tm-note b {
  color: var(--navy);
}

@media (max-width: 1100px) {
  .tm-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .tm-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tm-grid {
    grid-template-columns: 1fr;
  }

  .tm-side {
    position: static;
    order: 2;
  }

  .tm-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  .tm-hero {
    padding: 24px 0 36px;
  }

  .tm-facts {
    gap: 10px;
  }

  .tm-facts li {
    padding: 14px;
  }

  .tm-facts b {
    font-size: 19px;
  }

  .tm-sec {
    padding: 22px 18px;
  }

  .tm-list p {
    font-size: 15.5px;
  }
}

@media print {

  .topbar,
  .site-header,
  .drawer,
  .drawer-backdrop,
  .site-footer,
  .bottom-bar,
  .toast,
  .tm-side,
  .tm-print,
  .tm-crumbs {
    display: none !important;
  }

  body {
    padding: 0 !important;
    background: #fff;
  }

  .tm-hero,
  .tm-main {
    background: #fff;
    padding: 0;
  }

  .tm-sec,
  .tm-facts li,
  .tm-note {
    box-shadow: none;
    break-inside: avoid;
  }

  .tm-grid {
    display: block;
  }
}

.tm-sec header p:empty {
  display: none;
}

.tm-prose {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  font-size: 16.5px;
  line-height: 2;
  color: #34465c;
}

.tm-prose ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.tm-prose ul li {
  position: relative;
  padding-right: 22px;
}

.tm-prose ul li::before {
  content: "";
  position: absolute;
  right: 4px;
  top: .8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.tm-prose a {
  color: var(--blue);
  font-weight: 700;
  unicode-bidi: isolate;
}

.tm-prose a:hover {
  text-decoration: underline;
}

.tm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  counter-reset: st;
}

.tm-steps li {
  counter-increment: st;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 16px;
  background: #f5f9fd;
}

.tm-steps li::before {
  content: counter(st);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
}

.tm-steps b {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
}

.tm-steps span {
  font-size: 14.5px;
  line-height: 1.8;
}

.tm-note a {
  color: var(--blue);
  font-weight: 700;
}

.tm-related a {
  font-size: 14.5px;
}

.tm-related a.is-current {
  background: var(--sky);
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 960px) {
  .tm-related {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .tm-steps {
    grid-template-columns: 1fr;
  }

  .tm-prose {
    font-size: 15.5px;
  }
}