/* Dinely — interactive "live shift" demo (Blue Mint, 2026-11) */
.dn-demo .dn-section{gap:28px}
.dn-demo__top{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-end}
.dn-demo__roles{display:flex;flex-direction:column;gap:8px}
.dn-demo__roleslabel{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#A8A29E}
.dn-demo__rolebtns{display:flex;flex-wrap:wrap;gap:6px;background:#292524;padding:4px;border-radius:14px}
.dn-demo__rolebtns button{border:0;background:transparent;color:#D6D3D1;font:inherit;font-weight:600;font-size:15px;padding:10px 16px;min-height:44px;border-radius:10px;cursor:pointer}
.dn-demo__rolebtns button:hover{color:#fff}
.dn-demo__rolebtns button.is-on{background:#FAFAF9;color:#1C1917}
.dn-demo__rolenote{background:#292524;border-radius:14px;padding:14px 18px;color:#FDE7D3;font-size:16px;max-width:860px}

.dn-demo__stage{position:relative}
.dn-demo__rail{position:relative;height:44px;margin-bottom:10px}
.dn-demo__line{position:absolute;left:12.5%;right:12.5%;top:50%;height:2px;background:repeating-linear-gradient(90deg,#57534E 0 8px,transparent 8px 16px);transform:translateY(-50%)}
.dn-demo__token{position:absolute;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;background:#C2410C;color:#fff;font-weight:700;font-size:13px;padding:8px 14px 8px 10px;border-radius:999px;box-shadow:0 10px 30px -8px rgba(194,65,12,.8);transition:left .9s cubic-bezier(.65,0,.35,1);white-space:nowrap}
.dn-demo__pulse{width:10px;height:10px;border-radius:50%;background:#fff;animation:dnPulse 1.6s infinite}
@keyframes dnPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}70%{box-shadow:0 0 0 10px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}

.dn-demo__panels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.dn-panel{background:#292524;border:1px solid #3a3532;border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:14px;min-height:430px;transition:transform .35s ease,border-color .35s ease,opacity .35s ease,box-shadow .35s ease;opacity:.62}
.dn-panel.is-on{opacity:1;border-color:#C2410C;box-shadow:0 0 0 1px #C2410C,0 30px 60px -30px rgba(194,65,12,.6);transform:translateY(-4px)}
.dn-panel.is-focus{opacity:1;outline:2px solid #FDBA74;outline-offset:3px}
.dn-panel.is-dim:not(.is-on){opacity:.35}
.dn-panel__head{display:flex;align-items:center;gap:8px;font-family:Commissioner,sans-serif;font-weight:700;font-size:16px;color:#FAFAF9}
.dn-panel__dot{width:8px;height:8px;border-radius:50%;background:#57534E;transition:background .3s}
.dn-panel.is-on .dn-panel__dot{background:#FB923C;box-shadow:0 0 0 4px rgba(251,146,60,.25)}

/* customer phone */
.dn-phone{flex:1;align-self:center;width:100%;max-width:210px;background:#0c0a09;border-radius:30px;padding:10px;position:relative;box-shadow:inset 0 0 0 2px #44403C;box-sizing:border-box}
.dn-phone__notch{width:70px;height:16px;background:#0c0a09;border-radius:0 0 12px 12px;position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:1}
.dn-phone__screen{background:#FFFBF7;color:#1C1917;border-radius:22px;height:100%;min-height:340px;padding:30px 14px 14px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box}
.dn-phone__table{font-size:12px;font-weight:700;color:#C2410C;text-transform:uppercase;letter-spacing:.06em;text-align:center}
.dn-scr{display:flex;flex-direction:column;gap:10px;flex:1;animation:dnIn .45s ease}
.dn-scr--center{align-items:center;justify-content:center;text-align:center}
@keyframes dnIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.dn-scr__title{font-family:Commissioner,sans-serif;font-weight:800;font-size:17px;line-height:1.2}
.dn-scr__muted{font-size:12px;color:#57534E}
.dn-scr__big{font-family:Commissioner,sans-serif;font-weight:800;font-size:28px}
.dn-scr__btn{display:block;width:100%;text-align:center;background:#C2410C;color:#fff;font-weight:700;font-size:13px;padding:10px;border-radius:10px;box-sizing:border-box}
.dn-scr__btn--ghost{background:#fff;color:#1C1917;border:1px solid #D6D3D1}
.dn-scr__btn.is-pressed{animation:dnPress 1.2s ease .6s 1 both}
@keyframes dnPress{0%,100%{transform:scale(1)}40%{transform:scale(.94);box-shadow:0 0 0 6px rgba(194,65,12,.25)}}
.dn-scr__total{display:flex;justify-content:space-between;font-size:13px;border-top:1px dashed #D6D3D1;padding-top:8px;margin-top:auto}
.dn-menu-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px}
.dn-menu-list li{display:grid;grid-template-columns:1fr auto auto;gap:8px;background:#fff;border:1px solid #F1E4D8;border-radius:10px;padding:8px 10px}
.dn-menu-list b{color:#C2410C}
.dn-menu-list em{font-style:normal;color:#57534E}
.dn-menu-list li.is-off{opacity:.5}
.dn-qr{display:grid;grid-template-columns:repeat(9,1fr);gap:2px;width:118px;height:118px;padding:8px;background:#fff;border-radius:12px;border:1px solid #EADFD4;position:relative;overflow:hidden;box-sizing:border-box}
.dn-qr i{background:transparent;border-radius:1px}
.dn-qr i.on{background:#1C1917}
.dn-qr::after{content:"";position:absolute;left:0;right:0;height:3px;background:#C2410C;box-shadow:0 0 12px #C2410C;top:0;animation:dnScan 2s ease-in-out infinite}
@keyframes dnScan{0%,100%{top:6%}50%{top:90%}}
.dn-ring{width:64px;height:64px;border-radius:50%;border:6px solid #FFEDD5;border-top-color:#C2410C;animation:dnSpin 1.1s linear infinite;box-sizing:border-box}
.dn-ring.is-done{animation:none;border-color:#15803D}
@keyframes dnSpin{to{transform:rotate(360deg)}}
.dn-check{width:60px;height:60px;border-radius:50%;background:#15803D;display:flex;align-items:center;justify-content:center;animation:dnPop .5s cubic-bezier(.2,1.4,.4,1)}
@keyframes dnPop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}

/* floor tablet */
.dn-tablet{flex:1;background:#FFFBF7;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;color:#1C1917;position:relative;min-height:340px}
.dn-toast{display:flex;gap:8px;align-items:center;background:#1C1917;color:#FDE7D3;font-size:13px;font-weight:600;padding:10px 12px;border-radius:12px;animation:dnIn .4s ease}
.dn-floor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dn-tbl{border-radius:14px;background:#F5F5F4;padding:12px;font-size:12px;line-height:1.3;min-height:64px;display:flex;flex-direction:column;justify-content:space-between;border:2px solid transparent;transition:background .4s,border-color .4s,color .4s}
.dn-tbl b{font-size:18px;font-family:Commissioner,sans-serif}
.dn-tbl.is-busy{background:#FFEDD5;color:#7C2D12}
.dn-tbl--focus{border-style:dashed;border-color:#C2410C}
.dn-tbl--focus.is-scan{background:#DBEAFE;color:#1E3A8A}
.dn-tbl--focus.is-ready{background:#DCFCE7;color:#14532D;border-color:#15803D;border-style:solid}
.dn-tbl--focus.is-call{background:#1C1917;color:#FAFAF9;border-color:#FB923C;border-style:solid;animation:dnBlink 1s ease-in-out infinite}
.dn-tbl--focus.is-free{border-color:#A8A29E}
@keyframes dnBlink{50%{box-shadow:0 0 0 6px rgba(251,146,60,.35)}}

/* kitchen */
.dn-kitchen{flex:1;background:#1C1917;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;position:relative;min-height:340px}
.dn-kitchen__rail{height:6px;border-radius:3px;background:linear-gradient(#78716C,#57534E)}
.dn-kot{background:#FFFBF7;color:#1C1917;border-radius:4px 4px 0 0;padding:12px 12px 18px;font-size:13px;line-height:1.5;position:relative;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;-webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/12px 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/12px 100%}
.dn-kot__head{display:flex;justify-content:space-between;border-bottom:1px dashed #A8A29E;padding-bottom:6px;margin-bottom:6px!important;font-family:Inter,sans-serif}
.dn-kot__head span{color:#57534E;font-size:12px}
.dn-kot__status{margin-top:8px!important;font-family:Inter,sans-serif;font-weight:700;color:#C2410C}
.dn-kot--new.is-printing{animation:dnPrint 1.4s cubic-bezier(.3,.9,.3,1) both}
@keyframes dnPrint{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.dn-kot--new.is-done{background:#DCFCE7}
.dn-kot--new.is-done .dn-kot__status{color:#15803D}
.dn-kot__btn{display:inline-block;margin-top:8px;background:#15803D;color:#fff;font-family:Inter,sans-serif;font-weight:700;font-size:12px;padding:6px 12px;border-radius:8px;animation:dnPress 1.2s ease 1.6s 1 both}
.dn-kitchen__served{display:flex;gap:6px;align-items:center;color:#86EFAC;font-size:13px;font-weight:600;margin-top:auto!important}

/* owner */
.dn-owner{flex:1;background:#FFFBF7;border-radius:16px;padding:14px;color:#1C1917;display:flex;flex-direction:column;gap:10px;min-height:340px}
.dn-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dn-kpi{background:#fff;border:1px solid #F1E4D8;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:2px;font-size:11px;color:#57534E;transition:border-color .4s}
.dn-kpi b{font-family:Commissioner,sans-serif;font-size:20px;color:#1C1917}
.dn-kpi small{font-size:11px;color:#57534E;font-weight:500}
.dn-kpi--wide b{font-size:26px}
.dn-kpi.is-bump{border-color:#15803D;animation:dnBump .8s ease}
.dn-kpi.is-bump b{color:#15803D}
@keyframes dnBump{40%{transform:scale(1.04)}}
.dn-bars{display:flex;align-items:flex-end;gap:5px;height:56px;padding:0 2px}
.dn-bars i{flex:1;background:#FED7AA;border-radius:4px 4px 0 0;transition:height .8s ease}
.dn-bars i.is-now{background:#C2410C}
.dn-owner__feedtitle{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#57534E}
.dn-feed{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:12px;color:#44403C;max-height:112px;overflow:hidden}
.dn-feed li{padding:5px 8px;border-radius:8px}
.dn-feed li.is-new{background:#FFEDD5;color:#7C2D12;font-weight:600;animation:dnIn .4s ease}

/* controls */
.dn-demo__controls{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.dn-demo__buttons{display:flex;gap:8px}
.dn-ctl{width:48px;height:48px;border-radius:50%;border:1px solid #57534E;background:transparent;color:#FAFAF9;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.dn-ctl:hover:not(:disabled){border-color:#FAFAF9}
.dn-ctl:disabled{opacity:.35;cursor:default}
.dn-ctl--play{background:#C2410C;border-color:#C2410C}
.dn-ctl--play:hover{background:#9A3412}
.dn-demo__steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;flex:1}
.dn-demo__steps button{display:inline-flex;align-items:center;gap:8px;border:1px solid #44403C;background:transparent;color:#D6D3D1;font:inherit;font-size:14px;font-weight:500;padding:8px 12px 8px 8px;min-height:44px;border-radius:999px;cursor:pointer}
.dn-demo__steps button:hover{border-color:#A8A29E;color:#fff}
.dn-demo__n{width:26px;height:26px;border-radius:50%;background:#44403C;color:#FAFAF9;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.dn-demo__steps button.is-past .dn-demo__n{background:#9A3412}
.dn-demo__steps button.is-on{background:#FAFAF9;color:#1C1917;border-color:#FAFAF9}
.dn-demo__steps button.is-on .dn-demo__n{background:#C2410C}
.dn-demo__caption{background:#292524;border-radius:18px;padding:20px 24px;display:flex;flex-direction:column;gap:6px;max-width:860px}
.dn-demo__caption h3{font-size:22px;color:#FAFAF9}
.dn-demo__caption p{color:#D6D3D1}
.dn-demo .dn-demo__stepof{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#FDBA74}
.dn-demo__note{font-size:13px;color:#A8A29E}

@media (max-width:1100px){
  .dn-demo__panels{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dn-demo__rail{display:none}
  .dn-panel{min-height:0}
}
@media (max-width:640px){
  .dn-demo__panels{grid-template-columns:1fr}
  .dn-panel:not(.is-on):not(.is-focus){display:none}
  .dn-demo__steps span:not(.dn-demo__n){display:none}
  .dn-demo__steps button{padding:8px}
}
@media (prefers-reduced-motion:reduce){
  .dn-demo *,.dn-demo *::before,.dn-demo *::after{animation:none!important;transition:none!important}
}

/* ---------- v2: compact one-row control bar + receipt token ---------- */
.dn-demo .dn-section{gap:22px}
.dn-panel{min-height:0;padding:14px;gap:10px}
.dn-phone__screen{min-height:286px}
.dn-tablet,.dn-kitchen,.dn-owner{min-height:296px}
.dn-feed{max-height:84px}

/* token: a paper receipt carried by a waiter's cloche */
.dn-demo__rail{height:62px;margin-bottom:6px}
.dn-demo__token{background:transparent;box-shadow:none;padding:0;gap:0;align-items:center;color:#1C1917;filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
.dn-demo__waiter{width:42px;height:42px;border-radius:50%;background:#C2410C;color:#fff;display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:1;box-shadow:0 0 0 4px #1C1917}
.dn-demo__receipt{display:flex;flex-direction:column;line-height:1.15;background:#FFFBF7;margin-left:-10px;padding:7px 14px 11px 18px;border-radius:4px 4px 0 0;font-size:11px;font-weight:600;color:#57534E;-webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/8px 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/8px 100%}
.dn-demo__receipt b{font-family:Commissioner,sans-serif;font-size:15px;color:#1C1917}
.dn-demo__token.is-moving .dn-demo__waiter{animation:dnCarry .95s ease-in-out}
.dn-demo__token.is-moving .dn-demo__receipt{animation:dnFlutter .95s ease-in-out}
@keyframes dnCarry{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-6px) rotate(-8deg)}70%{transform:translateY(-3px) rotate(6deg)}}
@keyframes dnFlutter{0%,100%{transform:rotate(0)}35%{transform:rotate(-4deg) translateY(-2px)}70%{transform:rotate(3deg)}}

/* one-row bar */
.dn-demo__bar{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:22px;align-items:center;background:#292524;border:1px solid #3a3532;border-radius:20px;padding:12px 18px}
.dn-demo__controls{display:none}
.dn-demo__bar .dn-demo__steps{position:relative;display:flex;flex-wrap:nowrap;gap:10px;flex:none;padding:0}
.dn-demo__progress{position:absolute;left:18px;right:18px;top:50%;height:3px;background:#44403C;border-radius:2px;transform:translateY(-50%);pointer-events:none}
.dn-demo__progress span{display:block;height:100%;background:#C2410C;border-radius:2px;transition:width .6s ease}
.dn-demo__bar .dn-demo__steps button{position:relative;z-index:1;width:36px;height:36px;min-height:36px;padding:0;justify-content:center;border-radius:50%;background:#1C1917;border:2px solid #57534E;color:#D6D3D1;font-weight:700;font-size:14px}
.dn-demo__bar .dn-demo__steps button.is-past{border-color:#C2410C;background:#431407;color:#FDBA74}
.dn-demo__bar .dn-demo__steps button.is-on{background:#C2410C;border-color:#FDBA74;color:#fff;box-shadow:0 0 0 4px rgba(194,65,12,.3)}
.dn-demo__bar .dn-demo__caption{background:transparent;padding:0;border-radius:0;max-width:none;gap:2px;min-height:48px;justify-content:center}
.dn-demo__bar .dn-demo__stepof{text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:#FDBA74}
.dn-demo__bar .dn-demo__stepof b{color:#FAFAF9;font-family:Commissioner,sans-serif;font-size:16px}
.dn-demo__captext{color:#D6D3D1;font-size:15px;line-height:1.45}
.dn-demo__note{margin-top:-6px}

@media (max-width:1100px){
  .dn-demo__bar{grid-template-columns:auto minmax(0,1fr);row-gap:12px}
  .dn-demo__bar .dn-demo__caption{grid-column:1/-1}
}
@media (max-width:640px){
  .dn-demo__bar{grid-template-columns:1fr;justify-items:center;text-align:center}
  .dn-demo__bar .dn-demo__steps{gap:6px}
  .dn-demo__bar .dn-demo__steps button{width:32px;height:32px;min-height:32px}
}
@media (max-width:640px){.dn-demo__bar .dn-demo__steps button span[aria-hidden]{display:inline}}
