:root {
  --m360-primary: #7A1F2B;
  --m360-accent: #C9A227;
  --m360-bg: #F3EEE8;
  --m360-sidebar: #2C1810;
  --m360-card: #fffdf9;
  --m360-text: #2a211c;
  --m360-muted: #6d625a;
  --m360-border: #e4d8cc;
  --m360-success: #2f6b3a;
  --m360-danger: #a33b2b;
  --m360-radius: 12px;
  --m360-shadow: 0 10px 30px rgba(44, 24, 16, 0.08);
}

* { box-sizing: border-box; }

body.m360-body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--m360-text);
  background:
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f2ec 0%, var(--m360-bg) 100%);
  min-height: 100vh;
}

a { color: var(--m360-primary); text-decoration: none; }
a:hover { color: #5e1520; }

.m360-shell { display: flex; min-height: 100vh; }

.m360-sidebar {
  width: 250px;
  background: linear-gradient(180deg, #3a2117 0%, var(--m360-sidebar) 100%);
  color: #f8efe4;
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m360-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .4rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.m360-drawer-close,
.m360-sidebar-backdrop {
  display: none;
}

.m360-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--m360-border);
  border-radius: 8px;
  background: var(--m360-card, #fff);
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.m360-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--m360-text);
  transition: all .2s ease;
}
.m360-menu-btn:hover {
  background: #fdfaf6;
  border-color: var(--m360-accent);
}

.m360-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 239, 228, 0.85);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  margin-left: auto;
  flex-shrink: 0;
}
.m360-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .m360-collapse-btn { display: none !important; }
}

.m360-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--m360-primary), #a33b2b);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff8e8;
  box-shadow: inset 0 0 0 2px rgba(201,162,39,.45);
}

.m360-brand h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: .02em;
}

.m360-brand small {
  display: block;
  color: rgba(248,239,228,.65);
  font-size: .75rem;
}

.m360-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: .15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,162,39,.35) transparent;
}

.m360-nav a,
.m360-nav-link,
.m360-nav-group-label {
  color: rgba(248,239,228,.88);
  padding: .62rem .85rem;
  border-radius: 10px;
  font-weight: 600;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.m360-nav a:hover,
.m360-nav-link:hover,
.m360-nav a.active,
.m360-nav-link.active,
.m360-nav-group-label:hover,
.m360-nav-group-label.is-active {
  background: rgba(201,162,39,.16);
  color: #fff;
}

.m360-nav-group {
  border-radius: 10px;
}

.m360-nav-group-label {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  user-select: none;
  letter-spacing: .01em;
}

.m360-nav-group-label::-webkit-details-marker { display: none; }

.m360-nav-group-label::after {
  content: '';
  width: .45rem;
  height: .45rem;
  border-right: 2px solid rgba(248,239,228,.55);
  border-bottom: 2px solid rgba(248,239,228,.55);
  transform: rotate(-45deg);
  transition: transform .18s ease;
  flex-shrink: 0;
  margin-right: .15rem;
}

.m360-nav-group[open] > .m360-nav-group-label::after {
  transform: rotate(45deg);
  margin-top: -.15rem;
}

.m360-nav-sub {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding: .15rem 0 .35rem .45rem;
  margin: 0 0 .2rem .35rem;
  border-left: 1px solid rgba(201,162,39,.22);
}

.m360-nav-sub a {
  padding: .48rem .75rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(248,239,228,.78);
}

.m360-nav-sub a.active {
  background: rgba(201,162,39,.22);
  color: #fff;
  font-weight: 650;
}

.m360-nav-subhead {
  margin: .45rem .75rem .1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(248,239,228,.42);
}

.m360-sidebar-foot {
  font-size: .75rem;
  color: rgba(248,239,228,.45);
  padding: .5rem .4rem 0;
}

.m360-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.m360-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--m360-border);
  background: rgba(255,253,249,.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.m360-topbar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex: 1;
}

.m360-topbar-title-wrap { min-width: 0; }

.m360-topbar h2 {
  margin: 0;
  font-size: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m360-topbar .muted { color: var(--m360-muted); font-size: .9rem; }

.m360-topbar-actions { margin: 0 !important; flex-shrink: 0; }

.m360-content { padding: 1.25rem 1.5rem 2rem; }

.m360-card {
  background: var(--m360-card);
  border: 1px solid var(--m360-border);
  border-radius: var(--m360-radius);
  box-shadow: var(--m360-shadow);
  padding: 1.1rem 1.2rem;
}

.m360-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1rem;
}

.m360-stat h3 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--m360-primary);
}

.m360-stat p {
  margin: .25rem 0 0;
  color: var(--m360-muted);
  font-size: .9rem;
}

.m360-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin-bottom: 1rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: .65rem 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  line-height: 1.2;
}

.btn-primary {
  background: var(--m360-primary);
  color: #fff8f2;
}

.btn-primary:hover { filter: brightness(1.05); color: #fff; }

.btn-accent {
  background: var(--m360-accent);
  color: #2c1810;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--m360-border);
  color: var(--m360-text);
}

.btn-danger {
  background: var(--m360-danger);
  color: #fff;
}

.btn-sm { padding: .4rem .7rem; font-size: .85rem; }

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-weight: 650;
  margin-bottom: .35rem;
  font-size: .92rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="color"],
input[type="file"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--m360-border);
  border-radius: 10px;
  padding: .7rem .8rem;
  background: #fff;
  color: var(--m360-text);
  font: inherit;
  min-height: 44px;
}

textarea { min-height: 90px; resize: vertical; }

.help { color: var(--m360-muted); font-size: .82rem; margin-top: .25rem; }

.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

table.m360-table {
  width: 100%;
  border-collapse: collapse;
}

table.m360-table th,
table.m360-table td {
  padding: .75rem .6rem;
  border-bottom: 1px solid var(--m360-border);
  text-align: left;
  vertical-align: top;
}

table.m360-table th {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--m360-muted);
}

.badge {
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: #efe4d6;
  color: #5a4638;
}

.badge-warn { background: #f7e2b8; color: #7a5510; }
.badge-danger { background: #f3d2cb; color: #8a2e22; }
.badge-ok { background: #d9ecdd; color: #245532; }

.alert {
  padding: .85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success { background: #e7f5ea; border-color: #b9dcc2; color: var(--m360-success); }
.alert-danger { background: #f8e8e5; border-color: #e5c2bb; color: var(--m360-danger); }

.auth-wrap, .install-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-card, .install-card {
  width: min(720px, 100%);
  background: var(--m360-card);
  border: 1px solid var(--m360-border);
  border-radius: 18px;
  box-shadow: var(--m360-shadow);
  padding: 1.5rem;
}

.auth-card { width: min(420px, 100%); }

.auth-card h1, .install-card h1 {
  margin: 0 0 .35rem;
  color: var(--m360-primary);
}

.empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--m360-muted);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.7rem;
}

.checkbox-row input { width: auto; }

/* —— Phone / tablet shell —— */
@media (max-width: 900px) {
  html, body.m360-body {
    overflow-x: hidden;
    max-width: 100%;
  }
  .m360-shell {
    display: block;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .m360-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .m360-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--m360-border);
    border-radius: 12px;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
  }
  .m360-menu-btn span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--m360-text);
  }

  .m360-drawer-close {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff8ee;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .m360-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(20, 10, 6, .45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  body.m360-nav-open .m360-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .m360-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 300px);
    height: 100vh;
    height: 100dvh;
    z-index: 90;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 16px 0 40px rgba(0,0,0,.28);
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  body.m360-nav-open .m360-sidebar { transform: translateX(0); }

  .m360-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-y: auto;
    gap: .2rem;
  }
  .m360-nav-group { min-width: 0; width: 100%; }
  .m360-nav a,
  .m360-nav-link,
  .m360-nav-group-label { min-height: 44px; }

  .m360-main { width: 100%; min-width: 0; }

  .m360-topbar {
    padding: .55rem .75rem;
    padding-top: max(.55rem, env(safe-area-inset-top));
    gap: .45rem;
    z-index: 40;
  }
  .m360-topbar h2 { font-size: 1rem; }
  .m360-topbar .muted,
  .m360-topbar-title-wrap .muted { display: none !important; }
  .m360-user-label { display: none; }
  .m360-topbar-compact .m360-topbar-title-wrap h2 { font-size: .95rem; }
  .m360-menu-btn {
    width: 38px;
    height: 38px;
    gap: 4px;
    padding: 0 9px;
  }

  .m360-content {
    padding: .7rem .75rem calc(5.5rem + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .m360-content > *,
  .bq-page,
  .pv-page,
  .vv-page,
  .lb-page {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .m360-card { padding: .95rem; border-radius: 14px; }
  .m360-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .m360-stat h3 { font-size: 1.35rem; }
  .form-grid { grid-template-columns: 1fr; }
  .m360-actions {
    gap: .45rem;
    flex-direction: column;
    align-items: stretch;
  }
  .m360-topbar-actions {
    flex-direction: row !important;
    align-items: center !important;
  }
  .m360-actions form {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    width: 100%;
  }
  .m360-actions form :is(select, input[type="date"], input[type="text"], input[type="search"]) {
    flex: 1 1 10rem;
    max-width: none !important;
    min-width: 0;
  }
  .m360-actions > .btn,
  .m360-actions > a.btn {
    width: 100%;
  }
  .m360-actions form .btn { width: auto; flex: 0 0 auto; }
  .btn {
    min-height: 44px;
    padding: .7rem .95rem;
    justify-content: center;
  }
  .btn-sm { min-height: 38px; }

  table.m360-table,
  table.pv-table,
  table.vv-table,
  table.lb-table,
  table.day-book-table { min-width: 560px; }
  .table-wrap {
    margin-inline: -.15rem;
    border-radius: 10px;
  }

  /* Auto-scroll wide tables */
  .m360-card:has(> table),
  .m360-card:has(> .m360-table),
  .pv-panel:has(table),
  .vv-panel:has(table),
  .lb-panel:has(table),
  .m360-content section:has(> table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Compact page heroes — save vertical space on phone */
  .bq-hero,
  .pv-hero,
  .vv-hero,
  .lb-hero,
  .cal-hero {
    padding: .7rem .85rem !important;
    border-radius: 14px !important;
    gap: .55rem !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  .bq-hero h3,
  .pv-hero h3,
  .vv-hero h3,
  .lb-hero h3,
  .cal-month-title {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
  }
  .bq-hero p,
  .pv-hero p,
  .vv-hero p,
  .lb-hero p,
  .bq-chip,
  .pv-chip,
  .vv-chip,
  .lb-chip,
  .cal-kicker {
    display: none !important;
  }
  .bq-hero .m360-actions,
  .pv-hero .m360-actions,
  .vv-hero .m360-actions,
  .lb-hero .m360-actions {
    flex-direction: row !important;
    width: auto !important;
    margin: 0 !important;
    gap: .4rem !important;
    align-items: center !important;
  }
  .bq-hero .m360-actions > .btn,
  .pv-hero .m360-actions > .btn,
  .vv-hero .m360-actions > .btn,
  .lb-hero .m360-actions > .btn,
  .bq-hero .m360-actions > a.btn,
  .pv-hero .m360-actions > a.btn,
  .vv-hero .m360-actions > a.btn,
  .lb-hero .m360-actions > a.btn {
    width: auto !important;
    min-height: 36px !important;
    padding: .4rem .7rem !important;
    font-size: .85rem !important;
  }
  /* Forms with sticky dock already have Save/Cancel — drop duplicate hero buttons */
  .bq-page .bq-hero .m360-actions,
  .pv-page .pv-hero .m360-actions,
  .vv-page .vv-hero .m360-actions {
    display: none !important;
  }
  .cal-stats { display: none !important; }
  .cal-hero-top { width: 100%; gap: .5rem !important; }

  .bq-grid .bq-field,
  .bq-grid .bq-field.span-3,
  .bq-grid .bq-field.span-4,
  .bq-grid .bq-field.span-6,
  .bq-grid .bq-field.span-8,
  .bq-grid .bq-field.span-12,
  .pv-grid .pv-field,
  .pv-grid .pv-field.span-4,
  .pv-grid .pv-field.span-6,
  .pv-grid .pv-field.span-8,
  .pv-grid .pv-field.span-12,
  .vv-grid .vv-field,
  .vv-grid .vv-field.span-4,
  .vv-grid .vv-field.span-8,
  .vv-grid .vv-field.span-12,
  .lb-grid > * {
    grid-column: 1 / -1 !important;
  }

  .bq-dock,
  .pv-dock,
  .vv-dock {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    /* Match .m360-content side gutters so left/right margins stay equal */
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)) !important;
  }
  .bq-dock-inner,
  .pv-dock-inner,
  .vv-dock-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
  }
  .bq-kpi,
  .pv-kpi,
  .vv-kpi {
    min-width: 0 !important;
    padding: .45rem .55rem !important;
    box-sizing: border-box !important;
  }
  .bq-kpi span,
  .pv-kpi span,
  .vv-kpi span {
    font-size: .58rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .bq-kpi strong,
  .pv-kpi strong,
  .vv-kpi strong {
    font-size: .88rem !important;
    overflow-wrap: anywhere;
  }
  /* Keep only the important totals on phone */
  .bq-dock-inner > .bq-kpi:not(.grand):not(.balance),
  .pv-dock-inner > .pv-kpi:not(.grand):not(.balance) {
    display: none !important;
  }
  .vv-dock-copy { display: none !important; }
  .bq-dock-actions,
  .pv-dock-actions,
  .vv-dock-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: .4rem !important;
    margin: 0 !important;
    flex-direction: row !important;
  }
  .bq-dock-actions .btn,
  .pv-dock-actions .btn,
  .vv-dock-actions .btn,
  .bq-dock-actions > a.btn,
  .pv-dock-actions > a.btn,
  .vv-dock-actions > a.btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
  }

  .bq-lines-wrap,
  .pv-lines-wrap,
  .vv-lines-wrap,
  .acct-report-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .acct-report-toolbar {
    flex-direction: column;
    align-items: stretch !important;
  }
  .acct-report-toolbar .m360-actions,
  .acct-report-toolbar form {
    width: 100%;
  }
  .report-overview-grid {
    grid-template-columns: 1fr !important;
  }
  .acct-report-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .finance-hai .card-body { padding: 1rem !important; }
  .finance-hai .modal-dialog {
    margin: .5rem;
    max-width: calc(100% - 1rem);
  }
  .finance-hai .ledger-tab-shell,
  .finance-hai .ledger-tab-shell .tab-pane {
    min-height: 0 !important;
  }
  .finance-hai .dataTables_wrapper .row {
    --bs-gutter-x: .5rem;
  }
  .finance-hai .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }
  .finance-hai table.dataTable {
    width: 100% !important;
  }
  .finance-hai .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cal-stats { gap: .4rem !important; }
  .cal-stat { min-width: calc(50% - .4rem) !important; flex: 1 1 calc(50% - .4rem); }
  .cal-toolbar { align-items: stretch !important; }
  .cal-actions { width: 100%; }
  .cal-actions .btn { flex: 1; }
}

@media (max-width: 560px) {
  .m360-grid { grid-template-columns: 1fr 1fr; }
  .m360-content,
  .bq-dock,
  .pv-dock,
  .vv-dock {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }
  .acct-report-kpi-grid { grid-template-columns: 1fr 1fr !important; }
  .bq-dock-inner,
  .pv-dock-inner,
  .vv-dock-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  .m360-topbar-title-wrap .muted { display: none; }
}

@media (min-width: 901px) {
  .m360-drawer-close,
  .m360-sidebar-backdrop { display: none !important; }
  body.m360-nav-open { overflow: auto !important; }

  .m360-sidebar {
    transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html.m360-sidebar-collapsed body .m360-sidebar,
  body.m360-sidebar-collapsed .m360-sidebar {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    border: none !important;
    pointer-events: none !important;
  }

  html.m360-sidebar-collapsed body .m360-main,
  body.m360-sidebar-collapsed .m360-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
  }
}
