/* Native controls matched to Claude's v4 visual target.
   Real labels and state stay in the existing HTML/controllers. No sprite loads,
   pointer tracking, label transforms, artificial busy states or idle animation. */
@media screen {
  body.qoqai-kit[data-qoq-page] :is(.button:not(.secondary, .returning-customer-login), .primary-button, .primary-action, .customer-workflow-primary, .qoqai-chat-launcher, .qoqai-chat-panel :where(button[type=submit])) {
    --key-face: #c8f53c; --key-wall: 6px; --key-glow: #c8f53c24;
    background: radial-gradient(ellipse at 70% 12%, #f5ffad66, transparent 62%), linear-gradient(150deg, #efffa04d, transparent 45%), var(--key-face);
    color: #0a0c0b; border: 1px solid #daff6c; border-radius: 10px;
    box-shadow: inset 0 1px 1px #f3ffb5, inset 0 -2px 2px #75961766, 0 var(--key-wall) 0 #819e1a, 0 calc(var(--key-wall) + 3px) 5px #0008, 0 8px 16px var(--key-glow);
    transform: none; text-shadow: none;
    transition: background-color 220ms cubic-bezier(.4,0,1,1), box-shadow 220ms cubic-bezier(.4,0,1,1), border-color 220ms;
  }
  body.qoqai-kit[data-qoq-page] :is(.secondary, .secondary-button, .returning-customer-login, .header-workspace, .qoqai-chat-icon-button, .back-button, [id=motion-toggle], [id=help-close]) {
    --key-face: #1b211d; --key-wall: 4px;
    background: linear-gradient(155deg, #ffffff0c, transparent 45%), var(--key-face);
    color: #ede8dc; border: 1.5px solid #737c77; border-radius: 10px;
    box-shadow: inset 0 1px 1px #a0aaa533, inset 0 -2px 2px #0009, 0 var(--key-wall) 0 #030403, 0 calc(var(--key-wall) + 2px) 4px #0005;
    transform: none; text-shadow: none; margin-bottom: 4px;
    transition: background-color 220ms cubic-bezier(.4,0,1,1), box-shadow 220ms cubic-bezier(.4,0,1,1), border-color 220ms;
  }
  body.qoqai-kit[data-qoq-page] :is(.returning-customer-login, .header-workspace) { min-height: 44px; }
  body.qoqai-kit[data-qoq-page] :is(.button:not(.secondary, .returning-customer-login), .primary-button, .primary-action, .customer-workflow-primary, .qoqai-chat-launcher, .qoqai-chat-panel :where(button[type=submit])):active:not(:disabled) {
    --key-face: #b4dc2a; --key-wall: 2px; --key-glow: #c8f53c12; transition-duration: 70ms;
  }
  body.qoqai-kit[data-qoq-page] :is(.secondary, .secondary-button, .returning-customer-login, .header-workspace, .qoqai-chat-icon-button, .back-button, [id=motion-toggle], [id=help-close]):active:not(:disabled) {
    --key-face: #101412; --key-wall: 1px; border-color: #ede8dc; transition-duration: 70ms;
  }
  body.qoqai-kit[data-qoq-page] :is(button, .button):disabled,
  body.qoqai-kit[data-qoq-page] :is(button, .button):disabled:is(:hover, :active, :focus-visible) {
    background: linear-gradient(150deg, #ffffff05, transparent 60%), #20261f;
    color: #b4b1a7; border: 1.5px dashed #737c77;
    box-shadow: inset 0 1px 1px #737c772b, 0 1px 0 #030403;
    opacity: 1; transform: none; cursor: default;
  }
  body.qoqai-kit[data-qoq-page] :is(.button:not(.secondary, .returning-customer-login), .primary-button, .primary-action, .customer-workflow-primary, .qoqai-chat-launcher, .qoqai-chat-panel :where(button[type=submit])):disabled {
    border-style: solid;
    box-shadow: inset 0 1px 1px #737c772b, inset 0 -1px 1px #0009, 0 2px 0 #030403;
  }
  body.qoqai-kit[data-qoq-page] :is(.secondary, .secondary-button, .returning-customer-login, .header-workspace, .qoqai-chat-icon-button, .back-button, [id=motion-toggle], [id=help-close]):disabled { border-style: solid; }
  /* Only these controls have exact, existing in-flight request hooks. */
  body.qoqai-kit #inquiry-form[aria-busy=true] #send-inquiry,
  body.qoqai-kit #qoqai-chat-form[aria-busy=true] button[type=submit] {
    background: linear-gradient(145deg, #eaff8b33, transparent 55%), #b4dc2a;
    color: #0a0c0b; border: 1px solid #daff6c;
    box-shadow: inset 0 1px 1px #f3ffb5, inset 0 -2px 2px #75961766, 0 2px 0 #819e1a, 0 4px 5px #0008;
  }
  body.qoqai-kit details > summary::after,
  body.qoqai-kit :is(.faq-list, #inquiry-privacy) summary > span[aria-hidden] {
    width: 36px; height: 36px; flex: 0 0 36px; border: 1.5px solid #737c77;
    background: linear-gradient(145deg, #ffffff0c, transparent 55%), #1b211d;
    color: #ede8dc; box-shadow: inset 0 1px 1px #ffffff26, 0 3px 0 #030403;
    transition: box-shadow 220ms cubic-bezier(.2,0,0,1), background-color 160ms, border-color 160ms;
  }
  body.qoqai-kit details[open] > summary::after,
  body.qoqai-kit :is(.faq-list details[open], #inquiry-privacy[open]) > summary > span[aria-hidden] {
    background-color: #101412; box-shadow: inset 0 1px 1px #ffffff26, 0 1.2px 0 #030403;
  }
  body.qoqai-kit details > summary:active::after,
  body.qoqai-kit :is(.faq-list, #inquiry-privacy) summary:active > span[aria-hidden] { box-shadow: inset 0 1px 1px #ffffff26, 0 .8px 0 #030403; transition-duration: 70ms; }
  body.qoqai-kit .readiness-check .check-visual {
    width: 28px; height: 28px; border: 2px solid #737c77; border-radius: 50%;
    color: transparent; background: radial-gradient(ellipse at 35% 20%, #a9b2ad66, #030504 58%);
    box-shadow: inset 0 1px 2px #ffffff33, 0 2px 2px #0008;
    transition: background-color 220ms, border-color 220ms, box-shadow 220ms;
  }
  body.qoqai-kit .readiness-check input:checked + .check-visual {
    color: #0a0c0b; border-color: #c8f53c;
    background: radial-gradient(ellipse at 35% 20%, #efffa3, #c8f53c 50%, #7e9e20);
    box-shadow: inset 0 1px 2px #ffffff80, 0 2px 2px #0008, 0 3px 14px #c8f53c44;
  }
  body.qoqai-kit .readiness-check:has(input:focus-visible) { outline: 2px solid #ede8dc; outline-offset: 4px; }
  body.qoqai-kit :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #ede8dc !important; outline-offset: 4px; }
  .motion-paused body.qoqai-kit *, .motion-paused body.qoqai-kit *::before, .motion-paused body.qoqai-kit *::after { transition: none !important; animation: none !important; }
  /* Receipt paper is an existing confirmed state, so its dark keys keep white ink. */
  body.qoqai-kit #submitted-notice .secondary-button:not(:disabled) { color: #ede8dc; background: linear-gradient(155deg, #ffffff0c, transparent 45%), #1b211d; }
  body.qoqai-kit #submitted-notice :focus-visible { outline-color: #0a0c0b !important; }
}
@media screen and (hover: hover) and (pointer: fine) {
  body.qoqai-kit[data-qoq-page] :is(.button:not(.secondary, .returning-customer-login), .primary-button, .primary-action, .customer-workflow-primary, .qoqai-chat-launcher, .qoqai-chat-panel :where(button[type=submit])):hover:not(:disabled, :active) {
    --key-face: #d6ff55; --key-glow: #c8f53c55; border-color: #edffac;
    transition-duration: 160ms;
  }
  body.qoqai-kit[data-qoq-page] :is(.secondary, .secondary-button, .returning-customer-login, .header-workspace, .qoqai-chat-icon-button, .back-button, [id=motion-toggle], [id=help-close]):hover:not(:disabled, :active) {
    --key-face: #252d28; border-color: #ede8dc; transition-duration: 160ms;
  }
  body.qoqai-kit details > summary:hover::after,
  body.qoqai-kit :is(.faq-list, #inquiry-privacy) summary:hover > span[aria-hidden] { border-color: #ede8dc; background-color: #252d28; }
  body.qoqai-kit .readiness-check:hover .check-visual { border-color: #ede8dc; }
}
@media screen and (prefers-reduced-motion: reduce) {
  body.qoqai-kit *, body.qoqai-kit *::before, body.qoqai-kit *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media screen and (forced-colors: active) {
  body.qoqai-kit[data-qoq-page] :is(button, .button, summary)::after,
  body.qoqai-kit[data-qoq-page] :is(button, .button, input, select, textarea, summary) {
    background: ButtonFace !important; color: ButtonText !important; border-color: ButtonText !important; box-shadow: none !important; text-shadow: none !important;
  }
  body.qoqai-kit :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: Highlight !important; }
  body.qoqai-kit #submitted-notice :focus-visible { outline-color: Highlight !important; }
  body.qoqai-kit[data-qoq-page] :disabled { color: GrayText !important; border-color: GrayText !important; }
  body.qoqai-kit .readiness-check > input { position: static; width: 22px; height: 22px; opacity: 1; flex: none; }
  body.qoqai-kit .readiness-check .check-visual { display: none; }
}
