:root {
  --ink: #14202b;
  --muted: #667085;
  --subtle: #8a95a5;
  --line: #d8dee7;
  --line-strong: #c5ceda;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --nav: #101820;
  --nav-soft: #172331;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #b45309;
  --rose: #be123c;
  --green: #15803d;
  --slate: #475569;
  --shadow: 0 16px 45px rgba(20, 32, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 1120px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

.is-hidden {
  display: none !important;
}

.desktop-warning {
  display: none;
  padding: 10px 16px;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-weight: 700;
}

@media (max-width: 1179px) {
  .desktop-warning {
    display: block;
  }
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.92), rgba(244, 247, 251, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(15, 118, 110, 0.12), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.11), transparent 36%);
}

.login-panel {
  width: min(480px, 100%);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--nav);
  color: #ffffff;
  font-weight: 800;
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.16;
}

h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.login-copy {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--slate);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

input {
  height: 42px;
  padding: 0 12px;
}

textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-error {
  margin: 0;
  color: var(--rose);
  font-weight: 800;
}

.security-note {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 7px;
  background: #fff7ed;
  color: #9a3412;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  white-space: nowrap;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover:not(:disabled) {
  background: #115e59;
}

.button.secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover:not(:disabled) {
  background: #f8fafc;
}

.button:disabled {
  opacity: 0.46;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 220px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px 14px;
  background: var(--nav);
  color: #ffffff;
}

.sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
}

.sidebar-head strong {
  display: block;
  font-size: 16px;
}

.sidebar-head span,
.sidebar-foot span {
  color: #a8b3c3;
}

.nav-list {
  display: grid;
  gap: 5px;
  align-content: start;
}

.nav-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #dbe4ef;
  text-align: left;
}

.nav-item span {
  font-weight: 850;
}

.nav-item small {
  color: #91a0b3;
  font-size: 10px;
  font-weight: 800;
}

.nav-item:hover,
.nav-item.is-active {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--nav-soft);
  color: #ffffff;
}

.nav-item.is-active {
  box-shadow: inset 3px 0 0 var(--teal);
}

.sidebar-foot {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.main-shell {
  min-width: 0;
  padding: 22px 18px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(520px, auto);
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.topbar-actions {
  display: grid;
  grid-template-columns: 280px 178px auto;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.search-box {
  position: relative;
  display: block;
  width: 280px;
}

.search-box span {
  position: absolute;
  left: 12px;
  top: 50%;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}

.search-box .lucide {
  position: absolute;
  right: 12px;
  left: auto;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--subtle);
  transform: translateY(-50%);
}

.search-box input {
  padding-left: 48px;
}

.session-pill {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.session-pill span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.session-pill strong {
  color: var(--muted);
  font-size: 11px;
}

.content-root {
  display: grid;
  gap: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.metric-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metric-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-tile,
.mini-stat,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(20, 32, 43, 0.04);
}

.metric-tile {
  display: grid;
  min-height: 108px;
  align-content: space-between;
  gap: 8px;
  padding: 15px;
  border-top-width: 4px;
}

.metric-tile .lucide-slot {
  width: 19px;
  height: 19px;
  color: #64748b;
}

.metric-tile span,
.mini-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.metric-tile strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.1;
}

.metric-grid-six .metric-tile strong {
  font-size: 19px;
}

.metric-tile small,
.mini-stat small {
  color: var(--subtle);
  font-weight: 700;
}

.tone-teal {
  border-top-color: var(--teal);
}

.tone-blue {
  border-top-color: var(--blue);
}

.tone-amber {
  border-top-color: var(--amber);
}

.tone-rose {
  border-top-color: var(--rose);
}

.tone-green {
  border-top-color: var(--green);
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  display: grid;
  min-height: 100px;
  gap: 8px;
  padding: 15px;
}

.mini-stat strong {
  font-size: 24px;
}

.panel {
  padding: 16px;
}

.intro-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.intro-panel p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 16px;
}

.support-layout {
  align-items: start;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-head.compact {
  margin-top: 18px;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.badge.green {
  background: #dcfce7;
  color: #166534;
}

.badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.amber {
  background: #fef3c7;
  color: #92400e;
}

.badge.rose {
  background: #ffe4e6;
  color: #be123c;
}

.badge.slate {
  background: #e2e8f0;
  color: #334155;
}

.queue-list,
.audit-list {
  display: grid;
  gap: 8px;
}

.queue-row,
.audit-row {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdff;
}

.queue-row {
  grid-template-columns: minmax(0, 1fr) 78px auto;
}

.queue-row strong,
.audit-row strong {
  display: block;
  margin-bottom: 4px;
}

.queue-row span,
.audit-row span {
  color: var(--muted);
}

.queue-row small,
.audit-row small {
  color: var(--subtle);
  font-weight: 800;
}

.audit-row {
  grid-template-columns: 12px minmax(0, 1fr) 58px;
}

.audit-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate);
}

.audit-dot.green {
  background: var(--green);
}

.audit-dot.blue {
  background: var(--blue);
}

.audit-dot.amber {
  background: var(--amber);
}

.audit-dot.rose {
  background: var(--rose);
}

.audit-dot.purple {
  background: #8b5cf6;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

td {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:hover {
  background: #fbfdff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.check-item {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdff;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.span-2 {
  grid-column: span 2;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.helper-text {
  color: var(--muted);
  font-weight: 700;
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.notice.success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.notice.warning {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.empty-state {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  background: #fbfdff;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.support-session-list {
  display: grid;
  gap: 10px;
}

.support-session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdff;
}

.support-session-card strong,
.support-session-card span {
  overflow-wrap: anywhere;
}

.support-session-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.support-session-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-session-meta small {
  color: var(--subtle);
  font-weight: 800;
  white-space: nowrap;
}

.tab-row {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.tab-button:hover,
.tab-button.is-active {
  color: var(--ink);
  border-bottom-color: var(--teal);
}

.system-pane {
  padding-top: 2px;
}

.preview-body {
  min-width: 1180px;
  background: #eef3f8;
}

.preview-root {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.preview-topbar,
.preview-banner,
.wholesale-shell,
.blocked-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(20, 32, 43, 0.04);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.preview-topbar h1 {
  margin: 0;
  font-size: 24px;
}

.preview-session {
  display: grid;
  min-width: 300px;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.preview-session span {
  color: var(--muted);
  font-weight: 800;
}

.preview-banner {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.preview-banner small {
  color: #7c2d12;
  font-weight: 750;
}

.wholesale-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 720px;
  overflow: hidden;
}

.mock-workspace {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
}

.mock-workspace span {
  color: var(--muted);
  font-weight: 750;
}

.mock-workspace nav {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.mock-nav {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--slate);
  font-weight: 850;
}

.mock-nav.is-active {
  border-color: #99f6e4;
  background: #ccfbf1;
  color: #115e59;
}

.mock-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.disabled-actions {
  display: flex;
  gap: 8px;
}

.preview-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preview-root .two-column {
  grid-template-columns: minmax(0, 1fr) 470px;
}

.preview-root table {
  min-width: 100%;
  table-layout: auto;
}

.preview-root th,
.preview-root td {
  padding: 9px 10px;
  font-size: 13px;
}

.blocked-state {
  display: grid;
  justify-items: start;
  width: min(520px, 100%);
  gap: 12px;
  margin: 12vh auto 0;
  padding: 32px;
}

.blocked-state p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}

/* 원형 디자인 기준 쉘 */
.sidebar {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: 22px 10px 18px;
  background: linear-gradient(180deg, #071d28, #06141d);
}

.sidebar-head {
  padding: 0 8px;
}

.sidebar-head strong {
  font-size: 29px;
  line-height: 1.08;
}

.sidebar-head span {
  color: #ffffff;
  font-size: 16px;
}

.tenant-picker {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.tenant-picker span,
.tenant-picker small {
  color: #a8b3c3;
}

.tenant-picker small {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #facc15;
  font-weight: 900;
}

.tenant-picker > .lucide {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #facc15;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-main i,
.nav-main .lucide {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #d7eef0;
  font-style: normal;
}

.nav-item small .lucide,
.tenant-picker .lucide,
.favorite-row .lucide,
.sidebar-foot .lucide,
.top-action .lucide {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nav-item {
  min-height: 45px;
}

.nav-item:hover,
.nav-item.is-active {
  background: linear-gradient(90deg, #0f766e, #0d9488);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

.nav-item.is-active {
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

.subnav {
  display: grid;
  gap: 10px;
  margin: 0 0 10px 20px;
  padding: 6px 0 6px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe4ef;
  font-weight: 750;
}

.subnav span {
  font-size: 13px;
}

.favorite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: #dbe4ef;
  font-weight: 850;
}

.favorite-row span,
.sidebar-foot strong,
.top-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sidebar-foot {
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: #dbe4ef;
}

.main-shell {
  padding: 14px 18px 20px;
}

.topbar {
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 18px;
  min-height: 58px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.titlebar h2 {
  font-size: 18px;
}

.titlebar em {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #99f6e4;
  border-radius: 4px;
  background: #f0fdfa;
  color: var(--teal);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.hamburger {
  color: #334155;
  font-size: 20px;
}

.topbar-actions {
  grid-template-columns: 420px 84px 72px 176px;
  gap: 0;
}

.search-box {
  width: 420px;
}

.search-box span {
  right: 12px;
  left: auto;
  font-size: 20px;
}

.search-box input {
  padding-right: 42px;
  padding-left: 14px;
}

.top-action {
  min-height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 850;
}

sl-tooltip {
  display: contents;
}

sl-tooltip::part(body) {
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.data-source-note {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.data-source-note .lucide {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.data-source-note strong {
  color: var(--ink);
  white-space: nowrap;
}

.data-source-note small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-action b {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  place-items: center;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
}

.session-pill {
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.admin-menu {
  grid-template-columns: 24px auto 14px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.admin-menu strong {
  color: var(--ink);
  font-size: 13px;
}

.admin-menu small {
  color: var(--muted);
  font-weight: 900;
}

.admin-avatar {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--slate);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.logout-button {
  display: none;
}

.metric-tile {
  border-top-width: 0;
}

.dashboard-primary {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(400px, 1fr);
  gap: 14px;
}

.dashboard-secondary {
  display: grid;
  grid-template-columns: 1.08fr 0.82fr 0.9fr;
  gap: 14px;
}

.dashboard-primary .panel {
  height: 330px;
  overflow: hidden;
}

.dashboard-secondary .panel {
  height: 264px;
  overflow: hidden;
}

.tenant-panel .panel-head {
  align-items: start;
}

.inline-tabs {
  display: flex;
  gap: 22px;
  margin-top: 12px;
  border-bottom: 1px solid var(--line);
}

.inline-tabs span {
  height: 30px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.inline-tabs .is-active {
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.action-row {
  display: flex;
  gap: 8px;
}

.muted {
  margin: 7px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.support-mini-form {
  display: grid;
  gap: 8px;
}

.support-mini-form input {
  height: 36px;
}

.info-note {
  padding: 8px 12px;
  border: 1px solid #99f6e4;
  border-radius: 7px;
  background: #ecfeff;
  color: #155e75;
  font-weight: 750;
  line-height: 1.45;
}

.support-mini-form label {
  gap: 5px;
  font-size: 12px;
}

.support-mini-form .button {
  min-height: 36px;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-primary th,
.dashboard-primary td {
  padding: 7px 10px;
  font-size: 12px;
}

.dashboard-secondary .queue-list,
.dashboard-secondary .audit-list {
  gap: 6px;
}

.dashboard-secondary .queue-row,
.dashboard-secondary .audit-row {
  min-height: 30px;
  padding: 4px 9px;
}

.dashboard-secondary .queue-row {
  grid-template-columns: minmax(0, 1fr) 70px auto;
}

.dashboard-secondary .audit-row {
  grid-template-columns: 26px minmax(0, 1fr) 136px;
  min-height: 32px;
  padding: 4px 9px;
}

.dashboard-secondary .audit-dot {
  width: 22px;
  height: 22px;
}

.dashboard-secondary .audit-row div {
  display: grid;
  grid-template-columns: minmax(104px, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.dashboard-secondary .audit-row strong {
  margin-bottom: 0;
  white-space: nowrap;
}

.dashboard-secondary .audit-row span:not(.audit-dot) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-secondary .audit-row small {
  white-space: nowrap;
}

.dashboard-secondary th,
.dashboard-secondary td {
  padding: 5px 8px;
  font-size: 12px;
}

.dashboard-secondary .table-wrap {
  overflow: hidden;
}

.dashboard-secondary table {
  min-width: 0;
  table-layout: fixed;
}

.dashboard-secondary th:nth-child(1),
.dashboard-secondary td:nth-child(1) {
  width: 44%;
}

.dashboard-secondary th:nth-child(2),
.dashboard-secondary td:nth-child(2) {
  width: 28%;
}

.dashboard-secondary th:nth-child(3),
.dashboard-secondary td:nth-child(3) {
  width: 28%;
}

.usage-panel {
  height: 144px;
  overflow: hidden;
  padding: 12px 16px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.usage-card {
  display: grid;
  height: 84px;
  min-height: 0;
  align-content: space-between;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.usage-card span,
.usage-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.usage-card strong {
  font-size: 15px;
  line-height: 1.1;
}

.mini-bars {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 3px;
  height: 18px;
}

.mini-bars i {
  width: 5px;
  border-radius: 3px 3px 0 0;
  background: #8fb7d5;
}

.mini-bars i:nth-child(1) {
  height: 7px;
}

.mini-bars i:nth-child(2) {
  height: 10px;
}

.mini-bars i:nth-child(3) {
  height: 13px;
}

.mini-bars i:nth-child(4) {
  height: 16px;
}

.mini-bars i:nth-child(5) {
  height: 18px;
}

.usage-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.usage-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}
