/* =========================================================================
 * Gestor de Revenda Auto — interface front-end (tema clean, alto contraste)
 *
 * Regra de contraste seguida em todo o arquivo:
 *   - superfície clara  -> texto escuro (slate)
 *   - superfície escura  -> texto claro
 * Todo bloco visível tem cor de fundo explícita; nada de texto "solto".
 * ====================================================================== */

.ag-app,
.ag-app *,
.ag-app *::before,
.ag-app *::after { box-sizing: border-box; }

/* Componentes inseridos no <body> (drawer, modal, toasts) precisam herdar
   box-sizing e fonte por estarem fora de .ag-app. */
.ag-drawer-backdrop, .ag-drawer, .ag-drawer *, .ag-drawer *::before, .ag-drawer *::after,
.ag-modal-backdrop, .ag-modal-backdrop *, .ag-modal-backdrop *::before, .ag-modal-backdrop *::after,
.ag-toasts, .ag-toasts * { box-sizing: border-box; }
.ag-drawer, .ag-modal, .ag-toasts { font-family: var(--ag-font); }
.ag-drawer { color: var(--ag-text); }

:root {
	/* Superfícies */
	--ag-bg: #eef1f6;
	--ag-surface: #ffffff;
	--ag-surface-2: #f8fafc;
	--ag-surface-3: #f1f5f9;

	/* Menu lateral (agora claro -> texto escuro) */
	--ag-side-bg: #ffffff;
	--ag-side-text: #334155;
	--ag-side-muted: #94a3b8;

	/* Tom escuro reservado p/ toasts (fundo escuro -> texto claro) */
	--ag-dark: #0f172a;

	/* Marca / ação primária */
	--ag-primary: #2563eb;
	--ag-primary-d: #1d4ed8;
	--ag-primary-bg: #e8f0fe;
	--ag-blue: #2563eb;       /* alias usado em estilos inline do JS */
	--ag-accent: #2563eb;     /* foco */
	--ag-on-primary: #ffffff; /* texto sobre a cor primária (ajustado em runtime) */

	/* Semânticos (texto escuro o suficiente p/ ler sobre branco) */
	--ag-pos: #15803d;  --ag-pos-bg: #dcfce7;
	--ag-neg: #b91c1c;  --ag-neg-bg: #fee2e2;
	--ag-warn: #b45309; --ag-warn-bg: #fef3c7;

	/* Texto */
	--ag-heading: #0f172a;
	--ag-text: #1f2937;
	--ag-muted: #64748b;

	/* Linhas */
	--ag-border: #e2e8f0;
	--ag-border-2: #eef2f7;

	--ag-radius: 14px;
	--ag-radius-sm: 9px;
	--ag-sidebar-w: 264px;
	--ag-shadow: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
	--ag-shadow-md: 0 4px 16px rgba(15,23,42,.08);
	--ag-shadow-lg: 0 24px 60px -12px rgba(15,23,42,.30);
	--ag-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ag-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.ag-app {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	background: var(--ag-bg);
	color: var(--ag-text);
	font-family: var(--ag-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.admin-bar .ag-app { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .ag-app { top: 46px; } }

.ag-app a { color: var(--ag-primary); text-decoration: none; }
.ag-app button { font-family: inherit; cursor: pointer; }
.ag-app h1, .ag-app h2, .ag-app h3, .ag-app h4, .ag-app p { margin: 0; color: inherit; }
.ag-app strong { color: var(--ag-heading); }
.ag-app :focus-visible { outline: 2px solid var(--ag-accent); outline-offset: 2px; border-radius: 6px; }
.ag-text-pos { color: var(--ag-pos); }
.ag-text-neg { color: var(--ag-neg); }

/* =====================================================================
 * MENU LATERAL (fundo branco, texto escuro)
 * As regras de cor do menu usam `.ag-sidebar` para vencer `.ag-app a`.
 * ================================================================== */
.ag-sidebar {
	width: var(--ag-sidebar-w);
	flex: 0 0 var(--ag-sidebar-w);
	background: var(--ag-side-bg);
	color: var(--ag-side-text);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	z-index: 30;
	border-right: 1px solid var(--ag-border);
}
.ag-brand {
	display: flex; align-items: center; gap: 12px;
	padding: 20px 20px 18px;
}
.ag-brand-mark {
	width: 42px; height: 42px; border-radius: 11px;
	background: linear-gradient(135deg, #3b82f6, var(--ag-primary-d));
	display: grid; place-items: center; color: #fff; flex: 0 0 auto;
	box-shadow: 0 6px 16px rgba(37,99,235,.3);
}
.ag-brand-mark svg { width: 24px; height: 24px; }
.ag-brand-text strong { display: block; color: var(--ag-heading); font-size: 15px; letter-spacing: .2px; }
.ag-brand-text span { display: block; color: var(--ag-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px; }

.ag-nav { padding: 14px 12px; flex: 1; }
.ag-nav-group-label {
	font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.3px;
	color: var(--ag-side-muted); font-weight: 700;
	padding: 14px 12px 6px;
}
.ag-sidebar .ag-nav-item {
	display: flex; align-items: center; gap: 11px;
	padding: 10px 12px; margin: 2px 0;
	border-radius: 10px; color: var(--ag-side-text);
	font-weight: 600; font-size: 13.5px; text-decoration: none;
	transition: background .15s, color .15s;
}
.ag-sidebar .ag-nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--ag-muted); }
.ag-sidebar .ag-nav-item:hover { background: var(--ag-surface-3); color: var(--ag-heading); }
.ag-sidebar .ag-nav-item:hover svg { color: var(--ag-heading); }
.ag-sidebar .ag-nav-item.is-active { background: var(--ag-primary); color: var(--ag-on-primary, #fff); box-shadow: 0 6px 16px rgba(15,23,42,.18); }
.ag-sidebar .ag-nav-item.is-active svg { color: var(--ag-on-primary, #fff); }
.ag-nav-badge {
	margin-left: auto; background: var(--ag-primary-bg); color: var(--ag-primary);
	border-radius: 999px; font-size: 11px; padding: 1px 8px; font-weight: 700;
}
.ag-sidebar-foot {
	display: flex; align-items: center; gap: 11px;
	padding: 14px 18px; border-top: 1px solid var(--ag-border);
}
.ag-avatar {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--ag-primary); color: #fff;
	display: grid; place-items: center; font-weight: 700; flex: 0 0 auto;
}
.ag-u-name { color: var(--ag-heading); font-weight: 600; font-size: 13px; }
.ag-u-role { color: var(--ag-muted); font-size: 11.5px; }

/* =====================================================================
 * ÁREA PRINCIPAL (fundo claro, texto escuro)
 * ================================================================== */
.ag-main { flex: 1; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; }
.ag-boot { padding: 40px; color: var(--ag-muted); }

.ag-topbar {
	position: sticky; top: 0; z-index: 12;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 28px;
	background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(8px);
}
.ag-topbar h1 { font-size: 20px; font-weight: 700; color: var(--ag-heading); letter-spacing: -.2px; }
.ag-sub { color: var(--ag-muted); font-size: 13px; margin-top: 2px; }
.ag-topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ag-content { padding: 24px 28px 60px; }

/* =====================================================================
 * BOTÕES (cada variante: fundo + texto contrastante)
 * ================================================================== */
.ag-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	height: 40px; padding: 0 16px;
	border: 1px solid var(--ag-border); border-radius: 10px;
	background: var(--ag-surface); color: var(--ag-text);
	font-size: 13.5px; font-weight: 600; white-space: nowrap;
	transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.ag-btn:hover { background: var(--ag-surface-3); }
.ag-btn:active { transform: translateY(1px); }
.ag-btn svg { width: 17px; height: 17px; }
.ag-btn:disabled { opacity: .6; cursor: not-allowed; }

.ag-btn--primary { background: var(--ag-primary); border-color: var(--ag-primary); color: var(--ag-on-primary, #fff); box-shadow: 0 2px 8px rgba(15,23,42,.16); }
.ag-btn--primary:hover { background: var(--ag-primary-d); border-color: var(--ag-primary-d); }
.ag-btn--dark { background: var(--ag-dark); border-color: var(--ag-dark); color: #fff; }
.ag-btn--dark:hover { background: #1e293b; }
.ag-btn--sell { background: var(--ag-pos); border-color: var(--ag-pos); color: #fff; box-shadow: 0 2px 8px rgba(21,128,61,.26); }
.ag-btn--sell:hover { background: #166534; }
.ag-btn--danger { background: var(--ag-neg); border-color: var(--ag-neg); color: #fff; }
.ag-btn--danger:hover { background: #991b1b; }
.ag-btn--ghost { background: transparent; border-color: transparent; color: var(--ag-muted); }
.ag-btn--ghost:hover { background: var(--ag-surface-3); color: var(--ag-heading); }
.ag-btn--sm { height: 34px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }
.ag-btn--sm svg { width: 16px; height: 16px; }
.ag-btn--block { width: 100%; }
.ag-actions .ag-btn--sm { padding: 0 9px; }

/* =====================================================================
 * KPIs
 * ================================================================== */
.ag-kpis {
	display: grid; gap: 16px; margin-bottom: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
}
.ag-kpi {
	position: relative; overflow: hidden;
	background: var(--ag-surface); border: 1px solid var(--ag-border);
	border-radius: var(--ag-radius); padding: 18px 18px 16px;
	box-shadow: var(--ag-shadow);
}
.ag-kpi-ico {
	position: absolute; top: 14px; right: 14px;
	width: 38px; height: 38px; border-radius: 10px;
	display: grid; place-items: center;
	background: var(--ag-primary-bg); color: var(--ag-primary);
}
.ag-kpi-ico svg { width: 20px; height: 20px; }
.ag-kpi--pos .ag-kpi-ico { background: var(--ag-pos-bg); color: var(--ag-pos); }
.ag-kpi--neg .ag-kpi-ico { background: var(--ag-neg-bg); color: var(--ag-neg); }
.ag-kpi-label { color: var(--ag-muted); font-size: 12.5px; font-weight: 600; padding-right: 44px; }
.ag-kpi-value { font-size: 26px; font-weight: 800; color: var(--ag-heading); margin-top: 8px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.ag-kpi--pos .ag-kpi-value { color: var(--ag-pos); }
.ag-kpi--neg .ag-kpi-value { color: var(--ag-neg); }
.ag-kpi-value .ag-cur { font-size: 14px; font-weight: 700; color: var(--ag-muted); margin-right: 4px; }
.ag-kpi--pos .ag-kpi-value .ag-cur, .ag-kpi--neg .ag-kpi-value .ag-cur { color: inherit; opacity: .7; }
.ag-kpi-foot { color: var(--ag-muted); font-size: 12px; margin-top: 6px; }

/* =====================================================================
 * PAINÉIS
 * ================================================================== */
.ag-panel { background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius); box-shadow: var(--ag-shadow); overflow: hidden; }
.ag-panel-head { padding: 16px 18px; border-bottom: 1px solid var(--ag-border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ag-panel-head h3 { font-size: 15px; font-weight: 700; color: var(--ag-heading); }
.ag-panel-pad { padding: 18px; }
.ag-panel-body { padding: 6px 6px 6px; }
.ag-grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* =====================================================================
 * TOOLBAR / BUSCA / FILTROS
 * ================================================================== */
.ag-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.ag-search {
	display: flex; align-items: center; gap: 8px;
	flex: 1; min-width: 220px; height: 42px; padding: 0 14px;
	background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: 10px;
	color: var(--ag-muted);
}
.ag-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ag-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ag-text); }
.ag-filter-select {
	height: 42px; padding: 0 12px; border: 1px solid var(--ag-border); border-radius: 10px;
	background: var(--ag-surface); color: var(--ag-text); font-size: 13.5px; font-weight: 500;
}

/* =====================================================================
 * TABELAS
 * ================================================================== */
.ag-table-wrap { background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius); box-shadow: var(--ag-shadow); overflow: auto; }
.ag-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ag-table thead th {
	text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px;
	color: var(--ag-muted); font-weight: 700;
	padding: 12px 16px; background: var(--ag-surface-2);
	border-bottom: 1px solid var(--ag-border); white-space: nowrap;
}
.ag-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--ag-border-2); color: var(--ag-text); vertical-align: middle; }
.ag-table tbody tr:last-child td { border-bottom: 0; }
.ag-table tbody tr:hover td { background: var(--ag-surface-2); }
.ag-num { text-align: right; font-family: var(--ag-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-cell-title { font-weight: 600; color: var(--ag-heading); }
.ag-cell-sub { color: var(--ag-muted); font-size: 12px; margin-top: 2px; }
.ag-actions { text-align: right; white-space: nowrap; }
.ag-actions .ag-btn { margin-left: 4px; }

/* =====================================================================
 * PILLS / TAGS (fundo tonalizado + texto escuro da mesma cor = AA)
 * ================================================================== */
.ag-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ag-pill--estoque   { background: var(--ag-primary-bg); color: #1e40af; }
.ag-pill--reservado { background: var(--ag-warn-bg);    color: #92400e; }
.ag-pill--vendido   { background: var(--ag-pos-bg);     color: #166534; }
.ag-pill--entrada   { background: var(--ag-pos-bg);     color: #166534; }
.ag-pill--saida     { background: var(--ag-neg-bg);     color: #991b1b; }
.ag-pill--low       { background: var(--ag-neg-bg);     color: #991b1b; }
.ag-pill--pendente  { background: var(--ag-warn-bg);    color: #92400e; }
.ag-pill--pago      { background: var(--ag-pos-bg);     color: #166534; }
.ag-tag { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; background: var(--ag-surface-3); color: #475569; border: 1px solid var(--ag-border); }

/* =====================================================================
 * ESTADO VAZIO / CARREGANDO
 * ================================================================== */
.ag-empty { text-align: center; padding: 56px 20px; color: var(--ag-muted); background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius); }
.ag-empty svg { width: 46px; height: 46px; color: #cbd5e1; margin-bottom: 10px; }
.ag-empty h3 { color: var(--ag-heading); font-size: 17px; margin-bottom: 4px; }
.ag-empty p { margin-bottom: 16px; }
.ag-loading { display: flex; align-items: center; gap: 10px; padding: 36px; color: var(--ag-muted); justify-content: center; }
.ag-spin { width: 18px; height: 18px; border: 2.5px solid var(--ag-border); border-top-color: var(--ag-primary); border-radius: 50%; animation: ag-spin .7s linear infinite; }
@keyframes ag-spin { to { transform: rotate(360deg); } }

/* =====================================================================
 * DRAWER (formulários laterais)
 * ================================================================== */
.ag-drawer-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); opacity: 0; transition: opacity .25s; z-index: 100000; }
.ag-drawer-backdrop.is-open { opacity: 1; }
.ag-drawer {
	position: fixed; top: 0; right: 0; bottom: 0;
	width: min(560px, 100%); background: var(--ag-surface);
	display: flex; flex-direction: column; z-index: 100001;
	box-shadow: var(--ag-shadow-lg);
	transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
}
.ag-drawer.is-open { transform: translateX(0); }
.ag-drawer--wide { width: min(940px, 100%); }
.ag-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--ag-border); }
.ag-drawer-head h2 { font-size: 17px; font-weight: 700; color: var(--ag-heading); }
.ag-drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px; background: var(--ag-surface-2); }
.ag-drawer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--ag-border); background: var(--ag-surface); }
.ag-foot-left { margin-right: auto; }
.ag-x { width: 38px; height: 38px; border: 0; background: var(--ag-surface-3); border-radius: 9px; display: grid; place-items: center; color: var(--ag-muted); }
.ag-x:hover { background: #e2e8f0; color: var(--ag-heading); }
.ag-x svg { width: 18px; height: 18px; }

/* =====================================================================
 * MODAL (popup centralizado — ex.: novo cliente sem sair da venda)
 * ================================================================== */
.ag-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.5); opacity: 0; transition: opacity .2s; z-index: 100020; display: grid; place-items: center; padding: 20px; }
.ag-modal-backdrop.is-open { opacity: 1; }
.ag-modal {
	width: min(520px, 100%); max-height: 90%; display: flex; flex-direction: column;
	background: var(--ag-surface); border-radius: var(--ag-radius); box-shadow: var(--ag-shadow-lg);
	transform: translateY(12px) scale(.98); opacity: 0; transition: transform .2s, opacity .2s;
}
.ag-modal.is-open { transform: none; opacity: 1; }
.ag-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ag-border); }
.ag-modal-head h3 { font-size: 16px; font-weight: 700; color: var(--ag-heading); }
.ag-modal-body { padding: 18px 20px; overflow-y: auto; background: var(--ag-surface-2); }
.ag-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--ag-border); }

/* =====================================================================
 * FORMULÁRIOS
 * ================================================================== */
.ag-form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ag-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ag-field.col-full { grid-column: 1 / -1; }
.ag-field label { font-size: 12.5px; font-weight: 600; color: var(--ag-heading); }
.ag-field .req { color: var(--ag-neg); }
.ag-field input, .ag-field select, .ag-field textarea {
	width: 100%; height: 42px; padding: 0 12px;
	border: 1px solid var(--ag-border); border-radius: 9px;
	background: var(--ag-surface); color: var(--ag-text); font-size: 14px; font-family: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.ag-field textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus {
	outline: 0; border-color: var(--ag-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.ag-field input::placeholder, .ag-field textarea::placeholder { color: #94a3b8; }
.ag-hint { font-size: 11.5px; color: var(--ag-muted); }
.ag-prefix-money { position: relative; }
.ag-prefix-money::before { content: "R$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ag-muted); font-size: 13px; font-weight: 600; pointer-events: none; }
.ag-prefix-money input { padding-left: 38px; font-family: var(--ag-mono); }

.ag-fieldset { border: 1px solid var(--ag-border); border-radius: var(--ag-radius); padding: 16px; margin-bottom: 16px; background: var(--ag-surface); }
.ag-fieldset > legend { font-size: 13px; font-weight: 700; color: var(--ag-heading); padding: 0 8px; }
.ag-fieldset-note { font-size: 12px; color: var(--ag-muted); margin-bottom: 12px; line-height: 1.5; }
.ag-fieldset-note strong { color: var(--ag-text); }

/* Banner informativo (ex.: veículo vendido / resumo da venda) */
.ag-banner { display: flex; gap: 10px; padding: 13px 15px; border-radius: 11px; font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.ag-banner svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; }
.ag-banner strong { color: inherit; }
.ag-banner--ok { background: var(--ag-pos-bg); color: #166534; }
.ag-banner--info { background: var(--ag-primary-bg); color: #1e40af; }

/* =====================================================================
 * REPEATERS (produtos / campos)
 * ================================================================== */
.ag-repeater { display: flex; flex-direction: column; gap: 10px; }
.ag-rep-row { display: grid; gap: 10px; align-items: end; padding: 12px; background: var(--ag-surface-2); border: 1px solid var(--ag-border); border-radius: 11px; }
.ag-rep-row--prod { grid-template-columns: 2fr .55fr .85fr 1.1fr .85fr auto; }
.ag-rep-row--campo { grid-template-columns: 1fr 1.3fr minmax(140px, .9fr) auto; }
.ag-rep-row .ag-field label { font-size: 11px; }
.ag-rep-row input, .ag-rep-row select { height: 38px; }
.ag-rep-del { width: 38px; height: 38px; border: 1px solid var(--ag-border); background: var(--ag-surface); border-radius: 9px; display: grid; place-items: center; color: var(--ag-neg); flex: 0 0 auto; }
.ag-rep-del:hover { background: var(--ag-neg-bg); border-color: var(--ag-neg-bg); }
.ag-rep-del svg { width: 16px; height: 16px; }
.ag-rep-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; background: var(--ag-surface-3); border-radius: 10px; font-size: 13px; }
.ag-rep-total strong { font-size: 17px; color: var(--ag-heading); font-family: var(--ag-mono); }
.ag-rep-empty { color: var(--ag-muted); font-size: 13px; padding: 10px 2px; }

/* =====================================================================
 * FOTOS
 * ================================================================== */
.ag-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-photo { position: relative; width: 96px; height: 72px; border-radius: 9px; overflow: hidden; border: 1px solid var(--ag-border); background: var(--ag-surface-3); }
.ag-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ag-photo .js-foto-del { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 6px; background: rgba(15,23,42,.7); color: #fff; display: grid; place-items: center; }
.ag-photo .js-foto-del svg { width: 13px; height: 13px; }

/* =====================================================================
 * RESUMO FINANCEIRO
 * ================================================================== */
.ag-fin-summary { display: grid; gap: 14px; margin-bottom: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ag-fin-card { background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius); padding: 16px 18px; box-shadow: var(--ag-shadow); }
.ag-fin-card .l { color: var(--ag-muted); font-size: 12.5px; font-weight: 600; }
.ag-fin-card .v { font-size: 22px; font-weight: 800; margin-top: 6px; font-family: var(--ag-mono); color: var(--ag-heading); }

/* =====================================================================
 * GRÁFICOS
 * ================================================================== */
.ag-chart { display: flex; align-items: flex-end; gap: 14px; height: 188px; padding-top: 8px; }
.ag-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.ag-chart-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.ag-chart-bar { width: 40%; max-width: 30px; min-height: 3px; border-radius: 6px 6px 0 0; transition: height .4s ease; }
.ag-chart-bar.ent { background: var(--ag-pos); }
.ag-chart-bar.sai { background: var(--ag-neg); }
.ag-chart-bar.luc { background: var(--ag-primary); width: 58%; max-width: 46px; }
.ag-chart-bar.luc-neg { background: var(--ag-neg); width: 58%; max-width: 46px; }
.ag-chart-x { font-size: 11px; color: var(--ag-muted); font-weight: 600; text-align: center; white-space: nowrap; }
.ag-chart-val { font-size: 10.5px; color: var(--ag-heading); font-weight: 700; font-family: var(--ag-mono); }
.ag-chart-legend { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ag-border-2); font-size: 12px; color: var(--ag-muted); }
.ag-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ag-chart-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* Barra de composição (ficha: compra / custos / lucro) */
.ag-bar-h { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--ag-surface-3); margin: 6px 0 10px; }
.ag-bar-h span { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; min-width: 2px; white-space: nowrap; overflow: hidden; }
.ag-bar-h .seg-compra { background: #475569; }
.ag-bar-h .seg-custo { background: var(--ag-warn); }
.ag-bar-h .seg-lucro { background: var(--ag-pos); }
.ag-bar-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ag-muted); }
.ag-bar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ag-bar-legend i { width: 11px; height: 11px; border-radius: 3px; }

/* =====================================================================
 * TOASTS
 * ================================================================== */
.ag-toasts { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 100010; }
.ag-toast {
	min-width: 240px; max-width: 380px; padding: 13px 16px; border-radius: 11px;
	background: var(--ag-dark); color: #fff; font-size: 13.5px; font-weight: 500;
	box-shadow: var(--ag-shadow-lg); border-left: 4px solid var(--ag-primary);
	transition: opacity .25s, transform .25s;
}
.ag-toast--ok { border-left-color: #4ade80; }
.ag-toast--err { border-left-color: #f87171; }

/* =====================================================================
 * DETALHE / FICHA
 * ================================================================== */
.ag-detail-section-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--ag-muted); font-weight: 700; margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ag-border); }
.ag-detail-grid { display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ag-detail-item { min-width: 0; padding: 7px 0; border-bottom: 1px dashed var(--ag-border-2); }
.ag-detail-item .k { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ag-muted); }
.ag-detail-item .v { min-width: 0; max-width: 100%; font-weight: 600; color: var(--ag-heading); margin-top: 2px; overflow-wrap: anywhere; word-break: break-word; }
.ag-detail-item .ag-link { display: block; max-width: 100%; white-space: normal; line-height: 1.4; overflow-wrap: anywhere; word-break: break-word; }

/* =====================================================================
 * LOGIN
 * ================================================================== */
.ag-login-wrap { min-height: 60vh; display: grid; place-items: center; padding: 40px 16px; background: var(--ag-bg); }
.ag-login-card { width: min(420px, 100%); background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius); box-shadow: var(--ag-shadow-md); padding: 30px 28px; }
.ag-login-card h2 { font-size: 20px; color: var(--ag-heading); margin-bottom: 6px; }
.ag-login-card p { color: var(--ag-muted); margin-bottom: 18px; }
.ag-login-card label { display: block; font-weight: 600; color: var(--ag-heading); margin: 12px 0 4px; font-size: 13px; }
.ag-login-card input[type=text], .ag-login-card input[type=password] { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--ag-border); border-radius: 9px; font-size: 14px; }
.ag-login-card .button { margin-top: 16px; background: var(--ag-primary); border-color: var(--ag-primary); color: #fff; }

/* =====================================================================
 * MOBILE / OFF-CANVAS
 * ================================================================== */
.ag-mobile-toggle { display: none; }
.ag-overlay { display: none; }
@media (max-width: 880px) {
	.ag-sidebar { position: fixed; top: 0; bottom: 0; left: 0; transform: translateX(-100%); transition: transform .25s; }
	body.admin-bar .ag-sidebar { top: 46px; }
	.ag-app.nav-open .ag-sidebar { transform: translateX(0); box-shadow: var(--ag-shadow-lg); }
	.ag-overlay { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 25; }
	.ag-app.nav-open .ag-overlay { opacity: 1; pointer-events: auto; }
	.ag-mobile-toggle {
		display: inline-flex; align-items: center; gap: 8px; position: fixed; top: 12px; left: 12px; z-index: 40;
		height: 42px; padding: 0 14px; border: 1px solid var(--ag-border); border-radius: 10px;
		background: var(--ag-surface); color: var(--ag-heading); font-weight: 600; box-shadow: var(--ag-shadow);
	}
	body.admin-bar .ag-mobile-toggle { top: 58px; }
	.ag-topbar { padding-left: 70px; }
	.ag-content { padding: 18px 16px 60px; }
	.ag-rep-row--prod, .ag-rep-row--campo { grid-template-columns: 1fr; }
	.ag-rep-row--fgasto { grid-template-columns: 1fr; }
	.ag-rep-del { width: 100%; }
}

/* =====================================================================
 * IMPRESSÃO
 * ================================================================== */
@media print {
	.ag-sidebar, .ag-topbar, .ag-mobile-toggle, .ag-overlay, .ag-drawer-foot, .ag-toasts, .ag-toolbar { display: none !important; }
	.ag-app { position: static; }
	.ag-main { overflow: visible; }
}

/* =====================================================================
 * v2.1 — atalhos, links e barras horizontais
 * ================================================================== */

/* Link inline (abre o registro relacionado) */
.ag-link { background: none; border: 0; padding: 0; color: var(--ag-primary); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.ag-link:hover { color: var(--ag-primary-d); text-decoration: underline; }

/* Atalhos do painel */
.ag-shortcuts { display: grid; gap: 14px; margin-bottom: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ag-dash-search { display: flex; align-items: center; gap: 7px; min-width: min(330px, 44vw); height: 40px; padding: 0 7px 0 11px; border: 1px solid var(--ag-border); border-radius: 10px; background: var(--ag-surface); color: var(--ag-muted); }
.ag-dash-search > svg { width: 17px; height: 17px; flex: none; }
.ag-dash-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.ag-dash-search button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--ag-primary); cursor: pointer; }
.ag-dash-search button:hover { background: var(--ag-primary-bg); }
.ag-dash-search button svg { width: 16px; height: 16px; }
.ag-shortcut {
	display: flex; align-items: center; gap: 13px; text-align: left;
	background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: var(--ag-radius);
	padding: 15px 16px; box-shadow: var(--ag-shadow); transition: border-color .15s, box-shadow .15s, transform .05s;
}
.ag-shortcut:hover,
.ag-shortcut:focus-visible { background: #e5e7eb; border-color: #cbd5e1; box-shadow: var(--ag-shadow-md); }
.ag-shortcut:hover .ag-shortcut-tx strong,
.ag-shortcut:focus-visible .ag-shortcut-tx strong { color: #374151; }
.ag-shortcut:hover .ag-shortcut-tx span,
.ag-shortcut:focus-visible .ag-shortcut-tx span { color: #4b5563; }
.ag-shortcut:active { transform: translateY(1px); }
.ag-shortcut-ic { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--ag-primary-bg); color: var(--ag-primary); }
.ag-shortcut-ic svg { width: 22px; height: 22px; }
.ag-shortcut-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-shortcut-tx strong { color: var(--ag-heading); font-size: 14px; }
.ag-shortcut-tx span { color: var(--ag-muted); font-size: 12px; }
.ag-shortcut-go { color: #cbd5e1; display: grid; place-items: center; flex: 0 0 auto; }
.ag-shortcut-go svg { width: 18px; height: 18px; }
.ag-shortcut:hover .ag-shortcut-go,
.ag-shortcut:focus-visible .ag-shortcut-go { color: #4b5563; }

/* Barras horizontais (veículos por situação) */
.ag-hbar { margin-bottom: 14px; }
.ag-hbar:last-child { margin-bottom: 0; }
.ag-hbar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ag-hbar-top span { color: var(--ag-text); font-size: 13px; font-weight: 600; }
.ag-hbar-top strong { color: var(--ag-heading); font-size: 16px; font-family: var(--ag-mono); }
.ag-hbar-track { height: 12px; border-radius: 999px; background: var(--ag-surface-3); overflow: hidden; }
.ag-hbar-fill { height: 100%; border-radius: 999px; transition: width .5s ease; min-width: 2px; }

/* Foto sendo arrastada */
.ag-photo[draggable="true"] { cursor: grab; }
.ag-photo.is-drag { opacity: .4; outline: 2px dashed var(--ag-primary); }

/* linha clicável de painel */
.ag-panel-body tr[data-veic]:hover td, .ag-panel-body tr[data-prod]:hover td { background: var(--ag-surface-2); }

/* =====================================================================
 * v2.2 — ISOLAMENTO DO TEMA DO WORDPRESS (item 7)
 *
 * O sistema roda dentro do tema do site, então neutralizamos os estilos
 * que os temas costumam aplicar a botões, links, listas, tabelas e campos.
 * Usamos :where() para manter a especificidade ZERO — assim as classes do
 * próprio sistema (.ag-btn, .ag-shortcut, etc.) sempre vencem.
 * ================================================================== */
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) button {
	-webkit-appearance: none; appearance: none;
	background: transparent; border: 0; margin: 0; padding: 0;
	color: inherit; font: inherit; line-height: normal;
	text-transform: none; letter-spacing: normal; text-decoration: none;
	box-shadow: none; text-shadow: none; min-height: 0; text-align: inherit;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) a {
	color: var(--ag-primary); background: transparent; text-decoration: none; box-shadow: none;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) ul,
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) ol,
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) li {
	margin: 0; padding: 0; list-style: none; background: none;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) table {
	border-collapse: collapse; border-spacing: 0; margin: 0; width: auto; background: none;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) th,
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) td {
	padding: 0; border: 0; text-align: left; background: none;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) input,
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) textarea {
	font: inherit; color: var(--ag-text); background: var(--ag-surface);
	box-shadow: none; text-transform: none; letter-spacing: normal; margin: 0;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) select {
	font: inherit; color: var(--ag-text); background: var(--ag-surface);
	box-shadow: none; text-transform: none; margin: 0;
}
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) p { margin: 0; }
:where(.ag-app, .ag-drawer, .ag-modal-backdrop, .ag-toasts) fieldset { min-width: 0; }

/* Botões que não tinham :hover próprio ganham um, para nunca herdar o
   hover do tema (que costuma ser a "cor feia" relatada). */
.ag-mobile-toggle:hover { background: var(--ag-surface-3); color: var(--ag-heading); }

/* =====================================================================
 * v2.2 — CADASTRO RÁPIDO (categoria inline + produto)
 * ================================================================== */
.ag-inline-add { display: flex; gap: 8px; align-items: stretch; }
.ag-inline-add select { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--ag-border); border-radius: 9px; background: var(--ag-surface); color: var(--ag-text); font-size: 14px; }
.ag-inline-add .ag-btn { flex: 0 0 auto; }
.ag-inline-form { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding: 10px; background: var(--ag-surface-3); border-radius: 9px; }
.ag-inline-form input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--ag-border); border-radius: 8px; background: var(--ag-surface); color: var(--ag-text); font-size: 13.5px; }
.ag-inline-form input:focus { outline: 0; border-color: var(--ag-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* =====================================================================
 * v2.2 — SELEÇÃO DE VEÍCULOS (busca + lista enxuta) — item 5
 * ================================================================== */
.ag-vsearch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-bottom: 10px; background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: 9px; color: var(--ag-muted); }
.ag-vsearch svg { width: 17px; height: 17px; flex: 0 0 auto; }
.ag-vsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ag-text); }
.ag-vlist { display: flex; flex-direction: column; }
.ag-vrow { display: flex; gap: 9px; align-items: center; font-weight: 500; padding: 8px 0; border-bottom: 1px dashed var(--ag-border-2); }
.ag-vrow[hidden] { display: none; }
.ag-vrow-label { flex: 1; min-width: 0; }
.ag-vrow input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--ag-primary); }
.ag-vlist-more { font-size: 12.5px; color: var(--ag-muted); padding: 10px 2px 2px; }

/* =====================================================================
 * v2.2 — CAMPOS PERSONALIZADOS (clientes/fornecedores) — item 4
 * ================================================================== */
.ag-rep-row--cfield { grid-template-columns: 1fr 1.2fr 1.1fr auto; }
.ag-rep-row--fgasto { grid-template-columns: 1.6fr 1fr 1fr 1fr auto; }
.ag-cfield-anexo-wrap { min-width: 0; }
.ag-cfield-anexo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 38px; }
.ag-cfield-anexo .ag-btn { height: 38px; }
.ag-anexo-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 8px; background: var(--ag-primary-bg); color: #1e40af; font-size: 12.5px; font-weight: 600; overflow: hidden; }
.ag-anexo-link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ag-anexo-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-anexo-x { width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid var(--ag-border); background: var(--ag-surface); border-radius: 8px; display: grid; place-items: center; color: var(--ag-neg); }
.ag-anexo-x:hover { background: var(--ag-neg-bg); border-color: var(--ag-neg-bg); }
.ag-anexo-x svg { width: 14px; height: 14px; }
.ag-anexo-url { display: flex; gap: 6px; align-items: center; width: 100%; }
.ag-anexo-url input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--ag-border); border-radius: 8px; background: var(--ag-surface); color: var(--ag-text); font-size: 13px; }

/* Checkbox de recorrência (item 3) */
.ag-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ag-heading); cursor: pointer; }
.ag-check input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--ag-primary); cursor: pointer; }

@media (max-width: 880px) {
	.ag-rep-row--cfield { grid-template-columns: 1fr; }
}

/* =========================================================================
 * v2.3 — tooltips dos gráficos, configurações da empresa, usuários, tema
 * ====================================================================== */

/* ----- Tooltips interativos dos gráficos ----- */
.ag-chart { position: relative; }
.ag-chart-col { cursor: default; }
.ag-chart-tip {
	position: absolute;
	z-index: 30;
	transform: translate(-50%, calc(-100% - 12px));
	background: var(--ag-dark);
	color: #fff;
	border-radius: 10px;
	padding: 9px 12px;
	min-width: 132px;
	box-shadow: 0 12px 30px rgba(2, 6, 23, .35);
	pointer-events: none;
	font-size: 12px;
	line-height: 1.45;
}
.ag-chart-tip[hidden] { display: none; }
.ag-chart-tip::after {
	content: ""; position: absolute; left: 50%; bottom: -5px;
	width: 10px; height: 10px; background: var(--ag-dark);
	transform: translateX(-50%) rotate(45deg);
}
.ag-tip-t { font-weight: 800; margin-bottom: 5px; letter-spacing: .2px; }
.ag-tip-row { display: flex; justify-content: space-between; gap: 16px; }
.ag-tip-row span { color: #cbd5e1; }
.ag-tip-row strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.ag-tip-row.e strong { color: #4ade80; }
.ag-tip-row.s strong { color: #f87171; }

/* ----- Logo no menu lateral ----- */
.ag-brand--logo { padding: 6px 6px 14px; }
.ag-brand--logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; display: block; }

/* ----- Formulário de configurações da empresa ----- */
.ag-visual-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.ag-logo-box {
	border: 1px dashed var(--ag-border); border-radius: var(--ag-radius-sm);
	background: var(--ag-surface-2); min-height: 96px; padding: 12px;
	display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.ag-logo-box img { max-width: 100%; max-height: 120px; object-fit: contain; }
.ag-logo-empty { color: var(--ag-muted); font-size: 13px; }
.ag-logo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ag-color-row { display: flex; align-items: center; gap: 10px; }
.ag-color-row input[type="color"] {
	width: 52px; height: 42px; padding: 2px; border: 1px solid var(--ag-border);
	border-radius: var(--ag-radius-sm); background: var(--ag-surface); cursor: pointer; flex: 0 0 auto;
}
.ag-color-row input[type="color"]::-webkit-color-swatch { border: none; border-radius: 6px; }
.ag-color-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.ag-color-row [data-color-hex] {
	width: 120px; height: 42px; padding: 0 12px; border: 1px solid var(--ag-border);
	border-radius: var(--ag-radius-sm); background: var(--ag-surface); color: var(--ag-text);
	font-family: var(--ag-font); font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.ag-color-row [data-color-hex]:focus { outline: none; border-color: var(--ag-accent); box-shadow: 0 0 0 3px var(--ag-primary-bg); }

@media (max-width: 880px) {
	.ag-visual-grid { grid-template-columns: 1fr; }
}

/* ----- Usuários e permissões ----- */
.ag-muted-text { color: var(--ag-muted); font-size: 12.5px; }
.ag-pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-pill--mod { background: var(--ag-primary-bg); color: var(--ag-primary-d); }
.ag-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ag-badge--admin { background: var(--ag-pos-bg); color: var(--ag-pos); }

.ag-input {
	width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--ag-border);
	border-radius: var(--ag-radius-sm); background: var(--ag-surface); color: var(--ag-text);
	font-family: var(--ag-font); font-size: 14px;
}
.ag-input:focus { outline: none; border-color: var(--ag-accent); box-shadow: 0 0 0 3px var(--ag-primary-bg); }

.ag-user-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ag-user-head strong { display: block; color: var(--ag-heading); font-size: 15px; }
.ag-user-head span { display: block; color: var(--ag-muted); font-size: 12.5px; }

.ag-mode-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.ag-radio {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
	border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm);
	padding: 10px 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ag-text);
	background: var(--ag-surface);
}
.ag-radio input { accent-color: var(--ag-primary); cursor: pointer; }
.ag-radio:has(input:checked) { border-color: var(--ag-primary); background: var(--ag-primary-bg); color: var(--ag-primary-d); }

.ag-search-results { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
.ag-search-item {
	text-align: left; border: 1px solid var(--ag-border); background: var(--ag-surface);
	border-radius: var(--ag-radius-sm); padding: 8px 12px; cursor: pointer; width: 100%;
}
.ag-search-item:hover { background: var(--ag-surface-3); border-color: var(--ag-primary); }
.ag-search-item strong { display: block; color: var(--ag-heading); font-size: 13.5px; }
.ag-search-item span { display: block; color: var(--ag-muted); font-size: 12px; }
.ag-selected { margin-top: 10px; padding: 9px 12px; background: var(--ag-pos-bg); color: var(--ag-pos); border-radius: var(--ag-radius-sm); font-size: 13px; }
.ag-selected[hidden] { display: none; }

.ag-mods { margin-top: 18px; border-top: 1px solid var(--ag-border-2); padding-top: 16px; }
.ag-mods-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ag-muted); font-weight: 700; margin-bottom: 12px; }
.ag-mods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }

@media (max-width: 600px) {
	.ag-mode-tabs { flex-direction: column; }
	.ag-mods-grid { grid-template-columns: 1fr; }
}

/* O painel que contém gráfico precisa deixar o tooltip "vazar" para fora. */
.ag-panel:has(.ag-chart) { overflow: visible; }

/* =========================================================================
 * v2.4 — novos status de veículo, gráfico de categorias, fluxo com lucro
 * ====================================================================== */

/* Cores das novas situações (pílulas) */
.ag-pill--em_transito                    { background: #e2e8f0; color: #334155; }
.ag-pill--aguardando_checklist           { background: var(--ag-warn-bg); color: #92400e; }
.ag-pill--aguardando_aprovacao_checklist { background: var(--ag-warn-bg); color: #92400e; }
.ag-pill--aguardando_vistoria            { background: var(--ag-warn-bg); color: #92400e; }
.ag-pill--aguardando_preparacao          { background: var(--ag-warn-bg); color: #92400e; }
.ag-pill--em_preparacao                  { background: var(--ag-primary-bg); color: #1e40af; }
.ag-pill--pronto_venda                   { background: #e0f2fe; color: #075985; }
.ag-pill--a_venda                        { background: var(--ag-pos-bg); color: #166534; }

/* Barra de lucro no fluxo de caixa */
.ag-chart-bar.luc-bar { background: var(--ag-primary); }

/* Cabeçalho de painel com controle à direita (ex.: ordenar categorias) */
.ag-panel-head--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ag-panel-head--row h3 { margin: 0; }

/* Barras horizontais clicáveis (estoque por categoria) */
.ag-hbar--click { cursor: pointer; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; transition: background .15s ease; }
.ag-hbar--click:hover { background: var(--ag-surface-3); }

/* =========================================================================
 * v2.5 — negociável, documento/anexos do veículo, repetidor de endereços
 * ====================================================================== */

/* Caixa Negociável / Não negociável */
.ag-radio-box { display: flex; gap: 8px; }
.ag-radio-sm { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 9px 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ag-text); background: var(--ag-surface); }
.ag-radio-sm input { accent-color: var(--ag-primary); cursor: pointer; }
.ag-radio-sm:has(input:checked) { border-color: var(--ag-primary); background: var(--ag-primary-bg); color: var(--ag-primary-d); }

/* Documento atualizado do veículo */
.ag-doc-box { border: 1px dashed var(--ag-border); border-radius: var(--ag-radius-sm); background: var(--ag-surface-2); padding: 12px 14px; min-height: 46px; display: flex; align-items: center; }
.ag-doc-box a { color: var(--ag-primary-d); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ag-doc-box a svg { width: 16px; height: 16px; }
.ag-doc-list { display: flex; flex-direction: column; gap: 8px; }
.ag-doc-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); background: var(--ag-surface-2); padding: 9px 12px; }
.ag-doc-item a { color: var(--ag-primary-d); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-doc-item a svg { width: 16px; height: 16px; flex-shrink: 0; }
.ag-doc-del { flex-shrink: 0; width: 26px; height: 26px; border: 0; border-radius: 6px; background: var(--ag-surface-3); color: var(--ag-muted); display: grid; place-items: center; cursor: pointer; }
.ag-doc-del:hover { background: #fee2e2; color: #b91c1c; }
.ag-doc-del svg { width: 14px; height: 14px; }
.ag-doc-empty { color: var(--ag-muted); font-size: 13px; padding: 8px 2px; }
.ag-hist-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.ag-hist-stat { flex: 1; min-width: 140px; background: var(--ag-surface-2); border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.ag-hist-stat span { font-size: 12px; color: var(--ag-muted); }
.ag-hist-stat strong { font-size: 18px; font-weight: 700; }
.ag-doc-empty { color: var(--ag-muted); font-size: 13px; }

/* Anexo dos campos personalizados do veículo */
.ag-campo-anexo-prev { font-size: 12px; min-height: 20px; display: flex; align-items: center; }
.ag-campo-anexo-prev a { color: var(--ag-primary-d); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ag-campo-anexo-prev a svg { width: 14px; height: 14px; }
.ag-campo-anexo-actions { display: flex; gap: 6px; margin-top: 6px; }

/* Repetidor de endereços */
.ag-rep-row--end { display: block; }
.ag-end-rep-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.ag-end-rep-head input { flex: 1; height: 40px; border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 0 12px; font-family: var(--ag-font); font-size: 14px; font-weight: 600; background: var(--ag-surface); color: var(--ag-text); }
.ag-rep-row--end .ag-form-grid { gap: 10px; }

/* =========================================================================
 * v2.6 — subcategorias financeiras e comparativo Loja × Carros
 * ====================================================================== */

/* Gerenciar subcategorias */
.ag-sub-add { display: flex; gap: 8px; margin-bottom: 14px; }
.ag-sub-add .ag-input { flex: 1; }
.ag-sub-list { display: flex; flex-direction: column; gap: 8px; }
.ag-sub-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--ag-surface-2); border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); }
.ag-sub-item span { font-weight: 600; color: var(--ag-heading); }

/* Comparativo */
.ag-comp-filter { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.ag-comp-filter label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ag-muted); font-weight: 600; }
.ag-comp-filter input[type="date"] { height: 40px; border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 0 10px; font-family: var(--ag-font); font-size: 14px; background: var(--ag-surface); color: var(--ag-text); }
.ag-comp-totais { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.ag-comp-tot { background: var(--ag-surface-2); border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 10px 12px; text-align: center; }
.ag-comp-tot span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--ag-muted); margin-bottom: 4px; }
.ag-comp-tot strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.ag-comp-sub-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ag-muted); font-weight: 700; margin: 4px 0 12px; }
.ag-sub-ent { font-size: 11.5px; color: var(--ag-pos); margin-top: 3px; }

/* =========================================================================
 * v3.0 — check-list (configuração, colaboradores, preenchimento, resumo)
 * ====================================================================== */

.ag-badge--on { background: var(--ag-pos-bg); color: var(--ag-pos); }
.ag-badge--off { background: var(--ag-neg-bg); color: var(--ag-neg); }
.ag-badge--neutral { background: var(--ag-surface-2); color: var(--ag-muted); }

.ag-row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.ag-check-inline { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ag-text); cursor: pointer; }
.ag-check-inline input { width: 17px; height: 17px; accent-color: var(--ag-primary); cursor: pointer; }

/* Configuração: linha de item do modelo */
.ag-rep-row--chk { grid-template-columns: 1.6fr auto auto; align-items: center; }
.ag-rep-row--chk .ag-check-inline { white-space: nowrap; }
@media (max-width: 720px) { .ag-rep-row--chk { grid-template-columns: 1fr; align-items: stretch; } }

/* Preenchimento do check-list */
.ag-modal:has(.ag-chk-fill) { max-width: 720px; }
.ag-chk-fill { display: flex; flex-direction: column; gap: 12px; }
.ag-chk-item { border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 12px 14px; background: var(--ag-surface); }
.ag-chk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ag-chk-label { font-weight: 600; color: var(--ag-heading); font-size: 14.5px; }
.ag-chk-tag { font-size: 11px; font-weight: 700; color: var(--ag-muted); background: var(--ag-surface-2); border-radius: 999px; padding: 3px 9px; }
.ag-chk-status { display: flex; gap: 8px; }
.ag-chk-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--ag-border); background: var(--ag-surface); color: var(--ag-muted); border-radius: var(--ag-radius-sm); padding: 7px 13px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--ag-font); }
.ag-chk-btn svg { width: 15px; height: 15px; }
.ag-chk-ok.is-on { background: var(--ag-pos); border-color: var(--ag-pos); color: #fff; }
.ag-chk-nok.is-on { background: var(--ag-neg); border-color: var(--ag-neg); color: #fff; }
.ag-chk-obs { width: 100%; margin-top: 10px; min-height: 44px; resize: vertical; border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 9px 11px; font-family: var(--ag-font); font-size: 13.5px; background: var(--ag-surface); color: var(--ag-text); }
.ag-chk-anexo-wrap { margin-top: 10px; }
.ag-chk-anexo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-chk-anexo-prev img { width: 86px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--ag-border); display: block; }
.ag-chk-anexo-actions { display: flex; gap: 6px; }

/* Resumo do check-list na ficha */
.ag-chk-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag-chk-sum-item { border: 1px solid var(--ag-border); border-radius: var(--ag-radius-sm); padding: 10px 12px; background: var(--ag-surface-2); }
.ag-chk-sum-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--ag-heading); font-size: 13.5px; }
.ag-chk-sum-obs { font-size: 12px; color: var(--ag-muted); margin-top: 6px; line-height: 1.45; }
.ag-chk-sum-foto { display: inline-block; margin-top: 8px; }
.ag-chk-sum-foto img { width: 100px; height: 75px; object-fit: cover; border-radius: 7px; border: 1px solid var(--ag-border); display: block; }
@media (max-width: 720px) { .ag-chk-summary { grid-template-columns: 1fr; } }

/* Registro de quem preencheu o check-list (nome + data + hora) */
.ag-chk-meta {
	display: flex; align-items: center; gap: 9px;
	background: var(--ag-pos-bg); border: 1px solid var(--ag-pos);
	border-radius: var(--ag-radius-sm); padding: 10px 14px; margin: 0 0 14px;
}
.ag-chk-meta svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ag-pos); }
.ag-chk-meta > div { font-size: 13.5px; line-height: 1.4; color: var(--ag-text); }
.ag-chk-meta strong { color: var(--ag-heading); }

/* Título do check-list na ficha (com nome + data/hora, legível) */
.ag-chk-title { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ag-heading); }

/* ===== Select de ATPV inline na lista de veículos (v3.1.x) ===== */
.ag-atpv-select {
	height: 34px;
	border: 1px solid var(--ag-border);
	border-radius: 8px;
	padding: 0 26px 0 10px;
	font-size: 13px;
	font-weight: 600;
	background-color: #fff;
	cursor: pointer;
	max-width: 170px;
	color: var(--ag-text);
}
.ag-atpv-select:disabled { opacity: .6; cursor: default; }
.ag-atpv--vazio { color: var(--ag-muted); font-weight: 500; }
.ag-atpv--preencher { border-color: #f59e0b; background-color: #fffbeb; color: #b45309; }
.ag-atpv--aguardando_envio { border-color: #a855f7; background-color: #faf5ff; color: #7e22ce; }
.ag-atpv--enviar { border-color: #3b82f6; background-color: #eff6ff; color: #1d4ed8; }
.ag-atpv--finalizado { border-color: #22c55e; background-color: #f0fdf4; color: #15803d; }

/* ===== Caixa alta visual nos cadastros (v3.1.1) — pareado com a lógica JS ===== */
.ag-drawer input[type="text"]:not([data-noupper]),
.ag-modal input[type="text"]:not([data-noupper]) {
	text-transform: uppercase;
}

/* ===== v3.2.0: botão de saída, saldo dos gastos e ajustes ===== */
.ag-btn--out { background: var(--ag-neg, #dc2626); border-color: var(--ag-neg, #dc2626); color: #fff; box-shadow: 0 2px 8px rgba(220,38,38,.26); }
.ag-btn--out:hover { filter: brightness(.94); }
.ag-rep-total--net { background: var(--ag-surface-2, #eef2f7); border: 1px dashed var(--ag-border); }
.ag-rep-total--net strong { color: var(--ag-heading); }

/* ===================================================================
 * FROTA — filtros de viagens, modal de Link/QR
 * ================================================================ */
.ag-toolbar--filters { flex-wrap: wrap; gap: 10px; align-items: center; }
.ag-toolbar--filters .ag-input { height: 38px; }
.ag-inline-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ag-muted); }
.ag-inline-lbl .ag-input { margin-left: 2px; }
.ag-modal-lead { margin: 0 0 14px; color: var(--ag-muted); font-size: 13px; line-height: 1.5; }
.ag-qr-wrap { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 14px; background: #fff; border: 1px solid var(--ag-border); border-radius: 12px; }
.ag-qr-wrap svg { display: block; }
.ag-qr-empty { color: var(--ag-muted); font-size: 13px; text-align: center; padding: 24px 10px; }

/* ===================================================================
 * Comparativo clicável + chip de filtro de subcategoria
 * ================================================================ */
.ag-hbar--click { cursor: pointer; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; transition: background .12s; }
.ag-hbar--click:hover { background: var(--ag-surface-2); }
.ag-hbar--click:focus-visible { outline: 2px solid var(--ag-primary); outline-offset: 1px; }
.ag-hbar--click .ag-hbar-top span::after { content: " ›"; color: var(--ag-muted); font-weight: 700; }

.ag-filter-chip {
	display: flex; align-items: center; gap: 8px;
	margin: 0 0 14px; padding: 10px 14px;
	background: var(--ag-primary-bg, rgba(37,99,235,.08));
	border: 1px solid var(--ag-border); border-radius: 10px;
	font-size: 13px; color: var(--ag-text);
}
.ag-filter-chip svg { width: 16px; height: 16px; flex: none; color: var(--ag-primary); }
.ag-filter-chip span { flex: 1; }
.ag-chip-x {
	border: 1px solid var(--ag-border); background: var(--ag-surface); color: var(--ag-text);
	border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--ag-font);
}
.ag-chip-x:hover { background: var(--ag-surface-2); }

/* ===================================================================
 * Funcionários — badges de NF, anexos e repeater
 * ================================================================ */
.ag-nf-badge {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.ag-nf-badge svg { width: 13px; height: 13px; }
.ag-nf-badge--venc { background: rgba(220,38,38,.12); color: #b91c1c; }
.ag-nf-badge--prox { background: rgba(217,119,6,.14); color: #b45309; }
.ag-nf-badge--ok   { background: rgba(22,163,74,.12); color: #15803d; }

.ag-nf-row--venc > td { background: rgba(220,38,38,.06); }

.ag-nf-anexo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ag-nf-file {
	display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
	color: var(--ag-primary); text-decoration: none; font-size: 13px; font-weight: 600;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ag-nf-file svg { width: 15px; height: 15px; flex: none; }
.ag-nf-file:hover { text-decoration: underline; }

.ag-rep-row--nf {
	display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 12px; align-items: end;
	padding: 12px; border: 1px solid var(--ag-border); border-radius: 10px; margin-bottom: 10px; background: var(--ag-surface);
}
.ag-rep-row--nf .ag-field { margin: 0; }
@media (max-width: 720px) {
	.ag-rep-row--nf { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
 * Select de status inline (tabela de veículos) + gráficos clicáveis
 * ================================================================ */
.ag-status-select {
	height: 34px;
	border: 1px solid var(--ag-border);
	border-radius: 8px;
	padding: 0 26px 0 10px;
	font-size: 13px;
	font-weight: 600;
	background-color: #fff;
	color: var(--ag-text);
	cursor: pointer;
	max-width: 210px;
	appearance: none;
	background-image: 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='%2364748b' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
}
.ag-status-select:hover { border-color: var(--ag-primary); }
.ag-status-select:disabled { opacity: .6; cursor: default; }
.ag-st--a_venda, .ag-st--pronto_venda { border-color: #16a34a; color: #15803d; }
.ag-st--reservado { border-color: #d97706; color: #b45309; }
.ag-st--em_transito, .ag-st--aguardando_checklist, .ag-st--aguardando_aprovacao_checklist,
.ag-st--aguardando_vistoria, .ag-st--aguardando_preparacao, .ag-st--em_preparacao { border-color: var(--ag-border); color: var(--ag-muted); }

.ag-chart-col--click { cursor: pointer; border-radius: 8px; transition: background .12s; }
.ag-chart-col--click:hover { background: var(--ag-surface-2); }
.ag-chart-col--click:focus-visible { outline: 2px solid var(--ag-primary); outline-offset: 1px; }

/* ===================================================================
 * Importação automática de CRLV (form de veículo)
 * ================================================================ */
.ag-crlv-box { background: linear-gradient(180deg, rgba(37,99,235,.05), transparent); }
.ag-crlv-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-crlv-status { font-size: 13px; color: var(--ag-muted); }
.ag-crlv-status--ok { color: #15803d; font-weight: 600; }
.ag-crlv-status--err { color: #b91c1c; font-weight: 600; }

/* ===================================================================
 * v3.6.0 — filtros rápidos, itens do lançamento, item livre, undo
 * ================================================================ */
.ag-qrange { display: inline-flex; gap: 0; border: 1px solid var(--ag-border); border-radius: 10px; overflow: hidden; background: var(--ag-surface); }
.ag-qrange button {
	border: 0; background: transparent; padding: 8px 12px; font-size: 12.5px; font-weight: 600;
	color: var(--ag-muted); cursor: pointer; font-family: var(--ag-font); white-space: nowrap;
	border-right: 1px solid var(--ag-border);
}
.ag-qrange button:last-child { border-right: 0; }
.ag-qrange button:hover { background: var(--ag-surface-2); color: var(--ag-text); }
.ag-qrange button.is-on { background: var(--ag-primary); color: #fff; }

.ag-rep-row--finitem { display: grid; grid-template-columns: 2fr 1fr auto; gap: 12px; align-items: end; padding: 10px 12px; border: 1px solid var(--ag-border); border-radius: 10px; margin-bottom: 10px; background: var(--ag-surface); }
.ag-rep-row--finitem .ag-field { margin: 0; }
@media (max-width: 640px) { .ag-rep-row--finitem { grid-template-columns: 1fr; } }

/* Serviços públicos/QR Code do veículo */
.ag-service-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 12px; }
.ag-service-presets > span { color: var(--ag-muted); font-size: 12px; font-weight: 700; }
.ag-rep-row--serv { display: grid; grid-template-columns: .75fr 1.25fr .9fr 1.6fr auto auto; gap: 10px; align-items: end; padding: 11px; border: 1px solid var(--ag-border); border-radius: 10px; margin-bottom: 10px; background: var(--ag-surface); }
.ag-rep-row--serv .ag-field { margin: 0; }
.ag-serv-visible { min-height: 42px; }
.ag-vqr-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.ag-arquivo-count { margin: 0 0 10px; color: var(--ag-muted); font-size: 12px; font-weight: 700; }
@media (max-width: 960px) { .ag-rep-row--serv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ag-rep-row--serv { grid-template-columns: 1fr; } }

.js-prod-search { margin-bottom: 6px; }

.ag-rep-row--fgasto { grid-template-columns: 1.4fr 1fr 1fr 1fr .7fr auto; }
@media (max-width: 900px) { .ag-rep-row--fgasto { grid-template-columns: 1fr 1fr; } }

.ag-toast--undo { display: flex; align-items: center; gap: 12px; }
.ag-toast-undo-btn {
	border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff;
	border-radius: 8px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: var(--ag-font);
	white-space: nowrap;
}
.ag-toast-undo-btn:hover { background: rgba(255,255,255,.25); }
