.sc-book-web-section {
  border: 1px solid rgba(191, 201, 195, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 241, 253, 0.72));
  box-shadow: 0 20px 44px rgba(29, 26, 34, 0.06);
}

.sc-book-web-card {
  border: 1px solid rgba(191, 201, 195, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sc-book-web-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 104, 87, 0.32);
  background: rgba(255, 255, 255, 0.92);
}

.sc-book-web-preset {
  position: relative;
}

.sc-book-web-preset-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: rgba(0, 68, 53, 0.09);
  color: #004435;
  padding: 0.48rem 0.7rem;
  font: 800 0.62rem/1 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sc-book-web-preset-action .material-symbols-outlined {
  font-size: 1rem;
}

.sc-book-web-modal[hidden] {
  display: none;
}

.sc-book-web-modal {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px);
}

.sc-book-web-shell {
  width: min(1180px, 100%);
  height: min(820px, 92vh);
  border: 1px solid rgba(191, 201, 195, 0.34);
  border-radius: 28px;
  background: #fef7ff;
  box-shadow: 0 34px 92px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sc-book-web-stage {
  position: relative;
  min-width: 1360px;
  height: 860px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(254, 247, 255, 0.94));
  overflow: hidden;
}

.sc-book-web-stage-wrap {
  flex: 1;
  overflow: auto;
  border-top: 1px solid rgba(191, 201, 195, 0.16);
  border-bottom: 1px solid rgba(191, 201, 195, 0.16);
}

.sc-book-web-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sc-book-node {
  position: absolute;
  min-width: 118px;
  max-width: 166px;
  border: 2px solid var(--node-color, #009dcc);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--node-color, #009dcc);
  padding: 8px 10px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.1;
  cursor: grab;
  user-select: none;
  box-shadow: 0 10px 24px rgba(29, 26, 34, 0.06);
}

.sc-book-node:active {
  cursor: grabbing;
}

.sc-book-node[data-root="true"] {
  min-width: 214px;
  border-color: #ff6b1a;
  color: #ff6b1a;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
}

.sc-book-node.is-selected {
  outline: 3px solid rgba(0, 68, 53, 0.16);
  background: #ffffff;
}

.sc-book-node-note {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
}

.sc-book-web-panel {
  border-left: 1px solid rgba(191, 201, 195, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.sc-book-web-field {
  width: 100%;
  border: 1px solid rgba(191, 201, 195, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  padding: 11px 12px;
  color: #1d1a22;
  font-size: 0.9rem;
}

.sc-book-web-field:focus {
  outline: none;
  border-color: rgba(47, 104, 87, 0.48);
  box-shadow: 0 0 0 3px rgba(47, 104, 87, 0.12);
}

.sc-book-web-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10110;
  max-width: min(360px, calc(100vw - 36px));
  border-radius: 18px;
  background: #004435;
  color: #fff;
  padding: 12px 14px;
  font: 800 0.8rem/1.35 "Manrope", system-ui, sans-serif;
  box-shadow: 0 18px 42px rgba(0, 68, 53, 0.2);
}

@media (max-width: 760px) {
  .sc-book-web-section {
    border-radius: 22px !important;
  }

  .sc-book-web-modal {
    padding: 0;
  }

  .sc-book-web-shell {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .sc-book-web-stage {
    min-width: 1180px;
    height: 760px;
  }

  .sc-book-web-panel {
    border-left: 0;
    border-top: 1px solid rgba(191, 201, 195, 0.18);
  }
}
