/* Painel dos clientes: mesmo sistema do painel da equipe, com o acento do cliente (AutoSW = âmbar). */
.theme-autosw {
  --blue: #f0a830;
  --blue-soft: #ffc25c;
  --blue-text: #f6c46f;
}
.theme-autosw ::selection { background: #f0a830; color: #15171a; }
.theme-autosw .btn.primary { color: #15171a; }
.theme-autosw .btn.primary:hover { background: #ffc25c; }
.theme-autosw .side .org .mark { background: #15171a; border: 1px solid #2a2e36; }
.theme-autosw .login { background: radial-gradient(50% 50% at 50% 100%, rgba(240, 168, 48, .18), transparent 70%), var(--bg); }

.client-logo { height: 22px; width: auto; display: block; }
.side .org img.client-logo { height: 18px; }

/* Nova venda */
.items { display: grid; gap: 12px; }
.item-card { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; display: grid; gap: 10px; background: var(--surface); }
.item-card .item-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item-card .item-head b { font-weight: 600; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plate-input { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.lookup-note { font-size: 12px; color: var(--muted); }
.lookup-note.ok { color: var(--green-text); }
.photos { display: flex; flex-wrap: wrap; gap: 8px; }
.photo { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 8px; border: 0; background: rgba(7, 8, 11, .8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sticky-total { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(14, 16, 22, .94); backdrop-filter: blur(10px); }
.sticky-total .total { font-family: var(--mono); font-size: 24px; letter-spacing: -0.03em; }
.loyal-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(240, 168, 48, .3); background: rgba(240, 168, 48, .06); }
.stamps-mini { display: inline-flex; gap: 4px; }
.stamps-mini i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #4a4f5c; }
.stamps-mini i.on { background: #f0a830; border-color: #f0a830; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.check-inline input { width: 18px; height: 18px; accent-color: #f0a830; }
.done-card { display: grid; gap: 14px; justify-items: start; }
.done-card .big { font-family: var(--mono); font-size: 30px; letter-spacing: -0.03em; }
.code-pill { font-family: var(--mono); font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); }
.profit-pos { color: var(--green-text); }
.profit-neg { color: var(--red-text); }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13px; }
.bar-row .bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; background: #f0a830; border-radius: 6px; }
@media (max-width: 720px) {
  .row3, .row4 { grid-template-columns: 1fr 1fr; }
  .sticky-total .total { font-size: 20px; }
}
.photo-wrap { display: grid; gap: 4px; width: 92px; }
.photo-status { font-size: 11px; color: var(--muted); line-height: 1.3; display: flex; flex-wrap: wrap; gap: 4px; }
.photo-status .ok { color: var(--green-text); }
.chip-btn { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(240, 168, 48, .5); background: rgba(240, 168, 48, .1); color: #f6c46f; cursor: pointer; }
