/* The live demo is deliberately separate from gallery screenshots and real ordering. */
body.service-site.apple-home #menu-demo {background:#fff;scroll-margin-top:96px;border-block:1px solid #e4eaf2;}
#menu-demo>.service-shell {max-width:1160px;}
.demo-section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px;}
.demo-section-heading>div {max-width:700px;}
.demo-section-heading .section-kicker {color:#164b9b;font-size:12px;font-weight:650;letter-spacing:.06em;}
body.service-site.apple-home #menu-demo h2 {margin:12px 0;font-size:clamp(26px,3vw,38px)!important;line-height:1.4!important;letter-spacing:-.02em;}
body.service-site.apple-home #menu-demo .demo-section-heading p {margin-bottom:0;color:#5c6d80;}
.demo-entry {display:block;width:fit-content;margin:16px auto 0;padding:12px 16px;color:#164b9b;font-size:14px;font-weight:600;text-underline-offset:5px;}
.demo-entry::after {content:' ↗';}
.demo-app {--demo-blue:#164b9b;--demo-ink:#1c314a;--demo-line:#dae3ef;display:flex;flex-direction:column;min-width:0;height:680px;max-height:86dvh;overflow:hidden;background:#fff;color:var(--demo-ink);border:1px solid var(--demo-line);border-radius:22px;box-sizing:border-box;font-family:var(--site-font-family,sans-serif);font-size:15px;text-align:left;}
.demo-app *, .demo-dialog * {box-sizing:border-box;}
.demo-toolbar {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;border-bottom:1px solid var(--demo-line);background:#fff;flex-shrink:0;}
.demo-wordmark {display:flex;align-items:center;gap:12px;color:var(--demo-blue);font-size:28px;font-weight:400;letter-spacing:.01em;}
.demo-wordmark img {width:74px;height:auto;}
.demo-wordmark span {font-size:10px;font-weight:600;letter-spacing:.13em;}
.demo-toolbar-controls {display:flex;gap:12px;min-width:0;}
.demo-toolbar-controls label {display:grid;gap:4px;min-width:0;color:#5a6c81;font-size:11px;}
.demo-app select {height:44px;min-width:124px;max-width:100%;padding:8px 30px 8px 12px;border:1px solid var(--demo-line);border-radius:9px;background:#fff;color:var(--demo-ink);font:inherit;font-size:13px;}
body .demo-app p.demo-notice {flex-shrink:0;margin:0;padding:9px 24px;border-bottom:1px solid var(--demo-line);background:#fff;color:#526780;font-size:12px!important;line-height:1.6!important;}
.demo-view {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px 24px;scroll-padding-block:16px;}
.demo-nav {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;}
.demo-nav>div {display:grid;gap:4px;}
.demo-nav strong {font-size:13px;}
.demo-nav small {font-size:11px;color:#65788d;}
.demo-count {display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border:1px solid #d7e1ef;border-radius:6px;font-size:12px;font-variant-numeric:tabular-nums;}
.demo-view-heading {margin-bottom:22px;}
body :is(#menu-demo,.demo-dialog) .demo-view h3 {margin:0;color:#1c314a;font-size:24px!important;font-weight:650;line-height:1.4!important;letter-spacing:-.02em;}
body :is(#menu-demo,.demo-dialog) .demo-view p {font-size:14px!important;line-height:1.7!important;}
.demo-view-heading p {margin:8px 0 0;color:#62748a;}
.demo-app button,.demo-enlarge {font-family:inherit;cursor:pointer;touch-action:manipulation;}
.demo-button,.demo-enlarge {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:10px 16px;border:1px solid #cbd8e8;border-radius:10px;background:#fff;color:#164b9b;font-size:14px;font-weight:600;line-height:1.5;text-align:center;transition:border-color .15s,color .15s;}
.demo-enlarge {flex-shrink:0;}
.demo-button--primary {border-color:#164b9b;background:#164b9b;color:#fff;}
.demo-button--quiet {border-color:transparent;padding-inline:8px;}
.demo-button:hover:not(:disabled),.demo-enlarge:hover {border-color:#164b9b;}
.demo-button--primary:hover:not(:disabled) {background:#103c80;}
.demo-app button:disabled {cursor:default;opacity:.48;}
.demo-app :is(button,input,select):focus-visible,.demo-enlarge:focus-visible,.demo-dialog [data-demo-close]:focus-visible {outline:2px solid #164b9b;outline-offset:3px;}
.demo-app input {font:inherit;}
.demo-search {display:grid;gap:7px;margin:0 0 16px;font-size:13px;font-weight:600;}
.demo-search input {width:100%;height:46px;border:1px solid #cbd8e8;border-radius:10px;padding:10px 14px;background:#fff;color:#1c314a;font-size:16px;font-weight:400;}
.demo-categories {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.demo-categories button {font-size:13px;font-weight:500;}
.demo-categories [aria-pressed=true] {border-color:#164b9b;font-weight:650;color:#164b9b;box-shadow:inset 0 -3px #164b9b;}
.demo-products {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.demo-product {display:grid;grid-template-columns:100px minmax(0,1fr) 28px;align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid var(--demo-line);border-radius:14px;background:#fff;color:var(--demo-ink);font:inherit;text-align:left;transition:border-color .15s;}
.demo-product:hover:not(:disabled) {border-color:#164b9b;}
.demo-product-copy {display:grid;gap:6px;min-width:0;}
.demo-product-copy strong {font-size:15px;line-height:1.5;}
.demo-product-copy>span {font-size:12px;line-height:1.5;color:#65758a;}
.demo-product-copy b {font-size:14px;font-variant-numeric:tabular-nums;}
.demo-product-copy small {font-size:11px;}
.demo-product-plus {display:grid;place-items:center;width:28px;height:28px;border:1px solid #d1dced;border-radius:8px;color:#164b9b;font-size:20px;font-weight:400;}
.demo-art {display:block;width:100%;border:1px solid #f0ece5;border-radius:10px;background:#fff;overflow:hidden;}
.demo-art svg {display:block;width:100%;height:auto;}
.demo-art--large {max-width:350px;margin:auto;}
.demo-checkout-bar {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding-top:18px;border-top:1px solid var(--demo-line);background:#fff;}
.demo-checkout-bar>div {display:grid;gap:5px;}
.demo-checkout-bar>div>span {font-size:12px;color:#65758a;}
.demo-checkout-bar strong,.demo-receipt-total strong {font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap;}
.demo-app .demo-status {flex-shrink:0;min-height:26px;margin:0;padding:0 24px 6px;color:#164b9b;font-size:12px;line-height:1.6;}
.demo-detail-layout {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;align-items:start;}
.demo-detail-price {display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--demo-line);font-size:15px;}
.demo-small {color:#66788d;font-size:12px;}
.demo-option-group {margin:0 0 22px;padding:0;border:0;min-width:0;}
.demo-option-group legend {margin-bottom:10px;padding:0;font-size:15px;font-weight:650;}
.demo-option-group legend small {margin-left:6px;color:#526780;font-size:11px;font-weight:400;}
.demo-choice {display:flex;align-items:center;gap:10px;min-height:50px;padding:10px 12px;margin:8px 0;border:1px solid var(--demo-line);border-radius:10px;cursor:pointer;}
.demo-choice:has(input:checked) {border-color:#164b9b;box-shadow:inset 0 0 0 1px #164b9b;}
.demo-choice:has(input:disabled) {color:#7b8795;cursor:default;}
.demo-choice input {flex-shrink:0;width:18px;height:18px;margin:0;accent-color:#164b9b;}
.demo-choice span {display:grid;gap:4px;flex:1;font-size:14px;}
.demo-choice small,.demo-choice b {font-size:11px;font-weight:400;line-height:1.5;}
.demo-detail-quantity {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:18px;border-top:1px solid var(--demo-line);}
.demo-detail-quantity>div:first-child {display:grid;gap:4px;font-size:14px;}
.demo-detail-quantity small {color:#65778c;font-size:11px;}
.demo-quantity {display:inline-flex;align-items:center;gap:5px;}
.demo-quantity button {padding:6px;font-size:20px;font-weight:400;}
.demo-quantity input {width:54px;height:44px;padding:5px;border:1px solid var(--demo-line);border-radius:8px;text-align:center;appearance:textfield;-moz-appearance:textfield;font-size:16px;}
.demo-quantity input::-webkit-inner-spin-button {appearance:none;}
.demo-quantity output {min-width:30px;text-align:center;font-variant-numeric:tabular-nums;}
.demo-detail-actions {display:grid;gap:8px;margin-top:20px;}
.demo-lines {display:grid;gap:0;list-style:none;margin:0;padding:0;}
.demo-line {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--demo-line);}
.demo-line>div:first-child {min-width:0;}
body :is(#menu-demo,.demo-dialog) .demo-line h4 {margin:0 0 7px;font-size:16px!important;line-height:1.5!important;}
.demo-line p {margin:0 0 7px;color:#65758a;}
.demo-line strong {display:block;font-variant-numeric:tabular-nums;}
.demo-line small {display:block;margin-top:5px;color:#65758a;font-size:12px;}
.demo-line-actions {display:grid;flex-shrink:0;gap:8px;justify-items:end;}
.demo-line-actions>div:last-child {display:flex;gap:5px;}
.demo-line-actions button {font-size:13px;}
.demo-line-actions .demo-quantity button {font-size:20px;}
.demo-error {padding:12px;border:1px solid #b13434;border-left:4px solid #b13434;border-radius:8px;color:#9d2525;}
.demo-review-notice {margin-top:20px;padding:14px;border:1px solid var(--demo-line);border-radius:10px;font-weight:600;}
.demo-empty {grid-column:1/-1;padding:25px 0 35px;}
.demo-empty h4 {font-size:18px;}
.demo-empty p {color:#65758a;}
.demo-result-meta {display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0;padding-bottom:18px;border-bottom:1px solid var(--demo-line);font-size:13px;}
.demo-result-meta strong {color:#164b9b;font-size:22px;letter-spacing:.06em;}
.demo-result-layout {display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.demo-result-layout h4 {margin-top:0;}
.demo-result-layout>div:first-child>.demo-button {display:flex;width:100%;margin:10px 0;}
.demo-progress {display:grid;list-style:none;margin:18px 0 24px;padding:0;}
.demo-progress li {position:relative;display:flex;gap:12px;align-items:center;padding:12px 0;}
.demo-progress li>span {display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #cad8eb;border-radius:50%;color:#667b95;font-size:13px;}
.demo-progress li>div {display:grid;gap:4px;}
.demo-progress small {font-size:11px;color:#65758a;}
.demo-progress [aria-current=step]>span {border-color:#164b9b;color:#fff;background:#164b9b;}
.demo-progress [aria-current=step] strong {color:#164b9b;}
.demo-receipt-total {display:grid;justify-items:end;gap:8px;margin-top:16px;font-size:13px;}
.demo-dialog {width:min(1140px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #dbe4ef;border-radius:22px;background:#fff;color:#1c314a;box-shadow:0 24px 80px #142b4a33;overflow:hidden;}
.demo-dialog::backdrop {background:#17253580;}
.demo-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-bottom:1px solid #dae3ef;}
.demo-dialog-head h2 {margin:0;font-size:17px;line-height:1.5;}
.demo-dialog-head button {min-height:44px;min-width:44px;padding:10px 14px;border:1px solid #cad8eb;border-radius:10px;background:#fff;color:#164b9b;font:inherit;font-size:13px;cursor:pointer;}
.demo-dialog .demo-app {height:min(740px,calc(100dvh - 108px));max-height:none;border:0;border-radius:0;}
@media(max-width:800px) {
 .demo-products {grid-template-columns:1fr;}
 .demo-result-layout {grid-template-columns:1fr;gap:24px;}
 .demo-detail-layout {grid-template-columns:minmax(0,1fr);gap:20px;}
 .demo-detail-layout>.demo-art {max-width:240px;}
 .demo-art--large {max-width:220px;}
 .demo-section-heading {align-items:flex-start;flex-direction:column;gap:18px;}
 .demo-toolbar {gap:12px;}
 .demo-wordmark {gap:8px;}
 .demo-wordmark span {display:none;}
}
@media(max-width:520px) {
 .demo-app {height:700px;max-height:90dvh;border-radius:16px;}
 .demo-toolbar {padding:12px 14px;flex-wrap:wrap;gap:10px;}
 .demo-toolbar-controls {width:100%;gap:10px;}
 .demo-toolbar-controls label {flex:1;}
 .demo-app select {width:100%;min-width:0;font-size:14px;}
 body .demo-app p.demo-notice {padding-inline:14px;font-size:11px!important;}
 .demo-wordmark img {width:62px;}
 .demo-wordmark span {display:block;}
 .demo-view {padding:16px 14px 20px;}
 .demo-app .demo-status {padding-inline:14px;}
 .demo-nav {gap:8px;margin-bottom:20px;}
 .demo-nav strong {font-size:12px;}
 .demo-nav small {font-size:10px;}
 .demo-nav>.demo-button {padding-inline:10px;}
 .demo-product {grid-template-columns:74px minmax(0,1fr) 24px;gap:10px;padding:12px 10px;}
 .demo-product-plus {width:24px;height:24px;}
 .demo-product-copy strong {font-size:14px;}
 .demo-product-copy b {font-size:13px;}
 .demo-line {align-items:flex-start;flex-direction:column;gap:12px;}
 .demo-line-actions {width:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;}
 .demo-checkout-bar {align-items:stretch;flex-direction:column;gap:14px;}
 .demo-checkout-bar>div {display:flex;align-items:center;justify-content:space-between;}
 .demo-choice {gap:8px;padding-inline:10px;}
 .demo-choice b {max-width:90px;text-align:right;}
 .demo-dialog {width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px;}
 .demo-dialog-head {padding:10px 14px;}
 .demo-dialog-head h2 {font-size:14px;}
 .demo-dialog .demo-app {height:calc(100dvh - 84px);}
}
@media(prefers-reduced-motion:reduce) {
 .demo-app *, .demo-enlarge {scroll-behavior:auto!important;transition:none!important;animation:none!important;}
}
@media(forced-colors:active) {
 .demo-choice:has(input:checked), .demo-categories [aria-pressed=true] {outline:2px solid Highlight;}
 .demo-app :is(button,input,select):focus-visible {outline:2px solid Highlight;}
}

/* Footer is a separate flex row, so actions never cover the last input or error. */
.demo-footer {flex-shrink:0;background:#fff;}
.demo-footer:empty {display:none;}
.demo-footer:not(:empty) {padding:14px 24px;border-top:1px solid #dae3ef;}
.demo-footer .demo-checkout-bar {margin:0;padding:0;border:0;}
.demo-footer .demo-detail-actions {display:flex;justify-content:flex-end;margin:0;}
.demo-footer .demo-detail-actions>.demo-button {min-width:280px;max-width:100%;}
@media(max-width:520px) {
 .demo-footer:not(:empty) {padding:12px 14px max(12px,env(safe-area-inset-bottom,0px));}
 .demo-footer .demo-checkout-bar {gap:10px;}
 .demo-footer .demo-checkout-bar strong {font-size:17px;}
 .demo-footer .demo-detail-actions>.demo-button {width:100%;min-width:0;}
}

/* At narrow/short sizes use one scroll surface, including large-text and keyboard views.
   A flexible toolbar/notice must never squeeze the item view or hide checkout. */
.demo-nav {flex-wrap:wrap;}
.demo-nav>div {min-width:0;overflow-wrap:anywhere;}
.demo-product-copy,.demo-choice span,.demo-choice b,.demo-option-group legend {overflow-wrap:anywhere;}
.demo-dialog-head h2 {min-width:0;overflow-wrap:anywhere;}
@media(max-width:520px),(max-height:600px) {
 .demo-app,.demo-dialog .demo-app {height:auto;max-height:none;overflow:visible;}
 .demo-view {flex:none;overflow:visible;min-height:0;}
 .demo-dialog {overflow:auto;overscroll-behavior:contain;scroll-padding-block:84px 24px;}
 .demo-dialog-head {position:sticky;top:0;z-index:4;background:#fff;}
 .demo-dialog-head button {flex-shrink:0;max-width:50%;overflow-wrap:anywhere;}
 .demo-app :is(input,select,button) {scroll-margin-block:84px 24px;}
 .demo-choice {flex-wrap:wrap;}
 .demo-choice span {min-width:0;}
 .demo-toolbar-controls {min-width:0;}
 .demo-wordmark span {overflow-wrap:anywhere;}
}

/* iPhone presentation: the live application stays the same DOM and state. */
#menu-demo>.service-shell {display:grid;grid-template-columns:minmax(0,1fr);align-items:center;row-gap:0;}
.demo-section-heading {display:block;margin:0;}
.demo-section-heading .demo-enlarge {margin-top:24px;}
.demo-mobile-link {display:block;width:fit-content;min-height:44px;margin-top:10px;padding:12px 0;color:#164b9b;font-size:14px;text-underline-offset:5px;}
#menu-demo>.service-shell>.service-note {grid-column:2;margin:0;text-align:center;}
.demo-return-link {display:none;}
.demo-phone {position:relative;isolation:isolate;box-sizing:border-box;width:100%;max-width:454px;margin:auto;border:7px solid #101113;border-radius:54px;background:#fff;box-shadow:0 0 0 1px #55585c,0 0 0 3px #c3c5c7,0 0 0 4px #85898e,0 0 0 5px #e2e3e4,0 24px 60px #172c4821;overflow:hidden;}
.demo-device-chrome {position:relative;display:flex;align-items:center;justify-content:space-between;height:42px;padding:0 24px;background:#fff;color:#20242b;font:600 12px/1 var(--site-font-family,sans-serif);}
.demo-device-chrome i {position:absolute;width:112px;height:26px;top:7px;left:50%;transform:translateX(-50%);border-radius:20px;background:#08090b;box-shadow:inset 0 0 0 1px #17191d;}
.demo-device-chrome i::after {content:"";position:absolute;right:10px;top:9px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#24375b,#0a101c 55%,#15171b 75%);}
.demo-home-indicator {height:20px;background:#fff;position:relative;}
.demo-home-indicator::after {content:'';position:absolute;width:110px;height:4px;left:50%;bottom:7px;transform:translateX(-50%);background:#20242b;border-radius:4px;}
.demo-phone .demo-app {height:894px;max-height:none;overflow:hidden;border:0;border-radius:0;}
.demo-phone .demo-toolbar {padding:12px 16px;display:block;}
.demo-phone .demo-wordmark {justify-content:space-between;}
.demo-phone .demo-wordmark img {width:68px;}
.demo-phone .demo-wordmark span {display:inline;font-size:9px;}
.demo-phone .demo-toolbar-controls {display:flex;width:100%;gap:10px;margin-top:10px;}
.demo-phone .demo-toolbar-controls label {flex:1;min-width:0;gap:3px;font-size:10px;}
.demo-phone .demo-toolbar-controls select {width:100%;min-width:0;height:44px;font-size:13px;padding-left:10px;}
body .demo-phone .demo-app p.demo-notice {font-size:10px!important;line-height:1.5!important;padding:7px 16px;}
.demo-phone .demo-view {padding:16px;flex:1;min-height:0;overflow:auto;}
.demo-phone .demo-nav {margin-bottom:14px;gap:8px;}
.demo-phone .demo-nav strong {font-size:12px;}
.demo-phone .demo-nav small {font-size:10px;}
.demo-phone .demo-nav>.demo-button {padding:8px 12px;font-size:12px;}
.demo-phone .demo-view-heading {margin-bottom:14px;}
body :is(#menu-demo,.demo-dialog) .demo-phone .demo-view h3 {font-size:22px!important;}
.demo-phone .demo-app[data-stage=menu] .demo-view-heading p {display:none;}
.demo-phone .demo-search {gap:6px;margin-bottom:12px;font-size:12px;}
.demo-phone .demo-search input {height:44px;}
.demo-phone .demo-categories {gap:6px;margin-bottom:14px;}
.demo-phone .demo-categories .demo-button {padding:8px 10px;border-radius:22px;font-size:12px;}
.demo-phone .demo-categories [aria-pressed=true] {box-shadow:none;background:#164b9b;color:#fff;}
.demo-phone .demo-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.demo-phone .demo-product {position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border-radius:14px;overflow:hidden;}
.demo-phone .demo-product .demo-art {border:0;border-radius:0;border-bottom:1px solid #edf0f4;}
.demo-phone .demo-product .demo-art svg {height:112px;object-fit:contain;}
.demo-phone .demo-product-copy {padding:12px;gap:5px;flex:1;}
.demo-phone .demo-product-copy strong {font-size:13px;line-height:1.5;}
.demo-phone .demo-product-copy>span {font-size:11px;line-height:1.5;}
.demo-phone .demo-product-copy b {margin-top:auto;padding:8px 0 0;font-size:14px;}
.demo-phone .demo-product-plus {display:none;}
.demo-phone .demo-detail-layout,.demo-phone .demo-result-layout {grid-template-columns:minmax(0,1fr);gap:20px;}
.demo-phone .demo-art--large {max-width:240px;}
.demo-phone .demo-detail-quantity {flex-wrap:wrap;}
.demo-phone .demo-choice {gap:8px;padding-inline:10px;flex-wrap:wrap;}
.demo-phone .demo-choice b {max-width:90px;text-align:right;}
.demo-phone .demo-line {align-items:flex-start;flex-direction:column;gap:12px;}
.demo-phone .demo-line-actions {width:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;}
.demo-phone .demo-footer:not(:empty) {padding:12px 16px;}
.demo-phone .demo-checkout-bar {align-items:stretch;flex-direction:column;gap:10px;}
.demo-phone .demo-checkout-bar>div {display:flex;align-items:center;justify-content:space-between;}
.demo-phone .demo-checkout-bar strong {font-size:18px;}
.demo-phone .demo-detail-actions>.demo-button {width:100%;min-width:0;}
.demo-bottom-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-shrink:0;border-top:1px solid #dae3ef;padding:4px 8px;background:#fff;}
.demo-bottom-action {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;padding:6px 3px;border:0;background:#fff;color:#617185;font:inherit;font-size:11px;line-height:1.4;cursor:pointer;overflow-wrap:anywhere;}
.demo-bottom-action svg {width:21px;height:21px;flex-shrink:0;}
.demo-bottom-action b {display:inline-grid;place-items:center;min-width:17px;padding:1px 4px;border-radius:5px;background:#164b9b;color:#fff;font-size:10px;}
.demo-bottom-action[aria-current=page] {color:#164b9b;font-weight:650;}
.demo-phone .demo-status {min-height:18px;padding:0 16px;font-size:11px;}
.demo-history-card>strong {display:block;margin:20px 0;color:#164b9b;letter-spacing:.05em;font-size:22px;}
.demo-history-card>.demo-button {margin-top:16px;}
.demo-dialog {width:min(470px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-radius:24px;overflow:auto;scroll-padding-block:80px 20px;}
.demo-dialog-head {position:sticky;top:0;z-index:4;background:#fff;padding:10px 16px;}
.demo-dialog-head h2 {font-size:14px;}
.demo-dialog .demo-phone {border:0;border-radius:0;box-shadow:none;max-width:none;}
.demo-dialog .demo-device-chrome,.demo-dialog .demo-home-indicator {display:none;}
.demo-dialog .demo-phone .demo-app {height:min(760px,calc(100dvh - 92px));}
@media(max-width:850px) {
 #menu-demo>.service-shell {grid-template-columns:minmax(0,1fr);gap:26px;}
 .demo-section-heading {max-width:640px;margin:auto;}
 #menu-demo>.service-shell>.service-note {grid-column:1;}
}
@media(max-width:520px) {
 .demo-phone {max-width:430px;border:0;border-radius:18px;box-shadow:none;}
 .demo-device-chrome,.demo-home-indicator {display:none;}
 .demo-phone .demo-app,.demo-dialog .demo-phone .demo-app {height:auto;max-height:none;overflow:visible;}
 .demo-phone .demo-view {flex:none;overflow:visible;}
 .demo-dialog {width:calc(100% - 16px);}
}
@media(max-height:600px) {
 .demo-phone .demo-app,.demo-dialog .demo-phone .demo-app {height:auto;overflow:visible;}
 .demo-phone .demo-view {flex:none;overflow:visible;}
 .demo-phone {max-height:none;}
}
/* Dedicated phone browser view: Safari supplies the device chrome and safe areas. */
body.demo-standalone {margin:0;background:#fff;}
body.demo-standalone>.site-header,body.demo-standalone .site-support-dock,body.demo-standalone .totio-chat-panel,body.demo-standalone>.service-footer,body.demo-standalone main>*:not(#menu-demo) {display:none!important;}
body.demo-standalone #menu-demo {margin:0;padding:0;border:0;}
body.demo-standalone #menu-demo>.service-shell {display:block;width:100%;max-width:430px;margin:auto;padding:0;}
body.demo-standalone .demo-section-heading,body.demo-standalone #menu-demo>.service-shell>.service-note {display:none;}
body.demo-standalone .demo-return-link {display:flex;align-items:center;min-height:36px;padding:6px 16px;border-bottom:1px solid #e2e8f0;background:#fff;color:#164b9b;font-size:12px;text-decoration:none;}
body.demo-standalone .demo-phone {width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;}
body.demo-standalone .demo-device-chrome,body.demo-standalone .demo-home-indicator {display:none;}
body.demo-standalone .demo-phone .demo-app {height:calc(100dvh - 36px);max-height:none;overflow:hidden;}
body.demo-standalone .demo-phone .demo-view {flex:1;overflow:auto;}
body.demo-standalone .demo-bottom-nav {padding-bottom:max(4px,env(safe-area-inset-bottom,0px));}
@media(max-height:600px) {
 body.demo-standalone .demo-phone .demo-app {height:auto;overflow:visible;}
 body.demo-standalone .demo-phone .demo-view {flex:none;overflow:visible;}
}
