/* UTS Control — Tokens */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  /* surfaces */
  --bg-0: oklch(0.16 0.012 250);
  --bg-1: oklch(0.196 0.013 250);
  --bg-2: oklch(0.232 0.013 250);
  --bg-3: oklch(0.272 0.013 250);
  --bg-4: oklch(0.32 0.013 250);
  --line-1: oklch(0.30 0.012 250);
  --line-2: oklch(0.38 0.013 250);
  --line-3: oklch(0.46 0.014 250);

  /* text */
  --fg-0: oklch(0.97 0.004 250);
  --fg-1: oklch(0.86 0.006 250);
  --fg-2: oklch(0.70 0.012 250);
  --fg-3: oklch(0.54 0.014 250);
  --fg-4: oklch(0.42 0.014 250);

  /* state */
  --st-closed: oklch(0.78 0.15 152);    /* 내려감/안전 */
  --st-closed-dim: oklch(0.42 0.10 152);
  --st-open: oklch(0.72 0.18 28);       /* 올라감/통행중 */
  --st-open-dim: oklch(0.40 0.13 28);
  --st-trans: oklch(0.82 0.14 80);      /* 전환중 */
  --st-trans-dim: oklch(0.46 0.10 80);
  --st-offline: oklch(0.54 0.012 250);
  --st-offline-dim: oklch(0.30 0.012 250);

  /* accent */
  --ac: oklch(0.78 0.13 232);
  --ac-dim: oklch(0.42 0.10 232);
  --ac-fg: oklch(0.18 0.05 232);

  /* danger (bulk) */
  --dg: oklch(0.70 0.20 25);
  --dg-dim: oklch(0.34 0.13 25);

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;

  --shadow-1: 0 1px 0 oklch(0.10 0.012 250 / 0.5);
  --shadow-2: 0 6px 24px oklch(0.06 0.012 250 / 0.6), 0 1px 0 oklch(1 0 0 / 0.03) inset;
}

*{ box-sizing: border-box; }
html, body, #root{ height: 100%; }
body{
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  min-height: 100vh;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

button{ font-family: inherit; color: inherit; }
input, select, textarea{ font-family: inherit; color: inherit; }

/* scrollbar */
*::-webkit-scrollbar{ width: 10px; height: 10px; }
*::-webkit-scrollbar-track{ background: transparent; }
*::-webkit-scrollbar-thumb{ background: var(--bg-4); border-radius: 6px; border: 2px solid var(--bg-0); }
*::-webkit-scrollbar-thumb:hover{ background: var(--line-2); }

.mono{ font-family: var(--mono); font-feature-settings: "tnum" 1; }
.tnum{ font-variant-numeric: tabular-nums; }

/* App shell */
.app{
  display: grid;
  grid-template-columns: 232px 1fr;
  grid-template-rows: 48px 1fr;
  height: 100%;
  min-height: 600px;
  position: relative;
  min-width: 0;
}
.topbar{
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 0 12px 0 16px;
  background: linear-gradient(to bottom, var(--bg-1), var(--bg-0));
  border-bottom: 1px solid var(--line-1);
  gap: 16px;
  position: relative;
  z-index: 10;
}
.brand{
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em;
  font-size: 13px;
}
.brand-mark{
  width: 22px; height: 22px;
  border-radius: 6px;
  background-color: var(--ac);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23fff'%3E%3Crect x='3.5' y='12.5' width='3.2' height='8' rx='1'/%3E%3Cg transform='rotate(-30 5.1 13.6)'%3E%3Crect x='5.1' y='12' width='15.5' height='3.4' rx='1.7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(145deg, var(--ac) 0%, oklch(0.6 0.16 270) 100%);
  background-size: contain, cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1) inset, 0 1px 2px oklch(0 0 0 / 0.3);
}
.brand-sep{ width: 1px; height: 18px; background: var(--line-1); }

.topbar-status{
  display: flex; gap: 14px; align-items: center;
  font-size: 11px; color: var(--fg-2);
}
.topbar-status .item{ display: flex; align-items: center; gap: 6px; }
.dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--fg-4); flex: none; }
.dot.on{ background: var(--st-closed); box-shadow: 0 0 0 3px oklch(0.78 0.15 152 / 0.18); }
.dot.warn{ background: var(--st-trans); box-shadow: 0 0 0 3px oklch(0.82 0.14 80 / 0.18); }
.dot.alert{ background: var(--st-open); box-shadow: 0 0 0 3px oklch(0.72 0.18 28 / 0.18); }
.dot.off{ background: var(--st-offline); }

.topbar-right{
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
}
.kbd{
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--bg-3);
  color: var(--fg-2);
  border: 1px solid var(--line-1);
}
.user-chip{
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  cursor: pointer;
}
.user-chip:hover{ background: var(--bg-3); }
.avatar{
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.62 0.1 232), oklch(0.58 0.12 290));
  color: white; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.user-chip .role{
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--ac-dim);
  color: var(--ac);
  font-weight: 600;
}

/* Sidebar */
.sidebar{
  background: var(--bg-1);
  border-right: 1px solid var(--line-1);
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 2px;
  overflow-y: auto;
}
.sidebar-section{
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  padding: 12px 10px 4px;
  font-weight: 600;
}
.nav-item{
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-2);
  cursor: pointer;
  color: var(--fg-2);
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  position: relative;
}
.nav-item:hover{ background: var(--bg-2); color: var(--fg-0); }
.nav-item.active{
  background: var(--bg-3);
  color: var(--fg-0);
  border-color: var(--line-1);
}
.nav-item.active::before{
  content: "";
  position: absolute;
  left: -8px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 2px;
  background: var(--ac);
}
.nav-item .ico{ width: 16px; height: 16px; flex: none; color: var(--fg-3); }
.nav-item.active .ico{ color: var(--ac); }
.nav-item .badge{
  margin-left: auto;
  font-family: var(--mono); font-size: 10px;
  padding: 1px 5px;
  background: var(--bg-3);
  border-radius: 3px;
  color: var(--fg-2);
}
.nav-item.danger .badge{ background: var(--st-open-dim); color: var(--st-open); }

.sidebar-foot{
  margin-top: auto;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--fg-4);
  display: flex; flex-direction: column; gap: 4px;
}

/* Main */
.main{
  background: var(--bg-0);
  overflow: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.main > *{ min-width: 0; }
.page-head{
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 18px 24px 14px;
  gap: 16px;
  row-gap: 12px;
  border-bottom: 1px solid var(--line-1);
  background: linear-gradient(to bottom, var(--bg-1), var(--bg-0));
}
.page-head > :first-child{ min-width: 0; flex: 1 1 auto; }
.page-title{
  font-size: 18px; font-weight: 700;
  color: var(--fg-0);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.page-sub{
  font-size: 11px; color: var(--fg-3);
}
.crumb{
  font-size: 11px; color: var(--fg-3);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.crumb .sep{ color: var(--fg-4); }
.page-actions{
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
}

/* Buttons */
.btn{
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-1);
  background: var(--bg-2);
  color: var(--fg-1);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover{ background: var(--bg-3); border-color: var(--line-2); color: var(--fg-0); }
.btn.primary{
  background: var(--ac);
  color: var(--ac-fg);
  border-color: oklch(0.82 0.13 232);
  font-weight: 600;
}
.btn.primary:hover{ background: oklch(0.82 0.13 232); }
.btn.danger{
  background: var(--dg);
  color: oklch(0.16 0.05 25);
  border-color: oklch(0.74 0.20 25);
  font-weight: 600;
}
.btn.ghost{ background: transparent; border-color: transparent; color: var(--fg-2); }
.btn.ghost:hover{ background: var(--bg-2); }
.btn.sm{ padding: 4px 8px; font-size: 11px; }
.btn.lg{ padding: 10px 16px; font-size: 13px; }
.btn.icon-only{ padding: 6px; }
.btn[disabled]{ opacity: 0.4; pointer-events: none; }

/* Inputs */
.input, .select{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-1);
  background: var(--bg-0);
  color: var(--fg-0);
  outline: none;
  min-width: 0;
}
.input:focus, .select:focus{ border-color: var(--ac); box-shadow: 0 0 0 3px oklch(0.78 0.13 232 / 0.18); }
.input::placeholder{ color: var(--fg-4); }
.search{
  position: relative;
}
.search .input{ padding-left: 30px; width: 240px; }
.search .icon{
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  color: var(--fg-3); pointer-events: none;
}

/* Cards */
.card{
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  overflow: hidden;
}
.card-head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
  column-gap: 10px;
  font-size: 12px;
  color: var(--fg-1);
  font-weight: 600;
  background: var(--bg-1);
}
.card-head .title{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  row-gap: 4px;
  min-width: 0;
}
.card-head .title > *{ white-space: nowrap; }
.card-head .actions{
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}
.card-body{ padding: 14px; }

/* Tables */
.table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.table th{
  text-align: left;
  font-weight: 600;
  color: var(--fg-3);
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-1);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky; top: 0;
}
.table td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-1);
  color: var(--fg-1);
}
.table tr:hover td{ background: var(--bg-1); }
.table tr.sel td{ background: oklch(0.78 0.13 232 / 0.08); }

/* Badges & state */
.badge{
  font-size: 10px; font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-3);
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.badge.closed{ background: oklch(0.78 0.15 152 / 0.15); color: var(--st-closed); }
.badge.open{ background: oklch(0.72 0.18 28 / 0.15); color: var(--st-open); }
.badge.trans{ background: oklch(0.82 0.14 80 / 0.15); color: var(--st-trans); }
.badge.locked-open{ background: oklch(0.72 0.18 28 / 0.22); color: var(--st-open); border: 1px solid oklch(0.72 0.18 28 / 0.3); }
.badge.locked-closed{ background: oklch(0.78 0.15 152 / 0.22); color: var(--st-closed); border: 1px solid oklch(0.78 0.15 152 / 0.3); }
.badge.offline{ background: var(--bg-3); color: var(--fg-3); }
.badge.online{ background: oklch(0.78 0.15 152 / 0.12); color: var(--st-closed); }

/* Modal */
.modal-backdrop{
  position: absolute; inset: 0;
  background: oklch(0.08 0.012 250 / 0.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn .15s ease-out;
  padding: 16px;
}
@keyframes fadeIn{ from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp{ from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes spin{ to { transform: rotate(360deg); } }
@keyframes slideInRight{ from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.spinner{ display:inline-block; width:14px; height:14px; flex:none; border:2px solid var(--st-trans); border-top-color:transparent; border-radius:50%; animation:spin .7s linear infinite; }
.modal{
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-2);
  max-width: 520px;
  width: calc(100% - 48px);
  animation: slideUp .18s ease-out;
}
.modal.lg{ max-width: 720px; }
.modal-head{ padding: 16px 20px 12px; border-bottom: 1px solid var(--line-1); }
.modal-body{ padding: 18px 20px; }
.modal-foot{
  padding: 14px 20px;
  border-top: 1px solid var(--line-1);
  display: flex; gap: 8px; justify-content: flex-end;
  background: var(--bg-1);
}

/* utilities */
.row{ display: flex; align-items: center; gap: 8px; }
.col{ display: flex; flex-direction: column; gap: 8px; }
.sp{ flex: 1; }
.muted{ color: var(--fg-3); }
.dim{ color: var(--fg-4); }
.tiny{ font-size: 11px; }
.small{ font-size: 12px; }
.h1{ font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-0); }
.h2{ font-size: 16px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg-0); }
.h3{ font-size: 13px; font-weight: 600; color: var(--fg-1); }
.hairline{ border-top: 1px solid var(--line-1); }
.pad-md{ padding: 16px; }
.pad-lg{ padding: 24px; }
.gap-md{ gap: 16px; }
.gap-lg{ gap: 24px; }

/* Bottom tab bar (mobile) — anchored to .app (the viewport frame), not the window */
.bottom-nav{
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line-1);
  z-index: 50;
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom)) 4px;
}
.bottom-nav-row{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.bottom-nav-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px 6px;
  border-radius: var(--r-2);
  background: transparent;
  border: none;
  color: var(--fg-3);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
}
.bottom-nav-item.active{ color: var(--ac); }
.bottom-nav-item.active .ico-wrap{ background: oklch(0.78 0.13 232 / 0.12); }
.bottom-nav-item .ico-wrap{
  width: 32px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
}
.bottom-nav-item .badge-dot{
  position: absolute; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-open);
  transform: translateX(10px);
}

/* ============================================================
   Viewport frame (Tweakable) — body container that simulates
   tablet/mobile by limiting width + container-query container.
   ============================================================ */
#viewport-frame{
  container-type: size;
  container-name: vp;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  background: var(--bg-0);
  overflow: hidden;
  transition: width .25s ease-out, height .25s ease-out, box-shadow .25s ease-out, border-radius .25s ease-out;
}
body[data-vp="tablet"], body[data-vp="mobile"]{
  background: oklch(0.10 0.012 250);
  padding: 16px 0;
}
body[data-vp="tablet"] #viewport-frame{
  width: 100%;
  max-width: 820px;
  height: calc(100vh - 32px);
  border-radius: 16px;
  box-shadow: 0 24px 80px oklch(0 0 0 / 0.5), 0 0 0 1px var(--line-2);
  overflow: hidden;
}
body[data-vp="mobile"] #viewport-frame{
  width: 100%;
  max-width: 408px;
  height: calc(100vh - 32px);
  border-radius: 28px;
  box-shadow: 0 24px 80px oklch(0 0 0 / 0.5), 0 0 0 1.5px var(--line-3);
  overflow: hidden;
}

/* TABLET 1100 → */
@container vp (max-width: 1100px){
  .app{ grid-template-columns: 56px 1fr; }
  .sidebar{ padding: 8px 4px; }
  .nav-item .label, .sidebar-section, .sidebar-foot{ display: none; }
  .nav-item{ justify-content: center; padding: 10px; }
  .nav-item.active::before{ display: none; }
  .nav-item .badge:not(:empty){ display: none; }
  .search .input{ width: 160px; }
  .topbar-status .item .dim{ display: none; }
  .brand-sub{ display: none; }

  /* page-actions wrap to next line when title block needs room */
  .page-head > :first-child{ flex: 1 1 100%; }
  .page-actions{ width: 100%; margin-left: 0; justify-content: flex-end; }

  /* hide decorative subtitles inside card-head titles on tablet */
  .card-head .title-meta{ display: none !important; }

  /* shrink page-actions buttons a touch */
  .page-actions .btn{ font-size: 11px; padding: 5px 10px; }
}

/* MOBILE 720 → */
@container vp (max-width: 720px){
  .app{
    grid-template-columns: 1fr;
    grid-template-rows: 44px 1fr;
    min-height: 0;
    height: 100%;
  }
  .sidebar{ display: none; }
  .bottom-nav{ display: block; }
  .main{ padding-bottom: 78px; overflow-x: hidden; }

  .topbar{ padding: 0 10px; gap: 10px; }
  .brand span:not(.brand-sub){ font-size: 12px; }
  .topbar-status{ display: none; }
  .topbar-right{ gap: 4px; }
  .topbar-right .btn.icon-only{ padding: 4px; }
  .user-chip span:not(.avatar):not(.role){ display: none; }
  .user-chip .role{ display: none; }
  .user-chip{ padding: 3px; }

  .page-head{
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px 12px;
    gap: 10px;
  }
  .page-head > :first-child{ flex: 1 1 auto; min-width: 0; }
  .page-head .page-actions{
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .page-title{ font-size: 16px; }
  .crumb{ font-size: 10px; }

  /* search & inputs always fit — beats inline width */
  .search{ flex: 1 1 100%; min-width: 0; }
  .search .input{ width: 100% !important; min-width: 0 !important; }
  .input, .select, textarea.input{ max-width: 100%; }
  .page-actions > *{ font-size: 11px; }
  .page-actions .btn{ padding: 6px 10px; }
  .page-actions select.select{ flex: 1 1 auto; min-width: 0; }

  /* every responsive 2-col grid collapses; children may shrink */
  .resp-stack{ grid-template-columns: 1fr !important; flex: none !important; }
  .resp-stack > *{ min-width: 0; }
  /* unwind nested flex:1 + overflow:auto panels — on mobile content flows
     naturally and the whole page (.main) scrolls instead of inner regions
     collapsing to 0 height inside an auto grid row */
  .resp-stack > .card{ min-height: 0 !important; }
  .resp-stack .card[style*="flex"]{ flex: none !important; }
  .resp-stack [style*="overflow:auto"], .resp-stack [style*="overflow: auto"]{
    flex: none !important;
    overflow: visible !important;
    max-height: none !important;
  }

  /* content section paddings tighten */
  .main > div[style*="padding"]{ padding-left: 14px !important; padding-right: 14px !important; }

  /* cards */
  .card{ border-radius: var(--r-2); }
  .card-head{ padding: 10px 12px; }
  .card-body{ padding: 12px; }

  /* tables scroll inside their card instead of pushing the page wide */
  .card{ overflow-x: auto; }
  .table th, .table td{ white-space: nowrap; }

  /* modal */
  .modal{ width: calc(100% - 24px); max-height: calc(100% - 24px); overflow: auto; }
  .modal.lg{ width: calc(100% - 24px); }
  .modal-body{ padding: 14px; }
  .modal-body[style*="grid"]{ grid-template-columns: 1fr !important; }
  .modal-foot{ padding: 12px 14px; flex-wrap: wrap; gap: 6px; }
  .modal-foot .btn{ flex: 1 1 auto; justify-content: center; }

  /* tab strips inside pages scroll horizontally rather than wrap awkwardly */
  .tabstrip{ overflow-x: auto; }

  /* in-page toolbar / filter / tab rows wrap instead of overflowing */
  .toolbar-row{ flex-wrap: wrap; row-gap: 8px; }
  .toolbar-row .search{ flex: 1 1 100%; }
  .toolbar-row .select{ flex: 1 1 auto; }
}

/* Login responsive */
@container vp (max-width: 900px){
  .login-grid{ grid-template-columns: 1fr !important; }
  .login-left{ display: none !important; }
}

/* additional mobile fine tuning */
@container vp (max-width: 720px){
  /* 알림 드롭다운: 좁은 화면에선 종버튼이 아니라 상단바 가장자리에 붙이고 거의 전체 높이 */
  .noti-anchor{ position: static !important; }
  .noti-dropdown{
    position: absolute !important;
    top: 50px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100cqh - 60px) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .noti-list{ flex: 1 1 auto; min-height: 0; max-height: none !important; }

  /* Dashboard stat cards: 2 col */
  .resp-grid-4{ grid-template-columns: 1fr 1fr !important; }


  /* Login form */
  .login-form-pad{ padding: 28px 20px !important; }

  /* tighten table cells a touch */
  .table th, .table td{ padding: 8px 10px; font-size: 11px; }

}

@container vp (max-width: 480px){
  .resp-grid-4{ grid-template-columns: 1fr !important; }
  .bottom-nav-item{ font-size: 9px; }
}


