/* WingdingsHub Keyboard — premium responsive UI v1.7.0 */
.wdk-app,
.wdk-app * { box-sizing: border-box; }

.wdk-app {
  --wdk-text: #10182b;
  --wdk-body: #334158;
  --wdk-muted: #6c7b90;
  --wdk-subtle: #8b98aa;
  --wdk-accent: #2563eb;
  --wdk-accent-dark: #1d4ed8;
  --wdk-teal: #0f9d91;
  --wdk-plum: #925f80;
  --wdk-success: #15794b;
  --wdk-warning: #965f0b;
  --wdk-symbol-font: "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", "Apple Symbols", "Arial Unicode MS", sans-serif;
  position: relative;
  isolation: isolate;
  width: min(100%, var(--wdk-max-width, 1280px));
  margin: 0 auto;
  padding: clamp(16px, 1.7vw, 22px);
  overflow: hidden;
  border-radius: var(--wdk-radius, 28px);
  background:
    radial-gradient(circle at 7% 0%, rgba(37,99,235,.065), transparent 24%),
    radial-gradient(circle at 95% 4%, rgba(15,157,145,.045), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(245,249,255,.74));
  color: var(--wdk-text);
  font-family: "Manrope", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow:
    0 26px 70px rgba(15,23,42,.075),
    0 4px 14px rgba(37,99,235,.025),
    inset 0 1px 0 rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.wdk-app::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 7%, rgba(255,255,255,.72) 50%, transparent 93%) top/100% 1px no-repeat;
}

.wdk-app button,
.wdk-app textarea,
.wdk-app input,
.wdk-app select { font: inherit; }

.wdk-app button { -webkit-tap-highlight-color: transparent; }

.wdk-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.wdk-toolbar-left,
.wdk-toolbar-right {
  display: flex;
  align-items: end;
  gap: 9px;
  min-width: 0;
}

.wdk-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wdk-field > span,
.wdk-mini-label {
  color: #718096;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}

.wdk-field select,
.wdk-field input {
  height: 44px;
  min-width: 0;
  border: 1px solid rgba(176,193,216,.46);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: var(--wdk-text);
  outline: none;
  box-shadow: inset 0 1px 1px rgba(15,23,42,.018);
}

.wdk-field select {
  min-width: 190px;
  padding: 0 38px 0 13px;
  font-size: 13.5px;
  font-weight: 690;
}

.wdk-field input {
  width: min(100%, 330px);
  padding: 0 13px;
  font-size: 13.5px;
}

.wdk-field select:focus,
.wdk-field input:focus,
.wdk-compose textarea:focus {
  border-color: rgba(37,99,235,.46);
  box-shadow: 0 0 0 3px rgba(37,99,235,.065), 0 8px 22px rgba(37,99,235,.03);
}

.wdk-small-btn,
.wdk-action-btn,
.wdk-detail-btn {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wdk-small-btn {
  padding: 8px 13px;
  background: rgba(255,255,255,.76);
  color: #41516a;
  font-size: 12px;
  font-weight: 740;
  box-shadow: inset 0 0 0 1px rgba(177,193,215,.38), inset 0 1px 0 rgba(255,255,255,.96);
}

.wdk-small-btn:hover,
.wdk-small-btn.is-active {
  color: var(--wdk-accent-dark);
  background: rgba(239,246,255,.94);
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.12), 0 6px 15px rgba(37,99,235,.05);
}

.wdk-app.is-physical-active .wdk-small-btn[data-wdk-physical] {
  color: #0b8177;
  background: rgba(232,250,246,.86);
  box-shadow: inset 0 0 0 1px rgba(15,157,145,.12);
}

.wdk-compose {
  position: relative;
  padding: clamp(14px, 1.45vw, 18px);
  border-radius: 21px;
  background: rgba(255,255,255,.42);
}

.wdk-compose-head,
.wdk-compose-actions,
.wdk-discovery-head,
.wdk-memory-head,
.wdk-detail-actions {
  display: flex;
  align-items: center;
}

.wdk-compose-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.wdk-compose-head label {
  color: #172033;
  font-size: 13.5px;
  font-weight: 760;
}

.wdk-active-set {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(232,239,248,.74);
  color: #718096;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.wdk-compose textarea {
  display: block;
  width: 100%;
  min-height: 126px;
  margin: 0;
  padding: 16px 17px;
  resize: vertical;
  border: 1px solid rgba(172,190,214,.52);
  border-radius: 15px;
  background: rgba(255,255,255,.91);
  color: #11182b;
  outline: none;
  font-family: var(--wdk-symbol-font);
  font-variant-emoji: text;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.018);
}

.wdk-compose textarea::placeholder { color: #9aa7ba; opacity: 1; font-family: inherit; font-size: 14px; letter-spacing: 0; }

.wdk-app.is-physical-active .wdk-compose {
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
}

.wdk-compose-actions {
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.wdk-action-group { display: flex; gap: 7px; }

.wdk-action-btn {
  padding: 8px 14px;
  background: rgba(255,255,255,.76);
  color: var(--wdk-body);
  font-size: 12.5px;
  font-weight: 740;
  box-shadow: inset 0 0 0 1px rgba(178,194,216,.38), inset 0 1px 0 rgba(255,255,255,.96);
}

.wdk-action-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #3475ef 0%, var(--wdk-accent) 58%, var(--wdk-accent-dark) 100%);
  box-shadow: 0 7px 17px rgba(37,99,235,.16), inset 0 1px 0 rgba(255,255,255,.18);
}

.wdk-action-btn:hover { transform: translateY(-1px); }
.wdk-action-btn.primary:hover { box-shadow: 0 10px 22px rgba(37,99,235,.21), inset 0 1px 0 rgba(255,255,255,.20); }
.wdk-action-btn:disabled { opacity: .38; cursor: default; transform: none; }

.wdk-status {
  min-height: 18px;
  margin: 8px 3px 0;
  color: var(--wdk-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.wdk-status:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
  vertical-align: 1px;
}

.wdk-status.is-success { color: var(--wdk-success); }
.wdk-status.is-warning { color: var(--wdk-warning); }

.wdk-discovery {
  margin-top: 13px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(247,250,254,.58);
}

.wdk-discovery-head {
  display: grid;
  grid-template-columns: minmax(220px,1fr) minmax(150px,220px);
  gap: 9px;
  align-items: end;
}

.wdk-discovery .wdk-field input { width: 100%; }
.wdk-discovery .wdk-field select { width: 100%; min-width: 0; }

.wdk-memory {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.wdk-memory-group[hidden] { display: none; }

.wdk-memory-head {
  justify-content: space-between;
  margin-bottom: 6px;
}

.wdk-memory-head span {
  color: #77859a;
  font-size: 10.5px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wdk-memory-list {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,.18) transparent;
}

.wdk-memory-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid rgba(174,190,212,.34);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  color: #52627a;
  cursor: pointer;
}

.wdk-memory-symbol,
.wdk-result-symbol,
.wdk-detail-preview,
.wdk-key-symbol {
  font-family: var(--wdk-symbol-font);
  font-variant-emoji: text;
  font-weight: 400;
}

.wdk-memory-symbol { color: #17223a; font-size: 20px; line-height: 1; }
.wdk-memory-key { font-size: 10px; font-weight: 680; white-space: nowrap; }

.wdk-results-wrap {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(184,200,220,.32);
}
.wdk-results-wrap[hidden] { display: none; }

.wdk-results {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}

.wdk-result {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(176,193,216,.34);
  border-radius: 13px;
  background: rgba(255,255,255,.78);
  color: #24334a;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.wdk-result:hover { transform: translateY(-1px); border-color: rgba(37,99,235,.18); box-shadow: 0 7px 17px rgba(37,99,235,.045); }
.wdk-result-symbol { flex: 0 0 34px; width: 34px; text-align: center; font-size: 23px; line-height: 1; }
.wdk-result-copy { display: grid; gap: 2px; min-width: 0; }
.wdk-result-copy strong { font-size: 11px; }
.wdk-result-copy small { overflow: hidden; color: #7c899d; font-size: 9.5px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.wdk-search-empty { grid-column: 1/-1; margin: 4px 0; color: var(--wdk-muted); font-size: 12.5px; }

.wdk-workspace {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,.4fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 14px;
}

.wdk-keyboard-shell,
.wdk-detail {
  border-radius: 21px;
  background: rgba(255,255,255,.43);
}

.wdk-keyboard-shell {
  min-width: 0;
  padding: clamp(13px,1.4vw,17px);
}

.wdk-keyboard-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #7a8799;
  font-size: 10.5px;
  line-height: 1.45;
}

.wdk-keyboard {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.wdk-key-row {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.wdk-key {
  position: relative;
  flex: 1 1 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  min-width: 42px;
  height: 64px;
  padding: 7px 4px 6px;
  border: 1px solid rgba(172,188,210,.39);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,249,253,.88));
  color: #1a263b;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(15,23,42,.035), inset 0 1px 0 rgba(255,255,255,.98);
  transition: transform .13s ease, border-color .13s ease, box-shadow .13s ease, background .13s ease;
}

.wdk-key:hover {
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.24);
  box-shadow: 0 8px 17px rgba(37,99,235,.055), inset 0 1px 0 rgba(255,255,255,.98);
}

.wdk-key:active { transform: translateY(1px); }
.wdk-key.is-selected { border-color: rgba(37,99,235,.52); box-shadow: 0 0 0 2px rgba(37,99,235,.07), 0 7px 16px rgba(37,99,235,.05); }
.wdk-key.is-active { color: var(--wdk-accent-dark); background: rgba(235,243,255,.94); border-color: rgba(37,99,235,.25); }
.wdk-key:disabled { opacity: .35; cursor: default; transform: none; }

.wdk-key-label {
  align-self: start;
  justify-self: start;
  color: #8996a8;
  font-size: 9px;
  font-weight: 780;
  line-height: 1;
}

.wdk-key-symbol {
  align-self: center;
  color: #131c2f;
  font-size: 23px;
  line-height: 1;
}

.wdk-control {
  display: grid;
  place-items: center;
  grid-template-rows: 1fr;
  color: #536278;
  font-size: 10.5px;
  font-weight: 760;
  letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(240,245,251,.94), rgba(234,240,248,.87));
}

.wdk-control.wide { flex: 1.45 1 0; }
.wdk-control.xwide { flex: 1.8 1 0; }
.wdk-control.utility { flex: 0 0 72px; height: 48px; }
.wdk-control.space { flex: 1 1 auto; height: 48px; max-width: 56%; }
.wdk-row-space { justify-content: center; }

.wdk-app.is-large-keys .wdk-key { height: 74px; min-width: 49px; }
.wdk-app.is-large-keys .wdk-key-symbol { font-size: 27px; }

.wdk-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
}

.wdk-detail-top {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 5px 0 16px;
  border-bottom: 1px solid rgba(182,198,219,.32);
}

.wdk-detail-preview {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(239,246,255,.91), rgba(255,255,255,.92));
  color: #142039;
  font-size: 45px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.13), 0 11px 28px rgba(37,99,235,.055);
}

.wdk-detail-title { color: #1c2940; font-size: 12px; font-weight: 760; }

.wdk-detail-list {
  display: grid;
  gap: 0;
  margin: 11px 0 0;
}

.wdk-detail-row {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(185,200,220,.26);
}

.wdk-detail-row:last-child { border-bottom: 0; }
.wdk-detail-row dt { margin: 0; color: #8996a8; font-size: 9.5px; font-weight: 780; letter-spacing: .055em; text-transform: uppercase; }
.wdk-detail-row dd { min-width: 0; margin: 0; color: #425169; font-size: 11px; font-weight: 620; overflow-wrap: anywhere; }

.wdk-detail-actions {
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
}

.wdk-detail-btn {
  flex: 1 1 0;
  padding: 8px 10px;
  background: rgba(255,255,255,.77);
  color: #40516b;
  font-size: 11px;
  font-weight: 740;
  box-shadow: inset 0 0 0 1px rgba(177,193,215,.37);
}

.wdk-detail-btn.primary { color: #fff; background: var(--wdk-accent); box-shadow: 0 7px 16px rgba(37,99,235,.14); }
.wdk-detail-btn.is-active { color: #8c5877; background: rgba(250,240,247,.86); box-shadow: inset 0 0 0 1px rgba(154,92,130,.14); }

.wdk-render-note {
  margin: 11px 0 0;
  color: #8693a5;
  font-size: 10px;
  line-height: 1.5;
}

.wdk-app button:focus-visible,
.wdk-app input:focus-visible,
.wdk-app select:focus-visible,
.wdk-app textarea:focus-visible {
  outline: 2px solid rgba(37,99,235,.56);
  outline-offset: 2px;
}

@media (min-width: 721px) and (max-width: 1080px) {
  .wdk-app { padding: 15px; }
  .wdk-toolbar { align-items: stretch; }
  .wdk-workspace { grid-template-columns: minmax(0,1fr) 245px; }
  .wdk-keyboard-shell { padding: 12px; }
  .wdk-key-row { gap: 5px; }
  .wdk-key { min-width: 36px; height: 58px; }
  .wdk-key-symbol { font-size: 20px; }
  .wdk-control { font-size: 9.5px; }
  .wdk-results { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .wdk-toolbar { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .wdk-toolbar-left,
  .wdk-toolbar-right { width: 100%; }
  .wdk-toolbar-left .wdk-field { flex: 1 1 auto; }
  .wdk-toolbar-left select { width: 100%; }
  .wdk-toolbar-right { justify-content: stretch; }
  .wdk-toolbar-right .wdk-small-btn { flex: 1 1 0; }
  .wdk-workspace { grid-template-columns: 1fr; }
  .wdk-detail { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 15px; align-items: start; }
  .wdk-detail-top { border-bottom: 0; border-right: 1px solid rgba(182,198,219,.32); padding: 5px 14px 5px 0; }
  .wdk-detail-content { min-width: 0; }
  .wdk-detail-actions { grid-column: 1/-1; padding-top: 0; }
  .wdk-render-note { grid-column: 1/-1; }
  .wdk-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .wdk-app {
    width: 100%;
    padding: 10px;
    border-radius: min(var(--wdk-radius,28px),20px);
    box-shadow: 0 15px 34px rgba(15,23,42,.065), inset 0 1px 0 rgba(255,255,255,.94);
  }
  .wdk-compose { padding: 11px; border-radius: 16px; }
  .wdk-compose textarea { min-height: 118px; padding: 13px; border-radius: 13px; font-size: 20px; }
  .wdk-compose-actions { align-items: stretch; }
  .wdk-action-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); flex: 1 1 0; }
  .wdk-action-btn { width: 100%; min-height: 42px; }
  .wdk-discovery { padding: 11px; border-radius: 15px; }
  .wdk-discovery-head { grid-template-columns: 1fr; }
  .wdk-keyboard-shell { padding: 11px; border-radius: 16px; overflow: hidden; }
  .wdk-keyboard { gap: 8px; }
  .wdk-key-row {
    width: 100%;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 3px;
    scrollbar-width: thin;
    scrollbar-color: rgba(37,99,235,.18) transparent;
  }
  .wdk-key { flex: 0 0 54px; min-width: 54px; height: 68px; }
  .wdk-key-symbol { font-size: 24px; }
  .wdk-control.wide { flex-basis: 76px; }
  .wdk-control.xwide { flex-basis: 88px; }
  .wdk-row-space { overflow-x: visible; justify-content: stretch; }
  .wdk-control.utility { flex: 0 0 68px; }
  .wdk-control.space { flex: 1 1 auto; max-width: none; }
  .wdk-app.is-large-keys .wdk-key { flex-basis: 62px; min-width: 62px; height: 76px; }
  .wdk-detail { border-radius: 16px; }
}

@media (max-width: 600px) {
  .wdk-app {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .wdk-app::before { display: none; }
  .wdk-toolbar-left { display: grid; grid-template-columns: 1fr; }
  .wdk-toolbar-right { display: grid; grid-template-columns: 1fr 1fr; }
  .wdk-compose { padding: 10px 0; background: transparent; }
  .wdk-discovery { padding: 10px 0; background: transparent; }
  .wdk-workspace { gap: 10px; }
  .wdk-keyboard-shell,
  .wdk-detail { background: rgba(248,251,255,.72); }
  .wdk-keyboard-shell { padding: 10px; }
  .wdk-keyboard-note { display: block; }
  .wdk-keyboard-note span:last-child { display: block; margin-top: 3px; }
  .wdk-detail { grid-template-columns: 110px minmax(0,1fr); padding: 13px; gap: 12px; }
  .wdk-detail-preview { width: 78px; height: 78px; border-radius: 21px; font-size: 37px; }
  .wdk-detail-row { grid-template-columns: 82px minmax(0,1fr); padding: 7px 0; }
  .wdk-detail-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .wdk-results { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .wdk-compose-actions { display: grid; grid-template-columns: 1fr; }
  .wdk-action-group { width: 100%; }
  .wdk-detail { grid-template-columns: 1fr; }
  .wdk-detail-top { border-right: 0; border-bottom: 1px solid rgba(182,198,219,.32); padding: 3px 0 12px; }
  .wdk-detail-actions { grid-column: auto; }
  .wdk-render-note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wdk-app *,
  .wdk-app *::before,
  .wdk-app *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
