/* What the till asks: chips for "where did they find us" and "why it came back",
   and the new / returning customer badge under the phone number. */
.ask-q { font-size: 12.5px; opacity: .7; margin: 0 0 8px; }
.ask-req { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #E0A050; margin-left: 4px; }
.ask-req.done { color: #2E9E6B; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chip { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; cursor: pointer;
  border: 1px solid rgba(127,127,127,.3); background: transparent; color: inherit; opacity: .8; }
.ask-chip:hover { opacity: 1; border-color: rgba(var(--brand), .5); }
.ask-chip.on { opacity: 1; border-color: rgb(var(--brand)); background: rgba(var(--brand), .16); color: rgb(var(--brand)); font-weight: 600; }
.ask-known { font-size: 12.5px; margin: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(127,127,127,.25); }
.ask-known.new { border-color: rgba(46,158,107,.5); background: rgba(46,158,107,.1); }
.ask-known.ret { border-color: rgba(var(--brand), .5); background: rgba(var(--brand), .1); }
.ask-known b { font-weight: 600; }

/* Dashboard: new / returning tiles and returns per day. */
.dx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dx-tile { border-radius: 12px; padding: 8px 10px; border: 1px solid rgba(127,127,127,.2); background: rgba(127,127,127,.06); min-width: 0; }
.dx-tile p { margin: 0; font-size: 11.5px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-tile b { display: block; font-size: 20px; margin-top: 2px; }
.dx-tile small { display: block; font-size: 11px; opacity: .5; }
.dx-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 96px; }
.dx-days > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; height: 100%; }
.dx-days span { font-size: 11px; opacity: .7; min-height: 14px; }
.dx-days i { display: block; width: 100%; max-width: 28px; border-radius: 6px 6px 2px 2px; background: #E0A050; opacity: .85; }
.dx-days em { font-style: normal; font-size: 10.5px; opacity: .5; }

/* The "Before you finish" pop-up. */
.ask-body > div + div, .ask-body > div + p { margin-top: 18px; }
.ask-body .ask-chip { min-height: 44px; padding: 0 14px; font-size: 14px; }
.ask-warn { margin-top: 16px; padding: 10px 12px; border-radius: 10px; font-size: 13px;
  border: 1px solid rgba(224,160,80,.55); background: rgba(224,160,80,.12); color: #E0A050; }
#askGo.warn { background: transparent; color: #E0A050; border: 1px solid #E0A050; }

/* Content approval in a planner card (js/review.js). */
.rv-box { border: 1px solid rgba(127,127,127,.22); border-radius: 14px; padding: 12px; }
.rv-files { display: grid; gap: 10px; margin-bottom: 10px; }
.rv-file { border-radius: 12px; overflow: hidden; border: 1px solid rgba(127,127,127,.2); background: rgba(127,127,127,.06); min-width: 0; }
.rv-file video, .rv-file img { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #000; }
.rv-file-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12.5px; }
.rv-file-row span:first-child { flex: 1; min-width: 0; }
.rv-file-row button { font-size: 12.5px; min-height: 32px; }
.rv-add { display: flex; align-items: center; justify-content: center; min-height: 44px; cursor: pointer; }
.rv-note { font-size: 13px; padding: 10px 12px; border-radius: 10px; margin-bottom: 10px;
  border: 1px solid rgba(224,160,80,.5); background: rgba(224,160,80,.1); }
.rv-note-red { border-color: rgba(220,38,38,.5); background: rgba(220,38,38,.08); }
.rv-note-green { border-color: rgba(46,158,107,.5); background: rgba(46,158,107,.1); }
.rv-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; padding: 8px 10px;
  border-radius: 10px; border: 1px solid rgba(127,127,127,.2); min-width: 0; }
.rv-link a { flex: 1 1 100%; color: rgb(var(--brand)); text-decoration: underline; min-width: 0; }
.rv-mine { border: 1px solid rgba(224,160,80,.55); background: rgba(224,160,80,.08); border-radius: 14px; padding: 10px 12px; }
.rv-mine-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(127,127,127,.2); font-size: 13.5px; min-height: 44px; }
