/* Generated from styles/design.scss by npm --prefix styles run build. */
@font-face {
  font-family: Inter;
  src: url("/vendor/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/vendor/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/vendor/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --surface: #f8f6ef;
  --panel: #fefbf4;
  --panel-muted: #edf0e9;
  --ink: #01224b;
  --muted: #40546b;
  --line: #cbd5d3;
  --line-strong: #71858b;
  --accent: #01224b;
  --accent-hover: #153e67;
  --accent-ink: #fefbf4;
  --link: #135c44;
  --focus: #176549;
  --brand-title: #01224b;
  --brand-arabic: #146247;
  --chat: #eaf1ea;
  --chat-title: #01224b;
  --chat-reply: #d9efe0;
  --positive: #135b42;
  --positive-panel: #daf3e3;
  --caution: #684713;
  --caution-panel: #f8ebc9;
  --negative: #872e39;
  --negative-panel: #f8e4e8;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --control-height: 44px;
  --radius-control: 7px;
  --radius-panel: 12px;
  --font-ui: Inter, system-ui, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-arabic: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --surface: #09182b;
  --panel: #10243b;
  --panel-muted: #1b3045;
  --ink: #fefbf4;
  --muted: #aabecf;
  --line: #39536a;
  --line-strong: #829aaa;
  --accent: #54c68e;
  --accent-hover: #75dba8;
  --accent-ink: #01224b;
  --link: #78dba6;
  --focus: #64d3a0;
  --brand-title: #fefbf4;
  --brand-arabic: #54c68e;
  --chat: #132b33;
  --chat-title: #c4f1d7;
  --chat-reply: #214a40;
  --positive: #a7e8c3;
  --positive-panel: #204739;
  --caution: #f8d694;
  --caution-panel: #453622;
  --negative: #ffc1ca;
  --negative-panel: #4a2937;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --surface: #09182b;
    --panel: #10243b;
    --panel-muted: #1b3045;
    --ink: #fefbf4;
    --muted: #aabecf;
    --line: #39536a;
    --line-strong: #829aaa;
    --accent: #54c68e;
    --accent-hover: #75dba8;
    --accent-ink: #01224b;
    --link: #78dba6;
    --focus: #64d3a0;
    --brand-title: #fefbf4;
    --brand-arabic: #54c68e;
    --chat: #132b33;
    --chat-title: #c4f1d7;
    --chat-reply: #214a40;
    --positive: #a7e8c3;
    --positive-panel: #204739;
    --caution: #f8d694;
    --caution-panel: #453622;
    --negative: #ffc1ca;
    --negative-panel: #4a2937;
  }
}
:root[dir=rtl] {
  --font-ui: var(--font-arabic);
  --font-display: var(--font-arabic);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--ink);
}

body {
  margin: 0;
  font: 400 1rem/1.55 var(--font-ui);
}

[dir=rtl] body {
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

button, select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.akkedliya-brand {
  --akkedliya-name-color: var(--brand-title);
  --akkedliya-arabic-color: var(--brand-arabic);
}

.akkedliya-wordmark {
  text-align: start;
}

[dir=rtl] .akkedliya-arabic {
  text-align: start;
}

.site-utilities {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

[data-site-locale], [data-site-theme] {
  min-block-size: var(--control-height);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: 600 0.875rem/1.4 var(--font-ui);
}

[data-site-locale] {
  padding-inline: var(--space-2);
}

[data-site-theme] {
  display: inline-grid;
  place-items: center;
  inline-size: var(--control-height);
  padding: 0;
}

[data-site-theme]:hover, [data-site-locale]:hover {
  background: var(--panel-muted);
}

[data-theme-icon] {
  font: 400 1.35rem/1 system-ui, sans-serif;
}

.ak-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-block-size: var(--control-height);
  padding: var(--space-2) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 600 0.9rem/1.4 var(--font-ui);
  text-align: center;
  text-decoration: none;
}

.ak-button:disabled {
  cursor: default;
}

.ak-button--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.ak-button--primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.ak-button--secondary {
  border-color: var(--line-strong);
  background: var(--panel);
}
.ak-button--secondary:hover:not(:disabled) {
  background: var(--panel-muted);
}

.ak-button--text {
  color: var(--link);
}
.ak-button--text:hover:not(:disabled) {
  text-decoration: underline;
}

.ak-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}

.ak-message {
  padding: var(--space-3);
  border-radius: var(--radius-control);
  background: var(--panel-muted);
  color: var(--ink);
}

.ak-message[data-tone=caution] {
  background: var(--caution-panel);
  color: var(--caution);
}

.ak-message[data-tone=danger] {
  background: var(--negative-panel);
  color: var(--negative);
}

.ak-message[data-tone=positive] {
  background: var(--positive-panel);
  color: var(--positive);
}

.ak-skip {
  position: absolute;
  z-index: 2;
  inset-block-start: var(--space-2);
  inset-inline-start: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-control);
  background: var(--panel);
}

.ak-skip:not(:focus) {
  clip-path: inset(50%);
}
