:root {
  color-scheme: light;
  --ink: #102529;
  --teal: #006b70;
  --line: #d2dfe0;
  --muted: #4f6368;
  --paper: #f8faf9;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
nav,
main,
footer {
  max-width: 1040px;
  margin: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
nav,
footer,
.sectionhead,
.brand {
  display: flex;
  align-items: center;
}
nav,
.sectionhead,
footer {
  justify-content: space-between;
  gap: 12px;
}
nav {
  min-height: 72px;
}
nav a,
.sectionhead a,
.ext {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
nav a,
.row,
.button,
.sectionhead a,
.tabs a,
.brand {
  text-decoration: none;
}
.brand {
  font-size: 1.33rem;
  font-weight: 750;
  color: var(--ink);
}
svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.brand svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}
main {
  padding-block: clamp(20px, 4vw, 42px) 44px;
  min-height: 75vh;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.6em;
}
h1 {
  line-height: 1.35;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}
h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}
h3 {
  font-size: 1rem;
}
.hero {
  border-radius: 16px;
  background: linear-gradient(125deg, #006469, #003d41);
  color: #fff;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: center;
  gap: 28px;
  padding: clamp(25px, 5vw, 54px);
  overflow: hidden;
}
.hero p {
  color: #e6f3f1;
  max-width: 40ch;
}
.search {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.search label {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--teal);
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  min-width: 0;
}
.search input:focus {
  outline: none;
}
.search label:focus-within {
  outline: 3px solid #55bcb9;
}
button,
.button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.hero button {
  background: #008789;
}
input,
select,
button {
  font: inherit;
}
.art {
  position: relative;
  aspect-ratio: 1;
  max-height: 240px;
  width: 100%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 22px,
    #58bbac55 23px,
    transparent 24px
  );
  justify-self: center;
}
.tile {
  display: grid;
  place-items: center;
  position: absolute;
  border: 1.5px solid #a5ebe0;
  border-radius: 15%;
  background: linear-gradient(145deg, #0d8382, #00484d);
  box-shadow: 0 7px 15px #002f3455;
}
.tile svg {
  width: 56%;
  height: 56%;
  stroke-width: 1.45;
}
.t0 {
  width: 42%;
  height: 42%;
  left: 29%;
  top: 29%;
  z-index: 1;
}
.t1 {
  width: 25%;
  height: 25%;
  left: 8%;
  top: 12%;
}
.t2 {
  width: 26%;
  height: 26%;
  right: 6%;
  bottom: 10%;
}
.t3 {
  width: 21%;
  height: 21%;
  left: 10%;
  bottom: 10%;
}
.sectionhead {
  margin: 26px 0 14px;
}
.sectionhead h2 {
  margin: 0;
}
.row,
.panel,
.box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.row,
.box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.row {
  margin: 9px 0;
  color: var(--ink);
  transition:
    border-color 0.16s,
    background 0.16s;
}
.row:hover {
  border-color: var(--teal);
  background: #f3fcfa;
}
.rowtext {
  flex: 1;
  min-width: 0;
}
.row strong,
.row bdi,
.box bdi {
  display: block;
}
.row bdi,
.box bdi,
.id {
  font:
    0.88rem/1.65 ui-monospace,
    monospace;
  color: var(--muted);
  overflow-wrap: anywhere;
  direction: ltr;
  unicode-bidi: isolate;
}
.stamp {
  display: grid;
  place-items: center;
  border: 1px solid #9fbfc0;
  border-radius: 11px;
  color: var(--teal);
  width: 49px;
  height: 49px;
  flex: none;
}
.stamp svg {
  width: 27px;
  height: 27px;
}
.panel,
.notice {
  padding: 20px 24px;
  margin: 14px 0;
}
.panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel h2 svg {
  color: var(--teal);
}
.panel p:last-child {
  margin: 0;
}
.crumb {
  color: var(--muted);
  margin-bottom: 14px;
}
.box h1 {
  margin: 0;
  font-size: 1.75rem;
}
.box {
  padding-block: 22px;
}
.notice {
  border-inline-start: 3px solid #128080;
  background: #eaf6f4;
}
.tabs,
.links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 13px 0;
}
.tabs a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.tabs [aria-current] {
  color: white;
  background: var(--teal);
}
dl {
  margin: 0;
}
dl div {
  display: grid;
  grid-template-columns: minmax(105px, 25%) 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #edf1f1;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
dt,
.muted {
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  align-items: end;
}
.filters label {
  display: grid;
  gap: 3px;
}
.filters input,
.filters select {
  border: 1px solid #aababd;
  border-radius: 7px;
  background: white;
  padding: 8px;
  width: 100%;
  color: var(--ink);
}
details {
  border-top: 1px solid var(--line);
  padding: 9px 0;
}
summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 700;
}
.ext {
  overflow-wrap: anywhere;
}
.ext svg {
  width: 14px;
}
ul {
  padding-inline-start: 22px;
}
li {
  margin: 5px 0;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #599fdf;
  outline-offset: 3px;
}
@media (max-width: 580px) {
  nav {
    min-height: 58px;
  }
  .hero {
    grid-template-columns: 1fr;
    position: relative;
  }
  .art {
    display: none;
  }
  .hero .search {
    margin-top: 16px;
  }
  .row,
  .box,
  .panel {
    padding: 14px;
  }
  .sectionhead a {
    font-size: 0.85rem;
  }
  .sectionhead {
    gap: 5px;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .rowtext strong {
    font-size: 1rem;
  }
  .crumb {
    font-size: 0.86rem;
  }
  footer {
    flex-wrap: wrap;
  }
  .brand {
    font-size: 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
