/* =====================================================================
   Visual Preço — estilos da aplicação (sobre Bootstrap 5.3)
   --ofs-primary / --ofs-accent podem ser sobrescritas pela identidade
   visual da empresa (definidas no <head>).
   ===================================================================== */
:root {
  --ofs-primary: #0E4C92;      /* azul Visual Preço */
  --ofs-accent: #1E9BE0;       /* azul-claro do traço da marca */
  --ofs-poster-red: #E63312;   /* cores dos cartazes de exemplo */
  --ofs-poster-yellow: #FFC220;
  --ofs-ink: #17191E;
  --ofs-ink-2: #3A3F4A;
  --ofs-muted: #6B7280;
  --ofs-bg: #F3F4F6;
  --ofs-surface: #FFFFFF;
  --ofs-border: #E5E7EB;
  --ofs-sidebar: #0A1A33;
  --ofs-sidebar-2: #13284A;
  --ofs-sidebar-text: #A8B6CC;
  --ofs-radius: 14px;
  --ofs-radius-sm: 10px;
  --ofs-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --ofs-sidebar-w: 256px;
  --ofs-sidebar-w-collapsed: 72px;
  --ofs-topbar-h: 64px;

  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --bs-body-color: var(--ofs-ink);
  --bs-body-bg: var(--ofs-bg);
  --bs-border-color: var(--ofs-border);
  --bs-link-color: var(--ofs-primary);
  --bs-link-color-rgb: 14, 76, 146;
  --bs-link-hover-color: color-mix(in srgb, var(--ofs-primary) 80%, #000);
  --bs-focus-ring-color: color-mix(in srgb, var(--ofs-primary) 25%, transparent);
}

body { -webkit-font-smoothing: antialiased; }
.ofs-xs { font-size: .75rem; }
.ofs-ls { letter-spacing: .06em; }

/* Botão primário com a cor da marca */
.btn-primary {
  --bs-btn-bg: var(--ofs-primary);
  --bs-btn-border-color: var(--ofs-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--ofs-primary) 88%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--ofs-primary) 88%, #000);
  --bs-btn-active-bg: color-mix(in srgb, var(--ofs-primary) 80%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--ofs-primary) 80%, #000);
  --bs-btn-disabled-bg: var(--ofs-primary);
  --bs-btn-disabled-border-color: var(--ofs-primary);
  font-weight: 600;
}
.btn { border-radius: var(--ofs-radius-sm); }
.btn-lg { border-radius: 12px; }
.form-control, .form-select { border-radius: var(--ofs-radius-sm); }
.form-control:focus, .form-select:focus {
  border-color: color-mix(in srgb, var(--ofs-primary) 55%, #fff);
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--ofs-primary) 18%, transparent);
}
.form-check-input:checked { background-color: var(--ofs-primary); border-color: var(--ofs-primary); }
.alert { border-radius: var(--ofs-radius-sm); }
.dropdown-menu { border-radius: 12px; border-color: var(--ofs-border); }

/* Estado de envio: botão desabilitado com indicador */
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .ofs-btn-label::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .5em; vertical-align: -.15em;
  border: .15em solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: ofs-spin .7s linear infinite;
}
@keyframes ofs-spin { to { transform: rotate(360deg); } }

.ofs-skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* ---------------------------------------------------------------------
   Estrutura: menu lateral + barra superior
   --------------------------------------------------------------------- */
.ofs-shell { min-height: 100vh; }
.ofs-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 1040;
  width: var(--ofs-sidebar-w);
  background: var(--ofs-sidebar); color: var(--ofs-sidebar-text);
  display: flex; flex-direction: column;
  transition: width .2s ease, transform .25s ease;
}
.ofs-brand {
  height: var(--ofs-topbar-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem 0 1.15rem; border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0;
}
.ofs-brand-link { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; min-width: 0; }
.ofs-brand-name { font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; white-space: nowrap; }
.ofs-nav { flex: 1; overflow-y: auto; padding: .75rem .75rem 1rem; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.ofs-nav-section + .ofs-nav-section { margin-top: 1rem; }
.ofs-nav-label {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #6F82A3; padding: .25rem .75rem .4rem; white-space: nowrap;
}
.ofs-nav-item {
  display: flex; align-items: center; gap: .75rem; width: 100%;
  padding: .55rem .75rem; margin-bottom: 2px; border-radius: 9px; border: 0; background: none;
  color: var(--ofs-sidebar-text); text-decoration: none; font-size: .92rem; font-weight: 500; text-align: left;
  position: relative; white-space: nowrap;
}
.ofs-nav-item > .bi { font-size: 1.1rem; width: 1.25rem; text-align: center; flex-shrink: 0; }
a.ofs-nav-item:hover, button.ofs-nav-item:hover { background: var(--ofs-sidebar-2); color: #fff; }
.ofs-nav-item.is-active { background: var(--ofs-sidebar-2); color: #fff; }
.ofs-nav-item.is-active::before {
  content: ""; position: absolute; left: -.75rem; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--ofs-primary);
}
.ofs-nav-item.is-active > .bi { color: var(--ofs-accent); }
.ofs-nav-item.is-disabled { opacity: .45; cursor: default; }
.ofs-nav-text { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.ofs-soon {
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: .1rem .4rem; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #C9CED8; flex-shrink: 0;
}
.ofs-sidebar-foot { padding: .5rem .75rem .75rem; border-top: 1px solid rgba(255,255,255,.06); }

.ofs-main { margin-left: var(--ofs-sidebar-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .2s ease; }
.ofs-topbar {
  position: sticky; top: 0; z-index: 1020; height: var(--ofs-topbar-h);
  display: flex; align-items: center; gap: .75rem; padding: 0 1.5rem;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ofs-border);
}
.ofs-content { padding: 1.75rem 1.5rem 3rem; max-width: 1480px; width: 100%; }

.ofs-icon-btn {
  width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--ofs-ink-2); font-size: 1.2rem; border: 0;
}
.ofs-icon-btn:hover { background: var(--ofs-bg); }
.ofs-sidebar .ofs-icon-btn { color: #fff; }
.ofs-sidebar .ofs-icon-btn:hover { background: var(--ofs-sidebar-2); }

.ofs-company { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.ofs-company-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ofs-company-label { font-size: .7rem; color: var(--ofs-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.ofs-company-name { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ofs-company-badge {
  font-size: .7rem; font-weight: 700; padding: .25rem .5rem; border-radius: 6px;
  background: var(--ofs-ink); color: var(--ofs-accent); white-space: nowrap;
}

.ofs-user-btn { display: flex; align-items: center; gap: .6rem; padding: .3rem .5rem; border: 0; border-radius: 12px; }
.ofs-user-btn:hover { background: var(--ofs-bg); }
.ofs-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ofs-accent); color: #fff; font-weight: 800; font-size: .82rem;
}
.ofs-avatar-xl { width: 84px; height: 84px; font-size: 1.6rem; display: flex; }

.ofs-notif-dot {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ofs-primary); color: #fff; font-size: .65rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.ofs-notif-menu { width: min(360px, calc(100vw - 2rem)); overflow: hidden; }
.ofs-notif-list { max-height: 380px; overflow-y: auto; }
.ofs-notif-item { display: block; padding: .7rem 1rem; border-bottom: 1px solid var(--ofs-border); color: inherit; text-decoration: none; font-size: .875rem; }
.ofs-notif-item:last-child { border-bottom: 0; }
.ofs-notif-item.is-unread { background: color-mix(in srgb, var(--ofs-accent) 9%, #fff); }
.ofs-notif-item:hover { background: var(--ofs-bg); }

/* Menu recolhido (desktop) */
@media (min-width: 992px) {
  .ofs-collapsed .ofs-sidebar { width: var(--ofs-sidebar-w-collapsed); }
  .ofs-collapsed .ofs-main { margin-left: var(--ofs-sidebar-w-collapsed); }
  .ofs-collapsed .ofs-brand-name,
  .ofs-collapsed .ofs-nav-text,
  .ofs-collapsed .ofs-nav-label,
  .ofs-collapsed .ofs-soon { display: none; }
  .ofs-collapsed .ofs-nav-item { justify-content: center; padding-left: 0; padding-right: 0; }
  .ofs-collapsed .ofs-brand { justify-content: center; padding: 0; }
  .ofs-collapsed .ofs-nav-section + .ofs-nav-section { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.06); }
  .ofs-collapsed .ofs-collapse-btn .bi { transform: scaleX(-1); }
}
/* Celular/tablet: menu em gaveta */
@media (max-width: 991.98px) {
  .ofs-sidebar { transform: translateX(-100%); box-shadow: none; }
  .ofs-main { margin-left: 0; }
  .ofs-sidebar-open .ofs-sidebar { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.35); }
  .ofs-backdrop { position: fixed; inset: 0; z-index: 1035; background: rgba(15,17,21,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .ofs-sidebar-open .ofs-backdrop { opacity: 1; pointer-events: auto; }
  .ofs-topbar { padding: 0 .75rem; }
  .ofs-content { padding: 1.25rem 1rem 2.5rem; }
}
@media (min-width: 992px) { .ofs-backdrop { display: none; } }

/* ---------------------------------------------------------------------
   Componentes de página
   --------------------------------------------------------------------- */
.ofs-page-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.75rem; }
.ofs-page-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .25rem; }
.ofs-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ofs-primary); }

.ofs-section { margin-bottom: 1.75rem; }
.ofs-section-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.ofs-section-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ofs-muted); margin: 0; }

.ofs-card {
  background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius);
  box-shadow: var(--ofs-shadow); padding: 1.25rem 1.35rem;
}
.ofs-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.ofs-card-title { font-size: 1rem; font-weight: 700; margin: 0; }

/* Indicadores (KPI) — o recorte no canto lembra uma etiqueta de preço */
.ofs-kpi {
  position: relative; height: 100%;
  background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius);
  box-shadow: var(--ofs-shadow); padding: 1rem 1.1rem 1.05rem;
  display: flex; flex-direction: column; gap: .15rem; overflow: hidden;
}
.ofs-kpi::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ofs-bg); box-shadow: inset 0 1px 2px rgba(16, 24, 40, .18);
}
.ofs-kpi-icon {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ofs-primary) 10%, #fff); color: var(--ofs-primary); font-size: 1.05rem;
}
.ofs-kpi-value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ofs-kpi-label { font-size: .82rem; color: var(--ofs-ink-2); font-weight: 500; }
.ofs-kpi-hint { font-size: .74rem; color: var(--ofs-muted); }
.ofs-kpi-compact .ofs-kpi-value { font-size: 1.45rem; }
.ofs-kpi-compact .ofs-kpi-icon { background: #EEF0F3; color: var(--ofs-ink-2); }

/* Atalhos */
.ofs-shortcuts { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ofs-shortcut {
  display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; position: relative;
  background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius);
  color: inherit; text-decoration: none; box-shadow: var(--ofs-shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s;
}
a.ofs-shortcut:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ofs-primary) 35%, var(--ofs-border)); box-shadow: 0 6px 18px rgba(16,24,40,.08); }
.ofs-shortcut.is-disabled { cursor: not-allowed; }
.ofs-shortcut.is-disabled .ofs-shortcut-icon, .ofs-shortcut.is-disabled .ofs-shortcut-text { opacity: .55; }
.ofs-shortcut .ofs-soon { background: #F1F2F4; color: var(--ofs-muted); margin-left: auto; }
.ofs-shortcut-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ofs-shortcut-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ofs-shortcut-text strong { font-size: .92rem; }
.ofs-shortcut-text small { color: var(--ofs-muted); font-size: .78rem; }
.is-red .ofs-shortcut-icon { background: #FDE8E3; color: #C42B0E; }
.is-yellow .ofs-shortcut-icon { background: #FFF4D1; color: #9A6B00; }
.is-pink .ofs-shortcut-icon { background: #FCE7F3; color: #BE185D; }
.is-green .ofs-shortcut-icon { background: #DCFCE7; color: #15803D; }
.is-blue .ofs-shortcut-icon { background: #DBEAFE; color: #1D4ED8; }
.is-teal .ofs-shortcut-icon { background: #CCFBF1; color: #0F766E; }
.is-slate .ofs-shortcut-icon { background: #E5E7EB; color: #374151; }

@media (max-width: 575.98px) {
  .ofs-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .ofs-shortcut { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .8rem; }
  .ofs-shortcut-icon { width: 36px; height: 36px; font-size: 1.05rem; }
  .ofs-shortcut-text small { display: none; }
  .ofs-shortcut .ofs-soon { position: absolute; top: .6rem; right: .6rem; }
  .ofs-kpi-value { font-size: 1.5rem; }
  .ofs-list-item .ofs-list-time { display: none; }
}

/* Listas */
.ofs-list { list-style: none; margin: 0; padding: 0; }
.ofs-list-item { position: relative; display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--ofs-border); min-width: 0; }
.ofs-list-item:first-child { border-top: 0; padding-top: 0; }
.ofs-list-compact .ofs-list-item { padding: .55rem 0; }
.ofs-list-compact .ofs-list-item:first-child { padding-top: 0; }
.ofs-list-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ofs-primary) 9%, #fff); color: var(--ofs-primary);
}
.ofs-list-icon.is-muted { background: #F1F2F4; color: var(--ofs-ink-2); }
.ofs-list-main { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.ofs-list-main strong { font-size: .9rem; font-weight: 600; }
.ofs-list-main small { font-size: .78rem; }
.ofs-list-time { white-space: nowrap; font-size: .76rem; }
.ofs-badge-soft { font-weight: 600; font-size: .7rem; }
.ofs-file-badge { font-size: .65rem; font-weight: 800; padding: .35rem .45rem; border-radius: 7px; min-width: 40px; text-align: center; flex-shrink: 0; }
.ofs-file-pdf { background: #FDE8E3; color: #B42318; }
.ofs-file-png, .ofs-file-jpg { background: #DBEAFE; color: #1D4ED8; }
.ofs-file-zip { background: #FFF4D1; color: #9A6B00; }

.ofs-empty { text-align: center; padding: 2.25rem 1rem; color: var(--ofs-muted); }
.ofs-empty > .bi { font-size: 2.2rem; color: #C3C7D0; display: block; margin-bottom: .6rem; }
.ofs-empty-sm { padding: 1rem; }
.ofs-empty-sm > .bi { font-size: 1.6rem; }

.ofs-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .875rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--ofs-border); }
.ofs-dl dt { color: var(--ofs-muted); font-weight: 500; }
.ofs-dl dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

/* Medidor de força de senha */
.ofs-strength { height: 5px; background: #ECEEF1; border-radius: 3px; overflow: hidden; }
.ofs-strength span { display: block; height: 100%; width: 0; background: #DC2626; transition: width .2s, background-color .2s; }
.ofs-strength[data-level="2"] span { background: #F59E0B; }
.ofs-strength[data-level="3"] span { background: #16A34A; }

/* ---------------------------------------------------------------------
   Telas de autenticação
   --------------------------------------------------------------------- */
.ofs-auth { background: #fff; }
.ofs-auth-grid { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.ofs-auth-showcase {
  position: relative; overflow: hidden; color: #fff; padding: 2.5rem 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--ofs-primary) 45%, transparent), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30,155,224,.22), transparent 40%),
    var(--ofs-sidebar);
}
.ofs-auth-showcase::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
}
.ofs-auth-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.2rem; position: relative; }

.ofs-auth-tagline { position: relative; color: #C9CED8; font-size: 1.02rem; max-width: 430px; margin: 0; }

.ofs-poster-stack { position: relative; height: 430px; margin: 2rem auto; width: 100%; max-width: 420px; }
.ofs-poster {
  position: absolute; width: 270px; background: #fff; color: #17191E; border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: hidden; padding-bottom: 1rem;
}
.ofs-poster-front { left: 40px; top: 30px; transform: rotate(-4deg); }
.ofs-poster-back { right: 0; top: 0; transform: rotate(7deg) scale(.9); opacity: .9; }
.ofs-poster-band {
  background: var(--ofs-poster-red); color: var(--ofs-poster-yellow); font-weight: 900; letter-spacing: .04em;
  font-size: 1.15rem; padding: .7rem 1rem; text-align: center;
}
.ofs-poster-back .ofs-poster-band { background: #15803D; color: #fff; }
.ofs-poster-product { font-weight: 800; font-size: 1.15rem; text-align: center; padding: 1.1rem .9rem .5rem; line-height: 1.15; text-transform: uppercase; }
.ofs-poster-product span { font-weight: 500; font-size: .85rem; text-transform: none; color: #555; }
.ofs-poster-price {
  margin: .4rem auto 0; width: fit-content; background: var(--ofs-poster-yellow); color: var(--ofs-poster-red);
  font-weight: 900; font-size: 4.2rem; line-height: 1; padding: .35rem 1rem .5rem; border-radius: 8px;
  letter-spacing: -.04em; display: flex; align-items: flex-start; font-variant-numeric: tabular-nums;
}
.ofs-poster-price small { font-size: 1.1rem; margin: .5rem .2rem 0 0; letter-spacing: 0; }
.ofs-poster-price sup { font-size: 1.9rem; top: .25rem; position: relative; }
.ofs-poster-price em { font-style: normal; font-size: .9rem; align-self: flex-end; margin: 0 0 .25rem .2rem; color: #17191E; letter-spacing: 0; }
.ofs-poster-back .ofs-poster-price { background: #DCFCE7; color: #15803D; }
.ofs-poster-foot { font-size: .62rem; text-align: center; color: #777; margin-top: .9rem; padding: 0 1rem; }

.ofs-auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem 1.5rem; }
.ofs-auth-card { width: 100%; max-width: 420px; margin: auto 0; }
.ofs-auth-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .35rem; }
.ofs-auth-foot { font-size: .78rem; color: var(--ofs-muted); margin-top: 2rem; }
.ofs-back-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; text-decoration: none; margin-bottom: 1.25rem; color: var(--ofs-muted); }
.ofs-back-link:hover { color: var(--ofs-ink); }

@media (max-width: 991.98px) {
  .ofs-auth-grid { grid-template-columns: 1fr; }
  .ofs-auth-showcase { display: none; }

  .ofs-auth-panel { justify-content: flex-start; padding-top: 3rem; }
}

/* Páginas de erro */
.ofs-blank { background: var(--ofs-bg); }
.ofs-blank-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.ofs-error { text-align: center; max-width: 460px; }
.ofs-error-icon {
  width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 22px; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ofs-primary) 10%, #fff); color: var(--ofs-primary);
}
.ofs-error-code { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ofs-muted); margin-bottom: .35rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Marca Visual Preço */
.ofs-brand-mark { height: 24px; width: auto; flex-shrink: 0; }
.ofs-brand-name span { color: var(--ofs-accent); font-weight: 600; }
.ofs-auth-logo { display: block; width: 190px; max-width: 70%; height: auto; margin-bottom: 1.75rem; }
.ofs-auth-showcase .ofs-brand-mark { height: 30px; }

/* =====================================================================
   Fase 3 — listagens, formulários e cadastros
   ===================================================================== */
.ofs-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.ofs-filter .form-select { width: auto; min-width: 170px; flex: 0 1 auto; }
.ofs-filter-search { position: relative; flex: 1 1 260px; }
.ofs-filter-search > .bi { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ofs-muted); pointer-events: none; }
.ofs-filter-search .form-control { padding-left: 2.4rem; }
.ofs-filter-check { margin: 0 .25rem; white-space: nowrap; }
@media (max-width: 575.98px) { .ofs-filter .form-select, .ofs-filter .btn { flex: 1 1 100%; width: 100%; } }

.ofs-table { --bs-table-bg: transparent; font-size: .9rem; }
.ofs-table > thead th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ofs-muted); font-weight: 700;
  background: #F8F9FB; border-bottom: 1px solid var(--ofs-border); padding: .7rem .85rem; white-space: nowrap;
}
.ofs-table > tbody td { padding: .7rem .85rem; border-color: var(--ofs-border); }
.ofs-table > tbody tr:hover > td { background: #FAFBFC; }
.ofs-card.p-0 { overflow: hidden; }
.ofs-row-muted > td { opacity: .6; }
.ofs-col-thumb { width: 56px; }
.ofs-thumb {
  width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--ofs-border);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.ofs-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ofs-thumb-empty { background: #F3F4F6; color: #B5BAC4; }
.ofs-thumb-sm { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; border: 1px solid var(--ofs-border); background: #fff; }
.ofs-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; background: #F1F3F6; padding: .1rem .4rem; border-radius: 5px; color: var(--ofs-ink-2); }
.ofs-price { font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums; color: var(--ofs-ink); }
.ofs-avatar-sm { width: 32px; height: 32px; font-size: .72rem; }

.ofs-pager { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-top: 1rem; }
.pagination { --bs-pagination-active-bg: var(--ofs-primary); --bs-pagination-active-border-color: var(--ofs-primary); --bs-pagination-color: var(--ofs-ink-2); }

.ofs-form-section + .ofs-form-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ofs-border); }
.ofs-form-section { margin-bottom: .25rem; }
.ofs-form-title { font-size: .95rem; font-weight: 700; margin: 0 0 .9rem; }
.ofs-form-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ofs-border); }
.ofs-form-actions-sticky {
  position: sticky; bottom: 0; z-index: 5; margin: 1rem -1.5rem -3rem; padding: .85rem 1.5rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-top: 1px solid var(--ofs-border);
}
@media (max-width: 991.98px) { .ofs-form-actions-sticky { margin: 1rem -1rem -2.5rem; padding: .75rem 1rem; } }

.ofs-color .form-control-color { max-width: 3rem; padding: .3rem; }
.ofs-logo-preview {
  height: 140px; border: 1px dashed #CBD1DA; border-radius: 12px; background:
    repeating-conic-gradient(#F3F4F6 0% 25%, #fff 0% 50%) 50% / 16px 16px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: .75rem;
}
.ofs-logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ofs-logo-preview-sm { width: 140px; height: 80px; }
.ofs-image-drop {
  aspect-ratio: 1 / 1; border: 1px dashed #CBD1DA; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  text-align: center; background: repeating-conic-gradient(#F6F7F9 0% 25%, #fff 0% 50%) 50% / 18px 18px; overflow: hidden;
}
.ofs-image-drop img { max-width: 100%; max-height: 100%; object-fit: contain; }

.ofs-dropzone {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 2.25rem 1rem; cursor: pointer; text-align: center;
  border: 2px dashed #C8D2E0; border-radius: 14px; background: color-mix(in srgb, var(--ofs-primary) 3%, #fff);
}
.ofs-dropzone:hover { border-color: var(--ofs-primary); }
.ofs-dropzone > .bi { font-size: 2.4rem; color: var(--ofs-primary); }
.ofs-dropzone:focus-within { outline: 3px solid color-mix(in srgb, var(--ofs-primary) 25%, transparent); }

.ofs-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; color: var(--ofs-muted); }
.ofs-steps li { display: flex; align-items: center; gap: .5rem; }
.ofs-steps span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E5E7EB; font-weight: 700; font-size: .78rem; color: var(--ofs-ink-2); }
.ofs-steps .is-current { color: var(--ofs-ink); font-weight: 600; }
.ofs-steps .is-current span { background: var(--ofs-primary); color: #fff; }
.ofs-steps .is-done span { background: #DCFCE7; color: #15803D; }

.ofs-map-table th { min-width: 170px; vertical-align: top; text-transform: none; letter-spacing: 0; }
.ofs-map-table td { max-width: 220px; }
.ofs-map-table .form-select.is-mapped { border-color: var(--ofs-primary); background-color: color-mix(in srgb, var(--ofs-primary) 6%, #fff); font-weight: 600; }

.ofs-kpi-novo .ofs-kpi-icon { background: #DCFCE7; color: #15803D; }
.ofs-kpi-atualizar .ofs-kpi-icon { background: #DBEAFE; color: #1D4ED8; }
.ofs-kpi-ignorar .ofs-kpi-icon { background: #F1F2F4; color: #4B5563; }
.ofs-kpi-erro .ofs-kpi-icon { background: #FDE8E3; color: #B42318; }

.ofs-choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ofs-choice { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .9rem; border: 1px solid var(--ofs-border); border-radius: 12px; cursor: pointer; }
.ofs-choice:has(input:checked) { border-color: var(--ofs-primary); background: color-mix(in srgb, var(--ofs-primary) 5%, #fff); box-shadow: 0 0 0 1px var(--ofs-primary) inset; }
.ofs-choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.ofs-choice input { margin-top: .25rem; accent-color: var(--ofs-primary); }
.ofs-choice span { display: flex; flex-direction: column; line-height: 1.3; }
.ofs-choice small { color: var(--ofs-muted); font-size: .78rem; }
.ofs-check-grid { display: grid; gap: .35rem 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.ofs-segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 11px; background: #E9EBEF; }
.ofs-segment { padding: .38rem .85rem; border-radius: 9px; font-size: .85rem; font-weight: 600; color: var(--ofs-ink-2); text-decoration: none; }
.ofs-segment:hover { color: var(--ofs-ink); }
.ofs-segment.is-active { background: #fff; color: var(--ofs-ink); box-shadow: var(--ofs-shadow); }

.ofs-campaign-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ofs-campaign {
  display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--ofs-border); border-left: 4px solid #CBD1DA; border-radius: var(--ofs-radius); box-shadow: var(--ofs-shadow);
  transition: transform .12s, box-shadow .12s;
}
.ofs-campaign:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,24,40,.08); color: inherit; }
.ofs-campaign.is-live { border-left-color: #16A34A; }
.ofs-campaign.is-future { border-left-color: var(--ofs-accent); }
.ofs-campaign-name { font-size: 1rem; }
.ofs-campaign-state { font-weight: 600; }
.is-live .ofs-campaign-state { color: #15803D; }
.is-future .ofs-campaign-state { color: var(--ofs-primary); }
.is-past .ofs-campaign-state { color: var(--ofs-muted); }
.ofs-campaign-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--ofs-muted); margin-top: .25rem; }

.ofs-product-picker { position: relative; }
.ofs-product-picker.is-invalid .form-control, .ofs-product-picker.is-invalid .ofs-picked { border-color: var(--bs-danger); }
.ofs-picked { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border: 1px solid var(--ofs-border); border-radius: 12px; background: #FAFBFC; }
.ofs-picked .ofs-thumb { width: 56px; height: 56px; }
.ofs-picker-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 340px; overflow-y: auto; border-radius: 12px; }
.ofs-picker-results .ofs-thumb { width: 36px; height: 36px; }
.ofs-picker-results .list-group-item.active { background: color-mix(in srgb, var(--ofs-primary) 10%, #fff); color: var(--ofs-ink); border-color: var(--ofs-border); }

.ofs-timeline { list-style: none; padding: 0 0 0 1rem; margin: 0; border-left: 2px solid var(--ofs-border); }
.ofs-timeline > li { position: relative; padding: 0 0 .9rem .5rem; }
.ofs-timeline > li::before { content: ""; position: absolute; left: -1.38rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--ofs-primary); }
.ofs-changes { list-style: none; padding: 0; margin: .25rem 0 0; font-size: .78rem; }
.ofs-changes s { color: var(--ofs-muted); }
.ofs-table a.text-reset { text-decoration: none; }
.ofs-table a.text-reset:hover { text-decoration: underline; color: var(--ofs-primary) !important; }
@media (max-width: 575.98px) {
  .ofs-table { font-size: .84rem; }
  .ofs-table > tbody td, .ofs-table > thead th { padding: .55rem .6rem; }
  .ofs-segmented { display: flex; overflow-x: auto; flex-wrap: nowrap; }
  .ofs-segment { white-space: nowrap; }
}

/* =====================================================================
   Fase 4 — projetos, criação de cartaz e bibliotecas
   ===================================================================== */
.vp-project-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.vp-project { background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius); box-shadow: var(--ofs-shadow); display: flex; flex-direction: column; }
.vp-project:hover { border-color: color-mix(in srgb, var(--ofs-primary) 35%, var(--ofs-border)); }
.vp-project-thumb { display: flex; align-items: center; justify-content: center; height: 210px; padding: .9rem; background: #EEF0F3; border-radius: var(--ofs-radius) var(--ofs-radius) 0 0; }
.vp-project-thumb img { max-width: 100%; max-height: 100%; box-shadow: 0 2px 10px rgba(16, 24, 40, .18); background: #fff; }
.vp-project-blank { max-height: 100%; max-width: 100%; height: 100%; background: #fff; display: flex; align-items: center; justify-content: center; color: #C3C7D0; font-size: 2rem; box-shadow: 0 2px 10px rgba(16, 24, 40, .12); }
.vp-project-body { padding: .7rem .8rem .8rem; }
.vp-project-name { font-weight: 700; color: var(--ofs-ink); text-decoration: none; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vp-project-name:hover { color: var(--ofs-primary); }
.vp-project-meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .75rem; color: var(--ofs-muted); margin-top: .3rem; }

.vp-formats { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.vp-format { cursor: pointer; }
.vp-format-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; border: 1.5px solid var(--ofs-border); border-radius: 12px; padding: .75rem .5rem; height: 100%; background: #fff; }
.vp-format-card strong { font-size: .82rem; line-height: 1.2; }
.vp-format-card small { font-size: .72rem; color: var(--ofs-muted); }
.vp-format-shape { height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: .2rem; }
.vp-format-shape > span { display: block; border: 2px solid #9AA3B2; border-radius: 3px; background: #F5F6F8; }
.vp-format:hover .vp-format-card { border-color: var(--ofs-accent); }
.vp-format input:checked + .vp-format-card { border-color: var(--ofs-primary); background: color-mix(in srgb, var(--ofs-primary) 6%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ofs-primary) 15%, transparent); }
.vp-format input:checked + .vp-format-card .vp-format-shape > span { border-color: var(--ofs-primary); background: color-mix(in srgb, var(--ofs-primary) 12%, #fff); }
.vp-format input:focus-visible + .vp-format-card { outline: 2px solid var(--ofs-accent); outline-offset: 2px; }

.vp-gallery { --vp-ratio: .707; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vp-tpl { border: 1.5px solid var(--ofs-border); background: #fff; border-radius: 12px; padding: .45rem; display: flex; flex-direction: column; gap: .2rem; text-align: left; }
.vp-tpl:hover { border-color: var(--ofs-accent); }
.vp-tpl.is-selected { border-color: var(--ofs-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ofs-primary) 18%, transparent); }
.vp-tpl-thumb { height: 190px; display: flex; align-items: center; justify-content: center; background: #EEF0F3; border-radius: 8px; overflow: hidden; padding: .4rem; }
.vp-tpl-thumb img { max-width: 100%; max-height: 100%; box-shadow: 0 1px 6px rgba(16, 24, 40, .2); }
.vp-tpl-blank { color: var(--ofs-primary); font-size: 2rem; border: 2px dashed #C9CED8; background: #fff; }
.vp-tpl-name { font-size: .8rem; font-weight: 700; line-height: 1.2; }
.vp-tpl-meta { font-size: .7rem; color: var(--ofs-muted); }
.vp-gallery-msg { grid-column: 1 / -1; color: var(--ofs-muted); font-size: .85rem; padding: .5rem 0; }
.vp-create-bar { position: sticky; bottom: 0; display: flex; align-items: center; gap: .5rem; padding: .8rem 0; background: linear-gradient(transparent, var(--ofs-bg) 30%); z-index: 5; }

.vp-image-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.vp-image { margin: 0; background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius-sm); overflow: hidden; }
.vp-image-thumb { display: flex; align-items: center; justify-content: center; height: 150px; padding: .5rem; position: relative;
  background: repeating-conic-gradient(#F3F4F6 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.vp-image-thumb img { max-width: 100%; max-height: 100%; }
.vp-image-tag { position: absolute; left: .4rem; bottom: .4rem; font-size: .65rem; background: rgba(10, 26, 51, .75); color: #fff; border-radius: 5px; padding: .05rem .35rem; }
.vp-image figcaption { padding: .5rem .6rem .6rem; font-size: .8rem; }
.vp-image-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }

.vp-model-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.vp-model-card { background: var(--ofs-surface); border: 1px solid var(--ofs-border); border-radius: var(--ofs-radius); overflow: hidden; }
.vp-model-card.is-inactive .vp-model-thumb { opacity: .45; filter: grayscale(.8); }
.vp-model-thumb { height: 240px; display: flex; align-items: center; justify-content: center; background: #EEF0F3; padding: .8rem; }
.vp-model-thumb img { max-width: 100%; max-height: 100%; box-shadow: 0 2px 10px rgba(16, 24, 40, .18); }
.vp-model-body { padding: .7rem .8rem .8rem; font-size: .88rem; }
@media (max-width: 575.98px) {
  .vp-project-grid, .vp-model-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .vp-project-thumb { height: 160px; }
  .vp-tpl-thumb { height: 150px; }
  .vp-gallery { grid-template-columns: repeat(2, 1fr); }
  .vp-image-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Etiquetas de gôndola
   ===================================================================== */
.vp-label-table { max-height: calc(100vh - 260px); overflow: auto; }
.vp-label-table thead th { position: sticky; top: 0; background: var(--ofs-surface); z-index: 1; }
.vp-baseline { padding: .75rem 1rem; border-left: 3px solid var(--bs-warning, #f0ad4e); }
.vp-baseline summary { cursor: pointer; }
@media (min-width: 1200px) { .vp-label-side { position: sticky; top: calc(var(--ofs-topbar-h) + 1rem); } }
.vp-label-preview { display: flex; flex-direction: column; gap: .6rem; }
.vp-label-img { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(16, 24, 40, .18); background: #fff; }
.vp-label-img img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.vp-printer { display: flex; align-items: center; gap: .5rem; font-size: .85rem; padding: .55rem .7rem; border-radius: 10px; background: #F3F4F6; color: var(--ofs-ink-2); }
.vp-printer.is-ok { background: #EAF7EE; color: #1E7B3A; }
.vp-label-help li { margin-bottom: .35rem; }
/* Importar ofertas / geração em lote */
.vp-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .15rem .75rem; max-height: 240px; overflow: auto; padding: .25rem 0; }
.vp-batch-done { padding: 1rem 1.25rem; border-left: 3px solid var(--bs-success, #198754); }
/* Redes sociais: escolha do formato */
.vp-social-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.vp-social-format { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1rem .75rem;
  border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .75rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.vp-social-format:hover { border-color: #9AA3B2; }
.vp-social-format:has(input:checked) { border-color: var(--bs-primary, #0E4C92); box-shadow: 0 0 0 3px rgba(14, 76, 146, .15); }
.vp-social-format:has(input:focus-visible) { outline: 2px solid var(--bs-primary, #0E4C92); outline-offset: 2px; }
.vp-social-shape { display: block; height: 96px; max-width: 96px; border-radius: .4rem; margin-bottom: .5rem;
  background: linear-gradient(135deg, #E30613 0%, #FFB000 100%); }
/* Logs e auditoria */
.vp-log-filter { padding: 1rem 1.25rem; }
.vp-log-details summary { cursor: pointer; color: var(--bs-secondary-color, #6c757d); }
.vp-log-details pre { max-height: 260px; overflow: auto; background: var(--bs-tertiary-bg, #f6f7f9); padding: .5rem .75rem; border-radius: .4rem; white-space: pre-wrap; word-break: break-word; }
.vp-log-table td { vertical-align: top; }
/* Configurações da plataforma */
.vp-dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; }
.vp-dl dt { font-weight: 600; color: var(--bs-secondary-color, #6c757d); }
.vp-dl dd { margin: 0; word-break: break-word; }
.vp-checks li { display: flex; align-items: flex-start; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,.08)); }
.vp-checks li:last-child { border-bottom: 0; }
.vp-checks .bi { margin-top: .15rem; }
/* Telas da loja */
.vp-pair-input { letter-spacing: .35em; font-size: 1.6rem; max-width: 12rem; }
.vp-type-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .5rem; }
.vp-type-option { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; padding: .7rem .5rem; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .6rem; cursor: pointer; font-size: .85rem; }
.vp-type-option .bi { font-size: 1.4rem; }
.vp-type-option:has(input:checked) { border-color: var(--bs-primary, #0E4C92); box-shadow: 0 0 0 3px rgba(14, 76, 146, .15); color: var(--bs-primary, #0E4C92); font-weight: 600; }
.vp-type-option:has(input:focus-visible) { outline: 2px solid var(--bs-primary, #0E4C92); outline-offset: 2px; }
.vp-slides { display: flex; flex-direction: column; gap: .75rem; }
.vp-slide-item { padding: .85rem 1rem; }
.vp-slide-item.is-off { opacity: .6; }
.vp-slide-head { display: flex; align-items: flex-start; gap: .75rem; }
.vp-slide-num { font-weight: 700; color: var(--bs-secondary-color, #6c757d); min-width: 1.4rem; padding-top: .35rem; }
.vp-slide-icon { width: 2.4rem; height: 2.4rem; border-radius: .6rem; background: var(--bs-tertiary-bg, #f3f4f6); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: none; }
.vp-slide-actions { display: flex; gap: .25rem; flex: none; }
.vp-slide-edit { margin-top: .5rem; }
.vp-slide-edit summary { cursor: pointer; color: var(--bs-primary, #0E4C92); }
.vp-slide-edit[open] { border-top: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,.08)); padding-top: .75rem; }
.vp-schedule summary { cursor: pointer; }
.vp-inline-title { border-color: transparent; background: transparent; padding-left: 0; max-width: 32rem; }
.vp-inline-title:focus { border-color: var(--bs-border-color, #dee2e6); background: #fff; padding-left: .75rem; }
.vp-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.vp-media-card { overflow: hidden; }
.vp-media-thumb { position: relative; aspect-ratio: 16 / 9; background: #111; display: flex; align-items: center; justify-content: center; }
.vp-media-thumb img, .vp-media-thumb video { width: 100%; height: 100%; object-fit: contain; }
.vp-media-kind { position: absolute; left: .4rem; top: .4rem; }
.min-w-0 { min-width: 0; }
/* Versão no rodapé do menu */
.ofs-version { display: block; padding: .25rem 1rem .5rem; font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: .02em; }
