.hk-lab-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.hk-lab {
  --lab-ink: var(--ink, #435461);
  --lab-muted: #59697b;
  --lab-line: #e1e8ed;
  --lab-green: #46773c;
  --lab-green-edge: #659451;
  color: var(--lab-ink);
  background: #fff;
  font-family: var(--sans, Inter, "Noto Sans Arabic", sans-serif);
  padding-block: clamp(55px, 6vw, 86px);
}
.hk-lab *, .hk-lab *::before, .hk-lab *::after { box-sizing: border-box; }
.hk-lab button { appearance: none; cursor: pointer; font-family: inherit; line-height: 1.3; color: inherit; margin: 0; }
.hk-lab button:focus-visible { outline: 3px solid #3875b1; outline-offset: 3px; }
.hk-lab svg { display: block; flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hk-lab-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(44px, 7vw, 110px); }
.hk-lab-copy { min-width: 0; }
.hk-reminders .hk-lab-inner { grid-template-areas: "intro sample" "categories sample"; row-gap: 0; }
.hk-reminders .hk-lab-copy { grid-area: intro; align-self: end; }
.hk-reminders .hk-rem-stage { grid-area: sample; }
.hk-reminders .hk-rem-list { grid-area: categories; align-self: start; }

.hk-lab h1, .hk-lab h2 { font-family: inherit; font-weight: 800; font-size: clamp(36px, 3.8vw, 53px); letter-spacing: -.04em; line-height: 1.08; color: var(--lab-ink); margin: 0; text-wrap: balance; }
.hk-lab .hk-lab-lead, .hk-feature-copy p { font: 450 16px/1.6 var(--sans, Inter, "Noto Sans Arabic", sans-serif); color: var(--lab-muted); margin: 15px 0 0; max-width: 395px; }
.hk-features { border-top: 1px solid var(--lab-line); }
.hk-rem-list { display: grid; gap: 8px; margin-top: 22px; max-width: 405px; }
.hk-rem-choice {
  display: grid; grid-template-columns: 44px 1fr 18px; gap: 13px; align-items: center;
  width: 100%; min-height: 64px; padding: 7px 14px 8px 9px; text-align: left;
  border: 1px solid var(--lab-line); border-bottom-width: 2px; border-radius: 15px; background: white;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hk-rem-choice:hover { transform: translateY(-1px); border-color: #b8cacf; }
.hk-rem-choice[aria-pressed="true"] { border-color: #9fc793; box-shadow: 0 2px 0 #dfeddc; }
.hk-rem-choice strong { font: 700 clamp(14px, 1.35vw, 17px)/1.35 var(--sans, Inter, "Noto Sans Arabic", sans-serif); color: var(--lab-ink); letter-spacing: -.025em; }
.hk-rem-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #25835c; background: #e3faea; }
.hk-rem-choice[data-reminder="insults"] .hk-rem-icon { background: #ffe6ed; color: #bd4776; }
.hk-rem-choice[data-reminder="modesty"] .hk-rem-icon { background: #eee6ff; color: #795acc; }
.hk-rem-check { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #d4dfe0; border-radius: 50%; }
.hk-rem-check svg { width: 10px; height: 10px; stroke-width: 3; visibility: hidden; }
.hk-rem-choice[aria-pressed="true"] .hk-rem-check { color: white; background: var(--lab-green); border-color: var(--lab-green); }
.hk-rem-choice[aria-pressed="true"] .hk-rem-check svg { visibility: visible; }
.hk-lab-visual {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: grid; align-items: center; justify-items: center; min-height: 353px;
  padding: clamp(26px, 3.8vw, 55px); border: 1px solid var(--visual-line); border-radius: 24px;
  --visual-line: #cbeadc; --visual-fill: #e6f9ee; --visual-halo: #ceefdf;
  background: var(--visual-fill); transition: background-color .3s ease, border-color .3s ease;
}
.hk-lab-visual::before, .hk-lab-visual::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hk-lab-visual::before { width: 64%; aspect-ratio: 1; inset: -53% auto auto -15%; background: var(--visual-halo); }
.hk-lab-visual::after { width: 56%; aspect-ratio: 1; inset: auto -25% -54% auto; border: 22px solid var(--visual-halo); }
.hk-rem-stage[data-tone="peach"], [data-feature-view="phrases"] .hk-deck-wrap { --visual-fill: #fff0f3; --visual-halo: #ffdae5; --visual-line: #f0d9df; }
.hk-rem-stage[data-tone="lilac"], [data-feature-view="themes"] .hk-deck-wrap { --visual-fill: #f3edff; --visual-halo: #e7dafb; --visual-line: #e3d8f1; }
.hk-rem-paper, .hk-deck { width: 100%; max-width: 450px; min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid #cdded5; background: #fff; box-shadow: 0 5px 0 #c5d6cf66, 0 16px 34px #1e513c12; }
.hk-rem-paper-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 14px 16px 0; }
.hk-rem-languages { display: inline-flex; align-items: stretch; border-radius: 10px; background: #f0f4f5; padding: 3px; gap: 2px; }
.hk-rem-languages button { min-height: 33px; padding: 4px 11px; border-radius: 7px; border: 0; font-size: 12px; font-weight: 700; background: transparent; color: #45596a; }
.hk-rem-languages button[lang="ar"] { font-size: 14px; }
.hk-lab .hk-rem-languages button[aria-pressed="true"], .hk-lab .hk-feature-controls button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #8EBF54, #5A8F49); border-color: var(--lab-green-edge); text-shadow: 0 1px 2px #365b34; }
.hk-rem-paper-top > button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 2px; min-height: 36px; color: var(--lab-green); border: 0; border-radius: 5px; background: transparent; font-size: 12px; font-weight: 700; }
.hk-rem-paper-top > button:hover { text-decoration: underline; }
.hk-rem-paper-top > button svg { width: 15px; height: 15px; }
.hk-lab .hk-rem-draft { padding: 18px 19px 20px; margin: 0; min-height: 79px; font: 600 clamp(23px, 2.5vw, 32px)/1.3 var(--sans, Inter, "Noto Sans Arabic", sans-serif); color: var(--lab-ink); letter-spacing: -.035em; }
.hk-lab [dir="rtl"] .hk-rem-draft { letter-spacing: 0; }
.hk-rem-draft mark { color: inherit; background: transparent; text-decoration: underline 2px #9cbf85; text-underline-offset: 5px; }
.hk-rem-draft i, .hk-deck-field i { width: 2px; height: .92em; background: #6d9a4d; display: inline-block; margin-inline-start: 3px; vertical-align: -.06em; }
.hk-rem-banner { display: flex; min-height: 57px; align-items: center; gap: 10px; padding: 8px 12px; background: #e1f4e4; border-block: 1px solid #c8e4cb; color: #244a32; transition: opacity .18s ease, transform .18s ease; }
.hk-rem-banner.is-waiting { visibility: hidden; opacity: 0; transform: translateY(3px); }
.hk-rem-moon { display: grid; flex: none; place-items: center; height: 31px; width: 31px; border-radius: 10px; color: #547b3b; background: #fcfffa; }
.hk-rem-moon svg { width: 19px; height: 19px; }
.hk-rem-banner p { color: inherit; font-size: 13px; line-height: 1.45; font-weight: 600; margin: 0; }
.hk-rem-banner .hk-rem-dismiss { display: grid; place-items: center; flex: none; padding: 0; width: 32px; height: 32px; margin-inline-start: auto; border: 0; border-radius: 50%; color: #47654f; background: transparent; }
.hk-rem-dismiss svg { width: 16px; height: 16px; }
.hk-rem-dismiss:hover { background: #ffffffb0; }
.hk-rem-suggestions { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 7px 9px; text-align: center; background: #f0f4f0; color: #405547; font-size: 11px; font-weight: 600; line-height: 1; }
.hk-rem-suggestions span + span { border-inline-start: 1px solid #cbd8cd; }
.hk-rem-keys { display: flex; gap: 3px; padding: 0 6px 7px; direction: ltr; background: #f0f4f0; }
.hk-rem-keys b { flex: 1 1 0; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: #394b3f; height: 27px; border-radius: 4px; border-bottom: 1px solid #c1cec1; background: #fff; }
.hk-feature-options { display: flex; gap: 4px; width: fit-content; max-width: 100%; background: #eff3f7; border-radius: 14px; padding: 4px; margin-top: 20px; flex-wrap: wrap; }
.hk-feature-options button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; border: 0; background: transparent; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #506176; }
.hk-feature-options svg { width: 16px; height: 16px; }
.hk-feature-options button[aria-pressed="true"] { background: #fff; color: #3d7137; box-shadow: 0 1px 5px #273e5e20; }
.hk-feature-options button:hover { background: #ffffffc4; }
.hk-feature-copy { margin-top: 24px; }
.hk-feature-copy h3 { font: 750 clamp(20px, 2vw, 25px)/1.25 var(--sans, Inter, "Noto Sans Arabic", sans-serif); letter-spacing: -.035em; color: var(--lab-ink); margin: 0; }
.hk-feature-copy p { margin-top: 8px; font-size: 15px; }
.hk-feature-controls { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.hk-feature-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; min-height: 39px; border: 1px solid #d7e1e6; border-bottom-width: 3px; background: #fff; border-radius: 10px; font-size: 12px; font-weight: 700; }
.hk-feature-controls button:hover { transform: translateY(-1px); }
.hk-feature-controls button:active { transform: translateY(1px); }
.hk-feature-controls [lang="ar"] { font-size: 14px; }
.hk-theme-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #81908e; }
.hk-feature-controls button[aria-pressed="true"] .hk-theme-dot { border-color: white; }
.hk-deck-wrap { --visual-line: #c6e8e2; --visual-fill: #e2f7f3; --visual-halo: #cbeee7; }
.hk-deck { --deck-bg: #ddf0ef; --deck-key: #f4fcfb; --deck-ink: #294648; --deck-action: #78abae; max-width: 485px; container-type: inline-size; }
.hk-deck-field { padding: 19px 17px; min-height: 60px; font-weight: 550; font-size: clamp(16px, 4.3cqw, 22px); line-height: 1.25; text-align: start; color: var(--lab-ink); }
.hk-deck-bed { direction: ltr; padding: 0 6px 7px; background: var(--deck-bg); color: var(--deck-ink); transition: background-color .23s ease; }
.hk-deck-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0; font-weight: 550; font-size: clamp(9px, 2.7cqw, 13px); line-height: 1; text-align: center; }
.hk-deck-strip span + span { border-left: 1px solid color-mix(in srgb, var(--deck-ink) 30%, transparent); }
.hk-deck-row { display: flex; justify-content: center; gap: clamp(2px, .9cqw, 5px); margin-bottom: 4px; }
.hk-deck-row b { display: grid; place-items: center; min-width: 0; height: clamp(23px, 6.4cqw, 32px); width: calc((100% - 9 * clamp(2px, .9cqw, 5px)) / 10); border-radius: 4px; background: var(--deck-key); color: var(--deck-ink); box-shadow: 0 1px 1px #23394028; font: 500 clamp(11px, 3.4cqw, 17px)/1 var(--sans, Inter, "Noto Sans Arabic", sans-serif); transition: background-color .2s ease; }
.hk-deck-row.hk-deck-ar b { width: calc((100% - 10 * clamp(2px, .9cqw, 5px)) / 11); }
.hk-deck-row b.hk-wide { width: 13%; background: color-mix(in srgb, var(--deck-key) 55%, var(--deck-bg)); }
.hk-deck-row.hk-deck-marks b { height: clamp(18px, 4.8cqw, 24px); }
.hk-deck-bottom { margin-bottom: 0; }
.hk-deck-bottom b[data-space-label] { flex: 1; font-size: clamp(9px, 2.7cqw, 12px); }
.hk-deck-bottom b:first-child { width: 13%; font-size: clamp(9px, 2.7cqw, 12px); }
.hk-deck-bottom b:last-child { width: 13%; background: var(--deck-action); }
.hk-deck-bottom svg { width: 15px; height: 15px; }
.hk-deck .hk-deck-pressed { animation: hk-key-press .34s ease; }
@keyframes hk-key-press { 42% { transform: translateY(2px); background: var(--deck-action); } }
.hk-lab-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .hk-lab-inner { grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: 24px; }
  .hk-lab-visual { min-height: 320px; padding: 21px; }
  .hk-feature-options { gap: 0; }
  .hk-feature-options button { padding-inline: 7px; }
  .hk-rem-choice { column-gap: 10px; }
}
@media (max-width: 760px) {
  .hk-reminders .hk-lab-inner { grid-template-areas: "intro" "sample" "categories"; row-gap: 20px; }
  .hk-reminders .hk-rem-list { margin-top: 0; }

  .hk-lab-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hk-rem-list { max-width: none; }
  .hk-rem-choice { min-height: 55px; }
  .hk-rem-icon { width: 37px; height: 37px; border-radius: 10px; }
  .hk-lab-visual { min-height: 290px; padding: 24px; }
  .hk-feature-copy { margin-top: 19px; }
}
@media (max-width: 420px) {
  .hk-lab { padding-block: 43px; }
  .hk-lab-visual { min-height: 270px; padding: 15px; border-radius: 18px; }
  .hk-rem-paper-top { padding-inline: 12px; }
  .hk-rem-banner { gap: 7px; padding-inline: 8px; }
  .hk-rem-moon { width: 25px; height: 28px; }
  .hk-feature-options button { gap: 4px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-lab *, .hk-lab *::before, .hk-lab *::after { animation: none !important; transition: none !important; }
}
