/* Product fields/classes derive from the original Tilely, Edge, Cockpit,
   Memories and Pass sources. Scoped adaptation for illustrative website views. */
.product-demo{--demo-bg:#141414;--demo-panel:#1c1c1c;--demo-line:#393939;--demo-text:#f1efe8;--demo-muted:#b4b2ad;--demo-accent:#c5dbd0;margin:0;border:1px solid var(--demo-line);background:var(--demo-bg);color:var(--demo-text);padding:clamp(18px,3vw,34px);font-size:14px;line-height:1.5;overflow:hidden;min-width:0;isolation:isolate}
.product-demo *{box-sizing:border-box;min-width:0}
.product-demo p,.product-demo h3,.product-demo h4,.product-demo figure,.product-demo ol{margin:0}
.product-demo h3{font-size:clamp(24px,3vw,37px);line-height:1.14;letter-spacing:-.04em;font-weight:500;max-width:780px}
.product-demo h4{font-size:19px;line-height:1.2;letter-spacing:-.025em;font-weight:550}
.product-demo a{color:inherit;text-decoration:none}
.product-demo a:focus-visible{outline:2px solid var(--demo-accent);outline-offset:5px}
.product-demo .arrow-icon{width:19px;height:19px;flex:none}
.product-demo .demo-caption{display:flex;justify-content:space-between;gap:16px;margin:0 0 26px;padding:0;background:none;position:static;color:var(--demo-muted);font-size:11px}
.product-demo .demo-caption strong{font-size:15px;line-height:1.2;color:var(--demo-text);font-weight:650;letter-spacing:-.02em}
.product-demo .demo-intro{margin-bottom:28px}
.product-demo .demo-intro>p{max-width:710px;margin-top:12px;color:var(--demo-muted);font-size:14px}
.product-demo .demo-note{font-size:11px;line-height:1.6;color:var(--demo-muted);padding-top:20px;max-width:850px}
.product-demo .demo-panel-label{font-size:10px;font-weight:650;letter-spacing:.075em;text-transform:uppercase;margin-bottom:15px;color:var(--demo-muted)}
.product-demo .demo-panel{padding:20px;background:var(--demo-panel);border:1px solid var(--demo-line)}
.product-demo .demo-flow-arrow{display:flex;align-items:center;justify-content:center;color:var(--demo-muted)}
.product-demo .demo-tilely-layout,.product-demo .demo-cockpit-layout,.product-demo .demo-pass-layout{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:8px;align-items:stretch}
/* Tilely: original compact admin row, editorial fields and public item card. */
.product-demo .tilely-products{display:grid;grid-template-columns:1fr;gap:10px}
.product-demo .tilely-product{display:grid;gap:0;padding:12px;border:1px solid var(--demo-line);border-radius:14px;background:#202020}
.product-demo .tilely-product-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.product-demo .tilely-product-open{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;flex:1;min-width:180px}
.product-demo .tilely-product-open strong{overflow-wrap:anywhere;font-size:13px;line-height:1.3;font-weight:600}
.product-demo .tilely-photo-empty{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;background:#30302e;color:#ddded6;font-size:20px;font-family:Georgia,serif}
.product-demo .tilely-product-price{font-size:12px;font-weight:600;white-space:nowrap}
.product-demo .tilely-toggle{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;color:var(--demo-muted);font-size:11px}
.product-demo .tilely-toggle input[role=switch]{appearance:none;-webkit-appearance:none;width:38px;height:24px;min-width:38px;margin:0;padding:0;border:1px solid #767976;border-radius:20px;background:#343634;position:relative;cursor:pointer}
.product-demo .tilely-toggle input[role=switch]::before{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:#bfc4bf;border-radius:50%;transition:transform 160ms}
.product-demo .tilely-toggle input[role=switch]:checked{background:#bcd8c7;border-color:#bcd8c7}
.product-demo .tilely-toggle input[role=switch]:checked::before{background:#15251c;transform:translateX(14px)}
.product-demo .tilely-toggle input[role=switch]:focus-visible{outline:2px solid white;outline-offset:4px}
.product-demo .tilely-product-details{display:grid;gap:12px;border-top:1px solid var(--demo-line);padding-top:14px;margin-top:12px}
.product-demo .tilely-product-details>div>span{display:block;color:var(--demo-muted);font-size:10px;margin-bottom:5px}
.product-demo .tilely-product-details strong,.product-demo .tilely-product-details p{display:block;background:#161616;border:1px solid #393939;padding:9px 10px;border-radius:8px;font-size:12px;font-weight:400}
.product-demo .demo-menu{background:#f3e8d2;color:#2a1711;border-color:#d3c6ab;--demo-muted:#675849}
.product-demo .demo-menu-brand{font-family:Georgia,serif;font-size:27px;margin:6px 0 20px;letter-spacing:-.04em}
.product-demo .item-grid{display:grid;grid-template-columns:1fr;border-top:1px solid #c6b79c}
.product-demo .menu-item{min-width:0;padding:0;background:#fff9ee;border:0;border-bottom:1px solid #c6b79c;border-radius:0;text-align:left;overflow:hidden}
.product-demo .item-copy{min-height:0;padding:18px;display:flex;flex-direction:column}
.product-demo .item-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px}
.product-demo .item-main h4{font-family:Georgia,serif;font-size:19px;font-weight:500;line-height:1.14}
.product-demo .item-main strong{color:#983d2b;font-size:12px;font-weight:650;white-space:nowrap}
.product-demo .item-copy>p{font-size:12px;line-height:1.5;color:#675849;margin-top:11px}
.product-demo .demo-hidden-label,.product-demo .demo-menu-hidden-message{display:none}
.product-demo:has([data-demo-visibility]:not(:checked)) [data-demo-menu-product=toast],.product-demo:has([data-demo-visibility]:not(:checked)) .demo-visible-label{display:none}
.product-demo:has([data-demo-visibility]:not(:checked)) .demo-hidden-label{display:inline}
.product-demo:has([data-demo-visibility]:not(:checked)) .demo-menu-hidden-message{display:block;padding:18px;font-size:12px;color:#675849;border-bottom:1px solid #c6b79c}
/* Edge: the same original KDS ticket shown at three successive states. */
.product-demo .demo-kds-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.product-demo .demo-step{display:inline-block;margin-right:10px;color:#8b8b86;font-weight:400}
.product-demo .ticket{display:flex;flex-direction:column;background:#1c1f26;border:1px solid #343a44;border-radius:14px;overflow:hidden}
.product-demo .ticket[data-status=preparing]{border-color:rgba(224,135,92,.7);box-shadow:0 0 0 1px rgba(224,135,92,.12)}
.product-demo .ticket[data-status=ready]{border-color:rgba(76,174,125,.7);box-shadow:0 0 0 1px rgba(76,174,125,.12)}
.product-demo .ticket-head{padding:17px 18px;border-bottom:1px solid #343a44;background:#15181f;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.product-demo .ticket-label{font-size:25px;line-height:1.1;font-weight:500;letter-spacing:-.03em;color:white}
.product-demo .ticket-meta{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#abb2bd;margin-top:7px}
.product-demo .ticket-items{list-style:none;padding:10px 18px;display:flex;flex-direction:column;gap:12px;flex:1}
.product-demo .ticket-item{display:grid;grid-template-columns:21px minmax(0,1fr);gap:9px;align-items:center;min-height:66px;padding-block:6px}
.product-demo .t-qty{font-size:23px;color:#d0d7df;font-weight:500}
.product-demo .t-name{font-size:13px;font-weight:600;line-height:1.4;color:#f1f3f5;overflow-wrap:anywhere}
.product-demo .t-meta{font-size:10px;color:#9ca7b6;margin-top:4px}
.product-demo .ticket-actions{border-top:1px solid #343a44;padding:15px 18px}
.product-demo .item-status{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#c1c7d0}
.product-demo .item-status[data-status=preparing]{color:#e9a47f}
.product-demo .item-status[data-status=ready]{color:#89cfaa}
.product-demo .demo-state-dot{display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;flex:none}
/* Cockpit: source lead contact/message and linked task fields. */
.product-demo .ld-card{background:#1c1c1c;border:1px solid var(--demo-line);padding:23px;border-radius:8px}
.product-demo .ld-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:24px}
.product-demo .ld-card-head .demo-panel-label{margin-bottom:9px}
.product-demo .ld-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.product-demo .ld-contact-grid>div{display:flex;flex-direction:column;gap:7px}
.product-demo .ld-contact-grid span,.product-demo .demo-field-label{color:var(--demo-muted);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.055em}
.product-demo .ld-contact-grid strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.product-demo .ld-message{margin-top:24px;padding-top:19px;border-top:1px solid var(--demo-line)}
.product-demo .ld-msg{margin-top:10px;font-size:15px;line-height:1.6}
.product-demo .demo-stage{font-size:10px;color:#d4c5f6;background:#362d49;border:1px solid #55486b;border-radius:6px;padding:5px 8px;white-space:nowrap}
.product-demo .demo-stage--progress{display:inline-flex;align-items:center;gap:7px;color:#d7b98a;background:#352e22;border-color:#61513a;margin:18px 0 23px}
.product-demo .demo-linked-request{color:var(--demo-muted);font-size:12px;border-top:1px solid var(--demo-line);padding-top:18px;margin-top:24px}
/* Memories: access card and original gallery/photo-card hierarchy. */
.product-demo .demo-memories-layout{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:30px}
.product-demo .access-card{background:#181816;color:white;padding:25px;border:1px solid rgba(255,255,255,.18);position:relative}
.product-demo .access-card::before{content:"";position:absolute;width:6px;height:42px;top:0;right:25px;background:#d47b4b}
.product-demo .access-card h4{font-size:27px;line-height:1.08;max-width:290px;margin:35px 0 13px;letter-spacing:-.04em}
.product-demo .access-card>p:not(.demo-panel-label){color:#b8b6b0;font-size:12px;line-height:1.55}
.product-demo .access-card .demo-field-label{display:block;margin-top:28px}
.product-demo .demo-access-code{display:block;padding:11px 0 15px;border-bottom:1px solid #66645f;font:600 clamp(24px,4vw,34px)/1.2 ui-monospace,monospace;letter-spacing:.12em;color:white}
.product-demo .access-card .demo-access-detail{margin-top:19px;font-size:11px}
.product-demo .gallery-intro{margin-bottom:21px}
.product-demo .gallery-intro h4{font-size:27px;margin:0 0 9px}
.product-demo .gallery-meta{color:var(--demo-muted);font-size:12px}
.product-demo .photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.product-demo .photo-card{margin:0;min-width:0}
.product-demo .photo-frame{position:relative;overflow:hidden;background:#292823;aspect-ratio:3/4}
.product-demo .photo-frame img{width:100%;height:100%;object-fit:cover;display:block}
.product-demo .photo-number{position:absolute;left:8px;top:8px;padding:4px 6px;color:white;background:rgba(17,19,16,.75);font-size:9px;letter-spacing:.08em}
.product-demo .photo-actions{padding:9px 0 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;font-size:10px}
.product-demo .photo-actions>span{color:var(--demo-muted)}
.product-demo .photo-actions a{display:inline-flex;align-items:center;gap:4px;color:#e2ad8e;font-weight:600;min-height:32px}
.product-demo .photo-actions .arrow-icon{width:13px;height:13px}
.product-demo .photo-actions a:hover{text-decoration:underline;text-underline-offset:4px}
/* Pass: real public directory names and real menu destinations. */
.product-demo .restaurant-grid{display:grid;gap:10px}
.product-demo .restaurant-card{display:grid;grid-template-columns:62px minmax(0,1fr) 18px;align-items:center;gap:15px;background:#1b1b1d;border:1px solid #343438;border-radius:12px;overflow:hidden;padding:13px;transition:border-color 150ms}
.product-demo .restaurant-card:hover,.product-demo .restaurant-card:focus-visible{border-color:#8b8b86}
.product-demo .restaurant-card.is-featured{border-color:#b6ada0;background:#232320}
.product-demo .restaurant-card__media{display:flex;align-items:center;justify-content:center;width:62px;height:62px;background:#f3e8d2;border-radius:7px;padding:6px}
.product-demo .restaurant-card__media img{display:block;width:100%;height:100%;object-fit:contain}
.product-demo .restaurant-card__body{padding:0}
.product-demo .restaurant-card__body strong{font-size:14px;font-weight:600;line-height:1.3;display:block}
.product-demo .card-category{display:block;color:var(--demo-muted);font-size:10px;line-height:1.4;margin-bottom:5px}
.product-demo .demo-pass-detail{background:#f3e8d2;color:#2a1711;padding:26px;display:flex;flex-direction:column;align-items:flex-start;--demo-muted:#6c5c4b}
.product-demo .demo-calma-mark{display:block;width:min(100%,280px);height:auto;aspect-ratio:4.2;object-fit:contain;margin:22px 0 24px}
.product-demo .demo-pass-detail>p:not(.card-category){font-size:15px;line-height:1.55;color:#66513f;margin-bottom:25px}
.product-demo .menu-button{display:flex;justify-content:space-between;align-items:center;gap:18px;max-width:100%;padding:16px 18px;background:#24231f;color:#fff9ee;font-size:13px;font-weight:600;width:100%;min-height:52px}
.product-demo .menu-button:hover{background:#42392c}
.product-demo .demo-directory-link{display:flex;align-items:center;gap:9px;padding:13px 0 0;min-height:44px;font-size:12px;color:#6c5140}
.product-demo .demo-directory-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){.product-demo .demo-kds-layout{gap:10px}.product-demo .ticket-head,.product-demo .ticket-items,.product-demo .ticket-actions{padding-inline:13px}.product-demo .demo-memories-layout{grid-template-columns:1fr 1fr;gap:18px}.product-demo .demo-tilely-layout,.product-demo .demo-cockpit-layout,.product-demo .demo-pass-layout{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:5px}.product-demo .demo-panel,.product-demo .ld-card{padding:17px}.product-demo .ld-contact-grid{grid-template-columns:1fr}.product-demo .restaurant-card{gap:10px;grid-template-columns:48px minmax(0,1fr) 16px;padding:11px}.product-demo .restaurant-card__media{width:48px;height:48px}.product-demo .restaurant-card__body strong{font-size:13px}.product-demo .demo-pass-detail{padding:20px}}
@media(max-width:660px){.product-demo .demo-tilely-layout,.product-demo .demo-cockpit-layout,.product-demo .demo-pass-layout,.product-demo .demo-memories-layout{grid-template-columns:minmax(0,1fr);gap:14px}.product-demo .demo-flow-arrow{height:24px}.product-demo .demo-flow-arrow .arrow-icon{transform:rotate(90deg)}.product-demo .demo-kds-layout{grid-template-columns:minmax(0,1fr);gap:24px}.product-demo .ticket-items{flex-direction:row;gap:18px;padding-block:13px}.product-demo .ticket-item{flex:1;min-height:50px}.product-demo .ticket-head{padding-block:14px}.product-demo .ticket-label{font-size:23px}.product-demo .ticket-actions{padding-block:13px}.product-demo .demo-kds-moment .demo-panel-label{margin-bottom:9px}.product-demo .ld-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-demo .access-card h4{margin-top:28px}.product-demo .demo-access-code{font-size:29px}.product-demo .demo-gallery{margin-top:13px}.product-demo .demo-caption{margin-bottom:22px}.product-demo .demo-intro{margin-bottom:24px}.product-demo .demo-note{padding-top:17px}.product-demo .demo-calma-mark{width:230px;margin-block:17px 23px}}
@media(max-width:380px){.product-demo .tilely-product-open{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;min-width:0;width:100%}.product-demo .tilely-photo-empty{width:30px;height:30px;font-size:17px}.product-demo .tilely-product-open strong{font-size:12px}.product-demo .tilely-product-price{font-size:11px}.product-demo .tilely-product-row{gap:3px}.product-demo .tilely-toggle{font-size:10px}.product-demo .demo-panel{padding:13px}.product-demo .ld-card{padding:16px}.product-demo .ld-contact-grid{grid-template-columns:1fr}.product-demo .ld-card-head{flex-direction:column;gap:12px}.product-demo .ticket-items{flex-direction:column;gap:3px}.product-demo .ticket-item{min-height:45px}.product-demo .photo-grid{gap:8px}.product-demo .photo-actions a{font-size:9px;gap:2px}.product-demo .photo-actions .arrow-icon{width:11px;height:11px}.product-demo .demo-pass-detail{padding:18px}.product-demo .menu-button{font-size:12px;padding:14px}.product-demo .demo-caption{font-size:10px}}
@media(max-width:660px){.product-demo .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.product-demo .photo-card:last-child{grid-column:1/-1}.product-demo .photo-card:last-child .photo-frame{aspect-ratio:16/9}.product-demo .photo-actions a{font-size:12px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.product-demo *,.product-demo *::before{transition:none!important;animation:none!important}}
