/* © 2026 Qder.ai (Itay Funes). All rights reserved. Proprietary and confidential; see LICENSE. */
/*
 * qder.ai/demo (2026-10-09): the page around the request form, and the live Qder OS demo over it.
 * The screens themselves are os-live.css (the product's sizes at 1600 x 900); what is here is
 * only what the demo adds: the parts become buttons, the banners, the table sheet, the home
 * screen's three apps, and the frame the screen sits in.
 */

/* ---------------------------------------------------------- the page */
.demo-list { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.demo-list li { line-height: 1.6; color: var(--body, #4A5578); }
.demo-list b { color: var(--ink, #111A33); }
.demo-steps { margin: .4rem 0 0; padding-inline-start: 1.3rem; display: grid; gap: .5rem; line-height: 1.6; }
.demo-gate h2 { margin-bottom: .3rem; }
/* The choices the demo is built from: chips that are checkboxes (and radios), big enough for a thumb. */
.demo-pick { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.demo-pick legend { padding: 0; margin-bottom: .55rem; font-weight: 700; font-size: 15px; color: var(--ink, #111A33); display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.demo-pick legend .hint { font-weight: 400; font-size: 13px; color: var(--muted, #4F5A7C); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chips label { position: relative; display: inline-flex; cursor: pointer; }
.demo-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.demo-chips span { min-height: 44px; padding: 0 16px; border-radius: 22px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line, #E3E8F2); background: #fff; font-size: 15px; font-weight: 600; color: var(--body, #4A5578); transition: background .15s, border-color .15s, color .15s; }
.demo-chips label:hover span { border-color: #9DB6F7; }
.demo-chips input:checked + span { background: #0B3FD9; border-color: #0B3FD9; color: #fff; }
.demo-chips input:checked + span::before { content: "✓"; font-weight: 800; }
.demo-chips input:focus-visible + span { outline: 3px solid #9DB6F7; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------- the stage: a dark room, the screen lit in it */
html.demo-on, html.demo-on body { overflow: hidden; }
.demo-stage {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: radial-gradient(1200px 700px at 50% 40%, #16224A 0%, #0A1330 70%);
  color: #fff;
}
.demo-stage[hidden] { display: none; }
.demo-bar {
  height: 56px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.demo-brand { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.demo-brand img { filter: brightness(0) invert(1); opacity: .95; }
.demo-for { font-size: 15px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demo-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.demo-tool, .demo-cta {
  height: 36px; padding: 0 14px; border-radius: 18px; display: inline-flex; align-items: center; gap: 6px;
  font: 600 14px/1 inherit; color: #fff; text-decoration: none; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.demo-tool:hover { background: rgba(255, 255, 255, .14); }
.demo-tool[aria-pressed="true"] { background: rgba(110, 146, 242, .28); border-color: rgba(157, 182, 247, .6); }
.demo-tool[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7CF0C8; }
.demo-cta { background: #fff; color: #0B3FD9; border-color: #fff; font-weight: 800; }
.demo-cta:hover { background: #EAF0FD; }
.demo-tool:focus-visible, .demo-cta:focus-visible { outline: 3px solid #9DB6F7; outline-offset: 2px; }
.demo-screen { flex: 1; position: relative; margin: 14px; min-height: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.demo-small { display: none; margin: 0 16px 12px; font-size: 13px; color: rgba(255, 255, 255, .7); text-align: center; }
@media (max-width: 760px) {
  .demo-small { display: block; }
  .demo-tools .demo-tool:not(#tourBtn):not(#soundBtn) { display: none; }
  .demo-for { display: none; }
  .demo-bar { gap: 8px; padding: 0 10px; }
  .demo-tool, .demo-cta { padding: 0 10px; font-size: 13px; }
  .demo-screen { margin: 8px; }
}

/* The first card: what this is, and whether to start with sound (a press is what lets a browser play it). */
.demo-intro { position: absolute; inset: 56px 0 0; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 13, 32, .55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 3; }
.demo-intro[hidden] { display: none; }
.demo-intro-card { width: min(560px, 100%); background: #fff; color: #111A33; border-radius: 22px; padding: 28px 28px 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.demo-intro-card h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.25; }
.demo-intro-card .demo-setup { display: inline-block; margin: 0 0 14px; padding: 8px 14px; border-radius: 12px; background: #F1F5FE; color: #0830A8; font-weight: 700; font-size: 15px; line-height: 1.5; }
.demo-intro-card p { margin: 0 0 10px; line-height: 1.65; color: #4A5578; }
.demo-intro-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------------------------------------------------------- the screen, made to be pressed */
.ql.qd { pointer-events: auto; }
.qd .ql-tap { pointer-events: none; }
:where(.qd) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.qd button:focus-visible, .qd [role="button"]:focus-visible { outline: 4px solid var(--accent300); outline-offset: 3px; }
.qd .ql-btn { cursor: pointer; border: 0; }
.qd .ql-btn.qt { border: 1px solid var(--line); }
.qd .ql-btn:active, .qd .qd-mini-btn:active, .qd .ql-pillbtn:active { transform: scale(.97); }
.qd .ql-tb { text-align: start; width: 100%; font: inherit; }
.qd .ql-tb:hover { border-color: var(--accent300); }
.qd .ql-tb.busy:hover { border-color: var(--accent700); }
.qd .ql-pillbtn { width: 100%; cursor: pointer; }
.qd .ql-pillbtn:hover { border-color: var(--accent300); }
.qd .ql-seg [role="button"] { cursor: pointer; }
.qd .ql-seg [role="button"]:hover { background: var(--accent50); }
.qd .ql-count { cursor: default; }
.qd button.ql-count { cursor: pointer; }
.qd .ql-undo .u { background: #fff; cursor: pointer; }
.qd .qd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qd .qd-tags .ql-tag { cursor: pointer; }
.qd-empty { position: absolute; top: 120px; inset-inline: 0; text-align: center; font-size: 22px; color: var(--muted); }
.qd-kb { display: flex; gap: 40px; margin-top: 12px; align-items: baseline; }
.qd-kb .ql-count b { font-size: 44px; }
.qd-row { gap: 10px; }
.qd-row .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-row .ql-mini { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-row .tg { margin-inline-start: 0; }
.qd-mini-btn { flex: none; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line) !important; background: #fff !important;
  font-weight: 700; font-size: 15px; color: var(--ink); }
.qd-mini-btn.pri { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.ql-bk .tg.b { background: var(--accent50); color: var(--accent700); }
.ql-bk .tg.r { background: var(--roseBg); color: var(--roseInk); }

/* The dock: home, the three apps, settings. */
.qd-dock { gap: 40px; padding: 10px 34px 14px; }
.qd-dock .it { cursor: pointer; }
.qd-dock .it .lb, .qd-dock .it > span:last-child { white-space: nowrap; }
.qd-dock .badge[hidden] { display: none; }
.qd-dock .it:hover .tile { transform: translateY(-2px); }
.qd-dock .tile { transition: transform .2s; }

/* ---------------------------------------------------------- home: the clock and the three apps */
.qd-home-top { position: absolute; top: 110px; inset-inline: 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.qd .qd-clock { position: static; }
.qd .qd-clock .t { font-size: 140px; }
.qd .qd-clock .d { margin-top: 14px; font-size: 26px; }
.qd .qd-clock .b { margin-top: 14px; font-size: 40px; }
.qd-home-note { max-width: 500px; font-size: 20px; line-height: 1.55; color: var(--body); padding-bottom: 12px; }
.qd-apps { position: absolute; inset-inline: 60px; top: 440px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qd-apps.two { grid-template-columns: repeat(2, 1fr); inset-inline-end: 340px; }
.qd-app { padding: 26px 26px 28px; border-radius: 28px; background: rgba(255, 255, 255, .88); border: 1px solid var(--edge);
  box-shadow: 0 30px 60px -40px rgba(10, 19, 48, .5); }
.qd-app .h { display: flex; align-items: center; gap: 16px; font: 800 30px/1.1 "Heebo", sans-serif; color: var(--navy); }
.qd-app .ic { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(160deg, #2556E8, var(--accent700)); box-shadow: 0 12px 22px -12px rgba(11, 63, 217, .7); }
.qd-app .ic svg { width: 34px; height: 34px; }
.qd-app .nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.qd-app .nums b { display: block; font: 900 42px/1.05 "Heebo", sans-serif; color: var(--accent); }
.qd-app .nums b.r { color: var(--rose); } .qd-app .nums b.a { color: var(--amber); }
.qd-app .nums span { font-size: 16px; color: var(--muted); }
.qd-app .open { margin-top: 24px; width: 100%; height: 60px; border-radius: 30px; display: flex !important; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #1F52EA, var(--accent)) !important; color: #fff !important; font-weight: 700; font-size: 19px;
  box-shadow: 0 14px 24px -14px rgba(11, 63, 217, .8); }

/* ---------------------------------------------------------- the banners (each event, wherever you are) */
.qd-toasts { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); width: 640px; z-index: 8;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.qd-toast { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 22px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--edge); box-shadow: 0 22px 40px -22px rgba(10, 19, 48, .55);
  transition: opacity .35s, transform .35s; }
.qd-toast.drop { opacity: 0; transform: translateY(-14px); }
.qd-toast.gone { opacity: 0; transform: translateY(-8px) scale(.98); }
.qd-toast .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--accent50); color: var(--accent); }
.qd-toast .ic svg { width: 24px; height: 24px; }
.qd-toast.r .ic { background: var(--roseBg); color: var(--rose); }
.qd-toast.a .ic { background: var(--amberBg); color: var(--amber); }
.qd-toast.t .ic { background: var(--tealBg); color: var(--teal); }
.qd-toast .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qd-toast b { font-size: 18px; color: var(--navy); }
.qd-toast .tx span { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------- a table, opened from the floor */
.qd-scrim { position: absolute; inset: 0; border-radius: 28px; background: rgba(10, 19, 48, .28); z-index: 5; }
.qd-sheet { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: 600px; z-index: 6;
  background: #fff; border-radius: 26px; border: 1px solid var(--edge); padding: 24px 26px 22px;
  box-shadow: 0 40px 80px -36px rgba(10, 19, 48, .6); }
.qd-sheet-h { display: flex; align-items: center; gap: 14px; }
.qd-sheet-h b { font: 900 38px/1 "Heebo", sans-serif; color: var(--navy); }
.qd-sheet-h span { font-size: 18px; color: var(--muted); }
.qd-sheet-h .ql-ibtn { margin-inline-start: auto; width: 48px; height: 48px; border: 1px solid var(--line) !important; background: #fff !important; display: grid; place-items: center; }
.qd-sheet-h .ql-ibtn svg { width: 22px; height: 22px; }
.qd-callstrip { margin-top: 16px; border-radius: 14px; background: var(--roseBg); color: var(--roseInk); padding: 12px 16px; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.qd-callstrip svg { width: 22px; height: 22px; color: var(--rose); }
.qd-bill { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; max-height: 330px; overflow: hidden; }
.qd-bl { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 18px; border-bottom: 1px solid var(--line2); }
.qd-bl b { font-size: 19px; color: var(--navy); }
.qd-bl.tot { border-bottom: 0; font-weight: 800; color: var(--navy); }
.qd-bl.tot b { font-size: 24px; color: var(--accent); }
.qd-sheet-btns { display: flex; gap: 12px; margin-top: 18px; }
.qd-sheet-btns .ql-btn { height: 62px; }

@media (prefers-reduced-motion: reduce) {
  .qd-toast, .qd-dock .tile { transition: none; }
}

/* The floor holds three rows of tables with the stats above them (the reel shows two). */
.qd .ql-floor .ql-tb { height: 92px; }
.qd .ql-floor .ql-stats { margin-top: 12px; }
.qd .ql-floor .ql-zone { margin-top: 14px; }
.qd .ql-floor .ql-legend { margin-top: 12px; }
.qd .qd-kb { gap: 28px; }
.qd .qd-kb .ql-count { gap: 8px; font-size: 17px; }
.qd .qd-kb .ql-count b { font-size: 40px; }
.qd .qd-kb .qd-paid b { font-size: 28px; }

/* ---------------------------------------------------------- moving around (2026-10-09, the founder: "click on buttons and move around") */
/* Every open ticket is on the rail; it scrolls sideways (a finger natively, a mouse by dragging or the wheel). */
.qd .ql-rail { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.qd .ql-rail::-webkit-scrollbar { display: none; }
.qd .ql-rail:active { cursor: grabbing; }
/* A dish line crosses off with a tap, as on the kitchen tablets. */
.qd .ql-ln[role="button"] { cursor: pointer; border-radius: 10px; }
.qd .ql-ln[role="button"]:hover { background: var(--bgAlt); }
.qd .ql-ln.done .nm { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--faint); }
.qd .ql-ln.done .q { color: var(--faint); }
/* A dish in "to make" lights up the tickets that carry it. */
.qd .qd-hlrow { width: calc(100% + 16px); margin-inline: -8px; padding: 6px 8px; border-radius: 12px; text-align: start; }
.qd .qd-hlrow:hover { background: var(--bgAlt); }
.qd .qd-hlrow.on { background: var(--accent50); box-shadow: inset 0 0 0 2px var(--accent100); }
.qd .ql-tk.hl .card { box-shadow: 0 0 0 5px var(--accent300), 0 14px 28px -14px rgba(10, 19, 48, .2); }
.qd .ql-tk.hl .clip { background: var(--accent300); border-color: var(--accent); }
.qd .qd-served .card { opacity: .9; }
.qd .qd-served .band .a { font-size: 22px; }
/* Calls, bookings and the waitlist hold everyone and scroll. */
.qd .ql-calls .ql-card { display: flex; flex-direction: column; }
.qd .ql-calls .list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.qd .qd-scroll { overflow-y: auto; scrollbar-width: thin; }
.qd .qd-bklist { max-height: 148px; }
.qd .qd-wllist { max-height: 132px; }
/* The pieces that follow the screen's theme. */
.qd .ql-btn.pri { background: var(--accent); }
.qd .ql-dock .app .tile, .qd .qd-app .ic { background: linear-gradient(160deg, var(--accent), var(--accent700)); }
.qd .qd-app .open { background: var(--accent) !important; }

/* The layer over the apps: the bell, settings, the voice assistant. */
.qd-layerhost { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.qd-layerhost > * { pointer-events: auto; }
.qd .qd-layer-scrim { position: absolute; inset: 0; border-radius: 0; background: rgba(10, 19, 48, .26); z-index: 0; }
.qd-panel { position: absolute; top: 66px; inset-inline-end: 36px; width: 600px; max-height: 690px; display: flex; flex-direction: column;
  background: #fff; border-radius: 26px; border: 1px solid var(--edge); padding: 22px 24px 24px; box-shadow: 0 40px 80px -36px rgba(10, 19, 48, .6); }
.qd-panel-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.qd-panel-h b { font: 900 32px/1 "Heebo", sans-serif; color: var(--navy); }
.qd-panel-h span { font-size: 16px; color: var(--muted); flex: 1; min-width: 200px; }
.qd-panel-h .ql-ibtn { width: 48px; height: 48px; border: 1px solid var(--line) !important; background: #fff !important; display: grid; place-items: center; align-self: center; }
.qd-panel-h .ql-ibtn svg { width: 22px; height: 22px; }
.qd-notices { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.qd-notices .qd-toast { box-shadow: none; border-color: var(--line); }
.qd-when { margin-inline-start: auto; flex: none; font-size: 13px; color: var(--muted); white-space: nowrap; }
.qd-panel h5 { margin: 20px 0 10px; font-size: 17px; color: var(--navy); }
.qd-themes { display: flex; flex-wrap: wrap; gap: 10px; }
.qd-theme { height: 54px; padding: 0 18px; border-radius: 27px; border: 1px solid var(--line) !important; display: inline-flex !important; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.qd-theme i { width: 24px; height: 24px; border-radius: 50%; }
.qd-theme.on { border: 3px solid var(--accent) !important; }
.qd-switch { display: flex !important; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; color: var(--ink); }
.qd-switch i { width: 56px; height: 32px; border-radius: 16px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.qd-switch i::after { content: ""; position: absolute; top: 4px; inset-inline-start: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.qd-switch.on i { background: var(--accent); }
.qd-switch.on i::after { inset-inline-start: 28px; }
.qd-panel-note { margin: 18px 0 0; }
.qd-assist { position: absolute; bottom: 150px; left: 50%; transform: translateX(-50%); width: 760px; display: flex; align-items: center; gap: 22px;
  padding: 20px 28px; border-radius: 32px; background: rgba(10, 19, 48, .93); color: #fff; box-shadow: 0 30px 60px -30px rgba(10, 19, 48, .8); }
.qd-mic { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.qd-mic svg { width: 36px; height: 36px; color: #fff; }
.qd-mic.live { animation: qd-pulse 1s ease-in-out infinite; }
@keyframes qd-pulse { 50% { box-shadow: 0 0 0 16px rgba(110, 146, 242, .35); } }
.qd-assist-tx b { display: block; font-size: 26px; line-height: 1.25; }
.qd-assist-tx span { display: block; margin-top: 4px; font-size: 17px; color: rgba(255, 255, 255, .82); }
@media (prefers-reduced-motion: reduce) { .qd-mic.live { animation: none; } }
