/* Conversation workspace — testhtml tokens, not prototype paper. */

.conversation-kicker {
  margin: 0 0 0.75rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5AADA5;
}

.conversation-intro {
  padding: 8.5rem 0 2.75rem;
  background: #F5FAF9;
}

.conversation-intro-grid,
.conversation-desk-grid,
.conversation-perspective-grid,
.conversation-boundary-grid {
  display: grid;
  gap: 2rem;
}

.conversation-heading {
  margin: 0 0 1rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.05;
  color: #183957;
}

.conversation-lead {
  margin: 0;
  max-width: 38rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #667783;
}

.conversation-human {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 2px solid #5AADA5;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #183957;
}

.conversation-human small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #667783;
}

.conversation-desk {
  padding: 0 0 4.5rem;
  background: #F5FAF9;
}

.conversation-sheet {
  min-width: 0;
  padding: 2.15rem 2rem 1.9rem;
  background: #fff;
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px rgba(24, 57, 87, 0.08);
}

.conversation-sheet h2,
.conversation-sheet h3 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #183957;
}

.conversation-sheet section {
  padding: 0;
}

.conversation-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid #dde6e3;
}

.conversation-sheet-title {
  margin: 0.4rem 0 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.05rem;
  font-weight: 400;
  line-height: 1.15;
  color: #183957;
}

.conversation-local {
  margin: 0;
  text-align: right;
  color: #667783;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.conversation-empty {
  padding: 1.65rem 0 0.35rem;
}

.conversation-empty[hidden] {
  display: none;
}

.conversation-empty h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.conversation-empty p,
.conversation-sheet-foot p {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #667783;
}

.conversation-note-groups {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.conversation-note-groups:empty {
  display: none;
  margin: 0;
}

.conversation-group {
  margin: 0;
  padding: 0;
}

.conversation-group-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.15rem;
  color: #667783;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-group-count {
  color: #5AADA5;
  letter-spacing: 0.04em;
}

.conversation-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid #dde6e3;
}

.conversation-item h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.conversation-item p {
  margin: 0.3rem 0 0;
  color: #667783;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.78rem;
  line-height: 1.45;
}

.conversation-item button {
  align-self: start;
  margin-top: 0.15rem;
  border: 0;
  padding: 0;
  color: #5AADA5;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.82rem;
  cursor: pointer;
}

.conversation-item button:hover,
.conversation-item button:focus {
  color: #183957;
}

.conversation-words {
  display: block;
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 0;
  border-radius: 1rem;
  background: #F3F8F6;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.92rem;
  color: #183957;
}

.conversation-words textarea {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  padding: 0;
  resize: vertical;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #183957;
}

.conversation-words textarea:focus {
  outline: none;
}

.conversation-sheet-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dde6e3;
}

.conversation-clear {
  flex-shrink: 0;
  border: 0;
  padding: 0;
  color: #5AADA5;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
}

.conversation-handoff {
  min-width: 0;
  background: #183957;
  color: #fff;
  box-shadow: 0 18px 40px rgba(24, 57, 87, 0.18);
}

.handoff-head,
.handoff-panel,
.handoff-form {
  padding: 1rem 1.25rem;
}

.handoff-head {
  background: #1e486c;
}

.handoff-title {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.handoff-panel,
.handoff-form {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.handoff-summary,
.handoff-form-missing {
  margin: 0;
  color: #8fd4cd;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.handoff-client-error {
  margin: 0.75rem 0 0;
  color: #f3c9c2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.conversation-handoff .wpcf7 {
  margin: 0;
}

.conversation-handoff .wpcf7 form {
  margin: 0;
}

.handoff-legend {
  margin: 0;
  color: #8fd4cd;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-handoff .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.conversation-handoff .wpcf7-list-item {
  margin: 0;
}

.conversation-handoff .wpcf7-list-item label {
  display: block;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #d6e2e8;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.88rem;
  cursor: pointer;
}

.conversation-handoff .wpcf7-list-item input {
  margin-right: 0.45rem;
}

.conversation-handoff .wpcf7-list-item input:checked + .wpcf7-list-item-label,
.conversation-handoff .wpcf7-list-item:has(input:checked) label {
  background: #fff;
  color: #183957;
}

.handoff-fields {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.7rem;
}

.handoff-field {
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #d6e2e8;
  font-size: 0.75rem;
}

.handoff-field[hidden] {
  display: none;
}

.handoff-field .handoff-input,
.handoff-field input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  padding: 0.15rem 0;
  color: #fff;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.95rem;
}

.handoff-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.handoff-field input:focus {
  outline: none;
}

.handoff-optional[hidden] {
  display: none;
}

.handoff-optional-toggle {
  display: inline-block;
  margin-top: 0.75rem;
  border: 0;
  padding: 0;
  color: #8fd4cd;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.82rem;
  cursor: pointer;
}

.handoff-optional-toggle:hover,
.handoff-optional-toggle:focus {
  color: #fff;
}

.handoff-consent-list {
  margin-top: 0.75rem;
  color: #b9cad4;
  font-size: 0.78rem;
  line-height: 1.4;
}

.handoff-consent-list .wpcf7-acceptance {
  display: block;
  margin: 0.35rem 0 0;
}

.handoff-consent-list a {
  color: #8fd4cd;
  text-decoration: underline;
}

.conversation-handoff .handoff-submit,
.conversation-handoff input.wpcf7-submit {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 28px;
  background: #5AADA5;
  color: #183957;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.95rem;
  cursor: pointer;
}

.conversation-handoff .wpcf7-not-valid-tip {
  color: #f3c9c2;
  font-size: 0.75rem;
}

.conversation-handoff .wpcf7-response-output,
.handoff-response {
  margin-top: 0.85rem;
  color: #d6e2e8;
  font-size: 0.82rem;
  line-height: 1.5;
}

.conversation-handoff .wpcf7 form.sent .wpcf7-response-output {
  color: #8fd4cd;
}

.conversation-handoff .wpcf7 form.failed .wpcf7-response-output,
.conversation-handoff .wpcf7 form.invalid .wpcf7-response-output {
  color: #f3c9c2;
}

.conversation-handoff .wpcf7-spinner {
  display: none;
}

.conversation-perspective {
  padding: 4.5rem 0;
  background: #e7f3f1;
}

.conversation-perspective-title {
  margin: 0.5rem 0 1rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.05;
  color: #183957;
}

.conversation-perspective > .container > div > p:last-child {
  margin: 0;
  color: #667783;
  line-height: 1.65;
}

.conversation-reply {
  background: #fff;
  padding: 1.6rem;
  box-shadow: 0 12px 32px rgba(24, 57, 87, 0.08);
}

.conversation-reply-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(24, 57, 87, 0.12);
  color: #5AADA5;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-reply-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(24, 57, 87, 0.1);
}

.conversation-reply-row b {
  color: #5AADA5;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversation-reply-row span {
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  color: #183957;
}

.conversation-boundary {
  padding: 3.25rem 0 4.5rem;
  background: #fff;
}

.conversation-boundary article h3 {
  margin: 0.4rem 0 0.7rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #183957;
}

.conversation-boundary article p:last-child {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #667783;
}

@media (min-width: 992px) {
  .conversation-intro-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 3rem;
  }

  .conversation-desk-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
    align-items: start;
    gap: 1.5rem;
  }

  .conversation-note-groups:has(> .conversation-group:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2.25rem;
  }

  .conversation-handoff {
    position: sticky;
    top: 6.5rem;
  }

  .admin-bar .conversation-handoff {
    top: calc(6.5rem + 32px);
  }

  .conversation-perspective-grid,
  .conversation-boundary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .conversation-boundary-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }

  .conversation-boundary article {
    padding: 0 1.5rem;
    border-left: 1px solid rgba(24, 57, 87, 0.12);
  }

  .conversation-boundary article:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 991px) {
  .conversation-local {
    text-align: left;
  }

  .conversation-sheet-head,
  .conversation-sheet-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 782px) {
  .admin-bar .conversation-handoff {
    top: calc(6.5rem + 46px);
  }
}

@media (max-width: 600px) {
  .conversation-heading {
    font-size: 2.1rem;
  }

  .conversation-reply-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .conversation-handoff .wpcf7-radio {
    grid-template-columns: 1fr;
  }
}
