/* ==========================================================
   Perfil Admin — estilos específicos (prefixo .adm-)
   ========================================================== */

/* topbar do admin: busca no tamanho do Figma */
.shell:has(.adm-head) .topbar-search { flex-basis: 378px; }
.shell:has(.adm-head) .nav { gap: 8px; }
.shell:has(.adm-head) .nav-item .ic { width: 20px; height: 20px; }

/* ---------- Cabeçalho da página ---------- */
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.adm-head-l { min-width: 0; }
.adm-head .page-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.adm-head .page-title .badge { font-size: 11px; height: 20px; padding: 0 8px; letter-spacing: 0; }
.adm-head .page-sub { margin-top: 4px; font-size: 15px; }
.adm-head-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.adm-back:hover { color: var(--ink); }
.adm-btn-lg { --h: 44px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.btn.adm-btn-lg .ic { width: 18px; height: 18px; }

/* seletor de data (botão branco com calendário) */
.adm-date { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; font-weight: 500; cursor: pointer; }
.adm-date select { appearance: none; border: 0; background: transparent; font: inherit; color: var(--ink); padding-right: 4px; cursor: pointer; outline: none; }
.adm-date:focus-within { border-color: var(--ink); }

/* ---------- KPI ---------- */
.adm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; margin-bottom: 24px; }
.adm-kpis.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.adm-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 19px 19px 18px; display: flex; flex-direction: column; min-width: 0; }
.adm-kpi-head { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.adm-kpi-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.adm-kpi-ic .ic { width: 19px; height: 19px; }
.adm-kpi-val { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-top: 12px; line-height: 1.2; white-space: nowrap; }
.adm-kpi-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.t-red { background: var(--red-100); color: var(--red); }
.t-green { background: var(--green-bg); color: var(--green); }
.t-blue { background: var(--blue-bg); color: var(--blue); }
.t-amber { background: var(--amber-bg); color: var(--amber-solid); }
.t-gray { background: var(--surface-3); color: var(--ink); }
.t-ink { background: #fff; color: var(--ink); }
.adm-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.p-green { background: var(--green-bg); color: var(--green); }
.p-red { background: var(--danger-bg); color: var(--danger); }
.p-gray { background: var(--surface-3); color: var(--text); }
.p-amber { background: var(--amber-bg); color: var(--amber); }
.p-blue { background: var(--blue-bg); color: var(--blue); }

/* ---------- Cards ---------- */
.adm-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.adm-card-head .card-title { font-size: 17px; }
.adm-card-head .card-sub { font-size: 11.5px; }
.adm-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 12px; font-weight: 500; white-space: nowrap; margin-top: 4px; }
.adm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.adm-ic-sq { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }

/* ---------- Dashboard ---------- */
.adm-dash-grid { display: grid; grid-template-columns: minmax(0, 745fr) minmax(0, 397fr); gap: 18px; margin-bottom: 24px; align-items: stretch; }
.adm-map-card { padding: 24px; }
.adm-map-card .adm-card-head { margin-bottom: 14px; }
.adm-map-wrap { position: relative; }
.adm-map { border-radius: 14px; }
.adm-map .map-pin { width: 26px; height: 26px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(14,13,18,.18); }
.adm-pin-hit { position: absolute; width: 32px; height: 32px; transform: translate(-50%, -50%); border-radius: 50%; }
.adm-pin-hit:hover { box-shadow: 0 0 0 4px rgba(255,0,0,.18); }
.adm-live { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--danger-bg); color: var(--red); font-size: 12px; font-weight: 500; }
.adm-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: admPulse 1.6s infinite; }
@keyframes admPulse { 50% { opacity: .35; } }
.adm-legend { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); }
.adm-leg { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; padding: 2px 0; }
.adm-leg b { color: var(--ink); font-weight: 500; margin-left: 4px; }
.adm-leg i { width: 8px; height: 8px; border-radius: 50%; }
.adm-leg.off { opacity: .4; text-decoration: line-through; }
.d-red { background: var(--red); } .d-green { background: var(--green); } .d-blue { background: var(--blue); } .d-amber { background: var(--amber-solid); } .d-gray { background: #C9C9D0; }
.adm-alerts { padding: 24px; }
.adm-alerts .adm-card-head { margin-bottom: 10px; }
.adm-alert-list li + li { border-top: 1px solid var(--line); }
.adm-alert { display: flex; gap: 12px; padding: 12px 0 16px; align-items: flex-start; border-radius: 8px; }
.adm-alert:hover b { color: var(--red); }
.adm-alert .adm-ic-sq { width: 36px; height: 36px; margin-top: 2px; }
.adm-alert b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-alert-t { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.adm-alert .badge.sq { height: 18px; font-size: 11px; padding: 0 7px; }

.adm-stages-card { padding: 24px; }
.adm-stages { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.adm-stage-sep { width: 30px; flex-shrink: 0; display: grid; place-items: center; color: var(--muted); }
.adm-stage-sep.bar { width: 14px; }
.adm-stage-sep.bar::before { content: ''; width: 1px; height: 64px; background: var(--line-2); }
.adm-stage { flex: 1 1 0; min-width: 112px; height: 130px; background: var(--surface-2); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; transition: background .15s; }
.adm-stage:hover { background: #EFEFF2; }
.adm-stage-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #fff; }
.adm-stage-ic.t-blue { background: #DDEBFF; } .adm-stage-ic.t-amber { background: #FDEFC8; } .adm-stage-ic.t-green { background: #DDF2E3; } .adm-stage-ic.t-red { background: var(--red-100); } .adm-stage-ic.t-ink { background: #fff; }
.adm-stage b { font-size: 22px; font-weight: 500; margin-top: 12px; line-height: 1.2; }
.adm-stage span:last-child { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.25; }


/* ---------- Chips de filtro ---------- */
.adm-chips { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.adm-chips::-webkit-scrollbar { display: none; }
.adm-chip { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; white-space: nowrap; transition: border-color .15s, background .15s; }
.adm-chip:hover { border-color: #cfcfd6; }
.adm-chip.on { border-color: var(--red); background: var(--red-50); color: var(--red); }
.adm-chip-n { min-width: 26px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink); font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }
.adm-chip.on .adm-chip-n { background: var(--red); color: #fff; }

/* ---------- Tabela + filtros ---------- */
.adm-table-card { padding: 24px; }
.adm-filters { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-filters .adm-grow { flex: 1 1 300px; }
.adm-search .input { height: 44px; font-size: 13px; }
.adm-sel { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.adm-sel-l { font-size: 12px; color: var(--muted); }
.adm-sel .select { height: 44px; font-size: 13px; font-weight: 500; }
.adm-sel-sm { min-width: 140px; }
.adm-sel-sm .select { height: 40px; }
.adm-clear { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 13px; font-weight: 500; padding: 0 4px; }
.adm-clear:hover { color: var(--red); }
.adm-bulk { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 12px; border-radius: 10px; background: var(--red-50); font-size: 13px; font-weight: 500; color: var(--red); }
.adm-bulk span { margin-right: auto; }
.adm-table { font-size: 12.5px; }
.adm-table thead th { font-size: 12px; padding: 11px 10px; }
.adm-table tbody td { padding: 12px 10px; height: 61px; }
.adm-table th.w-check, .adm-table td:first-child:has(.check) { width: 34px; padding-right: 0; }
.adm-table-sm tbody td { height: 56px; }
.ta-r { text-align: right !important; }
.adm-table td.green { color: var(--green); } .adm-table td.red { color: var(--danger); } .adm-table td.muted { color: var(--muted); }
.adm-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.adm-who b { display: block; font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.adm-who small, .adm-2l small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
a.adm-who:hover b { color: var(--red); }
.adm-2l { display: inline-flex; flex-direction: column; white-space: nowrap; }
.adm-2l b { font-weight: 500; }
.adm-2l small { max-width: none; }
.adm-av { width: 36px; height: 36px; border-radius: 50%; background: var(--red-100); color: var(--red); display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.adm-av.lg { width: 48px; height: 48px; font-size: 13px; }
.adm-av.gray { background: var(--surface-3); color: var(--ink); }
.adm-star { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.adm-star .ic { color: var(--amber-solid); fill: var(--amber-solid); }
.adm-act { min-width: 84px; height: 32px; font-size: 12px; }
.btn-soft.adm-act { background: var(--surface-3); }
.adm-table .badge { height: 22px; font-size: 11.5px; padding: 0 9px; }
.adm-empty-cell { text-align: center; color: var(--muted); padding: 32px 10px !important; }
.adm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; font-size: 12px; flex-wrap: wrap; }
.adm-foot-r { gap: 14px; }
.adm-foot .pagination { gap: 4px; }
.adm-foot .pagination button { min-width: 30px; height: 30px; font-size: 12.5px; }
.adm-foot .pagination button[disabled] { opacity: .45; cursor: default; }
.adm-ell { min-width: 24px; text-align: center; color: var(--ink); }
.adm-per { width: auto; height: 30px; font-size: 12px; font-weight: 500; padding-right: 30px; }

/* ---------- Detalhe (duas colunas) ---------- */
.adm-split { display: grid; grid-template-columns: minmax(0, 765fr) minmax(0, 378fr); gap: 18px; align-items: start; }
.adm-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.adm-split .card { padding: 24px; }
.adm-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tab { padding: 8px 0 10px; font-size: 12.5px; font-weight: 500; color: var(--text); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.adm-tab:hover { color: var(--ink); }
.adm-tab.on { color: var(--red); border-color: var(--red); }
.adm-tab-n { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--surface-3); color: var(--ink); font-size: 11px; display: inline-grid; place-items: center; }
.adm-tab.on .adm-tab-n { background: var(--red); color: #fff; }
.adm-fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.adm-fld > span { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.adm-fld > small { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.adm-fld .input, .adm-fld .select { height: 44px; font-size: 12.5px; }
.adm-fld .input:disabled { background: var(--surface-3); color: var(--text); }
.adm-fld .textarea { font-size: 12.5px; min-height: 96px; }
.adm-form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.adm-form2 .adm-sel { min-width: 0; }
.adm-form2 .adm-sel-l { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.adm-form3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.adm-save { display: flex; justify-content: flex-end; gap: 12px; }
.adm-save.in-card { margin-top: 16px; }
.adm-save .btn { min-width: 92px; }
.adm-note { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--muted); margin-top: 14px; line-height: 1.35; }
.adm-note .ic { margin-top: 1px; }
.adm-dl { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.adm-dl > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; }
.adm-dl dt { color: var(--muted); font-size: 12px; }
.adm-dl dd { margin: 0; text-align: right; font-weight: 500; }
.adm-dl dd.red { color: var(--danger); } .adm-dl dd.green { color: var(--green); }
.adm-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.adm-total b { font-weight: 500; font-size: 12.5px; }
.adm-total span { font-size: 20px; font-weight: 500; }
.adm-openbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--green-bg); margin-bottom: 12px; }
.adm-openbox b { display: block; font-size: 12px; font-weight: 500; color: var(--green); }
.adm-openbox small { display: block; font-size: 11px; color: var(--muted); }
.adm-openbox.off { background: var(--surface-3); }
.adm-openbox.off b { color: var(--ink); }
.switch.adm-sw-lg { width: 38px; height: 22px; }
.adm-btn-op { --h: 44px; font-size: 14px; border-radius: 9px; }
.adm-btn-op + .adm-btn-op { margin-top: 10px; }
.adm-btn-md { --h: 34px; font-size: 12px; padding: 0 12px; border-radius: 8px; }
.adm-doclist li + li { margin-top: 2px; }
.adm-doclist a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink); }
.adm-doclist a > .ic:first-child { color: var(--muted); }
.adm-doclist b { display: block; font-size: 12px; font-weight: 500; }
.adm-doclist small { display: block; font-size: 11px; color: var(--muted); }
.adm-doclist a:hover b { color: var(--red); }

/* opções (radio cards) */
.adm-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adm-opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.adm-opt:hover { border-color: #cfcfd6; }
.adm-opt.on { border-color: var(--red); background: var(--red-50); box-shadow: inset 0 0 0 1px var(--red); }
.adm-opt b { display: block; font-size: 12px; font-weight: 500; }
.adm-opt small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.adm-opt .radio { margin-top: 1px; }
.adm-opts.sm .adm-opt { align-items: center; padding: 10px 12px; }
.adm-more { width: 28px; height: 28px; border-radius: 7px; background: var(--surface-3); display: inline-grid; place-items: center; }
.adm-more:hover { background: #E7E8EC; }
.adm-togrow { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.adm-togrow + .adm-togrow { border-top: 1px solid var(--line); }
.adm-form3 + .adm-togrow { margin-top: 12px; }
.adm-togrow b { display: block; font-size: 12px; font-weight: 500; }
.adm-togrow small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.adm-togrow .adm-ic-sq { width: 32px; height: 32px; }
.adm-hist li { padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.adm-hist li:first-child { padding-top: 0; }
.adm-hist b { display: block; font-size: 12px; font-weight: 500; }
.adm-hist small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* horários */
.adm-hours li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 65px; }
.adm-hours li > b { width: 105px; font-size: 12.5px; font-weight: 500; }
.adm-time { position: relative; display: inline-flex; align-items: center; width: 110px; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; padding: 0 12px; gap: 8px; color: var(--muted); }
.adm-time input { border: 0; outline: 0; width: 100%; text-align: right; font: inherit; font-size: 12.5px; color: var(--ink); background: transparent; }
.adm-time input::-webkit-calendar-picker-indicator { display: none; }
.adm-time:focus-within { border-color: var(--ink); }
.adm-closed { padding-left: 0; }
.adm-occ li { display: flex; gap: 12px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.adm-occ li:first-child { padding-top: 0; }
.adm-occ .adm-ic-sq { width: 30px; height: 30px; }
.adm-occ b { display: block; font-size: 12px; font-weight: 500; }
.adm-occ small { display: block; font-size: 11px; color: var(--muted); margin: 2px 0 4px; }
.adm-occ .badge.sq { height: 18px; font-size: 11px; padding: 0 7px; }

/* vendas */
.adm-bars { display: flex; align-items: flex-end; gap: 8px; height: 156px; margin-top: 18px; }
.adm-bars span { flex: 1; background: #DADBE0; border-radius: 3px 3px 0 0; min-width: 6px; transition: opacity .15s; }
.adm-bars span.on { background: var(--red); }
.adm-bars span:hover { opacity: .8; }
.adm-leg i.sq { border-radius: 2px; }
.adm-greenbox { background: var(--green-bg); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.adm-greenbox small { font-size: 11px; color: var(--green); }
.adm-greenbox small:last-child { color: var(--muted); margin-top: 4px; }
.adm-greenbox b { font-size: 20px; font-weight: 500; }
.adm-payouts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-payouts li:first-child { padding-top: 0; }
.adm-payouts b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-payouts small { display: block; font-size: 11px; color: var(--muted); }

/* documentos */
.adm-warnbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--amber-bg); color: var(--amber); }
.adm-warnbar b { display: block; font-size: 12.5px; font-weight: 500; color: var(--amber); }
.adm-warnbar small { display: block; font-size: 11.5px; color: var(--text); }
.adm-docgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adm-doccard { display: flex; gap: 14px; padding: 12px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; min-width: 0; }
.adm-doccard.warn { background: #FFF6DC; border-color: #E9C46A; }
.adm-doccard b { display: block; font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.adm-doccard small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.adm-doccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.adm-doccard .badge.sq { height: 20px; font-size: 11.5px; }
.adm-warn-t { font-size: 12px; font-weight: 500; color: var(--amber); padding-left: 6px; }
.adm-ibtn { width: 28px; height: 28px; border-radius: 7px; background: var(--surface-3); display: inline-grid; place-items: center; color: var(--ink); }
.adm-ibtn:hover { background: #E7E8EC; }
.adm-docthumb { position: relative; width: 66px; height: 86px; flex-shrink: 0; border-radius: 8px; background: var(--surface-3); padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.adm-docthumb::before { content: ''; position: absolute; inset: 7px 10px; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.adm-docthumb i { position: relative; height: 2px; background: #D5D6DB; border-radius: 2px; margin: 0 4px; }
.adm-docthumb i:first-child { margin-top: 6px; width: 50%; }
.adm-docthumb b { position: absolute; right: 15px; bottom: 15px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #7FB0EC; }
.adm-tl { position: relative; padding-left: 20px; }
.adm-tl li { position: relative; padding-bottom: 14px; }
.adm-tl li:last-child { padding-bottom: 0; }
.adm-tl li::before { content: ''; position: absolute; left: -20px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #C9C9D0; }
.adm-tl li::after { content: ''; position: absolute; left: -17px; top: 14px; bottom: -2px; width: 1.5px; background: var(--line-2); }
.adm-tl li:last-child::after { display: none; }
.adm-tl li.on::before { background: var(--red); }
.adm-tl b { display: block; font-size: 12px; font-weight: 500; }
.adm-tl span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* aprovação */
.adm-sentdocs { display: flex; flex-direction: column; gap: 6px; }
.adm-sentdoc { width: 100%; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 10px; border: 1px solid transparent; text-align: left; }
.adm-sentdoc:hover { background: var(--surface-2); }
.adm-sentdoc.on { background: #FDE7E7; border-color: var(--red); }
.adm-sentdoc b { display: block; font-size: 12px; font-weight: 500; }
.adm-sentdoc small { display: block; font-size: 11px; color: var(--muted); }
.adm-sentdoc > .ic:last-child { color: var(--ink); margin-left: 10px; }
.adm-sentdoc .badge { height: 20px; font-size: 11.5px; }
.adm-file { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-3); display: grid; place-items: center; flex-shrink: 0; }
.adm-sentdoc.on .adm-file { background: #fff; }
.adm-viewer-tools { display: flex; gap: 8px; }
.adm-viewer-tools .adm-ibtn { width: 30px; height: 30px; }
.adm-viewer-tools .adm-ibtn .ic { width: 18px; height: 18px; }
.adm-viewer { position: relative; height: 458px; border-radius: 10px; background: #EEEFF1; display: grid; place-items: center; overflow: hidden; }
.adm-viewer.sm { height: 380px; }
.adm-paper { position: relative; width: 362px; max-width: 80%; height: 322px; background: #fff; box-shadow: 0 2px 8px rgba(14,13,18,.08); padding: 26px 36px; display: flex; flex-direction: column; gap: 17px; transition: transform .2s var(--ease); transform-origin: center; }
.adm-paper i { height: 6px; background: #E3E4E8; border-radius: 1px; }
.adm-paper i.t { width: 40%; height: 14px; background: #D2D4D9; margin-bottom: 14px; }
.adm-paper i.s { width: 55%; }
.adm-paper b { position: absolute; right: 70px; bottom: 14px; width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid #9CC3F0; }
.adm-zoom-l { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 500; box-shadow: var(--sh-xs); }
.adm-checklist { margin-top: 16px; background: var(--surface-2); border-radius: 10px; padding: 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.adm-checklist > b { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.adm-checklist .check { font-size: 12px; }
.adm-who.lg { display: flex; gap: 14px; }
.adm-who.lg b { font-size: 12.5px; }
.adm-who.lg small { max-width: none; }
.adm-dl.plain dt { font-size: 11.5px; }
.adm-bankbox { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.adm-bankbox b { display: block; font-size: 12px; font-weight: 500; }
.adm-bankbox small { display: block; font-size: 11px; color: var(--muted); }
.adm-okline { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--green); margin-top: 14px; }

/* modal do admin */
.overlay.adm-ov-top { place-items: start center; padding-top: 160px; backdrop-filter: none; }
.modal.adm-560 { width: min(560px, 100%); border-radius: 22px; }
.adm-mhead { display: flex; gap: 14px; align-items: flex-start; padding: 24px 24px 0; }
.adm-ic-sq.lg { width: 42px; height: 42px; border-radius: 10px; }
.adm-mhead .modal-title { font-size: 17px; }
.adm-mhead .modal-sub { font-size: 11.5px; margin-top: 2px; line-height: 1.35; }
.adm-x { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; flex-shrink: 0; }
.adm-x:hover { background: #E7E8EC; }
.adm-mform { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; }
.adm-mform .check { font-size: 12px; }
.adm-mfoot { display: flex; justify-content: flex-end; gap: 12px; padding: 0 24px 24px; }
.adm-preview { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.adm-preview b { display: block; font-weight: 500; }
.adm-preview small { display: block; color: var(--muted); font-size: 12px; }


/* ---------- Entregadores ---------- */
.adm-av.blue { background: var(--blue-bg); color: var(--blue); }
.adm-veh { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.adm-veh > .ic { color: var(--ink); }
.adm-infobar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); font-size: 12px; margin: -4px 0 24px; }
.adm-okbar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; background: var(--green-bg); color: var(--green); margin: -4px 0 24px; }
.adm-okbar b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-okbar small { display: block; font-size: 11.5px; color: var(--text); }
.adm-split.k3 { grid-template-columns: minmax(0, 745fr) minmax(0, 397fr); }
.adm-dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.adm-dcard { display: flex; flex-direction: column; align-items: flex-start; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; text-align: left; min-width: 0; background: #fff; transition: border-color .15s; }
.adm-dcard:hover { border-color: #cfcfd6; }
.adm-dcard.on { border: 1.5px solid var(--red); background: #FDE9E9; }
.adm-dcard-img { width: 100%; height: 110px; border-radius: 7px; background: var(--surface-3); display: grid; place-items: center; margin-bottom: 10px; }
.adm-dcard.on .adm-dcard-img { background: #F3D9D9; }
.adm-dcard-img.selfie { background: #DCEBFF; }
.adm-dcard-img.selfie span { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); }
.adm-dcard b { font-size: 12px; font-weight: 500; padding: 0 4px; }
.adm-dcard small { font-size: 11px; color: var(--muted); padding: 0 4px; margin: 6px 0 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-dcard .badge { height: 20px; font-size: 11.5px; margin-left: 4px; }
.adm-mini { position: relative; width: 92px; height: 90px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.adm-mini i { height: 2px; background: #D5D6DB; }
.adm-mini i:first-child { width: 45%; height: 3px; margin-bottom: 4px; }
.adm-mini b { position: absolute; right: 10px; bottom: 8px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #7FB0EC; }
.adm-selfie { display: grid; place-items: center; background: #DCEBFF; }
.adm-selfie-ic { width: 120px; height: 120px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); }
.adm-reviews li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-reviews li:first-child { padding-top: 0; }
.adm-reviews b { font-size: 12.5px; font-weight: 500; }
.adm-reviews small { font-size: 12px; color: var(--muted); }
.adm-reviews p { font-size: 11.5px; color: var(--text); margin-top: 2px; }
.adm-stars { display: inline-flex; gap: 2px; margin-left: 4px; }
.adm-stars i { color: #D7D7DD; display: inline-flex; }
.adm-stars i.on { color: var(--amber-solid); }
.adm-stars .ic { width: 12px; height: 12px; fill: currentColor; }
.adm-weeks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-weeks li:first-child { padding-top: 0; }
.adm-weeks .adm-ic-sq { width: 34px; height: 34px; }
.adm-weeks .grow b { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 2px; }
.adm-weeks .badge.sq { height: 18px; font-size: 11px; padding: 0 7px; }
.adm-weeks > li > b { font-size: 12.5px; font-weight: 500; }
.adm-weeks.wide li { gap: 18px; }

/* regras de entrega */
.adm-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.adm-vcard { display: flex; flex-direction: column; gap: 13px; }
.adm-split .adm-vcard { padding: 22px 20px; }
.adm-vcard.off > :not(.adm-vhead) { opacity: .45; pointer-events: none; }
.adm-vhead { display: flex; align-items: center; gap: 12px; margin-bottom: -2px; }
.adm-vhead b { display: block; font-size: 16px; font-weight: 500; }
.adm-vhead small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-form2.sm { gap: 12px; }
.adm-splitbar { display: flex; height: 36px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 500; color: #fff; }
.adm-splitbar span { display: grid; place-items: center; background: var(--ink); flex: 0 0 auto; white-space: nowrap; padding: 0 6px; }
.adm-splitbar span:first-child { background: var(--green); flex: 1 1 auto; }
.adm-togrow.dyn { padding: 18px 0; }
.adm-togrow.dyn + .adm-togrow.dyn { border-top: 0; }
.adm-togrow.dyn .adm-ic-sq { width: 36px; height: 36px; }
.adm-mult { height: 30px; min-width: 52px; padding: 0 10px; border-radius: 7px; background: var(--red-100); color: var(--red); font-size: 12px; font-weight: 500; display: inline-grid; place-items: center; }
.adm-mult.off { background: var(--surface-3); color: var(--muted); }
.adm-simbox { margin-top: 14px; background: var(--surface-2); border-radius: 10px; padding: 16px 14px; }
.adm-simbox .divider { margin: 12px 0; }
.adm-simbox .adm-dl > div { font-size: 12px; }
.adm-total.plain { border: 0; margin: 0; padding: 0; align-items: center; }
.adm-total.plain span { font-size: 18px; }


/* ---------- Pedidos ---------- */
.adm-orders tbody td { height: 57px; }
.adm-row-alert td { background: #FDE7E7 !important; }
.adm-searching { display: inline-flex; align-items: center; gap: 8px; color: var(--text); white-space: nowrap; }
.adm-searching .ic { color: var(--amber-solid); }
.adm-pay { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--text); }
.adm-late { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.adm-late.red { color: var(--danger); } .adm-late.amber { color: var(--amber-solid); }
.adm-act.sm { min-width: 40px; padding: 0 12px; }
.adm-more.lg { width: 30px; height: 30px; margin-left: 6px; vertical-align: middle; }
.adm-av.sm { width: 30px; height: 30px; font-size: 11px; }
.adm-tline-card { margin-bottom: 24px; }
.adm-tline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.adm-tline li { position: relative; display: flex; flex-direction: column; padding-right: 8px; }
.adm-tline li::before { content: ''; position: absolute; left: 22px; right: 0; top: 11px; height: 2px; background: var(--line-2); }
.adm-tline li.done::before { background: var(--red); }
.adm-tline li:last-child::before { display: none; }
.adm-tdot { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #C9C9D0; background: #fff; display: grid; place-items: center; color: #fff; z-index: 1; }
.adm-tline li.done .adm-tdot, .adm-tline li.cur .adm-tdot { background: var(--red); border-color: var(--red); }
.adm-tline li.cur .adm-tdot { box-shadow: 0 0 0 4px var(--red-100); }
.adm-tline b { font-size: 12.5px; font-weight: 500; margin-top: 12px; }
.adm-tline small { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.adm-tline li.cur small { color: var(--red); }
.adm-tline li:not(.done):not(.cur) b { color: var(--muted); }
.adm-track-wrap { position: relative; }
.adm-track { border-radius: 12px; }
.adm-eta { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 14px 8px 10px; box-shadow: var(--sh-sm); }
.adm-eta-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.adm-eta b { display: block; font-size: 12px; font-weight: 500; }
.adm-eta small { display: block; font-size: 11px; color: var(--muted); }
.adm-tpin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; }
.adm-tpin.dest { color: #6E6E77; transform: translate(-50%, -85%); }
.adm-tpin.dest .ic { width: 18px; height: 18px; }
.adm-tpin.moto { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 14px rgba(255,0,0,.16); }
.adm-tpin.store { width: 24px; height: 24px; border-radius: 50% 50% 50% 4px; transform: translate(-50%, -80%) rotate(-45deg); background: var(--red); color: #fff; box-shadow: 0 0 0 2px #fff; }
.adm-tpin.store .ic { transform: rotate(45deg); }
.adm-tlabel { position: absolute; transform: translate(4px, -60%); background: #fff; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 500; box-shadow: var(--sh-sm); white-space: nowrap; line-height: 1.25; }
.adm-tlabel small { display: block; font-size: 9.5px; font-weight: 400; color: var(--muted); }
.adm-tlabel small.red { color: var(--red); }
.adm-recenter { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); }
.adm-recenter:hover { background: var(--surface-2); }
.adm-legs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.adm-legs > div { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.adm-legs .adm-ic-sq.t-ink { background: #fff; }
.adm-legs b { display: block; font-size: 12px; font-weight: 500; }
.adm-legs small { display: block; font-size: 11px; color: var(--muted); }
.adm-items li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-items li:first-child { padding-top: 0; }
.adm-items .thumb { width: 50px; height: 50px; }
.adm-items .grow b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-items small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-items > li > b { font-size: 12.5px; font-weight: 500; min-width: 72px; text-align: right; }
.adm-sum { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.adm-sum > div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.adm-sum b { color: var(--ink); font-weight: 500; }
.adm-sum .tot span { color: var(--ink); font-weight: 500; }
.adm-sum .tot b { font-size: 18px; }
.adm-paybox { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 10px; border-radius: 10px; background: var(--surface-2); font-size: 12px; }
.adm-people li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-people li:first-child { padding-top: 0; }
.adm-people b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; flex-wrap: wrap; }
.adm-people b a:hover { color: var(--red); }
.adm-people small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-tag { height: 18px; padding: 0 7px; border-radius: 5px; background: var(--surface-3); color: var(--muted); font-size: 11px; font-weight: 500; display: inline-grid; place-items: center; }
.adm-tag.blue { background: var(--blue-bg); color: var(--blue); }
.adm-call { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; }
.adm-call:hover { background: #E7E8EC; }
.adm-emerg { display: flex; flex-direction: column; gap: 12px; }
.adm-emerg > * { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; text-align: left; width: 100%; background: #fff; }
.adm-emerg > *:hover { border-color: #cfcfd6; background: var(--surface-2); }
.adm-emerg b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-emerg small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.adm-emerg .danger { border-color: var(--red); }
.adm-emerg .danger b, .adm-emerg .danger > .ic:first-child { color: var(--red); }
.adm-emerg .danger:hover { background: var(--red-50); border-color: var(--red); }
.adm-picks { display: flex; flex-direction: column; gap: 10px; }
.adm-pick { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.adm-pick:hover { border-color: #cfcfd6; }
.adm-pick.on { border-color: var(--red); background: #FDE9E9; box-shadow: inset 0 0 0 1px var(--red); }
.adm-pick b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-pick small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-chat { display: flex; flex-direction: column; gap: 4px; }
.adm-chat .bubble { font-size: 13px; }
.adm-chat-day { text-align: center; font-size: 11px; color: var(--muted); margin-bottom: 8px; }


/* ---------- Suporte ---------- */
.adm-thread { display: flex; flex-direction: column; gap: 14px; max-height: 560px; overflow-y: auto; padding: 4px 2px 2px; }
.card > .adm-tabs { margin-bottom: 16px; }
.adm-msg { display: flex; gap: 12px; align-items: flex-start; }
.adm-msg.out { justify-content: flex-end; }
.adm-msg .adm-av.sm { width: 30px; height: 30px; }
.adm-bub { width: 61%; max-width: 61%; background: var(--surface-3); border-radius: 10px; padding: 12px 14px 8px; }
.adm-bub b { display: block; font-size: 12px; font-weight: 500; }
.adm-bub p { font-size: 12px; margin-top: 6px; line-height: 1.4; }
.adm-bub small { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 6px; }
.adm-msg.out .adm-bub { background: var(--red); color: #fff; }
.adm-msg.out .adm-bub small { color: rgba(255,255,255,.9); }
.adm-bub-ph { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.adm-bub-ph img { width: 56px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.adm-bub-ph span { width: 56px; height: 52px; display: grid; place-items: center; color: var(--muted-2); }
.adm-internal { display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 8px; background: var(--amber-bg); color: var(--amber); font-size: 11.5px; }
.adm-empty-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 12.5px; padding: 40px 0; }
.adm-qr { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.adm-qr-b { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 12px; font-weight: 500; }
.adm-qr-b:hover { border-color: var(--red); color: var(--red); }
.adm-composer { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.adm-composer .input { height: 42px; border-radius: 999px; font-size: 12.5px; padding: 0 16px; }
.adm-attach { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; flex-shrink: 0; }
.adm-send { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.adm-send:hover { background: var(--red-600); }
.adm-evid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adm-ev { text-align: left; }
.adm-ev-img { height: 150px; border-radius: 10px; background: #F5F5F5; display: grid; place-items: center; overflow: hidden; color: var(--muted-2); transition: box-shadow .15s; }
.adm-ev:hover .adm-ev-img { box-shadow: inset 0 0 0 2px var(--red); }
.adm-ev-img img { width: 70%; height: 86%; object-fit: contain; }
.adm-ev small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.adm-prod { display: flex; align-items: center; gap: 12px; }
.adm-prod .thumb { width: 44px; height: 44px; }
.adm-prod b { display: block; font-size: 12px; font-weight: 500; }
.adm-prod small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-lightbox { height: 420px; border-radius: 12px; background: var(--surface-3); display: grid; place-items: center; color: var(--muted-2); }
.adm-lightbox img { max-height: 90%; mix-blend-mode: multiply; }
.modal.adm-580 { width: min(580px, 100%); border-radius: 22px; }
.adm-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm-opts.two .adm-opt { align-items: center; padding: 12px 14px; }
.adm-bigin.input { height: 50px; font-size: 18px; font-weight: 500; border: 1.5px solid var(--red); }
.adm-bigin.input:read-only { background: var(--surface-2); }
.adm-fld small.red { color: var(--danger); }
.adm-ways { display: flex; flex-direction: column; gap: 10px; }
.adm-way { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.adm-way > .ic { color: var(--ink); }
.adm-way b { display: block; font-size: 12px; font-weight: 500; }
.adm-way small { display: block; font-size: 11px; color: var(--muted); }
.adm-way.on { border-color: var(--red); background: #FDE9E9; box-shadow: inset 0 0 0 1px var(--red); }
.adm-way.dis { background: var(--surface-2); cursor: not-allowed; }
.adm-way.dis b, .adm-way.dis > .ic { color: var(--muted); }


/* ---------- Marketing ---------- */
.adm-head + .adm-tabs { margin-top: -12px; }
.adm-form3 .adm-sel { min-width: 0; }
.adm-form3 .adm-sel-l { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.adm-form2 .span-2 { grid-column: span 2; }
.adm-form3.mt-0 { margin-top: 0; }
.textarea.sm { min-height: 60px !important; }
.adm-inbtn { position: relative; display: flex; }
.adm-inbtn .input { padding-right: 86px; }
.adm-inbtn .btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 32px; background: var(--surface-3); }
.adm-opt-l { font-style: normal; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.adm-fld > span.row { display: flex; }
.adm-icin { position: relative; display: flex; align-items: center; }
.adm-icin > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.adm-icin .input { padding-left: 42px; }
.adm-sticky { position: sticky; top: 16px; }
.adm-coupon { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--red); border-radius: 10px; background: var(--red-50); margin-bottom: 16px; }
.adm-coupon-ic { width: 40px; height: 40px; border-radius: 9px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.adm-coupon b { display: block; color: var(--red); font-size: 17px; font-weight: 500; line-height: 1.15; }
.adm-coupon strong { display: block; font-size: 12px; font-weight: 500; margin-top: 2px; }
.adm-coupon small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-sim-t { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 10px; }
.adm-simbox .adm-dl { gap: 6px; }
.adm-total-sm { font-size: 13px !important; }
.adm-carousel li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); background: #fff; transition: background .15s; }
.adm-carousel li:first-child { padding-top: 0; }
.adm-carousel li.dragging { opacity: .4; }
.adm-carousel li.over { box-shadow: inset 0 2px 0 var(--red); }
.adm-handle { width: 20px; height: 32px; display: grid; place-items: center; color: var(--muted); cursor: grab; border-radius: 6px; }
.adm-handle:hover { background: var(--surface-3); color: var(--ink); }
.adm-bthumb { width: 140px; height: 54px; border-radius: 7px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; overflow: hidden; }
.adm-bthumb b { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-bthumb small { font-size: 11px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-bthumb.red { background: var(--red); color: #fff; }
.adm-bthumb.dark { background: var(--ink); color: #fff; }
.adm-bthumb.green { background: #DCEFE2; color: var(--ink); }
.adm-bthumb.amber { background: #FDF0D2; color: var(--ink); }
.adm-bthumb.gray { background: var(--surface-3); color: var(--ink); }
.adm-bthumb.blue { background: var(--blue-bg); color: var(--ink); }
.adm-bthumb.green small, .adm-bthumb.amber small, .adm-bthumb.gray small, .adm-bthumb.blue small { color: var(--muted); opacity: 1; }
.adm-carousel .grow b { display: block; font-size: 12px; font-weight: 500; }
.adm-carousel .grow small { display: block; font-size: 11.5px; color: var(--muted); margin: 2px 0 4px; }
.adm-carousel .grow .badge { height: 18px; font-size: 11px; padding: 0 8px; }
.adm-bstat { text-align: right; min-width: 80px; }
.adm-bstat b { display: block; font-size: 12px; font-weight: 500; }
.adm-bstat small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-sidebn { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.adm-sideprev { background: var(--surface-2); border-radius: 12px; padding: 14px 24px; text-align: center; }
.adm-sideprev > small { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }
.adm-sidecard { position: relative; height: 264px; border-radius: 8px; background: #2a1512 center / cover; color: #fff; padding: 18px 14px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; overflow: hidden; }
.adm-sidecard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,8,8,.25), rgba(14,6,6,.85)); }
.adm-sidecard > * { position: relative; }
.adm-sidecard .logo-word { font-size: 20px; }
.adm-sidecard p { font-size: 11.5px; font-weight: 500; line-height: 1.55; margin-top: 12px; }
.adm-sidecta { margin-top: auto; background: #F1F5F9; color: var(--ink); border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 500; margin-bottom: 18px; }
.adm-sideform { gap: 14px; }
.adm-sideform .adm-sel-l { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.adm-mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.adm-mini-kpis > div { background: var(--surface-2); border-radius: 9px; padding: 8px 10px; }
.adm-mini-kpis b { display: block; font-size: 16px; font-weight: 500; }
.adm-mini-kpis small { display: block; font-size: 11px; color: var(--muted); }
.adm-sideform .adm-save .btn { flex: 1; }
.adm-drop { width: 100%; border: 1.5px dashed #C9C9D0; border-radius: 10px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.adm-drop:hover { border-color: var(--red); background: var(--red-50); }
.adm-drop.has { border-style: solid; border-color: var(--green); background: var(--green-bg); color: var(--green); }
.adm-drop-ic { width: 36px; height: 36px; border-radius: 8px; background: #fff; display: grid; place-items: center; margin-bottom: 8px; box-shadow: var(--sh-xs); }
.adm-drop b { font-size: 12px; font-weight: 500; color: var(--ink); }
.adm-drop small { font-size: 11px; color: var(--muted); }
#new-banner { gap: 14px; }
#new-banner .adm-sel-l { font-size: 12.5px; font-weight: 500; color: var(--ink); }


/* ---------- Financeiro ---------- */
.adm-dre-top { display: flex; justify-content: space-between; gap: 12px; padding: 10px 10px; border-radius: 8px; background: var(--surface-3); font-size: 12.5px; }
.adm-dre-top b { font-weight: 500; }
.adm-dre li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.adm-dre li.l2 { padding-left: 24px; color: var(--muted); }
.adm-dre li.l2 b { color: var(--muted); font-weight: 400; }
.adm-dre b { font-weight: 500; white-space: nowrap; }
.adm-dre b.pos { color: var(--green); } .adm-dre b.neg { color: var(--danger); }
.adm-dre-res { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 10px; border-radius: 10px; background: #FDE7E7; }
.adm-dre-res b { font-size: 12.5px; font-weight: 500; }
.adm-dre-res span { font-size: 18px; font-weight: 500; color: var(--green); }
.adm-legend.m0 { margin-top: 4px; }
.d-ink { background: var(--ink); }
.adm-gbars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 230px; margin-top: 18px; }
.adm-gbar { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.adm-gbar-cols { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.adm-gbar-cols span { width: 22px; border-radius: 3px 3px 0 0; position: relative; }
.adm-gbar-cols .r { background: var(--red); }
.adm-gbar-cols .c { background: var(--ink); }
.adm-gbar-cols b { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 500; }
.adm-gbar small { font-size: 12px; color: var(--muted); margin-top: 8px; }
.adm-comp li { padding: 4px 0 10px; }
.adm-comp b { font-size: 12px; font-weight: 500; }
.adm-comp small { font-size: 11.5px; color: var(--muted); }
.adm-bar { display: block; height: 6px; border-radius: 99px; background: var(--surface-3); margin-top: 6px; overflow: hidden; }
.adm-bar i { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.adm-gw li { display: flex; align-items: center; gap: 14px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.adm-gw li:last-child { border-bottom: 0; }
.adm-gw .grow b { display: block; font-size: 12px; font-weight: 500; }
.adm-gw small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-gw > li > b { font-size: 12.5px; font-weight: 500; }
.adm-pay2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.adm-paycard { padding: 22px 20px !important; }
.adm-paycard.off .adm-next { opacity: .55; }
.adm-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.adm-next small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-next b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-next strong { display: block; font-size: 20px; font-weight: 500; }
.adm-fails li { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.adm-fails b { display: block; font-size: 12.5px; font-weight: 500; }
.adm-fails small { display: block; font-size: 11.5px; color: var(--muted); }
.adm-btn-op.sm { --h: 34px; font-size: 13px; margin-top: 10px; }
.adm-total.big { border: 0; padding: 0; margin: 0; }
.adm-total.big span { font-size: 20px; }
.adm-flash { animation: admFlash 1.2s; }
@keyframes admFlash { 30% { box-shadow: 0 0 0 4px var(--red-100); } }


/* ---------- Configurações ---------- */
.adm-split.k4 { grid-template-columns: minmax(0, 785fr) minmax(0, 358fr); }
.adm-area-tools { gap: 8px; }
.adm-area-tools .btn { --h: 34px; }
.adm-area-map { position: relative; height: 458px; border-radius: 12px; overflow: hidden; background: #EEEFF1; user-select: none; }
.adm-area-inner { position: absolute; inset: 0; transform-origin: center; transition: transform .2s var(--ease); }
.adm-area-map.mode-draw .adm-area-inner { cursor: crosshair; }
.adm-poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.adm-poly polygon, .adm-poly polyline { fill: rgba(255, 0, 0, .13); stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.adm-poly polyline { fill: none; }
.adm-vtx { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--red); transform: translate(-50%, -50%); }
.adm-area-map.mode-edit .adm-vtx { width: 16px; height: 16px; cursor: grab; box-shadow: 0 0 0 4px rgba(255,0,0,.15); touch-action: none; }
.adm-area-label { position: absolute; transform: translate(-50%, -50%); background: #fff; border-radius: 6px; padding: 4px 9px; font-size: 11.5px; font-weight: 500; box-shadow: var(--sh-sm); white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; pointer-events: none; }
.adm-area-label .ic { color: var(--red); }
.adm-area-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; pointer-events: none; color: var(--muted); }
.adm-area-empty b { color: var(--ink); font-weight: 500; font-size: 13px; margin-top: 6px; }
.adm-area-empty small { font-size: 12px; }
.adm-area-hint { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 9px; padding: 6px 6px 6px 12px; font-size: 12px; box-shadow: var(--sh-sm); }
.adm-area-hint:not(:has(button)) { padding: 8px 12px; }
.adm-zoom { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: var(--sh-sm); overflow: hidden; }
.adm-zoom button { width: 30px; height: 30px; display: grid; place-items: center; }
.adm-zoom button:hover { background: var(--surface-2); }
.adm-area-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.adm-area-foot .adm-note { margin: 0; }
.adm-cities { display: flex; flex-direction: column; gap: 8px; }
.adm-cities li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; }
.adm-cities li.on { border-color: var(--red); background: #FDE9E9; }
.adm-city { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; }
.adm-city .adm-ic-sq { background: var(--surface-3); width: 32px; height: 32px; }
.adm-cities li.on .adm-ic-sq { background: #fff; }
.adm-city b { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 500; flex-wrap: wrap; }
.adm-city .badge.sq { height: 18px; font-size: 11px; padding: 0 7px; }
.adm-city small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.adm-ints > li { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.adm-ints > li:first-child { padding-top: 0; }
.adm-ints > li:last-child { border-bottom: 0; padding-bottom: 0; }
.adm-int-row { display: flex; align-items: center; gap: 14px; }
.adm-int-row b { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; flex-wrap: wrap; }
.adm-int-row .badge.sq { height: 18px; font-size: 11.5px; padding: 0 8px; }
.adm-int-row small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.adm-key { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 10px 8px 14px; border-radius: 9px; background: var(--surface-2); font-size: 12px; color: var(--text); }
.adm-key code { font-family: var(--font); color: var(--ink); letter-spacing: .02em; }
.adm-ibtn.w { background: #fff; }
.adm-svc li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.adm-svc li:first-child { padding-top: 0; }
.adm-svc i { width: 8px; height: 8px; border-radius: 50%; }
.adm-svc b { flex: 1; font-weight: 500; font-size: 12px; }
.adm-svc span { font-size: 12px; }
.adm-svc span.green { color: var(--green); } .adm-svc span.amber { color: var(--amber-solid); }
.adm-sec li { display: flex; gap: 10px; padding: 4px 0; font-size: 12px; color: var(--text); }
.adm-sec .ic { color: var(--green); margin-top: 1px; }
.adm-2fa { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.adm-2fa.ok { color: var(--green); } .adm-2fa.pend { color: var(--amber-solid); }
.adm-perms td, .adm-perms th { padding-left: 10px; }
.adm-perms tbody td { height: 46px; }
.adm-roles { display: flex; flex-direction: column; gap: 6px; }
.adm-role { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 10px; border: 1px solid transparent; border-radius: 10px; text-align: left; }
.adm-role:hover { background: var(--surface-2); }
.adm-role.on { border-color: var(--red); background: #FDE9E9; }
.adm-role .adm-ic-sq { background: #fff; color: var(--ink); }
.adm-role b { display: block; font-size: 12px; font-weight: 500; }
.adm-role small { display: block; font-size: 11px; color: var(--muted); }
.adm-role > small { font-size: 11px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .adm-kpis.k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .adm-dash-grid { grid-template-columns: 1fr; }
  .adm-split, .adm-split.k3, .adm-split.k4 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .adm-head { align-items: flex-start; flex-direction: column; }
  .adm-head-r { width: 100%; }
  .adm-head-r > .btn, .adm-head-r > .adm-date { flex: 1 1 auto; }
  .adm-kpis, .adm-kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .adm-kpi { padding: 14px; }
  .adm-kpi-val { font-size: 19px; white-space: normal; }
  .adm-kpi-head { font-size: 12px; gap: 8px; }
  .adm-kpi-ic { width: 30px; height: 30px; }
  .adm-map-card, .adm-alerts, .adm-stages-card { padding: 18px; }
  .adm-map { height: 300px !important; }
  .adm-stage { min-width: 120px; height: 118px; padding: 14px; }
  .adm-split .card, .adm-table-card { padding: 16px; }
  .adm-filters > * { flex: 1 1 100%; }
  .adm-form2, .adm-form3, .adm-opts, .adm-docgrid, .adm-vgrid { grid-template-columns: 1fr; }
  .adm-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-legs { grid-template-columns: 1fr; }
  .adm-bub { width: auto; max-width: 82%; }
  .adm-sidebn { grid-template-columns: 1fr; }
  .adm-form2 .span-2 { grid-column: auto; }
  .adm-carousel li { flex-wrap: wrap; }
  .adm-bthumb { width: 110px; }
  .adm-bstat { min-width: 0; }
  .adm-sticky { position: static; }
  .adm-pay2 { grid-template-columns: 1fr; }
  .adm-area-map { height: 320px; }
  .adm-area-tools { flex-wrap: wrap; }
  .adm-int-row { flex-wrap: wrap; }
  .adm-key code { word-break: break-all; }
  .adm-gbars { gap: 4px; }
  .adm-gbar-cols span { width: 14px; }
  .adm-gbar-cols { gap: 3px; }
  .adm-evid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .adm-ev-img { height: 90px; }
  .adm-opts.two { grid-template-columns: 1fr 1fr; }
  .adm-tline { grid-template-columns: repeat(6, 120px); overflow-x: auto; padding-bottom: 6px; }
  .adm-track { height: 280px !important; }
  .adm-tlabel { display: none; }
  .adm-form2.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-togrow.dyn { flex-wrap: wrap; }
  .adm-hours li { flex-wrap: wrap; gap: 10px; }
  .adm-hours li > b { width: auto; flex: 1 1 calc(100% - 60px); }
  .adm-card-head { flex-wrap: wrap; }
  .adm-time { width: calc(50% - 5px); }
  .adm-save { flex-wrap: wrap; }
  .adm-save .btn { flex: 1; }
  .adm-viewer { height: 340px; }
  .adm-paper { padding: 18px 20px; height: 260px; }
  .adm-sentdoc .badge { display: none; }
  .overlay.adm-ov-top { place-items: end stretch; padding-top: 0; }
  .adm-mfoot .btn { flex: 1; }
  .adm-foot { justify-content: center; }
  .adm-warnbar { flex-wrap: wrap; }
}
.modal[tabindex="-1"]:focus, .modal[tabindex="-1"]:focus-visible { outline: none; }
