.demo-shell {
  --demo-ink: #0e2846;
  --demo-muted: #6e7b7a;
  --demo-line: #d8d0be;
  --demo-gold: #a58a56;
  --demo-ceramic: linear-gradient(145deg, #fffefa, #fcfaf3 60%, #eee9dc);
  --demo-enamel: radial-gradient(ellipse at 18% 8%, #496c672e, transparent 62%), linear-gradient(120deg, #0e2846, #06162e 80%);
  --demo-brass: linear-gradient(105deg, #a2864e, #d9c8a2 43%, #ac8e55 75%, #cbbb96);
  color: var(--demo-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  width: 100%;
  container-type: inline-size;
  font: 13px/1.5 'IBM Plex Sans', sans-serif;
  text-align: left;
}
.demo-shell * { box-sizing: border-box; }
.demo-shell button, .demo-shell input { font: inherit; }
.demo-shell button { cursor: pointer; }
.demo-shell [hidden] { display: none !important; }
.demo-shell h4, .demo-shell p { margin: 0; }
.demo-shell button:focus-visible, .demo-shell input:focus-visible { outline: 2px solid #987944; outline-offset: 4px; }
.demo-chrome { display: flex; align-items: center; gap: 17px; padding: 3px 2px 19px; color: #7c837d; border-bottom: 1px solid #cbbd9c88; font-size: 12px; }
.demo-brand { color: #0e2846; font: 600 17px 'Manrope', sans-serif; letter-spacing: -.05em; }
.demo-chrome > i { width: 6px; height: 6px; border: 1px solid #aa8e55; box-shadow: inset 0 1px 1px #fff; background: #d2c095; border-radius: 50%; margin-left: auto; }
.demo-content { padding: 21px 0 17px; min-height: 300px; }
.demo-shell .demo-disclaimer { padding: 11px 1px 0; border-top: 1px solid #dcd5c688; font-size: 12px; line-height: 1.6; color: #7c8178; background: transparent; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.demo-tabs button { border: 1px solid #d3ccb9; color: #64736f; background: linear-gradient(145deg, #fffdf6, #f1ede2); padding: 9px 14px; border-radius: 7px; font-size: 12px; line-height: 1.35; box-shadow: inset 0 1px 0 #fff, 0 2px 3px #695d4010; }
.demo-tabs button[aria-selected=true] { color: #ece8db; background: var(--demo-enamel); border-color: #ffffff1f; box-shadow: inset 0 1px 0 #b5c5bc38, inset 0 -2px 0 #bda370; }
.demo-tabs button:hover { border-color: #ac905b; }
.demo-panel { min-height: 240px; }
.demo-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--demo-muted); margin-bottom: 20px; }
.demo-summary b { font-size: 15px; font-weight: 500; color: var(--demo-ink); white-space: nowrap; }

.demo-deals { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; padding-top: 12px; }
.demo-deals::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; background: var(--demo-brass); border-radius: 2px; box-shadow: 0 1px 0 #fff; }
.demo-deal { position: relative; padding: 23px 22px 0; background: var(--demo-ceramic); border: 1px solid #d6cbb5; border-radius: 8px 16px 16px 16px; box-shadow: inset 0 0 0 3px #fffefa, 0 14px 22px -17px #6e60486b, 0 3px 1px -1px #e4ddce; }
.demo-deal::before { content: ''; position: absolute; top: -14px; right: 22px; width: 7px; height: 22px; border: 2px solid #b9a16f; border-radius: 5px; box-shadow: inset 1px 0 0 #fff4d7, 1px 0 0 #fff; }
.demo-deal-monogram { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #9a987f; border-radius: 10px; background: var(--demo-enamel); box-shadow: inset 0 0 0 3px #ffffff0d, inset 0 1px 0 #d7e2d12b, 0 3px 5px #20313a19; color: #dcc69a; margin-bottom: 18px; font-size: 19px; font-weight: 400; }
.demo-deal h4 { font-size: 17px; font-weight: 500; }
.demo-deal p { font-size: 12px; color: var(--demo-muted); margin-top: 5px; }
.demo-deal > strong { display: block; font-size: 25px; letter-spacing: -.045em; font-weight: 500; margin: 21px 0; }
.demo-deal footer { font-size: 12px; color: #827861; border-top: 1px solid #d3c5a777; padding: 12px 0 14px; }

.demo-calendar-scroll { overflow-x: auto; padding: 5px 1px 12px; scrollbar-width: thin; scrollbar-color: #b8a47b #efeadf; }
.demo-calendar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-width: 420px; padding: 13px 7px 8px; border: 1px solid #d5c8ad; border-radius: 17px; background: var(--demo-ceramic); box-shadow: inset 0 3px 0 #fff, 0 5px 0 -2px #e3dccb, 0 10px 0 -5px #f3ede0; }
.demo-day { position: relative; padding: 13px 12px 17px; min-height: 188px; border-right: 1px solid #dfd9c9; }
.demo-day:last-child { border-right: 0; }
.demo-day::before { content: ''; position: absolute; top: -17px; left: 50%; margin-left: -3px; width: 6px; height: 14px; border-radius: 4px; border: 1px solid #ae9057; background: var(--demo-brass); box-shadow: inset 1px 0 0 #f8ebcd, 1px 1px 1px #66553424; }
.demo-day > span { display: block; font-size: 12px; color: #9b8b6c; }
.demo-day > b { font-size: 28px; font-weight: 400; display: block; line-height: 1.4; margin-bottom: 16px; }
.demo-task { min-height: calc(34px + var(--task-hours, 4) * 4px); border: 1px solid #cfc1a2; border-left: 2px solid #ad8b4d; border-radius: 5px; background: linear-gradient(130deg, #f6f1e4, #e7ddc7); padding: 10px 7px; box-shadow: inset 0 1px 0 #fffaf0, 0 2px 2px #7b633916; }
.demo-task strong, .demo-task small { display: block; font-size: 12px; font-weight: 500; }
.demo-task small { font-weight: 400; color: #8e7b53; margin-top: 9px; }
.demo-capacity { display: flex; align-items: center; gap: 15px; font-size: 12px; color: var(--demo-muted); margin-top: 20px; }
.demo-capacity > div { height: 7px; background: #e1ddce; flex: 1; border-radius: 5px; overflow: hidden; box-shadow: inset 0 1px 2px #81775c24; }
.demo-capacity i { display: block; height: 100%; background: linear-gradient(0deg, #0e2846, #547475); border-radius: 5px; box-shadow: inset 0 1px 0 #a7bdb288; }
.demo-capacity > b { font-weight: 500; color: var(--demo-ink); }

.demo-bank-recap { position: relative; padding: 25px 28px 22px; border: 1px solid #5a706b; border-radius: 18px; color: #eeeade; background: var(--demo-enamel); box-shadow: inset 0 0 0 4px #c1bc9810, inset 0 1px 0 #c1d1c533, 0 14px 24px -20px #0a25318c; margin-bottom: 23px; }
.demo-bank-recap::after { content: ''; position: absolute; right: 25px; top: 23px; width: 28px; height: 20px; border: 1px solid #bba16e; border-radius: 4px; background: repeating-linear-gradient(0deg, transparent 0 5px, #bba16e55 5px 6px), linear-gradient(110deg, #bca57522, #d9c29055, #bca57522); }
.demo-bank-net > span { display: block; color: #b4c1b9; font-size: 12px; max-width: calc(100% - 35px); }
.demo-bank-net > strong { display: block; font: 500 38px/1.25 'Manrope', sans-serif; letter-spacing: -.05em; margin-top: 10px; }
.demo-bank-net > small { display: block; color: #aabbb9; font-size: 12px; margin-top: 6px; }
.demo-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-bank-recap .demo-metrics { border-top: 1px solid #c7b17e33; margin-top: 21px; padding-top: 17px; }
.demo-metric > span { display: block; color: #afc0bc; font-size: 12px; }
.demo-metric > strong { display: block; font-size: 18px; letter-spacing: -.025em; line-height: 1.3; margin: 6px 0 0; font-weight: 500; }
.demo-metric > small { font-size: 12px; color: #a99d83; }
.demo-ledger { border: 1px solid #dcd2bd; border-radius: 4px 4px 12px 12px; padding: 8px 21px; background: linear-gradient(100deg, #fffdf6, #faf7ee); box-shadow: 0 4px 0 -1px #e9e1d0, 0 9px 10px -9px #725b2d52; }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #ded6c477; }
.demo-row:last-child { border-bottom: 0; }
.demo-row strong { font-size: 13px; font-weight: 500; }
.demo-row small { display: block; font-size: 12px; color: var(--demo-muted); margin-top: 3px; }
.demo-row-end { text-align: right; flex: none; }
.demo-row-end > b { font-size: 13px; font-weight: 500; white-space: nowrap; }
.demo-positive { color: #416b61; }
.demo-shell--finance .demo-panel { min-height: 241px; }

.demo-document-stack { position: relative; padding: 0 7px 10px 0; }
.demo-document-stack::before, .demo-document-stack::after { content: ''; position: absolute; inset: 5px 3px 5px 4px; border: 1px solid #dcd2bd; border-radius: 4px 4px 15px 4px; background: #ede7da; }
.demo-document-stack::after { inset: 9px 0 0 8px; background: #f7f2e7; z-index: 0; }
.demo-document-sheet { position: relative; z-index: 1; padding: 7px 21px; border: 1px solid #d6c9ae; border-radius: 4px 4px 15px 4px; background: linear-gradient(135deg, #fffefa, #f9f5ea); box-shadow: inset 3px 0 0 #f2ead9, 0 8px 16px -14px #78634588; }
.demo-document-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 18px 0; border-bottom: 1px solid #ddd3bd77; }
.demo-document-row:last-child { border-bottom: 0; }
.demo-paper-icon { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 28px; height: 36px; border: 1px solid #bca575; border-radius: 2px 8px 2px 2px; background: linear-gradient(130deg, #fffdf4, #ece1ca); box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 #ded0b2; padding: 0 6px; }
.demo-paper-icon i { display: block; height: 1px; background: #b7a37c; }
.demo-paper-icon i:last-child { width: 65%; }
.demo-document-title strong { display: block; font-size: 13px; font-weight: 500; }
.demo-document-title small { display: block; color: var(--demo-muted); font-size: 12px; margin-top: 4px; }
.demo-document-end { text-align: right; }
.demo-document-end > b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; }
.demo-document-stamp { display: inline-block; margin-top: 7px; padding: 3px 7px; border: 1px solid #cbb78d; border-radius: 3px; background: #eee5d23b; font-size: 12px; color: #937441; box-shadow: inset 0 1px 0 #fff; }
.demo-document-stamp--ready { border-color: #a5b6a7; color: #537666; background: #e6eee449; }

.demo-calc-result { position: relative; padding: 29px 32px 22px; border: 1px solid #d1c4a8; border-radius: 23px; background: var(--demo-ceramic); box-shadow: inset 0 0 0 4px #fffefa, 0 18px 29px -23px #76634488; }
.demo-calc-result::before { content: ''; position: absolute; inset: 6px; border: 1px solid #d8cba844; border-radius: 17px; pointer-events: none; }
.demo-calc-output { display: grid; grid-template-columns: auto 1fr; gap: 6px 21px; align-items: baseline; padding: 0 0 25px; }
.demo-calc-output > span { grid-column: 1/-1; font-size: 14px; color: #657772; }
.demo-calc-output > strong { display: block; font: 500 72px/1.08 'Manrope', sans-serif; letter-spacing: -.065em; color: #0e2846; }
.demo-calc-output > small { font-size: 12px; color: #8b826e; }
.demo-waterfall { display: grid; gap: 13px; }
.demo-waterfall-row { display: grid; grid-template-columns: 86px minmax(25px, 1fr) 95px; align-items: center; gap: 12px; font-size: 12px; }
.demo-waterfall-row > span { color: #73817b; }
.demo-waterfall-row > b { text-align: right; font-weight: 500; white-space: nowrap; }
.demo-waterfall-track { position: relative; height: 8px; background: #e9e3d72b; border-radius: 5px; }
.demo-waterfall-track::after { content: ''; position: absolute; top: -3px; bottom: -3px; left: var(--demo-zero, 0%); border-left: 1px solid #b8aa8c66; }
.demo-waterfall-track > i { position: absolute; top: 0; height: 100%; border-radius: 4px; box-shadow: inset 0 1px 0 #ffffff77, 0 1px 2px #7860381a; transition: width .18s ease, left .18s ease; }
.demo-waterfall-row--price i { background: var(--demo-brass); }
.demo-waterfall-row--labour i { background: linear-gradient(0deg, #a79e88, #d5ccb6); }
.demo-waterfall-row--overhead i { background: linear-gradient(0deg, #c7bda7, #e7ddc8); }
.demo-waterfall-row--profit i { background: linear-gradient(0deg, #0e2846, #547773); }
.demo-breakeven { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #d3c8ae77; padding-top: 17px; margin-top: 24px; font-size: 12px; color: #788178; }
.demo-breakeven b { color: #6b715f; font-weight: 500; white-space: nowrap; }
.demo-calc-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.demo-range-label { display: grid; grid-template-columns: 1fr; gap: 6px; min-width: 0; border: 1px solid #d6c9af; padding: 16px 13px 9px; border-radius: 14px; background: var(--demo-ceramic); box-shadow: inset 0 0 0 3px #fffefa, 0 7px 11px -9px #81663c60; }
.demo-range-label > span { font-size: 12px; color: #7c8279; }
.demo-range-label > b { font-size: 16px; font-weight: 500; color: #0e2846; white-space: nowrap; }
.demo-range-label input { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 29px; margin: 0; background: transparent; cursor: pointer; }
.demo-range-label input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #af935a var(--demo-fill, 0%), #d6d2c5 var(--demo-fill, 0%)); box-shadow: inset 0 1px 1px #7d6d472c, 0 1px 0 #fff; }
.demo-range-label input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 21px; height: 21px; margin-top: -8px; border: 4px solid #fffdf5; border-radius: 50%; background: var(--demo-brass); box-shadow: 0 0 0 1px #bbaa84, 0 2px 5px #73592933; }
.demo-range-label input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #af935a var(--demo-fill, 0%), #d6d2c5 var(--demo-fill, 0%)); }
.demo-range-label input::-moz-range-thumb { width: 13px; height: 13px; border: 4px solid #fffdf5; border-radius: 50%; background: var(--demo-brass); box-shadow: 0 0 0 1px #bbaa84, 0 2px 5px #73592933; }
.demo-calc-base { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-top: 15px; font-size: 12px; color: #81867b; }
.demo-calc-base button { min-height: 30px; border: 0; border-bottom: 1px solid #c7b387; padding: 2px 0; border-radius: 0; background: transparent; color: #8f7342; font-size: 12px; }
.demo-calc-note { font-size: 12px; line-height: 1.65; color: #728079; margin-top: 12px !important; min-height: 37px; }
.demo-is-loss [data-demo-margin], .demo-is-loss [data-demo-profit], .demo-is-loss [data-demo-calculation-note] { color: #a04a40; }
.demo-is-loss .demo-waterfall-row--profit i { background: linear-gradient(0deg, #a14b41, #c67f6c); }
.demo-is-tight [data-demo-margin] { color: #987735; }

.demo-integration { text-align: center; padding: 8px 0 13px; }
.demo-flow { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 6px 0 33px; padding: 22px 0; }
.demo-system, .demo-core { position: relative; display: grid; place-items: center; width: 103px; height: 103px; border: 1px solid #ccbe9e; border-radius: 23px; background: var(--demo-ceramic); box-shadow: inset 0 0 0 5px #fffefa, 0 7px 0 -3px #ddd3bc, 0 21px 20px -20px #79633988; font-size: 35px; color: #9c8149; }
.demo-core { color: #ddc796; background: var(--demo-enamel); border-color: #6f8077; box-shadow: inset 0 0 0 5px #8997821a, inset 0 1px 0 #d5dfbe77, 0 7px 0 -3px #0e2846, 0 21px 20px -20px #223641bb; font-family: 'Manrope', sans-serif; line-height: 1; padding-top: 19px; gap: 0; }
.demo-core > span { font: 12px 'IBM Plex Sans', sans-serif; color: #bac8bf; padding-bottom: 17px; }
.demo-flow-line { position: relative; width: 83px; color: #ad915a; border-top: 2px solid #b7a072; box-shadow: 0 1px 0 #fff2d2; height: 0; font-size: 20px; line-height: 0; text-align: right; }
.demo-flow-line::before { content: ''; position: absolute; left: -3px; top: -5px; width: 8px; height: 8px; border: 1px solid #aa8f57; border-radius: 50%; background: #f7f0dd; box-shadow: 0 0 0 2px #e0d8c3; }
.demo-integration h4 { font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.demo-integration > p { font-size: 12px; color: var(--demo-muted); max-width: 330px; margin: 10px auto 0; }
.demo-flow-steps { display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 12px; color: #7b8a81; margin-top: 28px; }
.demo-flow-steps i { font-style: normal; color: #ab9369; }
.demo-shell--developers .demo-chrome,
.demo-shell--developers .demo-disclaimer { display: none; }
.demo-shell--developers .demo-content { padding: 0; min-height: 0; }
.demo-sdk-example { position: relative; padding: 30px 31px 23px; border: 1px solid #d5cbb6; border-radius: 22px; background: linear-gradient(145deg, #fffefa, #fffdf7 70%, #f0ecdf); box-shadow: inset 0 0 0 4px #fffefa, 0 19px 27px -24px #6c59397a; }
.demo-sdk-example::before { content: ''; position: absolute; inset: 6px; border: 1px solid #d8ceb744; border-radius: 16px; pointer-events: none; }
.demo-sdk-scenario { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.demo-sdk-contact { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #778477; border-radius: 8px; background: var(--demo-enamel); box-shadow: inset 0 1px 0 #d8d5b82b; color: #d6be8d; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.demo-sdk-scenario > div > span { color: #9a855d; font-size: 12px; letter-spacing: .04em; }
.demo-sdk-scenario h4 { font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.03em; }
.demo-sdk-example .demo-tabs { gap: 21px; border-bottom: 1px solid #dcd3bf; margin-bottom: 19px; }
.demo-sdk-example .demo-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 0 0 10px; box-shadow: none; color: #7c847c; font-size: 12px; }
.demo-sdk-example .demo-tabs button[aria-selected=true] { background: none; border-bottom-color: #a98c55; color: #0e2846; box-shadow: none; }
.demo-sdk-example .demo-tabs button:hover { color: #8f7035; }
.demo-sdk-example .demo-panel { min-height: 0; }
.demo-sdk-code { margin: 0; padding: 0; min-height: 132px; border: 0; border-radius: 0; background: transparent; color: #0e2846; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.demo-sdk-code code { font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; background: none; color: inherit; padding: 0; }
.demo-sdk-code-note { font-size: 12px; line-height: 1.6; color: #8b8d80; margin-top: 9px !important; min-height: 29px; overflow-wrap: anywhere; }
.demo-sdk-response { border-top: 1px solid #d5c7a6; margin-top: 16px; padding-top: 17px; }
.demo-sdk-response-label { display: flex; align-items: center; justify-content: space-between; color: #7f8274; font-size: 12px; margin-bottom: 9px; }
.demo-sdk-response-label > code { font-size: 12px; color: #a48a59; background: none; padding: 0; }
.demo-sdk-response table { width: 100%; border-collapse: collapse; table-layout: fixed; background: transparent; margin: 0; text-align: left; }
.demo-sdk-response th { font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; color: #999485; text-align: left; font-weight: 400; border-bottom: 1px solid #e6decc; padding: 7px 0; background: none; }
.demo-sdk-response th:first-child { width: 76px; }
.demo-sdk-response td { padding: 9px 0; border-bottom: 1px solid #e6decc88; font-size: 13px; color: #0e2846; background: transparent; }
.demo-sdk-response td:first-child { font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; color: #8d8065; }
.demo-sdk-response-foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 13px; margin-top: 12px; color: #8b8b7b; font-size: 12px; }
.demo-sdk-response-foot > code { background: none; padding: 0; color: #9d8457; font-size: 12px; }
.demo-sdk-setup { border-top: 1px solid #e0d7c566; padding-top: 13px; margin-top: 17px !important; color: #8a8c7e; font-size: 12px; line-height: 1.6; }

@container (max-width: 470px) {
  .demo-deals { gap: 13px; }
  .demo-deal { padding: 19px 16px 0; }
  .demo-deal > strong { font-size: 23px; }
  .demo-calc-result { padding: 27px 24px 22px; }
  .demo-calc-output { grid-template-columns: 1fr; gap: 7px; }
  .demo-calc-output > strong { font-size: 64px; }
  .demo-calc-controls { grid-template-columns: 1fr; gap: 9px; }
  .demo-range-label { grid-template-columns: 1fr auto; align-items: center; padding: 12px 17px 6px; gap: 1px 10px; }
  .demo-range-label > span { font-size: 12px; }
  .demo-range-label > b { font-size: 16px; }
  .demo-range-label input { grid-column: 1/-1; }
  .demo-document-sheet { padding-inline: 16px; }
  .demo-document-row { grid-template-columns: 25px minmax(0, 1fr) auto; gap: 11px; }
  .demo-paper-icon { width: 23px; height: 31px; padding-inline: 4px; }
  .demo-document-title strong { font-size: 12px; }
  .demo-document-end > b { font-size: 12px; }
  .demo-document-stamp { font-size: 8px; padding-inline: 5px; }
  .demo-flow { gap: 19px; }
  .demo-flow-line { width: 65px; }
}
@container (max-width: 350px) {
  .demo-chrome { gap: 12px; font-size: 12px; }
  .demo-tabs { gap: 6px; }
  .demo-tabs button { padding: 9px 10px; font-size: 12px; }
  .demo-summary { font-size: 12px; }
  .demo-summary b { font-size: 13px; }
  .demo-deals { gap: 10px; }
  .demo-deal { padding: 18px 12px 0; }
  .demo-deal h4 { font-size: 15px; }
  .demo-deal p { font-size: 12px; }
  .demo-deal > strong { font-size: 20px; }
  .demo-deal footer { font-size: 12px; }
  .demo-deal-monogram { width: 35px; height: 35px; font-size: 17px; }
  .demo-bank-recap { padding: 21px 20px; }
  .demo-bank-net > strong { font-size: 33px; }
  .demo-metric > strong { font-size: 16px; }
  .demo-ledger { padding-inline: 16px; }
  .demo-row { gap: 12px; }
  .demo-row strong, .demo-row-end > b { font-size: 12px; }
  .demo-row small { font-size: 12px; }
  .demo-document-row { grid-template-columns: 23px minmax(0, 1fr); }
  .demo-document-end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
  .demo-document-stamp { margin-top: 0; }
  .demo-calc-result { padding: 25px 18px 20px; }
  .demo-calc-output > strong { font-size: 60px; }
  .demo-waterfall-row { grid-template-columns: 74px minmax(15px, 1fr) 82px; gap: 8px; font-size: 12px; }
  .demo-breakeven { gap: 10px; font-size: 12px; }
  .demo-flow { gap: 15px; }
  .demo-system, .demo-core { width: 85px; height: 85px; border-radius: 19px; font-size: 30px; }
  .demo-flow-line { width: 44px; }
  .demo-flow-steps { gap: 13px; }
  .demo-capacity { font-size: 12px; gap: 10px; }
  .demo-shell .demo-disclaimer { font-size: 12px; }
  .demo-sdk-example { padding: 25px 21px 21px; }
  .demo-sdk-scenario h4 { font-size: 20px; }
  .demo-sdk-code code { font-size: 12px; }
  .demo-sdk-example .demo-tabs { gap: 19px; }
}
@media (prefers-reduced-motion: reduce) { .demo-waterfall-track > i { transition: none; } }

/* Small product scenarios reuse the existing demo materials and palette. */
.demo-detail { padding: 14px 0; border-top: 1px solid var(--demo-line); font-size: 12px; }
.demo-detail summary { cursor: pointer; color: var(--demo-ink); font-weight: 500; }
.demo-detail summary:focus-visible { outline: 2px solid var(--demo-gold); outline-offset: 4px; }
.demo-detail p { margin-top: 10px; }
.demo-detail ol { padding-left: 18px; margin: 12px 0 0; color: var(--demo-muted); }
.demo-detail li + li { margin-top: 6px; }
.demo-adjustment { margin-top: 22px; }
.demo-change-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 15px; margin-top: 14px; }
.demo-change-grid b { font-weight: 500; text-align: right; }
.demo-shell .demo-scenario-note { color: var(--demo-muted); font-size: 12px; line-height: 1.6; margin: 14px 0; }
.demo-scenario-toggle { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--demo-ink); cursor: pointer; }
.demo-scenario-toggle input { accent-color: var(--demo-ink); width: 16px; height: 16px; flex-shrink: 0; }
.demo-extra-task { margin-top: 8px; }
.demo-scenario-button { padding: 10px 14px; border: 1px solid var(--demo-line); border-radius: 7px; background: var(--demo-ceramic); color: var(--demo-ink); font-size: 12px; }
@container (max-width: 350px) { .demo-change-grid { grid-template-columns: 1fr; gap: 3px; } .demo-change-grid b { text-align: left; margin-bottom: 8px; } }
/* Scenario controls sit on the page surface, outside the white product cards. */
.demo-shell .demo-scenario-toggle, .demo-content > .demo-adjustment, .demo-content > .demo-adjustment summary { color: var(--ink); }
.demo-shell .demo-scenario-note { color: var(--muted); }
.demo-content > .demo-adjustment { border-color: var(--line); }
.demo-scenario-toggle input { accent-color: var(--accent); }
#product-demo { scroll-margin-top: 110px; }
