/* FloristPilot admin: only what Polaris doesn't draw (the progress ring, steps, power-ups, plans). */
:root {
  --fp-green: #1f3d2b;
  --fp-blush: #e8a0a8;
  --fp-line: rgba(0, 0, 0, .08);
  --fp-muted: #616a63;
  --fp-card: #fff;
  --fp-soft: #f6f2ec;
}
/* The Shopify admin is light; Polaris draws in its own scheme, so these follow it, not the OS. */
body { margin: 0; }
.fp-muted { color: var(--fp-muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }

.fp-demo-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; font-weight: 650; font-size: 20px; margin: 4px 0 12px; letter-spacing: -.01em; }
.fp-next-title { font-size: 20px; line-height: 1.25; margin: 2px 0; letter-spacing: -.01em; font-weight: 650; }
.fp-next { display: flex; gap: 20px; align-items: center; }
.fp-ring {
  --p: 0;
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%;
  background: conic-gradient(var(--fp-green) calc(var(--p) * 1%), var(--fp-line) 0);
  display: grid; place-items: center; transition: background .6s ease;
}
.fp-ring span { width: 60px; height: 60px; border-radius: 50%; background: var(--fp-card); display: grid; place-items: center; font-weight: 650; font-size: 17px; }

.fp-steps { list-style: none; margin: 0; padding: 0; }
.fp-step { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--fp-line); }
.fp-step:first-child { border-top: 0; }
.fp-check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--fp-line); display: grid; place-items: center; font-size: 13px; }
.fp-step.is-done .fp-check { background: var(--fp-green); border-color: var(--fp-green); color: #fff; }
.fp-step.is-done strong { color: var(--fp-muted); }
.fp-step.is-locked .fp-check { border-style: dashed; }

.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fp-power { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--fp-line); background: var(--fp-card); }
.fp-power .fp-muted { flex: 1; }
.fp-power-head { display: flex; gap: 8px; }
.fp-power.is-locked { background: var(--fp-soft); }

.fp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 14px; }
.fp-plan { position: relative; padding: 20px; border-radius: 16px; border: 1px solid var(--fp-line); background: var(--fp-card); }
.fp-plan.is-popular { border: 2px solid var(--fp-green); }
.fp-plan-flag { position: absolute; top: -11px; left: 16px; background: var(--fp-green); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.fp-plan h3 { margin: 0 0 6px; font-size: 18px; }
.fp-price strong { font-size: 30px; letter-spacing: -.02em; }
.fp-price s { color: var(--fp-muted); }
.fp-price span { color: var(--fp-muted); }
.fp-plan ul { padding-left: 18px; margin: 12px 0 16px; font-size: 13px; line-height: 1.6; }

.fp-days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fp-days label { padding: 6px 10px; border: 1px solid var(--fp-line); border-radius: 20px; font-size: 13px; cursor: pointer; }
.fp-window { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.fp-preview { padding: 12px 14px; border-radius: 10px; background: var(--fp-soft); font-size: 13px; line-height: 1.5; }

.fp-phone { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.fp-phone img { border-radius: 16px; border: 1px solid var(--fp-line); background: #fff; padding: 8px; }
.fp-howto { margin: 0; padding-left: 20px; line-height: 1.8; }

@media (max-width: 520px) {
  .fp-next { flex-direction: column; align-items: flex-start; }
  .fp-window { grid-template-columns: 1fr 1fr; }
}

/* Order board */
.fp-board-head { display: flex; align-items: center; gap: 12px; }
.fp-board { display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.fp-column { background: rgba(0, 0, 0, .035); border-radius: 14px; padding: 10px; min-height: 120px; }
.fp-column h3 { font-size: 13px; margin: 2px 4px 10px; display: flex; justify-content: space-between; color: var(--fp-muted); text-transform: uppercase; letter-spacing: .04em; }
.fp-order { background: var(--fp-card); border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.fp-order header { display: flex; justify-content: space-between; gap: 6px; }
.fp-order header span { color: var(--fp-muted); font-size: 12px; text-align: right; }
.fp-order-items { font-weight: 550; }
.fp-order blockquote { margin: 0; padding: 6px 8px; border-left: 3px solid var(--fp-blush); background: var(--fp-soft); border-radius: 0 8px 8px 0; font-style: italic; white-space: pre-line; }
.fp-order.is-cancelled { opacity: .55; }
.fp-empty { color: var(--fp-muted); text-align: center; padding: 18px 0; }
@media (max-width: 900px) { .fp-board { grid-template-columns: repeat(5, 78vw); scroll-snap-type: x mandatory; } .fp-column { scroll-snap-align: start; } }

/* Demo only: the menu Shopify would show on the left. */
.fp-demo-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; font: 13px/1.4 system-ui, sans-serif; }
.fp-demo-nav a { color: #1f3d2b; text-decoration: none; padding: 4px 8px; border-radius: 8px; background: #fff; }
.fp-demo-nav a:hover { background: #e7efe9; }
.fp-order-actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
/* Module actions on board cards: small chips, several to a line. */
.fp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fp-chip { font: 500 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #303030; background: #f3f3f3; border: 1px solid #e3e3e3; border-radius: 999px; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.fp-chip:hover { background: #ebebeb; }
.fp-chip.is-more { background: transparent; border-color: transparent; color: #005bd3; }
