/* [project]/app/globals.css [app-client] (css) */
body {
  background-color: #f5f5f5;
  width: 65%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family: Microsoft JhengHei, sans-serif;
  line-height: 1.6;
}

html.fw-in-iframe body {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

html.fw-in-iframe {
  box-sizing: border-box;
  width: 100%;
}

html.fw-in-iframe .container {
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

.container {
  box-sizing: border-box;
  gap: 30px;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
}

.wizard-content-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.history-panel {
  background: #fff;
  border-radius: 12px;
  flex-shrink: 0;
  width: 280px;
  padding: 20px;
  display: none;
  overflow-x: hidden;
  box-shadow: 0 2px 10px #0000001a;
}

.history-panel.visible {
  flex-direction: column;
  display: flex;
}

.history-panel.history-panel--disabled .history-item {
  cursor: default;
  pointer-events: none;
}

.history-panel.history-panel--disabled .history-item:hover {
  background-color: #0000;
}

.history-collapse-wrap {
  flex-direction: column;
  margin-bottom: 12px;
  display: flex;
}

.history-collapse-line {
  border-top: 1px solid #e0e0e0;
  height: 0;
}

.history-collapse-toggle {
  width: 100%;
  font-size: inherit;
  color: #0a2540;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  margin: 0;
  padding: 10px 0;
  display: block;
}

.history-collapse-toggle:hover {
  color: #06c;
}

.history-collapse-content {
  margin-bottom: 12px;
}

.history-user-prompt-row--no-border {
  border-top: none !important;
}

.history-summary-rows {
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.history-summary-row {
  gap: 6px;
  font-size: .85rem;
  line-height: 1.4;
  display: flex;
}

.history-summary-row__label {
  color: #64748b;
  flex-shrink: 0;
  min-width: 60px;
}

.history-summary-row__label:after {
  content: "：";
}

.history-summary-row__value {
  color: #0f172a;
  word-break: break-word;
}

.history-go-back-btn {
  border-radius: 4px;
  width: auto;
  margin: 0;
  padding: 5px 14px;
  font-size: .85rem;
}

.history-chat-past-wrap {
  margin-top: 8px;
  position: relative;
}

.history-chat-past {
  box-sizing: border-box;
  color: #0f172a;
  background: #e8eef4;
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  display: block;
}

.history-chat-past--display {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 44px;
}

.history-chat-past-placeholder {
  color: #94a3b8;
}

.history-chat-past--edit {
  resize: none;
  min-height: 60px;
}

.history-chat-past:focus {
  outline: 1px solid #94a3b8;
}

.history-chat-past-toolbar {
  gap: 4px;
  display: flex;
  position: absolute;
  top: 6px;
  right: 8px;
}

.history-chat-past-toolbar-btn {
  color: #475569;
  cursor: pointer;
  background: #ffffffe6;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  box-shadow: 0 1px 3px #0000001a;
}

.history-chat-past-toolbar-btn:hover {
  color: #0f172a;
  background: #fff;
}

.history-user-prompt-textarea {
  resize: vertical;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  width: 100%;
  min-height: 60px;
  margin-top: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: .9375rem;
  display: block;
}

.history-item {
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
  padding-bottom: 15px;
  transition: all .2s;
}

.history-item:hover {
  background-color: #f5f5f5;
}

.history-question {
  color: #666;
  margin-bottom: 5px;
  font-size: .9em;
}

.history-answer {
  color: #2196f3;
  font-size: 1em;
}

.main-content {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
}

.chat-box {
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 12px;
  flex-direction: column;
  width: 100%;
  min-height: 600px;
  margin-bottom: 0;
  padding: 20px;
  display: flex;
  box-shadow: 0 2px 10px #0000001a;
}

html.fw-in-iframe .chat-box, html.fw-in-iframe .history-panel {
  margin-top: 16px;
}

.purpose-step-inner {
  box-sizing: border-box;
  max-width: 100%;
  padding-left: 220px;
  padding-right: 220px;
}

@media (max-width: 900px) {
  .purpose-step-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.message {
  text-align: center;
  opacity: 0;
  background-color: #e3f2fd;
  border-radius: 15px;
  max-width: 80%;
  margin: 0 auto 20px;
  padding: 20px;
  font-size: 1.2em;
  animation: .3s forwards fadeIn;
  transform: translateY(20px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choices {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 25px;
  display: flex;
}

.choices.two-columns {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 15px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
}

.choices.two-columns .choice {
  width: 100%;
  max-width: none;
  min-height: 88px;
}

.choices.two-columns .choice .choice-label-inner {
  max-width: 12em;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .choices.two-columns {
    grid-template-columns: 1fr;
  }
}

.choice {
  color: #2196f3;
  cursor: pointer;
  text-align: center;
  pointer-events: auto;
  z-index: 1;
  background-color: #fff;
  border: 2px solid #2196f3;
  border-radius: 25px;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 500px;
  min-height: 74px;
  padding: 15px 30px;
  font-size: 1.1em;
  transition: all .3s;
  display: flex;
  position: relative;
}

.chat-box--question .choices {
  gap: 14px;
  margin-top: 10px;
}

.chat-box--question .choice {
  border-radius: 14px;
  width: 100%;
  max-width: 320px;
  min-height: 40px;
  padding: 10px;
  font-size: 1.1em;
}

.chat-box--question .choice-label-inner {
  line-height: 1.2;
}

.choice:hover {
  color: #fff;
  background-color: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px #2196f34d;
}

.choice.selected {
  color: #fff;
  background-color: #2196f3;
}

.choice-label-inner {
  text-align: center;
  word-break: normal;
  white-space: normal;
  line-height: 1.5;
  display: block;
}

.choice-highlight {
  color: #1f2937;
  background: #fff3bf;
  border-radius: 999px;
  margin: 0 .35em;
  padding: 0 6px;
  font-weight: 700;
  display: inline;
}

.input-container {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  display: flex;
}

.input-next-btn {
  min-width: 120px;
  margin-top: 10px;
}

.input-field {
  text-align: center;
  border: 2px solid #2196f3;
  border-radius: 8px;
  width: 150px;
  padding: 12px;
  font-size: 1.1em;
}

.input-field:focus {
  outline: none;
  box-shadow: 0 0 0 3px #2196f333;
}

textarea.input-field {
  text-align: left;
  resize: vertical;
  width: 100%;
  min-width: 400px;
  max-width: 600px;
  font-family: inherit;
}

.nav-buttons {
  display: none;
}

.btn {
  color: #fff;
  cursor: pointer;
  background-color: #2196f3;
  border: none;
  border-radius: 25px;
  margin: 0 10px;
  padding: 12px 30px;
  font-size: 1.1em;
  transition: all .3s;
}

.btn:hover:not(:disabled) {
  background-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px #2196f34d;
}

.btn:disabled {
  cursor: not-allowed;
  background-color: #bdbdbd;
}

.btn-back {
  color: #2196f3;
  background-color: #fff;
  border: 2px solid #2196f3;
}

.btn-back:hover {
  background-color: #e3f2fd;
}

.btn-back:disabled {
  color: #9e9e9e;
  border-color: #bdbdbd;
}

@media (max-width: 1000px) {
  .history-panel {
    display: none !important;
  }

  .container {
    padding: 0;
  }

  html.fw-in-iframe .container {
    width: 100%;
  }
}

.loading-animation {
  text-align: center;
  margin: 40px 0;
}

.loading-text {
  color: #666;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top-color: #2196f3;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.generating-dots {
  vertical-align: middle;
  margin-left: 2px;
  display: inline-block;
}

.generating-dots span {
  animation: 1.2s ease-in-out infinite dotBlink;
}

.generating-dots span:nth-child(2) {
  animation-delay: .2s;
}

.generating-dots span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes dotBlink {
  0%, 60%, 100% {
    opacity: .2;
  }

  30% {
    opacity: 1;
  }
}

.generating-overlay {
  z-index: 1000;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.generating-overlay__backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0a254080;
  position: absolute;
  inset: 0;
}

.generating-overlay__card {
  background: #fff;
  border-radius: 18px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 90vw;
  min-width: 320px;
  max-width: 460px;
  padding: 40px 48px;
  animation: .25s overlayCardIn;
  display: flex;
  position: relative;
  box-shadow: 0 24px 64px #00000047;
}

@keyframes overlayCardIn {
  from {
    opacity: 0;
    transform: scale(.94)translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.generating-overlay__spinner {
  border: 4px solid #e2e8f0;
  border-top-color: #1976d2;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  animation: .85s linear infinite spin;
}

.generating-overlay__label {
  color: #0a2540;
  text-align: center;
  letter-spacing: .01em;
  font-size: 1.1rem;
  font-weight: 600;
}

.generating-overlay__label-text {
  vertical-align: middle;
}

.generating-overlay__progress-track {
  background: #e2e8f0;
  border-radius: 9999px;
  width: 100%;
  height: 6px;
  overflow: hidden;
}

.generating-overlay__progress-fill {
  background: linear-gradient(90deg, #1565c0, #42a5f5);
  border-radius: 9999px;
  height: 100%;
  transition: width .7s cubic-bezier(.4, 0, .2, 1);
}

.generating-overlay__steps {
  flex-direction: column;
  gap: 10px;
  width: 100%;
  display: flex;
}

.generating-overlay__step-item {
  color: #cbd5e1;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  transition: color .35s;
  display: flex;
}

.generating-overlay__step-item--done {
  color: #4caf50;
}

.generating-overlay__step-item--active {
  color: #1976d2;
  font-weight: 500;
}

.generating-overlay__step-icon {
  text-align: center;
  flex-shrink: 0;
  width: 18px;
  font-size: .8rem;
}

.generating-overlay__step-text {
  flex: 1;
}

.summary-step__inline-loading {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  display: flex;
}

.summary-step__inline-loading__spinner {
  border: 3px solid #e2e8f0;
  border-top-color: #1976d2;
  border-radius: 50%;
  align-self: flex-start;
  width: 28px;
  height: 28px;
  animation: .85s linear infinite spin;
}

.summary-step__inline-loading__steps {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.summary-step__inline-loading__step {
  color: #94a3b8;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  transition: color .3s;
  display: flex;
}

.summary-step__inline-loading__step--done {
  color: #22c55e;
}

.summary-step__inline-loading__step--active {
  color: #1976d2;
  font-weight: 600;
}

.summary-step__inline-loading__step-icon {
  text-align: center;
  flex-shrink: 0;
  width: 16px;
  font-size: .75rem;
}

.summary-step__inline-loading__step-text {
  flex: 1;
}

.summary-step__top-loading {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 20px;
  display: flex;
}

.summary-step__top-loading__spinner {
  border: 3px solid #bfdbfe;
  border-top-color: #1976d2;
  border-radius: 50%;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  animation: .85s linear infinite spin;
}

.summary-step__top-loading__steps {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  display: flex;
}

.summary-step__top-loading__step {
  color: #93c5fd;
  text-align: left;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  transition: color .3s;
  display: flex;
}

.summary-step__top-loading__step--done {
  color: #22c55e;
}

.summary-step__top-loading__step--active {
  color: #1d4ed8;
  font-weight: 600;
}

.summary-step__top-loading__step-icon {
  text-align: center;
  flex-shrink: 0;
  width: 16px;
  font-size: .75rem;
}

.summary-step__top-loading--standalone {
  margin-top: 40px;
  padding: 28px;
  font-size: 1.05rem;
}

.summary-step__top-loading--standalone .summary-step__top-loading__spinner {
  width: 32px;
  height: 32px;
  margin-top: 4px;
}

.summary-step__top-loading--standalone .summary-step__top-loading__step {
  font-size: 1rem;
}

.confirm-tags {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  max-width: min(100%, 720px);
  margin: 0 0 24px;
  padding: 16px 20px;
}

.confirm-tags__header {
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  display: flex;
}

.confirm-tags__label {
  color: #374151;
  font-size: .875rem;
  font-weight: 600;
}

.confirm-tags__hint {
  color: #94a3b8;
  font-size: .78rem;
}

.confirm-tags__input-row {
  cursor: text;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 8px;
  display: flex;
}

.confirm-tags__input-row:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px #6366f126;
}

.confirm-tags__chip {
  color: #5b21b6;
  white-space: nowrap;
  background: #ede9fe;
  border-radius: 9999px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 10px;
  font-size: .8125rem;
  font-weight: 500;
  display: inline-flex;
}

.confirm-tags__chip-remove {
  cursor: pointer;
  color: #7c3aed;
  opacity: .7;
  background: none;
  border: none;
  padding: 0 1px;
  font-size: .95rem;
  line-height: 1;
  transition: opacity .15s;
}

.confirm-tags__chip-remove:hover {
  opacity: 1;
}

.confirm-tags__input {
  color: #0f172a;
  background: none;
  border: none;
  outline: none;
  flex: 120px;
  min-width: 80px;
  padding: 2px 0;
  font-size: .875rem;
}

.confirm-tags__input::placeholder {
  color: #cbd5e1;
}

.summary-step__confirm-item-value--empty {
  color: #94a3b8;
  font-style: italic;
}

.preview-success-box {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.preview-success-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.preview-success-header-title {
  color: #0a2540;
  margin: 0;
  font-size: 1.25em;
}

.preview-iframe-wrap {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  display: flex;
}

.preview-iframe-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.preview-page-tabs {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  display: flex;
}

.preview-page-tab {
  color: #475569;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  align-items: center;
  padding: 6px 12px;
  font-size: .875rem;
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex;
}

.preview-page-tab:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.preview-page-tab[aria-pressed="true"] {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.preview-toolbar-right {
  align-items: center;
  gap: 6px;
  display: flex;
}

.preview-edit-publish-btn {
  margin: 0;
  padding: 3px;
  font-size: .5rem;
}

.preview-device-btn {
  color: #64748b;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex;
}

.preview-device-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.preview-device-btn[aria-pressed="true"] {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.preview-email-wrap {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  flex-direction: column;
  gap: 0;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.preview-email-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.preview-email-header-row {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.preview-email-label {
  color: #64748b;
  flex-shrink: 0;
  min-width: 4.5em;
  font-size: .8125rem;
}

.preview-email-value {
  color: #0f172a;
  word-break: break-word;
  font-size: .875rem;
}

.preview-iframe {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 100%;
}

.preview-unavailable {
  text-align: center;
  color: #666;
  padding: 40px;
}

.preview-success-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  display: flex;
}

.success-message {
  text-align: center;
  color: #4caf50;
  margin: 30px 0;
  font-size: 1.2em;
}

.final-buttons {
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  display: flex;
}

.confirm-section {
  text-align: center;
  margin-top: 30px;
}

.confirm-message {
  color: #666;
  margin-bottom: 20px;
  font-size: 1em;
}

.generate-btn {
  background-color: #4caf50;
  padding: 12px 15px;
  font-size: 1em;
}

.generate-btn:hover {
  background-color: #45a049;
}

.highlight-message {
  color: #1976d2;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 40px;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.6;
}

.intro-message {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 40px;
  font-size: 1.1em;
  line-height: 1.6;
}

.top-assist-message {
  color: #334155;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  width: 100%;
  margin: 4px 0 14px;
  font-size: 1.15em;
  line-height: 1.5;
  display: grid;
}

.top-assist-message > span {
  text-align: center;
  grid-column: 2;
  justify-self: center;
}

.top-assist-back {
  color: #2196f3;
  white-space: nowrap;
  grid-column: 1;
  justify-self: start;
  font-size: .88em;
  text-decoration: none;
}

.top-assist-back:hover {
  text-decoration: none;
}

.top-assist-restart {
  cursor: pointer;
  color: #334155;
  white-space: nowrap;
  background: none;
  border: 1px solid #334155;
  border-radius: 0;
  grid-column: 3;
  justify-self: end;
  padding: 4px 12px;
  font-size: .88em;
}

.top-assist-right {
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.top-assist-restart-icon {
  cursor: pointer;
  color: #475569;
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
  display: inline-flex;
  position: relative;
}

.top-assist-restart-icon:hover {
  color: #334155;
  background: #f8fafc;
  border-color: #334155;
  transform: translateY(-1px);
}

.top-assist-restart-icon svg {
  stroke-width: 2px;
  width: 14px;
  height: 14px;
}

.top-assist-restart-icon:after {
  content: attr(data-tooltip);
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  background: #1e293b;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: inherit;
  font-size: .75rem;
  transition: opacity .15s, transform .15s;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  transform: translateY(-4px);
}

.top-assist-restart-icon:hover:after {
  opacity: 1;
  transform: translateY(0);
}

.button-group {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  display: flex;
}

.preview-btn {
  background-color: #ff9800;
}

.preview-btn:hover {
  background-color: #f57c00;
}

.summary-step {
  padding: 28px 32px 32px;
}

.summary-step__progress {
  width: 100%;
  margin-bottom: 28px;
}

.summary-step__progress-label {
  text-align: right;
  color: #64748b;
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 500;
  display: block;
}

.summary-step__progress-track {
  background: #e2e8f0;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.summary-step__progress-fill {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 999px;
  height: 100%;
  transition: width .35s;
}

.summary-step__refused {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  margin-bottom: 24px;
  padding: 14px 18px;
  font-size: .9375rem;
  line-height: 1.5;
}

.summary-step__refused div + div {
  margin-top: 6px;
}

.summary-step__title {
  color: #0f172a;
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.summary-step__subtitle {
  color: #64748b;
  margin: 0 0 24px;
  font-size: .9375rem;
  line-height: 1.5;
}

.summary-step__reminder {
  color: #92400e;
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  font-size: .9375rem;
  line-height: 1.45;
}

.summary-step__reminder--prompt-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 4px;
  margin-bottom: 10px;
  padding: 7px 12px;
  line-height: 1.35;
  display: flex;
}

.summary-step__reminder__prompt-text {
  flex: auto;
  min-width: min(100%, 200px);
}

.summary-step__prompt-toolbar {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
}

.summary-step__prompt-toolbar--in-reminder {
  flex: none;
  width: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.summary-step__form {
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  display: flex;
}

.summary-step__form--event {
  max-width: min(100%, 980px);
}

.summary-step__prompt-check-layout {
  flex-direction: row;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  display: flex;
}

.summary-step__prompt-check-layout-main {
  flex: auto;
  min-width: 0;
}

.summary-step__prompt-main-only {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}

.summary-step__prompt-main-only .summary-step__textarea, .summary-step__prompt-check-layout-main .summary-step__textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.summary-step__title--confirm {
  font-size: 1.35rem;
  line-height: 1.45;
}

.summary-step__confirm-lead {
  color: #64748b;
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.5;
}

.summary-step__confirm-list {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  max-width: min(100%, 720px);
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.summary-step__confirm-item {
  border-top: 1px solid #f1f5f9;
  padding: 12px 16px;
}

.summary-step__confirm-item:first-child {
  border-top: none;
}

.summary-step__confirm-item-label {
  color: #64748b;
  margin-bottom: 6px;
  font-size: .8125rem;
  font-weight: 600;
}

.summary-step__confirm-item-label-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.summary-step__confirm-item-label-left {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: inline-flex;
}

.summary-step__confirm-item-conflict-badge {
  color: #dc2626;
  white-space: nowrap;
  background: #fee2e2;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
}

.summary-step__confirm-item-conflict-link {
  color: #ef4444;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  font-size: .8125rem;
  font-weight: 600;
}

.summary-step__confirm-item-conflict-text {
  color: #dc2626;
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 6px;
  font-size: .84rem;
  line-height: 1.45;
}

.summary-step__confirm-item-value {
  color: #0f172a;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .9375rem;
  line-height: 1.5;
}

.conflict-page__checklist {
  background: none;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.conflict-page__checklist-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.conflict-page__checklist-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.conflict-page__checklist-label {
  color: #000;
  margin-bottom: 4px;
  font-size: .9em;
  font-weight: normal;
  display: block;
}

.conflict-page__checklist-label-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.conflict-page__checklist-conflict-meta {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.conflict-page__checklist-value {
  color: #06c;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  font-size: 1em;
  line-height: 1.45;
  display: block;
}

.conflict-page__checklist-badge {
  color: #dc2626;
  white-space: nowrap;
  background: #fee2e2;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: center;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
}

.conflict-page__checklist-ai-link {
  color: #ef4444;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .8125rem;
  font-weight: 600;
}

.conflict-page__prompt-section {
  margin-top: 4px;
}

.conflict-page__prompt-label {
  color: #64748b;
  margin-bottom: 6px;
  font-size: .875rem;
  font-weight: 600;
}

.summary-step__actions--confirm {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.summary-step__confirm--validated {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.summary-step--confirm .summary-step__confirm--validated {
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
  padding-top: 24px;
}

.summary-step__prompt-checklist {
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex: 0 0 272px;
  align-self: flex-start;
  width: 272px;
  max-width: 100%;
  padding: 12px 14px;
}

.summary-step__prompt-checklist-title {
  color: #0f172a;
  margin-bottom: 10px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.summary-step__prompt-checklist-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-step__check-item {
  border-top: 1px solid #e2e8f0;
  padding: 10px 0;
}

.summary-step__check-item:first-child {
  border-top: none;
  padding-top: 0;
}

.summary-step__check-item-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.summary-step__check-item-label {
  color: #0f172a;
  flex: auto;
  min-width: 0;
  font-size: .9375rem;
  line-height: 1.45;
}

.summary-step__check-item--guide-current {
  background: #eff6ff;
  border-radius: 8px;
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.summary-step__conflict-guide__header {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.summary-step__conflict-guide__meta {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
}

.summary-step__conflict-guide__count {
  color: #dc2626;
  font-size: .875rem;
  font-weight: 600;
}

.summary-step__conflict-guide__pending-badge {
  color: #fff;
  background: #ef4444;
  border-radius: 10px;
  flex-shrink: 0;
  padding: 2px 7px;
  font-size: .6875rem;
  font-weight: 700;
}

.summary-step__conflict-guide__item-title {
  color: #0f172a;
  text-align: left;
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.summary-step__conflict-guide__title {
  color: #0f172a;
  text-align: left;
  margin: 0 0 8px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.summary-step__conflict-guide__lead {
  color: #334155;
  text-align: left;
  margin: 0 0 8px;
  font-size: .9375rem;
  line-height: 1.5;
}

.summary-step__conflict-guide__hint {
  color: #9a3412;
  word-break: break-word;
  text-align: left;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: .9375rem;
  line-height: 1.45;
}

.summary-step__conflict-guide__hint-bold {
  color: #0f172a;
  word-break: break-word;
  margin: 0 0 10px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}

.summary-step__conflict-guide__choices {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.summary-step__conflict-guide__choice {
  text-align: left;
  color: #0f172a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  font-size: .875rem;
  line-height: 1.45;
  transition: border-color .15s, background .15s;
  display: flex;
}

.summary-step__conflict-guide__choice:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.summary-step__conflict-guide__choice--picked {
  background: #eef2ff;
  border-color: #6366f1;
}

.summary-step__conflict-guide__choice--picked .summary-step__conflict-guide__letter {
  color: #fff;
  background: #6366f1;
}

.summary-step__conflict-guide__letter {
  color: #334155;
  background: #e2e8f0;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
}

.summary-step__conflict-guide__choice-label {
  flex: 1;
  min-width: 0;
}

.summary-step__conflict-guide__nav {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.summary-step__conflict-guide__nav-btn {
  color: #334155;
  cursor: pointer;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
}

.summary-step__conflict-guide__nav-btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.summary-step__conflict-guide__nav-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.summary-step__conflict-guide__supplement {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 10px;
  display: flex;
}

.summary-step__conflict-guide__supplement-label {
  color: #475569;
  font-size: .8125rem;
  font-weight: 500;
}

.summary-step__conflict-guide__supplement-input {
  resize: none;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 100%;
  padding: 6px 8px;
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.5;
}

.summary-step__conflict-guide__supplement-input:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 2px #6366f126;
}

.summary-step__conflict-guide__supplement-btn {
  color: #fff;
  cursor: pointer;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  align-self: flex-end;
  padding: 5px 14px;
  font-size: .8125rem;
  transition: background .15s;
}

.summary-step__conflict-guide__supplement-btn:hover:not(:disabled) {
  background: #4f46e5;
}

.summary-step__conflict-guide__supplement-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.summary-step__prompt-locked-wrapper {
  position: relative;
}

.summary-step__textarea--locked {
  opacity: .35;
}

.summary-step__prompt-lock-btn {
  cursor: pointer;
  color: #475569;
  z-index: 3;
  background: #ffffffeb;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 500;
  transition: border-color .15s, background .15s;
  position: absolute;
  top: 6px;
  right: 8px;
}

.summary-step__prompt-lock-btn:hover {
  color: #4f46e5;
  background: #f5f3ff;
  border-color: #6366f1;
}

.conflict-page__main-title {
  line-height: 1.3;
  color: #0a2540 !important;
  margin-bottom: 18px !important;
  font-size: 1.75em !important;
  font-weight: 800 !important;
}

.conflict-page__right-header {
  color: #92400e;
  letter-spacing: .02em;
  margin-bottom: 10px;
  font-size: .875rem;
  font-weight: 700;
}

.conflict-page__page-title {
  letter-spacing: 0;
  color: #0a2540;
  margin-bottom: 14px;
  font-size: 1.125rem;
  font-weight: 800;
}

.summary-step__conflict-card-layout {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
  display: flex;
}

.summary-step__conflict-card-left {
  flex: 40;
  min-width: 0;
  padding-left: 8px;
}

.summary-step__conflict-chat {
  box-sizing: border-box;
  background: #fff;
  border-right: 1px solid #e2e8f0;
  flex-direction: column;
  flex: 60;
  align-self: stretch;
  min-width: 0;
  padding: 16px 24px 16px 16px;
  display: flex;
  overflow-y: auto;
}

.summary-step__conflict-chat-fallback {
  color: #64748b;
  flex: 1;
  font-size: .875rem;
}

.summary-step__conflict-manual-link {
  color: #64748b;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  margin-top: auto;
  padding-top: 12px;
  font-size: .8125rem;
  text-decoration: underline;
  display: block;
}

.summary-step__conflict-manual-link:hover {
  color: #334155;
}

.summary-step__conflict-pending-badge {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  margin-bottom: 8px;
  padding: 6px 10px;
  font-size: .8125rem;
}

.summary-step__check-badge {
  white-space: nowrap;
  border-radius: 999px;
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.summary-step__check-badge--pending {
  color: #475569;
  background: #e2e8f0;
}

.summary-step__check-badge--ok {
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  font-size: .875rem;
  line-height: 1;
}

.summary-step__check-badge--missing {
  color: #c2410c;
  background: #ffedd5;
}

.summary-step__check-resolved {
  color: #166534;
  word-break: break-word;
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.45;
}

.summary-step__check-hint {
  color: #9a3412;
  word-break: break-word;
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.45;
}

.summary-step__check-value-reserve {
  min-height: 2.35rem;
  margin-top: 6px;
}

.summary-step__prompt-checklist-footnote {
  color: #92400e;
  border-top: 1px solid #e2e8f0;
  margin: 12px 0 0;
  padding-top: 10px;
  font-size: .875rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .summary-step__prompt-check-layout {
    flex-direction: column;
  }

  .summary-step__prompt-checklist {
    flex: auto;
    width: 100%;
  }

  .summary-step__conflict-card-layout {
    flex-direction: column-reverse;
  }

  .summary-step__conflict-chat, .summary-step__conflict-card-left {
    flex: auto;
    align-self: auto;
  }
}

.summary-step__row {
  border-bottom: 1px solid #f1f5f9;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px 20px;
  padding: 14px 0;
  display: grid;
}

.summary-step__row:first-of-type {
  padding-top: 0;
}

.summary-step__row--full {
  border-bottom: none;
  grid-template-columns: 1fr;
  align-items: start;
  padding: 20px 0;
}

.summary-step__row--full .summary-step__label--block {
  margin-bottom: 2px;
}

.summary-step__label {
  color: #334155;
  font-size: .9375rem;
  font-weight: 500;
}

.summary-step__label--block {
  display: block;
}

.summary-step__clear-link {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.summary-step__clear-link:hover {
  color: #dc2626;
  background: #fef2f2;
}

.summary-step__clear-btn {
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 6px 14px;
  font-size: .875rem;
  font-weight: 500;
  display: inline-flex;
}

.summary-step__clear-btn--compact {
  padding: 5px 12px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.summary-step__control {
  min-width: 0;
}

.summary-step__control--muted {
  color: #64748b;
  font-size: .9375rem;
}

.summary-step__control--inline {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.summary-step__control--checkboxes {
  flex-wrap: wrap;
  gap: 12px 20px;
  display: flex;
}

.summary-step__button-options {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.summary-step__chip {
  color: #64748b;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 6px 14px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color .2s, background .2s, border-color .2s;
  display: inline-flex;
}

.summary-step__chip:hover {
  color: #475569;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.summary-step__chip--selected {
  color: #4a5d78;
  background: #e2ecfc;
  border-color: #93c5fd;
}

.summary-step__chip--selected:hover {
  color: #3d4f68;
  background: #d8e4fa;
  border-color: #60a5fa;
}

.summary-step__checkbox-label {
  cursor: pointer;
  color: #334155;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  display: inline-flex;
}

.summary-step__checkbox-label input {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.summary-step__input {
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 100%;
  max-width: 280px;
  padding: 10px 14px;
  font-size: .9375rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}

.summary-step__input:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px #3b82f626;
}

.summary-step__input--short, .summary-step__input--number {
  max-width: 100px;
}

.summary-step__input--template-picker {
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px;
  width: auto;
  min-width: 120px;
  max-width: 220px;
  padding: 5px 36px 5px 10px;
  font-size: .875rem;
  line-height: 1.3;
}

.summary-step__input--template-picker::-ms-expand {
  display: none;
}

.summary-step__textarea {
  color: #0f172a;
  resize: vertical;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

.summary-step__textarea:focus {
  box-shadow: none;
  border-color: #94a3b8;
  outline: none;
}

.conflict-page__prompt-textarea:focus {
  box-shadow: none;
  border-color: #cbd5e1;
  outline: none;
}

.summary-step__message {
  color: #0369a1;
  background: #f0f9ff;
  border-radius: 10px;
  margin: 16px 0;
  padding: 16px 20px;
  font-size: .9375rem;
}

.summary-step__conflict-inline {
  margin-bottom: 16px;
}

.summary-step__confirm {
  margin-top: 24px;
  padding-top: 0;
}

.summary-step__confirm-text {
  color: #64748b;
  margin: 0 0 20px;
  font-size: .875rem;
  line-height: 1.5;
}

.summary-step__actions {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  display: flex;
}

.summary-step__btn {
  min-width: 140px;
  margin: 0;
}

.summary-step__action-btn {
  text-align: center;
  width: 168px;
}

.summary-step__action-btn--restart {
  width: 144px;
  padding: 10px 18px;
  font-size: 1em;
}

.summary-step__confirm-consolidated {
  max-width: min(100%, 720px);
  margin: 0 0 18px;
}

.summary-step__confirm-consolidated-title {
  color: #0f172a;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 700;
}

.summary-step__confirm-consolidated-json {
  color: #0f172a;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  max-height: 320px;
  margin: 0;
  padding: 12px;
  font-size: .8125rem;
  line-height: 1.45;
  overflow: auto;
}

.restart-link {
  color: #2196f3;
  cursor: pointer;
  font-size: 1em;
  text-decoration: none;
  transition: -webkit-text-decoration .2s, text-decoration .2s;
}

.restart-link:hover {
  text-decoration: underline;
}

.modal-overlay {
  z-index: 1000;
  background-color: #00000080;
  position: fixed;
  inset: 0;
}

.modal-content {
  z-index: 1001;
  background-color: #fff;
  border-radius: 12px;
  flex-direction: column;
  width: 800px;
  max-width: 90%;
  max-height: calc(90vh - 100px);
  display: flex;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px #0000004d;
}

.modal-header {
  border-bottom: 1px solid #e0e0e0;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  display: flex;
}

.modal-header h2 {
  color: #1976d2;
  margin: 0;
  font-size: 1.5em;
}

.modal-close {
  color: #666;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 2em;
  line-height: 1;
  transition: color .2s;
  display: flex;
}

.modal-close:hover {
  color: #000;
}

.modal-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.debug-output {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 0;
  padding: 15px;
  font-family: Courier New, monospace;
  font-size: .9em;
  line-height: 1.5;
  overflow-x: auto;
}

.debug-post-title {
  margin-top: 1em;
  margin-bottom: .5em;
  font-size: 1em;
}

.debug-post-error {
  color: #c00;
  margin-top: .5em;
}

.modal-footer {
  border-top: 1px solid #e0e0e0;
  justify-content: flex-end;
  padding: 20px;
  display: flex;
}

.summary-step__conflict-guide__choice-wrapper {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.summary-step__conflict-guide__inline-input {
  margin-left: calc(1.5rem + 10px);
}

.summary-step__conflict-guide__choice--expanded {
  background: #eef2ff;
  border-color: #6366f1;
}

.conflict-inline-input {
  background: none;
  border: none;
  border-radius: 0;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 4px;
  padding: 0;
  display: flex;
}

.conflict-inline-input__session-row {
  border-bottom: 1px solid #e2e8f0;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  display: flex;
}

.conflict-inline-input__session-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.conflict-inline-input__session-fields {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.conflict-inline-input__label {
  color: #475569;
  flex-direction: column;
  gap: 3px;
  font-size: .8125rem;
  font-weight: 500;
  display: flex;
}

.conflict-inline-input__input {
  color: #1e293b;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: .875rem;
}

.conflict-inline-input__input--textarea {
  resize: vertical;
  border-width: 1px;
  width: 100%;
  min-height: 60px;
}

.conflict-inline-input__input--session-textarea {
  padding-left: 5px;
  font-family: Arial, sans-serif;
}

.conflict-inline-input__input:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 2px #6366f126;
}

.conflict-inline-input__remove-btn {
  color: #dc2626;
  cursor: pointer;
  background: none;
  border: none;
  align-self: flex-start;
  padding: 2px 0;
  font-size: .75rem;
}

.conflict-inline-input__remove-btn:hover {
  text-decoration: underline;
}

.conflict-inline-input__add-btn {
  color: #6366f1;
  cursor: pointer;
  background: none;
  border: none;
  align-self: flex-start;
  padding: 2px 0;
  font-size: .8125rem;
  font-weight: 500;
}

.conflict-inline-input__add-btn:hover {
  text-decoration: underline;
}

.summary-step__actions--with-conflict {
  row-gap: 12px;
  margin-top: 24px;
}

.session-preview-cards {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  display: flex;
}

.session-preview-cards__header {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.session-preview-cards__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.session-preview-cards__title {
  color: #166534;
  font-size: .9375rem;
  font-weight: 600;
}

.session-preview-cards__subtitle {
  color: #15803d;
  margin-top: 2px;
  font-size: .8125rem;
}

.session-preview-card {
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 12px;
}

.session-preview-card__header {
  color: #166534;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
}

.session-preview-card__remove {
  color: #dc2626;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: .75rem;
}

.session-preview-card__remove:hover {
  text-decoration: underline;
}

.session-preview-card__body {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.session-preview-card__field {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.session-preview-card__label {
  color: #64748b;
  font-size: .75rem;
  font-weight: 500;
}

.session-preview-card__input {
  color: #1e293b;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: .875rem;
}

.session-preview-card__input:focus {
  border-color: #22c55e;
  outline: none;
  box-shadow: 0 0 0 2px #22c55e26;
}

.session-preview-cards__add-btn {
  color: #16a34a;
  cursor: pointer;
  background: none;
  border: none;
  align-self: flex-start;
  padding: 2px 0;
  font-size: .8125rem;
  font-weight: 500;
}

.session-preview-cards__add-btn:hover {
  text-decoration: underline;
}

.session-preview-cards__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.session-preview-cards__confirm-btn {
  color: #fff;
  cursor: pointer;
  background: #16a34a;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .15s;
}

.session-preview-cards__confirm-btn:hover:not(:disabled) {
  background: #15803d;
}

.session-preview-cards__confirm-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.session-preview-cards__dismiss-btn {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  font-size: .8125rem;
  text-decoration: underline;
}

.session-preview-cards__dismiss-btn:hover {
  color: #334155;
}

.session-preview-cards__loading {
  color: #64748b;
  margin-top: 8px;
  font-size: .8125rem;
  font-style: italic;
}

.session-preview-cards__confirmed {
  color: #16a34a;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .8125rem;
  font-weight: 500;
  display: flex;
}

.session-preview-cards__reset-btn {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: .75rem;
  text-decoration: underline;
}

.confirm-funnel-all {
  background: #f5f9ff;
  border: 1px solid #d4e4f7;
  border-radius: 8px;
  margin: 0 0 16px;
  overflow: hidden;
}

.confirm-funnel-all__title {
  color: #1a4a8a;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #deeeff;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
}

.confirm-funnel-all__block {
  border-top: 1px solid #e3edf7;
  padding: 14px;
}

.confirm-funnel-all__block:first-of-type {
  border-top: none;
}

.confirm-funnel-all__block-label {
  color: #7c4a1e;
  margin-bottom: 3px;
  font-size: 1rem;
  font-weight: 700;
}

.confirm-funnel-all__block-text {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
}

.confirm-funnel-all__block-text--name {
  color: #000;
  font-size: 1rem;
}

.confirm-funnel-all__block-text--intro {
  color: #000;
}

.confirm-funnel-all__nl-list {
  color: #000;
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 1.7;
}

.confirm-funnel-all__nl-list li {
  margin-bottom: 2px;
}

.booking-wizard {
  box-sizing: border-box;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  min-height: 0;
  display: flex;
}

.booking-shell .top-assist-message {
  width: 100%;
  margin: 4px 0 14px;
}

.booking-wizard__prompt-panel, .pro-event-wizard__input-panel {
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  flex-direction: column;
  flex: 0 0 30%;
  gap: 16px;
  min-width: 0;
  padding: 28px 24px 20px;
  display: flex;
  box-shadow: 0 2px 10px #00000014;
}

.booking-wizard__prompt-title {
  color: #0a2540;
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
}

.booking-wizard__prompt-hint {
  color: #64748b;
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
}

.booking-wizard__textarea {
  color: #0f172a;
  resize: vertical;
  box-sizing: border-box;
  background: #fafafa;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.65;
  transition: border-color .2s;
}

.booking-wizard__textarea:focus {
  background: #fff;
  border-color: #2196f3;
  outline: none;
}

.booking-wizard__textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.booking-wizard__textarea::placeholder {
  color: #94a3b8;
}

.booking-wizard__prompt-footer {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.booking-wizard__prompt-shortcut {
  color: #94a3b8;
  font-size: .78rem;
}

.booking-retrieve-btn {
  min-width: 120px;
  padding: 10px 22px;
  font-size: .95rem;
}

.booking-retrieve-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.booking-wizard__confirm-panel, .pro-event-wizard__right-panel {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
}

.booking-confirm-panel {
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  min-height: 300px;
  padding: 28px 24px 24px;
  box-shadow: 0 2px 10px #00000014;
}

.booking-confirm-panel--idle {
  justify-content: center;
  align-items: center;
  display: flex;
}

.booking-confirm-panel__placeholder {
  text-align: center;
  color: #94a3b8;
  padding: 20px 0;
}

.booking-confirm-panel__placeholder-icon {
  margin-bottom: 14px;
  font-size: 2.5rem;
}

.booking-confirm-panel__placeholder p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
}

.booking-confirm-panel--loading {
  justify-content: center;
  align-items: center;
  display: flex;
}

.booking-confirm-loading {
  color: #1976d2;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  display: flex;
}

.booking-confirm-loading__spinner {
  border: 3px solid #bfdbfe;
  border-top-color: #1976d2;
  border-radius: 50%;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  animation: .85s linear infinite spin;
}

.booking-confirm-panel--error {
  justify-content: center;
  align-items: center;
  display: flex;
}

.booking-confirm-error {
  text-align: center;
  padding: 20px 0;
}

.booking-confirm-error__icon {
  margin-bottom: 10px;
  font-size: 2rem;
}

.booking-confirm-error__msg {
  color: #dc2626;
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .booking-wizard {
    flex-direction: column;
  }

  .booking-wizard__prompt-panel, .booking-wizard__confirm-panel, .booking-confirm-panel {
    flex: none;
    width: 100%;
  }
}

.event-mode-toggle-inline {
  border: 1.5px solid #2196f3;
  border-radius: 6px;
  flex-shrink: 0;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.event-mode-toggle-btn {
  color: #2196f3;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: none;
  padding: 4px 10px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background .15s, color .15s;
}

.event-mode-toggle-btn + .event-mode-toggle-btn {
  border-left: 1.5px solid #2196f3;
}

.event-mode-toggle-btn--active {
  color: #fff;
  background: #2196f3;
}

.event-mode-toggle-btn:not(.event-mode-toggle-btn--active):hover {
  background: #e8f4fd;
}

.event-mode-shell {
  --event-panel-gap: 22px;
  --event-left-panel-width: 280px;
}

.event-mode-shell .container {
  gap: var(--event-panel-gap);
}

.event-mode-shell .history-panel {
  width: var(--event-left-panel-width);
}

.pro-event-shell {
  width: 100%;
}

.pro-event-shell .top-assist-message {
  width: 100%;
  margin: 4px 0 14px;
}

.pro-event-wizard {
  box-sizing: border-box;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  display: flex;
}

.pro-event-wizard__panel-title {
  color: #0a2540;
  margin: 0 0 2px;
  font-size: 1.1rem;
  font-weight: 700;
}

.pro-wizard-panel-subtitle {
  color: #64748b;
  margin: 0 0 4px;
  font-size: .8rem;
}

.pro-event-uploader {
  text-align: center;
  cursor: pointer;
  background: #f8fbff;
  border: 2px dashed #c8d8e8;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  transition: border-color .2s, background .2s;
  display: flex;
  position: relative;
}

.pro-event-uploader:hover {
  background: #eaf4fd;
  border-color: #2196f3;
}

.pro-event-uploader--has-file {
  background: #eaf4fd;
  border-style: solid;
  border-color: #2196f3;
}

.pro-event-uploader__input {
  display: none;
}

.pro-event-uploader__icon {
  font-size: 1.5rem;
}

.pro-event-uploader__hint, .pro-event-uploader__sub {
  color: #475569;
  font-size: .875rem;
}

.pro-event-uploader__filename {
  color: #0a2540;
  word-break: break-all;
  font-size: .875rem;
  font-weight: 500;
}

.pro-event-uploader__remove {
  color: #ef4444;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: inherit;
  font-size: .8rem;
}

.pro-event-uploader__remove:hover {
  background: #fee2e2;
}

.pro-event-wizard__prompt-section {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.pro-event-wizard__prompt-label {
  color: #0a2540;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .pro-event-wizard {
    flex-direction: column;
  }

  .pro-event-wizard__input-panel, .pro-event-wizard__right-panel {
    flex: none;
    width: 100%;
  }
}

/*# sourceMappingURL=app_globals_71f961d1.css.map*/