/* Central de Expedição: /expedicao (página e painel), /expedicao/lotes, lote, conferência por link e a seção de /precos.
   Usa os tokens de styles.css (claro/escuro). Cor da categoria: --ship (etiquetas e envios). */
.ex-page { --ex-ok: #12a150; --ex-ok-soft: var(--img-soft); --ex-warn: #b7791f; --ex-warn-soft: #fdf2dc; --ex-bad: var(--pdf); --ex-bad-soft: var(--pdf-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ex-page { --ex-warn: #f0a43a; --ex-warn-soft: #3a2a12; --ex-ok: #4ade80; } }
:root[data-theme="dark"] .ex-page { --ex-warn: #f0a43a; --ex-warn-soft: #3a2a12; --ex-ok: #4ade80; }
.ex-page .muted { color: var(--muted); }
.ex-page .small { font-size: 13px; }
.ex-page code { font: 600 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* ---------- Topo ---------- */
.ex-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; padding-top: 52px; padding-bottom: 28px; }
.ex-hero .eyebrow .ic { color: var(--ship); }
.ex-hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(36px, 5.6vw, 60px); margin: 0; text-wrap: balance; }
.ex-hero .lead { margin: 18px 0 0; max-width: 56ch; }
.ex-hero-cta { margin-top: 26px; }
.ex-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: 14px; }
.ex-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ex-ticks .ic { width: 16px; height: 16px; color: var(--ex-ok); stroke-width: 2.4; flex: none; }
.ex-hero.compact { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 4px; }
.ex-hero.compact .ex-hero-art, .ex-hero.compact .ex-ticks { display: none; }
.ex-hero.compact h1 { font-size: clamp(30px, 4vw, 42px); }
.ex-hero.compact .lead { font-size: 16px; margin-top: 10px; }

/* ilustração: folha A4 com 2 etiquetas → etiqueta 10×15 + DANFE */
.ex-hero-art { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.ex-hero-art::before { content: ""; position: absolute; inset: 6% 2%; border-radius: 40px; background: radial-gradient(110% 90% at 25% 20%, var(--ship-soft), transparent 70%), radial-gradient(80% 70% at 85% 90%, color-mix(in srgb, var(--lime) 28%, transparent), transparent 70%); }
.ex-sheet, .ex-out { position: relative; }
.ex-sheet { width: 200px; aspect-ratio: 210 / 297; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(21, 18, 31, .06); padding: 16px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; transform: rotate(-4deg); }
.ex-sheet::after { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; border-left: 1.5px dashed #c9c5d8; }
.ex-lbl, .ex-tag { display: flex; flex-direction: column; gap: 6px; border: 1.5px solid #15121f; border-radius: 4px; padding: 0 0 8px; background: #fff; overflow: hidden; }
.ex-lbl { aspect-ratio: 2 / 3; }
.ex-lbl i, .ex-tag i { display: block; }
.ex-lbl .hd, .ex-tag .hd { height: 13px; }
.hd.ml { background: #ffe600; } .hd.sp { background: #ee4d2d; }
.ex-lbl .bc, .ex-tag .bc { height: 22px; margin: 2px 8px 0; background: repeating-linear-gradient(90deg, #15121f 0 2px, transparent 2px 3px, #15121f 3px 4px, transparent 4px 6px, #15121f 6px 9px, transparent 9px 10px); }
.ex-tag .bc.s { height: 14px; }
.ex-lbl .l, .ex-tag .l { height: 5px; border-radius: 3px; background: #dcd8e8; margin: 0 8px; }
.ex-tag .l.b { height: 7px; background: #15121f; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.ex-out { display: grid; gap: 12px; transform: rotate(3deg); }
.ex-tag { width: 112px; aspect-ratio: 2 / 3; box-shadow: var(--shadow-lg); border-width: 1.5px; }
.ex-tag.danfe { padding-top: 10px; }
.ex-chip-f { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 2; }
.ex-chip-f .ic { width: 17px; height: 17px; color: var(--ship); }
.ex-chip-f.c1 { top: 3%; right: 36%; transform: rotate(2deg); }
.ex-chip-f.c1 .ic { color: var(--ex-ok); }
.ex-chip-f.c2 { bottom: 9%; left: 0; transform: rotate(-2deg); }

/* ---------- Painel (logado) ---------- */
.ex-app { padding-top: 18px; padding-bottom: 26px; scroll-margin-top: 80px; }
.ex-app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 18px; align-items: start; }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.ex-card + .ex-card { margin-top: 14px; }
.ex-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ex-card-h h2 { margin: 0; font-family: var(--display); font-size: 19px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.ex-card-h h2 .ic { width: 20px; height: 20px; color: var(--ship); }
.ex-link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.ex-link:hover { text-decoration: underline; }
.ex-new { display: flex; flex-direction: column; gap: 14px; }
.ex-new .ex-card-h { margin-bottom: 0; }
.ex-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 30px 18px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.ex-drop:hover, .ex-drop:focus-visible, .ex-drop.over { border-color: var(--ship); background: var(--ship-soft); outline: none; }
.ex-drop b { font-size: 16px; color: var(--ink); text-wrap: balance; }
.ex-drop > span:not(.btn):not(.ex-drop-ic) { color: var(--muted); font-size: 13.5px; }
.ex-drop .btn { margin-top: 8px; pointer-events: none; }
.ex-drop-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ship-soft); color: var(--ship); margin-bottom: 4px; }
.ex-drop-ic .ic { width: 24px; height: 24px; }
.ex-drop.has { padding: 16px; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
.ex-drop.has .ex-drop-ic, .ex-drop.has > span:not(.btn) { display: none; }
.ex-drop.has b { font-size: 14px; }
.ex-drop.has .btn { margin-top: 0; }
.ex-files { display: flex; flex-direction: column; gap: 10px; }
.ex-files[hidden] { display: none; }
.ex-files-g { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ex-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font-size: 13px; font-weight: 500; background: var(--bg-2); color: var(--ink-2); }
.ex-chip .ic { width: 15px; height: 15px; }
.ex-chip.pdf .ic { color: var(--pdf); } .ex-chip.xml .ic { color: var(--doc); }
.ex-chip b { color: var(--ink); }
.ex-clear { margin-left: auto; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ex-files ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 240px; overflow: auto; }
.ex-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--bg); font-size: 13.5px; }
.ex-files li.more { display: block; color: var(--muted); background: none; }
.ex-files .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-files small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-ext { font: 700 10px/1 var(--font); padding: 4px 6px; border-radius: 6px; letter-spacing: .03em; }
.ex-ext.pdf { background: var(--pdf-soft); color: var(--pdf); } .ex-ext.xml { background: var(--doc-soft); color: var(--doc); }
.ex-x { width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.ex-x:hover { background: var(--bg-2); color: var(--ink); }
.ex-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.ex-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ship); flex: none; }
.ex-opt b { display: block; font-size: 14.5px; }
.ex-opt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ex-opt.off { opacity: .6; cursor: default; }
.ex-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; }
.ex-msg[hidden] { display: none; }
.ex-msg.bad { background: var(--ex-bad-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ex-bad) 35%, transparent); }
.ex-msg.warn { background: var(--ex-warn-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ex-warn) 35%, transparent); }
.ex-msg .row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ex-fits { font-size: 13.5px; color: var(--ink-2); }
.ex-progress { display: grid; gap: 6px; }
.ex-progress[hidden] { display: none; }
.ex-progress p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.ex-bar { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.ex-bar span { display: block; height: 100%; width: 0; background: var(--ship); border-radius: 99px; transition: width .3s; }
.ex-go { width: 100%; justify-content: center; }
.ex-go:disabled { opacity: .55; cursor: not-allowed; }
.ex-fine { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.ex-side .ex-card + .ex-card { margin-top: 14px; }

/* medidor de pedidos */
.ex-meter { display: grid; gap: 8px; }
.ex-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.ex-meter-top b { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ex-meter-plan { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--ship-soft); color: var(--ship); white-space: nowrap; }
.ex-meter.warn .ex-bar span { background: var(--ex-warn); }
.ex-meter.full .ex-bar span { background: var(--ex-bad); }
.ex-meter-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-meter-foot small { color: var(--muted); font-size: 12.5px; line-height: 1.45; flex: 1 1 180px; }
.ex-meter.compact .ex-meter-top b { font-size: 18px; }

.ex-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ex-mini a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ex-mini a:hover { background: var(--bg); }
.ex-mini-t { display: grid; min-width: 0; }
.ex-mini-t b { font-size: 14px; }
.ex-mini-t small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-st { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.ex-st.st-done { background: var(--ex-ok-soft); color: var(--ex-ok); }
.ex-st.st-error { background: var(--ex-bad-soft); color: var(--ex-bad); }
.ex-st.st-blocked { background: var(--ex-warn-soft); color: var(--ex-warn); }
.ex-st.st-analyzing, .ex-st.st-processing { background: var(--ship-soft); color: var(--ship); }

/* ---------- Seções da página ---------- */
.ex-section { padding-top: 6px; padding-bottom: 6px; }
.ex-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ex-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.ex-steps .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ship-soft); color: var(--ship); font: 800 15px var(--display); }
.ex-steps h3 { margin: 6px 0 0; font-size: 16px; }
.ex-steps p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.ex-outputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ex-outputs > div { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ex-outputs h3 { margin: 10px 0 4px; font-size: 15.5px; }
.ex-outputs p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.ex-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ship-soft); color: var(--ship); flex: none; }
.ex-ic .ic { width: 20px; height: 20px; }
.ex-toggle { display: inline-flex; margin: -4px 0 16px; }
.ex-toggle .save { font-size: 11px; font-weight: 700; color: var(--img); margin-left: 4px; }
.ex-more { margin: 18px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* planos (página e /precos) */
.ex-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ex-plans[data-period="annual"] .p-monthly, .ex-plans[data-period="monthly"] .p-annual { display: none !important; }
.ex-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.ex-plan.featured { border-color: var(--ship); box-shadow: 0 0 0 3px var(--ship-soft), var(--shadow-lg); }
.ex-ribbon { position: absolute; top: -11px; left: 22px; background: var(--zap); color: var(--zap-ink); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ex-plan h3 { margin: 0; font-family: var(--display); font-size: 21px; }
.ex-orders { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.ex-orders b { font-family: var(--display); font-size: 30px; letter-spacing: -.03em; color: var(--ship); margin-right: 2px; }
.ex-price { margin: 4px 0 0; display: flex; align-items: baseline; gap: 4px; }
.ex-price b { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.ex-price small { color: var(--muted); }
.ex-price-sub { margin: 0; color: var(--muted); font-size: 13px; }
.ex-unit { margin: 0; font-size: 12.5px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 5px 9px; align-self: flex-start; font-variant-numeric: tabular-nums; }
.ex-plan .btn { width: 100%; justify-content: center; margin: 6px 0 4px; }
.ex-plan .ex-cur { cursor: default; }
.ex-plan ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.ex-also { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.ex-pricing { margin-top: 46px; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, var(--ship-soft), transparent 75%); border: 1px solid color-mix(in srgb, var(--ship) 18%, var(--line)); scroll-margin-top: 80px; }
.ex-pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ex-pricing-head .eyebrow { margin-bottom: 10px; }
.ex-pricing-head .eyebrow .ic { color: var(--ship); }
.ex-pricing-head .sec-title { margin: 0 0 6px; }
.ex-pricing-head .lead { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Lotes e lote ---------- */
.ex-wrap { max-width: 1120px; margin: 0 auto; padding: 26px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.ex-wrap > .ex-card + .ex-card { margin-top: 0; }
.ex-back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; align-self: flex-start; }
.ex-back:hover { color: var(--ink); }
.ex-back .ic { width: 16px; height: 16px; }
.ex-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.ex-head-row h1 { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.02em; line-height: 1.1; }
.ex-head-row p { margin: 6px 0 0; }
.ex-head-row .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ex-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.ex-stats span { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ex-stats b { font-family: var(--display); font-size: 30px; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ex-stats b small { font-family: var(--font); font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.ex-stats > div > small { font-size: 12.5px; color: var(--ink-2); }
.ex-stats > div.warn { background: var(--ex-warn-soft); border-color: color-mix(in srgb, var(--ex-warn) 30%, transparent); }
.ex-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ex-detail-grid > .ex-card { margin-top: 0; }
.ex-dl { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.ex-dl li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); }
.ex-dl-t { display: grid; min-width: 0; }
.ex-dl-t b { font-size: 14.5px; }
.ex-dl-t small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ex-detail-grid .ex-fine { text-align: left; }
.ex-conf p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.ex-conf-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; }
.ex-qr { width: 116px; height: 116px; padding: 6px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.ex-qr svg { width: 100%; height: 100%; display: block; }
.ex-conf-act { display: grid; gap: 10px; min-width: 0; }
.ex-copy { display: flex; gap: 6px; }
.ex-copy .input { flex: 1; min-width: 0; height: 38px; font-size: 13px; }
.ex-conf .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ex-bars li { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.ex-bars .k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ex-bars .b { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.ex-bars .b i { display: block; height: 100%; background: var(--ship); border-radius: 99px; min-width: 6px; }
.ex-bars b { font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.ex-issues h3 { margin: 16px 0 4px; font-size: 15px; }
.ex-issues h3:first-of-type { margin-top: 0; }
.ex-issues .ex-card-h h2 .ic { color: var(--ex-warn); }
.ex-issue-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ex-issue-list li { display: grid; grid-template-columns: minmax(130px, auto) minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 8px 12px; border-radius: 10px; background: var(--ex-warn-soft); font-size: 13.5px; }
.ex-issue-list b { font: 600 13px ui-monospace, Menlo, monospace; }
.ex-issue-list small { color: var(--muted); font-size: 12px; }
.ex-table-wrap { overflow-x: auto; margin: 0 -4px; }
.ex-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ex-table th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ex-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ex-table tr:last-child td { border-bottom: 0; }
.ex-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ex-table a { color: var(--ink); text-decoration: none; }
.ex-table a:hover { color: var(--accent); }
.ex-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 34px 20px; }
.ex-empty .ic { width: 34px; height: 34px; color: var(--ship); }
.ex-empty p { margin: 0; color: var(--ink-2); }
.ex-wait { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 44px 20px; }
.ex-wait h2 { margin: 8px 0 0; font-family: var(--display); }
.ex-wait p { margin: 0; }
.ex-spin { width: 38px; height: 38px; border-radius: 50%; border: 3.5px solid var(--ship-soft); border-top-color: var(--ship); animation: ex-spin .8s linear infinite; }
@keyframes ex-spin { to { transform: rotate(360deg); } }
.ex-alert { display: flex; gap: 14px; align-items: flex-start; }
.ex-alert > .ic { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.ex-alert.warn { background: var(--ex-warn-soft); border-color: color-mix(in srgb, var(--ex-warn) 30%, transparent); }
.ex-alert.warn > .ic { color: var(--ex-warn); }
.ex-alert.bad { background: var(--ex-bad-soft); border-color: color-mix(in srgb, var(--ex-bad) 30%, transparent); }
.ex-alert.bad > .ic { color: var(--ex-bad); }
.ex-alert h1, .ex-alert h2 { margin: 0 0 6px; font-family: var(--display); font-size: 21px; }
.ex-alert p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.55; }
.ex-alert .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Conferência por link ---------- */
.ex-cf { padding-top: 6px; }
.ex-cf .tool-head h1 { margin-bottom: 4px; }
.ex-cf .cf-opts { align-items: flex-end; }
.ex-who { flex: 1 1 220px; margin: 0; display: grid; gap: 4px; }
.ex-who .input { height: 40px; }
.ex-filter { align-self: flex-start; }
.ex-pk { max-height: 520px; overflow: auto; overscroll-behavior: contain; }
.ex-pk .cf-item { grid-template-columns: 30px minmax(0, 1fr) auto; }
.ex-pk-act { display: flex; align-items: center; gap: 8px; }
.ex-pk-act small { font-size: 12px; white-space: nowrap; }
.ex-cf-sum div.bad { background: var(--ex-bad-soft); border-color: color-mix(in srgb, var(--ex-bad) 35%, transparent); }
.ex-cf-note { grid-column: 1 / -1; margin: 2px 0 0; }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .ex-hero { grid-template-columns: 1fr; gap: 10px; padding-top: 36px; }
  .ex-hero-art { min-height: 300px; }
  .ex-app-grid { grid-template-columns: minmax(0, 1fr); }
  .ex-outputs, .ex-plans { grid-template-columns: minmax(0, 1fr); }
  .ex-plans { max-width: 520px; }
  .ex-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .ex-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ex-steps { grid-template-columns: minmax(0, 1fr); }
  .ex-hero-art { display: none; }
  .ex-pricing { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
  .ex-card { padding: 16px; }
  .ex-wrap { padding-top: 16px; }
  .ex-conf-row { grid-template-columns: 1fr; justify-items: start; }
  .ex-issue-list li { grid-template-columns: minmax(0, 1fr); }
  /* tabelas viram cartões */
  .ex-table thead { display: none; }
  .ex-table, .ex-table tbody, .ex-table tr, .ex-table td { display: block; width: 100%; }
  .ex-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; }
  .ex-table td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; text-align: left; }
  .ex-table td.num { text-align: left; }
  .ex-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 600; }
  .ex-table td.ex-n { display: none; }
  .ex-table td > span { min-width: 0; overflow-wrap: anywhere; }
  .ex-hero h1 { font-size: 36px; }
  .ex-ticks { font-size: 13.5px; }
}
@media (max-width: 420px) {
  .ex-dl li { gap: 10px; padding: 10px; }
  .ex-dl .ex-ic { width: 32px; height: 32px; }
  .ex-stats b { font-size: 26px; }
  .ex-hero-cta .btn { width: 100%; justify-content: center; }
}
