/* KBS MEDICAL final UI layer. Loaded after the legacy stylesheet. */
:root {
  --kbs-blue: #0057b8;
  --kbs-blue-dark: #063f7b;
  --kbs-navy: #062b4a;
  --kbs-bg: #f5f9fc;
  --kbs-soft: #eaf5ff;
  --kbs-soft-2: #f0f7fd;
  --kbs-text: #0f2537;
  --kbs-muted: #5c7084;
  --kbs-border: #dce8f2;
  --kbs-white: #ffffff;
  --kbs-radius: 12px;
  --kbs-radius-sm: 9px;
  --kbs-shadow: 0 10px 26px rgba(6, 43, 74, 0.07);
  --kbs-shadow-sm: 0 1px 2px rgba(6, 43, 74, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--kbs-text);
  background: var(--kbs-bg);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

.container {
  width: min(1120px, calc(100vw - 32px));
}

.btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--kbs-radius-sm);
  font-weight: 800;
}

.btn-primary {
  background: var(--kbs-blue);
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.18);
}

.btn-primary:hover {
  background: var(--kbs-blue-dark);
}

.btn-secondary {
  color: var(--kbs-blue);
  border-color: #b9d7ee;
  background: #ffffff;
}

.text-link {
  color: var(--kbs-blue);
}

/* Public shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--kbs-border);
  box-shadow: 0 1px 0 rgba(6, 43, 74, 0.04);
  backdrop-filter: blur(10px);
}

.site-header__top {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__nav-row {
  border-top: 1px solid #eef4f8;
}

.brand {
  min-width: 0;
}

.brand__logo {
  width: 154px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand__text {
  color: var(--kbs-blue);
  font-size: 15px;
  white-space: nowrap;
}

.lang-switch {
  flex: 0 0 auto;
  border: 1px solid var(--kbs-border);
  border-radius: 10px;
  background: #ffffff;
}

.lang-switch a {
  min-height: 31px;
  padding: 5px 12px;
  border-radius: 8px;
  color: #536a80;
}

.lang-switch a.is-active {
  color: var(--kbs-blue);
  background: var(--kbs-soft);
}

.site-nav {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.site-nav a {
  min-height: 30px;
  padding: 5px 18px;
  border-radius: 999px;
  color: #52687d;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--kbs-blue);
  background: var(--kbs-soft);
}

/* Public home */
.hero {
  position: relative;
  padding: 64px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 26%, rgba(0, 87, 184, 0.14), rgba(0, 87, 184, 0.06) 30%, transparent 54%),
    linear-gradient(135deg, #ffffff 0%, #f2f9ff 48%, #e7f3fc 100%);
  border-bottom: 1px solid var(--kbs-border);
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 70px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kbs-blue), #2bb7a8);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: center;
}

.hero__logo {
  width: min(340px, 80vw);
  height: 86px;
  margin: 0 0 14px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow {
  color: #078f86;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 6px 0 0;
  color: #061f37;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: 0;
}

.hero__subtitle {
  margin: 10px 0 0;
  color: var(--kbs-blue);
  font-size: 20px;
  font-weight: 900;
}

.hero__intro {
  max-width: 620px;
  margin: 10px 0 0;
  color: #435a70;
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions {
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(220, 232, 242, 0.92);
  border-radius: var(--kbs-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--kbs-shadow);
  backdrop-filter: blur(8px);
}

.hero-stats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 10px;
  background: #f7fbff;
}

.hero-stats__item strong {
  color: var(--kbs-blue);
  font-size: 26px;
  line-height: 1;
}

.hero-stats__item span {
  color: var(--kbs-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.contact-section {
  padding: 26px 0 0;
  background: var(--kbs-bg);
}

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

.contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

.contact-card:hover {
  border-color: #b9d7ee;
  box-shadow: var(--kbs-shadow);
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--kbs-blue);
  background: var(--kbs-soft);
  font-size: 11px;
  font-weight: 900;
}

.contact-card span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.contact-card em {
  color: var(--kbs-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.contact-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--kbs-text);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 48px 0;
}

.topic-section {
  background: var(--kbs-bg);
}

.section-muted {
  background: #eef5fb;
}

.section-heading {
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  color: #061f37;
  font-size: clamp(25px, 3vw, 34px);
}

.section-subtitle,
.page-subtitle {
  margin: 6px 0 0;
  color: var(--kbs-muted);
}

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

.pillar-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: var(--kbs-shadow-sm);
}

.pillar-card:hover {
  border-color: #b9d7ee;
  box-shadow: var(--kbs-shadow);
}

.pillar-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.pillar-card em {
  color: #10283e;
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
}

.pillar-card small {
  overflow: hidden;
  color: var(--kbs-muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pillar-card strong {
  min-width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--kbs-blue);
  box-shadow: 0 8px 16px rgba(0, 87, 184, 0.18);
}

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

.post-card {
  min-height: 0;
  padding: 17px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

.post-card:hover {
  border-color: #b9d7ee;
  box-shadow: var(--kbs-shadow);
}

.post-card__meta {
  gap: 6px;
  margin-bottom: 11px;
}

.post-card__meta span,
.badge-top {
  min-height: 23px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--kbs-blue);
  background: var(--kbs-soft);
  font-size: 11px;
  font-weight: 900;
}

.post-card h2,
.post-card h3 {
  color: #071f36;
  font-size: 18px;
  line-height: 1.36;
}

.post-card h2 a,
.post-card h3 a {
  word-break: normal;
}

.post-card p {
  margin: 10px 0 14px;
  color: #536a80;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.chip-row {
  gap: 6px;
}

.chip {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--kbs-blue);
  background: #edf7ff;
  font-size: 11px;
}

/* Public list and detail */
.page-head {
  padding: 42px 0 34px;
  background: linear-gradient(135deg, #f7fbff 0%, #edf6fd 100%);
}

.page-head h1 {
  color: #061f37;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(130px, 1fr)) 96px;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
select,
textarea {
  border-color: #cddfec;
  border-radius: var(--kbs-radius-sm);
}

label {
  color: #24394c;
}

label span {
  color: #30495e;
}

.result-line {
  color: var(--kbs-muted);
}

.article-page {
  padding: 30px 0 44px;
  background: var(--kbs-bg);
}

.article-layout {
  max-width: 920px;
}

.article-head,
.article-meta,
.article-section,
.article-contact {
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

.article-head {
  padding: 24px;
}

.article-head h1 {
  color: #061f37;
  font-size: clamp(28px, 4vw, 42px);
}

.article-section {
  padding: 22px;
}

.article-section h2 {
  color: #071f36;
}

.rich-text {
  color: #283f54;
  line-height: 1.82;
}

.article-contact {
  align-items: center;
  justify-content: space-between;
}

/* Footer */
.site-footer {
  padding: 30px 0;
  background: linear-gradient(135deg, var(--kbs-navy) 0%, #0a3558 100%);
}

.site-footer__grid {
  align-items: start;
}

.site-footer__brand {
  color: #ffffff;
  font-size: 18px;
}

.site-footer p {
  color: #b9ccdc;
}

.footer-tagline {
  margin-top: 6px !important;
  color: #e8f2fb !important;
  font-weight: 700;
}

.footer-contact a {
  color: #eaf5ff;
}

/* Admin shell */
.admin-body {
  color: var(--kbs-text);
  background: #f3f7fb;
}

.admin-topbar {
  height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--kbs-border);
  background: var(--kbs-white);
  box-shadow: 0 1px 0 rgba(6, 43, 74, 0.04);
}

.admin-topbar__brand img {
  width: 132px;
  height: 40px;
}

.admin-topbar__brand span {
  color: var(--kbs-blue);
}

.admin-topbar__brand strong {
  display: none;
  font-size: 15px;
}

.admin-topbar__brand small {
  display: block;
  color: var(--kbs-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-topbar__links a {
  min-height: 34px;
  border-color: #cfe0ec;
  border-radius: var(--kbs-radius-sm);
  background: var(--kbs-white);
}

.admin-shell {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.admin-sidebar {
  min-height: calc(100vh - 64px);
  padding: 18px 14px;
  border-right: 1px solid var(--kbs-border);
  background: var(--kbs-white);
}

.admin-sidebar nav {
  display: grid;
  gap: 5px;
}

.admin-sidebar a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--kbs-radius-sm);
  color: #4e6377;
  font-size: 14px;
}

.admin-sidebar a.is-active,
.admin-sidebar a:hover {
  color: var(--kbs-blue);
  background: var(--kbs-soft);
}

.admin-main {
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding: 24px;
  overflow-x: hidden;
}

.admin-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%);
  box-shadow: var(--kbs-shadow-sm);
}

.admin-page-head h1 {
  color: #061f37;
  font-size: 26px;
}

.admin-page-head p {
  color: var(--kbs-muted);
}

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

.stat-card {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

.stat-card i,
.quick-grid i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--kbs-blue);
  background: var(--kbs-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.stat-card span {
  color: #536a80;
  font-size: 13px;
}

.stat-card strong {
  margin-top: 6px;
  color: #071f36;
  font-size: 29px;
}

.admin-panel {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
  box-shadow: var(--kbs-shadow-sm);
}

.admin-filter,
.form-grid {
  gap: 12px;
}

.admin-filter label,
.form-grid label,
.settings-form > label,
.upload-form label {
  min-width: 0;
}

.admin-filter input,
.admin-filter select,
.settings-form input,
.settings-form select,
.settings-form textarea,
.upload-form input {
  width: 100%;
  min-height: 44px;
  background: #ffffff;
}

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

.upload-form input[type="file"] {
  padding: 10px;
  border: 1px dashed #b9d7ee;
  border-radius: var(--kbs-radius);
  background: #f8fbfe;
}

.upload-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--kbs-radius-sm);
  color: #ffffff;
  background: var(--kbs-blue);
  font-weight: 800;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: #fbfdff;
}

.radio-group label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius-sm);
  background: #ffffff;
  line-height: 1.35;
}

.upload-form .radio-group input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.field-list span,
.import-result div {
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius-sm);
  background: #f8fbfe;
}

.logo-preview,
.password-box {
  border-color: var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: #fbfdff;
}

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

.quick-grid a {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: #fbfdff;
}

.quick-grid a::after {
  content: ">";
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 999px;
  color: var(--kbs-blue);
  background: var(--kbs-soft);
  font-size: 13px;
  font-weight: 900;
}

.quick-grid a:hover {
  border-color: #b9d7ee;
  box-shadow: var(--kbs-shadow-sm);
}

.quick-grid i {
  margin: 0;
}

.quick-grid span {
  display: grid;
  gap: 4px;
}

.quick-grid strong {
  color: #10283e;
  font-size: 15px;
}

.quick-grid small {
  color: var(--kbs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  min-width: 860px;
}

.admin-table th {
  color: #4f6478;
  background: #f4f8fb;
}

.admin-table td {
  color: #20384d;
}

.table-tag {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  border-radius: 999px;
}

.admin-mobile-list {
  display: none;
}

.qr-admin {
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: var(--kbs-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100vw - 24px, 1120px);
  }

  .site-header__top {
    min-height: 58px;
  }

  .brand__logo {
    width: 126px;
    height: 36px;
  }

  .brand__text {
    display: none;
  }

  .site-nav {
    min-height: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    padding: 5px 8px;
    text-align: center;
  }

  .hero {
    padding: 36px 0 34px;
  }

  .hero::before {
    right: -185px;
    top: 92px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__logo {
    width: min(270px, 76vw);
    height: 68px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__intro {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hero-stats__item {
    padding: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 34px 0;
  }

  .section-heading {
    align-items: flex-start;
  }

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

  .pillar-card {
    min-height: 104px;
    align-items: flex-start;
    flex-direction: column;
    padding: 13px;
  }

  .pillar-card strong {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .pillar-card em {
    font-size: 15px;
  }

  .pillar-card small {
    white-space: normal;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .article-meta {
    grid-template-columns: 1fr;
  }

  .article-contact {
    display: grid;
    gap: 8px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }

  .admin-body,
  .admin-shell,
  .admin-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-topbar {
    min-height: 60px;
    height: auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .admin-topbar__brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }

  .admin-topbar__brand img {
    width: 118px;
    height: 36px;
  }

  .admin-topbar__brand strong {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-topbar__brand small {
    display: none;
  }

  .admin-topbar__links {
    flex: 0 0 auto;
    gap: 6px;
  }

  .admin-topbar__links a {
    min-height: 31px;
    padding: 5px 8px;
    font-size: 13px;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--kbs-border);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .admin-sidebar nav {
    width: max-content;
    min-width: 100%;
    display: flex;
    gap: 6px;
  }

  .admin-sidebar a {
    min-width: max-content;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .admin-main {
    margin: 0;
    padding: 16px 12px;
  }

  .admin-page-head {
    display: block;
    padding: 16px;
  }

  .admin-page-head h1 {
    font-size: 24px;
  }

  .admin-page-head .btn {
    width: 100%;
    margin-top: 12px;
  }

  .stat-grid,
  .quick-grid,
  .admin-filter,
  .form-grid,
  .import-result,
  .radio-group {
    grid-template-columns: 1fr !important;
  }

  .stat-card {
    min-height: 90px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px 10px;
    align-items: center;
    padding: 14px;
  }

  .stat-card i {
    grid-row: 1 / 3;
    margin: 0;
  }

  .stat-card strong {
    margin: 0;
    font-size: 26px;
  }

  .admin-panel {
    padding: 14px;
  }

  .quick-grid a {
    min-height: 84px;
  }

  .admin-table {
    min-width: 780px;
  }

  .admin-mobile-list {
    display: grid;
    gap: 10px;
  }

  .admin-panel .admin-mobile-list + .table-wrap {
    display: none;
  }

.admin-mobile-card {
  padding: 13px;
  border: 1px solid var(--kbs-border);
  border-radius: var(--kbs-radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--kbs-shadow-sm);
}

  .admin-mobile-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .admin-mobile-card__top strong {
    min-width: 0;
    overflow: hidden;
    color: #09223a;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-mobile-card dl {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
  }

  .admin-mobile-card dl div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  .admin-mobile-card dt {
    color: var(--kbs-muted);
    font-size: 12px;
    font-weight: 900;
  }

  .admin-mobile-card dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #25394b;
    font-size: 13px;
  }

  .admin-mobile-card .table-action {
    width: 100%;
    justify-content: center;
  }

  .admin-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-mobile-actions form {
    margin: 0;
  }

  .admin-mobile-actions button,
  .admin-mobile-actions .table-action {
    width: 100%;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9d7ee;
    border-radius: var(--kbs-radius-sm);
    color: var(--kbs-blue);
    background: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
  }

  .admin-mobile-actions .table-action:first-child,
  .admin-mobile-actions .table-action:nth-child(2) {
    color: #ffffff;
    border-color: var(--kbs-blue);
    background: var(--kbs-blue);
  }

  .qr-admin {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero__actions {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }
}
