#ky-category-template .woven-diagram { position: relative; }
#ky-category-template .woven-card-use {
  position: absolute;
  z-index: 1;
  inset: 5% 6% auto;
  color: #193743;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  pointer-events: none;
}
#ky-category-template .woven-roll { display: inline; }
#ky-category-template .woven-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 10px;
  margin-top: auto;
}
#ky-category-template .woven-card-actions .simple-details {
  margin: 0;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 5px;
}
.woven-quote-button {
  padding: 7px 10px;
  border: 1px solid #c3d2d8;
  border-radius: 6px;
  background: #fff;
  color: #193743;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}
.woven-quote-button:hover, .woven-quote-button[data-in-quote] {
  border-color: var(--ky-nav-accent);
  background: var(--ky-nav-accent-tint);
  color: var(--ky-nav-accent-ink);
}
.woven-quote-button:focus-visible, .woven-quote-dialog :focus-visible {
  outline: 2px solid var(--ky-nav-accent-ink);
  outline-offset: 2px;
}
#ky-category-template [data-woven-quote][hidden], #ky-category-template [data-quote-dock][hidden] { display: none; }
.woven-quote-dock {
  position: fixed;
  z-index: 50;
  inset-inline-start: max(12px, calc((100vw - 1240px) / 2));
  bottom: max(12px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 9px 15px;
  box-shadow: 0 4px 14px #19374330;
}
.woven-quote-dock, .woven-quote-dialog [type="submit"] {
  background: var(--ky-nav-accent);
  border-color: var(--ky-nav-accent);
  color: #fff;
}
.woven-quote-dock:hover, .woven-quote-dialog [type="submit"]:enabled:hover {
  background: var(--ky-nav-accent-ink);
  border-color: var(--ky-nav-accent-ink);
  color: #fff;
}
.woven-quote-dialog {
  width: min(36rem, calc(100% - 24px));
  max-height: min(760px, calc(100% - 24px));
  padding: clamp(16px, 4vw, 26px);
  border: 1px solid #c3d2d8;
  border-radius: 12px;
  background: #fff;
  color: #193743;
  box-shadow: 0 18px 48px #12263238;
  overflow: auto;
}
.woven-quote-dialog::backdrop { background: #11263199; }
.woven-quote-dialog > header { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.woven-quote-dialog h2 { margin: 0; font-size: 23px; line-height: 1.2; }
.woven-quote-dialog .woven-quote-intro { font-size: 14px; margin: 8px 0 14px; }
.woven-quote-dialog .woven-quote-items { list-style: none; padding: 0; margin: 0 0 14px; }
.woven-quote-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #dce5e8;
  font-size: 13px;
}
.woven-quote-item strong, .woven-quote-item .woven-quote-model { display: block; }
.woven-quote-item .woven-quote-model { color: #45626e; }
.woven-quote-dialog input:not([type="hidden"]), .woven-quote-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  border: 1px solid #bacbd2;
  border-radius: 5px;
  color: inherit;
  font: inherit;
  min-height: 38px;
}
.woven-quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  border: 0;
  padding: 0;
  margin: 0;
}
.woven-quote-fields label { display: grid; gap: 3px; font-size: 13px; font-weight: 650; }
.woven-quote-fields .woven-quote-wide { grid-column: 1 / -1; }
.woven-quote-dialog .woven-quote-hp { position: absolute; left: -9999px; }
.woven-quote-dialog .woven-quote-status { margin: 9px 0; font-size: 14px; }
.woven-quote-status[data-state="error"] { color: #9a351d; }
.woven-quote-status[data-state="success"] { color: #225239; }
.woven-quote-dialog .woven-quote-privacy { margin: 8px 0 0; font-size: 12px; }
.woven-quote-dialog [type="submit"] { min-height: 42px; font-size: 14px; }
.woven-quote-dialog [type="submit"]:disabled { opacity: .6; cursor: default; }
.woven-faq-diagram { margin: 0 0 16px; }
.woven-faq-knot-grid, .woven-faq-code {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
}
.woven-faq-knot-grid > div, .woven-faq-code > div {
  background: #f4f7f8;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  padding: 10px;
}
.woven-faq-knot-grid svg { display: block; max-width: 186px; width: 100%; height: auto; margin: 0 auto 5px; }
.woven-faq-knot-grid small, .woven-faq-diagram figcaption { display: block; margin-top: 3px; color: #38535e; font-size: 12px; }
.woven-faq-code { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woven-faq-code dt { font-size: 19px; font-weight: 800; color: #79390d; }
.woven-faq-code dd { margin: 0; font-size: 13px; }
@media (max-width: 600px) {
  .woven-faq-knot-grid { grid-template-columns: 1fr; }
  .woven-faq-knot-grid > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 2px 9px; align-items: center; }
  .woven-faq-knot-grid svg { grid-row: span 2; margin: 0; }
  .woven-faq-code { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 374px) {
  .woven-quote-fields { grid-template-columns: 1fr; }
  .woven-quote-item { grid-template-columns: minmax(0, 1fr) 68px auto; }
}
.woven-quote-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
