.demo-example {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: #f3f6ee;
  border-radius: 12px;
  margin-bottom: 20px;
}
.demo-example-art {
  width: 115px;
  flex-shrink: 0;
}
.demo-example h3 {
  font-size: 1.25rem;
  margin: 10px 0;
}
.demo-example p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}
.demo-upload {
  border: 1.5px dashed var(--control-line);
  border-radius: 12px;
  padding: 25px;
  margin: 24px 0;
  background: var(--canvas);
}
.demo-upload h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.demo-upload > p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.demo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.demo-file-input:focus-visible + label,
.demo-upload:has(.demo-file-input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.demo-capture {
  display: flex;
  gap: 20px;
  margin: 16px 0;
}
.demo-capture label {
  cursor: pointer;
}
.demo-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.demo-media-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  min-width: 0;
}
.demo-media-item img,
.demo-media-item video {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 5px;
}
.demo-media-item span {
  display: block;
  font-size: 0.8125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 6px;
}
.demo-media-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}
.demo-media-item button {
  font-size: 0.875rem;
  margin-top: 6px;
}
.demo-inventory-row {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.demo-inventory-row:first-child {
  padding-top: 0;
}
.demo-item-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 110px;
  gap: 12px;
}
.demo-item-fields .field {
  margin-bottom: 6px;
}
.demo-item-fields .field > span {
  font-size: 1rem;
}
.demo-item-fields input,
.demo-item-fields select {
  min-height: 50px;
  padding: 10px;
  max-width: 100%;
}
.demo-item-fields select {
  padding-right: 28px;
  background-position: right 11px center;
}
.demo-inventory-row > .text-button {
  font-size: 0.875rem;
}
.demo-inventory + button {
  margin: 17px 0;
}
.demo-questions {
  background: #f5f7f2;
  border-radius: 9px;
  padding: 18px 20px;
  margin: 22px 0;
}
.demo-questions h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.demo-questions ul {
  padding-left: 19px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.demo-questions li {
  padding: 4px 0;
}
.demo-check {
  margin-top: 25px !important;
  align-items: flex-start !important;
}
.demo-check input {
  margin-top: 3px !important;
}
.demo-section-title {
  font-size: 1.2rem;
  margin: 30px 0 17px;
  letter-spacing: -0.025em;
}
.demo-price-head {
  text-align: center;
  padding: 12px 0 22px;
}
.demo-price-head h2 {
  font-size: 3.7rem;
  margin: 16px 0 10px;
  letter-spacing: -0.06em;
}
.demo-price-head > p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}
.demo-price-details {
  border-block: 1px solid var(--line);
  padding: 17px 0;
  margin: 23px 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.demo-price-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}
.demo-price-details p {
  margin: 14px 0 8px;
}
.demo-slot-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0;
  padding: 0;
  margin: 0;
  gap: 12px;
}
.demo-slot-options legend {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.demo-slot-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--control-line);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  cursor: pointer;
}
.demo-slot-options label:has(input:checked) {
  background: var(--pale);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.demo-slot-options input {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
}
.demo-journey-list {
  padding-left: 21px;
  display: grid;
  gap: 15px;
  font-size: 0.9375rem;
}
.demo-summary-note {
  padding-top: 21px;
  margin-top: 24px;
  border-top: 1px solid #5a7861;
  font-size: 0.875rem;
}
.demo-summary-note p {
  margin: 10px 0 0;
}
.demo-rail-note {
  padding: 24px 6px;
  color: var(--muted);
  font-size: 0.875rem;
}
.demo-rail-note strong {
  color: var(--ink);
}
.demo-rail-note p {
  margin: 10px 0 14px;
}
.demo-customer-jobs {
  display: grid;
  gap: 15px;
  margin-bottom: 70px;
}
.demo-customer-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
}
.demo-customer-job h2 {
  font-size: 1.6rem;
  margin: 14px 0 8px;
}
.demo-customer-job p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.demo-customer-job > div:last-child {
  text-align: right;
  flex-shrink: 0;
}
.demo-customer-job strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 16px;
  letter-spacing: -0.04em;
}
.demo-status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  background: #f9efb3;
  color: #655000;
}
.demo-status.confirmed,
.demo-status.completed {
  background: #e5f1e3;
  color: #28543f;
}
.demo-status.completed { background:#edf1ee; color:#354b3e; }
.demo-status.quoted {
  background: #e7edf6;
  color: #31517c;
}
.demo-job-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 27px;
}
.demo-key-values {
  margin: 20px 0;
}
.demo-key-values > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 0.9375rem;
}
.demo-key-values dt {
  color: var(--muted);
  font-size: 0.875rem;
}
.demo-key-values dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.demo-key-values small {
  color: var(--muted);
  font-size: 0.8125rem;
}
.demo-event-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  border-left: 2px solid #dce2db;
}
.demo-event-list li {
  padding: 0 0 22px 22px;
  position: relative;
}
.demo-event-list li:before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: -5.5px;
  top: 6px;
  border-radius: 50%;
  background: var(--green);
}
.demo-event-list strong {
  display: block;
  font-size: 0.9375rem;
}
.demo-event-list span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.demo-event-list li:last-child {
  padding-bottom: 0;
}
.demo-preserve-text {
  white-space: pre-wrap;
  color: var(--muted);
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  .demo-example {
    padding: 17px;
    gap: 15px;
  }
  .demo-example-art {
    width: 75px;
  }
  .demo-example h3 {
    font-size: 1.15rem;
  }
  .demo-example .demo-tag {
    font-size: 0.875rem;
  }
  .demo-example p {
    font-size: 0.875rem;
  }
  .demo-upload {
    padding: 20px;
  }
  .demo-capture {
    gap: 16px;
    flex-wrap: wrap;
  }
  .demo-capture .text-button {
    font-size: 0.875rem;
  }
  .demo-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-item-fields {
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .demo-item-fields .field:first-child {
    grid-column: 1/-1;
    margin-bottom: 12px;
  }
  .demo-item-fields .field > span {
    font-size: 1rem;
  }
  .demo-inventory-row {
    padding: 20px 0;
  }
  .demo-inventory-row > .text-button {
    margin-top: 8px;
  }
  .demo-customer-job {
    display: block;
  }
  .demo-customer-job > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-top: 20px;
  }
  .demo-customer-job strong {
    margin: 0;
  }
  .demo-key-values > div {
    grid-template-columns: 95px 1fr;
    font-size: 0.875rem;
  }
  .demo-job-heading {
    align-items: start;
    flex-direction: column;
  }
  .demo-price-head h2 {
    font-size: 3.4rem;
  }
  .demo-slot-options label {
    padding: 15px;
  }
}
.demo-steps {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 12px;
  margin: 24px 0 32px;
}
.demo-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  border-top: 3px solid var(--line);
  padding-top: 13px;
  font-size: 0.875rem;
  color: var(--muted);
}
.demo-steps li > span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f0f3ec;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.demo-steps .active {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.demo-steps .active > span {
  background: var(--ink);
  color: white;
}
.demo-steps .done {
  border-color: #8ba98b;
}
.demo-customer-rail .demo-summary {
  background: var(--ink);
  color: white;
  padding: 28px;
  border-radius: 16px;
}
.demo-customer-rail .demo-summary h2 {
  font-size: 2.1rem;
  margin: 20px 0 25px;
}
.demo-customer-rail .demo-summary .eyebrow {
  color: var(--yellow);
}
.demo-customer-rail .demo-summary p {
  color: #d0dccf;
  font-size: 0.9375rem;
}
.demo-customer-rail .demo-summary .demo-tag {
  background: #dfeccf;
  color: var(--green);
}
.demo-customer-rail .demo-journey-list {
  color: #e2eade;
}
.demo-customer-rail .demo-summary-note {
  color: white;
}
.demo-scope-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.demo-scope-list li {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.demo-scope-list small {
  color: var(--muted);
}
.demo-action-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--pale);
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
}
.demo-action-label.keep {
  background: #fff2b3;
  color: #655300;
}
.demo-hero > div > p:last-child {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 700px;
}
.demo-main #demo-continue {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 680px) {
  .demo-steps {
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .demo-steps li {
    display: flex;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .demo-steps li > span {
    margin-bottom: 0;
  }
  .demo-customer-rail .demo-summary {
    padding: 25px;
  }
  .demo-card .form-actions {
    flex-wrap: wrap;
  }
  .demo-card .form-actions .button {
    max-width: 100%;
  }
  .demo-scope-list li {
    font-size: 0.875rem;
  }
}

/* Shared agreement and owner review tools for the protected Swindon test. */
.demo-agreement { margin:24px 0; padding:24px; background:var(--canvas); border:1px solid var(--line); border-radius:14px; }
.demo-agreement h3, .demo-agreement h4 { margin: 15px 0; }
.demo-agreement .demo-job-heading { margin-bottom:12px; align-items:flex-start; }
.demo-agreement .demo-job-heading h3 { margin:3px 0 8px; }
.demo-agreement .demo-notice { margin-bottom:0; }
.demo-agreement ul { padding-left: 22px; line-height: 1.65; }
.demo-change-list, .demo-issue-list { padding-left: 21px; overflow-wrap: anywhere; }
.demo-change-list li, .demo-issue-list li { margin: 16px 0; }
.demo-change-list span { display: block; color: var(--muted); margin-top: 5px; }
.demo-change form { margin: 18px 0; }
.owner-job-tools { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 15px; }
.owner-job-tools p, .owner-job-tools li { overflow-wrap: anywhere; }
.owner-job-tools summary { font-weight: 700; cursor: pointer; margin: 16px 0; }
.owner-job-tools .field > span { font-size: 0.9375rem; }
.owner-job-tools textarea { min-height: 105px; }
.owner-issue, .owner-pending-change { border: 1px solid var(--line); padding: 18px; border-radius: 10px; margin: 15px 0; }
.owner-amendment-editor { border: 1px solid var(--line); border-radius: 10px; padding: 0 18px 18px; margin-top: 18px; }
.owner-amendment-editor .field-grid { gap: 16px; }
.owner-job-tools .button { white-space: normal; }
@media (max-width: 680px) {
  .owner-issue, .owner-pending-change { padding:15px; }
  .owner-amendment-editor { padding-inline:15px; }
  .demo-agreement { padding:18px 15px; }
}
