.demo-page #main { color: #24384b; line-height: 1.6; }
/* Use the same shared container width and side margins as the main website. */
.demo-page h1, .demo-page h2, .demo-page h3 { color: #102c45; font-weight: 700; }
/* Header and navigation inherit the homepage formatting without demo overrides. */
.demo-breadcrumb { padding-block: 24px 0; font-size: 13px; color: #526678; }
.demo-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.demo-breadcrumb li + li::before { content: '/'; padding-right: 8px; color: #8293a0; }
.demo-breadcrumb a { color: #0067b8; text-underline-offset: 3px; }
.demo-intro { padding-block: 24px 28px; }
.demo-intro h1 { font-size: clamp(29px, 3.3vw, 42px); line-height: 1.18; max-width: 900px; margin: 12px 0 16px; }
.demo-lead { max-width: 850px; font-size: 17px; }
.demo-disclosure { margin-top: 24px; border-left: 3px solid #0078d4; background: #f3f8fc; padding: 16px 20px; font-size: 13px; max-width: 940px; }
.demo-disclosure strong { display: block; color: #173b5e; margin-bottom: 4px; }
.demo-workspace[hidden], .demo-page [hidden] { display: none !important; }
.demo-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.demo-selector button { border: 1px solid #bdcdd9; border-radius: 5px; background: #fff; padding: 12px 18px; font-size: 15px; font-weight: 600; color: #234762; cursor: pointer; text-align: left; }
.demo-selector button[aria-pressed="true"] { color: #fff; background: #0067b8; border-color: #0067b8; }
.demo-selector button:hover:not([aria-pressed="true"]) { background: #edf5fb; }
.demo-board { border: 1px solid #c9d8e4; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px #15385308; }
.demo-board-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px 15px; }
.demo-board-top h2 { font-size: 23px; line-height: 1.3; margin-top: 5px; }
.demo-reset { color: #0067b8; background: #fff; border: 1px solid #c3d4e0; border-radius: 5px; padding: 9px 12px; cursor: pointer; flex-shrink: 0; font-size: 13px; min-height: 42px; }
.demo-reset:hover { background: #edf5fb; }
.demo-progress { padding: 0 26px 22px; font-size: 12px; color: #567086; }
.demo-progress label { display: flex; justify-content: space-between; margin-bottom: 7px; }
.demo-progress progress { appearance: none; width: 100%; display: block; height: 5px; border: 0; background: #e7eef3; border-radius: 3px; overflow: hidden; }
.demo-progress progress::-webkit-progress-bar { background: #e7eef3; }
.demo-progress progress::-webkit-progress-value { background: #0078d4; }
.demo-progress progress::-moz-progress-bar { background: #0078d4; }
.demo-board-grid { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.4fr); border-block: 1px solid #dbe6ee; }
.demo-documents { background: #f5f8fb; padding: 24px 26px; border-right: 1px solid #dbe6ee; }
.demo-documents h3 { font-size: 14px; line-height: 1.5; }
#demo-checklist { padding: 0; margin: 16px 0 24px; list-style: none; }
#demo-checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 10px 0; font-size: 13px; border-bottom: 1px solid #dce6ed; }
.demo-check-icon { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: #e3ebf2; color: #385870; font-weight: 700; }
.demo-check-icon[data-tone="complete"] { background: #d9eee7; color: #14543c; }
.demo-check-icon[data-tone="attention"] { background: #f9e9c9; color: #785100; }
.demo-document-state { display: block; font-size: 12px; color: #526879; margin-top: 2px; }
.demo-facts > div + div { margin-top: 15px; }
.demo-facts dt { color: #546a7d; font-size: 12px; }
.demo-facts dd { font-size: 14px; font-weight: 600; color: #163e5a; margin-top: 4px; }
.demo-task { padding: 24px 28px; min-width: 0; }
.demo-task h3 { margin: 7px 0 10px; font-size: 21px; line-height: 1.35; }
.demo-task > p:not(.eyebrow) { font-size: 14px; min-height: 48px; }
.demo-action { color: #fff; background: #0067b8; border: 1px solid #0067b8; border-radius: 5px; padding: 12px 17px; margin-top: 20px; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1.4; max-width: 100%; }
.demo-action:hover { background: #005491; }
.demo-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid #dbe6ee; }
.demo-result h4 { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #50687c; }
.demo-result p { font-size: 14px; }
.demo-result blockquote { margin: 12px 0 0; padding: 14px 16px; border-left: 3px solid #80afd0; background: #f2f7fb; color: #243e53; font-size: 13px; }
.demo-history { padding: 18px 26px; }
.demo-history h3 { font-size: 13px; line-height: 1.5; }
.demo-history ol { margin: 8px 0 0; padding-left: 20px; font-size: 12px; color: #50677a; }
.demo-history li { margin-top: 4px; }
.demo-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.demo-overview { padding-block: 52px 0; }
.demo-overview > h2, .demo-related > h2 { font-size: 29px; line-height: 1.25; margin-bottom: 24px; }
.demo-flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; }
.demo-flow-grid article { min-width: 0; }
.demo-flow-number { color: #0067b8; font-size: 13px; font-weight: 700; }
.demo-flow-grid h3 { font-size: 20px; line-height: 1.4; margin-top: 7px; }
.demo-flow-grid ol { margin: 16px 0 0; padding-left: 20px; font-size: 14px; }
.demo-flow-grid li { padding-left: 4px; margin-bottom: 12px; }
.demo-responsibility { margin-top: 28px; padding: 24px; background: #f3f7fa; border-radius: 6px; }
.demo-responsibility h3 { font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.demo-responsibility p { font-size: 14px; max-width: 920px; }
.demo-responsibility p + p { margin-top: 10px; }
.demo-related { padding-block: 48px 12px; }
.demo-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.demo-related-grid article { border-top: 2px solid #c2d9eb; padding-top: 18px; min-width: 0; }
.demo-related-grid h3 { font-size: 18px; line-height: 1.45; }
.demo-related-grid h3 a { text-decoration: none; }
.demo-related-grid h3 a:hover { color: #0067b8; text-decoration: underline; }
.demo-related-grid p { font-size: 14px; margin-top: 12px; }
.demo-related-grid .text-link { font-size: 14px; margin-top: 8px; }
.demo-nojs { padding: 20px 0; font-size: 14px; }
.demo-page .contact { margin-top: 24px; }
@media (max-width: 820px) {
  .demo-board-grid { grid-template-columns: 1fr; }
  .demo-documents { border-right: 0; border-bottom: 1px solid #dbe6ee; }
  .demo-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .demo-facts > div + div { margin-top: 0; }
  #demo-checklist { margin-bottom: 18px; }
  .demo-task > p:not(.eyebrow) { min-height: 0; }
  .demo-related-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .demo-intro { padding-block: 22px; }
  .demo-lead { font-size: 15px; }
  .demo-disclosure { padding: 14px 15px; }
  .demo-selector { gap: 7px; }
  .demo-selector button { flex: 1 1 100%; padding: 12px 14px; font-size: 14px; }
  .demo-board-top { padding: 20px 18px 15px; align-items: flex-start; gap: 10px; }
  .demo-board-top h2 { font-size: 20px; }
  .demo-reset { padding: 9px; max-width: 100px; }
  .demo-progress { padding-inline: 18px; }
  .demo-documents, .demo-task, .demo-history { padding: 20px 18px; }
  .demo-task h3 { font-size: 20px; }
  .demo-action { width: 100%; }
  .demo-flow-grid { grid-template-columns: 1fr; gap: 20px; }
  .demo-overview { padding-top: 36px; }
  .demo-overview > h2, .demo-related > h2 { font-size: 25px; }
  .demo-responsibility { padding: 20px 18px; }
  .demo-related { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .demo-page { scroll-behavior: auto; } .demo-page * { transition: none !important; } }
