/* Collé Create (shop/brand) — mobile first, same tokens as the user app (colle.css). */
.c-head { display: flex; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 10px; }
.c-brand { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; }
.c-logo { width: 42px; height: 42px; border-radius: 13px; background: var(--holo); display: grid; place-items: center; color: #1A0F33;
  font-family: var(--display); font-weight: 800; font-size: 18px; flex: none; }
.c-head b { font-family: var(--display); font-size: 16px; display: block; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role { font-size: 11.5px; color: var(--muted); }
.box { padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; }
.box.center { text-align: center; justify-items: center; }
.req { padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1.5px var(--accent); display: grid; gap: 10px; }
.qty { display: inline-flex; align-items: center; gap: 12px; background: var(--surface2); border-radius: 999px; padding: 4px; box-shadow: 0 0 0 1px var(--line); }
.qty button { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); font-size: 18px; font-weight: 700; }
.qty b { min-width: 22px; text-align: center; font-family: var(--display); font-variant-numeric: tabular-nums; }
.car { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 10px; scrollbar-width: none; }
.car > button { scroll-snap-align: start; flex: none; }
.f { display: grid; gap: 5px; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.f > input, .f > select, .f > textarea { color: var(--ink); font-weight: 400; font-size: 15px; }
.f > select, select { background-color: var(--select-bg, var(--surface2)); color: var(--ink); }
select option, select optgroup { background-color: var(--select-bg, var(--bg-solid)); color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.done { width: 72px; height: 72px; border-radius: 50%; background: var(--good); color: var(--good-ink); display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto; }
.done.bad { background: #FFB3C4; color: #5A1230; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cedit { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cedit .top3 { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; }
.cedit .sw { width: 58px; height: 74px; border-radius: 10px; display: grid; place-items: center; font-size: 30px; }
.cedit .opts { display: grid; grid-template-columns: 64px 1fr 1fr 74px; gap: 8px; align-items: center; }
.cedit input[type=color] { padding: 2px; height: 42px; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; }
.chk input { width: 20px; height: 20px; accent-color: var(--accent); }
.soon { opacity: .5; }
.badge-n { position: absolute; top: 0; right: 22%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--badge); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.opt { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: left; width: 100%; }
.opt .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); font-size: 18px; flex: none; }
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 20px; }
.login .box { width: min(420px, 100%); }
/* keep forms inside the phone width */
.page, .box, .cedit, .two > *, .opts > *, .top3 > *, .f { min-width: 0; }
.two, .cedit .opts, .cedit .top3 { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.cedit .top3 { grid-template-columns: 58px minmax(0, 1fr); }
.cedit .opts { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 64px; }
select { min-width: 0; text-overflow: ellipsis; }

/* round 01 — dashboard (F5), plans (F4), auto-approve switch (F1) */
.kpis.dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpis.dash .stat small { display: block; color: var(--muted); margin-top: 2px; }
.kpis.dash .up { color: var(--good, #4ADE80); font-weight: 700; }
.kpis.dash .down { color: #FF9AB3; font-weight: 700; }
.alert { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 14px; margin: 8px 0; border-radius: 14px;
  background: rgba(255, 80, 110, .16); box-shadow: 0 0 0 1px rgba(255, 80, 110, .5); color: var(--ink); text-align: left; }
.nrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.nrow .who { width: 32px; height: 32px; font-size: 14px; }
.planbar { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); font-size: 13px; text-align: left; color: var(--ink); }
.plan { display: grid; gap: 8px; padding: 14px; margin: 10px 0; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.plan.best { box-shadow: 0 0 0 2px #B99CFF; }
.plan.on { box-shadow: 0 0 0 2px var(--good, #4ADE80); }
.plan .price { font-family: var(--display); font-size: 20px; }
.plan .price small { font-size: 12px; color: var(--muted); font-weight: 400; }
.plan ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 13px; }
.switch { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 6px; cursor: pointer; }
.switch input { width: 40px; height: 22px; appearance: none; -webkit-appearance: none; border-radius: 11px; background: var(--surface2); box-shadow: inset 0 0 0 1px var(--line);
  position: relative; flex: none; padding: 0; margin: 0; border: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch input:checked { background: var(--good, #4ADE80); }
.switch input:checked::after { left: 21px; }

/* round 02: plan entitlements, test-mode payments, returning report */
.plan li.soon { color: var(--muted); }
.plan li .pill, .sheet li .pill { font-size: 10px; padding: 1px 6px; }
.testmode { margin: 8px 0; padding: 8px 10px; border-radius: 12px; font-size: 12px; line-height: 1.4;
  background: repeating-linear-gradient(135deg, rgba(255, 227, 138, .14) 0 10px, rgba(255, 227, 138, .06) 10px 20px); box-shadow: 0 0 0 1px rgba(255, 227, 138, .5); }
.tiny.lock { color: #FFE38A; font-weight: 600; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; align-items: end; margin-top: 8px; }
.wk { display: grid; justify-items: center; gap: 2px; min-width: 0; }
.wk .bar2 { height: 90px; width: 100%; max-width: 26px; display: flex; flex-direction: column-reverse; border-radius: 6px; overflow: hidden; background: var(--surface2); }
.wk .bar2 i { display: block; width: 100%; }
.wk .bar2 .ret, .dot.ret { background: #B99CFF; }
.wk .bar2 .new, .dot.new { background: #7CF3FF; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 3px 0 6px; }
.wk .tiny { white-space: nowrap; font-size: 10px; }
