@font-face{font-family:"IBM Plex Sans";src:url("/assets/fonts/IBMPlexSans-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("/assets/fonts/IBMPlexSans-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("/assets/fonts/IBMPlexSans-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/assets/fonts/IBMPlexMono-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/assets/fonts/IBMPlexMono-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Chakra Petch";src:url("/assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Chakra Petch";src:url("/assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Chakra Petch";src:url("/assets/fonts/chakra-petch-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root {
  --navy: #0A0A3C;
  --navy-deep: #06062a;
  --indigo: #526ABE;
  --cream: #FFF5C3;
  --cyan: #0FF0FC;

  --surface: #0d0d44;
  --surface-2: #121255;
  --line: rgba(255, 245, 195, 0.14);
  --line-strong: rgba(255, 245, 195, 0.3);
  --text: #FFF5C3;
  --text-dim: rgba(255, 245, 195, 0.62);

  --head: 'Chakra Petch', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 14px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: var(--navy); }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70vmax 55vmax at 100% 0%, rgba(82, 106, 190, 0.45), transparent 70%),
    radial-gradient(60vmax 50vmax at 0% 100%, rgba(82, 106, 190, 0.30), transparent 70%),
    linear-gradient(160deg, #0a0a3c 0%, #10155a 55%, #0a0a3c 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(28px, calc((100% - 1380px) / 2 + 28px));
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  flex: none;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 34px; height: 34px;
  flex: none;
  display: block;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text small { color: var(--text-dim); font-size: 0.74rem; font-family: var(--mono); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  padding: 22px 28px;
  align-items: start;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  flex: 1 1 auto;
}

.panel {
  background: rgba(16, 18, 74, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(6px);
}

.preview { position: sticky; top: 22px; }

.field-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.field-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

h2 {
  font-family: var(--head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
  font-weight: 600;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex: 1 1 0;
  min-width: 0;
}

.row { display: flex; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.row:last-child { margin-bottom: 0; }

.pane label { margin-bottom: 12px; }
.pane label:last-child { margin-bottom: 0; }

input[type="text"], input[type="url"], input[type="email"], input[type="tel"],
textarea, select {
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(6, 6, 42, 0.75);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea { resize: vertical; font-family: var(--body); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(15, 240, 252, 0.16);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
  cursor: pointer;
}

option { background: var(--navy-deep); color: var(--text); }

label.check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding-top: 20px;
}
label.check input { width: auto; accent-color: var(--cyan); }

input[type="range"] {
  appearance: none;
  background: transparent;
  padding: 0;
  height: 22px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: rgba(255, 245, 195, 0.2);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 15px; height: 15px; margin-top: -5.5px;
  border-radius: 50%;
  background: var(--cyan);
  border: 0;
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,245,195,0.2); }
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: var(--cyan); }

.colorwrap {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px;
  background: rgba(6, 6, 42, 0.75);
}
input[type="color"] {
  width: 100%; height: 30px;
  border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: 6px;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }

.tab {
  font: inherit;
  font-size: 0.8rem;
  font-family: var(--head);
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(6, 6, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.is-active { color: var(--navy); background: var(--cyan); border-color: var(--cyan); font-weight: 600; }

.pane { display: none; }
.pane.is-active { display: block; }

.presets { display: flex; gap: 8px; flex-wrap: wrap; }

.preset {
  font: inherit;
  font-size: 0.78rem;
  font-family: var(--head);
  color: var(--text);
  background: rgba(6, 6, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.preset:hover { border-color: var(--cyan); }
.preset .swatch {
  width: 14px; height: 14px; border-radius: 4px; flex: none;
  border: 1px solid rgba(255,255,255,0.18);
}

.brandlock {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  margin-bottom: 14px;
  background: rgba(15, 240, 252, 0.05);
}

#logo-preview {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 10px;
  object-fit: contain;
}

.brandlock-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brandlock-text strong { font-family: var(--head); font-size: 0.86rem; font-weight: 600; }
.brandlock-text span { font-size: 0.76rem; color: var(--text-dim); line-height: 1.4; }

.preview-stage {
  background:
    linear-gradient(45deg, rgba(255,245,195,0.055) 25%, transparent 25%, transparent 75%, rgba(255,245,195,0.055) 75%),
    linear-gradient(45deg, rgba(255,245,195,0.055) 25%, transparent 25%, transparent 75%, rgba(255,245,195,0.055) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

.qr-holder { width: 100%; max-width: 330px; }
.qr-holder svg { width: 100%; height: auto; display: block; border-radius: 6px; }

.readout {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-bottom: 12px;
}
.readout b { color: var(--cyan); font-weight: 500; }

.warning {
  font-size: 0.8rem;
  line-height: 1.45;
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid;
}
.warning.danger { background: rgba(255, 90, 90, 0.1); border-color: rgba(255, 120, 120, 0.5); color: #ffd4d4; }
.warning.caution { background: rgba(255, 196, 0, 0.09); border-color: rgba(255, 210, 90, 0.45); color: #ffeab5; }

.export .row { margin-bottom: 12px; }
.buttons { display: flex; gap: 9px; flex-wrap: wrap; }

button.primary, button.secondary, button.ghost {
  font: inherit;
  font-family: var(--head);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  padding: 10px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  flex: 1 1 auto;
}
button.primary { background: var(--cyan); color: var(--navy); }
button.primary:hover { filter: brightness(1.1); }
button.secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
button.secondary:hover { border-color: var(--cyan); color: var(--cyan); }
button.ghost {
  background: transparent; color: var(--text-dim);
  border-color: var(--line); font-weight: 500; font-size: 0.8rem;
  padding: 8px 12px; flex: 0 0 auto;
}
button.ghost:hover { color: var(--text); border-color: var(--line-strong); }

.footnote {
  margin: 14px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.sitefoot {
  text-align: center;
  padding: 10px 20px 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

@media (max-width: 940px) {
  .layout { grid-template-columns: 1fr; padding: 18px; }
  .preview { position: static; order: -1; }
  .topbar { padding: 16px 18px; }
}

@media (max-width: 560px) {
  .row { gap: 10px; }
  .row > label { flex: 1 1 100%; }
  label.check { padding-top: 0; }
  .buttons button { flex: 1 1 100%; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a.brand { color: inherit; text-decoration: none; }
a.brand:hover .brand-text strong { color: var(--cyan); }
.sitefoot a { color: inherit; text-decoration: none; }
.sitefoot a:hover { color: var(--text); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.sitefoot { flex: none; }

@media (min-width: 941px) {
  body { height: 100vh; height: 100dvh; overflow: hidden; }
  .layout { min-height: 0; height: 100%; align-items: stretch; }
  .panel { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
  .preview { position: static; display: flex; flex-direction: column; }
  .preview-stage { flex: 1 1 auto; min-height: 0; }
  .qr-holder { max-width: max(190px, min(360px, calc(100dvh - 440px))); }
  .sitefoot { padding: 6px 20px 14px; }
}

@media (max-width: 940px) {
  .qr-holder { max-width: min(330px, 42dvh); }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.96); opacity: 0.55; } 100% { transform: scale(1); opacity: 1; } }
@keyframes slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(15, 240, 252, 0); } 50% { box-shadow: 0 0 0 6px rgba(15, 240, 252, 0.12); } }

@media (prefers-reduced-motion: no-preference) {
  .topbar { animation: fade 0.5s ease both; }
  .brand-mark { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
  a.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
  .panel { animation: rise 0.55s cubic-bezier(.2,.8,.2,1) both; }
  .preview { animation-delay: 0.08s; }
  .controls .field-group { animation: rise 0.5s cubic-bezier(.2,.8,.2,1) both; }
  .controls .field-group:nth-child(1) { animation-delay: 0.12s; }
  .controls .field-group:nth-child(2) { animation-delay: 0.17s; }
  .controls .field-group:nth-child(3) { animation-delay: 0.22s; }
  .controls .field-group:nth-child(4) { animation-delay: 0.27s; }
  .controls .field-group:nth-child(5) { animation-delay: 0.32s; }
  .controls .field-group:nth-child(6) { animation-delay: 0.37s; }
  .pane.is-active { animation: slide 0.25s ease both; }
  .qr-holder { transition: transform 0.25s ease; }
  .qr-holder.is-fresh { animation: pop 0.35s cubic-bezier(.2,.8,.2,1); }
  .preview-stage:hover .qr-holder { transform: scale(1.015); }
  .warning:not([hidden]) { animation: slide 0.25s ease both; }
  .preset, .tab, button.primary, button.secondary, button.ghost { transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease; }
  .preset:hover, button.primary:hover, button.secondary:hover { transform: translateY(-1px); }
  .preset:active, .tab:active, button.primary:active, button.secondary:active, button.ghost:active { transform: scale(0.97); }
  .preset .swatch { transition: transform 0.2s ease; }
  .preset:hover .swatch { transform: scale(1.18) rotate(8deg); }
  button.primary { animation: glow 2.8s ease-in-out 1.2s 2; }
  input[type="range"]::-webkit-slider-thumb { transition: transform 0.15s ease; }
  input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
}

.range { display: flex; align-items: center; gap: 8px; }
.range input[type="range"] { flex: 1 1 auto; min-width: 0; }
.range-step {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font: 600 1rem/1 var(--mono);
  color: var(--text);
  background: rgba(6, 6, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.range-step:hover { border-color: var(--cyan); color: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
  .range-step { transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
  .range-step:active { transform: scale(0.9); }
}

.size { display: flex; align-items: center; gap: 8px; }
.size input[type="number"] {
  font: inherit; font-size: 0.9rem; font-family: var(--mono);
  color: var(--text); background: rgba(6, 6, 42, 0.75);
  border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 10px; width: 100%; min-width: 0; flex: 1 1 0;
  -moz-appearance: textfield; appearance: textfield;
}
.size input[type="number"]::-webkit-outer-spin-button,
.size input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.size input[type="number"]:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(15, 240, 252, 0.16); }
.size-x { color: var(--text-dim); font-family: var(--mono); flex: none; }
.size select { flex: 0 0 78px; width: 78px; }
.size-note { margin: -4px 0 12px; font-size: 0.74rem; color: var(--text-dim); font-family: var(--mono); line-height: 1.5; }
.size-note.is-bad { color: #ffd4d4; }

.fname { display: flex; align-items: center; gap: 8px; }
.fname input { flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 0.85rem; }
.fname input::placeholder { color: var(--text-dim); opacity: 0.8; }
.fname-ext { flex: none; font-family: var(--mono); font-size: 0.74rem; color: var(--text-dim); }

@font-face{font-family:"IBM Plex Sans Arabic";src:url("/assets/fonts/IBMPlexSansArabic-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url("/assets/fonts/IBMPlexSansArabic-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Kufam";src:url("/assets/fonts/kufam-arabic-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Kufam";src:url("/assets/fonts/kufam-arabic-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}

:root:lang(ar) {
  --head: 'Kufam', 'Chakra Petch', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
}
:lang(ar) h2 { letter-spacing: 0; font-size: 0.86rem; }
:lang(ar) .brand-text strong { font-family: 'Chakra Petch', system-ui, sans-serif; }
:lang(ar) .brand-text small { font-family: var(--body); }
:lang(ar) .sitefoot { font-family: var(--body); }

select:dir(rtl) {
  background-position: 12px 50%, 17px 50%;
  padding-right: 11px;
  padding-left: 30px;
}
:lang(ar) .readout, :lang(ar) .size-note { font-family: var(--body); }

.langlink {
  font-family: var(--head);
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.langlink:lang(ar) { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.langlink:hover { color: var(--cyan); border-color: var(--cyan); }

.hint { margin: -4px 0 12px; font-size: 0.74rem; line-height: 1.5; color: var(--text-dim); }

.buttons--small { margin-top: 9px; }
.buttons--small button.ghost { flex: 1 1 0; }
button.ghost.is-done { color: var(--cyan); border-color: var(--cyan); }

@media (min-width: 941px) {
  .preview-stage { flex: 1 0 auto; }
  .qr-holder { max-width: max(190px, min(360px, calc(100dvh - 610px))); }
}
@media (max-width: 560px) {
  .buttons--small button.ghost { flex: 1 1 0; }
}
.buttons--small button.ghost { white-space: nowrap; padding-inline: 8px; }
body{background:#090c2e!important}.topbar{background:#090c2e!important;border-bottom:1px solid #323b60!important}.panel{border-color:#323b60!important;border-radius:3px!important}.langlink{color:#0ff0fc!important}.cursor{display:none}
@media(min-width:1000px) and (pointer:fine) and (prefers-reduced-motion:no-preference){.cursor{display:block;position:fixed;top:0;left:0;width:20px;height:20px;border:1px solid #0ff0fc;border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);opacity:0;mix-blend-mode:difference;transition:opacity .2s,width .2s,height .2s}.cursor.visible{opacity:1}.cursor:after{content:'';position:absolute;width:9px;height:9px;left:50%;top:50%;transform:translate(-50%,-50%);background:#0ff0fc;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.cursor.hover{width:40px;height:40px;background:#0ff0fc22}}
@media(min-width:1000px) and (pointer:fine) and (prefers-reduced-motion:no-preference){.custom-cursor-enabled body,.custom-cursor-enabled a,.custom-cursor-enabled button,.custom-cursor-enabled input,.custom-cursor-enabled select,.custom-cursor-enabled textarea{cursor:none!important}}
/* Shared cursor and official Saudi riyal symbol. The pointer is centered independently of page direction. */
.riyal-symbol{display:inline-block;width:.88em;height:1em;vertical-align:-.12em;flex:none;overflow:visible}
.cursor{display:none}
@media (pointer:fine){
  .custom-cursor-enabled,.custom-cursor-enabled *{cursor:none!important}
  .cursor{display:block!important;position:fixed!important;left:0;right:auto!important;top:0;bottom:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;direction:ltr!important;width:22px;height:22px;border:1px solid #0ff0fc;border-radius:50%;pointer-events:none!important;z-index:2147483647!important;transform:translate(-50%,-50%)!important;opacity:0;mix-blend-mode:normal!important;background:transparent;transition:opacity .12s,width .18s,height .18s,background .18s}
  .cursor.visible{opacity:1}
  .cursor:after{content:'';position:absolute;left:50%!important;right:auto!important;top:50%;width:9px;height:9px;transform:translate(-50%,-50%);background:#0ff0fc;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
  .cursor.hover{width:38px;height:38px;background:#0ff0fc22}
}
@media (prefers-reduced-motion:reduce){.cursor{transition:none!important}}
.a11y-nocursor .cursor{display:none!important}
/* Accessibility panel and settings, based on the studio's original controls. */
.a11y__fab{position:fixed;inset-block-end:18px;inset-inline-end:18px;z-index:900;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#fff5c3;color:#090c2e;border:2px solid #090c2e;box-shadow:0 10px 28px #02051c99,0 0 0 1px #fff5c366}
.a11y__fab:hover{background:#fffbe3}.a11y__fab[aria-expanded=true]{background:#0ff0fc}.a11y button:focus-visible,.a11y a:focus-visible{outline:3px solid #0ff0fc;outline-offset:3px}
.a11y__panel{position:fixed;inset-block-end:86px;inset-inline-end:18px;z-index:901;width:min(372px,calc(100vw - 36px));max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;padding:24px;border-radius:16px;background:#10163b;border:1px solid #526abe;color:#f4f1e4;box-shadow:0 24px 60px #020314b3;font:400 14px/1.5 IBM,sans-serif}
.a11y__panel[hidden]{display:none}.a11y__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.a11y__title{font:600 18px/1.4 Chakra,sans-serif;margin:0;color:#f4f1e4}.a11y__close{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:transparent;border:1px solid #526abe;color:#f4f1e4}.a11y__close:hover{background:#29335d}
.a11y__size{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:10px;background:#526abe24;margin-bottom:16px}.a11y__label{font-size:14px;font-weight:600;color:#f4f1e4}.a11y__stepper{display:flex;gap:6px;direction:ltr}.a11y__stepper button{min-width:44px;height:44px;padding:0 10px;border-radius:10px;background:#090c2e;border:1px solid #526abe;color:#f4f1e4;font:600 15px/1 IBM,sans-serif}.a11y__stepper button:hover:not(:disabled){background:#29335d}.a11y__stepper button:disabled{opacity:.45}.a11y__pct output{font:13px/1 Mono,monospace}
.a11y__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.a11y__opt{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:76px;padding:12px;border-radius:10px;text-align:start;background:#090c2e;border:1px solid #3a466b;color:#f4f1e4;font:500 14px/1.4 IBM,sans-serif;position:relative}.a11y__opt:hover{border-color:#526abe;background:#1a244c}.a11y__opt[aria-pressed=true]{background:#fff5c3;color:#090c2e;border-color:#fff5c3}.a11y__opt[aria-pressed=true]::after{content:'';position:absolute;inset-block-start:10px;inset-inline-end:10px;width:10px;height:10px;border-radius:50%;background:#090c2e}.a11y__reset{width:100%;margin-top:16px;min-height:44px;border-radius:10px;background:transparent;border:1px solid #526abe;color:#f4f1e4;font:600 14px/1 IBM,sans-serif}.a11y__reset:hover{background:#29335d}.a11y__note{margin:16px 0 0;font-size:12.5px;line-height:1.6;color:#b8bfe0}.a11y__note a{color:#0ff0fc}
html[lang=ar] .a11y__panel,html[lang=ar] .a11y__opt,html[lang=ar] .a11y__reset,html[lang=ar] .a11y__label{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif}html[lang=ar] .a11y__title{font-family:Kufam,Arabic,sans-serif;line-height:1.6}
.a11y__guide{display:none}.a11y-guide .a11y__guide{display:block;position:fixed;inset-inline:0;top:-22px;height:44px;z-index:850;pointer-events:none;background:#fff5c31a;border-block:2px solid #fff5c3d9;box-shadow:0 0 0 100vmax #0006}
.a11y-zoomed body{zoom:var(--a11y-zoom,1)}
.a11y-contrast{--navy:#000;--navy2:#000;--ink:#fff;--cream:#fff;--muted:#fff;--line:#fff;--cyan:#ffe600}.a11y-contrast body,.a11y-contrast .header,.a11y-contrast main,.a11y-contrast .hero,.a11y-contrast .section,.a11y-contrast footer,.a11y-contrast .manifesto,.a11y-contrast .contact,.a11y-contrast .service-card,.a11y-contrast .interior main .rate,.a11y-contrast .interior main .tier,.a11y-contrast .interior main .note,.a11y-contrast .interior main .card,.a11y-contrast .interior main .project,.a11y-contrast .interior main .send,.a11y-contrast .a11y__panel{background:#000!important;color:#fff!important;border-color:#fff!important}.a11y-contrast p,.a11y-contrast h1,.a11y-contrast h2,.a11y-contrast h3,.a11y-contrast li,.a11y-contrast .send .lede,.a11y-contrast .send .send__fallback{color:#fff!important}.a11y-contrast a,.a11y-contrast .send .send__fallback a{color:#ffe600!important}.a11y-contrast .button,.a11y-contrast .btn,.a11y-contrast .a11y__opt[aria-pressed=true]{background:#ffe600!important;color:#000!important;border-color:#ffe600!important}.a11y-contrast .a11y__opt,.a11y-contrast .a11y__stepper button{background:#000;border-color:#fff;color:#fff}.a11y-contrast .ticker{background:#ffe600;color:#000}.a11y-contrast .a11y__fab{background:#ffe600;color:#000}
.a11y-font body,.a11y-font body *:not(svg):not(path):not(g){font-family:IBM,system-ui,sans-serif!important;text-transform:none!important}.a11y-font[lang=ar] body,.a11y-font[lang=ar] body *:not(svg):not(path):not(g){font-family:Arabic,'IBM Plex Sans Arabic',sans-serif!important}
.a11y-spacing body *:not(svg):not(path):not(g){line-height:1.9!important;word-spacing:.16em!important}html[lang=en].a11y-spacing body *:not(svg):not(path):not(g){letter-spacing:.12em!important}.a11y-spacing p{margin-block-end:1.4em}.a11y-links a:not(.brand){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}.a11y-still *,.a11y-still *::before,.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.a11y-still{scroll-behavior:auto}.a11y-cursor .cursor{width:42px!important;height:42px!important;border-width:2px!important}.a11y-cursor .cursor:after{width:16px!important;height:16px!important}.a11y-gray main,.a11y-gray .header,.a11y-gray footer,.a11y-gray .topbar,.a11y-gray .layout,.a11y-gray .sitefoot{filter:grayscale(1)}
@media print{.a11y{display:none!important}}
@media(max-width:560px){.a11y__fab{width:46px;height:46px;inset-inline-end:12px}.a11y__fab svg{width:23px;height:23px}footer::after{content:"";display:block;height:52px}}
/* Arabic small text uses the original Arabic body face at a more legible size. */
html[lang="ar"] .nav a,html[lang="ar"] .nav-cta,html[lang="ar"] .button,html[lang="ar"] .text-link,html[lang="ar"] .under-link,html[lang="ar"] .footer-links a{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:14px;line-height:1.7}
html[lang="ar"] .ar-home .eyebrow,html[lang="ar"] .ar-home .label,html[lang="ar"] .ar-home .card-top,html[lang="ar"] .interior main .eyebrow:not(h1):not(h2):not(h3),html[lang="ar"] .interior main .rate__label,html[lang="ar"] .interior main .tier__flag,html[lang="ar"] .interior main .project__meta,html[lang="ar"] .interior main .idea__lab{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:13px;line-height:1.8;letter-spacing:0}
html[lang="ar"] .ar-home .eyebrow-slash{color:#b8c1d9}
html[lang="ar"] .ar-home .hero-notes{font-size:12px;line-height:1.7;color:#bcc6df;flex-wrap:wrap;row-gap:8px}
html[lang="ar"] .ar-home .hero-notes>div{white-space:nowrap}
html[lang="ar"] .ar-home .card-top{color:#b6c2df}
html[lang="ar"] .ar-home .card-tags span,html[lang="ar"] .interior main .chip{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:12px;line-height:1.7;color:#d3dbec;letter-spacing:0}
html[lang="ar"] .ar-home .work-info>div>span,html[lang="ar"] .ar-home .work-tag,html[lang="ar"] .ar-home .hero-bottom,html[lang="ar"] .ar-home .art-topline,html[lang="ar"] .ar-home .art-bottomline,html[lang="ar"] .ar-home .contact-index{font-size:12px;line-height:1.7;color:#b9c5df}
html[lang="ar"] .ar-home .work-info>div>span{color:#0ff0fc}
html[lang="ar"] .ar-home .hero-bottom b{color:#0ff0fc}
html[lang="ar"] .ar-home .price{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:12px;line-height:1.6;color:#c4cee4;letter-spacing:0}
html[lang="ar"] .ar-home .price-list p,html[lang="ar"] .interior main .tier li,html[lang="ar"] .interior main .tier__costs,html[lang="ar"] .interior main .brief__note,html[lang="ar"] .interior main .send .send__fallback{font-size:14px;line-height:1.9}
html[lang="ar"] .ar-home .student-note{font-size:13px;line-height:1.8;color:#cbd3e6}
html[lang="ar"] .interior main .picker a,html[lang="ar"] .interior main .btn{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:14px;line-height:1.7}
html[lang="ar"] .interior main .tip__b{font:400 14px/1.9 Arabic,'IBM Plex Sans Arabic',sans-serif}
html[lang="ar"] .interior main pre{font:400 14px/2 Arabic,'IBM Plex Sans Arabic',sans-serif}
html[lang="ar"] .footer-links>div>span,html[lang="ar"] .footer-bottom{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:12px;line-height:1.8;letter-spacing:0;color:#b5c0d8}
html[lang="ar"] .ar-home .dash-head,html[lang="ar"] .ar-home .dash-welcome>span,html[lang="ar"] .ar-home .dash-chart span,html[lang="ar"] .ar-home .dash-cards span{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:10px;line-height:1.5;letter-spacing:0;color:#d4ddf1}
html[lang="ar"] .ar-home .dash-pill{font-family:Arabic,'IBM Plex Sans Arabic',sans-serif;font-size:10px;line-height:1.4}
html[lang="ar"] .ar-home .dash-welcome strong{font-size:18px;line-height:1.35}
html[lang="ar"] .ar-home .floating-note b{font:600 13px/1.6 Arabic,'IBM Plex Sans Arabic',sans-serif}
html[lang="ar"] .ar-home .floating-note span{font-size:12px;line-height:1.5}
/* QR Studio keeps its own design but uses readable Arabic helper text. */
html[lang="ar"] .layout .hint,html[lang="ar"] .layout .footnote,html[lang="ar"] .layout .size-note,html[lang="ar"] .layout .brandlock-text span{font-size:14px;line-height:1.9}
@media(max-width:760px){html[lang="ar"] .ar-home .hero-notes{font-size:11px;gap:8px 12px}html[lang="ar"] .ar-home .hero-bottom{font-size:11px}html[lang="ar"] .ar-home .art-topline,html[lang="ar"] .ar-home .art-bottomline{font-size:11px}}
/* Give Arabic interior headings the same generous baselines as the home page. */
html[lang="ar"] .interior main h1{font-size:clamp(30px,4vw,48px);line-height:1.6;letter-spacing:0}
html[lang="ar"] .interior main h2{line-height:1.6}
html[lang="ar"] .interior main h3{line-height:1.7}
html[lang="ar"] .interior main .steps{padding-inline-start:0}
html[lang="ar"] .interior main .steps .step{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){html[lang="ar"] .interior main .steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* QR Studio visual refresh. Existing controls and their scripts remain intact. */
:root{--line:rgba(186,217,225,.18);--line-strong:rgba(186,217,225,.35);--text-dim:#c0cdd1}
html{scroll-behavior:smooth}body{height:auto!important;min-height:100vh;overflow:auto!important;background:#090c2e!important}body::before{background:radial-gradient(ellipse at 85% 3%,#19485c82,transparent 36%),radial-gradient(ellipse at 5% 35%,#223c7866,transparent 37%),linear-gradient(155deg,#090c2e,#0b1336 58%,#090c2e)}
.topbar{display:block;padding:0!important;background:#090c2ee8!important}.qr-header-inner{max-width:1380px;margin:auto;min-height:80px;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand-mark{width:42px;height:42px}.brand-text strong{font-size:1.16rem;letter-spacing:0}.brand-text small{color:#abbcc3}.qr-header-nav{display:flex;align-items:center;gap:25px}.qr-header-nav a{color:#e3e8d5;text-decoration:none;font-size:.82rem;font-weight:600}.qr-back{display:inline-flex;align-items:center;gap:8px}.qr-back .qr-icon{width:16px;height:16px}.langlink{padding:8px 12px;border:1px solid #5a717e!important;border-radius:3px}.qr-header-nav a:hover{color:#0ff0fc}.qr-header-nav a:focus-visible,.qr-intro__jump:focus-visible{outline:2px solid #0ff0fc;outline-offset:4px}
.layout{height:auto!important;overflow:visible!important;max-width:1380px;grid-template-columns:minmax(0,1fr) minmax(320px,410px);gap:22px;padding:0 28px 55px;align-items:start}.qr-intro{grid-column:1/-1;position:relative;min-height:310px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:52px 5%;margin:30px 0 8px;border:1px solid #3d6577;background:linear-gradient(115deg,#10224a 0%,#102d46 60%,#103843 100%)}.qr-intro:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#8ad4d510 1px,transparent 1px),linear-gradient(90deg,#8ad4d510 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,transparent 5%,#000 100%);pointer-events:none}.qr-intro__content{position:relative;z-index:1;max-width:650px}.qr-intro__eyebrow{margin:0 0 17px;font:600 .73rem var(--mono);letter-spacing:.15em;color:#45e4e9}.qr-intro__eyebrow span{display:inline-block;width:25px;height:2px;background:#31e3e9;vertical-align:middle;margin-inline-end:10px}.qr-intro h1{font:600 clamp(2.6rem,5.1vw,4.7rem)/.98 var(--head);letter-spacing:-.05em;color:#fff5c3;margin:0 0 18px}.qr-intro__lead{font-size:1rem;line-height:1.7;color:#d1dcd8;max-width:510px;margin:0}.qr-intro__jump{display:inline-flex;align-items:center;gap:12px;margin-top:24px;color:#0ff0fc;font-weight:600;text-decoration:none;border-bottom:1px solid #48d7e2;padding-bottom:5px}.qr-intro__jump .qr-icon{width:15px;height:15px}.qr-intro__art{position:relative;flex:none;width:min(28vw,250px);aspect-ratio:1;display:grid;place-items:center}.qr-intro__orbit{position:absolute;inset:0;border:1px solid #3fc3cb80;border-radius:50%}.qr-intro__orbit:after,.qr-intro__orbit:before{content:'';position:absolute;inset:13%;border:1px solid #3fc3cb66;transform:rotate(45deg)}.qr-intro__orbit:after{inset:26%;border-radius:50%;transform:none}.qr-intro__symbol{width:39%;aspect-ratio:1;background:#0ff0fc;color:#0a1735;display:grid;place-items:center;transform:rotate(-9deg);box-shadow:0 0 60px #00c8d13b}.qr-intro__symbol span{font-size:clamp(40px,6vw,70px);line-height:1}.qr-intro__art-label{position:absolute;bottom:-12px;right:0;font:600 .6rem var(--mono);color:#8fb8bc;letter-spacing:.12em}
.panel{border:1px solid #334961!important;border-radius:3px!important;background:#101a3bf2;backdrop-filter:none;padding:28px;min-width:0}.controls,.preview{height:auto!important;max-height:none!important;overflow:visible!important}.preview{position:sticky;top:22px}.qr-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:22px;margin-bottom:25px;border-bottom:1px solid var(--line)}.qr-panel-head>div>span{font:600 .7rem var(--mono);letter-spacing:.1em;color:#5cdee3}.qr-panel-head h2{font:600 1.75rem/1.1 var(--head);letter-spacing:-.03em;text-transform:none;color:#fff5c3;margin:8px 0 0}.qr-panel-spark{font-size:2rem;line-height:1;color:#0ff0fc}.qr-live{font:600 .65rem var(--mono);letter-spacing:.1em;color:#a8c5c3;border:1px solid #456f75;padding:7px 8px;white-space:nowrap}.qr-live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#24e6c1;margin-inline-end:5px}.field-group{margin-bottom:25px;padding-bottom:25px}.field-group>h2{display:flex;align-items:center;gap:9px;font-size:.83rem;letter-spacing:.09em;color:#95f3f3;margin-bottom:16px}.qr-icon{width:17px;height:17px;flex:none;display:inline-block;vertical-align:middle}.field-group label{font-size:.85rem;color:#c4d1d4}.hint,.hint-inline,.warn{line-height:1.6}.tab,.preset-btn,.btn{border-radius:3px}.tab{padding:9px 15px}.tab.active{background:#0ff0fc;color:#071832;border-color:#0ff0fc}.preset-btn{border-color:#476276;background:#0c1734}.preset-btn:hover,.tab:hover{border-color:#0ff0fc}input[type=text],input[type=url],input[type=email],input[type=tel],textarea,select,.colorwrap{border-color:#425873;border-radius:3px;background-color:#09132d;padding:11px 12px}input[type=color]{height:30px}.row{gap:16px}.preview-box{background:#e8eeeb;border:1px solid #6f8891;border-radius:3px;padding:20px;min-height:0}.preview-box #qr-holder{border-radius:1px;box-shadow:0 10px 24px #0715251c}.readout{color:#b5c8cd}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.btn.primary{color:#061632;background:#0ff0fc;border-color:#0ff0fc}.btn.primary:hover{background:#fff5c3;border-color:#fff5c3}.btn.ghost{border-color:#597183;color:#ecf1dd}.btn.ghost:hover{border-color:#0ff0fc;color:#0ff0fc}.btn:focus-visible,.tab:focus-visible,.preset-btn:focus-visible{outline:2px solid #0ff0fc;outline-offset:3px}.qr-actions{padding-top:4px}.privacy-note{color:#c4d1d4;line-height:1.6}footer{background:#090c2e;border-top:1px solid #324259}
[dir=rtl] .qr-intro h1{font-family:Kufam,var(--head);letter-spacing:0;line-height:1.45;font-size:clamp(2.1rem,4vw,3.8rem)}[dir=rtl] .qr-intro__eyebrow,[dir=rtl] .qr-panel-head>div>span,[dir=rtl] .qr-live,[dir=rtl] .qr-intro__art-label{font-family:'IBM Plex Sans Arabic',sans-serif;letter-spacing:0}[dir=rtl] .qr-panel-head h2{font-family:Kufam,sans-serif;font-size:1.55rem;line-height:1.5;letter-spacing:0}[dir=rtl] .qr-back .qr-icon,[dir=rtl] .qr-intro__jump .qr-icon{transform:scaleX(-1)}[dir=rtl] .field-group>h2{letter-spacing:0;font-size:1rem}[dir=rtl] .qr-intro__lead{line-height:1.9;font-size:1.05rem}[dir=rtl] .field-group label{font-size:.95rem;line-height:1.8}
@media(max-width:940px){.layout{grid-template-columns:1fr}.qr-intro{order:0}.preview{order:1;position:static}.controls{order:2}.qr-intro{min-height:260px}.qr-intro__art{width:25vw}.qr-intro h1{font-size:clamp(2.5rem,7vw,4rem)}}
@media(max-width:600px){.qr-header-inner{padding:12px 17px;min-height:68px}.brand-mark{width:35px;height:35px}.brand-text strong{font-size:1rem}.brand-text small{font-size:.66rem}.qr-header-nav{gap:10px}.qr-back{font-size:0!important}.qr-back .qr-icon{width:19px;height:19px}.langlink{font-size:.75rem!important}.layout{padding:0 14px 35px;gap:14px}.qr-intro{margin:16px 0 4px;min-height:0;padding:35px 23px}.qr-intro__art{display:none}.qr-intro h1{font-size:clamp(2.5rem,11vw,3.5rem)}.qr-intro__lead{font-size:.94rem}.panel{padding:20px}.qr-panel-head h2{font-size:1.5rem}.qr-panel-head{margin-bottom:20px}.qr-preview-head{margin-bottom:16px}.preview-box{padding:14px}[dir=rtl] .qr-intro h1{font-size:clamp(2rem,9vw,3rem)}[dir=rtl] .qr-panel-head h2{font-size:1.35rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Readability and interaction refinements, keeping the existing Hamzh palette and typefaces. */
:root{--muted:#b9c3d8}
.brand small{font-size:9px;letter-spacing:.06em;color:#b3bfd1}
.nav a,.nav-cta,.selector__trigger,.language{font-size:14px}
.hero-intro,.section-heading p,.service-card p,.project p,.panel__head p,.lede,.brief-guide p,.step p{color:#c1cbdc}
.eyebrow,.label,.work-tag,.card-tags,.footer-links>div>span,.footer-bottom,.project .tag,.project .tag span{font-size:12px;line-height:1.5}
.footer-bottom{color:#aeb9ce}
.interior main .project p,.interior main .rate__note,.interior main .plan p,.interior main .plan li,.interior main .idea__p,.interior main .brief-guide p,.interior main .step p{font-size:15px;line-height:1.75}
.interior main .project figcaption{font-size:13px;line-height:1.5;color:#c1ccda;margin-top:10px}
.original-shot{display:none}
.work-image .concept-pill,.interior main .project .concept-pill{font-size:clamp(10px,1.7cqw,12px);padding:6px 8px}
.project-context{margin:22px 0 0;padding-top:16px;border-top:1px solid #455477;display:grid;gap:14px}.project-context div{display:block}.project-context dt{font:600 12px/1.5 Mono,monospace;color:#0ff0fc;letter-spacing:.08em}.project-context dd{margin:4px 0 0;color:#d6deec;font-size:14px;line-height:1.65}.rtl .project-context dt{font-family:Arabic,IBM,sans-serif;letter-spacing:0;font-size:14px}
.price-overview{margin-top:45px}.price-overview__head{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.price-overview__head h2{font:600 clamp(24px,2.5vw,34px)/1.2 Chakra,sans-serif;margin:0;color:#fff5c3}.price-overview__head p{color:#c4cede;font-size:15px}.price-overview__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.price-overview__card{display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px;min-width:0;background:#121a3d;border:1px solid #405173;transition:border-color .2s,transform .2s}.price-overview__card:hover{border-color:#0ff0fc;transform:translateY(-3px)}.price-overview__number{font:600 12px Mono,monospace;color:#16e5ee}.price-overview__card h3{font:600 20px/1.25 Chakra,sans-serif;color:#fff5c3;margin:16px 0 22px}.price-overview__label{font-size:13px;color:#c6d1dd}.price-overview__amount{display:flex;align-items:baseline;gap:7px;font:600 30px/1.2 Chakra,sans-serif;color:#fff5c3;margin-top:5px}.price-overview__amount [data-unit]{display:inline-flex}.price-overview__amount svg{width:18px;height:21px}.price-overview__note{color:#c3cddd;font-size:14px;line-height:1.6;margin:10px 0 18px}.price-overview__link{font-size:14px;font-weight:600;color:#0ff0fc;margin-top:auto}.price-overview__link span{margin-inline-start:6px}.rtl .price-overview__head h2,.rtl .price-overview__card h3{font-family:Kufam,Arabic,sans-serif;line-height:1.5}.rtl .price-overview__amount{direction:ltr}.pricing-body .panel{scroll-margin-top:24px}
.brief-editor-label{display:block;color:#fff5c3;font-weight:600;font-size:15px;margin:18px 0 9px}.brief__editor{display:block;width:100%;min-height:360px;resize:vertical;white-space:pre-wrap;font:400 15px/1.8 IBM,sans-serif;color:#f4f4e4;background:#080f2a;border:1px solid #586b8c;border-radius:3px;padding:20px}.brief__editor:focus-visible{outline:2px solid #0ff0fc;outline-offset:3px;border-color:#0ff0fc}.rtl .brief__editor{font-family:Arabic,IBM,sans-serif;font-size:16px;line-height:2}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #0ff0fc;outline-offset:3px}
@media(max-width:1050px){.nav-wrap{gap:10px}.nav{gap:11px}.nav-actions{gap:5px;margin-left:0}.nav-cta{padding:12px 10px}.nav a,.nav-cta,.selector__trigger{font-size:13px}.brand small{font-size:8px}}
@media(max-width:760px){.price-overview__grid{grid-template-columns:1fr;gap:8px}.price-overview{margin-top:32px}.price-overview__head{display:block}.price-overview__head p{margin:8px 0}.price-overview__card{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center;padding:17px 18px}.price-overview__card h3{grid-column:1;grid-row:1;margin:0 0 6px;font-size:18px}.price-overview__number{display:none}.price-overview__label{grid-column:1;grid-row:2}.price-overview__amount{grid-column:2;grid-row:1/3;font-size:25px;margin:0}.price-overview__note{grid-column:1/-1;margin:8px 0}.price-overview__link{grid-column:1/-1}.rtl .price-overview__card h3{font-size:17px}.brief__editor{font-size:16px}.project-context{margin-top:18px}.selector__trigger,.menu-toggle{min-height:44px}.nav a{min-height:44px}}
/* QR Studio: content first, preview second, advanced controls on demand. */
body:has(.qr-content) .layout{grid-template-columns:minmax(0,1fr) minmax(320px,410px);grid-template-areas:'intro intro' 'content preview' 'advanced preview';align-items:start}
body:has(.qr-content) .qr-intro{grid-area:intro}
body:has(.qr-content) .qr-content{grid-area:content}
body:has(.qr-content) .preview{grid-area:preview;align-self:start;position:sticky;top:22px}
body:has(.qr-content) .controls{grid-area:advanced}
.qr-content .field-group{border:0;margin:0;padding:0}.qr-content .field-group>h2{display:none}.qr-content .qr-panel-head h2{font-size:clamp(1.4rem,2.5vw,1.75rem)}
.qr-advanced-details summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:50px}.qr-advanced-details summary::-webkit-details-marker{display:none}.qr-advanced-summary{display:flex;flex-direction:column;gap:5px}.qr-advanced-summary strong{font:600 1.4rem/1.2 var(--head);color:#fff5c3}.qr-advanced-summary small{font:400 .9rem/1.6 var(--body);color:#c4d1d4}.qr-details-icon{position:relative;width:34px;height:34px;flex:none;border:1px solid #63818d}.qr-details-icon:before,.qr-details-icon:after{content:'';position:absolute;top:50%;left:50%;width:13px;height:2px;background:#0ff0fc;transform:translate(-50%,-50%)}.qr-details-icon:after{transform:translate(-50%,-50%) rotate(90deg)}.qr-advanced-details[open] .qr-details-icon:after{display:none}.qr-advanced-details[open] summary{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--line)}.qr-advanced-details .field-group:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.qr-content .tab{min-height:44px}.qr-content .tab,.qr-advanced-details .preset-btn{font-size:14px}.qr-content label,.qr-advanced-details label{font-size:15px}.preview .readout,.preview .size-note,.preview .privacy-note{font-size:13px;line-height:1.6}.preview .buttons button,.preview .row label{font-size:14px}.qr-advanced-details select,.qr-content input,.qr-content textarea{font-size:16px}.qr-content .field-group .tabs{margin-bottom:16px}
[dir=rtl] .qr-advanced-summary strong{font-family:Kufam,sans-serif;font-size:1.3rem;line-height:1.6}[dir=rtl] .qr-advanced-summary small{font-family:'IBM Plex Sans Arabic',sans-serif;font-size:.95rem}[dir=rtl] .qr-content .qr-panel-head h2{font-size:1.35rem}
@media(max-width:940px){body:has(.qr-content) .layout{grid-template-columns:1fr;grid-template-areas:'intro' 'content' 'preview' 'advanced'}body:has(.qr-content) .qr-intro,body:has(.qr-content) .qr-content,body:has(.qr-content) .preview,body:has(.qr-content) .controls{order:initial}body:has(.qr-content) .preview{position:static}.qr-content .qr-panel-head{margin-bottom:17px}.qr-advanced-details summary{min-height:48px}}
@media(max-width:600px){.qr-content .qr-panel-head h2{font-size:1.35rem}.qr-content .tabs{gap:6px}.qr-content .tab{flex:1 1 auto;padding:9px 12px}.qr-advanced-summary strong{font-size:1.2rem}.qr-intro{padding:28px 23px}.qr-intro__jump{margin-top:15px}}
@media(prefers-reduced-motion:reduce){.price-overview__card{transition:none}.price-overview__card:hover{transform:none}}
@media(max-width:760px){.header .brand small{display:none}.header .nav-wrap{gap:4px}.header .nav-actions{gap:2px}.header .selector__trigger{font-size:12px}.header .menu-toggle{width:38px;min-width:38px}}
.student-note>a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
@media(max-width:380px){.cl-head .cl-logo{font-size:13px;gap:6px}.cl-head .cl-logo__mark{width:24px;height:24px}.cl-head__in{gap:6px}.cl-head .dm-lang{padding:7px}}
/* Viewport resilience: prefer the changing visible viewport without trapping page content. */
body{min-height:100vh;min-height:100dvh}
.interior main{min-height:55vh;min-height:55dvh}
.state-page{min-height:70vh;min-height:70dvh}
@media(min-width:761px){.hero-grid{min-height:clamp(480px,calc(100vh - 160px),760px);min-height:clamp(480px,calc(100dvh - 160px),760px)}}
@media(max-width:760px){.hero-grid{min-height:0}.nav.open{max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}}
.a11y__fab{inset-block-end:calc(18px + env(safe-area-inset-bottom,0px))}
.a11y__panel{inset-block-end:calc(86px + env(safe-area-inset-bottom,0px));max-height:calc(100vh - 110px - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 110px - env(safe-area-inset-bottom,0px))}
@media(max-height:560px){.a11y__panel{inset-block-start:8px;inset-block-end:calc(8px + env(safe-area-inset-bottom,0px));max-height:none}}
/* On short displays, the full preview should scroll naturally rather than stick off-screen. */
@media(max-height:1000px){body:has(.qr-content) .preview{position:static}}
/* Branded, native scrollbars for precise-pointer devices. Touch scrolling remains native. */
@media (hover:hover) and (pointer:fine){
  *::-webkit-scrollbar{width:14px;height:14px}
  *::-webkit-scrollbar-track{background:#0b1231}
  *::-webkit-scrollbar-thumb{min-height:44px;border:3px solid transparent;border-radius:999px;background:linear-gradient(180deg,#839be0 0%,#1be0eb 100%);background-clip:padding-box}
  *::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#c8d9ff 0%,#0ff0fc 100%);background-clip:padding-box}
  *::-webkit-scrollbar-thumb:active{background:#fff5c3;background-clip:padding-box}
  *::-webkit-scrollbar-corner{background:#0b1231}
  @supports (-moz-appearance:none){*{scrollbar-width:thin;scrollbar-color:#52d9ea #0b1231}}
  html.a11y-contrast *{scrollbar-color:#ffe600 #000}
}
@media (forced-colors:active){*{scrollbar-color:auto!important}*::-webkit-scrollbar-track{background:Canvas}*::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb:hover,*::-webkit-scrollbar-thumb:active{background:CanvasText;background-clip:padding-box}}
