/* =========================================================================
   Cloudike · CldaStream 버전 현황 포털
   색상은 Cloudike 웹 브랜딩(frontend/src/constants/branding.ts) 기준
   ========================================================================= */
:root {
  /* 웜 그레이 (branding grey) */
  --g0: #ffffff;
  --g100: #fbfbfb;
  --g200: #f8f8f7;
  --g300: #e8e8e6;
  --g400: #d5d4d0;
  --g500: #aba9a3;
  --g600: #817e77;
  --g700: #5b5954;
  --g800: #36342f;
  --g900: #1b1c13;

  /* 브랜드 */
  --brand: #fab329;
  --brand-light: #ffdf6a;
  --brand-soft: #ffeab3;
  --brand-lighter: #fff6cd;
  --brand-dark: #b77f03;
  --brand-ink: #2a2720;
  --orange: #ff6c1a;
  --orange-soft: #ffe3d2;

  /* 상태 */
  --success: #169a2e;
  --success-bg: #e5f7e8;
  --error: #d62828;
  --error-bg: #fdecea;

  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 28, 19, .05);
  --shadow: 0 1px 2px rgba(27, 28, 19, .04), 0 8px 24px rgba(27, 28, 19, .06);
  --shadow-lg: 0 24px 60px rgba(27, 28, 19, .14);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--g900);
  background: var(--g200);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.hidden { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 공통 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: #f5a90f; }
.btn-brand:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(250, 179, 41, .35); }
.btn-brand:disabled { opacity: .55; cursor: default; }
.btn-line { background: var(--g0); border-color: var(--g400); color: var(--g800); }
.btn-line:hover { background: var(--g100); border-color: var(--g500); }
.btn-ghost-dark { background: transparent; color: #d9d8d2; border-color: rgba(255, 255, 255, .14); height: 36px; padding: 0 12px; font-size: 13px; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-icon-dark { width: 36px; height: 36px; padding: 0; }
.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   로그인
   ========================================================================= */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--g0); }
.auth-brand {
  position: relative; overflow: hidden; color: #f2f1ec; padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(600px 420px at 85% 15%, rgba(250, 179, 41, .22), transparent 65%),
    radial-gradient(500px 380px at 0% 100%, rgba(255, 108, 26, .16), transparent 60%),
    var(--g900);
}
.auth-brand::after {           /* 은은한 도트 패턴 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-logo img { height: 30px; }
.auth-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--brand); text-transform: uppercase;
}
.auth-copy .eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.auth-copy h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.03em; margin: 16px 0 14px; font-weight: 800; color: #fff; }
.auth-copy p { color: #b9b7af; font-size: 15px; margin: 0; max-width: 420px; }
.auth-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #dedcd5; font-size: 14px; }
.auth-points svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.auth-brand .legal { color: #817e77; font-size: 12px; }

.auth-form-wrap { display: grid; place-items: center; padding: 48px 24px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form .mobile-logo { display: none; }
.auth-form h2 { font-size: 26px; letter-spacing: -.025em; margin: 0 0 8px; font-weight: 800; }
.auth-form .lead { color: var(--g700); margin: 0 0 32px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--g800); margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--g500); pointer-events: none; }
.input {
  width: 100%; height: 50px; padding: 0 14px 0 44px; border-radius: 10px; border: 1px solid var(--g400);
  background: var(--g0); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--g500); }
.input:hover { border-color: var(--g500); }
.input:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(250, 179, 41, .25); }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 38px; padding: 0 10px;
  border: 0; background: none; color: var(--g600); font-size: 12px; font-weight: 600; border-radius: 8px;
}
.pw-toggle:hover { background: var(--g200); color: var(--g800); }
.auth-form .btn-brand { width: 100%; height: 52px; font-size: 15px; margin-top: 8px; border-radius: 12px; }
.form-error {
  display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px;
  background: var(--error-bg); color: var(--error); font-size: 13px;
}
.form-error:empty { display: none; }
.auth-help { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--g300); color: var(--g600); font-size: 13px; line-height: 1.7; }
.auth-help b { color: var(--g800); font-weight: 600; }

/* =========================================================================
   포털 (대시보드)
   ========================================================================= */
.nav { background: var(--g900); color: #e9e8e3; position: sticky; top: 0; z-index: 20; }
.nav-inner { max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 28px; display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 28px; display: block; }
.nav-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .16); }
.nav-tenant { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #fff; }
.nav-tenant small { font-weight: 500; letter-spacing: 0; color: #9d9b93; font-size: 12.5px; }
.nav-spacer { flex: 1; }
.nav-updated { display: inline-flex; align-items: center; gap: 8px; color: #b9b7af; font-size: 13px; margin-right: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ccf5b; box-shadow: 0 0 0 0 rgba(60, 207, 91, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(60, 207, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 91, 0); } }

.hero {
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(250, 179, 41, .20), transparent 70%),
    linear-gradient(180deg, var(--g900) 0%, #23241a 100%);
  color: #fff; padding: 36px 0 104px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.crumb { display: inline-flex; gap: 8px; align-items: center; color: #9d9b93; font-size: 13px; font-weight: 500; }
.crumb b { color: var(--brand); font-weight: 700; }
.hero h1 { font-size: 32px; line-height: 1.25; letter-spacing: -.03em; margin: 10px 0 12px; font-weight: 800; }
.insight { color: #cfcdc5; font-size: 15px; margin: 0; max-width: 880px; text-wrap: pretty; }
.insight b { color: #fff; font-weight: 700; }
.insight .hl { color: var(--brand); font-weight: 700; }

.content { max-width: var(--max); margin: -72px auto 0; padding: 0 28px 48px; position: relative; }

.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius);
  background: var(--error-bg); color: var(--error); border: 1px solid #f7cdc8; margin-bottom: 16px; font-size: 14px;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--g0); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px 22px 22px; border: 1px solid rgba(27, 28, 19, .04); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--g700); }
.kpi-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-lighter); color: var(--brand-dark); }
.kpi-icon svg { width: 18px; height: 18px; }
.kpi-value { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.kpi-value .u { font-size: 16px; font-weight: 600; color: var(--g600); margin-left: 3px; letter-spacing: 0; }
.kpi-sub { color: var(--g600); font-size: 13px; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.kpi-bar { height: 6px; border-radius: 3px; background: var(--g300); overflow: hidden; margin-top: 14px; }
.kpi-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--brand); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.badge-ok { background: var(--success-bg); color: var(--success); }
.badge-warn { background: var(--orange-soft); color: #c2480a; }
.badge-brand { background: var(--brand-lighter); color: var(--brand-dark); }

/* 카드 */
.row { display: grid; gap: 16px; margin-top: 16px; }
.row-2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.card { background: var(--g0); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--g300); }
.card.fill { display: flex; flex-direction: column; }
.card.fill > .card-body { flex: 1; display: flex; flex-direction: column; }
.card.fill .dist { flex: 1; align-content: space-evenly; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 20px 24px 0; flex-wrap: wrap; }
.card-head h2 { font-size: 16px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.card-head .desc { color: var(--g600); font-size: 13px; }
.card-head .grow { flex: 1; }
.card-body { padding: 18px 24px 24px; }
.stack { display: grid; gap: 16px; align-content: start; }

.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--g700); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* 버전 분포 */
.dist { display: grid; gap: 2px; }
.dist-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 136px; gap: 16px; align-items: center;
  padding: 7px 10px; margin: 0 -10px; border: 0; border-radius: 10px; background: none; text-align: left; transition: background .12s;
}
.dist-row:hover { background: var(--g200); }
.dist-row.on { background: var(--brand-lighter); }
.dist-ver { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dist-ver .badge { height: 19px; font-size: 10.5px; padding: 0 6px; }
.dist-track { height: 22px; border-radius: 6px; display: flex; overflow: hidden; }
.dist-track i { display: block; height: 100%; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.dist-track .a { background: var(--brand); }
.dist-track .b { background: var(--brand-soft); }
.dist-track i:first-child { border-radius: 6px 0 0 6px; }
.dist-track i:last-child { border-radius: 0 6px 6px 0; }
.dist-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dist-num b { font-size: 15px; font-weight: 700; }
.dist-num span { color: var(--g600); font-size: 12.5px; margin-left: 6px; }
.card-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--g200); color: var(--g700); font-size: 13px; display: flex; gap: 8px; }
.card-note svg { width: 16px; height: 16px; flex: none; color: var(--g600); margin-top: 2px; }

/* 링 차트 + 쌓은 막대 */
.ring-wrap { display: flex; align-items: center; gap: 20px; }
.ring { position: relative; width: 116px; height: 116px; flex: none; }
.ring svg { width: 116px; height: 116px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .bg { stroke: var(--g300); }
.ring .fg { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); }
.ring-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-label b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ring-label small { display: block; color: var(--g600); font-size: 11.5px; }
.ring-text h3 { margin: 0 0 6px; font-size: 14px; }
.ring-text p { margin: 0; color: var(--g700); font-size: 13px; }

.split { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--g200); }
.split i { display: block; height: 100%; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.split-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.split-list li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.split-list .sw { width: 10px; height: 10px; border-radius: 3px; }
.split-list b { font-variant-numeric: tabular-nums; }
.split-list .pct { color: var(--g600); font-size: 12.5px; width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--g300); margin: 20px 0; }
.sub-title { font-size: 13px; font-weight: 700; color: var(--g800); margin: 0 0 12px; }

/* 계정 목록 */
.tabs { display: flex; gap: 4px; padding: 0 24px; margin-top: 14px; border-bottom: 1px solid var(--g300); overflow-x: auto; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; background: none;
  font-weight: 600; color: var(--g600); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--g900); }
.tab.on { color: var(--g900); border-bottom-color: var(--brand); }
.tab .cnt { min-width: 24px; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--g200); color: var(--g700); font-size: 12px; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.tab.on .cnt { background: var(--brand-lighter); color: var(--brand-dark); }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 24px; }
.search-wrap { position: relative; flex: 1; min-width: 240px; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--g500); }
.search { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--g400); border-radius: 10px; background: var(--g0); }
.select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--g400); border-radius: 10px; background: var(--g0); }
.search:focus, .select:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(250, 179, 41, .22); }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--g300); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 24px; }
th:last-child, td:last-child { padding-right: 24px; }
thead th { background: var(--g100); color: var(--g600); font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--g300); }
th.sort { cursor: pointer; user-select: none; }
th.sort:hover { color: var(--g900); }
th.sort .ar { display: inline-block; width: 12px; margin-left: 4px; color: var(--g400); }
th.sort.on { color: var(--g900); }
th.sort.on .ar { color: var(--brand-dark); }
tbody td { border-bottom: 1px solid var(--g300); }
tbody tr:hover td { background: #fffdf5; }
.user { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-lighter);
}
.avatar.off { background: var(--g200); color: var(--g500); }
.user-name { font-weight: 600; }
.user-mail { color: var(--g600); font-size: 12.5px; }
.uid { color: var(--g600); font-variant-numeric: tabular-nums; }
.ver { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ver-dot { width: 8px; height: 8px; border-radius: 50%; }
.ver-dot.latest { background: var(--success); }
.ver-dot.minor { background: var(--brand); }
.ver-dot.old { background: var(--orange); }
.ver-dot.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--g400); }
.ver:has(.ver-dot.none) { color: var(--g500); font-weight: 500; }
.state { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; }
.state.on { background: var(--success-bg); color: var(--success); }
.state.off { background: var(--g200); color: var(--g600); }
.seen-date { font-variant-numeric: tabular-nums; }
.seen-rel { color: var(--g600); font-size: 12.5px; }
.seen-rel.stale { color: #c2480a; font-weight: 600; }
.empty td { text-align: center; padding: 56px 0 !important; color: var(--g600); }
.empty svg { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--g400); }

.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 18px; flex-wrap: wrap; }
.table-foot .info { color: var(--g600); font-size: 13px; }
.key { display: inline-flex; gap: 14px; color: var(--g600); font-size: 12.5px; }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.pager { display: flex; gap: 4px; }
.pager button {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--g300); background: var(--g0);
  font-size: 13px; font-weight: 600; color: var(--g700); font-variant-numeric: tabular-nums;
}
.pager button:hover:not(:disabled) { border-color: var(--g500); color: var(--g900); }
.pager button.on { background: var(--g900); border-color: var(--g900); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

/* 스켈레톤 */
.is-loading .sk { position: relative; color: transparent !important; }
.is-loading .sk > * { visibility: hidden; }
.is-loading .sk::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(90deg, var(--g200) 25%, var(--g100) 50%, var(--g200) 75%); background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
.is-loading .dist.sk { min-height: 300px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* 푸터 */
.footer { max-width: var(--max); margin: 0 auto; padding: 8px 28px 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--g600); font-size: 12.5px; }
.footer img { height: 16px; opacity: .8; }
.footer .left { display: flex; align-items: center; gap: 10px; }

/* =========================================================================
   반응형
   ========================================================================= */
/* ---------- 비밀번호 변경 창 ---------- */
.modal {
  width: min(440px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: var(--radius-lg);
  background: var(--g0); color: var(--g900); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(27, 28, 19, .45); backdrop-filter: blur(2px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.modal-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--g600); font-size: 22px; line-height: 1; }
.modal-x:hover { background: var(--g200); color: var(--g900); }
.input-plain { height: 46px; padding: 0 14px; }
.modal-hint { margin: 4px 0 0; color: var(--g600); font-size: 12.5px; }
.form-ok { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--success-bg); color: var(--success); font-size: 13px; }
.form-ok:empty { display: none; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.modal-foot .btn-brand:disabled { opacity: .55; }

@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form .mobile-logo { display: block; height: 26px; margin-bottom: 28px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-tenant small, .nav-updated .txt, .nav-sep, .nav-updated #updated-at { display: none; }
  .btn-ghost-dark .txt { display: none; }
  .btn-ghost-dark { width: 36px; padding: 0; }
  .hero { padding: 28px 0 92px; }
  .hero-inner, .content, .footer { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 25px; }
  .insight { font-size: 14px; }
  .kpis { gap: 10px; }
  .kpi { padding: 16px; }
  .kpi-icon { display: none; }
  .kpi-value { font-size: 26px; margin-top: 8px; }
  .card-head, .card-body { padding-left: 16px; padding-right: 16px; }
  .tabs, .toolbar { padding-left: 16px; padding-right: 16px; }
  .dist-row { grid-template-columns: 70px minmax(0, 1fr) 46px; gap: 10px; }
  .dist-ver .badge, .dist-num span { display: none; }
  .dist-row.is-latest .dist-ver { color: var(--success); }
  .ring-wrap { gap: 14px; }
  .search-wrap { min-width: 0; flex-basis: 100%; }
  .select { flex: 1; }
  th:first-child, td:first-child { padding-left: 16px; }
  .table-foot { padding: 14px 16px 18px; }
  .key { display: none; }
}
