/* The simpler interfaces share the expert workspace's input and chat components. */
.guidedogs-flow { max-width: 1200px; margin: 2rem auto; border: 1px solid #dedbd4; border-radius: 1rem; box-shadow: 0 8px 30px #263b3108; }
.guidedogs-simple { max-width: 850px; }
.guidedogs-rinty-intro { width: 88px; height: auto; flex: 0 0 auto; border-radius: .7rem; }
.guidedogs-simple .guidedogs-workspace-intro { flex-basis: 16rem; }
.guidedogs-simple .guidedogs-quick-start .guidedogs-workspace-allowance { margin: .85rem 0 0; text-align: left; color: #56665d; }
.guidedogs-simple .guidedogs-workspace-allowance a { display: inline; }
.guidedogs-flow [hidden] { display: none !important; }
.guidedogs-flow .guidedogs-workspace-header { padding: 1.5rem 2rem; border-radius: 1rem 1rem 0 0; }
.guidedogs-flow .guidedogs-workspace-header h1 { font-size: 1.8rem; }
.guidedogs-flow .guidedogs-workspace-allowance { font-size: .8rem; }
.guidedogs-flow .guidedogs-stage-heading { padding: 1.5rem 2rem 0; }
.guidedogs-flow .guidedogs-stage-heading h2, .guidedogs-rinty-heading h2 { font-size: 1.3rem; margin: 0 0 .5rem; }
.guidedogs-flow .guidedogs-stage-heading p { color: #56665d; margin: 0 0 1rem; }
.guidedogs-flow .guidedogs-quick-start { border: 0; background: transparent; padding: 1rem 2rem 2rem; }
.guidedogs-flow .guidedogs-website-row { align-items: stretch; }
.guidedogs-flow .guidedogs-website-row .form-control { flex-basis: 100%; width: 100%; padding: .9rem 1rem; }
.guidedogs-flow .guidedogs-website-actions { flex-wrap: wrap; width: 100%; }
.guidedogs-flow .guidedogs-website-actions .btn { padding: .7rem 1.1rem; }
.guidedogs-flow .guidedogs-restart-button { margin-left: auto; }
.guidedogs-context-field { margin-top: 1.5rem; }
.guidedogs-flow .guidedogs-continue { margin-top: 1.25rem; }
.guidedogs-context-field label span { font-weight: 400; color: #56665d; }
.guidedogs-context-field textarea { resize: vertical; min-height: 7rem; }
.guidedogs-flow .guidedogs-steps { padding: 1rem 2rem; background: #eef5f2; border-block: 1px solid #dedbd4; }
.guidedogs-steps ol { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0; }
.guidedogs-steps li { flex: 1; }
.guidedogs-steps button { border: 0; background: transparent; color: #345047; padding: .4rem 0; display: flex; align-items: center; gap: .65rem; font-weight: 600; text-align: left; }
.guidedogs-steps button:disabled { color: #68766d; }
.guidedogs-steps button span { border: 1px solid currentColor; border-radius: 50%; min-width: 2rem; height: 2rem; display: grid; place-items: center; }
.guidedogs-steps [aria-current="step"] { color: #126879; }
.guidedogs-steps [aria-current="step"] span { background: #126879; border-color: #126879; color: white; }
.guidedogs-dog-category { border: 0; padding: 1rem 2rem; margin: 0; min-width: 0; }
.guidedogs-dog-category legend { float: none; width: auto; margin-bottom: .8rem; font-size: 1.1rem; font-weight: 700; color: #263b31; }
.guidedogs-dog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.guidedogs-dog-card { border: 2px solid #e0e5e0; border-radius: .8rem; overflow: hidden; cursor: pointer; background: #fff; color: #263b31; margin: 0; }
.guidedogs-dog-card:has(input:checked) { border-color: #126879; box-shadow: 0 0 0 1px #126879; }
.guidedogs-dog-card:focus-within { outline: 3px solid #126879; outline-offset: 3px; }
.guidedogs-dog-portrait { position: relative; background: #edf2ee; }
.guidedogs-dog-portrait img { display: block; width: 100%; height: auto; }
.guidedogs-dog-portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #edf2ee; opacity: 0; pointer-events: none; transition: opacity .18s; }
.guidedogs-dog-portrait video.is-playing { opacity: 1; }
.guidedogs-dog-portrait input { position: absolute; top: .7rem; right: .7rem; z-index: 1; width: 1.5rem; height: 1.5rem; accent-color: #126879; }
.guidedogs-dog-initial { display: grid; place-items: center; aspect-ratio: 1; font-size: 3rem; color: #126879; }
.guidedogs-dog-card-copy { padding: 1rem; }
.guidedogs-dog-card-copy h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.guidedogs-dog-card-copy p { margin: 0; font-size: .85rem; line-height: 1.5; }
.guidedogs-dog-card-copy .guidedogs-dog-introduction { margin-top: .7rem; white-space: pre-line; overflow-wrap: anywhere; color: #56665d; }
.guidedogs-stage-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.5rem 2rem; }
.guidedogs-wizard .guidedogs-chat-layout { grid-template-columns: minmax(0, var(--guidedogs-chat-width, 1fr)) 14px minmax(0, var(--guidedogs-description-width, 1fr)); border-block: 1px solid #dedbd4; }
.guidedogs-wizard .guidedogs-description-pane { grid-column: 3; border-left: 0; }
.guidedogs-resizer { grid-column: 2; grid-row: 1; cursor: col-resize; background: #edf2ee; display: grid; place-items: center; color: #126879; touch-action: none; user-select: none; }
.guidedogs-resizer:hover, .guidedogs-resizer:focus-visible { background: #cce1d8; outline: 2px solid #126879; outline-offset: -2px; }
.guidedogs-wizard .guidedogs-description-draft > textarea { min-height: 26rem; }
.guidedogs-wizard .guidedogs-composer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(4.5rem, 1fr); gap: .8rem; align-items: stretch; }
.guidedogs-wizard .guidedogs-composer textarea { min-width: 0; width: 100%; margin: 0; min-height: 9rem; }
.guidedogs-wizard .guidedogs-composer-toolbar { padding: 0; min-width: 0; align-items: stretch; }
.guidedogs-wizard .guidedogs-composer-controls { width: 100%; flex-direction: column; justify-content: space-between; gap: .7rem; }
.guidedogs-wizard .guidedogs-reasoning-control { width: 100%; flex-direction: column; align-items: stretch; gap: .3rem; }
.guidedogs-wizard .guidedogs-reasoning-control span { display: block; }
.guidedogs-wizard .guidedogs-reasoning-control select { width: 100%; min-width: 0; }
.guidedogs-wizard .guidedogs-send-button { width: 100%; height: 3.5rem; min-height: 3.5rem; border-radius: .7rem; }
.guidedogs-wizard .guidedogs-send-button svg { width: 1.5rem; height: 1.5rem; }
.guidedogs-wizard .guidedogs-question-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.guidedogs-simple-result { border-top: 1px solid #dedbd4; }
.guidedogs-result-image { margin: 1.5rem 2rem 0; padding: 1rem; border-radius: .7rem; background: #eef5f2; }
.guidedogs-result-image img { display: block; max-width: 100%; max-height: 20rem; width: auto; height: auto; margin: auto; object-fit: contain; }
.guidedogs-simple-status { margin: 1rem 2rem; color: #56665d; }
.guidedogs-rinty-heading { display: flex; align-items: center; gap: .9rem; padding: 1.5rem 2rem 0; }
.guidedogs-rinty-heading img { border-radius: 50%; object-fit: cover; }
.guidedogs-rinty-heading p { font-size: .8rem; color: #56665d; margin: 0 0 .2rem; }
.guidedogs-rinty-heading h2 { margin: 0; }
.guidedogs-finished-description { white-space: pre-wrap; overflow-wrap: anywhere; color: #263b31; line-height: 1.8; padding: 1.5rem 2rem 2rem; font-size: 1.05rem; }
.guidedogs-flow .guidedogs-share-form { padding: 1.5rem 2rem; }
.guidedogs-simple-result .guidedogs-stage-actions { border-top: 1px solid #dedbd4; }
.guidedogs-copy-options { padding: 0 2rem 1.5rem; }
.guidedogs-copy-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.guidedogs-copy-options summary { cursor: pointer; color: #126879; }
.guidedogs-copy-options label { display: block; font-size: .85rem; margin: .75rem 0; }
.guidedogs-copy-options textarea { width: 100%; padding: .75rem; border: 1px solid #ceded5; border-radius: .4rem; background: #f7faf8; color: #263b31; font: .85rem/1.6 monospace; resize: vertical; }
.guidedogs-simple .guidedogs-image-preview-trigger { pointer-events: none; cursor: default; }
.guidedogs-simple .guidedogs-image-enlarge-label { display: none; }
@media (max-width: 767.98px) {
  .guidedogs-flow { margin: 1rem .5rem; }
  .guidedogs-flow .guidedogs-workspace-header, .guidedogs-flow .guidedogs-quick-start, .guidedogs-flow .guidedogs-share-form, .guidedogs-stage-actions, .guidedogs-finished-description { padding: 1.2rem; }
  .guidedogs-flow .guidedogs-stage-heading, .guidedogs-rinty-heading { padding: 1.2rem 1.2rem 0; }
  .guidedogs-result-image { margin: 1.2rem 1.2rem 0; }
  .guidedogs-simple-status { margin: 1rem 1.2rem; }
  .guidedogs-copy-options { padding: 0 1.2rem 1.2rem; }
  .guidedogs-flow .guidedogs-steps { padding: .8rem; }
  .guidedogs-steps ol { gap: .4rem; }
  .guidedogs-steps button { flex-direction: column; font-size: .8rem; text-align: center; width: 100%; }
  .guidedogs-dog-category { padding: .8rem 1.2rem; }
  .guidedogs-dog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .guidedogs-dog-card-copy { padding: .7rem; }
  .guidedogs-resizer { display: none; }
  .guidedogs-wizard .guidedogs-description-draft > textarea { min-height: 16rem; }
}
@media (prefers-reduced-motion: reduce) { .guidedogs-dog-portrait video { display: none; } }
