/* Seller orders area: only what the design CSS does not already cover. */

/* Countdown ring on dark panels (new order alert, "Do this now") */
.now .ring .ring__bg,.alert .ring .ring__bg{stroke:#4A4560}
.now .ring .ring__fg,.alert .ring .ring__fg{stroke:var(--accent)}
.now .ring .ring__t,.alert .ring .ring__t{color:#FFFFFF}
.now .ring--late .ring__fg,.alert .ring--late .ring__fg{stroke:#F97066}
.now__row{display:flex;align-items:center;gap:var(--s4)}

/* New order alert: a sheet on desktop, full screen on phone */
.overlay .sheet.sheet--alert{padding:0;background:var(--ink);border-color:var(--ink);overflow:auto}
.overlay .sheet.sheet--alert::before{background:#4A4560;margin:var(--s2) auto -8px}
.sheet--alert .alert{min-height:0}
.sheet--alert .alert img{flex:none}
@media (max-width:767px){
  .overlay .sheet.sheet--alert{max-width:none;height:100dvh;max-height:none;border-radius:0}
  .sheet--alert .alert{min-height:100%}
}
.down{color:#B8341A;font-weight:var(--fw-bold)}

/* Tour dots */
.dots{display:flex;gap:var(--s2);justify-content:center}
.dots i{width:8px;height:8px;border-radius:50%;background:var(--line);transition:background-color var(--t2) var(--ease),width var(--t2) var(--ease)}
.dots i.on{background:var(--brand);width:20px;border-radius:4px}

/* Offline banner */
.offline-bar{position:fixed;left:16px;right:16px;bottom:86px;z-index:90;max-width:480px;margin:0 auto}
@media (min-width:1024px){.offline-bar{bottom:24px}}

/* Big code: the hidden input sits over the boxes so a tap opens the number pad */
.codein{position:relative;display:flex;justify-content:center}
.codein input{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-size:var(--fs-md);border:0;cursor:text}
.codein:focus-within .bigcode span:not(.filled){border-color:var(--ink);box-shadow:0 0 0 3px var(--accent)}
.bigcode:not(.ok) span.filled{background:#EFE9FD}
.codemsg{min-height:22px;text-align:center;font-size:var(--fs-md)}
.codemsg.bad{color:#B8341A;font-weight:var(--fw-bold);background:none;border:0;padding:0}

/* Sign-up: hidden steps fade */
.onb [x-cloak]{display:none}
.gres__row[aria-disabled="true"]{opacity:.55}
.subpick{display:grid;grid-template-columns:1fr;gap:var(--s2);max-height:280px;overflow:auto}

/* Sales chart period switch */
.seg2 button{transition:background-color var(--t2) var(--ease),color var(--t2) var(--ease)}
/* Keep last period's line dashed (the kit's draw-in uses stroke-dasharray) */
svg.lc polyline.dash{stroke-dasharray:5 4;stroke-dashoffset:0;animation:pn-fade .8s var(--ease) both}
/* A list row that opens a popup instead of a page */
button.item{width:100%;border:0;border-bottom:1px solid var(--line);font:inherit;text-align:left;cursor:pointer}
button.item:last-child{border-bottom:0}
/* .step4.now shares its name with the dark .now panel; keep the step looking like a step */
.steps4 .step4.now{background:transparent;color:var(--ink);padding:0;border-radius:0;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--s2)}
.codein .codebox{width:100%}
/* .bad is also the red message box in dash.css; on code boxes it only means "shake" */
.codebox.bad{display:grid;background:none;border:0;padding:0;border-radius:0}
.bigcode.bad{display:flex;background:none;border:0;padding:0;border-radius:0}
.codemsg.bad{display:block;border-radius:0}

/* Two big buttons in the phone action bar share the width; long labels wrap instead of running off screen. */
@media (max-width:1023px){.dbar .btn{min-width:0;white-space:normal;line-height:1.2;text-align:center}.dbar .btn--p{flex:1.6}}

/* Step 37: the one-time "order alerts in the background" question */
.notify-ask{box-sizing:border-box;font-family:var(--font);line-height:1.5;-webkit-font-smoothing:antialiased;position:fixed;left:16px;right:16px;bottom:calc(var(--dock, 0px) + 16px);z-index:89;max-width:420px;margin:0 auto;background:#FFFFFF;border:1px solid var(--line);border-radius:12px;padding:var(--s4);display:flex;flex-direction:column;gap:var(--s3);box-shadow:0 8px 24px rgba(23,20,43,.12)}
.notify-ask p{margin:0}
.notify-ask__t{font-weight:var(--fw-bold);font-size:var(--fs-md);color:#17142B}
.notify-ask__s{font-size:var(--fs-md);color:#4A4560;line-height:1.4}
.notify-ask__row{display:flex;gap:var(--s2);flex-wrap:wrap}
@media (min-width:1024px){.notify-ask{left:auto;right:24px;bottom:24px;margin:0}}

/* Step 48: a shorter button label on phones (three buttons share the bar). */
.lbl-s{display:none}
@media (max-width:1023px){.dbar .lbl-l{display:none}.dbar .lbl-s{display:inline}}
/* Step 51: seller sign-up, "Confirm it's your shop" (a code to the phone on the Google listing). */
.pn-listing{display:flex;flex-direction:column;gap:var(--s2);padding:var(--s4);border:1px solid var(--line);border-radius:var(--r);background:var(--bg)}
.pn-listing.is-bad{border-color:#FECDCA}
.pn-ok{display:flex;align-items:center;gap:var(--s2);margin:0;font-size:var(--fs-md);font-weight:var(--fw-bold);color:#0B6B4F}
