.qk-studio { color: #0f172a; background: #eaf2ff; padding: clamp(48px, 6vw, 88px) 0; font: 400 16px/1.6 'QRHero Inter', system-ui, sans-serif; scroll-margin-top: 110px; }
.qk-studio, .qk-studio * { box-sizing: border-box; }
.qk-studio [hidden] { display: none !important; }
.qk-studio button, .qk-studio select { font: inherit; }
.qk-studio button { cursor: pointer; }
.qk-studio button:focus-visible, .qk-studio a:focus-visible, .qk-studio select:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.qk-studio .qhs-container { max-width: 1320px; padding-inline: clamp(20px, 3vw, 40px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.qk-studio .qhs-editor { min-width: 0; }
.qk-studio .qhs-eyebrow { color: #2563eb; font-size: 10px; letter-spacing: .15em; font-weight: 700; }
.qk-studio .qhs-heading h2 { margin: 14px 0 20px; font: 700 clamp(36px, 3.9vw, 58px)/1.07 'QRHero Inter Tight', system-ui, sans-serif; letter-spacing: -.045em; color: #0f172a; }
.qk-studio .qhs-heading h2 em { color: #e68119; font-family: 'QRHero Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
.qk-studio .qhs-heading p { margin: 0 0 28px; max-width: 520px; color: #5b6b82; font-size: clamp(15px, 1.18vw, 17px); line-height: 1.7; }
/* Studio controls share the same selected state across all four tabs. */
.qk-studio .qhs-panel {
  --control-text: #142747;
  --control-muted: #52647f;
  --control-line: #d7e2f2;
  --control-blue: #205bcb;
  container-type: inline-size;
  border: 1px solid #cad9f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 36px -26px #16396c55;
}
.qk-studio .qhs-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  margin: 14px 16px 0;
  border-radius: 13px;
  background: #edf3fc;
}
.qk-studio .qhs-tabs > button {
  min-width: 0;
  min-height: 43px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 7px 3px;
  color: var(--control-muted);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}
.qk-studio .qhs-tabs > button:hover { color: var(--control-blue); }
.qk-studio .qhs-tabs > button[aria-selected="true"] { color: #fff; background: #205bcb; box-shadow: 0 3px 8px #205bcb38; }
.qk-studio .qhs-pane { padding: 18px 20px 20px; }
.qk-studio .qhs-pane-heading { margin-bottom: 14px; }
.qk-studio .qhs-pane h3 { margin: 0 0 3px; color: var(--control-text); font: 700 17px/1.3 'QRHero Inter', system-ui, sans-serif; }
.qk-studio .qhs-pane-heading p, .qk-studio .qhs-color-heading p { margin: 0; color: var(--control-muted); font-size: 13px; line-height: 1.45; }
.qk-studio .qhs-options, .qk-studio .qhs-mode { display: grid; gap: 9px; }
.qk-studio .qhs-layouts, .qk-studio .qhs-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qk-studio .qhs-colors, .qk-studio .qhs-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qk-studio :is(.qhs-options, .qhs-mode) > button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 29px 9px 10px;
  border: 1px solid var(--control-line);
  border-radius: 11px;
  background: #fff;
  color: var(--control-text);
  text-align: left;
  transition: border-color .15s, background-color .15s;
}
.qk-studio :is(.qhs-options, .qhs-mode) > button:hover { border-color: #8fb1e8; background: #f7faff; }
.qk-studio :is(.qhs-options, .qhs-mode) > button[aria-pressed="true"] { border-color: #417ce1; background: #edf4ff; box-shadow: inset 0 0 0 1px #417ce1; }
.qk-studio :is(.qhs-options, .qhs-mode) > button[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--control-blue);
  border-bottom: 2px solid var(--control-blue);
  transform: translateY(-62%) rotate(45deg);
}
.qk-studio .qhs-options strong { display: block; font-size: 14px; font-weight: 650; line-height: 1.2; }
.qk-studio .qhs-option-copy { min-width: 0; }
.qk-studio .qhs-option-copy > small { display: block; margin-top: 4px; color: var(--control-muted); font-size: 11.5px; line-height: 1.3; }
.qk-studio .qhs-layouts > button { min-height: 73px; }
.qk-studio .qhs-layout-icon {
  flex: none;
  width: 38px;
  height: 37px;
  padding: 5px;
  border: 1px solid #dce7f6;
  border-radius: 7px;
  background: #eef4fc;
  color: #829ec4;
}
.qk-studio button[aria-pressed="true"] .qhs-layout-icon { color: #5285d5; border-color: #c9dcfb; background: #fff; }
.qk-studio .qhs-layout-icon { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 5px 4px 1fr 1fr; gap: 2px; }
.qk-studio .qhs-layout-icon i { grid-column: 1 / -1; border-radius: 2px; background: currentColor; }
.qk-studio .qhs-layout-icon::before { content: ''; grid-column: 1 / -1; grid-row: 2; width: 58%; align-self: center; height: 3px; border-radius: 4px; background: currentColor; }
.qk-studio .qhs-layout-icon[data-tabs="cizgi"]::before { height: 1px; border-radius: 0; }
.qk-studio .qhs-layout-icon b { border-radius: 1px; background: currentColor; opacity: .6; }
.qk-studio .qhs-layout-icon[data-grid="liste"] { grid-template-columns: 1fr; }
.qk-studio .qhs-layout-icon[data-grid="liste"] b:nth-last-child(-n+2) { display: none; }
.qk-studio .qhs-layout-icon[data-header="yigin"] i { width: 50%; justify-self: center; }
.qk-studio .qhs-layout-icon[data-header="overlay"] i { background: #db9b53; }
.qk-studio .qhs-mode > button { min-height: 61px; padding-left: 13px; font-size: 17px; }
.qk-studio .qhs-mode strong { font-weight: 720; line-height: 1.15; }
.qk-studio .qhs-mode-icon { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 9px; background: #fff1d8; color: #965410; font: 700 21px/1 system-ui, sans-serif; }
.qk-studio .qhs-mode > button[data-qhs-mode="dark"] { background: #152744; color: #f4f7ff; border-color: #152744; }
.qk-studio .qhs-mode > button[data-qhs-mode="dark"] .qhs-mode-icon { background: #283e61; color: #d3e5ff; }
.qk-studio .qhs-mode > button[data-qhs-mode="dark"]:hover { background: #203954; }
.qk-studio .qhs-mode > button[data-qhs-mode="dark"][aria-pressed="true"] { border-color: #8bbaff; box-shadow: inset 0 0 0 2px #8bbaff; }
.qk-studio .qhs-mode > button[data-qhs-mode="dark"][aria-pressed="true"]::after { border-color: #c8e1ff; }
.qk-studio .qhs-color-heading { margin: 18px 0 11px; padding-top: 15px; border-top: 1px solid #e4ecf7; }
.qk-studio .qhs-colors > button { min-height: 43px; gap: 7px; }
.qk-studio .qhs-colors i { flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--sw-light); border: 1px solid #00000016; }
.qk-studio[data-qhs-appearance="dark"] .qhs-colors i { background: var(--sw-dark); }
.qk-studio .qhs-themes > button { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; min-height: 59px; padding-block: 8px; }
.qk-studio .qhs-theme-swatches { display: flex; gap: 2px; width: 100%; max-width: 75px; height: 8px; }
.qk-studio .qhs-theme-swatches i { flex: 1; border-radius: 3px; background: var(--sw); border: 1px solid #0f244811; }
.qk-studio .qhs-theme-select { display: flex; align-items: center; gap: 12px; margin-top: 13px; color: var(--control-text); font-size: 13px; font-weight: 650; }
.qk-studio .qhs-theme-select small { display: block; color: var(--control-muted); font-size: 11px; font-weight: 400; }
.qk-studio .qhs-theme-select select { min-width: 0; min-height: 43px; flex: 1; border: 1px solid var(--control-line); background: #f7faff; padding: 7px 9px; border-radius: 8px; color: var(--control-text); font-size: 14px; }
.qk-studio .qhs-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 20px; border-top: 1px solid #e7eef9; }
.qk-studio .qhs-panel-footer > span { color: var(--control-muted); font-size: 12px; }
.qk-studio .qhs-panel-footer button { border: 0; padding: 8px 6px; background: transparent; color: var(--control-blue); font-size: 13px; font-weight: 650; white-space: nowrap; }
@container (width < 460px) {
  .qk-studio .qhs-tabs { margin: 10px 10px 0; }
  .qk-studio .qhs-tabs > button { font-size: 14px; }
  .qk-studio .qhs-pane, .qk-studio .qhs-panel-footer { padding-inline: 12px; }
  .qk-studio .qhs-layouts > button { flex-direction: column; align-items: flex-start; gap: 5px; padding: 7px 9px; }
  .qk-studio .qhs-layouts > button[aria-pressed="true"]::after { top: 21px; }
  .qk-studio .qhs-layout-icon { width: 31px; height: 29px; padding: 4px; }
  .qk-studio .qhs-colors, .qk-studio .qhs-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qk-studio .qhs-mode > button { min-height: 55px; padding-left: 8px; gap: 6px; font-size: 16px; }
  .qk-studio .qhs-mode-icon { width: 24px; height: 26px; font-size: 17px; }
  .qk-studio .qhs-mode > button[aria-pressed="true"]::after { right: 9px; }
}
.qk-studio .qhs-cta { display: inline-flex; align-items: center; gap: 20px; margin-top: 22px; color: #153665; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #c8d7ee; padding-bottom: 6px; }
.qk-studio .qhs-cta > span { color: #2563eb; font-size: 20px; line-height: 1; }
.qk-studio .qhs-preview { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.qk-studio .qhs-preview::before { content: ''; position: absolute; z-index: 0; width: min(100%, 420px); aspect-ratio: 1; top: 18%; border: 1px solid #c6d9f4; border-radius: 50%; box-shadow: 0 0 0 36px #dce9fb66, 0 0 0 72px #dce9fb33; pointer-events: none; }
.qk-studio .qhs-preview-caption { position: relative; display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: #6680a4; font-size: 10px; font-weight: 500; letter-spacing: .025em; }
.qk-studio .qhs-preview-caption i { width: 6px; height: 6px; background: #4e9c82; border-radius: 50%; }
.qk-studio .qhs-phone-fit { position: relative; width: min(100%, 340px); aspect-ratio: 414 / 832; }
.qk-studio .qhs-phone { position: absolute; top: 0; left: 0; width: 414px; height: 832px; padding: 30px 12px 22px; transform: scale(var(--qhs-scale, .82)); transform-origin: top left; background: #111216; border-radius: 56px; box-shadow: inset 0 0 0 2px #43464e, 0 24px 46px -20px #24497560; }
.qk-studio .qhs-screen { position: relative; width: 390px; height: 780px; overflow: hidden; border-radius: 38px; background: #f7f5f0; }
.qk-studio .qhs-screen iframe { position: absolute; inset: 0; width: 390px; height: 780px; border: 0; background: #f7f5f0; opacity: 0; transition: opacity .2s ease; }
.qk-studio .qhs-screen iframe.is-current, .qk-studio .qhs-screen iframe.is-outgoing { opacity: 1; }
.qk-studio .qhs-speaker { position: absolute; top: 11px; left: calc(50% - 37px); width: 74px; height: 7px; border-radius: 6px; background: #30323a; }
.qk-studio .qhs-home-indicator { position: absolute; bottom: 8px; left: calc(50% - 60px); width: 120px; height: 4px; border-radius: 4px; background: #44464e; }
.qk-studio .qhs-current { position: relative; max-width: 100%; margin: 22px 0 3px; color: #3f5e88; font-size: 11px; font-weight: 550; text-align: center; }
.qk-studio .qhs-preview-note { position: relative; color: #8093ac; font-size: 10px; }
.qk-studio .qhs-noscript { text-align: center; margin: 20px; }
@media (max-width: 979px) {
  .qk-studio .qhs-container { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 740px; }
  .qk-studio .qhs-heading h2 { font-size: clamp(36px, 6vw, 50px); }
  .qk-studio .qhs-preview::before { width: min(70%, 370px); }
}
@media (max-width: 420px) {
  .qk-studio .qhs-eyebrow { font-size: 8px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) { .qk-studio *, .qk-studio *::before, .qk-studio *::after { transition: none !important; } }
