/*!
 * uiCookies SVG wave & section divider generator styles.
 * Every rule is scoped under .uic-tool-wave. The :not(#uicw) chain adds ID
 * specificity, so theme rules such as `#content .post-content ul`, `#content pre`
 * or `pre:before` cannot restyle the tool. Nothing here leaks out.
 */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) {
  --wv-accent: #297abe;
  --wv-accent-strong: #1f5f94;
  --wv-accent-soft: #eaf3fb;
  --wv-ink: #16181d;
  --wv-text: #374151;
  --wv-muted: #5b6472;
  --wv-line: #dfe3e8;
  --wv-line-strong: #c3cad3;
  --wv-soft: #f4f6f8;
  --wv-card: #ffffff;
  --wv-focus: #2f80d1;
  --wv-danger: #b42318;
  --wv-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  color: var(--wv-text);
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  letter-spacing: normal;
  -webkit-text-size-adjust: 100%;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw), .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) *, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) *::before, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) *::after { box-sizing: border-box; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) [hidden] { display: none !important; }

/* ---- element resets against theme CSS ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) div, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) section, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) span, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) p, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) code, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) label, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) fieldset, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) legend, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h2, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h3, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) output, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) strong {
  font-family: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  float: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) p, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h2, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h3, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) fieldset, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) legend { margin: 0; padding: 0; border: 0; background: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h2, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) h3 { color: var(--wv-ink); font-weight: 700; line-height: 1.3; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) strong { font-weight: 700; color: inherit; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) output { display: inline; font-size: inherit; color: inherit; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) legend { color: inherit; font-size: inherit; font-weight: inherit; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) p { color: inherit; font-size: inherit; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) label { color: inherit; font-size: inherit; font-weight: inherit; display: block; margin: 0; }
/* The theme draws a "code" icon gutter on every pre (pre:before). */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre::before, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre::after, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre:before, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) pre:after { content: none !important; display: none !important; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) button, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) input, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) select, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  box-shadow: none;
  float: none;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  vertical-align: middle;
  transform: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) button { cursor: pointer; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) svg { display: inline-block; width: auto; height: auto; max-width: none; max-height: none; vertical-align: middle; overflow: hidden; fill: initial; }

/* ---- focus, utilities ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) :focus { outline: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) :focus-visible { outline: 2px solid var(--wv-focus); outline-offset: 2px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-clip { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mono {
  font-family: var(--wv-mono); font-size: 0.92em; background: var(--wv-soft); color: var(--wv-ink);
  padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: no-preference) {
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item span, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type span { transition: background-color .15s, border-color .15s, color .15s; }
}

/* ---- headings and text ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-h { font-size: 15px; font-weight: 700; color: var(--wv-ink); margin: 0 0 10px; padding: 0; border: 0; letter-spacing: -0.01em; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-h3 { font-size: 12.5px; font-weight: 600; color: var(--wv-ink); margin: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-label {
  display: block; margin: 0 0 6px; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--wv-ink); line-height: 1.35;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-label output { float: right; font-weight: 500; color: var(--wv-muted); font-family: var(--wv-mono); font-size: 12px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-unit { font-weight: 400; color: var(--wv-muted); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--wv-muted); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-size { margin-left: 6px; font-weight: 500; color: var(--wv-muted); font-family: var(--wv-mono); font-size: 11.5px; }

/* ---- buttons ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 12px; border: 1px solid var(--wv-line-strong); border-radius: 8px;
  background: var(--wv-card); color: var(--wv-ink); font-size: 13px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; -webkit-appearance: none; appearance: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn:hover { background: var(--wv-soft); border-color: #aab3be; color: var(--wv-ink); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn[aria-pressed="true"] { background: var(--wv-accent-soft); border-color: var(--wv-accent); color: var(--wv-accent-strong); }

/* ---- top bar ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-bar-title { margin: 0; font-size: 13px; color: var(--wv-muted); min-width: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-bar-title strong { color: var(--wv-ink); font-size: 15px; margin-right: 6px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-bar-actions { display: flex; gap: 8px; }

/* ---- cards and layout ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-card { background: var(--wv-card); border: 1px solid var(--wv-line); border-radius: 14px; padding: 16px; min-width: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---- presets ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-presets { margin: 0 0 16px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset {
  display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; height: auto; padding: 0;
  border: 1px solid var(--wv-line); border-radius: 10px; background: var(--wv-card); color: var(--wv-ink);
  overflow: hidden; text-align: center; -webkit-appearance: none; appearance: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset:hover { border-color: #aab3be; background: var(--wv-card); color: var(--wv-ink); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset[aria-pressed="true"] { border-color: var(--wv-accent); box-shadow: 0 0 0 1px var(--wv-accent); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-art { position: relative; display: block; height: 54px; overflow: hidden; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-art svg { position: absolute; left: 0; bottom: 8px; display: block; width: 100%; height: 32px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-art span { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-name { display: block; padding: 6px 4px 7px; font-size: 11.5px; font-weight: 600; line-height: 1.25; border-top: 1px solid var(--wv-line); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset[aria-pressed="true"] .uic-wv-preset-name { color: var(--wv-accent-strong); background: var(--wv-accent-soft); }

/* ---- stage ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-card { padding: 12px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; padding: 0 4px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-head .uic-wv-h { margin: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage {
  display: block; padding: 0; border-radius: 10px; overflow: hidden;
  background: repeating-conic-gradient(#e8ebef 0 25%, #f5f6f8 0 50%) 0 0 / 16px 16px;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-frame { display: block; width: 100%; margin: 0 auto; overflow: hidden; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-frame[data-vw="tablet"] { max-width: 768px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-frame[data-vw="phone"] { max-width: 375px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sec { position: relative; display: block; margin: 0; padding: 26px 24px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sec-a { min-height: 132px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sec-b { min-height: 104px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: #fff; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock span { display: block; border-radius: 99px; background: currentColor; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-k { width: 64px; height: 7px; opacity: .45; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-t { width: min(300px, 70%); height: 16px; opacity: .9; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-p { width: min(230px, 55%); height: 8px; opacity: .45; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-b { width: 92px; height: 26px; margin-top: 4px; opacity: .85; border-radius: 8px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-cards { flex-direction: row; gap: 12px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-mock-cards span { flex: 1 1 0; height: 54px; border-radius: 10px; opacity: .1; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sec.is-light .uic-wv-mock { color: #1e293b; }
/* The divider itself: same structure and rules as the generated CSS. */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-div { position: absolute; left: 0; width: 100%; min-width: 0; display: block; margin: 0; padding: 0; line-height: 0; pointer-events: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-div svg { display: block; width: 100%; height: 100%; max-width: none; max-height: none; overflow: hidden; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-div path { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-div.is-anim path { animation: uic-wv-move var(--wv-dur, 12s) linear infinite; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-div.is-anim.is-paused path { animation-play-state: paused; }
}
@keyframes uic-wv-move { to { transform: translateX(-1440px); } }

/* ---- form controls ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-field { margin: 0 0 14px; min-width: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-group { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--wv-line); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-fs.uic-wv-field { margin: 0 0 14px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-fs legend.uic-wv-label { float: none; width: auto; margin: 0 0 6px; padding: 0; border: 0; font-size: 12.5px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--wv-line); border-radius: 9px; background: var(--wv-soft); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item { position: relative; flex: 1 1 0; display: block; margin: 0; padding: 0; min-width: 0; cursor: pointer; font-weight: 600; text-transform: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item input, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type input {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 0; background: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item span {
  display: block; padding: 6px 6px; border-radius: 6px; font-size: 12.5px; text-align: center; color: var(--wv-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-sm .uic-wv-seg-item { flex: 0 0 auto; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-sm .uic-wv-seg-item span { padding: 4px 9px; font-size: 12px; overflow: visible; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item:hover span { color: var(--wv-ink); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item input:checked + span { background: var(--wv-card); color: var(--wv-accent-strong); box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 0 0 1px rgba(15, 23, 42, .06); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item input:focus-visible + span { outline: 2px solid var(--wv-focus); outline-offset: 1px; }

.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type { position: relative; display: block; margin: 0; padding: 0; min-width: 0; cursor: pointer; font-weight: 600; text-transform: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 6px;
  border: 1px solid var(--wv-line); border-radius: 9px; background: var(--wv-card);
  font-size: 11.5px; line-height: 1.2; color: var(--wv-muted); text-align: center;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type svg { display: block; width: 40px; height: 17px; fill: currentColor; color: #8a94a3; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type:hover span { border-color: #aab3be; color: var(--wv-ink); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type input:checked + span { border-color: var(--wv-accent); background: var(--wv-accent-soft); color: var(--wv-accent-strong); box-shadow: 0 0 0 1px var(--wv-accent); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type input:checked + span svg { color: var(--wv-accent); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type input:focus-visible + span { outline: 2px solid var(--wv-focus); outline-offset: 2px; }

.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range {
  -webkit-appearance: none; appearance: none; display: block; flex: 1 1 auto; width: 100%; min-width: 0; height: 22px;
  margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--wv-line-strong); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%;
  background: #fff; border: 2px solid var(--wv-accent); box-shadow: 0 1px 2px rgba(15, 23, 42, .25);
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--wv-line-strong); border: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--wv-accent); box-shadow: 0 1px 2px rgba(15, 23, 42, .25); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range:focus-visible { outline: 2px solid var(--wv-focus); outline-offset: 3px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num-row { display: flex; align-items: center; gap: 10px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-select {
  display: block; height: 34px; margin: 0; padding: 0 9px; border: 1px solid var(--wv-line-strong); border-radius: 8px;
  background: #fff; color: var(--wv-ink); font-size: 13px; line-height: 32px; -webkit-appearance: none; appearance: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num { flex: 0 0 76px; width: 76px; font-family: var(--wv-mono); padding: 0 6px 0 9px; -moz-appearance: textfield; appearance: textfield; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num-wide { flex: 1 1 auto; width: auto; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num::-webkit-inner-spin-button { opacity: 1; height: 26px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text { width: 100%; min-width: 0; font-family: var(--wv-mono); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text[aria-invalid="true"] { border-color: var(--wv-danger); box-shadow: 0 0 0 1px var(--wv-danger); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-select {
  width: 100%; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b6472' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-name { width: 140px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num:hover, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text:hover, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-select:hover { border-color: #9aa4b1; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num:focus-visible, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text:focus-visible, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-select:focus-visible { outline: 2px solid var(--wv-focus); outline-offset: 1px; border-color: var(--wv-focus); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-picker {
  flex: 0 0 34px; width: 34px; height: 34px; margin: 0; padding: 2px; border: 1px solid var(--wv-line-strong); border-radius: 8px;
  background: #fff; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-picker::-webkit-color-swatch-wrapper { padding: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-picker::-webkit-color-swatch { border: 0; border-radius: 5px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-picker::-moz-color-swatch { border: 0; border-radius: 5px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-colors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0 0 4px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-color-field { min-width: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-color-row { display: flex; align-items: center; gap: 6px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-swap { margin: 8px 0 14px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) #uic-wv-cerr, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) [data-ref="cerr"] { margin: 6px 0 14px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 2px 0 10px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-checks + .uic-wv-hint { margin: -4px 0 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-checks-col { margin: 0 0 4px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 500; color: var(--wv-ink); cursor: pointer; text-transform: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-check input {
  flex: 0 0 16px; width: 16px; height: 16px; margin: 0; padding: 0; border: 0; background: none;
  -webkit-appearance: auto; appearance: auto; accent-color: var(--wv-accent); cursor: pointer;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-motion .uic-wv-field { margin: 10px 0 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-motion .uic-wv-hint + div { margin-top: 12px; }

/* ---- code ---- */
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out-head .uic-wv-h { margin: 0 0 8px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out-head .uic-wv-label { margin-bottom: 4px; font-weight: 500; color: var(--wv-muted); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out > .uic-wv-hint { margin: 8px 0 12px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--wv-line); margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab {
  flex: 0 0 auto; height: 38px; margin: 0 0 -1px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0;
  background: transparent; color: var(--wv-muted); font-size: 13.5px; font-weight: 600; -webkit-appearance: none; appearance: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab:hover { color: var(--wv-ink); background: var(--wv-soft); }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab[aria-selected="true"] { color: var(--wv-accent-strong); border-bottom-color: var(--wv-accent); background: transparent; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab:focus-visible { outline-offset: -2px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-panel { border-radius: 6px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-panel:focus-visible { outline-offset: 4px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-block { margin: 0 0 14px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-block:last-child { margin-bottom: 0; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0 0 6px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-block-btns { display: flex; gap: 6px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-copy { height: 28px; padding: 0 10px; font-size: 12px; }
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-code {
  display: block; margin: 0; padding: 12px 14px; border: 0; border-radius: 10px; background: #16191e; color: #d7dde4;
  font-family: var(--wv-mono); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all;
  overflow: auto; max-height: 340px; tab-size: 2; text-align: left; box-shadow: none;
}
.uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-code code {
  display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit;
  font: inherit; white-space: inherit; overflow-wrap: inherit; word-break: inherit;
}

/* ---- responsive ---- */
@media (max-width: 880px) {
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-main { display: flex; flex-direction: column; align-items: stretch; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-col { display: contents; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-card { order: 1; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-shape { order: 2; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-place { order: 3; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-motion { order: 4; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out { order: 5; }
}
@media (max-width: 640px) {
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset-list {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: 0 -2px; overscroll-behavior-x: contain;
  }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-preset { flex: 0 0 112px; scroll-snap-align: start; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-card { padding: 14px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-stage-card { padding: 8px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-sec { padding: 20px 16px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-bar-title span { display: block; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-code { font-size: 12px; padding: 11px 12px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-text, .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-select { font-size: 16px; height: 40px; line-height: 38px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num { flex-basis: 84px; width: 84px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-num-wide { flex: 1 1 auto; width: auto; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-picker { flex-basis: 40px; width: 40px; height: 40px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-btn { height: 40px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-copy { height: 34px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-tab { height: 44px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-item span { padding: 9px 4px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-seg-sm .uic-wv-seg-item span { padding: 7px 8px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-range { height: 32px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-check input { width: 20px; height: 20px; flex-basis: 20px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-out-head .uic-wv-inline-field { flex: 1 1 100%; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-name { width: 100%; }
}
@media (max-width: 420px) {
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-colors { grid-template-columns: minmax(0, 1fr); }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type svg { width: 34px; height: 15px; }
  .uic-tool-wave:not(#uicw):not(#uicw):not(#uicw) .uic-wv-type span { font-size: 11px; }
}
