@font-face {
  font-family: Tajawal;
  src: url("/sys/fonts/tajawal-arabic-400-normal.woff2?v=6c9081fd00db08800850fa7d214593aa94992be5159e97557aa60197252cb95a") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Tajawal;
  src: url("/sys/fonts/tajawal-arabic-700-normal.woff2?v=fa5e72326681abee3a4952be582e1c2c2abb27932ef262610c078ce89541f919") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Tajawal;
  src: url("/sys/fonts/tajawal-latin-400-normal.woff2?v=b081f7bf790678b56a2c0502651d6873cbabc09e78fe40655df15f918b1e369b") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: Tajawal;
  src: url("/sys/fonts/tajawal-latin-700-normal.woff2?v=de8f431c146ab1feb612cb7ced0842ae5c4e2f12067d13db0badeca73977200b") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
:root {
  color-scheme: dark;
  --bg: #071c17;
  --surface: #102723;
  --surface-2: #172e29;
  --text: #edf1ee;
  --muted: #b6c6bd;
  --line: #37574b;
  --green: #00b878;
  --action: #075c3b;
  --action-hi: #087c4f;
  --platinum: #dce7e0;
  --lavender: #dbc8f3;
  --shadow: 0 16px 60px #0003;
  --radius: 15px;
  --font: Tajawal, Arial, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f5;
  --surface: #fff;
  --surface-2: #e9efeb;
  --text: #102c21;
  --muted: #496457;
  --line: #b9cbbf;
  --green: #087044;
  --action: #075c3b;
  --action-hi: #087c4f;
  --platinum: #294b3b;
  --lavender: #68408b;
  --shadow: 0 16px 60px #2444330c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  min-width: 280px;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h2 {
  font-size: 1.4rem;
}
p {
  margin-bottom: 1rem;
}
input,
textarea,
select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  padding: 10px 14px;
  width: 100%;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
label {
  display: block;
  font-weight: 700;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  transform: translateY(-160%);
  z-index: 99;
}
.skip-link:focus {
  transform: none;
}
.topbar {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 20px;
  min-height: 78px;
}
.preferences {
  display: flex;
  gap: 10px;
  align-items: center;
}
.preference {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 12px;
  color: var(--text);
  background: transparent;
  border-radius: 10px;
}
.preference:hover {
  background: var(--surface-2);
}
.theme-text {
  font-size: 14px;
}
.utility-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.utility-nav a {
  padding: 12px 0;
}
.utility-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}
.home {
  max-width: 1120px;
  margin: auto;
  padding: 0 28px;
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
  text-align: center;
  min-height: 390px;
  padding: 0 0 12px;
}
.hero-logo {
  width: clamp(245px, 30vw, 365px);
  aspect-ratio: 1;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.tagline {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  margin: -3px 0 14px;
  position: relative;
  z-index: 1;
}
.circuit-halo {
  position: absolute;
  inset: -8px -20px 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  color: #00c688;
}
.orbit {
  position: absolute;
  border: 1px solid #00c68833;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-b {
  width: 455px;
  height: 455px;
  border-style: dashed;
  border-color: #00c68826;
}
.orbit-c {
  width: 490px;
  height: 490px;
  border-color: #00c68815;
}
.orbit-a::before,
.orbit-b::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #14df9880;
  border-inline-end-color: #00c68850;
  animation: orbit-trace 24s linear infinite;
}
.orbit-b::before {
  animation-duration: 38s;
  animation-direction: reverse;
}
.circuit-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: visible;
  opacity: 0.6;
}
.circuit-lines path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  opacity: 0.45;
}
.circuit-lines .signal path {
  stroke-width: 2;
  stroke-dasharray: 15 270;
  animation: signal-flow 8s linear infinite;
  opacity: 0.85;
}
.node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1be9a0;
  box-shadow: 0 0 12px #15d990;
  animation: node-pulse 6s ease-in-out infinite;
}
.n1 {
  left: 27%;
  top: 44%;
}
.n2 {
  right: 24%;
  top: 63%;
  animation-delay: -2s;
}
.n3 {
  left: 36%;
  top: 14%;
  animation-delay: -4s;
}
.n4 {
  right: 32%;
  top: 79%;
  animation-delay: -1s;
}
:root[data-theme="light"] .circuit-halo {
  opacity: 0.55;
}
.home-actions {
  max-width: 920px;
  margin: 0 auto;
}
.search-row {
  display: flex;
  gap: 12px;
}
.search-input {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 15px;
}
.search-input input {
  border: 0;
  background: transparent;
  min-height: 54px;
  outline-offset: -4px;
  padding: 10px 0;
}
.search-row > .action {
  min-width: 135px;
}
.action {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 20px;
  line-height: 1.4;
  font-size: 17px;
  font-weight: 700;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  min-width: 0;
}
.primary {
  background: linear-gradient(160deg, var(--action-hi), var(--action));
  border-color: #208a5a;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #5bdda93d,
    0 5px 20px #00492d29;
}
.primary:hover {
  background: linear-gradient(160deg, #0a8a58, #086543);
  box-shadow:
    inset 0 1px 0 #72e8b850,
    0 6px 22px #006c3d33;
}
.secondary {
  background: var(--surface);
  color: var(--text);
}
.secondary:hover {
  background: var(--surface-2);
  border-color: var(--green);
}
.main-action {
  width: 100%;
  min-height: 54px;
  margin: 10px 0 0;
  font-size: 20px;
}
.main-action .icon {
  width: 23px;
}
.main-action.primary {
  justify-content: center;
}
.main-action.primary > .icon {
  margin-inline-start: 6px;
}
html[dir="rtl"] .main-action.primary > .icon,
html[dir="rtl"] .back-link > .icon,
html[dir="rtl"] .text-link > .icon {
  transform: rotate(180deg);
}
.advanced {
  margin: 5px 0 4px;
}
.advanced summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 44px;
  color: var(--muted);
  font-size: 15px;
}
.advanced summary::-webkit-details-marker {
  display: none;
}
.advanced[open] summary {
  color: var(--green);
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 14px 0 8px;
}
.filter-fields label {
  font-size: 15px;
}
.home .article-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 48px;
  padding: 12px 16px;
  margin: 16px auto;
  max-inline-size: 680px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: start;
}
.home .article-teaser .eyebrow {
  margin: 0;
  font-size: 13px;
  flex: none;
}
.home .article-teaser-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  min-inline-size: 0;
}
.home .article-teaser .text-link {
  font-size: 14px;
  white-space: nowrap;
  flex: none;
}
@media (max-width: 600px) {
  .home .article-teaser {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 12px;
  }
  .home .article-teaser-title {
    flex: 1;
  }
  .home .article-teaser .text-link {
    margin-inline-start: auto;
  }
}
.document article > section {
  max-inline-size: 72ch;
  margin-inline: auto;
  text-align: start;
}
.document article p {
  line-height: 1.9;
  text-align: start;
  overflow-wrap: break-word;
}
.privacy-actions,
.policy-sources {
  margin: 24px auto;
  max-inline-size: 72ch;
}
.policy-sources a {
  display: inline-flex;
  align-items: center;
  min-block-size: 48px;
  color: var(--green);
}
.eyebrow {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.text-link {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-size: 16px;
}
.article-teaser:hover {
  border-color: var(--green);
}
.social {
  display: grid;
  grid-template-columns: repeat(4, 48px);
  gap: 10px;
  justify-content: center;
  direction: ltr;
  margin: 22px auto 8px;
}
.social a {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #142e24;
  border: 1px solid #3e5d4d;
  border-radius: 12px;
  color: #ecf1eb;
  box-shadow: inset 0 1px 0 #a5ceb110;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.social a:hover {
  background: #1b402f;
  border-color: #78b895;
}
.social img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.site-footer {
  max-width: 1050px;
  margin: 20px auto 0;
  padding: 14px 24px 30px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 10px;
}
.site-footer nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.site-footer p {
  margin: 5px 0;
}
.registration {
  font-size: 12px;
  line-height: 1.9;
  max-width: 780px;
  margin-inline: auto !important;
}
.registration bdi {
  font-weight: 400;
}
.review-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.bottom-notices {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 25px;
  display: flex;
  align-items: stretch;
  gap: 18px;
  justify-content: space-between;
}
.install-card,
.consent-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.install-card strong {
  font-size: 16px;
}
.install-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 1px 0 0;
}
.install-card > div {
  flex: 1;
}
.install-card .action {
  padding: 8px 12px;
  font-size: 14px;
}
.install-card #install-button {
  display: inline-flex;
}
.install-card.ready #install-button {
  display: inline-flex;
}
.install-card.ready #install-later {
  display: inline-flex;
}
.consent-card p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.consent-card p a {
  color: var(--green);
  text-decoration: underline;
}
.consent-card .action {
  padding: 8px 15px;
  font-size: 15px;
}
.document {
  max-width: 900px;
  margin: auto;
  padding: 18px 28px 32px;
}
.document-heading {
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.document-heading h1 {
  margin-bottom: 14px;
}
.lead {
  font-size: 20px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  min-height: 44px;
  color: var(--muted);
}
.document article > section {
  margin-bottom: 32px;
}
.document article p {
  color: var(--muted);
  line-height: 1.95;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid section {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}
.feature-grid h2 {
  color: var(--text);
}
.feature-grid p {
  margin: 0;
}
.support-card {
  padding: 24px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.support-card h2 {
  margin-bottom: 8px;
}
.support-card p {
  color: var(--muted);
}
.contact-actions {
  display: flex;
  gap: 12px;
}
.contact-actions .action {
  flex: 1;
  background: #142e24;
  color: #eef3ef;
  border-color: #3e5d4d;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 18px 0 0;
  font-size: 15px;
}
.empty-state {
  text-align: center;
  padding: 45px 25px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  color: var(--muted);
  margin-bottom: 15px;
}
.empty-state p {
  max-width: 570px;
  margin: auto;
  color: var(--muted);
}
.short-page {
  padding-top: 50px;
}
.short-page > .action {
  margin-top: 24px;
}
dialog {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 18px;
  padding: 26px;
  width: min(720px, calc(100% - 30px));
  max-height: 86dvh;
  overflow: auto;
  font-family: var(--font);
  box-shadow: 0 25px 90px #0005;
}
dialog::backdrop {
  background: #03100bd9;
}
dialog h2 {
  margin-top: 12px;
}
dialog p {
  color: var(--muted);
}
.editor-controls {
  display: flex;
  gap: 16px;
  margin: 28px 0;
}
.editor-controls label {
  flex: 1;
}
.editor-field {
  margin-bottom: 20px;
}
.editor-field textarea {
  font-weight: 400;
  margin-top: 7px;
}
.editor-field input {
  margin-top: 7px;
}
.editor-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.editor-section-label {
  padding: 12px 0;
  margin: 25px 0 10px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 16px;
}
.editor #editor-status {
  color: var(--green);
  margin-top: 18px;
}
.editor dialog article {
  margin-top: 24px;
}
.editor dialog p {
  white-space: pre-wrap;
}
html.motion-paused *,
html.motion-paused *::before,
html.motion-paused *::after {
  animation-play-state: paused !important;
}
[hidden] {
  display: none !important;
}
@keyframes orbit-trace {
  to {
    transform: rotate(360deg);
  }
}
@keyframes signal-flow {
  to {
    stroke-dashoffset: -570;
  }
}
@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
@media (min-width: 1200px) {
  .hero {
    min-height: 400px;
  }
  .topbar {
    padding-top: 12px;
  }
  .home {
    padding-top: 0;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .topbar {
    padding: 12px 16px;
    min-height: 64px;
  }
  .utility-nav {
    display: none;
  }
  .preferences {
    width: 100%;
    justify-content: space-between;
  }
  .theme-text {
    display: none;
  }
  .home {
    padding: 0 18px;
  }
  .hero {
    min-height: 285px;
    padding-bottom: 4px;
  }
  .hero-logo {
    width: 275px;
    max-width: 100%;
  }
  .tagline {
    font-size: 17px;
    max-width: 100%;
    margin: 0 0 13px;
  }
  .orbit-a {
    width: 300px;
    height: 300px;
  }
  .orbit-b {
    width: 330px;
    height: 330px;
  }
  .orbit-c {
    width: 360px;
    height: 360px;
  }
  .circuit-lines {
    opacity: 0.4;
  }
  .n1 {
    left: 12%;
  }
  .n2 {
    right: 10%;
  }
  .n3 {
    left: 22%;
  }
  .n4 {
    right: 23%;
  }
  .search-row {
    gap: 8px;
  }
  .search-row > .action {
    min-width: 82px;
    padding: 8px 13px;
    font-size: 16px;
  }
  .search-row > .action > .icon {
    display: none;
  }
  .search-input {
    padding: 0 10px;
    gap: 7px;
  }
  .search-input input {
    font-size: 15px;
    min-height: 50px;
  }
  .search-input > .icon {
    width: 18px;
    height: 18px;
  }
  .advanced summary {
    justify-content: center;
    min-height: 44px;
    font-size: 14px;
  }
  .filter-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .main-action {
    font-size: 18px;
    min-height: 51px;
    margin-top: 8px;
  }
  .article-teaser {
    padding: 16px 18px;
    margin-top: 15px;
  }
  .article-teaser h2 {
    font-size: 19px;
    margin-bottom: 5px;
  }
  .eyebrow {
    font-size: 13px;
  }
  .social {
    margin-top: 20px;
    grid-template-columns: repeat(4, 48px);
    gap: 10px;
  }
  .site-footer {
    padding: 5px 16px 22px;
    margin-top: 5px;
  }
  .site-footer nav {
    gap: 4px 18px;
    font-size: 13px;
  }
  .registration {
    font-size: 11px;
  }
  .bottom-notices {
    flex-direction: column;
    padding: 0 16px 24px;
    gap: 12px;
  }
  .install-card,
  .consent-card {
    padding: 12px;
  }
  .document {
    padding: 12px 18px 25px;
  }
  .document-heading {
    padding-top: 16px;
    padding-bottom: 24px;
  }
  .lead {
    font-size: 18px;
  }
  .document article h2 {
    font-size: 21px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .feature-grid section {
    padding: 21px;
  }
  .support-card {
    padding: 20px;
  }
  .contact-actions {
    gap: 8px;
  }
  .contact-actions .action {
    padding: 9px 8px;
    font-size: 14px;
    gap: 5px;
  }
  .contact-actions .icon {
    width: 18px;
  }
  .contact-details {
    font-size: 14px;
    gap: 8px 18px;
  }
  .editor-controls {
    flex-direction: column;
  }
  .editor-actions {
    flex-direction: column;
  }
  .short-page {
    padding-top: 30px;
  }
}
@media (max-width: 350px) {
  .home {
    padding-inline: 14px;
  }
  .hero-logo {
    width: 250px;
  }
  .hero {
    min-height: 275px;
  }
  .tagline {
    font-size: 16px;
  }
  .search-input input {
    font-size: 14px;
  }
  .search-row > .action {
    min-width: 72px;
    padding-inline: 10px;
  }
  .social {
    gap: 8px;
  }
  .consent-card p {
    font-size: 12px;
  }
  .contact-actions {
    flex-direction: column;
  }
  .install-card p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.install-card {
  flex-wrap: wrap;
}
.install-card > div {
  min-width: 110px;
}
.install-card .action {
  flex-shrink: 0;
}

.local-links {
  margin-top: 8px;
  font-size: 12px;
}
.review-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.review-frame {
  display: block;
  width: 390px;
  max-width: 100%;
  height: 820px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 25px auto;
  background: var(--bg);
}
.review-frame.compact {
  width: 320px;
}
.local-review {
  max-width: 960px;
}

body {
  padding-bottom: var(--notices-height, 0px);
}
.bottom-notices {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 20;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -7px 30px #00130c18;
  max-width: 1120px;
}
.footer-install {
  background: transparent;
  color: var(--green);
  font: inherit;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.footer-install:hover {
  background: var(--surface);
}
@media (max-width: 700px) {
  .bottom-notices {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .install-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px 10px;
  }
  .install-card #install-button {
    grid-column: 2 / 4;
    min-height: 40px;
  }
  .install-card #install-later {
    min-height: 44px;
    font-size: 13px;
  }
  .install-card > div {
    min-width: 0;
  }
  .consent-card {
    padding: 10px;
  }
  .consent-card p {
    font-size: 12px;
  }
}

.review-frame {
  box-sizing: content-box;
  max-width: calc(100% - 2px);
}

/* Stage05 controls, isolated from homepage layout. */
.auth-card,
.account-card {
  width: min(100% - 32px, 560px);
  margin: 24px auto 48px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow-wrap: break-word;
}
.auth-logo {
  display: block;
  width: min(180px, 52vw);
  height: auto;
  margin: 0 auto 20px;
}
.auth-card h1,
.account-card h1 {
  font-size: clamp(24px, 5vw, 32px);
  text-align: center;
}
.auth-scope {
  font-size: 13px;
  color: var(--muted);
}
.auth-card form,
.account-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-card form[hidden] {
  display: none;
}
.auth-card label,
.account-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.auth-card input,
.account-card input {
  width: 100%;
  min-height: 48px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 13px;
  background: var(--surface);
  color: var(--text);
}
.auth-card .auth-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.auth-check input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  height: 20px;
  margin-top: 3px;
}
.auth-card button,
.account-card button {
  width: 100%;
  min-height: 48px;
  white-space: normal;
  word-break: normal;
  background: var(--surface-2);
  color: var(--text);
}
.auth-card button.primary {
  background: linear-gradient(160deg, var(--action-hi), var(--action));
  color: #fff;
  border-color: #208a5a;
}
.auth-card small {
  color: var(--muted);
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}
.auth-card [role="status"],
.account-card [role="status"] {
  min-height: 1.5em;
  margin: 14px 0;
}
.account-card details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.account-card summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.account-card li {
  font-size: 13px;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Maintenance: same identity, reliable touch targets and non-competing notices. */
.preference,
.utility-nav a,
.auth-links a,
.site-footer nav a,
.footer-install,
.local-links a,
.social-button,
.document-card summary,
details > summary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.auth-check,
.auth-check > span a {
  min-height: 48px;
}
.review-preview-toggle {
  width: 100%;
}
.review-preview-status {
  min-height: 1.5em;
  color: var(--muted);
}
.review-pagination {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
@media (max-width: 600px) {
  .bottom-notices {
    gap: 8px;
  }
  .consent-card {
    padding: 10px 12px;
  }
  .consent-card p {
    line-height: 1.5;
    font-size: 14px;
  }
}

.speech-tools {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.speech-tools p {
  color: var(--muted);
  line-height: 1.7;
}
