/* RestaurantOS screens, drawn in HTML from the real app (sample data). They take the place of the
   salon site's screenshots: each scales with its box like an image (sizes are in container units). */
.rs-screen { --rs-accent: #c2410c; --rs-soft: #fff0e5; --rs-ink: #17181c; --rs-muted: #62656f; --rs-line: #e3e3df; --rs-bg: #f5f5f3;
  container-type: inline-size; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rs-bg); color: var(--rs-ink);
  font: 400 12px/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; border-radius: inherit; user-select: none; }
.rs-screen * { box-sizing: border-box; }
/* Container units measure the nearest container above, so the base size goes on the children. */
.rs-screen > * { font-size: 1.2cqw; }
.rs-app { display: grid; grid-template-columns: 6.2cqw minmax(0, 1fr); height: 100%; }
.rs-rail { background: #fff; border-right: 1px solid var(--rs-line); display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding: 1.4cqw 0; }
.rs-rail b { width: 3.4cqw; height: 3.4cqw; border-radius: .9cqw; background: var(--rs-accent); color: #fff; display: grid; place-items: center; font-size: 1.7cqw; }
.rs-rail i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: var(--rs-bg); border: 1px solid var(--rs-line); }
.rs-rail i.on { background: var(--rs-soft); border-color: #f6c7a6; box-shadow: inset 0 0 0 .25cqw #fff, inset 0 0 0 .5cqw var(--rs-accent); }
.rs-main { padding: 1.8cqw 2.2cqw; display: flex; flex-direction: column; gap: 1.3cqw; min-width: 0; }
.rs-top { display: flex; align-items: center; gap: 1cqw; }
.rs-top h4 { margin: 0; font-size: 2cqw; font-weight: 700; letter-spacing: -.02em; color: var(--rs-ink); font-family: inherit; }
.rs-top small { color: var(--rs-muted); font-size: 1.05cqw; }
.rs-top .rs-sp { flex: 1; }
.rs-btn { display: inline-flex; align-items: center; gap: .5cqw; padding: .7cqw 1.2cqw; border-radius: .8cqw; background: var(--rs-accent); color: #fff; font-weight: 600; font-size: 1.1cqw; white-space: nowrap; }
.rs-btn.ghost { background: #fff; color: var(--rs-ink); border: 1px solid var(--rs-line); }
.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1cqw; }
.rs-stat { background: #fff; border: 1px solid var(--rs-line); border-radius: 1cqw; padding: 1cqw 1.2cqw; }
.rs-stat span { display: block; color: var(--rs-muted); font-size: 1cqw; }
.rs-stat b { display: block; font-size: 2cqw; letter-spacing: -.02em; margin-top: .2cqw; }
.rs-stat.hot b { color: var(--rs-accent); }
.rs-chips { display: flex; gap: .6cqw; flex-wrap: wrap; }
.rs-chips span { padding: .45cqw 1cqw; border-radius: 99px; background: #fff; border: 1px solid var(--rs-line); font-size: 1cqw; color: var(--rs-muted); }
.rs-chips span.on { background: var(--rs-ink); border-color: var(--rs-ink); color: #fff; }
.rs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1cqw; }
.rs-card { background: #fff; border: 1px solid var(--rs-line); border-left: .45cqw solid #f59e0b; border-radius: 1cqw; padding: 1cqw 1.2cqw; display: grid; gap: .45cqw; }
.rs-card header, .rs-card footer { display: flex; justify-content: space-between; align-items: center; gap: .6cqw; }
.rs-card header b { font-size: 1.35cqw; }
.rs-card header span, .rs-card footer span { color: var(--rs-muted); font-size: 1cqw; }
.rs-card p { margin: 0; font-size: 1.1cqw; color: var(--rs-ink); }
.rs-card.ready { border-left-color: #16a34a; } .rs-card.pay { border-left-color: #2563eb; } .rs-card.new { border-left-color: var(--rs-accent); }
.rs-tag { padding: .25cqw .75cqw; border-radius: 99px; font-size: .95cqw; font-weight: 600; background: #fdf3dc; color: #92400e !important; }
.rs-tag.ok { background: #e6f6eb; color: #15803d !important; } .rs-tag.blue { background: #e8efff; color: #1d4ed8 !important; } .rs-tag.or { background: var(--rs-soft); color: var(--rs-accent) !important; }
/* Kitchen display: dark, as in the app. */
.rs-kds { --rs-bg: #0e0f12; --rs-line: #2a2e36; --rs-muted: #9aa1ad; --rs-ink: #f2f3f5; }
.rs-kin { height: 100%; padding: 1.8cqw 2.2cqw; display: flex; flex-direction: column; gap: 1.4cqw; }
.rs-kds .rs-top h4 { color: #f2f3f5; }
.rs-kds .rs-chips span { background: #17191e; color: #cdd1d8; }
.rs-kds .rs-chips span.on { background: var(--rs-accent); border-color: var(--rs-accent); }
.rs-tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1cqw; align-items: start; }
.rs-ticket { background: #17191e; border: 1px solid #2a2e36; border-top: .5cqw solid #f59e0b; border-radius: 1cqw; overflow: hidden; }
.rs-ticket header { display: flex; justify-content: space-between; padding: 1cqw 1.2cqw; background: #1f2228; font-weight: 700; font-size: 1.3cqw; }
.rs-ticket header span { color: #9aa1ad; font-weight: 500; font-size: 1.05cqw; }
.rs-ticket ul { list-style: none; margin: 0; padding: 1cqw 1.2cqw; display: grid; gap: .7cqw; font-size: 1.25cqw; }
.rs-ticket li b { color: #fdba74; margin-right: .5cqw; }
.rs-ticket li small { display: block; color: #9aa1ad; font-size: .95cqw; margin-left: 2.2cqw; }
.rs-ticket footer { display: flex; justify-content: space-between; align-items: center; padding: .9cqw 1.2cqw; border-top: 1px solid #2a2e36; font-size: 1.05cqw; color: #cdd1d8; }
.rs-ticket footer i { font-style: normal; padding: .35cqw .9cqw; border-radius: .6cqw; background: var(--rs-accent); color: #fff; font-weight: 600; }
.rs-ticket.late { border-top-color: #ef4444; } .rs-ticket.late header { background: #3a1515; } .rs-ticket.late footer span { color: #f87171; font-weight: 700; }
.rs-ticket.ok { border-top-color: #22c55e; opacity: .8; } .rs-ticket.ok footer i { background: #15803d; }
.rs-ticket.new { border-top-color: var(--rs-accent); }
/* Order panel and bill. */
.rs-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4cqw; min-height: 0; flex: 1; }
.rs-panel { background: #fff; border: 1px solid var(--rs-line); border-radius: 1.1cqw; padding: 1.3cqw 1.5cqw; display: flex; flex-direction: column; gap: .8cqw; min-width: 0; }
.rs-panel h5 { margin: 0; font-size: 1.45cqw; font-family: inherit; font-weight: 700; color: var(--rs-ink); display: flex; justify-content: space-between; align-items: center; }
.rs-panel h5 small { font-weight: 500; color: var(--rs-muted); font-size: 1cqw; }
.rs-line { display: grid; grid-template-columns: 3cqw minmax(0, 1fr) auto; gap: .9cqw; align-items: center; font-size: 1.4cqw; padding: 1.05cqw 0; border-bottom: 1px dashed var(--rs-line); }
.rs-line em { font-style: normal; display: grid; place-items: center; height: 2.8cqw; border-radius: .6cqw; background: var(--rs-bg); font-weight: 700; }
.rs-line small { display: block; color: var(--rs-muted); font-size: 1.05cqw; }
.rs-line b { font-weight: 600; }
.rs-veg, .rs-non { display: inline-block; width: 1.05cqw; height: 1.05cqw; border: .18cqw solid #15803d; border-radius: .2cqw; margin-right: .5cqw; vertical-align: -.1cqw; position: relative; }
.rs-veg::after, .rs-non::after { content: ""; position: absolute; inset: .18cqw; border-radius: 50%; background: #15803d; }
.rs-non { border-color: #b91c1c; } .rs-non::after { background: #b91c1c; }
.rs-sum { display: flex; justify-content: space-between; font-size: 1.3cqw; padding: .2cqw 0; color: var(--rs-muted); }
.rs-sum.total { color: var(--rs-ink); font-size: 2cqw; font-weight: 700; padding-top: .9cqw; margin-top: .4cqw; border-top: 1px solid var(--rs-line); }
.rs-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7cqw; }
.rs-pay span { text-align: center; padding: 1.2cqw .4cqw; border-radius: .8cqw; border: 1px solid var(--rs-line); font-weight: 600; font-size: 1.1cqw; }
.rs-pay span.on { border-color: var(--rs-accent); background: var(--rs-soft); color: var(--rs-accent); }
.rs-paid { margin-top: auto; padding: 1cqw 1.2cqw; border-radius: .9cqw; background: #e6f6eb; color: #15803d; font-weight: 700; display: flex; justify-content: space-between; font-size: 1.2cqw; }
.rs-receipt { background: #fff; border-radius: .6cqw; padding: 1.3cqw 1.5cqw; font: 500 1.12cqw/1.55 ui-monospace, Menlo, Consolas, monospace; color: #222; box-shadow: 0 1.2cqw 2.4cqw -1.4cqw rgb(0 0 0 / .35); border: 1px solid var(--rs-line); }
.rs-receipt p { margin: 0 0 .6cqw; text-align: center; } .rs-receipt p b { display: block; font-size: 1.3cqw; }
.rs-receipt div { display: flex; justify-content: space-between; } .rs-receipt .t { border-top: 1px dashed #999; margin-top: .4cqw; padding-top: .4cqw; font-weight: 700; }
/* Table board. */
.rs-floor { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1cqw; }
.rs-table { aspect-ratio: 1.25; border-radius: 1.1cqw; background: #fff; border: 1px solid var(--rs-line); padding: 1cqw; display: flex; flex-direction: column; justify-content: space-between; }
.rs-table b { font-size: 1.7cqw; } .rs-table span { font-size: 1cqw; color: var(--rs-muted); } .rs-table strong { font-size: 1.25cqw; }
.rs-table.busy { background: #fdf3dc; border-color: #f4d58d; } .rs-table.kitchen { background: var(--rs-soft); border-color: #f6c7a6; }
.rs-table.bill { background: #e8efff; border-color: #bfd0fb; } .rs-table.ready { background: #e6f6eb; border-color: #b7e2c3; }
.rs-table.free b { color: var(--rs-muted); }
.rs-legend { display: flex; gap: 1.4cqw; font-size: 1cqw; color: var(--rs-muted); }
.rs-legend i { display: inline-block; width: 1cqw; height: 1cqw; border-radius: .3cqw; margin-right: .4cqw; vertical-align: -.1cqw; background: #fff; border: 1px solid var(--rs-line); }
.rs-legend .l2 { background: #fdf3dc; } .rs-legend .l3 { background: var(--rs-soft); } .rs-legend .l4 { background: #e6f6eb; } .rs-legend .l5 { background: #e8efff; }
/* Reports. */
.rs-chart { background: #fff; border: 1px solid var(--rs-line); border-radius: 1.1cqw; padding: 1.3cqw 1.5cqw; flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: .8cqw; min-height: 0; }
.rs-bars { display: flex; align-items: flex-end; gap: .9cqw; height: 100%; border-bottom: 1px solid var(--rs-line); padding: 0 .4cqw; }
.rs-bars i { flex: 1; border-radius: .5cqw .5cqw 0 0; background: #f6c7a6; height: var(--h); position: relative; }
.rs-bars i.on { background: var(--rs-accent); }
.rs-bars i::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--p, 60%); border-top: .2cqw dashed #9aa1ad; opacity: .8; }
.rs-axis { display: flex; justify-content: space-between; color: var(--rs-muted); font-size: .95cqw; padding: 0 .4cqw; }
.rs-up { color: #15803d; font-weight: 600; font-size: 1cqw; }
/* Delivery. */
.rs-plat { display: grid; grid-template-columns: 3.2cqw minmax(0, 1fr) auto; gap: 1cqw; align-items: center; padding: .8cqw 0; border-bottom: 1px solid var(--rs-line); font-size: 1.1cqw; }
.rs-plat > i { width: 3.2cqw; height: 3.2cqw; border-radius: .8cqw; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 1.3cqw; }
.rs-plat small { display: block; color: var(--rs-muted); font-size: .95cqw; }
.rs-p-sw { background: #fc8019; } .rs-p-zo { background: #e23744; } .rs-p-own { background: var(--rs-ink); } .rs-p-mp { background: #7c3aed; }
/* Phones (guest QR menu, captain). */
.rs-phone { --rs-accent: #c2410c; container-type: inline-size; display: flex; flex-direction: column; width: 100%; aspect-ratio: 600 / 1298; background: #f5f5f3; color: #17181c; overflow: hidden; border-radius: inherit;
  font: 400 12px/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; user-select: none; }
.rs-phone * { box-sizing: border-box; }
.rs-phone > * { font-size: 3.6cqw; }
.rs-ph-top { padding: 7cqw 5cqw 4cqw; background: #fff; border-bottom: 1px solid #e3e3df; }
.rs-ph-top b { display: block; font-size: 5.6cqw; letter-spacing: -.02em; } .rs-ph-top span { color: #62656f; font-size: 3.4cqw; }
.rs-ph-cats { display: flex; gap: 2cqw; padding: 3.5cqw 5cqw; overflow: hidden; }
.rs-ph-cats span { padding: 1.6cqw 3.4cqw; border-radius: 99px; background: #fff; border: 1px solid #e3e3df; font-size: 3.2cqw; white-space: nowrap; }
.rs-ph-cats span.on { background: #17181c; color: #fff; border-color: #17181c; }
.rs-ph-list { padding: 0 5cqw; display: grid; gap: 3cqw; flex: 1; align-content: start; }
.rs-dish { display: grid; grid-template-columns: 19cqw minmax(0, 1fr); gap: 3.2cqw; background: #fff; border: 1px solid #e3e3df; border-radius: 4cqw; padding: 2.6cqw; align-items: center; }
.rs-dish > i { aspect-ratio: 1; border-radius: 3cqw; background: radial-gradient(circle at 35% 35%, #fbbf77, #c2410c 70%, #7c2d12); }
.rs-dish > i.g { background: radial-gradient(circle at 35% 35%, #fde68a, #d97706 70%, #78350f); }
.rs-dish > i.r { background: radial-gradient(circle at 35% 35%, #fecaca, #dc2626 65%, #7f1d1d); }
.rs-dish > i.w { background: radial-gradient(circle at 35% 35%, #fff7ed, #e7cfae 65%, #a16207); }
.rs-dish b { display: block; font-size: 3.8cqw; } .rs-dish small { color: #62656f; font-size: 3cqw; display: block; }
.rs-dish div > span { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4cqw; font-weight: 700; }
.rs-dish em { font-style: normal; padding: 1cqw 3.4cqw; border-radius: 2cqw; border: 1px solid var(--rs-accent); color: var(--rs-accent); font-size: 3.2cqw; font-weight: 700; }
.rs-dish em.n { background: var(--rs-accent); color: #fff; }
.rs-phone .rs-veg, .rs-phone .rs-non { width: 3.2cqw; height: 3.2cqw; border-width: .5cqw; border-radius: .6cqw; margin-right: 1.4cqw; }
.rs-phone .rs-veg::after, .rs-phone .rs-non::after { inset: .5cqw; }
.rs-ph-bar { margin: 4cqw 5cqw 6cqw; padding: 3.6cqw 4.4cqw; border-radius: 4cqw; background: var(--rs-accent); color: #fff; display: flex; justify-content: space-between; font-weight: 700; font-size: 3.6cqw; }
.rs-ph-asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; padding: 0 5cqw 3cqw; }
.rs-ph-asks span { text-align: center; padding: 2.2cqw 0; border-radius: 3cqw; background: #fff; border: 1px solid #e3e3df; font-size: 3cqw; font-weight: 600; }
.rs-ph-lines { padding: 0 5cqw; display: grid; gap: 0; flex: 1; align-content: start; background: #fff; margin: 0 5cqw; border-radius: 4cqw; border: 1px solid #e3e3df; }
.rs-ph-lines div { display: flex; justify-content: space-between; gap: 2cqw; padding: 3cqw 0; border-bottom: 1px dashed #e3e3df; font-size: 3.5cqw; }
.rs-ph-lines div:last-child { border-bottom: 0; }
.rs-ph-lines small { display: block; color: #62656f; font-size: 2.9cqw; }
.rs-ph-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid #e3e3df; padding: 2.4cqw 0 5cqw; margin-top: 4cqw; }
.rs-ph-tabs i { justify-self: center; width: 7cqw; height: 7cqw; border-radius: 2cqw; background: #f0f0ed; }
.rs-ph-tabs i.on { background: var(--rs-accent); }
/* Fitting the screens into the salon layout's picture frames. */
.mx-window a { text-decoration: none; color: inherit; }
.mx-window a > .rs-screen { border-radius: 10px; }
.mx-shot > .rs-screen { border-radius: 12px; }
.mx-phone > .rs-phone { border-radius: 17px; }
.mx-two-phones .mx-phone-pair { width: 100%; }
.mx-phone-pair .rs-phone { width: min(15rem, 42%); border-radius: 26px; border: 8px solid #1f1008; box-shadow: 0 40px 60px -30px rgb(30 16 8 / .6); }
.mx-phone-pair .rs-phone.mx-p2 { margin-top: 2.5rem; }
.mx-contact-visual .rs-phone { width: min(11rem, 40%); border-radius: 22px; border: 6px solid #1f1008; box-shadow: 0 34px 50px -28px rgb(30 16 8 / .6); }
.mx-contact-visual .rs-phone:nth-of-type(2) { margin-top: 1.8rem; }
.bn-cal .rs-screen { height: 14.5rem; aspect-ratio: auto; }
.mx-after .rs-screen { width: 100%; height: 100%; aspect-ratio: auto; }
.demo-desk .rs-screen { border-radius: 10px; border: 1px solid #d8c4b2; }
@media (max-width: 800px) { .mx-after .rs-screen { width: 180%; } }
/* The paper order pad on the left of the before/after slider. */
.mx-pad { width: 100%; height: 100%; display: block; }
@media (max-width: 560px) { .bn-promo { grid-template-columns: minmax(0, 1fr) !important; } }
