/* Lumenx Pedidos — estilos. Desktop primeiro; o layout já encolhe razoavelmente em telas menores. */
:root {
  --brand: #8B1D95; --brand-d: #6E1477; --brand-s: #F6E8F8; --brand-ss: #FBF4FC;
  --bg: #F5F4F8; --surface: #fff; --tile: #F8F7FA;
  --ink: #2A1B30; --ink2: #4A3F52; --muted: #6F6478; --line: #E6E1EA; --line2: #D9D2DF;
  --ok: #1D7A3A; --ok-s: #E7F6EC; --warn: #9A5B00; --warn-s: #FFF3DC; --err: #B42318; --err-s: #FDECEC;
  --r: 12px; --r-s: 8px;
  --sh: 0 1px 2px rgba(42, 27, 48, .06), 0 4px 16px rgba(42, 27, 48, .05);
  --sh-lg: 0 20px 60px rgba(42, 20, 60, .22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --side: 248px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 14.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -.02em; margin: 0; }
.carregando { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }
.mut { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.pri:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ok:hover { filter: brightness(.92); color: #fff; }
.btn.perigo { color: var(--err); }
.btn.perigo:hover { border-color: var(--err); background: var(--err-s); color: var(--err); }
.btn.sm { height: 30px; padding: 0 11px; font-size: .82rem; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--brand-s); }
.btn svg { width: 16px; height: 16px; flex: none; }
.ibtn { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); }
.ibtn:hover { background: var(--brand-s); color: var(--brand); }
.ibtn:disabled { opacity: .3; cursor: default; background: none; }
.ibtn svg { width: 16px; height: 16px; }

/* ---------- formulário ---------- */
.campo { display: block; margin-bottom: 14px; }
.campo > span { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; }
.campo small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.inp { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: var(--r-s); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.inp { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 29, 149, .14); }
.inp.erro { border-color: var(--err); }
select.inp { padding-right: 30px; }
.msg-erro { color: var(--err); font-size: .82rem; margin-top: 4px; }
.aviso { padding: 10px 14px; border-radius: var(--r-s); background: var(--warn-s); color: var(--warn); font-size: .88rem; }
.aviso.erro { background: var(--err-s); color: var(--err); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, #F3DDF6 0, transparent 60%), radial-gradient(900px 500px at 110% 110%, #EBDDF1 0, transparent 55%), var(--bg); }
.login form { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px 28px; box-shadow: var(--sh-lg); }
.login img { height: 38px; display: block; margin-bottom: 18px; }
.login h1 { font-size: 1.3rem; margin-bottom: 4px; }
.login p { margin: 0 0 22px; color: var(--muted); }
.login .btn { width: 100%; height: 44px; margin-top: 6px; }

/* ---------- estrutura ---------- */
.app { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); padding: 20px 14px 14px; }
.side .logo { display: block; padding: 2px 10px 18px; }
.side .logo img { height: 30px; display: block; }
.side .novo { width: 100%; height: 42px; margin-bottom: 18px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--ink2); text-decoration: none; font-weight: 500; }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.nav a:hover { background: var(--brand-ss); color: var(--brand); }
.nav a.on { background: var(--brand-s); color: var(--brand); font-weight: 600; }
.nav a.on svg { opacity: 1; }
.side .conta { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.conta-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.conta-link:hover, .conta-link.on { background: var(--brand-ss); }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.conta-link b { display: block; font-weight: 600; font-size: .9rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.conta-link small { color: var(--muted); font-size: .78rem; }
.sair { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 4px; padding: 7px 12px; border: 0; background: none; border-radius: 9px; color: var(--muted); font-size: .86rem; text-align: left; }
.sair:hover { background: var(--err-s); color: var(--err); }
.sair svg { width: 16px; height: 16px; }
.main { min-width: 0; padding: 28px 36px 64px; }
.pg { max-width: 1180px; margin: 0 auto; }

/* ---------- cabeçalho de página ---------- */
.crumb { font-size: .84rem; color: var(--muted); margin-bottom: 6px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); }
.pg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.pg-top h1 { font-size: 1.65rem; line-height: 1.2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pg-top .sub { color: var(--muted); margin-top: 4px; }
.acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- cartões e tabelas ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-h h2 { font-size: 1.02rem; }
.card-b { padding: 18px 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 16px 18px; text-decoration: none; color: inherit; display: block; }
a.kpi:hover { border-color: var(--brand); }
.kpi span { color: var(--muted); font-size: .84rem; font-weight: 500; }
.kpi b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--tile); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr.clic { cursor: pointer; }
.tbl tbody tr.clic:hover td { background: var(--brand-ss); }
.tbl .r { text-align: right; }
.tbl .c { text-align: center; }
.tbl td.acts { white-space: nowrap; text-align: right; width: 1%; }
.tbl .forte { font-weight: 600; }
.tbl-wrap { overflow-x: auto; }
.vazio { padding: 48px 20px; text-align: center; color: var(--muted); }
.vazio b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.vazio .btn { margin-top: 14px; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.rascunho { background: var(--warn-s); color: var(--warn); }
.badge.concluido { background: var(--ok-s); color: var(--ok); }
.badge.adm { background: var(--brand-s); color: var(--brand); }
.badge.vendedor { background: #EEF0F6; color: #4A5470; }
.badge.inativo { background: #F0EFF2; color: #8A8291; }
.pg-top h1 .badge { font-size: .8rem; height: 26px; }
.rev { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ---------- barra de filtros ---------- */
.filtros { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--tile); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--muted); }
.tabs button i { font-style: normal; font-weight: 500; opacity: .75; margin-left: 4px; }
.tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(42, 27, 48, .12); }
.busca { position: relative; flex: 1; min-width: 200px; max-width: 360px; margin-left: auto; }
.busca svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.busca .inp { padding-left: 34px; height: 36px; border-radius: 999px; }
.filtros select.inp { width: auto; height: 36px; border-radius: 999px; }

/* ---------- pedido ---------- */
.meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.meta b { color: var(--ink); font-weight: 600; }
.meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.meta a:hover { color: var(--brand); }
.pendente { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 12px 16px; margin-bottom: 18px; background: var(--warn-s); border: 1px solid #F2D49B; border-radius: var(--r); color: #6B4300; position: sticky; top: 10px; z-index: 5; box-shadow: var(--sh); }
.pendente b { color: #4F3100; }
.rem-lista { display: flex; flex-direction: column; }
.rem { display: grid; grid-template-columns: 34px 92px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.rem:last-child { border-bottom: 0; }
.rem .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-s); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.rem .th { width: 92px; height: 104px; display: grid; place-items: center; background: linear-gradient(180deg, #FAF7F2, #F1ECE4); border-radius: 10px; border: 1px solid var(--line); }
.rem .th svg { width: 84px; height: 96px; }
.rem h3 { font-size: 1rem; margin-bottom: 4px; }
.rem .det { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .84rem; }
.rem .det span { display: inline-flex; align-items: center; gap: 6px; }
.rem .obs { margin-top: 6px; font-size: .84rem; color: var(--ink2); background: var(--tile); border-radius: 6px; padding: 5px 9px; white-space: pre-line; max-width: 640px; }
.rem .qtd { text-align: right; min-width: 82px; }
.rem .qtd b { display: block; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rem .qtd span { color: var(--muted); font-size: .8rem; }
.rem .ops { display: flex; gap: 2px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--brand-s); color: var(--brand); font-weight: 600; font-size: .76rem; }
.dot { width: 13px; height: 13px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .18); display: inline-block; flex: none; }
.tot { display: flex; gap: 18px; color: var(--muted); font-size: .9rem; }
.tot b { color: var(--ink); }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.hist li:last-child { border-bottom: 0; }
.hist .rv { font-weight: 700; color: var(--brand); }
.hist .q { color: var(--muted); white-space: nowrap; }

/* ---------- configurador ---------- */
.cfg { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 24px; align-items: start; }
.palco { position: sticky; top: 20px; }
.parede { border-radius: var(--r) var(--r) 0 0; background: radial-gradient(120% 90% at 30% 15%, #FBF8F3 0, #EFE8DD 70%, #E6DDCF 100%); height: 400px; display: grid; place-items: center; padding: 20px; border: 1px solid var(--line); border-bottom: 0; }
.parede svg { height: 100%; max-width: 100%; }
.parede .tk { cursor: pointer; }
.parede .tk:hover .hit { fill: rgba(139, 29, 149, .07); }
.ficha { border-radius: 0 0 var(--r) var(--r); border-top: 0; }
.ficha dl { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 6px 12px; font-size: .86rem; padding: 14px 18px; }
.ficha dt { color: var(--muted); }
.ficha dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.secs { display: flex; flex-direction: column; gap: 14px; padding-bottom: 90px; }
.sec { padding: 18px 20px 20px; }
.sec > h2 { font-size: .98rem; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sec > h2 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .76rem; font-weight: 700; }
.sec > p { margin: 0 0 14px; color: var(--muted); font-size: .86rem; }
.sec.erro { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.sub-t { font-weight: 600; font-size: .86rem; margin: 16px 0 8px; }
.ops-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.op { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; text-align: center; transition: border-color .15s, background .15s; }
.op:hover { border-color: #C9A3CF; }
.op[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-ss); box-shadow: 0 0 0 3px rgba(139, 29, 149, .12); }
.op .mini { height: 64px; display: grid; place-items: center; }
.op .mini svg { height: 64px; width: auto; }
.op b { font-size: .88rem; font-weight: 600; line-height: 1.2; }
.op small { font-size: .74rem; color: var(--muted); line-height: 1.25; }
.ops-g.txt .op { padding: 12px 8px; }
.ops-g.tec .op { align-items: flex-start; text-align: left; padding: 12px 14px; }
.ops-g.tec { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; background: var(--tile); }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(42, 27, 48, .14); }
.teclas-sel { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.teclas-sel button { min-width: 74px; height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.teclas-sel button svg { width: 15px; height: 15px; }
.teclas-sel button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: var(--brand-ss); }
.icos { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; margin-top: 10px; }
.ico { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 7px; border: 1.5px solid transparent; border-radius: 8px; background: var(--tile); }
.ico:hover { border-color: #DCC0E0; }
.ico[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-s); color: var(--brand); }
.ico svg { width: 22px; height: 22px; }
.ico span { font-size: .7rem; color: var(--muted); line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linha { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cor-alvos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.cor-alvo { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; text-align: left; }
.cor-alvo i { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .16); flex: none; }
.cor-alvo b { display: block; font-size: .84rem; font-weight: 600; line-height: 1.2; }
.cor-alvo small { font-size: .74rem; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.cor-alvo[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-ss); }
.pal { display: flex; gap: 8px; flex-wrap: wrap; }
.pal button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(0, 0, 0, .14); padding: 0; position: relative; }
.pal button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 12px; border: 2px solid var(--brand); }
.hexbox { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.hexbox input[type=color] { width: 44px; height: 40px; padding: 2px; border: 1px solid var(--line2); border-radius: 8px; background: #fff; cursor: pointer; }
.hexbox .inp { width: 120px; font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; }
.qtd-box { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; background: #fff; }
.qtd-box button { width: 40px; height: 42px; border: 0; background: var(--tile); font-size: 1.2rem; font-weight: 600; color: var(--ink2); }
.qtd-box button:hover { background: var(--brand-s); color: var(--brand); }
.qtd-box input { width: 90px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; }
.qtd-box input::-webkit-outer-spin-button, .qtd-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qtd-box input:focus { outline: none; }
.cont { text-align: right; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.barra-fim { position: fixed; left: var(--side); right: 0; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.barra-fim .res { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-fim .res b { color: var(--ink); }

/* ---------- modal ---------- */
.modal-fundo { position: fixed; inset: 0; z-index: 100; background: rgba(30, 16, 40, .45); display: grid; place-items: center; padding: 24px; animation: fade .15s ease-out; }
.modal { width: 100%; max-width: 460px; background: #fff; border-radius: 16px; box-shadow: var(--sh-lg); animation: sobe .18s ease-out; max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.modal.lg { max-width: 560px; }
.modal-h { padding: 20px 24px 6px; }
.modal-h h2 { font-size: 1.15rem; }
.modal-h p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.modal-b { padding: 14px 24px 6px; overflow-y: auto; }
.modal-f { padding: 14px 24px 20px; display: flex; gap: 8px; justify-content: flex-end; }
@keyframes fade { from { opacity: 0; } }
@keyframes sobe { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.tst { background: #2A1B30; color: #fff; padding: 10px 18px; border-radius: 10px; box-shadow: var(--sh-lg); font-weight: 500; font-size: .9rem; animation: sobe .18s ease-out; }
.tst.erro { background: var(--err); }
.tst.ok { background: var(--ok); }

/* ---------- conta / usuários ---------- */
.perfil { display: flex; align-items: center; gap: 16px; }
.perfil .av { width: 56px; height: 56px; font-size: 1.2rem; }
.perfil h2 { font-size: 1.2rem; }
.mini-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.mini-kpis div { background: var(--tile); border-radius: 10px; padding: 12px 14px; }
.mini-kpis span { color: var(--muted); font-size: .8rem; }
.mini-kpis b { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0 14px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--brand); }
.radios { display: flex; gap: 8px; }
.radios label { flex: 1; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.radios label:has(input:checked) { border-color: var(--brand); background: var(--brand-ss); color: var(--brand); }
.radios input { accent-color: var(--brand); }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .cfg { grid-template-columns: 1fr; }
  .palco { position: static; }
  .main { padding: 22px 20px 64px; }
  .barra-fim { padding: 12px 20px; }
}
@media (max-width: 760px) {
  :root { --side: 0px; }
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .barra-fim { left: 0; }
  .rem { grid-template-columns: 30px 72px 1fr; }
  .rem .qtd, .rem .ops { grid-column: 3; text-align: left; }
}
@media print { .side, .barra-fim, #toast { display: none; } }

/* ---------- configurador de remessa: etapas, uma por vez ---------- */
/* etapas sem caixa, alinhadas nas bordas com o título e o selo do pedido */
.stepper { display: flex; align-items: center; gap: 10px; margin: 4px 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.stepper button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-size: .86rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.stepper .ln { flex: 1 1 0; min-width: 10px; height: 2px; border-radius: 2px; background: var(--line2); }
.stepper .ln.ok { background: var(--brand); opacity: .45; }
.stepper i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: #fff; border: 1.5px solid var(--line2); color: var(--muted); transition: all .15s; flex: none; }
.stepper i svg { width: 14px; height: 14px; stroke-width: 2.6; }
.stepper button.feita { color: var(--ink2); }
.stepper button.feita i { background: var(--brand-s); border-color: var(--brand-s); color: var(--brand); }
.stepper button.on { color: var(--brand); }
.stepper button.on i { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-s); }
.stepper button:disabled { cursor: default; }
.stepper button:not(:disabled):not(.on):hover i { border-color: var(--brand); }
@media (max-width: 1240px) { .stepper button:not(.on) span { display: none; } }

.cfg { grid-template-columns: minmax(300px, 380px) 1fr; padding-bottom: 96px; }
.palco { top: 16px; }
.parede { height: clamp(220px, 34vh, 360px); }
.ficha dl { gap: 4px 12px; font-size: .84rem; padding: 12px 18px 14px; grid-template-columns: 96px 1fr; }
.secs { padding-bottom: 0; }

.sec { padding: 26px 28px 28px; }
.sec-h { margin-bottom: 20px; }
.sec-h small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.sec-h h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 0; }
.sec-h p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }

.sec .ops-g { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.sec .op { position: relative; padding: 12px 12px 14px; gap: 4px; border-radius: 14px; }
.sec .op .mini { width: 100%; height: 118px; border-radius: 10px; margin-bottom: 8px; background: radial-gradient(120% 90% at 30% 15%, #FBF8F3 0, #EFE8DD 70%, #E6DDCF 100%); }
.sec .op .mini svg { height: 96px; filter: drop-shadow(0 3px 6px rgba(60, 40, 20, .18)); }
.sec .op b { font-size: .98rem; }
.sec .op small { font-size: .8rem; }
.sec .op[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 13px; box-shadow: 0 2px 6px rgba(139, 29, 149, .35); }
.sec .ops-g.tec { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.sec .ops-g.tec .op { padding: 14px 14px; }
.sec .sub-t { margin: 22px 0 10px; }


/* ---------- novo pedido / dados do pedido ---------- */
.modal-h { display: flex; gap: 14px; align-items: flex-start; }
.modal-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-s); color: var(--brand); display: grid; place-items: center; flex: none; }
.modal-ic svg { width: 22px; height: 22px; }
.modal.novo-ped { max-width: 500px; }
.modal.novo-ped .modal-h { padding: 24px 26px 4px; }
.modal.novo-ped .modal-b { padding: 18px 26px 4px; }
.modal.novo-ped .modal-f { padding: 16px 26px 22px; border-top: 1px solid var(--line); margin-top: 8px; }
.modal.novo-ped .campo { margin-bottom: 18px; }
.modal-f .btn.pri svg { margin-left: 2px; }

.fluxo { list-style: none; display: flex; align-items: center; gap: 6px; margin: 14px 26px 0; padding: 10px 12px; background: var(--tile); border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.fluxo li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.fluxo li + li::before { content: ""; width: 18px; height: 1px; background: var(--line2); margin-right: 2px; }
.fluxo i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: #fff; border: 1px solid var(--line2); }
.fluxo li.on { color: var(--brand); }
.fluxo li.on i { background: var(--brand); border-color: var(--brand); color: #fff; }

.num-box { position: relative; display: flex; align-items: center; }
.num-box > b { position: absolute; left: 14px; color: var(--muted); font-size: 1rem; font-weight: 700; pointer-events: none; }
.num-box .inp { height: 50px; padding-left: 44px; padding-right: 120px; font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.num-box .inp::placeholder { font-weight: 500; color: #B9AFC2; }
.num-st { position: absolute; right: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.num-st:empty { display: none; }
.num-st svg { width: 14px; height: 14px; }
.num-st.esp { color: var(--muted); }
.num-st.ok { color: var(--ok); background: var(--ok-s); }
.num-st.err { color: var(--err); background: var(--err-s); }

.ac { position: relative; }
.ac-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: grid; }
.ac-ic svg { width: 18px; height: 18px; }
.ac > .inp { height: 46px; padding-left: 40px; font-size: .98rem; }
.ac > select.inp { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236F6478' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.ac-lista { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(42, 20, 60, .16); padding: 6px; max-height: 280px; overflow-y: auto; }
.ac-lista button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 8px; text-align: left; font-size: .92rem; color: var(--ink); cursor: pointer; }
.ac-lista button:hover, .ac-lista button.on { background: var(--brand-ss); }
.ac-lista button.on { box-shadow: inset 0 0 0 1px var(--brand-s); }
.ac-lista .av { width: 28px; height: 28px; font-size: .72rem; background: var(--brand-s); color: var(--brand); }
.ac-lista .av.mais { background: var(--brand); color: #fff; }
.ac-lista .av svg { width: 15px; height: 15px; }
.ac-lista button.novo { color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 10px; }
.ac-lista button.novo:first-child { border-top: 0; margin-top: 0; border-radius: 8px; }
.campo .ac-hint { display: flex; align-items: center; gap: 5px; min-height: 1.3em; }
.ac-hint svg { width: 14px; height: 14px; }
.ac-hint.ok { color: var(--ok); font-weight: 600; }
.ac-hint.novo { color: var(--brand); font-weight: 600; }
/* a lista de clientes pode passar da borda da janela sem ser cortada */
.modal.novo-ped, .modal.novo-ped .modal-b { overflow: visible; }

/* cabeçalho da remessa: um card só com título, pedido/cliente e etapas */
.cab-rem { padding: 0 24px; margin-bottom: 20px; }
.cab-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cab-tit .crumb { margin-bottom: 2px; }
.cab-tit h1 { font-size: 1.45rem; line-height: 1.2; }
.ped-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ped-num, .ped-cli { height: 40px; display: inline-flex; align-items: center; border-radius: 10px; }
.ped-num { gap: 8px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; padding: 0 14px; }
.ped-num small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.ped-cli { gap: 7px; background: var(--tile); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; padding: 0 14px; }
.ped-cli svg { width: 16px; height: 16px; color: var(--muted); }
.ped-aviso { margin: 12px 0 0; font-size: .82rem; font-weight: 600; color: var(--warn); background: var(--warn-s); padding: 8px 12px; border-radius: 8px; }
.cab-rem .stepper { margin: 0; padding: 16px 0; border-bottom: 0; }

/* ficha da remessa: itens ainda não escolhidos */
.ficha .vazio-f { color: var(--line2); font-weight: 600; }
.ficha .cod { font-weight: 500; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }

/* tecnologia: só o nome */
.sec .ops-g.tec .op { align-items: center; justify-content: center; text-align: center; min-height: 64px; }
.sec .ops-g.tec .op b { font-size: 1rem; }
.sec .ops-g.tec .op { padding: 14px 26px; }
.sec .ops-g.tec .op[aria-pressed="true"]::after { top: 7px; right: 7px; width: 18px; height: 18px; background-size: 11px; }

/* ficha embaixo da prévia: recolhível */
.ficha-t { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 12px 18px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid var(--line); }
.ficha-t:hover { color: var(--brand); }
.ficha-t svg { width: 18px; height: 18px; transition: transform .2s; }
.ficha.fechada .ficha-t { border-bottom: 0; }
.ficha.fechada .ficha-t svg { transform: rotate(-90deg); }
.ficha.fechada dl { display: none; }

/* ---------- remessa mais compacta (pedido do usuário: estava tudo grande demais) ---------- */
.cab-rem { padding: 0 20px; margin-bottom: 16px; }
.cab-top { padding: 12px 0; }
.cab-tit .crumb { font-size: .78rem; }
.cab-tit h1 { font-size: 1.2rem; }
.ped-num, .ped-cli { height: 32px; border-radius: 8px; padding: 0 11px; }
.ped-num { font-size: .95rem; gap: 6px; }
.ped-num small { font-size: .6rem; }
.ped-cli { font-size: .84rem; }
.ped-cli svg { width: 14px; height: 14px; }
.cab-rem .stepper { padding: 11px 0; gap: 8px; }
.stepper button { font-size: .8rem; gap: 6px; }
.stepper i { width: 22px; height: 22px; font-size: .7rem; }
.stepper i svg { width: 12px; height: 12px; }
.stepper button.on i { box-shadow: 0 0 0 3px var(--brand-s); }

.cfg { grid-template-columns: minmax(250px, 300px) 1fr; gap: 16px; }
.parede { height: clamp(180px, 28vh, 270px); padding: 14px; }
.ficha-t { padding: 9px 14px; font-size: .7rem; }
.ficha dl { font-size: .8rem; padding: 10px 14px 12px; grid-template-columns: 84px 1fr; gap: 3px 10px; }

.sec { padding: 18px 20px 20px; }
.sec-h { margin-bottom: 14px; }
.sec-h small { font-size: .66rem; margin-bottom: 2px; }
.sec-h h2 { font-size: 1.08rem; }
.sec-h p { font-size: .82rem; margin-top: 3px; }
.sec .sub-t { margin: 16px 0 8px; font-size: .8rem; }
.sec .ops-g { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.sec .op { padding: 8px 8px 10px; border-radius: 11px; gap: 2px; }
.sec .op .mini { height: 78px; border-radius: 8px; margin-bottom: 6px; }
.sec .op .mini svg { height: 62px; }
.sec .op b { font-size: .84rem; }
.sec .op small { font-size: .72rem; }
.sec .op[aria-pressed="true"]::after { top: 7px; right: 7px; width: 18px; height: 18px; background-size: 11px; }
.sec .ops-g.tec { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sec .ops-g.tec .op { min-height: 44px; padding: 8px 22px; }
.sec .ops-g.tec .op b { font-size: .88rem; }
.sec .seg button { padding: 5px 13px; font-size: .8rem; }
.sec .cor-alvo { padding: 7px 10px; }
.sec .pal button { width: 28px; height: 28px; }
.sec .qtd-box button { width: 34px; height: 36px; }
.sec .qtd-box input { height: 36px; width: 74px; font-size: 1rem; }
.barra-fim { padding: 9px 36px; }
.barra-fim .btn { height: 34px; padding: 0 14px; font-size: .86rem; }

/* ---------- etapa: botões dentro do card, colunas com a mesma altura ---------- */
.cfg { align-items: stretch; padding-bottom: 28px; }
.palco { align-self: start; }
.etapa-card { display: flex; flex-direction: column; min-height: 100%; overflow: visible; }
.etapa-card .secs { flex: 1; gap: 0; }
.etapa-card .sec { border: 0; box-shadow: none; background: none; }
.etapa-card:has(.sec.erro) { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.etapa-f { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-radius: 0 0 var(--r) var(--r); }
.etapa-f .res { color: var(--muted); font-size: .82rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etapa-f .res b { color: var(--ink); }
.etapa-f .acoes { flex: none; gap: 8px; }
.etapa-f .btn { height: 34px; padding: 0 14px; font-size: .86rem; }

/* ---------- cards de opção maiores, do mesmo tamanho e alinhados em grade ---------- */
.sec .ops-g { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; align-items: stretch; }
.sec .op { padding: 10px 10px 14px; gap: 3px; border-radius: 14px; justify-content: flex-start; }
.sec .op .mini { height: 120px; border-radius: 10px; margin-bottom: 8px; }
.sec .op .mini svg { height: 96px; }
.sec .op b { font-size: .95rem; }
.sec .op small { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sec .op[aria-pressed="true"]::after { top: 9px; right: 9px; width: 20px; height: 20px; background-size: 12px; }
.sec .ops-g.tec { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.sec .ops-g.tec .op { min-height: 56px; justify-content: center; }
.sec .ops-g.tec .op b { font-size: .95rem; }

/* ---------- prévia e card da etapa sempre com a mesma altura ---------- */
.palco { align-self: stretch; position: static; display: flex; flex-direction: column; }
.parede { flex: 1 1 auto; height: auto; min-height: clamp(180px, 28vh, 270px); display: flex; align-items: center; justify-content: center; }
.parede svg { height: clamp(150px, 24vh, 240px); width: auto; max-width: 100%; }
.ficha { flex: none; }

/* cor da placa: nome ao lado do código */
.hexbox .cor-nome { margin-left: 10px; font-weight: 600; font-size: .86rem; color: var(--ink2); }

/* ---------- página do pedido (redesenho 06/11/2026) ---------- */
.ped-cab { padding: 0; margin-bottom: 16px; overflow: hidden; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.pc-tit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pc-num { display: inline-flex; align-items: baseline; gap: 8px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; padding: 7px 16px; border-radius: 12px; box-shadow: 0 6px 18px rgba(139, 29, 149, .25); }
.pc-num small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.pc-st { display: flex; align-items: center; gap: 8px; }
.pc-st .badge { height: 28px; font-size: .8rem; }
.pc-st .rev { font-weight: 700; font-size: .8rem; color: var(--brand); background: var(--brand-s); border-radius: 999px; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; }
.ped-cab .acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-info { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-top: 1px solid var(--line); background: var(--brand-ss); }
.pi { padding: 13px 22px; border-left: 1px solid var(--line); min-width: 0; }
.pi:first-child { border-left: 0; }
.pi small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pi b, .pi a { font-weight: 650; color: var(--ink); text-decoration: none; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.pi a:hover { color: var(--brand); }
.pi.cli { display: flex; align-items: center; gap: 11px; }
.pi.cli > div { min-width: 0; }
.pi .av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.pc-ok { display: flex; align-items: center; gap: 10px; padding: 10px 22px; background: var(--ok-s); color: var(--ok); font-size: .86rem; border-top: 1px solid #CDEBD6; }
.pc-ok svg { width: 17px; height: 17px; flex: none; }
.pc-ok.rasc { background: var(--warn-s); color: var(--warn); border-top-color: #F2D49B; }

.ped-tot { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.pt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--sh); }
.pt small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pt b { font-size: 1.05rem; font-weight: 700; }
.pt.fx { background: var(--brand-s); border-color: #EBD3EF; box-shadow: none; }
.pt.fx small, .pt.fx b { color: var(--brand); }
.pt.fx b { font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }

.lotes-h { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
.lotes-h h2 { font-size: 1.1rem; }
.lotes { display: flex; flex-direction: column; gap: 14px; }
.lote { display: grid; grid-template-columns: 168px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.lote:hover { border-color: #E2C6E7; box-shadow: 0 2px 4px rgba(42, 27, 48, .06), 0 10px 28px rgba(42, 27, 48, .08); }
.lt-img { position: relative; display: grid; place-items: center; padding: 16px 10px 26px; background: linear-gradient(180deg, #F6F2EC, #ECE6DE); border-right: 1px solid var(--line); }
.lt-img svg { width: 132px; height: 132px; filter: drop-shadow(0 6px 10px rgba(42, 27, 48, .16)); }
.lt-img span { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: #8E8378; }
.lt-corpo { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lt-eb { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 3px; }
.lt-eb .tag { letter-spacing: 0; text-transform: none; font-size: .76rem; }
.lt-top h3 { font-size: 1.08rem; }
.lt-q { flex: none; text-align: center; background: var(--brand-s); color: var(--brand); border-radius: 12px; padding: 6px 14px; font-size: .75rem; font-weight: 600; line-height: 1.1; }
.lt-q b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.lt-det { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; }
.lt-det div { min-width: 0; }
.lt-det dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lt-det dd { margin: 1px 0 0; font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.lt-det dd .mut { font-weight: 500; font-size: .8rem; }
.lt-k { display: flex; flex-wrap: wrap; gap: 6px; }
.kc { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--tile); font-size: .82rem; font-weight: 600; }
.kc i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .68rem; font-weight: 700; }
.kc .ki svg { width: 15px; height: 15px; display: block; color: var(--ink2); }
.kc .mut { font-weight: 500; }
.lt-obs { background: #FFF9EB; border-left: 3px solid #E0A23A; border-radius: 6px; padding: 7px 11px; font-size: .86rem; white-space: pre-line; color: var(--ink2); }
.lt-obs b { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); }
.lt-ops { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.lt-ops .btn svg { width: 15px; height: 15px; }
.btn.ghost-p { border-color: transparent; color: var(--err); margin-left: auto; }
.btn.ghost-p:hover { background: var(--err-s); border-color: var(--err-s); color: var(--err); }

.hist-c { margin-top: 22px; }
.tl { list-style: none; margin: 0; padding: 14px 22px 6px; }
.tl li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 0 0 14px; }
.tl li::before { content: ""; position: absolute; left: 30px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl .rv { justify-self: start; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--brand-s); color: var(--brand); font-weight: 700; font-size: .76rem; display: inline-flex; align-items: center; }
.tl b { display: block; font-weight: 600; font-size: .9rem; }
.tl small { color: var(--muted); font-size: .8rem; }

@media (max-width: 820px) {
  .pc-info { grid-template-columns: 1fr 1fr; }
  .pi:nth-child(3) { border-left: 0; }
  .pi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lote { grid-template-columns: 1fr; }
  .lt-img { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* página do pedido: mais leve e corporativa (textos menores, menos negrito) */
.crumb { font-size: .78rem; }
.pc-top { padding: 16px 22px; }
.pc-num { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; padding: 5px 12px; border-radius: 8px; box-shadow: none; gap: 7px; }
.pc-num small { font-size: .6rem; font-weight: 500; letter-spacing: .12em; opacity: .75; }
.pc-st .badge, .pc-st .rev { height: 24px; font-size: .74rem; font-weight: 500; }
.pc-info { background: #FCFBFD; }
.pi { padding: 11px 22px; }
.pi small, .pt small, .lt-det dt, .lt-obs b { font-size: .62rem; font-weight: 500; letter-spacing: .1em; color: #8C8294; }
.pi b, .pi a { font-size: .86rem; font-weight: 500; }
.pi .av { width: 30px; height: 30px; font-size: .7rem; font-weight: 600; background: var(--brand-s); color: var(--brand); }
.pc-ok { font-size: .8rem; padding: 8px 22px; }
.pc-ok b { font-weight: 600; }
.pc-ok svg { width: 15px; height: 15px; }
.ped-tot { gap: 10px; margin-bottom: 20px; }
.pt { padding: 10px 14px; box-shadow: none; }
.pt b { font-size: .9rem; font-weight: 500; }
.pt.fx { background: var(--surface); border-color: var(--line); }
.pt.fx small { color: #8C8294; }
.pt.fx b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.lotes-h h2, .hist-c .card-h h2 { font-size: .92rem; font-weight: 600; }
.lotes { gap: 12px; }
.lote { grid-template-columns: 150px 1fr; box-shadow: none; }
.lt-img svg { width: 116px; height: 116px; }
.lt-img span { font-size: .64rem; font-weight: 500; }
.lt-corpo { padding: 14px 18px; gap: 10px; }
.lt-eb { font-size: .64rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 2px; }
.lt-eb .tag { font-size: .7rem; font-weight: 500; height: 20px; padding: 0 8px; }
.lt-top h3 { font-size: .92rem; font-weight: 600; letter-spacing: -.005em; }
.lt-q { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 5px 12px; font-size: .68rem; font-weight: 400; }
.lt-q b { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.lt-det { gap: 6px 24px; }
.lt-det dd { font-size: .82rem; font-weight: 400; }
.lt-det dd .mut { font-size: .76rem; font-weight: 400; }
.kc { height: 25px; font-size: .76rem; font-weight: 400; background: var(--surface); padding: 0 9px 0 3px; }
.kc i { width: 18px; height: 18px; font-size: .62rem; font-weight: 600; background: var(--brand-s); color: var(--brand); }
.kc .ki svg { width: 13px; height: 13px; }
.lt-obs { font-size: .8rem; padding: 6px 10px; }
.lt-ops { padding-top: 10px; }
.lt-ops .btn { font-weight: 500; font-size: .78rem; height: 28px; }
.lt-ops .btn svg { width: 14px; height: 14px; }
.ped-cab .acoes .btn { font-weight: 500; font-size: .84rem; height: 34px; }
.lotes-h .btn { font-weight: 500; }
.tl .rv { font-weight: 500; font-size: .7rem; height: 22px; }
.tl b { font-weight: 400; font-size: .84rem; }
.tl small { font-size: .74rem; }

/* ---------- menu lateral cor gelo (06/11/2026) ----------
   Branco gelo frio, cinzas azulados e o roxo da marca nos destaques. */
.side { background: #F3F5F9; border-right: 1px solid #E1E5EC; color: #3D4250; padding: 22px 14px 14px; }
.side .logo { padding: 4px 10px 20px 24px; margin: 0 -14px 18px; border-bottom: 1px solid #E1E5EC; text-decoration: none; }
.side .logo img { height: 30px; }
.side .logo small { display: block; margin-top: 8px; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8A91A0; }
.side .novo { height: 40px; margin-bottom: 24px; border-radius: 8px; box-shadow: 0 4px 12px rgba(139, 29, 149, .18); font-weight: 500; }
.nav-t { padding: 0 12px 8px; font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9AA1AE; }
.nav { gap: 2px; }
.nav a { color: #4F5563; font-weight: 400; font-size: .9rem; padding: 9px 12px; border-radius: 8px; position: relative; }
.nav a svg { opacity: .7; }
.nav a:hover { background: #E9ECF2; color: #262A33; }
.nav a.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 2px rgba(30, 40, 60, .06), 0 0 0 1px #E1E5EC; }
.nav a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.nav a.on svg { opacity: 1; color: var(--brand); }
.side .conta { border-top: 1px solid #E1E5EC; margin: auto -14px 0; padding: 12px 14px 0; }
.conta-link { color: #262A33; border-radius: 8px; }
.conta-link:hover, .conta-link.on { background: #E9ECF2; }
.conta-link b { font-weight: 500; }
.conta-link small { color: #8A91A0; }
.side .av { background: var(--brand); color: #fff; font-weight: 600; box-shadow: none; }
.sair { color: #7D8494; border-radius: 8px; }
.sair:hover { background: var(--err-s); color: var(--err); }
@media (max-width: 760px) { .side { border-bottom: 1px solid #E1E5EC; border-right: 0; } }

/* ---------- lote em formato de ficha (06/11/2026): rótulo | valor, alinhado em grade de 2 colunas ---------- */
.lt-ficha { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lt-ficha > div { display: grid; grid-template-columns: 118px 1fr; align-items: center; min-height: 36px; border-bottom: 1px solid var(--line); }
.lt-ficha > div:nth-child(odd):not(.lg) { border-right: 1px solid var(--line); }
.lt-ficha > div.lg { grid-column: 1 / -1; grid-template-columns: 118px 1fr; }
.lt-ficha > div:last-child, .lt-ficha > div:nth-last-child(2):nth-child(odd):not(.lg) ~ div:last-child { border-bottom: 0; }
.lt-ficha dt { align-self: stretch; display: flex; align-items: center; padding: 0 12px; background: #FAFAFC; border-right: 1px solid var(--line); font-size: .66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8C8294; }
.lt-ficha dd { margin: 0; padding: 7px 12px; font-size: .83rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.lt-ficha dd .mut { font-size: .78rem; }
.lt-ficha dd b { font-weight: 600; }
.lt-ficha .lt-k { display: flex; flex-wrap: wrap; gap: 5px; }
.lt-corpo { gap: 12px; }
@media (max-width: 1000px) { .lt-ficha { grid-template-columns: 1fr; } .lt-ficha > div:nth-child(odd):not(.lg) { border-right: 0; } }

/* ficha: rótulos numa linha só e bordas simples (cada linha tem só borda em cima, menos a primeira fileira) */
.lt-ficha > div { grid-template-columns: 136px 1fr; border-bottom: 0; border-top: 1px solid var(--line); }
.lt-ficha > div.lg { grid-template-columns: 136px 1fr; }
.lt-ficha > div:nth-child(-n+2):not(.lg) { border-top: 0; }
.lt-ficha dt { white-space: nowrap; }
@media (max-width: 1000px) { .lt-ficha > div:nth-child(2) { border-top: 1px solid var(--line); } }

/* imagem do interruptor no lote um pouco maior */
.lote { grid-template-columns: 184px 1fr; }
.lt-img svg { width: 146px; height: 146px; }

/* voltar para a lista, no topo da página do pedido */
.ped-volta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ped-volta .crumb { margin: 0; }
.volta { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 10px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); color: var(--ink2); text-decoration: none; font-size: .82rem; font-weight: 500; transition: border-color .15s, color .15s; }
.volta svg { width: 16px; height: 16px; }
.volta:hover { border-color: var(--brand); color: var(--brand); }

/* paginação da lista de pedidos (100 por página) */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .84rem; }
.pager b { color: var(--ink); font-weight: 600; }
.pg-bts { display: flex; align-items: center; gap: 4px; }
.pg-bts .btn svg { width: 14px; height: 14px; }
.pg-n { min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink2); font-size: .82rem; font-weight: 500; }
.pg-n:hover { border-color: var(--line2); }
.pg-n.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pg-r { padding: 0 4px; color: var(--muted); }

/* ---------- lista de pedidos mais limpa (06/11/2026) ---------- */
.pg-top h1 { font-size: 1.45rem; font-weight: 650; }
.pg-top .sub { font-size: .86rem; }
.filtros { padding: 12px 16px; gap: 10px; }
.tabs button { font-weight: 500; font-size: .82rem; padding: 6px 13px; }
.tabs button.on { font-weight: 600; }
.filtros select.inp, .busca .inp { height: 34px; font-size: .84rem; }
.tbl-ped th { font-size: .66rem; font-weight: 500; letter-spacing: .08em; color: #8C8294; background: #FBFAFC; padding: 9px 16px; }
.tbl-ped td { padding: 12px 16px; font-size: .86rem; }
.tbl-ped tbody tr.clic { transition: background .12s; }
.tbl-ped tbody tr.clic:hover td { background: #FBF6FC; }
.tp-num { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.tp-num small { font-size: .66rem; font-weight: 500; color: #8C8294; }
.tp-cli { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.tp-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-s); color: var(--brand); display: grid; place-items: center; font-size: .66rem; font-weight: 600; }
.tp-vend { color: var(--ink2); }
.tp-pl { display: flex; flex-direction: column; line-height: 1.25; }
.tp-pl b { font-weight: 500; }
.tp-pl small, .tp-st small { color: #8C8294; font-size: .74rem; }
.tp-st { display: inline-flex; align-items: center; gap: 8px; }
.tp-st .badge { font-weight: 500; }
.tp-dt { color: var(--muted); white-space: nowrap; }
.tbl-ped .ibtn { border-color: transparent; }
.tbl-ped .ibtn:hover { border-color: #EBD3EF; }
.tp-seta { display: inline-grid; place-items: center; width: 24px; height: 30px; color: #C5BCCB; vertical-align: middle; transition: color .12s, transform .12s; }
.tp-seta svg { width: 15px; height: 15px; }
.tbl-ped tr.clic:hover .tp-seta { color: var(--brand); transform: translateX(2px); }

/* botão "visualizar pedido" (olho) no fim da linha, no lugar da setinha */
.tp-ver { color: var(--brand); background: var(--brand-ss); border-color: #EBD3EF !important; margin-left: 2px; }
.tp-ver:hover, .tbl-ped tr.clic:hover .tp-ver { background: var(--brand-ss); border-color: #EBD3EF !important; color: var(--brand); } /* olho não muda de cor no hover */

/* etapa Tecnologia: as 4 opções na mesma linha */
.sec .ops-g.tec.q4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .sec .ops-g.tec.q4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* janelas de pedido (novo, duplicar, dados) no tamanho padrão do sistema */
.modal.novo-ped { max-width: 420px; border-radius: 12px; }
.modal.novo-ped .modal-h { padding: 18px 20px 2px; gap: 11px; align-items: center; }
.modal.novo-ped .modal-h h2 { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.modal.novo-ped .modal-h p { margin-top: 2px; font-size: .8rem; }
.modal.novo-ped .modal-ic { width: 34px; height: 34px; border-radius: 9px; }
.modal.novo-ped .modal-ic svg { width: 17px; height: 17px; }
.modal.novo-ped .modal-b { padding: 14px 20px 2px; }
.modal.novo-ped .modal-f { padding: 12px 20px 14px; margin-top: 4px; }
.modal.novo-ped .modal-f .btn { height: 34px; padding: 0 14px; font-size: .84rem; font-weight: 500; }
.modal.novo-ped .campo { margin-bottom: 12px; }
.modal.novo-ped .campo > span { font-size: .78rem; font-weight: 500; margin-bottom: 4px; }
.modal.novo-ped .fluxo { margin: 12px 20px 0; padding: 7px 10px; border-radius: 8px; font-size: .72rem; font-weight: 500; }
.modal.novo-ped .fluxo i { width: 17px; height: 17px; font-size: .64rem; }
.modal.novo-ped .fluxo li + li::before { width: 12px; }
.modal.novo-ped .num-box > b { left: 12px; font-size: .84rem; font-weight: 500; }
.modal.novo-ped .num-box .inp { height: 36px; padding-left: 36px; font-size: .88rem; font-weight: 500; letter-spacing: 0; }
.modal.novo-ped .ac > .inp { height: 36px; padding-left: 34px; font-size: .88rem; }
.modal.novo-ped .ac-ic { left: 10px; }
.modal.novo-ped .ac-ic svg { width: 15px; height: 15px; }

/* ---------- início (ADM e vendedor(a)), redesenho 11/11/2026 ---------- */
.ini-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ini-data { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8C8294; margin-bottom: 4px; }
.ini-top h1 { font-size: 1.45rem; font-weight: 650; }
.ini-top p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }
.iks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.ik { display: flex; align-items: center; gap: 13px; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.ik:hover { border-color: #E2C6E7; box-shadow: 0 6px 18px rgba(42, 27, 48, .06); }
.ik small { display: block; font-size: .72rem; color: var(--muted); }
.ik b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ik em { font-style: normal; font-size: .72rem; color: var(--brand); }
.ik-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.ik-ic svg { width: 19px; height: 19px; }
.am { background: #FFF3DC; color: #9A5B00; }
.vd { background: #E7F6EC; color: #1D7A3A; }
.rx { background: var(--brand-s); color: var(--brand); }
.az { background: #E8F0FB; color: #2F5DA8; }
.ik.am, .ik.vd, .ik.rx, .ik.az { background: var(--surface); color: inherit; }
.ik.am .ik-ic { background: #FFF3DC; color: #9A5B00; }
.ik.vd .ik-ic { background: #E7F6EC; color: #1D7A3A; }
.ik.rx .ik-ic { background: var(--brand-s); color: var(--brand); }
.ik.az .ik-ic { background: #E8F0FB; color: #2F5DA8; }
.ini-g { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; align-items: start; }
.ini-c { box-shadow: none; overflow: hidden; }
.ini-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ini-h h2 { font-size: .92rem; font-weight: 600; }
.ini-h .mut { font-size: .78rem; }
.lnk { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 500; color: var(--brand); text-decoration: none; }
.lnk svg { width: 14px; height: 14px; }
.ini-r { display: grid; grid-template-columns: 74px 1fr 76px 104px 74px; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; font-size: .84rem; transition: background .12s; }
.ini-r:last-child { border-bottom: 0; }
.ini-r:hover { background: #FBF6FC; }
.ini-r .badge { font-weight: 500; justify-self: start; }
.ini-r .tp-dt { text-align: right; font-size: .78rem; }
.ini-cn { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ini-cn b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ini-cn small { color: #8C8294; font-size: .72rem; }
.ini-pl { color: var(--ink2); }
.ini-v { padding: 6px 0; }
.iv { display: flex; align-items: center; gap: 11px; padding: 10px 18px; text-decoration: none; color: inherit; transition: background .12s; }
.iv:hover { background: #FBF6FC; }
.iv-c { flex: 1; min-width: 0; }
.iv-t { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; }
.iv-t b { font-weight: 500; }
.iv-t span { color: var(--ink2); font-variant-numeric: tabular-nums; }
.iv-bar { height: 5px; border-radius: 99px; background: #F0EDF3; margin: 6px 0 4px; overflow: hidden; }
.iv-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #B04CBE, var(--brand)); min-width: 3px; }
.iv small { color: #8C8294; font-size: .72rem; }
.ini-at { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.at { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none; color: inherit; font: inherit; cursor: pointer; transition: background .12s; }
.at:hover { background: #FBF6FC; }
.at .ik-ic { width: 36px; height: 36px; }
.at b { display: block; font-weight: 500; font-size: .86rem; }
.at small { color: #8C8294; font-size: .74rem; }
@media (max-width: 1100px) { .iks { grid-template-columns: repeat(2, 1fr); } .ini-g { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ini-r { grid-template-columns: 64px 1fr 90px; } .ini-r .ini-pl, .ini-r .tp-dt { display: none; } }

/* ---------- rodapé do menu: cartão da conta (13/11/2026) ---------- */
.side .conta { padding: 12px 12px 2px; }
.conta-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; background: #fff; border: 1px solid #E1E5EC; border-radius: 12px; box-shadow: 0 1px 2px rgba(30, 40, 60, .05); transition: border-color .15s, box-shadow .15s; }
.conta-link:hover { background: #fff; border-color: #E2C6E7; box-shadow: 0 4px 14px rgba(42, 27, 48, .08); }
.conta-link.on { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 29, 149, .1); }
.side .conta-link .av { width: 34px; height: 34px; font-size: .74rem; font-weight: 600; border-radius: 10px; background: linear-gradient(135deg, #A42DB0, var(--brand)); color: #fff; }
.cl-t { flex: 1; min-width: 0; line-height: 1.2; }
.cl-t b { display: block; font-weight: 600; font-size: .86rem; color: #262A33; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-t small { color: #8A91A0; font-size: .72rem; }
.cl-s { display: grid; place-items: center; color: #A3A9B5; transition: transform .15s, color .15s; }
.cl-s svg { width: 15px; height: 15px; }
.conta-link:hover .cl-s, .conta-link.on .cl-s { color: var(--brand); transform: translateX(2px); }

/* ---------- página Minha conta ---------- */
.ct { max-width: 980px; }
.ct-g { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.ct-perfil { overflow: hidden; box-shadow: none; padding-bottom: 16px; }
.ct-capa { height: 70px; background: linear-gradient(120deg, #8B1D95 0%, #B04CBE 55%, #E9C8EE 100%); }
.ct-id { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -36px; padding: 0 18px; }
.ct-av { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--brand); font-weight: 650; font-size: 1.35rem; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(42, 27, 48, .14); margin-bottom: 10px; }
.ct-id h2 { font-size: 1.05rem; font-weight: 600; }
.ct-login { color: var(--muted); font-size: .82rem; margin: 2px 0 8px; word-break: break-all; }
.ct-id .badge { font-weight: 500; }
.ct-kp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 16px 0; }
.ct-k { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; transition: border-color .15s; }
a.ct-k:hover { border-color: #E2C6E7; }
.ct-k small { display: block; font-size: .7rem; color: var(--muted); }
.ct-k b { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-nota { margin: 14px 18px 0; font-size: .78rem; color: var(--muted); text-align: center; }
.ct-c { box-shadow: none; overflow: hidden; }
.ct-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ct-h .ik-ic, .ct-sair .ik-ic { width: 38px; height: 38px; }
.ct-h h2, .ct-sair h2 { font-size: .95rem; font-weight: 600; }
.ct-h small, .ct-sair small { color: var(--muted); font-size: .78rem; }
.ct-b { padding: 18px 20px 20px; }
.ct-b .campo > span { font-size: .78rem; font-weight: 500; }
.ct-b .inp { height: 38px; }
.ct-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-f { display: flex; justify-content: flex-end; margin-top: 4px; }
.ct-f .btn { height: 36px; font-weight: 500; font-size: .86rem; }
.ct-sair { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; box-shadow: none; }
.ct-sair > div { flex: 1; }
.sr { background: var(--err-s); color: var(--err); }
.ct-bs { height: 36px; border-color: #F3C3BF; color: var(--err); font-weight: 500; font-size: .86rem; }
.ct-bs:hover { background: var(--err-s); border-color: var(--err); color: var(--err); }
.ct-bs svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .ct-g { grid-template-columns: 1fr; } .ct-2 { grid-template-columns: 1fr; } }

/* ---------- Minha conta v2 (13/11/2026, no estilo da referência do usuário, em roxo Lumenx) ---------- */
.ct { max-width: 1180px; }
.ct-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ct-top h1 { font-size: 1.3rem; font-weight: 650; }
.ct-hoje { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; }
.ct-hoje svg { width: 16px; height: 16px; }
.ct-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: 18px; color: #fff; margin-bottom: 18px;
  background: radial-gradient(600px 260px at 85% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(120deg, #8B1D95 0%, #9D35A8 55%, #6E1477 100%); box-shadow: 0 10px 30px rgba(139, 29, 149, .22); }
.ch-av { flex: none; width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 2rem; font-weight: 700; box-shadow: 0 8px 22px rgba(40, 10, 50, .25); }
.ch-id { flex: 1; min-width: 220px; }
.ch-id small { font-size: .8rem; opacity: .8; }
.ch-id h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 4px; }
.ch-mail { display: flex; align-items: center; gap: 7px; font-size: .9rem; opacity: .92; word-break: break-all; }
.ch-mail svg { width: 16px; height: 16px; flex: none; }
.ch-tag { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .78rem; font-weight: 600; }
.ch-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ch-i { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.ch-i svg { width: 19px; height: 19px; flex: none; opacity: .9; }
.ch-i small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ch-i b { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.ct-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.ct-3 .ct-c { display: flex; flex-direction: column; border-radius: 14px; }
.ct-3 .ct-b { flex: 1; display: flex; flex-direction: column; }
.ct-3 .ct-f { margin-top: auto; padding-top: 6px; }
.ct-b .inp:disabled { background: #F7F6F9; color: var(--ink2); }
.ct-f .btn svg { width: 15px; height: 15px; }
.ct-bl { background: #C9772E; border-color: #C9772E; color: #fff; height: 36px; font-weight: 500; font-size: .86rem; }
.ct-bl:hover { background: #B2661F; border-color: #B2661F; color: #fff; }
.ses-i { display: flex; align-items: center; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.ses-i .ik-ic { width: 42px; height: 42px; }
.ses-i b { display: block; font-weight: 600; font-size: .92rem; }
.ses-i small { color: var(--muted); font-size: .78rem; }
.ct-ses .ct-bs { width: 100%; margin-top: auto; height: 40px; justify-content: center; }
.ct-ses .ct-b { gap: 14px; }
@media (max-width: 1100px) { .ct-3 { grid-template-columns: 1fr 1fr; } .ct-ses { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ct-3 { grid-template-columns: 1fr; } .ct-hero { padding: 22px; } }

/* ---------- início: faixa de boas-vindas e lista na largura toda para o ADM (13/11/2026) ---------- */
.ini-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 28px; margin-bottom: 18px; border-radius: 18px; color: #fff;
  background: radial-gradient(600px 260px at 85% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(120deg, #8B1D95 0%, #9D35A8 55%, #6E1477 100%); box-shadow: 0 10px 30px rgba(139, 29, 149, .2); }
.ih-data { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ih-data svg { width: 15px; height: 15px; }
.ini-hero h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.ini-hero p { margin: 0; font-size: .88rem; opacity: .88; }
.ih-bt { background: #fff; border-color: #fff; color: var(--brand); height: 40px; font-weight: 600; box-shadow: 0 6px 16px rgba(40, 10, 50, .2); }
.ih-bt:hover { background: #FBF4FC; border-color: #FBF4FC; color: var(--brand-d); }
.ini-g.um { grid-template-columns: 1fr; }
.ini-g.um .ini-r { grid-template-columns: 90px 1fr 110px 130px 90px; padding: 12px 22px; }

/* ---------- lista Personalização no mesmo visual do Início (13/11/2026) ---------- */
.lp .card { border-radius: 14px; box-shadow: none; overflow: hidden; }
.lp .filtros { padding: 14px 18px; background: #fff; }
.lp .tabs { background: #F6F4F8; }
.lp .tbl-ped th { background: #FAF9FC; }
.lp .tbl-ped td { padding: 13px 18px; }
.lp .tbl-ped th { padding: 10px 18px; }
.lp .tp-num { font-size: .95rem; }
.lp .tbl-ped tbody tr.clic:hover td { background: #FBF6FC; }
.lp .vazio { padding: 48px 20px; }

/* ---------- relatório do mês (Início) ---------- */
.rel { margin-top: 18px; box-shadow: none; border-radius: 14px; overflow: hidden; }
.rel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.rel-h h2 { font-size: .98rem; font-weight: 600; }
.rel-h small { color: var(--muted); font-size: .78rem; }
.rel-nav { display: flex; align-items: center; gap: 6px; }
.rel-nav b { min-width: 150px; text-align: center; font-weight: 600; font-size: .9rem; }
.rel-nav .ibtn { border: 1px solid var(--line); }
.rel-nav .ibtn:disabled { opacity: .35; }
.rel-n { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.rel-n > div { padding: 16px 20px; border-left: 1px solid var(--line); }
.rel-n > div:first-child { border-left: 0; }
.rel-n small { display: block; font-size: .72rem; color: var(--muted); }
.rel-n b { display: block; font-size: 1.55rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rel-n em { font-style: normal; font-size: .72rem; color: var(--muted); }
.rel-n em.up { color: #1D7A3A; }
.rel-n em.dn { color: var(--err); }
.rel-dia { padding: 16px 20px 10px; border-bottom: 1px solid var(--line); }
.rel h3 { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8C8294; margin-bottom: 10px; }
.rd-g { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.rd { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.rd i { display: block; width: 100%; max-width: 22px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #B04CBE, var(--brand)); }
.rd span { height: 14px; font-size: .62rem; color: #A39AAA; margin-top: 3px; }
.rel-b { display: grid; grid-template-columns: repeat(3, 1fr); }
.rb { padding: 16px 20px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.rb:nth-child(3n + 1) { border-left: 0; }
.rb:nth-child(-n + 3) { border-top: 0; }
.rb-l { margin-bottom: 10px; }
.rb-t { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; }
.rb-t span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.rb-t b { font-weight: 600; white-space: nowrap; }
.rb-t small { color: #8C8294; font-weight: 400; }
.rb-b { height: 6px; border-radius: 99px; background: #F0EDF3; margin-top: 4px; overflow: hidden; }
.rb-b i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #B04CBE, var(--brand)); }
.rb-v { font-size: .8rem; }
@media (max-width: 1100px) { .rel-n { grid-template-columns: repeat(3, 1fr); } .rel-b { grid-template-columns: 1fr 1fr; } .rb:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); } }

/* ---------- página Usuários (ADM) ---------- */
.us-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.us-c { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.us-c:hover { border-color: #E2C6E7; box-shadow: 0 6px 18px rgba(42, 27, 48, .06); }
.us-c.off { opacity: .65; }
.us-t { display: flex; align-items: center; gap: 12px; }
.us-av { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #A42DB0, var(--brand)); color: #fff; font-weight: 600; font-size: .9rem; }
.us-c.off .us-av { background: #B8B2BD; }
.us-n { flex: 1; min-width: 0; line-height: 1.25; }
.us-n b { display: block; font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.us-n b small { color: var(--muted); font-weight: 400; }
.us-n span { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.us-t .btn { flex: none; font-weight: 500; }
.us-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.us-tags .badge { font-weight: 500; }
.us-i { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.us-i small { display: block; font-size: .7rem; color: var(--muted); }
.us-i b { font-weight: 600; font-size: .9rem; }

/* início: "Últimos pedidos" e "Atalhos" com a mesma altura e cabeçalhos alinhados (13/11/2026) */
.ini-g { align-items: stretch; }
.ini-g > .ini-c { display: flex; flex-direction: column; }
.ini-g > .ini-c > .ini-l, .ini-g > .ini-c > .ini-at { flex: 1; }
.ini-h { min-height: 50px; }
.ini-at { padding: 6px 8px; justify-content: space-around; }
.at { padding: 8px 10px; }

/* placas por dia: gráfico de área */
.ra { position: relative; }
.ra-svg { display: block; width: 100%; height: 150px; }
.ra-x { position: relative; height: 18px; margin-top: 4px; }
.ra-x span { position: absolute; transform: translateX(-50%); font-size: .64rem; color: #A39AAA; }
.ra-x span:first-child { transform: none; }
.ra-max { position: absolute; top: -26px; right: 0; font-size: .7rem; color: #8C8294; }

/* relatório: números do mês em cartõezinhos com ícone, recolhíveis (13/11/2026) */
.rel-tg { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 20px; border: 0; border-bottom: 1px solid var(--line); background: #FBFAFC; font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8C8294; cursor: pointer; }
.rel-tg:hover { color: var(--brand); }
.rel-tg svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.rel-tg[aria-expanded="false"] svg { transform: rotate(0deg); }
.rel-n { grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 16px 20px; }
.rel-n > div.rn { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; border-left: 1px solid var(--line); }
.rel-n > div.rn:first-child { border-left: 1px solid var(--line); }
.rn .ik-ic { width: 38px; height: 38px; }
.rn small { display: block; font-size: .7rem; color: var(--muted); }
.rn b { display: block; font-size: 1.35rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.rn em { display: inline-block; font-style: normal; font-size: .68rem; color: var(--muted); margin-top: 2px; }
.rn em.up { color: #1D7A3A; background: #E7F6EC; padding: 1px 7px; border-radius: 999px; }
.rn em.dn { color: var(--err); background: var(--err-s); padding: 1px 7px; border-radius: 999px; }
.rn.vd .ik-ic { background: #E7F6EC; color: #1D7A3A; }
.rn.az .ik-ic { background: #E8F0FB; color: #2F5DA8; }
.rn.rx .ik-ic { background: var(--brand-s); color: var(--brand); }
.rn.am .ik-ic { background: #FFF3DC; color: #9A5B00; }
.rel-n[hidden] { display: none !important; }
@media (max-width: 1100px) { .rel-n { grid-template-columns: repeat(2, 1fr); } }

.rel-n > div.rn { color: var(--ink); }
.rn b { color: var(--ink); }
.rn em { white-space: nowrap; }

/* seta pequena no cabeçalho do relatório que oculta/mostra os números (13/11/2026) */
.rel-tg { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; color: #8C8294; text-transform: none; letter-spacing: 0; }
.rel-tg:hover { background: #F4EFF6; color: var(--brand); }
.rel-tg svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .2s; }
.rel-tg[aria-expanded="false"] svg { transform: rotate(90deg); }
.rel-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }

/* gráfico de área: contador ao passar o mouse */
.ra-svg { cursor: crosshair; }
.ra-guia { position: absolute; top: 0; height: 150px; width: 1px; background: #E2C6E7; pointer-events: none; }
.ra-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); box-shadow: 0 2px 6px rgba(139, 29, 149, .35); pointer-events: none; }
.ra-tip { position: absolute; transform: translate(12px, -50%); padding: 6px 10px; border-radius: 8px; background: #2A1B30; color: #fff; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(30, 15, 40, .25); line-height: 1.25; }
.ra-tip.esq { transform: translate(calc(-100% - 12px), -50%); }
.ra-tip small { display: block; font-size: .66rem; opacity: .7; }
.ra-tip b { font-size: .84rem; font-weight: 600; }
.ra-guia[hidden], .ra-dot[hidden], .ra-tip[hidden] { display: none; }

/* ---------- auditoria (ADM) ---------- */
.ik.er .ik-ic, .aud-e.er .aud-ic { background: var(--err-s); color: var(--err); }
.aud-c { border-radius: 14px; box-shadow: none; overflow: hidden; }
.aud .filtros { padding: 14px 18px; }
.aud .tabs { background: #F6F4F8; }
.aud .tabs button.al i { color: var(--err); }
.aud-dia { padding: 4px 0 8px; }
.aud-dia h3 { position: sticky; top: 0; z-index: 1; margin: 0; padding: 12px 20px 8px; background: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8C8294; }
.aud-e { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid #F3F0F5; }
.aud-dia .aud-e:last-child { border-bottom: 0; }
.aud-e:hover { background: #FBF9FC; }
.aud-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.aud-ic svg { width: 16px; height: 16px; }
.aud-e.vd .aud-ic { background: #E7F6EC; color: #1D7A3A; }
.aud-e.rx .aud-ic { background: var(--brand-s); color: var(--brand); }
.aud-e.az .aud-ic { background: #E8F0FB; color: #2F5DA8; }
.aud-e.am .aud-ic { background: #FFF3DC; color: #9A5B00; }
.aud-e.cz .aud-ic { background: #F0EFF3; color: #6F6478; }
.aud-t { flex: 1; min-width: 0; font-size: .86rem; line-height: 1.35; }
.aud-t b { font-weight: 600; }
.aud-t small { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aud-lg { color: var(--muted); font-size: .8rem; }
.aud-m { flex: none; text-align: right; line-height: 1.3; }
.aud-m b { display: block; font-weight: 600; font-size: .84rem; font-variant-numeric: tabular-nums; }
.aud-m small { color: #A39AAA; font-size: .7rem; }
.aud-e.er .aud-t > div { color: var(--err); }
.aud-e.er .aud-t > div b { color: var(--ink); }
/* linhas da auditoria neutras: a cor fica só no ícone (alertas mantêm o texto em vermelho) */
.aud-e.vd, .aud-e.az, .aud-e.am, .aud-e.rx, .aud-e.cz, .aud-e.er { background: none; color: var(--ink); }
.aud-e:hover { background: #FBF9FC; }
.aud-e .aud-m b { color: var(--ink); }

/* auditoria em tabela (estilo da referência do usuário) */
.aud-tb th { font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: #8C8294; background: #FAF9FC; padding: 11px 18px; }
.aud-tb td { padding: 12px 18px; vertical-align: middle; font-size: .86rem; border-bottom: 1px solid #F1EEF3; }
.aud-tb tbody tr:hover td { background: #FBF9FC; }
.ad-q { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ad-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.ad-tag svg { width: 14px; height: 14px; }
.ad-tag.vd { background: #E7F6EC; color: #1D7A3A; }
.ad-tag.az { background: #E8F0FB; color: #2F5DA8; }
.ad-tag.er { background: #FDECEC; color: #C2362B; }
.ad-tag.am { background: #FFF3DC; color: #9A5B00; }
.ad-tag.rx { background: var(--brand-s); color: var(--brand); }
.ad-tag.cz { background: #F0EFF3; color: #6F6478; }
.ad-d { max-width: 520px; line-height: 1.45; }
.ad-d > b { font-weight: 600; }
.ad-d > div { color: var(--ink2); font-size: .8rem; margin-top: 2px; }
.ad-r { color: var(--ink2); }
.ad-a { color: #A39AAA; }
.ad-d > div b { font-weight: 600; color: var(--ink); }
.ad-ip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; color: #8C8294; white-space: nowrap; }
.ad-ip small { display: block; font-family: var(--font); font-size: .7rem; color: #A39AAA; }
.ad-rev { display: inline-block; margin: 2px 0 3px; padding: 0 7px; border-radius: 6px; background: #F0EDF3; color: var(--ink2); font-size: .7rem; font-weight: 600; }
.ad-rev + * {}

/* ---------- linha roxa da Lumenx na divisa do menu lateral (13/11/2026) ---------- */
.side { border-right: 0; box-shadow: inset -1px 0 0 rgba(139,29,149,.28); }
@media (max-width: 760px) { .side { border-bottom: 0; box-shadow: inset 0 -1px 0 rgba(139,29,149,.28); } }

/* ---------- relatório do mês: blocos de barras mais limpos (13/11/2026) ---------- */
.rb { padding: 22px 26px 18px; }
.rel .rb h3 { font-size: .7rem; letter-spacing: .09em; color: #9A92A1; margin-bottom: 16px; }
.rb-l { margin-bottom: 15px; }
.rb-l:last-child { margin-bottom: 4px; }
.rb-t { align-items: baseline; font-size: .84rem; color: #2B2231; }
.rb-t em { font-style: normal; }
.rb-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-hx { color: #A79FAD; font-size: .74rem; letter-spacing: .02em; }
.rb-t span { align-self: center; gap: 8px; }
.rb-t b { font-variant-numeric: tabular-nums; color: #2B2231; }
.rb-t small { display: inline-block; min-width: 3.2ch; text-align: right; margin-left: 4px; color: #A79FAD; font-size: .76rem; }
.rb-t .dot { width: 10px; height: 10px; border-radius: 50%; border-color: rgba(0, 0, 0, .12); }
.rb-b { height: 4px; background: #F1EEF4; margin-top: 7px; }
.rb-b i { background: var(--brand); }

/* ---------- relatório do mês: cada bloco de barras em um card, igual aos números de cima (13/11/2026) ---------- */
.rel-b { gap: 12px; padding: 16px 20px 20px; }
.rel-b > .rb, .rel-b > .rb:nth-child(n) { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px 20px 14px; }
@media (max-width: 760px) { .rel-b { padding: 12px; gap: 10px; } }

/* ---------- contato no site: foto + WhatsApp do(a) vendedor(a) (14/11/2026) ---------- */
.us-av { overflow: hidden; }
.us-av img, .uss-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge.site { background: #E8F6EE; color: #1E7A4A; }
.us-site { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.uss-h { margin-bottom: 12px; }
.uss-h b { display: block; font-size: .9rem; }
.uss-h small { color: var(--muted); font-size: .8rem; }
.uss-f { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.uss-av { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #A42DB0, var(--brand)); color: #fff; font-weight: 600; font-size: 1.1rem; }
.uss-bts { display: flex; gap: 6px; flex-wrap: wrap; }
.uss-bts .btn svg { width: 15px; height: 15px; }

/* ---------- editor da foto do site: arrastar + zoom (14/11/2026) ---------- */
.modal.mfoto { max-width: 380px; }
.fe-v { position: relative; width: 260px; height: 260px; margin: 4px auto 0; border-radius: 50%; overflow: hidden; background: #EEF0F4; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 1px var(--line); }
.fe-v:active { cursor: grabbing; }
.fe-v img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.fe-z { display: flex; align-items: center; gap: 12px; width: 260px; margin: 18px auto 4px; }
.fe-z span { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer; user-select: none; }
.fe-z span:hover { color: var(--brand); border-color: var(--brand); }
.fe-z input { flex: 1; accent-color: var(--brand); }

/* ---------- contato no site: bloco recolhido com seta (14/11/2026) ---------- */
.us-site .uss-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 4px 0; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.uss-sx { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--line2); stroke: var(--muted); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, border-color .15s; }
.uss-h:hover .uss-sx { border-color: var(--brand); stroke: var(--brand); }
.uss-h[aria-expanded="true"] .uss-sx { transform: rotate(180deg); }
.uss-b { padding-top: 14px; }

/* ---------- inscrições do site (14/11/2026) ---------- */
.nav-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }
.nav-n[hidden] { display: none; }
.ins-l { overflow: hidden; }
.ins-r { display: grid; grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 104px 160px; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.ins-r:first-child { border-top: 0; }
.ins-r .us-av { width: 40px; height: 40px; border-radius: 50%; font-size: .82rem; }
.ins-r.ok .us-av { background: #E6E2EA; color: #7A7382; }
.ins-n { min-width: 0; }
.ins-n b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-n a { display: block; font-size: .84rem; color: var(--muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-n a:hover { color: var(--brand); }
.ins-w { font-size: .88rem; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ins-w:hover { color: #1E9E53; }
.ins-d { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.ins-a { display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 900px) {
  .ins-r { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 8px; }
  .ins-w { grid-column: 2; }
  .ins-d { grid-column: 3; grid-row: 2; text-align: right; }
  .ins-r .badge { grid-column: 3; grid-row: 1; }
  .ins-a { grid-column: 2 / -1; justify-content: flex-start; }
}

/* Tinta da placa: cards Suvinil/Coral e campos (19/11/2026) */
.tinta-g { display: grid; grid-template-columns: 130px 110px 1fr; gap: 12px; margin-top: 14px; }
.tinta-g.um { grid-template-columns: 1fr; max-width: 420px; }
.tinta-g .campo { margin: 0; }
#tCod { font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; letter-spacing: .03em; }
.tinta-bloq { position: relative; display: block; }
.tinta-bloq .inp { padding-left: 40px; }
.tinta-dot { position: absolute; left: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .14); pointer-events: none; }
#tNome { background: #F3F3F5; color: #55565C; border-color: var(--line); cursor: not-allowed; }
#tNome:focus { box-shadow: none; border-color: var(--line); }
.tinta-car { margin: 14px 0 0; font-size: .86rem; }
#tMsg { margin-top: 8px; }
@media (max-width: 600px) {
  .tinta-g { grid-template-columns: 1fr 1fr; }
  .tinta-g .t-nome { grid-column: 1 / -1; }
}

/* Sugestões de cor da Coral (19/11/2026) */
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(30, 16, 40, .13), 0 2px 6px rgba(30, 16, 40, .06); padding: 6px; max-height: 336px; overflow-y: auto; }
.sug[hidden] { display: none; }
.sug button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; }
.sug button i { flex: none; width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .12); }
.sug button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug button.on, .sug button:hover { background: var(--brand-ss); }
.sug button.on span { color: var(--brand); font-weight: 600; }
.sug-v { margin: 0; padding: 10px; font-size: .86rem; color: var(--muted); }

/* Nome do logotipo do cliente (19/11/2026) */
.campo.logo-nome { max-width: 420px; margin: 14px 0 0; }
