/* operator-reload.css - the guided reload (public/js/operator-reload.js; design docs/design/reload/next.html).
   Warm, light, one thing at a time. Light whatever the page theme. */
.rw { --rw-bg: #F6F4F1; --rw-card: #fff; --rw-line: #ECE8E3; --rw-t1: #1A1410; --rw-t2: #5B524B; --rw-t3: #8A8077;
  --rw-red: #E2382B; --rw-red2: #FF6B4A; --rw-ok: #12A150; --rw-ok-bg: #E8F8EE; --rw-blue: #2E6BE6; --rw-blue-bg: #EEF3FE; --rw-amber: #E8890C; --rw-amber-bg: #FFF5E5;
  --rw-shadow: 0 1px 2px rgba(26,20,16,.06), 0 8px 24px -8px rgba(26,20,16,.14);
  position: fixed; inset: 0; z-index: 900; background: var(--rw-bg); color: var(--rw-t1); overflow: auto; color-scheme: light;
  font: 15px/1.45 "Inter", -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.rw *, .rw *::before, .rw *::after { box-sizing: border-box; }
.rw button { font: inherit; color: inherit; cursor: pointer; }
.rw svg { flex: none; }
.rw-screen { max-width: 520px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.rw-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; position: sticky; top: 0; background: var(--rw-bg); z-index: 2; }
.rw-top .t { flex: 1; } .rw-top b { display: block; font: 800 16px "Plus Jakarta Sans", "Inter", sans-serif; } .rw-top small { color: var(--rw-t3); font-size: 12px; }
.rw-ico { width: 40px; height: 40px; border-radius: 13px; background: var(--rw-card); border: 0; display: grid; place-items: center; box-shadow: var(--rw-shadow); color: var(--rw-t2); }
.rw-ico svg { width: 18px; height: 18px; } .rw-ico.help { color: var(--rw-blue); }
.rw-prog { display: flex; gap: 5px; padding: 0 16px 4px; } .rw-prog i { flex: 1; height: 5px; border-radius: 3px; background: #E3DDD6; } .rw-prog i.d { background: var(--rw-ok); } .rw-prog i.n { background: var(--rw-t1); }
.rw-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 8px 16px 20px; position: relative; }
.rw h2 { margin: 0; font: 800 26px/1.12 "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.02em; } .rw h2.c, .rw .c { text-align: center; }
.rw-s { margin: 0; color: var(--rw-t2); font-size: 15px; } .rw-s.small { font-size: 13px; }
.rw-load { padding: 60px 0; text-align: center; color: var(--rw-t3); }
.rw-push { margin-top: auto; display: grid; gap: 10px; padding-top: 8px; }
.rw-btn { height: 60px; border-radius: 18px; border: 0; font: 700 17px "Plus Jakarta Sans", "Inter", sans-serif !important; color: #fff !important; width: 100%;
  background: linear-gradient(135deg, var(--rw-red2), var(--rw-red)); box-shadow: 0 10px 22px -10px rgba(226,56,43,.65); }
.rw-btn.dark { background: var(--rw-t1); box-shadow: 0 10px 22px -12px rgba(26,20,16,.6); }
.rw-btn.green { background: linear-gradient(135deg, #2BC46A, var(--rw-ok)); box-shadow: 0 10px 22px -10px rgba(18,161,80,.6); }
.rw-btn.soft { background: var(--rw-card); color: var(--rw-t1) !important; box-shadow: var(--rw-shadow); height: 52px; font-size: 15px !important; }
.rw-btn:disabled { opacity: .5; cursor: default; }
.rw-link { background: none; border: 0; color: var(--rw-t2); font-size: 14px; text-decoration: underline; padding: 6px; }
.rw-practice { background: var(--rw-blue-bg); color: var(--rw-blue); border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 13.5px; }
.rw-err { background: #FEF3F2; color: #B42318; border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.rw-alert { background: var(--rw-amber-bg); color: #9A5B06; border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.rw-stage { background: radial-gradient(90% 80% at 50% 10%, #fff, #F1ECE6); border-radius: 26px; height: 270px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rw-line); }
.rw-stage.small { height: 170px; } .rw-stage svg { width: 100%; height: 100%; } .rw-stage text { font-family: "Plus Jakarta Sans", "Inter", sans-serif; }
.rw-stage.turning .rw-belt { animation: rw-belt 3.2s linear infinite; } @keyframes rw-belt { to { transform: translateY(-36px); } }
.rw-ring { position: absolute; right: 12px; top: 12px; width: 74px; height: 74px; } .rw-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 800 18px "Plus Jakarta Sans", sans-serif; }
.rw-ring .mid small { font: 600 10px "Inter", sans-serif; color: var(--rw-t3); }
.rw-status { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 18px; background: var(--rw-blue-bg); color: var(--rw-blue); font-weight: 650; font-size: 14px; }
.rw-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: rw-spin 1s linear infinite; }
@keyframes rw-spin { to { transform: rotate(360deg); } }
.rw-row { display: flex; align-items: flex-end; gap: 12px; } .rw-row h2 { flex: 1; }
.rw-count { display: flex; align-items: baseline; gap: 6px; } .rw-count b { font: 800 46px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; } .rw-count span { color: var(--rw-t3); font-size: 13px; }
.rw-trays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rw-tray { height: 54px; border-radius: 14px; border: 2px dashed #D8D0C7 !important; background: #FBF9F7; position: relative; padding: 0; }
.rw-tray.next { border-color: var(--rw-red) !important; background: #FFF1EC; animation: rw-tap 1.4s ease-in-out infinite; } @keyframes rw-tap { 50% { box-shadow: 0 0 0 5px rgba(226,56,43,.18); } }
.rw-tray.f { border: 0 !important; background: linear-gradient(180deg, #F4C27F, #E9A55A); box-shadow: inset 0 -5px 0 rgba(0,0,0,.08), 0 6px 12px -8px rgba(233,165,90,.9); }
.rw-tray.patty.f { background: linear-gradient(180deg, #9B6440, #7A4A2A); }
.rw-tray.crown.f::after { content: ""; position: absolute; top: 10px; left: 30%; width: 6px; height: 3px; border-radius: 2px; background: #FFF4E0; box-shadow: 14px 3px 0 #FFF4E0, 26px -1px 0 #FFF4E0; }
.rw-old { background: var(--rw-card); border-radius: 18px; box-shadow: var(--rw-shadow); padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.rw-old > span:first-child { flex: 1; }
.rw-stepper { display: inline-flex; align-items: center; gap: 10px; } .rw-stepper button { width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--rw-line); background: #fff; font-size: 20px; }
.rw-stepper b { min-width: 22px; text-align: center; font-size: 18px; }
.rw-chips { display: flex; gap: 6px; width: 100%; } .rw-chips button { flex: 1; padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--rw-line); background: #fff; font-weight: 600; font-size: 13px; }
.rw-chips button.on { background: var(--rw-t1); border-color: var(--rw-t1); color: #fff; }
.rw-num { display: flex; align-items: center; justify-content: center; gap: 24px; } .rw-num button { width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid var(--rw-line); background: #fff; font-size: 30px; box-shadow: var(--rw-shadow); }
.rw-num b { font: 800 80px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; min-width: 110px; text-align: center; }
.rw-hint { text-align: center; color: var(--rw-t2); font-size: 14px; margin: 0; } .rw-hint b { color: var(--rw-ok); }
.rw-ticks { display: grid; gap: 8px; } .rw-tick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 0; background: var(--rw-card); box-shadow: var(--rw-shadow); font-weight: 600; font-size: 15px; text-align: left; }
.rw-tick .c { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rw-line); display: grid; place-items: center; color: transparent; } .rw-tick .c svg { width: 15px; height: 15px; }
.rw-tick.on .c { background: var(--rw-ok); border-color: var(--rw-ok); color: #fff; }
.rw-geo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--rw-ok-bg); color: #0B6B35; font-weight: 600; font-size: 14px; } .rw-geo svg { width: 20px; height: 20px; }
.rw-phase { background: var(--rw-card); border-radius: 22px; box-shadow: var(--rw-shadow); padding: 4px 14px; }
.rw-phase > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--rw-line); } .rw-phase > div:first-child { border-top: 0; }
.rw-phase .n { width: 30px; height: 30px; border-radius: 10px; background: var(--rw-bg); display: grid; place-items: center; font: 800 13px "Plus Jakarta Sans", sans-serif; }
.rw-phase b { display: block; font: 700 15px "Plus Jakarta Sans", sans-serif; } .rw-phase small { color: var(--rw-t3); font-size: 12.5px; }
.rw-build { display: grid; place-items: center; padding: 6px 0; } .rw-buildring { position: relative; width: 200px; height: 200px; }
.rw-buildring .mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3px; }
.rw-buildring i { display: block; opacity: .2; transition: opacity .4s; } .rw-buildring i.on { opacity: 1; }
.rw-buildring i.crown { width: 92px; height: 34px; border-radius: 46px 46px 12px 12px; background: linear-gradient(180deg, #F4C27F, #E9A55A); }
.rw-buildring i.patty { width: 100px; height: 16px; border-radius: 9px; background: linear-gradient(180deg, #9B6440, #7A4A2A); }
.rw-buildring i.heel { width: 94px; height: 18px; border-radius: 8px 8px 14px 14px; background: linear-gradient(180deg, #F4C27F, #E9A55A); }
.rw-buildring b { font: 800 22px "Plus Jakarta Sans", sans-serif; margin-top: 8px; } .rw-buildring small { color: var(--rw-t3); font-size: 11.5px; }
.rw-q { display: grid; gap: 8px; } .rw-q button { text-align: left; padding: 14px; border-radius: 16px; border: 0; background: var(--rw-card); box-shadow: var(--rw-shadow); font-weight: 600; display: flex; } .rw-q span { margin-left: auto; color: var(--rw-t3); }
.rw-done { overflow: hidden; } .rw-confetti { position: absolute; inset: 0 0 40% 0; pointer-events: none; } .rw-confetti i { position: absolute; width: 7px; height: 12px; border-radius: 2px; animation: rw-fall 1.6s ease-out both; }
@keyframes rw-fall { from { transform: translateY(-30px) rotate(0); opacity: 0; } to { opacity: .9; } }
.rw-badge { width: 112px; height: 112px; border-radius: 50%; margin: 10px auto 0; display: grid; place-items: center; color: #fff; position: relative;
  background: linear-gradient(135deg, #2BC46A, var(--rw-ok)); box-shadow: 0 0 0 12px rgba(18,161,80,.12), 0 0 0 26px rgba(18,161,80,.06), 0 20px 30px -10px rgba(18,161,80,.6); }
.rw-badge.grey { background: #B5ADA5; box-shadow: none; } .rw-badge svg { width: 54px; height: 54px; }
.rw-worth { border-radius: 22px; padding: 14px; background: linear-gradient(135deg, #1A1410, #3A2A20); color: #fff; display: flex; align-items: center; gap: 12px; }
.rw-worth .e { font-size: 28px; } .rw-worth b { font: 800 26px "Plus Jakarta Sans", sans-serif; display: block; } .rw-worth span { font-size: 12.5px; opacity: .8; }
.rw-rows { background: var(--rw-card); border-radius: 20px; box-shadow: var(--rw-shadow); padding: 4px 14px; }
.rw-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rw-line); font-size: 14px; text-align: right; } .rw-rows div:first-child { border-top: 0; } .rw-rows span { color: var(--rw-t3); text-align: left; }
.rw-sheetwrap { position: fixed; inset: 0; z-index: 2; } .rw-dim { position: absolute; inset: 0; background: rgba(26,20,16,.35); }
.rw-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 24px 24px 0 0; padding: 16px; display: grid; gap: 10px; box-shadow: 0 -12px 30px rgba(26,20,16,.2); }
.rw-sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--rw-line); margin: 0 auto 4px; } .rw-sheet > b { font: 800 18px "Plus Jakarta Sans", sans-serif; }
.rw-warn { background: var(--rw-amber-bg); color: #9A5B06; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.rw-nudge { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 8px; align-items: center; } .rw-nudge button { height: 48px; border-radius: 14px; border: 1.5px solid var(--rw-line); background: #fff; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .rw *, .rw *::before, .rw *::after { animation: none !important; } }

/* operator page: the entry card and the hero's call to action */
.op-rw-entry { display: flex !important; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px !important; cursor: pointer; }
.op-rw-entry .art { width: 52px; height: 52px; border-radius: 16px; flex: none; background: linear-gradient(135deg, #FF6B4A, #E2382B); box-shadow: 0 8px 16px -8px rgba(226,56,43,.7);
  -webkit-mask: none; position: relative; }
.op-rw-entry .art::before, .op-rw-entry .art::after { content: ""; position: absolute; left: 13px; right: 13px; border-radius: 6px; background: #FFE2C2; }
.op-rw-entry .art::before { top: 13px; height: 11px; border-radius: 11px 11px 4px 4px; } .op-rw-entry .art::after { bottom: 13px; height: 8px; background: #7A4A2A; box-shadow: 0 -2px 0 #FFE2C2 inset; }
.op-rw-entry b { display: block; font-size: 16px; } .op-rw-entry .go { margin-left: auto; font-weight: 700; color: #E2382B; white-space: nowrap; }
.op-hero-cta { margin-top: 12px; height: 50px; padding: 0 22px; border-radius: 16px; border: 0; background: #fff; color: #B42318; font: 800 16px "Inter", sans-serif; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
.rw-keypad { background: #fff; border-radius: 18px; box-shadow: var(--rw-shadow); padding: 14px; font-size: 14.5px; }
.rw-keypad b { font: 700 15px "Plus Jakarta Sans", sans-serif; } .rw-keypad ol { margin: 8px 0 0 18px; padding: 0; display: grid; gap: 6px; color: var(--rw-t2); }
.rw-keypad kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; background: #1E3A8A; color: #fff; font: 700 14px "Inter", sans-serif; box-shadow: 0 2px 0 #0F1E4D; }
.rw-keypad i { font-style: normal; font-weight: 600; color: var(--rw-t1); }

/* the live check: beside the reload on a wide screen (a PC while the phone does the reload), hidden on a phone */
.rw-wrap { display: flex; justify-content: center; gap: 0; min-height: 100%; }
.rw-wrap .rw-screen { flex: 0 1 520px; margin: 0; }
.rw-live { display: none; }
@media (min-width: 1000px) {
  .rw-wrap { gap: 24px; padding: 0 24px; } .rw-live { display: block; flex: 0 1 560px; padding: 18px 0 24px; }
}
.rw-live-h { display: grid; gap: 2px; margin: 4px 0 10px; } .rw-live-h b { font: 800 18px "Plus Jakarta Sans", sans-serif; } .rw-live-h span { color: var(--rw-t2); font-size: 13.5px; }
.rw-live-h.small { margin-top: 18px; } .rw-live-h.small b { font-size: 15px; }
.lc-rows { display: grid; gap: 8px; }
.lc-row { background: #fff; border-radius: 16px; box-shadow: var(--rw-shadow); padding: 10px 12px; border-left: 4px solid #E3DDD6; }
.lc-row.ok { border-left-color: var(--rw-ok); } .lc-row.wait { border-left-color: var(--rw-blue); }
.lc-top { display: flex; align-items: baseline; gap: 8px; } .lc-top b { flex: 1; font-size: 14px; } .lc-t { color: var(--rw-t3); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; } .lc-tag.grey { background: #F1ECE6; color: var(--rw-t2); }
.lc-tag.blue { background: var(--rw-blue-bg); color: var(--rw-blue); } .lc-tag.red { background: #FEF3F2; color: #B42318; }
.lc-cmd { font-size: 12.5px; color: var(--rw-t2); margin-top: 4px; } .lc-cmd code, .lc-log code { font: 600 12px ui-monospace, Menlo, Consolas, monospace; background: #F6F4F1; padding: 1px 5px; border-radius: 4px; }
.lc-cmd .red, .lc-cmd.red { color: #B42318; }
.lc-codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lc-code { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; background: #F1ECE6; color: var(--rw-t3); }
.lc-code.got { background: var(--rw-ok-bg); color: #0B6B35; } .lc-code.wait { background: var(--rw-blue-bg); color: var(--rw-blue); } .lc-code.opt { background: #F6F4F1; color: var(--rw-t3); }
.lc-code i { font-style: normal; font-weight: 500; opacity: .8; }
.lc-logs { background: #fff; border-radius: 16px; box-shadow: var(--rw-shadow); padding: 6px 12px; max-height: 360px; overflow: auto; }
.lc-log { display: grid; grid-template-columns: 92px 52px 1fr; gap: 8px; padding: 5px 0; border-top: 1px solid var(--rw-line); font-size: 12.5px; } .lc-log:first-child { border-top: 0; }
.lc-none { color: var(--rw-t3); font-size: 13px; margin: 6px 0; }
.lc-row.bad { border-left-color: #D92D20; } .lc-code.bad { background: #FEF3F2; color: #B42318; }
