@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { text-decoration: none; }
li { list-style: none; }

h1 {
  font-weight: 600;
  font-size: 1.5rem;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fafbfe;
  min-height: 100vh;
}

:root {
  --pegasus-menu-bg: #4570B4;
  --pegasus-menu-text: #FFFFFF;
  --pegasus-menu-submenu: #80AADC;
  --pegasus-menu-accent: #3B7DDD;
  --pegasus-topbar-bg: #FFFFFF;
  --pegasus-topbar-text: #333333;
  --pegasus-topbar-border: #EAEAEA;
  --pegasus-topbar-icon: #4570B4;
  --ops-ok: #1B8A5A;
  --ops-warn: #C47A00;
  --ops-danger: #C62828;
  --ops-border: #D8E0EC;
  --ops-muted: #5B6B7F;
  --ops-radius: 10px;
}

.wrapper {
  display: flex;
  position: relative;
  overflow: visible;
}

.main {
  min-height: 100vh;
  width: 100%;
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.35s ease-in-out;
  background-color: #fafbfe;
  position: relative;
  z-index: 1;
}

.content { padding: 1rem; }

#sidebar {
  width: 70px;
  min-width: 70px;
  min-height: 100vh;
  z-index: 1040;
  transition: width .25s ease-in-out, min-width .25s ease-in-out;
  display: flex;
  flex-direction: column;
  background-color: var(--pegasus-menu-bg, #4570B4);
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

#sidebar.expand {
  width: 260px;
  min-width: 260px;
}

.sidebar-header {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sidebar-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pegasus-menu-text, #fff);
  cursor: pointer;
}

.sidebar-toggle-btn:hover {
  background: rgba(255, 255, 255, .12);
}

.sidebar-toggle-btn i { font-size: 1.5rem; }

#toggle-btn {
  background-color: transparent;
  cursor: pointer;
  border: 0;
  padding: 1rem 1.5rem;
}

.sidebar-logo {
  margin: auto 0;
  overflow: hidden;
}

.sidebar-logo a.pegasus-brand {
  color: var(--pegasus-menu-text, #FFF);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  line-height: 1.2;
}

.sidebar-brand-block { width: 100%; }

.sidebar-empresa-logo {
  height: 36px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
  flex-shrink: 0;
}

.sidebar-empresa-nome {
  color: var(--pegasus-menu-text, #fff);
  opacity: 0.85;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}

#sidebar:not(.expand) .sidebar-brand-block .min-w-0 {
  display: none;
}

#sidebar:not(.expand) .sidebar-nav > .sidebar-nav-list > .sidebar-item > a.sidebar-link > span,
#sidebar:not(.expand) .sidebar-footer > a.sidebar-link > span {
  display: none;
  text-decoration: none;
}

#sidebar:not(.expand) .sidebar-link i { margin-right: 0; }

#sidebar:not(.expand) a.sidebar-link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: .5rem 0;
}

.sidebar-nav-list { padding: 0; }

.sidebar-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: .75rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}

a.sidebar-link {
  padding: .65rem 1.25rem;
  color: var(--pegasus-menu-text, #FFF);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  white-space: nowrap;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.sidebar-link-sub {
  padding-left: 1.5rem !important;
  font-size: 0.85rem;
}

.sidebar-link i {
  font-size: 1.1rem;
  margin-right: .75rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

a.sidebar-link:hover {
  background-color: rgba(255, 255, 255, .075);
  border-left: 3px solid var(--pegasus-menu-accent, #3b7ddd);
}

.sidebar-item { position: relative; }

#sidebar .sidebar-dropdown {
  padding: 8px;
  margin: 0 10px 8px 10px;
  border-radius: 10px;
  background-color: var(--pegasus-menu-submenu, #80aadc);
}

#sidebar.expand .sidebar-dropdown .sidebar-link {
  padding-left: 1rem;
  font-size: 0.85rem;
}

#sidebar.sidebar-icons-only {
  overflow-x: visible;
  overflow-y: visible;
}

#sidebar.sidebar-icons-only .sidebar-nav {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#sidebar.sidebar-icons-only .sidebar-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#sidebar.sidebar-icons-only .sidebar-item.has-flyout > .sidebar-dropdown {
  display: none;
  position: fixed;
  min-width: 15rem;
  max-width: min(20rem, calc(100vw - 90px));
  max-height: min(70vh, calc(100vh - 16px));
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  background-color: var(--pegasus-menu-submenu, #80aadc);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  z-index: 10050;
  list-style: none;
  scrollbar-width: thin;
}

#sidebar.sidebar-icons-only .sidebar-item.has-flyout > .sidebar-dropdown .sidebar-link {
  color: #fff;
  border-left: none;
  padding: .5rem .75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  display: block;
}

#sidebar.sidebar-icons-only .sidebar-item.has-flyout > .sidebar-dropdown .sidebar-link span {
  display: inline !important;
}

#sidebar.sidebar-icons-only .sidebar-item.has-flyout > .sidebar-dropdown .sidebar-link:hover {
  background-color: rgba(255, 255, 255, .15);
  border-left: none;
}

#sidebar.sidebar-icons-only .sidebar-item.has-flyout.flyout-active > .sidebar-dropdown,
#sidebar.sidebar-icons-only .sidebar-item.has-flyout.flyout-open > .sidebar-dropdown {
  display: block;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
  border: solid #fff;
  border-width: 0 .075rem .075rem 0;
  content: "";
  display: inline-block;
  padding: 2px;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  margin-top: -4px;
  transform: rotate(-135deg);
  transition: transform .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
  transform: rotate(45deg);
}

.has-dropdown { position: relative; }

.sidebar-minimizer {
  display: flex;
  position: fixed;
  top: 50%;
  left: 70px;
  right: auto;
  transform: translateY(-50%) translateX(-50%);
  width: 22px;
  height: 56px;
  border-radius: 0 11px 11px 0;
  border: none;
  background-color: #f8f9fa;
  box-shadow: 2px 0 6px rgba(0, 0, 0, .18);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
  pointer-events: auto;
  transition: left .25s ease-in-out;
}

#sidebar.expand .sidebar-minimizer { left: 260px; }

.sidebar-minimizer .arrow-icon {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pegasus-menu-bg, #4570B4);
  line-height: 1;
}

@media (max-width: 767.98px) {
  #sidebar.minimized {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0;
    overflow: visible;
    background-color: transparent;
  }

  #sidebar.minimized > .sidebar-header,
  #sidebar.minimized > .sidebar-nav,
  #sidebar.minimized > .sidebar-footer {
    display: none !important;
  }

  #sidebar.minimized .sidebar-minimizer {
    left: 0;
    transform: translateY(-50%);
    width: 22px;
    height: 64px;
    border-radius: 0 10px 10px 0;
    background-color: var(--pegasus-menu-bg, #4570B4);
    box-shadow: 2px 0 8px rgba(0, 0, 0, .25);
    z-index: 1100;
  }

  #sidebar.minimized .sidebar-minimizer .arrow-icon { color: #fff; }

  #sidebar:not(.minimized):not(.expand) {
    width: 70px;
    min-width: 70px;
  }

  #sidebar:not(.minimized).expand {
    width: 260px;
    min-width: 260px;
  }
}

@media (min-width: 768px) {
  #sidebar.minimized {
    width: 70px;
    min-width: 70px;
    background-color: var(--pegasus-menu-bg, #4570B4);
  }

  #sidebar.minimized > .sidebar-header,
  #sidebar.minimized > .sidebar-nav,
  #sidebar.minimized > .sidebar-footer {
    display: revert !important;
  }
}

.topbar {
  width: 100%;
  margin: 0;
  border-radius: 0;
  background-color: var(--pegasus-topbar-bg, #ffffff);
  border-bottom: 1px solid var(--pegasus-topbar-border, #eaeaea);
  color: var(--pegasus-topbar-text, #333);
}

.topbar-left,
.topbar-left .fw-semibold,
.topbar-user-nome,
.topbar-user-toggle {
  color: var(--pegasus-topbar-text, #333) !important;
}

.topbar-user-toggle .bi-person-circle {
  color: var(--pegasus-topbar-icon, var(--pegasus-menu-bg, #4570B4)) !important;
}

.topbar-user-toggle {
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  box-shadow: none;
}

.topbar-user-toggle:hover,
.topbar-user-toggle:focus,
.topbar-user-toggle.show {
  background: rgba(0, 0, 0, 0.05);
  color: var(--pegasus-topbar-text, #333) !important;
}

.topbar-user-nome {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer {
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.875rem;
}

/* === Componentes de página (Ops) === */
.ops-page-title {
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
}

.ops-page-sub {
  color: var(--ops-muted);
  font-size: .9rem;
  margin: .2rem 0 0;
}

.ops-card {
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.ops-card-header {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--ops-border);
  font-weight: 600;
}

.ops-card-body { padding: 1rem; }

.ops-kpi {
  border: 1px solid transparent;
  border-radius: var(--ops-radius);
  padding: 1rem 1.1rem 1rem 1.15rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(69, 112, 180, .08);
}

a.ops-kpi {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.ops-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(69, 112, 180, .16);
  text-decoration: none;
  color: inherit;
}
a.ops-kpi:focus-visible {
  outline: 2px solid var(--pegasus-accent, #2E7DCE);
  outline-offset: 2px;
}
a.ops-kpi .hint::after {
  content: " · ver detalhes";
  font-weight: 600;
  opacity: .75;
}

.ops-kpi::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--pegasus-menu-bg);
}

.ops-kpi .kpi-icon {
  position: absolute;
  right: .85rem;
  top: .85rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  opacity: .95;
}

.ops-kpi .label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  padding-right: 2.5rem;
}

.ops-kpi .value {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
}

.ops-kpi .hint {
  font-size: .8rem;
  margin-top: .35rem;
  opacity: .85;
}

/* Variantes coloridas */
.ops-kpi.kpi-blue {
  background: linear-gradient(135deg, #E8F1FB 0%, #F5F9FF 100%);
  border-color: #C5D8F0;
}
.ops-kpi.kpi-blue::before { background: #4570B4; }
.ops-kpi.kpi-blue .label { color: #2F528A; }
.ops-kpi.kpi-blue .value { color: #1E3F73; }
.ops-kpi.kpi-blue .kpi-icon { background: #4570B4; color: #fff; }

.ops-kpi.kpi-ok {
  background: linear-gradient(135deg, #E6F6EE 0%, #F3FBF7 100%);
  border-color: #B7E0C8;
}
.ops-kpi.kpi-ok::before { background: #198754; }
.ops-kpi.kpi-ok .label { color: #146C43; }
.ops-kpi.kpi-ok .value { color: #0F5132; }
.ops-kpi.kpi-ok .kpi-icon { background: #198754; color: #fff; }

.ops-kpi.kpi-warn {
  background: linear-gradient(135deg, #FFF4E0 0%, #FFFBF3 100%);
  border-color: #F0D6A0;
}
.ops-kpi.kpi-warn::before { background: #E09600; }
.ops-kpi.kpi-warn .label { color: #9A6500; }
.ops-kpi.kpi-warn .value { color: #7A4F00; }
.ops-kpi.kpi-warn .kpi-icon { background: #E09600; color: #fff; }

.ops-kpi.kpi-danger {
  background: linear-gradient(135deg, #FDECEC 0%, #FFF6F6 100%);
  border-color: #F0B8B8;
}
.ops-kpi.kpi-danger::before { background: #DC3545; }
.ops-kpi.kpi-danger .label { color: #B02A37; }
.ops-kpi.kpi-danger .value { color: #842029; }
.ops-kpi.kpi-danger .kpi-icon { background: #DC3545; color: #fff; }

.ops-kpi.kpi-teal {
  background: linear-gradient(135deg, #E5F7F6 0%, #F4FCFC 100%);
  border-color: #B5E0DC;
}
.ops-kpi.kpi-teal::before { background: #0D9488; }
.ops-kpi.kpi-teal .label { color: #0F766E; }
.ops-kpi.kpi-teal .value { color: #115E59; }
.ops-kpi.kpi-teal .kpi-icon { background: #0D9488; color: #fff; }

.badge-grav-baixa { background: #E8F5E9; color: #1B5E20; }
.badge-grav-media { background: #FFF8E1; color: #E65100; }
.badge-grav-alta { background: #FBE9E7; color: #BF360C; }
.badge-grav-critica { background: #C62828; color: #fff; }
.badge-status-ok { background: #E8F5E9; color: #1B5E20; }
.badge-status-andamento { background: #E3F2FD; color: #0D47A1; }
.badge-status-cancel { background: #ECEFF1; color: #455A64; }
.badge-posto-pendente { background: #FFF3E0; color: #E65100; }
.badge-posto-visitado { background: #E8F5E9; color: #1B5E20; }

.btn-ops {
  background-color: var(--pegasus-menu-bg) !important;
  border-color: var(--pegasus-menu-bg) !important;
  color: #fff !important;
  font-weight: 600;
}
.btn-ops:hover {
  background-color: var(--pegasus-menu-accent) !important;
  border-color: var(--pegasus-menu-accent) !important;
  color: #fff !important;
}
.btn-ops-outline {
  border: 1px solid var(--pegasus-menu-bg) !important;
  color: var(--pegasus-menu-bg) !important;
  background: #fff !important;
  font-weight: 600;
}
.btn-ops-outline:hover {
  background: var(--pegasus-menu-bg) !important;
  color: #fff !important;
}

/* Atalhos do dashboard */
.ops-quick-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 76px;
  padding: .9rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(69, 112, 180, .08);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}

.ops-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(69, 112, 180, .16);
  color: inherit;
}

.ops-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  color: #fff;
}

.ops-quick-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  flex-grow: 1;
}

.ops-quick-text strong {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}

.ops-quick-text small {
  font-size: .8rem;
  opacity: .85;
  line-height: 1.3;
}

.ops-quick-arrow {
  font-size: 1.1rem;
  opacity: .45;
  flex-shrink: 0;
}

.ops-quick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 .4rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: #DC3545;
  color: #fff;
}

.ops-quick-blue {
  background: linear-gradient(135deg, #E8F1FB 0%, #F5F9FF 100%);
  border-color: #C5D8F0;
}
.ops-quick-blue .ops-quick-icon { background: #4570B4; }
.ops-quick-blue strong { color: #1E3F73; }
.ops-quick-blue small { color: #2F528A; }

.ops-quick-warn {
  background: linear-gradient(135deg, #FFF4E0 0%, #FFFBF3 100%);
  border-color: #F0D6A0;
}
.ops-quick-warn .ops-quick-icon { background: #E09600; }
.ops-quick-warn strong { color: #7A4F00; }
.ops-quick-warn small { color: #9A6500; }
.ops-quick-warn.has-alert {
  border-color: #F0B8B8;
  background: linear-gradient(135deg, #FDECEC 0%, #FFF8F0 100%);
}
.ops-quick-warn.has-alert .ops-quick-icon { background: #DC3545; }

.ops-quick-teal {
  background: linear-gradient(135deg, #E5F7F6 0%, #F4FCFC 100%);
  border-color: #B5E0DC;
}
.ops-quick-teal .ops-quick-icon { background: #0D9488; }
.ops-quick-teal strong { color: #115E59; }
.ops-quick-teal small { color: #0F766E; }

@media (max-width: 767.98px) {
  .ops-quick-card {
    min-height: 84px;
    padding: 1rem 1.05rem;
  }
  .ops-quick-icon {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }
}

/* Dashboard charts */
.ops-chart-wrap {
  position: relative;
  width: 100%;
  height: 280px;
}

.ops-gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 160px;
  height: 140px;
  margin: 0 auto;
}

.ops-gauge-card {
  text-align: center;
  padding: 1rem .75rem;
}

.ops-gauge-card .ops-gauge-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ops-muted);
  margin-top: .35rem;
}

.ops-live-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid #C5D8F0;
  background: linear-gradient(135deg, #E8F1FB 0%, #F5F9FF 100%);
  margin-bottom: 1rem;
}

.ops-live-banner .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E09600;
  box-shadow: 0 0 0 0 rgba(224, 150, 0, .5);
  animation: ops-pulse 1.6s infinite;
}

@keyframes ops-pulse {
  70% { box-shadow: 0 0 0 10px rgba(224, 150, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 150, 0, 0); }
}

.ops-tabs-campo {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ops-tabs-campo a {
  flex: 1 1 auto;
  text-align: center;
  min-height: 44px;
  padding: .65rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--ops-border);
  background: #fff;
  color: var(--ops-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.ops-tabs-campo a.active {
  background: var(--pegasus-menu-bg);
  border-color: var(--pegasus-menu-bg);
  color: #fff;
}

.ops-tabs-campo .tab-count {
  font-size: .75rem;
  opacity: .85;
  font-weight: 700;
}

.ops-table { font-size: .92rem; }
.ops-table thead th {
  background: #F7F9FC;
  color: var(--ops-muted);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--ops-border);
}

.ops-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--pegasus-menu-bg), var(--pegasus-menu-accent));
}

.ops-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.ops-login-brand { text-align: center; margin-bottom: 1.5rem; }
.ops-login-brand .mark {
  width: 56px; height: 56px; border-radius: 12px; margin: 0 auto .75rem;
  background: var(--pegasus-menu-bg);
  color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700;
}
.ops-login-brand h1 { font-size: 1.5rem; margin: 0; font-weight: 600; }
.ops-login-brand p { color: var(--ops-muted); margin: .35rem 0 0; font-size: .9rem; }

.ops-posto-card {
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  background: #fff;
  padding: 1rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  color: inherit;
}

.ops-posto-card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: #E8F1FB; color: var(--pegasus-menu-bg);
  display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0;
}

.ops-check-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ops-border);
}
.ops-check-item:last-child { border-bottom: 0; }

.ops-progress {
  height: 8px; border-radius: 999px; background: #E4EAF2; overflow: hidden;
}
.ops-progress > span {
  display: block; height: 100%; background: var(--ops-ok);
  border-radius: 999px; transition: width .25s ease;
}

.ops-mobile-actions {
  position: sticky; bottom: 0; z-index: 15;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--ops-border);
  padding: .75rem 0;
  margin: 1rem 0 0;
  display: flex; gap: .5rem; flex-wrap: wrap;
}

.ops-sig-pad {
  border: 1px dashed var(--ops-border);
  border-radius: 10px;
  background: #FAFBFD;
  touch-action: none;
  width: 100%;
  height: 160px;
  cursor: crosshair;
}

@media print {
  #sidebar, .topbar, .sidebar-minimizer, .ops-mobile-actions, .btn, form.ops-card, .footer {
    display: none !important;
  }
  .main { margin: 0 !important; }
  .content { padding: 0 !important; }
}
