/* AG Menu — store panel, agency panel and login pages (docs/07). Sizes in rem so the a11y text size scales everything.
   Same visual language as the models in /modelo: warm off-white, white cards, pills, Space Grotesk titles. */

.panel-page { background: var(--color-page); }

/* ----- Top bar ----- */
.panel-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding: .7rem 1.25rem;
  background: #0f0f14; color: #fff;
}
.panel-top a:not(.button) { color: #fff; }
.panel-top__brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; text-decoration: none;
}
.panel-top__brand::before {
  content: "AG"; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px;
  background: var(--gradient-primary); color: #fff; font-size: .85rem; letter-spacing: 0;
}
.panel-top__brand span {
  font-family: var(--font); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .15rem .6rem; border-radius: 999px; background: rgb(255 255 255 / .12);
}
.panel-top__store, .panel-top__store-name { display: flex; align-items: center; gap: .5rem; margin: 0; }
.panel-top__store select { min-height: 40px; max-width: 16rem; padding: .25rem .75rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .45); background: #0f0f14; color: #fff; }
.panel-top__store-name { font-weight: 600; color: rgb(255 255 255 / .85); }
.panel-top__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.panel-top .button--secondary { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .3); }
.panel-top .button--ghost { color: #fff; }
.panel-top .button--ghost:hover { background: rgb(255 255 255 / .12); }

/* ----- Shell: side menu + content ----- */
.panel-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 3.5rem); }
.panel-nav { min-width: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border-soft); }
.panel-nav:focus { outline: none; }
.panel-nav ul { display: flex; gap: .25rem; margin: 0; padding: .5rem .75rem; list-style: none; overflow-x: auto; }
.panel-nav a {
  position: relative; display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .85rem; white-space: nowrap;
  border-radius: var(--radius); color: var(--color-muted); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.panel-nav a:hover { background: var(--color-surface); color: var(--color-text); }
.panel-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgb(230 57 37 / .09), rgb(255 107 61 / .09)); color: var(--color-primary-text); font-weight: 700;
}
.panel-main { min-width: 0; padding: 1.5rem 1rem 4rem; max-width: 68rem; }
.panel-main:focus { outline: none; }
.panel-main h1 { margin: 0 0 1rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.section-title { margin: 1.75rem 0 .75rem; font-size: 1.2rem; }

@media (min-width: 900px) {
  .panel-shell { grid-template-columns: 16rem minmax(0, 1fr); }
  .panel-nav { border-bottom: 0; border-right: 1px solid var(--color-border-soft); }
  .panel-nav ul { position: sticky; top: 0; flex-direction: column; padding: 1.25rem .85rem; overflow: visible; }
  .panel-nav a[aria-current="page"]::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 1.15rem; border-radius: 3px; background: var(--color-primary);
  }
  .panel-main { padding: 2rem 2.5rem 4rem; }
}

/* ----- Buttons (base.css has .button) ----- */
.button--small { min-height: 40px; padding: .35rem .95rem; font-size: .9rem; }
.button--block { width: 100%; }
.button--secondary { background: var(--color-bg); color: var(--color-text); border-color: var(--color-border); box-shadow: var(--shadow); }
.button--secondary:hover { border-color: var(--color-primary); color: var(--color-primary-text); }
.button--ghost { background: transparent; color: var(--color-text); border-color: transparent; }
.button--ghost:not(:disabled):hover { background: rgb(26 26 31 / .06); box-shadow: none; transform: none; }
.button--danger { background: var(--color-danger); color: #fff; }
.button--danger-ghost { background: transparent; color: var(--color-danger); border-color: transparent; }
.button--danger-ghost:not(:disabled):hover { background: rgb(185 28 28 / .08); box-shadow: none; transform: none; }
.button:disabled, .icon-button:disabled { opacity: .45; cursor: not-allowed; }
.icon-button--small { width: 40px; height: 40px; }
.icon-button { border: 1px solid transparent; }
.icon-button:not(:disabled):hover { border-color: var(--color-border); }

/* ----- Messages ----- */
.alert, .notice {
  display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 1rem; padding: .8rem 1rem;
  border-radius: var(--radius); border: 1px solid; border-left-width: 5px;
}
.alert p, .notice p { margin: 0; }
.alert .icon, .notice .icon { margin-top: .15em; }
.alert--success { background: #eef8f0; border-color: var(--color-success); color: #0f4a20; }
.alert--error { background: #fdeeee; border-color: var(--color-danger); color: #6e0f12; }
.alert--info, .notice--info { background: #eff6ff; border-color: var(--focus); color: #123c70; }
.notice--warning { background: #fff6e5; border-color: #8a5a00; color: #5a3b00; }
.error-summary { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border: 3px solid var(--color-danger); border-radius: var(--radius-lg); background: var(--color-bg); }
.error-summary h2 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--color-danger); }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--color-danger); font-weight: 600; }

/* ----- Cards, headings ----- */
.card {
  margin: 0 0 1.25rem; padding: 1.5rem; background: var(--color-bg);
  border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.card:focus { outline: none; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin-bottom: 1.25rem; }
.cards .card { margin: 0; }
.card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.page-head h1, .page-head h2 { margin: 0; }
.page-intro { margin: 0 0 1.25rem; color: var(--color-muted); }
.page-intro .icon { vertical-align: -.2em; }
.breadcrumb { margin: 0 0 .25rem; }
.empty { padding: 2rem 1.5rem; text-align: center; color: var(--color-muted); background: var(--color-bg); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }
.muted { color: var(--color-muted); font-size: .9rem; }
.toc ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.toc a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .25rem .9rem; border: 1px solid var(--color-border);
  border-radius: 999px; background: var(--color-bg); color: var(--color-muted); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.toc a:hover { border-color: var(--color-primary); color: var(--color-primary-text); }

.badge { display: inline-flex; align-items: center; gap: .25rem; }
.badge .icon { width: 1em; height: 1em; }
.badge--muted { background: #56565e; color: #fff; }
.badge--warning { background: #8a5a00; color: #fff; }

/* ----- Dashboard ----- */
.copy-field { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .75rem; word-break: break-all; font-weight: 600; }
.status-line { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; }
.status-line__dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.status-line--open { color: var(--color-success); }
.status-line--closed { color: var(--color-danger); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.stats div { padding: .9rem 1rem; background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius); }
.stats dt { font-size: .8rem; color: var(--color-muted); font-weight: 600; }
.stats dd { margin: 0; font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
.details { margin: 0; }
.details div { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--color-border-soft); }
.details dt { font-weight: 600; color: var(--color-muted); }
.details dd { margin: 0; }

/* ----- Forms ----- */
.form { display: grid; gap: 1rem; }
.form .card { display: grid; gap: 1rem; }
.form .card h2 { margin: 0; }
.field { display: grid; gap: .35rem; margin: 0; min-width: 0; }
.field > label, .field > legend, .field label:first-child { font-weight: 600; font-size: .95rem; }
fieldset.field { border: 0; padding: 0; }
fieldset.field legend { margin-bottom: .3rem; padding: 0; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.field select, .field textarea {
  width: 100%; min-height: 44px; padding: .5rem .85rem; border: 1px solid var(--color-field-border); border-radius: var(--radius);
  background: var(--color-bg); transition: border-color .2s;
}
.field input:not([type="checkbox"]):not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: var(--color-text); }
.field textarea { resize: vertical; line-height: 1.5; }
.field input[type="color"] { width: 5rem; height: 44px; padding: 2px; border: 1px solid var(--color-field-border); border-radius: var(--radius); background: var(--color-bg); }
.field [aria-invalid="true"] { border-color: var(--color-danger) !important; border-width: 2px !important; }
.field [data-mask="money"], .field [data-mask="document"], .field [data-mask="phone"], .field [data-mask="phones"] { font-variant-numeric: tabular-nums; }
.field--narrow { max-width: 20rem; }
.field__hint { margin: 0; font-size: .875rem; color: var(--color-muted); }
.field__hint-inline { font-weight: 400; color: var(--color-muted); font-size: .875rem; }
.field__error { display: flex; align-items: flex-start; gap: .35rem; margin: 0; color: var(--color-danger); font-weight: 600; font-size: .9rem; }
.field__error .icon { margin-top: .1em; }
.required { font-weight: 400; color: var(--color-muted); font-size: .875rem; }
.checkbox, .radio { display: flex; align-items: flex-start; gap: .6rem; min-height: 44px; padding: .5rem 0; font-weight: 400 !important; cursor: pointer; }
.checkbox input, .radio input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; flex: none; accent-color: var(--color-primary); }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin: 0 0 1.25rem; padding: 1rem 1.25rem;
  background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.filters .field { flex: 1 1 14rem; }

.password-field { display: flex; gap: .5rem; }
.password-field input { flex: 1; }
.password-field__toggle {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .85rem;
  border: 1px solid var(--color-field-border); border-radius: var(--radius); background: var(--color-bg); cursor: pointer;
}

/* Repeated rows (hours, contacts, prices) */
.rows { display: grid; gap: .75rem; }
.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: .5rem; padding: .85rem; background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius); }
.row--price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.row--contact { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) minmax(0, 2fr) auto; }
.row__remove { align-self: end; }
@media (max-width: 599px) {
  .row, .row--contact { grid-template-columns: 1fr 1fr; }
  .row .row__grow { grid-column: 1 / -1; }
  .row__remove { grid-column: 1 / -1; justify-self: end; }
}
.price-list { display: grid; gap: .75rem; margin: 0; padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.price-list legend { padding: 0 .35rem; font-weight: 700; }

/* Image field */
.image-field__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
.image-field__preview {
  display: grid; place-items: center; width: 7rem; height: 7rem; overflow: hidden; flex: none;
  border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface);
}
.image-field__preview img { width: 100%; height: 100%; object-fit: contain; }
.image-field__empty { font-size: .85rem; color: var(--color-muted); text-align: center; }
.image-field__controls { display: grid; gap: .35rem; flex: 1 1 14rem; }

/* Color preview */
.color-preview { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem; border: 1px dashed var(--color-border); border-radius: var(--radius); }
.color-preview__bar, .color-preview__button { padding: .5rem .9rem; border-radius: 999px; font-weight: 700; }
.color-preview__price { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; }

/* ----- Lists with actions ----- */
.sortable-list { display: grid; gap: .6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sortable-list--nested { margin: .6rem 0 0 2rem; }
.list-item {
  padding: .75rem .9rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.list-item:hover { border-color: var(--color-border); box-shadow: var(--shadow); }
.sortable-list--nested .list-item { background: var(--color-surface); }
.list-item.is-dragging { opacity: .5; outline: 2px dashed var(--color-primary); }
.list-item--inactive > .list-item__main .list-item__text > :first-child { color: var(--color-muted); }
.list-item__main { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.list-item__text { display: grid; gap: .1rem; flex: 1 1 14rem; min-width: 0; }
.list-item__text .badge { justify-self: start; }
.list-item__thumb { width: 3.5rem; height: 3.5rem; flex: none; object-fit: cover; border-radius: var(--radius); background: var(--color-surface); }
.list-item__thumb--contain { object-fit: contain; }
.list-item__thumb--empty { display: grid; place-items: center; color: var(--color-muted); }
.list-item__footer { margin: .5rem 0 0; font-size: .9rem; }
.list-item__footer .icon { width: 1em; height: 1em; vertical-align: -.1em; }
.drag-handle { display: grid; place-items: center; width: 1.75rem; height: 2.75rem; color: var(--color-muted); cursor: grab; flex: none; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.row-actions form { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: 1rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border-soft); vertical-align: middle; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: var(--color-surface); }
.table thead th { font-family: var(--font); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); background: var(--color-surface); }
.table tfoot > tr > * { border-top: 1px solid var(--color-border); border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table form { margin: 0; }
.table__check { width: 2.75rem; }
.table__check input { display: block; width: 1.25rem; height: 1.25rem; accent-color: var(--color-primary); cursor: pointer; }

/* Bulk actions above a table (orders) */
.bulk-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 .75rem; }
.bulk-actions__count { margin: 0; color: var(--color-muted); font-size: .9rem; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1rem 0 0; }
.pagination p { margin: 0; color: var(--color-muted); font-size: .9rem; }
.pagination ul { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.pagination__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 40px; min-height: 40px; padding: .25rem .85rem;
  border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-bg); color: var(--color-text);
  font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s;
}
.pagination__link--number { padding-inline: .5rem; font-variant-numeric: tabular-nums; }
.pagination__link:hover { border-color: var(--color-primary); color: var(--color-primary-text); }
.pagination__link[aria-current="page"] { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.pagination__gap { color: var(--color-muted); padding-inline: .15rem; }

/* Demonstration store, above the list of /admin/lojas */
.featured-store {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  border-color: transparent; background: linear-gradient(180deg, #fff, #fdf7f5);
  box-shadow: 0 0 0 2px var(--color-primary), 0 24px 50px -28px rgb(230 57 37 / .45);
}
.featured-store__text { flex: 1 1 20rem; min-width: 0; }
.featured-store__tag {
  display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .5rem; padding: .2rem .75rem; border-radius: 999px;
  background: var(--gradient-primary); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.featured-store__tag .icon { width: 1em; height: 1em; }
.featured-store h2 { margin: 0 0 .25rem; font-size: 1.4rem; }
.featured-store h2 a { color: inherit; text-decoration: none; }
.featured-store h2 a:hover { text-decoration: underline; }
.featured-store p { margin: 0; }
.featured-store__status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem !important; }

.confirm-dialog { width: min(28rem, 100% - 2rem); }
.confirm-dialog p { margin: .75rem 0 0; }
.dialog__footer { gap: .5rem; }

/* ----- Login / password pages ----- */
.auth-page {
  display: grid; place-items: center; min-height: 100vh; padding: 1rem;
  background:
    radial-gradient(60rem 40rem at 50% -20%, rgb(230 57 37 / .12), transparent 60%),
    radial-gradient(40rem 30rem at 110% 60%, rgb(107 78 255 / .09), transparent 60%),
    var(--color-page);
}
.auth-card { width: min(26rem, 100%); padding: 2rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.auth-card:focus { outline: none; }
.auth-card__brand { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.auth-card__brand::before {
  content: "AG"; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px;
  background: var(--gradient-primary); color: #fff; font-size: .85rem; letter-spacing: 0;
}
.auth-card__brand span { flex-basis: 100%; font-family: var(--font); font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--color-muted); }
.auth-card__title { margin: 0 0 1rem; font-size: 1.5rem; }
.auth-card__links { margin: 1rem 0 0; text-align: center; }
.auth-card__note { display: flex; gap: .6rem; margin-top: 1.25rem; padding: .75rem; font-size: .9rem; background: var(--color-surface); border-radius: var(--radius); }
.auth-card__note p { margin: 0; }
.auth-card__note .icon { margin-top: .15em; color: var(--focus); }

html.a11y-contrast .panel-top, html.a11y-contrast .panel-top__store select { background: #000; }
html.a11y-contrast .alert, html.a11y-contrast .notice, html.a11y-contrast .error-summary { background: #000; color: #fff; }
html.a11y-contrast .panel-nav a[aria-current="page"], html.a11y-contrast .featured-store, html.a11y-contrast .auth-page { background: #000; }
html.a11y-contrast .panel-nav a[aria-current="page"] { outline: 2px solid #ff0; outline-offset: -2px; }
html.a11y-contrast .featured-store { box-shadow: 0 0 0 2px #ff0; }
html.a11y-contrast .featured-store__tag, html.a11y-contrast .panel-top__brand::before, html.a11y-contrast .auth-card__brand::before { color: #000; }
html.a11y-contrast .table thead th, html.a11y-contrast .table tbody tr:hover { background: #000; }

/* ----- Agency panel + shared additions (phase 4) ----- */
.panel-top--admin { background: #14142b; }
.panel-top--admin .panel-top__store select { background: #14142b; }
.panel-top--admin .panel-top__brand span { background: var(--color-premium); }
.stats--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-bottom: 1.25rem; }
.stats--wide div { background: var(--color-bg); box-shadow: var(--shadow); }
.simple-list { margin: 0 0 1rem; padding-left: 1.25rem; }
.simple-list li { margin: .25rem 0; }
.card--danger { border-color: var(--color-danger); }
.card-details { margin-top: 1rem; border-top: 1px solid var(--color-border-soft); padding-top: .75rem; }
.card-details > summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; color: var(--focus); }
.card-details[open] > summary { margin-bottom: .75rem; }
.inline-form > summary { list-style: none; }
.inline-form > summary::-webkit-details-marker { display: none; }
.inline-form[open] { flex-basis: 100%; }
.inline-form form { margin-top: .5rem; padding: .75rem; background: var(--color-surface); border-radius: var(--radius); }
.filters--flat { padding: 0; border: 0; background: none; box-shadow: none; }
.inline { display: inline; }
.card__actions form.inline { display: inline-flex; }
.badge--success { background: var(--color-success); color: #fff; }
.badge--danger { background: var(--color-danger); color: #fff; }
.audit-data { max-width: 32rem; max-height: 16rem; overflow: auto; padding: .5rem; font-family: var(--font-mono); font-size: .8rem; background: var(--color-surface); border-radius: var(--radius); white-space: pre-wrap; }
.impersonation-bar, .billing-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  padding: .6rem 1.25rem; border-bottom: 1px solid;
}
.impersonation-bar p, .billing-bar p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.impersonation-bar { background: #fff6e5; border-color: #8a5a00; color: #5a3b00; }
.billing-bar { background: #eff6ff; border-color: var(--focus); color: #123c70; }
.billing-bar--late { background: #fdeeee; border-color: var(--color-danger); color: #6e0f12; }
.billing-bar__note { flex-basis: 100%; }
html.a11y-contrast .impersonation-bar, html.a11y-contrast .billing-bar { background: #000; color: #fff; }


/* ----- Cupons (/painel/cupons) ----- */
.coupon-code, .input--code { font-family: var(--font-mono); letter-spacing: .02em; }
.input--code { text-transform: uppercase; }
.stats--inline { margin-bottom: 1.25rem; max-width: 40rem; }
.stats--inline dd { font-size: 1.3rem; }
