.guided-hero {
  padding-block: clamp(40px, 5.4vw, 78px);
  background: radial-gradient(ellipse at 14% 8%, #45251d 0%, transparent 44%), #141315;
}
.guided-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(26px, 4.7vw, 68px); align-items: start; }
.guided-intro { min-width: 0; padding-top: 6px; }
.guided-intro h1 { font-size: clamp(3.2rem, 6.1vw, 5.65rem); letter-spacing: -.07em; line-height: .99; font-weight: 790; text-wrap: initial; }
.guided-intro h1 em { display: block; color: #ff8962; font-style: normal; }
.guided-lede { max-width: 41ch; margin-top: 22px; color: #e1d6d0; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.55; }
.guided-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 20px; font-size: .84rem; }
.guided-links a { color: #f5c2ad; text-decoration: none; }
.guided-links a:hover { text-decoration: underline; }
.guided-links strong { color: var(--white); margin-right: 5px; }
.guided-photo { position: relative; isolation: isolate; overflow: hidden; margin-top: 24px; border: 1px solid #6d5043; border-radius: 12px; }
.guided-photo img { width: 100%; height: clamp(130px, 15vw, 210px); object-fit: cover; object-position: 52% 45%; }
.guided-photo::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(0deg, #131113c2, transparent 65%); content: ""; }
.guided-photo figcaption { position: absolute; z-index: 1; display: flex; gap: 9px; align-items: center; bottom: 10px; left: 10px; background: #171619; color: var(--white); padding: 7px 10px; border: 1px solid #ffffff35; border-radius: 7px; line-height: 1.35; }
.guided-photo figcaption small { display: block; color: #c9bfba; font-size: .65rem; }
.guided-photo figcaption strong { display: block; font-size: .8rem; }
.mini-tick { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; color: #a0e5b7; background: #234431; border-radius: 50%; font-size: .75rem; font-weight: 800; }

.guide-panel { min-width: 0; color: #252226; background: #fffcf8; border: 1px solid #e5d1c5; border-radius: 16px; box-shadow: 0 20px 56px #0004; }
.guide-panel :is(button, a, input, [tabindex]):focus-visible { outline-color: #9c361a; }
.guide-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 15px clamp(14px, 2.7vw, 27px); }
.guide-identity { display: flex; align-items: center; gap: 10px; }
.guide-identity img { width: 40px; height: 40px; border-radius: 10px; }
.guide-identity div { display: grid; gap: 2px; line-height: 1.2; }
.guide-identity strong { font-size: 1rem; }
.guide-identity span { color: #665956; font-size: .74rem; }
.guide-human { color: #842e16; font-size: .8rem; font-weight: 730; text-decoration: none; }
.guide-human:hover { text-decoration: underline; }
.guide-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #f2eae4; border-block: 1px solid #e2d7ce; padding-inline: clamp(10px, 2.2vw, 22px); }
.guide-steps button { position: relative; min-height: 42px; min-width: 0; padding: 5px; border: 0; background: transparent; color: #615451; font-size: .77rem; line-height: 1.2; font-weight: 690; }
.guide-steps button[aria-current="step"] { color: #883014; }
.guide-steps button[aria-current="step"]::after { position: absolute; inset: auto 12% 0; height: 2px; background: #b4401c; content: ""; }
.guide-steps button:disabled { color: #746765; cursor: default; }
.guide-steps button:not(:disabled):hover { background: #ebe0d8; }
.guide-stage { padding: clamp(15px, 2.6vw, 28px); }
.guide-no-script { padding: 15px 24px; }
.guide-title { padding: 0; font-family: var(--display-font); font-size: clamp(1.55rem, 2.7vw, 2.25rem); font-weight: 780; letter-spacing: -.044em; line-height: 1.11; }
.guide-copy { margin-top: 7px; color: #554c4b; font-size: .91rem; line-height: 1.45; max-width: 60ch; }
.issue-fieldset, .workspace-modules { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.issue-option { display: flex; align-items: flex-start; min-height: 70px; gap: 8px; padding: 11px 9px; border: 1px solid #dfd4cd; background: #fffdfb; border-radius: 8px; cursor: pointer; }
.issue-option:hover, .issue-option:has(input:checked) { background: #fff0e7; border-color: #bb4d29; }
.issue-option input, .workspace-editor input[type="checkbox"] { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #a23718; flex: 0 0 auto; }
.issue-option strong, .issue-option small { display: block; line-height: 1.3; }
.issue-option strong { font-size: .86rem; }
.issue-option small { margin-top: 4px; color: #665955; font-size: .73rem; }
.issue-wide { grid-column: 1 / -1; min-height: 54px; }
.guide-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.guide-panel .button { min-height: 40px; padding: 9px 13px; font-size: .83rem; }
.guide-panel .button:disabled { opacity: .62; cursor: wait; }
.guide-panel .guide-secondary { color: #402820; border-color: #aa968a; background: #fffaf6; }
.guide-panel .guide-secondary:hover { background: #f2e9e1; border-color: #92796c; }
.guide-error, .guide-status, .guide-chat-status { margin-top: 7px; font-size: .79rem; line-height: 1.35; color: #8c3018; }
.guide-status { color: #493a35; }
:is(.guide-error, .guide-status, .guide-chat-status):empty { display: none; }
.guide-fine { margin-top: 10px; color: #615450; font-size: .76rem; line-height: 1.48; }
.guide-fine a { color: #842e16; font-weight: 690; }

.guide-chat { padding: 13px clamp(14px, 2.7vw, 27px) 17px; border-top: 1px solid #e6d9cf; border-radius: 0 0 16px 16px; background: #f5eee8; }
.guide-prompts, .guide-action-list { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-prompts button, .guide-action-list :is(button, a) { min-height: 32px; padding: 5px 8px; border: 1px solid #cbb8ac; border-radius: 6px; background: #fffcf8; color: #53413a; font-size: .72rem; font-weight: 650; line-height: 1.2; text-decoration: none; }
.guide-prompts button:hover, .guide-action-list :is(button, a):hover { border-color: #ae4c2c; background: #ffede2; }
.guide-action-list:not(:empty) { margin-bottom: 10px; }
.guide-action-list :is(button, a) { display: inline-flex; align-items: center; min-height: 36px; border-color: #ad4927; color: #812b14; }
.guide-form { display: flex; gap: 7px; margin-top: 9px; }
.guide-form input, .guide-fields :is(input:not([type="file"], [type="color"]), textarea), .quick-input {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #aa978c;
  border-radius: 7px;
  background: #fffdfa;
  color: #282225;
  font-size: .89rem;
}
.guide-form input { flex: 1; }
.guide-form input::placeholder { color: #6d615d; }
.guide-history { max-height: 230px; overflow-y: auto; display: grid; gap: 8px; padding: 1px 1px 9px; }
.guide-bubble { width: fit-content; max-width: min(92%, 66ch); padding: 9px 11px; border: 1px solid #decabf; border-radius: 8px; color: #342926; background: #fffdfb; font-size: .87rem; line-height: 1.45; overflow-wrap: anywhere; }
.guide-bubble.user { margin-left: auto; background: #f4dacf; border-color: #e5b8a6; }
.guide-bubble strong { display: block; margin-bottom: 2px; color: #843016; font-size: .71rem; }

.recommend-list { display: grid; gap: 7px; margin-top: 14px; }
.recommend-item { padding: 11px 12px; border: 1px solid #e5d8d0; border-left: 3px solid #ce613e; border-radius: 6px; }
.recommend-item h3, .guide-plan h3, .guide-review h3, .editor-card h3 { font-size: 1.17rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.recommend-item p, .guide-plan p:not(.plan-price) { color: #554846; font-size: .83rem; line-height: 1.43; margin-top: 4px; }
.recommend-item a { color: #863017; font-size: .76rem; font-weight: 720; }

.guide-plan { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 15px; padding: 13px; background: #fff1e7; border: 1px solid #e0bba9; border-radius: 8px; }
.plan-price { display: grid; text-align: right; flex-shrink: 0; line-height: 1.08; }
.plan-price strong { color: #963715; font-size: 1.8rem; letter-spacing: -.06em; }
.plan-price span { color: #55433c; font-size: .72rem; }
.guide-price-options { margin-top: 12px; color: #554846; font-size: .83rem; line-height: 1.45; }
.guide-price-options summary { cursor: pointer; color: #842e16; font-weight: 730; }
.guide-price-options p { margin-top: 7px; }
.guide-maths { display: flex; align-items: end; justify-content: space-between; gap: 8px 14px; margin-top: 14px; }
.guide-maths label, .guide-fields label { display: grid; gap: 4px; font-weight: 710; font-size: .82rem; line-height: 1.3; }
.guide-maths label > span:not(.quick-input), .guide-fields label > span { color: #615450; font-weight: 500; font-size: .72rem; }
.quick-input { display: flex; align-items: center; gap: 6px; width: 120px; padding: 4px 8px; }
.quick-input input { padding-block: 4px; border: 0; width: 100%; min-width: 0; background: transparent; }
.guide-maths output { width: min(100%, 205px); padding: 6px 9px; border-radius: 6px; background: #e9f2e8; color: #2e4a35; font-weight: 740; font-size: .86rem; line-height: 1.35; }
.guide-fields { display: grid; gap: 10px; margin-top: 13px; }
.guide-fields input { max-width: 100%; }
.guide-review { margin-top: 14px; padding: 13px; border: 1px solid #e2c8ba; background: #fff4eb; border-radius: 8px; }
.checkout-tag, .workspace-status { margin-bottom: 5px; color: #8b351c; font-size: .73rem; font-weight: 760; }
.guide-review dl { margin-top: 9px; }
.guide-review dl div { display: flex; justify-content: space-between; gap: 10px; padding-block: 4px; border-bottom: 1px solid #e2c8ba; font-size: .84rem; }
.guide-review dd { flex: 0 0 auto; font-weight: 730; }

.guided-grid[data-stage="workspace"] { grid-template-columns: minmax(0, 1fr); }
.guided-grid[data-stage="workspace"] .guided-intro { display: none; }
.workspace-heading { display: flex; justify-content: space-between; align-items: start; gap: 10px 18px; flex-wrap: wrap; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: start; gap: clamp(12px, 3.3vw, 34px); margin-top: 17px; }
.workspace-editor { display: grid; gap: 11px; min-width: 0; }
.editor-card { padding: 15px; border: 1px solid #ded2c9; border-radius: 8px; background: #fffdfa; }
.brand-edit-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; }
.brand-edit-row input[type="color"] { width: 58px; height: 38px; padding: 2px; border: 1px solid #ad9a90; border-radius: 6px; background: #fffaf6; }
.brand-edit-row input[type="file"] { width: 100%; font-size: .74rem; }
.workspace-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.workspace-modules legend { margin-bottom: 5px; padding: 0; font-size: .83rem; font-weight: 740; }
.workspace-modules label, .launch-card label { display: flex; align-items: start; gap: 7px; font-size: .81rem; line-height: 1.35; cursor: pointer; }
.launch-card label { margin-top: 8px; }
.launch-card .button { margin-top: 9px; }
.admin-actions { margin-top: 3px; }
.demo-admin { margin-top: 17px; }
.demo-admin .guide-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-customers { margin-top: 12px; padding: 0; list-style: none; }
.demo-customers:empty { display: none; }
.demo-customers li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px 0; border-top: 1px solid #e5d8d0; font-size: .86rem; }
.plain-action { width: fit-content; padding: 4px 0; border: 0; background: transparent; color: #852d14; text-decoration: underline; font-weight: 700; font-size: .8rem; }
.phone-display { display: grid; justify-items: center; padding: clamp(11px, 2.4vw, 25px); border-radius: 12px; background: radial-gradient(ellipse at 95% 0, #674032, transparent 65%), #211c20; }
.phone-mock { --brand-colour: #bf411b; width: min(100%, 315px); min-height: 389px; display: grid; grid-template-rows: auto auto 1fr auto; padding: 9px; border: 3px solid #151315; border-radius: 22px; color: #272326; background: #fffdfb; box-shadow: 0 9px 25px #0005; }
.phone-top, .phone-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; padding: 5px 3px 9px; color: #615554; font-size: .67rem; font-weight: 650; }
.phone-footer { padding-block: 9px 3px; border-top: 1px solid #ece1db; }
.phone-brand { display: grid; justify-items: start; gap: 3px; padding: 12px; background: #f4eae4; border-top: 5px solid var(--brand-colour); border-radius: 9px; }
.phone-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 7px; }
.phone-brand strong { max-width: 100%; color: #251e20; overflow-wrap: anywhere; line-height: 1.16; font-size: 1.2rem; }
.phone-brand p { color: #5b4e4c; font-size: .77rem; line-height: 1.4; overflow-wrap: anywhere; }
.phone-content { padding: 10px 2px; }
.phone-content h3 { font-size: 1rem; }
.phone-content p { margin-top: 3px; color: #5b4e4c; font-size: .76rem; line-height: 1.4; }
.phone-actions { display: grid; gap: 5px; margin-top: 8px; }
.phone-actions button { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 34px; padding: 5px 7px; border: 1px solid #e5d7ce; border-left: 3px solid var(--brand-colour); border-radius: 5px; background: #fffdf9; color: #362722; text-align: left; font-weight: 680; font-size: .75rem; }
.phone-actions button:hover { background: #f6e9e2; }
.phone-actions ol { padding-left: 1.35rem; font-size: .77rem; }
.phone-back { margin-top: 8px; }

@media (max-width: 850px) {
  .guided-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .guided-intro h1 { font-size: clamp(2.55rem, 7.4vw, 4.7rem); }
  .guided-intro h1 em { display: inline; }
  .guided-photo { display: none; }
  .guided-lede { margin-top: 12px; max-width: 60ch; }
  .guided-links { margin-top: 12px; }
}
@media (max-width: 570px) {
  .guided-hero { padding-block: 29px 37px; }
  .guide-steps button { font-size: .7rem; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-admin .guide-fields { grid-template-columns: minmax(0, 1fr); }
  .phone-display { grid-row: 1; }
  .issue-option { min-height: 75px; padding: 8px 7px; gap: 6px; }
  .issue-option strong { font-size: .78rem; }
  .issue-option small { font-size: .68rem; }
  .guide-panel .button { min-height: 42px; }
  .guide-form input, .guide-fields input:not([type="file"], [type="color"]), .quick-input input { font-size: 16px; }
}
@media (max-width: 360px) {
  .guide-maths { flex-direction: column; align-items: start; }
  .workspace-modules { grid-template-columns: minmax(0, 1fr); }
}

#workspace-guide-slot .guide-chat { margin-top: 13px; border: 1px solid #e5d6cb; border-radius: 8px; }
#workspace-guide-slot .guide-history { max-height: 150px; }
