﻿:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --text: #0f1f33;
  --muted: #55708f;
  --line: #d8e2ee;
  --sidebar: #1e3a5f;
  --sidebar-dark: #172f4e;
  --sidebar-active: rgba(255,255,255,.12);
  --primary: #2e86de;
  --primary-dark: #2272c4;
  --content-max: 1340px;
  --success: #168477;
  --danger: #d53b3b;
  --warning: #f2a900;
  --shadow: 0 8px 22px rgba(21, 44, 74, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 88% 62% at 86% -6%,  rgba(46,134,222,0.22) 0%, rgba(46,134,222,0.07) 42%, transparent 65%),
    radial-gradient(ellipse 72% 82% at -6% 112%,  rgba(30,58,95,0.18) 0%, rgba(30,58,95,0.05) 44%, transparent 62%),
    radial-gradient(ellipse 58% 46% at 55% 44%,   rgba(230,240,255,0.55) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  background: #fff;
}
textarea { resize: vertical; }
pre { white-space: pre-wrap; font-family: inherit; margin: 0; }

.topbar,
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 252px;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  color: #e7f0fb;
  border-right: 2px solid rgba(255,255,255,0.18);
  box-shadow: 2px 0 12px rgba(0,0,0,0.18);
}


.sidebar-brand {
  padding: 20px 16px 16px;
  background: var(--sidebar-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
.brand span {
  color: #fff;
}
.brand i {
  font-size: 1.35rem;
  color: #5dade2;
  flex-shrink: 0;
}
.sidebar-brand > span {
  display: block;
  margin-top: 4px;
  padding-left: calc(1.35rem + 10px);
  color: rgba(255,255,255,.6);
  font-size: .8rem;
}
.topnav,
.admin-sidebar nav {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  overflow-y: auto;
  flex: 1;
}
.nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 6px 16px;
}
.topnav a,
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  font-size: .88rem;
  border-left: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.topnav a i,
.admin-sidebar a i {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.topnav a:hover,
.admin-sidebar a:hover,
.topnav a.active,
.admin-sidebar a.active {
  background: var(--sidebar-active);
  color: #fff;
}
.sidebar-user {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  gap: 6px;
}
.sidebar-user strong {
  font-size: .95rem;
  color: #fff;
}
.sidebar-user span {
  color: rgba(255,255,255,.6);
  font-size: .84rem;
  margin-bottom: 2px;
}
.link-button {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 9px 10px;
  font-size: .88rem;
  cursor: pointer;
}

.container {
  width: min(var(--content-max), calc(100% - 316px));
  margin: 20px 34px 28px 286px;
}
.narrow { width: min(760px, calc(100% - 320px)); }
.admin-shell {
  display: block;
  width: auto;
  margin: 0;
}
.admin-content {
  min-width: 0;
  width: min(var(--content-max), calc(100% - 316px));
  margin: 20px 34px 28px 286px;
}

.page-title,
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.page-title h1, h1, h2 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}
.page-title h1 { font-size: 20px; }
h2 { font-size: 16px; }
.page-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.panel, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.panel {
  transition: box-shadow .18s, border-color .18s;
}
.panel:hover {
  box-shadow: 0 4px 24px rgba(21,44,74,.11);
  border-color: #c4d4e8;
}
.dashboard-hero {
  min-height: 76px;
  border: 1px solid rgba(216, 226, 238, 0.75);
  border-radius: 12px;
  padding: 15px 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 2px 14px rgba(21, 44, 74, 0.065);
  position: relative;
  overflow: hidden;
}
.dashboard-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), #5dade2);
  border-radius: 0 2px 2px 0;
}
.dashboard-hero::after {
  content: '';
  position: absolute;
  right: -52px; top: -52px;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 38px solid rgba(46,134,222,0.06);
  pointer-events: none;
}
.dashboard-hero h1 {
  margin: 3px 0 0;
  font-size: 20px;
  letter-spacing: -.3px;
}
.dashboard-hero p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: live-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.card {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 13px 15px;
}
.kpi-card {
  justify-content: space-between;
  transition: box-shadow .18s, transform .18s;
}
.kpi-card:hover {
  box-shadow: 0 6px 28px rgba(21,44,74,.13);
  transform: translateY(-2px);
}
.kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-icon {
  font-size: .82rem;
  opacity: 0.22;
  flex-shrink: 0;
}
.kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #6aa7e8;
  border-radius: 0 2px 2px 0;
}
.kpi-card.accent-green::before { background: var(--success); }
.kpi-card.accent-slate::before { background: #526985; }
.kpi-card.accent-amber::before { background: var(--warning); }
.kpi-card.accent-indigo::before { background: #5866d6; }
.card span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.2;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.action-grid,
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.big-action {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  align-content: center;
  gap: 1px;
  transition: filter .15s, box-shadow .15s;
}
.big-action small {
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  font-weight: 600;
}
.big-action.in { background: var(--success); }
.big-action.out { background: #34475f; }
.big-action:hover { filter: brightness(0.93); box-shadow: 0 4px 16px rgba(0,0,0,.18); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 15px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.button.primary:hover { background: var(--primary-dark); }
.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.button.outlook {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  min-width: 190px;
}
.button.it-report {
  min-width: 162px;
  min-height: 48px;
  display: inline-grid;
  gap: 1px;
  align-content: center;
  background: linear-gradient(135deg, #0f6fc9 0%, #154b84 100%);
  border-color: #0f6fc9;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 111, 201, 0.22);
  transition: box-shadow .15s, filter .15s;
}
.button.it-report:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(15, 111, 201, 0.36);
}
.button.it-report span {
  font-size: 13.5px;
  font-weight: 800;
}
.button.it-report small {
  font-size: 10.5px;
  color: #d7ebff;
}
.text-link {
  font-weight: 800;
  color: var(--primary);
}
.button.wide { width: 100%; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }

.form-stack { display: grid; gap: 14px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.form-grid .button { align-self: end; }
.compact { margin: 14px 0; }
.filter-bar {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-bar label { min-width: 180px; }
.filter-bar input, .filter-bar select { min-width: 180px; }
.import-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.import-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}
.bulk-panel {
  display: grid;
  gap: 12px;
}
.bulk-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.bulk-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.segmented a {
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
  border-right: 1px solid var(--line);
}
.segmented a:last-child {
  border-right: 0;
}
.segmented a.active {
  background: #e7f1ff;
  color: var(--primary);
}
.check-col {
  width: 46px;
}
.row-check,
.check-col input {
  width: 18px;
  height: 18px;
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #eaf0f6;
  color: #334c68;
  font-size: 14px;
  font-weight: 800;
}
.sort-link {
  color: #1b3858;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
}
.sort-link:hover {
  color: var(--primary);
}
td.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
td.actions form, .inline-form {
  display: inline-flex;
  gap: 6px;
}
td button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 9px;
  background: #e7f1ff;
  color: #115ca8;
  font-size: 13px;
  font-weight: 800;
}
.badge-success { background: #e6f9f0; color: #1a7a4a; }
.badge-warning { background: #fff8e1; color: #a06000; }
.badge-blue    { background: #e7f1ff; color: #115ca8; }
.badge-purple  { background: #f3eaff; color: #6a2fa0; }
.button-sm { padding: 4px 12px; font-size: 13px; }
.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0;
}
.clean-list {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}
.clean-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.clean-list small {
  color: var(--muted);
  white-space: nowrap;
}
.status-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.status-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  background: #fafcff;
  font-size: 18px;
  font-weight: 800;
}
.status-row b {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}
.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}
.detail-list dd { margin: 0; }
.board-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}
.board-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.board-menu a {
  padding: 10px;
  border-radius: 7px;
  background: #eef4fa;
  color: var(--text);
  font-weight: 700;
}
.board-menu a.active {
  background: #e2efff;
  color: var(--primary);
}

/* ??? 濡쒓렇??????쒕낫??由щ뵒?먯씤 ??? */

body:has(.app-sidebar) {
  overflow-x: hidden;
  background-color: #eef5ff;
  background-image:
    radial-gradient(ellipse 74% 52% at 84% 102%, rgba(196, 216, 247, .52), transparent 66%),
    radial-gradient(ellipse 60% 46% at 72% 18%, rgba(226, 238, 255, .9), transparent 64%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #e8f1ff 100%);
}

.app-sidebar {
  width: 302px;
  padding: 36px 24px 28px;
  overflow: hidden;
  border-right: 1px solid rgba(91, 150, 255, .24);
  background:
    radial-gradient(circle at 76% 28%, rgba(68, 148, 255, .32) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 84%, rgba(52, 138, 255, .24) 0 2px, transparent 3px),
    radial-gradient(ellipse 76% 50% at 98% 0%, rgba(0, 111, 255, .22), transparent 62%),
    linear-gradient(155deg, #041439 0%, #062052 52%, #062b68 100%);
  box-shadow: 8px 0 34px rgba(4, 22, 65, .24);
}

.app-sidebar::before,
.app-sidebar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-sidebar::before {
  width: 380px;
  height: 380px;
  right: -178px;
  top: 120px;
  border: 1px solid rgba(81, 153, 255, .2);
  border-radius: 50%;
}

.app-sidebar::after {
  inset: 0;
  background-image:
    linear-gradient(25deg, transparent 0 50%, rgba(93, 162, 255, .12) 50.2%, transparent 50.8%),
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 36%, rgba(255,255,255,.44) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 63%, rgba(255,255,255,.42) 0 1px, transparent 2px);
  opacity: .8;
}

.app-sidebar > * {
  position: relative;
  z-index: 1;
}

.app-sidebar .sidebar-brand {
  padding: 6px 12px 36px;
  background: transparent;
  border-bottom: 0;
}

.app-sidebar .brand {
  gap: 14px;
  color: #fff;
  font-size: 0;
}

.brand-mark {
  width: 34px;
  display: grid;
  gap: 5px;
  flex: 0 0 auto;
}

.brand-mark span {
  position: relative;
  display: block;
  width: 34px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, #21caff 0%, #0969f5 100%);
  box-shadow: 0 10px 20px rgba(0, 112, 255, .34);
}

.brand-mark span::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #00266f;
}

.app-sidebar .brand-title {
  display: block;
  max-width: 190px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.app-sidebar .sidebar-brand > span {
  margin-top: 3px;
  padding-left: 48px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.app-sidebar .topnav {
  gap: 10px;
  padding: 0;
}

.app-sidebar .topnav a {
  min-height: 56px;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: rgba(235, 243, 255, .82);
  font-size: 16px;
  font-weight: 800;
}

.app-sidebar .topnav a i {
  width: 24px;
  color: rgba(230, 239, 255, .72);
  font-size: 21px;
}

.app-sidebar .topnav a:hover,
.app-sidebar .topnav a.active {
  border-color: rgba(74, 143, 255, .74);
  background: linear-gradient(135deg, rgba(22, 108, 255, .9), rgba(5, 51, 128, .72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 26px rgba(0, 48, 142, .26);
  color: #fff;
}

.app-sidebar .topnav a:hover i,
.app-sidebar .topnav a.active i {
  color: #fff;
}

.app-sidebar .sidebar-user {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(106, 164, 255, .26);
  border-radius: 10px;
  background: rgba(1, 23, 66, .34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.sidebar-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #36b8ff, #1b60f1 72%);
  color: #dcecff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(21, 96, 241, .42);
}

.sidebar-user-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.app-sidebar .sidebar-user strong {
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar .sidebar-user span,
.app-sidebar .sidebar-user small {
  overflow: hidden;
  color: rgba(226, 237, 255, .84);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar .sidebar-user form {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}

.app-sidebar .link-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(90, 150, 255, .24);
  border-radius: 8px;
  background: rgba(2, 28, 76, .52);
  font-size: 14px;
  font-weight: 850;
}

.app-sidebar ~ .container,
.app-sidebar ~ .main-content {
  width: calc(100% - 368px);
  max-width: none;
  margin: 34px 36px 34px 332px;
}

.app-sidebar ~ .footer {
  width: calc(100% - 368px);
  max-width: none;
  margin: 4px 36px 30px 332px;
  color: #6a7ca4;
  font-size: 14px;
}

.dashboard-page {
  display: grid;
  gap: 26px;
  padding-bottom: 40px;
}

.dashboard-page > * {
  min-width: 0;
}

.dashboard-page .dashboard-hero {
  min-height: 194px;
  align-items: center;
  margin-bottom: 0;
  padding: 42px 46px;
  border: 1px solid rgba(61, 138, 255, .32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 96% 12%, rgba(255,255,255,.72) 0 1px, transparent 2px),
    radial-gradient(circle at 57% 38%, rgba(36, 181, 255, .8) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 24%, rgba(42, 132, 255, .36), transparent 28%),
    linear-gradient(135deg, #071841 0%, #06275e 56%, #03183f 100%);
  box-shadow: 0 12px 26px rgba(20, 49, 102, .18);
}

.dashboard-page .dashboard-hero::before {
  inset: 0;
  width: auto;
  border-radius: inherit;
  background:
    linear-gradient(158deg, transparent 0 52%, rgba(78, 151, 255, .18) 52.2%, transparent 52.8%),
    radial-gradient(ellipse 66% 42% at 68% 22%, transparent 0 56%, rgba(93, 165, 255, .24) 57%, transparent 58%),
    radial-gradient(ellipse 72% 48% at 75% 86%, transparent 0 58%, rgba(67, 150, 255, .18) 59%, transparent 60%);
}

.dashboard-page .dashboard-hero::after {
  display: none;
}

.dashboard-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.dashboard-page .eyebrow {
  color: #23c8ff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-page .eyebrow::before {
  background: #23c8ff;
}

.dashboard-page .dashboard-hero h1 {
  margin-top: 22px;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.dashboard-page .dashboard-hero p {
  margin-top: 14px;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 700;
}

.dashboard-it-card {
  position: relative;
  z-index: 1;
  width: min(260px, 28%);
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 22px 24px;
  border: 1px solid rgba(76, 148, 255, .9);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(17, 99, 255, .92), rgba(5, 35, 99, .76));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 30px rgba(0, 31, 100, .26);
}

.dashboard-it-card > i:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(180, 215, 255, .78);
  border-radius: 13px;
  color: #d8ecff;
  font-size: 22px;
}

.dashboard-it-card strong,
.dashboard-it-card small {
  display: block;
}

.dashboard-it-card strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.dashboard-it-card small {
  margin-top: 4px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-page .quick-actions {
  gap: 18px;
  margin-bottom: 0;
}

.dashboard-page .quick-actions form {
  min-width: 0;
}

.dashboard-page .big-action {
  min-height: 84px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
  gap: 20px;
  padding: 0 34px;
  border: 1px solid rgba(48, 130, 255, .36);
  border-radius: 9px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(12, 56, 128, .15);
}

.dashboard-page .big-action.in {
  background: linear-gradient(135deg, #2283ff 0%, #064fd2 100%);
}

.dashboard-page .big-action.out {
  background: linear-gradient(135deg, #163b78 0%, #061d4b 100%);
}

.dashboard-page .big-action > i:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  font-size: 20px;
}

.dashboard-page .big-action strong,
.dashboard-page .big-action small {
  display: block;
}

.dashboard-page .big-action strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.dashboard-page .big-action small {
  margin-top: 3px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

.dashboard-page .dashboard-metrics {
  gap: 16px;
  margin-bottom: 0;
}

.dashboard-page .card,
.dashboard-page .panel {
  border: 1px solid #c8d8f1;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(30, 72, 137, .08);
  backdrop-filter: blur(8px);
}

.dashboard-page .kpi-card {
  min-height: 104px;
  padding: 20px 22px;
}

.dashboard-page .kpi-card::before {
  display: none;
}

.dashboard-page .kpi-row span {
  color: #06317e;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-page .kpi-icon {
  color: #1c60d8;
  font-size: 22px;
  opacity: .45;
}

.dashboard-page .kpi-card strong {
  margin-top: 18px;
  color: #05194e;
  font-size: 28px;
  font-weight: 900;
}

.dashboard-page .dashboard-panels {
  grid-template-columns: 1.08fr 1.08fr 1.14fr;
  gap: 16px;
}

.dashboard-panel {
  min-height: 210px;
  padding: 24px 22px 20px;
}

.dashboard-page .section-head {
  margin-bottom: 24px;
}

.dashboard-page .section-head h2 {
  color: #06194f;
  font-size: 20px;
  font-weight: 900;
}

.dashboard-page .section-head h2::before {
  width: 4px;
  height: 18px;
  background: #126dff;
}

.dashboard-page .text-link {
  color: #005bff;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-page .status-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.dashboard-page .status-row span {
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 14px 8px;
  border: 1px solid #c9d9f2;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(250,253,255,.94), rgba(241,247,255,.8));
  color: #06194f;
  font-weight: 900;
}

.dashboard-page .status-row span i {
  color: #2d7dff;
  font-size: 24px;
}

.dashboard-page .status-row span b {
  margin: 0;
  color: #071b4e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-page .status-row span strong {
  color: #06194f;
  font-size: 28px;
  line-height: 1;
}

.dashboard-list {
  margin: 0;
}

.dashboard-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 16px;
  padding: 0 0 20px;
  border-bottom: 1px solid #cbd9ef;
}

.dashboard-list li.empty-cell {
  display: block;
  border-bottom: 0;
}

.dashboard-list a {
  color: #006cff;
  font-size: 18px;
  font-weight: 800;
}

.dashboard-list small {
  color: #5f6e8e;
  font-size: 14px;
  white-space: nowrap;
}

.dashboard-list time {
  grid-column: 1 / -1;
  color: #52698f;
  font-size: 14px;
  font-weight: 700;
}

/* ??? 愿由ъ옄 肄섏넄 由щ뵒?먯씤 ??? */

body:has(.admin-shell) {
  overflow-x: hidden;
  background-color: #eef5ff;
  background-image:
    radial-gradient(ellipse 72% 46% at 86% 104%, rgba(196, 216, 247, .52), transparent 66%),
    radial-gradient(ellipse 58% 42% at 70% 8%, rgba(226, 238, 255, .92), transparent 64%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #e8f1ff 100%);
}

body:has(.admin-shell) .admin-content {
  width: calc(100% - 368px);
  max-width: none;
  display: grid;
  gap: 24px;
  margin: 34px 36px 34px 332px;
}

body:has(.admin-shell) .flash,
body:has(.admin-shell) .footer {
  width: calc(100% - 368px);
  max-width: none;
  margin-left: 332px;
  margin-right: 36px;
}

body:has(.admin-shell) .footer {
  margin-top: 4px;
  margin-bottom: 30px;
  color: #6a7ca4;
  font-size: 14px;
}

.admin-sidebar.app-sidebar .nav-divider {
  height: 1px;
  margin: 4px 10px;
  background: rgba(136, 183, 255, .22);
}

.admin-sidebar.app-sidebar .topnav {
  gap: 5px;
  scrollbar-width: none;
}

.admin-sidebar.app-sidebar .topnav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.admin-sidebar.app-sidebar .topnav a {
  min-height: 44px;
  font-size: 15px;
}

.admin-content > .page-title {
  min-height: 86px;
  margin-bottom: 0;
  padding: 24px 26px;
  border: 1px solid #c8d8f1;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(30, 72, 137, .08);
  backdrop-filter: blur(8px);
}

.admin-content > .page-title h1 {
  color: #06194f;
  font-size: 28px;
  font-weight: 900;
}

.admin-hero {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 42px;
  border: 1px solid rgba(61, 138, 255, .32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 96% 12%, rgba(255,255,255,.72) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 32%, rgba(36, 181, 255, .72) 0 2px, transparent 3px),
    linear-gradient(158deg, transparent 0 52%, rgba(78, 151, 255, .16) 52.2%, transparent 52.8%),
    linear-gradient(135deg, #071841 0%, #06275e 56%, #03183f 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(20, 49, 102, .18);
}

.admin-hero .eyebrow {
  color: #23c8ff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.admin-hero .eyebrow::before {
  background: #23c8ff;
}

.admin-hero h1 {
  margin-top: 16px;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.12;
}

.admin-hero p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 700;
}

.admin-hero-action {
  min-width: 240px;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(76, 148, 255, .88);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(17, 99, 255, .92), rgba(5, 35, 99, .76));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 30px rgba(0, 31, 100, .26);
}

.admin-hero-action > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(180, 215, 255, .78);
  border-radius: 13px;
  color: #d8ecff;
}

.admin-hero-action strong,
.admin-hero-action small {
  display: block;
  color: #fff;
}

.admin-hero-action strong {
  font-size: 18px;
  font-weight: 900;
}

.admin-hero-action small {
  margin-top: 4px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
}

body:has(.admin-shell) .panel,
body:has(.admin-shell) .card {
  border: 1px solid #c8d8f1;
  border-radius: 10px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 24px rgba(30, 72, 137, .08);
  backdrop-filter: blur(8px);
}

body:has(.admin-shell) .panel h2,
body:has(.admin-shell) .bulk-panel strong {
  color: #06194f;
  font-weight: 900;
}

.admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.admin-metrics .card {
  min-height: 114px;
  padding: 22px;
}

.admin-metrics .card::before {
  display: none;
}

.admin-metrics .kpi-row span {
  color: #06317e;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.admin-metrics .kpi-icon {
  color: #1c60d8;
  font-size: 22px;
  opacity: .45;
}

.admin-metrics .card strong {
  margin-top: 18px;
  color: #05194e;
  font-size: 28px;
  font-weight: 900;
}

.admin-panels {
  gap: 16px;
}

.admin-panel {
  min-height: 260px;
  padding: 24px 22px 20px;
}

.admin-content .section-head {
  margin-bottom: 20px;
}

.admin-content .section-head h2 {
  color: #06194f;
  font-size: 20px;
  font-weight: 900;
}

.admin-content .section-head h2::before {
  width: 4px;
  height: 18px;
  background: #126dff;
}

.admin-content .text-link {
  color: #005bff;
  font-size: 14px;
  font-weight: 900;
}

.admin-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #cbd9ef;
}

.admin-list li:first-child {
  padding-top: 0;
}

.admin-list li.empty-cell {
  display: block;
  color: #65779c;
}

.admin-list span {
  min-width: 0;
  color: #006cff;
  font-size: 16px;
  font-weight: 800;
}

.admin-list small {
  color: #5f6e8e;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

body:has(.admin-shell) .form-grid,
body:has(.admin-shell) .form-stack,
body:has(.admin-shell) .import-panel {
  gap: 18px;
}

body:has(.admin-shell) .table-wrap {
  border: 1px solid #d2def1;
  border-radius: 10px;
  background: #fff;
}

body:has(.admin-shell) table {
  border-collapse: separate;
  border-spacing: 0;
}

body:has(.admin-shell) th {
  background: #f1f6ff;
  color: #06317e;
  font-weight: 900;
}

body:has(.admin-shell) td {
  border-bottom-color: #e3ebf8;
}

body:has(.admin-shell) .segmented {
  background: #edf4ff;
  border-color: #cbd9ef;
}

body:has(.admin-shell) .segmented a.active {
  background: #126dff;
  color: #fff;
}

@media (max-height: 900px) and (min-width: 981px) {
  body:has(.admin-shell) .admin-content {
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .admin-sidebar.app-sidebar .topnav {
    gap: 2px;
  }
  .admin-sidebar.app-sidebar .topnav a {
    min-height: 34px;
    font-size: 13px;
  }
  .admin-sidebar.app-sidebar .topnav a i {
    font-size: 16px;
  }
  .admin-sidebar.app-sidebar .nav-divider {
    margin: 2px 10px;
  }
  .admin-hero {
    min-height: 148px;
    padding: 24px 36px;
  }
  .admin-hero h1 {
    margin-top: 12px;
    font-size: 29px;
  }
  .admin-hero p {
    margin-top: 10px;
  }
  .admin-hero-action {
    min-height: 80px;
    padding: 16px 18px;
  }
  .admin-metrics .card {
    min-height: 88px;
    padding: 16px 20px;
  }
  .admin-metrics .card strong {
    margin-top: 9px;
    font-size: 24px;
  }
  .admin-panel {
    min-height: 214px;
    padding: 20px 20px 18px;
  }
}

@media (max-width: 1180px) {
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body:has(.admin-shell) .admin-content,
  body:has(.admin-shell) .flash,
  body:has(.admin-shell) .footer {
    width: auto;
    max-width: 1180px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .admin-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 30px;
  }
  .admin-hero-action {
    width: 100%;
  }
  .admin-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-metrics {
    grid-template-columns: 1fr;
  }
  .admin-content > .page-title {
    min-height: 76px;
    padding: 20px;
  }
  .admin-content > .page-title h1,
  .admin-hero h1 {
    font-size: 27px;
  }
}

@media (max-height: 900px) and (min-width: 981px) {
  .app-sidebar {
    padding: 22px 22px 18px;
  }
  .app-sidebar .sidebar-brand {
    padding: 2px 10px 18px;
  }
  .app-sidebar .brand-title {
    font-size: 20px;
  }
  .app-sidebar .topnav {
    gap: 4px;
  }
  .app-sidebar .topnav a {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }
  .app-sidebar .topnav a i {
    font-size: 18px;
  }
  .app-sidebar .sidebar-user {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    margin-top: 12px;
    padding: 12px 12px 10px;
  }
  .sidebar-avatar {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .app-sidebar .sidebar-user strong { font-size: 15px; }
  .app-sidebar .sidebar-user span,
  .app-sidebar .sidebar-user small { font-size: 11px; }
  .app-sidebar .link-button {
    min-height: 36px;
  }
  .app-sidebar ~ .container,
  .app-sidebar ~ .main-content {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .dashboard-page {
    gap: 14px;
  }
  .dashboard-page .dashboard-hero {
    min-height: 148px;
    padding: 24px 36px;
  }
  .dashboard-page .dashboard-hero h1 {
    margin-top: 12px;
    font-size: 29px;
  }
  .dashboard-page .dashboard-hero p {
    margin-top: 10px;
  }
  .dashboard-it-card {
    min-height: 80px;
    padding: 16px 18px;
  }
  .dashboard-page .big-action {
    min-height: 66px;
  }
  .dashboard-page .kpi-card {
    min-height: 82px;
    padding: 14px 18px;
  }
  .dashboard-page .kpi-card strong {
    margin-top: 9px;
    font-size: 22px;
  }
  .dashboard-panel {
    min-height: 174px;
    padding: 18px 20px 16px;
  }
  .dashboard-page .section-head {
    margin-bottom: 14px;
  }
  .dashboard-page .status-row span {
    min-height: 92px;
  }
}

/* ??? 濡쒓렇???섏씠吏 ??? */

body:has(.login-wrap) {
  background: #eef4ff;
  background-image: none;
  overflow-x: hidden;
}

.login-page-bg {
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(90deg, #06183a 0%, #071c44 63.7%, #eef4ff 63.7%, #eef4ff 100%);
}

.login-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.74fr) minmax(430px, .99fr);
}

.lp-left {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 76px 78px 54px 80px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(2, 13, 36, .94) 0%, rgba(6, 28, 69, .96) 38%, rgba(7, 46, 108, .94) 100%),
    radial-gradient(circle at 90% 0%, rgba(0, 115, 255, .42), transparent 34%),
    radial-gradient(circle at 64% 68%, rgba(3, 92, 220, .28), transparent 42%);
  isolation: isolate;
}

.lp-left::before,
.lp-left::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.lp-left::before {
  width: 660px;
  height: 660px;
  right: -170px;
  top: 54px;
  border: 1px solid rgba(55, 137, 255, .26);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.lp-left::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 155, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 155, 255, .05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 78% 56%, rgba(0,0,0,.78), transparent 58%);
  opacity: .5;
}

.lp-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lp-line {
  position: absolute;
  display: block;
  width: 720px;
  height: 210px;
  border-top: 1px solid rgba(55, 160, 255, .34);
  border-radius: 50%;
  transform-origin: center;
  opacity: .9;
}

.lp-line-1 { right: 60px; top: 272px; transform: rotate(-18deg); }
.lp-line-2 { right: -42px; top: 415px; transform: rotate(-7deg); }
.lp-line-3 { right: 126px; bottom: 52px; transform: rotate(9deg); opacity: .66; }

.lp-glow {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1ecaff;
  box-shadow: 0 0 0 3px rgba(30, 202, 255, .12), 0 0 26px rgba(30, 202, 255, .95);
}

.lp-glow-1 { right: 255px; top: 290px; }
.lp-glow-2 { right: 128px; top: 548px; }
.lp-glow-3 { right: 350px; bottom: 184px; }
.lp-glow-4 { right: 88px; bottom: 320px; width: 4px; height: 4px; opacity: .9; }

.lp-header,
.lp-hero,
.lp-copy {
  position: relative;
  z-index: 2;
}

.lp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lp-header-icon {
  width: 42px;
  display: grid;
  gap: 5px;
}

.lp-header-icon span {
  position: relative;
  display: block;
  width: 42px;
  height: 21px;
  border-radius: 6px;
  background: linear-gradient(135deg, #22c7ff 0%, #0866f5 100%);
  box-shadow: 0 8px 20px rgba(0, 112, 255, .34);
}

.lp-header-icon span::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #002974;
}

.lp-header-name {
  color: #fff;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.05;
}

.lp-header-sub {
  margin-top: 5px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1;
}

.lp-hero {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 660px;
  padding: 48px 0 34px;
}

.lp-copy-block {
  position: relative;
  z-index: 4;
  width: min(570px, 56%);
  min-width: 505px;
  padding-bottom: 38px;
}

.lp-badge {
  margin: 0 0 18px;
  color: #13c8ff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.lp-title {
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .24);
}

.lp-accentline {
  margin: 10px 0 20px;
  color: #18c8ff;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.12;
}

.lp-desc {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .94);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.58;
}

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
  width: min(552px, 100%);
}

.lp-tile {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 15px 8px;
  border: 1px solid rgba(114, 179, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 15, 50, .18);
  backdrop-filter: blur(7px);
}

.lp-tile i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  border-radius: 12px;
  background: linear-gradient(145deg, #7dd9ff 0%, #1767ff 74%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 24px rgba(15, 101, 255, .45);
}

.lp-tile span {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.lp-illustration {
  position: absolute;
  right: -98px;
  bottom: 56px;
  width: min(42vw, 560px);
  margin: 0;
  z-index: 1;
  filter: drop-shadow(0 35px 46px rgba(0, 13, 44, .38));
}

.lp-illustration::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: 5%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0, 151, 255, .22);
  filter: blur(22px);
}

.lp-illustration img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.lp-copy {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
}

.lp-right {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 76px 134px 84px;
  background:
    radial-gradient(ellipse 90% 52% at 112% 0%, rgba(221, 233, 255, .88), transparent 64%),
    linear-gradient(146deg, #f7faff 0%, #edf4ff 58%, #e6efff 100%);
}

.lp-right::before,
.lp-right::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.lp-right::before {
  width: 820px;
  height: 820px;
  right: -390px;
  top: 114px;
  background: rgba(255, 255, 255, .46);
}

.lp-right::after {
  width: 700px;
  height: 700px;
  left: -270px;
  bottom: -405px;
  border: 120px solid rgba(216, 228, 250, .42);
}

.lp-form-box {
  position: relative;
  z-index: 2;
  width: min(424px, 100%);
  padding: 32px 32px 36px;
  border: 1px solid rgba(214, 224, 241, .95);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 54px rgba(22, 43, 83, .16), 0 4px 12px rgba(22, 43, 83, .06);
}

.lp-form-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.lp-form-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #ecf3ff;
  color: #1263f1;
  font-size: 30px;
}

.lp-form-title {
  margin: 0;
  color: #071b47;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.05;
}

.lp-form-sub {
  margin: 9px 0 0;
  color: #36486d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.lp-login-form {
  display: grid;
  gap: 22px;
}

.lp-field {
  display: grid;
  gap: 10px;
}

.lp-field label {
  color: #0c1d47;
  font-size: 17px;
  font-weight: 850;
}

.lp-input-wrap {
  position: relative;
  font-size: 20px;
  font-weight: 800;
}

.lp-value-mirror {
  position: absolute;
  left: 56px;
  right: 18px;
  top: 50%;
  z-index: 2;
  display: none;
  overflow: hidden;
  color: #071b47;
  font: 800 20px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.lp-input-wrap.has-value-mirror .lp-value-mirror {
  display: block;
}

.lp-input-wrap.has-value-mirror input {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.lp-input-wrap.has-value-mirror.is-editing input {
  color: #071b47 !important;
  -webkit-text-fill-color: #071b47 !important;
}

.lp-input-wrap.has-value-mirror.is-editing .lp-value-mirror {
  display: none;
}

.lp-input-wrap.has-value-mirror:has(.lp-pw-toggle) .lp-value-mirror {
  right: 58px;
}

.lp-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  color: #071b47;
  font-size: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.lp-input-wrap input {
  width: 100%;
  height: 57px;
  padding: 0 56px;
  border: 1px solid #d9e3f1;
  border-radius: 8px;
  background: #fff;
  color: #071b47;
  font: 800 1em/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
  font-size: 1em;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(14, 39, 83, .02);
  transition: border-color .15s, box-shadow .15s;
}

.lp-input-wrap input::placeholder {
  color: #7b879f;
  font-weight: 650;
}

@keyframes lp-autofill-detect { to {} }

.lp-input-wrap input:-webkit-autofill,
.lp-input-wrap input:-webkit-autofill:hover,
.lp-input-wrap input:-webkit-autofill:focus,
.lp-input-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: #071b47;
  caret-color: #071b47;
  font: 800 20px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif !important;
  font-family: 'Segoe UI', Arial, "Noto Sans KR", sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  box-shadow: 0 0 0 1000px #fff inset, 0 1px 0 rgba(14, 39, 83, .02);
  transition: background-color 9999s ease-out, border-color .15s, box-shadow .15s;
  animation-name: lp-autofill-detect;
  animation-duration: 0.001s;
}

.lp-input-wrap input:focus {
  outline: none;
  border-color: #1263f1;
  box-shadow: 0 0 0 4px rgba(18, 99, 241, .13);
}

.lp-input-wrap input.lp-autofill-fixed {
  font: 800 20px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.lp-pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #071b47;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.lp-pw-toggle:hover,
.lp-pw-toggle:focus-visible {
  color: #1263f1;
  background: #edf4ff;
  outline: none;
}

.btn-login {
  width: 100%;
  height: 59px;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #1477ff 0%, #0049ee 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(0, 82, 237, .22);
  transition: transform .14s, box-shadow .14s, filter .14s;
}

.btn-login:hover,
.btn-login:focus-visible {
  filter: brightness(1.04);
  box-shadow: 0 18px 32px rgba(0, 82, 237, .28);
  outline: none;
}

.btn-login:active {
  transform: translateY(1px);
}

.lp-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}

.lp-links a {
  color: #0058f0;
  font-size: 16px;
  font-weight: 850;
}

.lp-links a:hover,
.lp-links a:focus-visible {
  color: #003eb3;
  text-decoration: underline;
  outline: none;
}

.lp-links-div {
  width: 1px;
  height: 21px;
  background: #e2e8f2;
}

.lp-security-badge {
  position: absolute;
  left: 50%;
  bottom: 96px;
  z-index: 2;
  width: min(382px, calc(100% - 56px));
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid #b9cae6;
  border-radius: 999px;
  background: rgba(239, 245, 255, .7);
  color: #0b214f;
  font-size: 17px;
  font-weight: 850;
  transform: translateX(-50%);
}

.lp-security-badge i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #1263f1;
  color: #fff;
  font-size: 18px;
}

.login-flash {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  margin-bottom: 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  text-align: left;
}

.login-flash-danger {
  background: #fff2f2;
  border: 1px solid #f2b9b9;
  color: #9f2525;
}

.login-flash-success {
  background: #eefbf8;
  border: 1px solid #9ce2d8;
  color: #12675f;
}

.login-flash-warning {
  background: #fff8e7;
  border: 1px solid #f7d48a;
  color: #8a5b00;
}

@media (max-width: 1320px) {
  .lp-left { padding-left: 56px; padding-right: 44px; }
  .lp-title { font-size: 54px; }
  .lp-badge { font-size: 23px; }
  .lp-accentline { font-size: 29px; }
  .lp-desc { font-size: 18px; }
  .lp-copy-block { min-width: 455px; }
  .lp-illustration { width: min(54vw, 590px); right: -88px; }
  .lp-right { padding-left: 48px; padding-right: 48px; }
}

@media (min-width: 1041px) and (max-width: 1440px) and (max-height: 860px) {
  .lp-left {
    padding: 42px 56px 28px 58px;
  }
  .lp-left::before {
    width: 560px;
    height: 560px;
    top: 30px;
    right: -150px;
  }
  .lp-header {
    gap: 13px;
  }
  .lp-header-icon {
    width: 36px;
    gap: 4px;
  }
  .lp-header-icon span {
    width: 36px;
    height: 18px;
    border-radius: 5px;
  }
  .lp-header-name {
    font-size: 22px;
  }
  .lp-header-sub {
    font-size: 15px;
  }
  .lp-hero {
    min-height: 0;
    padding: 26px 0 12px;
  }
  .lp-copy-block {
    width: min(500px, 56%);
    min-width: 420px;
    padding-bottom: 0;
  }
  .lp-badge {
    margin-bottom: 10px;
    font-size: 22px;
  }
  .lp-title {
    font-size: 50px;
    line-height: 1.04;
  }
  .lp-accentline {
    margin: 6px 0 12px;
    font-size: 28px;
  }
  .lp-desc {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.45;
  }
  .lp-tiles {
    width: 440px;
    gap: 10px 10px;
  }
  .lp-tile {
    min-height: 96px;
    gap: 7px;
    padding: 11px 7px;
  }
  .lp-tile i {
    width: 42px;
    height: 42px;
    font-size: 22px;
    border-radius: 10px;
  }
  .lp-tile span {
    font-size: 14px;
  }
  .lp-illustration {
    right: -64px;
    bottom: 24px;
    width: min(48vw, 540px);
    filter: drop-shadow(0 26px 34px rgba(0, 13, 44, .34));
  }
  .lp-line {
    width: 620px;
    height: 170px;
  }
  .lp-line-1 { top: 210px; }
  .lp-line-2 { top: 335px; }
  .lp-line-3 { bottom: 18px; }
  .lp-glow-1 { top: 250px; }
  .lp-glow-2 { top: 430px; }
  .lp-glow-3 { bottom: 130px; }
  .lp-glow-4 { bottom: 250px; }
  .lp-copy {
    font-size: 14px;
  }
  .lp-right {
    padding: 54px 56px 78px 62px;
  }
  .lp-form-box {
    width: min(392px, 100%);
    padding: 26px 28px 28px;
  }
  .lp-form-heading {
    gap: 16px;
    margin-bottom: 24px;
  }
  .lp-form-icon {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
  .lp-form-title {
    font-size: 28px;
  }
  .lp-form-sub {
    margin-top: 6px;
    font-size: 13px;
  }
  .lp-login-form {
    gap: 16px;
  }
  .lp-field {
    gap: 7px;
  }
  .lp-field label {
    font-size: 15px;
  }
  .lp-input-wrap {
    font-size: 17px;
  }
  .lp-input-wrap input {
    height: 50px;
    font: 800 1em/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
    font-size: 1em;
  }
  .lp-input-wrap input:-webkit-autofill,
  .lp-input-wrap input:-webkit-autofill:hover,
  .lp-input-wrap input:-webkit-autofill:focus,
  .lp-input-wrap input:-webkit-autofill:active {
    font: 800 17px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif !important;
    font-size: 17px !important;
  }
  .lp-input-wrap input.lp-autofill-fixed {
    font: 800 17px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif !important;
    font-size: 17px !important;
  }
  .lp-value-mirror {
    font: 800 17px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
  }
  .btn-login {
    height: 53px;
    margin-top: 3px;
    font-size: 18px;
  }
  .lp-links {
    margin-top: 18px;
  }
  .lp-security-badge {
    bottom: 28px;
    min-height: 56px;
    font-size: 15px;
  }
  .lp-security-badge i {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

@media (min-width: 1041px) and (max-width: 1440px) and (max-height: 860px) {
  .login-wrap {
    grid-template-columns: minmax(0, 1.68fr) minmax(404px, .94fr);
  }
  .lp-left {
    padding-left: 48px;
    padding-right: 34px;
  }
  .lp-copy-block {
    min-width: 390px;
  }
  .lp-title {
    font-size: 46px;
  }
  .lp-badge {
    font-size: 20px;
  }
  .lp-accentline {
    font-size: 26px;
  }
  .lp-desc {
    font-size: 16px;
  }
  .lp-tiles {
    width: 424px;
    gap: 9px 9px;
  }
  .lp-tile {
    min-height: 88px;
  }
  .lp-tile span {
    font-size: 13px;
  }
  .lp-illustration {
    width: min(47vw, 475px);
    right: -72px;
    bottom: 30px;
  }
  .lp-right {
    padding-left: 38px;
    padding-right: 38px;
  }
  .lp-form-box {
    width: min(374px, 100%);
  }
}

@media (min-width: 1450px) and (max-height: 860px) {
  .lp-left {
    padding: 48px 72px 34px 78px;
  }
  .lp-left::before {
    width: 600px;
    height: 600px;
    top: 34px;
    right: -150px;
  }
  .lp-hero {
    min-height: 0;
    padding: 32px 0 18px;
  }
  .lp-copy-block {
    width: min(570px, 56%);
    min-width: 500px;
    padding-bottom: 0;
  }
  .lp-badge {
    margin-bottom: 12px;
    font-size: 24px;
  }
  .lp-title {
    font-size: 58px;
    line-height: 1.05;
  }
  .lp-accentline {
    margin: 8px 0 14px;
    font-size: 31px;
  }
  .lp-desc {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.45;
  }
  .lp-tiles {
    width: 520px;
    gap: 12px;
  }
  .lp-tile {
    min-height: 96px;
    gap: 7px;
    padding: 11px 8px;
  }
  .lp-tile i {
    width: 44px;
    height: 44px;
    font-size: 23px;
  }
  .lp-tile span {
    font-size: 14px;
  }
  .lp-illustration {
    right: -72px;
    bottom: 28px;
    width: min(42vw, 540px);
    filter: drop-shadow(0 28px 36px rgba(0, 13, 44, .34));
  }
  .lp-line {
    width: 660px;
    height: 180px;
  }
  .lp-line-1 { top: 230px; }
  .lp-line-2 { top: 360px; }
  .lp-line-3 { bottom: 26px; }
  .lp-glow-1 { top: 262px; }
  .lp-glow-2 { top: 462px; }
  .lp-glow-3 { bottom: 140px; }
  .lp-glow-4 { bottom: 270px; }
  .lp-right {
    padding: 60px 72px 88px 78px;
  }
  .lp-form-box {
    width: min(424px, 100%);
    padding: 30px 32px 32px;
  }
  .lp-form-heading {
    margin-bottom: 28px;
  }
  .lp-form-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
  .lp-form-title {
    font-size: 30px;
  }
  .lp-login-form {
    gap: 20px;
  }
  .lp-input-wrap input {
    height: 55px;
  }
  .btn-login {
    height: 57px;
    font-size: 20px;
  }
  .lp-security-badge {
    bottom: 34px;
    min-height: 58px;
  }
}

@media (max-width: 1040px) {
  .login-page-bg { background: #eef4ff; }
  .login-wrap { grid-template-columns: 1fr; }
  .lp-left {
    min-height: auto;
    padding: 36px 32px 28px;
  }
  .lp-header { margin-bottom: 24px; }
  .lp-hero {
    min-height: 0;
    padding: 0;
  }
  .lp-copy-block {
    width: 100%;
    min-width: 0;
    padding-bottom: 0;
  }
  .lp-badge { font-size: 20px; }
  .lp-title { font-size: 44px; }
  .lp-accentline { font-size: 24px; }
  .lp-desc { font-size: 16px; }
  .lp-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .lp-tile {
    min-height: 84px;
    padding: 10px 6px;
  }
  .lp-tile i {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .lp-tile span { font-size: 13px; }
  .lp-illustration { display: none; }
  .lp-copy { margin-top: 24px; }
  .lp-right {
    min-height: auto;
    padding: 56px 24px 112px;
  }
  .lp-security-badge { bottom: 30px; }
}

@media (max-width: 640px) {
  .lp-left { display: none; }
  .lp-right {
    min-height: 100vh;
    min-height: 100svh;
    align-content: center;
    padding: 18px 16px 88px;
  }
  .lp-form-box {
    width: 100%;
    max-width: 360px;
    padding: 20px 18px 22px;
    border-radius: 12px;
  }
  .lp-form-heading {
    gap: 12px;
    margin-bottom: 20px;
  }
  .lp-form-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 21px;
  }
  .lp-form-title { font-size: 24px; }
  .lp-form-sub {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
  }
  .lp-login-form {
    gap: 13px;
  }
  .lp-field {
    gap: 6px;
  }
  .lp-field label {
    font-size: 13px;
  }
  .lp-input-wrap {
    font-size: 16px;
  }
  .lp-input-icon {
    left: 14px;
    font-size: 17px;
  }
  .lp-input-wrap input {
    height: 46px;
    padding: 0 46px;
    font-size: 1em;
  }
  .lp-input-wrap input:-webkit-autofill,
  .lp-input-wrap input:-webkit-autofill:hover,
  .lp-input-wrap input:-webkit-autofill:focus,
  .lp-input-wrap input:-webkit-autofill:active,
  .lp-input-wrap input.lp-autofill-fixed {
    font-size: 16px !important;
  }
  .lp-value-mirror {
    left: 46px;
    right: 14px;
    font: 800 16px/1.2 'Segoe UI', Arial, "Noto Sans KR", sans-serif;
  }
  .lp-input-wrap.has-value-mirror:has(.lp-pw-toggle) .lp-value-mirror {
    right: 48px;
  }
  .lp-pw-toggle {
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .btn-login {
    height: 48px;
    margin-top: 2px;
    gap: 9px;
    font-size: 16px;
  }
  .lp-links {
    gap: 14px;
    margin-top: 16px;
  }
  .lp-links a,
  .lp-security-badge {
    font-size: 12.5px;
  }
  .lp-security-badge {
    bottom: 18px;
    width: min(330px, calc(100% - 32px));
    min-height: 46px;
    gap: 9px;
    padding: 8px 12px;
  }
  .lp-security-badge i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .lp-right {
    padding: 14px 14px 76px;
  }
  .lp-form-box {
    padding: 18px 16px 20px;
  }
  .lp-form-heading {
    margin-bottom: 16px;
  }
  .lp-login-form {
    gap: 11px;
  }
  .lp-links {
    margin-top: 13px;
  }
}

.flash {
  width: min(var(--content-max), calc(100% - 316px));
  margin: 16px 34px 0 286px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
body:has(.login-wrap) .flash { display: none; }
.flash.success {
  border-color: #9ce2d8;
  background: #eefbf8;
  color: #12675f;
}
.flash.danger {
  border-color: #f2b9b9;
  background: #fff2f2;
  color: #9f2525;
}
.flash.warning {
  border-color: #f7d48a;
  background: #fff8e7;
  color: #8a5b00;
}
.footer {
  width: min(var(--content-max), calc(100% - 316px));
  margin: 16px 34px 16px 286px;
  color: var(--muted);
  font-size: 12px;
}
.dashboard-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.work-log-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.work-log-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.work-log-card:hover {
  transform: translateY(-2px);
  border-color: #9fc6ef;
  box-shadow: 0 16px 34px rgba(21, 44, 74, 0.12);
}
.work-log-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e7f1ff;
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
}
.work-log-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}
.work-log-card p {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--muted);
}
.work-log-card strong {
  color: var(--primary);
}
.search-panel {
  margin-bottom: 16px;
}
.work-log-form {
  display: grid;
  gap: 20px;
}
.work-log-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.work-log-fields label {
  display: grid;
  gap: 7px;
}
.work-log-fields span {
  color: var(--text);
  font-weight: 800;
}
.detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.work-log-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.work-log-detail-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #fbfdff;
}
.work-log-detail-grid h2 {
  margin-bottom: 10px;
  font-size: 18px;
}
.review-comment {
  padding: 14px 16px;
  border-radius: 8px;
  background: #f5f9ff;
  border: 1px solid var(--line);
}
.empty-cell {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

@media print {
  .topbar,
  .admin-sidebar,
  .print-hide,
  .footer {
    display: none !important;
  }
  .container,
  .admin-content {
    width: 100%;
    margin: 0;
  }
  body {
    background: #fff;
    background-image: none;
  }
  .panel {
    box-shadow: none;
  }
}
body:has(.login-wrap) .footer { display: none; }
.narrow-form { max-width: 520px; }

@media (max-width: 820px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-brand-panel {
    min-height: 200px;
    padding: 32px 28px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .login-brand-content { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .login-brand-logo { margin-bottom: 0; flex-shrink: 0; }
  .login-brand-divider,
  .login-feature-list,
  .login-brand-tagline,
  .login-brand-copy { display: none; }
  .login-brand-sub { display: none; }
  .login-form-panel { padding: 36px 20px; }
  .login-box { padding: 32px 24px 36px; }
}

@media (max-width: 980px) {
  .topbar,
  .admin-sidebar {
    position: static;
    width: 100%;
    min-height: auto;
  }
  .topnav,
  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
  }
  .topnav a,
  .admin-sidebar a {
    padding: 10px 12px;
    border-left: 0;
    border-radius: 6px;
  }
  .sidebar-user {
    margin-top: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .container,
  .admin-content,
  .flash,
  .footer,
  .narrow {
    width: min(100% - 24px, 1180px);
    margin-left: auto;
    margin-right: auto;
  }
  .app-sidebar ~ .container,
  .app-sidebar ~ .main-content,
  .app-sidebar ~ .footer {
    width: auto;
    max-width: 1180px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .app-sidebar {
    width: 100%;
    min-height: auto;
    padding: 26px 18px 20px;
  }
  .app-sidebar .sidebar-brand {
    padding-bottom: 18px;
  }
  .app-sidebar .topnav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .app-sidebar .topnav a {
    min-height: 46px;
  }
  .app-sidebar .sidebar-user {
    margin-top: 10px;
  }
  .dashboard-page .dashboard-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    padding: 30px;
  }
  .dashboard-it-card {
    width: 100%;
  }
  .card-grid,
  .two-col,
  .board-layout {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-grid,
  .quick-actions,
  .dashboard-panels,
  .work-log-cards,
  .work-log-fields,
  .work-log-detail-grid {
    grid-template-columns: 1fr;
  }
  .form-grid { grid-template-columns: 1fr; }
  .import-panel,
  .import-form {
    grid-template-columns: 1fr;
  }
  .dashboard-page .dashboard-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-title { flex-direction: column; }
  .page-title h1 { font-size: 28px; }
  .topnav,
  .admin-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .big-action {
    min-height: 48px;
    font-size: 16px;
  }
  .card-grid { grid-template-columns: 1fr; }
  .status-row { grid-template-columns: repeat(2, 1fr); }
  .detail-list { grid-template-columns: 1fr; }
  .sidebar-user { grid-template-columns: 1fr; }
  .app-sidebar .topnav {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-page .dashboard-hero {
    padding: 26px 22px;
  }
  .dashboard-page .dashboard-hero h1 {
    font-size: 27px;
  }
  .dashboard-page .big-action {
    padding: 0 20px;
    text-align: left;
  }
  .dashboard-page .status-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ═══════════════════════════════════════════════
   연동 서비스 바로가기 패널 — CGEssence Brand Style
   ═══════════════════════════════════════════════ */

/* ── 레이아웃 래퍼 ── */
.dashboard-main-row {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 16px;
  align-items: start;
  margin-bottom: 0;
}

.dashboard-left-col {
  display: grid;
  gap: 16px;
  min-width: 0;
  align-content: start;
}

.dashboard-main-row .quick-actions,
.dashboard-main-row .dashboard-metrics {
  margin-bottom: 0;
}

/* ── 패널 쉘 — 터미널/사이버 스타일 ── */
.connected-services-panel {
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 204, 0.22);
  background:
    linear-gradient(rgba(0, 229, 204, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #04080f 0%, #060e1e 50%, #030a14 100%);
  background-size: 28px 28px, 28px 28px, cover;
  box-shadow:
    0 0 0 1px rgba(0, 229, 204, 0.08) inset,
    0 0 40px rgba(0, 229, 204, 0.06) inset,
    0 20px 50px rgba(0, 5, 20, 0.55);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* 모서리 장식 */
.connected-services-panel::before,
.connected-services-panel::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(0, 229, 204, 0.5);
  border-style: solid;
  pointer-events: none;
}
.connected-services-panel::before {
  top: 8px; left: 8px;
  border-width: 1px 0 0 1px;
}
.connected-services-panel::after {
  bottom: 8px; right: 8px;
  border-width: 0 1px 1px 0;
}

/* ── 패널 헤더 ── */
.cs-panel-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 229, 204, 0.15);
}

.cs-panel-tag {
  display: block;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #00e5cc;
  margin-bottom: 5px;
  opacity: 0.85;
}

.cs-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #c8f0f0;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 라이브 도트 */
.cs-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e5cc;
  box-shadow: 0 0 8px rgba(0, 229, 204, 0.9);
  flex-shrink: 0;
  animation: cs-dot-blink 2.4s ease-in-out infinite;
}

@keyframes cs-dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 229, 204, .9); }
  50%       { opacity: 0.25; box-shadow: 0 0 3px rgba(0, 229, 204, .3); }
}

/* ── 카드 그리드 ── */
.cs-grid {
  display: grid;
  gap: 9px;
  flex: 1;
  align-content: space-between;
}

/* ── 카드 기본 ── */
.cs-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 204, 0.1);
  border-radius: 10px;
  background: rgba(0, 229, 204, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #c8eef0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  font: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: relative;
}

.cs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.cs-card:hover {
  transform: translateY(-2px);
  background: rgba(0, 229, 204, 0.08);
  border-color: var(--cs-neon, rgba(0, 229, 204, 0.45));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 20px var(--cs-glow, rgba(0, 229, 204, 0.15)),
    0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.cs-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--cs-neon, rgba(0, 229, 204, 0.3)) inset;
}

.cs-card--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
  filter: grayscale(.7) brightness(.65);
}

/* ── 아이콘 원형 ── */
.cs-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  flex-shrink: 0;
  color: #fff;
  position: relative;
}

.cs-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 15px;
  opacity: 0;
  transition: opacity .18s ease;
}

.cs-card:hover .cs-icon::after {
  opacity: 1;
  box-shadow: 0 0 18px var(--cs-glow, rgba(0, 229, 204, 0.4));
}

.cs-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* 서비스별 아이콘 색상 */
.cs-icon--messenger {
  background: linear-gradient(145deg, #00c8f0 0%, #0050cc 100%);
  box-shadow: 0 6px 20px rgba(0, 140, 220, .4), 0 0 0 1px rgba(0, 200, 240, .2) inset;
}
.cs-icon--essence {
  background: linear-gradient(145deg, #c060ff 0%, #6600cc 100%);
  box-shadow: 0 6px 20px rgba(160, 60, 240, .4), 0 0 0 1px rgba(200, 80, 255, .2) inset;
}
.cs-icon--essence-on {
  background: linear-gradient(145deg, #9a6aff 0%, #4a10c8 100%);
  box-shadow: 0 6px 20px rgba(120, 80, 230, .4), 0 0 0 1px rgba(160, 100, 255, .2) inset;
}
.cs-icon--asset {
  background: linear-gradient(145deg, #00e5aa 0%, #007a50 100%);
  box-shadow: 0 6px 20px rgba(0, 180, 120, .4), 0 0 0 1px rgba(0, 229, 170, .2) inset;
}
.cs-icon--security {
  background: linear-gradient(145deg, #3a7a90 0%, #1a3848 100%);
  box-shadow: 0 5px 14px rgba(30, 90, 120, .3);
}

/* CSS :has() 로 카드별 네온 변수 설정 */
.cs-card:has(.cs-icon--messenger) { --cs-neon: rgba(0, 200, 240, .5); --cs-glow: rgba(0, 200, 240, .18); }
.cs-card:has(.cs-icon--essence)   { --cs-neon: rgba(192, 96, 255, .5); --cs-glow: rgba(192, 96, 255, .18); }
.cs-card:has(.cs-icon--essence-on){ --cs-neon: rgba(154, 106, 255, .5); --cs-glow: rgba(154, 106, 255, .18); }
.cs-card:has(.cs-icon--asset)     { --cs-neon: rgba(0, 229, 170, .5); --cs-glow: rgba(0, 229, 170, .18); }
.cs-card:has(.cs-icon--security)  { --cs-neon: rgba(58, 122, 144, .3); --cs-glow: rgba(58, 122, 144, .1); }

/* ── 카드 텍스트 ── */
.cs-info {
  min-width: 0;
}

.cs-cat {
  display: block;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00e5cc;
  opacity: 0.75;
  margin-bottom: 2px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-info strong {
  display: block;
  color: #d4f0f4;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-info small {
  display: block;
  margin-top: 2px;
  color: rgba(160, 220, 230, .5);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── 뱃지 ── */
.cs-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.cs-badge--online {
  background: rgba(0, 229, 204, 0.12);
  color: #00e5cc;
  border: 1px solid rgba(0, 229, 204, 0.3);
}

.cs-badge--desktop {
  background: rgba(180, 80, 255, 0.12);
  color: #c090ff;
  border: 1px solid rgba(180, 80, 255, 0.3);
}

.cs-badge--soon {
  background: rgba(80, 110, 130, 0.14);
  color: rgba(120, 170, 190, 0.6);
  border: 1px solid rgba(80, 120, 150, 0.2);
}

.cs-arrow {
  color: rgba(0, 229, 204, 0.4);
  font-size: 11px;
  flex-shrink: 0;
}

/* ── 데스크톱 앱 모달 ── */
.cs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 20, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cs-modal-backdrop[hidden] {
  display: none;
}

.cs-modal {
  width: min(420px, calc(100% - 40px));
  padding: 38px 34px 34px;
  border: 1px solid rgba(0, 229, 204, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(rgba(0, 229, 204, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #04080f 0%, #061222 100%);
  background-size: 28px 28px, 28px 28px, cover;
  box-shadow:
    0 0 0 1px rgba(0, 229, 204, 0.08) inset,
    0 0 50px rgba(0, 229, 204, 0.08) inset,
    0 30px 70px rgba(0, 0, 0, 0.65);
  text-align: center;
  display: grid;
  gap: 16px;
  place-items: center;
}

.cs-modal-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #00c8f0 0%, #0050cc 100%);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(0, 140, 220, .4), 0 0 20px rgba(0, 200, 240, .25);
}

.cs-modal h3 {
  margin: 0;
  color: #c8f0f0;
  font-size: 19px;
  font-weight: 900;
}

.cs-modal p {
  margin: 0;
  color: rgba(160, 220, 235, .8);
  font-size: 14px;
  line-height: 1.7;
}

.cs-modal-close {
  min-width: 130px;
  background: linear-gradient(135deg, #00b8e0 0%, #0044aa 100%);
  border-color: rgba(0, 200, 240, 0.4);
  color: #fff;
  font-weight: 800;
}

.cs-modal-close:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 20px rgba(0, 150, 220, .4);
}

/* ── 반응형 ── */
@media (max-width: 1080px) {
  .dashboard-main-row {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 980px) {
  .dashboard-main-row {
    grid-template-columns: 1fr;
  }
  .cs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }
}

@media (max-width: 560px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

/* Home layout cleanup: compact desktop dashboard/admin views */
@media (min-width: 981px) {
  .app-sidebar {
    width: 280px;
    padding: 24px 20px 20px;
  }

  .app-sidebar .sidebar-brand {
    padding: 4px 10px 20px;
  }

  .app-sidebar .brand-title {
    max-width: 172px;
    font-size: 20px;
  }

  .app-sidebar .sidebar-brand > span {
    padding-left: 46px;
    font-size: 13px;
  }

  .app-sidebar .topnav {
    gap: 5px;
  }

  .app-sidebar .topnav a {
    min-height: 44px;
    gap: 14px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 850;
  }

  .app-sidebar .topnav a i {
    width: 22px;
    font-size: 18px;
  }

  .app-sidebar .sidebar-user {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
  }

  .sidebar-avatar {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .app-sidebar .sidebar-user strong {
    font-size: 16px;
  }

  .app-sidebar .sidebar-user span,
  .app-sidebar .sidebar-user small {
    color: rgba(235, 244, 255, .9);
    font-size: 12px;
  }

  .app-sidebar .sidebar-user form {
    margin-top: 8px;
  }

  .app-sidebar .link-button {
    min-height: 36px;
    font-size: 13px;
  }

  .app-sidebar ~ .container,
  .app-sidebar ~ .main-content,
  body:has(.admin-shell) .admin-content {
    width: calc(100% - 336px);
    margin: 24px 28px;
    margin-left: 308px;
  }

  body:has(.dashboard-page) .footer,
  body:has(.admin-dashboard-page) .footer {
    display: none;
  }

  .dashboard-page {
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 14px 16px;
    align-items: start;
    padding-bottom: 0;
  }

  .dashboard-page .dashboard-hero {
    grid-column: 1 / -1;
    min-height: 128px;
    padding: 22px 34px;
  }

  .dashboard-page .dashboard-hero h1 {
    margin-top: 10px;
    font-size: clamp(28px, 2vw, 34px);
  }

  .dashboard-page .dashboard-hero p {
    margin-top: 8px;
    font-size: 13px;
  }

  .dashboard-page .eyebrow {
    font-size: 13px;
  }

  .dashboard-it-card {
    width: min(238px, 27%);
    min-height: 74px;
    padding: 14px 18px;
  }

  .dashboard-it-card > i:first-child {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .dashboard-it-card strong {
    font-size: 16px;
  }

  .dashboard-it-card small {
    font-size: 12px;
  }

  .dashboard-main-row {
    display: contents;
  }

  .dashboard-left-col {
    grid-column: 1;
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  .dashboard-page .quick-actions {
    gap: 12px;
  }

  .dashboard-page .big-action {
    min-height: 62px;
    gap: 14px;
    padding: 0 24px;
  }

  .dashboard-page .big-action > i:first-child {
    width: 32px;
    height: 32px;
    border-width: 2px;
    font-size: 17px;
  }

  .dashboard-page .big-action strong {
    font-size: 19px;
  }

  .dashboard-page .big-action small {
    color: rgba(255,255,255,.9);
    font-size: 13px;
  }

  .dashboard-page .dashboard-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .dashboard-page .kpi-card {
    min-height: 80px;
    padding: 14px 16px;
  }

  .dashboard-page .kpi-row span {
    color: #052a74;
    font-size: 14.5px;
    font-weight: 900;
  }

  .dashboard-page .kpi-icon {
    font-size: 18px;
  }

  .dashboard-page .kpi-card strong {
    margin-top: 7px;
    color: #020f3b;
    font-size: 24px;
  }

  .dashboard-panels {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: .92fr 1fr 1fr;
    gap: 12px;
  }

  .dashboard-panel {
    min-height: clamp(240px, calc(100vh - 520px), 320px);
    padding: 16px;
  }

  .dashboard-page .section-head {
    margin-bottom: 10px;
  }

  .dashboard-page .section-head h2 {
    font-size: 18px;
  }

  .dashboard-page .section-head h2::before {
    height: 15px;
  }

  .dashboard-page .text-link {
    font-size: 13.5px;
  }

  .dashboard-page .status-row {
    gap: 8px;
  }

  .dashboard-page .status-row span {
    min-height: 74px;
    padding: 9px 6px;
  }

  .dashboard-page .approvals-panel .status-row {
    height: calc(100% - 46px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .approvals-panel .status-row span {
    min-height: 0;
  }

  .dashboard-page .status-row span i {
    font-size: 18px;
  }

  .dashboard-page .status-row span b {
    color: #09235b;
    font-size: 12.5px;
    font-weight: 850;
  }

  .dashboard-page .status-row span strong {
    font-size: 24px;
  }

  .dashboard-list li {
    gap: 8px 12px;
    padding-bottom: 12px;
  }

  .dashboard-list a {
    color: #005fff;
    font-size: 17px;
    font-weight: 900;
  }

  .dashboard-list small,
  .dashboard-list time {
    color: #4b5f7d;
    font-size: 13px;
    font-weight: 750;
  }

  .connected-services-panel {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: start;
    min-height: clamp(510px, calc(100vh - 190px), 620px);
    padding: 12px;
    border-color: #a9c9ff;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,255,.94)),
      linear-gradient(135deg, rgba(25,112,255,.1), rgba(124,77,255,.08));
    box-shadow:
      0 0 0 1px rgba(255,255,255,.72) inset,
      0 18px 40px rgba(24, 60, 120, .14),
      0 0 38px rgba(28, 111, 255, .08);
    backdrop-filter: blur(8px);
    overflow: hidden;
  }

  .connected-services-panel::before {
    display: block;
    inset: 0 0 auto 0;
    width: auto;
    height: 4px;
    border: 0;
    background: linear-gradient(90deg, #126dff, #23c8ff 48%, #7c4dff);
  }

  .connected-services-panel::after {
    display: none;
  }

  .cs-panel-header {
    position: relative;
    margin-bottom: 12px;
    padding: 15px 16px;
    border: 1px solid rgba(129, 184, 255, .28);
    border-radius: 10px;
    background:
      linear-gradient(140deg, rgba(35,200,255,.13), transparent 38%),
      linear-gradient(135deg, #071842 0%, #0b2d71 62%, #12245d 100%);
    box-shadow: 0 14px 24px rgba(6, 28, 75, .18);
    overflow: hidden;
  }

  .cs-panel-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(118deg, transparent 0 54%, rgba(255,255,255,.09) 54.3%, transparent 54.8%),
      linear-gradient(0deg, transparent 0 72%, rgba(35,200,255,.12) 72.3%, transparent 72.8%);
    pointer-events: none;
  }

  .cs-panel-header > * {
    position: relative;
    z-index: 1;
  }

  .cs-panel-tag {
    color: #47ddff;
    font-size: 10px;
    letter-spacing: .12em;
    font-weight: 850;
  }

  .cs-panel-title {
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 950;
  }

  .cs-live-dot {
    background: #23c8ff;
    box-shadow: 0 0 10px rgba(35,200,255,.78);
  }

  .cs-grid {
    gap: 8px;
    align-content: start;
  }

  .cs-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 11px;
    border-color: #d4e2f6;
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    color: #06194f;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 18px rgba(30,72,137,.045);
  }

  .cs-card:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: #9fc0eb;
    box-shadow: 0 8px 18px rgba(30,72,137,.1);
  }

  .cs-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .cs-card--desktop {
    border-color: #bdafff;
    background:
      linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,245,255,.94)),
      linear-gradient(90deg, rgba(124,77,255,.1), transparent 42%);
    box-shadow: 0 12px 24px rgba(105, 74, 255, .1);
  }

  .cs-card--desktop .cs-cat {
    color: #6651dc;
    opacity: 1;
  }

  .cs-icon::after {
    display: none;
  }

  .cs-icon svg {
    width: 21px;
    height: 21px;
    filter: none;
  }

  .cs-cat {
    color: #1554c7;
    font-size: 10.5px;
    letter-spacing: .08em;
    opacity: 1;
    line-height: 1.15;
    font-weight: 850;
  }

  .cs-info strong {
    color: #010d34;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.16;
  }

  .cs-info small {
    color: #304665;
    font-size: 13px;
    font-weight: 800;
  }

  .cs-badge {
    padding: 4px 8px;
    font-size: 9.5px;
    border-radius: 999px;
    letter-spacing: .08em;
    font-weight: 850;
  }

  .cs-badge--online {
    background: #e6f9f0;
    color: #1a7a4a;
    border-color: #b8ead5;
  }

  .cs-badge--desktop {
    background: #eef2ff;
    color: #4f46b8;
    border-color: #d1d8ff;
  }

  .cs-badge--soon {
    background: #eef3f8;
    color: #74849a;
    border-color: #d8e1ec;
  }

  .cs-card--disabled {
    opacity: .58;
    filter: grayscale(.25);
  }

  .admin-dashboard-page {
    gap: 14px !important;
  }

  .admin-hero {
    min-height: 132px;
    padding: 24px 34px;
  }

  .admin-hero h1 {
    margin-top: 10px;
    font-size: clamp(28px, 2vw, 34px);
  }

  .admin-hero p {
    margin-top: 8px;
    font-size: 14px;
  }

  .admin-hero-action {
    min-height: 74px;
    padding: 14px 18px;
  }

  .admin-metrics {
    gap: 12px;
  }

  .admin-metrics .card {
    min-height: 82px;
    padding: 14px 18px;
  }

  .admin-metrics .card strong {
    margin-top: 7px;
    font-size: 24px;
  }

  .admin-panels {
    gap: 14px;
  }

  .admin-dashboard-page .admin-panel {
    height: clamp(320px, calc(100vh - 322px), 460px);
    min-height: 0;
    overflow: hidden;
    padding: 18px 20px;
  }

  .admin-dashboard-page .admin-list li {
    padding: 11px 0;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .app-sidebar {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .app-sidebar .sidebar-brand {
    padding-bottom: 14px;
  }

  .app-sidebar .topnav {
    gap: 3px;
  }

  .app-sidebar .topnav a {
    min-height: 38px;
    font-size: 13px;
  }

  .app-sidebar .sidebar-user {
    margin-top: 10px;
    padding: 10px;
  }

  .app-sidebar ~ .container,
  .app-sidebar ~ .main-content,
  body:has(.admin-shell) .admin-content {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .dashboard-page {
    gap: 12px 14px;
  }

  .dashboard-page .dashboard-hero {
    min-height: 116px;
    padding: 18px 30px;
  }

  .dashboard-page .dashboard-hero h1,
  .admin-hero h1 {
    margin-top: 8px;
    font-size: 28px;
  }

  .dashboard-page .big-action {
    min-height: 56px;
  }

  .dashboard-page .kpi-card {
    min-height: 72px;
    padding: 12px 15px;
  }

  .dashboard-page .kpi-card strong {
    margin-top: 5px;
    font-size: 20px;
  }

  .dashboard-panel {
    min-height: clamp(250px, calc(100vh - 500px), 320px);
    padding: 14px;
  }

  .dashboard-page .status-row span {
    min-height: 66px;
  }

  .connected-services-panel {
    min-height: clamp(530px, calc(100vh - 190px), 600px);
    padding: 14px;
  }

  .cs-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 8px 9px;
  }

  .cs-icon {
    width: 38px;
    height: 38px;
  }

  .admin-hero {
    min-height: 118px;
    padding: 20px 30px;
  }

  .admin-metrics .card {
    min-height: 74px;
    padding: 12px 16px;
  }

  .admin-dashboard-page .admin-panel {
    height: calc(100vh - 298px);
    padding: 16px 18px;
  }
}

@media (min-width: 981px) and (max-width: 1499px) {
  .dashboard-page .section-head {
    gap: 8px;
  }

  .dashboard-page .section-head h2 {
    font-size: 16px;
    line-height: 1.25;
  }

  .dashboard-page .text-link {
    font-size: 12.5px;
  }

  .dashboard-list a {
    font-size: 16px;
    line-height: 1.32;
  }

  .dashboard-list small,
  .dashboard-list time {
    font-size: 12.5px;
  }

  .dashboard-page .status-row span b {
    font-size: 12px;
  }

  .dashboard-page .status-row span strong {
    font-size: 23px;
  }
}

@media (min-width: 1680px) {
  .dashboard-page {
    grid-template-columns: minmax(0, 1fr) clamp(380px, 22vw, 430px);
    gap: 16px 20px;
  }

  .dashboard-page .dashboard-hero {
    min-height: clamp(128px, 14vh, 148px);
    padding: clamp(22px, 2.6vh, 28px) 36px;
  }

  .dashboard-page .big-action {
    min-height: clamp(62px, 7vh, 70px);
  }

  .dashboard-page .dashboard-metrics {
    gap: 14px;
  }

  .dashboard-page .kpi-card {
    min-height: clamp(80px, 9vh, 92px);
    padding: clamp(14px, 1.7vh, 17px) 20px;
  }

  .dashboard-page .kpi-card strong {
    margin-top: 10px;
    font-size: 26px;
  }

  .dashboard-panels {
    gap: 16px;
  }

  .dashboard-panel {
    min-height: clamp(320px, calc(100vh - 540px), 510px);
    padding: 20px 18px;
  }

  .dashboard-page .section-head {
    margin-bottom: 16px;
  }

  .dashboard-page .status-row span {
    min-height: clamp(86px, 10vh, 102px);
  }

  .dashboard-list li {
    padding-bottom: 22px;
  }

  .connected-services-panel {
    min-height: clamp(600px, calc(100vh - 220px), 810px);
    padding: 18px;
  }

  .cs-panel-header {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .cs-grid {
    grid-template-rows: repeat(5, minmax(70px, 1fr));
    gap: 10px;
    align-content: stretch;
  }

  .cs-card {
    min-height: 70px;
    padding: 11px 14px;
  }

  .cs-icon {
    width: 46px;
    height: 46px;
  }

  .admin-hero {
    min-height: 154px;
    padding: 28px 36px;
  }

  .admin-dashboard-page .admin-panel {
    height: clamp(500px, calc(100vh - 330px), 620px);
  }
}

/* ── 메일 레이아웃 ─────────────────────────────────────────────── */
.mail-main {
  padding: 0 !important;
  display: flex;
  align-items: stretch;
}
.app-sidebar ~ .mail-main {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 100vh;
}
.mail-folder-nav {
  width: 198px;
  min-width: 198px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px 0 12px;
}
.mail-compose-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 12px 14px;
  font-size: 13.5px;
}
.mail-nav {
  display: flex;
  flex-direction: column;
}
.mail-nav a,
.mail-nav-settings {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 13.5px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.12s, color 0.12s;
}
.mail-nav a i,
.mail-nav-settings i {
  width: 15px;
  text-align: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
}
.mail-nav a:hover,
.mail-nav-settings:hover {
  background: var(--bg);
  color: var(--primary);
}
.mail-nav a:hover i,
.mail-nav-settings:hover i {
  color: var(--primary);
}
.mail-nav a.active,
.mail-nav-settings.active {
  background: rgba(46,134,222,0.08);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}
.mail-nav a.active i,
.mail-nav-settings.active i {
  color: var(--primary);
}
.mail-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.mail-nav-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 12px;
}
.mail-nav-settings {
  font-size: 12.5px;
  color: var(--muted);
  padding: 8px 14px;
}
.mail-body {
  flex: 1;
  min-width: 0;
  padding: 26px 28px 28px;
}
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: background 0.12s;
}
.btn-icon:hover {
  background: var(--bg);
}
.mail-folder-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mail-add-folder-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1;
  transition: background 0.12s, color 0.12s;
}
.mail-add-folder-btn:hover {
  background: var(--bg);
  color: var(--primary);
}

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:has(.app-sidebar) {
    background-attachment: scroll;
  }

  .app-sidebar {
    width: 100%;
    padding: 12px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 1px solid rgba(91, 150, 255, .24);
    box-shadow: 0 8px 24px rgba(4, 22, 65, .18);
    overflow: hidden;
  }

  .app-sidebar::before,
  .app-sidebar::after {
    display: none;
  }

  .app-sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 10px;
  }

  .app-sidebar .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark,
  .brand-mark span {
    width: 28px;
  }

  .brand-mark span {
    height: 12px;
    border-radius: 3px;
  }

  .brand-mark span::after {
    top: 4px;
  }

  .app-sidebar .brand-title {
    max-width: none;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.1;
    text-overflow: ellipsis;
  }

  .app-sidebar .sidebar-brand > span {
    display: none;
  }

  .app-sidebar .topnav,
  .admin-sidebar.app-sidebar .topnav {
    display: flex;
    gap: 8px;
    padding: 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-sidebar .topnav::-webkit-scrollbar,
  .admin-sidebar.app-sidebar .topnav::-webkit-scrollbar {
    display: none;
  }

  .app-sidebar .topnav a,
  .admin-sidebar.app-sidebar .topnav a {
    min-width: max-content;
    min-height: 44px;
    gap: 8px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

  .app-sidebar .topnav a i,
  .admin-sidebar.app-sidebar .topnav a i {
    width: 18px;
    font-size: 16px;
  }

  .app-sidebar .nav-divider,
  .admin-sidebar.app-sidebar .nav-divider {
    display: none;
  }

  .app-sidebar .sidebar-user {
    grid-template-columns: 34px minmax(0, 1fr) 76px;
    gap: 8px;
    margin-top: 0;
    padding: 9px 10px;
    border-radius: 8px;
  }

  .sidebar-avatar {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .app-sidebar .sidebar-user strong {
    font-size: 13px;
  }

  .app-sidebar .sidebar-user span,
  .app-sidebar .sidebar-user small {
    font-size: 11px;
  }

  .app-sidebar .sidebar-user form {
    grid-column: auto;
    width: 76px;
    margin-top: 0;
    justify-self: end;
  }

  .app-sidebar .link-button {
    width: 76px;
    height: 40px;
    min-height: 40px;
    gap: 6px;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .app-sidebar .link-button i {
    margin: 0;
    font-size: 14px;
  }

  .app-sidebar .link-button::after {
    content: "로그아웃";
    font-size: 11px;
    font-weight: 850;
  }

  .app-sidebar ~ .container,
  .app-sidebar ~ .main-content,
  .app-sidebar ~ .footer,
  .container,
  .main-content,
  .admin-content,
  .flash,
  .footer,
  .narrow,
  body:has(.admin-shell) .admin-content,
  body:has(.admin-shell) .flash,
  body:has(.admin-shell) .footer {
    width: min(100% - 24px, 100%);
    max-width: none;
    margin: 14px auto;
  }

  .admin-shell {
    width: 100%;
  }

  .page-title,
  .admin-content > .page-title,
  .section-head,
  .bulk-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .page-title h1,
  .admin-content > .page-title h1,
  .mail-body h1.page-title {
    font-size: 21px !important;
    line-height: 1.25;
  }

  .dashboard-page {
    gap: 14px;
    padding-bottom: 18px;
  }

  .dashboard-page .dashboard-hero,
  .admin-hero {
    min-height: 0;
    gap: 14px;
    padding: 22px 18px;
    border-radius: 9px;
  }

  .dashboard-page .dashboard-hero h1,
  .admin-hero h1 {
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.18;
  }

  .dashboard-page .dashboard-hero p,
  .admin-hero p {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .admin-hero-action {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    padding: 14px 16px;
  }

  .dashboard-it-card {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 16px rgba(0, 31, 100, .18);
  }

  .dashboard-it-card > i:first-child {
    width: 28px;
    height: 28px;
    border-width: 1px;
    border-radius: 9px;
    font-size: 15px;
  }

  .dashboard-it-card strong {
    font-size: 14px;
  }

  .dashboard-it-card small {
    margin-top: 1px;
    font-size: 11px;
  }

  .dashboard-it-card > i:last-child {
    font-size: 12px;
  }

  .dashboard-page .quick-actions,
  .dashboard-page .dashboard-metrics,
  .dashboard-page .dashboard-panels,
  .admin-metrics,
  .admin-panels,
  .card-grid,
  .two-col,
  .board-layout,
  .work-log-cards,
  .work-log-fields,
  .work-log-detail-grid,
  .dashboard-main-row {
    grid-template-columns: 1fr !important;
  }

  .dashboard-page .big-action {
    min-height: 64px;
    gap: 12px;
    padding: 0 16px;
    text-align: left;
  }

  .dashboard-page .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px;
  }

  .dashboard-page .big-action {
    min-height: 56px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 0 11px;
    border-radius: 8px;
  }

  .dashboard-page .big-action > i:first-child {
    width: 28px;
    height: 28px;
    border-width: 2px;
    font-size: 15px;
  }

  .dashboard-page .big-action > i:last-child {
    display: none;
  }

  .dashboard-page .big-action strong {
    font-size: 16px;
    line-height: 1.18;
  }

  .dashboard-page .big-action small {
    margin-top: 2px;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-page .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .dashboard-page .kpi-card {
    min-height: 88px;
    padding: 13px 12px;
    border-radius: 9px;
  }

  .dashboard-page .kpi-row {
    gap: 8px;
    align-items: flex-start;
  }

  .dashboard-page .kpi-row span {
    font-size: 12.5px;
    line-height: 1.28;
  }

  .dashboard-page .kpi-icon {
    font-size: 18px;
  }

  .dashboard-page .kpi-card strong {
    margin-top: 11px;
    font-size: 24px;
    line-height: 1.05;
  }

  .dashboard-page .dashboard-panels {
    gap: 12px;
  }

  .dashboard-panel {
    min-height: 0;
    padding: 16px;
    border-radius: 9px;
  }

  .dashboard-page .section-head {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
  }

  .dashboard-page .section-head h2 {
    font-size: 17px;
    line-height: 1.25;
  }

  .dashboard-page .section-head h2::before {
    height: 15px;
  }

  .dashboard-page .text-link {
    flex-shrink: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .dashboard-page .status-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-page .status-row span {
    min-height: 64px;
    padding: 9px 6px;
  }

  .dashboard-page .status-row span i {
    font-size: 17px;
  }

  .dashboard-page .status-row span b {
    font-size: 11.5px;
  }

  .dashboard-page .status-row span strong {
    font-size: 22px;
  }

  .dashboard-list li {
    gap: 6px 10px;
    padding-bottom: 13px;
  }

  .dashboard-list a {
    font-size: 16px;
    line-height: 1.35;
  }

  .dashboard-list small,
  .dashboard-list time {
    font-size: 12.5px;
  }

  .admin-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .admin-list span {
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.35;
  }

  .admin-list small {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .connected-services-panel {
    min-height: 0;
    padding: 12px;
    border-radius: 10px;
  }

  .cs-panel-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .cs-panel-tag {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .cs-panel-title {
    font-size: 16px;
    line-height: 1.25;
  }

  .cs-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .cs-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 54px;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 8px;
  }

  .cs-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .cs-icon svg {
    width: 18px;
    height: 18px;
  }

  .cs-cat {
    font-size: 8.5px;
  }

  .cs-info strong {
    font-size: 13px;
  }

  .cs-info small {
    font-size: 10.5px;
  }

  .cs-badge {
    padding: 2px 5px;
    font-size: 8.5px;
  }

  .form-grid,
  .import-panel,
  .import-form,
  .detail-list {
    grid-template-columns: 1fr !important;
  }

  .form-grid > *,
  .detail-list > * {
    grid-column: auto !important;
  }

  .filter-bar,
  .button-row,
  .bulk-actions-right,
  td.actions,
  td.actions form,
  .inline-form {
    width: 100%;
  }

  .filter-bar label,
  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-width: 0;
  }

  .button,
  .btn,
  .filter-bar button,
  .filter-bar .button,
  .import-form .button,
  .import-form button,
  td.actions .button,
  td.actions button {
    min-height: 42px;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 640px;
  }

  .mail-main {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
  }

  .app-sidebar ~ .mail-main {
    margin-top: 0;
    margin-bottom: 14px;
  }

  .mail-folder-nav {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }

  .mail-compose-btn {
    min-height: 42px;
    margin: 0 0 8px;
  }

  .mail-nav {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mail-nav::-webkit-scrollbar {
    display: none;
  }

  .mail-nav a,
  .mail-nav-settings {
    min-width: max-content;
    min-height: 38px;
    padding: 0 10px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 7px;
    white-space: nowrap;
  }

  .mail-nav a.active,
  .mail-nav-settings.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .mail-nav-divider {
    display: none !important;
  }

  .mail-folder-section-head {
    min-width: max-content;
    min-height: 38px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 7px;
    background: #f4f8fd;
    text-transform: none;
    letter-spacing: 0;
  }

  #new-folder-form {
    flex: 0 0 min(280px, calc(100vw - 48px));
    align-self: stretch;
  }

  .mail-body {
    width: 100%;
    padding: 16px 14px 18px;
  }

  .mail-body .card {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .mail-body table {
    min-width: 560px;
  }

  .boards-page {
    gap: 14px;
  }

  .boards-title {
    margin-bottom: 14px;
  }

  .boards-title h1 {
    font-size: 28px !important;
  }

  .boards-layout {
    gap: 14px;
  }

  .board-selector {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .board-selector::-webkit-scrollbar {
    display: none;
  }

  .board-selector a {
    min-width: max-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #d6e1ee;
    border-radius: 8px;
    background: #f3f7fc;
    color: #10233a;
    font-size: 14px;
    white-space: nowrap;
  }

  .board-selector a.active {
    border-color: #9ec8f4;
    background: #e7f1ff;
    color: var(--primary);
  }

  .board-content-panel {
    padding: 14px;
  }

  .board-content-panel .filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .board-content-panel .form-stack.compact {
    gap: 10px;
    margin: 12px 0;
  }

  .board-content-panel textarea {
    min-height: 104px;
  }

  .board-posts-wrap {
    overflow: visible;
  }

  .board-post-table,
  .board-post-table thead,
  .board-post-table tbody,
  .board-post-table tr,
  .board-post-table th,
  .board-post-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .board-post-table {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
  }

  .board-post-table thead {
    display: none;
  }

  .board-post-table tbody {
    display: grid;
    gap: 10px;
  }

  .board-post-table tr {
    padding: 14px;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(21, 44, 74, .06);
  }

  .board-post-table td {
    border-bottom: 0;
    padding: 0;
  }

  .board-post-table td + td {
    margin-top: 8px;
  }

  .board-post-board {
    color: var(--primary);
    font-size: 13px;
    font-weight: 850;
  }

  .board-post-main {
    color: var(--text);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  .board-post-main .badge {
    margin-right: 6px;
    vertical-align: 1px;
  }

  .board-post-title {
    vertical-align: middle;
  }

  .board-post-main .muted {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: #5e7188;
    font-size: 14px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .board-post-table td[data-label="작성자"],
  .board-post-table td[data-label="작성일"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin-top: 10px;
    margin-right: 12px;
    color: #5c7088;
    font-size: 13px;
    font-weight: 700;
  }

  .board-post-table td[data-label="작성자"]::before,
  .board-post-table td[data-label="작성일"]::before {
    content: attr(data-label);
    color: #8798aa;
    font-weight: 800;
  }
}

@media (max-width: 420px) {
  .app-sidebar .sidebar-user {
    grid-template-columns: 30px minmax(0, 1fr) 72px;
  }

  .app-sidebar .sidebar-user form {
    grid-column: auto;
    width: 72px;
    margin-top: 0;
    justify-self: end;
  }

  .app-sidebar .link-button {
    width: 72px;
    height: 40px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0;
  }

  .dashboard-page .status-row {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-page {
    gap: 12px;
  }

  .dashboard-page .quick-actions {
    gap: 8px;
  }

  .dashboard-page .big-action {
    min-height: 52px;
    gap: 7px;
    padding: 0 9px;
  }

  .dashboard-page .big-action > i:first-child {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .dashboard-page .big-action strong {
    font-size: 15px;
  }

  .dashboard-page .big-action small {
    font-size: 9.5px;
  }

  .dashboard-it-card {
    min-height: 44px;
    padding: 8px 10px;
  }

  .dashboard-it-card > i:first-child {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .dashboard-it-card strong {
    font-size: 13px;
  }

  .dashboard-it-card small {
    font-size: 10.5px;
  }

  .dashboard-page .dashboard-metrics {
    gap: 9px;
  }

  .dashboard-page .kpi-card {
    min-height: 82px;
    padding: 11px 10px;
  }

  .dashboard-page .kpi-row span {
    font-size: 12px;
  }

  .dashboard-page .kpi-icon {
    font-size: 16px;
  }

  .dashboard-page .kpi-card strong {
    margin-top: 9px;
    font-size: 22px;
  }

  .dashboard-panel {
    padding: 14px;
  }

  .dashboard-page .section-head {
    margin-bottom: 12px;
  }

  .dashboard-page .section-head h2 {
    font-size: 16px;
  }

  .dashboard-list a {
    font-size: 15px;
  }

  .cs-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .cs-badge {
    grid-column: auto;
    width: auto;
  }

  .boards-title h1 {
    font-size: 26px !important;
  }

  .board-content-panel {
    padding: 12px;
  }

  .board-post-table tr {
    padding: 13px;
  }
}
