:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --text: #14181f;
  --muted: #6b7480;
  --border: #e3e7ec;
  --accent: #12a37a;
  --accent-2: #0d8a66;
  --accent-soft: #e2f6ee;
  --pos: #0f9a72;
  --neg: #e0503a;
  --neg-soft: #fdecea;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1115;
    --surface: #171b21;
    --surface-2: #20262e;
    --text: #e8ebef;
    --muted: #8f98a5;
    --border: #2a3039;
    --accent: #2cc597;
    --accent-2: #22a67f;
    --accent-soft: #15372d;
    --pos: #3bd3a4;
    --neg: #ff6f5a;
    --neg-soft: #3a1d19;
    --shadow: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html {
  margin: 0; width: 100%; max-width: 100%;
  overscroll-behavior-x: none; -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}
body {
  margin: 0; width: 100%; max-width: 100%;
  overscroll-behavior-x: none; touch-action: manipulation;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
h1 { font-size: 1.35rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }

#app { width: 100%; max-width: 680px; margin: 0 auto; min-height: 100dvh; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
#app:has(> .auth), #app:has(> .splash) { padding-bottom: 0; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.tiny { font-size: .75rem; }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }
.center { text-align: center; }
.pos { color: var(--pos); font-weight: 600; }
.neg { color: var(--neg); font-weight: 600; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 5; max-width: 100%; overflow-x: clip;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: transparent; overflow: hidden; padding: 0; font-size: 1.4rem; }
.logo picture { width: 100%; height: 100%; display: block; }
.logo .logo-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.topbar .title { font-weight: 700; font-size: 1.05rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 0;
  display: inline-grid; place-items: center; flex-shrink: 0;
  background: var(--surface); box-shadow: var(--shadow); cursor: pointer; font-size: 1.1rem;
}
.icon-btn.small { width: 34px; height: 34px; font-size: .9rem; box-shadow: none; background: var(--surface-2); }
.icon-btn:active { transform: scale(.96); }

.content { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 16px; overflow-x: clip; }

/* Cards & lists */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; max-width: 100%; overflow-wrap: break-word; }
.list { display: flex; flex-direction: column; gap: 10px; }
.group-card { display: flex; align-items: center; gap: 14px; transition: transform .12s; }
.group-card:active { transform: scale(.99); }
.group-card .title { font-weight: 650; }
.avatar {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--surface-2); font-size: 1.25rem;
}
.avatar.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; }
.avatar.person { border-radius: 50%; font-size: .95rem; font-weight: 700; color: #fff; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.hero > * { min-width: 0; }
.hero .label { color: rgba(255, 255, 255, .9); font-size: .85rem; font-weight: 500; }
.hero .big { font-size: clamp(1.25rem, 5.5vw, 1.6rem); font-weight: 750; letter-spacing: -.02em; margin-top: 2px; overflow-wrap: anywhere; }
.hero .side { text-align: right; }
.hero .mid { font-size: 1.15rem; font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }

/* Tabs */
.tabs { display: flex; background: var(--surface-2); border-radius: 14px; padding: 4px; gap: 4px; max-width: 100%; }
.tabs a { flex: 1; min-width: 0; text-align: center; padding: 9px 4px; border-radius: 10px; font-weight: 600; font-size: clamp(.78rem, 3.2vw, .92rem); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* Expense items */
.day-head { margin: 10px 4px 2px; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.items { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; max-width: 100%;
  padding: 12px 14px; border: 0; background: none; text-align: left; cursor: pointer;
}
.item + .item { border-top: 1px solid var(--border); }
.item:hover { background: var(--surface-2); }
.item .title { font-weight: 600; }
.item .amount { font-weight: 700; white-space: nowrap; }
.item.transfer .title { font-weight: 500; }

.search {
  width: 100%; padding: 12px 14px 12px 40px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238f98a5' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center;
}
.search:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* Balances */
.bal-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-width: 0; }
.bal-row + .bal-row { border-top: 1px solid var(--border); }
.bar-track { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 6px; display: flex; }
.bar-track .half { flex: 1; display: flex; }
.bar-track .half.left { justify-content: flex-end; }
.bar { height: 100%; border-radius: 99px; }
.bar.pos { background: var(--pos); }
.bar.neg { background: var(--neg); }
.bar.accent { background: var(--accent); }

.settle-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
.settle-row + .settle-row { border-top: 1px solid var(--border); }
.settle-row .names { flex: 1; min-width: 160px; }
.arrow { color: var(--muted); margin: 0 4px; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.stat .v { font-size: 1.15rem; font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.cat-row { padding: 8px 0; }
.cat-row .top { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 650; cursor: pointer;
  background: var(--surface-2); touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--neg); }
.btn.small { padding: 7px 12px; font-size: .88rem; }
.btn.outline { background: transparent; border: 1.5px solid var(--border); }
.btn.block { width: 100%; }

.fab-row {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 10px; z-index: 6;
  width: calc(100% - 32px); max-width: 648px; justify-content: flex-end;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  border: 0; border-radius: 99px; padding: 15px 22px; font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
@media (max-width: 420px) { .fab { padding: 13px 16px; font-size: .92rem; } }
.fab.secondary { background: var(--surface); color: var(--text); box-shadow: var(--shadow), 0 8px 24px rgba(0,0,0,.08); }
.fab:active { transform: scale(.97); }

/* Empty states */
.empty { text-align: center; padding: 40px 20px; }
.empty .big-emoji { font-size: 3.2rem; }
.empty p { color: var(--muted); max-width: 340px; margin: 8px auto 20px; line-height: 1.45; }
.empty .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Modal */
dialog {
  border: 0; padding: 0; background: transparent; color: var(--text); overflow: hidden;
  width: min(560px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px);
}
dialog::backdrop { background: rgba(10, 14, 20, .45); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-card {
  background: var(--surface); border-radius: 22px; padding: 20px; width: 100%; max-width: 100%;
  max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; overflow-wrap: break-word;
}
.modal-card:focus { outline: none; }
@media (max-width: 560px) {
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  @keyframes pop { from { transform: translateY(40px); opacity: .5; } }
}
.modal-card form, .modal-card .stack { display: flex; flex-direction: column; gap: 14px; }
.modal-card h2 { margin-bottom: 2px; }

label, .field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); min-width: 0; }
.label { font-size: .85rem; font-weight: 600; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-weight: 500; font-size: 1rem;
}
input[type=date] { min-width: 0; max-width: 100%; display: block; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
input.amount-input { font-size: 1.5rem; font-weight: 700; }
.row { display: flex; gap: 10px; max-width: 100%; }
.row > * { min-width: 0; }
.date-field { flex: 0 1 44%; min-width: 132px; max-width: 100%; }
@media (max-width: 360px) {
  .row.amount-date { flex-wrap: wrap; }
  .row.amount-date > * { flex: 1 1 100%; width: 100%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .segmented input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; margin: 0; }
.chip span {
  display: inline-block; padding: 8px 12px; border-radius: 99px; background: var(--surface-2);
  color: var(--text); font-weight: 600; cursor: pointer; border: 1.5px solid transparent;
}
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); }

.segmented { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface-2); padding: 4px; border-radius: 12px; gap: 4px; max-width: 100%; }
.segmented label { position: relative; display: block; }
.segmented span { display: block; text-align: center; padding: 8px 4px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); }

.split-box { border: 1px solid var(--border); border-radius: 14px; padding: 4px 12px; }
.split-row { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; padding: 8px 0; color: var(--text) !important; font-size: .95rem !important; }
.split-row + .split-row { border-top: 1px solid var(--border); }
.split-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); }
.split-row .split-input { width: 96px !important; text-align: right; padding: 8px 10px !important; }
.split-row .suffix { width: 40px; color: var(--muted); font-size: .8rem; }
.hint { font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }
.hint.ok { background: var(--accent-soft); color: var(--pos); }
.hint.err { background: var(--neg-soft); color: var(--neg); }

.member-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; min-width: 0; }
.member-row input:not([type=radio]) { flex: 1; min-width: 0; }
.me-toggle { flex-direction: row !important; align-items: center; gap: 4px !important; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.me-toggle input { accent-color: var(--accent); }

.modal-card:has(> form) { padding-bottom: 0; }
.actions { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.modal-card form > .actions {
  position: sticky; bottom: 0; margin: 6px -20px 0; padding: 12px 20px max(12px, env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--border);
}
body:has(dialog[open]) { overflow: hidden; }
.menu-list { display: flex; flex-direction: column; gap: 6px; }
.menu-list .btn { justify-content: flex-start; padding: 14px; }

/* Toast */
#toast {
  position: fixed; inset: auto; margin: 0; border: 0; width: max-content;
  left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: #1d232b; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 100; max-width: calc(100% - 32px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 560px) {
  #toast { top: max(14px, env(safe-area-inset-top)); bottom: auto; transform: translateX(-50%) translateY(-20px); }
  #toast.show { transform: translateX(-50%) translateY(0); }
}

/* ===== Nuvem: login, convites, permissões, atividade ===== */
.splash { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; overflow-x: clip; }
.logo.xl { width: 76px; height: 76px; border-radius: 24px; font-size: 2.4rem; }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .7; } }

.auth { width: 100%; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom)); max-width: 420px; margin: 0 auto; overflow-wrap: break-word; overflow-x: clip; }
.auth-hero { text-align: center; display: grid; justify-items: center; gap: 10px; }
.auth-hero h1 { font-size: 2rem; }
.auth-hero p { margin: 0; line-height: 1.45; }
.auth-buttons { display: flex; flex-direction: column; gap: 10px; }
.auth-btn { width: 100%; justify-content: center; gap: 10px; padding: 13px 16px; border: 1.5px solid var(--border); background: var(--surface); }
.auth-btn.apple { background: #000; color: #fff; border-color: #000; }
.auth-btn.facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.invite-card { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 28px 20px; min-width: 0; overflow-wrap: break-word; }
.invite-card .big-emoji { font-size: 2.6rem; }
.invite-card p { margin: 4px 0 10px; line-height: 1.45; }

.account-btn { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; flex-shrink: 0; }
.account-btn .avatar, .account-head .avatar { width: 40px; height: 40px; object-fit: cover; }
.account-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.account-head > * { min-width: 0; overflow-wrap: break-word; }

.banner { display: block; width: 100%; text-align: left; background: var(--accent-soft); color: var(--text); border: 0; border-radius: 14px; padding: 12px 14px; font-size: .9rem; line-height: 1.4; min-width: 0; overflow-wrap: break-word; }
.banner.warn { background: #fff4e0; color: #7a4b00; }
@media (prefers-color-scheme: dark) { .banner.warn { background: #3a2a0f; color: #ffd28a; } }
.banner.clickable { cursor: pointer; }
.banner.small { font-size: .82rem; }

.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--pos); vertical-align: middle; white-space: nowrap; }
.badge.linked { background: var(--surface-2); color: var(--muted); }

.option-card { flex-direction: row !important; align-items: flex-start; gap: 10px !important; padding: 12px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; color: var(--text) !important; }
.option-card input { margin-top: 3px; accent-color: var(--accent); }
.option-card > span { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
.option-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.items.flat { box-shadow: none; border: 1px solid var(--border); }
.item.static { cursor: default; }
.item.static:hover { background: none; }
.account-row select { width: auto !important; padding: 6px 8px !important; font-size: 1rem !important; }
.claim-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.claim-list .item { color: var(--text); }

.segmented.two { grid-template-columns: 1fr 1fr; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
fieldset.plain:disabled input, fieldset.plain:disabled select { opacity: .85; }
.invite-input {
  flex: 1; min-width: 0; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font-size: .85rem; font-weight: 500; white-space: nowrap; overflow-x: auto;
  -webkit-overflow-scrolling: touch; user-select: all; cursor: pointer;
}
details summary { cursor: pointer; }

/* ===== Sobre, notificações e importação ===== */
.footer-ver { text-align: center; margin-top: 8px; }
.footer-ver button { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.footer-ver button:hover { background: var(--surface-2); color: var(--text); }

.about-intro { margin: 0; line-height: 1.45; color: var(--muted); font-size: .92rem; }
.version-item { padding: 12px 0; border-top: 1px solid var(--border); }
.version-item:first-child { border-top: 0; padding-top: 2px; }
.version-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.version-tag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--pos); }
.version-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.author-box { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: .85rem; }

.toggle-row { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px; padding: 10px 0; color: var(--text) !important; cursor: pointer; }
.toggle-row + .toggle-row { border-top: 1px solid var(--border); }
.toggle-row input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.toggle-row > span { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }

.map-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.map-row + .map-row { border-top: 1px solid var(--border); }
.map-row select { flex: 1; min-width: 0; padding: 8px 10px !important; font-size: 1rem !important; }
.import-list { max-height: 240px; overflow: auto; border: 1px solid var(--border); border-radius: 14px; padding: 4px 12px; }

.icon-btn.has-dot { position: relative; }
.icon-btn.has-dot::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--neg); }

.modal-head {
  position: sticky; top: -20px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: -20px -20px 0; padding: 16px 20px 12px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}

/* ===== Instalação PWA e oferta de notificações ===== */
.promo-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
  max-width: 100%; min-width: 0; overflow-wrap: break-word;
}
.promo-head { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.promo-ico {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-soft); font-size: 1.2rem;
}
.promo-body { flex: 1; min-width: 0; }
.promo-title { font-weight: 700; font-size: .95rem; }
.promo-desc { margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.promo-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.install-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; line-height: 1.45; }

/* ===== Importação CSV externa ===== */
.import-bar { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.csv-file-box {
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
  border: 1.5px dashed var(--border); border-radius: 14px; background: var(--surface-2);
}
.csv-file-box input[type=file] { padding: 6px 0; border: 0; background: transparent; font-size: .9rem; }
.csv-paste { min-height: 96px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem !important; }
